2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for [LLVM] [1.0].
5 # Report bugs to <llvmbugs@cs.uiuc.edu>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236 # We need space, tab and new line, in precisely that order.
246 # Check that we are running under the correct shell.
247 SHELL=${CONFIG_SHELL-/bin/sh}
251 # Remove one level of quotation (which was required for Make).
252 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
257 if test "X$1" = X--no-reexec; then
258 # Discard the --no-reexec flag, and continue.
260 elif test "X$1" = X--fallback-echo; then
261 # Avoid inline document here, it may be left over
263 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
264 # Yippee, $echo works!
267 # Restart under the correct shell.
268 exec $SHELL "$0" --no-reexec ${1+"$@"}
271 if test "X$1" = X--fallback-echo; then
272 # used as fallback echo
280 # The HP-UX ksh and POSIX shell print the target directory to stdout
282 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
284 if test -z "$ECHO"; then
285 if test "X${echo_test_string+set}" != Xset; then
286 # find a string as large as possible, as long as the shell can cope with it
287 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
288 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
289 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
290 echo_test_string="`eval $cmd`" &&
291 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
298 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
299 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
300 test "X$echo_testing_string" = "X$echo_test_string"; then
303 # The Solaris, AIX, and Digital Unix default echo programs unquote
304 # backslashes. This makes it impossible to quote backslashes using
305 # echo "$something" | sed 's/\\/\\\\/g'
307 # So, first we look for a working echo in the user's PATH.
309 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
310 for dir in $PATH /usr/ucb; do
312 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
313 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315 test "X$echo_testing_string" = "X$echo_test_string"; then
322 if test "X$echo" = Xecho; then
323 # We didn't find a better echo, so look for alternatives.
324 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
325 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
327 # This shell has a builtin print -r that does the trick.
329 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
330 test "X$CONFIG_SHELL" != X/bin/ksh; then
331 # If we have ksh, try running configure again with it.
332 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
333 export ORIGINAL_CONFIG_SHELL
334 CONFIG_SHELL=/bin/ksh
336 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
340 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
341 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
342 test "X$echo_testing_string" = "X$echo_test_string"; then
345 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346 test "X$echo_testing_string" = 'X\t' &&
347 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
349 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
351 SHELL="$CONFIG_SHELL"
353 echo="$CONFIG_SHELL $0 --fallback-echo"
354 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 echo="$CONFIG_SHELL $0 --fallback-echo"
360 # maybe with a smaller string...
363 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
371 if test "$prev" != 'sed 50q "$0"'; then
372 echo_test_string=`eval $prev`
373 export echo_test_string
374 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
376 # Oops. We lost completely, so just stick with echo.
385 # Copy echo and quote the copy suitably for passing to libtool from
386 # the Makefile, instead of quoting the original, which is used later.
388 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
395 tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
397 tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
400 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
401 # so uname gets run too.
402 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
409 ac_default_prefix=/usr/local
410 ac_config_libobj_dir=.
415 SHELL=${CONFIG_SHELL-/bin/sh}
417 # Maximum number of lines to put in a shell here document.
418 # This variable seems obsolete. It should probably be removed, and
419 # only ac_max_sed_lines should be used.
420 : ${ac_max_here_lines=38}
422 # Identity of this package.
423 PACKAGE_NAME='[LLVM]'
424 PACKAGE_TARNAME='--llvm--'
425 PACKAGE_VERSION='[1.0]'
426 PACKAGE_STRING='[LLVM] [1.0]'
427 PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'
429 # Factoring default headers for most tests.
430 ac_includes_default="\
433 # include <sys/types.h>
436 # include <sys/stat.h>
447 # if !STDC_HEADERS && HAVE_MEMORY_H
453 # include <strings.h>
456 # include <inttypes.h>
466 ac_unique_file=""Makefile.config.in""
467 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVMGCCDIR ARCH CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT YACC EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RPWD SED RM MKDIR DATE MV DOT ETAGS PURIFY PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED USE_SPEC UPB DISABLE_LLC_DIFFS JIT SPEC_ROOT BCR PAPIDIR LTLIBOBJS'
470 # Initialize some variables set by options.
472 ac_init_version=false
473 # The variables have the same names as the options, with
474 # dashes changed to underlines.
482 program_transform_name=s,x,x,
490 # Installation directory options.
491 # These are left unexpanded so users can "make install exec_prefix=/foo"
492 # and all the variables that are supposed to be based on exec_prefix
493 # by default will actually change.
494 # Use braces instead of parens because sh, perl, etc. also accept them.
495 bindir='${exec_prefix}/bin'
496 sbindir='${exec_prefix}/sbin'
497 libexecdir='${exec_prefix}/libexec'
498 datadir='${prefix}/share'
499 sysconfdir='${prefix}/etc'
500 sharedstatedir='${prefix}/com'
501 localstatedir='${prefix}/var'
502 libdir='${exec_prefix}/lib'
503 includedir='${prefix}/include'
504 oldincludedir='/usr/include'
505 infodir='${prefix}/info'
506 mandir='${prefix}/man'
511 # If the previous option needs an argument, assign it.
512 if test -n "$ac_prev"; then
513 eval "$ac_prev=\$ac_option"
518 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
520 # Accept the important Cygnus configure options, so we can diagnose typos.
524 -bindir | --bindir | --bindi | --bind | --bin | --bi)
526 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
529 -build | --build | --buil | --bui | --bu)
530 ac_prev=build_alias ;;
531 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
532 build_alias=$ac_optarg ;;
534 -cache-file | --cache-file | --cache-fil | --cache-fi \
535 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
536 ac_prev=cache_file ;;
537 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
538 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
539 cache_file=$ac_optarg ;;
542 cache_file=config.cache ;;
544 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
546 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
548 datadir=$ac_optarg ;;
550 -disable-* | --disable-*)
551 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555 { (exit 1); exit 1; }; }
556 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557 eval "enable_$ac_feature=no" ;;
559 -enable-* | --enable-*)
560 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561 # Reject names that are not valid shell variable names.
562 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
563 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564 { (exit 1); exit 1; }; }
565 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
567 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
570 eval "enable_$ac_feature='$ac_optarg'" ;;
572 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
574 | --exec | --exe | --ex)
575 ac_prev=exec_prefix ;;
576 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
577 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
578 | --exec=* | --exe=* | --ex=*)
579 exec_prefix=$ac_optarg ;;
581 -gas | --gas | --ga | --g)
582 # Obsolete; use --with-gas.
585 -help | --help | --hel | --he | -h)
587 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
588 ac_init_help=recursive ;;
589 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
590 ac_init_help=short ;;
592 -host | --host | --hos | --ho)
593 ac_prev=host_alias ;;
594 -host=* | --host=* | --hos=* | --ho=*)
595 host_alias=$ac_optarg ;;
597 -includedir | --includedir | --includedi | --included | --include \
598 | --includ | --inclu | --incl | --inc)
599 ac_prev=includedir ;;
600 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
601 | --includ=* | --inclu=* | --incl=* | --inc=*)
602 includedir=$ac_optarg ;;
604 -infodir | --infodir | --infodi | --infod | --info | --inf)
606 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
607 infodir=$ac_optarg ;;
609 -libdir | --libdir | --libdi | --libd)
611 -libdir=* | --libdir=* | --libdi=* | --libd=*)
614 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
615 | --libexe | --libex | --libe)
616 ac_prev=libexecdir ;;
617 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
618 | --libexe=* | --libex=* | --libe=*)
619 libexecdir=$ac_optarg ;;
621 -localstatedir | --localstatedir | --localstatedi | --localstated \
622 | --localstate | --localstat | --localsta | --localst \
623 | --locals | --local | --loca | --loc | --lo)
624 ac_prev=localstatedir ;;
625 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
628 localstatedir=$ac_optarg ;;
630 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
632 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
636 # Obsolete; use --without-fp.
639 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
640 | --no-cr | --no-c | -n)
643 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
644 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
647 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
648 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
649 | --oldin | --oldi | --old | --ol | --o)
650 ac_prev=oldincludedir ;;
651 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
652 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
653 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
654 oldincludedir=$ac_optarg ;;
656 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
658 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
661 -program-prefix | --program-prefix | --program-prefi | --program-pref \
662 | --program-pre | --program-pr | --program-p)
663 ac_prev=program_prefix ;;
664 -program-prefix=* | --program-prefix=* | --program-prefi=* \
665 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
666 program_prefix=$ac_optarg ;;
668 -program-suffix | --program-suffix | --program-suffi | --program-suff \
669 | --program-suf | --program-su | --program-s)
670 ac_prev=program_suffix ;;
671 -program-suffix=* | --program-suffix=* | --program-suffi=* \
672 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
673 program_suffix=$ac_optarg ;;
675 -program-transform-name | --program-transform-name \
676 | --program-transform-nam | --program-transform-na \
677 | --program-transform-n | --program-transform- \
678 | --program-transform | --program-transfor \
679 | --program-transfo | --program-transf \
680 | --program-trans | --program-tran \
681 | --progr-tra | --program-tr | --program-t)
682 ac_prev=program_transform_name ;;
683 -program-transform-name=* | --program-transform-name=* \
684 | --program-transform-nam=* | --program-transform-na=* \
685 | --program-transform-n=* | --program-transform-=* \
686 | --program-transform=* | --program-transfor=* \
687 | --program-transfo=* | --program-transf=* \
688 | --program-trans=* | --program-tran=* \
689 | --progr-tra=* | --program-tr=* | --program-t=*)
690 program_transform_name=$ac_optarg ;;
692 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693 | -silent | --silent | --silen | --sile | --sil)
696 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
698 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
700 sbindir=$ac_optarg ;;
702 -sharedstatedir | --sharedstatedir | --sharedstatedi \
703 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
704 | --sharedst | --shareds | --shared | --share | --shar \
706 ac_prev=sharedstatedir ;;
707 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
708 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
709 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
711 sharedstatedir=$ac_optarg ;;
713 -site | --site | --sit)
715 -site=* | --site=* | --sit=*)
718 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
720 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
723 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
724 | --syscon | --sysco | --sysc | --sys | --sy)
725 ac_prev=sysconfdir ;;
726 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
727 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
728 sysconfdir=$ac_optarg ;;
730 -target | --target | --targe | --targ | --tar | --ta | --t)
731 ac_prev=target_alias ;;
732 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
733 target_alias=$ac_optarg ;;
735 -v | -verbose | --verbose | --verbos | --verbo | --verb)
738 -version | --version | --versio | --versi | --vers | -V)
742 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
745 { echo "$as_me: error: invalid package name: $ac_package" >&2
746 { (exit 1); exit 1; }; }
747 ac_package=`echo $ac_package| sed 's/-/_/g'`
749 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
752 eval "with_$ac_package='$ac_optarg'" ;;
754 -without-* | --without-*)
755 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756 # Reject names that are not valid shell variable names.
757 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
758 { echo "$as_me: error: invalid package name: $ac_package" >&2
759 { (exit 1); exit 1; }; }
760 ac_package=`echo $ac_package | sed 's/-/_/g'`
761 eval "with_$ac_package=no" ;;
764 # Obsolete; use --with-x.
767 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
768 | --x-incl | --x-inc | --x-in | --x-i)
769 ac_prev=x_includes ;;
770 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
771 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
772 x_includes=$ac_optarg ;;
774 -x-libraries | --x-libraries | --x-librarie | --x-librari \
775 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
776 ac_prev=x_libraries ;;
777 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
778 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
779 x_libraries=$ac_optarg ;;
781 -*) { echo "$as_me: error: unrecognized option: $ac_option
782 Try \`$0 --help' for more information." >&2
783 { (exit 1); exit 1; }; }
787 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791 { (exit 1); exit 1; }; }
792 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793 eval "$ac_envvar='$ac_optarg'"
797 # FIXME: should be removed in autoconf 3.0.
798 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
799 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
801 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
807 if test -n "$ac_prev"; then
808 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
809 { echo "$as_me: error: missing argument to $ac_option" >&2
810 { (exit 1); exit 1; }; }
813 # Be sure to have absolute paths.
814 for ac_var in exec_prefix prefix
816 eval ac_val=$`echo $ac_var`
818 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820 { (exit 1); exit 1; }; };;
824 # Be sure to have absolute paths.
825 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826 localstatedir libdir includedir oldincludedir infodir mandir
828 eval ac_val=$`echo $ac_var`
830 [\\/$]* | ?:[\\/]* ) ;;
831 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832 { (exit 1); exit 1; }; };;
836 # There might be people who depend on the old broken behavior: `$host'
837 # used to hold the argument of --host etc.
838 # FIXME: To remove some day.
843 # FIXME: To remove some day.
844 if test "x$host_alias" != x; then
845 if test "x$build_alias" = x; then
846 cross_compiling=maybe
847 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
848 If a cross compiler is detected then cross compile mode will be used." >&2
849 elif test "x$build_alias" != "x$host_alias"; then
855 test -n "$host_alias" && ac_tool_prefix=$host_alias-
857 test "$silent" = yes && exec 6>/dev/null
860 # Find the source files, if location was not specified.
861 if test -z "$srcdir"; then
862 ac_srcdir_defaulted=yes
863 # Try the directory containing this script, then its parent.
864 ac_confdir=`(dirname "$0") 2>/dev/null ||
865 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866 X"$0" : 'X\(//\)[^/]' \| \
867 X"$0" : 'X\(//\)$' \| \
868 X"$0" : 'X\(/\)' \| \
869 . : '\(.\)' 2>/dev/null ||
871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873 /^X\(\/\/\)$/{ s//\1/; q; }
874 /^X\(\/\).*/{ s//\1/; q; }
877 if test ! -r $srcdir/$ac_unique_file; then
881 ac_srcdir_defaulted=no
883 if test ! -r $srcdir/$ac_unique_file; then
884 if test "$ac_srcdir_defaulted" = yes; then
885 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886 { (exit 1); exit 1; }; }
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889 { (exit 1); exit 1; }; }
892 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894 { (exit 1); exit 1; }; }
895 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896 ac_env_build_alias_set=${build_alias+set}
897 ac_env_build_alias_value=$build_alias
898 ac_cv_env_build_alias_set=${build_alias+set}
899 ac_cv_env_build_alias_value=$build_alias
900 ac_env_host_alias_set=${host_alias+set}
901 ac_env_host_alias_value=$host_alias
902 ac_cv_env_host_alias_set=${host_alias+set}
903 ac_cv_env_host_alias_value=$host_alias
904 ac_env_target_alias_set=${target_alias+set}
905 ac_env_target_alias_value=$target_alias
906 ac_cv_env_target_alias_set=${target_alias+set}
907 ac_cv_env_target_alias_value=$target_alias
908 ac_env_CXX_set=${CXX+set}
909 ac_env_CXX_value=$CXX
910 ac_cv_env_CXX_set=${CXX+set}
911 ac_cv_env_CXX_value=$CXX
912 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
913 ac_env_CXXFLAGS_value=$CXXFLAGS
914 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
916 ac_env_LDFLAGS_set=${LDFLAGS+set}
917 ac_env_LDFLAGS_value=$LDFLAGS
918 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_cv_env_LDFLAGS_value=$LDFLAGS
920 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921 ac_env_CPPFLAGS_value=$CPPFLAGS
922 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924 ac_env_CC_set=${CC+set}
926 ac_cv_env_CC_set=${CC+set}
927 ac_cv_env_CC_value=$CC
928 ac_env_CFLAGS_set=${CFLAGS+set}
929 ac_env_CFLAGS_value=$CFLAGS
930 ac_cv_env_CFLAGS_set=${CFLAGS+set}
931 ac_cv_env_CFLAGS_value=$CFLAGS
932 ac_env_CPP_set=${CPP+set}
933 ac_env_CPP_value=$CPP
934 ac_cv_env_CPP_set=${CPP+set}
935 ac_cv_env_CPP_value=$CPP
936 ac_env_CXXCPP_set=${CXXCPP+set}
937 ac_env_CXXCPP_value=$CXXCPP
938 ac_cv_env_CXXCPP_set=${CXXCPP+set}
939 ac_cv_env_CXXCPP_value=$CXXCPP
940 ac_env_F77_set=${F77+set}
941 ac_env_F77_value=$F77
942 ac_cv_env_F77_set=${F77+set}
943 ac_cv_env_F77_value=$F77
944 ac_env_FFLAGS_set=${FFLAGS+set}
945 ac_env_FFLAGS_value=$FFLAGS
946 ac_cv_env_FFLAGS_set=${FFLAGS+set}
947 ac_cv_env_FFLAGS_value=$FFLAGS
950 # Report the --help message.
952 if test "$ac_init_help" = "long"; then
953 # Omit some internal or obsolete options to make the list less imposing.
954 # This message is too long to be a string in the A/UX 3.1 sh.
956 \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems.
958 Usage: $0 [OPTION]... [VAR=VALUE]...
960 To assign environment variables (e.g., CC, CFLAGS...), specify them as
961 VAR=VALUE. See below for descriptions of some of the useful variables.
963 Defaults for the options are specified in brackets.
966 -h, --help display this help and exit
967 --help=short display options specific to this package
968 --help=recursive display the short help of all the included packages
969 -V, --version display version information and exit
970 -q, --quiet, --silent do not print \`checking...' messages
971 --cache-file=FILE cache test results in FILE [disabled]
972 -C, --config-cache alias for \`--cache-file=config.cache'
973 -n, --no-create do not create output files
974 --srcdir=DIR find the sources in DIR [configure dir or \`..']
979 Installation directories:
980 --prefix=PREFIX install architecture-independent files in PREFIX
982 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
985 By default, \`make install' will install all the files in
986 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
987 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
988 for instance \`--prefix=\$HOME'.
990 For better control, use the options below.
992 Fine tuning of the installation directories:
993 --bindir=DIR user executables [EPREFIX/bin]
994 --sbindir=DIR system admin executables [EPREFIX/sbin]
995 --libexecdir=DIR program executables [EPREFIX/libexec]
996 --datadir=DIR read-only architecture-independent data [PREFIX/share]
997 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
998 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
999 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1000 --libdir=DIR object code libraries [EPREFIX/lib]
1001 --includedir=DIR C header files [PREFIX/include]
1002 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1003 --infodir=DIR info documentation [PREFIX/info]
1004 --mandir=DIR man documentation [PREFIX/man]
1010 --build=BUILD configure for building on BUILD [guessed]
1011 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1012 --target=TARGET configure for building compilers for TARGET [HOST]
1016 if test -n "$ac_init_help"; then
1017 case $ac_init_help in
1018 short | recursive ) echo "Configuration of [LLVM] [1.0]:";;
1023 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1024 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1025 --enable-shared[=PKGS]
1026 build shared libraries [default=yes]
1027 --enable-static[=PKGS]
1028 build static libraries [default=yes]
1029 --enable-fast-install[=PKGS]
1030 optimize for fast installation [default=yes]
1031 --disable-libtool-lock avoid locking (might break parallel builds)
1032 --enable-purify Compile with purify (default is NO)
1033 --enable-optimized Compile with optimizations enabled (default is NO)
1034 --enable-spec Compile SPEC benchmarks (default is NO)
1035 --enable-precompiled_bytecode
1036 Use pre-compiled bytecode (default is NO)
1037 --enable-llc_diffs Enable LLC Diffs when testing (default is YES)
1038 --enable-jit Enable Just In Time Compiling (default is YES)
1041 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1042 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1043 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1044 --with-pic try to use only PIC/non-PIC objects [default=use
1047 include additional configurations [automatic]
1048 --with-spec Location of SPEC benchmarks
1049 --with-llvmgccdir Location of LLVM GCC front-end
1050 --with-bcrepos Location of Bytecode Repository
1051 --with-papi Location of PAPI
1052 --with-purify Location of purify program
1054 Some influential environment variables:
1055 CXX C++ compiler command
1056 CXXFLAGS C++ compiler flags
1057 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1058 nonstandard directory <lib dir>
1059 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1060 headers in a nonstandard directory <include dir>
1061 CC C compiler command
1062 CFLAGS C compiler flags
1064 CXXCPP C++ preprocessor
1065 F77 Fortran 77 compiler command
1066 FFLAGS Fortran 77 compiler flags
1068 Use these variables to override the choices made by `configure' or to help
1069 it to find libraries and programs with nonstandard names/locations.
1071 Report bugs to <llvmbugs@cs.uiuc.edu>.
1075 if test "$ac_init_help" = "recursive"; then
1076 # If there are subdirs, report their specific --help.
1078 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1079 test -d $ac_dir || continue
1082 if test "$ac_dir" != .; then
1083 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1084 # A "../" for each directory in $ac_dir_suffix.
1085 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1087 ac_dir_suffix= ac_top_builddir=
1091 .) # No --srcdir option. We are building in place.
1093 if test -z "$ac_top_builddir"; then
1096 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1098 [\\/]* | ?:[\\/]* ) # Absolute path.
1099 ac_srcdir=$srcdir$ac_dir_suffix;
1100 ac_top_srcdir=$srcdir ;;
1102 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1103 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1105 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1107 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1108 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1109 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1110 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1113 # Check for guested configure; otherwise get Cygnus style configure.
1114 if test -f $ac_srcdir/configure.gnu; then
1116 $SHELL $ac_srcdir/configure.gnu --help=recursive
1117 elif test -f $ac_srcdir/configure; then
1119 $SHELL $ac_srcdir/configure --help=recursive
1120 elif test -f $ac_srcdir/configure.ac ||
1121 test -f $ac_srcdir/configure.in; then
1123 $ac_configure --help
1125 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1131 test -n "$ac_init_help" && exit 0
1132 if $ac_init_version; then
1134 [LLVM] configure [1.0]
1135 generated by GNU Autoconf 2.57
1137 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1138 Free Software Foundation, Inc.
1139 This configure script is free software; the Free Software Foundation
1140 gives unlimited permission to copy, distribute and modify it.
1146 This file contains any messages produced by compilers while
1147 running configure, to aid debugging if configure makes a mistake.
1149 It was created by [LLVM] $as_me [1.0], which was
1150 generated by GNU Autoconf 2.57. Invocation command line was
1161 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1162 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1163 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1164 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1165 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1167 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1168 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1170 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1171 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1172 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1173 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1174 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1175 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1176 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1184 test -z "$as_dir" && as_dir=.
1185 echo "PATH: $as_dir"
1200 # Keep a trace of the command line.
1201 # Strip out --no-create and --no-recursion so they do not pile up.
1202 # Strip out --silent because we don't want to record it for future runs.
1203 # Also quote any args containing shell meta-characters.
1204 # Make two passes to allow for proper duplicate-argument suppression.
1209 ac_must_keep_next=false
1215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217 | -silent | --silent | --silen | --sile | --sil)
1219 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1223 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1225 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1226 if test $ac_must_keep_next = true; then
1227 ac_must_keep_next=false # Got value, back to normal.
1230 *=* | --config-cache | -C | -disable-* | --disable-* \
1231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1233 | -with-* | --with-* | -without-* | --without-* | --x)
1234 case "$ac_configure_args0 " in
1235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1238 -* ) ac_must_keep_next=true ;;
1241 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1242 # Get rid of the leading space.
1248 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1249 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1251 # When interrupted or exit'd, cleanup temporary files, and complete
1252 # config.log. We remove comments because anyway the quotes in there
1253 # would cause problems or look ugly.
1254 # WARNING: Be sure not to use single quotes in there, as some shells,
1255 # such as our DU 5.0 friend, will then `close' the trap.
1256 trap 'exit_status=$?
1257 # Save into config.log some information that might help in debugging.
1262 ## ---------------- ##
1263 ## Cache variables. ##
1264 ## ---------------- ##
1267 # The following way of writing the cache mishandles newlines in values,
1270 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1273 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1285 ## ----------------- ##
1286 ## Output variables. ##
1287 ## ----------------- ##
1290 for ac_var in $ac_subst_vars
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1297 if test -n "$ac_subst_files"; then
1304 for ac_var in $ac_subst_files
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1312 if test -s confdefs.h; then
1319 sed "/^$/d" confdefs.h | sort
1322 test "$ac_signal" != 0 &&
1323 echo "$as_me: caught signal $ac_signal"
1324 echo "$as_me: exit $exit_status"
1326 rm -f core core.* *.core &&
1327 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1330 for ac_signal in 1 2 13 15; do
1331 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1336 rm -rf conftest* confdefs.h
1337 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1340 # Predefined preprocessor variables.
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_NAME "$PACKAGE_NAME"
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_STRING "$PACKAGE_STRING"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1367 # Let the site file select an alternate cache file if it wants to.
1368 # Prefer explicitly selected file to automatically selected ones.
1369 if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE; then
1371 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1373 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1376 for ac_site_file in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379 echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's/^/| /' "$ac_site_file" >&5
1385 if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390 echo "$as_me: loading cache $cache_file" >&6;}
1392 [\\/]* | ?:[\\/]* ) . $cache_file;;
1393 *) . ./$cache_file;;
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398 echo "$as_me: creating cache $cache_file" >&6;}
1402 # Check that the precious variables saved in the cache have kept the same
1404 ac_cache_corrupted=false
1405 for ac_var in `(set) 2>&1 |
1406 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1408 eval ac_new_set=\$ac_env_${ac_var}_set
1409 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415 ac_cache_corrupted=: ;;
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426 echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428 echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted=:
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg=$ac_var=$ac_new_val ;;
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1445 if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1454 ac_cpp='$CPP $CPPFLAGS'
1455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1487 for ac_dir in autoconf $srcdir/autoconf; do
1488 if test -f $ac_dir/install-sh; then
1490 ac_install_sh="$ac_aux_dir/install-sh -c"
1492 elif test -f $ac_dir/install.sh; then
1494 ac_install_sh="$ac_aux_dir/install.sh -c"
1496 elif test -f $ac_dir/shtool; then
1498 ac_install_sh="$ac_aux_dir/shtool install -c"
1502 if test -z "$ac_aux_dir"; then
1503 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1504 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1505 { (exit 1); exit 1; }; }
1507 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1508 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1509 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512 ac_config_headers="$ac_config_headers include/Config/config.h"
1514 ac_config_commands="$ac_config_commands Makefile"
1517 ac_config_commands="$ac_config_commands Makefile.common"
1520 ac_config_commands="$ac_config_commands Makefile.rules"
1523 ac_config_commands="$ac_config_commands lib/Makefile"
1526 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1529 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1532 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1535 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1538 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1541 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1544 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1547 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1550 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1553 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1556 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1559 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1562 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1565 ac_config_commands="$ac_config_commands lib/CodeGen/PostOpts/Makefile"
1568 ac_config_commands="$ac_config_commands lib/CodeGen/PreOpts/Makefile"
1571 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1574 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1577 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1580 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1583 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1586 ac_config_commands="$ac_config_commands lib/Support/Makefile"
1589 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1592 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1595 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1598 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1601 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1604 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1607 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1610 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1613 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1616 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1619 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1622 ac_config_commands="$ac_config_commands runtime/Makefile"
1625 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1628 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1631 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1634 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1637 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1640 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1643 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1646 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1649 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1652 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1655 ac_config_commands="$ac_config_commands test/Makefile"
1658 ac_config_commands="$ac_config_commands test/Makefile.tests"
1661 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1664 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1667 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1670 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1673 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1676 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1679 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1682 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1685 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1688 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1691 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1694 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1697 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1700 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1703 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1706 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1709 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1712 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1715 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1718 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1721 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1724 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1727 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1730 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1733 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1736 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1739 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1742 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1745 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1748 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1751 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1754 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1757 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1760 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1763 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1766 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1769 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Burg/Makefile"
1772 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Fhourstones/Makefile"
1775 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/Makefile"
1778 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/01-qbsort/Makefile"
1781 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/03-testtrie/Makefile"
1784 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/04-bisect/Makefile"
1787 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/05-eks/Makefile"
1790 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/08-main/Makefile"
1793 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/09-vor/Makefile"
1796 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/12-IOtest/Makefile"
1799 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/15-trie/Makefile"
1802 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/17-bintr/Makefile"
1805 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/18-imp/Makefile"
1808 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/Makefile"
1811 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/bh/Makefile"
1814 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/bisort/Makefile"
1817 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/em3d/Makefile"
1820 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/health/Makefile"
1823 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/mst/Makefile"
1826 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/perimeter/Makefile"
1829 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/power/Makefile"
1832 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/treeadd/Makefile"
1835 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/tsp/Makefile"
1838 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/voronoi/Makefile"
1841 ac_config_commands="$ac_config_commands test/Programs/MultiSource/OptimizerEval/Makefile"
1844 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/Makefile"
1847 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/anagram/Makefile"
1850 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/bc/Makefile"
1853 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/ft/Makefile"
1856 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/ks/Makefile"
1859 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/yacr2/Makefile"
1862 ac_config_commands="$ac_config_commands test/Programs/MultiSource/aha/Makefile"
1865 ac_config_commands="$ac_config_commands test/Programs/MultiSource/llubenchmark/Makefile"
1868 ac_config_commands="$ac_config_commands test/Programs/MultiSource/sgefa/Makefile"
1871 ac_config_commands="$ac_config_commands test/Programs/MultiSource/sim/Makefile"
1874 ac_config_commands="$ac_config_commands test/Programs/NoSource/Makefile"
1877 ac_config_commands="$ac_config_commands test/Programs/NoSource/Flex/Makefile"
1880 ac_config_commands="$ac_config_commands test/Programs/NoSource/Larn/Makefile"
1883 ac_config_commands="$ac_config_commands test/Programs/NoSource/Moria-5.5.2/Makefile"
1886 ac_config_commands="$ac_config_commands test/Programs/NoSource/Povray31/Makefile"
1889 ac_config_commands="$ac_config_commands test/Programs/NoSource/SPEC/Makefile"
1892 ac_config_commands="$ac_config_commands test/Programs/NoSource/SPEC/CINT2000/Makefile"
1895 ac_config_commands="$ac_config_commands test/Programs/NoSource/SPEC/CINT2000/164.gzip/Makefile"
1898 ac_config_commands="$ac_config_commands test/Programs/NoSource/SPEC/CINT2000/181.mcf/Makefile"
1901 ac_config_commands="$ac_config_commands test/Programs/NoSource/SPEC/CINT2000/197.parser/Makefile"
1904 ac_config_commands="$ac_config_commands test/Programs/NoSource/SPEC/CINT2000/254.gap/Makefile"
1907 ac_config_commands="$ac_config_commands test/Programs/NoSource/SPEC/CINT2000/255.vortex/Makefile"
1910 ac_config_commands="$ac_config_commands test/Programs/NoSource/SPEC/CINT2000/256.bzip2/Makefile"
1913 ac_config_commands="$ac_config_commands test/Programs/NoSource/SPEC/CINT2000/300.twolf/Makefile"
1916 ac_config_commands="$ac_config_commands test/Programs/NoSource/m4/Makefile"
1919 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1922 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1925 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1928 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Shootout/Makefile"
1931 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Stanford/Makefile"
1934 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1937 ac_config_commands="$ac_config_commands tools/Makefile"
1940 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1943 ac_config_commands="$ac_config_commands tools/as/Makefile"
1946 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1949 ac_config_commands="$ac_config_commands tools/dis/Makefile"
1952 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1955 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1958 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1961 ac_config_commands="$ac_config_commands tools/link/Makefile"
1964 ac_config_commands="$ac_config_commands tools/llc/Makefile"
1967 ac_config_commands="$ac_config_commands tools/lli/Makefile"
1970 ac_config_commands="$ac_config_commands tools/opt/Makefile"
1973 ac_config_commands="$ac_config_commands tools/llee/Makefile"
1976 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
1979 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
1982 ac_config_commands="$ac_config_commands utils/Makefile"
1985 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
1988 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
1991 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
1994 ac_config_commands="$ac_config_commands www/docs/Makefile"
1997 ac_config_commands="$ac_config_commands projects/Makefile"
2000 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2003 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2006 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2009 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2012 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2015 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2018 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2021 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2024 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2027 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2030 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2035 # Find a good install program. We prefer a C program (faster),
2036 # so one script is as good as another. But avoid the broken or
2037 # incompatible versions:
2038 # SysV /etc/install, /usr/sbin/install
2039 # SunOS /usr/etc/install
2040 # IRIX /sbin/install
2042 # AmigaOS /C/install, which installs bootblocks on floppy discs
2043 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2044 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2045 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2046 # ./install, which can be erroneously created by make from ./install.sh.
2047 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2048 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2049 if test -z "$INSTALL"; then
2050 if test "${ac_cv_path_install+set}" = set; then
2051 echo $ECHO_N "(cached) $ECHO_C" >&6
2053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057 test -z "$as_dir" && as_dir=.
2058 # Account for people who put trailing slashes in PATH elements.
2060 ./ | .// | /cC/* | \
2061 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2064 # OSF1 and SCO ODT 3.0 have their own names for install.
2065 # Don't use installbsd from OSF since it installs stuff as root
2067 for ac_prog in ginstall scoinst install; do
2068 for ac_exec_ext in '' $ac_executable_extensions; do
2069 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2070 if test $ac_prog = install &&
2071 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2072 # AIX install. It has an incompatible calling convention.
2074 elif test $ac_prog = install &&
2075 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2076 # program-specific install script used by HP pwplus--don't use.
2079 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2091 if test "${ac_cv_path_install+set}" = set; then
2092 INSTALL=$ac_cv_path_install
2094 # As a last resort, use the slow shell script. We don't cache a
2095 # path for INSTALL within a source directory, because that will
2096 # break other packages using the cache if that directory is
2097 # removed, or if the path is relative.
2098 INSTALL=$ac_install_sh
2101 echo "$as_me:$LINENO: result: $INSTALL" >&5
2102 echo "${ECHO_T}$INSTALL" >&6
2104 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2105 # It thinks the first close brace ends the variable substitution.
2106 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2108 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2110 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2113 # Make sure we can run config.sub.
2114 $ac_config_sub sun4 >/dev/null 2>&1 ||
2115 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2116 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2117 { (exit 1); exit 1; }; }
2119 echo "$as_me:$LINENO: checking build system type" >&5
2120 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2121 if test "${ac_cv_build+set}" = set; then
2122 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 ac_cv_build_alias=$build_alias
2125 test -z "$ac_cv_build_alias" &&
2126 ac_cv_build_alias=`$ac_config_guess`
2127 test -z "$ac_cv_build_alias" &&
2128 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2129 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2130 { (exit 1); exit 1; }; }
2131 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2132 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2133 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2134 { (exit 1); exit 1; }; }
2137 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2138 echo "${ECHO_T}$ac_cv_build" >&6
2140 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2141 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2142 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2145 echo "$as_me:$LINENO: checking host system type" >&5
2146 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2147 if test "${ac_cv_host+set}" = set; then
2148 echo $ECHO_N "(cached) $ECHO_C" >&6
2150 ac_cv_host_alias=$host_alias
2151 test -z "$ac_cv_host_alias" &&
2152 ac_cv_host_alias=$ac_cv_build_alias
2153 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2154 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2155 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2156 { (exit 1); exit 1; }; }
2159 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2160 echo "${ECHO_T}$ac_cv_host" >&6
2162 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2163 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2164 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2167 echo "$as_me:$LINENO: checking target system type" >&5
2168 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2169 if test "${ac_cv_target+set}" = set; then
2170 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 ac_cv_target_alias=$target_alias
2173 test "x$ac_cv_target_alias" = "x" &&
2174 ac_cv_target_alias=$ac_cv_host_alias
2175 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2176 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2177 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2178 { (exit 1); exit 1; }; }
2181 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2182 echo "${ECHO_T}$ac_cv_target" >&6
2183 target=$ac_cv_target
2184 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2185 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2186 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2189 # The aliases save the names the user supplied, while $host etc.
2190 # will get canonicalized.
2191 test -n "$target_alias" &&
2192 test "$program_prefix$program_suffix$program_transform_name" = \
2194 program_prefix=${target_alias}-
2199 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2205 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2215 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2224 *sparc*solaris*) ARCH=Sparc
2231 ac_cpp='$CXXCPP $CPPFLAGS'
2232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2235 if test -n "$ac_tool_prefix"; then
2236 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2238 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2239 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2240 echo "$as_me:$LINENO: checking for $ac_word" >&5
2241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2242 if test "${ac_cv_prog_CXX+set}" = set; then
2243 echo $ECHO_N "(cached) $ECHO_C" >&6
2245 if test -n "$CXX"; then
2246 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252 test -z "$as_dir" && as_dir=.
2253 for ac_exec_ext in '' $ac_executable_extensions; do
2254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2255 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2265 if test -n "$CXX"; then
2266 echo "$as_me:$LINENO: result: $CXX" >&5
2267 echo "${ECHO_T}$CXX" >&6
2269 echo "$as_me:$LINENO: result: no" >&5
2270 echo "${ECHO_T}no" >&6
2273 test -n "$CXX" && break
2276 if test -z "$CXX"; then
2278 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2280 # Extract the first word of "$ac_prog", so it can be a program name with args.
2281 set dummy $ac_prog; ac_word=$2
2282 echo "$as_me:$LINENO: checking for $ac_word" >&5
2283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2284 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2285 echo $ECHO_N "(cached) $ECHO_C" >&6
2287 if test -n "$ac_ct_CXX"; then
2288 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 test -z "$as_dir" && as_dir=.
2295 for ac_exec_ext in '' $ac_executable_extensions; do
2296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2297 ac_cv_prog_ac_ct_CXX="$ac_prog"
2298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2307 if test -n "$ac_ct_CXX"; then
2308 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2309 echo "${ECHO_T}$ac_ct_CXX" >&6
2311 echo "$as_me:$LINENO: result: no" >&5
2312 echo "${ECHO_T}no" >&6
2315 test -n "$ac_ct_CXX" && break
2317 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2323 # Provide some information about the compiler.
2324 echo "$as_me:$LINENO:" \
2325 "checking for C++ compiler version" >&5
2326 ac_compiler=`set X $ac_compile; echo $2`
2327 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2328 (eval $ac_compiler --version </dev/null >&5) 2>&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }
2332 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2333 (eval $ac_compiler -v </dev/null >&5) 2>&5
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }
2337 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2338 (eval $ac_compiler -V </dev/null >&5) 2>&5
2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341 (exit $ac_status); }
2343 cat >conftest.$ac_ext <<_ACEOF
2344 #line $LINENO "configure"
2347 cat confdefs.h >>conftest.$ac_ext
2348 cat >>conftest.$ac_ext <<_ACEOF
2349 /* end confdefs.h. */
2359 ac_clean_files_save=$ac_clean_files
2360 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2361 # Try to create an executable without -o first, disregard a.out.
2362 # It will help us diagnose broken compilers, and finding out an intuition
2364 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2365 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2366 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2367 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2368 (eval $ac_link_default) 2>&5
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); }; then
2372 # Find the output, starting from the most likely. This scheme is
2373 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2376 # Be careful to initialize this variable, since it used to be cached.
2377 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2379 # b.out is created by i960 compilers.
2380 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2382 test -f "$ac_file" || continue
2384 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2387 # This is the source file.
2390 # We found the default executable, but exeext='' is most
2394 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2395 # FIXME: I believe we export ac_cv_exeext for Libtool,
2396 # but it would be cool to find out if it's true. Does anybody
2397 # maintain Libtool? --akim.
2405 echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.$ac_ext >&5
2408 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2409 See \`config.log' for more details." >&5
2410 echo "$as_me: error: C++ compiler cannot create executables
2411 See \`config.log' for more details." >&2;}
2412 { (exit 77); exit 77; }; }
2415 ac_exeext=$ac_cv_exeext
2416 echo "$as_me:$LINENO: result: $ac_file" >&5
2417 echo "${ECHO_T}$ac_file" >&6
2419 # Check the compiler produces executables we can run. If not, either
2420 # the compiler is broken, or we cross compile.
2421 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2422 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2423 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2424 # If not cross compiling, check that we can run a simple program.
2425 if test "$cross_compiling" != yes; then
2426 if { ac_try='./$ac_file'
2427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431 (exit $ac_status); }; }; then
2434 if test "$cross_compiling" = maybe; then
2437 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2438 If you meant to cross compile, use \`--host'.
2439 See \`config.log' for more details." >&5
2440 echo "$as_me: error: cannot run C++ compiled programs.
2441 If you meant to cross compile, use \`--host'.
2442 See \`config.log' for more details." >&2;}
2443 { (exit 1); exit 1; }; }
2447 echo "$as_me:$LINENO: result: yes" >&5
2448 echo "${ECHO_T}yes" >&6
2450 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2451 ac_clean_files=$ac_clean_files_save
2452 # Check the compiler produces executables we can run. If not, either
2453 # the compiler is broken, or we cross compile.
2454 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2455 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2456 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2457 echo "${ECHO_T}$cross_compiling" >&6
2459 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2460 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2462 (eval $ac_link) 2>&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); }; then
2466 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2467 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2468 # work properly (i.e., refer to `conftest.exe'), while it won't with
2470 for ac_file in conftest.exe conftest conftest.*; do
2471 test -f "$ac_file" || continue
2473 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2474 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2481 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2482 See \`config.log' for more details." >&5
2483 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2484 See \`config.log' for more details." >&2;}
2485 { (exit 1); exit 1; }; }
2488 rm -f conftest$ac_cv_exeext
2489 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2490 echo "${ECHO_T}$ac_cv_exeext" >&6
2492 rm -f conftest.$ac_ext
2493 EXEEXT=$ac_cv_exeext
2495 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2496 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2497 if test "${ac_cv_objext+set}" = set; then
2498 echo $ECHO_N "(cached) $ECHO_C" >&6
2500 cat >conftest.$ac_ext <<_ACEOF
2501 #line $LINENO "configure"
2504 cat confdefs.h >>conftest.$ac_ext
2505 cat >>conftest.$ac_ext <<_ACEOF
2506 /* end confdefs.h. */
2516 rm -f conftest.o conftest.obj
2517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2518 (eval $ac_compile) 2>&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }; then
2522 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2524 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2525 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2530 echo "$as_me: failed program was:" >&5
2531 sed 's/^/| /' conftest.$ac_ext >&5
2533 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2534 See \`config.log' for more details." >&5
2535 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2536 See \`config.log' for more details." >&2;}
2537 { (exit 1); exit 1; }; }
2540 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2542 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2543 echo "${ECHO_T}$ac_cv_objext" >&6
2544 OBJEXT=$ac_cv_objext
2546 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2547 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2548 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2549 echo $ECHO_N "(cached) $ECHO_C" >&6
2551 cat >conftest.$ac_ext <<_ACEOF
2552 #line $LINENO "configure"
2555 cat confdefs.h >>conftest.$ac_ext
2556 cat >>conftest.$ac_ext <<_ACEOF
2557 /* end confdefs.h. */
2570 rm -f conftest.$ac_objext
2571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2572 (eval $ac_compile) 2>&5
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); } &&
2576 { ac_try='test -s conftest.$ac_objext'
2577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); }; }; then
2584 echo "$as_me: failed program was:" >&5
2585 sed 's/^/| /' conftest.$ac_ext >&5
2589 rm -f conftest.$ac_objext conftest.$ac_ext
2590 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2593 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2594 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2595 GXX=`test $ac_compiler_gnu = yes && echo yes`
2596 ac_test_CXXFLAGS=${CXXFLAGS+set}
2597 ac_save_CXXFLAGS=$CXXFLAGS
2599 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2600 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2601 if test "${ac_cv_prog_cxx_g+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2604 cat >conftest.$ac_ext <<_ACEOF
2605 #line $LINENO "configure"
2608 cat confdefs.h >>conftest.$ac_ext
2609 cat >>conftest.$ac_ext <<_ACEOF
2610 /* end confdefs.h. */
2620 rm -f conftest.$ac_objext
2621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2622 (eval $ac_compile) 2>&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); } &&
2626 { ac_try='test -s conftest.$ac_objext'
2627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); }; }; then
2632 ac_cv_prog_cxx_g=yes
2634 echo "$as_me: failed program was:" >&5
2635 sed 's/^/| /' conftest.$ac_ext >&5
2639 rm -f conftest.$ac_objext conftest.$ac_ext
2641 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2642 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2643 if test "$ac_test_CXXFLAGS" = set; then
2644 CXXFLAGS=$ac_save_CXXFLAGS
2645 elif test $ac_cv_prog_cxx_g = yes; then
2646 if test "$GXX" = yes; then
2652 if test "$GXX" = yes; then
2658 for ac_declaration in \
2660 '#include <stdlib.h>' \
2661 'extern "C" void std::exit (int) throw (); using std::exit;' \
2662 'extern "C" void std::exit (int); using std::exit;' \
2663 'extern "C" void exit (int) throw ();' \
2664 'extern "C" void exit (int);' \
2667 cat >conftest.$ac_ext <<_ACEOF
2668 #line $LINENO "configure"
2671 cat confdefs.h >>conftest.$ac_ext
2672 cat >>conftest.$ac_ext <<_ACEOF
2673 /* end confdefs.h. */
2684 rm -f conftest.$ac_objext
2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2686 (eval $ac_compile) 2>&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); } &&
2690 { ac_try='test -s conftest.$ac_objext'
2691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); }; }; then
2698 echo "$as_me: failed program was:" >&5
2699 sed 's/^/| /' conftest.$ac_ext >&5
2703 rm -f conftest.$ac_objext conftest.$ac_ext
2704 cat >conftest.$ac_ext <<_ACEOF
2705 #line $LINENO "configure"
2708 cat confdefs.h >>conftest.$ac_ext
2709 cat >>conftest.$ac_ext <<_ACEOF
2710 /* end confdefs.h. */
2720 rm -f conftest.$ac_objext
2721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2722 (eval $ac_compile) 2>&5
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); } &&
2726 { ac_try='test -s conftest.$ac_objext'
2727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731 (exit $ac_status); }; }; then
2734 echo "$as_me: failed program was:" >&5
2735 sed 's/^/| /' conftest.$ac_ext >&5
2738 rm -f conftest.$ac_objext conftest.$ac_ext
2741 if test -n "$ac_declaration"; then
2742 echo '#ifdef __cplusplus' >>confdefs.h
2743 echo $ac_declaration >>confdefs.h
2744 echo '#endif' >>confdefs.h
2748 ac_cpp='$CPP $CPPFLAGS'
2749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2754 ac_cpp='$CPP $CPPFLAGS'
2755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2758 if test -n "$ac_tool_prefix"; then
2761 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2762 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2763 echo "$as_me:$LINENO: checking for $ac_word" >&5
2764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2765 if test "${ac_cv_prog_CC+set}" = set; then
2766 echo $ECHO_N "(cached) $ECHO_C" >&6
2768 if test -n "$CC"; then
2769 ac_cv_prog_CC="$CC" # Let the user override the test.
2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2775 test -z "$as_dir" && as_dir=.
2776 for ac_exec_ext in '' $ac_executable_extensions; do
2777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2778 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2788 if test -n "$CC"; then
2789 echo "$as_me:$LINENO: result: $CC" >&5
2790 echo "${ECHO_T}$CC" >&6
2792 echo "$as_me:$LINENO: result: no" >&5
2793 echo "${ECHO_T}no" >&6
2796 test -n "$CC" && break
2799 if test -z "$CC"; then
2803 # Extract the first word of "$ac_prog", so it can be a program name with args.
2804 set dummy $ac_prog; ac_word=$2
2805 echo "$as_me:$LINENO: checking for $ac_word" >&5
2806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2807 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2808 echo $ECHO_N "(cached) $ECHO_C" >&6
2810 if test -n "$ac_ct_CC"; then
2811 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2817 test -z "$as_dir" && as_dir=.
2818 for ac_exec_ext in '' $ac_executable_extensions; do
2819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2820 ac_cv_prog_ac_ct_CC="$ac_prog"
2821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2829 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2830 if test -n "$ac_ct_CC"; then
2831 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2832 echo "${ECHO_T}$ac_ct_CC" >&6
2834 echo "$as_me:$LINENO: result: no" >&5
2835 echo "${ECHO_T}no" >&6
2838 test -n "$ac_ct_CC" && break
2845 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2846 See \`config.log' for more details." >&5
2847 echo "$as_me: error: no acceptable C compiler found in \$PATH
2848 See \`config.log' for more details." >&2;}
2849 { (exit 1); exit 1; }; }
2851 # Provide some information about the compiler.
2852 echo "$as_me:$LINENO:" \
2853 "checking for C compiler version" >&5
2854 ac_compiler=`set X $ac_compile; echo $2`
2855 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2856 (eval $ac_compiler --version </dev/null >&5) 2>&5
2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); }
2860 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2861 (eval $ac_compiler -v </dev/null >&5) 2>&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); }
2865 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2866 (eval $ac_compiler -V </dev/null >&5) 2>&5
2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); }
2871 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2872 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2873 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2874 echo $ECHO_N "(cached) $ECHO_C" >&6
2876 cat >conftest.$ac_ext <<_ACEOF
2877 #line $LINENO "configure"
2880 cat confdefs.h >>conftest.$ac_ext
2881 cat >>conftest.$ac_ext <<_ACEOF
2882 /* end confdefs.h. */
2895 rm -f conftest.$ac_objext
2896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2897 (eval $ac_compile) 2>&5
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); } &&
2901 { ac_try='test -s conftest.$ac_objext'
2902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906 (exit $ac_status); }; }; then
2909 echo "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.$ac_ext >&5
2914 rm -f conftest.$ac_objext conftest.$ac_ext
2915 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2918 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2919 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2920 GCC=`test $ac_compiler_gnu = yes && echo yes`
2921 ac_test_CFLAGS=${CFLAGS+set}
2922 ac_save_CFLAGS=$CFLAGS
2924 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2925 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2926 if test "${ac_cv_prog_cc_g+set}" = set; then
2927 echo $ECHO_N "(cached) $ECHO_C" >&6
2929 cat >conftest.$ac_ext <<_ACEOF
2930 #line $LINENO "configure"
2933 cat confdefs.h >>conftest.$ac_ext
2934 cat >>conftest.$ac_ext <<_ACEOF
2935 /* end confdefs.h. */
2945 rm -f conftest.$ac_objext
2946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2947 (eval $ac_compile) 2>&5
2949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950 (exit $ac_status); } &&
2951 { ac_try='test -s conftest.$ac_objext'
2952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); }; }; then
2959 echo "$as_me: failed program was:" >&5
2960 sed 's/^/| /' conftest.$ac_ext >&5
2964 rm -f conftest.$ac_objext conftest.$ac_ext
2966 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2967 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2968 if test "$ac_test_CFLAGS" = set; then
2969 CFLAGS=$ac_save_CFLAGS
2970 elif test $ac_cv_prog_cc_g = yes; then
2971 if test "$GCC" = yes; then
2977 if test "$GCC" = yes; then
2983 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2984 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2985 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2986 echo $ECHO_N "(cached) $ECHO_C" >&6
2988 ac_cv_prog_cc_stdc=no
2990 cat >conftest.$ac_ext <<_ACEOF
2991 #line $LINENO "configure"
2994 cat confdefs.h >>conftest.$ac_ext
2995 cat >>conftest.$ac_ext <<_ACEOF
2996 /* end confdefs.h. */
2999 #include <sys/types.h>
3000 #include <sys/stat.h>
3001 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3002 struct buf { int x; };
3003 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3004 static char *e (p, i)
3010 static char *f (char * (*g) (char **, int), char **p, ...)
3015 s = g (p, va_arg (v,int));
3019 int test (int i, double x);
3020 struct s1 {int (*f) (int a);};
3021 struct s2 {int (*f) (double a);};
3022 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3028 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3033 # Don't try gcc -ansi; that turns off useful extensions and
3034 # breaks some systems' header files.
3035 # AIX -qlanglvl=ansi
3036 # Ultrix and OSF/1 -std1
3037 # HP-UX 10.20 and later -Ae
3038 # HP-UX older versions -Aa -D_HPUX_SOURCE
3039 # SVR4 -Xc -D__EXTENSIONS__
3040 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3042 CC="$ac_save_CC $ac_arg"
3043 rm -f conftest.$ac_objext
3044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3045 (eval $ac_compile) 2>&5
3047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3048 (exit $ac_status); } &&
3049 { ac_try='test -s conftest.$ac_objext'
3050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); }; }; then
3055 ac_cv_prog_cc_stdc=$ac_arg
3058 echo "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3062 rm -f conftest.$ac_objext
3064 rm -f conftest.$ac_ext conftest.$ac_objext
3069 case "x$ac_cv_prog_cc_stdc" in
3071 echo "$as_me:$LINENO: result: none needed" >&5
3072 echo "${ECHO_T}none needed" >&6 ;;
3074 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3075 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3076 CC="$CC $ac_cv_prog_cc_stdc" ;;
3079 # Some people use a C++ compiler to compile C. Since we use `exit',
3080 # in C++ we need to declare it. In case someone uses the same compiler
3081 # for both compiling C and C++ we need to have the C++ compiler decide
3082 # the declaration of exit, since it's the most demanding environment.
3083 cat >conftest.$ac_ext <<_ACEOF
3088 rm -f conftest.$ac_objext
3089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3090 (eval $ac_compile) 2>&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); } &&
3094 { ac_try='test -s conftest.$ac_objext'
3095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); }; }; then
3100 for ac_declaration in \
3102 '#include <stdlib.h>' \
3103 'extern "C" void std::exit (int) throw (); using std::exit;' \
3104 'extern "C" void std::exit (int); using std::exit;' \
3105 'extern "C" void exit (int) throw ();' \
3106 'extern "C" void exit (int);' \
3109 cat >conftest.$ac_ext <<_ACEOF
3110 #line $LINENO "configure"
3113 cat confdefs.h >>conftest.$ac_ext
3114 cat >>conftest.$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3126 rm -f conftest.$ac_objext
3127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3128 (eval $ac_compile) 2>&5
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); } &&
3132 { ac_try='test -s conftest.$ac_objext'
3133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137 (exit $ac_status); }; }; then
3140 echo "$as_me: failed program was:" >&5
3141 sed 's/^/| /' conftest.$ac_ext >&5
3145 rm -f conftest.$ac_objext conftest.$ac_ext
3146 cat >conftest.$ac_ext <<_ACEOF
3147 #line $LINENO "configure"
3150 cat confdefs.h >>conftest.$ac_ext
3151 cat >>conftest.$ac_ext <<_ACEOF
3152 /* end confdefs.h. */
3162 rm -f conftest.$ac_objext
3163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3164 (eval $ac_compile) 2>&5
3166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167 (exit $ac_status); } &&
3168 { ac_try='test -s conftest.$ac_objext'
3169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173 (exit $ac_status); }; }; then
3176 echo "$as_me: failed program was:" >&5
3177 sed 's/^/| /' conftest.$ac_ext >&5
3180 rm -f conftest.$ac_objext conftest.$ac_ext
3183 if test -n "$ac_declaration"; then
3184 echo '#ifdef __cplusplus' >>confdefs.h
3185 echo $ac_declaration >>confdefs.h
3186 echo '#endif' >>confdefs.h
3190 echo "$as_me: failed program was:" >&5
3191 sed 's/^/| /' conftest.$ac_ext >&5
3194 rm -f conftest.$ac_objext conftest.$ac_ext
3196 ac_cpp='$CPP $CPPFLAGS'
3197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3202 ac_cpp='$CPP $CPPFLAGS'
3203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3206 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3207 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3208 # On Suns, sometimes $CPP names a directory.
3209 if test -n "$CPP" && test -d "$CPP"; then
3212 if test -z "$CPP"; then
3213 if test "${ac_cv_prog_CPP+set}" = set; then
3214 echo $ECHO_N "(cached) $ECHO_C" >&6
3216 # Double quotes because CPP needs to be expanded
3217 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3220 for ac_c_preproc_warn_flag in '' yes
3222 # Use a header file that comes with gcc, so configuring glibc
3223 # with a fresh cross-compiler works.
3224 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3225 # <limits.h> exists even on freestanding compilers.
3226 # On the NeXT, cc -E runs the code through the compiler's parser,
3227 # not just through cpp. "Syntax error" is here to catch this case.
3228 cat >conftest.$ac_ext <<_ACEOF
3229 #line $LINENO "configure"
3232 cat confdefs.h >>conftest.$ac_ext
3233 cat >>conftest.$ac_ext <<_ACEOF
3234 /* end confdefs.h. */
3236 # include <limits.h>
3238 # include <assert.h>
3242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3243 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3245 grep -v '^ *+' conftest.er1 >conftest.err
3247 cat conftest.err >&5
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); } >/dev/null; then
3250 if test -s conftest.err; then
3251 ac_cpp_err=$ac_c_preproc_warn_flag
3258 if test -z "$ac_cpp_err"; then
3261 echo "$as_me: failed program was:" >&5
3262 sed 's/^/| /' conftest.$ac_ext >&5
3264 # Broken: fails on valid input.
3267 rm -f conftest.err conftest.$ac_ext
3269 # OK, works on sane cases. Now check whether non-existent headers
3270 # can be detected and how.
3271 cat >conftest.$ac_ext <<_ACEOF
3272 #line $LINENO "configure"
3275 cat confdefs.h >>conftest.$ac_ext
3276 cat >>conftest.$ac_ext <<_ACEOF
3277 /* end confdefs.h. */
3278 #include <ac_nonexistent.h>
3280 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3281 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3283 grep -v '^ *+' conftest.er1 >conftest.err
3285 cat conftest.err >&5
3286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287 (exit $ac_status); } >/dev/null; then
3288 if test -s conftest.err; then
3289 ac_cpp_err=$ac_c_preproc_warn_flag
3296 if test -z "$ac_cpp_err"; then
3297 # Broken: success on invalid input.
3300 echo "$as_me: failed program was:" >&5
3301 sed 's/^/| /' conftest.$ac_ext >&5
3303 # Passes both tests.
3307 rm -f conftest.err conftest.$ac_ext
3310 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3311 rm -f conftest.err conftest.$ac_ext
3312 if $ac_preproc_ok; then
3324 echo "$as_me:$LINENO: result: $CPP" >&5
3325 echo "${ECHO_T}$CPP" >&6
3327 for ac_c_preproc_warn_flag in '' yes
3329 # Use a header file that comes with gcc, so configuring glibc
3330 # with a fresh cross-compiler works.
3331 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3332 # <limits.h> exists even on freestanding compilers.
3333 # On the NeXT, cc -E runs the code through the compiler's parser,
3334 # not just through cpp. "Syntax error" is here to catch this case.
3335 cat >conftest.$ac_ext <<_ACEOF
3336 #line $LINENO "configure"
3339 cat confdefs.h >>conftest.$ac_ext
3340 cat >>conftest.$ac_ext <<_ACEOF
3341 /* end confdefs.h. */
3343 # include <limits.h>
3345 # include <assert.h>
3349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3350 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3352 grep -v '^ *+' conftest.er1 >conftest.err
3354 cat conftest.err >&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); } >/dev/null; then
3357 if test -s conftest.err; then
3358 ac_cpp_err=$ac_c_preproc_warn_flag
3365 if test -z "$ac_cpp_err"; then
3368 echo "$as_me: failed program was:" >&5
3369 sed 's/^/| /' conftest.$ac_ext >&5
3371 # Broken: fails on valid input.
3374 rm -f conftest.err conftest.$ac_ext
3376 # OK, works on sane cases. Now check whether non-existent headers
3377 # can be detected and how.
3378 cat >conftest.$ac_ext <<_ACEOF
3379 #line $LINENO "configure"
3382 cat confdefs.h >>conftest.$ac_ext
3383 cat >>conftest.$ac_ext <<_ACEOF
3384 /* end confdefs.h. */
3385 #include <ac_nonexistent.h>
3387 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3388 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3390 grep -v '^ *+' conftest.er1 >conftest.err
3392 cat conftest.err >&5
3393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3394 (exit $ac_status); } >/dev/null; then
3395 if test -s conftest.err; then
3396 ac_cpp_err=$ac_c_preproc_warn_flag
3403 if test -z "$ac_cpp_err"; then
3404 # Broken: success on invalid input.
3407 echo "$as_me: failed program was:" >&5
3408 sed 's/^/| /' conftest.$ac_ext >&5
3410 # Passes both tests.
3414 rm -f conftest.err conftest.$ac_ext
3417 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3418 rm -f conftest.err conftest.$ac_ext
3419 if $ac_preproc_ok; then
3422 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3423 See \`config.log' for more details." >&5
3424 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3425 See \`config.log' for more details." >&2;}
3426 { (exit 1); exit 1; }; }
3430 ac_cpp='$CPP $CPPFLAGS'
3431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3436 if test "$GCC" != "yes"
3438 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3439 echo "$as_me: error: gcc required but not found" >&2;}
3440 { (exit 1); exit 1; }; }
3443 if test "$GXX" != "yes"
3445 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3446 echo "$as_me: error: g++ required but not found" >&2;}
3447 { (exit 1); exit 1; }; }
3450 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3451 if test "$gccmajor" -lt "3"
3453 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3454 echo "$as_me: error: gcc 3.x required" >&2;}
3455 { (exit 1); exit 1; }; }
3458 echo "$as_me:$LINENO: checking for GNU make" >&5
3459 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3460 if test "${_cv_gnu_make_command+set}" = set; then
3461 echo $ECHO_N "(cached) $ECHO_C" >&6
3463 _cv_gnu_make_command='' ;
3464 for a in "$MAKE" make gmake gnumake ; do
3465 if test -z "$a" ; then continue ; fi ;
3466 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3467 _cv_gnu_make_command=$a ;
3473 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3474 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3475 if test "x$_cv_gnu_make_command" != "x" ; then
3479 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3480 echo "${ECHO_T}\"Not found\"" >&6;
3484 if test -z "$_cv_gnu_make_command"
3486 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3487 echo "$as_me: error: GNU Make required but not found" >&2;}
3488 { (exit 1); exit 1; }; }
3492 echo "$as_me:$LINENO: checking " >&5
3493 echo $ECHO_N "checking ... $ECHO_C" >&6
3494 if test "${ac_cv_has_flex+set}" = set; then
3495 echo $ECHO_N "(cached) $ECHO_C" >&6
3497 for ac_prog in flex lex
3499 # Extract the first word of "$ac_prog", so it can be a program name with args.
3500 set dummy $ac_prog; ac_word=$2
3501 echo "$as_me:$LINENO: checking for $ac_word" >&5
3502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3503 if test "${ac_cv_prog_LEX+set}" = set; then
3504 echo $ECHO_N "(cached) $ECHO_C" >&6
3506 if test -n "$LEX"; then
3507 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3513 test -z "$as_dir" && as_dir=.
3514 for ac_exec_ext in '' $ac_executable_extensions; do
3515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3516 ac_cv_prog_LEX="$ac_prog"
3517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3526 if test -n "$LEX"; then
3527 echo "$as_me:$LINENO: result: $LEX" >&5
3528 echo "${ECHO_T}$LEX" >&6
3530 echo "$as_me:$LINENO: result: no" >&5
3531 echo "${ECHO_T}no" >&6
3534 test -n "$LEX" && break
3536 test -n "$LEX" || LEX=":"
3538 if test -z "$LEXLIB"
3540 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3541 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3542 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3543 echo $ECHO_N "(cached) $ECHO_C" >&6
3545 ac_check_lib_save_LIBS=$LIBS
3547 cat >conftest.$ac_ext <<_ACEOF
3548 #line $LINENO "configure"
3551 cat confdefs.h >>conftest.$ac_ext
3552 cat >>conftest.$ac_ext <<_ACEOF
3553 /* end confdefs.h. */
3555 /* Override any gcc2 internal prototype to avoid an error. */
3559 /* We use char because int might match the return type of a gcc2
3560 builtin and then its argument prototype would still apply. */
3570 rm -f conftest.$ac_objext conftest$ac_exeext
3571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3572 (eval $ac_link) 2>&5
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); } &&
3576 { ac_try='test -s conftest$ac_exeext'
3577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581 (exit $ac_status); }; }; then
3582 ac_cv_lib_fl_yywrap=yes
3584 echo "$as_me: failed program was:" >&5
3585 sed 's/^/| /' conftest.$ac_ext >&5
3587 ac_cv_lib_fl_yywrap=no
3589 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3590 LIBS=$ac_check_lib_save_LIBS
3592 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3593 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3594 if test $ac_cv_lib_fl_yywrap = yes; then
3597 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3598 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3599 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3600 echo $ECHO_N "(cached) $ECHO_C" >&6
3602 ac_check_lib_save_LIBS=$LIBS
3604 cat >conftest.$ac_ext <<_ACEOF
3605 #line $LINENO "configure"
3608 cat confdefs.h >>conftest.$ac_ext
3609 cat >>conftest.$ac_ext <<_ACEOF
3610 /* end confdefs.h. */
3612 /* Override any gcc2 internal prototype to avoid an error. */
3616 /* We use char because int might match the return type of a gcc2
3617 builtin and then its argument prototype would still apply. */
3627 rm -f conftest.$ac_objext conftest$ac_exeext
3628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3629 (eval $ac_link) 2>&5
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); } &&
3633 { ac_try='test -s conftest$ac_exeext'
3634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); }; }; then
3639 ac_cv_lib_l_yywrap=yes
3641 echo "$as_me: failed program was:" >&5
3642 sed 's/^/| /' conftest.$ac_ext >&5
3644 ac_cv_lib_l_yywrap=no
3646 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3647 LIBS=$ac_check_lib_save_LIBS
3649 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3650 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3651 if test $ac_cv_lib_l_yywrap = yes; then
3659 if test "x$LEX" != "x:"; then
3660 echo "$as_me:$LINENO: checking lex output file root" >&5
3661 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3662 if test "${ac_cv_prog_lex_root+set}" = set; then
3663 echo $ECHO_N "(cached) $ECHO_C" >&6
3665 # The minimal lex program is just a single line: %%. But some broken lexes
3666 # (Solaris, I think it was) want two %% lines, so accommodate them.
3667 cat >conftest.l <<_ACEOF
3671 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3672 (eval $LEX conftest.l) 2>&5
3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675 (exit $ac_status); }
3676 if test -f lex.yy.c; then
3677 ac_cv_prog_lex_root=lex.yy
3678 elif test -f lexyy.c; then
3679 ac_cv_prog_lex_root=lexyy
3681 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3682 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3683 { (exit 1); exit 1; }; }
3686 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3687 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3689 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3691 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3692 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3693 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3694 echo $ECHO_N "(cached) $ECHO_C" >&6
3696 # POSIX says lex can declare yytext either as a pointer or an array; the
3697 # default is implementation-dependent. Figure out which it is, since
3698 # not all implementations provide the %pointer and %array declarations.
3699 ac_cv_prog_lex_yytext_pointer=no
3700 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3702 LIBS="$LIBS $LEXLIB"
3703 cat >conftest.$ac_ext <<_ACEOF
3704 `cat $LEX_OUTPUT_ROOT.c`
3706 rm -f conftest.$ac_objext conftest$ac_exeext
3707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3708 (eval $ac_link) 2>&5
3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711 (exit $ac_status); } &&
3712 { ac_try='test -s conftest$ac_exeext'
3713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717 (exit $ac_status); }; }; then
3718 ac_cv_prog_lex_yytext_pointer=yes
3720 echo "$as_me: failed program was:" >&5
3721 sed 's/^/| /' conftest.$ac_ext >&5
3724 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3726 rm -f "${LEX_OUTPUT_ROOT}.c"
3729 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3730 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3731 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3733 cat >>confdefs.h <<\_ACEOF
3734 #define YYTEXT_POINTER 1
3742 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3743 echo "${ECHO_T}$ac_cv_has_flex" >&6
3744 if test "$LEX" != "flex"; then
3745 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3746 echo "$as_me: error: flex not found but required" >&2;}
3747 { (exit 1); exit 1; }; }
3750 echo "$as_me:$LINENO: checking " >&5
3751 echo $ECHO_N "checking ... $ECHO_C" >&6
3752 if test "${ac_cv_has_bison+set}" = set; then
3753 echo $ECHO_N "(cached) $ECHO_C" >&6
3755 for ac_prog in 'bison -y' byacc
3757 # Extract the first word of "$ac_prog", so it can be a program name with args.
3758 set dummy $ac_prog; ac_word=$2
3759 echo "$as_me:$LINENO: checking for $ac_word" >&5
3760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3761 if test "${ac_cv_prog_YACC+set}" = set; then
3762 echo $ECHO_N "(cached) $ECHO_C" >&6
3764 if test -n "$YACC"; then
3765 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3771 test -z "$as_dir" && as_dir=.
3772 for ac_exec_ext in '' $ac_executable_extensions; do
3773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3774 ac_cv_prog_YACC="$ac_prog"
3775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3783 YACC=$ac_cv_prog_YACC
3784 if test -n "$YACC"; then
3785 echo "$as_me:$LINENO: result: $YACC" >&5
3786 echo "${ECHO_T}$YACC" >&6
3788 echo "$as_me:$LINENO: result: no" >&5
3789 echo "${ECHO_T}no" >&6
3792 test -n "$YACC" && break
3794 test -n "$YACC" || YACC="yacc"
3798 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3799 echo "${ECHO_T}$ac_cv_has_bison" >&6
3800 if test "$YACC" != "bison -y"; then
3801 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3802 echo "$as_me: error: bison not found but required" >&2;}
3803 { (exit 1); exit 1; }; }
3810 # Check whether --enable-shared or --disable-shared was given.
3811 if test "${enable_shared+set}" = set; then
3812 enableval="$enable_shared"
3813 p=${PACKAGE-default}
3815 yes) enable_shared=yes ;;
3816 no) enable_shared=no ;;
3819 # Look at the argument we got. We use all the common list separators.
3820 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3821 for pkg in $enableval; do
3823 if test "X$pkg" = "X$p"; then
3834 # Check whether --enable-static or --disable-static was given.
3835 if test "${enable_static+set}" = set; then
3836 enableval="$enable_static"
3837 p=${PACKAGE-default}
3839 yes) enable_static=yes ;;
3840 no) enable_static=no ;;
3843 # Look at the argument we got. We use all the common list separators.
3844 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3845 for pkg in $enableval; do
3847 if test "X$pkg" = "X$p"; then
3858 # Check whether --enable-fast-install or --disable-fast-install was given.
3859 if test "${enable_fast_install+set}" = set; then
3860 enableval="$enable_fast_install"
3861 p=${PACKAGE-default}
3863 yes) enable_fast_install=yes ;;
3864 no) enable_fast_install=no ;;
3866 enable_fast_install=no
3867 # Look at the argument we got. We use all the common list separators.
3868 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3869 for pkg in $enableval; do
3871 if test "X$pkg" = "X$p"; then
3872 enable_fast_install=yes
3879 enable_fast_install=yes
3882 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3883 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3884 if test "${lt_cv_path_SED+set}" = set; then
3885 echo $ECHO_N "(cached) $ECHO_C" >&6
3887 # Loop through the user's path and test for sed and gsed.
3888 # Then use that list of sed's as ones to test for truncation.
3889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3893 test -z "$as_dir" && as_dir=.
3894 for lt_ac_prog in sed gsed; do
3895 for ac_exec_ext in '' $ac_executable_extensions; do
3896 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3897 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3904 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3905 # along with /bin/sed that truncates output.
3906 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3907 test ! -f $lt_ac_sed && break
3908 cat /dev/null > conftest.in
3910 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3911 # Check for GNU sed and select it if it is found.
3912 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3913 lt_cv_path_SED=$lt_ac_sed
3917 cat conftest.in conftest.in >conftest.tmp
3918 mv conftest.tmp conftest.in
3919 cp conftest.in conftest.nl
3921 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3922 cmp -s conftest.out conftest.nl || break
3923 # 10000 chars as input seems more than enough
3924 test $lt_ac_count -gt 10 && break
3925 lt_ac_count=`expr $lt_ac_count + 1`
3926 if test $lt_ac_count -gt $lt_ac_max; then
3927 lt_ac_max=$lt_ac_count
3928 lt_cv_path_SED=$lt_ac_sed
3936 echo "$as_me:$LINENO: result: $SED" >&5
3937 echo "${ECHO_T}$SED" >&6
3939 echo "$as_me:$LINENO: checking for egrep" >&5
3940 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3941 if test "${ac_cv_prog_egrep+set}" = set; then
3942 echo $ECHO_N "(cached) $ECHO_C" >&6
3944 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3945 then ac_cv_prog_egrep='grep -E'
3946 else ac_cv_prog_egrep='egrep'
3949 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3950 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3951 EGREP=$ac_cv_prog_egrep
3955 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3956 if test "${with_gnu_ld+set}" = set; then
3957 withval="$with_gnu_ld"
3958 test "$withval" = no || with_gnu_ld=yes
3963 if test "$GCC" = yes; then
3964 # Check if gcc -print-prog-name=ld gives a path.
3965 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3966 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3969 # gcc leaves a trailing carriage return which upsets mingw
3970 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3972 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3975 # Accept absolute paths.
3977 re_direlt='/[^/][^/]*/\.\./'
3978 # Canonicalize the path of ld
3979 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3980 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3981 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3983 test -z "$LD" && LD="$ac_prog"
3986 # If it fails, then pretend we aren't using GCC.
3990 # If it is relative, then search for the first ld in PATH.
3994 elif test "$with_gnu_ld" = yes; then
3995 echo "$as_me:$LINENO: checking for GNU ld" >&5
3996 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3998 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3999 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4001 if test "${lt_cv_path_LD+set}" = set; then
4002 echo $ECHO_N "(cached) $ECHO_C" >&6
4004 if test -z "$LD"; then
4005 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4006 for ac_dir in $PATH; do
4008 test -z "$ac_dir" && ac_dir=.
4009 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4010 lt_cv_path_LD="$ac_dir/$ac_prog"
4011 # Check to see if the program is GNU ld. I'd rather use --version,
4012 # but apparently some GNU ld's only accept -v.
4013 # Break only if it was the GNU/non-GNU ld that we prefer.
4014 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4015 *GNU* | *'with BFD'*)
4016 test "$with_gnu_ld" != no && break
4019 test "$with_gnu_ld" != yes && break
4026 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4031 if test -n "$LD"; then
4032 echo "$as_me:$LINENO: result: $LD" >&5
4033 echo "${ECHO_T}$LD" >&6
4035 echo "$as_me:$LINENO: result: no" >&5
4036 echo "${ECHO_T}no" >&6
4038 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4039 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4040 { (exit 1); exit 1; }; }
4041 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4042 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4043 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4044 echo $ECHO_N "(cached) $ECHO_C" >&6
4046 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4047 case `"$LD" -v 2>&1 </dev/null` in
4048 *GNU* | *'with BFD'*)
4049 lt_cv_prog_gnu_ld=yes
4052 lt_cv_prog_gnu_ld=no
4056 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4057 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4058 with_gnu_ld=$lt_cv_prog_gnu_ld
4061 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4062 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4063 if test "${lt_cv_ld_reload_flag+set}" = set; then
4064 echo $ECHO_N "(cached) $ECHO_C" >&6
4066 lt_cv_ld_reload_flag='-r'
4068 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4069 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4070 reload_flag=$lt_cv_ld_reload_flag
4071 case $reload_flag in
4073 *) reload_flag=" $reload_flag" ;;
4075 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4077 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4078 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4079 if test "${lt_cv_path_NM+set}" = set; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
4082 if test -n "$NM"; then
4083 # Let the user override the test.
4086 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4087 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4089 test -z "$ac_dir" && ac_dir=.
4090 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4091 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4092 # Check to see if the nm accepts a BSD-compat flag.
4093 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4094 # nm: unknown option "B" ignored
4095 # Tru64's nm complains that /dev/null is an invalid object file
4096 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4097 */dev/null* | *'Invalid file or object type'*)
4098 lt_cv_path_NM="$tmp_nm -B"
4102 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4104 lt_cv_path_NM="$tmp_nm -p"
4108 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4109 continue # so that we can try to find one that supports BSD flags
4116 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4119 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4120 echo "${ECHO_T}$lt_cv_path_NM" >&6
4123 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4124 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4126 if test "$LN_S" = "ln -s"; then
4127 echo "$as_me:$LINENO: result: yes" >&5
4128 echo "${ECHO_T}yes" >&6
4130 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4131 echo "${ECHO_T}no, using $LN_S" >&6
4134 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4135 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4136 if test "${lt_cv_deplibs_check_method+set}" = set; then
4137 echo $ECHO_N "(cached) $ECHO_C" >&6
4139 lt_cv_file_magic_cmd='$MAGIC_CMD'
4140 lt_cv_file_magic_test_file=
4141 lt_cv_deplibs_check_method='unknown'
4142 # Need to set the preceding variable on all platforms that support
4143 # interlibrary dependencies.
4144 # 'none' -- dependencies not supported.
4145 # `unknown' -- same as none, but documents that we really don't know.
4146 # 'pass_all' -- all dependencies passed with no checks.
4147 # 'test_compile' -- check by making test program.
4148 # 'file_magic [[regex]]' -- check by looking for files in library path
4149 # which responds to the $file_magic_cmd with a given extended regex.
4150 # If you have `file' or equivalent on your system and you're not sure
4151 # whether `pass_all' will *always* work, you probably want this one.
4155 lt_cv_deplibs_check_method=pass_all
4159 lt_cv_deplibs_check_method=pass_all
4163 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4164 lt_cv_file_magic_cmd='/usr/bin/file -L'
4165 lt_cv_file_magic_test_file=/shlib/libc.so
4168 cygwin* | mingw* | pw32*)
4169 # win32_libid is a shell function defined in ltmain.sh
4170 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4171 lt_cv_file_magic_cmd='win32_libid'
4174 darwin* | rhapsody*)
4175 # this will be overwritten by pass_all, but leave it in just in case
4176 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4177 lt_cv_file_magic_cmd='/usr/bin/file -L'
4179 rhapsody* | darwin1.[012])
4180 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4183 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4186 lt_cv_deplibs_check_method=pass_all
4190 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4193 # Not sure whether the presence of OpenBSD here was a mistake.
4194 # Let's accept both of them until this is cleared up.
4195 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4196 lt_cv_file_magic_cmd=/usr/bin/file
4197 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4201 lt_cv_deplibs_check_method=pass_all
4206 lt_cv_deplibs_check_method=pass_all
4209 hpux10.20* | hpux11*)
4210 lt_cv_file_magic_cmd=/usr/bin/file
4213 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4214 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4217 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]'
4218 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4221 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4222 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4227 irix5* | irix6* | nonstopux*)
4229 irix5* | nonstopux*)
4230 # this will be overridden with pass_all, but let us keep it just in case
4231 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4235 *-32|*"-32 ") libmagic=32-bit;;
4236 *-n32|*"-n32 ") libmagic=N32;;
4237 *-64|*"-64 ") libmagic=64-bit;;
4238 *) libmagic=never-match;;
4240 # this will be overridden with pass_all, but let us keep it just in case
4241 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4244 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4245 lt_cv_deplibs_check_method=pass_all
4248 # This must be Linux ELF.
4251 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4252 lt_cv_deplibs_check_method=pass_all ;;
4254 # glibc up to 2.1.1 does not perform some relocations on ARM
4255 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4257 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4261 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4262 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4264 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4269 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4270 lt_cv_file_magic_cmd=/usr/bin/file
4271 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4275 lt_cv_deplibs_check_method=unknown
4279 lt_cv_file_magic_cmd=/usr/bin/file
4280 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4281 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4282 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4284 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4288 osf3* | osf4* | osf5*)
4289 # this will be overridden with pass_all, but let us keep it just in case
4290 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4291 lt_cv_file_magic_test_file=/shlib/libc.so
4292 lt_cv_deplibs_check_method=pass_all
4296 lt_cv_deplibs_check_method=pass_all
4300 lt_cv_deplibs_check_method=pass_all
4301 lt_cv_file_magic_test_file=/lib/libc.so
4304 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4305 case $host_vendor in
4307 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]'
4308 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4311 lt_cv_deplibs_check_method=pass_all
4314 lt_cv_file_magic_cmd='/bin/file'
4315 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4318 lt_cv_file_magic_cmd='/bin/file'
4319 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4320 lt_cv_file_magic_test_file=/lib/libc.so
4323 lt_cv_deplibs_check_method=pass_all
4328 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4329 lt_cv_deplibs_check_method=pass_all
4334 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4335 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4336 file_magic_cmd=$lt_cv_file_magic_cmd
4337 deplibs_check_method=$lt_cv_deplibs_check_method
4338 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4343 # If no C compiler was specified, use CC.
4346 # Allow CC to be a program name with arguments.
4349 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4350 if test "${enable_libtool_lock+set}" = set; then
4351 enableval="$enable_libtool_lock"
4354 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4356 # Some flags need to be propagated to the compiler or linker for good
4360 # Find out which ABI we are using.
4361 echo 'int i;' > conftest.$ac_ext
4362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4363 (eval $ac_compile) 2>&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); }; then
4367 case `/usr/bin/file conftest.$ac_objext` in
4379 # Find out which ABI we are using.
4380 echo '#line 4380 "configure"' > conftest.$ac_ext
4381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4382 (eval $ac_compile) 2>&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); }; then
4386 if test "$lt_cv_prog_gnu_ld" = yes; then
4387 case `/usr/bin/file conftest.$ac_objext` in
4389 LD="${LD-ld} -melf32bsmip"
4392 LD="${LD-ld} -melf32bmipn32"
4395 LD="${LD-ld} -melf64bmip"
4399 case `/usr/bin/file conftest.$ac_objext` in
4415 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4416 # Find out which ABI we are using.
4417 echo 'int i;' > conftest.$ac_ext
4418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4419 (eval $ac_compile) 2>&5
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); }; then
4423 case "`/usr/bin/file conftest.o`" in
4427 LD="${LD-ld} -m elf_i386"
4430 LD="${LD-ld} -m elf32ppclinux"
4433 LD="${LD-ld} -m elf_s390"
4436 LD="${LD-ld} -m elf32_sparc"
4443 LD="${LD-ld} -m elf_x86_64"
4445 ppc*-*linux*|powerpc*-*linux*)
4446 LD="${LD-ld} -m elf64ppc"
4449 LD="${LD-ld} -m elf64_s390"
4452 LD="${LD-ld} -m elf64_sparc"
4462 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4463 SAVE_CFLAGS="$CFLAGS"
4464 CFLAGS="$CFLAGS -belf"
4465 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4466 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4467 if test "${lt_cv_cc_needs_belf+set}" = set; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
4471 ac_cpp='$CPP $CPPFLAGS'
4472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4476 cat >conftest.$ac_ext <<_ACEOF
4477 #line $LINENO "configure"
4480 cat confdefs.h >>conftest.$ac_ext
4481 cat >>conftest.$ac_ext <<_ACEOF
4482 /* end confdefs.h. */
4492 rm -f conftest.$ac_objext conftest$ac_exeext
4493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4494 (eval $ac_link) 2>&5
4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); } &&
4498 { ac_try='test -s conftest$ac_exeext'
4499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); }; }; then
4504 lt_cv_cc_needs_belf=yes
4506 echo "$as_me: failed program was:" >&5
4507 sed 's/^/| /' conftest.$ac_ext >&5
4509 lt_cv_cc_needs_belf=no
4511 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4513 ac_cpp='$CPP $CPPFLAGS'
4514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4519 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4520 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4521 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4522 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4523 CFLAGS="$SAVE_CFLAGS"
4529 need_locks="$enable_libtool_lock"
4533 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4534 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4535 if test "${ac_cv_header_stdc+set}" = set; then
4536 echo $ECHO_N "(cached) $ECHO_C" >&6
4538 cat >conftest.$ac_ext <<_ACEOF
4539 #line $LINENO "configure"
4542 cat confdefs.h >>conftest.$ac_ext
4543 cat >>conftest.$ac_ext <<_ACEOF
4544 /* end confdefs.h. */
4558 rm -f conftest.$ac_objext
4559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4560 (eval $ac_compile) 2>&5
4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); } &&
4564 { ac_try='test -s conftest.$ac_objext'
4565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); }; }; then
4570 ac_cv_header_stdc=yes
4572 echo "$as_me: failed program was:" >&5
4573 sed 's/^/| /' conftest.$ac_ext >&5
4575 ac_cv_header_stdc=no
4577 rm -f conftest.$ac_objext conftest.$ac_ext
4579 if test $ac_cv_header_stdc = yes; then
4580 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4581 cat >conftest.$ac_ext <<_ACEOF
4582 #line $LINENO "configure"
4585 cat confdefs.h >>conftest.$ac_ext
4586 cat >>conftest.$ac_ext <<_ACEOF
4587 /* end confdefs.h. */
4591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4592 $EGREP "memchr" >/dev/null 2>&1; then
4595 ac_cv_header_stdc=no
4601 if test $ac_cv_header_stdc = yes; then
4602 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4603 cat >conftest.$ac_ext <<_ACEOF
4604 #line $LINENO "configure"
4607 cat confdefs.h >>conftest.$ac_ext
4608 cat >>conftest.$ac_ext <<_ACEOF
4609 /* end confdefs.h. */
4613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4614 $EGREP "free" >/dev/null 2>&1; then
4617 ac_cv_header_stdc=no
4623 if test $ac_cv_header_stdc = yes; then
4624 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4625 if test "$cross_compiling" = yes; then
4628 cat >conftest.$ac_ext <<_ACEOF
4629 #line $LINENO "configure"
4632 cat confdefs.h >>conftest.$ac_ext
4633 cat >>conftest.$ac_ext <<_ACEOF
4634 /* end confdefs.h. */
4636 #if ((' ' & 0x0FF) == 0x020)
4637 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4638 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4640 # define ISLOWER(c) \
4641 (('a' <= (c) && (c) <= 'i') \
4642 || ('j' <= (c) && (c) <= 'r') \
4643 || ('s' <= (c) && (c) <= 'z'))
4644 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4647 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4652 for (i = 0; i < 256; i++)
4653 if (XOR (islower (i), ISLOWER (i))
4654 || toupper (i) != TOUPPER (i))
4659 rm -f conftest$ac_exeext
4660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4661 (eval $ac_link) 2>&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; }; then
4672 echo "$as_me: program exited with status $ac_status" >&5
4673 echo "$as_me: failed program was:" >&5
4674 sed 's/^/| /' conftest.$ac_ext >&5
4677 ac_cv_header_stdc=no
4679 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4683 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4684 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4685 if test $ac_cv_header_stdc = yes; then
4687 cat >>confdefs.h <<\_ACEOF
4688 #define STDC_HEADERS 1
4693 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4703 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4704 inttypes.h stdint.h unistd.h
4706 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4707 echo "$as_me:$LINENO: checking for $ac_header" >&5
4708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4710 echo $ECHO_N "(cached) $ECHO_C" >&6
4712 cat >conftest.$ac_ext <<_ACEOF
4713 #line $LINENO "configure"
4716 cat confdefs.h >>conftest.$ac_ext
4717 cat >>conftest.$ac_ext <<_ACEOF
4718 /* end confdefs.h. */
4719 $ac_includes_default
4721 #include <$ac_header>
4723 rm -f conftest.$ac_objext
4724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4725 (eval $ac_compile) 2>&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); } &&
4729 { ac_try='test -s conftest.$ac_objext'
4730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734 (exit $ac_status); }; }; then
4735 eval "$as_ac_Header=yes"
4737 echo "$as_me: failed program was:" >&5
4738 sed 's/^/| /' conftest.$ac_ext >&5
4740 eval "$as_ac_Header=no"
4742 rm -f conftest.$ac_objext conftest.$ac_ext
4744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4746 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4747 cat >>confdefs.h <<_ACEOF
4748 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4757 for ac_header in dlfcn.h
4759 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4761 echo "$as_me:$LINENO: checking for $ac_header" >&5
4762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4764 echo $ECHO_N "(cached) $ECHO_C" >&6
4766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4769 # Is the header compilable?
4770 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4772 cat >conftest.$ac_ext <<_ACEOF
4773 #line $LINENO "configure"
4776 cat confdefs.h >>conftest.$ac_ext
4777 cat >>conftest.$ac_ext <<_ACEOF
4778 /* end confdefs.h. */
4779 $ac_includes_default
4780 #include <$ac_header>
4782 rm -f conftest.$ac_objext
4783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4784 (eval $ac_compile) 2>&5
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); } &&
4788 { ac_try='test -s conftest.$ac_objext'
4789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); }; }; then
4794 ac_header_compiler=yes
4796 echo "$as_me: failed program was:" >&5
4797 sed 's/^/| /' conftest.$ac_ext >&5
4799 ac_header_compiler=no
4801 rm -f conftest.$ac_objext conftest.$ac_ext
4802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4803 echo "${ECHO_T}$ac_header_compiler" >&6
4805 # Is the header present?
4806 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4807 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4808 cat >conftest.$ac_ext <<_ACEOF
4809 #line $LINENO "configure"
4812 cat confdefs.h >>conftest.$ac_ext
4813 cat >>conftest.$ac_ext <<_ACEOF
4814 /* end confdefs.h. */
4815 #include <$ac_header>
4817 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4818 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4820 grep -v '^ *+' conftest.er1 >conftest.err
4822 cat conftest.err >&5
4823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); } >/dev/null; then
4825 if test -s conftest.err; then
4826 ac_cpp_err=$ac_c_preproc_warn_flag
4833 if test -z "$ac_cpp_err"; then
4834 ac_header_preproc=yes
4836 echo "$as_me: failed program was:" >&5
4837 sed 's/^/| /' conftest.$ac_ext >&5
4839 ac_header_preproc=no
4841 rm -f conftest.err conftest.$ac_ext
4842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4843 echo "${ECHO_T}$ac_header_preproc" >&6
4845 # So? What about this header?
4846 case $ac_header_compiler:$ac_header_preproc in
4848 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4849 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4851 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4854 ## ------------------------------------ ##
4855 ## Report this to bug-autoconf@gnu.org. ##
4856 ## ------------------------------------ ##
4859 sed "s/^/$as_me: WARNING: /" >&2
4862 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4863 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4864 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4865 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4867 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4870 ## ------------------------------------ ##
4871 ## Report this to bug-autoconf@gnu.org. ##
4872 ## ------------------------------------ ##
4875 sed "s/^/$as_me: WARNING: /" >&2
4878 echo "$as_me:$LINENO: checking for $ac_header" >&5
4879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4881 echo $ECHO_N "(cached) $ECHO_C" >&6
4883 eval "$as_ac_Header=$ac_header_preproc"
4885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4886 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4889 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4890 cat >>confdefs.h <<_ACEOF
4891 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4899 ac_cpp='$CXXCPP $CPPFLAGS'
4900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4903 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4904 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4905 if test -z "$CXXCPP"; then
4906 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4907 echo $ECHO_N "(cached) $ECHO_C" >&6
4909 # Double quotes because CXXCPP needs to be expanded
4910 for CXXCPP in "$CXX -E" "/lib/cpp"
4913 for ac_cxx_preproc_warn_flag in '' yes
4915 # Use a header file that comes with gcc, so configuring glibc
4916 # with a fresh cross-compiler works.
4917 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4918 # <limits.h> exists even on freestanding compilers.
4919 # On the NeXT, cc -E runs the code through the compiler's parser,
4920 # not just through cpp. "Syntax error" is here to catch this case.
4921 cat >conftest.$ac_ext <<_ACEOF
4922 #line $LINENO "configure"
4925 cat confdefs.h >>conftest.$ac_ext
4926 cat >>conftest.$ac_ext <<_ACEOF
4927 /* end confdefs.h. */
4929 # include <limits.h>
4931 # include <assert.h>
4935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4936 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4938 grep -v '^ *+' conftest.er1 >conftest.err
4940 cat conftest.err >&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); } >/dev/null; then
4943 if test -s conftest.err; then
4944 ac_cpp_err=$ac_cxx_preproc_warn_flag
4951 if test -z "$ac_cpp_err"; then
4954 echo "$as_me: failed program was:" >&5
4955 sed 's/^/| /' conftest.$ac_ext >&5
4957 # Broken: fails on valid input.
4960 rm -f conftest.err conftest.$ac_ext
4962 # OK, works on sane cases. Now check whether non-existent headers
4963 # can be detected and how.
4964 cat >conftest.$ac_ext <<_ACEOF
4965 #line $LINENO "configure"
4968 cat confdefs.h >>conftest.$ac_ext
4969 cat >>conftest.$ac_ext <<_ACEOF
4970 /* end confdefs.h. */
4971 #include <ac_nonexistent.h>
4973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4974 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4976 grep -v '^ *+' conftest.er1 >conftest.err
4978 cat conftest.err >&5
4979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4980 (exit $ac_status); } >/dev/null; then
4981 if test -s conftest.err; then
4982 ac_cpp_err=$ac_cxx_preproc_warn_flag
4989 if test -z "$ac_cpp_err"; then
4990 # Broken: success on invalid input.
4993 echo "$as_me: failed program was:" >&5
4994 sed 's/^/| /' conftest.$ac_ext >&5
4996 # Passes both tests.
5000 rm -f conftest.err conftest.$ac_ext
5003 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5004 rm -f conftest.err conftest.$ac_ext
5005 if $ac_preproc_ok; then
5010 ac_cv_prog_CXXCPP=$CXXCPP
5013 CXXCPP=$ac_cv_prog_CXXCPP
5015 ac_cv_prog_CXXCPP=$CXXCPP
5017 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5018 echo "${ECHO_T}$CXXCPP" >&6
5020 for ac_cxx_preproc_warn_flag in '' yes
5022 # Use a header file that comes with gcc, so configuring glibc
5023 # with a fresh cross-compiler works.
5024 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5025 # <limits.h> exists even on freestanding compilers.
5026 # On the NeXT, cc -E runs the code through the compiler's parser,
5027 # not just through cpp. "Syntax error" is here to catch this case.
5028 cat >conftest.$ac_ext <<_ACEOF
5029 #line $LINENO "configure"
5032 cat confdefs.h >>conftest.$ac_ext
5033 cat >>conftest.$ac_ext <<_ACEOF
5034 /* end confdefs.h. */
5036 # include <limits.h>
5038 # include <assert.h>
5042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5043 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5045 grep -v '^ *+' conftest.er1 >conftest.err
5047 cat conftest.err >&5
5048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049 (exit $ac_status); } >/dev/null; then
5050 if test -s conftest.err; then
5051 ac_cpp_err=$ac_cxx_preproc_warn_flag
5058 if test -z "$ac_cpp_err"; then
5061 echo "$as_me: failed program was:" >&5
5062 sed 's/^/| /' conftest.$ac_ext >&5
5064 # Broken: fails on valid input.
5067 rm -f conftest.err conftest.$ac_ext
5069 # OK, works on sane cases. Now check whether non-existent headers
5070 # can be detected and how.
5071 cat >conftest.$ac_ext <<_ACEOF
5072 #line $LINENO "configure"
5075 cat confdefs.h >>conftest.$ac_ext
5076 cat >>conftest.$ac_ext <<_ACEOF
5077 /* end confdefs.h. */
5078 #include <ac_nonexistent.h>
5080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5081 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5083 grep -v '^ *+' conftest.er1 >conftest.err
5085 cat conftest.err >&5
5086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087 (exit $ac_status); } >/dev/null; then
5088 if test -s conftest.err; then
5089 ac_cpp_err=$ac_cxx_preproc_warn_flag
5096 if test -z "$ac_cpp_err"; then
5097 # Broken: success on invalid input.
5100 echo "$as_me: failed program was:" >&5
5101 sed 's/^/| /' conftest.$ac_ext >&5
5103 # Passes both tests.
5107 rm -f conftest.err conftest.$ac_ext
5110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5111 rm -f conftest.err conftest.$ac_ext
5112 if $ac_preproc_ok; then
5115 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5116 See \`config.log' for more details." >&5
5117 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5118 See \`config.log' for more details." >&2;}
5119 { (exit 1); exit 1; }; }
5123 ac_cpp='$CXXCPP $CPPFLAGS'
5124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5130 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5131 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5132 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5133 if test -n "$ac_tool_prefix"; then
5134 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5136 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5137 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5138 echo "$as_me:$LINENO: checking for $ac_word" >&5
5139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5140 if test "${ac_cv_prog_F77+set}" = set; then
5141 echo $ECHO_N "(cached) $ECHO_C" >&6
5143 if test -n "$F77"; then
5144 ac_cv_prog_F77="$F77" # Let the user override the test.
5146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5150 test -z "$as_dir" && as_dir=.
5151 for ac_exec_ext in '' $ac_executable_extensions; do
5152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5153 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5163 if test -n "$F77"; then
5164 echo "$as_me:$LINENO: result: $F77" >&5
5165 echo "${ECHO_T}$F77" >&6
5167 echo "$as_me:$LINENO: result: no" >&5
5168 echo "${ECHO_T}no" >&6
5171 test -n "$F77" && break
5174 if test -z "$F77"; then
5176 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5178 # Extract the first word of "$ac_prog", so it can be a program name with args.
5179 set dummy $ac_prog; ac_word=$2
5180 echo "$as_me:$LINENO: checking for $ac_word" >&5
5181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5182 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5183 echo $ECHO_N "(cached) $ECHO_C" >&6
5185 if test -n "$ac_ct_F77"; then
5186 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir=.
5193 for ac_exec_ext in '' $ac_executable_extensions; do
5194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5195 ac_cv_prog_ac_ct_F77="$ac_prog"
5196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5204 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5205 if test -n "$ac_ct_F77"; then
5206 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5207 echo "${ECHO_T}$ac_ct_F77" >&6
5209 echo "$as_me:$LINENO: result: no" >&5
5210 echo "${ECHO_T}no" >&6
5213 test -n "$ac_ct_F77" && break
5220 # Provide some information about the compiler.
5221 echo "$as_me:5221:" \
5222 "checking for Fortran 77 compiler version" >&5
5223 ac_compiler=`set X $ac_compile; echo $2`
5224 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5225 (eval $ac_compiler --version </dev/null >&5) 2>&5
5227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228 (exit $ac_status); }
5229 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5230 (eval $ac_compiler -v </dev/null >&5) 2>&5
5232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); }
5234 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5235 (eval $ac_compiler -V </dev/null >&5) 2>&5
5237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238 (exit $ac_status); }
5240 # If we don't use `.F' as extension, the preprocessor is not run on the
5244 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5245 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5246 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 cat >conftest.$ac_ext <<_ACEOF
5257 rm -f conftest.$ac_objext
5258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5259 (eval $ac_compile) 2>&5
5261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5262 (exit $ac_status); } &&
5263 { ac_try='test -s conftest.$ac_objext'
5264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5268 (exit $ac_status); }; }; then
5271 echo "$as_me: failed program was:" >&5
5272 sed 's/^/| /' conftest.$ac_ext >&5
5276 rm -f conftest.$ac_objext conftest.$ac_ext
5277 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5280 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5281 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5283 G77=`test $ac_compiler_gnu = yes && echo yes`
5284 ac_test_FFLAGS=${FFLAGS+set}
5285 ac_save_FFLAGS=$FFLAGS
5287 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5288 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5289 if test "${ac_cv_prog_f77_g+set}" = set; then
5290 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 cat >conftest.$ac_ext <<_ACEOF
5298 rm -f conftest.$ac_objext
5299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5300 (eval $ac_compile) 2>&5
5302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303 (exit $ac_status); } &&
5304 { ac_try='test -s conftest.$ac_objext'
5305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 (exit $ac_status); }; }; then
5310 ac_cv_prog_f77_g=yes
5312 echo "$as_me: failed program was:" >&5
5313 sed 's/^/| /' conftest.$ac_ext >&5
5317 rm -f conftest.$ac_objext conftest.$ac_ext
5320 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5321 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5322 if test "$ac_test_FFLAGS" = set; then
5323 FFLAGS=$ac_save_FFLAGS
5324 elif test $ac_cv_prog_f77_g = yes; then
5325 if test "$G77" = yes; then
5331 if test "$G77" = yes; then
5338 ac_cpp='$CPP $CPPFLAGS'
5339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5345 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5347 # find the maximum length of command line arguments
5348 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5349 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5350 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5351 echo $ECHO_N "(cached) $ECHO_C" >&6
5358 # On DJGPP, this test can blow up pretty badly due to problems in libc
5359 # (any single argument exceeding 2000 bytes causes a buffer overrun
5360 # during glob expansion). Even if it were fixed, the result of this
5361 # check would be larger than it should be.
5362 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5366 # Under GNU Hurd, this test is not required because there is
5367 # no limit to the length of command line arguments.
5368 # Libtool will interpret -1 as no limit whatsoever
5369 lt_cv_sys_max_cmd_len=-1;
5373 # On Win9x/ME, this test blows up -- it succeeds, but takes
5374 # about 5 minutes as the teststring grows exponentially.
5375 # Worse, since 9x/ME are not pre-emptively multitasking,
5376 # you end up with a "frozen" computer, even though with patience
5377 # the test eventually succeeds (with a max line length of 256k).
5378 # Instead, let's just punt: use the minimum linelength reported by
5379 # all of the supported platforms: 8192 (on NT/2K/XP).
5380 lt_cv_sys_max_cmd_len=8192;
5384 # If test is not a shell built-in, we'll probably end up computing a
5385 # maximum length that is only half of the actual maximum length, but
5387 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5388 = "XX$testring") >/dev/null 2>&1 &&
5389 new_result=`expr "X$testring" : ".*" 2>&1` &&
5390 lt_cv_sys_max_cmd_len=$new_result &&
5391 test $i != 17 # 1/2 MB should be enough
5394 testring=$testring$testring
5397 # Add a significant safety factor because C++ compilers can tack on massive
5398 # amounts of additional arguments before passing them to the linker.
5399 # It appears as though 1/2 is a usable value.
5400 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5406 if test -n $lt_cv_sys_max_cmd_len ; then
5407 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5408 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5410 echo "$as_me:$LINENO: result: none" >&5
5411 echo "${ECHO_T}none" >&6
5417 # Check for command to grab the raw symbol name followed by C symbol from nm.
5418 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5419 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5420 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5421 echo $ECHO_N "(cached) $ECHO_C" >&6
5424 # These are sane defaults that work on at least a few old systems.
5425 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5427 # Character class describing NM global symbol codes.
5428 symcode='[BCDEGRST]'
5430 # Regexp to match symbols that can be accessed directly from C.
5431 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5433 # Transform the above into a raw symbol and a C symbol.
5434 symxfrm='\1 \2\3 \3'
5436 # Transform an extracted symbol line into a proper C declaration
5437 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5439 # Transform an extracted symbol line into symbol name and symbol address
5440 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'"
5442 # Define system-specific variables.
5447 cygwin* | mingw* | pw32*)
5448 symcode='[ABCDGISTW]'
5450 hpux*) # Its linker distinguishes data from code symbols
5451 if test "$host_cpu" = ia64; then
5452 symcode='[ABCDEGRST]'
5454 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5455 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'"
5458 symcode='[BCDEGRST]'
5461 symcode='[BCDEGQRST]'
5471 # Handle CRLF in mingw tool chain
5475 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5479 # If we're using GNU nm, then use its standard symbol codes.
5480 case `$NM -V 2>&1` in
5481 *GNU* | *'with BFD'*)
5482 symcode='[ABCDGISTW]' ;;
5485 # Try without a prefix undercore, then with it.
5486 for ac_symprfx in "" "_"; do
5488 # Write the raw and C identifiers.
5489 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5491 # Check to see that the pipe works correctly.
5495 cat > conftest.$ac_ext <<EOF
5500 void nm_test_func(){}
5504 int main(){nm_test_var='a';nm_test_func();return(0);}
5507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5508 (eval $ac_compile) 2>&5
5510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5511 (exit $ac_status); }; then
5512 # Now try to grab the symbols.
5514 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5515 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); } && test -s "$nlist"; then
5519 # Try sorting and uniquifying the output.
5520 if sort "$nlist" | uniq > "$nlist"T; then
5521 mv -f "$nlist"T "$nlist"
5526 # Make sure that we snagged all the symbols we need.
5527 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5528 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5529 cat <<EOF > conftest.$ac_ext
5535 # Now generate the symbol file.
5536 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5538 cat <<EOF >> conftest.$ac_ext
5539 #if defined (__STDC__) && __STDC__
5540 # define lt_ptr_t void *
5542 # define lt_ptr_t char *
5546 /* The mapping between symbol names and symbols. */
5551 lt_preloaded_symbols[] =
5554 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5555 cat <<\EOF >> conftest.$ac_ext
5563 # Now try linking the two files.
5564 mv conftest.$ac_objext conftstm.$ac_objext
5565 lt_save_LIBS="$LIBS"
5566 lt_save_CFLAGS="$CFLAGS"
5567 LIBS="conftstm.$ac_objext"
5568 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5570 (eval $ac_link) 2>&5
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5576 LIBS="$lt_save_LIBS"
5577 CFLAGS="$lt_save_CFLAGS"
5579 echo "cannot find nm_test_func in $nlist" >&5
5582 echo "cannot find nm_test_var in $nlist" >&5
5585 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5588 echo "$progname: failed program was:" >&5
5589 cat conftest.$ac_ext >&5
5591 rm -f conftest* conftst*
5593 # Do not use the global_symbol_pipe unless it works.
5594 if test "$pipe_works" = yes; then
5597 lt_cv_sys_global_symbol_pipe=
5603 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5604 lt_cv_sys_global_symbol_to_cdecl=
5606 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5607 echo "$as_me:$LINENO: result: failed" >&5
5608 echo "${ECHO_T}failed" >&6
5610 echo "$as_me:$LINENO: result: ok" >&5
5611 echo "${ECHO_T}ok" >&6
5614 echo "$as_me:$LINENO: checking for objdir" >&5
5615 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5616 if test "${lt_cv_objdir+set}" = set; then
5617 echo $ECHO_N "(cached) $ECHO_C" >&6
5619 rm -f .libs 2>/dev/null
5620 mkdir .libs 2>/dev/null
5621 if test -d .libs; then
5624 # MS-DOS does not allow filenames that begin with a dot.
5627 rmdir .libs 2>/dev/null
5629 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5630 echo "${ECHO_T}$lt_cv_objdir" >&6
5631 objdir=$lt_cv_objdir
5639 # AIX sometimes has problems with the GCC collect2 program. For some
5640 # reason, if we set the COLLECT_NAMES environment variable, the problems
5641 # vanish in a puff of smoke.
5642 if test "X${COLLECT_NAMES+set}" != Xset; then
5644 export COLLECT_NAMES
5649 # Sed substitution that helps us do robust quoting. It backslashifies
5650 # metacharacters that are still active within double-quoted strings.
5651 Xsed='sed -e s/^X//'
5652 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5654 # Same as above, but do not quote variable references.
5655 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5657 # Sed substitution to delay expansion of an escaped shell variable in a
5658 # double_quote_subst'ed string.
5659 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5661 # Sed substitution to avoid accidental globbing in evaled expressions
5662 no_glob_subst='s/\*/\\\*/g'
5669 can_build_shared=yes
5671 # All known linkers require a `.a' archive for static linking (except M$VC,
5672 # which needs '.lib').
5674 ltmain="$ac_aux_dir/ltmain.sh"
5675 ofile="$default_ofile"
5676 with_gnu_ld="$lt_cv_prog_gnu_ld"
5678 if test -n "$ac_tool_prefix"; then
5679 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5680 set dummy ${ac_tool_prefix}ar; ac_word=$2
5681 echo "$as_me:$LINENO: checking for $ac_word" >&5
5682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5683 if test "${ac_cv_prog_AR+set}" = set; then
5684 echo $ECHO_N "(cached) $ECHO_C" >&6
5686 if test -n "$AR"; then
5687 ac_cv_prog_AR="$AR" # Let the user override the test.
5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5693 test -z "$as_dir" && as_dir=.
5694 for ac_exec_ext in '' $ac_executable_extensions; do
5695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5696 ac_cv_prog_AR="${ac_tool_prefix}ar"
5697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5706 if test -n "$AR"; then
5707 echo "$as_me:$LINENO: result: $AR" >&5
5708 echo "${ECHO_T}$AR" >&6
5710 echo "$as_me:$LINENO: result: no" >&5
5711 echo "${ECHO_T}no" >&6
5715 if test -z "$ac_cv_prog_AR"; then
5717 # Extract the first word of "ar", so it can be a program name with args.
5718 set dummy ar; ac_word=$2
5719 echo "$as_me:$LINENO: checking for $ac_word" >&5
5720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5721 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5722 echo $ECHO_N "(cached) $ECHO_C" >&6
5724 if test -n "$ac_ct_AR"; then
5725 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 test -z "$as_dir" && as_dir=.
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5734 ac_cv_prog_ac_ct_AR="ar"
5735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5741 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5744 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5745 if test -n "$ac_ct_AR"; then
5746 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5747 echo "${ECHO_T}$ac_ct_AR" >&6
5749 echo "$as_me:$LINENO: result: no" >&5
5750 echo "${ECHO_T}no" >&6
5758 if test -n "$ac_tool_prefix"; then
5759 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5760 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5761 echo "$as_me:$LINENO: checking for $ac_word" >&5
5762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5763 if test "${ac_cv_prog_RANLIB+set}" = set; then
5764 echo $ECHO_N "(cached) $ECHO_C" >&6
5766 if test -n "$RANLIB"; then
5767 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5773 test -z "$as_dir" && as_dir=.
5774 for ac_exec_ext in '' $ac_executable_extensions; do
5775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5776 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5785 RANLIB=$ac_cv_prog_RANLIB
5786 if test -n "$RANLIB"; then
5787 echo "$as_me:$LINENO: result: $RANLIB" >&5
5788 echo "${ECHO_T}$RANLIB" >&6
5790 echo "$as_me:$LINENO: result: no" >&5
5791 echo "${ECHO_T}no" >&6
5795 if test -z "$ac_cv_prog_RANLIB"; then
5796 ac_ct_RANLIB=$RANLIB
5797 # Extract the first word of "ranlib", so it can be a program name with args.
5798 set dummy ranlib; ac_word=$2
5799 echo "$as_me:$LINENO: checking for $ac_word" >&5
5800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5801 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5802 echo $ECHO_N "(cached) $ECHO_C" >&6
5804 if test -n "$ac_ct_RANLIB"; then
5805 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5811 test -z "$as_dir" && as_dir=.
5812 for ac_exec_ext in '' $ac_executable_extensions; do
5813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5814 ac_cv_prog_ac_ct_RANLIB="ranlib"
5815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5821 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5824 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5825 if test -n "$ac_ct_RANLIB"; then
5826 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5827 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5829 echo "$as_me:$LINENO: result: no" >&5
5830 echo "${ECHO_T}no" >&6
5833 RANLIB=$ac_ct_RANLIB
5835 RANLIB="$ac_cv_prog_RANLIB"
5838 if test -n "$ac_tool_prefix"; then
5839 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5840 set dummy ${ac_tool_prefix}strip; ac_word=$2
5841 echo "$as_me:$LINENO: checking for $ac_word" >&5
5842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5843 if test "${ac_cv_prog_STRIP+set}" = set; then
5844 echo $ECHO_N "(cached) $ECHO_C" >&6
5846 if test -n "$STRIP"; then
5847 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853 test -z "$as_dir" && as_dir=.
5854 for ac_exec_ext in '' $ac_executable_extensions; do
5855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5856 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5865 STRIP=$ac_cv_prog_STRIP
5866 if test -n "$STRIP"; then
5867 echo "$as_me:$LINENO: result: $STRIP" >&5
5868 echo "${ECHO_T}$STRIP" >&6
5870 echo "$as_me:$LINENO: result: no" >&5
5871 echo "${ECHO_T}no" >&6
5875 if test -z "$ac_cv_prog_STRIP"; then
5877 # Extract the first word of "strip", so it can be a program name with args.
5878 set dummy strip; ac_word=$2
5879 echo "$as_me:$LINENO: checking for $ac_word" >&5
5880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5881 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5882 echo $ECHO_N "(cached) $ECHO_C" >&6
5884 if test -n "$ac_ct_STRIP"; then
5885 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5891 test -z "$as_dir" && as_dir=.
5892 for ac_exec_ext in '' $ac_executable_extensions; do
5893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5894 ac_cv_prog_ac_ct_STRIP="strip"
5895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5901 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5904 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5905 if test -n "$ac_ct_STRIP"; then
5906 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5907 echo "${ECHO_T}$ac_ct_STRIP" >&6
5909 echo "$as_me:$LINENO: result: no" >&5
5910 echo "${ECHO_T}no" >&6
5915 STRIP="$ac_cv_prog_STRIP"
5920 old_CFLAGS="$CFLAGS"
5922 # Set sane defaults for various variables
5923 test -z "$AR" && AR=ar
5924 test -z "$AR_FLAGS" && AR_FLAGS=cru
5925 test -z "$AS" && AS=as
5926 test -z "$CC" && CC=cc
5927 test -z "$LTCC" && LTCC=$CC
5928 test -z "$DLLTOOL" && DLLTOOL=dlltool
5929 test -z "$LD" && LD=ld
5930 test -z "$LN_S" && LN_S="ln -s"
5931 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5932 test -z "$NM" && NM=nm
5933 test -z "$SED" && SED=sed
5934 test -z "$OBJDUMP" && OBJDUMP=objdump
5935 test -z "$RANLIB" && RANLIB=:
5936 test -z "$STRIP" && STRIP=:
5937 test -z "$ac_objext" && ac_objext=o
5939 # Determine commands to create old-style static archives.
5940 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5941 old_postinstall_cmds='chmod 644 $oldlib'
5942 old_postuninstall_cmds=
5944 if test -n "$RANLIB"; then
5947 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5950 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5953 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5956 # Only perform the check for file, if the check method requires it
5957 case $deplibs_check_method in
5959 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5960 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5961 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5962 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5963 echo $ECHO_N "(cached) $ECHO_C" >&6
5967 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5970 lt_save_MAGIC_CMD="$MAGIC_CMD"
5971 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5972 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5973 for ac_dir in $ac_dummy; do
5975 test -z "$ac_dir" && ac_dir=.
5976 if test -f $ac_dir/${ac_tool_prefix}file; then
5977 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5978 if test -n "$file_magic_test_file"; then
5979 case $deplibs_check_method in
5981 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5982 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5983 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5984 $EGREP "$file_magic_regex" > /dev/null; then
5989 *** Warning: the command libtool uses to detect shared libraries,
5990 *** $file_magic_cmd, produces output that libtool cannot recognize.
5991 *** The result is that libtool may fail to recognize shared libraries
5992 *** as such. This will affect the creation of libtool libraries that
5993 *** depend on shared libraries, but programs linked with such libtool
5994 *** libraries will work regardless of this problem. Nevertheless, you
5995 *** may want to report the problem to your system manager and/or to
5996 *** bug-libtool@gnu.org
6006 MAGIC_CMD="$lt_save_MAGIC_CMD"
6011 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6012 if test -n "$MAGIC_CMD"; then
6013 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6014 echo "${ECHO_T}$MAGIC_CMD" >&6
6016 echo "$as_me:$LINENO: result: no" >&5
6017 echo "${ECHO_T}no" >&6
6020 if test -z "$lt_cv_path_MAGIC_CMD"; then
6021 if test -n "$ac_tool_prefix"; then
6022 echo "$as_me:$LINENO: checking for file" >&5
6023 echo $ECHO_N "checking for file... $ECHO_C" >&6
6024 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6025 echo $ECHO_N "(cached) $ECHO_C" >&6
6029 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6032 lt_save_MAGIC_CMD="$MAGIC_CMD"
6033 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6034 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6035 for ac_dir in $ac_dummy; do
6037 test -z "$ac_dir" && ac_dir=.
6038 if test -f $ac_dir/file; then
6039 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6040 if test -n "$file_magic_test_file"; then
6041 case $deplibs_check_method in
6043 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6044 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6045 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6046 $EGREP "$file_magic_regex" > /dev/null; then
6051 *** Warning: the command libtool uses to detect shared libraries,
6052 *** $file_magic_cmd, produces output that libtool cannot recognize.
6053 *** The result is that libtool may fail to recognize shared libraries
6054 *** as such. This will affect the creation of libtool libraries that
6055 *** depend on shared libraries, but programs linked with such libtool
6056 *** libraries will work regardless of this problem. Nevertheless, you
6057 *** may want to report the problem to your system manager and/or to
6058 *** bug-libtool@gnu.org
6068 MAGIC_CMD="$lt_save_MAGIC_CMD"
6073 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6074 if test -n "$MAGIC_CMD"; then
6075 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6076 echo "${ECHO_T}$MAGIC_CMD" >&6
6078 echo "$as_me:$LINENO: result: no" >&5
6079 echo "${ECHO_T}no" >&6
6094 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6095 if test "${enable_libtool_lock+set}" = set; then
6096 enableval="$enable_libtool_lock"
6099 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6102 # Check whether --with-pic or --without-pic was given.
6103 if test "${with_pic+set}" = set; then
6109 test -z "$pic_mode" && pic_mode=default
6111 # Use C for the default configuration in the libtool script
6115 ac_cpp='$CPP $CPPFLAGS'
6116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6121 # Source file extension for C test sources.
6124 # Object file extension for compiled C test sources.
6128 # Code to be used in simple compile tests
6129 lt_simple_compile_test_code="int some_variable = 0;\n"
6131 # Code to be used in simple link tests
6132 lt_simple_link_test_code='int main(){return(0);}\n'
6135 # If no C compiler was specified, use CC.
6138 # Allow CC to be a program name with arguments.
6143 # Check for any special shared library compilation flags.
6146 if test "$GCC" = no; then
6149 lt_prog_cc_shlib='-belf'
6153 if test -n "$lt_prog_cc_shlib"; then
6154 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6155 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6156 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6158 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6159 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6160 lt_cv_prog_cc_can_build_shared=no
6166 # Check to make sure the static flag actually works.
6168 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6169 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6170 if test "${lt_prog_compiler_static_works+set}" = set; then
6171 echo $ECHO_N "(cached) $ECHO_C" >&6
6173 lt_prog_compiler_static_works=no
6174 save_LDFLAGS="$LDFLAGS"
6175 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6176 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6177 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6178 # The compiler can only warn and ignore the option if not recognized
6179 # So say no if there are warnings
6180 if test -s conftest.err; then
6181 # Append any errors to the config.log.
6182 cat conftest.err 1>&5
6184 lt_prog_compiler_static_works=yes
6188 LDFLAGS="$save_LDFLAGS"
6191 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6192 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6194 if test x"$lt_prog_compiler_static_works" = xyes; then
6197 lt_prog_compiler_static=
6203 ## There is no encapsulation within the following macros, do not change
6204 ## the running order or otherwise move them around unless you know exactly
6205 ## what you are doing...
6207 lt_prog_compiler_no_builtin_flag=
6209 if test "$GCC" = yes; then
6210 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6212 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6213 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6214 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6215 echo $ECHO_N "(cached) $ECHO_C" >&6
6217 lt_cv_prog_compiler_rtti_exceptions=no
6218 ac_outfile=conftest.$ac_objext
6219 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6220 lt_compiler_flag="-fno-rtti -fno-exceptions"
6221 # Insert the option either (1) after the last *FLAGS variable, or
6222 # (2) before a word containing "conftest.", or (3) at the end.
6223 # Note that $ac_compile itself does not contain backslashes and begins
6224 # with a dollar sign (not a hyphen), so the echo should work correctly.
6225 # The option is referenced via a variable to avoid confusing sed.
6226 lt_compile=`echo "$ac_compile" | $SED \
6227 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6228 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6229 -e 's:$: $lt_compiler_flag:'`
6230 (eval echo "\"\$as_me:6230: $lt_compile\"" >&5)
6231 (eval "$lt_compile" 2>conftest.err)
6233 cat conftest.err >&5
6234 echo "$as_me:6234: \$? = $ac_status" >&5
6235 if (exit $ac_status) && test -s "$ac_outfile"; then
6236 # The compiler can only warn and ignore the option if not recognized
6237 # So say no if there are warnings
6238 if test ! -s conftest.err; then
6239 lt_cv_prog_compiler_rtti_exceptions=yes
6245 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6246 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6248 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6249 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6256 lt_prog_compiler_wl=
6257 lt_prog_compiler_pic=
6258 lt_prog_compiler_static=
6260 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6261 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6263 if test "$GCC" = yes; then
6264 lt_prog_compiler_wl='-Wl,'
6265 lt_prog_compiler_static='-static'
6269 # All AIX code is PIC.
6270 if test "$host_cpu" = ia64; then
6271 # AIX 5 now supports IA64 processor
6272 lt_prog_compiler_static='-Bstatic'
6277 # FIXME: we need at least 68020 code to build shared libraries, but
6278 # adding the `-m68020' flag to GCC prevents building anything better,
6280 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6283 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6284 # PIC is the default for these OSes.
6287 mingw* | pw32* | os2*)
6288 # This hack is so that the source file can tell whether it is being
6289 # built for inclusion in a dll (and should export symbols for example).
6290 lt_prog_compiler_pic='-DDLL_EXPORT'
6293 darwin* | rhapsody*)
6294 # PIC is the default on this platform
6295 # Common symbols not allowed in MH_DYLIB files
6296 lt_prog_compiler_pic='-fno-common'
6300 # Just because we use GCC doesn't mean we suddenly get shared libraries
6301 # on systems that don't support them.
6302 lt_prog_compiler_can_build_shared=no
6307 if test -d /usr/nec; then
6308 lt_prog_compiler_pic=-Kconform_pic
6313 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6320 lt_prog_compiler_pic='-fPIC'
6326 lt_prog_compiler_pic='-fPIC'
6330 # PORTME Check for flag to pass linker flags through the system compiler.
6333 lt_prog_compiler_wl='-Wl,'
6334 if test "$host_cpu" = ia64; then
6335 # AIX 5 now supports IA64 processor
6336 lt_prog_compiler_static='-Bstatic'
6338 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6342 mingw* | pw32* | os2*)
6343 # This hack is so that the source file can tell whether it is being
6344 # built for inclusion in a dll (and should export symbols for example).
6345 lt_prog_compiler_pic='-DDLL_EXPORT'
6348 hpux9* | hpux10* | hpux11*)
6349 lt_prog_compiler_wl='-Wl,'
6350 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6357 lt_prog_compiler_pic='+Z'
6360 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6361 lt_prog_compiler_static='${wl}-a ${wl}archive'
6364 irix5* | irix6* | nonstopux*)
6365 lt_prog_compiler_wl='-Wl,'
6366 # PIC (with -KPIC) is the default.
6367 lt_prog_compiler_static='-non_shared'
6371 lt_prog_compiler_pic='-KPIC'
6372 lt_prog_compiler_static='-Bstatic'
6378 lt_prog_compiler_wl='-Wl,'
6379 lt_prog_compiler_pic='-KPIC'
6380 lt_prog_compiler_static='-static'
6383 lt_prog_compiler_wl='-Wl,'
6384 # All Alpha code is PIC.
6385 lt_prog_compiler_static='-non_shared'
6390 osf3* | osf4* | osf5*)
6391 lt_prog_compiler_wl='-Wl,'
6392 # All OSF/1 code is PIC.
6393 lt_prog_compiler_static='-non_shared'
6397 lt_prog_compiler_pic='-Kpic'
6398 lt_prog_compiler_static='-dn'
6402 lt_prog_compiler_wl='-Wl,'
6403 lt_prog_compiler_pic='-KPIC'
6404 lt_prog_compiler_static='-Bstatic'
6408 lt_prog_compiler_wl='-Qoption ld '
6409 lt_prog_compiler_pic='-PIC'
6410 lt_prog_compiler_static='-Bstatic'
6413 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6414 lt_prog_compiler_wl='-Wl,'
6415 lt_prog_compiler_pic='-KPIC'
6416 lt_prog_compiler_static='-Bstatic'
6420 if test -d /usr/nec ;then
6421 lt_prog_compiler_pic='-Kconform_pic'
6422 lt_prog_compiler_static='-Bstatic'
6427 lt_prog_compiler_pic='-pic'
6428 lt_prog_compiler_static='-Bstatic'
6432 lt_prog_compiler_can_build_shared=no
6437 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6438 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6441 # Check to make sure the PIC flag actually works.
6443 if test -n "$lt_prog_compiler_pic"; then
6444 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6445 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6446 if test "${lt_prog_compiler_pic_works+set}" = set; then
6447 echo $ECHO_N "(cached) $ECHO_C" >&6
6449 lt_prog_compiler_pic_works=no
6450 ac_outfile=conftest.$ac_objext
6451 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6452 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6453 # Insert the option either (1) after the last *FLAGS variable, or
6454 # (2) before a word containing "conftest.", or (3) at the end.
6455 # Note that $ac_compile itself does not contain backslashes and begins
6456 # with a dollar sign (not a hyphen), so the echo should work correctly.
6457 # The option is referenced via a variable to avoid confusing sed.
6458 lt_compile=`echo "$ac_compile" | $SED \
6459 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6460 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6461 -e 's:$: $lt_compiler_flag:'`
6462 (eval echo "\"\$as_me:6462: $lt_compile\"" >&5)
6463 (eval "$lt_compile" 2>conftest.err)
6465 cat conftest.err >&5
6466 echo "$as_me:6466: \$? = $ac_status" >&5
6467 if (exit $ac_status) && test -s "$ac_outfile"; then
6468 # The compiler can only warn and ignore the option if not recognized
6469 # So say no if there are warnings
6470 if test ! -s conftest.err; then
6471 lt_prog_compiler_pic_works=yes
6477 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6478 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6480 if test x"$lt_prog_compiler_pic_works" = xyes; then
6481 case $lt_prog_compiler_pic in
6483 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6486 lt_prog_compiler_pic=
6487 lt_prog_compiler_can_build_shared=no
6492 # For platforms which do not support PIC, -DPIC is meaningless:
6494 lt_prog_compiler_pic=
6497 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6501 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6502 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6503 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6504 echo $ECHO_N "(cached) $ECHO_C" >&6
6506 lt_cv_prog_compiler_c_o=no
6507 $rm -r conftest 2>/dev/null
6511 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6513 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6514 # that will create temporary files in the current directory regardless of
6515 # the output directory. Thus, making CWD read-only will cause this test
6516 # to fail, enabling locking or at least warning the user not to do parallel
6520 lt_compiler_flag="-o out/conftest2.$ac_objext"
6521 # Insert the option either (1) after the last *FLAGS variable, or
6522 # (2) before a word containing "conftest.", or (3) at the end.
6523 # Note that $ac_compile itself does not contain backslashes and begins
6524 # with a dollar sign (not a hyphen), so the echo should work correctly.
6525 lt_compile=`echo "$ac_compile" | $SED \
6526 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6527 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6528 -e 's:$: $lt_compiler_flag:'`
6529 (eval echo "\"\$as_me:6529: $lt_compile\"" >&5)
6530 (eval "$lt_compile" 2>out/conftest.err)
6532 cat out/conftest.err >&5
6533 echo "$as_me:6533: \$? = $ac_status" >&5
6534 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6536 # The compiler can only warn and ignore the option if not recognized
6537 # So say no if there are warnings
6538 if test ! -s out/conftest.err; then
6539 lt_cv_prog_compiler_c_o=yes
6550 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6551 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6554 hard_links="nottested"
6555 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6556 # do not overwrite the value of need_locks provided by the user
6557 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6558 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6561 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6563 ln conftest.a conftest.b 2>&5 || hard_links=no
6564 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6565 echo "$as_me:$LINENO: result: $hard_links" >&5
6566 echo "${ECHO_T}$hard_links" >&6
6567 if test "$hard_links" = no; then
6568 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6569 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6576 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6577 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6580 allow_undefined_flag=
6581 enable_shared_with_static_runtimes=no
6583 archive_expsym_cmds=
6584 old_archive_From_new_cmds=
6585 old_archive_from_expsyms_cmds=
6586 export_dynamic_flag_spec=
6587 whole_archive_flag_spec=
6588 thread_safe_flag_spec=
6589 hardcode_libdir_flag_spec=
6590 hardcode_libdir_flag_spec_ld=
6591 hardcode_libdir_separator=
6594 hardcode_shlibpath_var=unsupported
6595 link_all_deplibs=unknown
6596 hardcode_automatic=no
6599 always_export_symbols=no
6600 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6601 # include_expsyms should be a list of space-separated symbols to be *always*
6602 # included in the symbol list
6604 # exclude_expsyms can be an extended regexp of symbols to exclude
6605 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6606 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6607 # as well as any symbol that contains `d'.
6608 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6609 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6610 # platforms (ab)use it in PIC code, but their linkers get confused if
6611 # the symbol is explicitly referenced. Since portable code cannot
6612 # rely on this symbol name, it's probably fine to never include it in
6613 # preloaded symbol tables.
6614 extract_expsyms_cmds=
6617 cygwin* | mingw* | pw32*)
6618 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6619 # When not using gcc, we currently assume that we are using
6620 # Microsoft Visual C++.
6621 if test "$GCC" != yes; then
6631 if test "$with_gnu_ld" = yes; then
6632 # If archive_cmds runs LD, not CC, wlarc should be empty
6635 # See if GNU ld supports shared libraries.
6637 aix3* | aix4* | aix5*)
6638 # On AIX/PPC, the GNU linker is very broken
6639 if test "$host_cpu" != ia64; then
6643 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6644 *** to be unable to reliably create shared libraries on AIX.
6645 *** Therefore, libtool is disabling shared libraries support. If you
6646 *** really care for shared libraries, you may want to modify your PATH
6647 *** so that a non-GNU linker is found, and then restart.
6654 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)'
6655 hardcode_libdir_flag_spec='-L$libdir'
6656 hardcode_minus_L=yes
6658 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6659 # that the semantics of dynamic libraries on AmigaOS, at least up
6660 # to version 4, is to share data among multiple programs linked
6661 # with the same dynamic library. Since this doesn't match the
6662 # behavior of shared libraries on other platforms, we can't use
6668 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6669 allow_undefined_flag=unsupported
6670 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6671 # support --undefined. This deserves some investigation. FIXME
6672 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6678 cygwin* | mingw* | pw32*)
6679 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6680 # as there is no search path for DLLs.
6681 hardcode_libdir_flag_spec='-L$libdir'
6682 allow_undefined_flag=unsupported
6683 always_export_symbols=no
6684 enable_shared_with_static_runtimes=yes
6685 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6687 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6688 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6689 # If the export-symbols file already is a .def file (1st line
6690 # is EXPORTS), use it as is; otherwise, prepend...
6691 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6692 cp $export_symbols $output_objdir/$soname.def;
6694 echo EXPORTS > $output_objdir/$soname.def;
6695 cat $export_symbols >> $output_objdir/$soname.def;
6697 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6704 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6705 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6708 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6709 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6714 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6718 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6719 *** create shared libraries on Solaris systems. Therefore, libtool
6720 *** is disabling shared libraries support. We urge you to upgrade GNU
6721 *** binutils to release 2.9.1 or newer. Another option is to modify
6722 *** your PATH or compiler configuration so that the native linker is
6723 *** used, and then restart.
6726 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6727 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6728 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6735 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6738 hardcode_shlibpath_var=no
6742 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6743 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6744 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6751 if test "$ld_shlibs" = yes; then
6752 runpath_var=LD_RUN_PATH
6753 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6754 export_dynamic_flag_spec='${wl}--export-dynamic'
6755 # ancient GNU ld didn't support --whole-archive et. al.
6756 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6757 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6759 whole_archive_flag_spec=
6763 # PORTME fill in a description of your system's linker (not GNU ld)
6766 allow_undefined_flag=unsupported
6767 always_export_symbols=yes
6768 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'
6769 # Note: this linker hardcodes the directories in LIBPATH if there
6770 # are no directories specified by -L.
6771 hardcode_minus_L=yes
6772 if test "$GCC" = yes && test -z "$link_static_flag"; then
6773 # Neither direct hardcoding nor static linking is supported with a
6775 hardcode_direct=unsupported
6780 if test "$host_cpu" = ia64; then
6781 # On IA64, the linker does run time linking by default, so we don't
6782 # have to do anything special.
6783 aix_use_runtimelinking=no
6784 exp_sym_flag='-Bexport'
6787 # If we're using GNU nm, then we don't want the "-C" option.
6788 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6789 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6790 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'
6792 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'
6794 aix_use_runtimelinking=no
6796 # Test if we are trying to use run time linking or normal
6797 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6798 # need to do runtime linking.
6799 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6800 for ld_flag in $LDFLAGS; do
6801 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6802 aix_use_runtimelinking=yes
6808 exp_sym_flag='-bexport'
6809 no_entry_flag='-bnoentry'
6812 # When large executables or shared objects are built, AIX ld can
6813 # have problems creating the table of contents. If linking a library
6814 # or program results in "error TOC overflow" add -mminimal-toc to
6815 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6816 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6820 hardcode_libdir_separator=':'
6821 link_all_deplibs=yes
6823 if test "$GCC" = yes; then
6824 case $host_os in aix4.012|aix4.012.*)
6825 # We only want to do this on AIX 4.2 and lower, the check
6826 # below for broken collect2 doesn't work under 4.3+
6827 collect2name=`${CC} -print-prog-name=collect2`
6828 if test -f "$collect2name" && \
6829 strings "$collect2name" | grep resolve_lib_name >/dev/null
6831 # We have reworked collect2
6834 # We have old collect2
6835 hardcode_direct=unsupported
6836 # It fails to find uninstalled libraries when the uninstalled
6837 # path is not listed in the libpath. Setting hardcode_minus_L
6838 # to unsupported forces relinking
6839 hardcode_minus_L=yes
6840 hardcode_libdir_flag_spec='-L$libdir'
6841 hardcode_libdir_separator=
6844 shared_flag='-shared'
6847 if test "$host_cpu" = ia64; then
6848 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6849 # chokes on -Wl,-G. The following line is correct:
6852 if test "$aix_use_runtimelinking" = yes; then
6853 shared_flag='${wl}-G'
6855 shared_flag='${wl}-bM:SRE'
6860 # It seems that -bexpall does not export symbols beginning with
6861 # underscore (_), so it is better to generate a list of symbols to export.
6862 always_export_symbols=yes
6863 if test "$aix_use_runtimelinking" = yes; then
6864 # Warning - without using the other runtime loading flags (-brtl),
6865 # -berok will link without error, but may produce a broken library.
6866 allow_undefined_flag='-berok'
6867 # Determine the default libpath from the value encoded in an empty executable.
6868 cat >conftest.$ac_ext <<_ACEOF
6869 #line $LINENO "configure"
6872 cat confdefs.h >>conftest.$ac_ext
6873 cat >>conftest.$ac_ext <<_ACEOF
6874 /* end confdefs.h. */
6884 rm -f conftest.$ac_objext conftest$ac_exeext
6885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6886 (eval $ac_link) 2>&5
6888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889 (exit $ac_status); } &&
6890 { ac_try='test -s conftest$ac_exeext'
6891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); }; }; then
6897 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6899 # Check for a 64-bit object if we didn't find anything.
6900 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; }
6903 echo "$as_me: failed program was:" >&5
6904 sed 's/^/| /' conftest.$ac_ext >&5
6907 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6908 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6910 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6911 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"
6913 if test "$host_cpu" = ia64; then
6914 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6915 allow_undefined_flag="-z nodefs"
6916 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"
6918 # Determine the default libpath from the value encoded in an empty executable.
6919 cat >conftest.$ac_ext <<_ACEOF
6920 #line $LINENO "configure"
6923 cat confdefs.h >>conftest.$ac_ext
6924 cat >>conftest.$ac_ext <<_ACEOF
6925 /* end confdefs.h. */
6935 rm -f conftest.$ac_objext conftest$ac_exeext
6936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6937 (eval $ac_link) 2>&5
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); } &&
6941 { ac_try='test -s conftest$ac_exeext'
6942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946 (exit $ac_status); }; }; then
6948 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6950 # Check for a 64-bit object if we didn't find anything.
6951 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; }
6954 echo "$as_me: failed program was:" >&5
6955 sed 's/^/| /' conftest.$ac_ext >&5
6958 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6959 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6961 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6962 # Warning - without using the other run time loading flags,
6963 # -berok will link without error, but may produce a broken library.
6964 no_undefined_flag=' ${wl}-bernotok'
6965 allow_undefined_flag=' ${wl}-berok'
6966 # -bexpall does not export symbols beginning with underscore (_)
6967 always_export_symbols=yes
6968 # Exported symbols can be pulled into shared objects from archives
6969 whole_archive_flag_spec=' '
6970 archive_cmds_need_lc=yes
6971 # This is similar to how AIX traditionally builds it's shared libraries.
6972 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'
6978 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)'
6979 hardcode_libdir_flag_spec='-L$libdir'
6980 hardcode_minus_L=yes
6981 # see comment about different semantics on the GNU ld section
6986 export_dynamic_flag_spec=-rdynamic
6989 cygwin* | mingw* | pw32*)
6990 # When not using gcc, we currently assume that we are using
6991 # Microsoft Visual C++.
6992 # hardcode_libdir_flag_spec is actually meaningless, as there is
6993 # no search path for DLLs.
6994 hardcode_libdir_flag_spec=' '
6995 allow_undefined_flag=unsupported
6996 # Tell ltmain to make .lib files, not .a files.
6998 # Tell ltmain to make .dll files, not .so files.
7000 # FIXME: Setting linknames here is a bad hack.
7001 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7002 # The linker will automatically build a .lib file if we build a DLL.
7003 old_archive_From_new_cmds='true'
7004 # FIXME: Should let the user specify the lib program.
7005 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7006 fix_srcfile_path='`cygpath -w "$srcfile"`'
7007 enable_shared_with_static_runtimes=yes
7010 darwin* | rhapsody*)
7011 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7012 archive_cmds_need_lc=no
7014 rhapsody* | darwin1.[012])
7015 allow_undefined_flag='-undefined suppress'
7018 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7021 # FIXME: Relying on posixy $() will cause problems for
7022 # cross-compilation, but unfortunately the echo tests do not
7023 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7024 # `"' quotes if we put them in here... so don't!
7025 lt_int_apple_cc_single_mod=no
7026 output_verbose_link_cmd='echo'
7027 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7028 lt_int_apple_cc_single_mod=yes
7030 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7031 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7033 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'
7035 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7036 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7037 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7038 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}'
7040 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}'
7042 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}'
7044 hardcode_automatic=yes
7045 hardcode_shlibpath_var=unsupported
7046 whole_archive_flag_spec='-all_load $convenience'
7047 link_all_deplibs=yes
7052 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7053 hardcode_libdir_flag_spec='-L$libdir'
7054 hardcode_shlibpath_var=no
7061 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7062 # support. Future versions do this automatically, but an explicit c++rt0.o
7063 # does not break anything, and helps significantly (at the cost of a little
7066 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7067 hardcode_libdir_flag_spec='-R$libdir'
7069 hardcode_shlibpath_var=no
7072 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7074 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7076 hardcode_minus_L=yes
7077 hardcode_shlibpath_var=no
7080 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7082 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7083 hardcode_libdir_flag_spec='-R$libdir'
7085 hardcode_shlibpath_var=no
7089 if test "$GCC" = yes; then
7090 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'
7092 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'
7094 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7095 hardcode_libdir_separator=:
7098 # hardcode_minus_L: Not really in the search PATH,
7099 # but as the default location of the library.
7100 hardcode_minus_L=yes
7101 export_dynamic_flag_spec='${wl}-E'
7105 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7108 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7111 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7117 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7120 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7124 if test "$with_gnu_ld" = no; then
7127 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7128 hardcode_libdir_flag_spec_ld='+b $libdir'
7129 hardcode_libdir_separator=:
7131 hardcode_shlibpath_var=no
7134 hardcode_libdir_flag_spec='-L$libdir'
7136 hardcode_shlibpath_var=no
7138 # hardcode_minus_L: Not really in the search PATH,
7139 # but as the default location of the library.
7140 hardcode_minus_L=yes
7143 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7144 hardcode_libdir_separator=:
7146 export_dynamic_flag_spec='${wl}-E'
7148 # hardcode_minus_L: Not really in the search PATH,
7149 # but as the default location of the library.
7150 hardcode_minus_L=yes
7156 irix5* | irix6* | nonstopux*)
7157 if test "$GCC" = yes; then
7158 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'
7160 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'
7161 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7163 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7164 hardcode_libdir_separator=:
7165 link_all_deplibs=yes
7169 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7170 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7172 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7174 hardcode_libdir_flag_spec='-R$libdir'
7176 hardcode_shlibpath_var=no
7180 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7182 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7183 hardcode_libdir_separator=:
7184 hardcode_shlibpath_var=no
7189 hardcode_shlibpath_var=no
7190 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7191 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7192 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7193 export_dynamic_flag_spec='${wl}-E'
7196 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7197 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7198 hardcode_libdir_flag_spec='-R$libdir'
7201 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7202 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7209 hardcode_libdir_flag_spec='-L$libdir'
7210 hardcode_minus_L=yes
7211 allow_undefined_flag=unsupported
7212 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'
7213 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7217 if test "$GCC" = yes; then
7218 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7219 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'
7221 allow_undefined_flag=' -expect_unresolved \*'
7222 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'
7224 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7225 hardcode_libdir_separator=:
7228 osf4* | osf5*) # as osf3* with the addition of -msym flag
7229 if test "$GCC" = yes; then
7230 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7231 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'
7232 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7234 allow_undefined_flag=' -expect_unresolved \*'
7235 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'
7236 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7237 $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'
7239 # Both c and cxx compiler support -rpath directly
7240 hardcode_libdir_flag_spec='-rpath $libdir'
7242 hardcode_libdir_separator=:
7246 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7247 hardcode_shlibpath_var=no
7248 export_dynamic_flag_spec='${wl}-Bexport'
7249 runpath_var=LD_RUN_PATH
7250 hardcode_runpath_var=yes
7254 no_undefined_flag=' -z text'
7255 if test "$GCC" = yes; then
7256 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7257 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7258 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7260 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7261 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7262 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7264 hardcode_libdir_flag_spec='-R$libdir'
7265 hardcode_shlibpath_var=no
7267 solaris2.[0-5] | solaris2.[0-5].*) ;;
7268 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7269 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7271 link_all_deplibs=yes
7275 if test "x$host_vendor" = xsequent; then
7276 # Use $CC to link under sequent, because it throws in some extra .o
7277 # files that make .init and .fini sections work.
7278 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7280 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7282 hardcode_libdir_flag_spec='-L$libdir'
7284 hardcode_minus_L=yes
7285 hardcode_shlibpath_var=no
7289 case $host_vendor in
7291 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7292 hardcode_direct=yes # is this really true???
7295 ## LD is ld it makes a PLAMLIB
7296 ## CC just makes a GrossModule.
7297 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7298 reload_cmds='$CC -r -o $output$reload_objs'
7302 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7303 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7306 runpath_var='LD_RUN_PATH'
7307 hardcode_shlibpath_var=no
7311 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7312 hardcode_shlibpath_var=no
7313 export_dynamic_flag_spec='-Bexport'
7317 if test -d /usr/nec; then
7318 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7319 hardcode_shlibpath_var=no
7320 runpath_var=LD_RUN_PATH
7321 hardcode_runpath_var=yes
7327 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7330 hardcode_shlibpath_var=no
7331 hardcode_runpath_var=yes
7332 runpath_var=LD_RUN_PATH
7335 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7336 no_undefined_flag='${wl}-z ${wl}text'
7337 if test "$GCC" = yes; then
7338 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7340 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7342 runpath_var='LD_RUN_PATH'
7343 hardcode_shlibpath_var=no
7347 no_undefined_flag=' -z text'
7348 # $CC -shared without GNU ld will not create a library from C++
7349 # object files and a static libstdc++, better avoid it by now
7350 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7351 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7352 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7353 hardcode_libdir_flag_spec=
7354 hardcode_shlibpath_var=no
7355 runpath_var='LD_RUN_PATH'
7359 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7360 hardcode_libdir_flag_spec='-L$libdir'
7361 hardcode_shlibpath_var=no
7370 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7371 echo "${ECHO_T}$ld_shlibs" >&6
7372 test "$ld_shlibs" = no && can_build_shared=no
7374 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7375 if test "$GCC" = yes; then
7376 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7380 # Do we need to explicitly link libc?
7382 case "x$archive_cmds_need_lc" in
7384 # Assume -lc should be added
7385 archive_cmds_need_lc=yes
7387 if test "$enable_shared" = yes && test "$GCC" = yes; then
7388 case $archive_cmds in
7390 # FIXME: we may have to deal with multi-command sequences.
7393 # Test whether the compiler implicitly links with -lc since on some
7394 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7395 # to ld, don't add -lc before -lgcc.
7396 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7397 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7399 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7402 (eval $ac_compile) 2>&5
7404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405 (exit $ac_status); } 2>conftest.err; then
7408 libobjs=conftest.$ac_objext
7410 wl=$lt_prog_compiler_wl
7416 lt_save_allow_undefined_flag=$allow_undefined_flag
7417 allow_undefined_flag=
7418 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7419 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422 (exit $ac_status); }
7424 archive_cmds_need_lc=no
7426 archive_cmds_need_lc=yes
7428 allow_undefined_flag=$lt_save_allow_undefined_flag
7430 cat conftest.err 1>&5
7433 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7434 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7441 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7442 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7444 if test -n "$hardcode_libdir_flag_spec" || \
7445 test -n "$runpath_var " || \
7446 test "X$hardcode_automatic"="Xyes" ; then
7448 # We can hardcode non-existant directories.
7449 if test "$hardcode_direct" != no &&
7450 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7451 # have to relink, otherwise we might link with an installed library
7452 # when we should be linking with a yet-to-be-installed one
7453 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7454 test "$hardcode_minus_L" != no; then
7455 # Linking always hardcodes the temporary library directory.
7456 hardcode_action=relink
7458 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7459 hardcode_action=immediate
7462 # We cannot hardcode anything, or else we can only hardcode existing
7464 hardcode_action=unsupported
7466 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7467 echo "${ECHO_T}$hardcode_action" >&6
7469 if test "$hardcode_action" = relink; then
7470 # Fast installation is not supported
7471 enable_fast_install=no
7472 elif test "$shlibpath_overrides_runpath" = yes ||
7473 test "$enable_shared" = no; then
7474 # Fast installation is not necessary
7475 enable_fast_install=needless
7480 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7481 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7482 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7483 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7484 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7485 echo "$as_me:$LINENO: result: yes" >&5
7486 echo "${ECHO_T}yes" >&6
7488 # FIXME - insert some real tests, host_os isn't really good enough
7491 if test -n "$STRIP" ; then
7492 striplib="$STRIP -x"
7493 echo "$as_me:$LINENO: result: yes" >&5
7494 echo "${ECHO_T}yes" >&6
7496 echo "$as_me:$LINENO: result: no" >&5
7497 echo "${ECHO_T}no" >&6
7501 echo "$as_me:$LINENO: result: no" >&5
7502 echo "${ECHO_T}no" >&6
7507 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7508 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7510 libname_spec='lib$name'
7518 shlibpath_overrides_runpath=unknown
7520 dynamic_linker="$host_os ld.so"
7521 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7522 if test "$GCC" = yes; then
7523 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7524 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7525 # if the path contains ";" then we assume it to be the separator
7526 # otherwise default to the standard path separator (i.e. ":") - it is
7527 # assumed that no part of a normal pathname contains ";" but that should
7528 # okay in the real world where ";" in dirpaths is itself problematic.
7529 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7531 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7534 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7536 need_lib_prefix=unknown
7537 hardcode_into_libs=no
7539 # when you set need_version to no, make sure it does not cause -set_version
7540 # flags to be left without arguments
7541 need_version=unknown
7546 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7547 shlibpath_var=LIBPATH
7549 # AIX 3 has no versioning support, so we append a major version to the name.
7550 soname_spec='${libname}${release}${shared_ext}$major'
7557 hardcode_into_libs=yes
7558 if test "$host_cpu" = ia64; then
7559 # AIX 5 supports IA64
7560 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7561 shlibpath_var=LD_LIBRARY_PATH
7563 # With GCC up to 2.95.x, collect2 would create an import file
7564 # for dependence libraries. The import file would start with
7565 # the line `#! .'. This would cause the generated library to
7566 # depend on `.', always an invalid library. This was fixed in
7567 # development snapshots of GCC prior to 3.0.
7569 aix4 | aix4.[01] | aix4.[01].*)
7570 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7572 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7579 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7580 # soname into executable. Probably we can add versioning support to
7581 # collect2, so additional links can be useful in future.
7582 if test "$aix_use_runtimelinking" = yes; then
7583 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7584 # instead of lib<name>.a to let people know that these are not
7585 # typical AIX shared libraries.
7586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7588 # We preserve .a as extension for shared libraries through AIX4.2
7589 # and later when we are not doing run time linking.
7590 library_names_spec='${libname}${release}.a $libname.a'
7591 soname_spec='${libname}${release}${shared_ext}$major'
7593 shlibpath_var=LIBPATH
7598 library_names_spec='$libname.ixlibrary $libname.a'
7599 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7600 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'
7604 library_names_spec='${libname}${shared_ext}'
7605 dynamic_linker="$host_os ld.so"
7606 shlibpath_var=LIBRARY_PATH
7612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7613 soname_spec='${libname}${release}${shared_ext}$major'
7614 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7615 shlibpath_var=LD_LIBRARY_PATH
7616 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7617 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7618 # the default ld.so.conf also contains /usr/contrib/lib and
7619 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7620 # libtool to hard-code these into programs
7623 cygwin* | mingw* | pw32*)
7624 version_type=windows
7629 case $GCC,$host_os in
7630 yes,cygwin* | yes,mingw* | yes,pw32*)
7631 library_names_spec='$libname.dll.a'
7632 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7633 postinstall_cmds='base_file=`basename \${file}`~
7634 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7635 dldir=$destdir/`dirname \$dlpath`~
7636 test -d \$dldir || mkdir -p \$dldir~
7637 $install_prog $dir/$dlname \$dldir/$dlname'
7638 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7639 dlpath=$dir/\$dldll~
7641 shlibpath_overrides_runpath=yes
7645 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7646 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7647 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7650 # MinGW DLLs use traditional 'lib' prefix
7651 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7652 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7653 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7654 # It is most probably a Windows format PATH printed by
7655 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7656 # path with ; separators, and with drive letters. We can handle the
7657 # drive letters (cygwin fileutils understands them), so leave them,
7658 # especially as we might pass files found there to a mingw objdump,
7659 # which wouldn't understand a cygwinified path. Ahh.
7660 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7662 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7666 # pw32 DLLs use 'pw' prefix rather than 'lib'
7667 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7673 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7676 dynamic_linker='Win32 ld.exe'
7677 # FIXME: first we should search . and the directory the executable is in
7681 darwin* | rhapsody*)
7682 dynamic_linker="$host_os dyld"
7686 # FIXME: Relying on posixy $() will cause problems for
7687 # cross-compilation, but unfortunately the echo tests do not
7688 # yet detect zsh echo's removal of \ escapes.
7689 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7690 soname_spec='${libname}${release}${major}$shared_ext'
7691 shlibpath_overrides_runpath=yes
7692 shlibpath_var=DYLD_LIBRARY_PATH
7693 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7694 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7695 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7696 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"`
7698 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7706 soname_spec='${libname}${release}${shared_ext}$major'
7707 shlibpath_var=LD_LIBRARY_PATH
7715 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7716 version_type=freebsd-$objformat
7717 case $version_type in
7719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7724 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7728 shlibpath_var=LD_LIBRARY_PATH
7731 shlibpath_overrides_runpath=yes
7733 freebsd3.01* | freebsdelf3.01*)
7734 shlibpath_overrides_runpath=yes
7735 hardcode_into_libs=yes
7738 shlibpath_overrides_runpath=no
7739 hardcode_into_libs=yes
7748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7749 soname_spec='${libname}${release}${shared_ext}$major'
7750 shlibpath_var=LD_LIBRARY_PATH
7751 hardcode_into_libs=yes
7754 hpux9* | hpux10* | hpux11*)
7755 # Give a soname corresponding to the major version so that dld.sl refuses to
7756 # link against other versions.
7763 hardcode_into_libs=yes
7764 dynamic_linker="$host_os dld.so"
7765 shlibpath_var=LD_LIBRARY_PATH
7766 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7768 soname_spec='${libname}${release}${shared_ext}$major'
7769 if test "X$HPUX_IA64_MODE" = X32; then
7770 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7772 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7774 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7778 hardcode_into_libs=yes
7779 dynamic_linker="$host_os dld.sl"
7780 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7781 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7783 soname_spec='${libname}${release}${shared_ext}$major'
7784 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7785 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7789 dynamic_linker="$host_os dld.sl"
7790 shlibpath_var=SHLIB_PATH
7791 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7793 soname_spec='${libname}${release}${shared_ext}$major'
7796 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7797 postinstall_cmds='chmod 555 $lib'
7800 irix5* | irix6* | nonstopux*)
7802 nonstopux*) version_type=nonstopux ;;
7804 if test "$lt_cv_prog_gnu_ld" = yes; then
7812 soname_spec='${libname}${release}${shared_ext}$major'
7813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7815 irix5* | nonstopux*)
7819 case $LD in # libtool.m4 will add one of these switches to LD
7820 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7821 libsuff= shlibsuff= libmagic=32-bit;;
7822 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7823 libsuff=32 shlibsuff=N32 libmagic=N32;;
7824 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7825 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7826 *) libsuff= shlibsuff= libmagic=never-match;;
7830 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7831 shlibpath_overrides_runpath=no
7832 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7833 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7834 hardcode_into_libs=yes
7837 # No shared lib support for Linux oldld, aout, or coff.
7838 linux*oldld* | linux*aout* | linux*coff*)
7842 # This must be Linux ELF.
7847 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7848 soname_spec='${libname}${release}${shared_ext}$major'
7849 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7850 shlibpath_var=LD_LIBRARY_PATH
7851 shlibpath_overrides_runpath=no
7852 # This implies no fast_install, which is unacceptable.
7853 # Some rework will be needed to allow for fast_install
7854 # before this can be enabled.
7855 hardcode_into_libs=yes
7857 # We used to test for /lib/ld.so.1 and disable shared libraries on
7858 # powerpc, because MkLinux only supported shared libraries with the
7859 # GNU dynamic linker. Since this was broken with cross compilers,
7860 # most powerpc-linux boxes support dynamic linking these days and
7861 # people can always --disable-shared, the test was removed, and we
7862 # assume the GNU/Linux dynamic linker is in use.
7863 dynamic_linker='GNU/Linux ld.so'
7870 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7872 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7873 dynamic_linker='NetBSD (a.out) ld.so'
7875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7876 soname_spec='${libname}${release}${shared_ext}$major'
7877 dynamic_linker='NetBSD ld.elf_so'
7879 shlibpath_var=LD_LIBRARY_PATH
7880 shlibpath_overrides_runpath=yes
7881 hardcode_into_libs=yes
7886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7887 shlibpath_var=LD_LIBRARY_PATH
7888 shlibpath_overrides_runpath=yes
7895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7896 soname_spec='${libname}${release}${shared_ext}$major'
7897 shlibpath_var=LD_LIBRARY_PATH
7898 shlibpath_overrides_runpath=yes
7905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7906 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7907 shlibpath_var=LD_LIBRARY_PATH
7908 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7910 openbsd2.[89] | openbsd2.[89].*)
7911 shlibpath_overrides_runpath=no
7914 shlibpath_overrides_runpath=yes
7918 shlibpath_overrides_runpath=yes
7923 libname_spec='$name'
7926 library_names_spec='$libname${shared_ext} $libname.a'
7927 dynamic_linker='OS/2 ld.exe'
7928 shlibpath_var=LIBPATH
7931 osf3* | osf4* | osf5*)
7935 soname_spec='${libname}${release}${shared_ext}$major'
7936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7937 shlibpath_var=LD_LIBRARY_PATH
7938 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7939 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7944 soname_spec='${libname}${release}${shared_ext}$major'
7945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7946 shlibpath_var=LD_LIBRARY_PATH
7953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7954 soname_spec='${libname}${release}${shared_ext}$major'
7955 shlibpath_var=LD_LIBRARY_PATH
7956 shlibpath_overrides_runpath=yes
7957 hardcode_into_libs=yes
7958 # ldd complains unless libraries are executable
7959 postinstall_cmds='chmod +x $lib'
7964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7965 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7966 shlibpath_var=LD_LIBRARY_PATH
7967 shlibpath_overrides_runpath=yes
7968 if test "$with_gnu_ld" = yes; then
7974 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7977 soname_spec='${libname}${release}${shared_ext}$major'
7978 shlibpath_var=LD_LIBRARY_PATH
7979 case $host_vendor in
7981 shlibpath_overrides_runpath=no
7983 export_dynamic_flag_spec='${wl}-Blargedynsym'
7984 runpath_var=LD_RUN_PATH
7992 shlibpath_overrides_runpath=no
7993 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
7999 if test -d /usr/nec ;then
8001 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8002 soname_spec='$libname${shared_ext}.$major'
8003 shlibpath_var=LD_LIBRARY_PATH
8009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8010 soname_spec='${libname}${release}${shared_ext}$major'
8011 shlibpath_var=LD_LIBRARY_PATH
8018 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8019 echo "${ECHO_T}$dynamic_linker" >&6
8020 test "$dynamic_linker" = no && can_build_shared=no
8022 if test "x$enable_dlopen" != xyes; then
8023 enable_dlopen=unknown
8024 enable_dlopen_self=unknown
8025 enable_dlopen_self_static=unknown
8032 lt_cv_dlopen="load_add_on"
8034 lt_cv_dlopen_self=yes
8038 lt_cv_dlopen="LoadLibrary"
8043 lt_cv_dlopen="dlopen"
8048 # if libdl is installed we need to link against it
8049 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8050 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8051 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8052 echo $ECHO_N "(cached) $ECHO_C" >&6
8054 ac_check_lib_save_LIBS=$LIBS
8056 cat >conftest.$ac_ext <<_ACEOF
8057 #line $LINENO "configure"
8060 cat confdefs.h >>conftest.$ac_ext
8061 cat >>conftest.$ac_ext <<_ACEOF
8062 /* end confdefs.h. */
8064 /* Override any gcc2 internal prototype to avoid an error. */
8068 /* We use char because int might match the return type of a gcc2
8069 builtin and then its argument prototype would still apply. */
8079 rm -f conftest.$ac_objext conftest$ac_exeext
8080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8081 (eval $ac_link) 2>&5
8083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084 (exit $ac_status); } &&
8085 { ac_try='test -s conftest$ac_exeext'
8086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 (exit $ac_status); }; }; then
8091 ac_cv_lib_dl_dlopen=yes
8093 echo "$as_me: failed program was:" >&5
8094 sed 's/^/| /' conftest.$ac_ext >&5
8096 ac_cv_lib_dl_dlopen=no
8098 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8099 LIBS=$ac_check_lib_save_LIBS
8101 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8102 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8103 if test $ac_cv_lib_dl_dlopen = yes; then
8104 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8109 lt_cv_dlopen_self=yes
8116 echo "$as_me:$LINENO: checking for shl_load" >&5
8117 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8118 if test "${ac_cv_func_shl_load+set}" = set; then
8119 echo $ECHO_N "(cached) $ECHO_C" >&6
8121 cat >conftest.$ac_ext <<_ACEOF
8122 #line $LINENO "configure"
8125 cat confdefs.h >>conftest.$ac_ext
8126 cat >>conftest.$ac_ext <<_ACEOF
8127 /* end confdefs.h. */
8128 /* System header to define __stub macros and hopefully few prototypes,
8129 which can conflict with char shl_load (); below.
8130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8131 <limits.h> exists even on freestanding compilers. */
8133 # include <limits.h>
8135 # include <assert.h>
8137 /* Override any gcc2 internal prototype to avoid an error. */
8142 /* We use char because int might match the return type of a gcc2
8143 builtin and then its argument prototype would still apply. */
8145 /* The GNU C library defines this for functions which it implements
8146 to always fail with ENOSYS. Some functions are actually named
8147 something starting with __ and the normal name is an alias. */
8148 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8151 char (*f) () = shl_load;
8160 return f != shl_load;
8165 rm -f conftest.$ac_objext conftest$ac_exeext
8166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8167 (eval $ac_link) 2>&5
8169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8170 (exit $ac_status); } &&
8171 { ac_try='test -s conftest$ac_exeext'
8172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176 (exit $ac_status); }; }; then
8177 ac_cv_func_shl_load=yes
8179 echo "$as_me: failed program was:" >&5
8180 sed 's/^/| /' conftest.$ac_ext >&5
8182 ac_cv_func_shl_load=no
8184 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8186 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8187 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8188 if test $ac_cv_func_shl_load = yes; then
8189 lt_cv_dlopen="shl_load"
8191 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8192 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8193 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8194 echo $ECHO_N "(cached) $ECHO_C" >&6
8196 ac_check_lib_save_LIBS=$LIBS
8198 cat >conftest.$ac_ext <<_ACEOF
8199 #line $LINENO "configure"
8202 cat confdefs.h >>conftest.$ac_ext
8203 cat >>conftest.$ac_ext <<_ACEOF
8204 /* end confdefs.h. */
8206 /* Override any gcc2 internal prototype to avoid an error. */
8210 /* We use char because int might match the return type of a gcc2
8211 builtin and then its argument prototype would still apply. */
8221 rm -f conftest.$ac_objext conftest$ac_exeext
8222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8223 (eval $ac_link) 2>&5
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); } &&
8227 { ac_try='test -s conftest$ac_exeext'
8228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); }; }; then
8233 ac_cv_lib_dld_shl_load=yes
8235 echo "$as_me: failed program was:" >&5
8236 sed 's/^/| /' conftest.$ac_ext >&5
8238 ac_cv_lib_dld_shl_load=no
8240 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8241 LIBS=$ac_check_lib_save_LIBS
8243 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8244 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8245 if test $ac_cv_lib_dld_shl_load = yes; then
8246 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8248 echo "$as_me:$LINENO: checking for dlopen" >&5
8249 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8250 if test "${ac_cv_func_dlopen+set}" = set; then
8251 echo $ECHO_N "(cached) $ECHO_C" >&6
8253 cat >conftest.$ac_ext <<_ACEOF
8254 #line $LINENO "configure"
8257 cat confdefs.h >>conftest.$ac_ext
8258 cat >>conftest.$ac_ext <<_ACEOF
8259 /* end confdefs.h. */
8260 /* System header to define __stub macros and hopefully few prototypes,
8261 which can conflict with char dlopen (); below.
8262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8263 <limits.h> exists even on freestanding compilers. */
8265 # include <limits.h>
8267 # include <assert.h>
8269 /* Override any gcc2 internal prototype to avoid an error. */
8274 /* We use char because int might match the return type of a gcc2
8275 builtin and then its argument prototype would still apply. */
8277 /* The GNU C library defines this for functions which it implements
8278 to always fail with ENOSYS. Some functions are actually named
8279 something starting with __ and the normal name is an alias. */
8280 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8283 char (*f) () = dlopen;
8297 rm -f conftest.$ac_objext conftest$ac_exeext
8298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8299 (eval $ac_link) 2>&5
8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8302 (exit $ac_status); } &&
8303 { ac_try='test -s conftest$ac_exeext'
8304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8308 (exit $ac_status); }; }; then
8309 ac_cv_func_dlopen=yes
8311 echo "$as_me: failed program was:" >&5
8312 sed 's/^/| /' conftest.$ac_ext >&5
8314 ac_cv_func_dlopen=no
8316 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8318 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8319 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8320 if test $ac_cv_func_dlopen = yes; then
8321 lt_cv_dlopen="dlopen"
8323 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8324 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8325 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8326 echo $ECHO_N "(cached) $ECHO_C" >&6
8328 ac_check_lib_save_LIBS=$LIBS
8330 cat >conftest.$ac_ext <<_ACEOF
8331 #line $LINENO "configure"
8334 cat confdefs.h >>conftest.$ac_ext
8335 cat >>conftest.$ac_ext <<_ACEOF
8336 /* end confdefs.h. */
8338 /* Override any gcc2 internal prototype to avoid an error. */
8342 /* We use char because int might match the return type of a gcc2
8343 builtin and then its argument prototype would still apply. */
8353 rm -f conftest.$ac_objext conftest$ac_exeext
8354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8355 (eval $ac_link) 2>&5
8357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8358 (exit $ac_status); } &&
8359 { ac_try='test -s conftest$ac_exeext'
8360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 (exit $ac_status); }; }; then
8365 ac_cv_lib_dl_dlopen=yes
8367 echo "$as_me: failed program was:" >&5
8368 sed 's/^/| /' conftest.$ac_ext >&5
8370 ac_cv_lib_dl_dlopen=no
8372 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8373 LIBS=$ac_check_lib_save_LIBS
8375 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8376 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8377 if test $ac_cv_lib_dl_dlopen = yes; then
8378 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8380 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8381 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8382 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8383 echo $ECHO_N "(cached) $ECHO_C" >&6
8385 ac_check_lib_save_LIBS=$LIBS
8387 cat >conftest.$ac_ext <<_ACEOF
8388 #line $LINENO "configure"
8391 cat confdefs.h >>conftest.$ac_ext
8392 cat >>conftest.$ac_ext <<_ACEOF
8393 /* end confdefs.h. */
8395 /* Override any gcc2 internal prototype to avoid an error. */
8399 /* We use char because int might match the return type of a gcc2
8400 builtin and then its argument prototype would still apply. */
8410 rm -f conftest.$ac_objext conftest$ac_exeext
8411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8412 (eval $ac_link) 2>&5
8414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8415 (exit $ac_status); } &&
8416 { ac_try='test -s conftest$ac_exeext'
8417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8421 (exit $ac_status); }; }; then
8422 ac_cv_lib_svld_dlopen=yes
8424 echo "$as_me: failed program was:" >&5
8425 sed 's/^/| /' conftest.$ac_ext >&5
8427 ac_cv_lib_svld_dlopen=no
8429 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8430 LIBS=$ac_check_lib_save_LIBS
8432 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8433 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8434 if test $ac_cv_lib_svld_dlopen = yes; then
8435 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8437 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8438 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8439 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8440 echo $ECHO_N "(cached) $ECHO_C" >&6
8442 ac_check_lib_save_LIBS=$LIBS
8444 cat >conftest.$ac_ext <<_ACEOF
8445 #line $LINENO "configure"
8448 cat confdefs.h >>conftest.$ac_ext
8449 cat >>conftest.$ac_ext <<_ACEOF
8450 /* end confdefs.h. */
8452 /* Override any gcc2 internal prototype to avoid an error. */
8456 /* We use char because int might match the return type of a gcc2
8457 builtin and then its argument prototype would still apply. */
8467 rm -f conftest.$ac_objext conftest$ac_exeext
8468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8469 (eval $ac_link) 2>&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); } &&
8473 { ac_try='test -s conftest$ac_exeext'
8474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 (exit $ac_status); }; }; then
8479 ac_cv_lib_dld_dld_link=yes
8481 echo "$as_me: failed program was:" >&5
8482 sed 's/^/| /' conftest.$ac_ext >&5
8484 ac_cv_lib_dld_dld_link=no
8486 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8487 LIBS=$ac_check_lib_save_LIBS
8489 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8490 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8491 if test $ac_cv_lib_dld_dld_link = yes; then
8492 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8513 if test "x$lt_cv_dlopen" != xno; then
8519 case $lt_cv_dlopen in
8521 save_CPPFLAGS="$CPPFLAGS"
8522 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8524 save_LDFLAGS="$LDFLAGS"
8525 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8528 LIBS="$lt_cv_dlopen_libs $LIBS"
8530 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8531 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8532 if test "${lt_cv_dlopen_self+set}" = set; then
8533 echo $ECHO_N "(cached) $ECHO_C" >&6
8535 if test "$cross_compiling" = yes; then :
8536 lt_cv_dlopen_self=cross
8538 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8539 lt_status=$lt_dlunknown
8540 cat > conftest.$ac_ext <<EOF
8541 #line 8541 "configure"
8542 #include "confdefs.h"
8551 # define LT_DLGLOBAL RTLD_GLOBAL
8554 # define LT_DLGLOBAL DL_GLOBAL
8556 # define LT_DLGLOBAL 0
8560 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8561 find out it does not work in some platform. */
8562 #ifndef LT_DLLAZY_OR_NOW
8564 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8567 # define LT_DLLAZY_OR_NOW DL_LAZY
8570 # define LT_DLLAZY_OR_NOW RTLD_NOW
8573 # define LT_DLLAZY_OR_NOW DL_NOW
8575 # define LT_DLLAZY_OR_NOW 0
8583 extern "C" void exit (int);
8586 void fnord() { int i=42;}
8589 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8590 int status = $lt_dlunknown;
8594 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8595 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8596 /* dlclose (self); */
8602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8603 (eval $ac_link) 2>&5
8605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8607 (./conftest; exit; ) 2>/dev/null
8610 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8611 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8612 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8615 # compilation failed
8616 lt_cv_dlopen_self=no
8623 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8624 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8626 if test "x$lt_cv_dlopen_self" = xyes; then
8627 LDFLAGS="$LDFLAGS $link_static_flag"
8628 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8629 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8630 if test "${lt_cv_dlopen_self_static+set}" = set; then
8631 echo $ECHO_N "(cached) $ECHO_C" >&6
8633 if test "$cross_compiling" = yes; then :
8634 lt_cv_dlopen_self_static=cross
8636 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8637 lt_status=$lt_dlunknown
8638 cat > conftest.$ac_ext <<EOF
8639 #line 8639 "configure"
8640 #include "confdefs.h"
8649 # define LT_DLGLOBAL RTLD_GLOBAL
8652 # define LT_DLGLOBAL DL_GLOBAL
8654 # define LT_DLGLOBAL 0
8658 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8659 find out it does not work in some platform. */
8660 #ifndef LT_DLLAZY_OR_NOW
8662 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8665 # define LT_DLLAZY_OR_NOW DL_LAZY
8668 # define LT_DLLAZY_OR_NOW RTLD_NOW
8671 # define LT_DLLAZY_OR_NOW DL_NOW
8673 # define LT_DLLAZY_OR_NOW 0
8681 extern "C" void exit (int);
8684 void fnord() { int i=42;}
8687 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8688 int status = $lt_dlunknown;
8692 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8693 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8694 /* dlclose (self); */
8700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8701 (eval $ac_link) 2>&5
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8705 (./conftest; exit; ) 2>/dev/null
8708 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8709 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8710 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8713 # compilation failed
8714 lt_cv_dlopen_self_static=no
8721 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8722 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8725 CPPFLAGS="$save_CPPFLAGS"
8726 LDFLAGS="$save_LDFLAGS"
8731 case $lt_cv_dlopen_self in
8732 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8733 *) enable_dlopen_self=unknown ;;
8736 case $lt_cv_dlopen_self_static in
8737 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8738 *) enable_dlopen_self_static=unknown ;;
8743 # Report which librarie types wil actually be built
8744 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8745 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8746 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8747 echo "${ECHO_T}$can_build_shared" >&6
8749 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8750 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8751 test "$can_build_shared" = "no" && enable_shared=no
8753 # On AIX, shared libraries and static libraries use the same namespace, and
8754 # are all built from PIC.
8757 test "$enable_shared" = yes && enable_static=no
8758 if test -n "$RANLIB"; then
8759 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8760 postinstall_cmds='$RANLIB $lib'
8765 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8766 test "$enable_shared" = yes && enable_static=no
8769 darwin* | rhapsody*)
8770 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8771 archive_cmds_need_lc=no
8773 rhapsody* | darwin1.[012])
8774 allow_undefined_flag='-undefined suppress'
8777 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8780 # FIXME: Relying on posixy $() will cause problems for
8781 # cross-compilation, but unfortunately the echo tests do not
8782 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8783 # `"' quotes if we put them in here... so don't!
8784 output_verbose_link_cmd='echo'
8785 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8786 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8787 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8788 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}'
8789 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}'
8791 hardcode_automatic=yes
8792 hardcode_shlibpath_var=unsupported
8793 whole_archive_flag_spec='-all_load $convenience'
8794 link_all_deplibs=yes
8798 echo "$as_me:$LINENO: result: $enable_shared" >&5
8799 echo "${ECHO_T}$enable_shared" >&6
8801 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8802 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8803 # Make sure either enable_shared or enable_static is yes.
8804 test "$enable_shared" = yes || enable_static=yes
8805 echo "$as_me:$LINENO: result: $enable_static" >&5
8806 echo "${ECHO_T}$enable_static" >&6
8808 # The else clause should only fire when bootstrapping the
8809 # libtool distribution, otherwise you forgot to ship ltmain.sh
8810 # with your package, and you will get complaints that there are
8811 # no rules to generate ltmain.sh.
8812 if test -f "$ltmain"; then
8813 # See if we are running on zsh, and set the options which allow our commands through
8814 # without removal of \ escapes.
8815 if test -n "${ZSH_VERSION+set}" ; then
8816 setopt NO_GLOB_SUBST
8818 # Now quote all the things that may contain metacharacters while being
8819 # careful not to overquote the AC_SUBSTed values. We take copies of the
8820 # variables and quote the copies for generation of the libtool script.
8821 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8822 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8823 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8824 deplibs_check_method reload_flag reload_cmds need_locks \
8825 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8826 lt_cv_sys_global_symbol_to_c_name_address \
8827 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8828 old_postinstall_cmds old_postuninstall_cmds \
8832 lt_prog_compiler_wl \
8833 lt_prog_compiler_pic \
8834 lt_prog_compiler_static \
8835 lt_prog_compiler_no_builtin_flag \
8836 export_dynamic_flag_spec \
8837 thread_safe_flag_spec \
8838 whole_archive_flag_spec \
8839 enable_shared_with_static_runtimes \
8841 old_archive_from_new_cmds \
8846 compiler_lib_search_path \
8848 archive_expsym_cmds \
8850 postuninstall_cmds \
8851 old_archive_from_expsyms_cmds \
8852 allow_undefined_flag \
8854 export_symbols_cmds \
8855 hardcode_libdir_flag_spec \
8856 hardcode_libdir_flag_spec_ld \
8857 hardcode_libdir_separator \
8858 hardcode_automatic \
8860 module_expsym_cmds \
8861 lt_cv_prog_compiler_c_o \
8866 old_archive_cmds | \
8867 old_archive_from_new_cmds | \
8869 archive_expsym_cmds | \
8871 module_expsym_cmds | \
8872 old_archive_from_expsyms_cmds | \
8873 export_symbols_cmds | \
8874 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8875 postinstall_cmds | postuninstall_cmds | \
8876 old_postinstall_cmds | old_postuninstall_cmds | \
8877 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8878 # Double-quote double-evaled strings.
8879 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8882 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8888 *'\$0 --fallback-echo"')
8889 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8894 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8896 { echo "$as_me:$LINENO: creating $ofile" >&5
8897 echo "$as_me: creating $ofile" >&6;}
8899 cat <<__EOF__ >> "$cfgfile"
8902 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8903 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8904 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8906 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8907 # Free Software Foundation, Inc.
8909 # This file is part of GNU Libtool:
8910 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8912 # This program is free software; you can redistribute it and/or modify
8913 # it under the terms of the GNU General Public License as published by
8914 # the Free Software Foundation; either version 2 of the License, or
8915 # (at your option) any later version.
8917 # This program is distributed in the hope that it will be useful, but
8918 # WITHOUT ANY WARRANTY; without even the implied warranty of
8919 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8920 # General Public License for more details.
8922 # You should have received a copy of the GNU General Public License
8923 # along with this program; if not, write to the Free Software
8924 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8926 # As a special exception to the GNU General Public License, if you
8927 # distribute this file as part of a program that contains a
8928 # configuration script generated by Autoconf, you may include it under
8929 # the same distribution terms that you use for the rest of that program.
8931 # A sed program that does not truncate output.
8934 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8935 Xsed="$SED -e s/^X//"
8937 # The HP-UX ksh and POSIX shell print the target directory to stdout
8939 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8941 # The names of the tagged configurations supported by this script.
8944 # ### BEGIN LIBTOOL CONFIG
8946 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8948 # Shell to use when invoking shell scripts.
8951 # Whether or not to build shared libraries.
8952 build_libtool_libs=$enable_shared
8954 # Whether or not to build static libraries.
8955 build_old_libs=$enable_static
8957 # Whether or not to add -lc for building shared libraries.
8958 build_libtool_need_lc=$archive_cmds_need_lc
8960 # Whether or not to disallow shared libs when runtime libs are static
8961 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8963 # Whether or not to optimize for fast installation.
8964 fast_install=$enable_fast_install
8967 host_alias=$host_alias
8970 # An echo program that does not interpret backslashes.
8975 AR_FLAGS=$lt_AR_FLAGS
8980 # A language-specific compiler.
8983 # Is the compiler the GNU C compiler?
8989 # The linker used to build libraries.
8992 # Whether we need hard or soft links.
8995 # A BSD-compatible nm program.
8998 # A symbol stripping program
9001 # Used to examine libraries when file_magic_cmd begins "file"
9002 MAGIC_CMD=$MAGIC_CMD
9004 # Used on cygwin: DLL creation program.
9007 # Used on cygwin: object dumper.
9010 # Used on cygwin: assembler.
9013 # The name of the directory that contains temporary libtool files.
9016 # How to create reloadable object files.
9017 reload_flag=$lt_reload_flag
9018 reload_cmds=$lt_reload_cmds
9020 # How to pass a linker flag through the compiler.
9021 wl=$lt_lt_prog_compiler_wl
9023 # Object file suffix (normally "o").
9026 # Old archive suffix (normally "a").
9029 # Shared library suffix (normally ".so").
9032 # Executable file suffix (normally "").
9035 # Additional compiler flags for building library objects.
9036 pic_flag=$lt_lt_prog_compiler_pic
9039 # What is the maximum length of a command?
9040 max_cmd_len=$lt_cv_sys_max_cmd_len
9042 # Does compiler simultaneously support -c and -o options?
9043 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9045 # Must we lock files when doing compilation ?
9046 need_locks=$lt_need_locks
9048 # Do we need the lib prefix for modules?
9049 need_lib_prefix=$need_lib_prefix
9051 # Do we need a version for libraries?
9052 need_version=$need_version
9054 # Whether dlopen is supported.
9055 dlopen_support=$enable_dlopen
9057 # Whether dlopen of programs is supported.
9058 dlopen_self=$enable_dlopen_self
9060 # Whether dlopen of statically linked programs is supported.
9061 dlopen_self_static=$enable_dlopen_self_static
9063 # Compiler flag to prevent dynamic linking.
9064 link_static_flag=$lt_lt_prog_compiler_static
9066 # Compiler flag to turn off builtin functions.
9067 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9069 # Compiler flag to allow reflexive dlopens.
9070 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9072 # Compiler flag to generate shared objects directly from archives.
9073 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9075 # Compiler flag to generate thread-safe objects.
9076 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9078 # Library versioning type.
9079 version_type=$version_type
9081 # Format of library name prefix.
9082 libname_spec=$lt_libname_spec
9084 # List of archive names. First name is the real one, the rest are links.
9085 # The last name is the one that the linker finds with -lNAME.
9086 library_names_spec=$lt_library_names_spec
9088 # The coded name of the library, if different from the real name.
9089 soname_spec=$lt_soname_spec
9091 # Commands used to build and install an old-style archive.
9093 old_archive_cmds=$lt_old_archive_cmds
9094 old_postinstall_cmds=$lt_old_postinstall_cmds
9095 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9097 # Create an old-style archive from a shared archive.
9098 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9100 # Create a temporary old-style archive to link instead of a shared archive.
9101 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9103 # Commands used to build and install a shared archive.
9104 archive_cmds=$lt_archive_cmds
9105 archive_expsym_cmds=$lt_archive_expsym_cmds
9106 postinstall_cmds=$lt_postinstall_cmds
9107 postuninstall_cmds=$lt_postuninstall_cmds
9109 # Commands used to build a loadable module (assumed same as above if empty)
9110 module_cmds=$lt_module_cmds
9111 module_expsym_cmds=$lt_module_expsym_cmds
9113 # Commands to strip libraries.
9114 old_striplib=$lt_old_striplib
9115 striplib=$lt_striplib
9117 # Dependencies to place before the objects being linked to create a
9119 predep_objects=$lt_predep_objects
9121 # Dependencies to place after the objects being linked to create a
9123 postdep_objects=$lt_postdep_objects
9125 # Dependencies to place before the objects being linked to create a
9129 # Dependencies to place after the objects being linked to create a
9131 postdeps=$lt_postdeps
9133 # The library search path used internally by the compiler when linking
9135 compiler_lib_search_path=$lt_compiler_lib_search_path
9137 # Method to check whether dependent libraries are shared objects.
9138 deplibs_check_method=$lt_deplibs_check_method
9140 # Command to use when deplibs_check_method == file_magic.
9141 file_magic_cmd=$lt_file_magic_cmd
9143 # Flag that allows shared libraries with undefined symbols to be built.
9144 allow_undefined_flag=$lt_allow_undefined_flag
9146 # Flag that forces no undefined symbols.
9147 no_undefined_flag=$lt_no_undefined_flag
9149 # Commands used to finish a libtool library installation in a directory.
9150 finish_cmds=$lt_finish_cmds
9152 # Same as above, but a single script fragment to be evaled but not shown.
9153 finish_eval=$lt_finish_eval
9155 # Take the output of nm and produce a listing of raw symbols and C names.
9156 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9158 # Transform the output of nm in a proper C declaration
9159 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9161 # Transform the output of nm in a C name address pair
9162 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9164 # This is the shared library runtime path variable.
9165 runpath_var=$runpath_var
9167 # This is the shared library path variable.
9168 shlibpath_var=$shlibpath_var
9170 # Is shlibpath searched before the hard-coded library search path?
9171 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9173 # How to hardcode a shared library path into an executable.
9174 hardcode_action=$hardcode_action
9176 # Whether we should hardcode library paths into libraries.
9177 hardcode_into_libs=$hardcode_into_libs
9179 # Flag to hardcode \$libdir into a binary during linking.
9180 # This must work even if \$libdir does not exist.
9181 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9183 # If ld is used when linking, flag to hardcode \$libdir into
9184 # a binary during linking. This must work even if \$libdir does
9186 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9188 # Whether we need a single -rpath flag with a separated argument.
9189 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9191 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9193 hardcode_direct=$hardcode_direct
9195 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9197 hardcode_minus_L=$hardcode_minus_L
9199 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9200 # the resulting binary.
9201 hardcode_shlibpath_var=$hardcode_shlibpath_var
9203 # Set to yes if building a shared library automatically hardcodes DIR into the library
9204 # and all subsequent libraries and executables linked against it.
9205 hardcode_automatic=$hardcode_automatic
9207 # Variables whose values should be saved in libtool wrapper scripts and
9208 # restored at relink time.
9209 variables_saved_for_relink="$variables_saved_for_relink"
9211 # Whether libtool must link a program against all its dependency libraries.
9212 link_all_deplibs=$link_all_deplibs
9214 # Compile-time system search path for libraries
9215 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9217 # Run-time system search path for libraries
9218 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9220 # Fix the shell variable \$srcfile for the compiler.
9221 fix_srcfile_path="$fix_srcfile_path"
9223 # Set to yes if exported symbols are required.
9224 always_export_symbols=$always_export_symbols
9226 # The commands to list exported symbols.
9227 export_symbols_cmds=$lt_export_symbols_cmds
9229 # The commands to extract the exported symbol list from a shared archive.
9230 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9232 # Symbols that should not be listed in the preloaded symbols.
9233 exclude_expsyms=$lt_exclude_expsyms
9235 # Symbols that must always be exported.
9236 include_expsyms=$lt_include_expsyms
9238 # ### END LIBTOOL CONFIG
9245 cat <<\EOF >> "$cfgfile"
9247 # AIX sometimes has problems with the GCC collect2 program. For some
9248 # reason, if we set the COLLECT_NAMES environment variable, the problems
9249 # vanish in a puff of smoke.
9250 if test "X${COLLECT_NAMES+set}" != Xset; then
9252 export COLLECT_NAMES
9258 # We use sed instead of cat because bash on DJGPP gets confused if
9259 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9260 # text mode, it properly converts lines to CR/LF. This bash problem
9261 # is reportedly fixed, but why not run on old versions too?
9262 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9264 mv -f "$cfgfile" "$ofile" || \
9265 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9269 # If there is no Makefile yet, we rely on a make rule to execute
9270 # `config.status --recheck' to rerun these tests and create the
9271 # libtool script then.
9272 test -f Makefile && make "$ltmain"
9277 ac_cpp='$CPP $CPPFLAGS'
9278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9285 # Check whether --with-tags or --without-tags was given.
9286 if test "${with_tags+set}" = set; then
9287 withval="$with_tags"
9291 if test -f "$ltmain" && test -n "$tagnames"; then
9292 if test ! -f "${ofile}"; then
9293 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9294 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9297 if test -z "$LTCC"; then
9298 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9299 if test -z "$LTCC"; then
9300 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9301 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9303 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9304 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9308 # Extract list of available tagged configurations in $ofile.
9309 # Note that this assumes the entire list is on one line.
9310 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9312 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9313 for tagname in $tagnames; do
9315 # Check whether tagname contains only valid characters
9316 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9318 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9319 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9320 { (exit 1); exit 1; }; }
9324 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9326 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9327 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9328 { (exit 1); exit 1; }; }
9331 # Update the list of available tags.
9332 if test -n "$tagname"; then
9333 echo appending configuration tag \"$tagname\" to $ofile
9337 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9339 ac_cpp='$CXXCPP $CPPFLAGS'
9340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9347 archive_cmds_need_lc_CXX=no
9348 allow_undefined_flag_CXX=
9349 always_export_symbols_CXX=no
9350 archive_expsym_cmds_CXX=
9351 export_dynamic_flag_spec_CXX=
9352 hardcode_direct_CXX=no
9353 hardcode_libdir_flag_spec_CXX=
9354 hardcode_libdir_flag_spec_ld_CXX=
9355 hardcode_libdir_separator_CXX=
9356 hardcode_minus_L_CXX=no
9357 hardcode_automatic_CXX=no
9359 module_expsym_cmds_CXX=
9360 link_all_deplibs_CXX=unknown
9361 old_archive_cmds_CXX=$old_archive_cmds
9362 no_undefined_flag_CXX=
9363 whole_archive_flag_spec_CXX=
9364 enable_shared_with_static_runtimes_CXX=no
9366 # Dependencies to place before and after the object being linked:
9368 postdep_objects_CXX=
9371 compiler_lib_search_path_CXX=
9373 # Source file extension for C++ test sources.
9376 # Object file extension for compiled C++ test sources.
9380 # Code to be used in simple compile tests
9381 lt_simple_compile_test_code="int some_variable = 0;\n"
9383 # Code to be used in simple link tests
9384 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9386 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9388 # If no C compiler was specified, use CC.
9391 # Allow CC to be a program name with arguments.
9395 # Allow CC to be a program name with arguments.
9400 lt_save_with_gnu_ld=$with_gnu_ld
9401 lt_save_path_LD=$lt_cv_path_LD
9402 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9403 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9405 unset lt_cv_prog_gnu_ld
9407 if test -n "${lt_cv_path_LDCXX+set}"; then
9408 lt_cv_path_LD=$lt_cv_path_LDCXX
9412 test -z "${LDCXX+set}" || LD=$LDCXX
9416 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9418 # We don't want -fno-exception wen compiling C++ code, so set the
9419 # no_builtin_flag separately
9420 if test "$GXX" = yes; then
9421 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9423 lt_prog_compiler_no_builtin_flag_CXX=
9426 if test "$GXX" = yes; then
9427 # Set up default GNU C++ configuration
9430 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9431 if test "${with_gnu_ld+set}" = set; then
9432 withval="$with_gnu_ld"
9433 test "$withval" = no || with_gnu_ld=yes
9438 if test "$GCC" = yes; then
9439 # Check if gcc -print-prog-name=ld gives a path.
9440 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9441 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9444 # gcc leaves a trailing carriage return which upsets mingw
9445 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9447 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9450 # Accept absolute paths.
9452 re_direlt='/[^/][^/]*/\.\./'
9453 # Canonicalize the path of ld
9454 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9455 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9456 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9458 test -z "$LD" && LD="$ac_prog"
9461 # If it fails, then pretend we aren't using GCC.
9465 # If it is relative, then search for the first ld in PATH.
9469 elif test "$with_gnu_ld" = yes; then
9470 echo "$as_me:$LINENO: checking for GNU ld" >&5
9471 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9473 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9474 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9476 if test "${lt_cv_path_LD+set}" = set; then
9477 echo $ECHO_N "(cached) $ECHO_C" >&6
9479 if test -z "$LD"; then
9480 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9481 for ac_dir in $PATH; do
9483 test -z "$ac_dir" && ac_dir=.
9484 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9485 lt_cv_path_LD="$ac_dir/$ac_prog"
9486 # Check to see if the program is GNU ld. I'd rather use --version,
9487 # but apparently some GNU ld's only accept -v.
9488 # Break only if it was the GNU/non-GNU ld that we prefer.
9489 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9490 *GNU* | *'with BFD'*)
9491 test "$with_gnu_ld" != no && break
9494 test "$with_gnu_ld" != yes && break
9501 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9506 if test -n "$LD"; then
9507 echo "$as_me:$LINENO: result: $LD" >&5
9508 echo "${ECHO_T}$LD" >&6
9510 echo "$as_me:$LINENO: result: no" >&5
9511 echo "${ECHO_T}no" >&6
9513 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9514 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9515 { (exit 1); exit 1; }; }
9516 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9517 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9518 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9519 echo $ECHO_N "(cached) $ECHO_C" >&6
9521 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9522 case `"$LD" -v 2>&1 </dev/null` in
9523 *GNU* | *'with BFD'*)
9524 lt_cv_prog_gnu_ld=yes
9527 lt_cv_prog_gnu_ld=no
9531 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9532 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9533 with_gnu_ld=$lt_cv_prog_gnu_ld
9537 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9538 # archiving commands below assume that GNU ld is being used.
9539 if test "$with_gnu_ld" = yes; then
9540 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9541 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'
9543 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9544 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9546 # If archive_cmds runs LD, not CC, wlarc should be empty
9547 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9548 # investigate it a little bit more. (MM)
9551 # ancient GNU ld didn't support --whole-archive et. al.
9552 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9553 grep 'no-whole-archive' > /dev/null; then
9554 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9556 whole_archive_flag_spec_CXX=
9562 # A generic and very simple default shared library creation
9563 # command for GNU C++ for the case where it uses the native
9564 # linker, instead of GNU ld. If possible, this setting should
9565 # overridden to take advantage of the native linker features on
9566 # the platform it is being used on.
9567 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9570 # Commands to make compiler produce verbose output that lists
9571 # what "hidden" libraries, object files and flags are used when
9572 # linking a shared library.
9573 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9581 # PORTME: fill in a description of your system's C++ link characteristics
9582 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9583 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9587 # FIXME: insert proper C++ library support
9591 if test "$host_cpu" = ia64; then
9592 # On IA64, the linker does run time linking by default, so we don't
9593 # have to do anything special.
9594 aix_use_runtimelinking=no
9595 exp_sym_flag='-Bexport'
9598 aix_use_runtimelinking=no
9600 # Test if we are trying to use run time linking or normal
9601 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9602 # need to do runtime linking.
9603 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9604 for ld_flag in $LDFLAGS; do
9607 aix_use_runtimelinking=yes
9614 exp_sym_flag='-bexport'
9615 no_entry_flag='-bnoentry'
9618 # When large executables or shared objects are built, AIX ld can
9619 # have problems creating the table of contents. If linking a library
9620 # or program results in "error TOC overflow" add -mminimal-toc to
9621 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9622 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9625 hardcode_direct_CXX=yes
9626 hardcode_libdir_separator_CXX=':'
9627 link_all_deplibs_CXX=yes
9629 if test "$GXX" = yes; then
9630 case $host_os in aix4.012|aix4.012.*)
9631 # We only want to do this on AIX 4.2 and lower, the check
9632 # below for broken collect2 doesn't work under 4.3+
9633 collect2name=`${CC} -print-prog-name=collect2`
9634 if test -f "$collect2name" && \
9635 strings "$collect2name" | grep resolve_lib_name >/dev/null
9637 # We have reworked collect2
9638 hardcode_direct_CXX=yes
9640 # We have old collect2
9641 hardcode_direct_CXX=unsupported
9642 # It fails to find uninstalled libraries when the uninstalled
9643 # path is not listed in the libpath. Setting hardcode_minus_L
9644 # to unsupported forces relinking
9645 hardcode_minus_L_CXX=yes
9646 hardcode_libdir_flag_spec_CXX='-L$libdir'
9647 hardcode_libdir_separator_CXX=
9650 shared_flag='-shared'
9653 if test "$host_cpu" = ia64; then
9654 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9655 # chokes on -Wl,-G. The following line is correct:
9658 if test "$aix_use_runtimelinking" = yes; then
9659 shared_flag='${wl}-G'
9661 shared_flag='${wl}-bM:SRE'
9666 # It seems that -bexpall does not export symbols beginning with
9667 # underscore (_), so it is better to generate a list of symbols to export.
9668 always_export_symbols_CXX=yes
9669 if test "$aix_use_runtimelinking" = yes; then
9670 # Warning - without using the other runtime loading flags (-brtl),
9671 # -berok will link without error, but may produce a broken library.
9672 allow_undefined_flag_CXX='-berok'
9673 # Determine the default libpath from the value encoded in an empty executable.
9674 cat >conftest.$ac_ext <<_ACEOF
9675 #line $LINENO "configure"
9678 cat confdefs.h >>conftest.$ac_ext
9679 cat >>conftest.$ac_ext <<_ACEOF
9680 /* end confdefs.h. */
9690 rm -f conftest.$ac_objext conftest$ac_exeext
9691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9692 (eval $ac_link) 2>&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); } &&
9696 { ac_try='test -s conftest$ac_exeext'
9697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9701 (exit $ac_status); }; }; then
9703 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9705 # Check for a 64-bit object if we didn't find anything.
9706 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; }
9709 echo "$as_me: failed program was:" >&5
9710 sed 's/^/| /' conftest.$ac_ext >&5
9713 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9714 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9716 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9718 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"
9720 if test "$host_cpu" = ia64; then
9721 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9722 allow_undefined_flag_CXX="-z nodefs"
9723 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"
9725 # Determine the default libpath from the value encoded in an empty executable.
9726 cat >conftest.$ac_ext <<_ACEOF
9727 #line $LINENO "configure"
9730 cat confdefs.h >>conftest.$ac_ext
9731 cat >>conftest.$ac_ext <<_ACEOF
9732 /* end confdefs.h. */
9742 rm -f conftest.$ac_objext conftest$ac_exeext
9743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9744 (eval $ac_link) 2>&5
9746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747 (exit $ac_status); } &&
9748 { ac_try='test -s conftest$ac_exeext'
9749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753 (exit $ac_status); }; }; then
9755 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9757 # Check for a 64-bit object if we didn't find anything.
9758 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; }
9761 echo "$as_me: failed program was:" >&5
9762 sed 's/^/| /' conftest.$ac_ext >&5
9765 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9766 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9768 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9769 # Warning - without using the other run time loading flags,
9770 # -berok will link without error, but may produce a broken library.
9771 no_undefined_flag_CXX=' ${wl}-bernotok'
9772 allow_undefined_flag_CXX=' ${wl}-berok'
9773 # -bexpall does not export symbols beginning with underscore (_)
9774 always_export_symbols_CXX=yes
9775 # Exported symbols can be pulled into shared objects from archives
9776 whole_archive_flag_spec_CXX=' '
9777 archive_cmds_need_lc_CXX=yes
9778 # This is similar to how AIX traditionally builds it's shared libraries.
9779 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'
9784 case $cc_basename in
9786 # FIXME: insert proper C++ library support
9792 cygwin* | mingw* | pw32*)
9793 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9794 # as there is no search path for DLLs.
9795 hardcode_libdir_flag_spec_CXX='-L$libdir'
9796 allow_undefined_flag_CXX=unsupported
9797 always_export_symbols_CXX=no
9798 enable_shared_with_static_runtimes_CXX=yes
9800 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9801 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'
9802 # If the export-symbols file already is a .def file (1st line
9803 # is EXPORTS), use it as is; otherwise, prepend...
9804 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9805 cp $export_symbols $output_objdir/$soname.def;
9807 echo EXPORTS > $output_objdir/$soname.def;
9808 cat $export_symbols >> $output_objdir/$soname.def;
9810 $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'
9816 darwin* | rhapsody*)
9817 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9818 archive_cmds_need_lc_CXX=no
9820 rhapsody* | darwin1.[012])
9821 allow_undefined_flag_CXX='-undefined suppress'
9824 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9827 lt_int_apple_cc_single_mod=no
9828 output_verbose_link_cmd='echo'
9829 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9830 lt_int_apple_cc_single_mod=yes
9832 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9833 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9835 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'
9837 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9839 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9840 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9841 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}'
9843 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}'
9845 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}'
9846 hardcode_direct_CXX=no
9847 hardcode_automatic_CXX=yes
9848 hardcode_shlibpath_var_CXX=unsupported
9849 whole_archive_flag_spec_CXX='-all_load $convenience'
9850 link_all_deplibs_CXX=yes
9855 case $cc_basename in
9857 # FIXME: insert proper C++ library support
9861 # Green Hills C++ Compiler
9862 # FIXME: insert proper C++ library support
9866 # FIXME: insert proper C++ library support
9872 # C++ shared libraries reported to be fairly broken before switch to ELF
9876 archive_cmds_need_lc_CXX=no
9879 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9886 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9887 hardcode_libdir_separator_CXX=:
9888 export_dynamic_flag_spec_CXX='${wl}-E'
9889 hardcode_direct_CXX=yes
9890 hardcode_minus_L_CXX=yes # Not in the search PATH,
9891 # but as the default
9892 # location of the library.
9894 case $cc_basename in
9896 # FIXME: insert proper C++ library support
9900 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'
9901 # Commands to make compiler produce verbose output that lists
9902 # what "hidden" libraries, object files and flags are used when
9903 # linking a shared library.
9905 # There doesn't appear to be a way to prevent this compiler from
9906 # explicitly linking system object files so we need to strip them
9907 # from the output so that they don't get included in the library
9909 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'
9912 if test "$GXX" = yes; then
9913 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'
9915 # FIXME: insert proper C++ library support
9922 if test $with_gnu_ld = no; then
9925 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9926 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9927 hardcode_libdir_separator_CXX=:
9930 hardcode_libdir_flag_spec_CXX='-L$libdir'
9933 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9934 hardcode_libdir_separator_CXX=:
9935 export_dynamic_flag_spec_CXX='${wl}-E'
9941 hardcode_direct_CXX=no
9942 hardcode_shlibpath_var_CXX=no
9945 hardcode_direct_CXX=no
9946 hardcode_shlibpath_var_CXX=no
9947 hardcode_minus_L_CXX=yes # Not in the search PATH,
9948 # but as the default
9949 # location of the library.
9952 hardcode_direct_CXX=yes
9953 hardcode_minus_L_CXX=yes # Not in the search PATH,
9954 # but as the default
9955 # location of the library.
9959 case $cc_basename in
9961 # FIXME: insert proper C++ library support
9967 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9970 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9973 # Commands to make compiler produce verbose output that lists
9974 # what "hidden" libraries, object files and flags are used when
9975 # linking a shared library.
9977 # There doesn't appear to be a way to prevent this compiler from
9978 # explicitly linking system object files so we need to strip them
9979 # from the output so that they don't get included in the library
9981 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'
9984 if test "$GXX" = yes; then
9985 if test $with_gnu_ld = no; then
9988 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9991 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'
9996 # FIXME: insert proper C++ library support
10003 case $cc_basename in
10006 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'
10008 # Archives containing C++ object files must be created using
10009 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10010 # necessary to make sure instantiated templates are included
10012 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10015 if test "$GXX" = yes; then
10016 if test "$with_gnu_ld" = no; then
10017 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'
10019 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'
10022 link_all_deplibs_CXX=yes
10025 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10026 hardcode_libdir_separator_CXX=:
10029 case $cc_basename in
10031 # Kuck and Associates, Inc. (KAI) C++ Compiler
10033 # KCC will only create a shared library if the output file
10034 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10035 # to its proper name (with version) after linking.
10036 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'
10037 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'
10038 # Commands to make compiler produce verbose output that lists
10039 # what "hidden" libraries, object files and flags are used when
10040 # linking a shared library.
10042 # There doesn't appear to be a way to prevent this compiler from
10043 # explicitly linking system object files so we need to strip them
10044 # from the output so that they don't get included in the library
10046 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'
10048 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10049 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10051 # Archives containing C++ object files must be created using
10052 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10053 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10058 archive_cmds_need_lc_CXX=no
10059 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10060 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'
10061 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10062 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10063 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10067 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10068 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'
10070 runpath_var=LD_RUN_PATH
10071 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10072 hardcode_libdir_separator_CXX=:
10074 # Commands to make compiler produce verbose output that lists
10075 # what "hidden" libraries, object files and flags are used when
10076 # linking a shared library.
10078 # There doesn't appear to be a way to prevent this compiler from
10079 # explicitly linking system object files so we need to strip them
10080 # from the output so that they don't get included in the library
10082 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'
10087 # FIXME: insert proper C++ library support
10091 # FIXME: insert proper C++ library support
10095 case $cc_basename in
10097 # FIXME: insert proper C++ library support
10101 # FIXME: insert proper C++ library support
10107 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10108 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10110 hardcode_libdir_flag_spec_CXX='-R$libdir'
10111 hardcode_direct_CXX=yes
10112 hardcode_shlibpath_var_CXX=no
10114 # Workaround some broken pre-1.5 toolchains
10115 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10118 case $cc_basename in
10120 # Kuck and Associates, Inc. (KAI) C++ Compiler
10122 # KCC will only create a shared library if the output file
10123 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10124 # to its proper name (with version) after linking.
10125 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'
10127 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10128 hardcode_libdir_separator_CXX=:
10130 # Archives containing C++ object files must be created using
10131 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10132 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10136 # Rational C++ 2.4.1
10137 # FIXME: insert proper C++ library support
10141 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10142 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'
10144 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10145 hardcode_libdir_separator_CXX=:
10147 # Commands to make compiler produce verbose output that lists
10148 # what "hidden" libraries, object files and flags are used when
10149 # linking a shared library.
10151 # There doesn't appear to be a way to prevent this compiler from
10152 # explicitly linking system object files so we need to strip them
10153 # from the output so that they don't get included in the library
10155 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'
10158 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10159 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10160 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'
10162 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10163 hardcode_libdir_separator_CXX=:
10165 # Commands to make compiler produce verbose output that lists
10166 # what "hidden" libraries, object files and flags are used when
10167 # linking a shared library.
10168 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10171 # FIXME: insert proper C++ library support
10178 case $cc_basename in
10180 # Kuck and Associates, Inc. (KAI) C++ Compiler
10182 # KCC will only create a shared library if the output file
10183 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10184 # to its proper name (with version) after linking.
10185 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'
10187 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10188 hardcode_libdir_separator_CXX=:
10190 # Archives containing C++ object files must be created using
10191 # the KAI C++ compiler.
10192 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10195 # Rational C++ 2.4.1
10196 # FIXME: insert proper C++ library support
10200 allow_undefined_flag_CXX=' -expect_unresolved \*'
10201 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'
10202 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10203 echo "-hidden">> $lib.exp~
10204 $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~
10207 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10208 hardcode_libdir_separator_CXX=:
10210 # Commands to make compiler produce verbose output that lists
10211 # what "hidden" libraries, object files and flags are used when
10212 # linking a shared library.
10214 # There doesn't appear to be a way to prevent this compiler from
10215 # explicitly linking system object files so we need to strip them
10216 # from the output so that they don't get included in the library
10218 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'
10221 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10222 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10223 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'
10225 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10226 hardcode_libdir_separator_CXX=:
10228 # Commands to make compiler produce verbose output that lists
10229 # what "hidden" libraries, object files and flags are used when
10230 # linking a shared library.
10231 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10234 # FIXME: insert proper C++ library support
10241 # FIXME: insert proper C++ library support
10245 archive_cmds_need_lc_CXX=no
10246 case $cc_basename in
10248 # FIXME: insert proper C++ library support
10252 # FIXME: insert proper C++ library support
10258 case $cc_basename in
10261 # FIXME: insert proper C++ library support
10266 # FIXME: insert proper C++ library support
10270 # FIXME: insert proper C++ library support
10276 case $cc_basename in
10278 # Sun C++ 4.2, 5.x and Centerline C++
10279 no_undefined_flag_CXX=' -zdefs'
10280 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10281 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10282 $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'
10284 hardcode_libdir_flag_spec_CXX='-R$libdir'
10285 hardcode_shlibpath_var_CXX=no
10287 solaris2.0-5 | solaris2.0-5.*) ;;
10289 # The C++ compiler is used as linker so we must use $wl
10290 # flag to pass the commands to the underlying system
10292 # Supported since Solaris 2.6 (maybe 2.5.1?)
10293 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10296 link_all_deplibs_CXX=yes
10298 # Commands to make compiler produce verbose output that lists
10299 # what "hidden" libraries, object files and flags are used when
10300 # linking a shared library.
10302 # There doesn't appear to be a way to prevent this compiler from
10303 # explicitly linking system object files so we need to strip them
10304 # from the output so that they don't get included in the library
10306 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'
10308 # Archives containing C++ object files must be created using
10309 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10310 # necessary to make sure instantiated templates are included
10312 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10315 # Green Hills C++ Compiler
10316 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10318 # The C++ compiler must be used to create the archive.
10319 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10322 # GNU C++ compiler with Solaris linker
10323 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10324 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10325 if $CC --version | grep -v '^2\.7' > /dev/null; then
10326 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10327 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10328 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10330 # Commands to make compiler produce verbose output that lists
10331 # what "hidden" libraries, object files and flags are used when
10332 # linking a shared library.
10333 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10335 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10337 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10338 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10339 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10341 # Commands to make compiler produce verbose output that lists
10342 # what "hidden" libraries, object files and flags are used when
10343 # linking a shared library.
10344 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10347 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10352 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10353 archive_cmds_need_lc_CXX=no
10356 case $cc_basename in
10358 # NonStop-UX NCC 3.20
10359 # FIXME: insert proper C++ library support
10363 # FIXME: insert proper C++ library support
10369 # FIXME: insert proper C++ library support
10373 # FIXME: insert proper C++ library support
10377 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10378 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10379 test "$ld_shlibs_CXX" = no && can_build_shared=no
10385 ## There is no encapsulation within the following macros, do not change
10386 ## the running order or otherwise move them around unless you know exactly
10387 ## what you are doing...
10389 cat > conftest.$ac_ext <<EOF
10393 Foo (void) { a = 0; }
10399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10400 (eval $ac_compile) 2>&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); }; then
10404 # Parse the compiler output and extract the necessary
10405 # objects, libraries and library flags.
10407 # Sentinel used to keep track of whether or not we are before
10408 # the conftest object file.
10409 pre_test_object_deps_done=no
10411 # The `*' in the case matches for architectures that use `case' in
10412 # $output_verbose_cmd can trigger glob expansion during the loop
10413 # eval without this substitution.
10414 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10416 for p in `eval $output_verbose_link_cmd`; do
10420 # Some compilers place space between "-{L,R}" and the path.
10421 # Remove the space.
10422 if test $p = "-L" \
10423 || test $p = "-R"; then
10430 if test "$pre_test_object_deps_done" = no; then
10433 # Internal compiler library paths should come after those
10434 # provided the user. The postdeps already come after the
10435 # user supplied libs so there is no need to process them.
10436 if test -z "$compiler_lib_search_path_CXX"; then
10437 compiler_lib_search_path_CXX="${prev}${p}"
10439 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10442 # The "-l" case would never come before the object being
10443 # linked, so don't bother handling this case.
10446 if test -z "$postdeps_CXX"; then
10447 postdeps_CXX="${prev}${p}"
10449 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10455 # This assumes that the test object file only shows up
10456 # once in the compiler output.
10457 if test "$p" = "conftest.$objext"; then
10458 pre_test_object_deps_done=yes
10462 if test "$pre_test_object_deps_done" = no; then
10463 if test -z "$predep_objects_CXX"; then
10464 predep_objects_CXX="$p"
10466 predep_objects_CXX="$predep_objects_CXX $p"
10469 if test -z "$postdep_objects_CXX"; then
10470 postdep_objects_CXX="$p"
10472 postdep_objects_CXX="$postdep_objects_CXX $p"
10477 *) ;; # Ignore the rest.
10485 echo "libtool.m4: error: problem compiling CXX test program"
10488 $rm -f confest.$objext
10490 case " $postdeps_CXX " in
10491 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10494 lt_prog_compiler_wl_CXX=
10495 lt_prog_compiler_pic_CXX=
10496 lt_prog_compiler_static_CXX=
10498 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10499 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10501 # C++ specific cases for pic, static, wl, etc.
10502 if test "$GXX" = yes; then
10503 lt_prog_compiler_wl_CXX='-Wl,'
10504 lt_prog_compiler_static_CXX='-static'
10508 # All AIX code is PIC.
10509 if test "$host_cpu" = ia64; then
10510 # AIX 5 now supports IA64 processor
10511 lt_prog_compiler_static_CXX='-Bstatic'
10515 # FIXME: we need at least 68020 code to build shared libraries, but
10516 # adding the `-m68020' flag to GCC prevents building anything better,
10518 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10520 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10521 # PIC is the default for these OSes.
10523 mingw* | os2* | pw32*)
10524 # This hack is so that the source file can tell whether it is being
10525 # built for inclusion in a dll (and should export symbols for example).
10526 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10528 darwin* | rhapsody*)
10529 # PIC is the default on this platform
10530 # Common symbols not allowed in MH_DYLIB files
10531 lt_prog_compiler_pic_CXX='-fno-common'
10534 # DJGPP does not support shared libraries at all
10535 lt_prog_compiler_pic_CXX=
10538 if test -d /usr/nec; then
10539 lt_prog_compiler_pic_CXX=-Kconform_pic
10543 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10544 # not for PA HP-UX.
10545 case "$host_cpu" in
10549 lt_prog_compiler_pic_CXX='-fPIC'
10554 lt_prog_compiler_pic_CXX='-fPIC'
10560 # All AIX code is PIC.
10561 if test "$host_cpu" = ia64; then
10562 # AIX 5 now supports IA64 processor
10563 lt_prog_compiler_static_CXX='-Bstatic'
10565 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10569 case $cc_basename in
10571 # Green Hills C++ Compiler
10572 # _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"
10577 case $cc_basename in
10579 lt_prog_compiler_pic_CXX='-KPIC'
10582 # Green Hills C++ Compiler
10583 lt_prog_compiler_pic_CXX='-pic'
10590 # FreeBSD uses GNU C++
10592 hpux9* | hpux10* | hpux11*)
10593 case $cc_basename in
10595 lt_prog_compiler_wl_CXX='-Wl,'
10596 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10597 if test "$host_cpu" != ia64; then
10598 lt_prog_compiler_pic_CXX='+Z'
10602 lt_prog_compiler_wl_CXX='-Wl,'
10603 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10604 case "$host_cpu" in
10609 lt_prog_compiler_pic_CXX='+Z'
10617 irix5* | irix6* | nonstopux*)
10618 case $cc_basename in
10620 lt_prog_compiler_wl_CXX='-Wl,'
10621 lt_prog_compiler_static_CXX='-non_shared'
10622 # CC pic flag -KPIC is the default.
10629 case $cc_basename in
10632 lt_prog_compiler_wl_CXX='--backend -Wl,'
10633 lt_prog_compiler_pic_CXX='-fPIC'
10637 lt_prog_compiler_wl_CXX='-Wl,'
10638 lt_prog_compiler_pic_CXX='-KPIC'
10639 lt_prog_compiler_static_CXX='-static'
10643 # Make sure the PIC flag is empty. It appears that all Alpha
10644 # Linux and Compaq Tru64 Unix objects are PIC.
10645 lt_prog_compiler_pic_CXX=
10646 lt_prog_compiler_static_CXX='-non_shared'
10657 case $cc_basename in
10659 lt_prog_compiler_pic_CXX='-W c,exportall'
10667 osf3* | osf4* | osf5*)
10668 case $cc_basename in
10670 lt_prog_compiler_wl_CXX='--backend -Wl,'
10673 # Rational C++ 2.4.1
10674 lt_prog_compiler_pic_CXX='-pic'
10677 # Digital/Compaq C++
10678 lt_prog_compiler_wl_CXX='-Wl,'
10679 # Make sure the PIC flag is empty. It appears that all Alpha
10680 # Linux and Compaq Tru64 Unix objects are PIC.
10681 lt_prog_compiler_pic_CXX=
10682 lt_prog_compiler_static_CXX='-non_shared'
10691 case $cc_basename in
10693 lt_prog_compiler_pic_CXX='-fPIC'
10700 case $cc_basename in
10702 # Sun C++ 4.2, 5.x and Centerline C++
10703 lt_prog_compiler_pic_CXX='-KPIC'
10704 lt_prog_compiler_static_CXX='-Bstatic'
10705 lt_prog_compiler_wl_CXX='-Qoption ld '
10708 # Green Hills C++ Compiler
10709 lt_prog_compiler_pic_CXX='-PIC'
10716 case $cc_basename in
10719 lt_prog_compiler_pic_CXX='-pic'
10720 lt_prog_compiler_static_CXX='-Bstatic'
10724 lt_prog_compiler_pic_CXX='-pic'
10731 case $cc_basename in
10733 # NonStop-UX NCC 3.20
10734 lt_prog_compiler_pic_CXX='-KPIC'
10745 lt_prog_compiler_can_build_shared_CXX=no
10750 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10751 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10754 # Check to make sure the PIC flag actually works.
10756 if test -n "$lt_prog_compiler_pic_CXX"; then
10757 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10758 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10759 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10760 echo $ECHO_N "(cached) $ECHO_C" >&6
10762 lt_prog_compiler_pic_works_CXX=no
10763 ac_outfile=conftest.$ac_objext
10764 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10765 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10766 # Insert the option either (1) after the last *FLAGS variable, or
10767 # (2) before a word containing "conftest.", or (3) at the end.
10768 # Note that $ac_compile itself does not contain backslashes and begins
10769 # with a dollar sign (not a hyphen), so the echo should work correctly.
10770 # The option is referenced via a variable to avoid confusing sed.
10771 lt_compile=`echo "$ac_compile" | $SED \
10772 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10773 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10774 -e 's:$: $lt_compiler_flag:'`
10775 (eval echo "\"\$as_me:10775: $lt_compile\"" >&5)
10776 (eval "$lt_compile" 2>conftest.err)
10778 cat conftest.err >&5
10779 echo "$as_me:10779: \$? = $ac_status" >&5
10780 if (exit $ac_status) && test -s "$ac_outfile"; then
10781 # The compiler can only warn and ignore the option if not recognized
10782 # So say no if there are warnings
10783 if test ! -s conftest.err; then
10784 lt_prog_compiler_pic_works_CXX=yes
10790 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10791 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10793 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10794 case $lt_prog_compiler_pic_CXX in
10796 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10799 lt_prog_compiler_pic_CXX=
10800 lt_prog_compiler_can_build_shared_CXX=no
10805 # For platforms which do not support PIC, -DPIC is meaningless:
10807 lt_prog_compiler_pic_CXX=
10810 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10814 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10815 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10816 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10817 echo $ECHO_N "(cached) $ECHO_C" >&6
10819 lt_cv_prog_compiler_c_o_CXX=no
10820 $rm -r conftest 2>/dev/null
10824 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10826 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10827 # that will create temporary files in the current directory regardless of
10828 # the output directory. Thus, making CWD read-only will cause this test
10829 # to fail, enabling locking or at least warning the user not to do parallel
10833 lt_compiler_flag="-o out/conftest2.$ac_objext"
10834 # Insert the option either (1) after the last *FLAGS variable, or
10835 # (2) before a word containing "conftest.", or (3) at the end.
10836 # Note that $ac_compile itself does not contain backslashes and begins
10837 # with a dollar sign (not a hyphen), so the echo should work correctly.
10838 lt_compile=`echo "$ac_compile" | $SED \
10839 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10840 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10841 -e 's:$: $lt_compiler_flag:'`
10842 (eval echo "\"\$as_me:10842: $lt_compile\"" >&5)
10843 (eval "$lt_compile" 2>out/conftest.err)
10845 cat out/conftest.err >&5
10846 echo "$as_me:10846: \$? = $ac_status" >&5
10847 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10849 # The compiler can only warn and ignore the option if not recognized
10850 # So say no if there are warnings
10851 if test ! -s out/conftest.err; then
10852 lt_cv_prog_compiler_c_o_CXX=yes
10856 $rm conftest* out/*
10863 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10864 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10867 hard_links="nottested"
10868 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10869 # do not overwrite the value of need_locks provided by the user
10870 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10871 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10874 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10876 ln conftest.a conftest.b 2>&5 || hard_links=no
10877 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10878 echo "$as_me:$LINENO: result: $hard_links" >&5
10879 echo "${ECHO_T}$hard_links" >&6
10880 if test "$hard_links" = no; then
10881 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10882 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10889 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10890 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10892 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10895 # If we're using GNU nm, then we don't want the "-C" option.
10896 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10897 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10898 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'
10900 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'
10904 export_symbols_cmds_CXX="$ltdll_cmds"
10907 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10910 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10914 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10915 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10916 test "$ld_shlibs_CXX" = no && can_build_shared=no
10918 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10919 if test "$GCC" = yes; then
10920 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10924 # Do we need to explicitly link libc?
10926 case "x$archive_cmds_need_lc_CXX" in
10928 # Assume -lc should be added
10929 archive_cmds_need_lc_CXX=yes
10931 if test "$enable_shared" = yes && test "$GCC" = yes; then
10932 case $archive_cmds_CXX in
10934 # FIXME: we may have to deal with multi-command sequences.
10937 # Test whether the compiler implicitly links with -lc since on some
10938 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10939 # to ld, don't add -lc before -lgcc.
10940 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10941 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10943 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10946 (eval $ac_compile) 2>&5
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); } 2>conftest.err; then
10952 libobjs=conftest.$ac_objext
10954 wl=$lt_prog_compiler_wl_CXX
10960 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10961 allow_undefined_flag_CXX=
10962 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10963 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10966 (exit $ac_status); }
10968 archive_cmds_need_lc_CXX=no
10970 archive_cmds_need_lc_CXX=yes
10972 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
10974 cat conftest.err 1>&5
10977 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
10978 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
10985 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10986 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10987 hardcode_action_CXX=
10988 if test -n "$hardcode_libdir_flag_spec_CXX" || \
10989 test -n "$runpath_var CXX" || \
10990 test "X$hardcode_automatic_CXX"="Xyes" ; then
10992 # We can hardcode non-existant directories.
10993 if test "$hardcode_direct_CXX" != no &&
10994 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10995 # have to relink, otherwise we might link with an installed library
10996 # when we should be linking with a yet-to-be-installed one
10997 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
10998 test "$hardcode_minus_L_CXX" != no; then
10999 # Linking always hardcodes the temporary library directory.
11000 hardcode_action_CXX=relink
11002 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11003 hardcode_action_CXX=immediate
11006 # We cannot hardcode anything, or else we can only hardcode existing
11008 hardcode_action_CXX=unsupported
11010 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11011 echo "${ECHO_T}$hardcode_action_CXX" >&6
11013 if test "$hardcode_action_CXX" = relink; then
11014 # Fast installation is not supported
11015 enable_fast_install=no
11016 elif test "$shlibpath_overrides_runpath" = yes ||
11017 test "$enable_shared" = no; then
11018 # Fast installation is not necessary
11019 enable_fast_install=needless
11024 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11025 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11026 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11027 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11028 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11029 echo "$as_me:$LINENO: result: yes" >&5
11030 echo "${ECHO_T}yes" >&6
11032 # FIXME - insert some real tests, host_os isn't really good enough
11035 if test -n "$STRIP" ; then
11036 striplib="$STRIP -x"
11037 echo "$as_me:$LINENO: result: yes" >&5
11038 echo "${ECHO_T}yes" >&6
11040 echo "$as_me:$LINENO: result: no" >&5
11041 echo "${ECHO_T}no" >&6
11045 echo "$as_me:$LINENO: result: no" >&5
11046 echo "${ECHO_T}no" >&6
11051 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11052 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11053 library_names_spec=
11054 libname_spec='lib$name'
11058 postuninstall_cmds=
11062 shlibpath_overrides_runpath=unknown
11064 dynamic_linker="$host_os ld.so"
11065 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11066 if test "$GCC" = yes; then
11067 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11068 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11069 # if the path contains ";" then we assume it to be the separator
11070 # otherwise default to the standard path separator (i.e. ":") - it is
11071 # assumed that no part of a normal pathname contains ";" but that should
11072 # okay in the real world where ";" in dirpaths is itself problematic.
11073 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11075 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11078 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11080 need_lib_prefix=unknown
11081 hardcode_into_libs=no
11083 # when you set need_version to no, make sure it does not cause -set_version
11084 # flags to be left without arguments
11085 need_version=unknown
11090 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11091 shlibpath_var=LIBPATH
11093 # AIX 3 has no versioning support, so we append a major version to the name.
11094 soname_spec='${libname}${release}${shared_ext}$major'
11101 hardcode_into_libs=yes
11102 if test "$host_cpu" = ia64; then
11103 # AIX 5 supports IA64
11104 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11105 shlibpath_var=LD_LIBRARY_PATH
11107 # With GCC up to 2.95.x, collect2 would create an import file
11108 # for dependence libraries. The import file would start with
11109 # the line `#! .'. This would cause the generated library to
11110 # depend on `.', always an invalid library. This was fixed in
11111 # development snapshots of GCC prior to 3.0.
11113 aix4 | aix4.[01] | aix4.[01].*)
11114 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11116 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11119 can_build_shared=no
11123 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11124 # soname into executable. Probably we can add versioning support to
11125 # collect2, so additional links can be useful in future.
11126 if test "$aix_use_runtimelinking" = yes; then
11127 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11128 # instead of lib<name>.a to let people know that these are not
11129 # typical AIX shared libraries.
11130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11132 # We preserve .a as extension for shared libraries through AIX4.2
11133 # and later when we are not doing run time linking.
11134 library_names_spec='${libname}${release}.a $libname.a'
11135 soname_spec='${libname}${release}${shared_ext}$major'
11137 shlibpath_var=LIBPATH
11142 library_names_spec='$libname.ixlibrary $libname.a'
11143 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11144 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'
11148 library_names_spec='${libname}${shared_ext}'
11149 dynamic_linker="$host_os ld.so"
11150 shlibpath_var=LIBRARY_PATH
11156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11157 soname_spec='${libname}${release}${shared_ext}$major'
11158 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11159 shlibpath_var=LD_LIBRARY_PATH
11160 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11161 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11162 # the default ld.so.conf also contains /usr/contrib/lib and
11163 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11164 # libtool to hard-code these into programs
11167 cygwin* | mingw* | pw32*)
11168 version_type=windows
11173 case $GCC,$host_os in
11174 yes,cygwin* | yes,mingw* | yes,pw32*)
11175 library_names_spec='$libname.dll.a'
11176 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11177 postinstall_cmds='base_file=`basename \${file}`~
11178 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11179 dldir=$destdir/`dirname \$dlpath`~
11180 test -d \$dldir || mkdir -p \$dldir~
11181 $install_prog $dir/$dlname \$dldir/$dlname'
11182 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11183 dlpath=$dir/\$dldll~
11185 shlibpath_overrides_runpath=yes
11189 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11190 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11191 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11194 # MinGW DLLs use traditional 'lib' prefix
11195 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11196 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11197 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11198 # It is most probably a Windows format PATH printed by
11199 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11200 # path with ; separators, and with drive letters. We can handle the
11201 # drive letters (cygwin fileutils understands them), so leave them,
11202 # especially as we might pass files found there to a mingw objdump,
11203 # which wouldn't understand a cygwinified path. Ahh.
11204 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11206 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11210 # pw32 DLLs use 'pw' prefix rather than 'lib'
11211 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11217 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11220 dynamic_linker='Win32 ld.exe'
11221 # FIXME: first we should search . and the directory the executable is in
11225 darwin* | rhapsody*)
11226 dynamic_linker="$host_os dyld"
11227 version_type=darwin
11230 # FIXME: Relying on posixy $() will cause problems for
11231 # cross-compilation, but unfortunately the echo tests do not
11232 # yet detect zsh echo's removal of \ escapes.
11233 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11234 soname_spec='${libname}${release}${major}$shared_ext'
11235 shlibpath_overrides_runpath=yes
11236 shlibpath_var=DYLD_LIBRARY_PATH
11237 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11238 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11239 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11240 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"`
11242 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11250 soname_spec='${libname}${release}${shared_ext}$major'
11251 shlibpath_var=LD_LIBRARY_PATH
11259 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11260 version_type=freebsd-$objformat
11261 case $version_type in
11263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11268 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11272 shlibpath_var=LD_LIBRARY_PATH
11275 shlibpath_overrides_runpath=yes
11277 freebsd3.01* | freebsdelf3.01*)
11278 shlibpath_overrides_runpath=yes
11279 hardcode_into_libs=yes
11282 shlibpath_overrides_runpath=no
11283 hardcode_into_libs=yes
11292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11293 soname_spec='${libname}${release}${shared_ext}$major'
11294 shlibpath_var=LD_LIBRARY_PATH
11295 hardcode_into_libs=yes
11298 hpux9* | hpux10* | hpux11*)
11299 # Give a soname corresponding to the major version so that dld.sl refuses to
11300 # link against other versions.
11304 case "$host_cpu" in
11307 hardcode_into_libs=yes
11308 dynamic_linker="$host_os dld.so"
11309 shlibpath_var=LD_LIBRARY_PATH
11310 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11312 soname_spec='${libname}${release}${shared_ext}$major'
11313 if test "X$HPUX_IA64_MODE" = X32; then
11314 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11316 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11318 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11322 hardcode_into_libs=yes
11323 dynamic_linker="$host_os dld.sl"
11324 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11325 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11327 soname_spec='${libname}${release}${shared_ext}$major'
11328 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11329 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11333 dynamic_linker="$host_os dld.sl"
11334 shlibpath_var=SHLIB_PATH
11335 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11337 soname_spec='${libname}${release}${shared_ext}$major'
11340 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11341 postinstall_cmds='chmod 555 $lib'
11344 irix5* | irix6* | nonstopux*)
11346 nonstopux*) version_type=nonstopux ;;
11348 if test "$lt_cv_prog_gnu_ld" = yes; then
11356 soname_spec='${libname}${release}${shared_ext}$major'
11357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11359 irix5* | nonstopux*)
11360 libsuff= shlibsuff=
11363 case $LD in # libtool.m4 will add one of these switches to LD
11364 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11365 libsuff= shlibsuff= libmagic=32-bit;;
11366 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11367 libsuff=32 shlibsuff=N32 libmagic=N32;;
11368 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11369 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11370 *) libsuff= shlibsuff= libmagic=never-match;;
11374 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11375 shlibpath_overrides_runpath=no
11376 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11377 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11378 hardcode_into_libs=yes
11381 # No shared lib support for Linux oldld, aout, or coff.
11382 linux*oldld* | linux*aout* | linux*coff*)
11386 # This must be Linux ELF.
11391 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11392 soname_spec='${libname}${release}${shared_ext}$major'
11393 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11394 shlibpath_var=LD_LIBRARY_PATH
11395 shlibpath_overrides_runpath=no
11396 # This implies no fast_install, which is unacceptable.
11397 # Some rework will be needed to allow for fast_install
11398 # before this can be enabled.
11399 hardcode_into_libs=yes
11401 # We used to test for /lib/ld.so.1 and disable shared libraries on
11402 # powerpc, because MkLinux only supported shared libraries with the
11403 # GNU dynamic linker. Since this was broken with cross compilers,
11404 # most powerpc-linux boxes support dynamic linking these days and
11405 # people can always --disable-shared, the test was removed, and we
11406 # assume the GNU/Linux dynamic linker is in use.
11407 dynamic_linker='GNU/Linux ld.so'
11414 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11415 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11416 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11417 dynamic_linker='NetBSD (a.out) ld.so'
11419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11420 soname_spec='${libname}${release}${shared_ext}$major'
11421 dynamic_linker='NetBSD ld.elf_so'
11423 shlibpath_var=LD_LIBRARY_PATH
11424 shlibpath_overrides_runpath=yes
11425 hardcode_into_libs=yes
11430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11431 shlibpath_var=LD_LIBRARY_PATH
11432 shlibpath_overrides_runpath=yes
11439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11440 soname_spec='${libname}${release}${shared_ext}$major'
11441 shlibpath_var=LD_LIBRARY_PATH
11442 shlibpath_overrides_runpath=yes
11449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11450 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11451 shlibpath_var=LD_LIBRARY_PATH
11452 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11454 openbsd2.[89] | openbsd2.[89].*)
11455 shlibpath_overrides_runpath=no
11458 shlibpath_overrides_runpath=yes
11462 shlibpath_overrides_runpath=yes
11467 libname_spec='$name'
11470 library_names_spec='$libname${shared_ext} $libname.a'
11471 dynamic_linker='OS/2 ld.exe'
11472 shlibpath_var=LIBPATH
11475 osf3* | osf4* | osf5*)
11479 soname_spec='${libname}${release}${shared_ext}$major'
11480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11481 shlibpath_var=LD_LIBRARY_PATH
11482 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11483 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11488 soname_spec='${libname}${release}${shared_ext}$major'
11489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11490 shlibpath_var=LD_LIBRARY_PATH
11497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11498 soname_spec='${libname}${release}${shared_ext}$major'
11499 shlibpath_var=LD_LIBRARY_PATH
11500 shlibpath_overrides_runpath=yes
11501 hardcode_into_libs=yes
11502 # ldd complains unless libraries are executable
11503 postinstall_cmds='chmod +x $lib'
11508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11509 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11510 shlibpath_var=LD_LIBRARY_PATH
11511 shlibpath_overrides_runpath=yes
11512 if test "$with_gnu_ld" = yes; then
11518 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11521 soname_spec='${libname}${release}${shared_ext}$major'
11522 shlibpath_var=LD_LIBRARY_PATH
11523 case $host_vendor in
11525 shlibpath_overrides_runpath=no
11527 export_dynamic_flag_spec='${wl}-Blargedynsym'
11528 runpath_var=LD_RUN_PATH
11536 shlibpath_overrides_runpath=no
11537 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11543 if test -d /usr/nec ;then
11545 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11546 soname_spec='$libname${shared_ext}.$major'
11547 shlibpath_var=LD_LIBRARY_PATH
11553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11554 soname_spec='${libname}${release}${shared_ext}$major'
11555 shlibpath_var=LD_LIBRARY_PATH
11562 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11563 echo "${ECHO_T}$dynamic_linker" >&6
11564 test "$dynamic_linker" = no && can_build_shared=no
11566 if test "x$enable_dlopen" != xyes; then
11567 enable_dlopen=unknown
11568 enable_dlopen_self=unknown
11569 enable_dlopen_self_static=unknown
11576 lt_cv_dlopen="load_add_on"
11578 lt_cv_dlopen_self=yes
11582 lt_cv_dlopen="LoadLibrary"
11587 lt_cv_dlopen="dlopen"
11592 # if libdl is installed we need to link against it
11593 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11594 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11595 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11596 echo $ECHO_N "(cached) $ECHO_C" >&6
11598 ac_check_lib_save_LIBS=$LIBS
11600 cat >conftest.$ac_ext <<_ACEOF
11601 #line $LINENO "configure"
11604 cat confdefs.h >>conftest.$ac_ext
11605 cat >>conftest.$ac_ext <<_ACEOF
11606 /* end confdefs.h. */
11608 /* Override any gcc2 internal prototype to avoid an error. */
11612 /* We use char because int might match the return type of a gcc2
11613 builtin and then its argument prototype would still apply. */
11623 rm -f conftest.$ac_objext conftest$ac_exeext
11624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11625 (eval $ac_link) 2>&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); } &&
11629 { ac_try='test -s conftest$ac_exeext'
11630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11631 (eval $ac_try) 2>&5
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); }; }; then
11635 ac_cv_lib_dl_dlopen=yes
11637 echo "$as_me: failed program was:" >&5
11638 sed 's/^/| /' conftest.$ac_ext >&5
11640 ac_cv_lib_dl_dlopen=no
11642 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11643 LIBS=$ac_check_lib_save_LIBS
11645 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11646 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11647 if test $ac_cv_lib_dl_dlopen = yes; then
11648 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11651 lt_cv_dlopen="dyld"
11653 lt_cv_dlopen_self=yes
11660 echo "$as_me:$LINENO: checking for shl_load" >&5
11661 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11662 if test "${ac_cv_func_shl_load+set}" = set; then
11663 echo $ECHO_N "(cached) $ECHO_C" >&6
11665 cat >conftest.$ac_ext <<_ACEOF
11666 #line $LINENO "configure"
11669 cat confdefs.h >>conftest.$ac_ext
11670 cat >>conftest.$ac_ext <<_ACEOF
11671 /* end confdefs.h. */
11672 /* System header to define __stub macros and hopefully few prototypes,
11673 which can conflict with char shl_load (); below.
11674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11675 <limits.h> exists even on freestanding compilers. */
11677 # include <limits.h>
11679 # include <assert.h>
11681 /* Override any gcc2 internal prototype to avoid an error. */
11686 /* We use char because int might match the return type of a gcc2
11687 builtin and then its argument prototype would still apply. */
11689 /* The GNU C library defines this for functions which it implements
11690 to always fail with ENOSYS. Some functions are actually named
11691 something starting with __ and the normal name is an alias. */
11692 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11695 char (*f) () = shl_load;
11704 return f != shl_load;
11709 rm -f conftest.$ac_objext conftest$ac_exeext
11710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11711 (eval $ac_link) 2>&5
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); } &&
11715 { ac_try='test -s conftest$ac_exeext'
11716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11717 (eval $ac_try) 2>&5
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); }; }; then
11721 ac_cv_func_shl_load=yes
11723 echo "$as_me: failed program was:" >&5
11724 sed 's/^/| /' conftest.$ac_ext >&5
11726 ac_cv_func_shl_load=no
11728 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11730 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11731 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11732 if test $ac_cv_func_shl_load = yes; then
11733 lt_cv_dlopen="shl_load"
11735 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11736 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11737 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11738 echo $ECHO_N "(cached) $ECHO_C" >&6
11740 ac_check_lib_save_LIBS=$LIBS
11742 cat >conftest.$ac_ext <<_ACEOF
11743 #line $LINENO "configure"
11746 cat confdefs.h >>conftest.$ac_ext
11747 cat >>conftest.$ac_ext <<_ACEOF
11748 /* end confdefs.h. */
11750 /* Override any gcc2 internal prototype to avoid an error. */
11754 /* We use char because int might match the return type of a gcc2
11755 builtin and then its argument prototype would still apply. */
11765 rm -f conftest.$ac_objext conftest$ac_exeext
11766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11767 (eval $ac_link) 2>&5
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); } &&
11771 { ac_try='test -s conftest$ac_exeext'
11772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11773 (eval $ac_try) 2>&5
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); }; }; then
11777 ac_cv_lib_dld_shl_load=yes
11779 echo "$as_me: failed program was:" >&5
11780 sed 's/^/| /' conftest.$ac_ext >&5
11782 ac_cv_lib_dld_shl_load=no
11784 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11785 LIBS=$ac_check_lib_save_LIBS
11787 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11788 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11789 if test $ac_cv_lib_dld_shl_load = yes; then
11790 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11792 echo "$as_me:$LINENO: checking for dlopen" >&5
11793 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11794 if test "${ac_cv_func_dlopen+set}" = set; then
11795 echo $ECHO_N "(cached) $ECHO_C" >&6
11797 cat >conftest.$ac_ext <<_ACEOF
11798 #line $LINENO "configure"
11801 cat confdefs.h >>conftest.$ac_ext
11802 cat >>conftest.$ac_ext <<_ACEOF
11803 /* end confdefs.h. */
11804 /* System header to define __stub macros and hopefully few prototypes,
11805 which can conflict with char dlopen (); below.
11806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11807 <limits.h> exists even on freestanding compilers. */
11809 # include <limits.h>
11811 # include <assert.h>
11813 /* Override any gcc2 internal prototype to avoid an error. */
11818 /* We use char because int might match the return type of a gcc2
11819 builtin and then its argument prototype would still apply. */
11821 /* The GNU C library defines this for functions which it implements
11822 to always fail with ENOSYS. Some functions are actually named
11823 something starting with __ and the normal name is an alias. */
11824 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11827 char (*f) () = dlopen;
11836 return f != dlopen;
11841 rm -f conftest.$ac_objext conftest$ac_exeext
11842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11843 (eval $ac_link) 2>&5
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); } &&
11847 { ac_try='test -s conftest$ac_exeext'
11848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11849 (eval $ac_try) 2>&5
11851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852 (exit $ac_status); }; }; then
11853 ac_cv_func_dlopen=yes
11855 echo "$as_me: failed program was:" >&5
11856 sed 's/^/| /' conftest.$ac_ext >&5
11858 ac_cv_func_dlopen=no
11860 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11862 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11863 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11864 if test $ac_cv_func_dlopen = yes; then
11865 lt_cv_dlopen="dlopen"
11867 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11868 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11869 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11870 echo $ECHO_N "(cached) $ECHO_C" >&6
11872 ac_check_lib_save_LIBS=$LIBS
11874 cat >conftest.$ac_ext <<_ACEOF
11875 #line $LINENO "configure"
11878 cat confdefs.h >>conftest.$ac_ext
11879 cat >>conftest.$ac_ext <<_ACEOF
11880 /* end confdefs.h. */
11882 /* Override any gcc2 internal prototype to avoid an error. */
11886 /* We use char because int might match the return type of a gcc2
11887 builtin and then its argument prototype would still apply. */
11897 rm -f conftest.$ac_objext conftest$ac_exeext
11898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11899 (eval $ac_link) 2>&5
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); } &&
11903 { ac_try='test -s conftest$ac_exeext'
11904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11905 (eval $ac_try) 2>&5
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); }; }; then
11909 ac_cv_lib_dl_dlopen=yes
11911 echo "$as_me: failed program was:" >&5
11912 sed 's/^/| /' conftest.$ac_ext >&5
11914 ac_cv_lib_dl_dlopen=no
11916 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11917 LIBS=$ac_check_lib_save_LIBS
11919 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11920 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11921 if test $ac_cv_lib_dl_dlopen = yes; then
11922 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11924 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11925 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11926 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11927 echo $ECHO_N "(cached) $ECHO_C" >&6
11929 ac_check_lib_save_LIBS=$LIBS
11930 LIBS="-lsvld $LIBS"
11931 cat >conftest.$ac_ext <<_ACEOF
11932 #line $LINENO "configure"
11935 cat confdefs.h >>conftest.$ac_ext
11936 cat >>conftest.$ac_ext <<_ACEOF
11937 /* end confdefs.h. */
11939 /* Override any gcc2 internal prototype to avoid an error. */
11943 /* We use char because int might match the return type of a gcc2
11944 builtin and then its argument prototype would still apply. */
11954 rm -f conftest.$ac_objext conftest$ac_exeext
11955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11956 (eval $ac_link) 2>&5
11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); } &&
11960 { ac_try='test -s conftest$ac_exeext'
11961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11962 (eval $ac_try) 2>&5
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); }; }; then
11966 ac_cv_lib_svld_dlopen=yes
11968 echo "$as_me: failed program was:" >&5
11969 sed 's/^/| /' conftest.$ac_ext >&5
11971 ac_cv_lib_svld_dlopen=no
11973 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11974 LIBS=$ac_check_lib_save_LIBS
11976 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11977 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11978 if test $ac_cv_lib_svld_dlopen = yes; then
11979 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11981 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11982 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11983 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11984 echo $ECHO_N "(cached) $ECHO_C" >&6
11986 ac_check_lib_save_LIBS=$LIBS
11988 cat >conftest.$ac_ext <<_ACEOF
11989 #line $LINENO "configure"
11992 cat confdefs.h >>conftest.$ac_ext
11993 cat >>conftest.$ac_ext <<_ACEOF
11994 /* end confdefs.h. */
11996 /* Override any gcc2 internal prototype to avoid an error. */
12000 /* We use char because int might match the return type of a gcc2
12001 builtin and then its argument prototype would still apply. */
12011 rm -f conftest.$ac_objext conftest$ac_exeext
12012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12013 (eval $ac_link) 2>&5
12015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12016 (exit $ac_status); } &&
12017 { ac_try='test -s conftest$ac_exeext'
12018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12019 (eval $ac_try) 2>&5
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); }; }; then
12023 ac_cv_lib_dld_dld_link=yes
12025 echo "$as_me: failed program was:" >&5
12026 sed 's/^/| /' conftest.$ac_ext >&5
12028 ac_cv_lib_dld_dld_link=no
12030 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12031 LIBS=$ac_check_lib_save_LIBS
12033 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12034 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12035 if test $ac_cv_lib_dld_dld_link = yes; then
12036 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12057 if test "x$lt_cv_dlopen" != xno; then
12063 case $lt_cv_dlopen in
12065 save_CPPFLAGS="$CPPFLAGS"
12066 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12068 save_LDFLAGS="$LDFLAGS"
12069 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12072 LIBS="$lt_cv_dlopen_libs $LIBS"
12074 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12075 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12076 if test "${lt_cv_dlopen_self+set}" = set; then
12077 echo $ECHO_N "(cached) $ECHO_C" >&6
12079 if test "$cross_compiling" = yes; then :
12080 lt_cv_dlopen_self=cross
12082 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12083 lt_status=$lt_dlunknown
12084 cat > conftest.$ac_ext <<EOF
12085 #line 12085 "configure"
12086 #include "confdefs.h"
12095 # define LT_DLGLOBAL RTLD_GLOBAL
12098 # define LT_DLGLOBAL DL_GLOBAL
12100 # define LT_DLGLOBAL 0
12104 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12105 find out it does not work in some platform. */
12106 #ifndef LT_DLLAZY_OR_NOW
12108 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12111 # define LT_DLLAZY_OR_NOW DL_LAZY
12114 # define LT_DLLAZY_OR_NOW RTLD_NOW
12117 # define LT_DLLAZY_OR_NOW DL_NOW
12119 # define LT_DLLAZY_OR_NOW 0
12127 extern "C" void exit (int);
12130 void fnord() { int i=42;}
12133 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12134 int status = $lt_dlunknown;
12138 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12139 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12140 /* dlclose (self); */
12146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12147 (eval $ac_link) 2>&5
12149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12151 (./conftest; exit; ) 2>/dev/null
12153 case x$lt_status in
12154 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12155 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12156 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12159 # compilation failed
12160 lt_cv_dlopen_self=no
12167 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12168 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12170 if test "x$lt_cv_dlopen_self" = xyes; then
12171 LDFLAGS="$LDFLAGS $link_static_flag"
12172 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12173 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12174 if test "${lt_cv_dlopen_self_static+set}" = set; then
12175 echo $ECHO_N "(cached) $ECHO_C" >&6
12177 if test "$cross_compiling" = yes; then :
12178 lt_cv_dlopen_self_static=cross
12180 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12181 lt_status=$lt_dlunknown
12182 cat > conftest.$ac_ext <<EOF
12183 #line 12183 "configure"
12184 #include "confdefs.h"
12193 # define LT_DLGLOBAL RTLD_GLOBAL
12196 # define LT_DLGLOBAL DL_GLOBAL
12198 # define LT_DLGLOBAL 0
12202 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12203 find out it does not work in some platform. */
12204 #ifndef LT_DLLAZY_OR_NOW
12206 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12209 # define LT_DLLAZY_OR_NOW DL_LAZY
12212 # define LT_DLLAZY_OR_NOW RTLD_NOW
12215 # define LT_DLLAZY_OR_NOW DL_NOW
12217 # define LT_DLLAZY_OR_NOW 0
12225 extern "C" void exit (int);
12228 void fnord() { int i=42;}
12231 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12232 int status = $lt_dlunknown;
12236 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12237 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12238 /* dlclose (self); */
12244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12245 (eval $ac_link) 2>&5
12247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12249 (./conftest; exit; ) 2>/dev/null
12251 case x$lt_status in
12252 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12253 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12254 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12257 # compilation failed
12258 lt_cv_dlopen_self_static=no
12265 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12266 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12269 CPPFLAGS="$save_CPPFLAGS"
12270 LDFLAGS="$save_LDFLAGS"
12275 case $lt_cv_dlopen_self in
12276 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12277 *) enable_dlopen_self=unknown ;;
12280 case $lt_cv_dlopen_self_static in
12281 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12282 *) enable_dlopen_self_static=unknown ;;
12287 # The else clause should only fire when bootstrapping the
12288 # libtool distribution, otherwise you forgot to ship ltmain.sh
12289 # with your package, and you will get complaints that there are
12290 # no rules to generate ltmain.sh.
12291 if test -f "$ltmain"; then
12292 # See if we are running on zsh, and set the options which allow our commands through
12293 # without removal of \ escapes.
12294 if test -n "${ZSH_VERSION+set}" ; then
12295 setopt NO_GLOB_SUBST
12297 # Now quote all the things that may contain metacharacters while being
12298 # careful not to overquote the AC_SUBSTed values. We take copies of the
12299 # variables and quote the copies for generation of the libtool script.
12300 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12301 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12302 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12303 deplibs_check_method reload_flag reload_cmds need_locks \
12304 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12305 lt_cv_sys_global_symbol_to_c_name_address \
12306 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12307 old_postinstall_cmds old_postuninstall_cmds \
12311 lt_prog_compiler_wl_CXX \
12312 lt_prog_compiler_pic_CXX \
12313 lt_prog_compiler_static_CXX \
12314 lt_prog_compiler_no_builtin_flag_CXX \
12315 export_dynamic_flag_spec_CXX \
12316 thread_safe_flag_spec_CXX \
12317 whole_archive_flag_spec_CXX \
12318 enable_shared_with_static_runtimes_CXX \
12319 old_archive_cmds_CXX \
12320 old_archive_from_new_cmds_CXX \
12321 predep_objects_CXX \
12322 postdep_objects_CXX \
12325 compiler_lib_search_path_CXX \
12327 archive_expsym_cmds_CXX \
12328 postinstall_cmds_CXX \
12329 postuninstall_cmds_CXX \
12330 old_archive_from_expsyms_cmds_CXX \
12331 allow_undefined_flag_CXX \
12332 no_undefined_flag_CXX \
12333 export_symbols_cmds_CXX \
12334 hardcode_libdir_flag_spec_CXX \
12335 hardcode_libdir_flag_spec_ld_CXX \
12336 hardcode_libdir_separator_CXX \
12337 hardcode_automatic_CXX \
12339 module_expsym_cmds_CXX \
12340 lt_cv_prog_compiler_c_o_CXX \
12341 exclude_expsyms_CXX \
12342 include_expsyms_CXX; do
12345 old_archive_cmds_CXX | \
12346 old_archive_from_new_cmds_CXX | \
12347 archive_cmds_CXX | \
12348 archive_expsym_cmds_CXX | \
12349 module_cmds_CXX | \
12350 module_expsym_cmds_CXX | \
12351 old_archive_from_expsyms_cmds_CXX | \
12352 export_symbols_cmds_CXX | \
12353 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12354 postinstall_cmds | postuninstall_cmds | \
12355 old_postinstall_cmds | old_postuninstall_cmds | \
12356 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12357 # Double-quote double-evaled strings.
12358 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12361 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12367 *'\$0 --fallback-echo"')
12368 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12374 cat <<__EOF__ >> "$cfgfile"
12375 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12377 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12379 # Shell to use when invoking shell scripts.
12382 # Whether or not to build shared libraries.
12383 build_libtool_libs=$enable_shared
12385 # Whether or not to build static libraries.
12386 build_old_libs=$enable_static
12388 # Whether or not to add -lc for building shared libraries.
12389 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12391 # Whether or not to disallow shared libs when runtime libs are static
12392 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12394 # Whether or not to optimize for fast installation.
12395 fast_install=$enable_fast_install
12398 host_alias=$host_alias
12401 # An echo program that does not interpret backslashes.
12406 AR_FLAGS=$lt_AR_FLAGS
12411 # A language-specific compiler.
12412 CC=$lt_compiler_CXX
12414 # Is the compiler the GNU C compiler?
12420 # The linker used to build libraries.
12423 # Whether we need hard or soft links.
12426 # A BSD-compatible nm program.
12429 # A symbol stripping program
12432 # Used to examine libraries when file_magic_cmd begins "file"
12433 MAGIC_CMD=$MAGIC_CMD
12435 # Used on cygwin: DLL creation program.
12438 # Used on cygwin: object dumper.
12441 # Used on cygwin: assembler.
12444 # The name of the directory that contains temporary libtool files.
12447 # How to create reloadable object files.
12448 reload_flag=$lt_reload_flag
12449 reload_cmds=$lt_reload_cmds
12451 # How to pass a linker flag through the compiler.
12452 wl=$lt_lt_prog_compiler_wl_CXX
12454 # Object file suffix (normally "o").
12455 objext="$ac_objext"
12457 # Old archive suffix (normally "a").
12460 # Shared library suffix (normally ".so").
12463 # Executable file suffix (normally "").
12466 # Additional compiler flags for building library objects.
12467 pic_flag=$lt_lt_prog_compiler_pic_CXX
12470 # What is the maximum length of a command?
12471 max_cmd_len=$lt_cv_sys_max_cmd_len
12473 # Does compiler simultaneously support -c and -o options?
12474 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12476 # Must we lock files when doing compilation ?
12477 need_locks=$lt_need_locks
12479 # Do we need the lib prefix for modules?
12480 need_lib_prefix=$need_lib_prefix
12482 # Do we need a version for libraries?
12483 need_version=$need_version
12485 # Whether dlopen is supported.
12486 dlopen_support=$enable_dlopen
12488 # Whether dlopen of programs is supported.
12489 dlopen_self=$enable_dlopen_self
12491 # Whether dlopen of statically linked programs is supported.
12492 dlopen_self_static=$enable_dlopen_self_static
12494 # Compiler flag to prevent dynamic linking.
12495 link_static_flag=$lt_lt_prog_compiler_static_CXX
12497 # Compiler flag to turn off builtin functions.
12498 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12500 # Compiler flag to allow reflexive dlopens.
12501 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12503 # Compiler flag to generate shared objects directly from archives.
12504 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12506 # Compiler flag to generate thread-safe objects.
12507 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12509 # Library versioning type.
12510 version_type=$version_type
12512 # Format of library name prefix.
12513 libname_spec=$lt_libname_spec
12515 # List of archive names. First name is the real one, the rest are links.
12516 # The last name is the one that the linker finds with -lNAME.
12517 library_names_spec=$lt_library_names_spec
12519 # The coded name of the library, if different from the real name.
12520 soname_spec=$lt_soname_spec
12522 # Commands used to build and install an old-style archive.
12524 old_archive_cmds=$lt_old_archive_cmds_CXX
12525 old_postinstall_cmds=$lt_old_postinstall_cmds
12526 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12528 # Create an old-style archive from a shared archive.
12529 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12531 # Create a temporary old-style archive to link instead of a shared archive.
12532 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12534 # Commands used to build and install a shared archive.
12535 archive_cmds=$lt_archive_cmds_CXX
12536 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12537 postinstall_cmds=$lt_postinstall_cmds
12538 postuninstall_cmds=$lt_postuninstall_cmds
12540 # Commands used to build a loadable module (assumed same as above if empty)
12541 module_cmds=$lt_module_cmds_CXX
12542 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12544 # Commands to strip libraries.
12545 old_striplib=$lt_old_striplib
12546 striplib=$lt_striplib
12548 # Dependencies to place before the objects being linked to create a
12550 predep_objects=$lt_predep_objects_CXX
12552 # Dependencies to place after the objects being linked to create a
12554 postdep_objects=$lt_postdep_objects_CXX
12556 # Dependencies to place before the objects being linked to create a
12558 predeps=$lt_predeps_CXX
12560 # Dependencies to place after the objects being linked to create a
12562 postdeps=$lt_postdeps_CXX
12564 # The library search path used internally by the compiler when linking
12565 # a shared library.
12566 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12568 # Method to check whether dependent libraries are shared objects.
12569 deplibs_check_method=$lt_deplibs_check_method
12571 # Command to use when deplibs_check_method == file_magic.
12572 file_magic_cmd=$lt_file_magic_cmd
12574 # Flag that allows shared libraries with undefined symbols to be built.
12575 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12577 # Flag that forces no undefined symbols.
12578 no_undefined_flag=$lt_no_undefined_flag_CXX
12580 # Commands used to finish a libtool library installation in a directory.
12581 finish_cmds=$lt_finish_cmds
12583 # Same as above, but a single script fragment to be evaled but not shown.
12584 finish_eval=$lt_finish_eval
12586 # Take the output of nm and produce a listing of raw symbols and C names.
12587 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12589 # Transform the output of nm in a proper C declaration
12590 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12592 # Transform the output of nm in a C name address pair
12593 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12595 # This is the shared library runtime path variable.
12596 runpath_var=$runpath_var
12598 # This is the shared library path variable.
12599 shlibpath_var=$shlibpath_var
12601 # Is shlibpath searched before the hard-coded library search path?
12602 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12604 # How to hardcode a shared library path into an executable.
12605 hardcode_action=$hardcode_action_CXX
12607 # Whether we should hardcode library paths into libraries.
12608 hardcode_into_libs=$hardcode_into_libs
12610 # Flag to hardcode \$libdir into a binary during linking.
12611 # This must work even if \$libdir does not exist.
12612 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12614 # If ld is used when linking, flag to hardcode \$libdir into
12615 # a binary during linking. This must work even if \$libdir does
12617 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12619 # Whether we need a single -rpath flag with a separated argument.
12620 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12622 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12623 # resulting binary.
12624 hardcode_direct=$hardcode_direct_CXX
12626 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12627 # resulting binary.
12628 hardcode_minus_L=$hardcode_minus_L_CXX
12630 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12631 # the resulting binary.
12632 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12634 # Set to yes if building a shared library automatically hardcodes DIR into the library
12635 # and all subsequent libraries and executables linked against it.
12636 hardcode_automatic=$hardcode_automatic_CXX
12638 # Variables whose values should be saved in libtool wrapper scripts and
12639 # restored at relink time.
12640 variables_saved_for_relink="$variables_saved_for_relink"
12642 # Whether libtool must link a program against all its dependency libraries.
12643 link_all_deplibs=$link_all_deplibs_CXX
12645 # Compile-time system search path for libraries
12646 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12648 # Run-time system search path for libraries
12649 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12651 # Fix the shell variable \$srcfile for the compiler.
12652 fix_srcfile_path="$fix_srcfile_path_CXX"
12654 # Set to yes if exported symbols are required.
12655 always_export_symbols=$always_export_symbols_CXX
12657 # The commands to list exported symbols.
12658 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12660 # The commands to extract the exported symbol list from a shared archive.
12661 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12663 # Symbols that should not be listed in the preloaded symbols.
12664 exclude_expsyms=$lt_exclude_expsyms_CXX
12666 # Symbols that must always be exported.
12667 include_expsyms=$lt_include_expsyms_CXX
12669 # ### END LIBTOOL TAG CONFIG: $tagname
12675 # If there is no Makefile yet, we rely on a make rule to execute
12676 # `config.status --recheck' to rerun these tests and create the
12677 # libtool script then.
12678 test -f Makefile && make "$ltmain"
12683 ac_cpp='$CPP $CPPFLAGS'
12684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12692 with_gnu_ldcxx=$with_gnu_ld
12693 with_gnu_ld=$lt_save_with_gnu_ld
12694 lt_cv_path_LDCXX=$lt_cv_path_LD
12695 lt_cv_path_LD=$lt_save_path_LD
12696 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12697 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12705 if test -n "$F77" && test "X$F77" != "Xno"; then
12708 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12709 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12710 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12713 archive_cmds_need_lc_F77=no
12714 allow_undefined_flag_F77=
12715 always_export_symbols_F77=no
12716 archive_expsym_cmds_F77=
12717 export_dynamic_flag_spec_F77=
12718 hardcode_direct_F77=no
12719 hardcode_libdir_flag_spec_F77=
12720 hardcode_libdir_flag_spec_ld_F77=
12721 hardcode_libdir_separator_F77=
12722 hardcode_minus_L_F77=no
12723 hardcode_automatic_F77=no
12725 module_expsym_cmds_F77=
12726 link_all_deplibs_F77=unknown
12727 old_archive_cmds_F77=$old_archive_cmds
12728 no_undefined_flag_F77=
12729 whole_archive_flag_spec_F77=
12730 enable_shared_with_static_runtimes_F77=no
12732 # Source file extension for f77 test sources.
12735 # Object file extension for compiled f77 test sources.
12739 # Code to be used in simple compile tests
12740 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12742 # Code to be used in simple link tests
12743 lt_simple_link_test_code=" program t\n end\n"
12745 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12747 # If no C compiler was specified, use CC.
12750 # Allow CC to be a program name with arguments.
12754 # Allow CC to be a program name with arguments.
12759 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12761 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12762 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12763 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12764 echo "${ECHO_T}$can_build_shared" >&6
12766 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12767 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12768 test "$can_build_shared" = "no" && enable_shared=no
12770 # On AIX, shared libraries and static libraries use the same namespace, and
12771 # are all built from PIC.
12774 test "$enable_shared" = yes && enable_static=no
12775 if test -n "$RANLIB"; then
12776 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12777 postinstall_cmds='$RANLIB $lib'
12781 test "$enable_shared" = yes && enable_static=no
12784 echo "$as_me:$LINENO: result: $enable_shared" >&5
12785 echo "${ECHO_T}$enable_shared" >&6
12787 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12788 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12789 # Make sure either enable_shared or enable_static is yes.
12790 test "$enable_shared" = yes || enable_static=yes
12791 echo "$as_me:$LINENO: result: $enable_static" >&5
12792 echo "${ECHO_T}$enable_static" >&6
12794 test "$ld_shlibs_F77" = no && can_build_shared=no
12799 lt_prog_compiler_wl_F77=
12800 lt_prog_compiler_pic_F77=
12801 lt_prog_compiler_static_F77=
12803 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12804 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12806 if test "$GCC" = yes; then
12807 lt_prog_compiler_wl_F77='-Wl,'
12808 lt_prog_compiler_static_F77='-static'
12812 # All AIX code is PIC.
12813 if test "$host_cpu" = ia64; then
12814 # AIX 5 now supports IA64 processor
12815 lt_prog_compiler_static_F77='-Bstatic'
12820 # FIXME: we need at least 68020 code to build shared libraries, but
12821 # adding the `-m68020' flag to GCC prevents building anything better,
12823 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12826 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12827 # PIC is the default for these OSes.
12830 mingw* | pw32* | os2*)
12831 # This hack is so that the source file can tell whether it is being
12832 # built for inclusion in a dll (and should export symbols for example).
12833 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12836 darwin* | rhapsody*)
12837 # PIC is the default on this platform
12838 # Common symbols not allowed in MH_DYLIB files
12839 lt_prog_compiler_pic_F77='-fno-common'
12843 # Just because we use GCC doesn't mean we suddenly get shared libraries
12844 # on systems that don't support them.
12845 lt_prog_compiler_can_build_shared_F77=no
12850 if test -d /usr/nec; then
12851 lt_prog_compiler_pic_F77=-Kconform_pic
12856 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12857 # not for PA HP-UX.
12858 case "$host_cpu" in
12863 lt_prog_compiler_pic_F77='-fPIC'
12869 lt_prog_compiler_pic_F77='-fPIC'
12873 # PORTME Check for flag to pass linker flags through the system compiler.
12876 lt_prog_compiler_wl_F77='-Wl,'
12877 if test "$host_cpu" = ia64; then
12878 # AIX 5 now supports IA64 processor
12879 lt_prog_compiler_static_F77='-Bstatic'
12881 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12885 mingw* | pw32* | os2*)
12886 # This hack is so that the source file can tell whether it is being
12887 # built for inclusion in a dll (and should export symbols for example).
12888 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12891 hpux9* | hpux10* | hpux11*)
12892 lt_prog_compiler_wl_F77='-Wl,'
12893 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12894 # not for PA HP-UX.
12895 case "$host_cpu" in
12900 lt_prog_compiler_pic_F77='+Z'
12903 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12904 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12907 irix5* | irix6* | nonstopux*)
12908 lt_prog_compiler_wl_F77='-Wl,'
12909 # PIC (with -KPIC) is the default.
12910 lt_prog_compiler_static_F77='-non_shared'
12914 lt_prog_compiler_pic_F77='-KPIC'
12915 lt_prog_compiler_static_F77='-Bstatic'
12921 lt_prog_compiler_wl_F77='-Wl,'
12922 lt_prog_compiler_pic_F77='-KPIC'
12923 lt_prog_compiler_static_F77='-static'
12926 lt_prog_compiler_wl_F77='-Wl,'
12927 # All Alpha code is PIC.
12928 lt_prog_compiler_static_F77='-non_shared'
12933 osf3* | osf4* | osf5*)
12934 lt_prog_compiler_wl_F77='-Wl,'
12935 # All OSF/1 code is PIC.
12936 lt_prog_compiler_static_F77='-non_shared'
12940 lt_prog_compiler_pic_F77='-Kpic'
12941 lt_prog_compiler_static_F77='-dn'
12945 lt_prog_compiler_wl_F77='-Wl,'
12946 lt_prog_compiler_pic_F77='-KPIC'
12947 lt_prog_compiler_static_F77='-Bstatic'
12951 lt_prog_compiler_wl_F77='-Qoption ld '
12952 lt_prog_compiler_pic_F77='-PIC'
12953 lt_prog_compiler_static_F77='-Bstatic'
12956 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12957 lt_prog_compiler_wl_F77='-Wl,'
12958 lt_prog_compiler_pic_F77='-KPIC'
12959 lt_prog_compiler_static_F77='-Bstatic'
12963 if test -d /usr/nec ;then
12964 lt_prog_compiler_pic_F77='-Kconform_pic'
12965 lt_prog_compiler_static_F77='-Bstatic'
12970 lt_prog_compiler_pic_F77='-pic'
12971 lt_prog_compiler_static_F77='-Bstatic'
12975 lt_prog_compiler_can_build_shared_F77=no
12980 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
12981 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
12984 # Check to make sure the PIC flag actually works.
12986 if test -n "$lt_prog_compiler_pic_F77"; then
12987 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
12988 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
12989 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
12990 echo $ECHO_N "(cached) $ECHO_C" >&6
12992 lt_prog_compiler_pic_works_F77=no
12993 ac_outfile=conftest.$ac_objext
12994 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12995 lt_compiler_flag="$lt_prog_compiler_pic_F77"
12996 # Insert the option either (1) after the last *FLAGS variable, or
12997 # (2) before a word containing "conftest.", or (3) at the end.
12998 # Note that $ac_compile itself does not contain backslashes and begins
12999 # with a dollar sign (not a hyphen), so the echo should work correctly.
13000 # The option is referenced via a variable to avoid confusing sed.
13001 lt_compile=`echo "$ac_compile" | $SED \
13002 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13003 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13004 -e 's:$: $lt_compiler_flag:'`
13005 (eval echo "\"\$as_me:13005: $lt_compile\"" >&5)
13006 (eval "$lt_compile" 2>conftest.err)
13008 cat conftest.err >&5
13009 echo "$as_me:13009: \$? = $ac_status" >&5
13010 if (exit $ac_status) && test -s "$ac_outfile"; then
13011 # The compiler can only warn and ignore the option if not recognized
13012 # So say no if there are warnings
13013 if test ! -s conftest.err; then
13014 lt_prog_compiler_pic_works_F77=yes
13020 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13021 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13023 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13024 case $lt_prog_compiler_pic_F77 in
13026 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13029 lt_prog_compiler_pic_F77=
13030 lt_prog_compiler_can_build_shared_F77=no
13035 # For platforms which do not support PIC, -DPIC is meaningless:
13037 lt_prog_compiler_pic_F77=
13040 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13044 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13045 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13046 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13047 echo $ECHO_N "(cached) $ECHO_C" >&6
13049 lt_cv_prog_compiler_c_o_F77=no
13050 $rm -r conftest 2>/dev/null
13054 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13056 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13057 # that will create temporary files in the current directory regardless of
13058 # the output directory. Thus, making CWD read-only will cause this test
13059 # to fail, enabling locking or at least warning the user not to do parallel
13063 lt_compiler_flag="-o out/conftest2.$ac_objext"
13064 # Insert the option either (1) after the last *FLAGS variable, or
13065 # (2) before a word containing "conftest.", or (3) at the end.
13066 # Note that $ac_compile itself does not contain backslashes and begins
13067 # with a dollar sign (not a hyphen), so the echo should work correctly.
13068 lt_compile=`echo "$ac_compile" | $SED \
13069 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13070 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13071 -e 's:$: $lt_compiler_flag:'`
13072 (eval echo "\"\$as_me:13072: $lt_compile\"" >&5)
13073 (eval "$lt_compile" 2>out/conftest.err)
13075 cat out/conftest.err >&5
13076 echo "$as_me:13076: \$? = $ac_status" >&5
13077 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13079 # The compiler can only warn and ignore the option if not recognized
13080 # So say no if there are warnings
13081 if test ! -s out/conftest.err; then
13082 lt_cv_prog_compiler_c_o_F77=yes
13086 $rm conftest* out/*
13093 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13094 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13097 hard_links="nottested"
13098 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13099 # do not overwrite the value of need_locks provided by the user
13100 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13101 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13104 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13106 ln conftest.a conftest.b 2>&5 || hard_links=no
13107 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13108 echo "$as_me:$LINENO: result: $hard_links" >&5
13109 echo "${ECHO_T}$hard_links" >&6
13110 if test "$hard_links" = no; then
13111 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13112 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13119 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13120 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13123 allow_undefined_flag_F77=
13124 enable_shared_with_static_runtimes_F77=no
13126 archive_expsym_cmds_F77=
13127 old_archive_From_new_cmds_F77=
13128 old_archive_from_expsyms_cmds_F77=
13129 export_dynamic_flag_spec_F77=
13130 whole_archive_flag_spec_F77=
13131 thread_safe_flag_spec_F77=
13132 hardcode_libdir_flag_spec_F77=
13133 hardcode_libdir_flag_spec_ld_F77=
13134 hardcode_libdir_separator_F77=
13135 hardcode_direct_F77=no
13136 hardcode_minus_L_F77=no
13137 hardcode_shlibpath_var_F77=unsupported
13138 link_all_deplibs_F77=unknown
13139 hardcode_automatic_F77=no
13141 module_expsym_cmds_F77=
13142 always_export_symbols_F77=no
13143 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13144 # include_expsyms should be a list of space-separated symbols to be *always*
13145 # included in the symbol list
13146 include_expsyms_F77=
13147 # exclude_expsyms can be an extended regexp of symbols to exclude
13148 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13149 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13150 # as well as any symbol that contains `d'.
13151 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13152 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13153 # platforms (ab)use it in PIC code, but their linkers get confused if
13154 # the symbol is explicitly referenced. Since portable code cannot
13155 # rely on this symbol name, it's probably fine to never include it in
13156 # preloaded symbol tables.
13157 extract_expsyms_cmds=
13160 cygwin* | mingw* | pw32*)
13161 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13162 # When not using gcc, we currently assume that we are using
13163 # Microsoft Visual C++.
13164 if test "$GCC" != yes; then
13174 if test "$with_gnu_ld" = yes; then
13175 # If archive_cmds runs LD, not CC, wlarc should be empty
13178 # See if GNU ld supports shared libraries.
13180 aix3* | aix4* | aix5*)
13181 # On AIX/PPC, the GNU linker is very broken
13182 if test "$host_cpu" != ia64; then
13186 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13187 *** to be unable to reliably create shared libraries on AIX.
13188 *** Therefore, libtool is disabling shared libraries support. If you
13189 *** really care for shared libraries, you may want to modify your PATH
13190 *** so that a non-GNU linker is found, and then restart.
13197 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)'
13198 hardcode_libdir_flag_spec_F77='-L$libdir'
13199 hardcode_minus_L_F77=yes
13201 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13202 # that the semantics of dynamic libraries on AmigaOS, at least up
13203 # to version 4, is to share data among multiple programs linked
13204 # with the same dynamic library. Since this doesn't match the
13205 # behavior of shared libraries on other platforms, we can't use
13211 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13212 allow_undefined_flag_F77=unsupported
13213 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13214 # support --undefined. This deserves some investigation. FIXME
13215 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13221 cygwin* | mingw* | pw32*)
13222 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13223 # as there is no search path for DLLs.
13224 hardcode_libdir_flag_spec_F77='-L$libdir'
13225 allow_undefined_flag_F77=unsupported
13226 always_export_symbols_F77=no
13227 enable_shared_with_static_runtimes_F77=yes
13228 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13230 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13231 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13232 # If the export-symbols file already is a .def file (1st line
13233 # is EXPORTS), use it as is; otherwise, prepend...
13234 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13235 cp $export_symbols $output_objdir/$soname.def;
13237 echo EXPORTS > $output_objdir/$soname.def;
13238 cat $export_symbols >> $output_objdir/$soname.def;
13240 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13247 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13248 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13251 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13252 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13257 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13261 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13262 *** create shared libraries on Solaris systems. Therefore, libtool
13263 *** is disabling shared libraries support. We urge you to upgrade GNU
13264 *** binutils to release 2.9.1 or newer. Another option is to modify
13265 *** your PATH or compiler configuration so that the native linker is
13266 *** used, and then restart.
13269 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13270 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13271 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13278 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13280 hardcode_direct_F77=yes
13281 hardcode_shlibpath_var_F77=no
13285 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13286 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13287 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13294 if test "$ld_shlibs_F77" = yes; then
13295 runpath_var=LD_RUN_PATH
13296 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13297 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13298 # ancient GNU ld didn't support --whole-archive et. al.
13299 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13300 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13302 whole_archive_flag_spec_F77=
13306 # PORTME fill in a description of your system's linker (not GNU ld)
13309 allow_undefined_flag_F77=unsupported
13310 always_export_symbols_F77=yes
13311 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'
13312 # Note: this linker hardcodes the directories in LIBPATH if there
13313 # are no directories specified by -L.
13314 hardcode_minus_L_F77=yes
13315 if test "$GCC" = yes && test -z "$link_static_flag"; then
13316 # Neither direct hardcoding nor static linking is supported with a
13318 hardcode_direct_F77=unsupported
13323 if test "$host_cpu" = ia64; then
13324 # On IA64, the linker does run time linking by default, so we don't
13325 # have to do anything special.
13326 aix_use_runtimelinking=no
13327 exp_sym_flag='-Bexport'
13330 # If we're using GNU nm, then we don't want the "-C" option.
13331 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13332 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13333 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'
13335 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'
13337 aix_use_runtimelinking=no
13339 # Test if we are trying to use run time linking or normal
13340 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13341 # need to do runtime linking.
13342 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13343 for ld_flag in $LDFLAGS; do
13344 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13345 aix_use_runtimelinking=yes
13351 exp_sym_flag='-bexport'
13352 no_entry_flag='-bnoentry'
13355 # When large executables or shared objects are built, AIX ld can
13356 # have problems creating the table of contents. If linking a library
13357 # or program results in "error TOC overflow" add -mminimal-toc to
13358 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13359 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13361 archive_cmds_F77=''
13362 hardcode_direct_F77=yes
13363 hardcode_libdir_separator_F77=':'
13364 link_all_deplibs_F77=yes
13366 if test "$GCC" = yes; then
13367 case $host_os in aix4.012|aix4.012.*)
13368 # We only want to do this on AIX 4.2 and lower, the check
13369 # below for broken collect2 doesn't work under 4.3+
13370 collect2name=`${CC} -print-prog-name=collect2`
13371 if test -f "$collect2name" && \
13372 strings "$collect2name" | grep resolve_lib_name >/dev/null
13374 # We have reworked collect2
13375 hardcode_direct_F77=yes
13377 # We have old collect2
13378 hardcode_direct_F77=unsupported
13379 # It fails to find uninstalled libraries when the uninstalled
13380 # path is not listed in the libpath. Setting hardcode_minus_L
13381 # to unsupported forces relinking
13382 hardcode_minus_L_F77=yes
13383 hardcode_libdir_flag_spec_F77='-L$libdir'
13384 hardcode_libdir_separator_F77=
13387 shared_flag='-shared'
13390 if test "$host_cpu" = ia64; then
13391 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13392 # chokes on -Wl,-G. The following line is correct:
13395 if test "$aix_use_runtimelinking" = yes; then
13396 shared_flag='${wl}-G'
13398 shared_flag='${wl}-bM:SRE'
13403 # It seems that -bexpall does not export symbols beginning with
13404 # underscore (_), so it is better to generate a list of symbols to export.
13405 always_export_symbols_F77=yes
13406 if test "$aix_use_runtimelinking" = yes; then
13407 # Warning - without using the other runtime loading flags (-brtl),
13408 # -berok will link without error, but may produce a broken library.
13409 allow_undefined_flag_F77='-berok'
13410 # Determine the default libpath from the value encoded in an empty executable.
13411 cat >conftest.$ac_ext <<_ACEOF
13416 rm -f conftest.$ac_objext conftest$ac_exeext
13417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13418 (eval $ac_link) 2>&5
13420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421 (exit $ac_status); } &&
13422 { ac_try='test -s conftest$ac_exeext'
13423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13424 (eval $ac_try) 2>&5
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); }; }; then
13429 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13431 # Check for a 64-bit object if we didn't find anything.
13432 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; }
13435 echo "$as_me: failed program was:" >&5
13436 sed 's/^/| /' conftest.$ac_ext >&5
13439 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13440 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13442 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13443 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"
13445 if test "$host_cpu" = ia64; then
13446 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13447 allow_undefined_flag_F77="-z nodefs"
13448 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"
13450 # Determine the default libpath from the value encoded in an empty executable.
13451 cat >conftest.$ac_ext <<_ACEOF
13456 rm -f conftest.$ac_objext conftest$ac_exeext
13457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13458 (eval $ac_link) 2>&5
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); } &&
13462 { ac_try='test -s conftest$ac_exeext'
13463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13464 (eval $ac_try) 2>&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); }; }; then
13469 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13471 # Check for a 64-bit object if we didn't find anything.
13472 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; }
13475 echo "$as_me: failed program was:" >&5
13476 sed 's/^/| /' conftest.$ac_ext >&5
13479 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13480 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13482 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13483 # Warning - without using the other run time loading flags,
13484 # -berok will link without error, but may produce a broken library.
13485 no_undefined_flag_F77=' ${wl}-bernotok'
13486 allow_undefined_flag_F77=' ${wl}-berok'
13487 # -bexpall does not export symbols beginning with underscore (_)
13488 always_export_symbols_F77=yes
13489 # Exported symbols can be pulled into shared objects from archives
13490 whole_archive_flag_spec_F77=' '
13491 archive_cmds_need_lc_F77=yes
13492 # This is similar to how AIX traditionally builds it's shared libraries.
13493 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'
13499 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)'
13500 hardcode_libdir_flag_spec_F77='-L$libdir'
13501 hardcode_minus_L_F77=yes
13502 # see comment about different semantics on the GNU ld section
13507 export_dynamic_flag_spec_F77=-rdynamic
13510 cygwin* | mingw* | pw32*)
13511 # When not using gcc, we currently assume that we are using
13512 # Microsoft Visual C++.
13513 # hardcode_libdir_flag_spec is actually meaningless, as there is
13514 # no search path for DLLs.
13515 hardcode_libdir_flag_spec_F77=' '
13516 allow_undefined_flag_F77=unsupported
13517 # Tell ltmain to make .lib files, not .a files.
13519 # Tell ltmain to make .dll files, not .so files.
13521 # FIXME: Setting linknames here is a bad hack.
13522 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13523 # The linker will automatically build a .lib file if we build a DLL.
13524 old_archive_From_new_cmds_F77='true'
13525 # FIXME: Should let the user specify the lib program.
13526 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13527 fix_srcfile_path='`cygpath -w "$srcfile"`'
13528 enable_shared_with_static_runtimes_F77=yes
13531 darwin* | rhapsody*)
13532 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13533 archive_cmds_need_lc_F77=no
13535 rhapsody* | darwin1.[012])
13536 allow_undefined_flag_F77='-undefined suppress'
13539 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13542 # FIXME: Relying on posixy $() will cause problems for
13543 # cross-compilation, but unfortunately the echo tests do not
13544 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13545 # `"' quotes if we put them in here... so don't!
13546 lt_int_apple_cc_single_mod=no
13547 output_verbose_link_cmd='echo'
13548 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13549 lt_int_apple_cc_single_mod=yes
13551 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13552 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13554 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'
13556 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13557 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13558 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13559 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}'
13561 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}'
13563 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}'
13564 hardcode_direct_F77=no
13565 hardcode_automatic_F77=yes
13566 hardcode_shlibpath_var_F77=unsupported
13567 whole_archive_flag_spec_F77='-all_load $convenience'
13568 link_all_deplibs_F77=yes
13573 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13574 hardcode_libdir_flag_spec_F77='-L$libdir'
13575 hardcode_shlibpath_var_F77=no
13582 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13583 # support. Future versions do this automatically, but an explicit c++rt0.o
13584 # does not break anything, and helps significantly (at the cost of a little
13587 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13588 hardcode_libdir_flag_spec_F77='-R$libdir'
13589 hardcode_direct_F77=yes
13590 hardcode_shlibpath_var_F77=no
13593 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13595 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13596 hardcode_direct_F77=yes
13597 hardcode_minus_L_F77=yes
13598 hardcode_shlibpath_var_F77=no
13601 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13603 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13604 hardcode_libdir_flag_spec_F77='-R$libdir'
13605 hardcode_direct_F77=yes
13606 hardcode_shlibpath_var_F77=no
13610 if test "$GCC" = yes; then
13611 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'
13613 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'
13615 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13616 hardcode_libdir_separator_F77=:
13617 hardcode_direct_F77=yes
13619 # hardcode_minus_L: Not really in the search PATH,
13620 # but as the default location of the library.
13621 hardcode_minus_L_F77=yes
13622 export_dynamic_flag_spec_F77='${wl}-E'
13626 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13627 case "$host_cpu" in
13629 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13632 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13636 case "$host_cpu" in
13638 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13641 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13645 if test "$with_gnu_ld" = no; then
13646 case "$host_cpu" in
13648 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13649 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13650 hardcode_libdir_separator_F77=:
13651 hardcode_direct_F77=no
13652 hardcode_shlibpath_var_F77=no
13655 hardcode_libdir_flag_spec_F77='-L$libdir'
13656 hardcode_direct_F77=no
13657 hardcode_shlibpath_var_F77=no
13659 # hardcode_minus_L: Not really in the search PATH,
13660 # but as the default location of the library.
13661 hardcode_minus_L_F77=yes
13664 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13665 hardcode_libdir_separator_F77=:
13666 hardcode_direct_F77=yes
13667 export_dynamic_flag_spec_F77='${wl}-E'
13669 # hardcode_minus_L: Not really in the search PATH,
13670 # but as the default location of the library.
13671 hardcode_minus_L_F77=yes
13677 irix5* | irix6* | nonstopux*)
13678 if test "$GCC" = yes; then
13679 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'
13681 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'
13682 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13684 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13685 hardcode_libdir_separator_F77=:
13686 link_all_deplibs_F77=yes
13690 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13691 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13693 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13695 hardcode_libdir_flag_spec_F77='-R$libdir'
13696 hardcode_direct_F77=yes
13697 hardcode_shlibpath_var_F77=no
13701 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13702 hardcode_direct_F77=yes
13703 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13704 hardcode_libdir_separator_F77=:
13705 hardcode_shlibpath_var_F77=no
13709 hardcode_direct_F77=yes
13710 hardcode_shlibpath_var_F77=no
13711 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13712 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13713 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13714 export_dynamic_flag_spec_F77='${wl}-E'
13717 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13718 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13719 hardcode_libdir_flag_spec_F77='-R$libdir'
13722 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13723 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13730 hardcode_libdir_flag_spec_F77='-L$libdir'
13731 hardcode_minus_L_F77=yes
13732 allow_undefined_flag_F77=unsupported
13733 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'
13734 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13738 if test "$GCC" = yes; then
13739 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13740 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'
13742 allow_undefined_flag_F77=' -expect_unresolved \*'
13743 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'
13745 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13746 hardcode_libdir_separator_F77=:
13749 osf4* | osf5*) # as osf3* with the addition of -msym flag
13750 if test "$GCC" = yes; then
13751 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13752 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'
13753 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13755 allow_undefined_flag_F77=' -expect_unresolved \*'
13756 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'
13757 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~
13758 $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'
13760 # Both c and cxx compiler support -rpath directly
13761 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13763 hardcode_libdir_separator_F77=:
13767 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13768 hardcode_shlibpath_var_F77=no
13769 export_dynamic_flag_spec_F77='${wl}-Bexport'
13770 runpath_var=LD_RUN_PATH
13771 hardcode_runpath_var=yes
13775 no_undefined_flag_F77=' -z text'
13776 if test "$GCC" = yes; then
13777 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13778 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13779 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13781 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13782 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13783 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13785 hardcode_libdir_flag_spec_F77='-R$libdir'
13786 hardcode_shlibpath_var_F77=no
13788 solaris2.[0-5] | solaris2.[0-5].*) ;;
13789 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13790 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13792 link_all_deplibs_F77=yes
13796 if test "x$host_vendor" = xsequent; then
13797 # Use $CC to link under sequent, because it throws in some extra .o
13798 # files that make .init and .fini sections work.
13799 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13801 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13803 hardcode_libdir_flag_spec_F77='-L$libdir'
13804 hardcode_direct_F77=yes
13805 hardcode_minus_L_F77=yes
13806 hardcode_shlibpath_var_F77=no
13810 case $host_vendor in
13812 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13813 hardcode_direct_F77=yes # is this really true???
13816 ## LD is ld it makes a PLAMLIB
13817 ## CC just makes a GrossModule.
13818 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13819 reload_cmds_F77='$CC -r -o $output$reload_objs'
13820 hardcode_direct_F77=no
13823 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13824 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13827 runpath_var='LD_RUN_PATH'
13828 hardcode_shlibpath_var_F77=no
13832 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13833 hardcode_shlibpath_var_F77=no
13834 export_dynamic_flag_spec_F77='-Bexport'
13838 if test -d /usr/nec; then
13839 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13840 hardcode_shlibpath_var_F77=no
13841 runpath_var=LD_RUN_PATH
13842 hardcode_runpath_var=yes
13848 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13849 hardcode_direct_F77=yes
13850 hardcode_minus_L_F77=no
13851 hardcode_shlibpath_var_F77=no
13852 hardcode_runpath_var=yes
13853 runpath_var=LD_RUN_PATH
13856 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13857 no_undefined_flag_F77='${wl}-z ${wl}text'
13858 if test "$GCC" = yes; then
13859 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13861 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13863 runpath_var='LD_RUN_PATH'
13864 hardcode_shlibpath_var_F77=no
13868 no_undefined_flag_F77=' -z text'
13869 # $CC -shared without GNU ld will not create a library from C++
13870 # object files and a static libstdc++, better avoid it by now
13871 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13872 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13873 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13874 hardcode_libdir_flag_spec_F77=
13875 hardcode_shlibpath_var_F77=no
13876 runpath_var='LD_RUN_PATH'
13880 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13881 hardcode_libdir_flag_spec_F77='-L$libdir'
13882 hardcode_shlibpath_var_F77=no
13891 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13892 echo "${ECHO_T}$ld_shlibs_F77" >&6
13893 test "$ld_shlibs_F77" = no && can_build_shared=no
13895 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13896 if test "$GCC" = yes; then
13897 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13901 # Do we need to explicitly link libc?
13903 case "x$archive_cmds_need_lc_F77" in
13905 # Assume -lc should be added
13906 archive_cmds_need_lc_F77=yes
13908 if test "$enable_shared" = yes && test "$GCC" = yes; then
13909 case $archive_cmds_F77 in
13911 # FIXME: we may have to deal with multi-command sequences.
13914 # Test whether the compiler implicitly links with -lc since on some
13915 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13916 # to ld, don't add -lc before -lgcc.
13917 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13918 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13920 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13923 (eval $ac_compile) 2>&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); } 2>conftest.err; then
13929 libobjs=conftest.$ac_objext
13931 wl=$lt_prog_compiler_wl_F77
13937 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13938 allow_undefined_flag_F77=
13939 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13940 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); }
13945 archive_cmds_need_lc_F77=no
13947 archive_cmds_need_lc_F77=yes
13949 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13951 cat conftest.err 1>&5
13954 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13955 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13962 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13963 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13964 hardcode_action_F77=
13965 if test -n "$hardcode_libdir_flag_spec_F77" || \
13966 test -n "$runpath_var F77" || \
13967 test "X$hardcode_automatic_F77"="Xyes" ; then
13969 # We can hardcode non-existant directories.
13970 if test "$hardcode_direct_F77" != no &&
13971 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13972 # have to relink, otherwise we might link with an installed library
13973 # when we should be linking with a yet-to-be-installed one
13974 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
13975 test "$hardcode_minus_L_F77" != no; then
13976 # Linking always hardcodes the temporary library directory.
13977 hardcode_action_F77=relink
13979 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13980 hardcode_action_F77=immediate
13983 # We cannot hardcode anything, or else we can only hardcode existing
13985 hardcode_action_F77=unsupported
13987 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
13988 echo "${ECHO_T}$hardcode_action_F77" >&6
13990 if test "$hardcode_action_F77" = relink; then
13991 # Fast installation is not supported
13992 enable_fast_install=no
13993 elif test "$shlibpath_overrides_runpath" = yes ||
13994 test "$enable_shared" = no; then
13995 # Fast installation is not necessary
13996 enable_fast_install=needless
14001 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14002 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14003 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14004 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14005 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14006 echo "$as_me:$LINENO: result: yes" >&5
14007 echo "${ECHO_T}yes" >&6
14009 # FIXME - insert some real tests, host_os isn't really good enough
14012 if test -n "$STRIP" ; then
14013 striplib="$STRIP -x"
14014 echo "$as_me:$LINENO: result: yes" >&5
14015 echo "${ECHO_T}yes" >&6
14017 echo "$as_me:$LINENO: result: no" >&5
14018 echo "${ECHO_T}no" >&6
14022 echo "$as_me:$LINENO: result: no" >&5
14023 echo "${ECHO_T}no" >&6
14028 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14029 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14030 library_names_spec=
14031 libname_spec='lib$name'
14035 postuninstall_cmds=
14039 shlibpath_overrides_runpath=unknown
14041 dynamic_linker="$host_os ld.so"
14042 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14043 if test "$GCC" = yes; then
14044 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14045 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14046 # if the path contains ";" then we assume it to be the separator
14047 # otherwise default to the standard path separator (i.e. ":") - it is
14048 # assumed that no part of a normal pathname contains ";" but that should
14049 # okay in the real world where ";" in dirpaths is itself problematic.
14050 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14052 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14055 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14057 need_lib_prefix=unknown
14058 hardcode_into_libs=no
14060 # when you set need_version to no, make sure it does not cause -set_version
14061 # flags to be left without arguments
14062 need_version=unknown
14067 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14068 shlibpath_var=LIBPATH
14070 # AIX 3 has no versioning support, so we append a major version to the name.
14071 soname_spec='${libname}${release}${shared_ext}$major'
14078 hardcode_into_libs=yes
14079 if test "$host_cpu" = ia64; then
14080 # AIX 5 supports IA64
14081 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14082 shlibpath_var=LD_LIBRARY_PATH
14084 # With GCC up to 2.95.x, collect2 would create an import file
14085 # for dependence libraries. The import file would start with
14086 # the line `#! .'. This would cause the generated library to
14087 # depend on `.', always an invalid library. This was fixed in
14088 # development snapshots of GCC prior to 3.0.
14090 aix4 | aix4.[01] | aix4.[01].*)
14091 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14093 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14096 can_build_shared=no
14100 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14101 # soname into executable. Probably we can add versioning support to
14102 # collect2, so additional links can be useful in future.
14103 if test "$aix_use_runtimelinking" = yes; then
14104 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14105 # instead of lib<name>.a to let people know that these are not
14106 # typical AIX shared libraries.
14107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14109 # We preserve .a as extension for shared libraries through AIX4.2
14110 # and later when we are not doing run time linking.
14111 library_names_spec='${libname}${release}.a $libname.a'
14112 soname_spec='${libname}${release}${shared_ext}$major'
14114 shlibpath_var=LIBPATH
14119 library_names_spec='$libname.ixlibrary $libname.a'
14120 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14121 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'
14125 library_names_spec='${libname}${shared_ext}'
14126 dynamic_linker="$host_os ld.so"
14127 shlibpath_var=LIBRARY_PATH
14133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14134 soname_spec='${libname}${release}${shared_ext}$major'
14135 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14136 shlibpath_var=LD_LIBRARY_PATH
14137 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14138 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14139 # the default ld.so.conf also contains /usr/contrib/lib and
14140 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14141 # libtool to hard-code these into programs
14144 cygwin* | mingw* | pw32*)
14145 version_type=windows
14150 case $GCC,$host_os in
14151 yes,cygwin* | yes,mingw* | yes,pw32*)
14152 library_names_spec='$libname.dll.a'
14153 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14154 postinstall_cmds='base_file=`basename \${file}`~
14155 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14156 dldir=$destdir/`dirname \$dlpath`~
14157 test -d \$dldir || mkdir -p \$dldir~
14158 $install_prog $dir/$dlname \$dldir/$dlname'
14159 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14160 dlpath=$dir/\$dldll~
14162 shlibpath_overrides_runpath=yes
14166 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14167 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14168 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14171 # MinGW DLLs use traditional 'lib' prefix
14172 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14173 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14174 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14175 # It is most probably a Windows format PATH printed by
14176 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14177 # path with ; separators, and with drive letters. We can handle the
14178 # drive letters (cygwin fileutils understands them), so leave them,
14179 # especially as we might pass files found there to a mingw objdump,
14180 # which wouldn't understand a cygwinified path. Ahh.
14181 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14183 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14187 # pw32 DLLs use 'pw' prefix rather than 'lib'
14188 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14194 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14197 dynamic_linker='Win32 ld.exe'
14198 # FIXME: first we should search . and the directory the executable is in
14202 darwin* | rhapsody*)
14203 dynamic_linker="$host_os dyld"
14204 version_type=darwin
14207 # FIXME: Relying on posixy $() will cause problems for
14208 # cross-compilation, but unfortunately the echo tests do not
14209 # yet detect zsh echo's removal of \ escapes.
14210 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14211 soname_spec='${libname}${release}${major}$shared_ext'
14212 shlibpath_overrides_runpath=yes
14213 shlibpath_var=DYLD_LIBRARY_PATH
14214 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14215 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14216 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14217 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"`
14219 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14227 soname_spec='${libname}${release}${shared_ext}$major'
14228 shlibpath_var=LD_LIBRARY_PATH
14236 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14237 version_type=freebsd-$objformat
14238 case $version_type in
14240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14245 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14249 shlibpath_var=LD_LIBRARY_PATH
14252 shlibpath_overrides_runpath=yes
14254 freebsd3.01* | freebsdelf3.01*)
14255 shlibpath_overrides_runpath=yes
14256 hardcode_into_libs=yes
14259 shlibpath_overrides_runpath=no
14260 hardcode_into_libs=yes
14269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14270 soname_spec='${libname}${release}${shared_ext}$major'
14271 shlibpath_var=LD_LIBRARY_PATH
14272 hardcode_into_libs=yes
14275 hpux9* | hpux10* | hpux11*)
14276 # Give a soname corresponding to the major version so that dld.sl refuses to
14277 # link against other versions.
14281 case "$host_cpu" in
14284 hardcode_into_libs=yes
14285 dynamic_linker="$host_os dld.so"
14286 shlibpath_var=LD_LIBRARY_PATH
14287 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14289 soname_spec='${libname}${release}${shared_ext}$major'
14290 if test "X$HPUX_IA64_MODE" = X32; then
14291 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14293 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14295 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14299 hardcode_into_libs=yes
14300 dynamic_linker="$host_os dld.sl"
14301 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14302 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14304 soname_spec='${libname}${release}${shared_ext}$major'
14305 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14306 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14310 dynamic_linker="$host_os dld.sl"
14311 shlibpath_var=SHLIB_PATH
14312 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14314 soname_spec='${libname}${release}${shared_ext}$major'
14317 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14318 postinstall_cmds='chmod 555 $lib'
14321 irix5* | irix6* | nonstopux*)
14323 nonstopux*) version_type=nonstopux ;;
14325 if test "$lt_cv_prog_gnu_ld" = yes; then
14333 soname_spec='${libname}${release}${shared_ext}$major'
14334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14336 irix5* | nonstopux*)
14337 libsuff= shlibsuff=
14340 case $LD in # libtool.m4 will add one of these switches to LD
14341 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14342 libsuff= shlibsuff= libmagic=32-bit;;
14343 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14344 libsuff=32 shlibsuff=N32 libmagic=N32;;
14345 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14346 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14347 *) libsuff= shlibsuff= libmagic=never-match;;
14351 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14352 shlibpath_overrides_runpath=no
14353 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14354 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14355 hardcode_into_libs=yes
14358 # No shared lib support for Linux oldld, aout, or coff.
14359 linux*oldld* | linux*aout* | linux*coff*)
14363 # This must be Linux ELF.
14368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14369 soname_spec='${libname}${release}${shared_ext}$major'
14370 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14371 shlibpath_var=LD_LIBRARY_PATH
14372 shlibpath_overrides_runpath=no
14373 # This implies no fast_install, which is unacceptable.
14374 # Some rework will be needed to allow for fast_install
14375 # before this can be enabled.
14376 hardcode_into_libs=yes
14378 # We used to test for /lib/ld.so.1 and disable shared libraries on
14379 # powerpc, because MkLinux only supported shared libraries with the
14380 # GNU dynamic linker. Since this was broken with cross compilers,
14381 # most powerpc-linux boxes support dynamic linking these days and
14382 # people can always --disable-shared, the test was removed, and we
14383 # assume the GNU/Linux dynamic linker is in use.
14384 dynamic_linker='GNU/Linux ld.so'
14391 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14393 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14394 dynamic_linker='NetBSD (a.out) ld.so'
14396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14397 soname_spec='${libname}${release}${shared_ext}$major'
14398 dynamic_linker='NetBSD ld.elf_so'
14400 shlibpath_var=LD_LIBRARY_PATH
14401 shlibpath_overrides_runpath=yes
14402 hardcode_into_libs=yes
14407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14408 shlibpath_var=LD_LIBRARY_PATH
14409 shlibpath_overrides_runpath=yes
14416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14417 soname_spec='${libname}${release}${shared_ext}$major'
14418 shlibpath_var=LD_LIBRARY_PATH
14419 shlibpath_overrides_runpath=yes
14426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14427 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14428 shlibpath_var=LD_LIBRARY_PATH
14429 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14431 openbsd2.[89] | openbsd2.[89].*)
14432 shlibpath_overrides_runpath=no
14435 shlibpath_overrides_runpath=yes
14439 shlibpath_overrides_runpath=yes
14444 libname_spec='$name'
14447 library_names_spec='$libname${shared_ext} $libname.a'
14448 dynamic_linker='OS/2 ld.exe'
14449 shlibpath_var=LIBPATH
14452 osf3* | osf4* | osf5*)
14456 soname_spec='${libname}${release}${shared_ext}$major'
14457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14458 shlibpath_var=LD_LIBRARY_PATH
14459 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14460 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14465 soname_spec='${libname}${release}${shared_ext}$major'
14466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14467 shlibpath_var=LD_LIBRARY_PATH
14474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14475 soname_spec='${libname}${release}${shared_ext}$major'
14476 shlibpath_var=LD_LIBRARY_PATH
14477 shlibpath_overrides_runpath=yes
14478 hardcode_into_libs=yes
14479 # ldd complains unless libraries are executable
14480 postinstall_cmds='chmod +x $lib'
14485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14486 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14487 shlibpath_var=LD_LIBRARY_PATH
14488 shlibpath_overrides_runpath=yes
14489 if test "$with_gnu_ld" = yes; then
14495 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498 soname_spec='${libname}${release}${shared_ext}$major'
14499 shlibpath_var=LD_LIBRARY_PATH
14500 case $host_vendor in
14502 shlibpath_overrides_runpath=no
14504 export_dynamic_flag_spec='${wl}-Blargedynsym'
14505 runpath_var=LD_RUN_PATH
14513 shlibpath_overrides_runpath=no
14514 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14520 if test -d /usr/nec ;then
14522 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14523 soname_spec='$libname${shared_ext}.$major'
14524 shlibpath_var=LD_LIBRARY_PATH
14530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14531 soname_spec='${libname}${release}${shared_ext}$major'
14532 shlibpath_var=LD_LIBRARY_PATH
14539 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14540 echo "${ECHO_T}$dynamic_linker" >&6
14541 test "$dynamic_linker" = no && can_build_shared=no
14544 # The else clause should only fire when bootstrapping the
14545 # libtool distribution, otherwise you forgot to ship ltmain.sh
14546 # with your package, and you will get complaints that there are
14547 # no rules to generate ltmain.sh.
14548 if test -f "$ltmain"; then
14549 # See if we are running on zsh, and set the options which allow our commands through
14550 # without removal of \ escapes.
14551 if test -n "${ZSH_VERSION+set}" ; then
14552 setopt NO_GLOB_SUBST
14554 # Now quote all the things that may contain metacharacters while being
14555 # careful not to overquote the AC_SUBSTed values. We take copies of the
14556 # variables and quote the copies for generation of the libtool script.
14557 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14558 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14559 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14560 deplibs_check_method reload_flag reload_cmds need_locks \
14561 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14562 lt_cv_sys_global_symbol_to_c_name_address \
14563 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14564 old_postinstall_cmds old_postuninstall_cmds \
14568 lt_prog_compiler_wl_F77 \
14569 lt_prog_compiler_pic_F77 \
14570 lt_prog_compiler_static_F77 \
14571 lt_prog_compiler_no_builtin_flag_F77 \
14572 export_dynamic_flag_spec_F77 \
14573 thread_safe_flag_spec_F77 \
14574 whole_archive_flag_spec_F77 \
14575 enable_shared_with_static_runtimes_F77 \
14576 old_archive_cmds_F77 \
14577 old_archive_from_new_cmds_F77 \
14578 predep_objects_F77 \
14579 postdep_objects_F77 \
14582 compiler_lib_search_path_F77 \
14584 archive_expsym_cmds_F77 \
14585 postinstall_cmds_F77 \
14586 postuninstall_cmds_F77 \
14587 old_archive_from_expsyms_cmds_F77 \
14588 allow_undefined_flag_F77 \
14589 no_undefined_flag_F77 \
14590 export_symbols_cmds_F77 \
14591 hardcode_libdir_flag_spec_F77 \
14592 hardcode_libdir_flag_spec_ld_F77 \
14593 hardcode_libdir_separator_F77 \
14594 hardcode_automatic_F77 \
14596 module_expsym_cmds_F77 \
14597 lt_cv_prog_compiler_c_o_F77 \
14598 exclude_expsyms_F77 \
14599 include_expsyms_F77; do
14602 old_archive_cmds_F77 | \
14603 old_archive_from_new_cmds_F77 | \
14604 archive_cmds_F77 | \
14605 archive_expsym_cmds_F77 | \
14606 module_cmds_F77 | \
14607 module_expsym_cmds_F77 | \
14608 old_archive_from_expsyms_cmds_F77 | \
14609 export_symbols_cmds_F77 | \
14610 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14611 postinstall_cmds | postuninstall_cmds | \
14612 old_postinstall_cmds | old_postuninstall_cmds | \
14613 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14614 # Double-quote double-evaled strings.
14615 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14618 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14624 *'\$0 --fallback-echo"')
14625 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14631 cat <<__EOF__ >> "$cfgfile"
14632 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14634 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14636 # Shell to use when invoking shell scripts.
14639 # Whether or not to build shared libraries.
14640 build_libtool_libs=$enable_shared
14642 # Whether or not to build static libraries.
14643 build_old_libs=$enable_static
14645 # Whether or not to add -lc for building shared libraries.
14646 build_libtool_need_lc=$archive_cmds_need_lc_F77
14648 # Whether or not to disallow shared libs when runtime libs are static
14649 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14651 # Whether or not to optimize for fast installation.
14652 fast_install=$enable_fast_install
14655 host_alias=$host_alias
14658 # An echo program that does not interpret backslashes.
14663 AR_FLAGS=$lt_AR_FLAGS
14668 # A language-specific compiler.
14669 CC=$lt_compiler_F77
14671 # Is the compiler the GNU C compiler?
14677 # The linker used to build libraries.
14680 # Whether we need hard or soft links.
14683 # A BSD-compatible nm program.
14686 # A symbol stripping program
14689 # Used to examine libraries when file_magic_cmd begins "file"
14690 MAGIC_CMD=$MAGIC_CMD
14692 # Used on cygwin: DLL creation program.
14695 # Used on cygwin: object dumper.
14698 # Used on cygwin: assembler.
14701 # The name of the directory that contains temporary libtool files.
14704 # How to create reloadable object files.
14705 reload_flag=$lt_reload_flag
14706 reload_cmds=$lt_reload_cmds
14708 # How to pass a linker flag through the compiler.
14709 wl=$lt_lt_prog_compiler_wl_F77
14711 # Object file suffix (normally "o").
14712 objext="$ac_objext"
14714 # Old archive suffix (normally "a").
14717 # Shared library suffix (normally ".so").
14720 # Executable file suffix (normally "").
14723 # Additional compiler flags for building library objects.
14724 pic_flag=$lt_lt_prog_compiler_pic_F77
14727 # What is the maximum length of a command?
14728 max_cmd_len=$lt_cv_sys_max_cmd_len
14730 # Does compiler simultaneously support -c and -o options?
14731 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14733 # Must we lock files when doing compilation ?
14734 need_locks=$lt_need_locks
14736 # Do we need the lib prefix for modules?
14737 need_lib_prefix=$need_lib_prefix
14739 # Do we need a version for libraries?
14740 need_version=$need_version
14742 # Whether dlopen is supported.
14743 dlopen_support=$enable_dlopen
14745 # Whether dlopen of programs is supported.
14746 dlopen_self=$enable_dlopen_self
14748 # Whether dlopen of statically linked programs is supported.
14749 dlopen_self_static=$enable_dlopen_self_static
14751 # Compiler flag to prevent dynamic linking.
14752 link_static_flag=$lt_lt_prog_compiler_static_F77
14754 # Compiler flag to turn off builtin functions.
14755 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14757 # Compiler flag to allow reflexive dlopens.
14758 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14760 # Compiler flag to generate shared objects directly from archives.
14761 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14763 # Compiler flag to generate thread-safe objects.
14764 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14766 # Library versioning type.
14767 version_type=$version_type
14769 # Format of library name prefix.
14770 libname_spec=$lt_libname_spec
14772 # List of archive names. First name is the real one, the rest are links.
14773 # The last name is the one that the linker finds with -lNAME.
14774 library_names_spec=$lt_library_names_spec
14776 # The coded name of the library, if different from the real name.
14777 soname_spec=$lt_soname_spec
14779 # Commands used to build and install an old-style archive.
14781 old_archive_cmds=$lt_old_archive_cmds_F77
14782 old_postinstall_cmds=$lt_old_postinstall_cmds
14783 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14785 # Create an old-style archive from a shared archive.
14786 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14788 # Create a temporary old-style archive to link instead of a shared archive.
14789 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14791 # Commands used to build and install a shared archive.
14792 archive_cmds=$lt_archive_cmds_F77
14793 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14794 postinstall_cmds=$lt_postinstall_cmds
14795 postuninstall_cmds=$lt_postuninstall_cmds
14797 # Commands used to build a loadable module (assumed same as above if empty)
14798 module_cmds=$lt_module_cmds_F77
14799 module_expsym_cmds=$lt_module_expsym_cmds_F77
14801 # Commands to strip libraries.
14802 old_striplib=$lt_old_striplib
14803 striplib=$lt_striplib
14805 # Dependencies to place before the objects being linked to create a
14807 predep_objects=$lt_predep_objects_F77
14809 # Dependencies to place after the objects being linked to create a
14811 postdep_objects=$lt_postdep_objects_F77
14813 # Dependencies to place before the objects being linked to create a
14815 predeps=$lt_predeps_F77
14817 # Dependencies to place after the objects being linked to create a
14819 postdeps=$lt_postdeps_F77
14821 # The library search path used internally by the compiler when linking
14822 # a shared library.
14823 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14825 # Method to check whether dependent libraries are shared objects.
14826 deplibs_check_method=$lt_deplibs_check_method
14828 # Command to use when deplibs_check_method == file_magic.
14829 file_magic_cmd=$lt_file_magic_cmd
14831 # Flag that allows shared libraries with undefined symbols to be built.
14832 allow_undefined_flag=$lt_allow_undefined_flag_F77
14834 # Flag that forces no undefined symbols.
14835 no_undefined_flag=$lt_no_undefined_flag_F77
14837 # Commands used to finish a libtool library installation in a directory.
14838 finish_cmds=$lt_finish_cmds
14840 # Same as above, but a single script fragment to be evaled but not shown.
14841 finish_eval=$lt_finish_eval
14843 # Take the output of nm and produce a listing of raw symbols and C names.
14844 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14846 # Transform the output of nm in a proper C declaration
14847 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14849 # Transform the output of nm in a C name address pair
14850 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14852 # This is the shared library runtime path variable.
14853 runpath_var=$runpath_var
14855 # This is the shared library path variable.
14856 shlibpath_var=$shlibpath_var
14858 # Is shlibpath searched before the hard-coded library search path?
14859 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14861 # How to hardcode a shared library path into an executable.
14862 hardcode_action=$hardcode_action_F77
14864 # Whether we should hardcode library paths into libraries.
14865 hardcode_into_libs=$hardcode_into_libs
14867 # Flag to hardcode \$libdir into a binary during linking.
14868 # This must work even if \$libdir does not exist.
14869 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14871 # If ld is used when linking, flag to hardcode \$libdir into
14872 # a binary during linking. This must work even if \$libdir does
14874 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14876 # Whether we need a single -rpath flag with a separated argument.
14877 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14879 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14880 # resulting binary.
14881 hardcode_direct=$hardcode_direct_F77
14883 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14884 # resulting binary.
14885 hardcode_minus_L=$hardcode_minus_L_F77
14887 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14888 # the resulting binary.
14889 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14891 # Set to yes if building a shared library automatically hardcodes DIR into the library
14892 # and all subsequent libraries and executables linked against it.
14893 hardcode_automatic=$hardcode_automatic_F77
14895 # Variables whose values should be saved in libtool wrapper scripts and
14896 # restored at relink time.
14897 variables_saved_for_relink="$variables_saved_for_relink"
14899 # Whether libtool must link a program against all its dependency libraries.
14900 link_all_deplibs=$link_all_deplibs_F77
14902 # Compile-time system search path for libraries
14903 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14905 # Run-time system search path for libraries
14906 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14908 # Fix the shell variable \$srcfile for the compiler.
14909 fix_srcfile_path="$fix_srcfile_path_F77"
14911 # Set to yes if exported symbols are required.
14912 always_export_symbols=$always_export_symbols_F77
14914 # The commands to list exported symbols.
14915 export_symbols_cmds=$lt_export_symbols_cmds_F77
14917 # The commands to extract the exported symbol list from a shared archive.
14918 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14920 # Symbols that should not be listed in the preloaded symbols.
14921 exclude_expsyms=$lt_exclude_expsyms_F77
14923 # Symbols that must always be exported.
14924 include_expsyms=$lt_include_expsyms_F77
14926 # ### END LIBTOOL TAG CONFIG: $tagname
14932 # If there is no Makefile yet, we rely on a make rule to execute
14933 # `config.status --recheck' to rerun these tests and create the
14934 # libtool script then.
14935 test -f Makefile && make "$ltmain"
14940 ac_cpp='$CPP $CPPFLAGS'
14941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14953 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14957 # Source file extension for Java test sources.
14960 # Object file extension for compiled Java test sources.
14964 # Code to be used in simple compile tests
14965 lt_simple_compile_test_code="class foo {}\n"
14967 # Code to be used in simple link tests
14968 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
14970 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14972 # If no C compiler was specified, use CC.
14975 # Allow CC to be a program name with arguments.
14979 # Allow CC to be a program name with arguments.
14985 # GCJ did not exist at the time GCC didn't implicitly link libc in.
14986 archive_cmds_need_lc_GCJ=no
14989 ## There is no encapsulation within the following macros, do not change
14990 ## the running order or otherwise move them around unless you know exactly
14991 ## what you are doing...
14993 lt_prog_compiler_no_builtin_flag_GCJ=
14995 if test "$GCC" = yes; then
14996 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
14998 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
14999 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15000 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15001 echo $ECHO_N "(cached) $ECHO_C" >&6
15003 lt_cv_prog_compiler_rtti_exceptions=no
15004 ac_outfile=conftest.$ac_objext
15005 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15006 lt_compiler_flag="-fno-rtti -fno-exceptions"
15007 # Insert the option either (1) after the last *FLAGS variable, or
15008 # (2) before a word containing "conftest.", or (3) at the end.
15009 # Note that $ac_compile itself does not contain backslashes and begins
15010 # with a dollar sign (not a hyphen), so the echo should work correctly.
15011 # The option is referenced via a variable to avoid confusing sed.
15012 lt_compile=`echo "$ac_compile" | $SED \
15013 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15014 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15015 -e 's:$: $lt_compiler_flag:'`
15016 (eval echo "\"\$as_me:15016: $lt_compile\"" >&5)
15017 (eval "$lt_compile" 2>conftest.err)
15019 cat conftest.err >&5
15020 echo "$as_me:15020: \$? = $ac_status" >&5
15021 if (exit $ac_status) && test -s "$ac_outfile"; then
15022 # The compiler can only warn and ignore the option if not recognized
15023 # So say no if there are warnings
15024 if test ! -s conftest.err; then
15025 lt_cv_prog_compiler_rtti_exceptions=yes
15031 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15032 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15034 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15035 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15042 lt_prog_compiler_wl_GCJ=
15043 lt_prog_compiler_pic_GCJ=
15044 lt_prog_compiler_static_GCJ=
15046 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15047 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15049 if test "$GCC" = yes; then
15050 lt_prog_compiler_wl_GCJ='-Wl,'
15051 lt_prog_compiler_static_GCJ='-static'
15055 # All AIX code is PIC.
15056 if test "$host_cpu" = ia64; then
15057 # AIX 5 now supports IA64 processor
15058 lt_prog_compiler_static_GCJ='-Bstatic'
15063 # FIXME: we need at least 68020 code to build shared libraries, but
15064 # adding the `-m68020' flag to GCC prevents building anything better,
15066 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15069 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15070 # PIC is the default for these OSes.
15073 mingw* | pw32* | os2*)
15074 # This hack is so that the source file can tell whether it is being
15075 # built for inclusion in a dll (and should export symbols for example).
15076 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15079 darwin* | rhapsody*)
15080 # PIC is the default on this platform
15081 # Common symbols not allowed in MH_DYLIB files
15082 lt_prog_compiler_pic_GCJ='-fno-common'
15086 # Just because we use GCC doesn't mean we suddenly get shared libraries
15087 # on systems that don't support them.
15088 lt_prog_compiler_can_build_shared_GCJ=no
15093 if test -d /usr/nec; then
15094 lt_prog_compiler_pic_GCJ=-Kconform_pic
15099 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15100 # not for PA HP-UX.
15101 case "$host_cpu" in
15106 lt_prog_compiler_pic_GCJ='-fPIC'
15112 lt_prog_compiler_pic_GCJ='-fPIC'
15116 # PORTME Check for flag to pass linker flags through the system compiler.
15119 lt_prog_compiler_wl_GCJ='-Wl,'
15120 if test "$host_cpu" = ia64; then
15121 # AIX 5 now supports IA64 processor
15122 lt_prog_compiler_static_GCJ='-Bstatic'
15124 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15128 mingw* | pw32* | os2*)
15129 # This hack is so that the source file can tell whether it is being
15130 # built for inclusion in a dll (and should export symbols for example).
15131 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15134 hpux9* | hpux10* | hpux11*)
15135 lt_prog_compiler_wl_GCJ='-Wl,'
15136 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15137 # not for PA HP-UX.
15138 case "$host_cpu" in
15143 lt_prog_compiler_pic_GCJ='+Z'
15146 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15147 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15150 irix5* | irix6* | nonstopux*)
15151 lt_prog_compiler_wl_GCJ='-Wl,'
15152 # PIC (with -KPIC) is the default.
15153 lt_prog_compiler_static_GCJ='-non_shared'
15157 lt_prog_compiler_pic_GCJ='-KPIC'
15158 lt_prog_compiler_static_GCJ='-Bstatic'
15164 lt_prog_compiler_wl_GCJ='-Wl,'
15165 lt_prog_compiler_pic_GCJ='-KPIC'
15166 lt_prog_compiler_static_GCJ='-static'
15169 lt_prog_compiler_wl_GCJ='-Wl,'
15170 # All Alpha code is PIC.
15171 lt_prog_compiler_static_GCJ='-non_shared'
15176 osf3* | osf4* | osf5*)
15177 lt_prog_compiler_wl_GCJ='-Wl,'
15178 # All OSF/1 code is PIC.
15179 lt_prog_compiler_static_GCJ='-non_shared'
15183 lt_prog_compiler_pic_GCJ='-Kpic'
15184 lt_prog_compiler_static_GCJ='-dn'
15188 lt_prog_compiler_wl_GCJ='-Wl,'
15189 lt_prog_compiler_pic_GCJ='-KPIC'
15190 lt_prog_compiler_static_GCJ='-Bstatic'
15194 lt_prog_compiler_wl_GCJ='-Qoption ld '
15195 lt_prog_compiler_pic_GCJ='-PIC'
15196 lt_prog_compiler_static_GCJ='-Bstatic'
15199 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15200 lt_prog_compiler_wl_GCJ='-Wl,'
15201 lt_prog_compiler_pic_GCJ='-KPIC'
15202 lt_prog_compiler_static_GCJ='-Bstatic'
15206 if test -d /usr/nec ;then
15207 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15208 lt_prog_compiler_static_GCJ='-Bstatic'
15213 lt_prog_compiler_pic_GCJ='-pic'
15214 lt_prog_compiler_static_GCJ='-Bstatic'
15218 lt_prog_compiler_can_build_shared_GCJ=no
15223 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15224 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15227 # Check to make sure the PIC flag actually works.
15229 if test -n "$lt_prog_compiler_pic_GCJ"; then
15230 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15231 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15232 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15233 echo $ECHO_N "(cached) $ECHO_C" >&6
15235 lt_prog_compiler_pic_works_GCJ=no
15236 ac_outfile=conftest.$ac_objext
15237 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15238 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15239 # Insert the option either (1) after the last *FLAGS variable, or
15240 # (2) before a word containing "conftest.", or (3) at the end.
15241 # Note that $ac_compile itself does not contain backslashes and begins
15242 # with a dollar sign (not a hyphen), so the echo should work correctly.
15243 # The option is referenced via a variable to avoid confusing sed.
15244 lt_compile=`echo "$ac_compile" | $SED \
15245 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15246 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15247 -e 's:$: $lt_compiler_flag:'`
15248 (eval echo "\"\$as_me:15248: $lt_compile\"" >&5)
15249 (eval "$lt_compile" 2>conftest.err)
15251 cat conftest.err >&5
15252 echo "$as_me:15252: \$? = $ac_status" >&5
15253 if (exit $ac_status) && test -s "$ac_outfile"; then
15254 # The compiler can only warn and ignore the option if not recognized
15255 # So say no if there are warnings
15256 if test ! -s conftest.err; then
15257 lt_prog_compiler_pic_works_GCJ=yes
15263 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15264 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15266 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15267 case $lt_prog_compiler_pic_GCJ in
15269 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15272 lt_prog_compiler_pic_GCJ=
15273 lt_prog_compiler_can_build_shared_GCJ=no
15278 # For platforms which do not support PIC, -DPIC is meaningless:
15280 lt_prog_compiler_pic_GCJ=
15283 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15287 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15288 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15289 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15290 echo $ECHO_N "(cached) $ECHO_C" >&6
15292 lt_cv_prog_compiler_c_o_GCJ=no
15293 $rm -r conftest 2>/dev/null
15297 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15299 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15300 # that will create temporary files in the current directory regardless of
15301 # the output directory. Thus, making CWD read-only will cause this test
15302 # to fail, enabling locking or at least warning the user not to do parallel
15306 lt_compiler_flag="-o out/conftest2.$ac_objext"
15307 # Insert the option either (1) after the last *FLAGS variable, or
15308 # (2) before a word containing "conftest.", or (3) at the end.
15309 # Note that $ac_compile itself does not contain backslashes and begins
15310 # with a dollar sign (not a hyphen), so the echo should work correctly.
15311 lt_compile=`echo "$ac_compile" | $SED \
15312 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15313 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15314 -e 's:$: $lt_compiler_flag:'`
15315 (eval echo "\"\$as_me:15315: $lt_compile\"" >&5)
15316 (eval "$lt_compile" 2>out/conftest.err)
15318 cat out/conftest.err >&5
15319 echo "$as_me:15319: \$? = $ac_status" >&5
15320 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15322 # The compiler can only warn and ignore the option if not recognized
15323 # So say no if there are warnings
15324 if test ! -s out/conftest.err; then
15325 lt_cv_prog_compiler_c_o_GCJ=yes
15329 $rm conftest* out/*
15336 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15337 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15340 hard_links="nottested"
15341 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15342 # do not overwrite the value of need_locks provided by the user
15343 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15344 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15347 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15349 ln conftest.a conftest.b 2>&5 || hard_links=no
15350 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15351 echo "$as_me:$LINENO: result: $hard_links" >&5
15352 echo "${ECHO_T}$hard_links" >&6
15353 if test "$hard_links" = no; then
15354 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15355 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15362 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15363 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15366 allow_undefined_flag_GCJ=
15367 enable_shared_with_static_runtimes_GCJ=no
15369 archive_expsym_cmds_GCJ=
15370 old_archive_From_new_cmds_GCJ=
15371 old_archive_from_expsyms_cmds_GCJ=
15372 export_dynamic_flag_spec_GCJ=
15373 whole_archive_flag_spec_GCJ=
15374 thread_safe_flag_spec_GCJ=
15375 hardcode_libdir_flag_spec_GCJ=
15376 hardcode_libdir_flag_spec_ld_GCJ=
15377 hardcode_libdir_separator_GCJ=
15378 hardcode_direct_GCJ=no
15379 hardcode_minus_L_GCJ=no
15380 hardcode_shlibpath_var_GCJ=unsupported
15381 link_all_deplibs_GCJ=unknown
15382 hardcode_automatic_GCJ=no
15384 module_expsym_cmds_GCJ=
15385 always_export_symbols_GCJ=no
15386 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15387 # include_expsyms should be a list of space-separated symbols to be *always*
15388 # included in the symbol list
15389 include_expsyms_GCJ=
15390 # exclude_expsyms can be an extended regexp of symbols to exclude
15391 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15392 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15393 # as well as any symbol that contains `d'.
15394 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15395 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15396 # platforms (ab)use it in PIC code, but their linkers get confused if
15397 # the symbol is explicitly referenced. Since portable code cannot
15398 # rely on this symbol name, it's probably fine to never include it in
15399 # preloaded symbol tables.
15400 extract_expsyms_cmds=
15403 cygwin* | mingw* | pw32*)
15404 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15405 # When not using gcc, we currently assume that we are using
15406 # Microsoft Visual C++.
15407 if test "$GCC" != yes; then
15417 if test "$with_gnu_ld" = yes; then
15418 # If archive_cmds runs LD, not CC, wlarc should be empty
15421 # See if GNU ld supports shared libraries.
15423 aix3* | aix4* | aix5*)
15424 # On AIX/PPC, the GNU linker is very broken
15425 if test "$host_cpu" != ia64; then
15429 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15430 *** to be unable to reliably create shared libraries on AIX.
15431 *** Therefore, libtool is disabling shared libraries support. If you
15432 *** really care for shared libraries, you may want to modify your PATH
15433 *** so that a non-GNU linker is found, and then restart.
15440 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)'
15441 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15442 hardcode_minus_L_GCJ=yes
15444 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15445 # that the semantics of dynamic libraries on AmigaOS, at least up
15446 # to version 4, is to share data among multiple programs linked
15447 # with the same dynamic library. Since this doesn't match the
15448 # behavior of shared libraries on other platforms, we can't use
15454 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15455 allow_undefined_flag_GCJ=unsupported
15456 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15457 # support --undefined. This deserves some investigation. FIXME
15458 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15464 cygwin* | mingw* | pw32*)
15465 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15466 # as there is no search path for DLLs.
15467 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15468 allow_undefined_flag_GCJ=unsupported
15469 always_export_symbols_GCJ=no
15470 enable_shared_with_static_runtimes_GCJ=yes
15471 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15473 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15474 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15475 # If the export-symbols file already is a .def file (1st line
15476 # is EXPORTS), use it as is; otherwise, prepend...
15477 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15478 cp $export_symbols $output_objdir/$soname.def;
15480 echo EXPORTS > $output_objdir/$soname.def;
15481 cat $export_symbols >> $output_objdir/$soname.def;
15483 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15490 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15491 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15494 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15495 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15500 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15504 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15505 *** create shared libraries on Solaris systems. Therefore, libtool
15506 *** is disabling shared libraries support. We urge you to upgrade GNU
15507 *** binutils to release 2.9.1 or newer. Another option is to modify
15508 *** your PATH or compiler configuration so that the native linker is
15509 *** used, and then restart.
15512 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15513 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15514 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15521 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15523 hardcode_direct_GCJ=yes
15524 hardcode_shlibpath_var_GCJ=no
15528 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15529 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15530 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15537 if test "$ld_shlibs_GCJ" = yes; then
15538 runpath_var=LD_RUN_PATH
15539 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15540 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15541 # ancient GNU ld didn't support --whole-archive et. al.
15542 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15543 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15545 whole_archive_flag_spec_GCJ=
15549 # PORTME fill in a description of your system's linker (not GNU ld)
15552 allow_undefined_flag_GCJ=unsupported
15553 always_export_symbols_GCJ=yes
15554 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'
15555 # Note: this linker hardcodes the directories in LIBPATH if there
15556 # are no directories specified by -L.
15557 hardcode_minus_L_GCJ=yes
15558 if test "$GCC" = yes && test -z "$link_static_flag"; then
15559 # Neither direct hardcoding nor static linking is supported with a
15561 hardcode_direct_GCJ=unsupported
15566 if test "$host_cpu" = ia64; then
15567 # On IA64, the linker does run time linking by default, so we don't
15568 # have to do anything special.
15569 aix_use_runtimelinking=no
15570 exp_sym_flag='-Bexport'
15573 # If we're using GNU nm, then we don't want the "-C" option.
15574 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15575 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15576 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'
15578 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'
15580 aix_use_runtimelinking=no
15582 # Test if we are trying to use run time linking or normal
15583 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15584 # need to do runtime linking.
15585 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15586 for ld_flag in $LDFLAGS; do
15587 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15588 aix_use_runtimelinking=yes
15594 exp_sym_flag='-bexport'
15595 no_entry_flag='-bnoentry'
15598 # When large executables or shared objects are built, AIX ld can
15599 # have problems creating the table of contents. If linking a library
15600 # or program results in "error TOC overflow" add -mminimal-toc to
15601 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15602 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15604 archive_cmds_GCJ=''
15605 hardcode_direct_GCJ=yes
15606 hardcode_libdir_separator_GCJ=':'
15607 link_all_deplibs_GCJ=yes
15609 if test "$GCC" = yes; then
15610 case $host_os in aix4.012|aix4.012.*)
15611 # We only want to do this on AIX 4.2 and lower, the check
15612 # below for broken collect2 doesn't work under 4.3+
15613 collect2name=`${CC} -print-prog-name=collect2`
15614 if test -f "$collect2name" && \
15615 strings "$collect2name" | grep resolve_lib_name >/dev/null
15617 # We have reworked collect2
15618 hardcode_direct_GCJ=yes
15620 # We have old collect2
15621 hardcode_direct_GCJ=unsupported
15622 # It fails to find uninstalled libraries when the uninstalled
15623 # path is not listed in the libpath. Setting hardcode_minus_L
15624 # to unsupported forces relinking
15625 hardcode_minus_L_GCJ=yes
15626 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15627 hardcode_libdir_separator_GCJ=
15630 shared_flag='-shared'
15633 if test "$host_cpu" = ia64; then
15634 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15635 # chokes on -Wl,-G. The following line is correct:
15638 if test "$aix_use_runtimelinking" = yes; then
15639 shared_flag='${wl}-G'
15641 shared_flag='${wl}-bM:SRE'
15646 # It seems that -bexpall does not export symbols beginning with
15647 # underscore (_), so it is better to generate a list of symbols to export.
15648 always_export_symbols_GCJ=yes
15649 if test "$aix_use_runtimelinking" = yes; then
15650 # Warning - without using the other runtime loading flags (-brtl),
15651 # -berok will link without error, but may produce a broken library.
15652 allow_undefined_flag_GCJ='-berok'
15653 # Determine the default libpath from the value encoded in an empty executable.
15654 cat >conftest.$ac_ext <<_ACEOF
15655 #line $LINENO "configure"
15658 cat confdefs.h >>conftest.$ac_ext
15659 cat >>conftest.$ac_ext <<_ACEOF
15660 /* end confdefs.h. */
15670 rm -f conftest.$ac_objext conftest$ac_exeext
15671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15672 (eval $ac_link) 2>&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); } &&
15676 { ac_try='test -s conftest$ac_exeext'
15677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15678 (eval $ac_try) 2>&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); }; }; then
15683 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15685 # Check for a 64-bit object if we didn't find anything.
15686 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; }
15689 echo "$as_me: failed program was:" >&5
15690 sed 's/^/| /' conftest.$ac_ext >&5
15693 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15694 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15696 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15697 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"
15699 if test "$host_cpu" = ia64; then
15700 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15701 allow_undefined_flag_GCJ="-z nodefs"
15702 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"
15704 # Determine the default libpath from the value encoded in an empty executable.
15705 cat >conftest.$ac_ext <<_ACEOF
15706 #line $LINENO "configure"
15709 cat confdefs.h >>conftest.$ac_ext
15710 cat >>conftest.$ac_ext <<_ACEOF
15711 /* end confdefs.h. */
15721 rm -f conftest.$ac_objext conftest$ac_exeext
15722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15723 (eval $ac_link) 2>&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); } &&
15727 { ac_try='test -s conftest$ac_exeext'
15728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15729 (eval $ac_try) 2>&5
15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732 (exit $ac_status); }; }; then
15734 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15736 # Check for a 64-bit object if we didn't find anything.
15737 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; }
15740 echo "$as_me: failed program was:" >&5
15741 sed 's/^/| /' conftest.$ac_ext >&5
15744 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15745 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15747 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15748 # Warning - without using the other run time loading flags,
15749 # -berok will link without error, but may produce a broken library.
15750 no_undefined_flag_GCJ=' ${wl}-bernotok'
15751 allow_undefined_flag_GCJ=' ${wl}-berok'
15752 # -bexpall does not export symbols beginning with underscore (_)
15753 always_export_symbols_GCJ=yes
15754 # Exported symbols can be pulled into shared objects from archives
15755 whole_archive_flag_spec_GCJ=' '
15756 archive_cmds_need_lc_GCJ=yes
15757 # This is similar to how AIX traditionally builds it's shared libraries.
15758 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'
15764 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)'
15765 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15766 hardcode_minus_L_GCJ=yes
15767 # see comment about different semantics on the GNU ld section
15772 export_dynamic_flag_spec_GCJ=-rdynamic
15775 cygwin* | mingw* | pw32*)
15776 # When not using gcc, we currently assume that we are using
15777 # Microsoft Visual C++.
15778 # hardcode_libdir_flag_spec is actually meaningless, as there is
15779 # no search path for DLLs.
15780 hardcode_libdir_flag_spec_GCJ=' '
15781 allow_undefined_flag_GCJ=unsupported
15782 # Tell ltmain to make .lib files, not .a files.
15784 # Tell ltmain to make .dll files, not .so files.
15786 # FIXME: Setting linknames here is a bad hack.
15787 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15788 # The linker will automatically build a .lib file if we build a DLL.
15789 old_archive_From_new_cmds_GCJ='true'
15790 # FIXME: Should let the user specify the lib program.
15791 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15792 fix_srcfile_path='`cygpath -w "$srcfile"`'
15793 enable_shared_with_static_runtimes_GCJ=yes
15796 darwin* | rhapsody*)
15797 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15798 archive_cmds_need_lc_GCJ=no
15800 rhapsody* | darwin1.[012])
15801 allow_undefined_flag_GCJ='-undefined suppress'
15804 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15807 # FIXME: Relying on posixy $() will cause problems for
15808 # cross-compilation, but unfortunately the echo tests do not
15809 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15810 # `"' quotes if we put them in here... so don't!
15811 lt_int_apple_cc_single_mod=no
15812 output_verbose_link_cmd='echo'
15813 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15814 lt_int_apple_cc_single_mod=yes
15816 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15817 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15819 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'
15821 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15822 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15823 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15824 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}'
15826 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}'
15828 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}'
15829 hardcode_direct_GCJ=no
15830 hardcode_automatic_GCJ=yes
15831 hardcode_shlibpath_var_GCJ=unsupported
15832 whole_archive_flag_spec_GCJ='-all_load $convenience'
15833 link_all_deplibs_GCJ=yes
15838 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15839 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15840 hardcode_shlibpath_var_GCJ=no
15847 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15848 # support. Future versions do this automatically, but an explicit c++rt0.o
15849 # does not break anything, and helps significantly (at the cost of a little
15852 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15853 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15854 hardcode_direct_GCJ=yes
15855 hardcode_shlibpath_var_GCJ=no
15858 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15860 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15861 hardcode_direct_GCJ=yes
15862 hardcode_minus_L_GCJ=yes
15863 hardcode_shlibpath_var_GCJ=no
15866 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15868 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15869 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15870 hardcode_direct_GCJ=yes
15871 hardcode_shlibpath_var_GCJ=no
15875 if test "$GCC" = yes; then
15876 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'
15878 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'
15880 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15881 hardcode_libdir_separator_GCJ=:
15882 hardcode_direct_GCJ=yes
15884 # hardcode_minus_L: Not really in the search PATH,
15885 # but as the default location of the library.
15886 hardcode_minus_L_GCJ=yes
15887 export_dynamic_flag_spec_GCJ='${wl}-E'
15891 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15892 case "$host_cpu" in
15894 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15897 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15901 case "$host_cpu" in
15903 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15906 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15910 if test "$with_gnu_ld" = no; then
15911 case "$host_cpu" in
15913 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15914 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15915 hardcode_libdir_separator_GCJ=:
15916 hardcode_direct_GCJ=no
15917 hardcode_shlibpath_var_GCJ=no
15920 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15921 hardcode_direct_GCJ=no
15922 hardcode_shlibpath_var_GCJ=no
15924 # hardcode_minus_L: Not really in the search PATH,
15925 # but as the default location of the library.
15926 hardcode_minus_L_GCJ=yes
15929 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15930 hardcode_libdir_separator_GCJ=:
15931 hardcode_direct_GCJ=yes
15932 export_dynamic_flag_spec_GCJ='${wl}-E'
15934 # hardcode_minus_L: Not really in the search PATH,
15935 # but as the default location of the library.
15936 hardcode_minus_L_GCJ=yes
15942 irix5* | irix6* | nonstopux*)
15943 if test "$GCC" = yes; then
15944 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'
15946 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'
15947 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15949 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15950 hardcode_libdir_separator_GCJ=:
15951 link_all_deplibs_GCJ=yes
15955 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15956 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15958 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15960 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15961 hardcode_direct_GCJ=yes
15962 hardcode_shlibpath_var_GCJ=no
15966 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15967 hardcode_direct_GCJ=yes
15968 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15969 hardcode_libdir_separator_GCJ=:
15970 hardcode_shlibpath_var_GCJ=no
15974 hardcode_direct_GCJ=yes
15975 hardcode_shlibpath_var_GCJ=no
15976 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15977 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15978 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15979 export_dynamic_flag_spec_GCJ='${wl}-E'
15982 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15983 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15984 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15987 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15988 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15995 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15996 hardcode_minus_L_GCJ=yes
15997 allow_undefined_flag_GCJ=unsupported
15998 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'
15999 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16003 if test "$GCC" = yes; then
16004 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16005 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'
16007 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16008 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'
16010 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16011 hardcode_libdir_separator_GCJ=:
16014 osf4* | osf5*) # as osf3* with the addition of -msym flag
16015 if test "$GCC" = yes; then
16016 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16017 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'
16018 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16020 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16021 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'
16022 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~
16023 $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'
16025 # Both c and cxx compiler support -rpath directly
16026 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16028 hardcode_libdir_separator_GCJ=:
16032 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16033 hardcode_shlibpath_var_GCJ=no
16034 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16035 runpath_var=LD_RUN_PATH
16036 hardcode_runpath_var=yes
16040 no_undefined_flag_GCJ=' -z text'
16041 if test "$GCC" = yes; then
16042 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16043 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16044 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16046 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16047 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16048 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16050 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16051 hardcode_shlibpath_var_GCJ=no
16053 solaris2.[0-5] | solaris2.[0-5].*) ;;
16054 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16055 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16057 link_all_deplibs_GCJ=yes
16061 if test "x$host_vendor" = xsequent; then
16062 # Use $CC to link under sequent, because it throws in some extra .o
16063 # files that make .init and .fini sections work.
16064 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16066 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16068 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16069 hardcode_direct_GCJ=yes
16070 hardcode_minus_L_GCJ=yes
16071 hardcode_shlibpath_var_GCJ=no
16075 case $host_vendor in
16077 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16078 hardcode_direct_GCJ=yes # is this really true???
16081 ## LD is ld it makes a PLAMLIB
16082 ## CC just makes a GrossModule.
16083 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16084 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16085 hardcode_direct_GCJ=no
16088 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16089 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16092 runpath_var='LD_RUN_PATH'
16093 hardcode_shlibpath_var_GCJ=no
16097 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16098 hardcode_shlibpath_var_GCJ=no
16099 export_dynamic_flag_spec_GCJ='-Bexport'
16103 if test -d /usr/nec; then
16104 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16105 hardcode_shlibpath_var_GCJ=no
16106 runpath_var=LD_RUN_PATH
16107 hardcode_runpath_var=yes
16113 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16114 hardcode_direct_GCJ=yes
16115 hardcode_minus_L_GCJ=no
16116 hardcode_shlibpath_var_GCJ=no
16117 hardcode_runpath_var=yes
16118 runpath_var=LD_RUN_PATH
16121 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16122 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16123 if test "$GCC" = yes; then
16124 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16126 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16128 runpath_var='LD_RUN_PATH'
16129 hardcode_shlibpath_var_GCJ=no
16133 no_undefined_flag_GCJ=' -z text'
16134 # $CC -shared without GNU ld will not create a library from C++
16135 # object files and a static libstdc++, better avoid it by now
16136 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16137 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16138 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16139 hardcode_libdir_flag_spec_GCJ=
16140 hardcode_shlibpath_var_GCJ=no
16141 runpath_var='LD_RUN_PATH'
16145 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16146 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16147 hardcode_shlibpath_var_GCJ=no
16156 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16157 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16158 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16160 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16161 if test "$GCC" = yes; then
16162 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16166 # Do we need to explicitly link libc?
16168 case "x$archive_cmds_need_lc_GCJ" in
16170 # Assume -lc should be added
16171 archive_cmds_need_lc_GCJ=yes
16173 if test "$enable_shared" = yes && test "$GCC" = yes; then
16174 case $archive_cmds_GCJ in
16176 # FIXME: we may have to deal with multi-command sequences.
16179 # Test whether the compiler implicitly links with -lc since on some
16180 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16181 # to ld, don't add -lc before -lgcc.
16182 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16183 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16185 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16188 (eval $ac_compile) 2>&5
16190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16191 (exit $ac_status); } 2>conftest.err; then
16194 libobjs=conftest.$ac_objext
16196 wl=$lt_prog_compiler_wl_GCJ
16202 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16203 allow_undefined_flag_GCJ=
16204 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16205 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); }
16210 archive_cmds_need_lc_GCJ=no
16212 archive_cmds_need_lc_GCJ=yes
16214 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16216 cat conftest.err 1>&5
16219 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16220 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16227 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16228 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16229 hardcode_action_GCJ=
16230 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16231 test -n "$runpath_var GCJ" || \
16232 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16234 # We can hardcode non-existant directories.
16235 if test "$hardcode_direct_GCJ" != no &&
16236 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16237 # have to relink, otherwise we might link with an installed library
16238 # when we should be linking with a yet-to-be-installed one
16239 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16240 test "$hardcode_minus_L_GCJ" != no; then
16241 # Linking always hardcodes the temporary library directory.
16242 hardcode_action_GCJ=relink
16244 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16245 hardcode_action_GCJ=immediate
16248 # We cannot hardcode anything, or else we can only hardcode existing
16250 hardcode_action_GCJ=unsupported
16252 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16253 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16255 if test "$hardcode_action_GCJ" = relink; then
16256 # Fast installation is not supported
16257 enable_fast_install=no
16258 elif test "$shlibpath_overrides_runpath" = yes ||
16259 test "$enable_shared" = no; then
16260 # Fast installation is not necessary
16261 enable_fast_install=needless
16266 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16267 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16268 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16269 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16270 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16271 echo "$as_me:$LINENO: result: yes" >&5
16272 echo "${ECHO_T}yes" >&6
16274 # FIXME - insert some real tests, host_os isn't really good enough
16277 if test -n "$STRIP" ; then
16278 striplib="$STRIP -x"
16279 echo "$as_me:$LINENO: result: yes" >&5
16280 echo "${ECHO_T}yes" >&6
16282 echo "$as_me:$LINENO: result: no" >&5
16283 echo "${ECHO_T}no" >&6
16287 echo "$as_me:$LINENO: result: no" >&5
16288 echo "${ECHO_T}no" >&6
16293 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16294 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16295 library_names_spec=
16296 libname_spec='lib$name'
16300 postuninstall_cmds=
16304 shlibpath_overrides_runpath=unknown
16306 dynamic_linker="$host_os ld.so"
16307 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16308 if test "$GCC" = yes; then
16309 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16310 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16311 # if the path contains ";" then we assume it to be the separator
16312 # otherwise default to the standard path separator (i.e. ":") - it is
16313 # assumed that no part of a normal pathname contains ";" but that should
16314 # okay in the real world where ";" in dirpaths is itself problematic.
16315 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16317 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16320 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16322 need_lib_prefix=unknown
16323 hardcode_into_libs=no
16325 # when you set need_version to no, make sure it does not cause -set_version
16326 # flags to be left without arguments
16327 need_version=unknown
16332 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16333 shlibpath_var=LIBPATH
16335 # AIX 3 has no versioning support, so we append a major version to the name.
16336 soname_spec='${libname}${release}${shared_ext}$major'
16343 hardcode_into_libs=yes
16344 if test "$host_cpu" = ia64; then
16345 # AIX 5 supports IA64
16346 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16347 shlibpath_var=LD_LIBRARY_PATH
16349 # With GCC up to 2.95.x, collect2 would create an import file
16350 # for dependence libraries. The import file would start with
16351 # the line `#! .'. This would cause the generated library to
16352 # depend on `.', always an invalid library. This was fixed in
16353 # development snapshots of GCC prior to 3.0.
16355 aix4 | aix4.[01] | aix4.[01].*)
16356 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16358 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16361 can_build_shared=no
16365 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16366 # soname into executable. Probably we can add versioning support to
16367 # collect2, so additional links can be useful in future.
16368 if test "$aix_use_runtimelinking" = yes; then
16369 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16370 # instead of lib<name>.a to let people know that these are not
16371 # typical AIX shared libraries.
16372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16374 # We preserve .a as extension for shared libraries through AIX4.2
16375 # and later when we are not doing run time linking.
16376 library_names_spec='${libname}${release}.a $libname.a'
16377 soname_spec='${libname}${release}${shared_ext}$major'
16379 shlibpath_var=LIBPATH
16384 library_names_spec='$libname.ixlibrary $libname.a'
16385 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16386 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'
16390 library_names_spec='${libname}${shared_ext}'
16391 dynamic_linker="$host_os ld.so"
16392 shlibpath_var=LIBRARY_PATH
16398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16399 soname_spec='${libname}${release}${shared_ext}$major'
16400 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16401 shlibpath_var=LD_LIBRARY_PATH
16402 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16403 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16404 # the default ld.so.conf also contains /usr/contrib/lib and
16405 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16406 # libtool to hard-code these into programs
16409 cygwin* | mingw* | pw32*)
16410 version_type=windows
16415 case $GCC,$host_os in
16416 yes,cygwin* | yes,mingw* | yes,pw32*)
16417 library_names_spec='$libname.dll.a'
16418 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16419 postinstall_cmds='base_file=`basename \${file}`~
16420 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16421 dldir=$destdir/`dirname \$dlpath`~
16422 test -d \$dldir || mkdir -p \$dldir~
16423 $install_prog $dir/$dlname \$dldir/$dlname'
16424 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16425 dlpath=$dir/\$dldll~
16427 shlibpath_overrides_runpath=yes
16431 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16432 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16433 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16436 # MinGW DLLs use traditional 'lib' prefix
16437 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16438 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16439 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16440 # It is most probably a Windows format PATH printed by
16441 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16442 # path with ; separators, and with drive letters. We can handle the
16443 # drive letters (cygwin fileutils understands them), so leave them,
16444 # especially as we might pass files found there to a mingw objdump,
16445 # which wouldn't understand a cygwinified path. Ahh.
16446 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16448 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16452 # pw32 DLLs use 'pw' prefix rather than 'lib'
16453 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16459 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16462 dynamic_linker='Win32 ld.exe'
16463 # FIXME: first we should search . and the directory the executable is in
16467 darwin* | rhapsody*)
16468 dynamic_linker="$host_os dyld"
16469 version_type=darwin
16472 # FIXME: Relying on posixy $() will cause problems for
16473 # cross-compilation, but unfortunately the echo tests do not
16474 # yet detect zsh echo's removal of \ escapes.
16475 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16476 soname_spec='${libname}${release}${major}$shared_ext'
16477 shlibpath_overrides_runpath=yes
16478 shlibpath_var=DYLD_LIBRARY_PATH
16479 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16480 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16481 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16482 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"`
16484 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16492 soname_spec='${libname}${release}${shared_ext}$major'
16493 shlibpath_var=LD_LIBRARY_PATH
16501 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16502 version_type=freebsd-$objformat
16503 case $version_type in
16505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16510 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16514 shlibpath_var=LD_LIBRARY_PATH
16517 shlibpath_overrides_runpath=yes
16519 freebsd3.01* | freebsdelf3.01*)
16520 shlibpath_overrides_runpath=yes
16521 hardcode_into_libs=yes
16524 shlibpath_overrides_runpath=no
16525 hardcode_into_libs=yes
16534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16535 soname_spec='${libname}${release}${shared_ext}$major'
16536 shlibpath_var=LD_LIBRARY_PATH
16537 hardcode_into_libs=yes
16540 hpux9* | hpux10* | hpux11*)
16541 # Give a soname corresponding to the major version so that dld.sl refuses to
16542 # link against other versions.
16546 case "$host_cpu" in
16549 hardcode_into_libs=yes
16550 dynamic_linker="$host_os dld.so"
16551 shlibpath_var=LD_LIBRARY_PATH
16552 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16554 soname_spec='${libname}${release}${shared_ext}$major'
16555 if test "X$HPUX_IA64_MODE" = X32; then
16556 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16558 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16560 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16564 hardcode_into_libs=yes
16565 dynamic_linker="$host_os dld.sl"
16566 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16567 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16569 soname_spec='${libname}${release}${shared_ext}$major'
16570 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16571 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16575 dynamic_linker="$host_os dld.sl"
16576 shlibpath_var=SHLIB_PATH
16577 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16579 soname_spec='${libname}${release}${shared_ext}$major'
16582 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16583 postinstall_cmds='chmod 555 $lib'
16586 irix5* | irix6* | nonstopux*)
16588 nonstopux*) version_type=nonstopux ;;
16590 if test "$lt_cv_prog_gnu_ld" = yes; then
16598 soname_spec='${libname}${release}${shared_ext}$major'
16599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16601 irix5* | nonstopux*)
16602 libsuff= shlibsuff=
16605 case $LD in # libtool.m4 will add one of these switches to LD
16606 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16607 libsuff= shlibsuff= libmagic=32-bit;;
16608 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16609 libsuff=32 shlibsuff=N32 libmagic=N32;;
16610 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16611 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16612 *) libsuff= shlibsuff= libmagic=never-match;;
16616 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16617 shlibpath_overrides_runpath=no
16618 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16619 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16620 hardcode_into_libs=yes
16623 # No shared lib support for Linux oldld, aout, or coff.
16624 linux*oldld* | linux*aout* | linux*coff*)
16628 # This must be Linux ELF.
16633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16634 soname_spec='${libname}${release}${shared_ext}$major'
16635 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16636 shlibpath_var=LD_LIBRARY_PATH
16637 shlibpath_overrides_runpath=no
16638 # This implies no fast_install, which is unacceptable.
16639 # Some rework will be needed to allow for fast_install
16640 # before this can be enabled.
16641 hardcode_into_libs=yes
16643 # We used to test for /lib/ld.so.1 and disable shared libraries on
16644 # powerpc, because MkLinux only supported shared libraries with the
16645 # GNU dynamic linker. Since this was broken with cross compilers,
16646 # most powerpc-linux boxes support dynamic linking these days and
16647 # people can always --disable-shared, the test was removed, and we
16648 # assume the GNU/Linux dynamic linker is in use.
16649 dynamic_linker='GNU/Linux ld.so'
16656 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16658 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16659 dynamic_linker='NetBSD (a.out) ld.so'
16661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16662 soname_spec='${libname}${release}${shared_ext}$major'
16663 dynamic_linker='NetBSD ld.elf_so'
16665 shlibpath_var=LD_LIBRARY_PATH
16666 shlibpath_overrides_runpath=yes
16667 hardcode_into_libs=yes
16672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16673 shlibpath_var=LD_LIBRARY_PATH
16674 shlibpath_overrides_runpath=yes
16681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16682 soname_spec='${libname}${release}${shared_ext}$major'
16683 shlibpath_var=LD_LIBRARY_PATH
16684 shlibpath_overrides_runpath=yes
16691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16692 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16693 shlibpath_var=LD_LIBRARY_PATH
16694 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16696 openbsd2.[89] | openbsd2.[89].*)
16697 shlibpath_overrides_runpath=no
16700 shlibpath_overrides_runpath=yes
16704 shlibpath_overrides_runpath=yes
16709 libname_spec='$name'
16712 library_names_spec='$libname${shared_ext} $libname.a'
16713 dynamic_linker='OS/2 ld.exe'
16714 shlibpath_var=LIBPATH
16717 osf3* | osf4* | osf5*)
16721 soname_spec='${libname}${release}${shared_ext}$major'
16722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16723 shlibpath_var=LD_LIBRARY_PATH
16724 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16725 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16730 soname_spec='${libname}${release}${shared_ext}$major'
16731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16732 shlibpath_var=LD_LIBRARY_PATH
16739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16740 soname_spec='${libname}${release}${shared_ext}$major'
16741 shlibpath_var=LD_LIBRARY_PATH
16742 shlibpath_overrides_runpath=yes
16743 hardcode_into_libs=yes
16744 # ldd complains unless libraries are executable
16745 postinstall_cmds='chmod +x $lib'
16750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16751 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16752 shlibpath_var=LD_LIBRARY_PATH
16753 shlibpath_overrides_runpath=yes
16754 if test "$with_gnu_ld" = yes; then
16760 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16763 soname_spec='${libname}${release}${shared_ext}$major'
16764 shlibpath_var=LD_LIBRARY_PATH
16765 case $host_vendor in
16767 shlibpath_overrides_runpath=no
16769 export_dynamic_flag_spec='${wl}-Blargedynsym'
16770 runpath_var=LD_RUN_PATH
16778 shlibpath_overrides_runpath=no
16779 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16785 if test -d /usr/nec ;then
16787 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16788 soname_spec='$libname${shared_ext}.$major'
16789 shlibpath_var=LD_LIBRARY_PATH
16795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16796 soname_spec='${libname}${release}${shared_ext}$major'
16797 shlibpath_var=LD_LIBRARY_PATH
16804 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16805 echo "${ECHO_T}$dynamic_linker" >&6
16806 test "$dynamic_linker" = no && can_build_shared=no
16808 if test "x$enable_dlopen" != xyes; then
16809 enable_dlopen=unknown
16810 enable_dlopen_self=unknown
16811 enable_dlopen_self_static=unknown
16818 lt_cv_dlopen="load_add_on"
16820 lt_cv_dlopen_self=yes
16824 lt_cv_dlopen="LoadLibrary"
16829 lt_cv_dlopen="dlopen"
16834 # if libdl is installed we need to link against it
16835 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16836 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16837 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16838 echo $ECHO_N "(cached) $ECHO_C" >&6
16840 ac_check_lib_save_LIBS=$LIBS
16842 cat >conftest.$ac_ext <<_ACEOF
16843 #line $LINENO "configure"
16846 cat confdefs.h >>conftest.$ac_ext
16847 cat >>conftest.$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16850 /* Override any gcc2 internal prototype to avoid an error. */
16854 /* We use char because int might match the return type of a gcc2
16855 builtin and then its argument prototype would still apply. */
16865 rm -f conftest.$ac_objext conftest$ac_exeext
16866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16867 (eval $ac_link) 2>&5
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); } &&
16871 { ac_try='test -s conftest$ac_exeext'
16872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16873 (eval $ac_try) 2>&5
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); }; }; then
16877 ac_cv_lib_dl_dlopen=yes
16879 echo "$as_me: failed program was:" >&5
16880 sed 's/^/| /' conftest.$ac_ext >&5
16882 ac_cv_lib_dl_dlopen=no
16884 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16885 LIBS=$ac_check_lib_save_LIBS
16887 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16888 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16889 if test $ac_cv_lib_dl_dlopen = yes; then
16890 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16893 lt_cv_dlopen="dyld"
16895 lt_cv_dlopen_self=yes
16902 echo "$as_me:$LINENO: checking for shl_load" >&5
16903 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16904 if test "${ac_cv_func_shl_load+set}" = set; then
16905 echo $ECHO_N "(cached) $ECHO_C" >&6
16907 cat >conftest.$ac_ext <<_ACEOF
16908 #line $LINENO "configure"
16911 cat confdefs.h >>conftest.$ac_ext
16912 cat >>conftest.$ac_ext <<_ACEOF
16913 /* end confdefs.h. */
16914 /* System header to define __stub macros and hopefully few prototypes,
16915 which can conflict with char shl_load (); below.
16916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16917 <limits.h> exists even on freestanding compilers. */
16919 # include <limits.h>
16921 # include <assert.h>
16923 /* Override any gcc2 internal prototype to avoid an error. */
16928 /* We use char because int might match the return type of a gcc2
16929 builtin and then its argument prototype would still apply. */
16931 /* The GNU C library defines this for functions which it implements
16932 to always fail with ENOSYS. Some functions are actually named
16933 something starting with __ and the normal name is an alias. */
16934 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16937 char (*f) () = shl_load;
16946 return f != shl_load;
16951 rm -f conftest.$ac_objext conftest$ac_exeext
16952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16953 (eval $ac_link) 2>&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); } &&
16957 { ac_try='test -s conftest$ac_exeext'
16958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16959 (eval $ac_try) 2>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); }; }; then
16963 ac_cv_func_shl_load=yes
16965 echo "$as_me: failed program was:" >&5
16966 sed 's/^/| /' conftest.$ac_ext >&5
16968 ac_cv_func_shl_load=no
16970 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16972 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16973 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
16974 if test $ac_cv_func_shl_load = yes; then
16975 lt_cv_dlopen="shl_load"
16977 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16978 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
16979 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16980 echo $ECHO_N "(cached) $ECHO_C" >&6
16982 ac_check_lib_save_LIBS=$LIBS
16984 cat >conftest.$ac_ext <<_ACEOF
16985 #line $LINENO "configure"
16988 cat confdefs.h >>conftest.$ac_ext
16989 cat >>conftest.$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16992 /* Override any gcc2 internal prototype to avoid an error. */
16996 /* We use char because int might match the return type of a gcc2
16997 builtin and then its argument prototype would still apply. */
17007 rm -f conftest.$ac_objext conftest$ac_exeext
17008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17009 (eval $ac_link) 2>&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); } &&
17013 { ac_try='test -s conftest$ac_exeext'
17014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17015 (eval $ac_try) 2>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }; }; then
17019 ac_cv_lib_dld_shl_load=yes
17021 echo "$as_me: failed program was:" >&5
17022 sed 's/^/| /' conftest.$ac_ext >&5
17024 ac_cv_lib_dld_shl_load=no
17026 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17027 LIBS=$ac_check_lib_save_LIBS
17029 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17030 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17031 if test $ac_cv_lib_dld_shl_load = yes; then
17032 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17034 echo "$as_me:$LINENO: checking for dlopen" >&5
17035 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17036 if test "${ac_cv_func_dlopen+set}" = set; then
17037 echo $ECHO_N "(cached) $ECHO_C" >&6
17039 cat >conftest.$ac_ext <<_ACEOF
17040 #line $LINENO "configure"
17043 cat confdefs.h >>conftest.$ac_ext
17044 cat >>conftest.$ac_ext <<_ACEOF
17045 /* end confdefs.h. */
17046 /* System header to define __stub macros and hopefully few prototypes,
17047 which can conflict with char dlopen (); below.
17048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17049 <limits.h> exists even on freestanding compilers. */
17051 # include <limits.h>
17053 # include <assert.h>
17055 /* Override any gcc2 internal prototype to avoid an error. */
17060 /* We use char because int might match the return type of a gcc2
17061 builtin and then its argument prototype would still apply. */
17063 /* The GNU C library defines this for functions which it implements
17064 to always fail with ENOSYS. Some functions are actually named
17065 something starting with __ and the normal name is an alias. */
17066 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17069 char (*f) () = dlopen;
17078 return f != dlopen;
17083 rm -f conftest.$ac_objext conftest$ac_exeext
17084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17085 (eval $ac_link) 2>&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); } &&
17089 { ac_try='test -s conftest$ac_exeext'
17090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17091 (eval $ac_try) 2>&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); }; }; then
17095 ac_cv_func_dlopen=yes
17097 echo "$as_me: failed program was:" >&5
17098 sed 's/^/| /' conftest.$ac_ext >&5
17100 ac_cv_func_dlopen=no
17102 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17104 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17105 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17106 if test $ac_cv_func_dlopen = yes; then
17107 lt_cv_dlopen="dlopen"
17109 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17110 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17111 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17112 echo $ECHO_N "(cached) $ECHO_C" >&6
17114 ac_check_lib_save_LIBS=$LIBS
17116 cat >conftest.$ac_ext <<_ACEOF
17117 #line $LINENO "configure"
17120 cat confdefs.h >>conftest.$ac_ext
17121 cat >>conftest.$ac_ext <<_ACEOF
17122 /* end confdefs.h. */
17124 /* Override any gcc2 internal prototype to avoid an error. */
17128 /* We use char because int might match the return type of a gcc2
17129 builtin and then its argument prototype would still apply. */
17139 rm -f conftest.$ac_objext conftest$ac_exeext
17140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17141 (eval $ac_link) 2>&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); } &&
17145 { ac_try='test -s conftest$ac_exeext'
17146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17147 (eval $ac_try) 2>&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); }; }; then
17151 ac_cv_lib_dl_dlopen=yes
17153 echo "$as_me: failed program was:" >&5
17154 sed 's/^/| /' conftest.$ac_ext >&5
17156 ac_cv_lib_dl_dlopen=no
17158 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17159 LIBS=$ac_check_lib_save_LIBS
17161 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17162 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17163 if test $ac_cv_lib_dl_dlopen = yes; then
17164 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17166 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17167 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17168 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17169 echo $ECHO_N "(cached) $ECHO_C" >&6
17171 ac_check_lib_save_LIBS=$LIBS
17172 LIBS="-lsvld $LIBS"
17173 cat >conftest.$ac_ext <<_ACEOF
17174 #line $LINENO "configure"
17177 cat confdefs.h >>conftest.$ac_ext
17178 cat >>conftest.$ac_ext <<_ACEOF
17179 /* end confdefs.h. */
17181 /* Override any gcc2 internal prototype to avoid an error. */
17185 /* We use char because int might match the return type of a gcc2
17186 builtin and then its argument prototype would still apply. */
17196 rm -f conftest.$ac_objext conftest$ac_exeext
17197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17198 (eval $ac_link) 2>&5
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); } &&
17202 { ac_try='test -s conftest$ac_exeext'
17203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17204 (eval $ac_try) 2>&5
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); }; }; then
17208 ac_cv_lib_svld_dlopen=yes
17210 echo "$as_me: failed program was:" >&5
17211 sed 's/^/| /' conftest.$ac_ext >&5
17213 ac_cv_lib_svld_dlopen=no
17215 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17216 LIBS=$ac_check_lib_save_LIBS
17218 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17219 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17220 if test $ac_cv_lib_svld_dlopen = yes; then
17221 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17223 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17224 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17225 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17228 ac_check_lib_save_LIBS=$LIBS
17230 cat >conftest.$ac_ext <<_ACEOF
17231 #line $LINENO "configure"
17234 cat confdefs.h >>conftest.$ac_ext
17235 cat >>conftest.$ac_ext <<_ACEOF
17236 /* end confdefs.h. */
17238 /* Override any gcc2 internal prototype to avoid an error. */
17242 /* We use char because int might match the return type of a gcc2
17243 builtin and then its argument prototype would still apply. */
17253 rm -f conftest.$ac_objext conftest$ac_exeext
17254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17255 (eval $ac_link) 2>&5
17257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258 (exit $ac_status); } &&
17259 { ac_try='test -s conftest$ac_exeext'
17260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17261 (eval $ac_try) 2>&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); }; }; then
17265 ac_cv_lib_dld_dld_link=yes
17267 echo "$as_me: failed program was:" >&5
17268 sed 's/^/| /' conftest.$ac_ext >&5
17270 ac_cv_lib_dld_dld_link=no
17272 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17273 LIBS=$ac_check_lib_save_LIBS
17275 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17276 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17277 if test $ac_cv_lib_dld_dld_link = yes; then
17278 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17299 if test "x$lt_cv_dlopen" != xno; then
17305 case $lt_cv_dlopen in
17307 save_CPPFLAGS="$CPPFLAGS"
17308 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17310 save_LDFLAGS="$LDFLAGS"
17311 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17314 LIBS="$lt_cv_dlopen_libs $LIBS"
17316 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17317 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17318 if test "${lt_cv_dlopen_self+set}" = set; then
17319 echo $ECHO_N "(cached) $ECHO_C" >&6
17321 if test "$cross_compiling" = yes; then :
17322 lt_cv_dlopen_self=cross
17324 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17325 lt_status=$lt_dlunknown
17326 cat > conftest.$ac_ext <<EOF
17327 #line 17327 "configure"
17328 #include "confdefs.h"
17337 # define LT_DLGLOBAL RTLD_GLOBAL
17340 # define LT_DLGLOBAL DL_GLOBAL
17342 # define LT_DLGLOBAL 0
17346 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17347 find out it does not work in some platform. */
17348 #ifndef LT_DLLAZY_OR_NOW
17350 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17353 # define LT_DLLAZY_OR_NOW DL_LAZY
17356 # define LT_DLLAZY_OR_NOW RTLD_NOW
17359 # define LT_DLLAZY_OR_NOW DL_NOW
17361 # define LT_DLLAZY_OR_NOW 0
17369 extern "C" void exit (int);
17372 void fnord() { int i=42;}
17375 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17376 int status = $lt_dlunknown;
17380 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17381 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17382 /* dlclose (self); */
17388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17389 (eval $ac_link) 2>&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17393 (./conftest; exit; ) 2>/dev/null
17395 case x$lt_status in
17396 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17397 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17398 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17401 # compilation failed
17402 lt_cv_dlopen_self=no
17409 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17410 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17412 if test "x$lt_cv_dlopen_self" = xyes; then
17413 LDFLAGS="$LDFLAGS $link_static_flag"
17414 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17415 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17416 if test "${lt_cv_dlopen_self_static+set}" = set; then
17417 echo $ECHO_N "(cached) $ECHO_C" >&6
17419 if test "$cross_compiling" = yes; then :
17420 lt_cv_dlopen_self_static=cross
17422 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17423 lt_status=$lt_dlunknown
17424 cat > conftest.$ac_ext <<EOF
17425 #line 17425 "configure"
17426 #include "confdefs.h"
17435 # define LT_DLGLOBAL RTLD_GLOBAL
17438 # define LT_DLGLOBAL DL_GLOBAL
17440 # define LT_DLGLOBAL 0
17444 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17445 find out it does not work in some platform. */
17446 #ifndef LT_DLLAZY_OR_NOW
17448 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17451 # define LT_DLLAZY_OR_NOW DL_LAZY
17454 # define LT_DLLAZY_OR_NOW RTLD_NOW
17457 # define LT_DLLAZY_OR_NOW DL_NOW
17459 # define LT_DLLAZY_OR_NOW 0
17467 extern "C" void exit (int);
17470 void fnord() { int i=42;}
17473 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17474 int status = $lt_dlunknown;
17478 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17479 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17480 /* dlclose (self); */
17486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17487 (eval $ac_link) 2>&5
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17491 (./conftest; exit; ) 2>/dev/null
17493 case x$lt_status in
17494 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17495 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17496 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17499 # compilation failed
17500 lt_cv_dlopen_self_static=no
17507 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17508 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17511 CPPFLAGS="$save_CPPFLAGS"
17512 LDFLAGS="$save_LDFLAGS"
17517 case $lt_cv_dlopen_self in
17518 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17519 *) enable_dlopen_self=unknown ;;
17522 case $lt_cv_dlopen_self_static in
17523 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17524 *) enable_dlopen_self_static=unknown ;;
17529 # The else clause should only fire when bootstrapping the
17530 # libtool distribution, otherwise you forgot to ship ltmain.sh
17531 # with your package, and you will get complaints that there are
17532 # no rules to generate ltmain.sh.
17533 if test -f "$ltmain"; then
17534 # See if we are running on zsh, and set the options which allow our commands through
17535 # without removal of \ escapes.
17536 if test -n "${ZSH_VERSION+set}" ; then
17537 setopt NO_GLOB_SUBST
17539 # Now quote all the things that may contain metacharacters while being
17540 # careful not to overquote the AC_SUBSTed values. We take copies of the
17541 # variables and quote the copies for generation of the libtool script.
17542 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17543 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17544 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17545 deplibs_check_method reload_flag reload_cmds need_locks \
17546 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17547 lt_cv_sys_global_symbol_to_c_name_address \
17548 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17549 old_postinstall_cmds old_postuninstall_cmds \
17553 lt_prog_compiler_wl_GCJ \
17554 lt_prog_compiler_pic_GCJ \
17555 lt_prog_compiler_static_GCJ \
17556 lt_prog_compiler_no_builtin_flag_GCJ \
17557 export_dynamic_flag_spec_GCJ \
17558 thread_safe_flag_spec_GCJ \
17559 whole_archive_flag_spec_GCJ \
17560 enable_shared_with_static_runtimes_GCJ \
17561 old_archive_cmds_GCJ \
17562 old_archive_from_new_cmds_GCJ \
17563 predep_objects_GCJ \
17564 postdep_objects_GCJ \
17567 compiler_lib_search_path_GCJ \
17569 archive_expsym_cmds_GCJ \
17570 postinstall_cmds_GCJ \
17571 postuninstall_cmds_GCJ \
17572 old_archive_from_expsyms_cmds_GCJ \
17573 allow_undefined_flag_GCJ \
17574 no_undefined_flag_GCJ \
17575 export_symbols_cmds_GCJ \
17576 hardcode_libdir_flag_spec_GCJ \
17577 hardcode_libdir_flag_spec_ld_GCJ \
17578 hardcode_libdir_separator_GCJ \
17579 hardcode_automatic_GCJ \
17581 module_expsym_cmds_GCJ \
17582 lt_cv_prog_compiler_c_o_GCJ \
17583 exclude_expsyms_GCJ \
17584 include_expsyms_GCJ; do
17587 old_archive_cmds_GCJ | \
17588 old_archive_from_new_cmds_GCJ | \
17589 archive_cmds_GCJ | \
17590 archive_expsym_cmds_GCJ | \
17591 module_cmds_GCJ | \
17592 module_expsym_cmds_GCJ | \
17593 old_archive_from_expsyms_cmds_GCJ | \
17594 export_symbols_cmds_GCJ | \
17595 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17596 postinstall_cmds | postuninstall_cmds | \
17597 old_postinstall_cmds | old_postuninstall_cmds | \
17598 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17599 # Double-quote double-evaled strings.
17600 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17603 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17609 *'\$0 --fallback-echo"')
17610 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17616 cat <<__EOF__ >> "$cfgfile"
17617 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17619 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17621 # Shell to use when invoking shell scripts.
17624 # Whether or not to build shared libraries.
17625 build_libtool_libs=$enable_shared
17627 # Whether or not to build static libraries.
17628 build_old_libs=$enable_static
17630 # Whether or not to add -lc for building shared libraries.
17631 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17633 # Whether or not to disallow shared libs when runtime libs are static
17634 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17636 # Whether or not to optimize for fast installation.
17637 fast_install=$enable_fast_install
17640 host_alias=$host_alias
17643 # An echo program that does not interpret backslashes.
17648 AR_FLAGS=$lt_AR_FLAGS
17653 # A language-specific compiler.
17654 CC=$lt_compiler_GCJ
17656 # Is the compiler the GNU C compiler?
17662 # The linker used to build libraries.
17665 # Whether we need hard or soft links.
17668 # A BSD-compatible nm program.
17671 # A symbol stripping program
17674 # Used to examine libraries when file_magic_cmd begins "file"
17675 MAGIC_CMD=$MAGIC_CMD
17677 # Used on cygwin: DLL creation program.
17680 # Used on cygwin: object dumper.
17683 # Used on cygwin: assembler.
17686 # The name of the directory that contains temporary libtool files.
17689 # How to create reloadable object files.
17690 reload_flag=$lt_reload_flag
17691 reload_cmds=$lt_reload_cmds
17693 # How to pass a linker flag through the compiler.
17694 wl=$lt_lt_prog_compiler_wl_GCJ
17696 # Object file suffix (normally "o").
17697 objext="$ac_objext"
17699 # Old archive suffix (normally "a").
17702 # Shared library suffix (normally ".so").
17705 # Executable file suffix (normally "").
17708 # Additional compiler flags for building library objects.
17709 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17712 # What is the maximum length of a command?
17713 max_cmd_len=$lt_cv_sys_max_cmd_len
17715 # Does compiler simultaneously support -c and -o options?
17716 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17718 # Must we lock files when doing compilation ?
17719 need_locks=$lt_need_locks
17721 # Do we need the lib prefix for modules?
17722 need_lib_prefix=$need_lib_prefix
17724 # Do we need a version for libraries?
17725 need_version=$need_version
17727 # Whether dlopen is supported.
17728 dlopen_support=$enable_dlopen
17730 # Whether dlopen of programs is supported.
17731 dlopen_self=$enable_dlopen_self
17733 # Whether dlopen of statically linked programs is supported.
17734 dlopen_self_static=$enable_dlopen_self_static
17736 # Compiler flag to prevent dynamic linking.
17737 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17739 # Compiler flag to turn off builtin functions.
17740 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17742 # Compiler flag to allow reflexive dlopens.
17743 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17745 # Compiler flag to generate shared objects directly from archives.
17746 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17748 # Compiler flag to generate thread-safe objects.
17749 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17751 # Library versioning type.
17752 version_type=$version_type
17754 # Format of library name prefix.
17755 libname_spec=$lt_libname_spec
17757 # List of archive names. First name is the real one, the rest are links.
17758 # The last name is the one that the linker finds with -lNAME.
17759 library_names_spec=$lt_library_names_spec
17761 # The coded name of the library, if different from the real name.
17762 soname_spec=$lt_soname_spec
17764 # Commands used to build and install an old-style archive.
17766 old_archive_cmds=$lt_old_archive_cmds_GCJ
17767 old_postinstall_cmds=$lt_old_postinstall_cmds
17768 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17770 # Create an old-style archive from a shared archive.
17771 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17773 # Create a temporary old-style archive to link instead of a shared archive.
17774 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17776 # Commands used to build and install a shared archive.
17777 archive_cmds=$lt_archive_cmds_GCJ
17778 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17779 postinstall_cmds=$lt_postinstall_cmds
17780 postuninstall_cmds=$lt_postuninstall_cmds
17782 # Commands used to build a loadable module (assumed same as above if empty)
17783 module_cmds=$lt_module_cmds_GCJ
17784 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17786 # Commands to strip libraries.
17787 old_striplib=$lt_old_striplib
17788 striplib=$lt_striplib
17790 # Dependencies to place before the objects being linked to create a
17792 predep_objects=$lt_predep_objects_GCJ
17794 # Dependencies to place after the objects being linked to create a
17796 postdep_objects=$lt_postdep_objects_GCJ
17798 # Dependencies to place before the objects being linked to create a
17800 predeps=$lt_predeps_GCJ
17802 # Dependencies to place after the objects being linked to create a
17804 postdeps=$lt_postdeps_GCJ
17806 # The library search path used internally by the compiler when linking
17807 # a shared library.
17808 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17810 # Method to check whether dependent libraries are shared objects.
17811 deplibs_check_method=$lt_deplibs_check_method
17813 # Command to use when deplibs_check_method == file_magic.
17814 file_magic_cmd=$lt_file_magic_cmd
17816 # Flag that allows shared libraries with undefined symbols to be built.
17817 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17819 # Flag that forces no undefined symbols.
17820 no_undefined_flag=$lt_no_undefined_flag_GCJ
17822 # Commands used to finish a libtool library installation in a directory.
17823 finish_cmds=$lt_finish_cmds
17825 # Same as above, but a single script fragment to be evaled but not shown.
17826 finish_eval=$lt_finish_eval
17828 # Take the output of nm and produce a listing of raw symbols and C names.
17829 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17831 # Transform the output of nm in a proper C declaration
17832 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17834 # Transform the output of nm in a C name address pair
17835 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17837 # This is the shared library runtime path variable.
17838 runpath_var=$runpath_var
17840 # This is the shared library path variable.
17841 shlibpath_var=$shlibpath_var
17843 # Is shlibpath searched before the hard-coded library search path?
17844 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17846 # How to hardcode a shared library path into an executable.
17847 hardcode_action=$hardcode_action_GCJ
17849 # Whether we should hardcode library paths into libraries.
17850 hardcode_into_libs=$hardcode_into_libs
17852 # Flag to hardcode \$libdir into a binary during linking.
17853 # This must work even if \$libdir does not exist.
17854 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17856 # If ld is used when linking, flag to hardcode \$libdir into
17857 # a binary during linking. This must work even if \$libdir does
17859 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17861 # Whether we need a single -rpath flag with a separated argument.
17862 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17864 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17865 # resulting binary.
17866 hardcode_direct=$hardcode_direct_GCJ
17868 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17869 # resulting binary.
17870 hardcode_minus_L=$hardcode_minus_L_GCJ
17872 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17873 # the resulting binary.
17874 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17876 # Set to yes if building a shared library automatically hardcodes DIR into the library
17877 # and all subsequent libraries and executables linked against it.
17878 hardcode_automatic=$hardcode_automatic_GCJ
17880 # Variables whose values should be saved in libtool wrapper scripts and
17881 # restored at relink time.
17882 variables_saved_for_relink="$variables_saved_for_relink"
17884 # Whether libtool must link a program against all its dependency libraries.
17885 link_all_deplibs=$link_all_deplibs_GCJ
17887 # Compile-time system search path for libraries
17888 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17890 # Run-time system search path for libraries
17891 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17893 # Fix the shell variable \$srcfile for the compiler.
17894 fix_srcfile_path="$fix_srcfile_path_GCJ"
17896 # Set to yes if exported symbols are required.
17897 always_export_symbols=$always_export_symbols_GCJ
17899 # The commands to list exported symbols.
17900 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17902 # The commands to extract the exported symbol list from a shared archive.
17903 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17905 # Symbols that should not be listed in the preloaded symbols.
17906 exclude_expsyms=$lt_exclude_expsyms_GCJ
17908 # Symbols that must always be exported.
17909 include_expsyms=$lt_include_expsyms_GCJ
17911 # ### END LIBTOOL TAG CONFIG: $tagname
17917 # If there is no Makefile yet, we rely on a make rule to execute
17918 # `config.status --recheck' to rerun these tests and create the
17919 # libtool script then.
17920 test -f Makefile && make "$ltmain"
17925 ac_cpp='$CPP $CPPFLAGS'
17926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17941 # Source file extension for RC test sources.
17944 # Object file extension for compiled RC test sources.
17948 # Code to be used in simple compile tests
17949 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17951 # Code to be used in simple link tests
17952 lt_simple_link_test_code="$lt_simple_compile_test_code"
17954 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17956 # If no C compiler was specified, use CC.
17959 # Allow CC to be a program name with arguments.
17963 # Allow CC to be a program name with arguments.
17968 lt_cv_prog_compiler_c_o_RC=yes
17970 # The else clause should only fire when bootstrapping the
17971 # libtool distribution, otherwise you forgot to ship ltmain.sh
17972 # with your package, and you will get complaints that there are
17973 # no rules to generate ltmain.sh.
17974 if test -f "$ltmain"; then
17975 # See if we are running on zsh, and set the options which allow our commands through
17976 # without removal of \ escapes.
17977 if test -n "${ZSH_VERSION+set}" ; then
17978 setopt NO_GLOB_SUBST
17980 # Now quote all the things that may contain metacharacters while being
17981 # careful not to overquote the AC_SUBSTed values. We take copies of the
17982 # variables and quote the copies for generation of the libtool script.
17983 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17984 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17985 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17986 deplibs_check_method reload_flag reload_cmds need_locks \
17987 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17988 lt_cv_sys_global_symbol_to_c_name_address \
17989 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17990 old_postinstall_cmds old_postuninstall_cmds \
17994 lt_prog_compiler_wl_RC \
17995 lt_prog_compiler_pic_RC \
17996 lt_prog_compiler_static_RC \
17997 lt_prog_compiler_no_builtin_flag_RC \
17998 export_dynamic_flag_spec_RC \
17999 thread_safe_flag_spec_RC \
18000 whole_archive_flag_spec_RC \
18001 enable_shared_with_static_runtimes_RC \
18002 old_archive_cmds_RC \
18003 old_archive_from_new_cmds_RC \
18004 predep_objects_RC \
18005 postdep_objects_RC \
18008 compiler_lib_search_path_RC \
18010 archive_expsym_cmds_RC \
18011 postinstall_cmds_RC \
18012 postuninstall_cmds_RC \
18013 old_archive_from_expsyms_cmds_RC \
18014 allow_undefined_flag_RC \
18015 no_undefined_flag_RC \
18016 export_symbols_cmds_RC \
18017 hardcode_libdir_flag_spec_RC \
18018 hardcode_libdir_flag_spec_ld_RC \
18019 hardcode_libdir_separator_RC \
18020 hardcode_automatic_RC \
18022 module_expsym_cmds_RC \
18023 lt_cv_prog_compiler_c_o_RC \
18024 exclude_expsyms_RC \
18025 include_expsyms_RC; do
18028 old_archive_cmds_RC | \
18029 old_archive_from_new_cmds_RC | \
18030 archive_cmds_RC | \
18031 archive_expsym_cmds_RC | \
18033 module_expsym_cmds_RC | \
18034 old_archive_from_expsyms_cmds_RC | \
18035 export_symbols_cmds_RC | \
18036 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18037 postinstall_cmds | postuninstall_cmds | \
18038 old_postinstall_cmds | old_postuninstall_cmds | \
18039 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18040 # Double-quote double-evaled strings.
18041 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18044 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18050 *'\$0 --fallback-echo"')
18051 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18057 cat <<__EOF__ >> "$cfgfile"
18058 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18060 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18062 # Shell to use when invoking shell scripts.
18065 # Whether or not to build shared libraries.
18066 build_libtool_libs=$enable_shared
18068 # Whether or not to build static libraries.
18069 build_old_libs=$enable_static
18071 # Whether or not to add -lc for building shared libraries.
18072 build_libtool_need_lc=$archive_cmds_need_lc_RC
18074 # Whether or not to disallow shared libs when runtime libs are static
18075 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18077 # Whether or not to optimize for fast installation.
18078 fast_install=$enable_fast_install
18081 host_alias=$host_alias
18084 # An echo program that does not interpret backslashes.
18089 AR_FLAGS=$lt_AR_FLAGS
18094 # A language-specific compiler.
18097 # Is the compiler the GNU C compiler?
18103 # The linker used to build libraries.
18106 # Whether we need hard or soft links.
18109 # A BSD-compatible nm program.
18112 # A symbol stripping program
18115 # Used to examine libraries when file_magic_cmd begins "file"
18116 MAGIC_CMD=$MAGIC_CMD
18118 # Used on cygwin: DLL creation program.
18121 # Used on cygwin: object dumper.
18124 # Used on cygwin: assembler.
18127 # The name of the directory that contains temporary libtool files.
18130 # How to create reloadable object files.
18131 reload_flag=$lt_reload_flag
18132 reload_cmds=$lt_reload_cmds
18134 # How to pass a linker flag through the compiler.
18135 wl=$lt_lt_prog_compiler_wl_RC
18137 # Object file suffix (normally "o").
18138 objext="$ac_objext"
18140 # Old archive suffix (normally "a").
18143 # Shared library suffix (normally ".so").
18146 # Executable file suffix (normally "").
18149 # Additional compiler flags for building library objects.
18150 pic_flag=$lt_lt_prog_compiler_pic_RC
18153 # What is the maximum length of a command?
18154 max_cmd_len=$lt_cv_sys_max_cmd_len
18156 # Does compiler simultaneously support -c and -o options?
18157 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18159 # Must we lock files when doing compilation ?
18160 need_locks=$lt_need_locks
18162 # Do we need the lib prefix for modules?
18163 need_lib_prefix=$need_lib_prefix
18165 # Do we need a version for libraries?
18166 need_version=$need_version
18168 # Whether dlopen is supported.
18169 dlopen_support=$enable_dlopen
18171 # Whether dlopen of programs is supported.
18172 dlopen_self=$enable_dlopen_self
18174 # Whether dlopen of statically linked programs is supported.
18175 dlopen_self_static=$enable_dlopen_self_static
18177 # Compiler flag to prevent dynamic linking.
18178 link_static_flag=$lt_lt_prog_compiler_static_RC
18180 # Compiler flag to turn off builtin functions.
18181 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18183 # Compiler flag to allow reflexive dlopens.
18184 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18186 # Compiler flag to generate shared objects directly from archives.
18187 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18189 # Compiler flag to generate thread-safe objects.
18190 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18192 # Library versioning type.
18193 version_type=$version_type
18195 # Format of library name prefix.
18196 libname_spec=$lt_libname_spec
18198 # List of archive names. First name is the real one, the rest are links.
18199 # The last name is the one that the linker finds with -lNAME.
18200 library_names_spec=$lt_library_names_spec
18202 # The coded name of the library, if different from the real name.
18203 soname_spec=$lt_soname_spec
18205 # Commands used to build and install an old-style archive.
18207 old_archive_cmds=$lt_old_archive_cmds_RC
18208 old_postinstall_cmds=$lt_old_postinstall_cmds
18209 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18211 # Create an old-style archive from a shared archive.
18212 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18214 # Create a temporary old-style archive to link instead of a shared archive.
18215 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18217 # Commands used to build and install a shared archive.
18218 archive_cmds=$lt_archive_cmds_RC
18219 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18220 postinstall_cmds=$lt_postinstall_cmds
18221 postuninstall_cmds=$lt_postuninstall_cmds
18223 # Commands used to build a loadable module (assumed same as above if empty)
18224 module_cmds=$lt_module_cmds_RC
18225 module_expsym_cmds=$lt_module_expsym_cmds_RC
18227 # Commands to strip libraries.
18228 old_striplib=$lt_old_striplib
18229 striplib=$lt_striplib
18231 # Dependencies to place before the objects being linked to create a
18233 predep_objects=$lt_predep_objects_RC
18235 # Dependencies to place after the objects being linked to create a
18237 postdep_objects=$lt_postdep_objects_RC
18239 # Dependencies to place before the objects being linked to create a
18241 predeps=$lt_predeps_RC
18243 # Dependencies to place after the objects being linked to create a
18245 postdeps=$lt_postdeps_RC
18247 # The library search path used internally by the compiler when linking
18248 # a shared library.
18249 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18251 # Method to check whether dependent libraries are shared objects.
18252 deplibs_check_method=$lt_deplibs_check_method
18254 # Command to use when deplibs_check_method == file_magic.
18255 file_magic_cmd=$lt_file_magic_cmd
18257 # Flag that allows shared libraries with undefined symbols to be built.
18258 allow_undefined_flag=$lt_allow_undefined_flag_RC
18260 # Flag that forces no undefined symbols.
18261 no_undefined_flag=$lt_no_undefined_flag_RC
18263 # Commands used to finish a libtool library installation in a directory.
18264 finish_cmds=$lt_finish_cmds
18266 # Same as above, but a single script fragment to be evaled but not shown.
18267 finish_eval=$lt_finish_eval
18269 # Take the output of nm and produce a listing of raw symbols and C names.
18270 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18272 # Transform the output of nm in a proper C declaration
18273 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18275 # Transform the output of nm in a C name address pair
18276 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18278 # This is the shared library runtime path variable.
18279 runpath_var=$runpath_var
18281 # This is the shared library path variable.
18282 shlibpath_var=$shlibpath_var
18284 # Is shlibpath searched before the hard-coded library search path?
18285 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18287 # How to hardcode a shared library path into an executable.
18288 hardcode_action=$hardcode_action_RC
18290 # Whether we should hardcode library paths into libraries.
18291 hardcode_into_libs=$hardcode_into_libs
18293 # Flag to hardcode \$libdir into a binary during linking.
18294 # This must work even if \$libdir does not exist.
18295 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18297 # If ld is used when linking, flag to hardcode \$libdir into
18298 # a binary during linking. This must work even if \$libdir does
18300 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18302 # Whether we need a single -rpath flag with a separated argument.
18303 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18305 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18306 # resulting binary.
18307 hardcode_direct=$hardcode_direct_RC
18309 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18310 # resulting binary.
18311 hardcode_minus_L=$hardcode_minus_L_RC
18313 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18314 # the resulting binary.
18315 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18317 # Set to yes if building a shared library automatically hardcodes DIR into the library
18318 # and all subsequent libraries and executables linked against it.
18319 hardcode_automatic=$hardcode_automatic_RC
18321 # Variables whose values should be saved in libtool wrapper scripts and
18322 # restored at relink time.
18323 variables_saved_for_relink="$variables_saved_for_relink"
18325 # Whether libtool must link a program against all its dependency libraries.
18326 link_all_deplibs=$link_all_deplibs_RC
18328 # Compile-time system search path for libraries
18329 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18331 # Run-time system search path for libraries
18332 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18334 # Fix the shell variable \$srcfile for the compiler.
18335 fix_srcfile_path="$fix_srcfile_path_RC"
18337 # Set to yes if exported symbols are required.
18338 always_export_symbols=$always_export_symbols_RC
18340 # The commands to list exported symbols.
18341 export_symbols_cmds=$lt_export_symbols_cmds_RC
18343 # The commands to extract the exported symbol list from a shared archive.
18344 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18346 # Symbols that should not be listed in the preloaded symbols.
18347 exclude_expsyms=$lt_exclude_expsyms_RC
18349 # Symbols that must always be exported.
18350 include_expsyms=$lt_include_expsyms_RC
18352 # ### END LIBTOOL TAG CONFIG: $tagname
18358 # If there is no Makefile yet, we rely on a make rule to execute
18359 # `config.status --recheck' to rerun these tests and create the
18360 # libtool script then.
18361 test -f Makefile && make "$ltmain"
18366 ac_cpp='$CPP $CPPFLAGS'
18367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18376 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18377 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18378 { (exit 1); exit 1; }; }
18382 # Append the new tag name to the list of available tags.
18383 if test -n "$tagname" ; then
18384 available_tags="$available_tags $tagname"
18390 # Now substitute the updated list of available tags.
18391 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18392 mv "${ofile}T" "$ofile"
18396 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18397 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18398 { (exit 1); exit 1; }; }
18404 # This can be used to rebuild libtool when needed
18405 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18407 # Always use our own libtool.
18408 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18410 # Prevent multiple expansion
18432 # Extract the first word of "pwd", so it can be a program name with args.
18433 set dummy pwd; ac_word=$2
18434 echo "$as_me:$LINENO: checking for $ac_word" >&5
18435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18436 if test "${ac_cv_path_RPWD+set}" = set; then
18437 echo $ECHO_N "(cached) $ECHO_C" >&6
18441 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18445 for as_dir in $PATH
18448 test -z "$as_dir" && as_dir=.
18449 for ac_exec_ext in '' $ac_executable_extensions; do
18450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18451 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18461 RPWD=$ac_cv_path_RPWD
18463 if test -n "$RPWD"; then
18464 echo "$as_me:$LINENO: result: $RPWD" >&5
18465 echo "${ECHO_T}$RPWD" >&6
18467 echo "$as_me:$LINENO: result: no" >&5
18468 echo "${ECHO_T}no" >&6
18471 # Extract the first word of "ar", so it can be a program name with args.
18472 set dummy ar; ac_word=$2
18473 echo "$as_me:$LINENO: checking for $ac_word" >&5
18474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18475 if test "${ac_cv_path_AR+set}" = set; then
18476 echo $ECHO_N "(cached) $ECHO_C" >&6
18480 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18484 for as_dir in $PATH
18487 test -z "$as_dir" && as_dir=.
18488 for ac_exec_ext in '' $ac_executable_extensions; do
18489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18490 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18502 if test -n "$AR"; then
18503 echo "$as_me:$LINENO: result: $AR" >&5
18504 echo "${ECHO_T}$AR" >&6
18506 echo "$as_me:$LINENO: result: no" >&5
18507 echo "${ECHO_T}no" >&6
18510 # Extract the first word of "sed", so it can be a program name with args.
18511 set dummy sed; ac_word=$2
18512 echo "$as_me:$LINENO: checking for $ac_word" >&5
18513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18514 if test "${ac_cv_path_SED+set}" = set; then
18515 echo $ECHO_N "(cached) $ECHO_C" >&6
18519 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18523 for as_dir in $PATH
18526 test -z "$as_dir" && as_dir=.
18527 for ac_exec_ext in '' $ac_executable_extensions; do
18528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18529 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18539 SED=$ac_cv_path_SED
18541 if test -n "$SED"; then
18542 echo "$as_me:$LINENO: result: $SED" >&5
18543 echo "${ECHO_T}$SED" >&6
18545 echo "$as_me:$LINENO: result: no" >&5
18546 echo "${ECHO_T}no" >&6
18549 # Extract the first word of "rm", so it can be a program name with args.
18550 set dummy rm; ac_word=$2
18551 echo "$as_me:$LINENO: checking for $ac_word" >&5
18552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18553 if test "${ac_cv_path_RM+set}" = set; then
18554 echo $ECHO_N "(cached) $ECHO_C" >&6
18558 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18562 for as_dir in $PATH
18565 test -z "$as_dir" && as_dir=.
18566 for ac_exec_ext in '' $ac_executable_extensions; do
18567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18568 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18580 if test -n "$RM"; then
18581 echo "$as_me:$LINENO: result: $RM" >&5
18582 echo "${ECHO_T}$RM" >&6
18584 echo "$as_me:$LINENO: result: no" >&5
18585 echo "${ECHO_T}no" >&6
18588 # Extract the first word of "echo", so it can be a program name with args.
18589 set dummy echo; ac_word=$2
18590 echo "$as_me:$LINENO: checking for $ac_word" >&5
18591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18592 if test "${ac_cv_path_ECHO+set}" = set; then
18593 echo $ECHO_N "(cached) $ECHO_C" >&6
18597 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18601 for as_dir in $PATH
18604 test -z "$as_dir" && as_dir=.
18605 for ac_exec_ext in '' $ac_executable_extensions; do
18606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18607 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18617 ECHO=$ac_cv_path_ECHO
18619 if test -n "$ECHO"; then
18620 echo "$as_me:$LINENO: result: $ECHO" >&5
18621 echo "${ECHO_T}$ECHO" >&6
18623 echo "$as_me:$LINENO: result: no" >&5
18624 echo "${ECHO_T}no" >&6
18627 # Extract the first word of "mkdir", so it can be a program name with args.
18628 set dummy mkdir; ac_word=$2
18629 echo "$as_me:$LINENO: checking for $ac_word" >&5
18630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18631 if test "${ac_cv_path_MKDIR+set}" = set; then
18632 echo $ECHO_N "(cached) $ECHO_C" >&6
18636 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18640 for as_dir in $PATH
18643 test -z "$as_dir" && as_dir=.
18644 for ac_exec_ext in '' $ac_executable_extensions; do
18645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18646 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18656 MKDIR=$ac_cv_path_MKDIR
18658 if test -n "$MKDIR"; then
18659 echo "$as_me:$LINENO: result: $MKDIR" >&5
18660 echo "${ECHO_T}$MKDIR" >&6
18662 echo "$as_me:$LINENO: result: no" >&5
18663 echo "${ECHO_T}no" >&6
18666 # Extract the first word of "date", so it can be a program name with args.
18667 set dummy date; ac_word=$2
18668 echo "$as_me:$LINENO: checking for $ac_word" >&5
18669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18670 if test "${ac_cv_path_DATE+set}" = set; then
18671 echo $ECHO_N "(cached) $ECHO_C" >&6
18675 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18679 for as_dir in $PATH
18682 test -z "$as_dir" && as_dir=.
18683 for ac_exec_ext in '' $ac_executable_extensions; do
18684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18685 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18695 DATE=$ac_cv_path_DATE
18697 if test -n "$DATE"; then
18698 echo "$as_me:$LINENO: result: $DATE" >&5
18699 echo "${ECHO_T}$DATE" >&6
18701 echo "$as_me:$LINENO: result: no" >&5
18702 echo "${ECHO_T}no" >&6
18705 # Extract the first word of "mv", so it can be a program name with args.
18706 set dummy mv; ac_word=$2
18707 echo "$as_me:$LINENO: checking for $ac_word" >&5
18708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18709 if test "${ac_cv_path_MV+set}" = set; then
18710 echo $ECHO_N "(cached) $ECHO_C" >&6
18714 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18718 for as_dir in $PATH
18721 test -z "$as_dir" && as_dir=.
18722 for ac_exec_ext in '' $ac_executable_extensions; do
18723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18724 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18736 if test -n "$MV"; then
18737 echo "$as_me:$LINENO: result: $MV" >&5
18738 echo "${ECHO_T}$MV" >&6
18740 echo "$as_me:$LINENO: result: no" >&5
18741 echo "${ECHO_T}no" >&6
18744 # Extract the first word of "dot", so it can be a program name with args.
18745 set dummy dot; ac_word=$2
18746 echo "$as_me:$LINENO: checking for $ac_word" >&5
18747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18748 if test "${ac_cv_path_DOT+set}" = set; then
18749 echo $ECHO_N "(cached) $ECHO_C" >&6
18753 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18757 for as_dir in $PATH
18760 test -z "$as_dir" && as_dir=.
18761 for ac_exec_ext in '' $ac_executable_extensions; do
18762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18763 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18773 DOT=$ac_cv_path_DOT
18775 if test -n "$DOT"; then
18776 echo "$as_me:$LINENO: result: $DOT" >&5
18777 echo "${ECHO_T}$DOT" >&6
18779 echo "$as_me:$LINENO: result: no" >&5
18780 echo "${ECHO_T}no" >&6
18783 # Extract the first word of "etags", so it can be a program name with args.
18784 set dummy etags; ac_word=$2
18785 echo "$as_me:$LINENO: checking for $ac_word" >&5
18786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18787 if test "${ac_cv_path_ETAGS+set}" = set; then
18788 echo $ECHO_N "(cached) $ECHO_C" >&6
18792 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18796 for as_dir in $PATH
18799 test -z "$as_dir" && as_dir=.
18800 for ac_exec_ext in '' $ac_executable_extensions; do
18801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18802 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18812 ETAGS=$ac_cv_path_ETAGS
18814 if test -n "$ETAGS"; then
18815 echo "$as_me:$LINENO: result: $ETAGS" >&5
18816 echo "${ECHO_T}$ETAGS" >&6
18818 echo "$as_me:$LINENO: result: no" >&5
18819 echo "${ECHO_T}no" >&6
18822 # Extract the first word of "purify", so it can be a program name with args.
18823 set dummy purify; ac_word=$2
18824 echo "$as_me:$LINENO: checking for $ac_word" >&5
18825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18826 if test "${ac_cv_path_PURIFY+set}" = set; then
18827 echo $ECHO_N "(cached) $ECHO_C" >&6
18831 ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path.
18834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18835 for as_dir in $PATH
18838 test -z "$as_dir" && as_dir=.
18839 for ac_exec_ext in '' $ac_executable_extensions; do
18840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18841 ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext"
18842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18851 PURIFY=$ac_cv_path_PURIFY
18853 if test -n "$PURIFY"; then
18854 echo "$as_me:$LINENO: result: $PURIFY" >&5
18855 echo "${ECHO_T}$PURIFY" >&6
18857 echo "$as_me:$LINENO: result: no" >&5
18858 echo "${ECHO_T}no" >&6
18861 # Extract the first word of "python", so it can be a program name with args.
18862 set dummy python; ac_word=$2
18863 echo "$as_me:$LINENO: checking for $ac_word" >&5
18864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18865 if test "${ac_cv_path_PYTHON+set}" = set; then
18866 echo $ECHO_N "(cached) $ECHO_C" >&6
18870 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18874 for as_dir in $PATH
18877 test -z "$as_dir" && as_dir=.
18878 for ac_exec_ext in '' $ac_executable_extensions; do
18879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18880 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18890 PYTHON=$ac_cv_path_PYTHON
18892 if test -n "$PYTHON"; then
18893 echo "$as_me:$LINENO: result: $PYTHON" >&5
18894 echo "${ECHO_T}$PYTHON" >&6
18896 echo "$as_me:$LINENO: result: no" >&5
18897 echo "${ECHO_T}no" >&6
18900 # Extract the first word of "qmtest", so it can be a program name with args.
18901 set dummy qmtest; ac_word=$2
18902 echo "$as_me:$LINENO: checking for $ac_word" >&5
18903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18904 if test "${ac_cv_path_QMTEST+set}" = set; then
18905 echo $ECHO_N "(cached) $ECHO_C" >&6
18909 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18913 for as_dir in $PATH
18916 test -z "$as_dir" && as_dir=.
18917 for ac_exec_ext in '' $ac_executable_extensions; do
18918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18919 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
18920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18929 QMTEST=$ac_cv_path_QMTEST
18931 if test -n "$QMTEST"; then
18932 echo "$as_me:$LINENO: result: $QMTEST" >&5
18933 echo "${ECHO_T}$QMTEST" >&6
18935 echo "$as_me:$LINENO: result: no" >&5
18936 echo "${ECHO_T}no" >&6
18940 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
18941 pymajor=`echo $pyversion | cut -d. -f1`
18942 pyminor=`echo $pyversion | cut -d. -f2`
18944 if test "$pymajor" -ge "2"
18946 if test "$pymajor" -eq "2"
18948 if test "$pyminor" -lt "2"
18950 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18951 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18952 { (exit 1); exit 1; }; }
18956 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18957 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18958 { (exit 1); exit 1; }; }
18965 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
18966 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
18967 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
18968 echo $ECHO_N "(cached) $ECHO_C" >&6
18970 ac_check_lib_save_LIBS=$LIBS
18972 cat >conftest.$ac_ext <<_ACEOF
18973 #line $LINENO "configure"
18976 cat confdefs.h >>conftest.$ac_ext
18977 cat >>conftest.$ac_ext <<_ACEOF
18978 /* end confdefs.h. */
18980 /* Override any gcc2 internal prototype to avoid an error. */
18984 /* We use char because int might match the return type of a gcc2
18985 builtin and then its argument prototype would still apply. */
18995 rm -f conftest.$ac_objext conftest$ac_exeext
18996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18997 (eval $ac_link) 2>&5
18999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19000 (exit $ac_status); } &&
19001 { ac_try='test -s conftest$ac_exeext'
19002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19003 (eval $ac_try) 2>&5
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); }; }; then
19007 ac_cv_lib_elf_elf_begin=yes
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.$ac_ext >&5
19012 ac_cv_lib_elf_elf_begin=no
19014 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19015 LIBS=$ac_check_lib_save_LIBS
19017 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19018 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19019 if test $ac_cv_lib_elf_elf_begin = yes; then
19020 cat >>confdefs.h <<_ACEOF
19021 #define HAVE_LIBELF 1
19029 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19030 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19031 if test "${ac_cv_search_dlopen+set}" = set; then
19032 echo $ECHO_N "(cached) $ECHO_C" >&6
19034 ac_func_search_save_LIBS=$LIBS
19035 ac_cv_search_dlopen=no
19036 cat >conftest.$ac_ext <<_ACEOF
19037 #line $LINENO "configure"
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19044 /* Override any gcc2 internal prototype to avoid an error. */
19048 /* We use char because int might match the return type of a gcc2
19049 builtin and then its argument prototype would still apply. */
19059 rm -f conftest.$ac_objext conftest$ac_exeext
19060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19061 (eval $ac_link) 2>&5
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); } &&
19065 { ac_try='test -s conftest$ac_exeext'
19066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067 (eval $ac_try) 2>&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); }; }; then
19071 ac_cv_search_dlopen="none required"
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19077 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19078 if test "$ac_cv_search_dlopen" = no; then
19079 for ac_lib in dl; do
19080 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19081 cat >conftest.$ac_ext <<_ACEOF
19082 #line $LINENO "configure"
19085 cat confdefs.h >>conftest.$ac_ext
19086 cat >>conftest.$ac_ext <<_ACEOF
19087 /* end confdefs.h. */
19089 /* Override any gcc2 internal prototype to avoid an error. */
19093 /* We use char because int might match the return type of a gcc2
19094 builtin and then its argument prototype would still apply. */
19104 rm -f conftest.$ac_objext conftest$ac_exeext
19105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19106 (eval $ac_link) 2>&5
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); } &&
19110 { ac_try='test -s conftest$ac_exeext'
19111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19112 (eval $ac_try) 2>&5
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); }; }; then
19116 ac_cv_search_dlopen="-l$ac_lib"
19119 echo "$as_me: failed program was:" >&5
19120 sed 's/^/| /' conftest.$ac_ext >&5
19123 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19126 LIBS=$ac_func_search_save_LIBS
19128 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19129 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19130 if test "$ac_cv_search_dlopen" != no; then
19131 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19134 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
19135 echo "$as_me: error: dlopen() required but not found" >&2;}
19136 { (exit 1); exit 1; }; }
19140 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19141 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19142 if test "${ac_cv_search_mallinfo+set}" = set; then
19143 echo $ECHO_N "(cached) $ECHO_C" >&6
19145 ac_func_search_save_LIBS=$LIBS
19146 ac_cv_search_mallinfo=no
19147 cat >conftest.$ac_ext <<_ACEOF
19148 #line $LINENO "configure"
19151 cat confdefs.h >>conftest.$ac_ext
19152 cat >>conftest.$ac_ext <<_ACEOF
19153 /* end confdefs.h. */
19155 /* Override any gcc2 internal prototype to avoid an error. */
19159 /* We use char because int might match the return type of a gcc2
19160 builtin and then its argument prototype would still apply. */
19170 rm -f conftest.$ac_objext conftest$ac_exeext
19171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19172 (eval $ac_link) 2>&5
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); } &&
19176 { ac_try='test -s conftest$ac_exeext'
19177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19178 (eval $ac_try) 2>&5
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); }; }; then
19182 ac_cv_search_mallinfo="none required"
19184 echo "$as_me: failed program was:" >&5
19185 sed 's/^/| /' conftest.$ac_ext >&5
19188 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19189 if test "$ac_cv_search_mallinfo" = no; then
19190 for ac_lib in malloc; do
19191 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19192 cat >conftest.$ac_ext <<_ACEOF
19193 #line $LINENO "configure"
19196 cat confdefs.h >>conftest.$ac_ext
19197 cat >>conftest.$ac_ext <<_ACEOF
19198 /* end confdefs.h. */
19200 /* Override any gcc2 internal prototype to avoid an error. */
19204 /* We use char because int might match the return type of a gcc2
19205 builtin and then its argument prototype would still apply. */
19215 rm -f conftest.$ac_objext conftest$ac_exeext
19216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19217 (eval $ac_link) 2>&5
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); } &&
19221 { ac_try='test -s conftest$ac_exeext'
19222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19223 (eval $ac_try) 2>&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); }; }; then
19227 ac_cv_search_mallinfo="-l$ac_lib"
19230 echo "$as_me: failed program was:" >&5
19231 sed 's/^/| /' conftest.$ac_ext >&5
19234 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19237 LIBS=$ac_func_search_save_LIBS
19239 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19240 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19241 if test "$ac_cv_search_mallinfo" != no; then
19242 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19243 cat >>confdefs.h <<\_ACEOF
19244 #define HAVE_MALLINFO 1
19251 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19252 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19253 if test "${ac_cv_header_stdc+set}" = set; then
19254 echo $ECHO_N "(cached) $ECHO_C" >&6
19256 cat >conftest.$ac_ext <<_ACEOF
19257 #line $LINENO "configure"
19260 cat confdefs.h >>conftest.$ac_ext
19261 cat >>conftest.$ac_ext <<_ACEOF
19262 /* end confdefs.h. */
19263 #include <stdlib.h>
19264 #include <stdarg.h>
19265 #include <string.h>
19276 rm -f conftest.$ac_objext
19277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19278 (eval $ac_compile) 2>&5
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); } &&
19282 { ac_try='test -s conftest.$ac_objext'
19283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19284 (eval $ac_try) 2>&5
19286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19287 (exit $ac_status); }; }; then
19288 ac_cv_header_stdc=yes
19290 echo "$as_me: failed program was:" >&5
19291 sed 's/^/| /' conftest.$ac_ext >&5
19293 ac_cv_header_stdc=no
19295 rm -f conftest.$ac_objext conftest.$ac_ext
19297 if test $ac_cv_header_stdc = yes; then
19298 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19299 cat >conftest.$ac_ext <<_ACEOF
19300 #line $LINENO "configure"
19303 cat confdefs.h >>conftest.$ac_ext
19304 cat >>conftest.$ac_ext <<_ACEOF
19305 /* end confdefs.h. */
19306 #include <string.h>
19309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19310 $EGREP "memchr" >/dev/null 2>&1; then
19313 ac_cv_header_stdc=no
19319 if test $ac_cv_header_stdc = yes; then
19320 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19321 cat >conftest.$ac_ext <<_ACEOF
19322 #line $LINENO "configure"
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328 #include <stdlib.h>
19331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19332 $EGREP "free" >/dev/null 2>&1; then
19335 ac_cv_header_stdc=no
19341 if test $ac_cv_header_stdc = yes; then
19342 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19343 if test "$cross_compiling" = yes; then
19346 cat >conftest.$ac_ext <<_ACEOF
19347 #line $LINENO "configure"
19350 cat confdefs.h >>conftest.$ac_ext
19351 cat >>conftest.$ac_ext <<_ACEOF
19352 /* end confdefs.h. */
19354 #if ((' ' & 0x0FF) == 0x020)
19355 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19356 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19358 # define ISLOWER(c) \
19359 (('a' <= (c) && (c) <= 'i') \
19360 || ('j' <= (c) && (c) <= 'r') \
19361 || ('s' <= (c) && (c) <= 'z'))
19362 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19365 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19370 for (i = 0; i < 256; i++)
19371 if (XOR (islower (i), ISLOWER (i))
19372 || toupper (i) != TOUPPER (i))
19377 rm -f conftest$ac_exeext
19378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19379 (eval $ac_link) 2>&5
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19384 (eval $ac_try) 2>&5
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); }; }; then
19390 echo "$as_me: program exited with status $ac_status" >&5
19391 echo "$as_me: failed program was:" >&5
19392 sed 's/^/| /' conftest.$ac_ext >&5
19394 ( exit $ac_status )
19395 ac_cv_header_stdc=no
19397 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19401 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19402 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19403 if test $ac_cv_header_stdc = yes; then
19405 cat >>confdefs.h <<\_ACEOF
19406 #define STDC_HEADERS 1
19411 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19412 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19413 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19414 echo $ECHO_N "(cached) $ECHO_C" >&6
19416 cat >conftest.$ac_ext <<_ACEOF
19417 #line $LINENO "configure"
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 #include <sys/types.h>
19424 #include <sys/wait.h>
19425 #ifndef WEXITSTATUS
19426 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19429 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19437 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19442 rm -f conftest.$ac_objext
19443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19444 (eval $ac_compile) 2>&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); } &&
19448 { ac_try='test -s conftest.$ac_objext'
19449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450 (eval $ac_try) 2>&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); }; }; then
19454 ac_cv_header_sys_wait_h=yes
19456 echo "$as_me: failed program was:" >&5
19457 sed 's/^/| /' conftest.$ac_ext >&5
19459 ac_cv_header_sys_wait_h=no
19461 rm -f conftest.$ac_objext conftest.$ac_ext
19463 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19464 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19465 if test $ac_cv_header_sys_wait_h = yes; then
19467 cat >>confdefs.h <<\_ACEOF
19468 #define HAVE_SYS_WAIT_H 1
19482 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19484 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19486 echo "$as_me:$LINENO: checking for $ac_header" >&5
19487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19489 echo $ECHO_N "(cached) $ECHO_C" >&6
19491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19494 # Is the header compilable?
19495 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19496 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19497 cat >conftest.$ac_ext <<_ACEOF
19498 #line $LINENO "configure"
19501 cat confdefs.h >>conftest.$ac_ext
19502 cat >>conftest.$ac_ext <<_ACEOF
19503 /* end confdefs.h. */
19504 $ac_includes_default
19505 #include <$ac_header>
19507 rm -f conftest.$ac_objext
19508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19509 (eval $ac_compile) 2>&5
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); } &&
19513 { ac_try='test -s conftest.$ac_objext'
19514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19515 (eval $ac_try) 2>&5
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); }; }; then
19519 ac_header_compiler=yes
19521 echo "$as_me: failed program was:" >&5
19522 sed 's/^/| /' conftest.$ac_ext >&5
19524 ac_header_compiler=no
19526 rm -f conftest.$ac_objext conftest.$ac_ext
19527 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19528 echo "${ECHO_T}$ac_header_compiler" >&6
19530 # Is the header present?
19531 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19533 cat >conftest.$ac_ext <<_ACEOF
19534 #line $LINENO "configure"
19537 cat confdefs.h >>conftest.$ac_ext
19538 cat >>conftest.$ac_ext <<_ACEOF
19539 /* end confdefs.h. */
19540 #include <$ac_header>
19542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19543 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19545 grep -v '^ *+' conftest.er1 >conftest.err
19547 cat conftest.err >&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); } >/dev/null; then
19550 if test -s conftest.err; then
19551 ac_cpp_err=$ac_c_preproc_warn_flag
19558 if test -z "$ac_cpp_err"; then
19559 ac_header_preproc=yes
19561 echo "$as_me: failed program was:" >&5
19562 sed 's/^/| /' conftest.$ac_ext >&5
19564 ac_header_preproc=no
19566 rm -f conftest.err conftest.$ac_ext
19567 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19568 echo "${ECHO_T}$ac_header_preproc" >&6
19570 # So? What about this header?
19571 case $ac_header_compiler:$ac_header_preproc in
19573 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19574 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19576 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19579 ## ------------------------------------ ##
19580 ## Report this to bug-autoconf@gnu.org. ##
19581 ## ------------------------------------ ##
19584 sed "s/^/$as_me: WARNING: /" >&2
19587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19592 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19595 ## ------------------------------------ ##
19596 ## Report this to bug-autoconf@gnu.org. ##
19597 ## ------------------------------------ ##
19600 sed "s/^/$as_me: WARNING: /" >&2
19603 echo "$as_me:$LINENO: checking for $ac_header" >&5
19604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19606 echo $ECHO_N "(cached) $ECHO_C" >&6
19608 eval "$as_ac_Header=$ac_header_preproc"
19610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19611 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19615 cat >>confdefs.h <<_ACEOF
19616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19628 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19630 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19632 echo "$as_me:$LINENO: checking for $ac_header" >&5
19633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19635 echo $ECHO_N "(cached) $ECHO_C" >&6
19637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19640 # Is the header compilable?
19641 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19642 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19643 cat >conftest.$ac_ext <<_ACEOF
19644 #line $LINENO "configure"
19647 cat confdefs.h >>conftest.$ac_ext
19648 cat >>conftest.$ac_ext <<_ACEOF
19649 /* end confdefs.h. */
19650 $ac_includes_default
19651 #include <$ac_header>
19653 rm -f conftest.$ac_objext
19654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19655 (eval $ac_compile) 2>&5
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); } &&
19659 { ac_try='test -s conftest.$ac_objext'
19660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19661 (eval $ac_try) 2>&5
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); }; }; then
19665 ac_header_compiler=yes
19667 echo "$as_me: failed program was:" >&5
19668 sed 's/^/| /' conftest.$ac_ext >&5
19670 ac_header_compiler=no
19672 rm -f conftest.$ac_objext conftest.$ac_ext
19673 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19674 echo "${ECHO_T}$ac_header_compiler" >&6
19676 # Is the header present?
19677 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19678 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19679 cat >conftest.$ac_ext <<_ACEOF
19680 #line $LINENO "configure"
19683 cat confdefs.h >>conftest.$ac_ext
19684 cat >>conftest.$ac_ext <<_ACEOF
19685 /* end confdefs.h. */
19686 #include <$ac_header>
19688 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19689 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19691 grep -v '^ *+' conftest.er1 >conftest.err
19693 cat conftest.err >&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); } >/dev/null; then
19696 if test -s conftest.err; then
19697 ac_cpp_err=$ac_c_preproc_warn_flag
19704 if test -z "$ac_cpp_err"; then
19705 ac_header_preproc=yes
19707 echo "$as_me: failed program was:" >&5
19708 sed 's/^/| /' conftest.$ac_ext >&5
19710 ac_header_preproc=no
19712 rm -f conftest.err conftest.$ac_ext
19713 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19714 echo "${ECHO_T}$ac_header_preproc" >&6
19716 # So? What about this header?
19717 case $ac_header_compiler:$ac_header_preproc in
19719 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19720 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19722 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19725 ## ------------------------------------ ##
19726 ## Report this to bug-autoconf@gnu.org. ##
19727 ## ------------------------------------ ##
19730 sed "s/^/$as_me: WARNING: /" >&2
19733 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19734 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19735 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19736 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19738 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19741 ## ------------------------------------ ##
19742 ## Report this to bug-autoconf@gnu.org. ##
19743 ## ------------------------------------ ##
19746 sed "s/^/$as_me: WARNING: /" >&2
19749 echo "$as_me:$LINENO: checking for $ac_header" >&5
19750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19752 echo $ECHO_N "(cached) $ECHO_C" >&6
19754 eval "$as_ac_Header=$ac_header_preproc"
19756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19761 cat >>confdefs.h <<_ACEOF
19762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19772 for ac_header in dlfcn.h link.h
19774 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19776 echo "$as_me:$LINENO: checking for $ac_header" >&5
19777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19779 echo $ECHO_N "(cached) $ECHO_C" >&6
19781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19784 # Is the header compilable?
19785 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19786 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19787 cat >conftest.$ac_ext <<_ACEOF
19788 #line $LINENO "configure"
19791 cat confdefs.h >>conftest.$ac_ext
19792 cat >>conftest.$ac_ext <<_ACEOF
19793 /* end confdefs.h. */
19794 $ac_includes_default
19795 #include <$ac_header>
19797 rm -f conftest.$ac_objext
19798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19799 (eval $ac_compile) 2>&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); } &&
19803 { ac_try='test -s conftest.$ac_objext'
19804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19805 (eval $ac_try) 2>&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); }; }; then
19809 ac_header_compiler=yes
19811 echo "$as_me: failed program was:" >&5
19812 sed 's/^/| /' conftest.$ac_ext >&5
19814 ac_header_compiler=no
19816 rm -f conftest.$ac_objext conftest.$ac_ext
19817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19818 echo "${ECHO_T}$ac_header_compiler" >&6
19820 # Is the header present?
19821 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19822 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19823 cat >conftest.$ac_ext <<_ACEOF
19824 #line $LINENO "configure"
19827 cat confdefs.h >>conftest.$ac_ext
19828 cat >>conftest.$ac_ext <<_ACEOF
19829 /* end confdefs.h. */
19830 #include <$ac_header>
19832 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19833 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19835 grep -v '^ *+' conftest.er1 >conftest.err
19837 cat conftest.err >&5
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); } >/dev/null; then
19840 if test -s conftest.err; then
19841 ac_cpp_err=$ac_c_preproc_warn_flag
19848 if test -z "$ac_cpp_err"; then
19849 ac_header_preproc=yes
19851 echo "$as_me: failed program was:" >&5
19852 sed 's/^/| /' conftest.$ac_ext >&5
19854 ac_header_preproc=no
19856 rm -f conftest.err conftest.$ac_ext
19857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19858 echo "${ECHO_T}$ac_header_preproc" >&6
19860 # So? What about this header?
19861 case $ac_header_compiler:$ac_header_preproc in
19863 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19864 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19866 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19869 ## ------------------------------------ ##
19870 ## Report this to bug-autoconf@gnu.org. ##
19871 ## ------------------------------------ ##
19874 sed "s/^/$as_me: WARNING: /" >&2
19877 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19878 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19879 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19880 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19882 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19885 ## ------------------------------------ ##
19886 ## Report this to bug-autoconf@gnu.org. ##
19887 ## ------------------------------------ ##
19890 sed "s/^/$as_me: WARNING: /" >&2
19893 echo "$as_me:$LINENO: checking for $ac_header" >&5
19894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19896 echo $ECHO_N "(cached) $ECHO_C" >&6
19898 eval "$as_ac_Header=$ac_header_preproc"
19900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19901 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19904 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19905 cat >>confdefs.h <<_ACEOF
19906 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19915 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19916 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19917 if test "${ac_cv_c_const+set}" = set; then
19918 echo $ECHO_N "(cached) $ECHO_C" >&6
19920 cat >conftest.$ac_ext <<_ACEOF
19921 #line $LINENO "configure"
19924 cat confdefs.h >>conftest.$ac_ext
19925 cat >>conftest.$ac_ext <<_ACEOF
19926 /* end confdefs.h. */
19931 /* FIXME: Include the comments suggested by Paul. */
19932 #ifndef __cplusplus
19933 /* Ultrix mips cc rejects this. */
19934 typedef int charset[2];
19936 /* SunOS 4.1.1 cc rejects this. */
19937 char const *const *ccp;
19939 /* NEC SVR4.0.2 mips cc rejects this. */
19940 struct point {int x, y;};
19941 static struct point const zero = {0,0};
19942 /* AIX XL C 1.02.0.0 rejects this.
19943 It does not let you subtract one const X* pointer from another in
19944 an arm of an if-expression whose if-part is not a constant
19946 const char *g = "string";
19947 ccp = &g + (g ? g-g : 0);
19948 /* HPUX 7.0 cc rejects these. */
19951 ccp = (char const *const *) p;
19952 { /* SCO 3.2v4 cc rejects this. */
19954 char const *s = 0 ? (char *) 0 : (char const *) 0;
19958 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19959 int x[] = {25, 17};
19960 const int *foo = &x[0];
19963 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19964 typedef const int *iptr;
19968 { /* AIX XL C 1.02.0.0 rejects this saying
19969 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19970 struct s { int j; const int *ap[3]; };
19971 struct s *b; b->j = 5;
19973 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19974 const int foo = 10;
19982 rm -f conftest.$ac_objext
19983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19984 (eval $ac_compile) 2>&5
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); } &&
19988 { ac_try='test -s conftest.$ac_objext'
19989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19990 (eval $ac_try) 2>&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); }; }; then
19996 echo "$as_me: failed program was:" >&5
19997 sed 's/^/| /' conftest.$ac_ext >&5
20001 rm -f conftest.$ac_objext conftest.$ac_ext
20003 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20004 echo "${ECHO_T}$ac_cv_c_const" >&6
20005 if test $ac_cv_c_const = no; then
20007 cat >>confdefs.h <<\_ACEOF
20013 echo "$as_me:$LINENO: checking for inline" >&5
20014 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20015 if test "${ac_cv_c_inline+set}" = set; then
20016 echo $ECHO_N "(cached) $ECHO_C" >&6
20019 for ac_kw in inline __inline__ __inline; do
20020 cat >conftest.$ac_ext <<_ACEOF
20021 #line $LINENO "configure"
20024 cat confdefs.h >>conftest.$ac_ext
20025 cat >>conftest.$ac_ext <<_ACEOF
20026 /* end confdefs.h. */
20027 #ifndef __cplusplus
20029 static $ac_kw foo_t static_foo () {return 0; }
20030 $ac_kw foo_t foo () {return 0; }
20034 rm -f conftest.$ac_objext
20035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20036 (eval $ac_compile) 2>&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); } &&
20040 { ac_try='test -s conftest.$ac_objext'
20041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20042 (eval $ac_try) 2>&5
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); }; }; then
20046 ac_cv_c_inline=$ac_kw; break
20048 echo "$as_me: failed program was:" >&5
20049 sed 's/^/| /' conftest.$ac_ext >&5
20052 rm -f conftest.$ac_objext conftest.$ac_ext
20056 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20057 echo "${ECHO_T}$ac_cv_c_inline" >&6
20058 case $ac_cv_c_inline in
20061 cat >>confdefs.h <<\_ACEOF
20065 *) cat >>confdefs.h <<_ACEOF
20066 #define inline $ac_cv_c_inline
20072 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20073 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20074 if test "${ac_cv_c_bigendian+set}" = set; then
20075 echo $ECHO_N "(cached) $ECHO_C" >&6
20077 # See if sys/param.h defines the BYTE_ORDER macro.
20078 cat >conftest.$ac_ext <<_ACEOF
20079 #line $LINENO "configure"
20082 cat confdefs.h >>conftest.$ac_ext
20083 cat >>conftest.$ac_ext <<_ACEOF
20084 /* end confdefs.h. */
20085 #include <sys/types.h>
20086 #include <sys/param.h>
20091 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20092 bogus endian macros
20099 rm -f conftest.$ac_objext
20100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20101 (eval $ac_compile) 2>&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); } &&
20105 { ac_try='test -s conftest.$ac_objext'
20106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20107 (eval $ac_try) 2>&5
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); }; }; then
20111 # It does; now see whether it defined to BIG_ENDIAN or not.
20112 cat >conftest.$ac_ext <<_ACEOF
20113 #line $LINENO "configure"
20116 cat confdefs.h >>conftest.$ac_ext
20117 cat >>conftest.$ac_ext <<_ACEOF
20118 /* end confdefs.h. */
20119 #include <sys/types.h>
20120 #include <sys/param.h>
20125 #if BYTE_ORDER != BIG_ENDIAN
20133 rm -f conftest.$ac_objext
20134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20135 (eval $ac_compile) 2>&5
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); } &&
20139 { ac_try='test -s conftest.$ac_objext'
20140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20141 (eval $ac_try) 2>&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); }; }; then
20145 ac_cv_c_bigendian=yes
20147 echo "$as_me: failed program was:" >&5
20148 sed 's/^/| /' conftest.$ac_ext >&5
20150 ac_cv_c_bigendian=no
20152 rm -f conftest.$ac_objext conftest.$ac_ext
20154 echo "$as_me: failed program was:" >&5
20155 sed 's/^/| /' conftest.$ac_ext >&5
20157 # It does not; compile a test program.
20158 if test "$cross_compiling" = yes; then
20159 # try to guess the endianness by grepping values into an object file
20160 ac_cv_c_bigendian=unknown
20161 cat >conftest.$ac_ext <<_ACEOF
20162 #line $LINENO "configure"
20165 cat confdefs.h >>conftest.$ac_ext
20166 cat >>conftest.$ac_ext <<_ACEOF
20167 /* end confdefs.h. */
20168 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20169 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20170 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20171 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20172 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20173 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20177 _ascii (); _ebcdic ();
20182 rm -f conftest.$ac_objext
20183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20184 (eval $ac_compile) 2>&5
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); } &&
20188 { ac_try='test -s conftest.$ac_objext'
20189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20190 (eval $ac_try) 2>&5
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); }; }; then
20194 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20195 ac_cv_c_bigendian=yes
20197 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20198 if test "$ac_cv_c_bigendian" = unknown; then
20199 ac_cv_c_bigendian=no
20201 # finding both strings is unlikely to happen, but who knows?
20202 ac_cv_c_bigendian=unknown
20206 echo "$as_me: failed program was:" >&5
20207 sed 's/^/| /' conftest.$ac_ext >&5
20210 rm -f conftest.$ac_objext conftest.$ac_ext
20212 cat >conftest.$ac_ext <<_ACEOF
20213 #line $LINENO "configure"
20216 cat confdefs.h >>conftest.$ac_ext
20217 cat >>conftest.$ac_ext <<_ACEOF
20218 /* end confdefs.h. */
20222 /* Are we little or big endian? From Harbison&Steele. */
20226 char c[sizeof (long)];
20229 exit (u.c[sizeof (long) - 1] == 1);
20232 rm -f conftest$ac_exeext
20233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20234 (eval $ac_link) 2>&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20239 (eval $ac_try) 2>&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); }; }; then
20243 ac_cv_c_bigendian=no
20245 echo "$as_me: program exited with status $ac_status" >&5
20246 echo "$as_me: failed program was:" >&5
20247 sed 's/^/| /' conftest.$ac_ext >&5
20249 ( exit $ac_status )
20250 ac_cv_c_bigendian=yes
20252 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20255 rm -f conftest.$ac_objext conftest.$ac_ext
20257 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20258 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20259 case $ac_cv_c_bigendian in
20261 cat >>confdefs.h <<\_ACEOF
20262 #define ENDIAN_BIG 1
20266 cat >>confdefs.h <<\_ACEOF
20267 #define ENDIAN_LITTLE 1
20271 { { echo "$as_me:$LINENO: error: unknown endianness
20272 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20273 echo "$as_me: error: unknown endianness
20274 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20275 { (exit 1); exit 1; }; } ;;
20279 echo "$as_me:$LINENO: checking for pid_t" >&5
20280 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20281 if test "${ac_cv_type_pid_t+set}" = set; then
20282 echo $ECHO_N "(cached) $ECHO_C" >&6
20284 cat >conftest.$ac_ext <<_ACEOF
20285 #line $LINENO "configure"
20288 cat confdefs.h >>conftest.$ac_ext
20289 cat >>conftest.$ac_ext <<_ACEOF
20290 /* end confdefs.h. */
20291 $ac_includes_default
20297 if (sizeof (pid_t))
20303 rm -f conftest.$ac_objext
20304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20305 (eval $ac_compile) 2>&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); } &&
20309 { ac_try='test -s conftest.$ac_objext'
20310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20311 (eval $ac_try) 2>&5
20313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20314 (exit $ac_status); }; }; then
20315 ac_cv_type_pid_t=yes
20317 echo "$as_me: failed program was:" >&5
20318 sed 's/^/| /' conftest.$ac_ext >&5
20320 ac_cv_type_pid_t=no
20322 rm -f conftest.$ac_objext conftest.$ac_ext
20324 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20325 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20326 if test $ac_cv_type_pid_t = yes; then
20330 cat >>confdefs.h <<_ACEOF
20336 echo "$as_me:$LINENO: checking for size_t" >&5
20337 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20338 if test "${ac_cv_type_size_t+set}" = set; then
20339 echo $ECHO_N "(cached) $ECHO_C" >&6
20341 cat >conftest.$ac_ext <<_ACEOF
20342 #line $LINENO "configure"
20345 cat confdefs.h >>conftest.$ac_ext
20346 cat >>conftest.$ac_ext <<_ACEOF
20347 /* end confdefs.h. */
20348 $ac_includes_default
20354 if (sizeof (size_t))
20360 rm -f conftest.$ac_objext
20361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20362 (eval $ac_compile) 2>&5
20364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20365 (exit $ac_status); } &&
20366 { ac_try='test -s conftest.$ac_objext'
20367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20368 (eval $ac_try) 2>&5
20370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20371 (exit $ac_status); }; }; then
20372 ac_cv_type_size_t=yes
20374 echo "$as_me: failed program was:" >&5
20375 sed 's/^/| /' conftest.$ac_ext >&5
20377 ac_cv_type_size_t=no
20379 rm -f conftest.$ac_objext conftest.$ac_ext
20381 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20382 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20383 if test $ac_cv_type_size_t = yes; then
20387 cat >>confdefs.h <<_ACEOF
20388 #define size_t unsigned
20393 echo "$as_me:$LINENO: checking for int64_t" >&5
20394 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20395 if test "${ac_cv_type_int64_t+set}" = set; then
20396 echo $ECHO_N "(cached) $ECHO_C" >&6
20398 cat >conftest.$ac_ext <<_ACEOF
20399 #line $LINENO "configure"
20402 cat confdefs.h >>conftest.$ac_ext
20403 cat >>conftest.$ac_ext <<_ACEOF
20404 /* end confdefs.h. */
20405 $ac_includes_default
20411 if (sizeof (int64_t))
20417 rm -f conftest.$ac_objext
20418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20419 (eval $ac_compile) 2>&5
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); } &&
20423 { ac_try='test -s conftest.$ac_objext'
20424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20425 (eval $ac_try) 2>&5
20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); }; }; then
20429 ac_cv_type_int64_t=yes
20431 echo "$as_me: failed program was:" >&5
20432 sed 's/^/| /' conftest.$ac_ext >&5
20434 ac_cv_type_int64_t=no
20436 rm -f conftest.$ac_objext conftest.$ac_ext
20438 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20439 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20440 if test $ac_cv_type_int64_t = yes; then
20442 cat >>confdefs.h <<_ACEOF
20443 #define HAVE_INT64_T 1
20448 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20449 echo "$as_me: error: Type int64_t required but not found" >&2;}
20450 { (exit 1); exit 1; }; }
20453 echo "$as_me:$LINENO: checking for uint64_t" >&5
20454 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20455 if test "${ac_cv_type_uint64_t+set}" = set; then
20456 echo $ECHO_N "(cached) $ECHO_C" >&6
20458 cat >conftest.$ac_ext <<_ACEOF
20459 #line $LINENO "configure"
20462 cat confdefs.h >>conftest.$ac_ext
20463 cat >>conftest.$ac_ext <<_ACEOF
20464 /* end confdefs.h. */
20465 $ac_includes_default
20469 if ((uint64_t *) 0)
20471 if (sizeof (uint64_t))
20477 rm -f conftest.$ac_objext
20478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20479 (eval $ac_compile) 2>&5
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); } &&
20483 { ac_try='test -s conftest.$ac_objext'
20484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20485 (eval $ac_try) 2>&5
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); }; }; then
20489 ac_cv_type_uint64_t=yes
20491 echo "$as_me: failed program was:" >&5
20492 sed 's/^/| /' conftest.$ac_ext >&5
20494 ac_cv_type_uint64_t=no
20496 rm -f conftest.$ac_objext conftest.$ac_ext
20498 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20499 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20500 if test $ac_cv_type_uint64_t = yes; then
20502 cat >>confdefs.h <<_ACEOF
20503 #define HAVE_UINT64_T 1
20508 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20509 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20510 { (exit 1); exit 1; }; }
20513 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20514 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20515 if test "${ac_cv_header_time+set}" = set; then
20516 echo $ECHO_N "(cached) $ECHO_C" >&6
20518 cat >conftest.$ac_ext <<_ACEOF
20519 #line $LINENO "configure"
20522 cat confdefs.h >>conftest.$ac_ext
20523 cat >>conftest.$ac_ext <<_ACEOF
20524 /* end confdefs.h. */
20525 #include <sys/types.h>
20526 #include <sys/time.h>
20532 if ((struct tm *) 0)
20538 rm -f conftest.$ac_objext
20539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20540 (eval $ac_compile) 2>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); } &&
20544 { ac_try='test -s conftest.$ac_objext'
20545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20546 (eval $ac_try) 2>&5
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); }; }; then
20550 ac_cv_header_time=yes
20552 echo "$as_me: failed program was:" >&5
20553 sed 's/^/| /' conftest.$ac_ext >&5
20555 ac_cv_header_time=no
20557 rm -f conftest.$ac_objext conftest.$ac_ext
20559 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20560 echo "${ECHO_T}$ac_cv_header_time" >&6
20561 if test $ac_cv_header_time = yes; then
20563 cat >>confdefs.h <<\_ACEOF
20564 #define TIME_WITH_SYS_TIME 1
20569 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20570 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20571 if test "${ac_cv_struct_tm+set}" = set; then
20572 echo $ECHO_N "(cached) $ECHO_C" >&6
20574 cat >conftest.$ac_ext <<_ACEOF
20575 #line $LINENO "configure"
20578 cat confdefs.h >>conftest.$ac_ext
20579 cat >>conftest.$ac_ext <<_ACEOF
20580 /* end confdefs.h. */
20581 #include <sys/types.h>
20587 struct tm *tp; tp->tm_sec;
20592 rm -f conftest.$ac_objext
20593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20594 (eval $ac_compile) 2>&5
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); } &&
20598 { ac_try='test -s conftest.$ac_objext'
20599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20600 (eval $ac_try) 2>&5
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); }; }; then
20604 ac_cv_struct_tm=time.h
20606 echo "$as_me: failed program was:" >&5
20607 sed 's/^/| /' conftest.$ac_ext >&5
20609 ac_cv_struct_tm=sys/time.h
20611 rm -f conftest.$ac_objext conftest.$ac_ext
20613 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20614 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20615 if test $ac_cv_struct_tm = sys/time.h; then
20617 cat >>confdefs.h <<\_ACEOF
20618 #define TM_IN_SYS_TIME 1
20624 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20625 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20626 if test "${ac_cv_cxx_namespaces+set}" = set; then
20627 echo $ECHO_N "(cached) $ECHO_C" >&6
20632 ac_cpp='$CXXCPP $CPPFLAGS'
20633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20637 cat >conftest.$ac_ext <<_ACEOF
20638 #line $LINENO "configure"
20641 cat confdefs.h >>conftest.$ac_ext
20642 cat >>conftest.$ac_ext <<_ACEOF
20643 /* end confdefs.h. */
20644 namespace Outer { namespace Inner { int i = 0; }}
20648 using namespace Outer::Inner; return i;
20653 rm -f conftest.$ac_objext
20654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20655 (eval $ac_compile) 2>&5
20657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20658 (exit $ac_status); } &&
20659 { ac_try='test -s conftest.$ac_objext'
20660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20661 (eval $ac_try) 2>&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); }; }; then
20665 ac_cv_cxx_namespaces=yes
20667 echo "$as_me: failed program was:" >&5
20668 sed 's/^/| /' conftest.$ac_ext >&5
20670 ac_cv_cxx_namespaces=no
20672 rm -f conftest.$ac_objext conftest.$ac_ext
20674 ac_cpp='$CPP $CPPFLAGS'
20675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20681 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20682 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20683 if test "$ac_cv_cxx_namespaces" = yes; then
20685 cat >>confdefs.h <<\_ACEOF
20686 #define HAVE_NAMESPACES
20691 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20692 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20693 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20694 echo $ECHO_N "(cached) $ECHO_C" >&6
20700 ac_cpp='$CXXCPP $CPPFLAGS'
20701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20705 cat >conftest.$ac_ext <<_ACEOF
20706 #line $LINENO "configure"
20709 cat confdefs.h >>conftest.$ac_ext
20710 cat >>conftest.$ac_ext <<_ACEOF
20711 /* end confdefs.h. */
20712 #include <ext/hash_map>
20713 #ifdef HAVE_NAMESPACES
20714 using namespace std;
20719 hash_map<int, int> t; return 0;
20724 rm -f conftest.$ac_objext
20725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20726 (eval $ac_compile) 2>&5
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729 (exit $ac_status); } &&
20730 { ac_try='test -s conftest.$ac_objext'
20731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20732 (eval $ac_try) 2>&5
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); }; }; then
20736 ac_cv_cxx_have_ext_hash_map=std
20738 echo "$as_me: failed program was:" >&5
20739 sed 's/^/| /' conftest.$ac_ext >&5
20741 ac_cv_cxx_have_ext_hash_map=no
20743 rm -f conftest.$ac_objext conftest.$ac_ext
20744 cat >conftest.$ac_ext <<_ACEOF
20745 #line $LINENO "configure"
20748 cat confdefs.h >>conftest.$ac_ext
20749 cat >>conftest.$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751 #include <ext/hash_map>
20752 #ifdef HAVE_NAMESPACES
20753 using namespace __gnu_cxx;
20758 hash_map<int, int> t; return 0;
20763 rm -f conftest.$ac_objext
20764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20765 (eval $ac_compile) 2>&5
20767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768 (exit $ac_status); } &&
20769 { ac_try='test -s conftest.$ac_objext'
20770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20771 (eval $ac_try) 2>&5
20773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774 (exit $ac_status); }; }; then
20775 ac_cv_cxx_have_ext_hash_map=gnu
20777 echo "$as_me: failed program was:" >&5
20778 sed 's/^/| /' conftest.$ac_ext >&5
20780 ac_cv_cxx_have_ext_hash_map=no
20782 rm -f conftest.$ac_objext conftest.$ac_ext
20784 ac_cpp='$CPP $CPPFLAGS'
20785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20791 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20792 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20793 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20795 cat >>confdefs.h <<\_ACEOF
20796 #define HAVE_STD_EXT_HASH_MAP
20800 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20802 cat >>confdefs.h <<\_ACEOF
20803 #define HAVE_GNU_EXT_HASH_MAP
20808 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20809 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20810 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20811 echo $ECHO_N "(cached) $ECHO_C" >&6
20817 ac_cpp='$CXXCPP $CPPFLAGS'
20818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20822 cat >conftest.$ac_ext <<_ACEOF
20823 #line $LINENO "configure"
20826 cat confdefs.h >>conftest.$ac_ext
20827 cat >>conftest.$ac_ext <<_ACEOF
20828 /* end confdefs.h. */
20829 #include <ext/hash_set>
20830 #ifdef HAVE_NAMESPACES
20831 using namespace std;
20836 hash_set<int> t; return 0;
20841 rm -f conftest.$ac_objext
20842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20843 (eval $ac_compile) 2>&5
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); } &&
20847 { ac_try='test -s conftest.$ac_objext'
20848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20849 (eval $ac_try) 2>&5
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); }; }; then
20853 ac_cv_cxx_have_ext_hash_set=std
20855 echo "$as_me: failed program was:" >&5
20856 sed 's/^/| /' conftest.$ac_ext >&5
20858 ac_cv_cxx_have_ext_hash_set=no
20860 rm -f conftest.$ac_objext conftest.$ac_ext
20861 cat >conftest.$ac_ext <<_ACEOF
20862 #line $LINENO "configure"
20865 cat confdefs.h >>conftest.$ac_ext
20866 cat >>conftest.$ac_ext <<_ACEOF
20867 /* end confdefs.h. */
20868 #include <ext/hash_set>
20869 #ifdef HAVE_NAMESPACES
20870 using namespace __gnu_cxx;
20875 hash_set<int> t; return 0;
20880 rm -f conftest.$ac_objext
20881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20882 (eval $ac_compile) 2>&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); } &&
20886 { ac_try='test -s conftest.$ac_objext'
20887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20888 (eval $ac_try) 2>&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); }; }; then
20892 ac_cv_cxx_have_ext_hash_set=gnu
20894 echo "$as_me: failed program was:" >&5
20895 sed 's/^/| /' conftest.$ac_ext >&5
20897 ac_cv_cxx_have_ext_hash_set=no
20899 rm -f conftest.$ac_objext conftest.$ac_ext
20901 ac_cpp='$CPP $CPPFLAGS'
20902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20908 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
20909 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
20910 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
20912 cat >>confdefs.h <<\_ACEOF
20913 #define HAVE_STD_EXT_HASH_SET
20917 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
20919 cat >>confdefs.h <<\_ACEOF
20920 #define HAVE_GNU_EXT_HASH_SET
20925 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
20926 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
20927 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
20928 echo $ECHO_N "(cached) $ECHO_C" >&6
20934 ac_cpp='$CXXCPP $CPPFLAGS'
20935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20939 cat >conftest.$ac_ext <<_ACEOF
20940 #line $LINENO "configure"
20943 cat confdefs.h >>conftest.$ac_ext
20944 cat >>conftest.$ac_ext <<_ACEOF
20945 /* end confdefs.h. */
20946 #include <ext/slist>
20947 #ifdef HAVE_NAMESPACES
20948 using namespace std;
20953 slist<int> s; return 0;
20958 rm -f conftest.$ac_objext
20959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20960 (eval $ac_compile) 2>&5
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); } &&
20964 { ac_try='test -s conftest.$ac_objext'
20965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20966 (eval $ac_try) 2>&5
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); }; }; then
20970 ac_cv_cxx_have_ext_slist=std
20972 echo "$as_me: failed program was:" >&5
20973 sed 's/^/| /' conftest.$ac_ext >&5
20975 ac_cv_cxx_have_ext_slist=no
20977 rm -f conftest.$ac_objext conftest.$ac_ext
20978 cat >conftest.$ac_ext <<_ACEOF
20979 #line $LINENO "configure"
20982 cat confdefs.h >>conftest.$ac_ext
20983 cat >>conftest.$ac_ext <<_ACEOF
20984 /* end confdefs.h. */
20985 #include <ext/slist>
20986 #ifdef HAVE_NAMESPACES
20987 using namespace __gnu_cxx;
20992 slist<int> s; return 0;
20997 rm -f conftest.$ac_objext
20998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20999 (eval $ac_compile) 2>&5
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); } &&
21003 { ac_try='test -s conftest.$ac_objext'
21004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21005 (eval $ac_try) 2>&5
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); }; }; then
21009 ac_cv_cxx_have_ext_slist=gnu
21011 echo "$as_me: failed program was:" >&5
21012 sed 's/^/| /' conftest.$ac_ext >&5
21014 ac_cv_cxx_have_ext_slist=no
21016 rm -f conftest.$ac_objext conftest.$ac_ext
21019 ac_cpp='$CPP $CPPFLAGS'
21020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21026 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21027 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21028 if test "$ac_cv_cxx_have_ext_slist" = std; then
21030 cat >>confdefs.h <<\_ACEOF
21031 #define HAVE_EXT_SLIST std
21035 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21037 cat >>confdefs.h <<\_ACEOF
21038 #define HAVE_EXT_SLIST gnu
21043 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21044 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21045 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21046 echo $ECHO_N "(cached) $ECHO_C" >&6
21052 ac_cpp='$CXXCPP $CPPFLAGS'
21053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21057 cat >conftest.$ac_ext <<_ACEOF
21058 #line $LINENO "configure"
21061 cat confdefs.h >>conftest.$ac_ext
21062 cat >>conftest.$ac_ext <<_ACEOF
21063 /* end confdefs.h. */
21064 #include <iterator>
21065 #ifdef HAVE_NAMESPACES
21066 using namespace std;
21071 iterator<int,int,int> t; return 0;
21076 rm -f conftest.$ac_objext
21077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21078 (eval $ac_compile) 2>&5
21080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21081 (exit $ac_status); } &&
21082 { ac_try='test -s conftest.$ac_objext'
21083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21084 (eval $ac_try) 2>&5
21086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087 (exit $ac_status); }; }; then
21088 ac_cv_cxx_have_std_iterator=yes
21090 echo "$as_me: failed program was:" >&5
21091 sed 's/^/| /' conftest.$ac_ext >&5
21093 ac_cv_cxx_have_std_iterator=no
21095 rm -f conftest.$ac_objext conftest.$ac_ext
21097 ac_cpp='$CPP $CPPFLAGS'
21098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21104 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21105 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21106 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21108 cat >>confdefs.h <<\_ACEOF
21109 #define HAVE_STD_ITERATOR
21114 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21115 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21116 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21117 echo $ECHO_N "(cached) $ECHO_C" >&6
21123 ac_cpp='$CXXCPP $CPPFLAGS'
21124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21128 cat >conftest.$ac_ext <<_ACEOF
21129 #line $LINENO "configure"
21132 cat confdefs.h >>conftest.$ac_ext
21133 cat >>conftest.$ac_ext <<_ACEOF
21134 /* end confdefs.h. */
21135 #include <iterator>
21136 #ifdef HAVE_NAMESPACES
21137 using namespace std;
21142 bidirectional_iterator<int,int> t; return 0;
21147 rm -f conftest.$ac_objext
21148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21149 (eval $ac_compile) 2>&5
21151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152 (exit $ac_status); } &&
21153 { ac_try='test -s conftest.$ac_objext'
21154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21155 (eval $ac_try) 2>&5
21157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158 (exit $ac_status); }; }; then
21159 ac_cv_cxx_have_bi_iterator=yes
21161 echo "$as_me: failed program was:" >&5
21162 sed 's/^/| /' conftest.$ac_ext >&5
21164 ac_cv_cxx_have_bi_iterator=no
21166 rm -f conftest.$ac_objext conftest.$ac_ext
21168 ac_cpp='$CPP $CPPFLAGS'
21169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21175 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21176 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21177 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21179 cat >>confdefs.h <<\_ACEOF
21180 #define HAVE_BI_ITERATOR
21185 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21186 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21187 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21188 echo $ECHO_N "(cached) $ECHO_C" >&6
21194 ac_cpp='$CXXCPP $CPPFLAGS'
21195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21199 cat >conftest.$ac_ext <<_ACEOF
21200 #line $LINENO "configure"
21203 cat confdefs.h >>conftest.$ac_ext
21204 cat >>conftest.$ac_ext <<_ACEOF
21205 /* end confdefs.h. */
21206 #include <iterator>
21207 #ifdef HAVE_NAMESPACES
21208 using namespace std;
21213 forward_iterator<int,int> t; return 0;
21218 rm -f conftest.$ac_objext
21219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21220 (eval $ac_compile) 2>&5
21222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223 (exit $ac_status); } &&
21224 { ac_try='test -s conftest.$ac_objext'
21225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21226 (eval $ac_try) 2>&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); }; }; then
21230 ac_cv_cxx_have_fwd_iterator=yes
21232 echo "$as_me: failed program was:" >&5
21233 sed 's/^/| /' conftest.$ac_ext >&5
21235 ac_cv_cxx_have_fwd_iterator=no
21237 rm -f conftest.$ac_objext conftest.$ac_ext
21239 ac_cpp='$CPP $CPPFLAGS'
21240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21246 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21247 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21248 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21250 cat >>confdefs.h <<\_ACEOF
21251 #define HAVE_FWD_ITERATOR
21257 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21258 # for constant arguments. Useless!
21259 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21260 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21261 if test "${ac_cv_working_alloca_h+set}" = set; then
21262 echo $ECHO_N "(cached) $ECHO_C" >&6
21264 cat >conftest.$ac_ext <<_ACEOF
21265 #line $LINENO "configure"
21268 cat confdefs.h >>conftest.$ac_ext
21269 cat >>conftest.$ac_ext <<_ACEOF
21270 /* end confdefs.h. */
21271 #include <alloca.h>
21275 char *p = (char *) alloca (2 * sizeof (int));
21280 rm -f conftest.$ac_objext conftest$ac_exeext
21281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21282 (eval $ac_link) 2>&5
21284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21285 (exit $ac_status); } &&
21286 { ac_try='test -s conftest$ac_exeext'
21287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21288 (eval $ac_try) 2>&5
21290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21291 (exit $ac_status); }; }; then
21292 ac_cv_working_alloca_h=yes
21294 echo "$as_me: failed program was:" >&5
21295 sed 's/^/| /' conftest.$ac_ext >&5
21297 ac_cv_working_alloca_h=no
21299 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21301 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21302 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21303 if test $ac_cv_working_alloca_h = yes; then
21305 cat >>confdefs.h <<\_ACEOF
21306 #define HAVE_ALLOCA_H 1
21311 echo "$as_me:$LINENO: checking for alloca" >&5
21312 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21313 if test "${ac_cv_func_alloca_works+set}" = set; then
21314 echo $ECHO_N "(cached) $ECHO_C" >&6
21316 cat >conftest.$ac_ext <<_ACEOF
21317 #line $LINENO "configure"
21320 cat confdefs.h >>conftest.$ac_ext
21321 cat >>conftest.$ac_ext <<_ACEOF
21322 /* end confdefs.h. */
21324 # define alloca __builtin_alloca
21327 # include <malloc.h>
21328 # define alloca _alloca
21331 # include <alloca.h>
21336 # ifndef alloca /* predefined by HP cc +Olibcalls */
21347 char *p = (char *) alloca (1);
21352 rm -f conftest.$ac_objext conftest$ac_exeext
21353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21354 (eval $ac_link) 2>&5
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); } &&
21358 { ac_try='test -s conftest$ac_exeext'
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_func_alloca_works=yes
21366 echo "$as_me: failed program was:" >&5
21367 sed 's/^/| /' conftest.$ac_ext >&5
21369 ac_cv_func_alloca_works=no
21371 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21373 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21374 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21376 if test $ac_cv_func_alloca_works = yes; then
21378 cat >>confdefs.h <<\_ACEOF
21379 #define HAVE_ALLOCA 1
21383 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21384 # that cause trouble. Some versions do not even contain alloca or
21385 # contain a buggy version. If you still want to use their alloca,
21386 # use ar to extract alloca.o from them instead of compiling alloca.c.
21388 ALLOCA=alloca.$ac_objext
21390 cat >>confdefs.h <<\_ACEOF
21395 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21396 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21397 if test "${ac_cv_os_cray+set}" = set; then
21398 echo $ECHO_N "(cached) $ECHO_C" >&6
21400 cat >conftest.$ac_ext <<_ACEOF
21401 #line $LINENO "configure"
21404 cat confdefs.h >>conftest.$ac_ext
21405 cat >>conftest.$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21407 #if defined(CRAY) && ! defined(CRAY2)
21414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21415 $EGREP "webecray" >/dev/null 2>&1; then
21423 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21424 echo "${ECHO_T}$ac_cv_os_cray" >&6
21425 if test $ac_cv_os_cray = yes; then
21426 for ac_func in _getb67 GETB67 getb67; do
21427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21428 echo "$as_me:$LINENO: checking for $ac_func" >&5
21429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21430 if eval "test \"\${$as_ac_var+set}\" = set"; then
21431 echo $ECHO_N "(cached) $ECHO_C" >&6
21433 cat >conftest.$ac_ext <<_ACEOF
21434 #line $LINENO "configure"
21437 cat confdefs.h >>conftest.$ac_ext
21438 cat >>conftest.$ac_ext <<_ACEOF
21439 /* end confdefs.h. */
21440 /* System header to define __stub macros and hopefully few prototypes,
21441 which can conflict with char $ac_func (); below.
21442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21443 <limits.h> exists even on freestanding compilers. */
21445 # include <limits.h>
21447 # include <assert.h>
21449 /* Override any gcc2 internal prototype to avoid an error. */
21454 /* We use char because int might match the return type of a gcc2
21455 builtin and then its argument prototype would still apply. */
21457 /* The GNU C library defines this for functions which it implements
21458 to always fail with ENOSYS. Some functions are actually named
21459 something starting with __ and the normal name is an alias. */
21460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21463 char (*f) () = $ac_func;
21472 return f != $ac_func;
21477 rm -f conftest.$ac_objext conftest$ac_exeext
21478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21479 (eval $ac_link) 2>&5
21481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21482 (exit $ac_status); } &&
21483 { ac_try='test -s conftest$ac_exeext'
21484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21485 (eval $ac_try) 2>&5
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); }; }; then
21489 eval "$as_ac_var=yes"
21491 echo "$as_me: failed program was:" >&5
21492 sed 's/^/| /' conftest.$ac_ext >&5
21494 eval "$as_ac_var=no"
21496 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21500 if test `eval echo '${'$as_ac_var'}'` = yes; then
21502 cat >>confdefs.h <<_ACEOF
21503 #define CRAY_STACKSEG_END $ac_func
21512 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21513 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21514 if test "${ac_cv_c_stack_direction+set}" = set; then
21515 echo $ECHO_N "(cached) $ECHO_C" >&6
21517 if test "$cross_compiling" = yes; then
21518 ac_cv_c_stack_direction=0
21520 cat >conftest.$ac_ext <<_ACEOF
21521 #line $LINENO "configure"
21524 cat confdefs.h >>conftest.$ac_ext
21525 cat >>conftest.$ac_ext <<_ACEOF
21526 /* end confdefs.h. */
21528 find_stack_direction ()
21530 static char *addr = 0;
21535 return find_stack_direction ();
21538 return (&dummy > addr) ? 1 : -1;
21544 exit (find_stack_direction () < 0);
21547 rm -f conftest$ac_exeext
21548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21549 (eval $ac_link) 2>&5
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21554 (eval $ac_try) 2>&5
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); }; }; then
21558 ac_cv_c_stack_direction=1
21560 echo "$as_me: program exited with status $ac_status" >&5
21561 echo "$as_me: failed program was:" >&5
21562 sed 's/^/| /' conftest.$ac_ext >&5
21564 ( exit $ac_status )
21565 ac_cv_c_stack_direction=-1
21567 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21570 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21571 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21573 cat >>confdefs.h <<_ACEOF
21574 #define STACK_DIRECTION $ac_cv_c_stack_direction
21580 if test $ac_cv_c_compiler_gnu = yes; then
21581 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21582 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21583 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21584 echo $ECHO_N "(cached) $ECHO_C" >&6
21586 ac_pattern="Autoconf.*'x'"
21587 cat >conftest.$ac_ext <<_ACEOF
21588 #line $LINENO "configure"
21591 cat confdefs.h >>conftest.$ac_ext
21592 cat >>conftest.$ac_ext <<_ACEOF
21593 /* end confdefs.h. */
21597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21598 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21599 ac_cv_prog_gcc_traditional=yes
21601 ac_cv_prog_gcc_traditional=no
21606 if test $ac_cv_prog_gcc_traditional = no; then
21607 cat >conftest.$ac_ext <<_ACEOF
21608 #line $LINENO "configure"
21611 cat confdefs.h >>conftest.$ac_ext
21612 cat >>conftest.$ac_ext <<_ACEOF
21613 /* end confdefs.h. */
21614 #include <termio.h>
21617 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21618 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21619 ac_cv_prog_gcc_traditional=yes
21625 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21626 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21627 if test $ac_cv_prog_gcc_traditional = yes; then
21628 CC="$CC -traditional"
21632 echo "$as_me:$LINENO: checking for working memcmp" >&5
21633 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21634 if test "${ac_cv_func_memcmp_working+set}" = set; then
21635 echo $ECHO_N "(cached) $ECHO_C" >&6
21637 if test "$cross_compiling" = yes; then
21638 ac_cv_func_memcmp_working=no
21640 cat >conftest.$ac_ext <<_ACEOF
21641 #line $LINENO "configure"
21644 cat confdefs.h >>conftest.$ac_ext
21645 cat >>conftest.$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21652 /* Some versions of memcmp are not 8-bit clean. */
21653 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21654 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21657 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21658 or more and with at least one buffer not starting on a 4-byte boundary.
21659 William Lewis provided this test program. */
21664 for (i = 0; i < 4; i++)
21668 strcpy (a, "--------01111111");
21669 strcpy (b, "--------10000000");
21670 if (memcmp (a, b, 16) >= 0)
21680 rm -f conftest$ac_exeext
21681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21682 (eval $ac_link) 2>&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21687 (eval $ac_try) 2>&5
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); }; }; then
21691 ac_cv_func_memcmp_working=yes
21693 echo "$as_me: program exited with status $ac_status" >&5
21694 echo "$as_me: failed program was:" >&5
21695 sed 's/^/| /' conftest.$ac_ext >&5
21697 ( exit $ac_status )
21698 ac_cv_func_memcmp_working=no
21700 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21703 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21704 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21705 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21709 for ac_header in stdlib.h unistd.h
21711 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21713 echo "$as_me:$LINENO: checking for $ac_header" >&5
21714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21716 echo $ECHO_N "(cached) $ECHO_C" >&6
21718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21721 # Is the header compilable?
21722 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21723 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21724 cat >conftest.$ac_ext <<_ACEOF
21725 #line $LINENO "configure"
21728 cat confdefs.h >>conftest.$ac_ext
21729 cat >>conftest.$ac_ext <<_ACEOF
21730 /* end confdefs.h. */
21731 $ac_includes_default
21732 #include <$ac_header>
21734 rm -f conftest.$ac_objext
21735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21736 (eval $ac_compile) 2>&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); } &&
21740 { ac_try='test -s conftest.$ac_objext'
21741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21742 (eval $ac_try) 2>&5
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); }; }; then
21746 ac_header_compiler=yes
21748 echo "$as_me: failed program was:" >&5
21749 sed 's/^/| /' conftest.$ac_ext >&5
21751 ac_header_compiler=no
21753 rm -f conftest.$ac_objext conftest.$ac_ext
21754 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21755 echo "${ECHO_T}$ac_header_compiler" >&6
21757 # Is the header present?
21758 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21759 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21760 cat >conftest.$ac_ext <<_ACEOF
21761 #line $LINENO "configure"
21764 cat confdefs.h >>conftest.$ac_ext
21765 cat >>conftest.$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21767 #include <$ac_header>
21769 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21770 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21772 grep -v '^ *+' conftest.er1 >conftest.err
21774 cat conftest.err >&5
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); } >/dev/null; then
21777 if test -s conftest.err; then
21778 ac_cpp_err=$ac_c_preproc_warn_flag
21785 if test -z "$ac_cpp_err"; then
21786 ac_header_preproc=yes
21788 echo "$as_me: failed program was:" >&5
21789 sed 's/^/| /' conftest.$ac_ext >&5
21791 ac_header_preproc=no
21793 rm -f conftest.err conftest.$ac_ext
21794 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21795 echo "${ECHO_T}$ac_header_preproc" >&6
21797 # So? What about this header?
21798 case $ac_header_compiler:$ac_header_preproc in
21800 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21801 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21803 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21806 ## ------------------------------------ ##
21807 ## Report this to bug-autoconf@gnu.org. ##
21808 ## ------------------------------------ ##
21811 sed "s/^/$as_me: WARNING: /" >&2
21814 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21815 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21816 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21817 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21822 ## ------------------------------------ ##
21823 ## Report this to bug-autoconf@gnu.org. ##
21824 ## ------------------------------------ ##
21827 sed "s/^/$as_me: WARNING: /" >&2
21830 echo "$as_me:$LINENO: checking for $ac_header" >&5
21831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21833 echo $ECHO_N "(cached) $ECHO_C" >&6
21835 eval "$as_ac_Header=$ac_header_preproc"
21837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21841 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21842 cat >>confdefs.h <<_ACEOF
21843 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21851 for ac_func in getpagesize
21853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21854 echo "$as_me:$LINENO: checking for $ac_func" >&5
21855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21856 if eval "test \"\${$as_ac_var+set}\" = set"; then
21857 echo $ECHO_N "(cached) $ECHO_C" >&6
21859 cat >conftest.$ac_ext <<_ACEOF
21860 #line $LINENO "configure"
21863 cat confdefs.h >>conftest.$ac_ext
21864 cat >>conftest.$ac_ext <<_ACEOF
21865 /* end confdefs.h. */
21866 /* System header to define __stub macros and hopefully few prototypes,
21867 which can conflict with char $ac_func (); below.
21868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21869 <limits.h> exists even on freestanding compilers. */
21871 # include <limits.h>
21873 # include <assert.h>
21875 /* Override any gcc2 internal prototype to avoid an error. */
21880 /* We use char because int might match the return type of a gcc2
21881 builtin and then its argument prototype would still apply. */
21883 /* The GNU C library defines this for functions which it implements
21884 to always fail with ENOSYS. Some functions are actually named
21885 something starting with __ and the normal name is an alias. */
21886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21889 char (*f) () = $ac_func;
21898 return f != $ac_func;
21903 rm -f conftest.$ac_objext conftest$ac_exeext
21904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21905 (eval $ac_link) 2>&5
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); } &&
21909 { ac_try='test -s conftest$ac_exeext'
21910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21911 (eval $ac_try) 2>&5
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); }; }; then
21915 eval "$as_ac_var=yes"
21917 echo "$as_me: failed program was:" >&5
21918 sed 's/^/| /' conftest.$ac_ext >&5
21920 eval "$as_ac_var=no"
21922 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21926 if test `eval echo '${'$as_ac_var'}'` = yes; then
21927 cat >>confdefs.h <<_ACEOF
21928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21934 echo "$as_me:$LINENO: checking for working mmap" >&5
21935 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
21936 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
21937 echo $ECHO_N "(cached) $ECHO_C" >&6
21939 if test "$cross_compiling" = yes; then
21940 ac_cv_func_mmap_fixed_mapped=no
21942 cat >conftest.$ac_ext <<_ACEOF
21943 #line $LINENO "configure"
21946 cat confdefs.h >>conftest.$ac_ext
21947 cat >>conftest.$ac_ext <<_ACEOF
21948 /* end confdefs.h. */
21949 $ac_includes_default
21950 /* malloc might have been renamed as rpl_malloc. */
21953 /* Thanks to Mike Haertel and Jim Avera for this test.
21954 Here is a matrix of mmap possibilities:
21955 mmap private not fixed
21956 mmap private fixed at somewhere currently unmapped
21957 mmap private fixed at somewhere already mapped
21958 mmap shared not fixed
21959 mmap shared fixed at somewhere currently unmapped
21960 mmap shared fixed at somewhere already mapped
21961 For private mappings, we should verify that changes cannot be read()
21962 back from the file, nor mmap's back from the file at a different
21963 address. (There have been systems where private was not correctly
21964 implemented like the infamous i386 svr4.0, and systems where the
21965 VM page cache was not coherent with the file system buffer cache
21966 like early versions of FreeBSD and possibly contemporary NetBSD.)
21967 For shared mappings, we should conversely verify that changes get
21968 propagated back to all the places they're supposed to be.
21970 Grep wants private fixed already mapped.
21971 The main things grep needs to know about mmap are:
21972 * does it exist and is it safe to write into the mmap'd area
21973 * how to use it (BSD variants) */
21976 #include <sys/mman.h>
21978 #if !STDC_HEADERS && !HAVE_STDLIB_H
21982 /* This mess was copied from the GNU getpagesize.h. */
21983 #if !HAVE_GETPAGESIZE
21984 /* Assume that all systems that can run configure have sys/param.h. */
21985 # if !HAVE_SYS_PARAM_H
21986 # define HAVE_SYS_PARAM_H 1
21989 # ifdef _SC_PAGESIZE
21990 # define getpagesize() sysconf(_SC_PAGESIZE)
21991 # else /* no _SC_PAGESIZE */
21992 # if HAVE_SYS_PARAM_H
21993 # include <sys/param.h>
21994 # ifdef EXEC_PAGESIZE
21995 # define getpagesize() EXEC_PAGESIZE
21996 # else /* no EXEC_PAGESIZE */
21998 # define getpagesize() NBPG * CLSIZE
22001 # endif /* no CLSIZE */
22002 # else /* no NBPG */
22004 # define getpagesize() NBPC
22005 # else /* no NBPC */
22007 # define getpagesize() PAGESIZE
22008 # endif /* PAGESIZE */
22009 # endif /* no NBPC */
22010 # endif /* no NBPG */
22011 # endif /* no EXEC_PAGESIZE */
22012 # else /* no HAVE_SYS_PARAM_H */
22013 # define getpagesize() 8192 /* punt totally */
22014 # endif /* no HAVE_SYS_PARAM_H */
22015 # endif /* no _SC_PAGESIZE */
22017 #endif /* no HAVE_GETPAGESIZE */
22022 char *data, *data2, *data3;
22026 pagesize = getpagesize ();
22028 /* First, make a file with some known garbage in it. */
22029 data = (char *) malloc (pagesize);
22032 for (i = 0; i < pagesize; ++i)
22033 *(data + i) = rand ();
22035 fd = creat ("conftest.mmap", 0600);
22038 if (write (fd, data, pagesize) != pagesize)
22042 /* Next, try to mmap the file at a fixed address which already has
22043 something else allocated at it. If we can, also make sure that
22044 we see the same garbage. */
22045 fd = open ("conftest.mmap", O_RDWR);
22048 data2 = (char *) malloc (2 * pagesize);
22051 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22052 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22053 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22055 for (i = 0; i < pagesize; ++i)
22056 if (*(data + i) != *(data2 + i))
22059 /* Finally, make sure that changes to the mapped area do not
22060 percolate back to the file as seen by read(). (This is a bug on
22061 some variants of i386 svr4.0.) */
22062 for (i = 0; i < pagesize; ++i)
22063 *(data2 + i) = *(data2 + i) + 1;
22064 data3 = (char *) malloc (pagesize);
22067 if (read (fd, data3, pagesize) != pagesize)
22069 for (i = 0; i < pagesize; ++i)
22070 if (*(data + i) != *(data3 + i))
22076 rm -f conftest$ac_exeext
22077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22078 (eval $ac_link) 2>&5
22080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22083 (eval $ac_try) 2>&5
22085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22086 (exit $ac_status); }; }; then
22087 ac_cv_func_mmap_fixed_mapped=yes
22089 echo "$as_me: program exited with status $ac_status" >&5
22090 echo "$as_me: failed program was:" >&5
22091 sed 's/^/| /' conftest.$ac_ext >&5
22093 ( exit $ac_status )
22094 ac_cv_func_mmap_fixed_mapped=no
22096 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22099 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22100 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22101 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22103 cat >>confdefs.h <<\_ACEOF
22104 #define HAVE_MMAP 1
22108 rm -f conftest.mmap
22110 echo "$as_me:$LINENO: checking for mmap of files" >&5
22111 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22112 if test "${ac_cv_func_mmap_file+set}" = set; then
22113 echo $ECHO_N "(cached) $ECHO_C" >&6
22118 ac_cpp='$CPP $CPPFLAGS'
22119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22123 if test "$cross_compiling" = yes; then
22124 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22125 See \`config.log' for more details." >&5
22126 echo "$as_me: error: cannot run test program while cross compiling
22127 See \`config.log' for more details." >&2;}
22128 { (exit 1); exit 1; }; }
22130 cat >conftest.$ac_ext <<_ACEOF
22131 #line $LINENO "configure"
22134 cat confdefs.h >>conftest.$ac_ext
22135 cat >>conftest.$ac_ext <<_ACEOF
22136 /* end confdefs.h. */
22138 #ifdef HAVE_SYS_MMAN_H
22139 #include <sys/mman.h>
22142 #ifdef HAVE_SYS_TYPES_H
22143 #include <sys/types.h>
22146 #ifdef HAVE_FCNTL_H
22152 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22154 rm -f conftest$ac_exeext
22155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22156 (eval $ac_link) 2>&5
22158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22159 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22161 (eval $ac_try) 2>&5
22163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164 (exit $ac_status); }; }; then
22165 ac_cv_func_mmap_file=yes
22167 echo "$as_me: program exited with status $ac_status" >&5
22168 echo "$as_me: failed program was:" >&5
22169 sed 's/^/| /' conftest.$ac_ext >&5
22171 ( exit $ac_status )
22172 ac_cv_func_mmap_file=no
22174 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22177 ac_cpp='$CPP $CPPFLAGS'
22178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22184 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22185 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22186 if test "$ac_cv_func_mmap_file" = yes; then
22187 cat >>confdefs.h <<\_ACEOF
22188 #define HAVE_MMAP_FILE 1
22195 if test ${ac_cv_func_mmap_file} = "no"
22197 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22198 echo "$as_me: error: mmap() of files required but not found" >&2;}
22199 { (exit 1); exit 1; }; }
22201 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22202 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22203 if test "${ac_cv_header_mmap_anon+set}" = set; then
22204 echo $ECHO_N "(cached) $ECHO_C" >&6
22209 ac_cpp='$CPP $CPPFLAGS'
22210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22214 cat >conftest.$ac_ext <<_ACEOF
22215 #line $LINENO "configure"
22218 cat confdefs.h >>conftest.$ac_ext
22219 cat >>conftest.$ac_ext <<_ACEOF
22220 /* end confdefs.h. */
22221 #include <sys/mman.h>
22222 #include <unistd.h>
22227 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22232 rm -f conftest.$ac_objext
22233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22234 (eval $ac_compile) 2>&5
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); } &&
22238 { ac_try='test -s conftest.$ac_objext'
22239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22240 (eval $ac_try) 2>&5
22242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243 (exit $ac_status); }; }; then
22244 ac_cv_header_mmap_anon=yes
22246 echo "$as_me: failed program was:" >&5
22247 sed 's/^/| /' conftest.$ac_ext >&5
22249 ac_cv_header_mmap_anon=no
22251 rm -f conftest.$ac_objext conftest.$ac_ext
22253 ac_cpp='$CPP $CPPFLAGS'
22254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22260 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22261 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22262 if test "$ac_cv_header_mmap_anon" = yes; then
22263 cat >>confdefs.h <<\_ACEOF
22264 #define HAVE_MMAP_ANONYMOUS 1
22269 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22270 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22271 if test "${ac_cv_type_signal+set}" = set; then
22272 echo $ECHO_N "(cached) $ECHO_C" >&6
22274 cat >conftest.$ac_ext <<_ACEOF
22275 #line $LINENO "configure"
22278 cat confdefs.h >>conftest.$ac_ext
22279 cat >>conftest.$ac_ext <<_ACEOF
22280 /* end confdefs.h. */
22281 #include <sys/types.h>
22282 #include <signal.h>
22287 extern "C" void (*signal (int, void (*)(int)))(int);
22289 void (*signal ()) ();
22300 rm -f conftest.$ac_objext
22301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22302 (eval $ac_compile) 2>&5
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); } &&
22306 { ac_try='test -s conftest.$ac_objext'
22307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22308 (eval $ac_try) 2>&5
22310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); }; }; then
22312 ac_cv_type_signal=void
22314 echo "$as_me: failed program was:" >&5
22315 sed 's/^/| /' conftest.$ac_ext >&5
22317 ac_cv_type_signal=int
22319 rm -f conftest.$ac_objext conftest.$ac_ext
22321 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22322 echo "${ECHO_T}$ac_cv_type_signal" >&6
22324 cat >>confdefs.h <<_ACEOF
22325 #define RETSIGTYPE $ac_cv_type_signal
22338 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
22340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22341 echo "$as_me:$LINENO: checking for $ac_func" >&5
22342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22343 if eval "test \"\${$as_ac_var+set}\" = set"; then
22344 echo $ECHO_N "(cached) $ECHO_C" >&6
22346 cat >conftest.$ac_ext <<_ACEOF
22347 #line $LINENO "configure"
22350 cat confdefs.h >>conftest.$ac_ext
22351 cat >>conftest.$ac_ext <<_ACEOF
22352 /* end confdefs.h. */
22353 /* System header to define __stub macros and hopefully few prototypes,
22354 which can conflict with char $ac_func (); below.
22355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22356 <limits.h> exists even on freestanding compilers. */
22358 # include <limits.h>
22360 # include <assert.h>
22362 /* Override any gcc2 internal prototype to avoid an error. */
22367 /* We use char because int might match the return type of a gcc2
22368 builtin and then its argument prototype would still apply. */
22370 /* The GNU C library defines this for functions which it implements
22371 to always fail with ENOSYS. Some functions are actually named
22372 something starting with __ and the normal name is an alias. */
22373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22376 char (*f) () = $ac_func;
22385 return f != $ac_func;
22390 rm -f conftest.$ac_objext conftest$ac_exeext
22391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22392 (eval $ac_link) 2>&5
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); } &&
22396 { ac_try='test -s conftest$ac_exeext'
22397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22398 (eval $ac_try) 2>&5
22400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401 (exit $ac_status); }; }; then
22402 eval "$as_ac_var=yes"
22404 echo "$as_me: failed program was:" >&5
22405 sed 's/^/| /' conftest.$ac_ext >&5
22407 eval "$as_ac_var=no"
22409 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22413 if test `eval echo '${'$as_ac_var'}'` = yes; then
22414 cat >>confdefs.h <<_ACEOF
22415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22423 echo "$as_me:$LINENO: checking for mmap" >&5
22424 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22425 if test "${ac_cv_func_mmap+set}" = set; then
22426 echo $ECHO_N "(cached) $ECHO_C" >&6
22428 cat >conftest.$ac_ext <<_ACEOF
22429 #line $LINENO "configure"
22432 cat confdefs.h >>conftest.$ac_ext
22433 cat >>conftest.$ac_ext <<_ACEOF
22434 /* end confdefs.h. */
22435 /* System header to define __stub macros and hopefully few prototypes,
22436 which can conflict with char mmap (); below.
22437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22438 <limits.h> exists even on freestanding compilers. */
22440 # include <limits.h>
22442 # include <assert.h>
22444 /* Override any gcc2 internal prototype to avoid an error. */
22449 /* We use char because int might match the return type of a gcc2
22450 builtin and then its argument prototype would still apply. */
22452 /* The GNU C library defines this for functions which it implements
22453 to always fail with ENOSYS. Some functions are actually named
22454 something starting with __ and the normal name is an alias. */
22455 #if defined (__stub_mmap) || defined (__stub___mmap)
22458 char (*f) () = mmap;
22472 rm -f conftest.$ac_objext conftest$ac_exeext
22473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22474 (eval $ac_link) 2>&5
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); } &&
22478 { ac_try='test -s conftest$ac_exeext'
22479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22480 (eval $ac_try) 2>&5
22482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483 (exit $ac_status); }; }; then
22484 ac_cv_func_mmap=yes
22486 echo "$as_me: failed program was:" >&5
22487 sed 's/^/| /' conftest.$ac_ext >&5
22491 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22493 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22494 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22495 if test $ac_cv_func_mmap = yes; then
22498 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22499 echo "$as_me: error: Function mmap() required but not found" >&2;}
22500 { (exit 1); exit 1; }; }
22503 echo "$as_me:$LINENO: checking for mprotect" >&5
22504 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22505 if test "${ac_cv_func_mprotect+set}" = set; then
22506 echo $ECHO_N "(cached) $ECHO_C" >&6
22508 cat >conftest.$ac_ext <<_ACEOF
22509 #line $LINENO "configure"
22512 cat confdefs.h >>conftest.$ac_ext
22513 cat >>conftest.$ac_ext <<_ACEOF
22514 /* end confdefs.h. */
22515 /* System header to define __stub macros and hopefully few prototypes,
22516 which can conflict with char mprotect (); below.
22517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22518 <limits.h> exists even on freestanding compilers. */
22520 # include <limits.h>
22522 # include <assert.h>
22524 /* Override any gcc2 internal prototype to avoid an error. */
22529 /* We use char because int might match the return type of a gcc2
22530 builtin and then its argument prototype would still apply. */
22532 /* The GNU C library defines this for functions which it implements
22533 to always fail with ENOSYS. Some functions are actually named
22534 something starting with __ and the normal name is an alias. */
22535 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22538 char (*f) () = mprotect;
22547 return f != mprotect;
22552 rm -f conftest.$ac_objext conftest$ac_exeext
22553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22554 (eval $ac_link) 2>&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); } &&
22558 { ac_try='test -s conftest$ac_exeext'
22559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22560 (eval $ac_try) 2>&5
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); }; }; then
22564 ac_cv_func_mprotect=yes
22566 echo "$as_me: failed program was:" >&5
22567 sed 's/^/| /' conftest.$ac_ext >&5
22569 ac_cv_func_mprotect=no
22571 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22573 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22574 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22575 if test $ac_cv_func_mprotect = yes; then
22578 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22579 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22580 { (exit 1); exit 1; }; }
22585 # Check whether --enable-purify or --disable-purify was given.
22586 if test "${enable_purify+set}" = set; then
22587 enableval="$enable_purify"
22592 if test ${enableval} = "no"
22597 ENABLE_PURIFY=ENABLE_PURIFY=1
22601 # Check whether --enable-optimized or --disable-optimized was given.
22602 if test "${enable_optimized+set}" = set; then
22603 enableval="$enable_optimized"
22608 if test ${enableval} = "no"
22613 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22617 # Check whether --enable-spec or --disable-spec was given.
22618 if test "${enable_spec+set}" = set; then
22619 enableval="$enable_spec"
22624 if test ${enableval} = "no"
22629 USE_SPEC=USE_SPEC=1
22633 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22634 if test "${enable_precompiled_bytecode+set}" = set; then
22635 enableval="$enable_precompiled_bytecode"
22640 if test ${enableval} = "no"
22645 UPB=USE_PRECOMPILED_BYTECODE=1
22650 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22651 if test "${enable_llc_diffs+set}" = set; then
22652 enableval="$enable_llc_diffs"
22657 if test ${enableval} = "no"
22659 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22666 # Check whether --enable-jit or --disable-jit was given.
22667 if test "${enable_jit+set}" = set; then
22668 enableval="$enable_jit"
22674 if test ${enableval} = "no"
22681 JIT=TARGET_HAS_JIT=1
22685 JIT=TARGET_HAS_JIT=1
22697 # Check whether --with-spec or --without-spec was given.
22698 if test "${with_spec+set}" = set; then
22699 withval="$with_spec"
22703 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22708 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22709 if test "${with_llvmgccdir+set}" = set; then
22710 withval="$with_llvmgccdir"
22711 LLVMGCCDIR=$withval
22716 # Check whether --with-bcrepos or --without-bcrepos was given.
22717 if test "${with_bcrepos+set}" = set; then
22718 withval="$with_bcrepos"
22722 BCR=/home/vadve/lattner/LLVMPrograms
22727 # Check whether --with-papi or --without-papi was given.
22728 if test "${with_papi+set}" = set; then
22729 withval="$with_papi"
22733 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22738 # Check whether --with-purify or --without-purify was given.
22739 if test "${with_purify+set}" = set; then
22740 withval="$with_purify"
22746 ac_config_files="$ac_config_files Makefile.config"
22747 cat >confcache <<\_ACEOF
22748 # This file is a shell script that caches the results of configure
22749 # tests run on this system so they can be shared between configure
22750 # scripts and configure runs, see configure's option --config-cache.
22751 # It is not useful on other systems. If it contains results you don't
22752 # want to keep, you may remove or edit it.
22754 # config.status only pays attention to the cache file if you give it
22755 # the --recheck option to rerun configure.
22757 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22758 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22759 # following values.
22763 # The following way of writing the cache mishandles newlines in values,
22764 # but we know of no workaround that is simple, portable, and efficient.
22765 # So, don't put newlines in cache variables' values.
22766 # Ultrix sh set writes to stderr and can't be redirected directly,
22767 # and sets the high bit in the cache file unless we assign to the vars.
22770 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22772 # `set' does not quote correctly, so add quotes (double-quote
22773 # substitution turns \\\\ into \\, and sed turns \\ into \).
22776 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22779 # `set' quotes correctly as required by POSIX, so do not add quotes.
22781 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22788 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22790 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22792 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22793 if test -w $cache_file; then
22794 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22795 cat confcache >$cache_file
22797 echo "not updating unwritable cache $cache_file"
22802 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22803 # Let make expand exec_prefix.
22804 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22806 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22807 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22808 # trailing colons and then remove the whole line if VPATH becomes empty
22809 # (actually we leave an empty line to preserve line numbers).
22810 if test "x$srcdir" = x.; then
22811 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22812 s/:*\$(srcdir):*/:/;
22813 s/:*\${srcdir}:*/:/;
22815 s/^\([^=]*=[ ]*\):*/\1/;
22821 DEFS=-DHAVE_CONFIG_H
22825 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22826 # 1. Remove the extension, and $U if already installed.
22827 ac_i=`echo "$ac_i" |
22828 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22830 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22831 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22833 LIBOBJS=$ac_libobjs
22835 LTLIBOBJS=$ac_ltlibobjs
22839 : ${CONFIG_STATUS=./config.status}
22840 ac_clean_files_save=$ac_clean_files
22841 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22842 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22843 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22844 cat >$CONFIG_STATUS <<_ACEOF
22846 # Generated by $as_me.
22847 # Run this file to recreate the current configuration.
22848 # Compiler output produced by configure, useful for debugging
22849 # configure, is in config.log if it exists.
22852 ac_cs_recheck=false
22854 SHELL=\${CONFIG_SHELL-$SHELL}
22857 cat >>$CONFIG_STATUS <<\_ACEOF
22858 ## --------------------- ##
22859 ## M4sh Initialization. ##
22860 ## --------------------- ##
22862 # Be Bourne compatible
22863 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22866 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22867 # is contrary to our usage. Disable this feature.
22868 alias -g '${1+"$@"}'='"$@"'
22869 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22873 # Support unset when possible.
22874 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22881 # Work around bugs in pre-3.0 UWIN ksh.
22882 $as_unset ENV MAIL MAILPATH
22889 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22890 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22891 LC_TELEPHONE LC_TIME
22893 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
22894 eval $as_var=C; export $as_var
22900 # Required to use basename.
22901 if expr a : '\(a\)' >/dev/null 2>&1; then
22907 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
22908 as_basename=basename
22914 # Name of the executable.
22915 as_me=`$as_basename "$0" ||
22916 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22917 X"$0" : 'X\(//\)$' \| \
22918 X"$0" : 'X\(/\)$' \| \
22919 . : '\(.\)' 2>/dev/null ||
22921 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22922 /^X\/\(\/\/\)$/{ s//\1/; q; }
22923 /^X\/\(\/\).*/{ s//\1/; q; }
22927 # PATH needs CR, and LINENO needs CR and PATH.
22928 # Avoid depending upon Character Ranges.
22929 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22930 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22931 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22932 as_cr_digits='0123456789'
22933 as_cr_alnum=$as_cr_Letters$as_cr_digits
22935 # The user is always right.
22936 if test "${PATH_SEPARATOR+set}" != set; then
22937 echo "#! /bin/sh" >conf$$.sh
22938 echo "exit 0" >>conf$$.sh
22940 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22949 as_lineno_1=$LINENO
22950 as_lineno_2=$LINENO
22951 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22952 test "x$as_lineno_1" != "x$as_lineno_2" &&
22953 test "x$as_lineno_3" = "x$as_lineno_2" || {
22954 # Find who we are. Look in the path if we contain no path at all
22957 *[\\/]* ) as_myself=$0 ;;
22958 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22959 for as_dir in $PATH
22962 test -z "$as_dir" && as_dir=.
22963 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22968 # We did not find ourselves, most probably we were run as `sh COMMAND'
22969 # in which case we are not to be found in the path.
22970 if test "x$as_myself" = x; then
22973 if test ! -f "$as_myself"; then
22974 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22975 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22976 { (exit 1); exit 1; }; }
22978 case $CONFIG_SHELL in
22980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22981 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22984 test -z "$as_dir" && as_dir=.
22985 for as_base in sh bash ksh sh5; do
22988 if ("$as_dir/$as_base" -c '
22989 as_lineno_1=$LINENO
22990 as_lineno_2=$LINENO
22991 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22992 test "x$as_lineno_1" != "x$as_lineno_2" &&
22993 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
22994 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
22995 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
22996 CONFIG_SHELL=$as_dir/$as_base
22997 export CONFIG_SHELL
22998 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23006 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23007 # uniformly replaced by the line number. The first 'sed' inserts a
23008 # line-number line before each line; the second 'sed' does the real
23009 # work. The second script uses 'N' to pair each line-number line
23010 # with the numbered line, and appends trailing '-' during
23011 # substitution so that $LINENO is not a special case at line end.
23012 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23013 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23014 sed '=' <$as_myself |
23019 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23022 s,^['$as_cr_digits']*\n,,
23023 ' >$as_me.lineno &&
23024 chmod +x $as_me.lineno ||
23025 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23026 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23027 { (exit 1); exit 1; }; }
23029 # Don't try to exec as it changes $[0], causing all sort of problems
23030 # (the dirname of $[0] is not the place where we might find the
23031 # original and so on. Autoconf is especially sensible to this).
23033 # Exit status is that of the last command.
23038 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23039 *c*,-n*) ECHO_N= ECHO_C='
23041 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23042 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23045 if expr a : '\(a\)' >/dev/null 2>&1; then
23051 rm -f conf$$ conf$$.exe conf$$.file
23053 if ln -s conf$$.file conf$$ 2>/dev/null; then
23054 # We could just check for DJGPP; but this test a) works b) is more generic
23055 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23056 if test -f conf$$.exe; then
23057 # Don't use ln at all; we don't have any links
23062 elif ln conf$$.file conf$$ 2>/dev/null; then
23067 rm -f conf$$ conf$$.exe conf$$.file
23069 if mkdir -p . 2>/dev/null; then
23075 as_executable_p="test -f"
23077 # Sed expression to map a string onto a valid CPP name.
23078 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23080 # Sed expression to map a string onto a valid variable name.
23081 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23085 # We need space, tab and new line, in precisely that order.
23095 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23096 # report actual input values of CONFIG_FILES etc. instead of their
23097 # values after options handling. Logging --version etc. is OK.
23101 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23102 ## Running $as_me. ##
23107 This file was extended by [LLVM] $as_me [1.0], which was
23108 generated by GNU Autoconf 2.57. Invocation command line was
23110 CONFIG_FILES = $CONFIG_FILES
23111 CONFIG_HEADERS = $CONFIG_HEADERS
23112 CONFIG_LINKS = $CONFIG_LINKS
23113 CONFIG_COMMANDS = $CONFIG_COMMANDS
23117 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23121 # Files that config.status was made for.
23122 if test -n "$ac_config_files"; then
23123 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23126 if test -n "$ac_config_headers"; then
23127 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23130 if test -n "$ac_config_links"; then
23131 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23134 if test -n "$ac_config_commands"; then
23135 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23138 cat >>$CONFIG_STATUS <<\_ACEOF
23141 \`$as_me' instantiates files from templates according to the
23142 current configuration.
23144 Usage: $0 [OPTIONS] [FILE]...
23146 -h, --help print this help, then exit
23147 -V, --version print version number, then exit
23148 -q, --quiet do not print progress messages
23149 -d, --debug don't remove temporary files
23150 --recheck update $as_me by reconfiguring in the same conditions
23151 --file=FILE[:TEMPLATE]
23152 instantiate the configuration file FILE
23153 --header=FILE[:TEMPLATE]
23154 instantiate the configuration header FILE
23156 Configuration files:
23159 Configuration headers:
23162 Configuration commands:
23165 Report bugs to <bug-autoconf@gnu.org>."
23168 cat >>$CONFIG_STATUS <<_ACEOF
23170 [LLVM] config.status [1.0]
23171 configured by $0, generated by GNU Autoconf 2.57,
23172 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23174 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23175 Free Software Foundation, Inc.
23176 This config.status script is free software; the Free Software Foundation
23177 gives unlimited permission to copy, distribute and modify it."
23182 cat >>$CONFIG_STATUS <<\_ACEOF
23183 # If no file are specified by the user, then we need to provide default
23184 # value. By we need to know if files were specified by the user.
23190 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23191 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23199 *) # This is not an option, so the user has probably given explicit
23202 ac_need_defaults=false;;
23206 # Handling of the options.
23208 cat >>$CONFIG_STATUS <<\_ACEOF
23209 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23211 --version | --vers* | -V )
23212 echo "$ac_cs_version"; exit 0 ;;
23214 # Conflict between --help and --header
23215 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23216 Try \`$0 --help' for more information." >&5
23217 echo "$as_me: error: ambiguous option: $1
23218 Try \`$0 --help' for more information." >&2;}
23219 { (exit 1); exit 1; }; };;
23220 --help | --hel | -h )
23221 echo "$ac_cs_usage"; exit 0 ;;
23222 --debug | --d* | -d )
23224 --file | --fil | --fi | --f )
23226 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23227 ac_need_defaults=false;;
23228 --header | --heade | --head | --hea )
23230 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23231 ac_need_defaults=false;;
23232 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23233 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23236 # This is an error.
23237 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23238 Try \`$0 --help' for more information." >&5
23239 echo "$as_me: error: unrecognized option: $1
23240 Try \`$0 --help' for more information." >&2;}
23241 { (exit 1); exit 1; }; } ;;
23243 *) ac_config_targets="$ac_config_targets $1" ;;
23249 ac_configure_extra_args=
23251 if $ac_cs_silent; then
23253 ac_configure_extra_args="$ac_configure_extra_args --silent"
23257 cat >>$CONFIG_STATUS <<_ACEOF
23258 if \$ac_cs_recheck; then
23259 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23260 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23265 cat >>$CONFIG_STATUS <<_ACEOF
23267 # INIT-COMMANDS section.
23270 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23271 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23272 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23273 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23274 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23275 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23276 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23277 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23278 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23279 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23280 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23281 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23282 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23283 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23284 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23285 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23286 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23287 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/PostOpts/Makefile`
23288 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/PreOpts/Makefile`
23289 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23290 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23291 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23292 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23293 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23294 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23295 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23296 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23297 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23298 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23299 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23300 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23301 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23302 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23303 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23304 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23305 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23306 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23307 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23308 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23309 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23310 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23311 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23312 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23313 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23314 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23315 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23316 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23317 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23318 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23319 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23320 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23321 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23322 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23323 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23324 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23325 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23326 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23327 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23328 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23329 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23330 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23331 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23332 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23333 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23334 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23335 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23336 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23337 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23338 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23339 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23340 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23341 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23342 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23343 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23344 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23345 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23346 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23347 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23348 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23349 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23350 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23351 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23352 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23353 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23354 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23355 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Burg/Makefile`
23356 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Fhourstones/Makefile`
23357 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/Makefile`
23358 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/01-qbsort/Makefile`
23359 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/03-testtrie/Makefile`
23360 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/04-bisect/Makefile`
23361 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/05-eks/Makefile`
23362 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/08-main/Makefile`
23363 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/09-vor/Makefile`
23364 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/12-IOtest/Makefile`
23365 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/15-trie/Makefile`
23366 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/17-bintr/Makefile`
23367 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/18-imp/Makefile`
23368 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/Makefile`
23369 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/bh/Makefile`
23370 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/bisort/Makefile`
23371 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/em3d/Makefile`
23372 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/health/Makefile`
23373 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/mst/Makefile`
23374 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/perimeter/Makefile`
23375 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/power/Makefile`
23376 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/treeadd/Makefile`
23377 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/tsp/Makefile`
23378 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/voronoi/Makefile`
23379 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/OptimizerEval/Makefile`
23380 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/Makefile`
23381 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/anagram/Makefile`
23382 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/bc/Makefile`
23383 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/ft/Makefile`
23384 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/ks/Makefile`
23385 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/yacr2/Makefile`
23386 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/aha/Makefile`
23387 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/llubenchmark/Makefile`
23388 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/sgefa/Makefile`
23389 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/sim/Makefile`
23390 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/SPEC/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/SPEC/CINT2000/Makefile`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/SPEC/CINT2000/164.gzip/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/SPEC/CINT2000/181.mcf/Makefile`
23399 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/SPEC/CINT2000/197.parser/Makefile`
23400 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/SPEC/CINT2000/254.gap/Makefile`
23401 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/SPEC/CINT2000/255.vortex/Makefile`
23402 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/SPEC/CINT2000/256.bzip2/Makefile`
23403 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/SPEC/CINT2000/300.twolf/Makefile`
23404 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23405 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Shootout/Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Stanford/Makefile`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname tools/as/Makefile`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23415 ${srcdir}/autoconf/mkinstalldirs `dirname tools/dis/Makefile`
23416 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23417 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23418 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23419 ${srcdir}/autoconf/mkinstalldirs `dirname tools/link/Makefile`
23420 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23421 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23422 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23423 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23448 cat >>$CONFIG_STATUS <<\_ACEOF
23449 for ac_config_target in $ac_config_targets
23451 case "$ac_config_target" in
23452 # Handling of arguments.
23453 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23454 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23455 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23456 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23457 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23458 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23459 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23460 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23461 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23462 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23463 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23464 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23465 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23466 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23467 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23468 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23469 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23470 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23471 "lib/CodeGen/PostOpts/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/PostOpts/Makefile" ;;
23472 "lib/CodeGen/PreOpts/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/PreOpts/Makefile" ;;
23473 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23474 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23475 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23476 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23477 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23478 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23479 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23480 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23481 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23482 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23483 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23484 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23485 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23486 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23487 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23488 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23489 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23490 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23491 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23492 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23493 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23494 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23495 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23496 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23497 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23498 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23499 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23500 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23501 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23502 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23503 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23504 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23505 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23506 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23507 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23508 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23509 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23510 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23511 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23512 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23513 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23514 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23515 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23516 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23517 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23518 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23519 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23520 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23521 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23522 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23523 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23524 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23525 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23526 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23527 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23528 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23529 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23530 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23531 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23532 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23533 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23534 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23535 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23536 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23537 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23538 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23539 "test/Programs/MultiSource/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Burg/Makefile" ;;
23540 "test/Programs/MultiSource/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Fhourstones/Makefile" ;;
23541 "test/Programs/MultiSource/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/Makefile" ;;
23542 "test/Programs/MultiSource/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/01-qbsort/Makefile" ;;
23543 "test/Programs/MultiSource/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/03-testtrie/Makefile" ;;
23544 "test/Programs/MultiSource/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/04-bisect/Makefile" ;;
23545 "test/Programs/MultiSource/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/05-eks/Makefile" ;;
23546 "test/Programs/MultiSource/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/08-main/Makefile" ;;
23547 "test/Programs/MultiSource/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/09-vor/Makefile" ;;
23548 "test/Programs/MultiSource/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/12-IOtest/Makefile" ;;
23549 "test/Programs/MultiSource/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/15-trie/Makefile" ;;
23550 "test/Programs/MultiSource/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/17-bintr/Makefile" ;;
23551 "test/Programs/MultiSource/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/18-imp/Makefile" ;;
23552 "test/Programs/MultiSource/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/Makefile" ;;
23553 "test/Programs/MultiSource/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/bh/Makefile" ;;
23554 "test/Programs/MultiSource/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/bisort/Makefile" ;;
23555 "test/Programs/MultiSource/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/em3d/Makefile" ;;
23556 "test/Programs/MultiSource/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/health/Makefile" ;;
23557 "test/Programs/MultiSource/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/mst/Makefile" ;;
23558 "test/Programs/MultiSource/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/perimeter/Makefile" ;;
23559 "test/Programs/MultiSource/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/power/Makefile" ;;
23560 "test/Programs/MultiSource/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/treeadd/Makefile" ;;
23561 "test/Programs/MultiSource/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/tsp/Makefile" ;;
23562 "test/Programs/MultiSource/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/voronoi/Makefile" ;;
23563 "test/Programs/MultiSource/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/OptimizerEval/Makefile" ;;
23564 "test/Programs/MultiSource/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/Makefile" ;;
23565 "test/Programs/MultiSource/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/anagram/Makefile" ;;
23566 "test/Programs/MultiSource/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/bc/Makefile" ;;
23567 "test/Programs/MultiSource/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/ft/Makefile" ;;
23568 "test/Programs/MultiSource/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/ks/Makefile" ;;
23569 "test/Programs/MultiSource/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/yacr2/Makefile" ;;
23570 "test/Programs/MultiSource/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/aha/Makefile" ;;
23571 "test/Programs/MultiSource/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/llubenchmark/Makefile" ;;
23572 "test/Programs/MultiSource/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/sgefa/Makefile" ;;
23573 "test/Programs/MultiSource/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/sim/Makefile" ;;
23574 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23575 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23576 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23577 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23578 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23579 "test/Programs/NoSource/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/SPEC/Makefile" ;;
23580 "test/Programs/NoSource/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/SPEC/CINT2000/Makefile" ;;
23581 "test/Programs/NoSource/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/SPEC/CINT2000/164.gzip/Makefile" ;;
23582 "test/Programs/NoSource/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/SPEC/CINT2000/181.mcf/Makefile" ;;
23583 "test/Programs/NoSource/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/SPEC/CINT2000/197.parser/Makefile" ;;
23584 "test/Programs/NoSource/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/SPEC/CINT2000/254.gap/Makefile" ;;
23585 "test/Programs/NoSource/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/SPEC/CINT2000/255.vortex/Makefile" ;;
23586 "test/Programs/NoSource/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/SPEC/CINT2000/256.bzip2/Makefile" ;;
23587 "test/Programs/NoSource/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/SPEC/CINT2000/300.twolf/Makefile" ;;
23588 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23589 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23590 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23591 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23592 "test/Programs/SingleSource/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Shootout/Makefile" ;;
23593 "test/Programs/SingleSource/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Stanford/Makefile" ;;
23594 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23595 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23596 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23597 "tools/as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/as/Makefile" ;;
23598 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23599 "tools/dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/dis/Makefile" ;;
23600 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23601 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23602 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23603 "tools/link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/link/Makefile" ;;
23604 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23605 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23606 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23607 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23608 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23609 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23610 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23611 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23612 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23613 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23614 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23615 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23616 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23617 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23618 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23619 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23620 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23621 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23622 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23623 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23624 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23625 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23626 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23627 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23628 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23629 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23630 { (exit 1); exit 1; }; };;
23634 # If the user did not use the arguments to specify the items to instantiate,
23635 # then the envvar interface is used. Set only those that are not.
23636 # We use the long form for the default assignment because of an extremely
23637 # bizarre bug on SunOS 4.1.3.
23638 if $ac_need_defaults; then
23639 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23640 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23641 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23644 # Have a temporary directory for convenience. Make it in the build tree
23645 # simply because there is no reason to put it here, and in addition,
23646 # creating and moving files from /tmp can sometimes cause problems.
23647 # Create a temporary directory, and hook for its removal unless debugging.
23650 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23651 trap '{ (exit 1); exit 1; }' 1 2 13 15
23654 # Create a (secure) tmp directory for tmp files.
23657 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23658 test -n "$tmp" && test -d "$tmp"
23661 tmp=./confstat$$-$RANDOM
23662 (umask 077 && mkdir $tmp)
23665 echo "$me: cannot create a temporary directory in ." >&2
23666 { (exit 1); exit 1; }
23671 cat >>$CONFIG_STATUS <<_ACEOF
23674 # CONFIG_FILES section.
23677 # No need to generate the scripts if there are no CONFIG_FILES.
23678 # This happens for instance when ./config.status config.h
23679 if test -n "\$CONFIG_FILES"; then
23680 # Protect against being on the right side of a sed subst in config.status.
23681 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23682 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23683 s,@SHELL@,$SHELL,;t t
23684 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23685 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23686 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23687 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23688 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23689 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23690 s,@exec_prefix@,$exec_prefix,;t t
23691 s,@prefix@,$prefix,;t t
23692 s,@program_transform_name@,$program_transform_name,;t t
23693 s,@bindir@,$bindir,;t t
23694 s,@sbindir@,$sbindir,;t t
23695 s,@libexecdir@,$libexecdir,;t t
23696 s,@datadir@,$datadir,;t t
23697 s,@sysconfdir@,$sysconfdir,;t t
23698 s,@sharedstatedir@,$sharedstatedir,;t t
23699 s,@localstatedir@,$localstatedir,;t t
23700 s,@libdir@,$libdir,;t t
23701 s,@includedir@,$includedir,;t t
23702 s,@oldincludedir@,$oldincludedir,;t t
23703 s,@infodir@,$infodir,;t t
23704 s,@mandir@,$mandir,;t t
23705 s,@build_alias@,$build_alias,;t t
23706 s,@host_alias@,$host_alias,;t t
23707 s,@target_alias@,$target_alias,;t t
23708 s,@DEFS@,$DEFS,;t t
23709 s,@ECHO_C@,$ECHO_C,;t t
23710 s,@ECHO_N@,$ECHO_N,;t t
23711 s,@ECHO_T@,$ECHO_T,;t t
23712 s,@LIBS@,$LIBS,;t t
23713 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23714 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23715 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23716 s,@build@,$build,;t t
23717 s,@build_cpu@,$build_cpu,;t t
23718 s,@build_vendor@,$build_vendor,;t t
23719 s,@build_os@,$build_os,;t t
23720 s,@host@,$host,;t t
23721 s,@host_cpu@,$host_cpu,;t t
23722 s,@host_vendor@,$host_vendor,;t t
23723 s,@host_os@,$host_os,;t t
23724 s,@target@,$target,;t t
23725 s,@target_cpu@,$target_cpu,;t t
23726 s,@target_vendor@,$target_vendor,;t t
23727 s,@target_os@,$target_os,;t t
23729 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23730 s,@ARCH@,$ARCH,;t t
23732 s,@CXXFLAGS@,$CXXFLAGS,;t t
23733 s,@LDFLAGS@,$LDFLAGS,;t t
23734 s,@CPPFLAGS@,$CPPFLAGS,;t t
23735 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23736 s,@EXEEXT@,$EXEEXT,;t t
23737 s,@OBJEXT@,$OBJEXT,;t t
23739 s,@CFLAGS@,$CFLAGS,;t t
23740 s,@ac_ct_CC@,$ac_ct_CC,;t t
23742 s,@ifGNUmake@,$ifGNUmake,;t t
23744 s,@LEXLIB@,$LEXLIB,;t t
23745 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23746 s,@YACC@,$YACC,;t t
23747 s,@EGREP@,$EGREP,;t t
23748 s,@LN_S@,$LN_S,;t t
23749 s,@ECHO@,$ECHO,;t t
23751 s,@ac_ct_AR@,$ac_ct_AR,;t t
23752 s,@RANLIB@,$RANLIB,;t t
23753 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23754 s,@STRIP@,$STRIP,;t t
23755 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23756 s,@CXXCPP@,$CXXCPP,;t t
23758 s,@FFLAGS@,$FFLAGS,;t t
23759 s,@ac_ct_F77@,$ac_ct_F77,;t t
23760 s,@LIBTOOL@,$LIBTOOL,;t t
23761 s,@RPWD@,$RPWD,;t t
23764 s,@MKDIR@,$MKDIR,;t t
23765 s,@DATE@,$DATE,;t t
23768 s,@ETAGS@,$ETAGS,;t t
23769 s,@PURIFY@,$PURIFY,;t t
23770 s,@PYTHON@,$PYTHON,;t t
23771 s,@QMTEST@,$QMTEST,;t t
23772 s,@ALLOCA@,$ALLOCA,;t t
23773 s,@LIBOBJS@,$LIBOBJS,;t t
23774 s,@MMAP_FILE@,$MMAP_FILE,;t t
23775 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23776 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23777 s,@USE_SPEC@,$USE_SPEC,;t t
23779 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23781 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23783 s,@PAPIDIR@,$PAPIDIR,;t t
23784 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23789 cat >>$CONFIG_STATUS <<\_ACEOF
23790 # Split the substitutions into bite-sized pieces for seds with
23791 # small command number limits, like on Digital OSF/1 and HP-UX.
23792 ac_max_sed_lines=48
23793 ac_sed_frag=1 # Number of current file.
23794 ac_beg=1 # First line for current file.
23795 ac_end=$ac_max_sed_lines # Line after last line for current file.
23798 while $ac_more_lines; do
23799 if test $ac_beg -gt 1; then
23800 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23802 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23804 if test ! -s $tmp/subs.frag; then
23805 ac_more_lines=false
23807 # The purpose of the label and of the branching condition is to
23808 # speed up the sed processing (if there are no `@' at all, there
23809 # is no need to browse any of the substitutions).
23810 # These are the two extra sed commands mentioned above.
23812 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23813 if test -z "$ac_sed_cmds"; then
23814 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23816 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23818 ac_sed_frag=`expr $ac_sed_frag + 1`
23820 ac_end=`expr $ac_end + $ac_max_sed_lines`
23823 if test -z "$ac_sed_cmds"; then
23826 fi # test -n "$CONFIG_FILES"
23829 cat >>$CONFIG_STATUS <<\_ACEOF
23830 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23831 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23833 - | *:- | *:-:* ) # input from stdin
23835 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23836 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23837 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23838 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23839 * ) ac_file_in=$ac_file.in ;;
23842 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23843 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23844 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23845 X"$ac_file" : 'X\(//\)[^/]' \| \
23846 X"$ac_file" : 'X\(//\)$' \| \
23847 X"$ac_file" : 'X\(/\)' \| \
23848 . : '\(.\)' 2>/dev/null ||
23850 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23851 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23852 /^X\(\/\/\)$/{ s//\1/; q; }
23853 /^X\(\/\).*/{ s//\1/; q; }
23855 { if $as_mkdir_p; then
23860 while test ! -d "$as_dir"; do
23861 as_dirs="$as_dir $as_dirs"
23862 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23863 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23864 X"$as_dir" : 'X\(//\)[^/]' \| \
23865 X"$as_dir" : 'X\(//\)$' \| \
23866 X"$as_dir" : 'X\(/\)' \| \
23867 . : '\(.\)' 2>/dev/null ||
23869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23870 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23871 /^X\(\/\/\)$/{ s//\1/; q; }
23872 /^X\(\/\).*/{ s//\1/; q; }
23875 test ! -n "$as_dirs" || mkdir $as_dirs
23876 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23877 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23878 { (exit 1); exit 1; }; }; }
23882 if test "$ac_dir" != .; then
23883 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23884 # A "../" for each directory in $ac_dir_suffix.
23885 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23887 ac_dir_suffix= ac_top_builddir=
23891 .) # No --srcdir option. We are building in place.
23893 if test -z "$ac_top_builddir"; then
23896 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23898 [\\/]* | ?:[\\/]* ) # Absolute path.
23899 ac_srcdir=$srcdir$ac_dir_suffix;
23900 ac_top_srcdir=$srcdir ;;
23901 *) # Relative path.
23902 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23903 ac_top_srcdir=$ac_top_builddir$srcdir ;;
23905 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
23907 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
23908 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
23909 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
23910 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
23914 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23915 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23918 if test x"$ac_file" != x-; then
23919 { echo "$as_me:$LINENO: creating $ac_file" >&5
23920 echo "$as_me: creating $ac_file" >&6;}
23923 # Let's still pretend it is `configure' which instantiates (i.e., don't
23924 # use $as_me), people would be surprised to read:
23925 # /* config.h. Generated by config.status. */
23926 if test x"$ac_file" = x-; then
23929 configure_input="$ac_file. "
23931 configure_input=$configure_input"Generated from `echo $ac_file_in |
23932 sed 's,.*/,,'` by configure."
23934 # First look for the input files in the build tree, otherwise in the
23936 ac_file_inputs=`IFS=:
23937 for f in $ac_file_in; do
23939 -) echo $tmp/stdin ;;
23941 # Absolute (can't be DOS-style, as IFS=:)
23942 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23943 echo "$as_me: error: cannot find input file: $f" >&2;}
23944 { (exit 1); exit 1; }; }
23947 if test -f "$f"; then
23950 elif test -f "$srcdir/$f"; then
23955 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23956 echo "$as_me: error: cannot find input file: $f" >&2;}
23957 { (exit 1); exit 1; }; }
23960 done` || { (exit 1); exit 1; }
23962 cat >>$CONFIG_STATUS <<_ACEOF
23966 cat >>$CONFIG_STATUS <<\_ACEOF
23968 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23969 s,@configure_input@,$configure_input,;t t
23970 s,@srcdir@,$ac_srcdir,;t t
23971 s,@abs_srcdir@,$ac_abs_srcdir,;t t
23972 s,@top_srcdir@,$ac_top_srcdir,;t t
23973 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23974 s,@builddir@,$ac_builddir,;t t
23975 s,@abs_builddir@,$ac_abs_builddir,;t t
23976 s,@top_builddir@,$ac_top_builddir,;t t
23977 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23978 s,@INSTALL@,$ac_INSTALL,;t t
23979 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23981 if test x"$ac_file" != x-; then
23982 mv $tmp/out $ac_file
23990 cat >>$CONFIG_STATUS <<\_ACEOF
23993 # CONFIG_HEADER section.
23996 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
23997 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23999 # ac_d sets the value in "#define NAME VALUE" lines.
24000 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24001 ac_dB='[ ].*$,\1#\2'
24004 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24005 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24006 ac_uB='$,\1#\2define\3'
24010 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24011 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24013 - | *:- | *:-:* ) # input from stdin
24015 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24016 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24017 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24018 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24019 * ) ac_file_in=$ac_file.in ;;
24022 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24023 echo "$as_me: creating $ac_file" >&6;}
24025 # First look for the input files in the build tree, otherwise in the
24027 ac_file_inputs=`IFS=:
24028 for f in $ac_file_in; do
24030 -) echo $tmp/stdin ;;
24032 # Absolute (can't be DOS-style, as IFS=:)
24033 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24034 echo "$as_me: error: cannot find input file: $f" >&2;}
24035 { (exit 1); exit 1; }; }
24038 if test -f "$f"; then
24041 elif test -f "$srcdir/$f"; then
24046 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24047 echo "$as_me: error: cannot find input file: $f" >&2;}
24048 { (exit 1); exit 1; }; }
24051 done` || { (exit 1); exit 1; }
24052 # Remove the trailing spaces.
24053 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24057 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24058 # `conftest.undefs', that substitutes the proper values into
24059 # config.h.in to produce config.h. The first handles `#define'
24060 # templates, and the second `#undef' templates.
24061 # And first: Protect against being on the right side of a sed subst in
24062 # config.status. Protect against being in an unquoted here document
24063 # in config.status.
24064 rm -f conftest.defines conftest.undefs
24065 # Using a here document instead of a string reduces the quoting nightmare.
24066 # Putting comments in sed scripts is not portable.
24068 # `end' is used to avoid that the second main sed command (meant for
24069 # 0-ary CPP macros) applies to n-ary macro definitions.
24070 # See the Autoconf documentation for `clear'.
24071 cat >confdef2sed.sed <<\_ACEOF
24076 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24078 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24081 # If some macros were called several times there might be several times
24082 # the same #defines, which is useless. Nevertheless, we may not want to
24083 # sort them, since we want the *last* AC-DEFINE to be honored.
24084 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24085 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24086 rm -f confdef2sed.sed
24088 # This sed command replaces #undef with comments. This is necessary, for
24089 # example, in the case of _POSIX_SOURCE, which is predefined and required
24090 # on some systems where configure will not decide to define it.
24091 cat >>conftest.undefs <<\_ACEOF
24092 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24095 # Break up conftest.defines because some shells have a limit on the size
24096 # of here documents, and old seds have small limits too (100 cmds).
24097 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24098 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24099 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24100 echo ' :' >>$CONFIG_STATUS
24101 rm -f conftest.tail
24102 while grep . conftest.defines >/dev/null
24104 # Write a limited-size here document to $tmp/defines.sed.
24105 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24106 # Speed up: don't consider the non `#define' lines.
24107 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24108 # Work around the forget-to-reset-the-flag bug.
24109 echo 't clr' >>$CONFIG_STATUS
24110 echo ': clr' >>$CONFIG_STATUS
24111 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24113 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24115 mv $tmp/out $tmp/in
24117 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24118 rm -f conftest.defines
24119 mv conftest.tail conftest.defines
24121 rm -f conftest.defines
24122 echo ' fi # grep' >>$CONFIG_STATUS
24123 echo >>$CONFIG_STATUS
24125 # Break up conftest.undefs because some shells have a limit on the size
24126 # of here documents, and old seds have small limits too (100 cmds).
24127 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24128 rm -f conftest.tail
24129 while grep . conftest.undefs >/dev/null
24131 # Write a limited-size here document to $tmp/undefs.sed.
24132 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24133 # Speed up: don't consider the non `#undef'
24134 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24135 # Work around the forget-to-reset-the-flag bug.
24136 echo 't clr' >>$CONFIG_STATUS
24137 echo ': clr' >>$CONFIG_STATUS
24138 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24140 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24142 mv $tmp/out $tmp/in
24144 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24145 rm -f conftest.undefs
24146 mv conftest.tail conftest.undefs
24148 rm -f conftest.undefs
24150 cat >>$CONFIG_STATUS <<\_ACEOF
24151 # Let's still pretend it is `configure' which instantiates (i.e., don't
24152 # use $as_me), people would be surprised to read:
24153 # /* config.h. Generated by config.status. */
24154 if test x"$ac_file" = x-; then
24155 echo "/* Generated by configure. */" >$tmp/config.h
24157 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24159 cat $tmp/in >>$tmp/config.h
24161 if test x"$ac_file" != x-; then
24162 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24163 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24164 echo "$as_me: $ac_file is unchanged" >&6;}
24166 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24167 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24168 X"$ac_file" : 'X\(//\)[^/]' \| \
24169 X"$ac_file" : 'X\(//\)$' \| \
24170 X"$ac_file" : 'X\(/\)' \| \
24171 . : '\(.\)' 2>/dev/null ||
24173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24174 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24175 /^X\(\/\/\)$/{ s//\1/; q; }
24176 /^X\(\/\).*/{ s//\1/; q; }
24178 { if $as_mkdir_p; then
24183 while test ! -d "$as_dir"; do
24184 as_dirs="$as_dir $as_dirs"
24185 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24186 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24187 X"$as_dir" : 'X\(//\)[^/]' \| \
24188 X"$as_dir" : 'X\(//\)$' \| \
24189 X"$as_dir" : 'X\(/\)' \| \
24190 . : '\(.\)' 2>/dev/null ||
24192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24193 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24194 /^X\(\/\/\)$/{ s//\1/; q; }
24195 /^X\(\/\).*/{ s//\1/; q; }
24198 test ! -n "$as_dirs" || mkdir $as_dirs
24199 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24200 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24201 { (exit 1); exit 1; }; }; }
24204 mv $tmp/config.h $ac_file
24208 rm -f $tmp/config.h
24212 cat >>$CONFIG_STATUS <<\_ACEOF
24215 # CONFIG_COMMANDS section.
24217 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24218 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24219 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24220 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24221 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24222 X"$ac_dest" : 'X\(//\)[^/]' \| \
24223 X"$ac_dest" : 'X\(//\)$' \| \
24224 X"$ac_dest" : 'X\(/\)' \| \
24225 . : '\(.\)' 2>/dev/null ||
24227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24228 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24229 /^X\(\/\/\)$/{ s//\1/; q; }
24230 /^X\(\/\).*/{ s//\1/; q; }
24234 if test "$ac_dir" != .; then
24235 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24236 # A "../" for each directory in $ac_dir_suffix.
24237 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24239 ac_dir_suffix= ac_top_builddir=
24243 .) # No --srcdir option. We are building in place.
24245 if test -z "$ac_top_builddir"; then
24248 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24250 [\\/]* | ?:[\\/]* ) # Absolute path.
24251 ac_srcdir=$srcdir$ac_dir_suffix;
24252 ac_top_srcdir=$srcdir ;;
24253 *) # Relative path.
24254 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24255 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24257 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24259 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24260 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24261 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24262 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24265 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24266 echo "$as_me: executing $ac_dest commands" >&6;}
24268 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24269 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24270 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24271 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24272 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24273 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24274 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24275 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24276 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24277 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24278 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24279 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24280 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24281 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24282 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24283 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24284 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24285 lib/CodeGen/PostOpts/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/PostOpts/Makefile lib/CodeGen/PostOpts/Makefile ;;
24286 lib/CodeGen/PreOpts/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/PreOpts/Makefile lib/CodeGen/PreOpts/Makefile ;;
24287 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24288 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24289 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24290 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24291 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24292 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24293 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24294 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24295 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24296 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24297 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24298 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24299 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24300 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24301 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24302 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24303 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24304 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24305 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24306 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24307 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24308 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24309 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24310 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24311 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24312 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24313 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24314 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24315 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24316 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24317 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24318 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24319 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24320 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24321 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24322 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24323 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24324 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24325 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24326 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24327 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24328 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24329 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24330 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24331 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24332 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24333 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24334 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24335 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 ;;
24336 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 ;;
24337 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 ;;
24338 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 ;;
24339 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 ;;
24340 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 ;;
24341 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 ;;
24342 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 ;;
24343 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 ;;
24344 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 ;;
24345 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 ;;
24346 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 ;;
24347 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 ;;
24348 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 ;;
24349 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 ;;
24350 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24351 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24352 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24353 test/Programs/MultiSource/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Burg/Makefile test/Programs/MultiSource/Burg/Makefile ;;
24354 test/Programs/MultiSource/Fhourstones/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Fhourstones/Makefile test/Programs/MultiSource/Fhourstones/Makefile ;;
24355 test/Programs/MultiSource/McCat/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/Makefile test/Programs/MultiSource/McCat/Makefile ;;
24356 test/Programs/MultiSource/McCat/01-qbsort/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/01-qbsort/Makefile test/Programs/MultiSource/McCat/01-qbsort/Makefile ;;
24357 test/Programs/MultiSource/McCat/03-testtrie/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/03-testtrie/Makefile test/Programs/MultiSource/McCat/03-testtrie/Makefile ;;
24358 test/Programs/MultiSource/McCat/04-bisect/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/04-bisect/Makefile test/Programs/MultiSource/McCat/04-bisect/Makefile ;;
24359 test/Programs/MultiSource/McCat/05-eks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/05-eks/Makefile test/Programs/MultiSource/McCat/05-eks/Makefile ;;
24360 test/Programs/MultiSource/McCat/08-main/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/08-main/Makefile test/Programs/MultiSource/McCat/08-main/Makefile ;;
24361 test/Programs/MultiSource/McCat/09-vor/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/09-vor/Makefile test/Programs/MultiSource/McCat/09-vor/Makefile ;;
24362 test/Programs/MultiSource/McCat/12-IOtest/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/12-IOtest/Makefile test/Programs/MultiSource/McCat/12-IOtest/Makefile ;;
24363 test/Programs/MultiSource/McCat/15-trie/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/15-trie/Makefile test/Programs/MultiSource/McCat/15-trie/Makefile ;;
24364 test/Programs/MultiSource/McCat/17-bintr/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/17-bintr/Makefile test/Programs/MultiSource/McCat/17-bintr/Makefile ;;
24365 test/Programs/MultiSource/McCat/18-imp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/18-imp/Makefile test/Programs/MultiSource/McCat/18-imp/Makefile ;;
24366 test/Programs/MultiSource/Olden/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/Makefile test/Programs/MultiSource/Olden/Makefile ;;
24367 test/Programs/MultiSource/Olden/bh/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/bh/Makefile test/Programs/MultiSource/Olden/bh/Makefile ;;
24368 test/Programs/MultiSource/Olden/bisort/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/bisort/Makefile test/Programs/MultiSource/Olden/bisort/Makefile ;;
24369 test/Programs/MultiSource/Olden/em3d/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/em3d/Makefile test/Programs/MultiSource/Olden/em3d/Makefile ;;
24370 test/Programs/MultiSource/Olden/health/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/health/Makefile test/Programs/MultiSource/Olden/health/Makefile ;;
24371 test/Programs/MultiSource/Olden/mst/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/mst/Makefile test/Programs/MultiSource/Olden/mst/Makefile ;;
24372 test/Programs/MultiSource/Olden/perimeter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/perimeter/Makefile test/Programs/MultiSource/Olden/perimeter/Makefile ;;
24373 test/Programs/MultiSource/Olden/power/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/power/Makefile test/Programs/MultiSource/Olden/power/Makefile ;;
24374 test/Programs/MultiSource/Olden/treeadd/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/treeadd/Makefile test/Programs/MultiSource/Olden/treeadd/Makefile ;;
24375 test/Programs/MultiSource/Olden/tsp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/tsp/Makefile test/Programs/MultiSource/Olden/tsp/Makefile ;;
24376 test/Programs/MultiSource/Olden/voronoi/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/voronoi/Makefile test/Programs/MultiSource/Olden/voronoi/Makefile ;;
24377 test/Programs/MultiSource/OptimizerEval/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/OptimizerEval/Makefile test/Programs/MultiSource/OptimizerEval/Makefile ;;
24378 test/Programs/MultiSource/Ptrdist/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/Makefile test/Programs/MultiSource/Ptrdist/Makefile ;;
24379 test/Programs/MultiSource/Ptrdist/anagram/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/anagram/Makefile test/Programs/MultiSource/Ptrdist/anagram/Makefile ;;
24380 test/Programs/MultiSource/Ptrdist/bc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/bc/Makefile test/Programs/MultiSource/Ptrdist/bc/Makefile ;;
24381 test/Programs/MultiSource/Ptrdist/ft/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/ft/Makefile test/Programs/MultiSource/Ptrdist/ft/Makefile ;;
24382 test/Programs/MultiSource/Ptrdist/ks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/ks/Makefile test/Programs/MultiSource/Ptrdist/ks/Makefile ;;
24383 test/Programs/MultiSource/Ptrdist/yacr2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/yacr2/Makefile test/Programs/MultiSource/Ptrdist/yacr2/Makefile ;;
24384 test/Programs/MultiSource/aha/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/aha/Makefile test/Programs/MultiSource/aha/Makefile ;;
24385 test/Programs/MultiSource/llubenchmark/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/llubenchmark/Makefile test/Programs/MultiSource/llubenchmark/Makefile ;;
24386 test/Programs/MultiSource/sgefa/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/sgefa/Makefile test/Programs/MultiSource/sgefa/Makefile ;;
24387 test/Programs/MultiSource/sim/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/sim/Makefile test/Programs/MultiSource/sim/Makefile ;;
24388 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24389 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24390 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24391 test/Programs/NoSource/Moria-5.5.2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Moria-5.5.2/Makefile test/Programs/NoSource/Moria-5.5.2/Makefile ;;
24392 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24393 test/Programs/NoSource/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/SPEC/Makefile test/Programs/NoSource/SPEC/Makefile ;;
24394 test/Programs/NoSource/SPEC/CINT2000/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/SPEC/CINT2000/Makefile test/Programs/NoSource/SPEC/CINT2000/Makefile ;;
24395 test/Programs/NoSource/SPEC/CINT2000/164.gzip/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/SPEC/CINT2000/164.gzip/Makefile test/Programs/NoSource/SPEC/CINT2000/164.gzip/Makefile ;;
24396 test/Programs/NoSource/SPEC/CINT2000/181.mcf/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/SPEC/CINT2000/181.mcf/Makefile test/Programs/NoSource/SPEC/CINT2000/181.mcf/Makefile ;;
24397 test/Programs/NoSource/SPEC/CINT2000/197.parser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/SPEC/CINT2000/197.parser/Makefile test/Programs/NoSource/SPEC/CINT2000/197.parser/Makefile ;;
24398 test/Programs/NoSource/SPEC/CINT2000/254.gap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/SPEC/CINT2000/254.gap/Makefile test/Programs/NoSource/SPEC/CINT2000/254.gap/Makefile ;;
24399 test/Programs/NoSource/SPEC/CINT2000/255.vortex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/SPEC/CINT2000/255.vortex/Makefile test/Programs/NoSource/SPEC/CINT2000/255.vortex/Makefile ;;
24400 test/Programs/NoSource/SPEC/CINT2000/256.bzip2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/SPEC/CINT2000/256.bzip2/Makefile test/Programs/NoSource/SPEC/CINT2000/256.bzip2/Makefile ;;
24401 test/Programs/NoSource/SPEC/CINT2000/300.twolf/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/SPEC/CINT2000/300.twolf/Makefile test/Programs/NoSource/SPEC/CINT2000/300.twolf/Makefile ;;
24402 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24403 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24404 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24405 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24406 test/Programs/SingleSource/Shootout/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Shootout/Makefile test/Programs/SingleSource/Shootout/Makefile ;;
24407 test/Programs/SingleSource/Stanford/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Stanford/Makefile test/Programs/SingleSource/Stanford/Makefile ;;
24408 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24409 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24410 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24411 tools/as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/as/Makefile tools/as/Makefile ;;
24412 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24413 tools/dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/dis/Makefile tools/dis/Makefile ;;
24414 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24415 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24416 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24417 tools/link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/link/Makefile tools/link/Makefile ;;
24418 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24419 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24420 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24421 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24422 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24423 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24424 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24425 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24426 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24427 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24428 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24429 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24430 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24431 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24432 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24433 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24434 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24435 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24436 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24437 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24438 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24439 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24440 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24445 cat >>$CONFIG_STATUS <<\_ACEOF
24447 { (exit 0); exit 0; }
24449 chmod +x $CONFIG_STATUS
24450 ac_clean_files=$ac_clean_files_save
24453 # configure is writing to config.log, and then calls config.status.
24454 # config.status does its own redirection, appending to config.log.
24455 # Unfortunately, on DOS this fails, as config.log is still kept open
24456 # by configure, so config.status won't be able to write to it; its
24457 # output is simply discarded. So we exec the FD to /dev/null,
24458 # effectively closing config.log, so it can be properly (re)opened and
24459 # appended to by config.status. When coming back to configure, we
24460 # need to make the FD available again.
24461 if test "$no_create" != yes; then
24463 ac_config_status_args=
24464 test "$silent" = yes &&
24465 ac_config_status_args="$ac_config_status_args --quiet"
24467 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24469 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24470 # would make configure fail if this is the last instruction.
24471 $ac_cs_success || { (exit 1); exit 1; }