2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for [LLVM] [1.0].
5 # Report bugs to <llvmbugs@cs.uiuc.edu>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236 # We need space, tab and new line, in precisely that order.
246 # Check that we are running under the correct shell.
247 SHELL=${CONFIG_SHELL-/bin/sh}
251 # Remove one level of quotation (which was required for Make).
252 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
257 if test "X$1" = X--no-reexec; then
258 # Discard the --no-reexec flag, and continue.
260 elif test "X$1" = X--fallback-echo; then
261 # Avoid inline document here, it may be left over
263 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
264 # Yippee, $echo works!
267 # Restart under the correct shell.
268 exec $SHELL "$0" --no-reexec ${1+"$@"}
271 if test "X$1" = X--fallback-echo; then
272 # used as fallback echo
280 # The HP-UX ksh and POSIX shell print the target directory to stdout
282 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
284 if test -z "$ECHO"; then
285 if test "X${echo_test_string+set}" != Xset; then
286 # find a string as large as possible, as long as the shell can cope with it
287 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
288 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
289 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
290 echo_test_string="`eval $cmd`" &&
291 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
298 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
299 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
300 test "X$echo_testing_string" = "X$echo_test_string"; then
303 # The Solaris, AIX, and Digital Unix default echo programs unquote
304 # backslashes. This makes it impossible to quote backslashes using
305 # echo "$something" | sed 's/\\/\\\\/g'
307 # So, first we look for a working echo in the user's PATH.
309 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
310 for dir in $PATH /usr/ucb; do
312 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
313 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315 test "X$echo_testing_string" = "X$echo_test_string"; then
322 if test "X$echo" = Xecho; then
323 # We didn't find a better echo, so look for alternatives.
324 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
325 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
327 # This shell has a builtin print -r that does the trick.
329 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
330 test "X$CONFIG_SHELL" != X/bin/ksh; then
331 # If we have ksh, try running configure again with it.
332 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
333 export ORIGINAL_CONFIG_SHELL
334 CONFIG_SHELL=/bin/ksh
336 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
340 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
341 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
342 test "X$echo_testing_string" = "X$echo_test_string"; then
345 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346 test "X$echo_testing_string" = 'X\t' &&
347 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
349 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
351 SHELL="$CONFIG_SHELL"
353 echo="$CONFIG_SHELL $0 --fallback-echo"
354 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 echo="$CONFIG_SHELL $0 --fallback-echo"
360 # maybe with a smaller string...
363 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
371 if test "$prev" != 'sed 50q "$0"'; then
372 echo_test_string=`eval $prev`
373 export echo_test_string
374 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
376 # Oops. We lost completely, so just stick with echo.
385 # Copy echo and quote the copy suitably for passing to libtool from
386 # the Makefile, instead of quoting the original, which is used later.
388 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
395 tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
397 tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
400 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
401 # so uname gets run too.
402 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
409 ac_default_prefix=/usr/local
410 ac_config_libobj_dir=.
415 SHELL=${CONFIG_SHELL-/bin/sh}
417 # Maximum number of lines to put in a shell here document.
418 # This variable seems obsolete. It should probably be removed, and
419 # only ac_max_sed_lines should be used.
420 : ${ac_max_here_lines=38}
422 # Identity of this package.
423 PACKAGE_NAME='[LLVM]'
424 PACKAGE_TARNAME='--llvm--'
425 PACKAGE_VERSION='[1.0]'
426 PACKAGE_STRING='[LLVM] [1.0]'
427 PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'
429 # Factoring default headers for most tests.
430 ac_includes_default="\
433 # include <sys/types.h>
436 # include <sys/stat.h>
447 # if !STDC_HEADERS && HAVE_MEMORY_H
453 # include <strings.h>
456 # include <inttypes.h>
466 ac_unique_file=""Makefile.config.in""
467 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVMGCCDIR ARCH CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT YACC EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RPWD SED RM MKDIR DATE MV DOT ETAGS PURIFY PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED USE_SPEC UPB DISABLE_LLC_DIFFS JIT SPEC_ROOT BCR PAPIDIR LTLIBOBJS'
470 # Initialize some variables set by options.
472 ac_init_version=false
473 # The variables have the same names as the options, with
474 # dashes changed to underlines.
482 program_transform_name=s,x,x,
490 # Installation directory options.
491 # These are left unexpanded so users can "make install exec_prefix=/foo"
492 # and all the variables that are supposed to be based on exec_prefix
493 # by default will actually change.
494 # Use braces instead of parens because sh, perl, etc. also accept them.
495 bindir='${exec_prefix}/bin'
496 sbindir='${exec_prefix}/sbin'
497 libexecdir='${exec_prefix}/libexec'
498 datadir='${prefix}/share'
499 sysconfdir='${prefix}/etc'
500 sharedstatedir='${prefix}/com'
501 localstatedir='${prefix}/var'
502 libdir='${exec_prefix}/lib'
503 includedir='${prefix}/include'
504 oldincludedir='/usr/include'
505 infodir='${prefix}/info'
506 mandir='${prefix}/man'
511 # If the previous option needs an argument, assign it.
512 if test -n "$ac_prev"; then
513 eval "$ac_prev=\$ac_option"
518 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
520 # Accept the important Cygnus configure options, so we can diagnose typos.
524 -bindir | --bindir | --bindi | --bind | --bin | --bi)
526 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
529 -build | --build | --buil | --bui | --bu)
530 ac_prev=build_alias ;;
531 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
532 build_alias=$ac_optarg ;;
534 -cache-file | --cache-file | --cache-fil | --cache-fi \
535 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
536 ac_prev=cache_file ;;
537 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
538 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
539 cache_file=$ac_optarg ;;
542 cache_file=config.cache ;;
544 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
546 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
548 datadir=$ac_optarg ;;
550 -disable-* | --disable-*)
551 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555 { (exit 1); exit 1; }; }
556 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557 eval "enable_$ac_feature=no" ;;
559 -enable-* | --enable-*)
560 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561 # Reject names that are not valid shell variable names.
562 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
563 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564 { (exit 1); exit 1; }; }
565 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
567 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
570 eval "enable_$ac_feature='$ac_optarg'" ;;
572 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
574 | --exec | --exe | --ex)
575 ac_prev=exec_prefix ;;
576 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
577 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
578 | --exec=* | --exe=* | --ex=*)
579 exec_prefix=$ac_optarg ;;
581 -gas | --gas | --ga | --g)
582 # Obsolete; use --with-gas.
585 -help | --help | --hel | --he | -h)
587 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
588 ac_init_help=recursive ;;
589 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
590 ac_init_help=short ;;
592 -host | --host | --hos | --ho)
593 ac_prev=host_alias ;;
594 -host=* | --host=* | --hos=* | --ho=*)
595 host_alias=$ac_optarg ;;
597 -includedir | --includedir | --includedi | --included | --include \
598 | --includ | --inclu | --incl | --inc)
599 ac_prev=includedir ;;
600 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
601 | --includ=* | --inclu=* | --incl=* | --inc=*)
602 includedir=$ac_optarg ;;
604 -infodir | --infodir | --infodi | --infod | --info | --inf)
606 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
607 infodir=$ac_optarg ;;
609 -libdir | --libdir | --libdi | --libd)
611 -libdir=* | --libdir=* | --libdi=* | --libd=*)
614 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
615 | --libexe | --libex | --libe)
616 ac_prev=libexecdir ;;
617 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
618 | --libexe=* | --libex=* | --libe=*)
619 libexecdir=$ac_optarg ;;
621 -localstatedir | --localstatedir | --localstatedi | --localstated \
622 | --localstate | --localstat | --localsta | --localst \
623 | --locals | --local | --loca | --loc | --lo)
624 ac_prev=localstatedir ;;
625 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
628 localstatedir=$ac_optarg ;;
630 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
632 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
636 # Obsolete; use --without-fp.
639 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
640 | --no-cr | --no-c | -n)
643 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
644 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
647 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
648 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
649 | --oldin | --oldi | --old | --ol | --o)
650 ac_prev=oldincludedir ;;
651 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
652 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
653 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
654 oldincludedir=$ac_optarg ;;
656 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
658 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
661 -program-prefix | --program-prefix | --program-prefi | --program-pref \
662 | --program-pre | --program-pr | --program-p)
663 ac_prev=program_prefix ;;
664 -program-prefix=* | --program-prefix=* | --program-prefi=* \
665 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
666 program_prefix=$ac_optarg ;;
668 -program-suffix | --program-suffix | --program-suffi | --program-suff \
669 | --program-suf | --program-su | --program-s)
670 ac_prev=program_suffix ;;
671 -program-suffix=* | --program-suffix=* | --program-suffi=* \
672 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
673 program_suffix=$ac_optarg ;;
675 -program-transform-name | --program-transform-name \
676 | --program-transform-nam | --program-transform-na \
677 | --program-transform-n | --program-transform- \
678 | --program-transform | --program-transfor \
679 | --program-transfo | --program-transf \
680 | --program-trans | --program-tran \
681 | --progr-tra | --program-tr | --program-t)
682 ac_prev=program_transform_name ;;
683 -program-transform-name=* | --program-transform-name=* \
684 | --program-transform-nam=* | --program-transform-na=* \
685 | --program-transform-n=* | --program-transform-=* \
686 | --program-transform=* | --program-transfor=* \
687 | --program-transfo=* | --program-transf=* \
688 | --program-trans=* | --program-tran=* \
689 | --progr-tra=* | --program-tr=* | --program-t=*)
690 program_transform_name=$ac_optarg ;;
692 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693 | -silent | --silent | --silen | --sile | --sil)
696 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
698 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
700 sbindir=$ac_optarg ;;
702 -sharedstatedir | --sharedstatedir | --sharedstatedi \
703 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
704 | --sharedst | --shareds | --shared | --share | --shar \
706 ac_prev=sharedstatedir ;;
707 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
708 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
709 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
711 sharedstatedir=$ac_optarg ;;
713 -site | --site | --sit)
715 -site=* | --site=* | --sit=*)
718 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
720 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
723 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
724 | --syscon | --sysco | --sysc | --sys | --sy)
725 ac_prev=sysconfdir ;;
726 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
727 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
728 sysconfdir=$ac_optarg ;;
730 -target | --target | --targe | --targ | --tar | --ta | --t)
731 ac_prev=target_alias ;;
732 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
733 target_alias=$ac_optarg ;;
735 -v | -verbose | --verbose | --verbos | --verbo | --verb)
738 -version | --version | --versio | --versi | --vers | -V)
742 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
745 { echo "$as_me: error: invalid package name: $ac_package" >&2
746 { (exit 1); exit 1; }; }
747 ac_package=`echo $ac_package| sed 's/-/_/g'`
749 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
752 eval "with_$ac_package='$ac_optarg'" ;;
754 -without-* | --without-*)
755 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756 # Reject names that are not valid shell variable names.
757 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
758 { echo "$as_me: error: invalid package name: $ac_package" >&2
759 { (exit 1); exit 1; }; }
760 ac_package=`echo $ac_package | sed 's/-/_/g'`
761 eval "with_$ac_package=no" ;;
764 # Obsolete; use --with-x.
767 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
768 | --x-incl | --x-inc | --x-in | --x-i)
769 ac_prev=x_includes ;;
770 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
771 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
772 x_includes=$ac_optarg ;;
774 -x-libraries | --x-libraries | --x-librarie | --x-librari \
775 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
776 ac_prev=x_libraries ;;
777 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
778 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
779 x_libraries=$ac_optarg ;;
781 -*) { echo "$as_me: error: unrecognized option: $ac_option
782 Try \`$0 --help' for more information." >&2
783 { (exit 1); exit 1; }; }
787 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791 { (exit 1); exit 1; }; }
792 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793 eval "$ac_envvar='$ac_optarg'"
797 # FIXME: should be removed in autoconf 3.0.
798 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
799 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
801 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
807 if test -n "$ac_prev"; then
808 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
809 { echo "$as_me: error: missing argument to $ac_option" >&2
810 { (exit 1); exit 1; }; }
813 # Be sure to have absolute paths.
814 for ac_var in exec_prefix prefix
816 eval ac_val=$`echo $ac_var`
818 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820 { (exit 1); exit 1; }; };;
824 # Be sure to have absolute paths.
825 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826 localstatedir libdir includedir oldincludedir infodir mandir
828 eval ac_val=$`echo $ac_var`
830 [\\/$]* | ?:[\\/]* ) ;;
831 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832 { (exit 1); exit 1; }; };;
836 # There might be people who depend on the old broken behavior: `$host'
837 # used to hold the argument of --host etc.
838 # FIXME: To remove some day.
843 # FIXME: To remove some day.
844 if test "x$host_alias" != x; then
845 if test "x$build_alias" = x; then
846 cross_compiling=maybe
847 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
848 If a cross compiler is detected then cross compile mode will be used." >&2
849 elif test "x$build_alias" != "x$host_alias"; then
855 test -n "$host_alias" && ac_tool_prefix=$host_alias-
857 test "$silent" = yes && exec 6>/dev/null
860 # Find the source files, if location was not specified.
861 if test -z "$srcdir"; then
862 ac_srcdir_defaulted=yes
863 # Try the directory containing this script, then its parent.
864 ac_confdir=`(dirname "$0") 2>/dev/null ||
865 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866 X"$0" : 'X\(//\)[^/]' \| \
867 X"$0" : 'X\(//\)$' \| \
868 X"$0" : 'X\(/\)' \| \
869 . : '\(.\)' 2>/dev/null ||
871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873 /^X\(\/\/\)$/{ s//\1/; q; }
874 /^X\(\/\).*/{ s//\1/; q; }
877 if test ! -r $srcdir/$ac_unique_file; then
881 ac_srcdir_defaulted=no
883 if test ! -r $srcdir/$ac_unique_file; then
884 if test "$ac_srcdir_defaulted" = yes; then
885 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886 { (exit 1); exit 1; }; }
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889 { (exit 1); exit 1; }; }
892 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894 { (exit 1); exit 1; }; }
895 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896 ac_env_build_alias_set=${build_alias+set}
897 ac_env_build_alias_value=$build_alias
898 ac_cv_env_build_alias_set=${build_alias+set}
899 ac_cv_env_build_alias_value=$build_alias
900 ac_env_host_alias_set=${host_alias+set}
901 ac_env_host_alias_value=$host_alias
902 ac_cv_env_host_alias_set=${host_alias+set}
903 ac_cv_env_host_alias_value=$host_alias
904 ac_env_target_alias_set=${target_alias+set}
905 ac_env_target_alias_value=$target_alias
906 ac_cv_env_target_alias_set=${target_alias+set}
907 ac_cv_env_target_alias_value=$target_alias
908 ac_env_CXX_set=${CXX+set}
909 ac_env_CXX_value=$CXX
910 ac_cv_env_CXX_set=${CXX+set}
911 ac_cv_env_CXX_value=$CXX
912 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
913 ac_env_CXXFLAGS_value=$CXXFLAGS
914 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
916 ac_env_LDFLAGS_set=${LDFLAGS+set}
917 ac_env_LDFLAGS_value=$LDFLAGS
918 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_cv_env_LDFLAGS_value=$LDFLAGS
920 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921 ac_env_CPPFLAGS_value=$CPPFLAGS
922 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924 ac_env_CC_set=${CC+set}
926 ac_cv_env_CC_set=${CC+set}
927 ac_cv_env_CC_value=$CC
928 ac_env_CFLAGS_set=${CFLAGS+set}
929 ac_env_CFLAGS_value=$CFLAGS
930 ac_cv_env_CFLAGS_set=${CFLAGS+set}
931 ac_cv_env_CFLAGS_value=$CFLAGS
932 ac_env_CPP_set=${CPP+set}
933 ac_env_CPP_value=$CPP
934 ac_cv_env_CPP_set=${CPP+set}
935 ac_cv_env_CPP_value=$CPP
936 ac_env_CXXCPP_set=${CXXCPP+set}
937 ac_env_CXXCPP_value=$CXXCPP
938 ac_cv_env_CXXCPP_set=${CXXCPP+set}
939 ac_cv_env_CXXCPP_value=$CXXCPP
940 ac_env_F77_set=${F77+set}
941 ac_env_F77_value=$F77
942 ac_cv_env_F77_set=${F77+set}
943 ac_cv_env_F77_value=$F77
944 ac_env_FFLAGS_set=${FFLAGS+set}
945 ac_env_FFLAGS_value=$FFLAGS
946 ac_cv_env_FFLAGS_set=${FFLAGS+set}
947 ac_cv_env_FFLAGS_value=$FFLAGS
950 # Report the --help message.
952 if test "$ac_init_help" = "long"; then
953 # Omit some internal or obsolete options to make the list less imposing.
954 # This message is too long to be a string in the A/UX 3.1 sh.
956 \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems.
958 Usage: $0 [OPTION]... [VAR=VALUE]...
960 To assign environment variables (e.g., CC, CFLAGS...), specify them as
961 VAR=VALUE. See below for descriptions of some of the useful variables.
963 Defaults for the options are specified in brackets.
966 -h, --help display this help and exit
967 --help=short display options specific to this package
968 --help=recursive display the short help of all the included packages
969 -V, --version display version information and exit
970 -q, --quiet, --silent do not print \`checking...' messages
971 --cache-file=FILE cache test results in FILE [disabled]
972 -C, --config-cache alias for \`--cache-file=config.cache'
973 -n, --no-create do not create output files
974 --srcdir=DIR find the sources in DIR [configure dir or \`..']
979 Installation directories:
980 --prefix=PREFIX install architecture-independent files in PREFIX
982 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
985 By default, \`make install' will install all the files in
986 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
987 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
988 for instance \`--prefix=\$HOME'.
990 For better control, use the options below.
992 Fine tuning of the installation directories:
993 --bindir=DIR user executables [EPREFIX/bin]
994 --sbindir=DIR system admin executables [EPREFIX/sbin]
995 --libexecdir=DIR program executables [EPREFIX/libexec]
996 --datadir=DIR read-only architecture-independent data [PREFIX/share]
997 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
998 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
999 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1000 --libdir=DIR object code libraries [EPREFIX/lib]
1001 --includedir=DIR C header files [PREFIX/include]
1002 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1003 --infodir=DIR info documentation [PREFIX/info]
1004 --mandir=DIR man documentation [PREFIX/man]
1010 --build=BUILD configure for building on BUILD [guessed]
1011 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1012 --target=TARGET configure for building compilers for TARGET [HOST]
1016 if test -n "$ac_init_help"; then
1017 case $ac_init_help in
1018 short | recursive ) echo "Configuration of [LLVM] [1.0]:";;
1023 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1024 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1025 --enable-shared[=PKGS]
1026 build shared libraries [default=yes]
1027 --enable-static[=PKGS]
1028 build static libraries [default=yes]
1029 --enable-fast-install[=PKGS]
1030 optimize for fast installation [default=yes]
1031 --disable-libtool-lock avoid locking (might break parallel builds)
1032 --enable-purify Compile with purify (default is NO)
1033 --enable-optimized Compile with optimizations enabled (default is NO)
1034 --enable-spec Compile SPEC benchmarks (default is NO)
1035 --enable-precompiled_bytecode
1036 Use pre-compiled bytecode (default is NO)
1037 --enable-llc_diffs Enable LLC Diffs when testing (default is YES)
1038 --enable-jit Enable Just In Time Compiling (default is YES)
1041 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1042 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1043 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1044 --with-pic try to use only PIC/non-PIC objects [default=use
1047 include additional configurations [automatic]
1048 --with-spec Location of SPEC benchmarks
1049 --with-llvmgccdir Location of LLVM GCC front-end
1050 --with-bcrepos Location of Bytecode Repository
1051 --with-papi Location of PAPI
1052 --with-purify Location of purify program
1054 Some influential environment variables:
1055 CXX C++ compiler command
1056 CXXFLAGS C++ compiler flags
1057 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1058 nonstandard directory <lib dir>
1059 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1060 headers in a nonstandard directory <include dir>
1061 CC C compiler command
1062 CFLAGS C compiler flags
1064 CXXCPP C++ preprocessor
1065 F77 Fortran 77 compiler command
1066 FFLAGS Fortran 77 compiler flags
1068 Use these variables to override the choices made by `configure' or to help
1069 it to find libraries and programs with nonstandard names/locations.
1071 Report bugs to <llvmbugs@cs.uiuc.edu>.
1075 if test "$ac_init_help" = "recursive"; then
1076 # If there are subdirs, report their specific --help.
1078 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1079 test -d $ac_dir || continue
1082 if test "$ac_dir" != .; then
1083 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1084 # A "../" for each directory in $ac_dir_suffix.
1085 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1087 ac_dir_suffix= ac_top_builddir=
1091 .) # No --srcdir option. We are building in place.
1093 if test -z "$ac_top_builddir"; then
1096 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1098 [\\/]* | ?:[\\/]* ) # Absolute path.
1099 ac_srcdir=$srcdir$ac_dir_suffix;
1100 ac_top_srcdir=$srcdir ;;
1102 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1103 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1105 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1107 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1108 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1109 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1110 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1113 # Check for guested configure; otherwise get Cygnus style configure.
1114 if test -f $ac_srcdir/configure.gnu; then
1116 $SHELL $ac_srcdir/configure.gnu --help=recursive
1117 elif test -f $ac_srcdir/configure; then
1119 $SHELL $ac_srcdir/configure --help=recursive
1120 elif test -f $ac_srcdir/configure.ac ||
1121 test -f $ac_srcdir/configure.in; then
1123 $ac_configure --help
1125 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1131 test -n "$ac_init_help" && exit 0
1132 if $ac_init_version; then
1134 [LLVM] configure [1.0]
1135 generated by GNU Autoconf 2.57
1137 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1138 Free Software Foundation, Inc.
1139 This configure script is free software; the Free Software Foundation
1140 gives unlimited permission to copy, distribute and modify it.
1146 This file contains any messages produced by compilers while
1147 running configure, to aid debugging if configure makes a mistake.
1149 It was created by [LLVM] $as_me [1.0], which was
1150 generated by GNU Autoconf 2.57. Invocation command line was
1161 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1162 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1163 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1164 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1165 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1167 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1168 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1170 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1171 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1172 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1173 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1174 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1175 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1176 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1184 test -z "$as_dir" && as_dir=.
1185 echo "PATH: $as_dir"
1200 # Keep a trace of the command line.
1201 # Strip out --no-create and --no-recursion so they do not pile up.
1202 # Strip out --silent because we don't want to record it for future runs.
1203 # Also quote any args containing shell meta-characters.
1204 # Make two passes to allow for proper duplicate-argument suppression.
1209 ac_must_keep_next=false
1215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217 | -silent | --silent | --silen | --sile | --sil)
1219 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1223 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1225 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1226 if test $ac_must_keep_next = true; then
1227 ac_must_keep_next=false # Got value, back to normal.
1230 *=* | --config-cache | -C | -disable-* | --disable-* \
1231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1233 | -with-* | --with-* | -without-* | --without-* | --x)
1234 case "$ac_configure_args0 " in
1235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1238 -* ) ac_must_keep_next=true ;;
1241 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1242 # Get rid of the leading space.
1248 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1249 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1251 # When interrupted or exit'd, cleanup temporary files, and complete
1252 # config.log. We remove comments because anyway the quotes in there
1253 # would cause problems or look ugly.
1254 # WARNING: Be sure not to use single quotes in there, as some shells,
1255 # such as our DU 5.0 friend, will then `close' the trap.
1256 trap 'exit_status=$?
1257 # Save into config.log some information that might help in debugging.
1262 ## ---------------- ##
1263 ## Cache variables. ##
1264 ## ---------------- ##
1267 # The following way of writing the cache mishandles newlines in values,
1270 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1273 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1285 ## ----------------- ##
1286 ## Output variables. ##
1287 ## ----------------- ##
1290 for ac_var in $ac_subst_vars
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1297 if test -n "$ac_subst_files"; then
1304 for ac_var in $ac_subst_files
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1312 if test -s confdefs.h; then
1319 sed "/^$/d" confdefs.h | sort
1322 test "$ac_signal" != 0 &&
1323 echo "$as_me: caught signal $ac_signal"
1324 echo "$as_me: exit $exit_status"
1326 rm -f core core.* *.core &&
1327 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1330 for ac_signal in 1 2 13 15; do
1331 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1336 rm -rf conftest* confdefs.h
1337 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1340 # Predefined preprocessor variables.
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_NAME "$PACKAGE_NAME"
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_STRING "$PACKAGE_STRING"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1367 # Let the site file select an alternate cache file if it wants to.
1368 # Prefer explicitly selected file to automatically selected ones.
1369 if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE; then
1371 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1373 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1376 for ac_site_file in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379 echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's/^/| /' "$ac_site_file" >&5
1385 if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390 echo "$as_me: loading cache $cache_file" >&6;}
1392 [\\/]* | ?:[\\/]* ) . $cache_file;;
1393 *) . ./$cache_file;;
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398 echo "$as_me: creating cache $cache_file" >&6;}
1402 # Check that the precious variables saved in the cache have kept the same
1404 ac_cache_corrupted=false
1405 for ac_var in `(set) 2>&1 |
1406 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1408 eval ac_new_set=\$ac_env_${ac_var}_set
1409 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415 ac_cache_corrupted=: ;;
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426 echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428 echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted=:
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg=$ac_var=$ac_new_val ;;
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1445 if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1454 ac_cpp='$CPP $CPPFLAGS'
1455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1487 for ac_dir in autoconf $srcdir/autoconf; do
1488 if test -f $ac_dir/install-sh; then
1490 ac_install_sh="$ac_aux_dir/install-sh -c"
1492 elif test -f $ac_dir/install.sh; then
1494 ac_install_sh="$ac_aux_dir/install.sh -c"
1496 elif test -f $ac_dir/shtool; then
1498 ac_install_sh="$ac_aux_dir/shtool install -c"
1502 if test -z "$ac_aux_dir"; then
1503 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1504 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1505 { (exit 1); exit 1; }; }
1507 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1508 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1509 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512 ac_config_headers="$ac_config_headers include/Config/config.h"
1514 ac_config_commands="$ac_config_commands Makefile"
1517 ac_config_commands="$ac_config_commands Makefile.common"
1520 ac_config_commands="$ac_config_commands Makefile.rules"
1523 ac_config_commands="$ac_config_commands lib/Makefile"
1526 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1529 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1532 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1535 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1538 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1541 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1544 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1547 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1550 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1553 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1556 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1559 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1562 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1565 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1568 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1571 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1574 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1577 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1580 ac_config_commands="$ac_config_commands lib/Support/Makefile"
1583 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1586 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1589 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1592 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1595 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1598 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1601 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1604 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1607 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1610 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1613 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1616 ac_config_commands="$ac_config_commands runtime/Makefile"
1619 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1622 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1625 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1628 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1631 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libexception/Makefile"
1634 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1637 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1640 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1643 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1646 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1649 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1652 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1655 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1658 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1661 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1664 ac_config_commands="$ac_config_commands test/Makefile"
1667 ac_config_commands="$ac_config_commands test/Makefile.tests"
1670 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1673 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1676 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1679 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1682 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1685 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1688 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1691 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1694 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1697 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1700 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1703 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1706 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1709 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1712 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1715 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1718 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1721 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1724 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1727 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1730 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1733 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1736 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1739 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1742 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1745 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1748 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1751 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1754 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1757 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1760 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1763 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1766 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1769 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1772 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1775 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1778 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1781 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1784 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1787 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1790 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1793 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1796 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1799 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1802 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1805 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1808 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1811 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1814 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1817 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1820 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1823 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1826 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1829 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1832 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1835 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1838 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1841 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1844 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1847 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1850 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1853 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1856 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1859 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1862 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1865 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1868 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1871 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1874 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1877 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1880 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1883 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1886 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1889 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1892 ac_config_commands="$ac_config_commands test/Programs/NoSource/Makefile"
1895 ac_config_commands="$ac_config_commands test/Programs/NoSource/Flex/Makefile"
1898 ac_config_commands="$ac_config_commands test/Programs/NoSource/Larn/Makefile"
1901 ac_config_commands="$ac_config_commands test/Programs/NoSource/Moria-5.5.2/Makefile"
1904 ac_config_commands="$ac_config_commands test/Programs/NoSource/Povray31/Makefile"
1907 ac_config_commands="$ac_config_commands test/Programs/NoSource/m4/Makefile"
1910 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1913 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1916 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1919 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1922 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1925 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1928 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1931 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1934 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1937 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1940 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
1943 ac_config_commands="$ac_config_commands tools/Makefile"
1946 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1949 ac_config_commands="$ac_config_commands tools/as/Makefile"
1952 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1955 ac_config_commands="$ac_config_commands tools/dis/Makefile"
1958 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1961 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1964 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1967 ac_config_commands="$ac_config_commands tools/link/Makefile"
1970 ac_config_commands="$ac_config_commands tools/llc/Makefile"
1973 ac_config_commands="$ac_config_commands tools/lli/Makefile"
1976 ac_config_commands="$ac_config_commands tools/opt/Makefile"
1979 ac_config_commands="$ac_config_commands tools/llee/Makefile"
1982 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
1985 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
1988 ac_config_commands="$ac_config_commands utils/Makefile"
1991 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
1994 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
1997 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
2000 ac_config_commands="$ac_config_commands www/docs/Makefile"
2003 ac_config_commands="$ac_config_commands projects/Makefile"
2006 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2009 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2012 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2015 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2018 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2021 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2024 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2027 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2030 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2033 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2036 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2041 # Find a good install program. We prefer a C program (faster),
2042 # so one script is as good as another. But avoid the broken or
2043 # incompatible versions:
2044 # SysV /etc/install, /usr/sbin/install
2045 # SunOS /usr/etc/install
2046 # IRIX /sbin/install
2048 # AmigaOS /C/install, which installs bootblocks on floppy discs
2049 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2050 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2051 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2052 # ./install, which can be erroneously created by make from ./install.sh.
2053 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2054 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2055 if test -z "$INSTALL"; then
2056 if test "${ac_cv_path_install+set}" = set; then
2057 echo $ECHO_N "(cached) $ECHO_C" >&6
2059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2063 test -z "$as_dir" && as_dir=.
2064 # Account for people who put trailing slashes in PATH elements.
2066 ./ | .// | /cC/* | \
2067 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2070 # OSF1 and SCO ODT 3.0 have their own names for install.
2071 # Don't use installbsd from OSF since it installs stuff as root
2073 for ac_prog in ginstall scoinst install; do
2074 for ac_exec_ext in '' $ac_executable_extensions; do
2075 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2076 if test $ac_prog = install &&
2077 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2078 # AIX install. It has an incompatible calling convention.
2080 elif test $ac_prog = install &&
2081 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2082 # program-specific install script used by HP pwplus--don't use.
2085 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2097 if test "${ac_cv_path_install+set}" = set; then
2098 INSTALL=$ac_cv_path_install
2100 # As a last resort, use the slow shell script. We don't cache a
2101 # path for INSTALL within a source directory, because that will
2102 # break other packages using the cache if that directory is
2103 # removed, or if the path is relative.
2104 INSTALL=$ac_install_sh
2107 echo "$as_me:$LINENO: result: $INSTALL" >&5
2108 echo "${ECHO_T}$INSTALL" >&6
2110 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2111 # It thinks the first close brace ends the variable substitution.
2112 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2114 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2116 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2119 # Make sure we can run config.sub.
2120 $ac_config_sub sun4 >/dev/null 2>&1 ||
2121 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2122 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2123 { (exit 1); exit 1; }; }
2125 echo "$as_me:$LINENO: checking build system type" >&5
2126 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2127 if test "${ac_cv_build+set}" = set; then
2128 echo $ECHO_N "(cached) $ECHO_C" >&6
2130 ac_cv_build_alias=$build_alias
2131 test -z "$ac_cv_build_alias" &&
2132 ac_cv_build_alias=`$ac_config_guess`
2133 test -z "$ac_cv_build_alias" &&
2134 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2135 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2136 { (exit 1); exit 1; }; }
2137 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2138 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2139 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2140 { (exit 1); exit 1; }; }
2143 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2144 echo "${ECHO_T}$ac_cv_build" >&6
2146 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2147 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2148 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2151 echo "$as_me:$LINENO: checking host system type" >&5
2152 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2153 if test "${ac_cv_host+set}" = set; then
2154 echo $ECHO_N "(cached) $ECHO_C" >&6
2156 ac_cv_host_alias=$host_alias
2157 test -z "$ac_cv_host_alias" &&
2158 ac_cv_host_alias=$ac_cv_build_alias
2159 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2160 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2161 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2162 { (exit 1); exit 1; }; }
2165 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2166 echo "${ECHO_T}$ac_cv_host" >&6
2168 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2169 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2170 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2173 echo "$as_me:$LINENO: checking target system type" >&5
2174 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2175 if test "${ac_cv_target+set}" = set; then
2176 echo $ECHO_N "(cached) $ECHO_C" >&6
2178 ac_cv_target_alias=$target_alias
2179 test "x$ac_cv_target_alias" = "x" &&
2180 ac_cv_target_alias=$ac_cv_host_alias
2181 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2182 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2183 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2184 { (exit 1); exit 1; }; }
2187 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2188 echo "${ECHO_T}$ac_cv_target" >&6
2189 target=$ac_cv_target
2190 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2191 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2192 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2195 # The aliases save the names the user supplied, while $host etc.
2196 # will get canonicalized.
2197 test -n "$target_alias" &&
2198 test "$program_prefix$program_suffix$program_transform_name" = \
2200 program_prefix=${target_alias}-
2205 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2211 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2221 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2230 *sparc*solaris*) ARCH=Sparc
2237 ac_cpp='$CXXCPP $CPPFLAGS'
2238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2241 if test -n "$ac_tool_prefix"; then
2242 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2244 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2245 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2246 echo "$as_me:$LINENO: checking for $ac_word" >&5
2247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2248 if test "${ac_cv_prog_CXX+set}" = set; then
2249 echo $ECHO_N "(cached) $ECHO_C" >&6
2251 if test -n "$CXX"; then
2252 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2258 test -z "$as_dir" && as_dir=.
2259 for ac_exec_ext in '' $ac_executable_extensions; do
2260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2261 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2271 if test -n "$CXX"; then
2272 echo "$as_me:$LINENO: result: $CXX" >&5
2273 echo "${ECHO_T}$CXX" >&6
2275 echo "$as_me:$LINENO: result: no" >&5
2276 echo "${ECHO_T}no" >&6
2279 test -n "$CXX" && break
2282 if test -z "$CXX"; then
2284 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2286 # Extract the first word of "$ac_prog", so it can be a program name with args.
2287 set dummy $ac_prog; ac_word=$2
2288 echo "$as_me:$LINENO: checking for $ac_word" >&5
2289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2290 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2291 echo $ECHO_N "(cached) $ECHO_C" >&6
2293 if test -n "$ac_ct_CXX"; then
2294 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2300 test -z "$as_dir" && as_dir=.
2301 for ac_exec_ext in '' $ac_executable_extensions; do
2302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2303 ac_cv_prog_ac_ct_CXX="$ac_prog"
2304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2312 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2313 if test -n "$ac_ct_CXX"; then
2314 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2315 echo "${ECHO_T}$ac_ct_CXX" >&6
2317 echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6
2321 test -n "$ac_ct_CXX" && break
2323 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2329 # Provide some information about the compiler.
2330 echo "$as_me:$LINENO:" \
2331 "checking for C++ compiler version" >&5
2332 ac_compiler=`set X $ac_compile; echo $2`
2333 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2334 (eval $ac_compiler --version </dev/null >&5) 2>&5
2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); }
2338 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2339 (eval $ac_compiler -v </dev/null >&5) 2>&5
2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342 (exit $ac_status); }
2343 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2344 (eval $ac_compiler -V </dev/null >&5) 2>&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); }
2349 cat >conftest.$ac_ext <<_ACEOF
2350 #line $LINENO "configure"
2353 cat confdefs.h >>conftest.$ac_ext
2354 cat >>conftest.$ac_ext <<_ACEOF
2355 /* end confdefs.h. */
2365 ac_clean_files_save=$ac_clean_files
2366 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2367 # Try to create an executable without -o first, disregard a.out.
2368 # It will help us diagnose broken compilers, and finding out an intuition
2370 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2371 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2372 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2373 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2374 (eval $ac_link_default) 2>&5
2376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377 (exit $ac_status); }; then
2378 # Find the output, starting from the most likely. This scheme is
2379 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2382 # Be careful to initialize this variable, since it used to be cached.
2383 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2385 # b.out is created by i960 compilers.
2386 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2388 test -f "$ac_file" || continue
2390 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2393 # This is the source file.
2396 # We found the default executable, but exeext='' is most
2400 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2401 # FIXME: I believe we export ac_cv_exeext for Libtool,
2402 # but it would be cool to find out if it's true. Does anybody
2403 # maintain Libtool? --akim.
2411 echo "$as_me: failed program was:" >&5
2412 sed 's/^/| /' conftest.$ac_ext >&5
2414 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2415 See \`config.log' for more details." >&5
2416 echo "$as_me: error: C++ compiler cannot create executables
2417 See \`config.log' for more details." >&2;}
2418 { (exit 77); exit 77; }; }
2421 ac_exeext=$ac_cv_exeext
2422 echo "$as_me:$LINENO: result: $ac_file" >&5
2423 echo "${ECHO_T}$ac_file" >&6
2425 # Check the compiler produces executables we can run. If not, either
2426 # the compiler is broken, or we cross compile.
2427 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2428 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2429 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2430 # If not cross compiling, check that we can run a simple program.
2431 if test "$cross_compiling" != yes; then
2432 if { ac_try='./$ac_file'
2433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); }; }; then
2440 if test "$cross_compiling" = maybe; then
2443 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2444 If you meant to cross compile, use \`--host'.
2445 See \`config.log' for more details." >&5
2446 echo "$as_me: error: cannot run C++ compiled programs.
2447 If you meant to cross compile, use \`--host'.
2448 See \`config.log' for more details." >&2;}
2449 { (exit 1); exit 1; }; }
2453 echo "$as_me:$LINENO: result: yes" >&5
2454 echo "${ECHO_T}yes" >&6
2456 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2457 ac_clean_files=$ac_clean_files_save
2458 # Check the compiler produces executables we can run. If not, either
2459 # the compiler is broken, or we cross compile.
2460 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2461 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2462 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2463 echo "${ECHO_T}$cross_compiling" >&6
2465 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2466 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2468 (eval $ac_link) 2>&5
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); }; then
2472 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2473 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2474 # work properly (i.e., refer to `conftest.exe'), while it won't with
2476 for ac_file in conftest.exe conftest conftest.*; do
2477 test -f "$ac_file" || continue
2479 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2480 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2487 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2488 See \`config.log' for more details." >&5
2489 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2490 See \`config.log' for more details." >&2;}
2491 { (exit 1); exit 1; }; }
2494 rm -f conftest$ac_cv_exeext
2495 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2496 echo "${ECHO_T}$ac_cv_exeext" >&6
2498 rm -f conftest.$ac_ext
2499 EXEEXT=$ac_cv_exeext
2501 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2502 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2503 if test "${ac_cv_objext+set}" = set; then
2504 echo $ECHO_N "(cached) $ECHO_C" >&6
2506 cat >conftest.$ac_ext <<_ACEOF
2507 #line $LINENO "configure"
2510 cat confdefs.h >>conftest.$ac_ext
2511 cat >>conftest.$ac_ext <<_ACEOF
2512 /* end confdefs.h. */
2522 rm -f conftest.o conftest.obj
2523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2524 (eval $ac_compile) 2>&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; then
2528 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2531 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2536 echo "$as_me: failed program was:" >&5
2537 sed 's/^/| /' conftest.$ac_ext >&5
2539 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2540 See \`config.log' for more details." >&5
2541 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2542 See \`config.log' for more details." >&2;}
2543 { (exit 1); exit 1; }; }
2546 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2548 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2549 echo "${ECHO_T}$ac_cv_objext" >&6
2550 OBJEXT=$ac_cv_objext
2552 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2553 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2554 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2557 cat >conftest.$ac_ext <<_ACEOF
2558 #line $LINENO "configure"
2561 cat confdefs.h >>conftest.$ac_ext
2562 cat >>conftest.$ac_ext <<_ACEOF
2563 /* end confdefs.h. */
2576 rm -f conftest.$ac_objext
2577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2578 (eval $ac_compile) 2>&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); } &&
2582 { ac_try='test -s conftest.$ac_objext'
2583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }; }; then
2590 echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.$ac_ext >&5
2595 rm -f conftest.$ac_objext conftest.$ac_ext
2596 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2599 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2600 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2601 GXX=`test $ac_compiler_gnu = yes && echo yes`
2602 ac_test_CXXFLAGS=${CXXFLAGS+set}
2603 ac_save_CXXFLAGS=$CXXFLAGS
2605 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2606 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2607 if test "${ac_cv_prog_cxx_g+set}" = set; then
2608 echo $ECHO_N "(cached) $ECHO_C" >&6
2610 cat >conftest.$ac_ext <<_ACEOF
2611 #line $LINENO "configure"
2614 cat confdefs.h >>conftest.$ac_ext
2615 cat >>conftest.$ac_ext <<_ACEOF
2616 /* end confdefs.h. */
2626 rm -f conftest.$ac_objext
2627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2628 (eval $ac_compile) 2>&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); } &&
2632 { ac_try='test -s conftest.$ac_objext'
2633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); }; }; then
2638 ac_cv_prog_cxx_g=yes
2640 echo "$as_me: failed program was:" >&5
2641 sed 's/^/| /' conftest.$ac_ext >&5
2645 rm -f conftest.$ac_objext conftest.$ac_ext
2647 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2648 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2649 if test "$ac_test_CXXFLAGS" = set; then
2650 CXXFLAGS=$ac_save_CXXFLAGS
2651 elif test $ac_cv_prog_cxx_g = yes; then
2652 if test "$GXX" = yes; then
2658 if test "$GXX" = yes; then
2664 for ac_declaration in \
2666 '#include <stdlib.h>' \
2667 'extern "C" void std::exit (int) throw (); using std::exit;' \
2668 'extern "C" void std::exit (int); using std::exit;' \
2669 'extern "C" void exit (int) throw ();' \
2670 'extern "C" void exit (int);' \
2673 cat >conftest.$ac_ext <<_ACEOF
2674 #line $LINENO "configure"
2677 cat confdefs.h >>conftest.$ac_ext
2678 cat >>conftest.$ac_ext <<_ACEOF
2679 /* end confdefs.h. */
2690 rm -f conftest.$ac_objext
2691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2692 (eval $ac_compile) 2>&5
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); } &&
2696 { ac_try='test -s conftest.$ac_objext'
2697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701 (exit $ac_status); }; }; then
2704 echo "$as_me: failed program was:" >&5
2705 sed 's/^/| /' conftest.$ac_ext >&5
2709 rm -f conftest.$ac_objext conftest.$ac_ext
2710 cat >conftest.$ac_ext <<_ACEOF
2711 #line $LINENO "configure"
2714 cat confdefs.h >>conftest.$ac_ext
2715 cat >>conftest.$ac_ext <<_ACEOF
2716 /* end confdefs.h. */
2726 rm -f conftest.$ac_objext
2727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2728 (eval $ac_compile) 2>&5
2730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731 (exit $ac_status); } &&
2732 { ac_try='test -s conftest.$ac_objext'
2733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); }; }; then
2740 echo "$as_me: failed program was:" >&5
2741 sed 's/^/| /' conftest.$ac_ext >&5
2744 rm -f conftest.$ac_objext conftest.$ac_ext
2747 if test -n "$ac_declaration"; then
2748 echo '#ifdef __cplusplus' >>confdefs.h
2749 echo $ac_declaration >>confdefs.h
2750 echo '#endif' >>confdefs.h
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
2760 ac_cpp='$CPP $CPPFLAGS'
2761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2764 if test -n "$ac_tool_prefix"; then
2767 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2768 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2769 echo "$as_me:$LINENO: checking for $ac_word" >&5
2770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2771 if test "${ac_cv_prog_CC+set}" = set; then
2772 echo $ECHO_N "(cached) $ECHO_C" >&6
2774 if test -n "$CC"; then
2775 ac_cv_prog_CC="$CC" # Let the user override the test.
2777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781 test -z "$as_dir" && as_dir=.
2782 for ac_exec_ext in '' $ac_executable_extensions; do
2783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2784 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 if test -n "$CC"; then
2795 echo "$as_me:$LINENO: result: $CC" >&5
2796 echo "${ECHO_T}$CC" >&6
2798 echo "$as_me:$LINENO: result: no" >&5
2799 echo "${ECHO_T}no" >&6
2802 test -n "$CC" && break
2805 if test -z "$CC"; then
2809 # Extract the first word of "$ac_prog", so it can be a program name with args.
2810 set dummy $ac_prog; ac_word=$2
2811 echo "$as_me:$LINENO: checking for $ac_word" >&5
2812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2813 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2814 echo $ECHO_N "(cached) $ECHO_C" >&6
2816 if test -n "$ac_ct_CC"; then
2817 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2823 test -z "$as_dir" && as_dir=.
2824 for ac_exec_ext in '' $ac_executable_extensions; do
2825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2826 ac_cv_prog_ac_ct_CC="$ac_prog"
2827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2836 if test -n "$ac_ct_CC"; then
2837 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2838 echo "${ECHO_T}$ac_ct_CC" >&6
2840 echo "$as_me:$LINENO: result: no" >&5
2841 echo "${ECHO_T}no" >&6
2844 test -n "$ac_ct_CC" && break
2851 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2852 See \`config.log' for more details." >&5
2853 echo "$as_me: error: no acceptable C compiler found in \$PATH
2854 See \`config.log' for more details." >&2;}
2855 { (exit 1); exit 1; }; }
2857 # Provide some information about the compiler.
2858 echo "$as_me:$LINENO:" \
2859 "checking for C compiler version" >&5
2860 ac_compiler=`set X $ac_compile; echo $2`
2861 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2862 (eval $ac_compiler --version </dev/null >&5) 2>&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); }
2866 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2867 (eval $ac_compiler -v </dev/null >&5) 2>&5
2869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870 (exit $ac_status); }
2871 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2872 (eval $ac_compiler -V </dev/null >&5) 2>&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); }
2877 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2878 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2879 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2880 echo $ECHO_N "(cached) $ECHO_C" >&6
2882 cat >conftest.$ac_ext <<_ACEOF
2883 #line $LINENO "configure"
2886 cat confdefs.h >>conftest.$ac_ext
2887 cat >>conftest.$ac_ext <<_ACEOF
2888 /* end confdefs.h. */
2901 rm -f conftest.$ac_objext
2902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2903 (eval $ac_compile) 2>&5
2905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906 (exit $ac_status); } &&
2907 { ac_try='test -s conftest.$ac_objext'
2908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912 (exit $ac_status); }; }; then
2915 echo "$as_me: failed program was:" >&5
2916 sed 's/^/| /' conftest.$ac_ext >&5
2920 rm -f conftest.$ac_objext conftest.$ac_ext
2921 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2924 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2925 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2926 GCC=`test $ac_compiler_gnu = yes && echo yes`
2927 ac_test_CFLAGS=${CFLAGS+set}
2928 ac_save_CFLAGS=$CFLAGS
2930 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2931 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2932 if test "${ac_cv_prog_cc_g+set}" = set; then
2933 echo $ECHO_N "(cached) $ECHO_C" >&6
2935 cat >conftest.$ac_ext <<_ACEOF
2936 #line $LINENO "configure"
2939 cat confdefs.h >>conftest.$ac_ext
2940 cat >>conftest.$ac_ext <<_ACEOF
2941 /* end confdefs.h. */
2951 rm -f conftest.$ac_objext
2952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2953 (eval $ac_compile) 2>&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); } &&
2957 { ac_try='test -s conftest.$ac_objext'
2958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); }; }; then
2965 echo "$as_me: failed program was:" >&5
2966 sed 's/^/| /' conftest.$ac_ext >&5
2970 rm -f conftest.$ac_objext conftest.$ac_ext
2972 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2973 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2974 if test "$ac_test_CFLAGS" = set; then
2975 CFLAGS=$ac_save_CFLAGS
2976 elif test $ac_cv_prog_cc_g = yes; then
2977 if test "$GCC" = yes; then
2983 if test "$GCC" = yes; then
2989 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2990 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2991 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2992 echo $ECHO_N "(cached) $ECHO_C" >&6
2994 ac_cv_prog_cc_stdc=no
2996 cat >conftest.$ac_ext <<_ACEOF
2997 #line $LINENO "configure"
3000 cat confdefs.h >>conftest.$ac_ext
3001 cat >>conftest.$ac_ext <<_ACEOF
3002 /* end confdefs.h. */
3005 #include <sys/types.h>
3006 #include <sys/stat.h>
3007 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3008 struct buf { int x; };
3009 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3010 static char *e (p, i)
3016 static char *f (char * (*g) (char **, int), char **p, ...)
3021 s = g (p, va_arg (v,int));
3025 int test (int i, double x);
3026 struct s1 {int (*f) (int a);};
3027 struct s2 {int (*f) (double a);};
3028 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3034 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3039 # Don't try gcc -ansi; that turns off useful extensions and
3040 # breaks some systems' header files.
3041 # AIX -qlanglvl=ansi
3042 # Ultrix and OSF/1 -std1
3043 # HP-UX 10.20 and later -Ae
3044 # HP-UX older versions -Aa -D_HPUX_SOURCE
3045 # SVR4 -Xc -D__EXTENSIONS__
3046 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3048 CC="$ac_save_CC $ac_arg"
3049 rm -f conftest.$ac_objext
3050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3051 (eval $ac_compile) 2>&5
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); } &&
3055 { ac_try='test -s conftest.$ac_objext'
3056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); }; }; then
3061 ac_cv_prog_cc_stdc=$ac_arg
3064 echo "$as_me: failed program was:" >&5
3065 sed 's/^/| /' conftest.$ac_ext >&5
3068 rm -f conftest.$ac_objext
3070 rm -f conftest.$ac_ext conftest.$ac_objext
3075 case "x$ac_cv_prog_cc_stdc" in
3077 echo "$as_me:$LINENO: result: none needed" >&5
3078 echo "${ECHO_T}none needed" >&6 ;;
3080 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3081 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3082 CC="$CC $ac_cv_prog_cc_stdc" ;;
3085 # Some people use a C++ compiler to compile C. Since we use `exit',
3086 # in C++ we need to declare it. In case someone uses the same compiler
3087 # for both compiling C and C++ we need to have the C++ compiler decide
3088 # the declaration of exit, since it's the most demanding environment.
3089 cat >conftest.$ac_ext <<_ACEOF
3094 rm -f conftest.$ac_objext
3095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3096 (eval $ac_compile) 2>&5
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); } &&
3100 { ac_try='test -s conftest.$ac_objext'
3101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }; }; then
3106 for ac_declaration in \
3108 '#include <stdlib.h>' \
3109 'extern "C" void std::exit (int) throw (); using std::exit;' \
3110 'extern "C" void std::exit (int); using std::exit;' \
3111 'extern "C" void exit (int) throw ();' \
3112 'extern "C" void exit (int);' \
3115 cat >conftest.$ac_ext <<_ACEOF
3116 #line $LINENO "configure"
3119 cat confdefs.h >>conftest.$ac_ext
3120 cat >>conftest.$ac_ext <<_ACEOF
3121 /* end confdefs.h. */
3132 rm -f conftest.$ac_objext
3133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3134 (eval $ac_compile) 2>&5
3136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137 (exit $ac_status); } &&
3138 { ac_try='test -s conftest.$ac_objext'
3139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); }; }; then
3146 echo "$as_me: failed program was:" >&5
3147 sed 's/^/| /' conftest.$ac_ext >&5
3151 rm -f conftest.$ac_objext conftest.$ac_ext
3152 cat >conftest.$ac_ext <<_ACEOF
3153 #line $LINENO "configure"
3156 cat confdefs.h >>conftest.$ac_ext
3157 cat >>conftest.$ac_ext <<_ACEOF
3158 /* end confdefs.h. */
3168 rm -f conftest.$ac_objext
3169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3170 (eval $ac_compile) 2>&5
3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173 (exit $ac_status); } &&
3174 { ac_try='test -s conftest.$ac_objext'
3175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); }; }; then
3182 echo "$as_me: failed program was:" >&5
3183 sed 's/^/| /' conftest.$ac_ext >&5
3186 rm -f conftest.$ac_objext conftest.$ac_ext
3189 if test -n "$ac_declaration"; then
3190 echo '#ifdef __cplusplus' >>confdefs.h
3191 echo $ac_declaration >>confdefs.h
3192 echo '#endif' >>confdefs.h
3196 echo "$as_me: failed program was:" >&5
3197 sed 's/^/| /' conftest.$ac_ext >&5
3200 rm -f conftest.$ac_objext conftest.$ac_ext
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
3208 ac_cpp='$CPP $CPPFLAGS'
3209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3212 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3213 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3214 # On Suns, sometimes $CPP names a directory.
3215 if test -n "$CPP" && test -d "$CPP"; then
3218 if test -z "$CPP"; then
3219 if test "${ac_cv_prog_CPP+set}" = set; then
3220 echo $ECHO_N "(cached) $ECHO_C" >&6
3222 # Double quotes because CPP needs to be expanded
3223 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3226 for ac_c_preproc_warn_flag in '' yes
3228 # Use a header file that comes with gcc, so configuring glibc
3229 # with a fresh cross-compiler works.
3230 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3231 # <limits.h> exists even on freestanding compilers.
3232 # On the NeXT, cc -E runs the code through the compiler's parser,
3233 # not just through cpp. "Syntax error" is here to catch this case.
3234 cat >conftest.$ac_ext <<_ACEOF
3235 #line $LINENO "configure"
3238 cat confdefs.h >>conftest.$ac_ext
3239 cat >>conftest.$ac_ext <<_ACEOF
3240 /* end confdefs.h. */
3242 # include <limits.h>
3244 # include <assert.h>
3248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3249 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3251 grep -v '^ *+' conftest.er1 >conftest.err
3253 cat conftest.err >&5
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); } >/dev/null; then
3256 if test -s conftest.err; then
3257 ac_cpp_err=$ac_c_preproc_warn_flag
3264 if test -z "$ac_cpp_err"; then
3267 echo "$as_me: failed program was:" >&5
3268 sed 's/^/| /' conftest.$ac_ext >&5
3270 # Broken: fails on valid input.
3273 rm -f conftest.err conftest.$ac_ext
3275 # OK, works on sane cases. Now check whether non-existent headers
3276 # can be detected and how.
3277 cat >conftest.$ac_ext <<_ACEOF
3278 #line $LINENO "configure"
3281 cat confdefs.h >>conftest.$ac_ext
3282 cat >>conftest.$ac_ext <<_ACEOF
3283 /* end confdefs.h. */
3284 #include <ac_nonexistent.h>
3286 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3287 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3289 grep -v '^ *+' conftest.er1 >conftest.err
3291 cat conftest.err >&5
3292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293 (exit $ac_status); } >/dev/null; then
3294 if test -s conftest.err; then
3295 ac_cpp_err=$ac_c_preproc_warn_flag
3302 if test -z "$ac_cpp_err"; then
3303 # Broken: success on invalid input.
3306 echo "$as_me: failed program was:" >&5
3307 sed 's/^/| /' conftest.$ac_ext >&5
3309 # Passes both tests.
3313 rm -f conftest.err conftest.$ac_ext
3316 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3317 rm -f conftest.err conftest.$ac_ext
3318 if $ac_preproc_ok; then
3330 echo "$as_me:$LINENO: result: $CPP" >&5
3331 echo "${ECHO_T}$CPP" >&6
3333 for ac_c_preproc_warn_flag in '' yes
3335 # Use a header file that comes with gcc, so configuring glibc
3336 # with a fresh cross-compiler works.
3337 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3338 # <limits.h> exists even on freestanding compilers.
3339 # On the NeXT, cc -E runs the code through the compiler's parser,
3340 # not just through cpp. "Syntax error" is here to catch this case.
3341 cat >conftest.$ac_ext <<_ACEOF
3342 #line $LINENO "configure"
3345 cat confdefs.h >>conftest.$ac_ext
3346 cat >>conftest.$ac_ext <<_ACEOF
3347 /* end confdefs.h. */
3349 # include <limits.h>
3351 # include <assert.h>
3355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3356 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3358 grep -v '^ *+' conftest.er1 >conftest.err
3360 cat conftest.err >&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); } >/dev/null; then
3363 if test -s conftest.err; then
3364 ac_cpp_err=$ac_c_preproc_warn_flag
3371 if test -z "$ac_cpp_err"; then
3374 echo "$as_me: failed program was:" >&5
3375 sed 's/^/| /' conftest.$ac_ext >&5
3377 # Broken: fails on valid input.
3380 rm -f conftest.err conftest.$ac_ext
3382 # OK, works on sane cases. Now check whether non-existent headers
3383 # can be detected and how.
3384 cat >conftest.$ac_ext <<_ACEOF
3385 #line $LINENO "configure"
3388 cat confdefs.h >>conftest.$ac_ext
3389 cat >>conftest.$ac_ext <<_ACEOF
3390 /* end confdefs.h. */
3391 #include <ac_nonexistent.h>
3393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3394 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3396 grep -v '^ *+' conftest.er1 >conftest.err
3398 cat conftest.err >&5
3399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400 (exit $ac_status); } >/dev/null; then
3401 if test -s conftest.err; then
3402 ac_cpp_err=$ac_c_preproc_warn_flag
3409 if test -z "$ac_cpp_err"; then
3410 # Broken: success on invalid input.
3413 echo "$as_me: failed program was:" >&5
3414 sed 's/^/| /' conftest.$ac_ext >&5
3416 # Passes both tests.
3420 rm -f conftest.err conftest.$ac_ext
3423 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3424 rm -f conftest.err conftest.$ac_ext
3425 if $ac_preproc_ok; then
3428 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3429 See \`config.log' for more details." >&5
3430 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3431 See \`config.log' for more details." >&2;}
3432 { (exit 1); exit 1; }; }
3436 ac_cpp='$CPP $CPPFLAGS'
3437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3442 if test "$GCC" != "yes"
3444 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3445 echo "$as_me: error: gcc required but not found" >&2;}
3446 { (exit 1); exit 1; }; }
3449 if test "$GXX" != "yes"
3451 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3452 echo "$as_me: error: g++ required but not found" >&2;}
3453 { (exit 1); exit 1; }; }
3456 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3457 if test "$gccmajor" -lt "3"
3459 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3460 echo "$as_me: error: gcc 3.x required" >&2;}
3461 { (exit 1); exit 1; }; }
3464 echo "$as_me:$LINENO: checking for GNU make" >&5
3465 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3466 if test "${_cv_gnu_make_command+set}" = set; then
3467 echo $ECHO_N "(cached) $ECHO_C" >&6
3469 _cv_gnu_make_command='' ;
3470 for a in "$MAKE" make gmake gnumake ; do
3471 if test -z "$a" ; then continue ; fi ;
3472 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3473 _cv_gnu_make_command=$a ;
3479 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3480 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3481 if test "x$_cv_gnu_make_command" != "x" ; then
3485 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3486 echo "${ECHO_T}\"Not found\"" >&6;
3490 if test -z "$_cv_gnu_make_command"
3492 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3493 echo "$as_me: error: GNU Make required but not found" >&2;}
3494 { (exit 1); exit 1; }; }
3498 echo "$as_me:$LINENO: checking " >&5
3499 echo $ECHO_N "checking ... $ECHO_C" >&6
3500 if test "${ac_cv_has_flex+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3503 for ac_prog in flex lex
3505 # Extract the first word of "$ac_prog", so it can be a program name with args.
3506 set dummy $ac_prog; ac_word=$2
3507 echo "$as_me:$LINENO: checking for $ac_word" >&5
3508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3509 if test "${ac_cv_prog_LEX+set}" = set; then
3510 echo $ECHO_N "(cached) $ECHO_C" >&6
3512 if test -n "$LEX"; then
3513 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3519 test -z "$as_dir" && as_dir=.
3520 for ac_exec_ext in '' $ac_executable_extensions; do
3521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3522 ac_cv_prog_LEX="$ac_prog"
3523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3532 if test -n "$LEX"; then
3533 echo "$as_me:$LINENO: result: $LEX" >&5
3534 echo "${ECHO_T}$LEX" >&6
3536 echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3540 test -n "$LEX" && break
3542 test -n "$LEX" || LEX=":"
3544 if test -z "$LEXLIB"
3546 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3547 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3548 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3549 echo $ECHO_N "(cached) $ECHO_C" >&6
3551 ac_check_lib_save_LIBS=$LIBS
3553 cat >conftest.$ac_ext <<_ACEOF
3554 #line $LINENO "configure"
3557 cat confdefs.h >>conftest.$ac_ext
3558 cat >>conftest.$ac_ext <<_ACEOF
3559 /* end confdefs.h. */
3561 /* Override any gcc2 internal prototype to avoid an error. */
3565 /* We use char because int might match the return type of a gcc2
3566 builtin and then its argument prototype would still apply. */
3576 rm -f conftest.$ac_objext conftest$ac_exeext
3577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3578 (eval $ac_link) 2>&5
3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581 (exit $ac_status); } &&
3582 { ac_try='test -s conftest$ac_exeext'
3583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3587 (exit $ac_status); }; }; then
3588 ac_cv_lib_fl_yywrap=yes
3590 echo "$as_me: failed program was:" >&5
3591 sed 's/^/| /' conftest.$ac_ext >&5
3593 ac_cv_lib_fl_yywrap=no
3595 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3596 LIBS=$ac_check_lib_save_LIBS
3598 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3599 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3600 if test $ac_cv_lib_fl_yywrap = yes; then
3603 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3604 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3605 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3606 echo $ECHO_N "(cached) $ECHO_C" >&6
3608 ac_check_lib_save_LIBS=$LIBS
3610 cat >conftest.$ac_ext <<_ACEOF
3611 #line $LINENO "configure"
3614 cat confdefs.h >>conftest.$ac_ext
3615 cat >>conftest.$ac_ext <<_ACEOF
3616 /* end confdefs.h. */
3618 /* Override any gcc2 internal prototype to avoid an error. */
3622 /* We use char because int might match the return type of a gcc2
3623 builtin and then its argument prototype would still apply. */
3633 rm -f conftest.$ac_objext conftest$ac_exeext
3634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3635 (eval $ac_link) 2>&5
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); } &&
3639 { ac_try='test -s conftest$ac_exeext'
3640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); }; }; then
3645 ac_cv_lib_l_yywrap=yes
3647 echo "$as_me: failed program was:" >&5
3648 sed 's/^/| /' conftest.$ac_ext >&5
3650 ac_cv_lib_l_yywrap=no
3652 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3653 LIBS=$ac_check_lib_save_LIBS
3655 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3656 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3657 if test $ac_cv_lib_l_yywrap = yes; then
3665 if test "x$LEX" != "x:"; then
3666 echo "$as_me:$LINENO: checking lex output file root" >&5
3667 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3668 if test "${ac_cv_prog_lex_root+set}" = set; then
3669 echo $ECHO_N "(cached) $ECHO_C" >&6
3671 # The minimal lex program is just a single line: %%. But some broken lexes
3672 # (Solaris, I think it was) want two %% lines, so accommodate them.
3673 cat >conftest.l <<_ACEOF
3677 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3678 (eval $LEX conftest.l) 2>&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); }
3682 if test -f lex.yy.c; then
3683 ac_cv_prog_lex_root=lex.yy
3684 elif test -f lexyy.c; then
3685 ac_cv_prog_lex_root=lexyy
3687 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3688 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3689 { (exit 1); exit 1; }; }
3692 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3693 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3695 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3697 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3698 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3699 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3700 echo $ECHO_N "(cached) $ECHO_C" >&6
3702 # POSIX says lex can declare yytext either as a pointer or an array; the
3703 # default is implementation-dependent. Figure out which it is, since
3704 # not all implementations provide the %pointer and %array declarations.
3705 ac_cv_prog_lex_yytext_pointer=no
3706 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3708 LIBS="$LIBS $LEXLIB"
3709 cat >conftest.$ac_ext <<_ACEOF
3710 `cat $LEX_OUTPUT_ROOT.c`
3712 rm -f conftest.$ac_objext conftest$ac_exeext
3713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3714 (eval $ac_link) 2>&5
3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717 (exit $ac_status); } &&
3718 { ac_try='test -s conftest$ac_exeext'
3719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723 (exit $ac_status); }; }; then
3724 ac_cv_prog_lex_yytext_pointer=yes
3726 echo "$as_me: failed program was:" >&5
3727 sed 's/^/| /' conftest.$ac_ext >&5
3730 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3732 rm -f "${LEX_OUTPUT_ROOT}.c"
3735 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3736 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3737 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3739 cat >>confdefs.h <<\_ACEOF
3740 #define YYTEXT_POINTER 1
3748 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3749 echo "${ECHO_T}$ac_cv_has_flex" >&6
3750 if test "$LEX" != "flex"; then
3751 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3752 echo "$as_me: error: flex not found but required" >&2;}
3753 { (exit 1); exit 1; }; }
3756 echo "$as_me:$LINENO: checking " >&5
3757 echo $ECHO_N "checking ... $ECHO_C" >&6
3758 if test "${ac_cv_has_bison+set}" = set; then
3759 echo $ECHO_N "(cached) $ECHO_C" >&6
3761 for ac_prog in 'bison -y' byacc
3763 # Extract the first word of "$ac_prog", so it can be a program name with args.
3764 set dummy $ac_prog; ac_word=$2
3765 echo "$as_me:$LINENO: checking for $ac_word" >&5
3766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3767 if test "${ac_cv_prog_YACC+set}" = set; then
3768 echo $ECHO_N "(cached) $ECHO_C" >&6
3770 if test -n "$YACC"; then
3771 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777 test -z "$as_dir" && as_dir=.
3778 for ac_exec_ext in '' $ac_executable_extensions; do
3779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3780 ac_cv_prog_YACC="$ac_prog"
3781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 YACC=$ac_cv_prog_YACC
3790 if test -n "$YACC"; then
3791 echo "$as_me:$LINENO: result: $YACC" >&5
3792 echo "${ECHO_T}$YACC" >&6
3794 echo "$as_me:$LINENO: result: no" >&5
3795 echo "${ECHO_T}no" >&6
3798 test -n "$YACC" && break
3800 test -n "$YACC" || YACC="yacc"
3804 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3805 echo "${ECHO_T}$ac_cv_has_bison" >&6
3806 if test "$YACC" != "bison -y"; then
3807 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3808 echo "$as_me: error: bison not found but required" >&2;}
3809 { (exit 1); exit 1; }; }
3816 # Check whether --enable-shared or --disable-shared was given.
3817 if test "${enable_shared+set}" = set; then
3818 enableval="$enable_shared"
3819 p=${PACKAGE-default}
3821 yes) enable_shared=yes ;;
3822 no) enable_shared=no ;;
3825 # Look at the argument we got. We use all the common list separators.
3826 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3827 for pkg in $enableval; do
3829 if test "X$pkg" = "X$p"; then
3840 # Check whether --enable-static or --disable-static was given.
3841 if test "${enable_static+set}" = set; then
3842 enableval="$enable_static"
3843 p=${PACKAGE-default}
3845 yes) enable_static=yes ;;
3846 no) enable_static=no ;;
3849 # Look at the argument we got. We use all the common list separators.
3850 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3851 for pkg in $enableval; do
3853 if test "X$pkg" = "X$p"; then
3864 # Check whether --enable-fast-install or --disable-fast-install was given.
3865 if test "${enable_fast_install+set}" = set; then
3866 enableval="$enable_fast_install"
3867 p=${PACKAGE-default}
3869 yes) enable_fast_install=yes ;;
3870 no) enable_fast_install=no ;;
3872 enable_fast_install=no
3873 # Look at the argument we got. We use all the common list separators.
3874 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3875 for pkg in $enableval; do
3877 if test "X$pkg" = "X$p"; then
3878 enable_fast_install=yes
3885 enable_fast_install=yes
3888 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3889 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3890 if test "${lt_cv_path_SED+set}" = set; then
3891 echo $ECHO_N "(cached) $ECHO_C" >&6
3893 # Loop through the user's path and test for sed and gsed.
3894 # Then use that list of sed's as ones to test for truncation.
3895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3899 test -z "$as_dir" && as_dir=.
3900 for lt_ac_prog in sed gsed; do
3901 for ac_exec_ext in '' $ac_executable_extensions; do
3902 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3903 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3910 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3911 # along with /bin/sed that truncates output.
3912 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3913 test ! -f $lt_ac_sed && break
3914 cat /dev/null > conftest.in
3916 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3917 # Check for GNU sed and select it if it is found.
3918 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3919 lt_cv_path_SED=$lt_ac_sed
3923 cat conftest.in conftest.in >conftest.tmp
3924 mv conftest.tmp conftest.in
3925 cp conftest.in conftest.nl
3927 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3928 cmp -s conftest.out conftest.nl || break
3929 # 10000 chars as input seems more than enough
3930 test $lt_ac_count -gt 10 && break
3931 lt_ac_count=`expr $lt_ac_count + 1`
3932 if test $lt_ac_count -gt $lt_ac_max; then
3933 lt_ac_max=$lt_ac_count
3934 lt_cv_path_SED=$lt_ac_sed
3942 echo "$as_me:$LINENO: result: $SED" >&5
3943 echo "${ECHO_T}$SED" >&6
3945 echo "$as_me:$LINENO: checking for egrep" >&5
3946 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3947 if test "${ac_cv_prog_egrep+set}" = set; then
3948 echo $ECHO_N "(cached) $ECHO_C" >&6
3950 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3951 then ac_cv_prog_egrep='grep -E'
3952 else ac_cv_prog_egrep='egrep'
3955 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3956 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3957 EGREP=$ac_cv_prog_egrep
3961 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3962 if test "${with_gnu_ld+set}" = set; then
3963 withval="$with_gnu_ld"
3964 test "$withval" = no || with_gnu_ld=yes
3969 if test "$GCC" = yes; then
3970 # Check if gcc -print-prog-name=ld gives a path.
3971 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3972 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3975 # gcc leaves a trailing carriage return which upsets mingw
3976 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3978 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3981 # Accept absolute paths.
3983 re_direlt='/[^/][^/]*/\.\./'
3984 # Canonicalize the path of ld
3985 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3986 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3987 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3989 test -z "$LD" && LD="$ac_prog"
3992 # If it fails, then pretend we aren't using GCC.
3996 # If it is relative, then search for the first ld in PATH.
4000 elif test "$with_gnu_ld" = yes; then
4001 echo "$as_me:$LINENO: checking for GNU ld" >&5
4002 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4004 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4005 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4007 if test "${lt_cv_path_LD+set}" = set; then
4008 echo $ECHO_N "(cached) $ECHO_C" >&6
4010 if test -z "$LD"; then
4011 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4012 for ac_dir in $PATH; do
4014 test -z "$ac_dir" && ac_dir=.
4015 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4016 lt_cv_path_LD="$ac_dir/$ac_prog"
4017 # Check to see if the program is GNU ld. I'd rather use --version,
4018 # but apparently some GNU ld's only accept -v.
4019 # Break only if it was the GNU/non-GNU ld that we prefer.
4020 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4021 *GNU* | *'with BFD'*)
4022 test "$with_gnu_ld" != no && break
4025 test "$with_gnu_ld" != yes && break
4032 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4037 if test -n "$LD"; then
4038 echo "$as_me:$LINENO: result: $LD" >&5
4039 echo "${ECHO_T}$LD" >&6
4041 echo "$as_me:$LINENO: result: no" >&5
4042 echo "${ECHO_T}no" >&6
4044 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4045 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4046 { (exit 1); exit 1; }; }
4047 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4048 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4049 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4050 echo $ECHO_N "(cached) $ECHO_C" >&6
4052 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4053 case `"$LD" -v 2>&1 </dev/null` in
4054 *GNU* | *'with BFD'*)
4055 lt_cv_prog_gnu_ld=yes
4058 lt_cv_prog_gnu_ld=no
4062 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4063 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4064 with_gnu_ld=$lt_cv_prog_gnu_ld
4067 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4068 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4069 if test "${lt_cv_ld_reload_flag+set}" = set; then
4070 echo $ECHO_N "(cached) $ECHO_C" >&6
4072 lt_cv_ld_reload_flag='-r'
4074 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4075 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4076 reload_flag=$lt_cv_ld_reload_flag
4077 case $reload_flag in
4079 *) reload_flag=" $reload_flag" ;;
4081 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4083 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4084 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4085 if test "${lt_cv_path_NM+set}" = set; then
4086 echo $ECHO_N "(cached) $ECHO_C" >&6
4088 if test -n "$NM"; then
4089 # Let the user override the test.
4092 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4093 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4095 test -z "$ac_dir" && ac_dir=.
4096 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4097 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4098 # Check to see if the nm accepts a BSD-compat flag.
4099 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4100 # nm: unknown option "B" ignored
4101 # Tru64's nm complains that /dev/null is an invalid object file
4102 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4103 */dev/null* | *'Invalid file or object type'*)
4104 lt_cv_path_NM="$tmp_nm -B"
4108 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4110 lt_cv_path_NM="$tmp_nm -p"
4114 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4115 continue # so that we can try to find one that supports BSD flags
4122 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4125 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4126 echo "${ECHO_T}$lt_cv_path_NM" >&6
4129 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4130 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4132 if test "$LN_S" = "ln -s"; then
4133 echo "$as_me:$LINENO: result: yes" >&5
4134 echo "${ECHO_T}yes" >&6
4136 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4137 echo "${ECHO_T}no, using $LN_S" >&6
4140 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4141 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4142 if test "${lt_cv_deplibs_check_method+set}" = set; then
4143 echo $ECHO_N "(cached) $ECHO_C" >&6
4145 lt_cv_file_magic_cmd='$MAGIC_CMD'
4146 lt_cv_file_magic_test_file=
4147 lt_cv_deplibs_check_method='unknown'
4148 # Need to set the preceding variable on all platforms that support
4149 # interlibrary dependencies.
4150 # 'none' -- dependencies not supported.
4151 # `unknown' -- same as none, but documents that we really don't know.
4152 # 'pass_all' -- all dependencies passed with no checks.
4153 # 'test_compile' -- check by making test program.
4154 # 'file_magic [[regex]]' -- check by looking for files in library path
4155 # which responds to the $file_magic_cmd with a given extended regex.
4156 # If you have `file' or equivalent on your system and you're not sure
4157 # whether `pass_all' will *always* work, you probably want this one.
4161 lt_cv_deplibs_check_method=pass_all
4165 lt_cv_deplibs_check_method=pass_all
4169 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4170 lt_cv_file_magic_cmd='/usr/bin/file -L'
4171 lt_cv_file_magic_test_file=/shlib/libc.so
4174 cygwin* | mingw* | pw32*)
4175 # win32_libid is a shell function defined in ltmain.sh
4176 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4177 lt_cv_file_magic_cmd='win32_libid'
4180 darwin* | rhapsody*)
4181 # this will be overwritten by pass_all, but leave it in just in case
4182 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4183 lt_cv_file_magic_cmd='/usr/bin/file -L'
4185 rhapsody* | darwin1.[012])
4186 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4189 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4192 lt_cv_deplibs_check_method=pass_all
4196 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4199 # Not sure whether the presence of OpenBSD here was a mistake.
4200 # Let's accept both of them until this is cleared up.
4201 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4202 lt_cv_file_magic_cmd=/usr/bin/file
4203 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4207 lt_cv_deplibs_check_method=pass_all
4212 lt_cv_deplibs_check_method=pass_all
4215 hpux10.20* | hpux11*)
4216 lt_cv_file_magic_cmd=/usr/bin/file
4219 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4220 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4223 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]'
4224 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4227 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4228 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4233 irix5* | irix6* | nonstopux*)
4235 irix5* | nonstopux*)
4236 # this will be overridden with pass_all, but let us keep it just in case
4237 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4241 *-32|*"-32 ") libmagic=32-bit;;
4242 *-n32|*"-n32 ") libmagic=N32;;
4243 *-64|*"-64 ") libmagic=64-bit;;
4244 *) libmagic=never-match;;
4246 # this will be overridden with pass_all, but let us keep it just in case
4247 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4250 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4251 lt_cv_deplibs_check_method=pass_all
4254 # This must be Linux ELF.
4257 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4258 lt_cv_deplibs_check_method=pass_all ;;
4260 # glibc up to 2.1.1 does not perform some relocations on ARM
4261 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4263 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4267 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4268 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4270 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4275 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4276 lt_cv_file_magic_cmd=/usr/bin/file
4277 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4281 lt_cv_deplibs_check_method=unknown
4285 lt_cv_file_magic_cmd=/usr/bin/file
4286 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4287 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4288 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4290 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4294 osf3* | osf4* | osf5*)
4295 # this will be overridden with pass_all, but let us keep it just in case
4296 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4297 lt_cv_file_magic_test_file=/shlib/libc.so
4298 lt_cv_deplibs_check_method=pass_all
4302 lt_cv_deplibs_check_method=pass_all
4306 lt_cv_deplibs_check_method=pass_all
4307 lt_cv_file_magic_test_file=/lib/libc.so
4310 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4311 case $host_vendor in
4313 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]'
4314 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4317 lt_cv_deplibs_check_method=pass_all
4320 lt_cv_file_magic_cmd='/bin/file'
4321 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4324 lt_cv_file_magic_cmd='/bin/file'
4325 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4326 lt_cv_file_magic_test_file=/lib/libc.so
4329 lt_cv_deplibs_check_method=pass_all
4334 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4335 lt_cv_deplibs_check_method=pass_all
4340 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4341 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4342 file_magic_cmd=$lt_cv_file_magic_cmd
4343 deplibs_check_method=$lt_cv_deplibs_check_method
4344 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4349 # If no C compiler was specified, use CC.
4352 # Allow CC to be a program name with arguments.
4355 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4356 if test "${enable_libtool_lock+set}" = set; then
4357 enableval="$enable_libtool_lock"
4360 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4362 # Some flags need to be propagated to the compiler or linker for good
4366 # Find out which ABI we are using.
4367 echo 'int i;' > conftest.$ac_ext
4368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4369 (eval $ac_compile) 2>&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); }; then
4373 case `/usr/bin/file conftest.$ac_objext` in
4385 # Find out which ABI we are using.
4386 echo '#line 4386 "configure"' > conftest.$ac_ext
4387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4388 (eval $ac_compile) 2>&5
4390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391 (exit $ac_status); }; then
4392 if test "$lt_cv_prog_gnu_ld" = yes; then
4393 case `/usr/bin/file conftest.$ac_objext` in
4395 LD="${LD-ld} -melf32bsmip"
4398 LD="${LD-ld} -melf32bmipn32"
4401 LD="${LD-ld} -melf64bmip"
4405 case `/usr/bin/file conftest.$ac_objext` in
4421 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4422 # Find out which ABI we are using.
4423 echo 'int i;' > conftest.$ac_ext
4424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4425 (eval $ac_compile) 2>&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); }; then
4429 case "`/usr/bin/file conftest.o`" in
4433 LD="${LD-ld} -m elf_i386"
4436 LD="${LD-ld} -m elf32ppclinux"
4439 LD="${LD-ld} -m elf_s390"
4442 LD="${LD-ld} -m elf32_sparc"
4449 LD="${LD-ld} -m elf_x86_64"
4451 ppc*-*linux*|powerpc*-*linux*)
4452 LD="${LD-ld} -m elf64ppc"
4455 LD="${LD-ld} -m elf64_s390"
4458 LD="${LD-ld} -m elf64_sparc"
4468 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4469 SAVE_CFLAGS="$CFLAGS"
4470 CFLAGS="$CFLAGS -belf"
4471 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4472 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4473 if test "${lt_cv_cc_needs_belf+set}" = set; then
4474 echo $ECHO_N "(cached) $ECHO_C" >&6
4477 ac_cpp='$CPP $CPPFLAGS'
4478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4482 cat >conftest.$ac_ext <<_ACEOF
4483 #line $LINENO "configure"
4486 cat confdefs.h >>conftest.$ac_ext
4487 cat >>conftest.$ac_ext <<_ACEOF
4488 /* end confdefs.h. */
4498 rm -f conftest.$ac_objext conftest$ac_exeext
4499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4500 (eval $ac_link) 2>&5
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); } &&
4504 { ac_try='test -s conftest$ac_exeext'
4505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509 (exit $ac_status); }; }; then
4510 lt_cv_cc_needs_belf=yes
4512 echo "$as_me: failed program was:" >&5
4513 sed 's/^/| /' conftest.$ac_ext >&5
4515 lt_cv_cc_needs_belf=no
4517 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4519 ac_cpp='$CPP $CPPFLAGS'
4520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4525 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4526 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4527 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4528 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4529 CFLAGS="$SAVE_CFLAGS"
4535 need_locks="$enable_libtool_lock"
4539 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4540 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4541 if test "${ac_cv_header_stdc+set}" = set; then
4542 echo $ECHO_N "(cached) $ECHO_C" >&6
4544 cat >conftest.$ac_ext <<_ACEOF
4545 #line $LINENO "configure"
4548 cat confdefs.h >>conftest.$ac_ext
4549 cat >>conftest.$ac_ext <<_ACEOF
4550 /* end confdefs.h. */
4564 rm -f conftest.$ac_objext
4565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4566 (eval $ac_compile) 2>&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); } &&
4570 { ac_try='test -s conftest.$ac_objext'
4571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }; }; then
4576 ac_cv_header_stdc=yes
4578 echo "$as_me: failed program was:" >&5
4579 sed 's/^/| /' conftest.$ac_ext >&5
4581 ac_cv_header_stdc=no
4583 rm -f conftest.$ac_objext conftest.$ac_ext
4585 if test $ac_cv_header_stdc = yes; then
4586 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4587 cat >conftest.$ac_ext <<_ACEOF
4588 #line $LINENO "configure"
4591 cat confdefs.h >>conftest.$ac_ext
4592 cat >>conftest.$ac_ext <<_ACEOF
4593 /* end confdefs.h. */
4597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4598 $EGREP "memchr" >/dev/null 2>&1; then
4601 ac_cv_header_stdc=no
4607 if test $ac_cv_header_stdc = yes; then
4608 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4609 cat >conftest.$ac_ext <<_ACEOF
4610 #line $LINENO "configure"
4613 cat confdefs.h >>conftest.$ac_ext
4614 cat >>conftest.$ac_ext <<_ACEOF
4615 /* end confdefs.h. */
4619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4620 $EGREP "free" >/dev/null 2>&1; then
4623 ac_cv_header_stdc=no
4629 if test $ac_cv_header_stdc = yes; then
4630 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4631 if test "$cross_compiling" = yes; then
4634 cat >conftest.$ac_ext <<_ACEOF
4635 #line $LINENO "configure"
4638 cat confdefs.h >>conftest.$ac_ext
4639 cat >>conftest.$ac_ext <<_ACEOF
4640 /* end confdefs.h. */
4642 #if ((' ' & 0x0FF) == 0x020)
4643 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4644 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4646 # define ISLOWER(c) \
4647 (('a' <= (c) && (c) <= 'i') \
4648 || ('j' <= (c) && (c) <= 'r') \
4649 || ('s' <= (c) && (c) <= 'z'))
4650 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4653 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4658 for (i = 0; i < 256; i++)
4659 if (XOR (islower (i), ISLOWER (i))
4660 || toupper (i) != TOUPPER (i))
4665 rm -f conftest$ac_exeext
4666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4667 (eval $ac_link) 2>&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); }; }; then
4678 echo "$as_me: program exited with status $ac_status" >&5
4679 echo "$as_me: failed program was:" >&5
4680 sed 's/^/| /' conftest.$ac_ext >&5
4683 ac_cv_header_stdc=no
4685 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4689 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4690 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4691 if test $ac_cv_header_stdc = yes; then
4693 cat >>confdefs.h <<\_ACEOF
4694 #define STDC_HEADERS 1
4699 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4709 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4710 inttypes.h stdint.h unistd.h
4712 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4713 echo "$as_me:$LINENO: checking for $ac_header" >&5
4714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4716 echo $ECHO_N "(cached) $ECHO_C" >&6
4718 cat >conftest.$ac_ext <<_ACEOF
4719 #line $LINENO "configure"
4722 cat confdefs.h >>conftest.$ac_ext
4723 cat >>conftest.$ac_ext <<_ACEOF
4724 /* end confdefs.h. */
4725 $ac_includes_default
4727 #include <$ac_header>
4729 rm -f conftest.$ac_objext
4730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4731 (eval $ac_compile) 2>&5
4733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734 (exit $ac_status); } &&
4735 { ac_try='test -s conftest.$ac_objext'
4736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); }; }; then
4741 eval "$as_ac_Header=yes"
4743 echo "$as_me: failed program was:" >&5
4744 sed 's/^/| /' conftest.$ac_ext >&5
4746 eval "$as_ac_Header=no"
4748 rm -f conftest.$ac_objext conftest.$ac_ext
4750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4751 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4752 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4753 cat >>confdefs.h <<_ACEOF
4754 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4763 for ac_header in dlfcn.h
4765 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4767 echo "$as_me:$LINENO: checking for $ac_header" >&5
4768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4770 echo $ECHO_N "(cached) $ECHO_C" >&6
4772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4775 # Is the header compilable?
4776 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4777 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4778 cat >conftest.$ac_ext <<_ACEOF
4779 #line $LINENO "configure"
4782 cat confdefs.h >>conftest.$ac_ext
4783 cat >>conftest.$ac_ext <<_ACEOF
4784 /* end confdefs.h. */
4785 $ac_includes_default
4786 #include <$ac_header>
4788 rm -f conftest.$ac_objext
4789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4790 (eval $ac_compile) 2>&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); } &&
4794 { ac_try='test -s conftest.$ac_objext'
4795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); }; }; then
4800 ac_header_compiler=yes
4802 echo "$as_me: failed program was:" >&5
4803 sed 's/^/| /' conftest.$ac_ext >&5
4805 ac_header_compiler=no
4807 rm -f conftest.$ac_objext conftest.$ac_ext
4808 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4809 echo "${ECHO_T}$ac_header_compiler" >&6
4811 # Is the header present?
4812 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4813 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4814 cat >conftest.$ac_ext <<_ACEOF
4815 #line $LINENO "configure"
4818 cat confdefs.h >>conftest.$ac_ext
4819 cat >>conftest.$ac_ext <<_ACEOF
4820 /* end confdefs.h. */
4821 #include <$ac_header>
4823 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4824 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4826 grep -v '^ *+' conftest.er1 >conftest.err
4828 cat conftest.err >&5
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); } >/dev/null; then
4831 if test -s conftest.err; then
4832 ac_cpp_err=$ac_c_preproc_warn_flag
4839 if test -z "$ac_cpp_err"; then
4840 ac_header_preproc=yes
4842 echo "$as_me: failed program was:" >&5
4843 sed 's/^/| /' conftest.$ac_ext >&5
4845 ac_header_preproc=no
4847 rm -f conftest.err conftest.$ac_ext
4848 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4849 echo "${ECHO_T}$ac_header_preproc" >&6
4851 # So? What about this header?
4852 case $ac_header_compiler:$ac_header_preproc in
4854 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4855 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4856 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4857 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4860 ## ------------------------------------ ##
4861 ## Report this to bug-autoconf@gnu.org. ##
4862 ## ------------------------------------ ##
4865 sed "s/^/$as_me: WARNING: /" >&2
4868 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4869 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4870 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4871 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4873 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4876 ## ------------------------------------ ##
4877 ## Report this to bug-autoconf@gnu.org. ##
4878 ## ------------------------------------ ##
4881 sed "s/^/$as_me: WARNING: /" >&2
4884 echo "$as_me:$LINENO: checking for $ac_header" >&5
4885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4887 echo $ECHO_N "(cached) $ECHO_C" >&6
4889 eval "$as_ac_Header=$ac_header_preproc"
4891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4892 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4895 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4896 cat >>confdefs.h <<_ACEOF
4897 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4905 ac_cpp='$CXXCPP $CPPFLAGS'
4906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4909 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4910 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4911 if test -z "$CXXCPP"; then
4912 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4913 echo $ECHO_N "(cached) $ECHO_C" >&6
4915 # Double quotes because CXXCPP needs to be expanded
4916 for CXXCPP in "$CXX -E" "/lib/cpp"
4919 for ac_cxx_preproc_warn_flag in '' yes
4921 # Use a header file that comes with gcc, so configuring glibc
4922 # with a fresh cross-compiler works.
4923 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4924 # <limits.h> exists even on freestanding compilers.
4925 # On the NeXT, cc -E runs the code through the compiler's parser,
4926 # not just through cpp. "Syntax error" is here to catch this case.
4927 cat >conftest.$ac_ext <<_ACEOF
4928 #line $LINENO "configure"
4931 cat confdefs.h >>conftest.$ac_ext
4932 cat >>conftest.$ac_ext <<_ACEOF
4933 /* end confdefs.h. */
4935 # include <limits.h>
4937 # include <assert.h>
4941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4944 grep -v '^ *+' conftest.er1 >conftest.err
4946 cat conftest.err >&5
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); } >/dev/null; then
4949 if test -s conftest.err; then
4950 ac_cpp_err=$ac_cxx_preproc_warn_flag
4957 if test -z "$ac_cpp_err"; then
4960 echo "$as_me: failed program was:" >&5
4961 sed 's/^/| /' conftest.$ac_ext >&5
4963 # Broken: fails on valid input.
4966 rm -f conftest.err conftest.$ac_ext
4968 # OK, works on sane cases. Now check whether non-existent headers
4969 # can be detected and how.
4970 cat >conftest.$ac_ext <<_ACEOF
4971 #line $LINENO "configure"
4974 cat confdefs.h >>conftest.$ac_ext
4975 cat >>conftest.$ac_ext <<_ACEOF
4976 /* end confdefs.h. */
4977 #include <ac_nonexistent.h>
4979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4980 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4982 grep -v '^ *+' conftest.er1 >conftest.err
4984 cat conftest.err >&5
4985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); } >/dev/null; then
4987 if test -s conftest.err; then
4988 ac_cpp_err=$ac_cxx_preproc_warn_flag
4995 if test -z "$ac_cpp_err"; then
4996 # Broken: success on invalid input.
4999 echo "$as_me: failed program was:" >&5
5000 sed 's/^/| /' conftest.$ac_ext >&5
5002 # Passes both tests.
5006 rm -f conftest.err conftest.$ac_ext
5009 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5010 rm -f conftest.err conftest.$ac_ext
5011 if $ac_preproc_ok; then
5016 ac_cv_prog_CXXCPP=$CXXCPP
5019 CXXCPP=$ac_cv_prog_CXXCPP
5021 ac_cv_prog_CXXCPP=$CXXCPP
5023 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5024 echo "${ECHO_T}$CXXCPP" >&6
5026 for ac_cxx_preproc_warn_flag in '' yes
5028 # Use a header file that comes with gcc, so configuring glibc
5029 # with a fresh cross-compiler works.
5030 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5031 # <limits.h> exists even on freestanding compilers.
5032 # On the NeXT, cc -E runs the code through the compiler's parser,
5033 # not just through cpp. "Syntax error" is here to catch this case.
5034 cat >conftest.$ac_ext <<_ACEOF
5035 #line $LINENO "configure"
5038 cat confdefs.h >>conftest.$ac_ext
5039 cat >>conftest.$ac_ext <<_ACEOF
5040 /* end confdefs.h. */
5042 # include <limits.h>
5044 # include <assert.h>
5048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5049 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5051 grep -v '^ *+' conftest.er1 >conftest.err
5053 cat conftest.err >&5
5054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5055 (exit $ac_status); } >/dev/null; then
5056 if test -s conftest.err; then
5057 ac_cpp_err=$ac_cxx_preproc_warn_flag
5064 if test -z "$ac_cpp_err"; then
5067 echo "$as_me: failed program was:" >&5
5068 sed 's/^/| /' conftest.$ac_ext >&5
5070 # Broken: fails on valid input.
5073 rm -f conftest.err conftest.$ac_ext
5075 # OK, works on sane cases. Now check whether non-existent headers
5076 # can be detected and how.
5077 cat >conftest.$ac_ext <<_ACEOF
5078 #line $LINENO "configure"
5081 cat confdefs.h >>conftest.$ac_ext
5082 cat >>conftest.$ac_ext <<_ACEOF
5083 /* end confdefs.h. */
5084 #include <ac_nonexistent.h>
5086 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5087 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5089 grep -v '^ *+' conftest.er1 >conftest.err
5091 cat conftest.err >&5
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); } >/dev/null; then
5094 if test -s conftest.err; then
5095 ac_cpp_err=$ac_cxx_preproc_warn_flag
5102 if test -z "$ac_cpp_err"; then
5103 # Broken: success on invalid input.
5106 echo "$as_me: failed program was:" >&5
5107 sed 's/^/| /' conftest.$ac_ext >&5
5109 # Passes both tests.
5113 rm -f conftest.err conftest.$ac_ext
5116 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5117 rm -f conftest.err conftest.$ac_ext
5118 if $ac_preproc_ok; then
5121 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5122 See \`config.log' for more details." >&5
5123 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5124 See \`config.log' for more details." >&2;}
5125 { (exit 1); exit 1; }; }
5129 ac_cpp='$CXXCPP $CPPFLAGS'
5130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5136 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5137 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5138 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5139 if test -n "$ac_tool_prefix"; then
5140 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5142 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5143 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5144 echo "$as_me:$LINENO: checking for $ac_word" >&5
5145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5146 if test "${ac_cv_prog_F77+set}" = set; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5149 if test -n "$F77"; then
5150 ac_cv_prog_F77="$F77" # Let the user override the test.
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 test -z "$as_dir" && as_dir=.
5157 for ac_exec_ext in '' $ac_executable_extensions; do
5158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5159 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5169 if test -n "$F77"; then
5170 echo "$as_me:$LINENO: result: $F77" >&5
5171 echo "${ECHO_T}$F77" >&6
5173 echo "$as_me:$LINENO: result: no" >&5
5174 echo "${ECHO_T}no" >&6
5177 test -n "$F77" && break
5180 if test -z "$F77"; then
5182 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5184 # Extract the first word of "$ac_prog", so it can be a program name with args.
5185 set dummy $ac_prog; ac_word=$2
5186 echo "$as_me:$LINENO: checking for $ac_word" >&5
5187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5188 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5189 echo $ECHO_N "(cached) $ECHO_C" >&6
5191 if test -n "$ac_ct_F77"; then
5192 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5198 test -z "$as_dir" && as_dir=.
5199 for ac_exec_ext in '' $ac_executable_extensions; do
5200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5201 ac_cv_prog_ac_ct_F77="$ac_prog"
5202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5210 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5211 if test -n "$ac_ct_F77"; then
5212 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5213 echo "${ECHO_T}$ac_ct_F77" >&6
5215 echo "$as_me:$LINENO: result: no" >&5
5216 echo "${ECHO_T}no" >&6
5219 test -n "$ac_ct_F77" && break
5226 # Provide some information about the compiler.
5227 echo "$as_me:5227:" \
5228 "checking for Fortran 77 compiler version" >&5
5229 ac_compiler=`set X $ac_compile; echo $2`
5230 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5231 (eval $ac_compiler --version </dev/null >&5) 2>&5
5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); }
5235 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5236 (eval $ac_compiler -v </dev/null >&5) 2>&5
5238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5239 (exit $ac_status); }
5240 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5241 (eval $ac_compiler -V </dev/null >&5) 2>&5
5243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5244 (exit $ac_status); }
5246 # If we don't use `.F' as extension, the preprocessor is not run on the
5250 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5251 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5252 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5253 echo $ECHO_N "(cached) $ECHO_C" >&6
5255 cat >conftest.$ac_ext <<_ACEOF
5263 rm -f conftest.$ac_objext
5264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5265 (eval $ac_compile) 2>&5
5267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5268 (exit $ac_status); } &&
5269 { ac_try='test -s conftest.$ac_objext'
5270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); }; }; then
5277 echo "$as_me: failed program was:" >&5
5278 sed 's/^/| /' conftest.$ac_ext >&5
5282 rm -f conftest.$ac_objext conftest.$ac_ext
5283 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5286 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5287 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5289 G77=`test $ac_compiler_gnu = yes && echo yes`
5290 ac_test_FFLAGS=${FFLAGS+set}
5291 ac_save_FFLAGS=$FFLAGS
5293 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5294 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5295 if test "${ac_cv_prog_f77_g+set}" = set; then
5296 echo $ECHO_N "(cached) $ECHO_C" >&6
5299 cat >conftest.$ac_ext <<_ACEOF
5304 rm -f conftest.$ac_objext
5305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5306 (eval $ac_compile) 2>&5
5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 (exit $ac_status); } &&
5310 { ac_try='test -s conftest.$ac_objext'
5311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315 (exit $ac_status); }; }; then
5316 ac_cv_prog_f77_g=yes
5318 echo "$as_me: failed program was:" >&5
5319 sed 's/^/| /' conftest.$ac_ext >&5
5323 rm -f conftest.$ac_objext conftest.$ac_ext
5326 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5327 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5328 if test "$ac_test_FFLAGS" = set; then
5329 FFLAGS=$ac_save_FFLAGS
5330 elif test $ac_cv_prog_f77_g = yes; then
5331 if test "$G77" = yes; then
5337 if test "$G77" = yes; then
5344 ac_cpp='$CPP $CPPFLAGS'
5345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5351 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5353 # find the maximum length of command line arguments
5354 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5355 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5356 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5357 echo $ECHO_N "(cached) $ECHO_C" >&6
5364 # On DJGPP, this test can blow up pretty badly due to problems in libc
5365 # (any single argument exceeding 2000 bytes causes a buffer overrun
5366 # during glob expansion). Even if it were fixed, the result of this
5367 # check would be larger than it should be.
5368 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5372 # Under GNU Hurd, this test is not required because there is
5373 # no limit to the length of command line arguments.
5374 # Libtool will interpret -1 as no limit whatsoever
5375 lt_cv_sys_max_cmd_len=-1;
5379 # On Win9x/ME, this test blows up -- it succeeds, but takes
5380 # about 5 minutes as the teststring grows exponentially.
5381 # Worse, since 9x/ME are not pre-emptively multitasking,
5382 # you end up with a "frozen" computer, even though with patience
5383 # the test eventually succeeds (with a max line length of 256k).
5384 # Instead, let's just punt: use the minimum linelength reported by
5385 # all of the supported platforms: 8192 (on NT/2K/XP).
5386 lt_cv_sys_max_cmd_len=8192;
5390 # If test is not a shell built-in, we'll probably end up computing a
5391 # maximum length that is only half of the actual maximum length, but
5393 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5394 = "XX$testring") >/dev/null 2>&1 &&
5395 new_result=`expr "X$testring" : ".*" 2>&1` &&
5396 lt_cv_sys_max_cmd_len=$new_result &&
5397 test $i != 17 # 1/2 MB should be enough
5400 testring=$testring$testring
5403 # Add a significant safety factor because C++ compilers can tack on massive
5404 # amounts of additional arguments before passing them to the linker.
5405 # It appears as though 1/2 is a usable value.
5406 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5412 if test -n $lt_cv_sys_max_cmd_len ; then
5413 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5414 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5416 echo "$as_me:$LINENO: result: none" >&5
5417 echo "${ECHO_T}none" >&6
5423 # Check for command to grab the raw symbol name followed by C symbol from nm.
5424 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5425 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5426 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5427 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 # These are sane defaults that work on at least a few old systems.
5431 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5433 # Character class describing NM global symbol codes.
5434 symcode='[BCDEGRST]'
5436 # Regexp to match symbols that can be accessed directly from C.
5437 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5439 # Transform the above into a raw symbol and a C symbol.
5440 symxfrm='\1 \2\3 \3'
5442 # Transform an extracted symbol line into a proper C declaration
5443 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5445 # Transform an extracted symbol line into symbol name and symbol address
5446 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'"
5448 # Define system-specific variables.
5453 cygwin* | mingw* | pw32*)
5454 symcode='[ABCDGISTW]'
5456 hpux*) # Its linker distinguishes data from code symbols
5457 if test "$host_cpu" = ia64; then
5458 symcode='[ABCDEGRST]'
5460 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5461 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'"
5464 symcode='[BCDEGRST]'
5467 symcode='[BCDEGQRST]'
5477 # Handle CRLF in mingw tool chain
5481 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5485 # If we're using GNU nm, then use its standard symbol codes.
5486 case `$NM -V 2>&1` in
5487 *GNU* | *'with BFD'*)
5488 symcode='[ABCDGISTW]' ;;
5491 # Try without a prefix undercore, then with it.
5492 for ac_symprfx in "" "_"; do
5494 # Write the raw and C identifiers.
5495 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5497 # Check to see that the pipe works correctly.
5501 cat > conftest.$ac_ext <<EOF
5506 void nm_test_func(){}
5510 int main(){nm_test_var='a';nm_test_func();return(0);}
5513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5514 (eval $ac_compile) 2>&5
5516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517 (exit $ac_status); }; then
5518 # Now try to grab the symbols.
5520 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5521 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); } && test -s "$nlist"; then
5525 # Try sorting and uniquifying the output.
5526 if sort "$nlist" | uniq > "$nlist"T; then
5527 mv -f "$nlist"T "$nlist"
5532 # Make sure that we snagged all the symbols we need.
5533 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5534 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5535 cat <<EOF > conftest.$ac_ext
5541 # Now generate the symbol file.
5542 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5544 cat <<EOF >> conftest.$ac_ext
5545 #if defined (__STDC__) && __STDC__
5546 # define lt_ptr_t void *
5548 # define lt_ptr_t char *
5552 /* The mapping between symbol names and symbols. */
5557 lt_preloaded_symbols[] =
5560 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5561 cat <<\EOF >> conftest.$ac_ext
5569 # Now try linking the two files.
5570 mv conftest.$ac_objext conftstm.$ac_objext
5571 lt_save_LIBS="$LIBS"
5572 lt_save_CFLAGS="$CFLAGS"
5573 LIBS="conftstm.$ac_objext"
5574 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5576 (eval $ac_link) 2>&5
5578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5579 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5582 LIBS="$lt_save_LIBS"
5583 CFLAGS="$lt_save_CFLAGS"
5585 echo "cannot find nm_test_func in $nlist" >&5
5588 echo "cannot find nm_test_var in $nlist" >&5
5591 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5594 echo "$progname: failed program was:" >&5
5595 cat conftest.$ac_ext >&5
5597 rm -f conftest* conftst*
5599 # Do not use the global_symbol_pipe unless it works.
5600 if test "$pipe_works" = yes; then
5603 lt_cv_sys_global_symbol_pipe=
5609 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5610 lt_cv_sys_global_symbol_to_cdecl=
5612 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5613 echo "$as_me:$LINENO: result: failed" >&5
5614 echo "${ECHO_T}failed" >&6
5616 echo "$as_me:$LINENO: result: ok" >&5
5617 echo "${ECHO_T}ok" >&6
5620 echo "$as_me:$LINENO: checking for objdir" >&5
5621 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5622 if test "${lt_cv_objdir+set}" = set; then
5623 echo $ECHO_N "(cached) $ECHO_C" >&6
5625 rm -f .libs 2>/dev/null
5626 mkdir .libs 2>/dev/null
5627 if test -d .libs; then
5630 # MS-DOS does not allow filenames that begin with a dot.
5633 rmdir .libs 2>/dev/null
5635 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5636 echo "${ECHO_T}$lt_cv_objdir" >&6
5637 objdir=$lt_cv_objdir
5645 # AIX sometimes has problems with the GCC collect2 program. For some
5646 # reason, if we set the COLLECT_NAMES environment variable, the problems
5647 # vanish in a puff of smoke.
5648 if test "X${COLLECT_NAMES+set}" != Xset; then
5650 export COLLECT_NAMES
5655 # Sed substitution that helps us do robust quoting. It backslashifies
5656 # metacharacters that are still active within double-quoted strings.
5657 Xsed='sed -e s/^X//'
5658 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5660 # Same as above, but do not quote variable references.
5661 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5663 # Sed substitution to delay expansion of an escaped shell variable in a
5664 # double_quote_subst'ed string.
5665 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5667 # Sed substitution to avoid accidental globbing in evaled expressions
5668 no_glob_subst='s/\*/\\\*/g'
5675 can_build_shared=yes
5677 # All known linkers require a `.a' archive for static linking (except M$VC,
5678 # which needs '.lib').
5680 ltmain="$ac_aux_dir/ltmain.sh"
5681 ofile="$default_ofile"
5682 with_gnu_ld="$lt_cv_prog_gnu_ld"
5684 if test -n "$ac_tool_prefix"; then
5685 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5686 set dummy ${ac_tool_prefix}ar; ac_word=$2
5687 echo "$as_me:$LINENO: checking for $ac_word" >&5
5688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5689 if test "${ac_cv_prog_AR+set}" = set; then
5690 echo $ECHO_N "(cached) $ECHO_C" >&6
5692 if test -n "$AR"; then
5693 ac_cv_prog_AR="$AR" # Let the user override the test.
5695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 test -z "$as_dir" && as_dir=.
5700 for ac_exec_ext in '' $ac_executable_extensions; do
5701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5702 ac_cv_prog_AR="${ac_tool_prefix}ar"
5703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5712 if test -n "$AR"; then
5713 echo "$as_me:$LINENO: result: $AR" >&5
5714 echo "${ECHO_T}$AR" >&6
5716 echo "$as_me:$LINENO: result: no" >&5
5717 echo "${ECHO_T}no" >&6
5721 if test -z "$ac_cv_prog_AR"; then
5723 # Extract the first word of "ar", so it can be a program name with args.
5724 set dummy ar; ac_word=$2
5725 echo "$as_me:$LINENO: checking for $ac_word" >&5
5726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5727 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5728 echo $ECHO_N "(cached) $ECHO_C" >&6
5730 if test -n "$ac_ct_AR"; then
5731 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737 test -z "$as_dir" && as_dir=.
5738 for ac_exec_ext in '' $ac_executable_extensions; do
5739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5740 ac_cv_prog_ac_ct_AR="ar"
5741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5747 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5750 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5751 if test -n "$ac_ct_AR"; then
5752 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5753 echo "${ECHO_T}$ac_ct_AR" >&6
5755 echo "$as_me:$LINENO: result: no" >&5
5756 echo "${ECHO_T}no" >&6
5764 if test -n "$ac_tool_prefix"; then
5765 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5766 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5767 echo "$as_me:$LINENO: checking for $ac_word" >&5
5768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5769 if test "${ac_cv_prog_RANLIB+set}" = set; then
5770 echo $ECHO_N "(cached) $ECHO_C" >&6
5772 if test -n "$RANLIB"; then
5773 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779 test -z "$as_dir" && as_dir=.
5780 for ac_exec_ext in '' $ac_executable_extensions; do
5781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5782 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5791 RANLIB=$ac_cv_prog_RANLIB
5792 if test -n "$RANLIB"; then
5793 echo "$as_me:$LINENO: result: $RANLIB" >&5
5794 echo "${ECHO_T}$RANLIB" >&6
5796 echo "$as_me:$LINENO: result: no" >&5
5797 echo "${ECHO_T}no" >&6
5801 if test -z "$ac_cv_prog_RANLIB"; then
5802 ac_ct_RANLIB=$RANLIB
5803 # Extract the first word of "ranlib", so it can be a program name with args.
5804 set dummy ranlib; ac_word=$2
5805 echo "$as_me:$LINENO: checking for $ac_word" >&5
5806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5807 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5808 echo $ECHO_N "(cached) $ECHO_C" >&6
5810 if test -n "$ac_ct_RANLIB"; then
5811 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 test -z "$as_dir" && as_dir=.
5818 for ac_exec_ext in '' $ac_executable_extensions; do
5819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5820 ac_cv_prog_ac_ct_RANLIB="ranlib"
5821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5827 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5830 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5831 if test -n "$ac_ct_RANLIB"; then
5832 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5833 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5835 echo "$as_me:$LINENO: result: no" >&5
5836 echo "${ECHO_T}no" >&6
5839 RANLIB=$ac_ct_RANLIB
5841 RANLIB="$ac_cv_prog_RANLIB"
5844 if test -n "$ac_tool_prefix"; then
5845 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5846 set dummy ${ac_tool_prefix}strip; ac_word=$2
5847 echo "$as_me:$LINENO: checking for $ac_word" >&5
5848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5849 if test "${ac_cv_prog_STRIP+set}" = set; then
5850 echo $ECHO_N "(cached) $ECHO_C" >&6
5852 if test -n "$STRIP"; then
5853 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5859 test -z "$as_dir" && as_dir=.
5860 for ac_exec_ext in '' $ac_executable_extensions; do
5861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5862 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5871 STRIP=$ac_cv_prog_STRIP
5872 if test -n "$STRIP"; then
5873 echo "$as_me:$LINENO: result: $STRIP" >&5
5874 echo "${ECHO_T}$STRIP" >&6
5876 echo "$as_me:$LINENO: result: no" >&5
5877 echo "${ECHO_T}no" >&6
5881 if test -z "$ac_cv_prog_STRIP"; then
5883 # Extract the first word of "strip", so it can be a program name with args.
5884 set dummy strip; ac_word=$2
5885 echo "$as_me:$LINENO: checking for $ac_word" >&5
5886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5887 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5888 echo $ECHO_N "(cached) $ECHO_C" >&6
5890 if test -n "$ac_ct_STRIP"; then
5891 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897 test -z "$as_dir" && as_dir=.
5898 for ac_exec_ext in '' $ac_executable_extensions; do
5899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5900 ac_cv_prog_ac_ct_STRIP="strip"
5901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5910 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5911 if test -n "$ac_ct_STRIP"; then
5912 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5913 echo "${ECHO_T}$ac_ct_STRIP" >&6
5915 echo "$as_me:$LINENO: result: no" >&5
5916 echo "${ECHO_T}no" >&6
5921 STRIP="$ac_cv_prog_STRIP"
5926 old_CFLAGS="$CFLAGS"
5928 # Set sane defaults for various variables
5929 test -z "$AR" && AR=ar
5930 test -z "$AR_FLAGS" && AR_FLAGS=cru
5931 test -z "$AS" && AS=as
5932 test -z "$CC" && CC=cc
5933 test -z "$LTCC" && LTCC=$CC
5934 test -z "$DLLTOOL" && DLLTOOL=dlltool
5935 test -z "$LD" && LD=ld
5936 test -z "$LN_S" && LN_S="ln -s"
5937 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5938 test -z "$NM" && NM=nm
5939 test -z "$SED" && SED=sed
5940 test -z "$OBJDUMP" && OBJDUMP=objdump
5941 test -z "$RANLIB" && RANLIB=:
5942 test -z "$STRIP" && STRIP=:
5943 test -z "$ac_objext" && ac_objext=o
5945 # Determine commands to create old-style static archives.
5946 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5947 old_postinstall_cmds='chmod 644 $oldlib'
5948 old_postuninstall_cmds=
5950 if test -n "$RANLIB"; then
5953 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5956 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5959 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5962 # Only perform the check for file, if the check method requires it
5963 case $deplibs_check_method in
5965 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5966 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5967 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5968 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5969 echo $ECHO_N "(cached) $ECHO_C" >&6
5973 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5976 lt_save_MAGIC_CMD="$MAGIC_CMD"
5977 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5978 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5979 for ac_dir in $ac_dummy; do
5981 test -z "$ac_dir" && ac_dir=.
5982 if test -f $ac_dir/${ac_tool_prefix}file; then
5983 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5984 if test -n "$file_magic_test_file"; then
5985 case $deplibs_check_method in
5987 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5988 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5989 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5990 $EGREP "$file_magic_regex" > /dev/null; then
5995 *** Warning: the command libtool uses to detect shared libraries,
5996 *** $file_magic_cmd, produces output that libtool cannot recognize.
5997 *** The result is that libtool may fail to recognize shared libraries
5998 *** as such. This will affect the creation of libtool libraries that
5999 *** depend on shared libraries, but programs linked with such libtool
6000 *** libraries will work regardless of this problem. Nevertheless, you
6001 *** may want to report the problem to your system manager and/or to
6002 *** bug-libtool@gnu.org
6012 MAGIC_CMD="$lt_save_MAGIC_CMD"
6017 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6018 if test -n "$MAGIC_CMD"; then
6019 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6020 echo "${ECHO_T}$MAGIC_CMD" >&6
6022 echo "$as_me:$LINENO: result: no" >&5
6023 echo "${ECHO_T}no" >&6
6026 if test -z "$lt_cv_path_MAGIC_CMD"; then
6027 if test -n "$ac_tool_prefix"; then
6028 echo "$as_me:$LINENO: checking for file" >&5
6029 echo $ECHO_N "checking for file... $ECHO_C" >&6
6030 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6031 echo $ECHO_N "(cached) $ECHO_C" >&6
6035 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6038 lt_save_MAGIC_CMD="$MAGIC_CMD"
6039 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6040 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6041 for ac_dir in $ac_dummy; do
6043 test -z "$ac_dir" && ac_dir=.
6044 if test -f $ac_dir/file; then
6045 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6046 if test -n "$file_magic_test_file"; then
6047 case $deplibs_check_method in
6049 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6050 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6051 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6052 $EGREP "$file_magic_regex" > /dev/null; then
6057 *** Warning: the command libtool uses to detect shared libraries,
6058 *** $file_magic_cmd, produces output that libtool cannot recognize.
6059 *** The result is that libtool may fail to recognize shared libraries
6060 *** as such. This will affect the creation of libtool libraries that
6061 *** depend on shared libraries, but programs linked with such libtool
6062 *** libraries will work regardless of this problem. Nevertheless, you
6063 *** may want to report the problem to your system manager and/or to
6064 *** bug-libtool@gnu.org
6074 MAGIC_CMD="$lt_save_MAGIC_CMD"
6079 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6080 if test -n "$MAGIC_CMD"; then
6081 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6082 echo "${ECHO_T}$MAGIC_CMD" >&6
6084 echo "$as_me:$LINENO: result: no" >&5
6085 echo "${ECHO_T}no" >&6
6100 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6101 if test "${enable_libtool_lock+set}" = set; then
6102 enableval="$enable_libtool_lock"
6105 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6108 # Check whether --with-pic or --without-pic was given.
6109 if test "${with_pic+set}" = set; then
6115 test -z "$pic_mode" && pic_mode=default
6117 # Use C for the default configuration in the libtool script
6121 ac_cpp='$CPP $CPPFLAGS'
6122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6127 # Source file extension for C test sources.
6130 # Object file extension for compiled C test sources.
6134 # Code to be used in simple compile tests
6135 lt_simple_compile_test_code="int some_variable = 0;\n"
6137 # Code to be used in simple link tests
6138 lt_simple_link_test_code='int main(){return(0);}\n'
6141 # If no C compiler was specified, use CC.
6144 # Allow CC to be a program name with arguments.
6149 # Check for any special shared library compilation flags.
6152 if test "$GCC" = no; then
6155 lt_prog_cc_shlib='-belf'
6159 if test -n "$lt_prog_cc_shlib"; then
6160 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6161 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6162 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6164 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6165 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6166 lt_cv_prog_cc_can_build_shared=no
6172 # Check to make sure the static flag actually works.
6174 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6175 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6176 if test "${lt_prog_compiler_static_works+set}" = set; then
6177 echo $ECHO_N "(cached) $ECHO_C" >&6
6179 lt_prog_compiler_static_works=no
6180 save_LDFLAGS="$LDFLAGS"
6181 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6182 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6183 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6184 # The compiler can only warn and ignore the option if not recognized
6185 # So say no if there are warnings
6186 if test -s conftest.err; then
6187 # Append any errors to the config.log.
6188 cat conftest.err 1>&5
6190 lt_prog_compiler_static_works=yes
6194 LDFLAGS="$save_LDFLAGS"
6197 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6198 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6200 if test x"$lt_prog_compiler_static_works" = xyes; then
6203 lt_prog_compiler_static=
6209 ## There is no encapsulation within the following macros, do not change
6210 ## the running order or otherwise move them around unless you know exactly
6211 ## what you are doing...
6213 lt_prog_compiler_no_builtin_flag=
6215 if test "$GCC" = yes; then
6216 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6218 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6219 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6220 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6221 echo $ECHO_N "(cached) $ECHO_C" >&6
6223 lt_cv_prog_compiler_rtti_exceptions=no
6224 ac_outfile=conftest.$ac_objext
6225 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6226 lt_compiler_flag="-fno-rtti -fno-exceptions"
6227 # Insert the option either (1) after the last *FLAGS variable, or
6228 # (2) before a word containing "conftest.", or (3) at the end.
6229 # Note that $ac_compile itself does not contain backslashes and begins
6230 # with a dollar sign (not a hyphen), so the echo should work correctly.
6231 # The option is referenced via a variable to avoid confusing sed.
6232 lt_compile=`echo "$ac_compile" | $SED \
6233 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6234 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6235 -e 's:$: $lt_compiler_flag:'`
6236 (eval echo "\"\$as_me:6236: $lt_compile\"" >&5)
6237 (eval "$lt_compile" 2>conftest.err)
6239 cat conftest.err >&5
6240 echo "$as_me:6240: \$? = $ac_status" >&5
6241 if (exit $ac_status) && test -s "$ac_outfile"; then
6242 # The compiler can only warn and ignore the option if not recognized
6243 # So say no if there are warnings
6244 if test ! -s conftest.err; then
6245 lt_cv_prog_compiler_rtti_exceptions=yes
6251 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6252 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6254 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6255 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6262 lt_prog_compiler_wl=
6263 lt_prog_compiler_pic=
6264 lt_prog_compiler_static=
6266 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6267 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6269 if test "$GCC" = yes; then
6270 lt_prog_compiler_wl='-Wl,'
6271 lt_prog_compiler_static='-static'
6275 # All AIX code is PIC.
6276 if test "$host_cpu" = ia64; then
6277 # AIX 5 now supports IA64 processor
6278 lt_prog_compiler_static='-Bstatic'
6283 # FIXME: we need at least 68020 code to build shared libraries, but
6284 # adding the `-m68020' flag to GCC prevents building anything better,
6286 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6289 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6290 # PIC is the default for these OSes.
6293 mingw* | pw32* | os2*)
6294 # This hack is so that the source file can tell whether it is being
6295 # built for inclusion in a dll (and should export symbols for example).
6296 lt_prog_compiler_pic='-DDLL_EXPORT'
6299 darwin* | rhapsody*)
6300 # PIC is the default on this platform
6301 # Common symbols not allowed in MH_DYLIB files
6302 lt_prog_compiler_pic='-fno-common'
6306 # Just because we use GCC doesn't mean we suddenly get shared libraries
6307 # on systems that don't support them.
6308 lt_prog_compiler_can_build_shared=no
6313 if test -d /usr/nec; then
6314 lt_prog_compiler_pic=-Kconform_pic
6319 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6326 lt_prog_compiler_pic='-fPIC'
6332 lt_prog_compiler_pic='-fPIC'
6336 # PORTME Check for flag to pass linker flags through the system compiler.
6339 lt_prog_compiler_wl='-Wl,'
6340 if test "$host_cpu" = ia64; then
6341 # AIX 5 now supports IA64 processor
6342 lt_prog_compiler_static='-Bstatic'
6344 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6348 mingw* | pw32* | os2*)
6349 # This hack is so that the source file can tell whether it is being
6350 # built for inclusion in a dll (and should export symbols for example).
6351 lt_prog_compiler_pic='-DDLL_EXPORT'
6354 hpux9* | hpux10* | hpux11*)
6355 lt_prog_compiler_wl='-Wl,'
6356 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6363 lt_prog_compiler_pic='+Z'
6366 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6367 lt_prog_compiler_static='${wl}-a ${wl}archive'
6370 irix5* | irix6* | nonstopux*)
6371 lt_prog_compiler_wl='-Wl,'
6372 # PIC (with -KPIC) is the default.
6373 lt_prog_compiler_static='-non_shared'
6377 lt_prog_compiler_pic='-KPIC'
6378 lt_prog_compiler_static='-Bstatic'
6384 lt_prog_compiler_wl='-Wl,'
6385 lt_prog_compiler_pic='-KPIC'
6386 lt_prog_compiler_static='-static'
6389 lt_prog_compiler_wl='-Wl,'
6390 # All Alpha code is PIC.
6391 lt_prog_compiler_static='-non_shared'
6396 osf3* | osf4* | osf5*)
6397 lt_prog_compiler_wl='-Wl,'
6398 # All OSF/1 code is PIC.
6399 lt_prog_compiler_static='-non_shared'
6403 lt_prog_compiler_pic='-Kpic'
6404 lt_prog_compiler_static='-dn'
6408 lt_prog_compiler_wl='-Wl,'
6409 lt_prog_compiler_pic='-KPIC'
6410 lt_prog_compiler_static='-Bstatic'
6414 lt_prog_compiler_wl='-Qoption ld '
6415 lt_prog_compiler_pic='-PIC'
6416 lt_prog_compiler_static='-Bstatic'
6419 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6420 lt_prog_compiler_wl='-Wl,'
6421 lt_prog_compiler_pic='-KPIC'
6422 lt_prog_compiler_static='-Bstatic'
6426 if test -d /usr/nec ;then
6427 lt_prog_compiler_pic='-Kconform_pic'
6428 lt_prog_compiler_static='-Bstatic'
6433 lt_prog_compiler_pic='-pic'
6434 lt_prog_compiler_static='-Bstatic'
6438 lt_prog_compiler_can_build_shared=no
6443 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6444 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6447 # Check to make sure the PIC flag actually works.
6449 if test -n "$lt_prog_compiler_pic"; then
6450 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6451 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6452 if test "${lt_prog_compiler_pic_works+set}" = set; then
6453 echo $ECHO_N "(cached) $ECHO_C" >&6
6455 lt_prog_compiler_pic_works=no
6456 ac_outfile=conftest.$ac_objext
6457 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6458 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6459 # Insert the option either (1) after the last *FLAGS variable, or
6460 # (2) before a word containing "conftest.", or (3) at the end.
6461 # Note that $ac_compile itself does not contain backslashes and begins
6462 # with a dollar sign (not a hyphen), so the echo should work correctly.
6463 # The option is referenced via a variable to avoid confusing sed.
6464 lt_compile=`echo "$ac_compile" | $SED \
6465 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6466 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6467 -e 's:$: $lt_compiler_flag:'`
6468 (eval echo "\"\$as_me:6468: $lt_compile\"" >&5)
6469 (eval "$lt_compile" 2>conftest.err)
6471 cat conftest.err >&5
6472 echo "$as_me:6472: \$? = $ac_status" >&5
6473 if (exit $ac_status) && test -s "$ac_outfile"; then
6474 # The compiler can only warn and ignore the option if not recognized
6475 # So say no if there are warnings
6476 if test ! -s conftest.err; then
6477 lt_prog_compiler_pic_works=yes
6483 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6484 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6486 if test x"$lt_prog_compiler_pic_works" = xyes; then
6487 case $lt_prog_compiler_pic in
6489 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6492 lt_prog_compiler_pic=
6493 lt_prog_compiler_can_build_shared=no
6498 # For platforms which do not support PIC, -DPIC is meaningless:
6500 lt_prog_compiler_pic=
6503 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6507 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6508 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6509 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6510 echo $ECHO_N "(cached) $ECHO_C" >&6
6512 lt_cv_prog_compiler_c_o=no
6513 $rm -r conftest 2>/dev/null
6517 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6519 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6520 # that will create temporary files in the current directory regardless of
6521 # the output directory. Thus, making CWD read-only will cause this test
6522 # to fail, enabling locking or at least warning the user not to do parallel
6526 lt_compiler_flag="-o out/conftest2.$ac_objext"
6527 # Insert the option either (1) after the last *FLAGS variable, or
6528 # (2) before a word containing "conftest.", or (3) at the end.
6529 # Note that $ac_compile itself does not contain backslashes and begins
6530 # with a dollar sign (not a hyphen), so the echo should work correctly.
6531 lt_compile=`echo "$ac_compile" | $SED \
6532 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6533 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6534 -e 's:$: $lt_compiler_flag:'`
6535 (eval echo "\"\$as_me:6535: $lt_compile\"" >&5)
6536 (eval "$lt_compile" 2>out/conftest.err)
6538 cat out/conftest.err >&5
6539 echo "$as_me:6539: \$? = $ac_status" >&5
6540 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6542 # The compiler can only warn and ignore the option if not recognized
6543 # So say no if there are warnings
6544 if test ! -s out/conftest.err; then
6545 lt_cv_prog_compiler_c_o=yes
6556 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6557 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6560 hard_links="nottested"
6561 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6562 # do not overwrite the value of need_locks provided by the user
6563 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6564 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6567 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6569 ln conftest.a conftest.b 2>&5 || hard_links=no
6570 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6571 echo "$as_me:$LINENO: result: $hard_links" >&5
6572 echo "${ECHO_T}$hard_links" >&6
6573 if test "$hard_links" = no; then
6574 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6575 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6582 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6583 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6586 allow_undefined_flag=
6587 enable_shared_with_static_runtimes=no
6589 archive_expsym_cmds=
6590 old_archive_From_new_cmds=
6591 old_archive_from_expsyms_cmds=
6592 export_dynamic_flag_spec=
6593 whole_archive_flag_spec=
6594 thread_safe_flag_spec=
6595 hardcode_libdir_flag_spec=
6596 hardcode_libdir_flag_spec_ld=
6597 hardcode_libdir_separator=
6600 hardcode_shlibpath_var=unsupported
6601 link_all_deplibs=unknown
6602 hardcode_automatic=no
6605 always_export_symbols=no
6606 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6607 # include_expsyms should be a list of space-separated symbols to be *always*
6608 # included in the symbol list
6610 # exclude_expsyms can be an extended regexp of symbols to exclude
6611 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6612 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6613 # as well as any symbol that contains `d'.
6614 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6615 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6616 # platforms (ab)use it in PIC code, but their linkers get confused if
6617 # the symbol is explicitly referenced. Since portable code cannot
6618 # rely on this symbol name, it's probably fine to never include it in
6619 # preloaded symbol tables.
6620 extract_expsyms_cmds=
6623 cygwin* | mingw* | pw32*)
6624 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6625 # When not using gcc, we currently assume that we are using
6626 # Microsoft Visual C++.
6627 if test "$GCC" != yes; then
6637 if test "$with_gnu_ld" = yes; then
6638 # If archive_cmds runs LD, not CC, wlarc should be empty
6641 # See if GNU ld supports shared libraries.
6643 aix3* | aix4* | aix5*)
6644 # On AIX/PPC, the GNU linker is very broken
6645 if test "$host_cpu" != ia64; then
6649 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6650 *** to be unable to reliably create shared libraries on AIX.
6651 *** Therefore, libtool is disabling shared libraries support. If you
6652 *** really care for shared libraries, you may want to modify your PATH
6653 *** so that a non-GNU linker is found, and then restart.
6660 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)'
6661 hardcode_libdir_flag_spec='-L$libdir'
6662 hardcode_minus_L=yes
6664 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6665 # that the semantics of dynamic libraries on AmigaOS, at least up
6666 # to version 4, is to share data among multiple programs linked
6667 # with the same dynamic library. Since this doesn't match the
6668 # behavior of shared libraries on other platforms, we can't use
6674 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6675 allow_undefined_flag=unsupported
6676 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6677 # support --undefined. This deserves some investigation. FIXME
6678 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6684 cygwin* | mingw* | pw32*)
6685 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6686 # as there is no search path for DLLs.
6687 hardcode_libdir_flag_spec='-L$libdir'
6688 allow_undefined_flag=unsupported
6689 always_export_symbols=no
6690 enable_shared_with_static_runtimes=yes
6691 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6693 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6694 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6695 # If the export-symbols file already is a .def file (1st line
6696 # is EXPORTS), use it as is; otherwise, prepend...
6697 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6698 cp $export_symbols $output_objdir/$soname.def;
6700 echo EXPORTS > $output_objdir/$soname.def;
6701 cat $export_symbols >> $output_objdir/$soname.def;
6703 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6710 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6711 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6714 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6715 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6720 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6724 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6725 *** create shared libraries on Solaris systems. Therefore, libtool
6726 *** is disabling shared libraries support. We urge you to upgrade GNU
6727 *** binutils to release 2.9.1 or newer. Another option is to modify
6728 *** your PATH or compiler configuration so that the native linker is
6729 *** used, and then restart.
6732 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6733 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6734 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6741 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6744 hardcode_shlibpath_var=no
6748 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6749 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6750 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6757 if test "$ld_shlibs" = yes; then
6758 runpath_var=LD_RUN_PATH
6759 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6760 export_dynamic_flag_spec='${wl}--export-dynamic'
6761 # ancient GNU ld didn't support --whole-archive et. al.
6762 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6763 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6765 whole_archive_flag_spec=
6769 # PORTME fill in a description of your system's linker (not GNU ld)
6772 allow_undefined_flag=unsupported
6773 always_export_symbols=yes
6774 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'
6775 # Note: this linker hardcodes the directories in LIBPATH if there
6776 # are no directories specified by -L.
6777 hardcode_minus_L=yes
6778 if test "$GCC" = yes && test -z "$link_static_flag"; then
6779 # Neither direct hardcoding nor static linking is supported with a
6781 hardcode_direct=unsupported
6786 if test "$host_cpu" = ia64; then
6787 # On IA64, the linker does run time linking by default, so we don't
6788 # have to do anything special.
6789 aix_use_runtimelinking=no
6790 exp_sym_flag='-Bexport'
6793 # If we're using GNU nm, then we don't want the "-C" option.
6794 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6795 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6796 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'
6798 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'
6800 aix_use_runtimelinking=no
6802 # Test if we are trying to use run time linking or normal
6803 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6804 # need to do runtime linking.
6805 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6806 for ld_flag in $LDFLAGS; do
6807 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6808 aix_use_runtimelinking=yes
6814 exp_sym_flag='-bexport'
6815 no_entry_flag='-bnoentry'
6818 # When large executables or shared objects are built, AIX ld can
6819 # have problems creating the table of contents. If linking a library
6820 # or program results in "error TOC overflow" add -mminimal-toc to
6821 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6822 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6826 hardcode_libdir_separator=':'
6827 link_all_deplibs=yes
6829 if test "$GCC" = yes; then
6830 case $host_os in aix4.012|aix4.012.*)
6831 # We only want to do this on AIX 4.2 and lower, the check
6832 # below for broken collect2 doesn't work under 4.3+
6833 collect2name=`${CC} -print-prog-name=collect2`
6834 if test -f "$collect2name" && \
6835 strings "$collect2name" | grep resolve_lib_name >/dev/null
6837 # We have reworked collect2
6840 # We have old collect2
6841 hardcode_direct=unsupported
6842 # It fails to find uninstalled libraries when the uninstalled
6843 # path is not listed in the libpath. Setting hardcode_minus_L
6844 # to unsupported forces relinking
6845 hardcode_minus_L=yes
6846 hardcode_libdir_flag_spec='-L$libdir'
6847 hardcode_libdir_separator=
6850 shared_flag='-shared'
6853 if test "$host_cpu" = ia64; then
6854 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6855 # chokes on -Wl,-G. The following line is correct:
6858 if test "$aix_use_runtimelinking" = yes; then
6859 shared_flag='${wl}-G'
6861 shared_flag='${wl}-bM:SRE'
6866 # It seems that -bexpall does not export symbols beginning with
6867 # underscore (_), so it is better to generate a list of symbols to export.
6868 always_export_symbols=yes
6869 if test "$aix_use_runtimelinking" = yes; then
6870 # Warning - without using the other runtime loading flags (-brtl),
6871 # -berok will link without error, but may produce a broken library.
6872 allow_undefined_flag='-berok'
6873 # Determine the default libpath from the value encoded in an empty executable.
6874 cat >conftest.$ac_ext <<_ACEOF
6875 #line $LINENO "configure"
6878 cat confdefs.h >>conftest.$ac_ext
6879 cat >>conftest.$ac_ext <<_ACEOF
6880 /* end confdefs.h. */
6890 rm -f conftest.$ac_objext conftest$ac_exeext
6891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6892 (eval $ac_link) 2>&5
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); } &&
6896 { ac_try='test -s conftest$ac_exeext'
6897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); }; }; then
6903 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6905 # Check for a 64-bit object if we didn't find anything.
6906 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; }
6909 echo "$as_me: failed program was:" >&5
6910 sed 's/^/| /' conftest.$ac_ext >&5
6913 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6914 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6916 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6917 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"
6919 if test "$host_cpu" = ia64; then
6920 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6921 allow_undefined_flag="-z nodefs"
6922 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"
6924 # Determine the default libpath from the value encoded in an empty executable.
6925 cat >conftest.$ac_ext <<_ACEOF
6926 #line $LINENO "configure"
6929 cat confdefs.h >>conftest.$ac_ext
6930 cat >>conftest.$ac_ext <<_ACEOF
6931 /* end confdefs.h. */
6941 rm -f conftest.$ac_objext conftest$ac_exeext
6942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6943 (eval $ac_link) 2>&5
6945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946 (exit $ac_status); } &&
6947 { ac_try='test -s conftest$ac_exeext'
6948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); }; }; then
6954 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6956 # Check for a 64-bit object if we didn't find anything.
6957 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; }
6960 echo "$as_me: failed program was:" >&5
6961 sed 's/^/| /' conftest.$ac_ext >&5
6964 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6965 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6967 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6968 # Warning - without using the other run time loading flags,
6969 # -berok will link without error, but may produce a broken library.
6970 no_undefined_flag=' ${wl}-bernotok'
6971 allow_undefined_flag=' ${wl}-berok'
6972 # -bexpall does not export symbols beginning with underscore (_)
6973 always_export_symbols=yes
6974 # Exported symbols can be pulled into shared objects from archives
6975 whole_archive_flag_spec=' '
6976 archive_cmds_need_lc=yes
6977 # This is similar to how AIX traditionally builds it's shared libraries.
6978 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'
6984 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)'
6985 hardcode_libdir_flag_spec='-L$libdir'
6986 hardcode_minus_L=yes
6987 # see comment about different semantics on the GNU ld section
6992 export_dynamic_flag_spec=-rdynamic
6995 cygwin* | mingw* | pw32*)
6996 # When not using gcc, we currently assume that we are using
6997 # Microsoft Visual C++.
6998 # hardcode_libdir_flag_spec is actually meaningless, as there is
6999 # no search path for DLLs.
7000 hardcode_libdir_flag_spec=' '
7001 allow_undefined_flag=unsupported
7002 # Tell ltmain to make .lib files, not .a files.
7004 # Tell ltmain to make .dll files, not .so files.
7006 # FIXME: Setting linknames here is a bad hack.
7007 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7008 # The linker will automatically build a .lib file if we build a DLL.
7009 old_archive_From_new_cmds='true'
7010 # FIXME: Should let the user specify the lib program.
7011 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7012 fix_srcfile_path='`cygpath -w "$srcfile"`'
7013 enable_shared_with_static_runtimes=yes
7016 darwin* | rhapsody*)
7017 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7018 archive_cmds_need_lc=no
7020 rhapsody* | darwin1.[012])
7021 allow_undefined_flag='-undefined suppress'
7024 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7027 # FIXME: Relying on posixy $() will cause problems for
7028 # cross-compilation, but unfortunately the echo tests do not
7029 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7030 # `"' quotes if we put them in here... so don't!
7031 lt_int_apple_cc_single_mod=no
7032 output_verbose_link_cmd='echo'
7033 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7034 lt_int_apple_cc_single_mod=yes
7036 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7037 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7039 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'
7041 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7042 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7043 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7044 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}'
7046 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}'
7048 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}'
7050 hardcode_automatic=yes
7051 hardcode_shlibpath_var=unsupported
7052 whole_archive_flag_spec='-all_load $convenience'
7053 link_all_deplibs=yes
7058 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7059 hardcode_libdir_flag_spec='-L$libdir'
7060 hardcode_shlibpath_var=no
7067 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7068 # support. Future versions do this automatically, but an explicit c++rt0.o
7069 # does not break anything, and helps significantly (at the cost of a little
7072 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7073 hardcode_libdir_flag_spec='-R$libdir'
7075 hardcode_shlibpath_var=no
7078 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7080 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7082 hardcode_minus_L=yes
7083 hardcode_shlibpath_var=no
7086 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7088 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7089 hardcode_libdir_flag_spec='-R$libdir'
7091 hardcode_shlibpath_var=no
7095 if test "$GCC" = yes; then
7096 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'
7098 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'
7100 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7101 hardcode_libdir_separator=:
7104 # hardcode_minus_L: Not really in the search PATH,
7105 # but as the default location of the library.
7106 hardcode_minus_L=yes
7107 export_dynamic_flag_spec='${wl}-E'
7111 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7114 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7117 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7123 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7126 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7130 if test "$with_gnu_ld" = no; then
7133 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7134 hardcode_libdir_flag_spec_ld='+b $libdir'
7135 hardcode_libdir_separator=:
7137 hardcode_shlibpath_var=no
7140 hardcode_libdir_flag_spec='-L$libdir'
7142 hardcode_shlibpath_var=no
7144 # hardcode_minus_L: Not really in the search PATH,
7145 # but as the default location of the library.
7146 hardcode_minus_L=yes
7149 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7150 hardcode_libdir_separator=:
7152 export_dynamic_flag_spec='${wl}-E'
7154 # hardcode_minus_L: Not really in the search PATH,
7155 # but as the default location of the library.
7156 hardcode_minus_L=yes
7162 irix5* | irix6* | nonstopux*)
7163 if test "$GCC" = yes; then
7164 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'
7166 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'
7167 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7169 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7170 hardcode_libdir_separator=:
7171 link_all_deplibs=yes
7175 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7176 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7178 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7180 hardcode_libdir_flag_spec='-R$libdir'
7182 hardcode_shlibpath_var=no
7186 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7188 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7189 hardcode_libdir_separator=:
7190 hardcode_shlibpath_var=no
7195 hardcode_shlibpath_var=no
7196 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7197 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7198 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7199 export_dynamic_flag_spec='${wl}-E'
7202 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7203 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7204 hardcode_libdir_flag_spec='-R$libdir'
7207 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7208 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7215 hardcode_libdir_flag_spec='-L$libdir'
7216 hardcode_minus_L=yes
7217 allow_undefined_flag=unsupported
7218 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'
7219 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7223 if test "$GCC" = yes; then
7224 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7225 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'
7227 allow_undefined_flag=' -expect_unresolved \*'
7228 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'
7230 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7231 hardcode_libdir_separator=:
7234 osf4* | osf5*) # as osf3* with the addition of -msym flag
7235 if test "$GCC" = yes; then
7236 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7237 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'
7238 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7240 allow_undefined_flag=' -expect_unresolved \*'
7241 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'
7242 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7243 $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'
7245 # Both c and cxx compiler support -rpath directly
7246 hardcode_libdir_flag_spec='-rpath $libdir'
7248 hardcode_libdir_separator=:
7252 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7253 hardcode_shlibpath_var=no
7254 export_dynamic_flag_spec='${wl}-Bexport'
7255 runpath_var=LD_RUN_PATH
7256 hardcode_runpath_var=yes
7260 no_undefined_flag=' -z text'
7261 if test "$GCC" = yes; then
7262 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7263 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7264 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7266 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7267 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7268 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7270 hardcode_libdir_flag_spec='-R$libdir'
7271 hardcode_shlibpath_var=no
7273 solaris2.[0-5] | solaris2.[0-5].*) ;;
7274 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7275 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7277 link_all_deplibs=yes
7281 if test "x$host_vendor" = xsequent; then
7282 # Use $CC to link under sequent, because it throws in some extra .o
7283 # files that make .init and .fini sections work.
7284 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7286 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7288 hardcode_libdir_flag_spec='-L$libdir'
7290 hardcode_minus_L=yes
7291 hardcode_shlibpath_var=no
7295 case $host_vendor in
7297 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7298 hardcode_direct=yes # is this really true???
7301 ## LD is ld it makes a PLAMLIB
7302 ## CC just makes a GrossModule.
7303 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7304 reload_cmds='$CC -r -o $output$reload_objs'
7308 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7309 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7312 runpath_var='LD_RUN_PATH'
7313 hardcode_shlibpath_var=no
7317 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7318 hardcode_shlibpath_var=no
7319 export_dynamic_flag_spec='-Bexport'
7323 if test -d /usr/nec; then
7324 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7325 hardcode_shlibpath_var=no
7326 runpath_var=LD_RUN_PATH
7327 hardcode_runpath_var=yes
7333 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7336 hardcode_shlibpath_var=no
7337 hardcode_runpath_var=yes
7338 runpath_var=LD_RUN_PATH
7341 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7342 no_undefined_flag='${wl}-z ${wl}text'
7343 if test "$GCC" = yes; then
7344 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7346 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7348 runpath_var='LD_RUN_PATH'
7349 hardcode_shlibpath_var=no
7353 no_undefined_flag=' -z text'
7354 # $CC -shared without GNU ld will not create a library from C++
7355 # object files and a static libstdc++, better avoid it by now
7356 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7357 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7358 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7359 hardcode_libdir_flag_spec=
7360 hardcode_shlibpath_var=no
7361 runpath_var='LD_RUN_PATH'
7365 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7366 hardcode_libdir_flag_spec='-L$libdir'
7367 hardcode_shlibpath_var=no
7376 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7377 echo "${ECHO_T}$ld_shlibs" >&6
7378 test "$ld_shlibs" = no && can_build_shared=no
7380 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7381 if test "$GCC" = yes; then
7382 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7386 # Do we need to explicitly link libc?
7388 case "x$archive_cmds_need_lc" in
7390 # Assume -lc should be added
7391 archive_cmds_need_lc=yes
7393 if test "$enable_shared" = yes && test "$GCC" = yes; then
7394 case $archive_cmds in
7396 # FIXME: we may have to deal with multi-command sequences.
7399 # Test whether the compiler implicitly links with -lc since on some
7400 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7401 # to ld, don't add -lc before -lgcc.
7402 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7403 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7405 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7408 (eval $ac_compile) 2>&5
7410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7411 (exit $ac_status); } 2>conftest.err; then
7414 libobjs=conftest.$ac_objext
7416 wl=$lt_prog_compiler_wl
7422 lt_save_allow_undefined_flag=$allow_undefined_flag
7423 allow_undefined_flag=
7424 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7425 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7428 (exit $ac_status); }
7430 archive_cmds_need_lc=no
7432 archive_cmds_need_lc=yes
7434 allow_undefined_flag=$lt_save_allow_undefined_flag
7436 cat conftest.err 1>&5
7439 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7440 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7447 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7448 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7450 if test -n "$hardcode_libdir_flag_spec" || \
7451 test -n "$runpath_var " || \
7452 test "X$hardcode_automatic"="Xyes" ; then
7454 # We can hardcode non-existant directories.
7455 if test "$hardcode_direct" != no &&
7456 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7457 # have to relink, otherwise we might link with an installed library
7458 # when we should be linking with a yet-to-be-installed one
7459 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7460 test "$hardcode_minus_L" != no; then
7461 # Linking always hardcodes the temporary library directory.
7462 hardcode_action=relink
7464 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7465 hardcode_action=immediate
7468 # We cannot hardcode anything, or else we can only hardcode existing
7470 hardcode_action=unsupported
7472 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7473 echo "${ECHO_T}$hardcode_action" >&6
7475 if test "$hardcode_action" = relink; then
7476 # Fast installation is not supported
7477 enable_fast_install=no
7478 elif test "$shlibpath_overrides_runpath" = yes ||
7479 test "$enable_shared" = no; then
7480 # Fast installation is not necessary
7481 enable_fast_install=needless
7486 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7487 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7488 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7489 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7490 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7491 echo "$as_me:$LINENO: result: yes" >&5
7492 echo "${ECHO_T}yes" >&6
7494 # FIXME - insert some real tests, host_os isn't really good enough
7497 if test -n "$STRIP" ; then
7498 striplib="$STRIP -x"
7499 echo "$as_me:$LINENO: result: yes" >&5
7500 echo "${ECHO_T}yes" >&6
7502 echo "$as_me:$LINENO: result: no" >&5
7503 echo "${ECHO_T}no" >&6
7507 echo "$as_me:$LINENO: result: no" >&5
7508 echo "${ECHO_T}no" >&6
7513 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7514 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7516 libname_spec='lib$name'
7524 shlibpath_overrides_runpath=unknown
7526 dynamic_linker="$host_os ld.so"
7527 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7528 if test "$GCC" = yes; then
7529 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7530 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7531 # if the path contains ";" then we assume it to be the separator
7532 # otherwise default to the standard path separator (i.e. ":") - it is
7533 # assumed that no part of a normal pathname contains ";" but that should
7534 # okay in the real world where ";" in dirpaths is itself problematic.
7535 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7537 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7540 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7542 need_lib_prefix=unknown
7543 hardcode_into_libs=no
7545 # when you set need_version to no, make sure it does not cause -set_version
7546 # flags to be left without arguments
7547 need_version=unknown
7552 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7553 shlibpath_var=LIBPATH
7555 # AIX 3 has no versioning support, so we append a major version to the name.
7556 soname_spec='${libname}${release}${shared_ext}$major'
7563 hardcode_into_libs=yes
7564 if test "$host_cpu" = ia64; then
7565 # AIX 5 supports IA64
7566 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7567 shlibpath_var=LD_LIBRARY_PATH
7569 # With GCC up to 2.95.x, collect2 would create an import file
7570 # for dependence libraries. The import file would start with
7571 # the line `#! .'. This would cause the generated library to
7572 # depend on `.', always an invalid library. This was fixed in
7573 # development snapshots of GCC prior to 3.0.
7575 aix4 | aix4.[01] | aix4.[01].*)
7576 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7578 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7585 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7586 # soname into executable. Probably we can add versioning support to
7587 # collect2, so additional links can be useful in future.
7588 if test "$aix_use_runtimelinking" = yes; then
7589 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7590 # instead of lib<name>.a to let people know that these are not
7591 # typical AIX shared libraries.
7592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7594 # We preserve .a as extension for shared libraries through AIX4.2
7595 # and later when we are not doing run time linking.
7596 library_names_spec='${libname}${release}.a $libname.a'
7597 soname_spec='${libname}${release}${shared_ext}$major'
7599 shlibpath_var=LIBPATH
7604 library_names_spec='$libname.ixlibrary $libname.a'
7605 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7606 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'
7610 library_names_spec='${libname}${shared_ext}'
7611 dynamic_linker="$host_os ld.so"
7612 shlibpath_var=LIBRARY_PATH
7618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7619 soname_spec='${libname}${release}${shared_ext}$major'
7620 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7621 shlibpath_var=LD_LIBRARY_PATH
7622 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7623 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7624 # the default ld.so.conf also contains /usr/contrib/lib and
7625 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7626 # libtool to hard-code these into programs
7629 cygwin* | mingw* | pw32*)
7630 version_type=windows
7635 case $GCC,$host_os in
7636 yes,cygwin* | yes,mingw* | yes,pw32*)
7637 library_names_spec='$libname.dll.a'
7638 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7639 postinstall_cmds='base_file=`basename \${file}`~
7640 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7641 dldir=$destdir/`dirname \$dlpath`~
7642 test -d \$dldir || mkdir -p \$dldir~
7643 $install_prog $dir/$dlname \$dldir/$dlname'
7644 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7645 dlpath=$dir/\$dldll~
7647 shlibpath_overrides_runpath=yes
7651 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7652 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7653 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7656 # MinGW DLLs use traditional 'lib' prefix
7657 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7658 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7659 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7660 # It is most probably a Windows format PATH printed by
7661 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7662 # path with ; separators, and with drive letters. We can handle the
7663 # drive letters (cygwin fileutils understands them), so leave them,
7664 # especially as we might pass files found there to a mingw objdump,
7665 # which wouldn't understand a cygwinified path. Ahh.
7666 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7668 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7672 # pw32 DLLs use 'pw' prefix rather than 'lib'
7673 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7679 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7682 dynamic_linker='Win32 ld.exe'
7683 # FIXME: first we should search . and the directory the executable is in
7687 darwin* | rhapsody*)
7688 dynamic_linker="$host_os dyld"
7692 # FIXME: Relying on posixy $() will cause problems for
7693 # cross-compilation, but unfortunately the echo tests do not
7694 # yet detect zsh echo's removal of \ escapes.
7695 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7696 soname_spec='${libname}${release}${major}$shared_ext'
7697 shlibpath_overrides_runpath=yes
7698 shlibpath_var=DYLD_LIBRARY_PATH
7699 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7700 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7701 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7702 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"`
7704 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7712 soname_spec='${libname}${release}${shared_ext}$major'
7713 shlibpath_var=LD_LIBRARY_PATH
7721 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7722 version_type=freebsd-$objformat
7723 case $version_type in
7725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7730 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7734 shlibpath_var=LD_LIBRARY_PATH
7737 shlibpath_overrides_runpath=yes
7739 freebsd3.01* | freebsdelf3.01*)
7740 shlibpath_overrides_runpath=yes
7741 hardcode_into_libs=yes
7744 shlibpath_overrides_runpath=no
7745 hardcode_into_libs=yes
7754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7755 soname_spec='${libname}${release}${shared_ext}$major'
7756 shlibpath_var=LD_LIBRARY_PATH
7757 hardcode_into_libs=yes
7760 hpux9* | hpux10* | hpux11*)
7761 # Give a soname corresponding to the major version so that dld.sl refuses to
7762 # link against other versions.
7769 hardcode_into_libs=yes
7770 dynamic_linker="$host_os dld.so"
7771 shlibpath_var=LD_LIBRARY_PATH
7772 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7774 soname_spec='${libname}${release}${shared_ext}$major'
7775 if test "X$HPUX_IA64_MODE" = X32; then
7776 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7778 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7780 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7784 hardcode_into_libs=yes
7785 dynamic_linker="$host_os dld.sl"
7786 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7787 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7789 soname_spec='${libname}${release}${shared_ext}$major'
7790 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7791 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7795 dynamic_linker="$host_os dld.sl"
7796 shlibpath_var=SHLIB_PATH
7797 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7799 soname_spec='${libname}${release}${shared_ext}$major'
7802 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7803 postinstall_cmds='chmod 555 $lib'
7806 irix5* | irix6* | nonstopux*)
7808 nonstopux*) version_type=nonstopux ;;
7810 if test "$lt_cv_prog_gnu_ld" = yes; then
7818 soname_spec='${libname}${release}${shared_ext}$major'
7819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7821 irix5* | nonstopux*)
7825 case $LD in # libtool.m4 will add one of these switches to LD
7826 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7827 libsuff= shlibsuff= libmagic=32-bit;;
7828 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7829 libsuff=32 shlibsuff=N32 libmagic=N32;;
7830 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7831 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7832 *) libsuff= shlibsuff= libmagic=never-match;;
7836 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7837 shlibpath_overrides_runpath=no
7838 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7839 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7840 hardcode_into_libs=yes
7843 # No shared lib support for Linux oldld, aout, or coff.
7844 linux*oldld* | linux*aout* | linux*coff*)
7848 # This must be Linux ELF.
7853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7854 soname_spec='${libname}${release}${shared_ext}$major'
7855 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7856 shlibpath_var=LD_LIBRARY_PATH
7857 shlibpath_overrides_runpath=no
7858 # This implies no fast_install, which is unacceptable.
7859 # Some rework will be needed to allow for fast_install
7860 # before this can be enabled.
7861 hardcode_into_libs=yes
7863 # We used to test for /lib/ld.so.1 and disable shared libraries on
7864 # powerpc, because MkLinux only supported shared libraries with the
7865 # GNU dynamic linker. Since this was broken with cross compilers,
7866 # most powerpc-linux boxes support dynamic linking these days and
7867 # people can always --disable-shared, the test was removed, and we
7868 # assume the GNU/Linux dynamic linker is in use.
7869 dynamic_linker='GNU/Linux ld.so'
7876 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7878 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7879 dynamic_linker='NetBSD (a.out) ld.so'
7881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7882 soname_spec='${libname}${release}${shared_ext}$major'
7883 dynamic_linker='NetBSD ld.elf_so'
7885 shlibpath_var=LD_LIBRARY_PATH
7886 shlibpath_overrides_runpath=yes
7887 hardcode_into_libs=yes
7892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7893 shlibpath_var=LD_LIBRARY_PATH
7894 shlibpath_overrides_runpath=yes
7901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7902 soname_spec='${libname}${release}${shared_ext}$major'
7903 shlibpath_var=LD_LIBRARY_PATH
7904 shlibpath_overrides_runpath=yes
7911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7912 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7913 shlibpath_var=LD_LIBRARY_PATH
7914 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7916 openbsd2.[89] | openbsd2.[89].*)
7917 shlibpath_overrides_runpath=no
7920 shlibpath_overrides_runpath=yes
7924 shlibpath_overrides_runpath=yes
7929 libname_spec='$name'
7932 library_names_spec='$libname${shared_ext} $libname.a'
7933 dynamic_linker='OS/2 ld.exe'
7934 shlibpath_var=LIBPATH
7937 osf3* | osf4* | osf5*)
7941 soname_spec='${libname}${release}${shared_ext}$major'
7942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7943 shlibpath_var=LD_LIBRARY_PATH
7944 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7945 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7950 soname_spec='${libname}${release}${shared_ext}$major'
7951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7952 shlibpath_var=LD_LIBRARY_PATH
7959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7960 soname_spec='${libname}${release}${shared_ext}$major'
7961 shlibpath_var=LD_LIBRARY_PATH
7962 shlibpath_overrides_runpath=yes
7963 hardcode_into_libs=yes
7964 # ldd complains unless libraries are executable
7965 postinstall_cmds='chmod +x $lib'
7970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7971 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7972 shlibpath_var=LD_LIBRARY_PATH
7973 shlibpath_overrides_runpath=yes
7974 if test "$with_gnu_ld" = yes; then
7980 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7983 soname_spec='${libname}${release}${shared_ext}$major'
7984 shlibpath_var=LD_LIBRARY_PATH
7985 case $host_vendor in
7987 shlibpath_overrides_runpath=no
7989 export_dynamic_flag_spec='${wl}-Blargedynsym'
7990 runpath_var=LD_RUN_PATH
7998 shlibpath_overrides_runpath=no
7999 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8005 if test -d /usr/nec ;then
8007 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8008 soname_spec='$libname${shared_ext}.$major'
8009 shlibpath_var=LD_LIBRARY_PATH
8015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8016 soname_spec='${libname}${release}${shared_ext}$major'
8017 shlibpath_var=LD_LIBRARY_PATH
8024 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8025 echo "${ECHO_T}$dynamic_linker" >&6
8026 test "$dynamic_linker" = no && can_build_shared=no
8028 if test "x$enable_dlopen" != xyes; then
8029 enable_dlopen=unknown
8030 enable_dlopen_self=unknown
8031 enable_dlopen_self_static=unknown
8038 lt_cv_dlopen="load_add_on"
8040 lt_cv_dlopen_self=yes
8044 lt_cv_dlopen="LoadLibrary"
8049 lt_cv_dlopen="dlopen"
8054 # if libdl is installed we need to link against it
8055 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8056 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8057 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8058 echo $ECHO_N "(cached) $ECHO_C" >&6
8060 ac_check_lib_save_LIBS=$LIBS
8062 cat >conftest.$ac_ext <<_ACEOF
8063 #line $LINENO "configure"
8066 cat confdefs.h >>conftest.$ac_ext
8067 cat >>conftest.$ac_ext <<_ACEOF
8068 /* end confdefs.h. */
8070 /* Override any gcc2 internal prototype to avoid an error. */
8074 /* We use char because int might match the return type of a gcc2
8075 builtin and then its argument prototype would still apply. */
8085 rm -f conftest.$ac_objext conftest$ac_exeext
8086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8087 (eval $ac_link) 2>&5
8089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 (exit $ac_status); } &&
8091 { ac_try='test -s conftest$ac_exeext'
8092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 (exit $ac_status); }; }; then
8097 ac_cv_lib_dl_dlopen=yes
8099 echo "$as_me: failed program was:" >&5
8100 sed 's/^/| /' conftest.$ac_ext >&5
8102 ac_cv_lib_dl_dlopen=no
8104 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8105 LIBS=$ac_check_lib_save_LIBS
8107 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8108 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8109 if test $ac_cv_lib_dl_dlopen = yes; then
8110 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8115 lt_cv_dlopen_self=yes
8122 echo "$as_me:$LINENO: checking for shl_load" >&5
8123 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8124 if test "${ac_cv_func_shl_load+set}" = set; then
8125 echo $ECHO_N "(cached) $ECHO_C" >&6
8127 cat >conftest.$ac_ext <<_ACEOF
8128 #line $LINENO "configure"
8131 cat confdefs.h >>conftest.$ac_ext
8132 cat >>conftest.$ac_ext <<_ACEOF
8133 /* end confdefs.h. */
8134 /* System header to define __stub macros and hopefully few prototypes,
8135 which can conflict with char shl_load (); below.
8136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8137 <limits.h> exists even on freestanding compilers. */
8139 # include <limits.h>
8141 # include <assert.h>
8143 /* Override any gcc2 internal prototype to avoid an error. */
8148 /* We use char because int might match the return type of a gcc2
8149 builtin and then its argument prototype would still apply. */
8151 /* The GNU C library defines this for functions which it implements
8152 to always fail with ENOSYS. Some functions are actually named
8153 something starting with __ and the normal name is an alias. */
8154 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8157 char (*f) () = shl_load;
8166 return f != shl_load;
8171 rm -f conftest.$ac_objext conftest$ac_exeext
8172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8173 (eval $ac_link) 2>&5
8175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176 (exit $ac_status); } &&
8177 { ac_try='test -s conftest$ac_exeext'
8178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8182 (exit $ac_status); }; }; then
8183 ac_cv_func_shl_load=yes
8185 echo "$as_me: failed program was:" >&5
8186 sed 's/^/| /' conftest.$ac_ext >&5
8188 ac_cv_func_shl_load=no
8190 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8192 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8193 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8194 if test $ac_cv_func_shl_load = yes; then
8195 lt_cv_dlopen="shl_load"
8197 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8198 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8199 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8200 echo $ECHO_N "(cached) $ECHO_C" >&6
8202 ac_check_lib_save_LIBS=$LIBS
8204 cat >conftest.$ac_ext <<_ACEOF
8205 #line $LINENO "configure"
8208 cat confdefs.h >>conftest.$ac_ext
8209 cat >>conftest.$ac_ext <<_ACEOF
8210 /* end confdefs.h. */
8212 /* Override any gcc2 internal prototype to avoid an error. */
8216 /* We use char because int might match the return type of a gcc2
8217 builtin and then its argument prototype would still apply. */
8227 rm -f conftest.$ac_objext conftest$ac_exeext
8228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8229 (eval $ac_link) 2>&5
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); } &&
8233 { ac_try='test -s conftest$ac_exeext'
8234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8238 (exit $ac_status); }; }; then
8239 ac_cv_lib_dld_shl_load=yes
8241 echo "$as_me: failed program was:" >&5
8242 sed 's/^/| /' conftest.$ac_ext >&5
8244 ac_cv_lib_dld_shl_load=no
8246 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8247 LIBS=$ac_check_lib_save_LIBS
8249 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8250 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8251 if test $ac_cv_lib_dld_shl_load = yes; then
8252 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8254 echo "$as_me:$LINENO: checking for dlopen" >&5
8255 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8256 if test "${ac_cv_func_dlopen+set}" = set; then
8257 echo $ECHO_N "(cached) $ECHO_C" >&6
8259 cat >conftest.$ac_ext <<_ACEOF
8260 #line $LINENO "configure"
8263 cat confdefs.h >>conftest.$ac_ext
8264 cat >>conftest.$ac_ext <<_ACEOF
8265 /* end confdefs.h. */
8266 /* System header to define __stub macros and hopefully few prototypes,
8267 which can conflict with char dlopen (); below.
8268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8269 <limits.h> exists even on freestanding compilers. */
8271 # include <limits.h>
8273 # include <assert.h>
8275 /* Override any gcc2 internal prototype to avoid an error. */
8280 /* We use char because int might match the return type of a gcc2
8281 builtin and then its argument prototype would still apply. */
8283 /* The GNU C library defines this for functions which it implements
8284 to always fail with ENOSYS. Some functions are actually named
8285 something starting with __ and the normal name is an alias. */
8286 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8289 char (*f) () = dlopen;
8303 rm -f conftest.$ac_objext conftest$ac_exeext
8304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8305 (eval $ac_link) 2>&5
8307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8308 (exit $ac_status); } &&
8309 { ac_try='test -s conftest$ac_exeext'
8310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); }; }; then
8315 ac_cv_func_dlopen=yes
8317 echo "$as_me: failed program was:" >&5
8318 sed 's/^/| /' conftest.$ac_ext >&5
8320 ac_cv_func_dlopen=no
8322 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8324 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8325 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8326 if test $ac_cv_func_dlopen = yes; then
8327 lt_cv_dlopen="dlopen"
8329 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8330 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8331 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8332 echo $ECHO_N "(cached) $ECHO_C" >&6
8334 ac_check_lib_save_LIBS=$LIBS
8336 cat >conftest.$ac_ext <<_ACEOF
8337 #line $LINENO "configure"
8340 cat confdefs.h >>conftest.$ac_ext
8341 cat >>conftest.$ac_ext <<_ACEOF
8342 /* end confdefs.h. */
8344 /* Override any gcc2 internal prototype to avoid an error. */
8348 /* We use char because int might match the return type of a gcc2
8349 builtin and then its argument prototype would still apply. */
8359 rm -f conftest.$ac_objext conftest$ac_exeext
8360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8361 (eval $ac_link) 2>&5
8363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 (exit $ac_status); } &&
8365 { ac_try='test -s conftest$ac_exeext'
8366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8370 (exit $ac_status); }; }; then
8371 ac_cv_lib_dl_dlopen=yes
8373 echo "$as_me: failed program was:" >&5
8374 sed 's/^/| /' conftest.$ac_ext >&5
8376 ac_cv_lib_dl_dlopen=no
8378 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8379 LIBS=$ac_check_lib_save_LIBS
8381 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8382 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8383 if test $ac_cv_lib_dl_dlopen = yes; then
8384 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8386 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8387 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8388 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8389 echo $ECHO_N "(cached) $ECHO_C" >&6
8391 ac_check_lib_save_LIBS=$LIBS
8393 cat >conftest.$ac_ext <<_ACEOF
8394 #line $LINENO "configure"
8397 cat confdefs.h >>conftest.$ac_ext
8398 cat >>conftest.$ac_ext <<_ACEOF
8399 /* end confdefs.h. */
8401 /* Override any gcc2 internal prototype to avoid an error. */
8405 /* We use char because int might match the return type of a gcc2
8406 builtin and then its argument prototype would still apply. */
8416 rm -f conftest.$ac_objext conftest$ac_exeext
8417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8418 (eval $ac_link) 2>&5
8420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8421 (exit $ac_status); } &&
8422 { ac_try='test -s conftest$ac_exeext'
8423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427 (exit $ac_status); }; }; then
8428 ac_cv_lib_svld_dlopen=yes
8430 echo "$as_me: failed program was:" >&5
8431 sed 's/^/| /' conftest.$ac_ext >&5
8433 ac_cv_lib_svld_dlopen=no
8435 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8436 LIBS=$ac_check_lib_save_LIBS
8438 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8439 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8440 if test $ac_cv_lib_svld_dlopen = yes; then
8441 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8443 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8444 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8445 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8446 echo $ECHO_N "(cached) $ECHO_C" >&6
8448 ac_check_lib_save_LIBS=$LIBS
8450 cat >conftest.$ac_ext <<_ACEOF
8451 #line $LINENO "configure"
8454 cat confdefs.h >>conftest.$ac_ext
8455 cat >>conftest.$ac_ext <<_ACEOF
8456 /* end confdefs.h. */
8458 /* Override any gcc2 internal prototype to avoid an error. */
8462 /* We use char because int might match the return type of a gcc2
8463 builtin and then its argument prototype would still apply. */
8473 rm -f conftest.$ac_objext conftest$ac_exeext
8474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8475 (eval $ac_link) 2>&5
8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 (exit $ac_status); } &&
8479 { ac_try='test -s conftest$ac_exeext'
8480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484 (exit $ac_status); }; }; then
8485 ac_cv_lib_dld_dld_link=yes
8487 echo "$as_me: failed program was:" >&5
8488 sed 's/^/| /' conftest.$ac_ext >&5
8490 ac_cv_lib_dld_dld_link=no
8492 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8493 LIBS=$ac_check_lib_save_LIBS
8495 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8496 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8497 if test $ac_cv_lib_dld_dld_link = yes; then
8498 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8519 if test "x$lt_cv_dlopen" != xno; then
8525 case $lt_cv_dlopen in
8527 save_CPPFLAGS="$CPPFLAGS"
8528 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8530 save_LDFLAGS="$LDFLAGS"
8531 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8534 LIBS="$lt_cv_dlopen_libs $LIBS"
8536 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8537 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8538 if test "${lt_cv_dlopen_self+set}" = set; then
8539 echo $ECHO_N "(cached) $ECHO_C" >&6
8541 if test "$cross_compiling" = yes; then :
8542 lt_cv_dlopen_self=cross
8544 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8545 lt_status=$lt_dlunknown
8546 cat > conftest.$ac_ext <<EOF
8547 #line 8547 "configure"
8548 #include "confdefs.h"
8557 # define LT_DLGLOBAL RTLD_GLOBAL
8560 # define LT_DLGLOBAL DL_GLOBAL
8562 # define LT_DLGLOBAL 0
8566 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8567 find out it does not work in some platform. */
8568 #ifndef LT_DLLAZY_OR_NOW
8570 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8573 # define LT_DLLAZY_OR_NOW DL_LAZY
8576 # define LT_DLLAZY_OR_NOW RTLD_NOW
8579 # define LT_DLLAZY_OR_NOW DL_NOW
8581 # define LT_DLLAZY_OR_NOW 0
8589 extern "C" void exit (int);
8592 void fnord() { int i=42;}
8595 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8596 int status = $lt_dlunknown;
8600 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8601 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8602 /* dlclose (self); */
8608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8609 (eval $ac_link) 2>&5
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8613 (./conftest; exit; ) 2>/dev/null
8616 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8617 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8618 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8621 # compilation failed
8622 lt_cv_dlopen_self=no
8629 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8630 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8632 if test "x$lt_cv_dlopen_self" = xyes; then
8633 LDFLAGS="$LDFLAGS $link_static_flag"
8634 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8635 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8636 if test "${lt_cv_dlopen_self_static+set}" = set; then
8637 echo $ECHO_N "(cached) $ECHO_C" >&6
8639 if test "$cross_compiling" = yes; then :
8640 lt_cv_dlopen_self_static=cross
8642 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8643 lt_status=$lt_dlunknown
8644 cat > conftest.$ac_ext <<EOF
8645 #line 8645 "configure"
8646 #include "confdefs.h"
8655 # define LT_DLGLOBAL RTLD_GLOBAL
8658 # define LT_DLGLOBAL DL_GLOBAL
8660 # define LT_DLGLOBAL 0
8664 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8665 find out it does not work in some platform. */
8666 #ifndef LT_DLLAZY_OR_NOW
8668 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8671 # define LT_DLLAZY_OR_NOW DL_LAZY
8674 # define LT_DLLAZY_OR_NOW RTLD_NOW
8677 # define LT_DLLAZY_OR_NOW DL_NOW
8679 # define LT_DLLAZY_OR_NOW 0
8687 extern "C" void exit (int);
8690 void fnord() { int i=42;}
8693 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8694 int status = $lt_dlunknown;
8698 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8699 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8700 /* dlclose (self); */
8706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8707 (eval $ac_link) 2>&5
8709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8711 (./conftest; exit; ) 2>/dev/null
8714 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8715 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8716 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8719 # compilation failed
8720 lt_cv_dlopen_self_static=no
8727 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8728 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8731 CPPFLAGS="$save_CPPFLAGS"
8732 LDFLAGS="$save_LDFLAGS"
8737 case $lt_cv_dlopen_self in
8738 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8739 *) enable_dlopen_self=unknown ;;
8742 case $lt_cv_dlopen_self_static in
8743 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8744 *) enable_dlopen_self_static=unknown ;;
8749 # Report which librarie types wil actually be built
8750 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8751 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8752 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8753 echo "${ECHO_T}$can_build_shared" >&6
8755 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8756 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8757 test "$can_build_shared" = "no" && enable_shared=no
8759 # On AIX, shared libraries and static libraries use the same namespace, and
8760 # are all built from PIC.
8763 test "$enable_shared" = yes && enable_static=no
8764 if test -n "$RANLIB"; then
8765 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8766 postinstall_cmds='$RANLIB $lib'
8771 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8772 test "$enable_shared" = yes && enable_static=no
8775 darwin* | rhapsody*)
8776 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8777 archive_cmds_need_lc=no
8779 rhapsody* | darwin1.[012])
8780 allow_undefined_flag='-undefined suppress'
8783 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8786 # FIXME: Relying on posixy $() will cause problems for
8787 # cross-compilation, but unfortunately the echo tests do not
8788 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8789 # `"' quotes if we put them in here... so don't!
8790 output_verbose_link_cmd='echo'
8791 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8792 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8793 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8794 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}'
8795 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}'
8797 hardcode_automatic=yes
8798 hardcode_shlibpath_var=unsupported
8799 whole_archive_flag_spec='-all_load $convenience'
8800 link_all_deplibs=yes
8804 echo "$as_me:$LINENO: result: $enable_shared" >&5
8805 echo "${ECHO_T}$enable_shared" >&6
8807 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8808 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8809 # Make sure either enable_shared or enable_static is yes.
8810 test "$enable_shared" = yes || enable_static=yes
8811 echo "$as_me:$LINENO: result: $enable_static" >&5
8812 echo "${ECHO_T}$enable_static" >&6
8814 # The else clause should only fire when bootstrapping the
8815 # libtool distribution, otherwise you forgot to ship ltmain.sh
8816 # with your package, and you will get complaints that there are
8817 # no rules to generate ltmain.sh.
8818 if test -f "$ltmain"; then
8819 # See if we are running on zsh, and set the options which allow our commands through
8820 # without removal of \ escapes.
8821 if test -n "${ZSH_VERSION+set}" ; then
8822 setopt NO_GLOB_SUBST
8824 # Now quote all the things that may contain metacharacters while being
8825 # careful not to overquote the AC_SUBSTed values. We take copies of the
8826 # variables and quote the copies for generation of the libtool script.
8827 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8828 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8829 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8830 deplibs_check_method reload_flag reload_cmds need_locks \
8831 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8832 lt_cv_sys_global_symbol_to_c_name_address \
8833 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8834 old_postinstall_cmds old_postuninstall_cmds \
8838 lt_prog_compiler_wl \
8839 lt_prog_compiler_pic \
8840 lt_prog_compiler_static \
8841 lt_prog_compiler_no_builtin_flag \
8842 export_dynamic_flag_spec \
8843 thread_safe_flag_spec \
8844 whole_archive_flag_spec \
8845 enable_shared_with_static_runtimes \
8847 old_archive_from_new_cmds \
8852 compiler_lib_search_path \
8854 archive_expsym_cmds \
8856 postuninstall_cmds \
8857 old_archive_from_expsyms_cmds \
8858 allow_undefined_flag \
8860 export_symbols_cmds \
8861 hardcode_libdir_flag_spec \
8862 hardcode_libdir_flag_spec_ld \
8863 hardcode_libdir_separator \
8864 hardcode_automatic \
8866 module_expsym_cmds \
8867 lt_cv_prog_compiler_c_o \
8872 old_archive_cmds | \
8873 old_archive_from_new_cmds | \
8875 archive_expsym_cmds | \
8877 module_expsym_cmds | \
8878 old_archive_from_expsyms_cmds | \
8879 export_symbols_cmds | \
8880 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8881 postinstall_cmds | postuninstall_cmds | \
8882 old_postinstall_cmds | old_postuninstall_cmds | \
8883 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8884 # Double-quote double-evaled strings.
8885 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8888 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8894 *'\$0 --fallback-echo"')
8895 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8900 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8902 { echo "$as_me:$LINENO: creating $ofile" >&5
8903 echo "$as_me: creating $ofile" >&6;}
8905 cat <<__EOF__ >> "$cfgfile"
8908 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8909 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8910 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8912 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8913 # Free Software Foundation, Inc.
8915 # This file is part of GNU Libtool:
8916 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8918 # This program is free software; you can redistribute it and/or modify
8919 # it under the terms of the GNU General Public License as published by
8920 # the Free Software Foundation; either version 2 of the License, or
8921 # (at your option) any later version.
8923 # This program is distributed in the hope that it will be useful, but
8924 # WITHOUT ANY WARRANTY; without even the implied warranty of
8925 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8926 # General Public License for more details.
8928 # You should have received a copy of the GNU General Public License
8929 # along with this program; if not, write to the Free Software
8930 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8932 # As a special exception to the GNU General Public License, if you
8933 # distribute this file as part of a program that contains a
8934 # configuration script generated by Autoconf, you may include it under
8935 # the same distribution terms that you use for the rest of that program.
8937 # A sed program that does not truncate output.
8940 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8941 Xsed="$SED -e s/^X//"
8943 # The HP-UX ksh and POSIX shell print the target directory to stdout
8945 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8947 # The names of the tagged configurations supported by this script.
8950 # ### BEGIN LIBTOOL CONFIG
8952 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8954 # Shell to use when invoking shell scripts.
8957 # Whether or not to build shared libraries.
8958 build_libtool_libs=$enable_shared
8960 # Whether or not to build static libraries.
8961 build_old_libs=$enable_static
8963 # Whether or not to add -lc for building shared libraries.
8964 build_libtool_need_lc=$archive_cmds_need_lc
8966 # Whether or not to disallow shared libs when runtime libs are static
8967 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8969 # Whether or not to optimize for fast installation.
8970 fast_install=$enable_fast_install
8973 host_alias=$host_alias
8976 # An echo program that does not interpret backslashes.
8981 AR_FLAGS=$lt_AR_FLAGS
8986 # A language-specific compiler.
8989 # Is the compiler the GNU C compiler?
8995 # The linker used to build libraries.
8998 # Whether we need hard or soft links.
9001 # A BSD-compatible nm program.
9004 # A symbol stripping program
9007 # Used to examine libraries when file_magic_cmd begins "file"
9008 MAGIC_CMD=$MAGIC_CMD
9010 # Used on cygwin: DLL creation program.
9013 # Used on cygwin: object dumper.
9016 # Used on cygwin: assembler.
9019 # The name of the directory that contains temporary libtool files.
9022 # How to create reloadable object files.
9023 reload_flag=$lt_reload_flag
9024 reload_cmds=$lt_reload_cmds
9026 # How to pass a linker flag through the compiler.
9027 wl=$lt_lt_prog_compiler_wl
9029 # Object file suffix (normally "o").
9032 # Old archive suffix (normally "a").
9035 # Shared library suffix (normally ".so").
9038 # Executable file suffix (normally "").
9041 # Additional compiler flags for building library objects.
9042 pic_flag=$lt_lt_prog_compiler_pic
9045 # What is the maximum length of a command?
9046 max_cmd_len=$lt_cv_sys_max_cmd_len
9048 # Does compiler simultaneously support -c and -o options?
9049 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9051 # Must we lock files when doing compilation ?
9052 need_locks=$lt_need_locks
9054 # Do we need the lib prefix for modules?
9055 need_lib_prefix=$need_lib_prefix
9057 # Do we need a version for libraries?
9058 need_version=$need_version
9060 # Whether dlopen is supported.
9061 dlopen_support=$enable_dlopen
9063 # Whether dlopen of programs is supported.
9064 dlopen_self=$enable_dlopen_self
9066 # Whether dlopen of statically linked programs is supported.
9067 dlopen_self_static=$enable_dlopen_self_static
9069 # Compiler flag to prevent dynamic linking.
9070 link_static_flag=$lt_lt_prog_compiler_static
9072 # Compiler flag to turn off builtin functions.
9073 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9075 # Compiler flag to allow reflexive dlopens.
9076 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9078 # Compiler flag to generate shared objects directly from archives.
9079 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9081 # Compiler flag to generate thread-safe objects.
9082 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9084 # Library versioning type.
9085 version_type=$version_type
9087 # Format of library name prefix.
9088 libname_spec=$lt_libname_spec
9090 # List of archive names. First name is the real one, the rest are links.
9091 # The last name is the one that the linker finds with -lNAME.
9092 library_names_spec=$lt_library_names_spec
9094 # The coded name of the library, if different from the real name.
9095 soname_spec=$lt_soname_spec
9097 # Commands used to build and install an old-style archive.
9099 old_archive_cmds=$lt_old_archive_cmds
9100 old_postinstall_cmds=$lt_old_postinstall_cmds
9101 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9103 # Create an old-style archive from a shared archive.
9104 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9106 # Create a temporary old-style archive to link instead of a shared archive.
9107 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9109 # Commands used to build and install a shared archive.
9110 archive_cmds=$lt_archive_cmds
9111 archive_expsym_cmds=$lt_archive_expsym_cmds
9112 postinstall_cmds=$lt_postinstall_cmds
9113 postuninstall_cmds=$lt_postuninstall_cmds
9115 # Commands used to build a loadable module (assumed same as above if empty)
9116 module_cmds=$lt_module_cmds
9117 module_expsym_cmds=$lt_module_expsym_cmds
9119 # Commands to strip libraries.
9120 old_striplib=$lt_old_striplib
9121 striplib=$lt_striplib
9123 # Dependencies to place before the objects being linked to create a
9125 predep_objects=$lt_predep_objects
9127 # Dependencies to place after the objects being linked to create a
9129 postdep_objects=$lt_postdep_objects
9131 # Dependencies to place before the objects being linked to create a
9135 # Dependencies to place after the objects being linked to create a
9137 postdeps=$lt_postdeps
9139 # The library search path used internally by the compiler when linking
9141 compiler_lib_search_path=$lt_compiler_lib_search_path
9143 # Method to check whether dependent libraries are shared objects.
9144 deplibs_check_method=$lt_deplibs_check_method
9146 # Command to use when deplibs_check_method == file_magic.
9147 file_magic_cmd=$lt_file_magic_cmd
9149 # Flag that allows shared libraries with undefined symbols to be built.
9150 allow_undefined_flag=$lt_allow_undefined_flag
9152 # Flag that forces no undefined symbols.
9153 no_undefined_flag=$lt_no_undefined_flag
9155 # Commands used to finish a libtool library installation in a directory.
9156 finish_cmds=$lt_finish_cmds
9158 # Same as above, but a single script fragment to be evaled but not shown.
9159 finish_eval=$lt_finish_eval
9161 # Take the output of nm and produce a listing of raw symbols and C names.
9162 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9164 # Transform the output of nm in a proper C declaration
9165 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9167 # Transform the output of nm in a C name address pair
9168 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9170 # This is the shared library runtime path variable.
9171 runpath_var=$runpath_var
9173 # This is the shared library path variable.
9174 shlibpath_var=$shlibpath_var
9176 # Is shlibpath searched before the hard-coded library search path?
9177 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9179 # How to hardcode a shared library path into an executable.
9180 hardcode_action=$hardcode_action
9182 # Whether we should hardcode library paths into libraries.
9183 hardcode_into_libs=$hardcode_into_libs
9185 # Flag to hardcode \$libdir into a binary during linking.
9186 # This must work even if \$libdir does not exist.
9187 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9189 # If ld is used when linking, flag to hardcode \$libdir into
9190 # a binary during linking. This must work even if \$libdir does
9192 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9194 # Whether we need a single -rpath flag with a separated argument.
9195 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9197 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9199 hardcode_direct=$hardcode_direct
9201 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9203 hardcode_minus_L=$hardcode_minus_L
9205 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9206 # the resulting binary.
9207 hardcode_shlibpath_var=$hardcode_shlibpath_var
9209 # Set to yes if building a shared library automatically hardcodes DIR into the library
9210 # and all subsequent libraries and executables linked against it.
9211 hardcode_automatic=$hardcode_automatic
9213 # Variables whose values should be saved in libtool wrapper scripts and
9214 # restored at relink time.
9215 variables_saved_for_relink="$variables_saved_for_relink"
9217 # Whether libtool must link a program against all its dependency libraries.
9218 link_all_deplibs=$link_all_deplibs
9220 # Compile-time system search path for libraries
9221 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9223 # Run-time system search path for libraries
9224 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9226 # Fix the shell variable \$srcfile for the compiler.
9227 fix_srcfile_path="$fix_srcfile_path"
9229 # Set to yes if exported symbols are required.
9230 always_export_symbols=$always_export_symbols
9232 # The commands to list exported symbols.
9233 export_symbols_cmds=$lt_export_symbols_cmds
9235 # The commands to extract the exported symbol list from a shared archive.
9236 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9238 # Symbols that should not be listed in the preloaded symbols.
9239 exclude_expsyms=$lt_exclude_expsyms
9241 # Symbols that must always be exported.
9242 include_expsyms=$lt_include_expsyms
9244 # ### END LIBTOOL CONFIG
9251 cat <<\EOF >> "$cfgfile"
9253 # AIX sometimes has problems with the GCC collect2 program. For some
9254 # reason, if we set the COLLECT_NAMES environment variable, the problems
9255 # vanish in a puff of smoke.
9256 if test "X${COLLECT_NAMES+set}" != Xset; then
9258 export COLLECT_NAMES
9264 # We use sed instead of cat because bash on DJGPP gets confused if
9265 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9266 # text mode, it properly converts lines to CR/LF. This bash problem
9267 # is reportedly fixed, but why not run on old versions too?
9268 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9270 mv -f "$cfgfile" "$ofile" || \
9271 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9275 # If there is no Makefile yet, we rely on a make rule to execute
9276 # `config.status --recheck' to rerun these tests and create the
9277 # libtool script then.
9278 test -f Makefile && make "$ltmain"
9283 ac_cpp='$CPP $CPPFLAGS'
9284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9291 # Check whether --with-tags or --without-tags was given.
9292 if test "${with_tags+set}" = set; then
9293 withval="$with_tags"
9297 if test -f "$ltmain" && test -n "$tagnames"; then
9298 if test ! -f "${ofile}"; then
9299 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9300 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9303 if test -z "$LTCC"; then
9304 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9305 if test -z "$LTCC"; then
9306 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9307 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9309 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9310 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9314 # Extract list of available tagged configurations in $ofile.
9315 # Note that this assumes the entire list is on one line.
9316 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9318 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9319 for tagname in $tagnames; do
9321 # Check whether tagname contains only valid characters
9322 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9324 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9325 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9326 { (exit 1); exit 1; }; }
9330 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9332 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9333 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9334 { (exit 1); exit 1; }; }
9337 # Update the list of available tags.
9338 if test -n "$tagname"; then
9339 echo appending configuration tag \"$tagname\" to $ofile
9343 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9345 ac_cpp='$CXXCPP $CPPFLAGS'
9346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9353 archive_cmds_need_lc_CXX=no
9354 allow_undefined_flag_CXX=
9355 always_export_symbols_CXX=no
9356 archive_expsym_cmds_CXX=
9357 export_dynamic_flag_spec_CXX=
9358 hardcode_direct_CXX=no
9359 hardcode_libdir_flag_spec_CXX=
9360 hardcode_libdir_flag_spec_ld_CXX=
9361 hardcode_libdir_separator_CXX=
9362 hardcode_minus_L_CXX=no
9363 hardcode_automatic_CXX=no
9365 module_expsym_cmds_CXX=
9366 link_all_deplibs_CXX=unknown
9367 old_archive_cmds_CXX=$old_archive_cmds
9368 no_undefined_flag_CXX=
9369 whole_archive_flag_spec_CXX=
9370 enable_shared_with_static_runtimes_CXX=no
9372 # Dependencies to place before and after the object being linked:
9374 postdep_objects_CXX=
9377 compiler_lib_search_path_CXX=
9379 # Source file extension for C++ test sources.
9382 # Object file extension for compiled C++ test sources.
9386 # Code to be used in simple compile tests
9387 lt_simple_compile_test_code="int some_variable = 0;\n"
9389 # Code to be used in simple link tests
9390 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9392 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9394 # If no C compiler was specified, use CC.
9397 # Allow CC to be a program name with arguments.
9401 # Allow CC to be a program name with arguments.
9406 lt_save_with_gnu_ld=$with_gnu_ld
9407 lt_save_path_LD=$lt_cv_path_LD
9408 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9409 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9411 unset lt_cv_prog_gnu_ld
9413 if test -n "${lt_cv_path_LDCXX+set}"; then
9414 lt_cv_path_LD=$lt_cv_path_LDCXX
9418 test -z "${LDCXX+set}" || LD=$LDCXX
9422 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9424 # We don't want -fno-exception wen compiling C++ code, so set the
9425 # no_builtin_flag separately
9426 if test "$GXX" = yes; then
9427 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9429 lt_prog_compiler_no_builtin_flag_CXX=
9432 if test "$GXX" = yes; then
9433 # Set up default GNU C++ configuration
9436 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9437 if test "${with_gnu_ld+set}" = set; then
9438 withval="$with_gnu_ld"
9439 test "$withval" = no || with_gnu_ld=yes
9444 if test "$GCC" = yes; then
9445 # Check if gcc -print-prog-name=ld gives a path.
9446 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9447 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9450 # gcc leaves a trailing carriage return which upsets mingw
9451 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9453 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9456 # Accept absolute paths.
9458 re_direlt='/[^/][^/]*/\.\./'
9459 # Canonicalize the path of ld
9460 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9461 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9462 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9464 test -z "$LD" && LD="$ac_prog"
9467 # If it fails, then pretend we aren't using GCC.
9471 # If it is relative, then search for the first ld in PATH.
9475 elif test "$with_gnu_ld" = yes; then
9476 echo "$as_me:$LINENO: checking for GNU ld" >&5
9477 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9479 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9480 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9482 if test "${lt_cv_path_LD+set}" = set; then
9483 echo $ECHO_N "(cached) $ECHO_C" >&6
9485 if test -z "$LD"; then
9486 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9487 for ac_dir in $PATH; do
9489 test -z "$ac_dir" && ac_dir=.
9490 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9491 lt_cv_path_LD="$ac_dir/$ac_prog"
9492 # Check to see if the program is GNU ld. I'd rather use --version,
9493 # but apparently some GNU ld's only accept -v.
9494 # Break only if it was the GNU/non-GNU ld that we prefer.
9495 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9496 *GNU* | *'with BFD'*)
9497 test "$with_gnu_ld" != no && break
9500 test "$with_gnu_ld" != yes && break
9507 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9512 if test -n "$LD"; then
9513 echo "$as_me:$LINENO: result: $LD" >&5
9514 echo "${ECHO_T}$LD" >&6
9516 echo "$as_me:$LINENO: result: no" >&5
9517 echo "${ECHO_T}no" >&6
9519 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9520 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9521 { (exit 1); exit 1; }; }
9522 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9523 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9524 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9525 echo $ECHO_N "(cached) $ECHO_C" >&6
9527 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9528 case `"$LD" -v 2>&1 </dev/null` in
9529 *GNU* | *'with BFD'*)
9530 lt_cv_prog_gnu_ld=yes
9533 lt_cv_prog_gnu_ld=no
9537 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9538 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9539 with_gnu_ld=$lt_cv_prog_gnu_ld
9543 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9544 # archiving commands below assume that GNU ld is being used.
9545 if test "$with_gnu_ld" = yes; then
9546 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9547 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'
9549 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9550 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9552 # If archive_cmds runs LD, not CC, wlarc should be empty
9553 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9554 # investigate it a little bit more. (MM)
9557 # ancient GNU ld didn't support --whole-archive et. al.
9558 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9559 grep 'no-whole-archive' > /dev/null; then
9560 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9562 whole_archive_flag_spec_CXX=
9568 # A generic and very simple default shared library creation
9569 # command for GNU C++ for the case where it uses the native
9570 # linker, instead of GNU ld. If possible, this setting should
9571 # overridden to take advantage of the native linker features on
9572 # the platform it is being used on.
9573 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9576 # Commands to make compiler produce verbose output that lists
9577 # what "hidden" libraries, object files and flags are used when
9578 # linking a shared library.
9579 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9587 # PORTME: fill in a description of your system's C++ link characteristics
9588 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9589 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9593 # FIXME: insert proper C++ library support
9597 if test "$host_cpu" = ia64; then
9598 # On IA64, the linker does run time linking by default, so we don't
9599 # have to do anything special.
9600 aix_use_runtimelinking=no
9601 exp_sym_flag='-Bexport'
9604 aix_use_runtimelinking=no
9606 # Test if we are trying to use run time linking or normal
9607 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9608 # need to do runtime linking.
9609 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9610 for ld_flag in $LDFLAGS; do
9613 aix_use_runtimelinking=yes
9620 exp_sym_flag='-bexport'
9621 no_entry_flag='-bnoentry'
9624 # When large executables or shared objects are built, AIX ld can
9625 # have problems creating the table of contents. If linking a library
9626 # or program results in "error TOC overflow" add -mminimal-toc to
9627 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9628 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9631 hardcode_direct_CXX=yes
9632 hardcode_libdir_separator_CXX=':'
9633 link_all_deplibs_CXX=yes
9635 if test "$GXX" = yes; then
9636 case $host_os in aix4.012|aix4.012.*)
9637 # We only want to do this on AIX 4.2 and lower, the check
9638 # below for broken collect2 doesn't work under 4.3+
9639 collect2name=`${CC} -print-prog-name=collect2`
9640 if test -f "$collect2name" && \
9641 strings "$collect2name" | grep resolve_lib_name >/dev/null
9643 # We have reworked collect2
9644 hardcode_direct_CXX=yes
9646 # We have old collect2
9647 hardcode_direct_CXX=unsupported
9648 # It fails to find uninstalled libraries when the uninstalled
9649 # path is not listed in the libpath. Setting hardcode_minus_L
9650 # to unsupported forces relinking
9651 hardcode_minus_L_CXX=yes
9652 hardcode_libdir_flag_spec_CXX='-L$libdir'
9653 hardcode_libdir_separator_CXX=
9656 shared_flag='-shared'
9659 if test "$host_cpu" = ia64; then
9660 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9661 # chokes on -Wl,-G. The following line is correct:
9664 if test "$aix_use_runtimelinking" = yes; then
9665 shared_flag='${wl}-G'
9667 shared_flag='${wl}-bM:SRE'
9672 # It seems that -bexpall does not export symbols beginning with
9673 # underscore (_), so it is better to generate a list of symbols to export.
9674 always_export_symbols_CXX=yes
9675 if test "$aix_use_runtimelinking" = yes; then
9676 # Warning - without using the other runtime loading flags (-brtl),
9677 # -berok will link without error, but may produce a broken library.
9678 allow_undefined_flag_CXX='-berok'
9679 # Determine the default libpath from the value encoded in an empty executable.
9680 cat >conftest.$ac_ext <<_ACEOF
9681 #line $LINENO "configure"
9684 cat confdefs.h >>conftest.$ac_ext
9685 cat >>conftest.$ac_ext <<_ACEOF
9686 /* end confdefs.h. */
9696 rm -f conftest.$ac_objext conftest$ac_exeext
9697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9698 (eval $ac_link) 2>&5
9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9701 (exit $ac_status); } &&
9702 { ac_try='test -s conftest$ac_exeext'
9703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 (exit $ac_status); }; }; then
9709 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9711 # Check for a 64-bit object if we didn't find anything.
9712 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; }
9715 echo "$as_me: failed program was:" >&5
9716 sed 's/^/| /' conftest.$ac_ext >&5
9719 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9720 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9722 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9724 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"
9726 if test "$host_cpu" = ia64; then
9727 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9728 allow_undefined_flag_CXX="-z nodefs"
9729 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"
9731 # Determine the default libpath from the value encoded in an empty executable.
9732 cat >conftest.$ac_ext <<_ACEOF
9733 #line $LINENO "configure"
9736 cat confdefs.h >>conftest.$ac_ext
9737 cat >>conftest.$ac_ext <<_ACEOF
9738 /* end confdefs.h. */
9748 rm -f conftest.$ac_objext conftest$ac_exeext
9749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9750 (eval $ac_link) 2>&5
9752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753 (exit $ac_status); } &&
9754 { ac_try='test -s conftest$ac_exeext'
9755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759 (exit $ac_status); }; }; then
9761 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9763 # Check for a 64-bit object if we didn't find anything.
9764 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; }
9767 echo "$as_me: failed program was:" >&5
9768 sed 's/^/| /' conftest.$ac_ext >&5
9771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9772 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9774 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9775 # Warning - without using the other run time loading flags,
9776 # -berok will link without error, but may produce a broken library.
9777 no_undefined_flag_CXX=' ${wl}-bernotok'
9778 allow_undefined_flag_CXX=' ${wl}-berok'
9779 # -bexpall does not export symbols beginning with underscore (_)
9780 always_export_symbols_CXX=yes
9781 # Exported symbols can be pulled into shared objects from archives
9782 whole_archive_flag_spec_CXX=' '
9783 archive_cmds_need_lc_CXX=yes
9784 # This is similar to how AIX traditionally builds it's shared libraries.
9785 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'
9790 case $cc_basename in
9792 # FIXME: insert proper C++ library support
9798 cygwin* | mingw* | pw32*)
9799 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9800 # as there is no search path for DLLs.
9801 hardcode_libdir_flag_spec_CXX='-L$libdir'
9802 allow_undefined_flag_CXX=unsupported
9803 always_export_symbols_CXX=no
9804 enable_shared_with_static_runtimes_CXX=yes
9806 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9807 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'
9808 # If the export-symbols file already is a .def file (1st line
9809 # is EXPORTS), use it as is; otherwise, prepend...
9810 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9811 cp $export_symbols $output_objdir/$soname.def;
9813 echo EXPORTS > $output_objdir/$soname.def;
9814 cat $export_symbols >> $output_objdir/$soname.def;
9816 $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'
9822 darwin* | rhapsody*)
9823 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9824 archive_cmds_need_lc_CXX=no
9826 rhapsody* | darwin1.[012])
9827 allow_undefined_flag_CXX='-undefined suppress'
9830 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9833 lt_int_apple_cc_single_mod=no
9834 output_verbose_link_cmd='echo'
9835 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9836 lt_int_apple_cc_single_mod=yes
9838 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9839 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9841 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'
9843 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9845 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9846 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9847 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}'
9849 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}'
9851 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}'
9852 hardcode_direct_CXX=no
9853 hardcode_automatic_CXX=yes
9854 hardcode_shlibpath_var_CXX=unsupported
9855 whole_archive_flag_spec_CXX='-all_load $convenience'
9856 link_all_deplibs_CXX=yes
9861 case $cc_basename in
9863 # FIXME: insert proper C++ library support
9867 # Green Hills C++ Compiler
9868 # FIXME: insert proper C++ library support
9872 # FIXME: insert proper C++ library support
9878 # C++ shared libraries reported to be fairly broken before switch to ELF
9882 archive_cmds_need_lc_CXX=no
9885 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9892 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9893 hardcode_libdir_separator_CXX=:
9894 export_dynamic_flag_spec_CXX='${wl}-E'
9895 hardcode_direct_CXX=yes
9896 hardcode_minus_L_CXX=yes # Not in the search PATH,
9897 # but as the default
9898 # location of the library.
9900 case $cc_basename in
9902 # FIXME: insert proper C++ library support
9906 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'
9907 # Commands to make compiler produce verbose output that lists
9908 # what "hidden" libraries, object files and flags are used when
9909 # linking a shared library.
9911 # There doesn't appear to be a way to prevent this compiler from
9912 # explicitly linking system object files so we need to strip them
9913 # from the output so that they don't get included in the library
9915 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'
9918 if test "$GXX" = yes; then
9919 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'
9921 # FIXME: insert proper C++ library support
9928 if test $with_gnu_ld = no; then
9931 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9932 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9933 hardcode_libdir_separator_CXX=:
9936 hardcode_libdir_flag_spec_CXX='-L$libdir'
9939 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9940 hardcode_libdir_separator_CXX=:
9941 export_dynamic_flag_spec_CXX='${wl}-E'
9947 hardcode_direct_CXX=no
9948 hardcode_shlibpath_var_CXX=no
9951 hardcode_direct_CXX=no
9952 hardcode_shlibpath_var_CXX=no
9953 hardcode_minus_L_CXX=yes # Not in the search PATH,
9954 # but as the default
9955 # location of the library.
9958 hardcode_direct_CXX=yes
9959 hardcode_minus_L_CXX=yes # Not in the search PATH,
9960 # but as the default
9961 # location of the library.
9965 case $cc_basename in
9967 # FIXME: insert proper C++ library support
9973 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9976 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9979 # Commands to make compiler produce verbose output that lists
9980 # what "hidden" libraries, object files and flags are used when
9981 # linking a shared library.
9983 # There doesn't appear to be a way to prevent this compiler from
9984 # explicitly linking system object files so we need to strip them
9985 # from the output so that they don't get included in the library
9987 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'
9990 if test "$GXX" = yes; then
9991 if test $with_gnu_ld = no; then
9994 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9997 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'
10002 # FIXME: insert proper C++ library support
10009 case $cc_basename in
10012 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'
10014 # Archives containing C++ object files must be created using
10015 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10016 # necessary to make sure instantiated templates are included
10018 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10021 if test "$GXX" = yes; then
10022 if test "$with_gnu_ld" = no; then
10023 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'
10025 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'
10028 link_all_deplibs_CXX=yes
10031 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10032 hardcode_libdir_separator_CXX=:
10035 case $cc_basename in
10037 # Kuck and Associates, Inc. (KAI) C++ Compiler
10039 # KCC will only create a shared library if the output file
10040 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10041 # to its proper name (with version) after linking.
10042 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'
10043 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'
10044 # Commands to make compiler produce verbose output that lists
10045 # what "hidden" libraries, object files and flags are used when
10046 # linking a shared library.
10048 # There doesn't appear to be a way to prevent this compiler from
10049 # explicitly linking system object files so we need to strip them
10050 # from the output so that they don't get included in the library
10052 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'
10054 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10055 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10057 # Archives containing C++ object files must be created using
10058 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10059 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10064 archive_cmds_need_lc_CXX=no
10065 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10066 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'
10067 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10068 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10069 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10073 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10074 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
10076 runpath_var=LD_RUN_PATH
10077 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10078 hardcode_libdir_separator_CXX=:
10080 # Commands to make compiler produce verbose output that lists
10081 # what "hidden" libraries, object files and flags are used when
10082 # linking a shared library.
10084 # There doesn't appear to be a way to prevent this compiler from
10085 # explicitly linking system object files so we need to strip them
10086 # from the output so that they don't get included in the library
10088 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'
10093 # FIXME: insert proper C++ library support
10097 # FIXME: insert proper C++ library support
10101 case $cc_basename in
10103 # FIXME: insert proper C++ library support
10107 # FIXME: insert proper C++ library support
10113 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10114 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10116 hardcode_libdir_flag_spec_CXX='-R$libdir'
10117 hardcode_direct_CXX=yes
10118 hardcode_shlibpath_var_CXX=no
10120 # Workaround some broken pre-1.5 toolchains
10121 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10124 case $cc_basename in
10126 # Kuck and Associates, Inc. (KAI) C++ Compiler
10128 # KCC will only create a shared library if the output file
10129 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10130 # to its proper name (with version) after linking.
10131 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'
10133 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10134 hardcode_libdir_separator_CXX=:
10136 # Archives containing C++ object files must be created using
10137 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10138 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10142 # Rational C++ 2.4.1
10143 # FIXME: insert proper C++ library support
10147 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10148 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'
10150 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10151 hardcode_libdir_separator_CXX=:
10153 # Commands to make compiler produce verbose output that lists
10154 # what "hidden" libraries, object files and flags are used when
10155 # linking a shared library.
10157 # There doesn't appear to be a way to prevent this compiler from
10158 # explicitly linking system object files so we need to strip them
10159 # from the output so that they don't get included in the library
10161 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'
10164 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10165 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10166 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'
10168 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10169 hardcode_libdir_separator_CXX=:
10171 # Commands to make compiler produce verbose output that lists
10172 # what "hidden" libraries, object files and flags are used when
10173 # linking a shared library.
10174 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10177 # FIXME: insert proper C++ library support
10184 case $cc_basename in
10186 # Kuck and Associates, Inc. (KAI) C++ Compiler
10188 # KCC will only create a shared library if the output file
10189 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10190 # to its proper name (with version) after linking.
10191 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'
10193 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10194 hardcode_libdir_separator_CXX=:
10196 # Archives containing C++ object files must be created using
10197 # the KAI C++ compiler.
10198 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10201 # Rational C++ 2.4.1
10202 # FIXME: insert proper C++ library support
10206 allow_undefined_flag_CXX=' -expect_unresolved \*'
10207 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'
10208 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10209 echo "-hidden">> $lib.exp~
10210 $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~
10213 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10214 hardcode_libdir_separator_CXX=:
10216 # Commands to make compiler produce verbose output that lists
10217 # what "hidden" libraries, object files and flags are used when
10218 # linking a shared library.
10220 # There doesn't appear to be a way to prevent this compiler from
10221 # explicitly linking system object files so we need to strip them
10222 # from the output so that they don't get included in the library
10224 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'
10227 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10228 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10229 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'
10231 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10232 hardcode_libdir_separator_CXX=:
10234 # Commands to make compiler produce verbose output that lists
10235 # what "hidden" libraries, object files and flags are used when
10236 # linking a shared library.
10237 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10240 # FIXME: insert proper C++ library support
10247 # FIXME: insert proper C++ library support
10251 archive_cmds_need_lc_CXX=no
10252 case $cc_basename in
10254 # FIXME: insert proper C++ library support
10258 # FIXME: insert proper C++ library support
10264 case $cc_basename in
10267 # FIXME: insert proper C++ library support
10272 # FIXME: insert proper C++ library support
10276 # FIXME: insert proper C++ library support
10282 case $cc_basename in
10284 # Sun C++ 4.2, 5.x and Centerline C++
10285 no_undefined_flag_CXX=' -zdefs'
10286 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10287 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10288 $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'
10290 hardcode_libdir_flag_spec_CXX='-R$libdir'
10291 hardcode_shlibpath_var_CXX=no
10293 solaris2.0-5 | solaris2.0-5.*) ;;
10295 # The C++ compiler is used as linker so we must use $wl
10296 # flag to pass the commands to the underlying system
10298 # Supported since Solaris 2.6 (maybe 2.5.1?)
10299 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10302 link_all_deplibs_CXX=yes
10304 # Commands to make compiler produce verbose output that lists
10305 # what "hidden" libraries, object files and flags are used when
10306 # linking a shared library.
10308 # There doesn't appear to be a way to prevent this compiler from
10309 # explicitly linking system object files so we need to strip them
10310 # from the output so that they don't get included in the library
10312 output_verbose_link_cmd='templist=`$CC -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'
10314 # Archives containing C++ object files must be created using
10315 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10316 # necessary to make sure instantiated templates are included
10318 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10321 # Green Hills C++ Compiler
10322 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10324 # The C++ compiler must be used to create the archive.
10325 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10328 # GNU C++ compiler with Solaris linker
10329 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10330 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10331 if $CC --version | grep -v '^2\.7' > /dev/null; then
10332 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10333 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10334 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10336 # Commands to make compiler produce verbose output that lists
10337 # what "hidden" libraries, object files and flags are used when
10338 # linking a shared library.
10339 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10341 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10343 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10344 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10345 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10347 # Commands to make compiler produce verbose output that lists
10348 # what "hidden" libraries, object files and flags are used when
10349 # linking a shared library.
10350 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10353 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10358 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10359 archive_cmds_need_lc_CXX=no
10362 case $cc_basename in
10364 # NonStop-UX NCC 3.20
10365 # FIXME: insert proper C++ library support
10369 # FIXME: insert proper C++ library support
10375 # FIXME: insert proper C++ library support
10379 # FIXME: insert proper C++ library support
10383 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10384 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10385 test "$ld_shlibs_CXX" = no && can_build_shared=no
10391 ## There is no encapsulation within the following macros, do not change
10392 ## the running order or otherwise move them around unless you know exactly
10393 ## what you are doing...
10395 cat > conftest.$ac_ext <<EOF
10399 Foo (void) { a = 0; }
10405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10406 (eval $ac_compile) 2>&5
10408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10409 (exit $ac_status); }; then
10410 # Parse the compiler output and extract the necessary
10411 # objects, libraries and library flags.
10413 # Sentinel used to keep track of whether or not we are before
10414 # the conftest object file.
10415 pre_test_object_deps_done=no
10417 # The `*' in the case matches for architectures that use `case' in
10418 # $output_verbose_cmd can trigger glob expansion during the loop
10419 # eval without this substitution.
10420 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10422 for p in `eval $output_verbose_link_cmd`; do
10426 # Some compilers place space between "-{L,R}" and the path.
10427 # Remove the space.
10428 if test $p = "-L" \
10429 || test $p = "-R"; then
10436 if test "$pre_test_object_deps_done" = no; then
10439 # Internal compiler library paths should come after those
10440 # provided the user. The postdeps already come after the
10441 # user supplied libs so there is no need to process them.
10442 if test -z "$compiler_lib_search_path_CXX"; then
10443 compiler_lib_search_path_CXX="${prev}${p}"
10445 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10448 # The "-l" case would never come before the object being
10449 # linked, so don't bother handling this case.
10452 if test -z "$postdeps_CXX"; then
10453 postdeps_CXX="${prev}${p}"
10455 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10461 # This assumes that the test object file only shows up
10462 # once in the compiler output.
10463 if test "$p" = "conftest.$objext"; then
10464 pre_test_object_deps_done=yes
10468 if test "$pre_test_object_deps_done" = no; then
10469 if test -z "$predep_objects_CXX"; then
10470 predep_objects_CXX="$p"
10472 predep_objects_CXX="$predep_objects_CXX $p"
10475 if test -z "$postdep_objects_CXX"; then
10476 postdep_objects_CXX="$p"
10478 postdep_objects_CXX="$postdep_objects_CXX $p"
10483 *) ;; # Ignore the rest.
10491 echo "libtool.m4: error: problem compiling CXX test program"
10494 $rm -f confest.$objext
10496 case " $postdeps_CXX " in
10497 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10500 lt_prog_compiler_wl_CXX=
10501 lt_prog_compiler_pic_CXX=
10502 lt_prog_compiler_static_CXX=
10504 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10505 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10507 # C++ specific cases for pic, static, wl, etc.
10508 if test "$GXX" = yes; then
10509 lt_prog_compiler_wl_CXX='-Wl,'
10510 lt_prog_compiler_static_CXX='-static'
10514 # All AIX code is PIC.
10515 if test "$host_cpu" = ia64; then
10516 # AIX 5 now supports IA64 processor
10517 lt_prog_compiler_static_CXX='-Bstatic'
10521 # FIXME: we need at least 68020 code to build shared libraries, but
10522 # adding the `-m68020' flag to GCC prevents building anything better,
10524 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10526 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10527 # PIC is the default for these OSes.
10529 mingw* | os2* | pw32*)
10530 # This hack is so that the source file can tell whether it is being
10531 # built for inclusion in a dll (and should export symbols for example).
10532 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10534 darwin* | rhapsody*)
10535 # PIC is the default on this platform
10536 # Common symbols not allowed in MH_DYLIB files
10537 lt_prog_compiler_pic_CXX='-fno-common'
10540 # DJGPP does not support shared libraries at all
10541 lt_prog_compiler_pic_CXX=
10544 if test -d /usr/nec; then
10545 lt_prog_compiler_pic_CXX=-Kconform_pic
10549 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10550 # not for PA HP-UX.
10551 case "$host_cpu" in
10555 lt_prog_compiler_pic_CXX='-fPIC'
10560 lt_prog_compiler_pic_CXX='-fPIC'
10566 # All AIX code is PIC.
10567 if test "$host_cpu" = ia64; then
10568 # AIX 5 now supports IA64 processor
10569 lt_prog_compiler_static_CXX='-Bstatic'
10571 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10575 case $cc_basename in
10577 # Green Hills C++ Compiler
10578 # _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"
10583 case $cc_basename in
10585 lt_prog_compiler_pic_CXX='-KPIC'
10588 # Green Hills C++ Compiler
10589 lt_prog_compiler_pic_CXX='-pic'
10596 # FreeBSD uses GNU C++
10598 hpux9* | hpux10* | hpux11*)
10599 case $cc_basename in
10601 lt_prog_compiler_wl_CXX='-Wl,'
10602 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10603 if test "$host_cpu" != ia64; then
10604 lt_prog_compiler_pic_CXX='+Z'
10608 lt_prog_compiler_wl_CXX='-Wl,'
10609 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10610 case "$host_cpu" in
10615 lt_prog_compiler_pic_CXX='+Z'
10623 irix5* | irix6* | nonstopux*)
10624 case $cc_basename in
10626 lt_prog_compiler_wl_CXX='-Wl,'
10627 lt_prog_compiler_static_CXX='-non_shared'
10628 # CC pic flag -KPIC is the default.
10635 case $cc_basename in
10638 lt_prog_compiler_wl_CXX='--backend -Wl,'
10639 lt_prog_compiler_pic_CXX='-fPIC'
10643 lt_prog_compiler_wl_CXX='-Wl,'
10644 lt_prog_compiler_pic_CXX='-KPIC'
10645 lt_prog_compiler_static_CXX='-static'
10649 # Make sure the PIC flag is empty. It appears that all Alpha
10650 # Linux and Compaq Tru64 Unix objects are PIC.
10651 lt_prog_compiler_pic_CXX=
10652 lt_prog_compiler_static_CXX='-non_shared'
10663 case $cc_basename in
10665 lt_prog_compiler_pic_CXX='-W c,exportall'
10673 osf3* | osf4* | osf5*)
10674 case $cc_basename in
10676 lt_prog_compiler_wl_CXX='--backend -Wl,'
10679 # Rational C++ 2.4.1
10680 lt_prog_compiler_pic_CXX='-pic'
10683 # Digital/Compaq C++
10684 lt_prog_compiler_wl_CXX='-Wl,'
10685 # Make sure the PIC flag is empty. It appears that all Alpha
10686 # Linux and Compaq Tru64 Unix objects are PIC.
10687 lt_prog_compiler_pic_CXX=
10688 lt_prog_compiler_static_CXX='-non_shared'
10697 case $cc_basename in
10699 lt_prog_compiler_pic_CXX='-fPIC'
10706 case $cc_basename in
10708 # Sun C++ 4.2, 5.x and Centerline C++
10709 lt_prog_compiler_pic_CXX='-KPIC'
10710 lt_prog_compiler_static_CXX='-Bstatic'
10711 lt_prog_compiler_wl_CXX='-Qoption ld '
10714 # Green Hills C++ Compiler
10715 lt_prog_compiler_pic_CXX='-PIC'
10722 case $cc_basename in
10725 lt_prog_compiler_pic_CXX='-pic'
10726 lt_prog_compiler_static_CXX='-Bstatic'
10730 lt_prog_compiler_pic_CXX='-pic'
10737 case $cc_basename in
10739 # NonStop-UX NCC 3.20
10740 lt_prog_compiler_pic_CXX='-KPIC'
10751 lt_prog_compiler_can_build_shared_CXX=no
10756 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10757 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10760 # Check to make sure the PIC flag actually works.
10762 if test -n "$lt_prog_compiler_pic_CXX"; then
10763 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10764 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10765 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10766 echo $ECHO_N "(cached) $ECHO_C" >&6
10768 lt_prog_compiler_pic_works_CXX=no
10769 ac_outfile=conftest.$ac_objext
10770 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10771 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10772 # Insert the option either (1) after the last *FLAGS variable, or
10773 # (2) before a word containing "conftest.", or (3) at the end.
10774 # Note that $ac_compile itself does not contain backslashes and begins
10775 # with a dollar sign (not a hyphen), so the echo should work correctly.
10776 # The option is referenced via a variable to avoid confusing sed.
10777 lt_compile=`echo "$ac_compile" | $SED \
10778 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10779 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10780 -e 's:$: $lt_compiler_flag:'`
10781 (eval echo "\"\$as_me:10781: $lt_compile\"" >&5)
10782 (eval "$lt_compile" 2>conftest.err)
10784 cat conftest.err >&5
10785 echo "$as_me:10785: \$? = $ac_status" >&5
10786 if (exit $ac_status) && test -s "$ac_outfile"; then
10787 # The compiler can only warn and ignore the option if not recognized
10788 # So say no if there are warnings
10789 if test ! -s conftest.err; then
10790 lt_prog_compiler_pic_works_CXX=yes
10796 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10797 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10799 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10800 case $lt_prog_compiler_pic_CXX in
10802 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10805 lt_prog_compiler_pic_CXX=
10806 lt_prog_compiler_can_build_shared_CXX=no
10811 # For platforms which do not support PIC, -DPIC is meaningless:
10813 lt_prog_compiler_pic_CXX=
10816 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10820 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10821 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10822 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10823 echo $ECHO_N "(cached) $ECHO_C" >&6
10825 lt_cv_prog_compiler_c_o_CXX=no
10826 $rm -r conftest 2>/dev/null
10830 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10832 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10833 # that will create temporary files in the current directory regardless of
10834 # the output directory. Thus, making CWD read-only will cause this test
10835 # to fail, enabling locking or at least warning the user not to do parallel
10839 lt_compiler_flag="-o out/conftest2.$ac_objext"
10840 # Insert the option either (1) after the last *FLAGS variable, or
10841 # (2) before a word containing "conftest.", or (3) at the end.
10842 # Note that $ac_compile itself does not contain backslashes and begins
10843 # with a dollar sign (not a hyphen), so the echo should work correctly.
10844 lt_compile=`echo "$ac_compile" | $SED \
10845 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10846 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10847 -e 's:$: $lt_compiler_flag:'`
10848 (eval echo "\"\$as_me:10848: $lt_compile\"" >&5)
10849 (eval "$lt_compile" 2>out/conftest.err)
10851 cat out/conftest.err >&5
10852 echo "$as_me:10852: \$? = $ac_status" >&5
10853 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10855 # The compiler can only warn and ignore the option if not recognized
10856 # So say no if there are warnings
10857 if test ! -s out/conftest.err; then
10858 lt_cv_prog_compiler_c_o_CXX=yes
10862 $rm conftest* out/*
10869 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10870 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10873 hard_links="nottested"
10874 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10875 # do not overwrite the value of need_locks provided by the user
10876 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10877 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10880 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10882 ln conftest.a conftest.b 2>&5 || hard_links=no
10883 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10884 echo "$as_me:$LINENO: result: $hard_links" >&5
10885 echo "${ECHO_T}$hard_links" >&6
10886 if test "$hard_links" = no; then
10887 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10888 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10895 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10896 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10898 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10901 # If we're using GNU nm, then we don't want the "-C" option.
10902 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10903 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10904 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'
10906 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'
10910 export_symbols_cmds_CXX="$ltdll_cmds"
10913 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10916 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10920 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10921 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10922 test "$ld_shlibs_CXX" = no && can_build_shared=no
10924 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10925 if test "$GCC" = yes; then
10926 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10930 # Do we need to explicitly link libc?
10932 case "x$archive_cmds_need_lc_CXX" in
10934 # Assume -lc should be added
10935 archive_cmds_need_lc_CXX=yes
10937 if test "$enable_shared" = yes && test "$GCC" = yes; then
10938 case $archive_cmds_CXX in
10940 # FIXME: we may have to deal with multi-command sequences.
10943 # Test whether the compiler implicitly links with -lc since on some
10944 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10945 # to ld, don't add -lc before -lgcc.
10946 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10947 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10949 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10952 (eval $ac_compile) 2>&5
10954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); } 2>conftest.err; then
10958 libobjs=conftest.$ac_objext
10960 wl=$lt_prog_compiler_wl_CXX
10966 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10967 allow_undefined_flag_CXX=
10968 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10969 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); }
10974 archive_cmds_need_lc_CXX=no
10976 archive_cmds_need_lc_CXX=yes
10978 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
10980 cat conftest.err 1>&5
10983 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
10984 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
10991 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10992 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10993 hardcode_action_CXX=
10994 if test -n "$hardcode_libdir_flag_spec_CXX" || \
10995 test -n "$runpath_var CXX" || \
10996 test "X$hardcode_automatic_CXX"="Xyes" ; then
10998 # We can hardcode non-existant directories.
10999 if test "$hardcode_direct_CXX" != no &&
11000 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11001 # have to relink, otherwise we might link with an installed library
11002 # when we should be linking with a yet-to-be-installed one
11003 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11004 test "$hardcode_minus_L_CXX" != no; then
11005 # Linking always hardcodes the temporary library directory.
11006 hardcode_action_CXX=relink
11008 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11009 hardcode_action_CXX=immediate
11012 # We cannot hardcode anything, or else we can only hardcode existing
11014 hardcode_action_CXX=unsupported
11016 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11017 echo "${ECHO_T}$hardcode_action_CXX" >&6
11019 if test "$hardcode_action_CXX" = relink; then
11020 # Fast installation is not supported
11021 enable_fast_install=no
11022 elif test "$shlibpath_overrides_runpath" = yes ||
11023 test "$enable_shared" = no; then
11024 # Fast installation is not necessary
11025 enable_fast_install=needless
11030 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11031 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11032 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11033 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11034 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11035 echo "$as_me:$LINENO: result: yes" >&5
11036 echo "${ECHO_T}yes" >&6
11038 # FIXME - insert some real tests, host_os isn't really good enough
11041 if test -n "$STRIP" ; then
11042 striplib="$STRIP -x"
11043 echo "$as_me:$LINENO: result: yes" >&5
11044 echo "${ECHO_T}yes" >&6
11046 echo "$as_me:$LINENO: result: no" >&5
11047 echo "${ECHO_T}no" >&6
11051 echo "$as_me:$LINENO: result: no" >&5
11052 echo "${ECHO_T}no" >&6
11057 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11058 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11059 library_names_spec=
11060 libname_spec='lib$name'
11064 postuninstall_cmds=
11068 shlibpath_overrides_runpath=unknown
11070 dynamic_linker="$host_os ld.so"
11071 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11072 if test "$GCC" = yes; then
11073 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11074 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11075 # if the path contains ";" then we assume it to be the separator
11076 # otherwise default to the standard path separator (i.e. ":") - it is
11077 # assumed that no part of a normal pathname contains ";" but that should
11078 # okay in the real world where ";" in dirpaths is itself problematic.
11079 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11081 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11084 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11086 need_lib_prefix=unknown
11087 hardcode_into_libs=no
11089 # when you set need_version to no, make sure it does not cause -set_version
11090 # flags to be left without arguments
11091 need_version=unknown
11096 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11097 shlibpath_var=LIBPATH
11099 # AIX 3 has no versioning support, so we append a major version to the name.
11100 soname_spec='${libname}${release}${shared_ext}$major'
11107 hardcode_into_libs=yes
11108 if test "$host_cpu" = ia64; then
11109 # AIX 5 supports IA64
11110 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11111 shlibpath_var=LD_LIBRARY_PATH
11113 # With GCC up to 2.95.x, collect2 would create an import file
11114 # for dependence libraries. The import file would start with
11115 # the line `#! .'. This would cause the generated library to
11116 # depend on `.', always an invalid library. This was fixed in
11117 # development snapshots of GCC prior to 3.0.
11119 aix4 | aix4.[01] | aix4.[01].*)
11120 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11122 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11125 can_build_shared=no
11129 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11130 # soname into executable. Probably we can add versioning support to
11131 # collect2, so additional links can be useful in future.
11132 if test "$aix_use_runtimelinking" = yes; then
11133 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11134 # instead of lib<name>.a to let people know that these are not
11135 # typical AIX shared libraries.
11136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11138 # We preserve .a as extension for shared libraries through AIX4.2
11139 # and later when we are not doing run time linking.
11140 library_names_spec='${libname}${release}.a $libname.a'
11141 soname_spec='${libname}${release}${shared_ext}$major'
11143 shlibpath_var=LIBPATH
11148 library_names_spec='$libname.ixlibrary $libname.a'
11149 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11150 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'
11154 library_names_spec='${libname}${shared_ext}'
11155 dynamic_linker="$host_os ld.so"
11156 shlibpath_var=LIBRARY_PATH
11162 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11163 soname_spec='${libname}${release}${shared_ext}$major'
11164 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11165 shlibpath_var=LD_LIBRARY_PATH
11166 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11167 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11168 # the default ld.so.conf also contains /usr/contrib/lib and
11169 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11170 # libtool to hard-code these into programs
11173 cygwin* | mingw* | pw32*)
11174 version_type=windows
11179 case $GCC,$host_os in
11180 yes,cygwin* | yes,mingw* | yes,pw32*)
11181 library_names_spec='$libname.dll.a'
11182 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11183 postinstall_cmds='base_file=`basename \${file}`~
11184 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11185 dldir=$destdir/`dirname \$dlpath`~
11186 test -d \$dldir || mkdir -p \$dldir~
11187 $install_prog $dir/$dlname \$dldir/$dlname'
11188 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11189 dlpath=$dir/\$dldll~
11191 shlibpath_overrides_runpath=yes
11195 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11196 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11197 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11200 # MinGW DLLs use traditional 'lib' prefix
11201 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11202 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11203 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11204 # It is most probably a Windows format PATH printed by
11205 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11206 # path with ; separators, and with drive letters. We can handle the
11207 # drive letters (cygwin fileutils understands them), so leave them,
11208 # especially as we might pass files found there to a mingw objdump,
11209 # which wouldn't understand a cygwinified path. Ahh.
11210 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11212 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11216 # pw32 DLLs use 'pw' prefix rather than 'lib'
11217 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11223 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11226 dynamic_linker='Win32 ld.exe'
11227 # FIXME: first we should search . and the directory the executable is in
11231 darwin* | rhapsody*)
11232 dynamic_linker="$host_os dyld"
11233 version_type=darwin
11236 # FIXME: Relying on posixy $() will cause problems for
11237 # cross-compilation, but unfortunately the echo tests do not
11238 # yet detect zsh echo's removal of \ escapes.
11239 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11240 soname_spec='${libname}${release}${major}$shared_ext'
11241 shlibpath_overrides_runpath=yes
11242 shlibpath_var=DYLD_LIBRARY_PATH
11243 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11244 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11245 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11246 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"`
11248 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11255 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11256 soname_spec='${libname}${release}${shared_ext}$major'
11257 shlibpath_var=LD_LIBRARY_PATH
11265 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11266 version_type=freebsd-$objformat
11267 case $version_type in
11269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11274 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11278 shlibpath_var=LD_LIBRARY_PATH
11281 shlibpath_overrides_runpath=yes
11283 freebsd3.01* | freebsdelf3.01*)
11284 shlibpath_overrides_runpath=yes
11285 hardcode_into_libs=yes
11288 shlibpath_overrides_runpath=no
11289 hardcode_into_libs=yes
11298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11299 soname_spec='${libname}${release}${shared_ext}$major'
11300 shlibpath_var=LD_LIBRARY_PATH
11301 hardcode_into_libs=yes
11304 hpux9* | hpux10* | hpux11*)
11305 # Give a soname corresponding to the major version so that dld.sl refuses to
11306 # link against other versions.
11310 case "$host_cpu" in
11313 hardcode_into_libs=yes
11314 dynamic_linker="$host_os dld.so"
11315 shlibpath_var=LD_LIBRARY_PATH
11316 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11318 soname_spec='${libname}${release}${shared_ext}$major'
11319 if test "X$HPUX_IA64_MODE" = X32; then
11320 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11322 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11324 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11328 hardcode_into_libs=yes
11329 dynamic_linker="$host_os dld.sl"
11330 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11331 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11333 soname_spec='${libname}${release}${shared_ext}$major'
11334 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11335 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11339 dynamic_linker="$host_os dld.sl"
11340 shlibpath_var=SHLIB_PATH
11341 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11343 soname_spec='${libname}${release}${shared_ext}$major'
11346 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11347 postinstall_cmds='chmod 555 $lib'
11350 irix5* | irix6* | nonstopux*)
11352 nonstopux*) version_type=nonstopux ;;
11354 if test "$lt_cv_prog_gnu_ld" = yes; then
11362 soname_spec='${libname}${release}${shared_ext}$major'
11363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11365 irix5* | nonstopux*)
11366 libsuff= shlibsuff=
11369 case $LD in # libtool.m4 will add one of these switches to LD
11370 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11371 libsuff= shlibsuff= libmagic=32-bit;;
11372 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11373 libsuff=32 shlibsuff=N32 libmagic=N32;;
11374 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11375 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11376 *) libsuff= shlibsuff= libmagic=never-match;;
11380 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11381 shlibpath_overrides_runpath=no
11382 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11383 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11384 hardcode_into_libs=yes
11387 # No shared lib support for Linux oldld, aout, or coff.
11388 linux*oldld* | linux*aout* | linux*coff*)
11392 # This must be Linux ELF.
11397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11398 soname_spec='${libname}${release}${shared_ext}$major'
11399 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11400 shlibpath_var=LD_LIBRARY_PATH
11401 shlibpath_overrides_runpath=no
11402 # This implies no fast_install, which is unacceptable.
11403 # Some rework will be needed to allow for fast_install
11404 # before this can be enabled.
11405 hardcode_into_libs=yes
11407 # We used to test for /lib/ld.so.1 and disable shared libraries on
11408 # powerpc, because MkLinux only supported shared libraries with the
11409 # GNU dynamic linker. Since this was broken with cross compilers,
11410 # most powerpc-linux boxes support dynamic linking these days and
11411 # people can always --disable-shared, the test was removed, and we
11412 # assume the GNU/Linux dynamic linker is in use.
11413 dynamic_linker='GNU/Linux ld.so'
11420 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11422 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11423 dynamic_linker='NetBSD (a.out) ld.so'
11425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11426 soname_spec='${libname}${release}${shared_ext}$major'
11427 dynamic_linker='NetBSD ld.elf_so'
11429 shlibpath_var=LD_LIBRARY_PATH
11430 shlibpath_overrides_runpath=yes
11431 hardcode_into_libs=yes
11436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11437 shlibpath_var=LD_LIBRARY_PATH
11438 shlibpath_overrides_runpath=yes
11445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11446 soname_spec='${libname}${release}${shared_ext}$major'
11447 shlibpath_var=LD_LIBRARY_PATH
11448 shlibpath_overrides_runpath=yes
11455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11456 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11457 shlibpath_var=LD_LIBRARY_PATH
11458 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11460 openbsd2.[89] | openbsd2.[89].*)
11461 shlibpath_overrides_runpath=no
11464 shlibpath_overrides_runpath=yes
11468 shlibpath_overrides_runpath=yes
11473 libname_spec='$name'
11476 library_names_spec='$libname${shared_ext} $libname.a'
11477 dynamic_linker='OS/2 ld.exe'
11478 shlibpath_var=LIBPATH
11481 osf3* | osf4* | osf5*)
11485 soname_spec='${libname}${release}${shared_ext}$major'
11486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11487 shlibpath_var=LD_LIBRARY_PATH
11488 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11489 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11494 soname_spec='${libname}${release}${shared_ext}$major'
11495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11496 shlibpath_var=LD_LIBRARY_PATH
11503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11504 soname_spec='${libname}${release}${shared_ext}$major'
11505 shlibpath_var=LD_LIBRARY_PATH
11506 shlibpath_overrides_runpath=yes
11507 hardcode_into_libs=yes
11508 # ldd complains unless libraries are executable
11509 postinstall_cmds='chmod +x $lib'
11514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11515 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11516 shlibpath_var=LD_LIBRARY_PATH
11517 shlibpath_overrides_runpath=yes
11518 if test "$with_gnu_ld" = yes; then
11524 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11527 soname_spec='${libname}${release}${shared_ext}$major'
11528 shlibpath_var=LD_LIBRARY_PATH
11529 case $host_vendor in
11531 shlibpath_overrides_runpath=no
11533 export_dynamic_flag_spec='${wl}-Blargedynsym'
11534 runpath_var=LD_RUN_PATH
11542 shlibpath_overrides_runpath=no
11543 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11549 if test -d /usr/nec ;then
11551 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11552 soname_spec='$libname${shared_ext}.$major'
11553 shlibpath_var=LD_LIBRARY_PATH
11559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11560 soname_spec='${libname}${release}${shared_ext}$major'
11561 shlibpath_var=LD_LIBRARY_PATH
11568 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11569 echo "${ECHO_T}$dynamic_linker" >&6
11570 test "$dynamic_linker" = no && can_build_shared=no
11572 if test "x$enable_dlopen" != xyes; then
11573 enable_dlopen=unknown
11574 enable_dlopen_self=unknown
11575 enable_dlopen_self_static=unknown
11582 lt_cv_dlopen="load_add_on"
11584 lt_cv_dlopen_self=yes
11588 lt_cv_dlopen="LoadLibrary"
11593 lt_cv_dlopen="dlopen"
11598 # if libdl is installed we need to link against it
11599 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11600 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11601 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11602 echo $ECHO_N "(cached) $ECHO_C" >&6
11604 ac_check_lib_save_LIBS=$LIBS
11606 cat >conftest.$ac_ext <<_ACEOF
11607 #line $LINENO "configure"
11610 cat confdefs.h >>conftest.$ac_ext
11611 cat >>conftest.$ac_ext <<_ACEOF
11612 /* end confdefs.h. */
11614 /* Override any gcc2 internal prototype to avoid an error. */
11618 /* We use char because int might match the return type of a gcc2
11619 builtin and then its argument prototype would still apply. */
11629 rm -f conftest.$ac_objext conftest$ac_exeext
11630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11631 (eval $ac_link) 2>&5
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); } &&
11635 { ac_try='test -s conftest$ac_exeext'
11636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11637 (eval $ac_try) 2>&5
11639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11640 (exit $ac_status); }; }; then
11641 ac_cv_lib_dl_dlopen=yes
11643 echo "$as_me: failed program was:" >&5
11644 sed 's/^/| /' conftest.$ac_ext >&5
11646 ac_cv_lib_dl_dlopen=no
11648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11649 LIBS=$ac_check_lib_save_LIBS
11651 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11652 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11653 if test $ac_cv_lib_dl_dlopen = yes; then
11654 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11657 lt_cv_dlopen="dyld"
11659 lt_cv_dlopen_self=yes
11666 echo "$as_me:$LINENO: checking for shl_load" >&5
11667 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11668 if test "${ac_cv_func_shl_load+set}" = set; then
11669 echo $ECHO_N "(cached) $ECHO_C" >&6
11671 cat >conftest.$ac_ext <<_ACEOF
11672 #line $LINENO "configure"
11675 cat confdefs.h >>conftest.$ac_ext
11676 cat >>conftest.$ac_ext <<_ACEOF
11677 /* end confdefs.h. */
11678 /* System header to define __stub macros and hopefully few prototypes,
11679 which can conflict with char shl_load (); below.
11680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11681 <limits.h> exists even on freestanding compilers. */
11683 # include <limits.h>
11685 # include <assert.h>
11687 /* Override any gcc2 internal prototype to avoid an error. */
11692 /* We use char because int might match the return type of a gcc2
11693 builtin and then its argument prototype would still apply. */
11695 /* The GNU C library defines this for functions which it implements
11696 to always fail with ENOSYS. Some functions are actually named
11697 something starting with __ and the normal name is an alias. */
11698 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11701 char (*f) () = shl_load;
11710 return f != shl_load;
11715 rm -f conftest.$ac_objext conftest$ac_exeext
11716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11717 (eval $ac_link) 2>&5
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); } &&
11721 { ac_try='test -s conftest$ac_exeext'
11722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11723 (eval $ac_try) 2>&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); }; }; then
11727 ac_cv_func_shl_load=yes
11729 echo "$as_me: failed program was:" >&5
11730 sed 's/^/| /' conftest.$ac_ext >&5
11732 ac_cv_func_shl_load=no
11734 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11736 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11737 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11738 if test $ac_cv_func_shl_load = yes; then
11739 lt_cv_dlopen="shl_load"
11741 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11742 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11743 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11744 echo $ECHO_N "(cached) $ECHO_C" >&6
11746 ac_check_lib_save_LIBS=$LIBS
11748 cat >conftest.$ac_ext <<_ACEOF
11749 #line $LINENO "configure"
11752 cat confdefs.h >>conftest.$ac_ext
11753 cat >>conftest.$ac_ext <<_ACEOF
11754 /* end confdefs.h. */
11756 /* Override any gcc2 internal prototype to avoid an error. */
11760 /* We use char because int might match the return type of a gcc2
11761 builtin and then its argument prototype would still apply. */
11771 rm -f conftest.$ac_objext conftest$ac_exeext
11772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11773 (eval $ac_link) 2>&5
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); } &&
11777 { ac_try='test -s conftest$ac_exeext'
11778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11779 (eval $ac_try) 2>&5
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); }; }; then
11783 ac_cv_lib_dld_shl_load=yes
11785 echo "$as_me: failed program was:" >&5
11786 sed 's/^/| /' conftest.$ac_ext >&5
11788 ac_cv_lib_dld_shl_load=no
11790 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11791 LIBS=$ac_check_lib_save_LIBS
11793 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11794 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11795 if test $ac_cv_lib_dld_shl_load = yes; then
11796 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11798 echo "$as_me:$LINENO: checking for dlopen" >&5
11799 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11800 if test "${ac_cv_func_dlopen+set}" = set; then
11801 echo $ECHO_N "(cached) $ECHO_C" >&6
11803 cat >conftest.$ac_ext <<_ACEOF
11804 #line $LINENO "configure"
11807 cat confdefs.h >>conftest.$ac_ext
11808 cat >>conftest.$ac_ext <<_ACEOF
11809 /* end confdefs.h. */
11810 /* System header to define __stub macros and hopefully few prototypes,
11811 which can conflict with char dlopen (); below.
11812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11813 <limits.h> exists even on freestanding compilers. */
11815 # include <limits.h>
11817 # include <assert.h>
11819 /* Override any gcc2 internal prototype to avoid an error. */
11824 /* We use char because int might match the return type of a gcc2
11825 builtin and then its argument prototype would still apply. */
11827 /* The GNU C library defines this for functions which it implements
11828 to always fail with ENOSYS. Some functions are actually named
11829 something starting with __ and the normal name is an alias. */
11830 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11833 char (*f) () = dlopen;
11842 return f != dlopen;
11847 rm -f conftest.$ac_objext conftest$ac_exeext
11848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11849 (eval $ac_link) 2>&5
11851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852 (exit $ac_status); } &&
11853 { ac_try='test -s conftest$ac_exeext'
11854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11855 (eval $ac_try) 2>&5
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); }; }; then
11859 ac_cv_func_dlopen=yes
11861 echo "$as_me: failed program was:" >&5
11862 sed 's/^/| /' conftest.$ac_ext >&5
11864 ac_cv_func_dlopen=no
11866 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11868 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11869 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11870 if test $ac_cv_func_dlopen = yes; then
11871 lt_cv_dlopen="dlopen"
11873 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11874 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11875 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11876 echo $ECHO_N "(cached) $ECHO_C" >&6
11878 ac_check_lib_save_LIBS=$LIBS
11880 cat >conftest.$ac_ext <<_ACEOF
11881 #line $LINENO "configure"
11884 cat confdefs.h >>conftest.$ac_ext
11885 cat >>conftest.$ac_ext <<_ACEOF
11886 /* end confdefs.h. */
11888 /* Override any gcc2 internal prototype to avoid an error. */
11892 /* We use char because int might match the return type of a gcc2
11893 builtin and then its argument prototype would still apply. */
11903 rm -f conftest.$ac_objext conftest$ac_exeext
11904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11905 (eval $ac_link) 2>&5
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); } &&
11909 { ac_try='test -s conftest$ac_exeext'
11910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11911 (eval $ac_try) 2>&5
11913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11914 (exit $ac_status); }; }; then
11915 ac_cv_lib_dl_dlopen=yes
11917 echo "$as_me: failed program was:" >&5
11918 sed 's/^/| /' conftest.$ac_ext >&5
11920 ac_cv_lib_dl_dlopen=no
11922 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11923 LIBS=$ac_check_lib_save_LIBS
11925 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11926 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11927 if test $ac_cv_lib_dl_dlopen = yes; then
11928 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11930 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11931 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11932 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11933 echo $ECHO_N "(cached) $ECHO_C" >&6
11935 ac_check_lib_save_LIBS=$LIBS
11936 LIBS="-lsvld $LIBS"
11937 cat >conftest.$ac_ext <<_ACEOF
11938 #line $LINENO "configure"
11941 cat confdefs.h >>conftest.$ac_ext
11942 cat >>conftest.$ac_ext <<_ACEOF
11943 /* end confdefs.h. */
11945 /* Override any gcc2 internal prototype to avoid an error. */
11949 /* We use char because int might match the return type of a gcc2
11950 builtin and then its argument prototype would still apply. */
11960 rm -f conftest.$ac_objext conftest$ac_exeext
11961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11962 (eval $ac_link) 2>&5
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); } &&
11966 { ac_try='test -s conftest$ac_exeext'
11967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11968 (eval $ac_try) 2>&5
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); }; }; then
11972 ac_cv_lib_svld_dlopen=yes
11974 echo "$as_me: failed program was:" >&5
11975 sed 's/^/| /' conftest.$ac_ext >&5
11977 ac_cv_lib_svld_dlopen=no
11979 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11980 LIBS=$ac_check_lib_save_LIBS
11982 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11983 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11984 if test $ac_cv_lib_svld_dlopen = yes; then
11985 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11987 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11988 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11989 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11990 echo $ECHO_N "(cached) $ECHO_C" >&6
11992 ac_check_lib_save_LIBS=$LIBS
11994 cat >conftest.$ac_ext <<_ACEOF
11995 #line $LINENO "configure"
11998 cat confdefs.h >>conftest.$ac_ext
11999 cat >>conftest.$ac_ext <<_ACEOF
12000 /* end confdefs.h. */
12002 /* Override any gcc2 internal prototype to avoid an error. */
12006 /* We use char because int might match the return type of a gcc2
12007 builtin and then its argument prototype would still apply. */
12017 rm -f conftest.$ac_objext conftest$ac_exeext
12018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12019 (eval $ac_link) 2>&5
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); } &&
12023 { ac_try='test -s conftest$ac_exeext'
12024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12025 (eval $ac_try) 2>&5
12027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); }; }; then
12029 ac_cv_lib_dld_dld_link=yes
12031 echo "$as_me: failed program was:" >&5
12032 sed 's/^/| /' conftest.$ac_ext >&5
12034 ac_cv_lib_dld_dld_link=no
12036 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12037 LIBS=$ac_check_lib_save_LIBS
12039 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12040 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12041 if test $ac_cv_lib_dld_dld_link = yes; then
12042 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12063 if test "x$lt_cv_dlopen" != xno; then
12069 case $lt_cv_dlopen in
12071 save_CPPFLAGS="$CPPFLAGS"
12072 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12074 save_LDFLAGS="$LDFLAGS"
12075 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12078 LIBS="$lt_cv_dlopen_libs $LIBS"
12080 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12081 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12082 if test "${lt_cv_dlopen_self+set}" = set; then
12083 echo $ECHO_N "(cached) $ECHO_C" >&6
12085 if test "$cross_compiling" = yes; then :
12086 lt_cv_dlopen_self=cross
12088 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12089 lt_status=$lt_dlunknown
12090 cat > conftest.$ac_ext <<EOF
12091 #line 12091 "configure"
12092 #include "confdefs.h"
12101 # define LT_DLGLOBAL RTLD_GLOBAL
12104 # define LT_DLGLOBAL DL_GLOBAL
12106 # define LT_DLGLOBAL 0
12110 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12111 find out it does not work in some platform. */
12112 #ifndef LT_DLLAZY_OR_NOW
12114 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12117 # define LT_DLLAZY_OR_NOW DL_LAZY
12120 # define LT_DLLAZY_OR_NOW RTLD_NOW
12123 # define LT_DLLAZY_OR_NOW DL_NOW
12125 # define LT_DLLAZY_OR_NOW 0
12133 extern "C" void exit (int);
12136 void fnord() { int i=42;}
12139 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12140 int status = $lt_dlunknown;
12144 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12145 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12146 /* dlclose (self); */
12152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12153 (eval $ac_link) 2>&5
12155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12156 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12157 (./conftest; exit; ) 2>/dev/null
12159 case x$lt_status in
12160 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12161 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12162 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12165 # compilation failed
12166 lt_cv_dlopen_self=no
12173 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12174 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12176 if test "x$lt_cv_dlopen_self" = xyes; then
12177 LDFLAGS="$LDFLAGS $link_static_flag"
12178 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12179 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12180 if test "${lt_cv_dlopen_self_static+set}" = set; then
12181 echo $ECHO_N "(cached) $ECHO_C" >&6
12183 if test "$cross_compiling" = yes; then :
12184 lt_cv_dlopen_self_static=cross
12186 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12187 lt_status=$lt_dlunknown
12188 cat > conftest.$ac_ext <<EOF
12189 #line 12189 "configure"
12190 #include "confdefs.h"
12199 # define LT_DLGLOBAL RTLD_GLOBAL
12202 # define LT_DLGLOBAL DL_GLOBAL
12204 # define LT_DLGLOBAL 0
12208 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12209 find out it does not work in some platform. */
12210 #ifndef LT_DLLAZY_OR_NOW
12212 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12215 # define LT_DLLAZY_OR_NOW DL_LAZY
12218 # define LT_DLLAZY_OR_NOW RTLD_NOW
12221 # define LT_DLLAZY_OR_NOW DL_NOW
12223 # define LT_DLLAZY_OR_NOW 0
12231 extern "C" void exit (int);
12234 void fnord() { int i=42;}
12237 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12238 int status = $lt_dlunknown;
12242 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12243 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12244 /* dlclose (self); */
12250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12251 (eval $ac_link) 2>&5
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12255 (./conftest; exit; ) 2>/dev/null
12257 case x$lt_status in
12258 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12259 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12260 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12263 # compilation failed
12264 lt_cv_dlopen_self_static=no
12271 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12272 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12275 CPPFLAGS="$save_CPPFLAGS"
12276 LDFLAGS="$save_LDFLAGS"
12281 case $lt_cv_dlopen_self in
12282 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12283 *) enable_dlopen_self=unknown ;;
12286 case $lt_cv_dlopen_self_static in
12287 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12288 *) enable_dlopen_self_static=unknown ;;
12293 # The else clause should only fire when bootstrapping the
12294 # libtool distribution, otherwise you forgot to ship ltmain.sh
12295 # with your package, and you will get complaints that there are
12296 # no rules to generate ltmain.sh.
12297 if test -f "$ltmain"; then
12298 # See if we are running on zsh, and set the options which allow our commands through
12299 # without removal of \ escapes.
12300 if test -n "${ZSH_VERSION+set}" ; then
12301 setopt NO_GLOB_SUBST
12303 # Now quote all the things that may contain metacharacters while being
12304 # careful not to overquote the AC_SUBSTed values. We take copies of the
12305 # variables and quote the copies for generation of the libtool script.
12306 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12307 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12308 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12309 deplibs_check_method reload_flag reload_cmds need_locks \
12310 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12311 lt_cv_sys_global_symbol_to_c_name_address \
12312 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12313 old_postinstall_cmds old_postuninstall_cmds \
12317 lt_prog_compiler_wl_CXX \
12318 lt_prog_compiler_pic_CXX \
12319 lt_prog_compiler_static_CXX \
12320 lt_prog_compiler_no_builtin_flag_CXX \
12321 export_dynamic_flag_spec_CXX \
12322 thread_safe_flag_spec_CXX \
12323 whole_archive_flag_spec_CXX \
12324 enable_shared_with_static_runtimes_CXX \
12325 old_archive_cmds_CXX \
12326 old_archive_from_new_cmds_CXX \
12327 predep_objects_CXX \
12328 postdep_objects_CXX \
12331 compiler_lib_search_path_CXX \
12333 archive_expsym_cmds_CXX \
12334 postinstall_cmds_CXX \
12335 postuninstall_cmds_CXX \
12336 old_archive_from_expsyms_cmds_CXX \
12337 allow_undefined_flag_CXX \
12338 no_undefined_flag_CXX \
12339 export_symbols_cmds_CXX \
12340 hardcode_libdir_flag_spec_CXX \
12341 hardcode_libdir_flag_spec_ld_CXX \
12342 hardcode_libdir_separator_CXX \
12343 hardcode_automatic_CXX \
12345 module_expsym_cmds_CXX \
12346 lt_cv_prog_compiler_c_o_CXX \
12347 exclude_expsyms_CXX \
12348 include_expsyms_CXX; do
12351 old_archive_cmds_CXX | \
12352 old_archive_from_new_cmds_CXX | \
12353 archive_cmds_CXX | \
12354 archive_expsym_cmds_CXX | \
12355 module_cmds_CXX | \
12356 module_expsym_cmds_CXX | \
12357 old_archive_from_expsyms_cmds_CXX | \
12358 export_symbols_cmds_CXX | \
12359 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12360 postinstall_cmds | postuninstall_cmds | \
12361 old_postinstall_cmds | old_postuninstall_cmds | \
12362 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12363 # Double-quote double-evaled strings.
12364 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12367 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12373 *'\$0 --fallback-echo"')
12374 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12380 cat <<__EOF__ >> "$cfgfile"
12381 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12383 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12385 # Shell to use when invoking shell scripts.
12388 # Whether or not to build shared libraries.
12389 build_libtool_libs=$enable_shared
12391 # Whether or not to build static libraries.
12392 build_old_libs=$enable_static
12394 # Whether or not to add -lc for building shared libraries.
12395 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12397 # Whether or not to disallow shared libs when runtime libs are static
12398 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12400 # Whether or not to optimize for fast installation.
12401 fast_install=$enable_fast_install
12404 host_alias=$host_alias
12407 # An echo program that does not interpret backslashes.
12412 AR_FLAGS=$lt_AR_FLAGS
12417 # A language-specific compiler.
12418 CC=$lt_compiler_CXX
12420 # Is the compiler the GNU C compiler?
12426 # The linker used to build libraries.
12429 # Whether we need hard or soft links.
12432 # A BSD-compatible nm program.
12435 # A symbol stripping program
12438 # Used to examine libraries when file_magic_cmd begins "file"
12439 MAGIC_CMD=$MAGIC_CMD
12441 # Used on cygwin: DLL creation program.
12444 # Used on cygwin: object dumper.
12447 # Used on cygwin: assembler.
12450 # The name of the directory that contains temporary libtool files.
12453 # How to create reloadable object files.
12454 reload_flag=$lt_reload_flag
12455 reload_cmds=$lt_reload_cmds
12457 # How to pass a linker flag through the compiler.
12458 wl=$lt_lt_prog_compiler_wl_CXX
12460 # Object file suffix (normally "o").
12461 objext="$ac_objext"
12463 # Old archive suffix (normally "a").
12466 # Shared library suffix (normally ".so").
12469 # Executable file suffix (normally "").
12472 # Additional compiler flags for building library objects.
12473 pic_flag=$lt_lt_prog_compiler_pic_CXX
12476 # What is the maximum length of a command?
12477 max_cmd_len=$lt_cv_sys_max_cmd_len
12479 # Does compiler simultaneously support -c and -o options?
12480 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12482 # Must we lock files when doing compilation ?
12483 need_locks=$lt_need_locks
12485 # Do we need the lib prefix for modules?
12486 need_lib_prefix=$need_lib_prefix
12488 # Do we need a version for libraries?
12489 need_version=$need_version
12491 # Whether dlopen is supported.
12492 dlopen_support=$enable_dlopen
12494 # Whether dlopen of programs is supported.
12495 dlopen_self=$enable_dlopen_self
12497 # Whether dlopen of statically linked programs is supported.
12498 dlopen_self_static=$enable_dlopen_self_static
12500 # Compiler flag to prevent dynamic linking.
12501 link_static_flag=$lt_lt_prog_compiler_static_CXX
12503 # Compiler flag to turn off builtin functions.
12504 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12506 # Compiler flag to allow reflexive dlopens.
12507 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12509 # Compiler flag to generate shared objects directly from archives.
12510 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12512 # Compiler flag to generate thread-safe objects.
12513 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12515 # Library versioning type.
12516 version_type=$version_type
12518 # Format of library name prefix.
12519 libname_spec=$lt_libname_spec
12521 # List of archive names. First name is the real one, the rest are links.
12522 # The last name is the one that the linker finds with -lNAME.
12523 library_names_spec=$lt_library_names_spec
12525 # The coded name of the library, if different from the real name.
12526 soname_spec=$lt_soname_spec
12528 # Commands used to build and install an old-style archive.
12530 old_archive_cmds=$lt_old_archive_cmds_CXX
12531 old_postinstall_cmds=$lt_old_postinstall_cmds
12532 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12534 # Create an old-style archive from a shared archive.
12535 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12537 # Create a temporary old-style archive to link instead of a shared archive.
12538 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12540 # Commands used to build and install a shared archive.
12541 archive_cmds=$lt_archive_cmds_CXX
12542 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12543 postinstall_cmds=$lt_postinstall_cmds
12544 postuninstall_cmds=$lt_postuninstall_cmds
12546 # Commands used to build a loadable module (assumed same as above if empty)
12547 module_cmds=$lt_module_cmds_CXX
12548 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12550 # Commands to strip libraries.
12551 old_striplib=$lt_old_striplib
12552 striplib=$lt_striplib
12554 # Dependencies to place before the objects being linked to create a
12556 predep_objects=$lt_predep_objects_CXX
12558 # Dependencies to place after the objects being linked to create a
12560 postdep_objects=$lt_postdep_objects_CXX
12562 # Dependencies to place before the objects being linked to create a
12564 predeps=$lt_predeps_CXX
12566 # Dependencies to place after the objects being linked to create a
12568 postdeps=$lt_postdeps_CXX
12570 # The library search path used internally by the compiler when linking
12571 # a shared library.
12572 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12574 # Method to check whether dependent libraries are shared objects.
12575 deplibs_check_method=$lt_deplibs_check_method
12577 # Command to use when deplibs_check_method == file_magic.
12578 file_magic_cmd=$lt_file_magic_cmd
12580 # Flag that allows shared libraries with undefined symbols to be built.
12581 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12583 # Flag that forces no undefined symbols.
12584 no_undefined_flag=$lt_no_undefined_flag_CXX
12586 # Commands used to finish a libtool library installation in a directory.
12587 finish_cmds=$lt_finish_cmds
12589 # Same as above, but a single script fragment to be evaled but not shown.
12590 finish_eval=$lt_finish_eval
12592 # Take the output of nm and produce a listing of raw symbols and C names.
12593 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12595 # Transform the output of nm in a proper C declaration
12596 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12598 # Transform the output of nm in a C name address pair
12599 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12601 # This is the shared library runtime path variable.
12602 runpath_var=$runpath_var
12604 # This is the shared library path variable.
12605 shlibpath_var=$shlibpath_var
12607 # Is shlibpath searched before the hard-coded library search path?
12608 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12610 # How to hardcode a shared library path into an executable.
12611 hardcode_action=$hardcode_action_CXX
12613 # Whether we should hardcode library paths into libraries.
12614 hardcode_into_libs=$hardcode_into_libs
12616 # Flag to hardcode \$libdir into a binary during linking.
12617 # This must work even if \$libdir does not exist.
12618 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12620 # If ld is used when linking, flag to hardcode \$libdir into
12621 # a binary during linking. This must work even if \$libdir does
12623 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12625 # Whether we need a single -rpath flag with a separated argument.
12626 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12628 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12629 # resulting binary.
12630 hardcode_direct=$hardcode_direct_CXX
12632 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12633 # resulting binary.
12634 hardcode_minus_L=$hardcode_minus_L_CXX
12636 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12637 # the resulting binary.
12638 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12640 # Set to yes if building a shared library automatically hardcodes DIR into the library
12641 # and all subsequent libraries and executables linked against it.
12642 hardcode_automatic=$hardcode_automatic_CXX
12644 # Variables whose values should be saved in libtool wrapper scripts and
12645 # restored at relink time.
12646 variables_saved_for_relink="$variables_saved_for_relink"
12648 # Whether libtool must link a program against all its dependency libraries.
12649 link_all_deplibs=$link_all_deplibs_CXX
12651 # Compile-time system search path for libraries
12652 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12654 # Run-time system search path for libraries
12655 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12657 # Fix the shell variable \$srcfile for the compiler.
12658 fix_srcfile_path="$fix_srcfile_path_CXX"
12660 # Set to yes if exported symbols are required.
12661 always_export_symbols=$always_export_symbols_CXX
12663 # The commands to list exported symbols.
12664 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12666 # The commands to extract the exported symbol list from a shared archive.
12667 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12669 # Symbols that should not be listed in the preloaded symbols.
12670 exclude_expsyms=$lt_exclude_expsyms_CXX
12672 # Symbols that must always be exported.
12673 include_expsyms=$lt_include_expsyms_CXX
12675 # ### END LIBTOOL TAG CONFIG: $tagname
12681 # If there is no Makefile yet, we rely on a make rule to execute
12682 # `config.status --recheck' to rerun these tests and create the
12683 # libtool script then.
12684 test -f Makefile && make "$ltmain"
12689 ac_cpp='$CPP $CPPFLAGS'
12690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12698 with_gnu_ldcxx=$with_gnu_ld
12699 with_gnu_ld=$lt_save_with_gnu_ld
12700 lt_cv_path_LDCXX=$lt_cv_path_LD
12701 lt_cv_path_LD=$lt_save_path_LD
12702 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12703 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12711 if test -n "$F77" && test "X$F77" != "Xno"; then
12714 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12715 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12716 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12719 archive_cmds_need_lc_F77=no
12720 allow_undefined_flag_F77=
12721 always_export_symbols_F77=no
12722 archive_expsym_cmds_F77=
12723 export_dynamic_flag_spec_F77=
12724 hardcode_direct_F77=no
12725 hardcode_libdir_flag_spec_F77=
12726 hardcode_libdir_flag_spec_ld_F77=
12727 hardcode_libdir_separator_F77=
12728 hardcode_minus_L_F77=no
12729 hardcode_automatic_F77=no
12731 module_expsym_cmds_F77=
12732 link_all_deplibs_F77=unknown
12733 old_archive_cmds_F77=$old_archive_cmds
12734 no_undefined_flag_F77=
12735 whole_archive_flag_spec_F77=
12736 enable_shared_with_static_runtimes_F77=no
12738 # Source file extension for f77 test sources.
12741 # Object file extension for compiled f77 test sources.
12745 # Code to be used in simple compile tests
12746 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12748 # Code to be used in simple link tests
12749 lt_simple_link_test_code=" program t\n end\n"
12751 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12753 # If no C compiler was specified, use CC.
12756 # Allow CC to be a program name with arguments.
12760 # Allow CC to be a program name with arguments.
12765 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12767 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12768 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12769 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12770 echo "${ECHO_T}$can_build_shared" >&6
12772 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12773 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12774 test "$can_build_shared" = "no" && enable_shared=no
12776 # On AIX, shared libraries and static libraries use the same namespace, and
12777 # are all built from PIC.
12780 test "$enable_shared" = yes && enable_static=no
12781 if test -n "$RANLIB"; then
12782 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12783 postinstall_cmds='$RANLIB $lib'
12787 test "$enable_shared" = yes && enable_static=no
12790 echo "$as_me:$LINENO: result: $enable_shared" >&5
12791 echo "${ECHO_T}$enable_shared" >&6
12793 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12794 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12795 # Make sure either enable_shared or enable_static is yes.
12796 test "$enable_shared" = yes || enable_static=yes
12797 echo "$as_me:$LINENO: result: $enable_static" >&5
12798 echo "${ECHO_T}$enable_static" >&6
12800 test "$ld_shlibs_F77" = no && can_build_shared=no
12805 lt_prog_compiler_wl_F77=
12806 lt_prog_compiler_pic_F77=
12807 lt_prog_compiler_static_F77=
12809 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12810 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12812 if test "$GCC" = yes; then
12813 lt_prog_compiler_wl_F77='-Wl,'
12814 lt_prog_compiler_static_F77='-static'
12818 # All AIX code is PIC.
12819 if test "$host_cpu" = ia64; then
12820 # AIX 5 now supports IA64 processor
12821 lt_prog_compiler_static_F77='-Bstatic'
12826 # FIXME: we need at least 68020 code to build shared libraries, but
12827 # adding the `-m68020' flag to GCC prevents building anything better,
12829 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12832 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12833 # PIC is the default for these OSes.
12836 mingw* | pw32* | os2*)
12837 # This hack is so that the source file can tell whether it is being
12838 # built for inclusion in a dll (and should export symbols for example).
12839 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12842 darwin* | rhapsody*)
12843 # PIC is the default on this platform
12844 # Common symbols not allowed in MH_DYLIB files
12845 lt_prog_compiler_pic_F77='-fno-common'
12849 # Just because we use GCC doesn't mean we suddenly get shared libraries
12850 # on systems that don't support them.
12851 lt_prog_compiler_can_build_shared_F77=no
12856 if test -d /usr/nec; then
12857 lt_prog_compiler_pic_F77=-Kconform_pic
12862 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12863 # not for PA HP-UX.
12864 case "$host_cpu" in
12869 lt_prog_compiler_pic_F77='-fPIC'
12875 lt_prog_compiler_pic_F77='-fPIC'
12879 # PORTME Check for flag to pass linker flags through the system compiler.
12882 lt_prog_compiler_wl_F77='-Wl,'
12883 if test "$host_cpu" = ia64; then
12884 # AIX 5 now supports IA64 processor
12885 lt_prog_compiler_static_F77='-Bstatic'
12887 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12891 mingw* | pw32* | os2*)
12892 # This hack is so that the source file can tell whether it is being
12893 # built for inclusion in a dll (and should export symbols for example).
12894 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12897 hpux9* | hpux10* | hpux11*)
12898 lt_prog_compiler_wl_F77='-Wl,'
12899 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12900 # not for PA HP-UX.
12901 case "$host_cpu" in
12906 lt_prog_compiler_pic_F77='+Z'
12909 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12910 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12913 irix5* | irix6* | nonstopux*)
12914 lt_prog_compiler_wl_F77='-Wl,'
12915 # PIC (with -KPIC) is the default.
12916 lt_prog_compiler_static_F77='-non_shared'
12920 lt_prog_compiler_pic_F77='-KPIC'
12921 lt_prog_compiler_static_F77='-Bstatic'
12927 lt_prog_compiler_wl_F77='-Wl,'
12928 lt_prog_compiler_pic_F77='-KPIC'
12929 lt_prog_compiler_static_F77='-static'
12932 lt_prog_compiler_wl_F77='-Wl,'
12933 # All Alpha code is PIC.
12934 lt_prog_compiler_static_F77='-non_shared'
12939 osf3* | osf4* | osf5*)
12940 lt_prog_compiler_wl_F77='-Wl,'
12941 # All OSF/1 code is PIC.
12942 lt_prog_compiler_static_F77='-non_shared'
12946 lt_prog_compiler_pic_F77='-Kpic'
12947 lt_prog_compiler_static_F77='-dn'
12951 lt_prog_compiler_wl_F77='-Wl,'
12952 lt_prog_compiler_pic_F77='-KPIC'
12953 lt_prog_compiler_static_F77='-Bstatic'
12957 lt_prog_compiler_wl_F77='-Qoption ld '
12958 lt_prog_compiler_pic_F77='-PIC'
12959 lt_prog_compiler_static_F77='-Bstatic'
12962 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12963 lt_prog_compiler_wl_F77='-Wl,'
12964 lt_prog_compiler_pic_F77='-KPIC'
12965 lt_prog_compiler_static_F77='-Bstatic'
12969 if test -d /usr/nec ;then
12970 lt_prog_compiler_pic_F77='-Kconform_pic'
12971 lt_prog_compiler_static_F77='-Bstatic'
12976 lt_prog_compiler_pic_F77='-pic'
12977 lt_prog_compiler_static_F77='-Bstatic'
12981 lt_prog_compiler_can_build_shared_F77=no
12986 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
12987 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
12990 # Check to make sure the PIC flag actually works.
12992 if test -n "$lt_prog_compiler_pic_F77"; then
12993 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
12994 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
12995 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
12996 echo $ECHO_N "(cached) $ECHO_C" >&6
12998 lt_prog_compiler_pic_works_F77=no
12999 ac_outfile=conftest.$ac_objext
13000 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13001 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13002 # Insert the option either (1) after the last *FLAGS variable, or
13003 # (2) before a word containing "conftest.", or (3) at the end.
13004 # Note that $ac_compile itself does not contain backslashes and begins
13005 # with a dollar sign (not a hyphen), so the echo should work correctly.
13006 # The option is referenced via a variable to avoid confusing sed.
13007 lt_compile=`echo "$ac_compile" | $SED \
13008 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13009 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13010 -e 's:$: $lt_compiler_flag:'`
13011 (eval echo "\"\$as_me:13011: $lt_compile\"" >&5)
13012 (eval "$lt_compile" 2>conftest.err)
13014 cat conftest.err >&5
13015 echo "$as_me:13015: \$? = $ac_status" >&5
13016 if (exit $ac_status) && test -s "$ac_outfile"; then
13017 # The compiler can only warn and ignore the option if not recognized
13018 # So say no if there are warnings
13019 if test ! -s conftest.err; then
13020 lt_prog_compiler_pic_works_F77=yes
13026 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13027 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13029 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13030 case $lt_prog_compiler_pic_F77 in
13032 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13035 lt_prog_compiler_pic_F77=
13036 lt_prog_compiler_can_build_shared_F77=no
13041 # For platforms which do not support PIC, -DPIC is meaningless:
13043 lt_prog_compiler_pic_F77=
13046 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13050 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13051 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13052 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13053 echo $ECHO_N "(cached) $ECHO_C" >&6
13055 lt_cv_prog_compiler_c_o_F77=no
13056 $rm -r conftest 2>/dev/null
13060 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13062 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13063 # that will create temporary files in the current directory regardless of
13064 # the output directory. Thus, making CWD read-only will cause this test
13065 # to fail, enabling locking or at least warning the user not to do parallel
13069 lt_compiler_flag="-o out/conftest2.$ac_objext"
13070 # Insert the option either (1) after the last *FLAGS variable, or
13071 # (2) before a word containing "conftest.", or (3) at the end.
13072 # Note that $ac_compile itself does not contain backslashes and begins
13073 # with a dollar sign (not a hyphen), so the echo should work correctly.
13074 lt_compile=`echo "$ac_compile" | $SED \
13075 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13076 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13077 -e 's:$: $lt_compiler_flag:'`
13078 (eval echo "\"\$as_me:13078: $lt_compile\"" >&5)
13079 (eval "$lt_compile" 2>out/conftest.err)
13081 cat out/conftest.err >&5
13082 echo "$as_me:13082: \$? = $ac_status" >&5
13083 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13085 # The compiler can only warn and ignore the option if not recognized
13086 # So say no if there are warnings
13087 if test ! -s out/conftest.err; then
13088 lt_cv_prog_compiler_c_o_F77=yes
13092 $rm conftest* out/*
13099 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13100 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13103 hard_links="nottested"
13104 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13105 # do not overwrite the value of need_locks provided by the user
13106 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13107 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13110 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13112 ln conftest.a conftest.b 2>&5 || hard_links=no
13113 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13114 echo "$as_me:$LINENO: result: $hard_links" >&5
13115 echo "${ECHO_T}$hard_links" >&6
13116 if test "$hard_links" = no; then
13117 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13118 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13125 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13126 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13129 allow_undefined_flag_F77=
13130 enable_shared_with_static_runtimes_F77=no
13132 archive_expsym_cmds_F77=
13133 old_archive_From_new_cmds_F77=
13134 old_archive_from_expsyms_cmds_F77=
13135 export_dynamic_flag_spec_F77=
13136 whole_archive_flag_spec_F77=
13137 thread_safe_flag_spec_F77=
13138 hardcode_libdir_flag_spec_F77=
13139 hardcode_libdir_flag_spec_ld_F77=
13140 hardcode_libdir_separator_F77=
13141 hardcode_direct_F77=no
13142 hardcode_minus_L_F77=no
13143 hardcode_shlibpath_var_F77=unsupported
13144 link_all_deplibs_F77=unknown
13145 hardcode_automatic_F77=no
13147 module_expsym_cmds_F77=
13148 always_export_symbols_F77=no
13149 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13150 # include_expsyms should be a list of space-separated symbols to be *always*
13151 # included in the symbol list
13152 include_expsyms_F77=
13153 # exclude_expsyms can be an extended regexp of symbols to exclude
13154 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13155 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13156 # as well as any symbol that contains `d'.
13157 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13158 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13159 # platforms (ab)use it in PIC code, but their linkers get confused if
13160 # the symbol is explicitly referenced. Since portable code cannot
13161 # rely on this symbol name, it's probably fine to never include it in
13162 # preloaded symbol tables.
13163 extract_expsyms_cmds=
13166 cygwin* | mingw* | pw32*)
13167 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13168 # When not using gcc, we currently assume that we are using
13169 # Microsoft Visual C++.
13170 if test "$GCC" != yes; then
13180 if test "$with_gnu_ld" = yes; then
13181 # If archive_cmds runs LD, not CC, wlarc should be empty
13184 # See if GNU ld supports shared libraries.
13186 aix3* | aix4* | aix5*)
13187 # On AIX/PPC, the GNU linker is very broken
13188 if test "$host_cpu" != ia64; then
13192 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13193 *** to be unable to reliably create shared libraries on AIX.
13194 *** Therefore, libtool is disabling shared libraries support. If you
13195 *** really care for shared libraries, you may want to modify your PATH
13196 *** so that a non-GNU linker is found, and then restart.
13203 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)'
13204 hardcode_libdir_flag_spec_F77='-L$libdir'
13205 hardcode_minus_L_F77=yes
13207 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13208 # that the semantics of dynamic libraries on AmigaOS, at least up
13209 # to version 4, is to share data among multiple programs linked
13210 # with the same dynamic library. Since this doesn't match the
13211 # behavior of shared libraries on other platforms, we can't use
13217 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13218 allow_undefined_flag_F77=unsupported
13219 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13220 # support --undefined. This deserves some investigation. FIXME
13221 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13227 cygwin* | mingw* | pw32*)
13228 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13229 # as there is no search path for DLLs.
13230 hardcode_libdir_flag_spec_F77='-L$libdir'
13231 allow_undefined_flag_F77=unsupported
13232 always_export_symbols_F77=no
13233 enable_shared_with_static_runtimes_F77=yes
13234 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13236 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13237 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13238 # If the export-symbols file already is a .def file (1st line
13239 # is EXPORTS), use it as is; otherwise, prepend...
13240 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13241 cp $export_symbols $output_objdir/$soname.def;
13243 echo EXPORTS > $output_objdir/$soname.def;
13244 cat $export_symbols >> $output_objdir/$soname.def;
13246 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13253 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13254 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13257 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13258 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13263 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13267 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13268 *** create shared libraries on Solaris systems. Therefore, libtool
13269 *** is disabling shared libraries support. We urge you to upgrade GNU
13270 *** binutils to release 2.9.1 or newer. Another option is to modify
13271 *** your PATH or compiler configuration so that the native linker is
13272 *** used, and then restart.
13275 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13276 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13277 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13284 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13286 hardcode_direct_F77=yes
13287 hardcode_shlibpath_var_F77=no
13291 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13292 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13293 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13300 if test "$ld_shlibs_F77" = yes; then
13301 runpath_var=LD_RUN_PATH
13302 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13303 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13304 # ancient GNU ld didn't support --whole-archive et. al.
13305 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13306 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13308 whole_archive_flag_spec_F77=
13312 # PORTME fill in a description of your system's linker (not GNU ld)
13315 allow_undefined_flag_F77=unsupported
13316 always_export_symbols_F77=yes
13317 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'
13318 # Note: this linker hardcodes the directories in LIBPATH if there
13319 # are no directories specified by -L.
13320 hardcode_minus_L_F77=yes
13321 if test "$GCC" = yes && test -z "$link_static_flag"; then
13322 # Neither direct hardcoding nor static linking is supported with a
13324 hardcode_direct_F77=unsupported
13329 if test "$host_cpu" = ia64; then
13330 # On IA64, the linker does run time linking by default, so we don't
13331 # have to do anything special.
13332 aix_use_runtimelinking=no
13333 exp_sym_flag='-Bexport'
13336 # If we're using GNU nm, then we don't want the "-C" option.
13337 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13338 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13339 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'
13341 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'
13343 aix_use_runtimelinking=no
13345 # Test if we are trying to use run time linking or normal
13346 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13347 # need to do runtime linking.
13348 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13349 for ld_flag in $LDFLAGS; do
13350 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13351 aix_use_runtimelinking=yes
13357 exp_sym_flag='-bexport'
13358 no_entry_flag='-bnoentry'
13361 # When large executables or shared objects are built, AIX ld can
13362 # have problems creating the table of contents. If linking a library
13363 # or program results in "error TOC overflow" add -mminimal-toc to
13364 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13365 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13367 archive_cmds_F77=''
13368 hardcode_direct_F77=yes
13369 hardcode_libdir_separator_F77=':'
13370 link_all_deplibs_F77=yes
13372 if test "$GCC" = yes; then
13373 case $host_os in aix4.012|aix4.012.*)
13374 # We only want to do this on AIX 4.2 and lower, the check
13375 # below for broken collect2 doesn't work under 4.3+
13376 collect2name=`${CC} -print-prog-name=collect2`
13377 if test -f "$collect2name" && \
13378 strings "$collect2name" | grep resolve_lib_name >/dev/null
13380 # We have reworked collect2
13381 hardcode_direct_F77=yes
13383 # We have old collect2
13384 hardcode_direct_F77=unsupported
13385 # It fails to find uninstalled libraries when the uninstalled
13386 # path is not listed in the libpath. Setting hardcode_minus_L
13387 # to unsupported forces relinking
13388 hardcode_minus_L_F77=yes
13389 hardcode_libdir_flag_spec_F77='-L$libdir'
13390 hardcode_libdir_separator_F77=
13393 shared_flag='-shared'
13396 if test "$host_cpu" = ia64; then
13397 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13398 # chokes on -Wl,-G. The following line is correct:
13401 if test "$aix_use_runtimelinking" = yes; then
13402 shared_flag='${wl}-G'
13404 shared_flag='${wl}-bM:SRE'
13409 # It seems that -bexpall does not export symbols beginning with
13410 # underscore (_), so it is better to generate a list of symbols to export.
13411 always_export_symbols_F77=yes
13412 if test "$aix_use_runtimelinking" = yes; then
13413 # Warning - without using the other runtime loading flags (-brtl),
13414 # -berok will link without error, but may produce a broken library.
13415 allow_undefined_flag_F77='-berok'
13416 # Determine the default libpath from the value encoded in an empty executable.
13417 cat >conftest.$ac_ext <<_ACEOF
13422 rm -f conftest.$ac_objext conftest$ac_exeext
13423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13424 (eval $ac_link) 2>&5
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); } &&
13428 { ac_try='test -s conftest$ac_exeext'
13429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13430 (eval $ac_try) 2>&5
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); }; }; then
13435 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13437 # Check for a 64-bit object if we didn't find anything.
13438 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; }
13441 echo "$as_me: failed program was:" >&5
13442 sed 's/^/| /' conftest.$ac_ext >&5
13445 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13446 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13448 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13449 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"
13451 if test "$host_cpu" = ia64; then
13452 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13453 allow_undefined_flag_F77="-z nodefs"
13454 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"
13456 # Determine the default libpath from the value encoded in an empty executable.
13457 cat >conftest.$ac_ext <<_ACEOF
13462 rm -f conftest.$ac_objext conftest$ac_exeext
13463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13464 (eval $ac_link) 2>&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); } &&
13468 { ac_try='test -s conftest$ac_exeext'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; }; then
13475 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13477 # Check for a 64-bit object if we didn't find anything.
13478 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; }
13481 echo "$as_me: failed program was:" >&5
13482 sed 's/^/| /' conftest.$ac_ext >&5
13485 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13486 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13488 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13489 # Warning - without using the other run time loading flags,
13490 # -berok will link without error, but may produce a broken library.
13491 no_undefined_flag_F77=' ${wl}-bernotok'
13492 allow_undefined_flag_F77=' ${wl}-berok'
13493 # -bexpall does not export symbols beginning with underscore (_)
13494 always_export_symbols_F77=yes
13495 # Exported symbols can be pulled into shared objects from archives
13496 whole_archive_flag_spec_F77=' '
13497 archive_cmds_need_lc_F77=yes
13498 # This is similar to how AIX traditionally builds it's shared libraries.
13499 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'
13505 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)'
13506 hardcode_libdir_flag_spec_F77='-L$libdir'
13507 hardcode_minus_L_F77=yes
13508 # see comment about different semantics on the GNU ld section
13513 export_dynamic_flag_spec_F77=-rdynamic
13516 cygwin* | mingw* | pw32*)
13517 # When not using gcc, we currently assume that we are using
13518 # Microsoft Visual C++.
13519 # hardcode_libdir_flag_spec is actually meaningless, as there is
13520 # no search path for DLLs.
13521 hardcode_libdir_flag_spec_F77=' '
13522 allow_undefined_flag_F77=unsupported
13523 # Tell ltmain to make .lib files, not .a files.
13525 # Tell ltmain to make .dll files, not .so files.
13527 # FIXME: Setting linknames here is a bad hack.
13528 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13529 # The linker will automatically build a .lib file if we build a DLL.
13530 old_archive_From_new_cmds_F77='true'
13531 # FIXME: Should let the user specify the lib program.
13532 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13533 fix_srcfile_path='`cygpath -w "$srcfile"`'
13534 enable_shared_with_static_runtimes_F77=yes
13537 darwin* | rhapsody*)
13538 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13539 archive_cmds_need_lc_F77=no
13541 rhapsody* | darwin1.[012])
13542 allow_undefined_flag_F77='-undefined suppress'
13545 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13548 # FIXME: Relying on posixy $() will cause problems for
13549 # cross-compilation, but unfortunately the echo tests do not
13550 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13551 # `"' quotes if we put them in here... so don't!
13552 lt_int_apple_cc_single_mod=no
13553 output_verbose_link_cmd='echo'
13554 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13555 lt_int_apple_cc_single_mod=yes
13557 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13558 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13560 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'
13562 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13563 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13564 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13565 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}'
13567 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}'
13569 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}'
13570 hardcode_direct_F77=no
13571 hardcode_automatic_F77=yes
13572 hardcode_shlibpath_var_F77=unsupported
13573 whole_archive_flag_spec_F77='-all_load $convenience'
13574 link_all_deplibs_F77=yes
13579 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13580 hardcode_libdir_flag_spec_F77='-L$libdir'
13581 hardcode_shlibpath_var_F77=no
13588 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13589 # support. Future versions do this automatically, but an explicit c++rt0.o
13590 # does not break anything, and helps significantly (at the cost of a little
13593 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13594 hardcode_libdir_flag_spec_F77='-R$libdir'
13595 hardcode_direct_F77=yes
13596 hardcode_shlibpath_var_F77=no
13599 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13601 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13602 hardcode_direct_F77=yes
13603 hardcode_minus_L_F77=yes
13604 hardcode_shlibpath_var_F77=no
13607 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13609 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13610 hardcode_libdir_flag_spec_F77='-R$libdir'
13611 hardcode_direct_F77=yes
13612 hardcode_shlibpath_var_F77=no
13616 if test "$GCC" = yes; then
13617 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'
13619 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'
13621 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13622 hardcode_libdir_separator_F77=:
13623 hardcode_direct_F77=yes
13625 # hardcode_minus_L: Not really in the search PATH,
13626 # but as the default location of the library.
13627 hardcode_minus_L_F77=yes
13628 export_dynamic_flag_spec_F77='${wl}-E'
13632 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13633 case "$host_cpu" in
13635 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13638 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13642 case "$host_cpu" in
13644 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13647 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13651 if test "$with_gnu_ld" = no; then
13652 case "$host_cpu" in
13654 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13655 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13656 hardcode_libdir_separator_F77=:
13657 hardcode_direct_F77=no
13658 hardcode_shlibpath_var_F77=no
13661 hardcode_libdir_flag_spec_F77='-L$libdir'
13662 hardcode_direct_F77=no
13663 hardcode_shlibpath_var_F77=no
13665 # hardcode_minus_L: Not really in the search PATH,
13666 # but as the default location of the library.
13667 hardcode_minus_L_F77=yes
13670 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13671 hardcode_libdir_separator_F77=:
13672 hardcode_direct_F77=yes
13673 export_dynamic_flag_spec_F77='${wl}-E'
13675 # hardcode_minus_L: Not really in the search PATH,
13676 # but as the default location of the library.
13677 hardcode_minus_L_F77=yes
13683 irix5* | irix6* | nonstopux*)
13684 if test "$GCC" = yes; then
13685 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'
13687 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'
13688 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13690 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13691 hardcode_libdir_separator_F77=:
13692 link_all_deplibs_F77=yes
13696 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13697 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13699 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13701 hardcode_libdir_flag_spec_F77='-R$libdir'
13702 hardcode_direct_F77=yes
13703 hardcode_shlibpath_var_F77=no
13707 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13708 hardcode_direct_F77=yes
13709 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13710 hardcode_libdir_separator_F77=:
13711 hardcode_shlibpath_var_F77=no
13715 hardcode_direct_F77=yes
13716 hardcode_shlibpath_var_F77=no
13717 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13718 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13719 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13720 export_dynamic_flag_spec_F77='${wl}-E'
13723 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13724 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13725 hardcode_libdir_flag_spec_F77='-R$libdir'
13728 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13729 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13736 hardcode_libdir_flag_spec_F77='-L$libdir'
13737 hardcode_minus_L_F77=yes
13738 allow_undefined_flag_F77=unsupported
13739 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'
13740 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13744 if test "$GCC" = yes; then
13745 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13746 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'
13748 allow_undefined_flag_F77=' -expect_unresolved \*'
13749 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'
13751 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13752 hardcode_libdir_separator_F77=:
13755 osf4* | osf5*) # as osf3* with the addition of -msym flag
13756 if test "$GCC" = yes; then
13757 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13758 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'
13759 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13761 allow_undefined_flag_F77=' -expect_unresolved \*'
13762 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'
13763 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~
13764 $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'
13766 # Both c and cxx compiler support -rpath directly
13767 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13769 hardcode_libdir_separator_F77=:
13773 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13774 hardcode_shlibpath_var_F77=no
13775 export_dynamic_flag_spec_F77='${wl}-Bexport'
13776 runpath_var=LD_RUN_PATH
13777 hardcode_runpath_var=yes
13781 no_undefined_flag_F77=' -z text'
13782 if test "$GCC" = yes; then
13783 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13784 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13785 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13787 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13788 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13789 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13791 hardcode_libdir_flag_spec_F77='-R$libdir'
13792 hardcode_shlibpath_var_F77=no
13794 solaris2.[0-5] | solaris2.[0-5].*) ;;
13795 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13796 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13798 link_all_deplibs_F77=yes
13802 if test "x$host_vendor" = xsequent; then
13803 # Use $CC to link under sequent, because it throws in some extra .o
13804 # files that make .init and .fini sections work.
13805 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13807 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13809 hardcode_libdir_flag_spec_F77='-L$libdir'
13810 hardcode_direct_F77=yes
13811 hardcode_minus_L_F77=yes
13812 hardcode_shlibpath_var_F77=no
13816 case $host_vendor in
13818 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13819 hardcode_direct_F77=yes # is this really true???
13822 ## LD is ld it makes a PLAMLIB
13823 ## CC just makes a GrossModule.
13824 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13825 reload_cmds_F77='$CC -r -o $output$reload_objs'
13826 hardcode_direct_F77=no
13829 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13830 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13833 runpath_var='LD_RUN_PATH'
13834 hardcode_shlibpath_var_F77=no
13838 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13839 hardcode_shlibpath_var_F77=no
13840 export_dynamic_flag_spec_F77='-Bexport'
13844 if test -d /usr/nec; then
13845 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13846 hardcode_shlibpath_var_F77=no
13847 runpath_var=LD_RUN_PATH
13848 hardcode_runpath_var=yes
13854 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13855 hardcode_direct_F77=yes
13856 hardcode_minus_L_F77=no
13857 hardcode_shlibpath_var_F77=no
13858 hardcode_runpath_var=yes
13859 runpath_var=LD_RUN_PATH
13862 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13863 no_undefined_flag_F77='${wl}-z ${wl}text'
13864 if test "$GCC" = yes; then
13865 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13867 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13869 runpath_var='LD_RUN_PATH'
13870 hardcode_shlibpath_var_F77=no
13874 no_undefined_flag_F77=' -z text'
13875 # $CC -shared without GNU ld will not create a library from C++
13876 # object files and a static libstdc++, better avoid it by now
13877 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13878 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13879 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13880 hardcode_libdir_flag_spec_F77=
13881 hardcode_shlibpath_var_F77=no
13882 runpath_var='LD_RUN_PATH'
13886 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13887 hardcode_libdir_flag_spec_F77='-L$libdir'
13888 hardcode_shlibpath_var_F77=no
13897 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13898 echo "${ECHO_T}$ld_shlibs_F77" >&6
13899 test "$ld_shlibs_F77" = no && can_build_shared=no
13901 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13902 if test "$GCC" = yes; then
13903 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13907 # Do we need to explicitly link libc?
13909 case "x$archive_cmds_need_lc_F77" in
13911 # Assume -lc should be added
13912 archive_cmds_need_lc_F77=yes
13914 if test "$enable_shared" = yes && test "$GCC" = yes; then
13915 case $archive_cmds_F77 in
13917 # FIXME: we may have to deal with multi-command sequences.
13920 # Test whether the compiler implicitly links with -lc since on some
13921 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13922 # to ld, don't add -lc before -lgcc.
13923 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13924 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13926 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13929 (eval $ac_compile) 2>&5
13931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13932 (exit $ac_status); } 2>conftest.err; then
13935 libobjs=conftest.$ac_objext
13937 wl=$lt_prog_compiler_wl_F77
13943 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13944 allow_undefined_flag_F77=
13945 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13946 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); }
13951 archive_cmds_need_lc_F77=no
13953 archive_cmds_need_lc_F77=yes
13955 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13957 cat conftest.err 1>&5
13960 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13961 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13968 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13969 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13970 hardcode_action_F77=
13971 if test -n "$hardcode_libdir_flag_spec_F77" || \
13972 test -n "$runpath_var F77" || \
13973 test "X$hardcode_automatic_F77"="Xyes" ; then
13975 # We can hardcode non-existant directories.
13976 if test "$hardcode_direct_F77" != no &&
13977 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13978 # have to relink, otherwise we might link with an installed library
13979 # when we should be linking with a yet-to-be-installed one
13980 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
13981 test "$hardcode_minus_L_F77" != no; then
13982 # Linking always hardcodes the temporary library directory.
13983 hardcode_action_F77=relink
13985 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13986 hardcode_action_F77=immediate
13989 # We cannot hardcode anything, or else we can only hardcode existing
13991 hardcode_action_F77=unsupported
13993 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
13994 echo "${ECHO_T}$hardcode_action_F77" >&6
13996 if test "$hardcode_action_F77" = relink; then
13997 # Fast installation is not supported
13998 enable_fast_install=no
13999 elif test "$shlibpath_overrides_runpath" = yes ||
14000 test "$enable_shared" = no; then
14001 # Fast installation is not necessary
14002 enable_fast_install=needless
14007 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14008 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14009 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14010 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14011 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14012 echo "$as_me:$LINENO: result: yes" >&5
14013 echo "${ECHO_T}yes" >&6
14015 # FIXME - insert some real tests, host_os isn't really good enough
14018 if test -n "$STRIP" ; then
14019 striplib="$STRIP -x"
14020 echo "$as_me:$LINENO: result: yes" >&5
14021 echo "${ECHO_T}yes" >&6
14023 echo "$as_me:$LINENO: result: no" >&5
14024 echo "${ECHO_T}no" >&6
14028 echo "$as_me:$LINENO: result: no" >&5
14029 echo "${ECHO_T}no" >&6
14034 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14035 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14036 library_names_spec=
14037 libname_spec='lib$name'
14041 postuninstall_cmds=
14045 shlibpath_overrides_runpath=unknown
14047 dynamic_linker="$host_os ld.so"
14048 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14049 if test "$GCC" = yes; then
14050 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14051 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14052 # if the path contains ";" then we assume it to be the separator
14053 # otherwise default to the standard path separator (i.e. ":") - it is
14054 # assumed that no part of a normal pathname contains ";" but that should
14055 # okay in the real world where ";" in dirpaths is itself problematic.
14056 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14058 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14061 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14063 need_lib_prefix=unknown
14064 hardcode_into_libs=no
14066 # when you set need_version to no, make sure it does not cause -set_version
14067 # flags to be left without arguments
14068 need_version=unknown
14073 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14074 shlibpath_var=LIBPATH
14076 # AIX 3 has no versioning support, so we append a major version to the name.
14077 soname_spec='${libname}${release}${shared_ext}$major'
14084 hardcode_into_libs=yes
14085 if test "$host_cpu" = ia64; then
14086 # AIX 5 supports IA64
14087 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14088 shlibpath_var=LD_LIBRARY_PATH
14090 # With GCC up to 2.95.x, collect2 would create an import file
14091 # for dependence libraries. The import file would start with
14092 # the line `#! .'. This would cause the generated library to
14093 # depend on `.', always an invalid library. This was fixed in
14094 # development snapshots of GCC prior to 3.0.
14096 aix4 | aix4.[01] | aix4.[01].*)
14097 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14099 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14102 can_build_shared=no
14106 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14107 # soname into executable. Probably we can add versioning support to
14108 # collect2, so additional links can be useful in future.
14109 if test "$aix_use_runtimelinking" = yes; then
14110 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14111 # instead of lib<name>.a to let people know that these are not
14112 # typical AIX shared libraries.
14113 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14115 # We preserve .a as extension for shared libraries through AIX4.2
14116 # and later when we are not doing run time linking.
14117 library_names_spec='${libname}${release}.a $libname.a'
14118 soname_spec='${libname}${release}${shared_ext}$major'
14120 shlibpath_var=LIBPATH
14125 library_names_spec='$libname.ixlibrary $libname.a'
14126 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14127 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'
14131 library_names_spec='${libname}${shared_ext}'
14132 dynamic_linker="$host_os ld.so"
14133 shlibpath_var=LIBRARY_PATH
14139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14140 soname_spec='${libname}${release}${shared_ext}$major'
14141 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14142 shlibpath_var=LD_LIBRARY_PATH
14143 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14144 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14145 # the default ld.so.conf also contains /usr/contrib/lib and
14146 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14147 # libtool to hard-code these into programs
14150 cygwin* | mingw* | pw32*)
14151 version_type=windows
14156 case $GCC,$host_os in
14157 yes,cygwin* | yes,mingw* | yes,pw32*)
14158 library_names_spec='$libname.dll.a'
14159 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14160 postinstall_cmds='base_file=`basename \${file}`~
14161 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14162 dldir=$destdir/`dirname \$dlpath`~
14163 test -d \$dldir || mkdir -p \$dldir~
14164 $install_prog $dir/$dlname \$dldir/$dlname'
14165 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14166 dlpath=$dir/\$dldll~
14168 shlibpath_overrides_runpath=yes
14172 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14173 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14174 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14177 # MinGW DLLs use traditional 'lib' prefix
14178 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14179 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14180 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14181 # It is most probably a Windows format PATH printed by
14182 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14183 # path with ; separators, and with drive letters. We can handle the
14184 # drive letters (cygwin fileutils understands them), so leave them,
14185 # especially as we might pass files found there to a mingw objdump,
14186 # which wouldn't understand a cygwinified path. Ahh.
14187 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14189 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14193 # pw32 DLLs use 'pw' prefix rather than 'lib'
14194 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14200 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14203 dynamic_linker='Win32 ld.exe'
14204 # FIXME: first we should search . and the directory the executable is in
14208 darwin* | rhapsody*)
14209 dynamic_linker="$host_os dyld"
14210 version_type=darwin
14213 # FIXME: Relying on posixy $() will cause problems for
14214 # cross-compilation, but unfortunately the echo tests do not
14215 # yet detect zsh echo's removal of \ escapes.
14216 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14217 soname_spec='${libname}${release}${major}$shared_ext'
14218 shlibpath_overrides_runpath=yes
14219 shlibpath_var=DYLD_LIBRARY_PATH
14220 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14221 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14222 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14223 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"`
14225 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14233 soname_spec='${libname}${release}${shared_ext}$major'
14234 shlibpath_var=LD_LIBRARY_PATH
14242 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14243 version_type=freebsd-$objformat
14244 case $version_type in
14246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14251 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14255 shlibpath_var=LD_LIBRARY_PATH
14258 shlibpath_overrides_runpath=yes
14260 freebsd3.01* | freebsdelf3.01*)
14261 shlibpath_overrides_runpath=yes
14262 hardcode_into_libs=yes
14265 shlibpath_overrides_runpath=no
14266 hardcode_into_libs=yes
14275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14276 soname_spec='${libname}${release}${shared_ext}$major'
14277 shlibpath_var=LD_LIBRARY_PATH
14278 hardcode_into_libs=yes
14281 hpux9* | hpux10* | hpux11*)
14282 # Give a soname corresponding to the major version so that dld.sl refuses to
14283 # link against other versions.
14287 case "$host_cpu" in
14290 hardcode_into_libs=yes
14291 dynamic_linker="$host_os dld.so"
14292 shlibpath_var=LD_LIBRARY_PATH
14293 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14295 soname_spec='${libname}${release}${shared_ext}$major'
14296 if test "X$HPUX_IA64_MODE" = X32; then
14297 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14299 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14301 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14305 hardcode_into_libs=yes
14306 dynamic_linker="$host_os dld.sl"
14307 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14308 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14310 soname_spec='${libname}${release}${shared_ext}$major'
14311 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14312 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14316 dynamic_linker="$host_os dld.sl"
14317 shlibpath_var=SHLIB_PATH
14318 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14320 soname_spec='${libname}${release}${shared_ext}$major'
14323 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14324 postinstall_cmds='chmod 555 $lib'
14327 irix5* | irix6* | nonstopux*)
14329 nonstopux*) version_type=nonstopux ;;
14331 if test "$lt_cv_prog_gnu_ld" = yes; then
14339 soname_spec='${libname}${release}${shared_ext}$major'
14340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14342 irix5* | nonstopux*)
14343 libsuff= shlibsuff=
14346 case $LD in # libtool.m4 will add one of these switches to LD
14347 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14348 libsuff= shlibsuff= libmagic=32-bit;;
14349 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14350 libsuff=32 shlibsuff=N32 libmagic=N32;;
14351 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14352 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14353 *) libsuff= shlibsuff= libmagic=never-match;;
14357 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14358 shlibpath_overrides_runpath=no
14359 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14360 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14361 hardcode_into_libs=yes
14364 # No shared lib support for Linux oldld, aout, or coff.
14365 linux*oldld* | linux*aout* | linux*coff*)
14369 # This must be Linux ELF.
14374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14375 soname_spec='${libname}${release}${shared_ext}$major'
14376 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14377 shlibpath_var=LD_LIBRARY_PATH
14378 shlibpath_overrides_runpath=no
14379 # This implies no fast_install, which is unacceptable.
14380 # Some rework will be needed to allow for fast_install
14381 # before this can be enabled.
14382 hardcode_into_libs=yes
14384 # We used to test for /lib/ld.so.1 and disable shared libraries on
14385 # powerpc, because MkLinux only supported shared libraries with the
14386 # GNU dynamic linker. Since this was broken with cross compilers,
14387 # most powerpc-linux boxes support dynamic linking these days and
14388 # people can always --disable-shared, the test was removed, and we
14389 # assume the GNU/Linux dynamic linker is in use.
14390 dynamic_linker='GNU/Linux ld.so'
14397 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14399 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14400 dynamic_linker='NetBSD (a.out) ld.so'
14402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14403 soname_spec='${libname}${release}${shared_ext}$major'
14404 dynamic_linker='NetBSD ld.elf_so'
14406 shlibpath_var=LD_LIBRARY_PATH
14407 shlibpath_overrides_runpath=yes
14408 hardcode_into_libs=yes
14413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14414 shlibpath_var=LD_LIBRARY_PATH
14415 shlibpath_overrides_runpath=yes
14422 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14423 soname_spec='${libname}${release}${shared_ext}$major'
14424 shlibpath_var=LD_LIBRARY_PATH
14425 shlibpath_overrides_runpath=yes
14432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14433 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14434 shlibpath_var=LD_LIBRARY_PATH
14435 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14437 openbsd2.[89] | openbsd2.[89].*)
14438 shlibpath_overrides_runpath=no
14441 shlibpath_overrides_runpath=yes
14445 shlibpath_overrides_runpath=yes
14450 libname_spec='$name'
14453 library_names_spec='$libname${shared_ext} $libname.a'
14454 dynamic_linker='OS/2 ld.exe'
14455 shlibpath_var=LIBPATH
14458 osf3* | osf4* | osf5*)
14462 soname_spec='${libname}${release}${shared_ext}$major'
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14464 shlibpath_var=LD_LIBRARY_PATH
14465 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14466 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14471 soname_spec='${libname}${release}${shared_ext}$major'
14472 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14473 shlibpath_var=LD_LIBRARY_PATH
14480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14481 soname_spec='${libname}${release}${shared_ext}$major'
14482 shlibpath_var=LD_LIBRARY_PATH
14483 shlibpath_overrides_runpath=yes
14484 hardcode_into_libs=yes
14485 # ldd complains unless libraries are executable
14486 postinstall_cmds='chmod +x $lib'
14491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14492 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14493 shlibpath_var=LD_LIBRARY_PATH
14494 shlibpath_overrides_runpath=yes
14495 if test "$with_gnu_ld" = yes; then
14501 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14504 soname_spec='${libname}${release}${shared_ext}$major'
14505 shlibpath_var=LD_LIBRARY_PATH
14506 case $host_vendor in
14508 shlibpath_overrides_runpath=no
14510 export_dynamic_flag_spec='${wl}-Blargedynsym'
14511 runpath_var=LD_RUN_PATH
14519 shlibpath_overrides_runpath=no
14520 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14526 if test -d /usr/nec ;then
14528 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14529 soname_spec='$libname${shared_ext}.$major'
14530 shlibpath_var=LD_LIBRARY_PATH
14536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14537 soname_spec='${libname}${release}${shared_ext}$major'
14538 shlibpath_var=LD_LIBRARY_PATH
14545 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14546 echo "${ECHO_T}$dynamic_linker" >&6
14547 test "$dynamic_linker" = no && can_build_shared=no
14550 # The else clause should only fire when bootstrapping the
14551 # libtool distribution, otherwise you forgot to ship ltmain.sh
14552 # with your package, and you will get complaints that there are
14553 # no rules to generate ltmain.sh.
14554 if test -f "$ltmain"; then
14555 # See if we are running on zsh, and set the options which allow our commands through
14556 # without removal of \ escapes.
14557 if test -n "${ZSH_VERSION+set}" ; then
14558 setopt NO_GLOB_SUBST
14560 # Now quote all the things that may contain metacharacters while being
14561 # careful not to overquote the AC_SUBSTed values. We take copies of the
14562 # variables and quote the copies for generation of the libtool script.
14563 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14564 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14565 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14566 deplibs_check_method reload_flag reload_cmds need_locks \
14567 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14568 lt_cv_sys_global_symbol_to_c_name_address \
14569 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14570 old_postinstall_cmds old_postuninstall_cmds \
14574 lt_prog_compiler_wl_F77 \
14575 lt_prog_compiler_pic_F77 \
14576 lt_prog_compiler_static_F77 \
14577 lt_prog_compiler_no_builtin_flag_F77 \
14578 export_dynamic_flag_spec_F77 \
14579 thread_safe_flag_spec_F77 \
14580 whole_archive_flag_spec_F77 \
14581 enable_shared_with_static_runtimes_F77 \
14582 old_archive_cmds_F77 \
14583 old_archive_from_new_cmds_F77 \
14584 predep_objects_F77 \
14585 postdep_objects_F77 \
14588 compiler_lib_search_path_F77 \
14590 archive_expsym_cmds_F77 \
14591 postinstall_cmds_F77 \
14592 postuninstall_cmds_F77 \
14593 old_archive_from_expsyms_cmds_F77 \
14594 allow_undefined_flag_F77 \
14595 no_undefined_flag_F77 \
14596 export_symbols_cmds_F77 \
14597 hardcode_libdir_flag_spec_F77 \
14598 hardcode_libdir_flag_spec_ld_F77 \
14599 hardcode_libdir_separator_F77 \
14600 hardcode_automatic_F77 \
14602 module_expsym_cmds_F77 \
14603 lt_cv_prog_compiler_c_o_F77 \
14604 exclude_expsyms_F77 \
14605 include_expsyms_F77; do
14608 old_archive_cmds_F77 | \
14609 old_archive_from_new_cmds_F77 | \
14610 archive_cmds_F77 | \
14611 archive_expsym_cmds_F77 | \
14612 module_cmds_F77 | \
14613 module_expsym_cmds_F77 | \
14614 old_archive_from_expsyms_cmds_F77 | \
14615 export_symbols_cmds_F77 | \
14616 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14617 postinstall_cmds | postuninstall_cmds | \
14618 old_postinstall_cmds | old_postuninstall_cmds | \
14619 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14620 # Double-quote double-evaled strings.
14621 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14624 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14630 *'\$0 --fallback-echo"')
14631 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14637 cat <<__EOF__ >> "$cfgfile"
14638 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14640 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14642 # Shell to use when invoking shell scripts.
14645 # Whether or not to build shared libraries.
14646 build_libtool_libs=$enable_shared
14648 # Whether or not to build static libraries.
14649 build_old_libs=$enable_static
14651 # Whether or not to add -lc for building shared libraries.
14652 build_libtool_need_lc=$archive_cmds_need_lc_F77
14654 # Whether or not to disallow shared libs when runtime libs are static
14655 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14657 # Whether or not to optimize for fast installation.
14658 fast_install=$enable_fast_install
14661 host_alias=$host_alias
14664 # An echo program that does not interpret backslashes.
14669 AR_FLAGS=$lt_AR_FLAGS
14674 # A language-specific compiler.
14675 CC=$lt_compiler_F77
14677 # Is the compiler the GNU C compiler?
14683 # The linker used to build libraries.
14686 # Whether we need hard or soft links.
14689 # A BSD-compatible nm program.
14692 # A symbol stripping program
14695 # Used to examine libraries when file_magic_cmd begins "file"
14696 MAGIC_CMD=$MAGIC_CMD
14698 # Used on cygwin: DLL creation program.
14701 # Used on cygwin: object dumper.
14704 # Used on cygwin: assembler.
14707 # The name of the directory that contains temporary libtool files.
14710 # How to create reloadable object files.
14711 reload_flag=$lt_reload_flag
14712 reload_cmds=$lt_reload_cmds
14714 # How to pass a linker flag through the compiler.
14715 wl=$lt_lt_prog_compiler_wl_F77
14717 # Object file suffix (normally "o").
14718 objext="$ac_objext"
14720 # Old archive suffix (normally "a").
14723 # Shared library suffix (normally ".so").
14726 # Executable file suffix (normally "").
14729 # Additional compiler flags for building library objects.
14730 pic_flag=$lt_lt_prog_compiler_pic_F77
14733 # What is the maximum length of a command?
14734 max_cmd_len=$lt_cv_sys_max_cmd_len
14736 # Does compiler simultaneously support -c and -o options?
14737 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14739 # Must we lock files when doing compilation ?
14740 need_locks=$lt_need_locks
14742 # Do we need the lib prefix for modules?
14743 need_lib_prefix=$need_lib_prefix
14745 # Do we need a version for libraries?
14746 need_version=$need_version
14748 # Whether dlopen is supported.
14749 dlopen_support=$enable_dlopen
14751 # Whether dlopen of programs is supported.
14752 dlopen_self=$enable_dlopen_self
14754 # Whether dlopen of statically linked programs is supported.
14755 dlopen_self_static=$enable_dlopen_self_static
14757 # Compiler flag to prevent dynamic linking.
14758 link_static_flag=$lt_lt_prog_compiler_static_F77
14760 # Compiler flag to turn off builtin functions.
14761 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14763 # Compiler flag to allow reflexive dlopens.
14764 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14766 # Compiler flag to generate shared objects directly from archives.
14767 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14769 # Compiler flag to generate thread-safe objects.
14770 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14772 # Library versioning type.
14773 version_type=$version_type
14775 # Format of library name prefix.
14776 libname_spec=$lt_libname_spec
14778 # List of archive names. First name is the real one, the rest are links.
14779 # The last name is the one that the linker finds with -lNAME.
14780 library_names_spec=$lt_library_names_spec
14782 # The coded name of the library, if different from the real name.
14783 soname_spec=$lt_soname_spec
14785 # Commands used to build and install an old-style archive.
14787 old_archive_cmds=$lt_old_archive_cmds_F77
14788 old_postinstall_cmds=$lt_old_postinstall_cmds
14789 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14791 # Create an old-style archive from a shared archive.
14792 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14794 # Create a temporary old-style archive to link instead of a shared archive.
14795 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14797 # Commands used to build and install a shared archive.
14798 archive_cmds=$lt_archive_cmds_F77
14799 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14800 postinstall_cmds=$lt_postinstall_cmds
14801 postuninstall_cmds=$lt_postuninstall_cmds
14803 # Commands used to build a loadable module (assumed same as above if empty)
14804 module_cmds=$lt_module_cmds_F77
14805 module_expsym_cmds=$lt_module_expsym_cmds_F77
14807 # Commands to strip libraries.
14808 old_striplib=$lt_old_striplib
14809 striplib=$lt_striplib
14811 # Dependencies to place before the objects being linked to create a
14813 predep_objects=$lt_predep_objects_F77
14815 # Dependencies to place after the objects being linked to create a
14817 postdep_objects=$lt_postdep_objects_F77
14819 # Dependencies to place before the objects being linked to create a
14821 predeps=$lt_predeps_F77
14823 # Dependencies to place after the objects being linked to create a
14825 postdeps=$lt_postdeps_F77
14827 # The library search path used internally by the compiler when linking
14828 # a shared library.
14829 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14831 # Method to check whether dependent libraries are shared objects.
14832 deplibs_check_method=$lt_deplibs_check_method
14834 # Command to use when deplibs_check_method == file_magic.
14835 file_magic_cmd=$lt_file_magic_cmd
14837 # Flag that allows shared libraries with undefined symbols to be built.
14838 allow_undefined_flag=$lt_allow_undefined_flag_F77
14840 # Flag that forces no undefined symbols.
14841 no_undefined_flag=$lt_no_undefined_flag_F77
14843 # Commands used to finish a libtool library installation in a directory.
14844 finish_cmds=$lt_finish_cmds
14846 # Same as above, but a single script fragment to be evaled but not shown.
14847 finish_eval=$lt_finish_eval
14849 # Take the output of nm and produce a listing of raw symbols and C names.
14850 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14852 # Transform the output of nm in a proper C declaration
14853 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14855 # Transform the output of nm in a C name address pair
14856 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14858 # This is the shared library runtime path variable.
14859 runpath_var=$runpath_var
14861 # This is the shared library path variable.
14862 shlibpath_var=$shlibpath_var
14864 # Is shlibpath searched before the hard-coded library search path?
14865 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14867 # How to hardcode a shared library path into an executable.
14868 hardcode_action=$hardcode_action_F77
14870 # Whether we should hardcode library paths into libraries.
14871 hardcode_into_libs=$hardcode_into_libs
14873 # Flag to hardcode \$libdir into a binary during linking.
14874 # This must work even if \$libdir does not exist.
14875 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14877 # If ld is used when linking, flag to hardcode \$libdir into
14878 # a binary during linking. This must work even if \$libdir does
14880 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14882 # Whether we need a single -rpath flag with a separated argument.
14883 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14885 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14886 # resulting binary.
14887 hardcode_direct=$hardcode_direct_F77
14889 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14890 # resulting binary.
14891 hardcode_minus_L=$hardcode_minus_L_F77
14893 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14894 # the resulting binary.
14895 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14897 # Set to yes if building a shared library automatically hardcodes DIR into the library
14898 # and all subsequent libraries and executables linked against it.
14899 hardcode_automatic=$hardcode_automatic_F77
14901 # Variables whose values should be saved in libtool wrapper scripts and
14902 # restored at relink time.
14903 variables_saved_for_relink="$variables_saved_for_relink"
14905 # Whether libtool must link a program against all its dependency libraries.
14906 link_all_deplibs=$link_all_deplibs_F77
14908 # Compile-time system search path for libraries
14909 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14911 # Run-time system search path for libraries
14912 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14914 # Fix the shell variable \$srcfile for the compiler.
14915 fix_srcfile_path="$fix_srcfile_path_F77"
14917 # Set to yes if exported symbols are required.
14918 always_export_symbols=$always_export_symbols_F77
14920 # The commands to list exported symbols.
14921 export_symbols_cmds=$lt_export_symbols_cmds_F77
14923 # The commands to extract the exported symbol list from a shared archive.
14924 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14926 # Symbols that should not be listed in the preloaded symbols.
14927 exclude_expsyms=$lt_exclude_expsyms_F77
14929 # Symbols that must always be exported.
14930 include_expsyms=$lt_include_expsyms_F77
14932 # ### END LIBTOOL TAG CONFIG: $tagname
14938 # If there is no Makefile yet, we rely on a make rule to execute
14939 # `config.status --recheck' to rerun these tests and create the
14940 # libtool script then.
14941 test -f Makefile && make "$ltmain"
14946 ac_cpp='$CPP $CPPFLAGS'
14947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14959 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14963 # Source file extension for Java test sources.
14966 # Object file extension for compiled Java test sources.
14970 # Code to be used in simple compile tests
14971 lt_simple_compile_test_code="class foo {}\n"
14973 # Code to be used in simple link tests
14974 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
14976 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14978 # If no C compiler was specified, use CC.
14981 # Allow CC to be a program name with arguments.
14985 # Allow CC to be a program name with arguments.
14991 # GCJ did not exist at the time GCC didn't implicitly link libc in.
14992 archive_cmds_need_lc_GCJ=no
14995 ## There is no encapsulation within the following macros, do not change
14996 ## the running order or otherwise move them around unless you know exactly
14997 ## what you are doing...
14999 lt_prog_compiler_no_builtin_flag_GCJ=
15001 if test "$GCC" = yes; then
15002 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15004 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15005 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15006 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15007 echo $ECHO_N "(cached) $ECHO_C" >&6
15009 lt_cv_prog_compiler_rtti_exceptions=no
15010 ac_outfile=conftest.$ac_objext
15011 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15012 lt_compiler_flag="-fno-rtti -fno-exceptions"
15013 # Insert the option either (1) after the last *FLAGS variable, or
15014 # (2) before a word containing "conftest.", or (3) at the end.
15015 # Note that $ac_compile itself does not contain backslashes and begins
15016 # with a dollar sign (not a hyphen), so the echo should work correctly.
15017 # The option is referenced via a variable to avoid confusing sed.
15018 lt_compile=`echo "$ac_compile" | $SED \
15019 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15020 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15021 -e 's:$: $lt_compiler_flag:'`
15022 (eval echo "\"\$as_me:15022: $lt_compile\"" >&5)
15023 (eval "$lt_compile" 2>conftest.err)
15025 cat conftest.err >&5
15026 echo "$as_me:15026: \$? = $ac_status" >&5
15027 if (exit $ac_status) && test -s "$ac_outfile"; then
15028 # The compiler can only warn and ignore the option if not recognized
15029 # So say no if there are warnings
15030 if test ! -s conftest.err; then
15031 lt_cv_prog_compiler_rtti_exceptions=yes
15037 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15038 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15040 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15041 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15048 lt_prog_compiler_wl_GCJ=
15049 lt_prog_compiler_pic_GCJ=
15050 lt_prog_compiler_static_GCJ=
15052 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15053 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15055 if test "$GCC" = yes; then
15056 lt_prog_compiler_wl_GCJ='-Wl,'
15057 lt_prog_compiler_static_GCJ='-static'
15061 # All AIX code is PIC.
15062 if test "$host_cpu" = ia64; then
15063 # AIX 5 now supports IA64 processor
15064 lt_prog_compiler_static_GCJ='-Bstatic'
15069 # FIXME: we need at least 68020 code to build shared libraries, but
15070 # adding the `-m68020' flag to GCC prevents building anything better,
15072 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15075 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15076 # PIC is the default for these OSes.
15079 mingw* | pw32* | os2*)
15080 # This hack is so that the source file can tell whether it is being
15081 # built for inclusion in a dll (and should export symbols for example).
15082 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15085 darwin* | rhapsody*)
15086 # PIC is the default on this platform
15087 # Common symbols not allowed in MH_DYLIB files
15088 lt_prog_compiler_pic_GCJ='-fno-common'
15092 # Just because we use GCC doesn't mean we suddenly get shared libraries
15093 # on systems that don't support them.
15094 lt_prog_compiler_can_build_shared_GCJ=no
15099 if test -d /usr/nec; then
15100 lt_prog_compiler_pic_GCJ=-Kconform_pic
15105 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15106 # not for PA HP-UX.
15107 case "$host_cpu" in
15112 lt_prog_compiler_pic_GCJ='-fPIC'
15118 lt_prog_compiler_pic_GCJ='-fPIC'
15122 # PORTME Check for flag to pass linker flags through the system compiler.
15125 lt_prog_compiler_wl_GCJ='-Wl,'
15126 if test "$host_cpu" = ia64; then
15127 # AIX 5 now supports IA64 processor
15128 lt_prog_compiler_static_GCJ='-Bstatic'
15130 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15134 mingw* | pw32* | os2*)
15135 # This hack is so that the source file can tell whether it is being
15136 # built for inclusion in a dll (and should export symbols for example).
15137 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15140 hpux9* | hpux10* | hpux11*)
15141 lt_prog_compiler_wl_GCJ='-Wl,'
15142 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15143 # not for PA HP-UX.
15144 case "$host_cpu" in
15149 lt_prog_compiler_pic_GCJ='+Z'
15152 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15153 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15156 irix5* | irix6* | nonstopux*)
15157 lt_prog_compiler_wl_GCJ='-Wl,'
15158 # PIC (with -KPIC) is the default.
15159 lt_prog_compiler_static_GCJ='-non_shared'
15163 lt_prog_compiler_pic_GCJ='-KPIC'
15164 lt_prog_compiler_static_GCJ='-Bstatic'
15170 lt_prog_compiler_wl_GCJ='-Wl,'
15171 lt_prog_compiler_pic_GCJ='-KPIC'
15172 lt_prog_compiler_static_GCJ='-static'
15175 lt_prog_compiler_wl_GCJ='-Wl,'
15176 # All Alpha code is PIC.
15177 lt_prog_compiler_static_GCJ='-non_shared'
15182 osf3* | osf4* | osf5*)
15183 lt_prog_compiler_wl_GCJ='-Wl,'
15184 # All OSF/1 code is PIC.
15185 lt_prog_compiler_static_GCJ='-non_shared'
15189 lt_prog_compiler_pic_GCJ='-Kpic'
15190 lt_prog_compiler_static_GCJ='-dn'
15194 lt_prog_compiler_wl_GCJ='-Wl,'
15195 lt_prog_compiler_pic_GCJ='-KPIC'
15196 lt_prog_compiler_static_GCJ='-Bstatic'
15200 lt_prog_compiler_wl_GCJ='-Qoption ld '
15201 lt_prog_compiler_pic_GCJ='-PIC'
15202 lt_prog_compiler_static_GCJ='-Bstatic'
15205 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15206 lt_prog_compiler_wl_GCJ='-Wl,'
15207 lt_prog_compiler_pic_GCJ='-KPIC'
15208 lt_prog_compiler_static_GCJ='-Bstatic'
15212 if test -d /usr/nec ;then
15213 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15214 lt_prog_compiler_static_GCJ='-Bstatic'
15219 lt_prog_compiler_pic_GCJ='-pic'
15220 lt_prog_compiler_static_GCJ='-Bstatic'
15224 lt_prog_compiler_can_build_shared_GCJ=no
15229 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15230 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15233 # Check to make sure the PIC flag actually works.
15235 if test -n "$lt_prog_compiler_pic_GCJ"; then
15236 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15237 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15238 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15239 echo $ECHO_N "(cached) $ECHO_C" >&6
15241 lt_prog_compiler_pic_works_GCJ=no
15242 ac_outfile=conftest.$ac_objext
15243 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15244 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15245 # Insert the option either (1) after the last *FLAGS variable, or
15246 # (2) before a word containing "conftest.", or (3) at the end.
15247 # Note that $ac_compile itself does not contain backslashes and begins
15248 # with a dollar sign (not a hyphen), so the echo should work correctly.
15249 # The option is referenced via a variable to avoid confusing sed.
15250 lt_compile=`echo "$ac_compile" | $SED \
15251 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15252 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15253 -e 's:$: $lt_compiler_flag:'`
15254 (eval echo "\"\$as_me:15254: $lt_compile\"" >&5)
15255 (eval "$lt_compile" 2>conftest.err)
15257 cat conftest.err >&5
15258 echo "$as_me:15258: \$? = $ac_status" >&5
15259 if (exit $ac_status) && test -s "$ac_outfile"; then
15260 # The compiler can only warn and ignore the option if not recognized
15261 # So say no if there are warnings
15262 if test ! -s conftest.err; then
15263 lt_prog_compiler_pic_works_GCJ=yes
15269 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15270 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15272 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15273 case $lt_prog_compiler_pic_GCJ in
15275 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15278 lt_prog_compiler_pic_GCJ=
15279 lt_prog_compiler_can_build_shared_GCJ=no
15284 # For platforms which do not support PIC, -DPIC is meaningless:
15286 lt_prog_compiler_pic_GCJ=
15289 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15293 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15294 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15295 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15296 echo $ECHO_N "(cached) $ECHO_C" >&6
15298 lt_cv_prog_compiler_c_o_GCJ=no
15299 $rm -r conftest 2>/dev/null
15303 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15305 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15306 # that will create temporary files in the current directory regardless of
15307 # the output directory. Thus, making CWD read-only will cause this test
15308 # to fail, enabling locking or at least warning the user not to do parallel
15312 lt_compiler_flag="-o out/conftest2.$ac_objext"
15313 # Insert the option either (1) after the last *FLAGS variable, or
15314 # (2) before a word containing "conftest.", or (3) at the end.
15315 # Note that $ac_compile itself does not contain backslashes and begins
15316 # with a dollar sign (not a hyphen), so the echo should work correctly.
15317 lt_compile=`echo "$ac_compile" | $SED \
15318 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15319 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15320 -e 's:$: $lt_compiler_flag:'`
15321 (eval echo "\"\$as_me:15321: $lt_compile\"" >&5)
15322 (eval "$lt_compile" 2>out/conftest.err)
15324 cat out/conftest.err >&5
15325 echo "$as_me:15325: \$? = $ac_status" >&5
15326 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15328 # The compiler can only warn and ignore the option if not recognized
15329 # So say no if there are warnings
15330 if test ! -s out/conftest.err; then
15331 lt_cv_prog_compiler_c_o_GCJ=yes
15335 $rm conftest* out/*
15342 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15343 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15346 hard_links="nottested"
15347 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15348 # do not overwrite the value of need_locks provided by the user
15349 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15350 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15353 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15355 ln conftest.a conftest.b 2>&5 || hard_links=no
15356 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15357 echo "$as_me:$LINENO: result: $hard_links" >&5
15358 echo "${ECHO_T}$hard_links" >&6
15359 if test "$hard_links" = no; then
15360 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15361 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15368 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15369 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15372 allow_undefined_flag_GCJ=
15373 enable_shared_with_static_runtimes_GCJ=no
15375 archive_expsym_cmds_GCJ=
15376 old_archive_From_new_cmds_GCJ=
15377 old_archive_from_expsyms_cmds_GCJ=
15378 export_dynamic_flag_spec_GCJ=
15379 whole_archive_flag_spec_GCJ=
15380 thread_safe_flag_spec_GCJ=
15381 hardcode_libdir_flag_spec_GCJ=
15382 hardcode_libdir_flag_spec_ld_GCJ=
15383 hardcode_libdir_separator_GCJ=
15384 hardcode_direct_GCJ=no
15385 hardcode_minus_L_GCJ=no
15386 hardcode_shlibpath_var_GCJ=unsupported
15387 link_all_deplibs_GCJ=unknown
15388 hardcode_automatic_GCJ=no
15390 module_expsym_cmds_GCJ=
15391 always_export_symbols_GCJ=no
15392 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15393 # include_expsyms should be a list of space-separated symbols to be *always*
15394 # included in the symbol list
15395 include_expsyms_GCJ=
15396 # exclude_expsyms can be an extended regexp of symbols to exclude
15397 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15398 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15399 # as well as any symbol that contains `d'.
15400 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15401 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15402 # platforms (ab)use it in PIC code, but their linkers get confused if
15403 # the symbol is explicitly referenced. Since portable code cannot
15404 # rely on this symbol name, it's probably fine to never include it in
15405 # preloaded symbol tables.
15406 extract_expsyms_cmds=
15409 cygwin* | mingw* | pw32*)
15410 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15411 # When not using gcc, we currently assume that we are using
15412 # Microsoft Visual C++.
15413 if test "$GCC" != yes; then
15423 if test "$with_gnu_ld" = yes; then
15424 # If archive_cmds runs LD, not CC, wlarc should be empty
15427 # See if GNU ld supports shared libraries.
15429 aix3* | aix4* | aix5*)
15430 # On AIX/PPC, the GNU linker is very broken
15431 if test "$host_cpu" != ia64; then
15435 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15436 *** to be unable to reliably create shared libraries on AIX.
15437 *** Therefore, libtool is disabling shared libraries support. If you
15438 *** really care for shared libraries, you may want to modify your PATH
15439 *** so that a non-GNU linker is found, and then restart.
15446 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)'
15447 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15448 hardcode_minus_L_GCJ=yes
15450 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15451 # that the semantics of dynamic libraries on AmigaOS, at least up
15452 # to version 4, is to share data among multiple programs linked
15453 # with the same dynamic library. Since this doesn't match the
15454 # behavior of shared libraries on other platforms, we can't use
15460 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15461 allow_undefined_flag_GCJ=unsupported
15462 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15463 # support --undefined. This deserves some investigation. FIXME
15464 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15470 cygwin* | mingw* | pw32*)
15471 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15472 # as there is no search path for DLLs.
15473 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15474 allow_undefined_flag_GCJ=unsupported
15475 always_export_symbols_GCJ=no
15476 enable_shared_with_static_runtimes_GCJ=yes
15477 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15479 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15480 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15481 # If the export-symbols file already is a .def file (1st line
15482 # is EXPORTS), use it as is; otherwise, prepend...
15483 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15484 cp $export_symbols $output_objdir/$soname.def;
15486 echo EXPORTS > $output_objdir/$soname.def;
15487 cat $export_symbols >> $output_objdir/$soname.def;
15489 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15496 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15497 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15500 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15501 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15506 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15510 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15511 *** create shared libraries on Solaris systems. Therefore, libtool
15512 *** is disabling shared libraries support. We urge you to upgrade GNU
15513 *** binutils to release 2.9.1 or newer. Another option is to modify
15514 *** your PATH or compiler configuration so that the native linker is
15515 *** used, and then restart.
15518 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15519 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15520 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15527 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15529 hardcode_direct_GCJ=yes
15530 hardcode_shlibpath_var_GCJ=no
15534 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15535 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15536 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15543 if test "$ld_shlibs_GCJ" = yes; then
15544 runpath_var=LD_RUN_PATH
15545 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15546 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15547 # ancient GNU ld didn't support --whole-archive et. al.
15548 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15549 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15551 whole_archive_flag_spec_GCJ=
15555 # PORTME fill in a description of your system's linker (not GNU ld)
15558 allow_undefined_flag_GCJ=unsupported
15559 always_export_symbols_GCJ=yes
15560 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'
15561 # Note: this linker hardcodes the directories in LIBPATH if there
15562 # are no directories specified by -L.
15563 hardcode_minus_L_GCJ=yes
15564 if test "$GCC" = yes && test -z "$link_static_flag"; then
15565 # Neither direct hardcoding nor static linking is supported with a
15567 hardcode_direct_GCJ=unsupported
15572 if test "$host_cpu" = ia64; then
15573 # On IA64, the linker does run time linking by default, so we don't
15574 # have to do anything special.
15575 aix_use_runtimelinking=no
15576 exp_sym_flag='-Bexport'
15579 # If we're using GNU nm, then we don't want the "-C" option.
15580 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15581 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15582 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'
15584 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'
15586 aix_use_runtimelinking=no
15588 # Test if we are trying to use run time linking or normal
15589 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15590 # need to do runtime linking.
15591 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15592 for ld_flag in $LDFLAGS; do
15593 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15594 aix_use_runtimelinking=yes
15600 exp_sym_flag='-bexport'
15601 no_entry_flag='-bnoentry'
15604 # When large executables or shared objects are built, AIX ld can
15605 # have problems creating the table of contents. If linking a library
15606 # or program results in "error TOC overflow" add -mminimal-toc to
15607 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15608 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15610 archive_cmds_GCJ=''
15611 hardcode_direct_GCJ=yes
15612 hardcode_libdir_separator_GCJ=':'
15613 link_all_deplibs_GCJ=yes
15615 if test "$GCC" = yes; then
15616 case $host_os in aix4.012|aix4.012.*)
15617 # We only want to do this on AIX 4.2 and lower, the check
15618 # below for broken collect2 doesn't work under 4.3+
15619 collect2name=`${CC} -print-prog-name=collect2`
15620 if test -f "$collect2name" && \
15621 strings "$collect2name" | grep resolve_lib_name >/dev/null
15623 # We have reworked collect2
15624 hardcode_direct_GCJ=yes
15626 # We have old collect2
15627 hardcode_direct_GCJ=unsupported
15628 # It fails to find uninstalled libraries when the uninstalled
15629 # path is not listed in the libpath. Setting hardcode_minus_L
15630 # to unsupported forces relinking
15631 hardcode_minus_L_GCJ=yes
15632 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15633 hardcode_libdir_separator_GCJ=
15636 shared_flag='-shared'
15639 if test "$host_cpu" = ia64; then
15640 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15641 # chokes on -Wl,-G. The following line is correct:
15644 if test "$aix_use_runtimelinking" = yes; then
15645 shared_flag='${wl}-G'
15647 shared_flag='${wl}-bM:SRE'
15652 # It seems that -bexpall does not export symbols beginning with
15653 # underscore (_), so it is better to generate a list of symbols to export.
15654 always_export_symbols_GCJ=yes
15655 if test "$aix_use_runtimelinking" = yes; then
15656 # Warning - without using the other runtime loading flags (-brtl),
15657 # -berok will link without error, but may produce a broken library.
15658 allow_undefined_flag_GCJ='-berok'
15659 # Determine the default libpath from the value encoded in an empty executable.
15660 cat >conftest.$ac_ext <<_ACEOF
15661 #line $LINENO "configure"
15664 cat confdefs.h >>conftest.$ac_ext
15665 cat >>conftest.$ac_ext <<_ACEOF
15666 /* end confdefs.h. */
15676 rm -f conftest.$ac_objext conftest$ac_exeext
15677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15678 (eval $ac_link) 2>&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); } &&
15682 { ac_try='test -s conftest$ac_exeext'
15683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15684 (eval $ac_try) 2>&5
15686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15687 (exit $ac_status); }; }; then
15689 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15691 # Check for a 64-bit object if we didn't find anything.
15692 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; }
15695 echo "$as_me: failed program was:" >&5
15696 sed 's/^/| /' conftest.$ac_ext >&5
15699 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15700 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15702 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15703 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"
15705 if test "$host_cpu" = ia64; then
15706 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15707 allow_undefined_flag_GCJ="-z nodefs"
15708 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"
15710 # Determine the default libpath from the value encoded in an empty executable.
15711 cat >conftest.$ac_ext <<_ACEOF
15712 #line $LINENO "configure"
15715 cat confdefs.h >>conftest.$ac_ext
15716 cat >>conftest.$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15727 rm -f conftest.$ac_objext conftest$ac_exeext
15728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15729 (eval $ac_link) 2>&5
15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732 (exit $ac_status); } &&
15733 { ac_try='test -s conftest$ac_exeext'
15734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15735 (eval $ac_try) 2>&5
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); }; }; then
15740 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15742 # Check for a 64-bit object if we didn't find anything.
15743 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; }
15746 echo "$as_me: failed program was:" >&5
15747 sed 's/^/| /' conftest.$ac_ext >&5
15750 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15751 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15753 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15754 # Warning - without using the other run time loading flags,
15755 # -berok will link without error, but may produce a broken library.
15756 no_undefined_flag_GCJ=' ${wl}-bernotok'
15757 allow_undefined_flag_GCJ=' ${wl}-berok'
15758 # -bexpall does not export symbols beginning with underscore (_)
15759 always_export_symbols_GCJ=yes
15760 # Exported symbols can be pulled into shared objects from archives
15761 whole_archive_flag_spec_GCJ=' '
15762 archive_cmds_need_lc_GCJ=yes
15763 # This is similar to how AIX traditionally builds it's shared libraries.
15764 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'
15770 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)'
15771 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15772 hardcode_minus_L_GCJ=yes
15773 # see comment about different semantics on the GNU ld section
15778 export_dynamic_flag_spec_GCJ=-rdynamic
15781 cygwin* | mingw* | pw32*)
15782 # When not using gcc, we currently assume that we are using
15783 # Microsoft Visual C++.
15784 # hardcode_libdir_flag_spec is actually meaningless, as there is
15785 # no search path for DLLs.
15786 hardcode_libdir_flag_spec_GCJ=' '
15787 allow_undefined_flag_GCJ=unsupported
15788 # Tell ltmain to make .lib files, not .a files.
15790 # Tell ltmain to make .dll files, not .so files.
15792 # FIXME: Setting linknames here is a bad hack.
15793 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15794 # The linker will automatically build a .lib file if we build a DLL.
15795 old_archive_From_new_cmds_GCJ='true'
15796 # FIXME: Should let the user specify the lib program.
15797 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15798 fix_srcfile_path='`cygpath -w "$srcfile"`'
15799 enable_shared_with_static_runtimes_GCJ=yes
15802 darwin* | rhapsody*)
15803 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15804 archive_cmds_need_lc_GCJ=no
15806 rhapsody* | darwin1.[012])
15807 allow_undefined_flag_GCJ='-undefined suppress'
15810 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15813 # FIXME: Relying on posixy $() will cause problems for
15814 # cross-compilation, but unfortunately the echo tests do not
15815 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15816 # `"' quotes if we put them in here... so don't!
15817 lt_int_apple_cc_single_mod=no
15818 output_verbose_link_cmd='echo'
15819 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15820 lt_int_apple_cc_single_mod=yes
15822 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15823 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15825 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'
15827 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15828 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15829 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15830 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}'
15832 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}'
15834 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}'
15835 hardcode_direct_GCJ=no
15836 hardcode_automatic_GCJ=yes
15837 hardcode_shlibpath_var_GCJ=unsupported
15838 whole_archive_flag_spec_GCJ='-all_load $convenience'
15839 link_all_deplibs_GCJ=yes
15844 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15845 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15846 hardcode_shlibpath_var_GCJ=no
15853 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15854 # support. Future versions do this automatically, but an explicit c++rt0.o
15855 # does not break anything, and helps significantly (at the cost of a little
15858 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15859 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15860 hardcode_direct_GCJ=yes
15861 hardcode_shlibpath_var_GCJ=no
15864 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15866 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15867 hardcode_direct_GCJ=yes
15868 hardcode_minus_L_GCJ=yes
15869 hardcode_shlibpath_var_GCJ=no
15872 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15874 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15875 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15876 hardcode_direct_GCJ=yes
15877 hardcode_shlibpath_var_GCJ=no
15881 if test "$GCC" = yes; then
15882 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'
15884 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'
15886 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15887 hardcode_libdir_separator_GCJ=:
15888 hardcode_direct_GCJ=yes
15890 # hardcode_minus_L: Not really in the search PATH,
15891 # but as the default location of the library.
15892 hardcode_minus_L_GCJ=yes
15893 export_dynamic_flag_spec_GCJ='${wl}-E'
15897 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15898 case "$host_cpu" in
15900 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15903 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15907 case "$host_cpu" in
15909 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15912 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15916 if test "$with_gnu_ld" = no; then
15917 case "$host_cpu" in
15919 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15920 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15921 hardcode_libdir_separator_GCJ=:
15922 hardcode_direct_GCJ=no
15923 hardcode_shlibpath_var_GCJ=no
15926 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15927 hardcode_direct_GCJ=no
15928 hardcode_shlibpath_var_GCJ=no
15930 # hardcode_minus_L: Not really in the search PATH,
15931 # but as the default location of the library.
15932 hardcode_minus_L_GCJ=yes
15935 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15936 hardcode_libdir_separator_GCJ=:
15937 hardcode_direct_GCJ=yes
15938 export_dynamic_flag_spec_GCJ='${wl}-E'
15940 # hardcode_minus_L: Not really in the search PATH,
15941 # but as the default location of the library.
15942 hardcode_minus_L_GCJ=yes
15948 irix5* | irix6* | nonstopux*)
15949 if test "$GCC" = yes; then
15950 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'
15952 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'
15953 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15955 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15956 hardcode_libdir_separator_GCJ=:
15957 link_all_deplibs_GCJ=yes
15961 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15962 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15964 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15966 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15967 hardcode_direct_GCJ=yes
15968 hardcode_shlibpath_var_GCJ=no
15972 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15973 hardcode_direct_GCJ=yes
15974 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15975 hardcode_libdir_separator_GCJ=:
15976 hardcode_shlibpath_var_GCJ=no
15980 hardcode_direct_GCJ=yes
15981 hardcode_shlibpath_var_GCJ=no
15982 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15983 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15984 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15985 export_dynamic_flag_spec_GCJ='${wl}-E'
15988 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15989 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15990 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15993 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15994 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16001 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16002 hardcode_minus_L_GCJ=yes
16003 allow_undefined_flag_GCJ=unsupported
16004 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'
16005 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16009 if test "$GCC" = yes; then
16010 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16011 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'
16013 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16014 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'
16016 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16017 hardcode_libdir_separator_GCJ=:
16020 osf4* | osf5*) # as osf3* with the addition of -msym flag
16021 if test "$GCC" = yes; then
16022 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16023 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'
16024 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16026 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16027 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'
16028 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~
16029 $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'
16031 # Both c and cxx compiler support -rpath directly
16032 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16034 hardcode_libdir_separator_GCJ=:
16038 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16039 hardcode_shlibpath_var_GCJ=no
16040 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16041 runpath_var=LD_RUN_PATH
16042 hardcode_runpath_var=yes
16046 no_undefined_flag_GCJ=' -z text'
16047 if test "$GCC" = yes; then
16048 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16049 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16050 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16052 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16053 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16054 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16056 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16057 hardcode_shlibpath_var_GCJ=no
16059 solaris2.[0-5] | solaris2.[0-5].*) ;;
16060 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16061 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16063 link_all_deplibs_GCJ=yes
16067 if test "x$host_vendor" = xsequent; then
16068 # Use $CC to link under sequent, because it throws in some extra .o
16069 # files that make .init and .fini sections work.
16070 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16072 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16074 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16075 hardcode_direct_GCJ=yes
16076 hardcode_minus_L_GCJ=yes
16077 hardcode_shlibpath_var_GCJ=no
16081 case $host_vendor in
16083 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16084 hardcode_direct_GCJ=yes # is this really true???
16087 ## LD is ld it makes a PLAMLIB
16088 ## CC just makes a GrossModule.
16089 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16090 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16091 hardcode_direct_GCJ=no
16094 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16095 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16098 runpath_var='LD_RUN_PATH'
16099 hardcode_shlibpath_var_GCJ=no
16103 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16104 hardcode_shlibpath_var_GCJ=no
16105 export_dynamic_flag_spec_GCJ='-Bexport'
16109 if test -d /usr/nec; then
16110 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16111 hardcode_shlibpath_var_GCJ=no
16112 runpath_var=LD_RUN_PATH
16113 hardcode_runpath_var=yes
16119 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16120 hardcode_direct_GCJ=yes
16121 hardcode_minus_L_GCJ=no
16122 hardcode_shlibpath_var_GCJ=no
16123 hardcode_runpath_var=yes
16124 runpath_var=LD_RUN_PATH
16127 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16128 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16129 if test "$GCC" = yes; then
16130 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16132 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16134 runpath_var='LD_RUN_PATH'
16135 hardcode_shlibpath_var_GCJ=no
16139 no_undefined_flag_GCJ=' -z text'
16140 # $CC -shared without GNU ld will not create a library from C++
16141 # object files and a static libstdc++, better avoid it by now
16142 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16143 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16144 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16145 hardcode_libdir_flag_spec_GCJ=
16146 hardcode_shlibpath_var_GCJ=no
16147 runpath_var='LD_RUN_PATH'
16151 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16152 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16153 hardcode_shlibpath_var_GCJ=no
16162 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16163 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16164 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16166 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16167 if test "$GCC" = yes; then
16168 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16172 # Do we need to explicitly link libc?
16174 case "x$archive_cmds_need_lc_GCJ" in
16176 # Assume -lc should be added
16177 archive_cmds_need_lc_GCJ=yes
16179 if test "$enable_shared" = yes && test "$GCC" = yes; then
16180 case $archive_cmds_GCJ in
16182 # FIXME: we may have to deal with multi-command sequences.
16185 # Test whether the compiler implicitly links with -lc since on some
16186 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16187 # to ld, don't add -lc before -lgcc.
16188 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16189 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16191 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16194 (eval $ac_compile) 2>&5
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); } 2>conftest.err; then
16200 libobjs=conftest.$ac_objext
16202 wl=$lt_prog_compiler_wl_GCJ
16208 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16209 allow_undefined_flag_GCJ=
16210 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16211 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 (exit $ac_status); }
16216 archive_cmds_need_lc_GCJ=no
16218 archive_cmds_need_lc_GCJ=yes
16220 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16222 cat conftest.err 1>&5
16225 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16226 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16233 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16234 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16235 hardcode_action_GCJ=
16236 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16237 test -n "$runpath_var GCJ" || \
16238 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16240 # We can hardcode non-existant directories.
16241 if test "$hardcode_direct_GCJ" != no &&
16242 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16243 # have to relink, otherwise we might link with an installed library
16244 # when we should be linking with a yet-to-be-installed one
16245 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16246 test "$hardcode_minus_L_GCJ" != no; then
16247 # Linking always hardcodes the temporary library directory.
16248 hardcode_action_GCJ=relink
16250 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16251 hardcode_action_GCJ=immediate
16254 # We cannot hardcode anything, or else we can only hardcode existing
16256 hardcode_action_GCJ=unsupported
16258 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16259 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16261 if test "$hardcode_action_GCJ" = relink; then
16262 # Fast installation is not supported
16263 enable_fast_install=no
16264 elif test "$shlibpath_overrides_runpath" = yes ||
16265 test "$enable_shared" = no; then
16266 # Fast installation is not necessary
16267 enable_fast_install=needless
16272 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16273 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16274 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16275 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16276 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16277 echo "$as_me:$LINENO: result: yes" >&5
16278 echo "${ECHO_T}yes" >&6
16280 # FIXME - insert some real tests, host_os isn't really good enough
16283 if test -n "$STRIP" ; then
16284 striplib="$STRIP -x"
16285 echo "$as_me:$LINENO: result: yes" >&5
16286 echo "${ECHO_T}yes" >&6
16288 echo "$as_me:$LINENO: result: no" >&5
16289 echo "${ECHO_T}no" >&6
16293 echo "$as_me:$LINENO: result: no" >&5
16294 echo "${ECHO_T}no" >&6
16299 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16300 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16301 library_names_spec=
16302 libname_spec='lib$name'
16306 postuninstall_cmds=
16310 shlibpath_overrides_runpath=unknown
16312 dynamic_linker="$host_os ld.so"
16313 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16314 if test "$GCC" = yes; then
16315 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16316 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16317 # if the path contains ";" then we assume it to be the separator
16318 # otherwise default to the standard path separator (i.e. ":") - it is
16319 # assumed that no part of a normal pathname contains ";" but that should
16320 # okay in the real world where ";" in dirpaths is itself problematic.
16321 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16323 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16326 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16328 need_lib_prefix=unknown
16329 hardcode_into_libs=no
16331 # when you set need_version to no, make sure it does not cause -set_version
16332 # flags to be left without arguments
16333 need_version=unknown
16338 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16339 shlibpath_var=LIBPATH
16341 # AIX 3 has no versioning support, so we append a major version to the name.
16342 soname_spec='${libname}${release}${shared_ext}$major'
16349 hardcode_into_libs=yes
16350 if test "$host_cpu" = ia64; then
16351 # AIX 5 supports IA64
16352 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16353 shlibpath_var=LD_LIBRARY_PATH
16355 # With GCC up to 2.95.x, collect2 would create an import file
16356 # for dependence libraries. The import file would start with
16357 # the line `#! .'. This would cause the generated library to
16358 # depend on `.', always an invalid library. This was fixed in
16359 # development snapshots of GCC prior to 3.0.
16361 aix4 | aix4.[01] | aix4.[01].*)
16362 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16364 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16367 can_build_shared=no
16371 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16372 # soname into executable. Probably we can add versioning support to
16373 # collect2, so additional links can be useful in future.
16374 if test "$aix_use_runtimelinking" = yes; then
16375 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16376 # instead of lib<name>.a to let people know that these are not
16377 # typical AIX shared libraries.
16378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16380 # We preserve .a as extension for shared libraries through AIX4.2
16381 # and later when we are not doing run time linking.
16382 library_names_spec='${libname}${release}.a $libname.a'
16383 soname_spec='${libname}${release}${shared_ext}$major'
16385 shlibpath_var=LIBPATH
16390 library_names_spec='$libname.ixlibrary $libname.a'
16391 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16392 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'
16396 library_names_spec='${libname}${shared_ext}'
16397 dynamic_linker="$host_os ld.so"
16398 shlibpath_var=LIBRARY_PATH
16404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16405 soname_spec='${libname}${release}${shared_ext}$major'
16406 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16407 shlibpath_var=LD_LIBRARY_PATH
16408 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16409 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16410 # the default ld.so.conf also contains /usr/contrib/lib and
16411 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16412 # libtool to hard-code these into programs
16415 cygwin* | mingw* | pw32*)
16416 version_type=windows
16421 case $GCC,$host_os in
16422 yes,cygwin* | yes,mingw* | yes,pw32*)
16423 library_names_spec='$libname.dll.a'
16424 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16425 postinstall_cmds='base_file=`basename \${file}`~
16426 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16427 dldir=$destdir/`dirname \$dlpath`~
16428 test -d \$dldir || mkdir -p \$dldir~
16429 $install_prog $dir/$dlname \$dldir/$dlname'
16430 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16431 dlpath=$dir/\$dldll~
16433 shlibpath_overrides_runpath=yes
16437 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16438 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16439 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16442 # MinGW DLLs use traditional 'lib' prefix
16443 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16444 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16445 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16446 # It is most probably a Windows format PATH printed by
16447 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16448 # path with ; separators, and with drive letters. We can handle the
16449 # drive letters (cygwin fileutils understands them), so leave them,
16450 # especially as we might pass files found there to a mingw objdump,
16451 # which wouldn't understand a cygwinified path. Ahh.
16452 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16454 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16458 # pw32 DLLs use 'pw' prefix rather than 'lib'
16459 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16465 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16468 dynamic_linker='Win32 ld.exe'
16469 # FIXME: first we should search . and the directory the executable is in
16473 darwin* | rhapsody*)
16474 dynamic_linker="$host_os dyld"
16475 version_type=darwin
16478 # FIXME: Relying on posixy $() will cause problems for
16479 # cross-compilation, but unfortunately the echo tests do not
16480 # yet detect zsh echo's removal of \ escapes.
16481 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16482 soname_spec='${libname}${release}${major}$shared_ext'
16483 shlibpath_overrides_runpath=yes
16484 shlibpath_var=DYLD_LIBRARY_PATH
16485 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16486 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16487 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16488 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"`
16490 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16498 soname_spec='${libname}${release}${shared_ext}$major'
16499 shlibpath_var=LD_LIBRARY_PATH
16507 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16508 version_type=freebsd-$objformat
16509 case $version_type in
16511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16516 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16520 shlibpath_var=LD_LIBRARY_PATH
16523 shlibpath_overrides_runpath=yes
16525 freebsd3.01* | freebsdelf3.01*)
16526 shlibpath_overrides_runpath=yes
16527 hardcode_into_libs=yes
16530 shlibpath_overrides_runpath=no
16531 hardcode_into_libs=yes
16540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16541 soname_spec='${libname}${release}${shared_ext}$major'
16542 shlibpath_var=LD_LIBRARY_PATH
16543 hardcode_into_libs=yes
16546 hpux9* | hpux10* | hpux11*)
16547 # Give a soname corresponding to the major version so that dld.sl refuses to
16548 # link against other versions.
16552 case "$host_cpu" in
16555 hardcode_into_libs=yes
16556 dynamic_linker="$host_os dld.so"
16557 shlibpath_var=LD_LIBRARY_PATH
16558 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16560 soname_spec='${libname}${release}${shared_ext}$major'
16561 if test "X$HPUX_IA64_MODE" = X32; then
16562 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16564 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16566 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16570 hardcode_into_libs=yes
16571 dynamic_linker="$host_os dld.sl"
16572 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16573 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16575 soname_spec='${libname}${release}${shared_ext}$major'
16576 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16577 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16581 dynamic_linker="$host_os dld.sl"
16582 shlibpath_var=SHLIB_PATH
16583 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16585 soname_spec='${libname}${release}${shared_ext}$major'
16588 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16589 postinstall_cmds='chmod 555 $lib'
16592 irix5* | irix6* | nonstopux*)
16594 nonstopux*) version_type=nonstopux ;;
16596 if test "$lt_cv_prog_gnu_ld" = yes; then
16604 soname_spec='${libname}${release}${shared_ext}$major'
16605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16607 irix5* | nonstopux*)
16608 libsuff= shlibsuff=
16611 case $LD in # libtool.m4 will add one of these switches to LD
16612 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16613 libsuff= shlibsuff= libmagic=32-bit;;
16614 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16615 libsuff=32 shlibsuff=N32 libmagic=N32;;
16616 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16617 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16618 *) libsuff= shlibsuff= libmagic=never-match;;
16622 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16623 shlibpath_overrides_runpath=no
16624 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16625 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16626 hardcode_into_libs=yes
16629 # No shared lib support for Linux oldld, aout, or coff.
16630 linux*oldld* | linux*aout* | linux*coff*)
16634 # This must be Linux ELF.
16639 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16640 soname_spec='${libname}${release}${shared_ext}$major'
16641 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16642 shlibpath_var=LD_LIBRARY_PATH
16643 shlibpath_overrides_runpath=no
16644 # This implies no fast_install, which is unacceptable.
16645 # Some rework will be needed to allow for fast_install
16646 # before this can be enabled.
16647 hardcode_into_libs=yes
16649 # We used to test for /lib/ld.so.1 and disable shared libraries on
16650 # powerpc, because MkLinux only supported shared libraries with the
16651 # GNU dynamic linker. Since this was broken with cross compilers,
16652 # most powerpc-linux boxes support dynamic linking these days and
16653 # people can always --disable-shared, the test was removed, and we
16654 # assume the GNU/Linux dynamic linker is in use.
16655 dynamic_linker='GNU/Linux ld.so'
16662 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16664 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16665 dynamic_linker='NetBSD (a.out) ld.so'
16667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16668 soname_spec='${libname}${release}${shared_ext}$major'
16669 dynamic_linker='NetBSD ld.elf_so'
16671 shlibpath_var=LD_LIBRARY_PATH
16672 shlibpath_overrides_runpath=yes
16673 hardcode_into_libs=yes
16678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16679 shlibpath_var=LD_LIBRARY_PATH
16680 shlibpath_overrides_runpath=yes
16687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16688 soname_spec='${libname}${release}${shared_ext}$major'
16689 shlibpath_var=LD_LIBRARY_PATH
16690 shlibpath_overrides_runpath=yes
16697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16698 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16699 shlibpath_var=LD_LIBRARY_PATH
16700 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16702 openbsd2.[89] | openbsd2.[89].*)
16703 shlibpath_overrides_runpath=no
16706 shlibpath_overrides_runpath=yes
16710 shlibpath_overrides_runpath=yes
16715 libname_spec='$name'
16718 library_names_spec='$libname${shared_ext} $libname.a'
16719 dynamic_linker='OS/2 ld.exe'
16720 shlibpath_var=LIBPATH
16723 osf3* | osf4* | osf5*)
16727 soname_spec='${libname}${release}${shared_ext}$major'
16728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16729 shlibpath_var=LD_LIBRARY_PATH
16730 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16731 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16736 soname_spec='${libname}${release}${shared_ext}$major'
16737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16738 shlibpath_var=LD_LIBRARY_PATH
16745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16746 soname_spec='${libname}${release}${shared_ext}$major'
16747 shlibpath_var=LD_LIBRARY_PATH
16748 shlibpath_overrides_runpath=yes
16749 hardcode_into_libs=yes
16750 # ldd complains unless libraries are executable
16751 postinstall_cmds='chmod +x $lib'
16756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16757 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16758 shlibpath_var=LD_LIBRARY_PATH
16759 shlibpath_overrides_runpath=yes
16760 if test "$with_gnu_ld" = yes; then
16766 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16769 soname_spec='${libname}${release}${shared_ext}$major'
16770 shlibpath_var=LD_LIBRARY_PATH
16771 case $host_vendor in
16773 shlibpath_overrides_runpath=no
16775 export_dynamic_flag_spec='${wl}-Blargedynsym'
16776 runpath_var=LD_RUN_PATH
16784 shlibpath_overrides_runpath=no
16785 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16791 if test -d /usr/nec ;then
16793 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16794 soname_spec='$libname${shared_ext}.$major'
16795 shlibpath_var=LD_LIBRARY_PATH
16801 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16802 soname_spec='${libname}${release}${shared_ext}$major'
16803 shlibpath_var=LD_LIBRARY_PATH
16810 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16811 echo "${ECHO_T}$dynamic_linker" >&6
16812 test "$dynamic_linker" = no && can_build_shared=no
16814 if test "x$enable_dlopen" != xyes; then
16815 enable_dlopen=unknown
16816 enable_dlopen_self=unknown
16817 enable_dlopen_self_static=unknown
16824 lt_cv_dlopen="load_add_on"
16826 lt_cv_dlopen_self=yes
16830 lt_cv_dlopen="LoadLibrary"
16835 lt_cv_dlopen="dlopen"
16840 # if libdl is installed we need to link against it
16841 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16842 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16843 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16844 echo $ECHO_N "(cached) $ECHO_C" >&6
16846 ac_check_lib_save_LIBS=$LIBS
16848 cat >conftest.$ac_ext <<_ACEOF
16849 #line $LINENO "configure"
16852 cat confdefs.h >>conftest.$ac_ext
16853 cat >>conftest.$ac_ext <<_ACEOF
16854 /* end confdefs.h. */
16856 /* Override any gcc2 internal prototype to avoid an error. */
16860 /* We use char because int might match the return type of a gcc2
16861 builtin and then its argument prototype would still apply. */
16871 rm -f conftest.$ac_objext conftest$ac_exeext
16872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16873 (eval $ac_link) 2>&5
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); } &&
16877 { ac_try='test -s conftest$ac_exeext'
16878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16879 (eval $ac_try) 2>&5
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); }; }; then
16883 ac_cv_lib_dl_dlopen=yes
16885 echo "$as_me: failed program was:" >&5
16886 sed 's/^/| /' conftest.$ac_ext >&5
16888 ac_cv_lib_dl_dlopen=no
16890 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16891 LIBS=$ac_check_lib_save_LIBS
16893 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16894 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16895 if test $ac_cv_lib_dl_dlopen = yes; then
16896 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16899 lt_cv_dlopen="dyld"
16901 lt_cv_dlopen_self=yes
16908 echo "$as_me:$LINENO: checking for shl_load" >&5
16909 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16910 if test "${ac_cv_func_shl_load+set}" = set; then
16911 echo $ECHO_N "(cached) $ECHO_C" >&6
16913 cat >conftest.$ac_ext <<_ACEOF
16914 #line $LINENO "configure"
16917 cat confdefs.h >>conftest.$ac_ext
16918 cat >>conftest.$ac_ext <<_ACEOF
16919 /* end confdefs.h. */
16920 /* System header to define __stub macros and hopefully few prototypes,
16921 which can conflict with char shl_load (); below.
16922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16923 <limits.h> exists even on freestanding compilers. */
16925 # include <limits.h>
16927 # include <assert.h>
16929 /* Override any gcc2 internal prototype to avoid an error. */
16934 /* We use char because int might match the return type of a gcc2
16935 builtin and then its argument prototype would still apply. */
16937 /* The GNU C library defines this for functions which it implements
16938 to always fail with ENOSYS. Some functions are actually named
16939 something starting with __ and the normal name is an alias. */
16940 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16943 char (*f) () = shl_load;
16952 return f != shl_load;
16957 rm -f conftest.$ac_objext conftest$ac_exeext
16958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16959 (eval $ac_link) 2>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } &&
16963 { ac_try='test -s conftest$ac_exeext'
16964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16965 (eval $ac_try) 2>&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); }; }; then
16969 ac_cv_func_shl_load=yes
16971 echo "$as_me: failed program was:" >&5
16972 sed 's/^/| /' conftest.$ac_ext >&5
16974 ac_cv_func_shl_load=no
16976 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16978 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16979 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
16980 if test $ac_cv_func_shl_load = yes; then
16981 lt_cv_dlopen="shl_load"
16983 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16984 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
16985 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16986 echo $ECHO_N "(cached) $ECHO_C" >&6
16988 ac_check_lib_save_LIBS=$LIBS
16990 cat >conftest.$ac_ext <<_ACEOF
16991 #line $LINENO "configure"
16994 cat confdefs.h >>conftest.$ac_ext
16995 cat >>conftest.$ac_ext <<_ACEOF
16996 /* end confdefs.h. */
16998 /* Override any gcc2 internal prototype to avoid an error. */
17002 /* We use char because int might match the return type of a gcc2
17003 builtin and then its argument prototype would still apply. */
17013 rm -f conftest.$ac_objext conftest$ac_exeext
17014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17015 (eval $ac_link) 2>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } &&
17019 { ac_try='test -s conftest$ac_exeext'
17020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17021 (eval $ac_try) 2>&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; }; then
17025 ac_cv_lib_dld_shl_load=yes
17027 echo "$as_me: failed program was:" >&5
17028 sed 's/^/| /' conftest.$ac_ext >&5
17030 ac_cv_lib_dld_shl_load=no
17032 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17033 LIBS=$ac_check_lib_save_LIBS
17035 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17036 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17037 if test $ac_cv_lib_dld_shl_load = yes; then
17038 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17040 echo "$as_me:$LINENO: checking for dlopen" >&5
17041 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17042 if test "${ac_cv_func_dlopen+set}" = set; then
17043 echo $ECHO_N "(cached) $ECHO_C" >&6
17045 cat >conftest.$ac_ext <<_ACEOF
17046 #line $LINENO "configure"
17049 cat confdefs.h >>conftest.$ac_ext
17050 cat >>conftest.$ac_ext <<_ACEOF
17051 /* end confdefs.h. */
17052 /* System header to define __stub macros and hopefully few prototypes,
17053 which can conflict with char dlopen (); below.
17054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17055 <limits.h> exists even on freestanding compilers. */
17057 # include <limits.h>
17059 # include <assert.h>
17061 /* Override any gcc2 internal prototype to avoid an error. */
17066 /* We use char because int might match the return type of a gcc2
17067 builtin and then its argument prototype would still apply. */
17069 /* The GNU C library defines this for functions which it implements
17070 to always fail with ENOSYS. Some functions are actually named
17071 something starting with __ and the normal name is an alias. */
17072 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17075 char (*f) () = dlopen;
17084 return f != dlopen;
17089 rm -f conftest.$ac_objext conftest$ac_exeext
17090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17091 (eval $ac_link) 2>&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); } &&
17095 { ac_try='test -s conftest$ac_exeext'
17096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17097 (eval $ac_try) 2>&5
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); }; }; then
17101 ac_cv_func_dlopen=yes
17103 echo "$as_me: failed program was:" >&5
17104 sed 's/^/| /' conftest.$ac_ext >&5
17106 ac_cv_func_dlopen=no
17108 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17110 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17111 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17112 if test $ac_cv_func_dlopen = yes; then
17113 lt_cv_dlopen="dlopen"
17115 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17116 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17117 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17118 echo $ECHO_N "(cached) $ECHO_C" >&6
17120 ac_check_lib_save_LIBS=$LIBS
17122 cat >conftest.$ac_ext <<_ACEOF
17123 #line $LINENO "configure"
17126 cat confdefs.h >>conftest.$ac_ext
17127 cat >>conftest.$ac_ext <<_ACEOF
17128 /* end confdefs.h. */
17130 /* Override any gcc2 internal prototype to avoid an error. */
17134 /* We use char because int might match the return type of a gcc2
17135 builtin and then its argument prototype would still apply. */
17145 rm -f conftest.$ac_objext conftest$ac_exeext
17146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17147 (eval $ac_link) 2>&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); } &&
17151 { ac_try='test -s conftest$ac_exeext'
17152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17153 (eval $ac_try) 2>&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); }; }; then
17157 ac_cv_lib_dl_dlopen=yes
17159 echo "$as_me: failed program was:" >&5
17160 sed 's/^/| /' conftest.$ac_ext >&5
17162 ac_cv_lib_dl_dlopen=no
17164 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17165 LIBS=$ac_check_lib_save_LIBS
17167 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17168 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17169 if test $ac_cv_lib_dl_dlopen = yes; then
17170 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17172 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17173 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17174 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17175 echo $ECHO_N "(cached) $ECHO_C" >&6
17177 ac_check_lib_save_LIBS=$LIBS
17178 LIBS="-lsvld $LIBS"
17179 cat >conftest.$ac_ext <<_ACEOF
17180 #line $LINENO "configure"
17183 cat confdefs.h >>conftest.$ac_ext
17184 cat >>conftest.$ac_ext <<_ACEOF
17185 /* end confdefs.h. */
17187 /* Override any gcc2 internal prototype to avoid an error. */
17191 /* We use char because int might match the return type of a gcc2
17192 builtin and then its argument prototype would still apply. */
17202 rm -f conftest.$ac_objext conftest$ac_exeext
17203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17204 (eval $ac_link) 2>&5
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); } &&
17208 { ac_try='test -s conftest$ac_exeext'
17209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17210 (eval $ac_try) 2>&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); }; }; then
17214 ac_cv_lib_svld_dlopen=yes
17216 echo "$as_me: failed program was:" >&5
17217 sed 's/^/| /' conftest.$ac_ext >&5
17219 ac_cv_lib_svld_dlopen=no
17221 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17222 LIBS=$ac_check_lib_save_LIBS
17224 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17225 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17226 if test $ac_cv_lib_svld_dlopen = yes; then
17227 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17229 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17230 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17231 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17232 echo $ECHO_N "(cached) $ECHO_C" >&6
17234 ac_check_lib_save_LIBS=$LIBS
17236 cat >conftest.$ac_ext <<_ACEOF
17237 #line $LINENO "configure"
17240 cat confdefs.h >>conftest.$ac_ext
17241 cat >>conftest.$ac_ext <<_ACEOF
17242 /* end confdefs.h. */
17244 /* Override any gcc2 internal prototype to avoid an error. */
17248 /* We use char because int might match the return type of a gcc2
17249 builtin and then its argument prototype would still apply. */
17259 rm -f conftest.$ac_objext conftest$ac_exeext
17260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17261 (eval $ac_link) 2>&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); } &&
17265 { ac_try='test -s conftest$ac_exeext'
17266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17267 (eval $ac_try) 2>&5
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); }; }; then
17271 ac_cv_lib_dld_dld_link=yes
17273 echo "$as_me: failed program was:" >&5
17274 sed 's/^/| /' conftest.$ac_ext >&5
17276 ac_cv_lib_dld_dld_link=no
17278 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17279 LIBS=$ac_check_lib_save_LIBS
17281 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17282 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17283 if test $ac_cv_lib_dld_dld_link = yes; then
17284 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17305 if test "x$lt_cv_dlopen" != xno; then
17311 case $lt_cv_dlopen in
17313 save_CPPFLAGS="$CPPFLAGS"
17314 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17316 save_LDFLAGS="$LDFLAGS"
17317 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17320 LIBS="$lt_cv_dlopen_libs $LIBS"
17322 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17323 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17324 if test "${lt_cv_dlopen_self+set}" = set; then
17325 echo $ECHO_N "(cached) $ECHO_C" >&6
17327 if test "$cross_compiling" = yes; then :
17328 lt_cv_dlopen_self=cross
17330 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17331 lt_status=$lt_dlunknown
17332 cat > conftest.$ac_ext <<EOF
17333 #line 17333 "configure"
17334 #include "confdefs.h"
17343 # define LT_DLGLOBAL RTLD_GLOBAL
17346 # define LT_DLGLOBAL DL_GLOBAL
17348 # define LT_DLGLOBAL 0
17352 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17353 find out it does not work in some platform. */
17354 #ifndef LT_DLLAZY_OR_NOW
17356 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17359 # define LT_DLLAZY_OR_NOW DL_LAZY
17362 # define LT_DLLAZY_OR_NOW RTLD_NOW
17365 # define LT_DLLAZY_OR_NOW DL_NOW
17367 # define LT_DLLAZY_OR_NOW 0
17375 extern "C" void exit (int);
17378 void fnord() { int i=42;}
17381 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17382 int status = $lt_dlunknown;
17386 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17387 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17388 /* dlclose (self); */
17394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17395 (eval $ac_link) 2>&5
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17399 (./conftest; exit; ) 2>/dev/null
17401 case x$lt_status in
17402 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17403 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17404 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17407 # compilation failed
17408 lt_cv_dlopen_self=no
17415 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17416 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17418 if test "x$lt_cv_dlopen_self" = xyes; then
17419 LDFLAGS="$LDFLAGS $link_static_flag"
17420 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17421 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17422 if test "${lt_cv_dlopen_self_static+set}" = set; then
17423 echo $ECHO_N "(cached) $ECHO_C" >&6
17425 if test "$cross_compiling" = yes; then :
17426 lt_cv_dlopen_self_static=cross
17428 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17429 lt_status=$lt_dlunknown
17430 cat > conftest.$ac_ext <<EOF
17431 #line 17431 "configure"
17432 #include "confdefs.h"
17441 # define LT_DLGLOBAL RTLD_GLOBAL
17444 # define LT_DLGLOBAL DL_GLOBAL
17446 # define LT_DLGLOBAL 0
17450 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17451 find out it does not work in some platform. */
17452 #ifndef LT_DLLAZY_OR_NOW
17454 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17457 # define LT_DLLAZY_OR_NOW DL_LAZY
17460 # define LT_DLLAZY_OR_NOW RTLD_NOW
17463 # define LT_DLLAZY_OR_NOW DL_NOW
17465 # define LT_DLLAZY_OR_NOW 0
17473 extern "C" void exit (int);
17476 void fnord() { int i=42;}
17479 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17480 int status = $lt_dlunknown;
17484 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17485 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17486 /* dlclose (self); */
17492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17493 (eval $ac_link) 2>&5
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17497 (./conftest; exit; ) 2>/dev/null
17499 case x$lt_status in
17500 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17501 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17502 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17505 # compilation failed
17506 lt_cv_dlopen_self_static=no
17513 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17514 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17517 CPPFLAGS="$save_CPPFLAGS"
17518 LDFLAGS="$save_LDFLAGS"
17523 case $lt_cv_dlopen_self in
17524 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17525 *) enable_dlopen_self=unknown ;;
17528 case $lt_cv_dlopen_self_static in
17529 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17530 *) enable_dlopen_self_static=unknown ;;
17535 # The else clause should only fire when bootstrapping the
17536 # libtool distribution, otherwise you forgot to ship ltmain.sh
17537 # with your package, and you will get complaints that there are
17538 # no rules to generate ltmain.sh.
17539 if test -f "$ltmain"; then
17540 # See if we are running on zsh, and set the options which allow our commands through
17541 # without removal of \ escapes.
17542 if test -n "${ZSH_VERSION+set}" ; then
17543 setopt NO_GLOB_SUBST
17545 # Now quote all the things that may contain metacharacters while being
17546 # careful not to overquote the AC_SUBSTed values. We take copies of the
17547 # variables and quote the copies for generation of the libtool script.
17548 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17549 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17550 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17551 deplibs_check_method reload_flag reload_cmds need_locks \
17552 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17553 lt_cv_sys_global_symbol_to_c_name_address \
17554 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17555 old_postinstall_cmds old_postuninstall_cmds \
17559 lt_prog_compiler_wl_GCJ \
17560 lt_prog_compiler_pic_GCJ \
17561 lt_prog_compiler_static_GCJ \
17562 lt_prog_compiler_no_builtin_flag_GCJ \
17563 export_dynamic_flag_spec_GCJ \
17564 thread_safe_flag_spec_GCJ \
17565 whole_archive_flag_spec_GCJ \
17566 enable_shared_with_static_runtimes_GCJ \
17567 old_archive_cmds_GCJ \
17568 old_archive_from_new_cmds_GCJ \
17569 predep_objects_GCJ \
17570 postdep_objects_GCJ \
17573 compiler_lib_search_path_GCJ \
17575 archive_expsym_cmds_GCJ \
17576 postinstall_cmds_GCJ \
17577 postuninstall_cmds_GCJ \
17578 old_archive_from_expsyms_cmds_GCJ \
17579 allow_undefined_flag_GCJ \
17580 no_undefined_flag_GCJ \
17581 export_symbols_cmds_GCJ \
17582 hardcode_libdir_flag_spec_GCJ \
17583 hardcode_libdir_flag_spec_ld_GCJ \
17584 hardcode_libdir_separator_GCJ \
17585 hardcode_automatic_GCJ \
17587 module_expsym_cmds_GCJ \
17588 lt_cv_prog_compiler_c_o_GCJ \
17589 exclude_expsyms_GCJ \
17590 include_expsyms_GCJ; do
17593 old_archive_cmds_GCJ | \
17594 old_archive_from_new_cmds_GCJ | \
17595 archive_cmds_GCJ | \
17596 archive_expsym_cmds_GCJ | \
17597 module_cmds_GCJ | \
17598 module_expsym_cmds_GCJ | \
17599 old_archive_from_expsyms_cmds_GCJ | \
17600 export_symbols_cmds_GCJ | \
17601 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17602 postinstall_cmds | postuninstall_cmds | \
17603 old_postinstall_cmds | old_postuninstall_cmds | \
17604 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17605 # Double-quote double-evaled strings.
17606 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17609 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17615 *'\$0 --fallback-echo"')
17616 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17622 cat <<__EOF__ >> "$cfgfile"
17623 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17625 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17627 # Shell to use when invoking shell scripts.
17630 # Whether or not to build shared libraries.
17631 build_libtool_libs=$enable_shared
17633 # Whether or not to build static libraries.
17634 build_old_libs=$enable_static
17636 # Whether or not to add -lc for building shared libraries.
17637 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17639 # Whether or not to disallow shared libs when runtime libs are static
17640 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17642 # Whether or not to optimize for fast installation.
17643 fast_install=$enable_fast_install
17646 host_alias=$host_alias
17649 # An echo program that does not interpret backslashes.
17654 AR_FLAGS=$lt_AR_FLAGS
17659 # A language-specific compiler.
17660 CC=$lt_compiler_GCJ
17662 # Is the compiler the GNU C compiler?
17668 # The linker used to build libraries.
17671 # Whether we need hard or soft links.
17674 # A BSD-compatible nm program.
17677 # A symbol stripping program
17680 # Used to examine libraries when file_magic_cmd begins "file"
17681 MAGIC_CMD=$MAGIC_CMD
17683 # Used on cygwin: DLL creation program.
17686 # Used on cygwin: object dumper.
17689 # Used on cygwin: assembler.
17692 # The name of the directory that contains temporary libtool files.
17695 # How to create reloadable object files.
17696 reload_flag=$lt_reload_flag
17697 reload_cmds=$lt_reload_cmds
17699 # How to pass a linker flag through the compiler.
17700 wl=$lt_lt_prog_compiler_wl_GCJ
17702 # Object file suffix (normally "o").
17703 objext="$ac_objext"
17705 # Old archive suffix (normally "a").
17708 # Shared library suffix (normally ".so").
17711 # Executable file suffix (normally "").
17714 # Additional compiler flags for building library objects.
17715 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17718 # What is the maximum length of a command?
17719 max_cmd_len=$lt_cv_sys_max_cmd_len
17721 # Does compiler simultaneously support -c and -o options?
17722 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17724 # Must we lock files when doing compilation ?
17725 need_locks=$lt_need_locks
17727 # Do we need the lib prefix for modules?
17728 need_lib_prefix=$need_lib_prefix
17730 # Do we need a version for libraries?
17731 need_version=$need_version
17733 # Whether dlopen is supported.
17734 dlopen_support=$enable_dlopen
17736 # Whether dlopen of programs is supported.
17737 dlopen_self=$enable_dlopen_self
17739 # Whether dlopen of statically linked programs is supported.
17740 dlopen_self_static=$enable_dlopen_self_static
17742 # Compiler flag to prevent dynamic linking.
17743 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17745 # Compiler flag to turn off builtin functions.
17746 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17748 # Compiler flag to allow reflexive dlopens.
17749 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17751 # Compiler flag to generate shared objects directly from archives.
17752 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17754 # Compiler flag to generate thread-safe objects.
17755 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17757 # Library versioning type.
17758 version_type=$version_type
17760 # Format of library name prefix.
17761 libname_spec=$lt_libname_spec
17763 # List of archive names. First name is the real one, the rest are links.
17764 # The last name is the one that the linker finds with -lNAME.
17765 library_names_spec=$lt_library_names_spec
17767 # The coded name of the library, if different from the real name.
17768 soname_spec=$lt_soname_spec
17770 # Commands used to build and install an old-style archive.
17772 old_archive_cmds=$lt_old_archive_cmds_GCJ
17773 old_postinstall_cmds=$lt_old_postinstall_cmds
17774 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17776 # Create an old-style archive from a shared archive.
17777 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17779 # Create a temporary old-style archive to link instead of a shared archive.
17780 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17782 # Commands used to build and install a shared archive.
17783 archive_cmds=$lt_archive_cmds_GCJ
17784 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17785 postinstall_cmds=$lt_postinstall_cmds
17786 postuninstall_cmds=$lt_postuninstall_cmds
17788 # Commands used to build a loadable module (assumed same as above if empty)
17789 module_cmds=$lt_module_cmds_GCJ
17790 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17792 # Commands to strip libraries.
17793 old_striplib=$lt_old_striplib
17794 striplib=$lt_striplib
17796 # Dependencies to place before the objects being linked to create a
17798 predep_objects=$lt_predep_objects_GCJ
17800 # Dependencies to place after the objects being linked to create a
17802 postdep_objects=$lt_postdep_objects_GCJ
17804 # Dependencies to place before the objects being linked to create a
17806 predeps=$lt_predeps_GCJ
17808 # Dependencies to place after the objects being linked to create a
17810 postdeps=$lt_postdeps_GCJ
17812 # The library search path used internally by the compiler when linking
17813 # a shared library.
17814 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17816 # Method to check whether dependent libraries are shared objects.
17817 deplibs_check_method=$lt_deplibs_check_method
17819 # Command to use when deplibs_check_method == file_magic.
17820 file_magic_cmd=$lt_file_magic_cmd
17822 # Flag that allows shared libraries with undefined symbols to be built.
17823 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17825 # Flag that forces no undefined symbols.
17826 no_undefined_flag=$lt_no_undefined_flag_GCJ
17828 # Commands used to finish a libtool library installation in a directory.
17829 finish_cmds=$lt_finish_cmds
17831 # Same as above, but a single script fragment to be evaled but not shown.
17832 finish_eval=$lt_finish_eval
17834 # Take the output of nm and produce a listing of raw symbols and C names.
17835 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17837 # Transform the output of nm in a proper C declaration
17838 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17840 # Transform the output of nm in a C name address pair
17841 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17843 # This is the shared library runtime path variable.
17844 runpath_var=$runpath_var
17846 # This is the shared library path variable.
17847 shlibpath_var=$shlibpath_var
17849 # Is shlibpath searched before the hard-coded library search path?
17850 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17852 # How to hardcode a shared library path into an executable.
17853 hardcode_action=$hardcode_action_GCJ
17855 # Whether we should hardcode library paths into libraries.
17856 hardcode_into_libs=$hardcode_into_libs
17858 # Flag to hardcode \$libdir into a binary during linking.
17859 # This must work even if \$libdir does not exist.
17860 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17862 # If ld is used when linking, flag to hardcode \$libdir into
17863 # a binary during linking. This must work even if \$libdir does
17865 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17867 # Whether we need a single -rpath flag with a separated argument.
17868 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17870 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17871 # resulting binary.
17872 hardcode_direct=$hardcode_direct_GCJ
17874 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17875 # resulting binary.
17876 hardcode_minus_L=$hardcode_minus_L_GCJ
17878 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17879 # the resulting binary.
17880 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17882 # Set to yes if building a shared library automatically hardcodes DIR into the library
17883 # and all subsequent libraries and executables linked against it.
17884 hardcode_automatic=$hardcode_automatic_GCJ
17886 # Variables whose values should be saved in libtool wrapper scripts and
17887 # restored at relink time.
17888 variables_saved_for_relink="$variables_saved_for_relink"
17890 # Whether libtool must link a program against all its dependency libraries.
17891 link_all_deplibs=$link_all_deplibs_GCJ
17893 # Compile-time system search path for libraries
17894 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17896 # Run-time system search path for libraries
17897 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17899 # Fix the shell variable \$srcfile for the compiler.
17900 fix_srcfile_path="$fix_srcfile_path_GCJ"
17902 # Set to yes if exported symbols are required.
17903 always_export_symbols=$always_export_symbols_GCJ
17905 # The commands to list exported symbols.
17906 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17908 # The commands to extract the exported symbol list from a shared archive.
17909 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17911 # Symbols that should not be listed in the preloaded symbols.
17912 exclude_expsyms=$lt_exclude_expsyms_GCJ
17914 # Symbols that must always be exported.
17915 include_expsyms=$lt_include_expsyms_GCJ
17917 # ### END LIBTOOL TAG CONFIG: $tagname
17923 # If there is no Makefile yet, we rely on a make rule to execute
17924 # `config.status --recheck' to rerun these tests and create the
17925 # libtool script then.
17926 test -f Makefile && make "$ltmain"
17931 ac_cpp='$CPP $CPPFLAGS'
17932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17947 # Source file extension for RC test sources.
17950 # Object file extension for compiled RC test sources.
17954 # Code to be used in simple compile tests
17955 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17957 # Code to be used in simple link tests
17958 lt_simple_link_test_code="$lt_simple_compile_test_code"
17960 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17962 # If no C compiler was specified, use CC.
17965 # Allow CC to be a program name with arguments.
17969 # Allow CC to be a program name with arguments.
17974 lt_cv_prog_compiler_c_o_RC=yes
17976 # The else clause should only fire when bootstrapping the
17977 # libtool distribution, otherwise you forgot to ship ltmain.sh
17978 # with your package, and you will get complaints that there are
17979 # no rules to generate ltmain.sh.
17980 if test -f "$ltmain"; then
17981 # See if we are running on zsh, and set the options which allow our commands through
17982 # without removal of \ escapes.
17983 if test -n "${ZSH_VERSION+set}" ; then
17984 setopt NO_GLOB_SUBST
17986 # Now quote all the things that may contain metacharacters while being
17987 # careful not to overquote the AC_SUBSTed values. We take copies of the
17988 # variables and quote the copies for generation of the libtool script.
17989 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17990 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17991 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17992 deplibs_check_method reload_flag reload_cmds need_locks \
17993 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17994 lt_cv_sys_global_symbol_to_c_name_address \
17995 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17996 old_postinstall_cmds old_postuninstall_cmds \
18000 lt_prog_compiler_wl_RC \
18001 lt_prog_compiler_pic_RC \
18002 lt_prog_compiler_static_RC \
18003 lt_prog_compiler_no_builtin_flag_RC \
18004 export_dynamic_flag_spec_RC \
18005 thread_safe_flag_spec_RC \
18006 whole_archive_flag_spec_RC \
18007 enable_shared_with_static_runtimes_RC \
18008 old_archive_cmds_RC \
18009 old_archive_from_new_cmds_RC \
18010 predep_objects_RC \
18011 postdep_objects_RC \
18014 compiler_lib_search_path_RC \
18016 archive_expsym_cmds_RC \
18017 postinstall_cmds_RC \
18018 postuninstall_cmds_RC \
18019 old_archive_from_expsyms_cmds_RC \
18020 allow_undefined_flag_RC \
18021 no_undefined_flag_RC \
18022 export_symbols_cmds_RC \
18023 hardcode_libdir_flag_spec_RC \
18024 hardcode_libdir_flag_spec_ld_RC \
18025 hardcode_libdir_separator_RC \
18026 hardcode_automatic_RC \
18028 module_expsym_cmds_RC \
18029 lt_cv_prog_compiler_c_o_RC \
18030 exclude_expsyms_RC \
18031 include_expsyms_RC; do
18034 old_archive_cmds_RC | \
18035 old_archive_from_new_cmds_RC | \
18036 archive_cmds_RC | \
18037 archive_expsym_cmds_RC | \
18039 module_expsym_cmds_RC | \
18040 old_archive_from_expsyms_cmds_RC | \
18041 export_symbols_cmds_RC | \
18042 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18043 postinstall_cmds | postuninstall_cmds | \
18044 old_postinstall_cmds | old_postuninstall_cmds | \
18045 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18046 # Double-quote double-evaled strings.
18047 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18050 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18056 *'\$0 --fallback-echo"')
18057 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18063 cat <<__EOF__ >> "$cfgfile"
18064 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18066 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18068 # Shell to use when invoking shell scripts.
18071 # Whether or not to build shared libraries.
18072 build_libtool_libs=$enable_shared
18074 # Whether or not to build static libraries.
18075 build_old_libs=$enable_static
18077 # Whether or not to add -lc for building shared libraries.
18078 build_libtool_need_lc=$archive_cmds_need_lc_RC
18080 # Whether or not to disallow shared libs when runtime libs are static
18081 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18083 # Whether or not to optimize for fast installation.
18084 fast_install=$enable_fast_install
18087 host_alias=$host_alias
18090 # An echo program that does not interpret backslashes.
18095 AR_FLAGS=$lt_AR_FLAGS
18100 # A language-specific compiler.
18103 # Is the compiler the GNU C compiler?
18109 # The linker used to build libraries.
18112 # Whether we need hard or soft links.
18115 # A BSD-compatible nm program.
18118 # A symbol stripping program
18121 # Used to examine libraries when file_magic_cmd begins "file"
18122 MAGIC_CMD=$MAGIC_CMD
18124 # Used on cygwin: DLL creation program.
18127 # Used on cygwin: object dumper.
18130 # Used on cygwin: assembler.
18133 # The name of the directory that contains temporary libtool files.
18136 # How to create reloadable object files.
18137 reload_flag=$lt_reload_flag
18138 reload_cmds=$lt_reload_cmds
18140 # How to pass a linker flag through the compiler.
18141 wl=$lt_lt_prog_compiler_wl_RC
18143 # Object file suffix (normally "o").
18144 objext="$ac_objext"
18146 # Old archive suffix (normally "a").
18149 # Shared library suffix (normally ".so").
18152 # Executable file suffix (normally "").
18155 # Additional compiler flags for building library objects.
18156 pic_flag=$lt_lt_prog_compiler_pic_RC
18159 # What is the maximum length of a command?
18160 max_cmd_len=$lt_cv_sys_max_cmd_len
18162 # Does compiler simultaneously support -c and -o options?
18163 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18165 # Must we lock files when doing compilation ?
18166 need_locks=$lt_need_locks
18168 # Do we need the lib prefix for modules?
18169 need_lib_prefix=$need_lib_prefix
18171 # Do we need a version for libraries?
18172 need_version=$need_version
18174 # Whether dlopen is supported.
18175 dlopen_support=$enable_dlopen
18177 # Whether dlopen of programs is supported.
18178 dlopen_self=$enable_dlopen_self
18180 # Whether dlopen of statically linked programs is supported.
18181 dlopen_self_static=$enable_dlopen_self_static
18183 # Compiler flag to prevent dynamic linking.
18184 link_static_flag=$lt_lt_prog_compiler_static_RC
18186 # Compiler flag to turn off builtin functions.
18187 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18189 # Compiler flag to allow reflexive dlopens.
18190 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18192 # Compiler flag to generate shared objects directly from archives.
18193 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18195 # Compiler flag to generate thread-safe objects.
18196 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18198 # Library versioning type.
18199 version_type=$version_type
18201 # Format of library name prefix.
18202 libname_spec=$lt_libname_spec
18204 # List of archive names. First name is the real one, the rest are links.
18205 # The last name is the one that the linker finds with -lNAME.
18206 library_names_spec=$lt_library_names_spec
18208 # The coded name of the library, if different from the real name.
18209 soname_spec=$lt_soname_spec
18211 # Commands used to build and install an old-style archive.
18213 old_archive_cmds=$lt_old_archive_cmds_RC
18214 old_postinstall_cmds=$lt_old_postinstall_cmds
18215 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18217 # Create an old-style archive from a shared archive.
18218 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18220 # Create a temporary old-style archive to link instead of a shared archive.
18221 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18223 # Commands used to build and install a shared archive.
18224 archive_cmds=$lt_archive_cmds_RC
18225 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18226 postinstall_cmds=$lt_postinstall_cmds
18227 postuninstall_cmds=$lt_postuninstall_cmds
18229 # Commands used to build a loadable module (assumed same as above if empty)
18230 module_cmds=$lt_module_cmds_RC
18231 module_expsym_cmds=$lt_module_expsym_cmds_RC
18233 # Commands to strip libraries.
18234 old_striplib=$lt_old_striplib
18235 striplib=$lt_striplib
18237 # Dependencies to place before the objects being linked to create a
18239 predep_objects=$lt_predep_objects_RC
18241 # Dependencies to place after the objects being linked to create a
18243 postdep_objects=$lt_postdep_objects_RC
18245 # Dependencies to place before the objects being linked to create a
18247 predeps=$lt_predeps_RC
18249 # Dependencies to place after the objects being linked to create a
18251 postdeps=$lt_postdeps_RC
18253 # The library search path used internally by the compiler when linking
18254 # a shared library.
18255 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18257 # Method to check whether dependent libraries are shared objects.
18258 deplibs_check_method=$lt_deplibs_check_method
18260 # Command to use when deplibs_check_method == file_magic.
18261 file_magic_cmd=$lt_file_magic_cmd
18263 # Flag that allows shared libraries with undefined symbols to be built.
18264 allow_undefined_flag=$lt_allow_undefined_flag_RC
18266 # Flag that forces no undefined symbols.
18267 no_undefined_flag=$lt_no_undefined_flag_RC
18269 # Commands used to finish a libtool library installation in a directory.
18270 finish_cmds=$lt_finish_cmds
18272 # Same as above, but a single script fragment to be evaled but not shown.
18273 finish_eval=$lt_finish_eval
18275 # Take the output of nm and produce a listing of raw symbols and C names.
18276 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18278 # Transform the output of nm in a proper C declaration
18279 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18281 # Transform the output of nm in a C name address pair
18282 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18284 # This is the shared library runtime path variable.
18285 runpath_var=$runpath_var
18287 # This is the shared library path variable.
18288 shlibpath_var=$shlibpath_var
18290 # Is shlibpath searched before the hard-coded library search path?
18291 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18293 # How to hardcode a shared library path into an executable.
18294 hardcode_action=$hardcode_action_RC
18296 # Whether we should hardcode library paths into libraries.
18297 hardcode_into_libs=$hardcode_into_libs
18299 # Flag to hardcode \$libdir into a binary during linking.
18300 # This must work even if \$libdir does not exist.
18301 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18303 # If ld is used when linking, flag to hardcode \$libdir into
18304 # a binary during linking. This must work even if \$libdir does
18306 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18308 # Whether we need a single -rpath flag with a separated argument.
18309 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18311 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18312 # resulting binary.
18313 hardcode_direct=$hardcode_direct_RC
18315 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18316 # resulting binary.
18317 hardcode_minus_L=$hardcode_minus_L_RC
18319 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18320 # the resulting binary.
18321 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18323 # Set to yes if building a shared library automatically hardcodes DIR into the library
18324 # and all subsequent libraries and executables linked against it.
18325 hardcode_automatic=$hardcode_automatic_RC
18327 # Variables whose values should be saved in libtool wrapper scripts and
18328 # restored at relink time.
18329 variables_saved_for_relink="$variables_saved_for_relink"
18331 # Whether libtool must link a program against all its dependency libraries.
18332 link_all_deplibs=$link_all_deplibs_RC
18334 # Compile-time system search path for libraries
18335 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18337 # Run-time system search path for libraries
18338 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18340 # Fix the shell variable \$srcfile for the compiler.
18341 fix_srcfile_path="$fix_srcfile_path_RC"
18343 # Set to yes if exported symbols are required.
18344 always_export_symbols=$always_export_symbols_RC
18346 # The commands to list exported symbols.
18347 export_symbols_cmds=$lt_export_symbols_cmds_RC
18349 # The commands to extract the exported symbol list from a shared archive.
18350 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18352 # Symbols that should not be listed in the preloaded symbols.
18353 exclude_expsyms=$lt_exclude_expsyms_RC
18355 # Symbols that must always be exported.
18356 include_expsyms=$lt_include_expsyms_RC
18358 # ### END LIBTOOL TAG CONFIG: $tagname
18364 # If there is no Makefile yet, we rely on a make rule to execute
18365 # `config.status --recheck' to rerun these tests and create the
18366 # libtool script then.
18367 test -f Makefile && make "$ltmain"
18372 ac_cpp='$CPP $CPPFLAGS'
18373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18382 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18383 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18384 { (exit 1); exit 1; }; }
18388 # Append the new tag name to the list of available tags.
18389 if test -n "$tagname" ; then
18390 available_tags="$available_tags $tagname"
18396 # Now substitute the updated list of available tags.
18397 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18398 mv "${ofile}T" "$ofile"
18402 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18403 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18404 { (exit 1); exit 1; }; }
18410 # This can be used to rebuild libtool when needed
18411 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18413 # Always use our own libtool.
18414 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18416 # Prevent multiple expansion
18438 # Extract the first word of "pwd", so it can be a program name with args.
18439 set dummy pwd; ac_word=$2
18440 echo "$as_me:$LINENO: checking for $ac_word" >&5
18441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18442 if test "${ac_cv_path_RPWD+set}" = set; then
18443 echo $ECHO_N "(cached) $ECHO_C" >&6
18447 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18451 for as_dir in $PATH
18454 test -z "$as_dir" && as_dir=.
18455 for ac_exec_ext in '' $ac_executable_extensions; do
18456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18457 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18467 RPWD=$ac_cv_path_RPWD
18469 if test -n "$RPWD"; then
18470 echo "$as_me:$LINENO: result: $RPWD" >&5
18471 echo "${ECHO_T}$RPWD" >&6
18473 echo "$as_me:$LINENO: result: no" >&5
18474 echo "${ECHO_T}no" >&6
18477 # Extract the first word of "ar", so it can be a program name with args.
18478 set dummy ar; ac_word=$2
18479 echo "$as_me:$LINENO: checking for $ac_word" >&5
18480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18481 if test "${ac_cv_path_AR+set}" = set; then
18482 echo $ECHO_N "(cached) $ECHO_C" >&6
18486 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18490 for as_dir in $PATH
18493 test -z "$as_dir" && as_dir=.
18494 for ac_exec_ext in '' $ac_executable_extensions; do
18495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18496 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18508 if test -n "$AR"; then
18509 echo "$as_me:$LINENO: result: $AR" >&5
18510 echo "${ECHO_T}$AR" >&6
18512 echo "$as_me:$LINENO: result: no" >&5
18513 echo "${ECHO_T}no" >&6
18516 # Extract the first word of "sed", so it can be a program name with args.
18517 set dummy sed; ac_word=$2
18518 echo "$as_me:$LINENO: checking for $ac_word" >&5
18519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18520 if test "${ac_cv_path_SED+set}" = set; then
18521 echo $ECHO_N "(cached) $ECHO_C" >&6
18525 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18529 for as_dir in $PATH
18532 test -z "$as_dir" && as_dir=.
18533 for ac_exec_ext in '' $ac_executable_extensions; do
18534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18535 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18545 SED=$ac_cv_path_SED
18547 if test -n "$SED"; then
18548 echo "$as_me:$LINENO: result: $SED" >&5
18549 echo "${ECHO_T}$SED" >&6
18551 echo "$as_me:$LINENO: result: no" >&5
18552 echo "${ECHO_T}no" >&6
18555 # Extract the first word of "rm", so it can be a program name with args.
18556 set dummy rm; ac_word=$2
18557 echo "$as_me:$LINENO: checking for $ac_word" >&5
18558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18559 if test "${ac_cv_path_RM+set}" = set; then
18560 echo $ECHO_N "(cached) $ECHO_C" >&6
18564 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18568 for as_dir in $PATH
18571 test -z "$as_dir" && as_dir=.
18572 for ac_exec_ext in '' $ac_executable_extensions; do
18573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18574 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18586 if test -n "$RM"; then
18587 echo "$as_me:$LINENO: result: $RM" >&5
18588 echo "${ECHO_T}$RM" >&6
18590 echo "$as_me:$LINENO: result: no" >&5
18591 echo "${ECHO_T}no" >&6
18594 # Extract the first word of "echo", so it can be a program name with args.
18595 set dummy echo; ac_word=$2
18596 echo "$as_me:$LINENO: checking for $ac_word" >&5
18597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18598 if test "${ac_cv_path_ECHO+set}" = set; then
18599 echo $ECHO_N "(cached) $ECHO_C" >&6
18603 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18607 for as_dir in $PATH
18610 test -z "$as_dir" && as_dir=.
18611 for ac_exec_ext in '' $ac_executable_extensions; do
18612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18613 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18623 ECHO=$ac_cv_path_ECHO
18625 if test -n "$ECHO"; then
18626 echo "$as_me:$LINENO: result: $ECHO" >&5
18627 echo "${ECHO_T}$ECHO" >&6
18629 echo "$as_me:$LINENO: result: no" >&5
18630 echo "${ECHO_T}no" >&6
18633 # Extract the first word of "mkdir", so it can be a program name with args.
18634 set dummy mkdir; ac_word=$2
18635 echo "$as_me:$LINENO: checking for $ac_word" >&5
18636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18637 if test "${ac_cv_path_MKDIR+set}" = set; then
18638 echo $ECHO_N "(cached) $ECHO_C" >&6
18642 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18646 for as_dir in $PATH
18649 test -z "$as_dir" && as_dir=.
18650 for ac_exec_ext in '' $ac_executable_extensions; do
18651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18652 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18662 MKDIR=$ac_cv_path_MKDIR
18664 if test -n "$MKDIR"; then
18665 echo "$as_me:$LINENO: result: $MKDIR" >&5
18666 echo "${ECHO_T}$MKDIR" >&6
18668 echo "$as_me:$LINENO: result: no" >&5
18669 echo "${ECHO_T}no" >&6
18672 # Extract the first word of "date", so it can be a program name with args.
18673 set dummy date; ac_word=$2
18674 echo "$as_me:$LINENO: checking for $ac_word" >&5
18675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18676 if test "${ac_cv_path_DATE+set}" = set; then
18677 echo $ECHO_N "(cached) $ECHO_C" >&6
18681 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18685 for as_dir in $PATH
18688 test -z "$as_dir" && as_dir=.
18689 for ac_exec_ext in '' $ac_executable_extensions; do
18690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18691 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18701 DATE=$ac_cv_path_DATE
18703 if test -n "$DATE"; then
18704 echo "$as_me:$LINENO: result: $DATE" >&5
18705 echo "${ECHO_T}$DATE" >&6
18707 echo "$as_me:$LINENO: result: no" >&5
18708 echo "${ECHO_T}no" >&6
18711 # Extract the first word of "mv", so it can be a program name with args.
18712 set dummy mv; ac_word=$2
18713 echo "$as_me:$LINENO: checking for $ac_word" >&5
18714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18715 if test "${ac_cv_path_MV+set}" = set; then
18716 echo $ECHO_N "(cached) $ECHO_C" >&6
18720 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18724 for as_dir in $PATH
18727 test -z "$as_dir" && as_dir=.
18728 for ac_exec_ext in '' $ac_executable_extensions; do
18729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18730 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18742 if test -n "$MV"; then
18743 echo "$as_me:$LINENO: result: $MV" >&5
18744 echo "${ECHO_T}$MV" >&6
18746 echo "$as_me:$LINENO: result: no" >&5
18747 echo "${ECHO_T}no" >&6
18750 # Extract the first word of "dot", so it can be a program name with args.
18751 set dummy dot; ac_word=$2
18752 echo "$as_me:$LINENO: checking for $ac_word" >&5
18753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18754 if test "${ac_cv_path_DOT+set}" = set; then
18755 echo $ECHO_N "(cached) $ECHO_C" >&6
18759 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18763 for as_dir in $PATH
18766 test -z "$as_dir" && as_dir=.
18767 for ac_exec_ext in '' $ac_executable_extensions; do
18768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18769 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18779 DOT=$ac_cv_path_DOT
18781 if test -n "$DOT"; then
18782 echo "$as_me:$LINENO: result: $DOT" >&5
18783 echo "${ECHO_T}$DOT" >&6
18785 echo "$as_me:$LINENO: result: no" >&5
18786 echo "${ECHO_T}no" >&6
18789 # Extract the first word of "etags", so it can be a program name with args.
18790 set dummy etags; ac_word=$2
18791 echo "$as_me:$LINENO: checking for $ac_word" >&5
18792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18793 if test "${ac_cv_path_ETAGS+set}" = set; then
18794 echo $ECHO_N "(cached) $ECHO_C" >&6
18798 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18802 for as_dir in $PATH
18805 test -z "$as_dir" && as_dir=.
18806 for ac_exec_ext in '' $ac_executable_extensions; do
18807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18808 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18818 ETAGS=$ac_cv_path_ETAGS
18820 if test -n "$ETAGS"; then
18821 echo "$as_me:$LINENO: result: $ETAGS" >&5
18822 echo "${ECHO_T}$ETAGS" >&6
18824 echo "$as_me:$LINENO: result: no" >&5
18825 echo "${ECHO_T}no" >&6
18828 # Extract the first word of "purify", so it can be a program name with args.
18829 set dummy purify; ac_word=$2
18830 echo "$as_me:$LINENO: checking for $ac_word" >&5
18831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18832 if test "${ac_cv_path_PURIFY+set}" = set; then
18833 echo $ECHO_N "(cached) $ECHO_C" >&6
18837 ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path.
18840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18841 for as_dir in $PATH
18844 test -z "$as_dir" && as_dir=.
18845 for ac_exec_ext in '' $ac_executable_extensions; do
18846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18847 ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext"
18848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18857 PURIFY=$ac_cv_path_PURIFY
18859 if test -n "$PURIFY"; then
18860 echo "$as_me:$LINENO: result: $PURIFY" >&5
18861 echo "${ECHO_T}$PURIFY" >&6
18863 echo "$as_me:$LINENO: result: no" >&5
18864 echo "${ECHO_T}no" >&6
18867 # Extract the first word of "python", so it can be a program name with args.
18868 set dummy python; ac_word=$2
18869 echo "$as_me:$LINENO: checking for $ac_word" >&5
18870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18871 if test "${ac_cv_path_PYTHON+set}" = set; then
18872 echo $ECHO_N "(cached) $ECHO_C" >&6
18876 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18880 for as_dir in $PATH
18883 test -z "$as_dir" && as_dir=.
18884 for ac_exec_ext in '' $ac_executable_extensions; do
18885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18886 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18896 PYTHON=$ac_cv_path_PYTHON
18898 if test -n "$PYTHON"; then
18899 echo "$as_me:$LINENO: result: $PYTHON" >&5
18900 echo "${ECHO_T}$PYTHON" >&6
18902 echo "$as_me:$LINENO: result: no" >&5
18903 echo "${ECHO_T}no" >&6
18906 # Extract the first word of "qmtest", so it can be a program name with args.
18907 set dummy qmtest; ac_word=$2
18908 echo "$as_me:$LINENO: checking for $ac_word" >&5
18909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18910 if test "${ac_cv_path_QMTEST+set}" = set; then
18911 echo $ECHO_N "(cached) $ECHO_C" >&6
18915 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18919 for as_dir in $PATH
18922 test -z "$as_dir" && as_dir=.
18923 for ac_exec_ext in '' $ac_executable_extensions; do
18924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18925 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
18926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18935 QMTEST=$ac_cv_path_QMTEST
18937 if test -n "$QMTEST"; then
18938 echo "$as_me:$LINENO: result: $QMTEST" >&5
18939 echo "${ECHO_T}$QMTEST" >&6
18941 echo "$as_me:$LINENO: result: no" >&5
18942 echo "${ECHO_T}no" >&6
18946 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
18947 pymajor=`echo $pyversion | cut -d. -f1`
18948 pyminor=`echo $pyversion | cut -d. -f2`
18950 if test "$pymajor" -ge "2"
18952 if test "$pymajor" -eq "2"
18954 if test "$pyminor" -lt "2"
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; }; }
18962 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18963 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18964 { (exit 1); exit 1; }; }
18971 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
18972 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
18973 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
18974 echo $ECHO_N "(cached) $ECHO_C" >&6
18976 ac_check_lib_save_LIBS=$LIBS
18978 cat >conftest.$ac_ext <<_ACEOF
18979 #line $LINENO "configure"
18982 cat confdefs.h >>conftest.$ac_ext
18983 cat >>conftest.$ac_ext <<_ACEOF
18984 /* end confdefs.h. */
18986 /* Override any gcc2 internal prototype to avoid an error. */
18990 /* We use char because int might match the return type of a gcc2
18991 builtin and then its argument prototype would still apply. */
19001 rm -f conftest.$ac_objext conftest$ac_exeext
19002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19003 (eval $ac_link) 2>&5
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); } &&
19007 { ac_try='test -s conftest$ac_exeext'
19008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19009 (eval $ac_try) 2>&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); }; }; then
19013 ac_cv_lib_elf_elf_begin=yes
19015 echo "$as_me: failed program was:" >&5
19016 sed 's/^/| /' conftest.$ac_ext >&5
19018 ac_cv_lib_elf_elf_begin=no
19020 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19021 LIBS=$ac_check_lib_save_LIBS
19023 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19024 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19025 if test $ac_cv_lib_elf_elf_begin = yes; then
19026 cat >>confdefs.h <<_ACEOF
19027 #define HAVE_LIBELF 1
19035 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19036 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19037 if test "${ac_cv_search_dlopen+set}" = set; then
19038 echo $ECHO_N "(cached) $ECHO_C" >&6
19040 ac_func_search_save_LIBS=$LIBS
19041 ac_cv_search_dlopen=no
19042 cat >conftest.$ac_ext <<_ACEOF
19043 #line $LINENO "configure"
19046 cat confdefs.h >>conftest.$ac_ext
19047 cat >>conftest.$ac_ext <<_ACEOF
19048 /* end confdefs.h. */
19050 /* Override any gcc2 internal prototype to avoid an error. */
19054 /* We use char because int might match the return type of a gcc2
19055 builtin and then its argument prototype would still apply. */
19065 rm -f conftest.$ac_objext conftest$ac_exeext
19066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19067 (eval $ac_link) 2>&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); } &&
19071 { ac_try='test -s conftest$ac_exeext'
19072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19073 (eval $ac_try) 2>&5
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); }; }; then
19077 ac_cv_search_dlopen="none required"
19079 echo "$as_me: failed program was:" >&5
19080 sed 's/^/| /' conftest.$ac_ext >&5
19083 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19084 if test "$ac_cv_search_dlopen" = no; then
19085 for ac_lib in dl; do
19086 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19087 cat >conftest.$ac_ext <<_ACEOF
19088 #line $LINENO "configure"
19091 cat confdefs.h >>conftest.$ac_ext
19092 cat >>conftest.$ac_ext <<_ACEOF
19093 /* end confdefs.h. */
19095 /* Override any gcc2 internal prototype to avoid an error. */
19099 /* We use char because int might match the return type of a gcc2
19100 builtin and then its argument prototype would still apply. */
19110 rm -f conftest.$ac_objext conftest$ac_exeext
19111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19112 (eval $ac_link) 2>&5
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); } &&
19116 { ac_try='test -s conftest$ac_exeext'
19117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19118 (eval $ac_try) 2>&5
19120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121 (exit $ac_status); }; }; then
19122 ac_cv_search_dlopen="-l$ac_lib"
19125 echo "$as_me: failed program was:" >&5
19126 sed 's/^/| /' conftest.$ac_ext >&5
19129 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19132 LIBS=$ac_func_search_save_LIBS
19134 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19135 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19136 if test "$ac_cv_search_dlopen" != no; then
19137 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19140 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
19141 echo "$as_me: error: dlopen() required but not found" >&2;}
19142 { (exit 1); exit 1; }; }
19146 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19147 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19148 if test "${ac_cv_search_mallinfo+set}" = set; then
19149 echo $ECHO_N "(cached) $ECHO_C" >&6
19151 ac_func_search_save_LIBS=$LIBS
19152 ac_cv_search_mallinfo=no
19153 cat >conftest.$ac_ext <<_ACEOF
19154 #line $LINENO "configure"
19157 cat confdefs.h >>conftest.$ac_ext
19158 cat >>conftest.$ac_ext <<_ACEOF
19159 /* end confdefs.h. */
19161 /* Override any gcc2 internal prototype to avoid an error. */
19165 /* We use char because int might match the return type of a gcc2
19166 builtin and then its argument prototype would still apply. */
19176 rm -f conftest.$ac_objext conftest$ac_exeext
19177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19178 (eval $ac_link) 2>&5
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); } &&
19182 { ac_try='test -s conftest$ac_exeext'
19183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19184 (eval $ac_try) 2>&5
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); }; }; then
19188 ac_cv_search_mallinfo="none required"
19190 echo "$as_me: failed program was:" >&5
19191 sed 's/^/| /' conftest.$ac_ext >&5
19194 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19195 if test "$ac_cv_search_mallinfo" = no; then
19196 for ac_lib in malloc; do
19197 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19198 cat >conftest.$ac_ext <<_ACEOF
19199 #line $LINENO "configure"
19202 cat confdefs.h >>conftest.$ac_ext
19203 cat >>conftest.$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19206 /* Override any gcc2 internal prototype to avoid an error. */
19210 /* We use char because int might match the return type of a gcc2
19211 builtin and then its argument prototype would still apply. */
19221 rm -f conftest.$ac_objext conftest$ac_exeext
19222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19223 (eval $ac_link) 2>&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); } &&
19227 { ac_try='test -s conftest$ac_exeext'
19228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19229 (eval $ac_try) 2>&5
19231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232 (exit $ac_status); }; }; then
19233 ac_cv_search_mallinfo="-l$ac_lib"
19236 echo "$as_me: failed program was:" >&5
19237 sed 's/^/| /' conftest.$ac_ext >&5
19240 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19243 LIBS=$ac_func_search_save_LIBS
19245 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19246 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19247 if test "$ac_cv_search_mallinfo" != no; then
19248 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19249 cat >>confdefs.h <<\_ACEOF
19250 #define HAVE_MALLINFO 1
19257 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19258 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19259 if test "${ac_cv_header_stdc+set}" = set; then
19260 echo $ECHO_N "(cached) $ECHO_C" >&6
19262 cat >conftest.$ac_ext <<_ACEOF
19263 #line $LINENO "configure"
19266 cat confdefs.h >>conftest.$ac_ext
19267 cat >>conftest.$ac_ext <<_ACEOF
19268 /* end confdefs.h. */
19269 #include <stdlib.h>
19270 #include <stdarg.h>
19271 #include <string.h>
19282 rm -f conftest.$ac_objext
19283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19284 (eval $ac_compile) 2>&5
19286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19287 (exit $ac_status); } &&
19288 { ac_try='test -s conftest.$ac_objext'
19289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19290 (eval $ac_try) 2>&5
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); }; }; then
19294 ac_cv_header_stdc=yes
19296 echo "$as_me: failed program was:" >&5
19297 sed 's/^/| /' conftest.$ac_ext >&5
19299 ac_cv_header_stdc=no
19301 rm -f conftest.$ac_objext conftest.$ac_ext
19303 if test $ac_cv_header_stdc = yes; then
19304 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19305 cat >conftest.$ac_ext <<_ACEOF
19306 #line $LINENO "configure"
19309 cat confdefs.h >>conftest.$ac_ext
19310 cat >>conftest.$ac_ext <<_ACEOF
19311 /* end confdefs.h. */
19312 #include <string.h>
19315 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19316 $EGREP "memchr" >/dev/null 2>&1; then
19319 ac_cv_header_stdc=no
19325 if test $ac_cv_header_stdc = yes; then
19326 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19327 cat >conftest.$ac_ext <<_ACEOF
19328 #line $LINENO "configure"
19331 cat confdefs.h >>conftest.$ac_ext
19332 cat >>conftest.$ac_ext <<_ACEOF
19333 /* end confdefs.h. */
19334 #include <stdlib.h>
19337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19338 $EGREP "free" >/dev/null 2>&1; then
19341 ac_cv_header_stdc=no
19347 if test $ac_cv_header_stdc = yes; then
19348 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19349 if test "$cross_compiling" = yes; then
19352 cat >conftest.$ac_ext <<_ACEOF
19353 #line $LINENO "configure"
19356 cat confdefs.h >>conftest.$ac_ext
19357 cat >>conftest.$ac_ext <<_ACEOF
19358 /* end confdefs.h. */
19360 #if ((' ' & 0x0FF) == 0x020)
19361 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19362 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19364 # define ISLOWER(c) \
19365 (('a' <= (c) && (c) <= 'i') \
19366 || ('j' <= (c) && (c) <= 'r') \
19367 || ('s' <= (c) && (c) <= 'z'))
19368 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19371 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19376 for (i = 0; i < 256; i++)
19377 if (XOR (islower (i), ISLOWER (i))
19378 || toupper (i) != TOUPPER (i))
19383 rm -f conftest$ac_exeext
19384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19385 (eval $ac_link) 2>&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19390 (eval $ac_try) 2>&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); }; }; then
19396 echo "$as_me: program exited with status $ac_status" >&5
19397 echo "$as_me: failed program was:" >&5
19398 sed 's/^/| /' conftest.$ac_ext >&5
19400 ( exit $ac_status )
19401 ac_cv_header_stdc=no
19403 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19407 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19408 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19409 if test $ac_cv_header_stdc = yes; then
19411 cat >>confdefs.h <<\_ACEOF
19412 #define STDC_HEADERS 1
19417 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19418 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19419 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19420 echo $ECHO_N "(cached) $ECHO_C" >&6
19422 cat >conftest.$ac_ext <<_ACEOF
19423 #line $LINENO "configure"
19426 cat confdefs.h >>conftest.$ac_ext
19427 cat >>conftest.$ac_ext <<_ACEOF
19428 /* end confdefs.h. */
19429 #include <sys/types.h>
19430 #include <sys/wait.h>
19431 #ifndef WEXITSTATUS
19432 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19435 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19443 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19448 rm -f conftest.$ac_objext
19449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19450 (eval $ac_compile) 2>&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); } &&
19454 { ac_try='test -s conftest.$ac_objext'
19455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19456 (eval $ac_try) 2>&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); }; }; then
19460 ac_cv_header_sys_wait_h=yes
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.$ac_ext >&5
19465 ac_cv_header_sys_wait_h=no
19467 rm -f conftest.$ac_objext conftest.$ac_ext
19469 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19470 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19471 if test $ac_cv_header_sys_wait_h = yes; then
19473 cat >>confdefs.h <<\_ACEOF
19474 #define HAVE_SYS_WAIT_H 1
19488 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19490 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19492 echo "$as_me:$LINENO: checking for $ac_header" >&5
19493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19495 echo $ECHO_N "(cached) $ECHO_C" >&6
19497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19500 # Is the header compilable?
19501 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19502 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19503 cat >conftest.$ac_ext <<_ACEOF
19504 #line $LINENO "configure"
19507 cat confdefs.h >>conftest.$ac_ext
19508 cat >>conftest.$ac_ext <<_ACEOF
19509 /* end confdefs.h. */
19510 $ac_includes_default
19511 #include <$ac_header>
19513 rm -f conftest.$ac_objext
19514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19515 (eval $ac_compile) 2>&5
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); } &&
19519 { ac_try='test -s conftest.$ac_objext'
19520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19521 (eval $ac_try) 2>&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); }; }; then
19525 ac_header_compiler=yes
19527 echo "$as_me: failed program was:" >&5
19528 sed 's/^/| /' conftest.$ac_ext >&5
19530 ac_header_compiler=no
19532 rm -f conftest.$ac_objext conftest.$ac_ext
19533 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19534 echo "${ECHO_T}$ac_header_compiler" >&6
19536 # Is the header present?
19537 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19538 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19539 cat >conftest.$ac_ext <<_ACEOF
19540 #line $LINENO "configure"
19543 cat confdefs.h >>conftest.$ac_ext
19544 cat >>conftest.$ac_ext <<_ACEOF
19545 /* end confdefs.h. */
19546 #include <$ac_header>
19548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19549 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19551 grep -v '^ *+' conftest.er1 >conftest.err
19553 cat conftest.err >&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); } >/dev/null; then
19556 if test -s conftest.err; then
19557 ac_cpp_err=$ac_c_preproc_warn_flag
19564 if test -z "$ac_cpp_err"; then
19565 ac_header_preproc=yes
19567 echo "$as_me: failed program was:" >&5
19568 sed 's/^/| /' conftest.$ac_ext >&5
19570 ac_header_preproc=no
19572 rm -f conftest.err conftest.$ac_ext
19573 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19574 echo "${ECHO_T}$ac_header_preproc" >&6
19576 # So? What about this header?
19577 case $ac_header_compiler:$ac_header_preproc in
19579 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19580 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19582 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19585 ## ------------------------------------ ##
19586 ## Report this to bug-autoconf@gnu.org. ##
19587 ## ------------------------------------ ##
19590 sed "s/^/$as_me: WARNING: /" >&2
19593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19598 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19601 ## ------------------------------------ ##
19602 ## Report this to bug-autoconf@gnu.org. ##
19603 ## ------------------------------------ ##
19606 sed "s/^/$as_me: WARNING: /" >&2
19609 echo "$as_me:$LINENO: checking for $ac_header" >&5
19610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19612 echo $ECHO_N "(cached) $ECHO_C" >&6
19614 eval "$as_ac_Header=$ac_header_preproc"
19616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19621 cat >>confdefs.h <<_ACEOF
19622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19634 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19636 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19638 echo "$as_me:$LINENO: checking for $ac_header" >&5
19639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19641 echo $ECHO_N "(cached) $ECHO_C" >&6
19643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19646 # Is the header compilable?
19647 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19648 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19649 cat >conftest.$ac_ext <<_ACEOF
19650 #line $LINENO "configure"
19653 cat confdefs.h >>conftest.$ac_ext
19654 cat >>conftest.$ac_ext <<_ACEOF
19655 /* end confdefs.h. */
19656 $ac_includes_default
19657 #include <$ac_header>
19659 rm -f conftest.$ac_objext
19660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19661 (eval $ac_compile) 2>&5
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); } &&
19665 { ac_try='test -s conftest.$ac_objext'
19666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19667 (eval $ac_try) 2>&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); }; }; then
19671 ac_header_compiler=yes
19673 echo "$as_me: failed program was:" >&5
19674 sed 's/^/| /' conftest.$ac_ext >&5
19676 ac_header_compiler=no
19678 rm -f conftest.$ac_objext conftest.$ac_ext
19679 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19680 echo "${ECHO_T}$ac_header_compiler" >&6
19682 # Is the header present?
19683 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19684 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19685 cat >conftest.$ac_ext <<_ACEOF
19686 #line $LINENO "configure"
19689 cat confdefs.h >>conftest.$ac_ext
19690 cat >>conftest.$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692 #include <$ac_header>
19694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19695 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19697 grep -v '^ *+' conftest.er1 >conftest.err
19699 cat conftest.err >&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } >/dev/null; then
19702 if test -s conftest.err; then
19703 ac_cpp_err=$ac_c_preproc_warn_flag
19710 if test -z "$ac_cpp_err"; then
19711 ac_header_preproc=yes
19713 echo "$as_me: failed program was:" >&5
19714 sed 's/^/| /' conftest.$ac_ext >&5
19716 ac_header_preproc=no
19718 rm -f conftest.err conftest.$ac_ext
19719 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19720 echo "${ECHO_T}$ac_header_preproc" >&6
19722 # So? What about this header?
19723 case $ac_header_compiler:$ac_header_preproc in
19725 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19726 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19728 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19731 ## ------------------------------------ ##
19732 ## Report this to bug-autoconf@gnu.org. ##
19733 ## ------------------------------------ ##
19736 sed "s/^/$as_me: WARNING: /" >&2
19739 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19740 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19741 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19742 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19744 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19747 ## ------------------------------------ ##
19748 ## Report this to bug-autoconf@gnu.org. ##
19749 ## ------------------------------------ ##
19752 sed "s/^/$as_me: WARNING: /" >&2
19755 echo "$as_me:$LINENO: checking for $ac_header" >&5
19756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19758 echo $ECHO_N "(cached) $ECHO_C" >&6
19760 eval "$as_ac_Header=$ac_header_preproc"
19762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19767 cat >>confdefs.h <<_ACEOF
19768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19778 for ac_header in dlfcn.h link.h
19780 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19782 echo "$as_me:$LINENO: checking for $ac_header" >&5
19783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19785 echo $ECHO_N "(cached) $ECHO_C" >&6
19787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19790 # Is the header compilable?
19791 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19792 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19793 cat >conftest.$ac_ext <<_ACEOF
19794 #line $LINENO "configure"
19797 cat confdefs.h >>conftest.$ac_ext
19798 cat >>conftest.$ac_ext <<_ACEOF
19799 /* end confdefs.h. */
19800 $ac_includes_default
19801 #include <$ac_header>
19803 rm -f conftest.$ac_objext
19804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19805 (eval $ac_compile) 2>&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } &&
19809 { ac_try='test -s conftest.$ac_objext'
19810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19811 (eval $ac_try) 2>&5
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); }; }; then
19815 ac_header_compiler=yes
19817 echo "$as_me: failed program was:" >&5
19818 sed 's/^/| /' conftest.$ac_ext >&5
19820 ac_header_compiler=no
19822 rm -f conftest.$ac_objext conftest.$ac_ext
19823 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19824 echo "${ECHO_T}$ac_header_compiler" >&6
19826 # Is the header present?
19827 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19828 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19829 cat >conftest.$ac_ext <<_ACEOF
19830 #line $LINENO "configure"
19833 cat confdefs.h >>conftest.$ac_ext
19834 cat >>conftest.$ac_ext <<_ACEOF
19835 /* end confdefs.h. */
19836 #include <$ac_header>
19838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19839 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19841 grep -v '^ *+' conftest.er1 >conftest.err
19843 cat conftest.err >&5
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); } >/dev/null; then
19846 if test -s conftest.err; then
19847 ac_cpp_err=$ac_c_preproc_warn_flag
19854 if test -z "$ac_cpp_err"; then
19855 ac_header_preproc=yes
19857 echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.$ac_ext >&5
19860 ac_header_preproc=no
19862 rm -f conftest.err conftest.$ac_ext
19863 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19864 echo "${ECHO_T}$ac_header_preproc" >&6
19866 # So? What about this header?
19867 case $ac_header_compiler:$ac_header_preproc in
19869 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19870 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19872 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19875 ## ------------------------------------ ##
19876 ## Report this to bug-autoconf@gnu.org. ##
19877 ## ------------------------------------ ##
19880 sed "s/^/$as_me: WARNING: /" >&2
19883 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19884 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19885 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19886 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19887 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19888 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19891 ## ------------------------------------ ##
19892 ## Report this to bug-autoconf@gnu.org. ##
19893 ## ------------------------------------ ##
19896 sed "s/^/$as_me: WARNING: /" >&2
19899 echo "$as_me:$LINENO: checking for $ac_header" >&5
19900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19902 echo $ECHO_N "(cached) $ECHO_C" >&6
19904 eval "$as_ac_Header=$ac_header_preproc"
19906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19911 cat >>confdefs.h <<_ACEOF
19912 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19921 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19922 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19923 if test "${ac_cv_c_const+set}" = set; then
19924 echo $ECHO_N "(cached) $ECHO_C" >&6
19926 cat >conftest.$ac_ext <<_ACEOF
19927 #line $LINENO "configure"
19930 cat confdefs.h >>conftest.$ac_ext
19931 cat >>conftest.$ac_ext <<_ACEOF
19932 /* end confdefs.h. */
19937 /* FIXME: Include the comments suggested by Paul. */
19938 #ifndef __cplusplus
19939 /* Ultrix mips cc rejects this. */
19940 typedef int charset[2];
19942 /* SunOS 4.1.1 cc rejects this. */
19943 char const *const *ccp;
19945 /* NEC SVR4.0.2 mips cc rejects this. */
19946 struct point {int x, y;};
19947 static struct point const zero = {0,0};
19948 /* AIX XL C 1.02.0.0 rejects this.
19949 It does not let you subtract one const X* pointer from another in
19950 an arm of an if-expression whose if-part is not a constant
19952 const char *g = "string";
19953 ccp = &g + (g ? g-g : 0);
19954 /* HPUX 7.0 cc rejects these. */
19957 ccp = (char const *const *) p;
19958 { /* SCO 3.2v4 cc rejects this. */
19960 char const *s = 0 ? (char *) 0 : (char const *) 0;
19964 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19965 int x[] = {25, 17};
19966 const int *foo = &x[0];
19969 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19970 typedef const int *iptr;
19974 { /* AIX XL C 1.02.0.0 rejects this saying
19975 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19976 struct s { int j; const int *ap[3]; };
19977 struct s *b; b->j = 5;
19979 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19980 const int foo = 10;
19988 rm -f conftest.$ac_objext
19989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19990 (eval $ac_compile) 2>&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); } &&
19994 { ac_try='test -s conftest.$ac_objext'
19995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19996 (eval $ac_try) 2>&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); }; }; then
20002 echo "$as_me: failed program was:" >&5
20003 sed 's/^/| /' conftest.$ac_ext >&5
20007 rm -f conftest.$ac_objext conftest.$ac_ext
20009 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20010 echo "${ECHO_T}$ac_cv_c_const" >&6
20011 if test $ac_cv_c_const = no; then
20013 cat >>confdefs.h <<\_ACEOF
20019 echo "$as_me:$LINENO: checking for inline" >&5
20020 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20021 if test "${ac_cv_c_inline+set}" = set; then
20022 echo $ECHO_N "(cached) $ECHO_C" >&6
20025 for ac_kw in inline __inline__ __inline; do
20026 cat >conftest.$ac_ext <<_ACEOF
20027 #line $LINENO "configure"
20030 cat confdefs.h >>conftest.$ac_ext
20031 cat >>conftest.$ac_ext <<_ACEOF
20032 /* end confdefs.h. */
20033 #ifndef __cplusplus
20035 static $ac_kw foo_t static_foo () {return 0; }
20036 $ac_kw foo_t foo () {return 0; }
20040 rm -f conftest.$ac_objext
20041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20042 (eval $ac_compile) 2>&5
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); } &&
20046 { ac_try='test -s conftest.$ac_objext'
20047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20048 (eval $ac_try) 2>&5
20050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20051 (exit $ac_status); }; }; then
20052 ac_cv_c_inline=$ac_kw; break
20054 echo "$as_me: failed program was:" >&5
20055 sed 's/^/| /' conftest.$ac_ext >&5
20058 rm -f conftest.$ac_objext conftest.$ac_ext
20062 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20063 echo "${ECHO_T}$ac_cv_c_inline" >&6
20064 case $ac_cv_c_inline in
20067 cat >>confdefs.h <<\_ACEOF
20071 *) cat >>confdefs.h <<_ACEOF
20072 #define inline $ac_cv_c_inline
20078 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20079 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20080 if test "${ac_cv_c_bigendian+set}" = set; then
20081 echo $ECHO_N "(cached) $ECHO_C" >&6
20083 # See if sys/param.h defines the BYTE_ORDER macro.
20084 cat >conftest.$ac_ext <<_ACEOF
20085 #line $LINENO "configure"
20088 cat confdefs.h >>conftest.$ac_ext
20089 cat >>conftest.$ac_ext <<_ACEOF
20090 /* end confdefs.h. */
20091 #include <sys/types.h>
20092 #include <sys/param.h>
20097 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20098 bogus endian macros
20105 rm -f conftest.$ac_objext
20106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20107 (eval $ac_compile) 2>&5
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); } &&
20111 { ac_try='test -s conftest.$ac_objext'
20112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20113 (eval $ac_try) 2>&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); }; }; then
20117 # It does; now see whether it defined to BIG_ENDIAN or not.
20118 cat >conftest.$ac_ext <<_ACEOF
20119 #line $LINENO "configure"
20122 cat confdefs.h >>conftest.$ac_ext
20123 cat >>conftest.$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20125 #include <sys/types.h>
20126 #include <sys/param.h>
20131 #if BYTE_ORDER != BIG_ENDIAN
20139 rm -f conftest.$ac_objext
20140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20141 (eval $ac_compile) 2>&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); } &&
20145 { ac_try='test -s conftest.$ac_objext'
20146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20147 (eval $ac_try) 2>&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); }; }; then
20151 ac_cv_c_bigendian=yes
20153 echo "$as_me: failed program was:" >&5
20154 sed 's/^/| /' conftest.$ac_ext >&5
20156 ac_cv_c_bigendian=no
20158 rm -f conftest.$ac_objext conftest.$ac_ext
20160 echo "$as_me: failed program was:" >&5
20161 sed 's/^/| /' conftest.$ac_ext >&5
20163 # It does not; compile a test program.
20164 if test "$cross_compiling" = yes; then
20165 # try to guess the endianness by grepping values into an object file
20166 ac_cv_c_bigendian=unknown
20167 cat >conftest.$ac_ext <<_ACEOF
20168 #line $LINENO "configure"
20171 cat confdefs.h >>conftest.$ac_ext
20172 cat >>conftest.$ac_ext <<_ACEOF
20173 /* end confdefs.h. */
20174 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20175 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20176 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20177 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20178 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20179 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20183 _ascii (); _ebcdic ();
20188 rm -f conftest.$ac_objext
20189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20190 (eval $ac_compile) 2>&5
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); } &&
20194 { ac_try='test -s conftest.$ac_objext'
20195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20196 (eval $ac_try) 2>&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); }; }; then
20200 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20201 ac_cv_c_bigendian=yes
20203 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20204 if test "$ac_cv_c_bigendian" = unknown; then
20205 ac_cv_c_bigendian=no
20207 # finding both strings is unlikely to happen, but who knows?
20208 ac_cv_c_bigendian=unknown
20212 echo "$as_me: failed program was:" >&5
20213 sed 's/^/| /' conftest.$ac_ext >&5
20216 rm -f conftest.$ac_objext conftest.$ac_ext
20218 cat >conftest.$ac_ext <<_ACEOF
20219 #line $LINENO "configure"
20222 cat confdefs.h >>conftest.$ac_ext
20223 cat >>conftest.$ac_ext <<_ACEOF
20224 /* end confdefs.h. */
20228 /* Are we little or big endian? From Harbison&Steele. */
20232 char c[sizeof (long)];
20235 exit (u.c[sizeof (long) - 1] == 1);
20238 rm -f conftest$ac_exeext
20239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20240 (eval $ac_link) 2>&5
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245 (eval $ac_try) 2>&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; }; then
20249 ac_cv_c_bigendian=no
20251 echo "$as_me: program exited with status $ac_status" >&5
20252 echo "$as_me: failed program was:" >&5
20253 sed 's/^/| /' conftest.$ac_ext >&5
20255 ( exit $ac_status )
20256 ac_cv_c_bigendian=yes
20258 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20261 rm -f conftest.$ac_objext conftest.$ac_ext
20263 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20264 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20265 case $ac_cv_c_bigendian in
20267 cat >>confdefs.h <<\_ACEOF
20268 #define ENDIAN_BIG 1
20272 cat >>confdefs.h <<\_ACEOF
20273 #define ENDIAN_LITTLE 1
20277 { { echo "$as_me:$LINENO: error: unknown endianness
20278 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20279 echo "$as_me: error: unknown endianness
20280 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20281 { (exit 1); exit 1; }; } ;;
20285 echo "$as_me:$LINENO: checking for pid_t" >&5
20286 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20287 if test "${ac_cv_type_pid_t+set}" = set; then
20288 echo $ECHO_N "(cached) $ECHO_C" >&6
20290 cat >conftest.$ac_ext <<_ACEOF
20291 #line $LINENO "configure"
20294 cat confdefs.h >>conftest.$ac_ext
20295 cat >>conftest.$ac_ext <<_ACEOF
20296 /* end confdefs.h. */
20297 $ac_includes_default
20303 if (sizeof (pid_t))
20309 rm -f conftest.$ac_objext
20310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20311 (eval $ac_compile) 2>&5
20313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20314 (exit $ac_status); } &&
20315 { ac_try='test -s conftest.$ac_objext'
20316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20317 (eval $ac_try) 2>&5
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); }; }; then
20321 ac_cv_type_pid_t=yes
20323 echo "$as_me: failed program was:" >&5
20324 sed 's/^/| /' conftest.$ac_ext >&5
20326 ac_cv_type_pid_t=no
20328 rm -f conftest.$ac_objext conftest.$ac_ext
20330 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20331 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20332 if test $ac_cv_type_pid_t = yes; then
20336 cat >>confdefs.h <<_ACEOF
20342 echo "$as_me:$LINENO: checking for size_t" >&5
20343 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20344 if test "${ac_cv_type_size_t+set}" = set; then
20345 echo $ECHO_N "(cached) $ECHO_C" >&6
20347 cat >conftest.$ac_ext <<_ACEOF
20348 #line $LINENO "configure"
20351 cat confdefs.h >>conftest.$ac_ext
20352 cat >>conftest.$ac_ext <<_ACEOF
20353 /* end confdefs.h. */
20354 $ac_includes_default
20360 if (sizeof (size_t))
20366 rm -f conftest.$ac_objext
20367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20368 (eval $ac_compile) 2>&5
20370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20371 (exit $ac_status); } &&
20372 { ac_try='test -s conftest.$ac_objext'
20373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20374 (eval $ac_try) 2>&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); }; }; then
20378 ac_cv_type_size_t=yes
20380 echo "$as_me: failed program was:" >&5
20381 sed 's/^/| /' conftest.$ac_ext >&5
20383 ac_cv_type_size_t=no
20385 rm -f conftest.$ac_objext conftest.$ac_ext
20387 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20388 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20389 if test $ac_cv_type_size_t = yes; then
20393 cat >>confdefs.h <<_ACEOF
20394 #define size_t unsigned
20399 echo "$as_me:$LINENO: checking for int64_t" >&5
20400 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20401 if test "${ac_cv_type_int64_t+set}" = set; then
20402 echo $ECHO_N "(cached) $ECHO_C" >&6
20404 cat >conftest.$ac_ext <<_ACEOF
20405 #line $LINENO "configure"
20408 cat confdefs.h >>conftest.$ac_ext
20409 cat >>conftest.$ac_ext <<_ACEOF
20410 /* end confdefs.h. */
20411 $ac_includes_default
20417 if (sizeof (int64_t))
20423 rm -f conftest.$ac_objext
20424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20425 (eval $ac_compile) 2>&5
20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); } &&
20429 { ac_try='test -s conftest.$ac_objext'
20430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20431 (eval $ac_try) 2>&5
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); }; }; then
20435 ac_cv_type_int64_t=yes
20437 echo "$as_me: failed program was:" >&5
20438 sed 's/^/| /' conftest.$ac_ext >&5
20440 ac_cv_type_int64_t=no
20442 rm -f conftest.$ac_objext conftest.$ac_ext
20444 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20445 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20446 if test $ac_cv_type_int64_t = yes; then
20448 cat >>confdefs.h <<_ACEOF
20449 #define HAVE_INT64_T 1
20454 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20455 echo "$as_me: error: Type int64_t required but not found" >&2;}
20456 { (exit 1); exit 1; }; }
20459 echo "$as_me:$LINENO: checking for uint64_t" >&5
20460 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20461 if test "${ac_cv_type_uint64_t+set}" = set; then
20462 echo $ECHO_N "(cached) $ECHO_C" >&6
20464 cat >conftest.$ac_ext <<_ACEOF
20465 #line $LINENO "configure"
20468 cat confdefs.h >>conftest.$ac_ext
20469 cat >>conftest.$ac_ext <<_ACEOF
20470 /* end confdefs.h. */
20471 $ac_includes_default
20475 if ((uint64_t *) 0)
20477 if (sizeof (uint64_t))
20483 rm -f conftest.$ac_objext
20484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20485 (eval $ac_compile) 2>&5
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); } &&
20489 { ac_try='test -s conftest.$ac_objext'
20490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20491 (eval $ac_try) 2>&5
20493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20494 (exit $ac_status); }; }; then
20495 ac_cv_type_uint64_t=yes
20497 echo "$as_me: failed program was:" >&5
20498 sed 's/^/| /' conftest.$ac_ext >&5
20500 ac_cv_type_uint64_t=no
20502 rm -f conftest.$ac_objext conftest.$ac_ext
20504 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20505 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20506 if test $ac_cv_type_uint64_t = yes; then
20508 cat >>confdefs.h <<_ACEOF
20509 #define HAVE_UINT64_T 1
20514 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20515 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20516 { (exit 1); exit 1; }; }
20519 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20520 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20521 if test "${ac_cv_header_time+set}" = set; then
20522 echo $ECHO_N "(cached) $ECHO_C" >&6
20524 cat >conftest.$ac_ext <<_ACEOF
20525 #line $LINENO "configure"
20528 cat confdefs.h >>conftest.$ac_ext
20529 cat >>conftest.$ac_ext <<_ACEOF
20530 /* end confdefs.h. */
20531 #include <sys/types.h>
20532 #include <sys/time.h>
20538 if ((struct tm *) 0)
20544 rm -f conftest.$ac_objext
20545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20546 (eval $ac_compile) 2>&5
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); } &&
20550 { ac_try='test -s conftest.$ac_objext'
20551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20552 (eval $ac_try) 2>&5
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); }; }; then
20556 ac_cv_header_time=yes
20558 echo "$as_me: failed program was:" >&5
20559 sed 's/^/| /' conftest.$ac_ext >&5
20561 ac_cv_header_time=no
20563 rm -f conftest.$ac_objext conftest.$ac_ext
20565 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20566 echo "${ECHO_T}$ac_cv_header_time" >&6
20567 if test $ac_cv_header_time = yes; then
20569 cat >>confdefs.h <<\_ACEOF
20570 #define TIME_WITH_SYS_TIME 1
20575 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20576 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20577 if test "${ac_cv_struct_tm+set}" = set; then
20578 echo $ECHO_N "(cached) $ECHO_C" >&6
20580 cat >conftest.$ac_ext <<_ACEOF
20581 #line $LINENO "configure"
20584 cat confdefs.h >>conftest.$ac_ext
20585 cat >>conftest.$ac_ext <<_ACEOF
20586 /* end confdefs.h. */
20587 #include <sys/types.h>
20593 struct tm *tp; tp->tm_sec;
20598 rm -f conftest.$ac_objext
20599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20600 (eval $ac_compile) 2>&5
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); } &&
20604 { ac_try='test -s conftest.$ac_objext'
20605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20606 (eval $ac_try) 2>&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); }; }; then
20610 ac_cv_struct_tm=time.h
20612 echo "$as_me: failed program was:" >&5
20613 sed 's/^/| /' conftest.$ac_ext >&5
20615 ac_cv_struct_tm=sys/time.h
20617 rm -f conftest.$ac_objext conftest.$ac_ext
20619 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20620 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20621 if test $ac_cv_struct_tm = sys/time.h; then
20623 cat >>confdefs.h <<\_ACEOF
20624 #define TM_IN_SYS_TIME 1
20630 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20631 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20632 if test "${ac_cv_cxx_namespaces+set}" = set; then
20633 echo $ECHO_N "(cached) $ECHO_C" >&6
20638 ac_cpp='$CXXCPP $CPPFLAGS'
20639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20643 cat >conftest.$ac_ext <<_ACEOF
20644 #line $LINENO "configure"
20647 cat confdefs.h >>conftest.$ac_ext
20648 cat >>conftest.$ac_ext <<_ACEOF
20649 /* end confdefs.h. */
20650 namespace Outer { namespace Inner { int i = 0; }}
20654 using namespace Outer::Inner; return i;
20659 rm -f conftest.$ac_objext
20660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20661 (eval $ac_compile) 2>&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); } &&
20665 { ac_try='test -s conftest.$ac_objext'
20666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20667 (eval $ac_try) 2>&5
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); }; }; then
20671 ac_cv_cxx_namespaces=yes
20673 echo "$as_me: failed program was:" >&5
20674 sed 's/^/| /' conftest.$ac_ext >&5
20676 ac_cv_cxx_namespaces=no
20678 rm -f conftest.$ac_objext conftest.$ac_ext
20680 ac_cpp='$CPP $CPPFLAGS'
20681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20687 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20688 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20689 if test "$ac_cv_cxx_namespaces" = yes; then
20691 cat >>confdefs.h <<\_ACEOF
20692 #define HAVE_NAMESPACES
20697 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20698 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20699 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20700 echo $ECHO_N "(cached) $ECHO_C" >&6
20706 ac_cpp='$CXXCPP $CPPFLAGS'
20707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20711 cat >conftest.$ac_ext <<_ACEOF
20712 #line $LINENO "configure"
20715 cat confdefs.h >>conftest.$ac_ext
20716 cat >>conftest.$ac_ext <<_ACEOF
20717 /* end confdefs.h. */
20718 #include <ext/hash_map>
20719 #ifdef HAVE_NAMESPACES
20720 using namespace std;
20725 hash_map<int, int> t; return 0;
20730 rm -f conftest.$ac_objext
20731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20732 (eval $ac_compile) 2>&5
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); } &&
20736 { ac_try='test -s conftest.$ac_objext'
20737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20738 (eval $ac_try) 2>&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); }; }; then
20742 ac_cv_cxx_have_ext_hash_map=std
20744 echo "$as_me: failed program was:" >&5
20745 sed 's/^/| /' conftest.$ac_ext >&5
20747 ac_cv_cxx_have_ext_hash_map=no
20749 rm -f conftest.$ac_objext conftest.$ac_ext
20750 cat >conftest.$ac_ext <<_ACEOF
20751 #line $LINENO "configure"
20754 cat confdefs.h >>conftest.$ac_ext
20755 cat >>conftest.$ac_ext <<_ACEOF
20756 /* end confdefs.h. */
20757 #include <ext/hash_map>
20758 #ifdef HAVE_NAMESPACES
20759 using namespace __gnu_cxx;
20764 hash_map<int, int> t; return 0;
20769 rm -f conftest.$ac_objext
20770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20771 (eval $ac_compile) 2>&5
20773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774 (exit $ac_status); } &&
20775 { ac_try='test -s conftest.$ac_objext'
20776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20777 (eval $ac_try) 2>&5
20779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780 (exit $ac_status); }; }; then
20781 ac_cv_cxx_have_ext_hash_map=gnu
20783 echo "$as_me: failed program was:" >&5
20784 sed 's/^/| /' conftest.$ac_ext >&5
20786 ac_cv_cxx_have_ext_hash_map=no
20788 rm -f conftest.$ac_objext conftest.$ac_ext
20790 ac_cpp='$CPP $CPPFLAGS'
20791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20797 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20798 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20799 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20801 cat >>confdefs.h <<\_ACEOF
20802 #define HAVE_STD_EXT_HASH_MAP
20806 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20808 cat >>confdefs.h <<\_ACEOF
20809 #define HAVE_GNU_EXT_HASH_MAP
20814 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20815 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20816 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20817 echo $ECHO_N "(cached) $ECHO_C" >&6
20823 ac_cpp='$CXXCPP $CPPFLAGS'
20824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20828 cat >conftest.$ac_ext <<_ACEOF
20829 #line $LINENO "configure"
20832 cat confdefs.h >>conftest.$ac_ext
20833 cat >>conftest.$ac_ext <<_ACEOF
20834 /* end confdefs.h. */
20835 #include <ext/hash_set>
20836 #ifdef HAVE_NAMESPACES
20837 using namespace std;
20842 hash_set<int> t; return 0;
20847 rm -f conftest.$ac_objext
20848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20849 (eval $ac_compile) 2>&5
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); } &&
20853 { ac_try='test -s conftest.$ac_objext'
20854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20855 (eval $ac_try) 2>&5
20857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858 (exit $ac_status); }; }; then
20859 ac_cv_cxx_have_ext_hash_set=std
20861 echo "$as_me: failed program was:" >&5
20862 sed 's/^/| /' conftest.$ac_ext >&5
20864 ac_cv_cxx_have_ext_hash_set=no
20866 rm -f conftest.$ac_objext conftest.$ac_ext
20867 cat >conftest.$ac_ext <<_ACEOF
20868 #line $LINENO "configure"
20871 cat confdefs.h >>conftest.$ac_ext
20872 cat >>conftest.$ac_ext <<_ACEOF
20873 /* end confdefs.h. */
20874 #include <ext/hash_set>
20875 #ifdef HAVE_NAMESPACES
20876 using namespace __gnu_cxx;
20881 hash_set<int> t; return 0;
20886 rm -f conftest.$ac_objext
20887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20888 (eval $ac_compile) 2>&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); } &&
20892 { ac_try='test -s conftest.$ac_objext'
20893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20894 (eval $ac_try) 2>&5
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); }; }; then
20898 ac_cv_cxx_have_ext_hash_set=gnu
20900 echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.$ac_ext >&5
20903 ac_cv_cxx_have_ext_hash_set=no
20905 rm -f conftest.$ac_objext conftest.$ac_ext
20907 ac_cpp='$CPP $CPPFLAGS'
20908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20914 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
20915 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
20916 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
20918 cat >>confdefs.h <<\_ACEOF
20919 #define HAVE_STD_EXT_HASH_SET
20923 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
20925 cat >>confdefs.h <<\_ACEOF
20926 #define HAVE_GNU_EXT_HASH_SET
20931 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
20932 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
20933 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
20934 echo $ECHO_N "(cached) $ECHO_C" >&6
20940 ac_cpp='$CXXCPP $CPPFLAGS'
20941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20945 cat >conftest.$ac_ext <<_ACEOF
20946 #line $LINENO "configure"
20949 cat confdefs.h >>conftest.$ac_ext
20950 cat >>conftest.$ac_ext <<_ACEOF
20951 /* end confdefs.h. */
20952 #include <ext/slist>
20953 #ifdef HAVE_NAMESPACES
20954 using namespace std;
20959 slist<int> s; return 0;
20964 rm -f conftest.$ac_objext
20965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20966 (eval $ac_compile) 2>&5
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); } &&
20970 { ac_try='test -s conftest.$ac_objext'
20971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20972 (eval $ac_try) 2>&5
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); }; }; then
20976 ac_cv_cxx_have_ext_slist=std
20978 echo "$as_me: failed program was:" >&5
20979 sed 's/^/| /' conftest.$ac_ext >&5
20981 ac_cv_cxx_have_ext_slist=no
20983 rm -f conftest.$ac_objext conftest.$ac_ext
20984 cat >conftest.$ac_ext <<_ACEOF
20985 #line $LINENO "configure"
20988 cat confdefs.h >>conftest.$ac_ext
20989 cat >>conftest.$ac_ext <<_ACEOF
20990 /* end confdefs.h. */
20991 #include <ext/slist>
20992 #ifdef HAVE_NAMESPACES
20993 using namespace __gnu_cxx;
20998 slist<int> s; return 0;
21003 rm -f conftest.$ac_objext
21004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21005 (eval $ac_compile) 2>&5
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); } &&
21009 { ac_try='test -s conftest.$ac_objext'
21010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21011 (eval $ac_try) 2>&5
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); }; }; then
21015 ac_cv_cxx_have_ext_slist=gnu
21017 echo "$as_me: failed program was:" >&5
21018 sed 's/^/| /' conftest.$ac_ext >&5
21020 ac_cv_cxx_have_ext_slist=no
21022 rm -f conftest.$ac_objext conftest.$ac_ext
21025 ac_cpp='$CPP $CPPFLAGS'
21026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21032 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21033 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21034 if test "$ac_cv_cxx_have_ext_slist" = std; then
21036 cat >>confdefs.h <<\_ACEOF
21037 #define HAVE_EXT_SLIST std
21041 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21043 cat >>confdefs.h <<\_ACEOF
21044 #define HAVE_EXT_SLIST gnu
21049 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21050 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21051 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21052 echo $ECHO_N "(cached) $ECHO_C" >&6
21058 ac_cpp='$CXXCPP $CPPFLAGS'
21059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21063 cat >conftest.$ac_ext <<_ACEOF
21064 #line $LINENO "configure"
21067 cat confdefs.h >>conftest.$ac_ext
21068 cat >>conftest.$ac_ext <<_ACEOF
21069 /* end confdefs.h. */
21070 #include <iterator>
21071 #ifdef HAVE_NAMESPACES
21072 using namespace std;
21077 iterator<int,int,int> t; return 0;
21082 rm -f conftest.$ac_objext
21083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21084 (eval $ac_compile) 2>&5
21086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087 (exit $ac_status); } &&
21088 { ac_try='test -s conftest.$ac_objext'
21089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21090 (eval $ac_try) 2>&5
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); }; }; then
21094 ac_cv_cxx_have_std_iterator=yes
21096 echo "$as_me: failed program was:" >&5
21097 sed 's/^/| /' conftest.$ac_ext >&5
21099 ac_cv_cxx_have_std_iterator=no
21101 rm -f conftest.$ac_objext conftest.$ac_ext
21103 ac_cpp='$CPP $CPPFLAGS'
21104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21110 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21111 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21112 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21114 cat >>confdefs.h <<\_ACEOF
21115 #define HAVE_STD_ITERATOR
21120 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21121 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21122 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21123 echo $ECHO_N "(cached) $ECHO_C" >&6
21129 ac_cpp='$CXXCPP $CPPFLAGS'
21130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21134 cat >conftest.$ac_ext <<_ACEOF
21135 #line $LINENO "configure"
21138 cat confdefs.h >>conftest.$ac_ext
21139 cat >>conftest.$ac_ext <<_ACEOF
21140 /* end confdefs.h. */
21141 #include <iterator>
21142 #ifdef HAVE_NAMESPACES
21143 using namespace std;
21148 bidirectional_iterator<int,int> t; return 0;
21153 rm -f conftest.$ac_objext
21154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21155 (eval $ac_compile) 2>&5
21157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158 (exit $ac_status); } &&
21159 { ac_try='test -s conftest.$ac_objext'
21160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21161 (eval $ac_try) 2>&5
21163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21164 (exit $ac_status); }; }; then
21165 ac_cv_cxx_have_bi_iterator=yes
21167 echo "$as_me: failed program was:" >&5
21168 sed 's/^/| /' conftest.$ac_ext >&5
21170 ac_cv_cxx_have_bi_iterator=no
21172 rm -f conftest.$ac_objext conftest.$ac_ext
21174 ac_cpp='$CPP $CPPFLAGS'
21175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21181 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21182 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21183 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21185 cat >>confdefs.h <<\_ACEOF
21186 #define HAVE_BI_ITERATOR
21191 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21192 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21193 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21194 echo $ECHO_N "(cached) $ECHO_C" >&6
21200 ac_cpp='$CXXCPP $CPPFLAGS'
21201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21205 cat >conftest.$ac_ext <<_ACEOF
21206 #line $LINENO "configure"
21209 cat confdefs.h >>conftest.$ac_ext
21210 cat >>conftest.$ac_ext <<_ACEOF
21211 /* end confdefs.h. */
21212 #include <iterator>
21213 #ifdef HAVE_NAMESPACES
21214 using namespace std;
21219 forward_iterator<int,int> t; return 0;
21224 rm -f conftest.$ac_objext
21225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21226 (eval $ac_compile) 2>&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); } &&
21230 { ac_try='test -s conftest.$ac_objext'
21231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21232 (eval $ac_try) 2>&5
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); }; }; then
21236 ac_cv_cxx_have_fwd_iterator=yes
21238 echo "$as_me: failed program was:" >&5
21239 sed 's/^/| /' conftest.$ac_ext >&5
21241 ac_cv_cxx_have_fwd_iterator=no
21243 rm -f conftest.$ac_objext conftest.$ac_ext
21245 ac_cpp='$CPP $CPPFLAGS'
21246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21252 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21253 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21254 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21256 cat >>confdefs.h <<\_ACEOF
21257 #define HAVE_FWD_ITERATOR
21263 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21264 # for constant arguments. Useless!
21265 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21266 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21267 if test "${ac_cv_working_alloca_h+set}" = set; then
21268 echo $ECHO_N "(cached) $ECHO_C" >&6
21270 cat >conftest.$ac_ext <<_ACEOF
21271 #line $LINENO "configure"
21274 cat confdefs.h >>conftest.$ac_ext
21275 cat >>conftest.$ac_ext <<_ACEOF
21276 /* end confdefs.h. */
21277 #include <alloca.h>
21281 char *p = (char *) alloca (2 * sizeof (int));
21286 rm -f conftest.$ac_objext conftest$ac_exeext
21287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21288 (eval $ac_link) 2>&5
21290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21291 (exit $ac_status); } &&
21292 { ac_try='test -s conftest$ac_exeext'
21293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21294 (eval $ac_try) 2>&5
21296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297 (exit $ac_status); }; }; then
21298 ac_cv_working_alloca_h=yes
21300 echo "$as_me: failed program was:" >&5
21301 sed 's/^/| /' conftest.$ac_ext >&5
21303 ac_cv_working_alloca_h=no
21305 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21307 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21308 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21309 if test $ac_cv_working_alloca_h = yes; then
21311 cat >>confdefs.h <<\_ACEOF
21312 #define HAVE_ALLOCA_H 1
21317 echo "$as_me:$LINENO: checking for alloca" >&5
21318 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21319 if test "${ac_cv_func_alloca_works+set}" = set; then
21320 echo $ECHO_N "(cached) $ECHO_C" >&6
21322 cat >conftest.$ac_ext <<_ACEOF
21323 #line $LINENO "configure"
21326 cat confdefs.h >>conftest.$ac_ext
21327 cat >>conftest.$ac_ext <<_ACEOF
21328 /* end confdefs.h. */
21330 # define alloca __builtin_alloca
21333 # include <malloc.h>
21334 # define alloca _alloca
21337 # include <alloca.h>
21342 # ifndef alloca /* predefined by HP cc +Olibcalls */
21353 char *p = (char *) alloca (1);
21358 rm -f conftest.$ac_objext conftest$ac_exeext
21359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21360 (eval $ac_link) 2>&5
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); } &&
21364 { ac_try='test -s conftest$ac_exeext'
21365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21366 (eval $ac_try) 2>&5
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); }; }; then
21370 ac_cv_func_alloca_works=yes
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.$ac_ext >&5
21375 ac_cv_func_alloca_works=no
21377 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21379 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21380 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21382 if test $ac_cv_func_alloca_works = yes; then
21384 cat >>confdefs.h <<\_ACEOF
21385 #define HAVE_ALLOCA 1
21389 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21390 # that cause trouble. Some versions do not even contain alloca or
21391 # contain a buggy version. If you still want to use their alloca,
21392 # use ar to extract alloca.o from them instead of compiling alloca.c.
21394 ALLOCA=alloca.$ac_objext
21396 cat >>confdefs.h <<\_ACEOF
21401 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21402 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21403 if test "${ac_cv_os_cray+set}" = set; then
21404 echo $ECHO_N "(cached) $ECHO_C" >&6
21406 cat >conftest.$ac_ext <<_ACEOF
21407 #line $LINENO "configure"
21410 cat confdefs.h >>conftest.$ac_ext
21411 cat >>conftest.$ac_ext <<_ACEOF
21412 /* end confdefs.h. */
21413 #if defined(CRAY) && ! defined(CRAY2)
21420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21421 $EGREP "webecray" >/dev/null 2>&1; then
21429 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21430 echo "${ECHO_T}$ac_cv_os_cray" >&6
21431 if test $ac_cv_os_cray = yes; then
21432 for ac_func in _getb67 GETB67 getb67; do
21433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21434 echo "$as_me:$LINENO: checking for $ac_func" >&5
21435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21436 if eval "test \"\${$as_ac_var+set}\" = set"; then
21437 echo $ECHO_N "(cached) $ECHO_C" >&6
21439 cat >conftest.$ac_ext <<_ACEOF
21440 #line $LINENO "configure"
21443 cat confdefs.h >>conftest.$ac_ext
21444 cat >>conftest.$ac_ext <<_ACEOF
21445 /* end confdefs.h. */
21446 /* System header to define __stub macros and hopefully few prototypes,
21447 which can conflict with char $ac_func (); below.
21448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21449 <limits.h> exists even on freestanding compilers. */
21451 # include <limits.h>
21453 # include <assert.h>
21455 /* Override any gcc2 internal prototype to avoid an error. */
21460 /* We use char because int might match the return type of a gcc2
21461 builtin and then its argument prototype would still apply. */
21463 /* The GNU C library defines this for functions which it implements
21464 to always fail with ENOSYS. Some functions are actually named
21465 something starting with __ and the normal name is an alias. */
21466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21469 char (*f) () = $ac_func;
21478 return f != $ac_func;
21483 rm -f conftest.$ac_objext conftest$ac_exeext
21484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21485 (eval $ac_link) 2>&5
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); } &&
21489 { ac_try='test -s conftest$ac_exeext'
21490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21491 (eval $ac_try) 2>&5
21493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494 (exit $ac_status); }; }; then
21495 eval "$as_ac_var=yes"
21497 echo "$as_me: failed program was:" >&5
21498 sed 's/^/| /' conftest.$ac_ext >&5
21500 eval "$as_ac_var=no"
21502 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21506 if test `eval echo '${'$as_ac_var'}'` = yes; then
21508 cat >>confdefs.h <<_ACEOF
21509 #define CRAY_STACKSEG_END $ac_func
21518 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21519 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21520 if test "${ac_cv_c_stack_direction+set}" = set; then
21521 echo $ECHO_N "(cached) $ECHO_C" >&6
21523 if test "$cross_compiling" = yes; then
21524 ac_cv_c_stack_direction=0
21526 cat >conftest.$ac_ext <<_ACEOF
21527 #line $LINENO "configure"
21530 cat confdefs.h >>conftest.$ac_ext
21531 cat >>conftest.$ac_ext <<_ACEOF
21532 /* end confdefs.h. */
21534 find_stack_direction ()
21536 static char *addr = 0;
21541 return find_stack_direction ();
21544 return (&dummy > addr) ? 1 : -1;
21550 exit (find_stack_direction () < 0);
21553 rm -f conftest$ac_exeext
21554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21555 (eval $ac_link) 2>&5
21557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21558 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21560 (eval $ac_try) 2>&5
21562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563 (exit $ac_status); }; }; then
21564 ac_cv_c_stack_direction=1
21566 echo "$as_me: program exited with status $ac_status" >&5
21567 echo "$as_me: failed program was:" >&5
21568 sed 's/^/| /' conftest.$ac_ext >&5
21570 ( exit $ac_status )
21571 ac_cv_c_stack_direction=-1
21573 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21576 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21577 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21579 cat >>confdefs.h <<_ACEOF
21580 #define STACK_DIRECTION $ac_cv_c_stack_direction
21586 if test $ac_cv_c_compiler_gnu = yes; then
21587 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21588 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21589 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21590 echo $ECHO_N "(cached) $ECHO_C" >&6
21592 ac_pattern="Autoconf.*'x'"
21593 cat >conftest.$ac_ext <<_ACEOF
21594 #line $LINENO "configure"
21597 cat confdefs.h >>conftest.$ac_ext
21598 cat >>conftest.$ac_ext <<_ACEOF
21599 /* end confdefs.h. */
21603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21604 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21605 ac_cv_prog_gcc_traditional=yes
21607 ac_cv_prog_gcc_traditional=no
21612 if test $ac_cv_prog_gcc_traditional = no; then
21613 cat >conftest.$ac_ext <<_ACEOF
21614 #line $LINENO "configure"
21617 cat confdefs.h >>conftest.$ac_ext
21618 cat >>conftest.$ac_ext <<_ACEOF
21619 /* end confdefs.h. */
21620 #include <termio.h>
21623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21624 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21625 ac_cv_prog_gcc_traditional=yes
21631 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21632 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21633 if test $ac_cv_prog_gcc_traditional = yes; then
21634 CC="$CC -traditional"
21638 echo "$as_me:$LINENO: checking for working memcmp" >&5
21639 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21640 if test "${ac_cv_func_memcmp_working+set}" = set; then
21641 echo $ECHO_N "(cached) $ECHO_C" >&6
21643 if test "$cross_compiling" = yes; then
21644 ac_cv_func_memcmp_working=no
21646 cat >conftest.$ac_ext <<_ACEOF
21647 #line $LINENO "configure"
21650 cat confdefs.h >>conftest.$ac_ext
21651 cat >>conftest.$ac_ext <<_ACEOF
21652 /* end confdefs.h. */
21658 /* Some versions of memcmp are not 8-bit clean. */
21659 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21660 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21663 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21664 or more and with at least one buffer not starting on a 4-byte boundary.
21665 William Lewis provided this test program. */
21670 for (i = 0; i < 4; i++)
21674 strcpy (a, "--------01111111");
21675 strcpy (b, "--------10000000");
21676 if (memcmp (a, b, 16) >= 0)
21686 rm -f conftest$ac_exeext
21687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21688 (eval $ac_link) 2>&5
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21693 (eval $ac_try) 2>&5
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); }; }; then
21697 ac_cv_func_memcmp_working=yes
21699 echo "$as_me: program exited with status $ac_status" >&5
21700 echo "$as_me: failed program was:" >&5
21701 sed 's/^/| /' conftest.$ac_ext >&5
21703 ( exit $ac_status )
21704 ac_cv_func_memcmp_working=no
21706 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21709 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21710 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21711 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21715 for ac_header in stdlib.h unistd.h
21717 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21719 echo "$as_me:$LINENO: checking for $ac_header" >&5
21720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21722 echo $ECHO_N "(cached) $ECHO_C" >&6
21724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21727 # Is the header compilable?
21728 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21729 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21730 cat >conftest.$ac_ext <<_ACEOF
21731 #line $LINENO "configure"
21734 cat confdefs.h >>conftest.$ac_ext
21735 cat >>conftest.$ac_ext <<_ACEOF
21736 /* end confdefs.h. */
21737 $ac_includes_default
21738 #include <$ac_header>
21740 rm -f conftest.$ac_objext
21741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21742 (eval $ac_compile) 2>&5
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); } &&
21746 { ac_try='test -s conftest.$ac_objext'
21747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21748 (eval $ac_try) 2>&5
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); }; }; then
21752 ac_header_compiler=yes
21754 echo "$as_me: failed program was:" >&5
21755 sed 's/^/| /' conftest.$ac_ext >&5
21757 ac_header_compiler=no
21759 rm -f conftest.$ac_objext conftest.$ac_ext
21760 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21761 echo "${ECHO_T}$ac_header_compiler" >&6
21763 # Is the header present?
21764 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21765 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21766 cat >conftest.$ac_ext <<_ACEOF
21767 #line $LINENO "configure"
21770 cat confdefs.h >>conftest.$ac_ext
21771 cat >>conftest.$ac_ext <<_ACEOF
21772 /* end confdefs.h. */
21773 #include <$ac_header>
21775 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21776 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21778 grep -v '^ *+' conftest.er1 >conftest.err
21780 cat conftest.err >&5
21781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21782 (exit $ac_status); } >/dev/null; then
21783 if test -s conftest.err; then
21784 ac_cpp_err=$ac_c_preproc_warn_flag
21791 if test -z "$ac_cpp_err"; then
21792 ac_header_preproc=yes
21794 echo "$as_me: failed program was:" >&5
21795 sed 's/^/| /' conftest.$ac_ext >&5
21797 ac_header_preproc=no
21799 rm -f conftest.err conftest.$ac_ext
21800 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21801 echo "${ECHO_T}$ac_header_preproc" >&6
21803 # So? What about this header?
21804 case $ac_header_compiler:$ac_header_preproc in
21806 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21807 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21809 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21812 ## ------------------------------------ ##
21813 ## Report this to bug-autoconf@gnu.org. ##
21814 ## ------------------------------------ ##
21817 sed "s/^/$as_me: WARNING: /" >&2
21820 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21821 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21822 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21823 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21824 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21825 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21828 ## ------------------------------------ ##
21829 ## Report this to bug-autoconf@gnu.org. ##
21830 ## ------------------------------------ ##
21833 sed "s/^/$as_me: WARNING: /" >&2
21836 echo "$as_me:$LINENO: checking for $ac_header" >&5
21837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21839 echo $ECHO_N "(cached) $ECHO_C" >&6
21841 eval "$as_ac_Header=$ac_header_preproc"
21843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21847 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21848 cat >>confdefs.h <<_ACEOF
21849 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21857 for ac_func in getpagesize
21859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21860 echo "$as_me:$LINENO: checking for $ac_func" >&5
21861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21862 if eval "test \"\${$as_ac_var+set}\" = set"; then
21863 echo $ECHO_N "(cached) $ECHO_C" >&6
21865 cat >conftest.$ac_ext <<_ACEOF
21866 #line $LINENO "configure"
21869 cat confdefs.h >>conftest.$ac_ext
21870 cat >>conftest.$ac_ext <<_ACEOF
21871 /* end confdefs.h. */
21872 /* System header to define __stub macros and hopefully few prototypes,
21873 which can conflict with char $ac_func (); below.
21874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21875 <limits.h> exists even on freestanding compilers. */
21877 # include <limits.h>
21879 # include <assert.h>
21881 /* Override any gcc2 internal prototype to avoid an error. */
21886 /* We use char because int might match the return type of a gcc2
21887 builtin and then its argument prototype would still apply. */
21889 /* The GNU C library defines this for functions which it implements
21890 to always fail with ENOSYS. Some functions are actually named
21891 something starting with __ and the normal name is an alias. */
21892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21895 char (*f) () = $ac_func;
21904 return f != $ac_func;
21909 rm -f conftest.$ac_objext conftest$ac_exeext
21910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21911 (eval $ac_link) 2>&5
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); } &&
21915 { ac_try='test -s conftest$ac_exeext'
21916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21917 (eval $ac_try) 2>&5
21919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21920 (exit $ac_status); }; }; then
21921 eval "$as_ac_var=yes"
21923 echo "$as_me: failed program was:" >&5
21924 sed 's/^/| /' conftest.$ac_ext >&5
21926 eval "$as_ac_var=no"
21928 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21932 if test `eval echo '${'$as_ac_var'}'` = yes; then
21933 cat >>confdefs.h <<_ACEOF
21934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21940 echo "$as_me:$LINENO: checking for working mmap" >&5
21941 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
21942 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
21943 echo $ECHO_N "(cached) $ECHO_C" >&6
21945 if test "$cross_compiling" = yes; then
21946 ac_cv_func_mmap_fixed_mapped=no
21948 cat >conftest.$ac_ext <<_ACEOF
21949 #line $LINENO "configure"
21952 cat confdefs.h >>conftest.$ac_ext
21953 cat >>conftest.$ac_ext <<_ACEOF
21954 /* end confdefs.h. */
21955 $ac_includes_default
21956 /* malloc might have been renamed as rpl_malloc. */
21959 /* Thanks to Mike Haertel and Jim Avera for this test.
21960 Here is a matrix of mmap possibilities:
21961 mmap private not fixed
21962 mmap private fixed at somewhere currently unmapped
21963 mmap private fixed at somewhere already mapped
21964 mmap shared not fixed
21965 mmap shared fixed at somewhere currently unmapped
21966 mmap shared fixed at somewhere already mapped
21967 For private mappings, we should verify that changes cannot be read()
21968 back from the file, nor mmap's back from the file at a different
21969 address. (There have been systems where private was not correctly
21970 implemented like the infamous i386 svr4.0, and systems where the
21971 VM page cache was not coherent with the file system buffer cache
21972 like early versions of FreeBSD and possibly contemporary NetBSD.)
21973 For shared mappings, we should conversely verify that changes get
21974 propagated back to all the places they're supposed to be.
21976 Grep wants private fixed already mapped.
21977 The main things grep needs to know about mmap are:
21978 * does it exist and is it safe to write into the mmap'd area
21979 * how to use it (BSD variants) */
21982 #include <sys/mman.h>
21984 #if !STDC_HEADERS && !HAVE_STDLIB_H
21988 /* This mess was copied from the GNU getpagesize.h. */
21989 #if !HAVE_GETPAGESIZE
21990 /* Assume that all systems that can run configure have sys/param.h. */
21991 # if !HAVE_SYS_PARAM_H
21992 # define HAVE_SYS_PARAM_H 1
21995 # ifdef _SC_PAGESIZE
21996 # define getpagesize() sysconf(_SC_PAGESIZE)
21997 # else /* no _SC_PAGESIZE */
21998 # if HAVE_SYS_PARAM_H
21999 # include <sys/param.h>
22000 # ifdef EXEC_PAGESIZE
22001 # define getpagesize() EXEC_PAGESIZE
22002 # else /* no EXEC_PAGESIZE */
22004 # define getpagesize() NBPG * CLSIZE
22007 # endif /* no CLSIZE */
22008 # else /* no NBPG */
22010 # define getpagesize() NBPC
22011 # else /* no NBPC */
22013 # define getpagesize() PAGESIZE
22014 # endif /* PAGESIZE */
22015 # endif /* no NBPC */
22016 # endif /* no NBPG */
22017 # endif /* no EXEC_PAGESIZE */
22018 # else /* no HAVE_SYS_PARAM_H */
22019 # define getpagesize() 8192 /* punt totally */
22020 # endif /* no HAVE_SYS_PARAM_H */
22021 # endif /* no _SC_PAGESIZE */
22023 #endif /* no HAVE_GETPAGESIZE */
22028 char *data, *data2, *data3;
22032 pagesize = getpagesize ();
22034 /* First, make a file with some known garbage in it. */
22035 data = (char *) malloc (pagesize);
22038 for (i = 0; i < pagesize; ++i)
22039 *(data + i) = rand ();
22041 fd = creat ("conftest.mmap", 0600);
22044 if (write (fd, data, pagesize) != pagesize)
22048 /* Next, try to mmap the file at a fixed address which already has
22049 something else allocated at it. If we can, also make sure that
22050 we see the same garbage. */
22051 fd = open ("conftest.mmap", O_RDWR);
22054 data2 = (char *) malloc (2 * pagesize);
22057 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22058 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22059 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22061 for (i = 0; i < pagesize; ++i)
22062 if (*(data + i) != *(data2 + i))
22065 /* Finally, make sure that changes to the mapped area do not
22066 percolate back to the file as seen by read(). (This is a bug on
22067 some variants of i386 svr4.0.) */
22068 for (i = 0; i < pagesize; ++i)
22069 *(data2 + i) = *(data2 + i) + 1;
22070 data3 = (char *) malloc (pagesize);
22073 if (read (fd, data3, pagesize) != pagesize)
22075 for (i = 0; i < pagesize; ++i)
22076 if (*(data + i) != *(data3 + i))
22082 rm -f conftest$ac_exeext
22083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22084 (eval $ac_link) 2>&5
22086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22089 (eval $ac_try) 2>&5
22091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22092 (exit $ac_status); }; }; then
22093 ac_cv_func_mmap_fixed_mapped=yes
22095 echo "$as_me: program exited with status $ac_status" >&5
22096 echo "$as_me: failed program was:" >&5
22097 sed 's/^/| /' conftest.$ac_ext >&5
22099 ( exit $ac_status )
22100 ac_cv_func_mmap_fixed_mapped=no
22102 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22105 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22106 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22107 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22109 cat >>confdefs.h <<\_ACEOF
22110 #define HAVE_MMAP 1
22114 rm -f conftest.mmap
22116 echo "$as_me:$LINENO: checking for mmap of files" >&5
22117 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22118 if test "${ac_cv_func_mmap_file+set}" = set; then
22119 echo $ECHO_N "(cached) $ECHO_C" >&6
22124 ac_cpp='$CPP $CPPFLAGS'
22125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22129 if test "$cross_compiling" = yes; then
22130 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22131 See \`config.log' for more details." >&5
22132 echo "$as_me: error: cannot run test program while cross compiling
22133 See \`config.log' for more details." >&2;}
22134 { (exit 1); exit 1; }; }
22136 cat >conftest.$ac_ext <<_ACEOF
22137 #line $LINENO "configure"
22140 cat confdefs.h >>conftest.$ac_ext
22141 cat >>conftest.$ac_ext <<_ACEOF
22142 /* end confdefs.h. */
22144 #ifdef HAVE_SYS_MMAN_H
22145 #include <sys/mman.h>
22148 #ifdef HAVE_SYS_TYPES_H
22149 #include <sys/types.h>
22152 #ifdef HAVE_FCNTL_H
22158 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22160 rm -f conftest$ac_exeext
22161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22162 (eval $ac_link) 2>&5
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22167 (eval $ac_try) 2>&5
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); }; }; then
22171 ac_cv_func_mmap_file=yes
22173 echo "$as_me: program exited with status $ac_status" >&5
22174 echo "$as_me: failed program was:" >&5
22175 sed 's/^/| /' conftest.$ac_ext >&5
22177 ( exit $ac_status )
22178 ac_cv_func_mmap_file=no
22180 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22183 ac_cpp='$CPP $CPPFLAGS'
22184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22190 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22191 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22192 if test "$ac_cv_func_mmap_file" = yes; then
22193 cat >>confdefs.h <<\_ACEOF
22194 #define HAVE_MMAP_FILE 1
22201 if test ${ac_cv_func_mmap_file} = "no"
22203 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22204 echo "$as_me: error: mmap() of files required but not found" >&2;}
22205 { (exit 1); exit 1; }; }
22207 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22208 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22209 if test "${ac_cv_header_mmap_anon+set}" = set; then
22210 echo $ECHO_N "(cached) $ECHO_C" >&6
22215 ac_cpp='$CPP $CPPFLAGS'
22216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22220 cat >conftest.$ac_ext <<_ACEOF
22221 #line $LINENO "configure"
22224 cat confdefs.h >>conftest.$ac_ext
22225 cat >>conftest.$ac_ext <<_ACEOF
22226 /* end confdefs.h. */
22227 #include <sys/mman.h>
22228 #include <unistd.h>
22233 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22238 rm -f conftest.$ac_objext
22239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22240 (eval $ac_compile) 2>&5
22242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243 (exit $ac_status); } &&
22244 { ac_try='test -s conftest.$ac_objext'
22245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22246 (eval $ac_try) 2>&5
22248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); }; }; then
22250 ac_cv_header_mmap_anon=yes
22252 echo "$as_me: failed program was:" >&5
22253 sed 's/^/| /' conftest.$ac_ext >&5
22255 ac_cv_header_mmap_anon=no
22257 rm -f conftest.$ac_objext conftest.$ac_ext
22259 ac_cpp='$CPP $CPPFLAGS'
22260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22266 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22267 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22268 if test "$ac_cv_header_mmap_anon" = yes; then
22269 cat >>confdefs.h <<\_ACEOF
22270 #define HAVE_MMAP_ANONYMOUS 1
22275 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22276 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22277 if test "${ac_cv_type_signal+set}" = set; then
22278 echo $ECHO_N "(cached) $ECHO_C" >&6
22280 cat >conftest.$ac_ext <<_ACEOF
22281 #line $LINENO "configure"
22284 cat confdefs.h >>conftest.$ac_ext
22285 cat >>conftest.$ac_ext <<_ACEOF
22286 /* end confdefs.h. */
22287 #include <sys/types.h>
22288 #include <signal.h>
22293 extern "C" void (*signal (int, void (*)(int)))(int);
22295 void (*signal ()) ();
22306 rm -f conftest.$ac_objext
22307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22308 (eval $ac_compile) 2>&5
22310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); } &&
22312 { ac_try='test -s conftest.$ac_objext'
22313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22314 (eval $ac_try) 2>&5
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); }; }; then
22318 ac_cv_type_signal=void
22320 echo "$as_me: failed program was:" >&5
22321 sed 's/^/| /' conftest.$ac_ext >&5
22323 ac_cv_type_signal=int
22325 rm -f conftest.$ac_objext conftest.$ac_ext
22327 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22328 echo "${ECHO_T}$ac_cv_type_signal" >&6
22330 cat >>confdefs.h <<_ACEOF
22331 #define RETSIGTYPE $ac_cv_type_signal
22344 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
22346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22347 echo "$as_me:$LINENO: checking for $ac_func" >&5
22348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22349 if eval "test \"\${$as_ac_var+set}\" = set"; then
22350 echo $ECHO_N "(cached) $ECHO_C" >&6
22352 cat >conftest.$ac_ext <<_ACEOF
22353 #line $LINENO "configure"
22356 cat confdefs.h >>conftest.$ac_ext
22357 cat >>conftest.$ac_ext <<_ACEOF
22358 /* end confdefs.h. */
22359 /* System header to define __stub macros and hopefully few prototypes,
22360 which can conflict with char $ac_func (); below.
22361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22362 <limits.h> exists even on freestanding compilers. */
22364 # include <limits.h>
22366 # include <assert.h>
22368 /* Override any gcc2 internal prototype to avoid an error. */
22373 /* We use char because int might match the return type of a gcc2
22374 builtin and then its argument prototype would still apply. */
22376 /* The GNU C library defines this for functions which it implements
22377 to always fail with ENOSYS. Some functions are actually named
22378 something starting with __ and the normal name is an alias. */
22379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22382 char (*f) () = $ac_func;
22391 return f != $ac_func;
22396 rm -f conftest.$ac_objext conftest$ac_exeext
22397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22398 (eval $ac_link) 2>&5
22400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401 (exit $ac_status); } &&
22402 { ac_try='test -s conftest$ac_exeext'
22403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22404 (eval $ac_try) 2>&5
22406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22407 (exit $ac_status); }; }; then
22408 eval "$as_ac_var=yes"
22410 echo "$as_me: failed program was:" >&5
22411 sed 's/^/| /' conftest.$ac_ext >&5
22413 eval "$as_ac_var=no"
22415 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22419 if test `eval echo '${'$as_ac_var'}'` = yes; then
22420 cat >>confdefs.h <<_ACEOF
22421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22429 echo "$as_me:$LINENO: checking for mmap" >&5
22430 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22431 if test "${ac_cv_func_mmap+set}" = set; then
22432 echo $ECHO_N "(cached) $ECHO_C" >&6
22434 cat >conftest.$ac_ext <<_ACEOF
22435 #line $LINENO "configure"
22438 cat confdefs.h >>conftest.$ac_ext
22439 cat >>conftest.$ac_ext <<_ACEOF
22440 /* end confdefs.h. */
22441 /* System header to define __stub macros and hopefully few prototypes,
22442 which can conflict with char mmap (); below.
22443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22444 <limits.h> exists even on freestanding compilers. */
22446 # include <limits.h>
22448 # include <assert.h>
22450 /* Override any gcc2 internal prototype to avoid an error. */
22455 /* We use char because int might match the return type of a gcc2
22456 builtin and then its argument prototype would still apply. */
22458 /* The GNU C library defines this for functions which it implements
22459 to always fail with ENOSYS. Some functions are actually named
22460 something starting with __ and the normal name is an alias. */
22461 #if defined (__stub_mmap) || defined (__stub___mmap)
22464 char (*f) () = mmap;
22478 rm -f conftest.$ac_objext conftest$ac_exeext
22479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22480 (eval $ac_link) 2>&5
22482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483 (exit $ac_status); } &&
22484 { ac_try='test -s conftest$ac_exeext'
22485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22486 (eval $ac_try) 2>&5
22488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489 (exit $ac_status); }; }; then
22490 ac_cv_func_mmap=yes
22492 echo "$as_me: failed program was:" >&5
22493 sed 's/^/| /' conftest.$ac_ext >&5
22497 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22499 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22500 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22501 if test $ac_cv_func_mmap = yes; then
22504 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22505 echo "$as_me: error: Function mmap() required but not found" >&2;}
22506 { (exit 1); exit 1; }; }
22509 echo "$as_me:$LINENO: checking for mprotect" >&5
22510 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22511 if test "${ac_cv_func_mprotect+set}" = set; then
22512 echo $ECHO_N "(cached) $ECHO_C" >&6
22514 cat >conftest.$ac_ext <<_ACEOF
22515 #line $LINENO "configure"
22518 cat confdefs.h >>conftest.$ac_ext
22519 cat >>conftest.$ac_ext <<_ACEOF
22520 /* end confdefs.h. */
22521 /* System header to define __stub macros and hopefully few prototypes,
22522 which can conflict with char mprotect (); below.
22523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22524 <limits.h> exists even on freestanding compilers. */
22526 # include <limits.h>
22528 # include <assert.h>
22530 /* Override any gcc2 internal prototype to avoid an error. */
22535 /* We use char because int might match the return type of a gcc2
22536 builtin and then its argument prototype would still apply. */
22538 /* The GNU C library defines this for functions which it implements
22539 to always fail with ENOSYS. Some functions are actually named
22540 something starting with __ and the normal name is an alias. */
22541 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22544 char (*f) () = mprotect;
22553 return f != mprotect;
22558 rm -f conftest.$ac_objext conftest$ac_exeext
22559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22560 (eval $ac_link) 2>&5
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); } &&
22564 { ac_try='test -s conftest$ac_exeext'
22565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22566 (eval $ac_try) 2>&5
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); }; }; then
22570 ac_cv_func_mprotect=yes
22572 echo "$as_me: failed program was:" >&5
22573 sed 's/^/| /' conftest.$ac_ext >&5
22575 ac_cv_func_mprotect=no
22577 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22579 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22580 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22581 if test $ac_cv_func_mprotect = yes; then
22584 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22585 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22586 { (exit 1); exit 1; }; }
22591 # Check whether --enable-purify or --disable-purify was given.
22592 if test "${enable_purify+set}" = set; then
22593 enableval="$enable_purify"
22598 if test ${enableval} = "no"
22603 ENABLE_PURIFY=ENABLE_PURIFY=1
22607 # Check whether --enable-optimized or --disable-optimized was given.
22608 if test "${enable_optimized+set}" = set; then
22609 enableval="$enable_optimized"
22614 if test ${enableval} = "no"
22619 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22623 # Check whether --enable-spec or --disable-spec was given.
22624 if test "${enable_spec+set}" = set; then
22625 enableval="$enable_spec"
22630 if test ${enableval} = "no"
22635 USE_SPEC=USE_SPEC=1
22639 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22640 if test "${enable_precompiled_bytecode+set}" = set; then
22641 enableval="$enable_precompiled_bytecode"
22646 if test ${enableval} = "no"
22651 UPB=USE_PRECOMPILED_BYTECODE=1
22656 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22657 if test "${enable_llc_diffs+set}" = set; then
22658 enableval="$enable_llc_diffs"
22663 if test ${enableval} = "no"
22665 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22672 # Check whether --enable-jit or --disable-jit was given.
22673 if test "${enable_jit+set}" = set; then
22674 enableval="$enable_jit"
22680 if test ${enableval} = "no"
22687 JIT=TARGET_HAS_JIT=1
22691 JIT=TARGET_HAS_JIT=1
22703 # Check whether --with-spec or --without-spec was given.
22704 if test "${with_spec+set}" = set; then
22705 withval="$with_spec"
22709 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22714 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22715 if test "${with_llvmgccdir+set}" = set; then
22716 withval="$with_llvmgccdir"
22717 LLVMGCCDIR=$withval
22722 # Check whether --with-bcrepos or --without-bcrepos was given.
22723 if test "${with_bcrepos+set}" = set; then
22724 withval="$with_bcrepos"
22728 BCR=/home/vadve/lattner/LLVMPrograms
22733 # Check whether --with-papi or --without-papi was given.
22734 if test "${with_papi+set}" = set; then
22735 withval="$with_papi"
22739 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22744 # Check whether --with-purify or --without-purify was given.
22745 if test "${with_purify+set}" = set; then
22746 withval="$with_purify"
22752 ac_config_files="$ac_config_files Makefile.config"
22753 cat >confcache <<\_ACEOF
22754 # This file is a shell script that caches the results of configure
22755 # tests run on this system so they can be shared between configure
22756 # scripts and configure runs, see configure's option --config-cache.
22757 # It is not useful on other systems. If it contains results you don't
22758 # want to keep, you may remove or edit it.
22760 # config.status only pays attention to the cache file if you give it
22761 # the --recheck option to rerun configure.
22763 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22764 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22765 # following values.
22769 # The following way of writing the cache mishandles newlines in values,
22770 # but we know of no workaround that is simple, portable, and efficient.
22771 # So, don't put newlines in cache variables' values.
22772 # Ultrix sh set writes to stderr and can't be redirected directly,
22773 # and sets the high bit in the cache file unless we assign to the vars.
22776 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22778 # `set' does not quote correctly, so add quotes (double-quote
22779 # substitution turns \\\\ into \\, and sed turns \\ into \).
22782 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22785 # `set' quotes correctly as required by POSIX, so do not add quotes.
22787 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22794 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22796 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22798 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22799 if test -w $cache_file; then
22800 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22801 cat confcache >$cache_file
22803 echo "not updating unwritable cache $cache_file"
22808 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22809 # Let make expand exec_prefix.
22810 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22812 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22813 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22814 # trailing colons and then remove the whole line if VPATH becomes empty
22815 # (actually we leave an empty line to preserve line numbers).
22816 if test "x$srcdir" = x.; then
22817 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22818 s/:*\$(srcdir):*/:/;
22819 s/:*\${srcdir}:*/:/;
22821 s/^\([^=]*=[ ]*\):*/\1/;
22827 DEFS=-DHAVE_CONFIG_H
22831 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22832 # 1. Remove the extension, and $U if already installed.
22833 ac_i=`echo "$ac_i" |
22834 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22836 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22837 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22839 LIBOBJS=$ac_libobjs
22841 LTLIBOBJS=$ac_ltlibobjs
22845 : ${CONFIG_STATUS=./config.status}
22846 ac_clean_files_save=$ac_clean_files
22847 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22848 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22849 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22850 cat >$CONFIG_STATUS <<_ACEOF
22852 # Generated by $as_me.
22853 # Run this file to recreate the current configuration.
22854 # Compiler output produced by configure, useful for debugging
22855 # configure, is in config.log if it exists.
22858 ac_cs_recheck=false
22860 SHELL=\${CONFIG_SHELL-$SHELL}
22863 cat >>$CONFIG_STATUS <<\_ACEOF
22864 ## --------------------- ##
22865 ## M4sh Initialization. ##
22866 ## --------------------- ##
22868 # Be Bourne compatible
22869 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22872 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22873 # is contrary to our usage. Disable this feature.
22874 alias -g '${1+"$@"}'='"$@"'
22875 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22879 # Support unset when possible.
22880 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22887 # Work around bugs in pre-3.0 UWIN ksh.
22888 $as_unset ENV MAIL MAILPATH
22895 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22896 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22897 LC_TELEPHONE LC_TIME
22899 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
22900 eval $as_var=C; export $as_var
22906 # Required to use basename.
22907 if expr a : '\(a\)' >/dev/null 2>&1; then
22913 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
22914 as_basename=basename
22920 # Name of the executable.
22921 as_me=`$as_basename "$0" ||
22922 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22923 X"$0" : 'X\(//\)$' \| \
22924 X"$0" : 'X\(/\)$' \| \
22925 . : '\(.\)' 2>/dev/null ||
22927 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22928 /^X\/\(\/\/\)$/{ s//\1/; q; }
22929 /^X\/\(\/\).*/{ s//\1/; q; }
22933 # PATH needs CR, and LINENO needs CR and PATH.
22934 # Avoid depending upon Character Ranges.
22935 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22936 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22937 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22938 as_cr_digits='0123456789'
22939 as_cr_alnum=$as_cr_Letters$as_cr_digits
22941 # The user is always right.
22942 if test "${PATH_SEPARATOR+set}" != set; then
22943 echo "#! /bin/sh" >conf$$.sh
22944 echo "exit 0" >>conf$$.sh
22946 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22955 as_lineno_1=$LINENO
22956 as_lineno_2=$LINENO
22957 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22958 test "x$as_lineno_1" != "x$as_lineno_2" &&
22959 test "x$as_lineno_3" = "x$as_lineno_2" || {
22960 # Find who we are. Look in the path if we contain no path at all
22963 *[\\/]* ) as_myself=$0 ;;
22964 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22965 for as_dir in $PATH
22968 test -z "$as_dir" && as_dir=.
22969 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22974 # We did not find ourselves, most probably we were run as `sh COMMAND'
22975 # in which case we are not to be found in the path.
22976 if test "x$as_myself" = x; then
22979 if test ! -f "$as_myself"; then
22980 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22981 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22982 { (exit 1); exit 1; }; }
22984 case $CONFIG_SHELL in
22986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22987 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22990 test -z "$as_dir" && as_dir=.
22991 for as_base in sh bash ksh sh5; do
22994 if ("$as_dir/$as_base" -c '
22995 as_lineno_1=$LINENO
22996 as_lineno_2=$LINENO
22997 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22998 test "x$as_lineno_1" != "x$as_lineno_2" &&
22999 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23000 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23001 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23002 CONFIG_SHELL=$as_dir/$as_base
23003 export CONFIG_SHELL
23004 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23012 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23013 # uniformly replaced by the line number. The first 'sed' inserts a
23014 # line-number line before each line; the second 'sed' does the real
23015 # work. The second script uses 'N' to pair each line-number line
23016 # with the numbered line, and appends trailing '-' during
23017 # substitution so that $LINENO is not a special case at line end.
23018 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23019 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23020 sed '=' <$as_myself |
23025 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23028 s,^['$as_cr_digits']*\n,,
23029 ' >$as_me.lineno &&
23030 chmod +x $as_me.lineno ||
23031 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23032 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23033 { (exit 1); exit 1; }; }
23035 # Don't try to exec as it changes $[0], causing all sort of problems
23036 # (the dirname of $[0] is not the place where we might find the
23037 # original and so on. Autoconf is especially sensible to this).
23039 # Exit status is that of the last command.
23044 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23045 *c*,-n*) ECHO_N= ECHO_C='
23047 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23048 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23051 if expr a : '\(a\)' >/dev/null 2>&1; then
23057 rm -f conf$$ conf$$.exe conf$$.file
23059 if ln -s conf$$.file conf$$ 2>/dev/null; then
23060 # We could just check for DJGPP; but this test a) works b) is more generic
23061 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23062 if test -f conf$$.exe; then
23063 # Don't use ln at all; we don't have any links
23068 elif ln conf$$.file conf$$ 2>/dev/null; then
23073 rm -f conf$$ conf$$.exe conf$$.file
23075 if mkdir -p . 2>/dev/null; then
23081 as_executable_p="test -f"
23083 # Sed expression to map a string onto a valid CPP name.
23084 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23086 # Sed expression to map a string onto a valid variable name.
23087 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23091 # We need space, tab and new line, in precisely that order.
23101 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23102 # report actual input values of CONFIG_FILES etc. instead of their
23103 # values after options handling. Logging --version etc. is OK.
23107 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23108 ## Running $as_me. ##
23113 This file was extended by [LLVM] $as_me [1.0], which was
23114 generated by GNU Autoconf 2.57. Invocation command line was
23116 CONFIG_FILES = $CONFIG_FILES
23117 CONFIG_HEADERS = $CONFIG_HEADERS
23118 CONFIG_LINKS = $CONFIG_LINKS
23119 CONFIG_COMMANDS = $CONFIG_COMMANDS
23123 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23127 # Files that config.status was made for.
23128 if test -n "$ac_config_files"; then
23129 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23132 if test -n "$ac_config_headers"; then
23133 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23136 if test -n "$ac_config_links"; then
23137 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23140 if test -n "$ac_config_commands"; then
23141 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23144 cat >>$CONFIG_STATUS <<\_ACEOF
23147 \`$as_me' instantiates files from templates according to the
23148 current configuration.
23150 Usage: $0 [OPTIONS] [FILE]...
23152 -h, --help print this help, then exit
23153 -V, --version print version number, then exit
23154 -q, --quiet do not print progress messages
23155 -d, --debug don't remove temporary files
23156 --recheck update $as_me by reconfiguring in the same conditions
23157 --file=FILE[:TEMPLATE]
23158 instantiate the configuration file FILE
23159 --header=FILE[:TEMPLATE]
23160 instantiate the configuration header FILE
23162 Configuration files:
23165 Configuration headers:
23168 Configuration commands:
23171 Report bugs to <bug-autoconf@gnu.org>."
23174 cat >>$CONFIG_STATUS <<_ACEOF
23176 [LLVM] config.status [1.0]
23177 configured by $0, generated by GNU Autoconf 2.57,
23178 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23180 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23181 Free Software Foundation, Inc.
23182 This config.status script is free software; the Free Software Foundation
23183 gives unlimited permission to copy, distribute and modify it."
23188 cat >>$CONFIG_STATUS <<\_ACEOF
23189 # If no file are specified by the user, then we need to provide default
23190 # value. By we need to know if files were specified by the user.
23196 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23197 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23205 *) # This is not an option, so the user has probably given explicit
23208 ac_need_defaults=false;;
23212 # Handling of the options.
23214 cat >>$CONFIG_STATUS <<\_ACEOF
23215 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23217 --version | --vers* | -V )
23218 echo "$ac_cs_version"; exit 0 ;;
23220 # Conflict between --help and --header
23221 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23222 Try \`$0 --help' for more information." >&5
23223 echo "$as_me: error: ambiguous option: $1
23224 Try \`$0 --help' for more information." >&2;}
23225 { (exit 1); exit 1; }; };;
23226 --help | --hel | -h )
23227 echo "$ac_cs_usage"; exit 0 ;;
23228 --debug | --d* | -d )
23230 --file | --fil | --fi | --f )
23232 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23233 ac_need_defaults=false;;
23234 --header | --heade | --head | --hea )
23236 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23237 ac_need_defaults=false;;
23238 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23239 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23242 # This is an error.
23243 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23244 Try \`$0 --help' for more information." >&5
23245 echo "$as_me: error: unrecognized option: $1
23246 Try \`$0 --help' for more information." >&2;}
23247 { (exit 1); exit 1; }; } ;;
23249 *) ac_config_targets="$ac_config_targets $1" ;;
23255 ac_configure_extra_args=
23257 if $ac_cs_silent; then
23259 ac_configure_extra_args="$ac_configure_extra_args --silent"
23263 cat >>$CONFIG_STATUS <<_ACEOF
23264 if \$ac_cs_recheck; then
23265 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23266 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23271 cat >>$CONFIG_STATUS <<_ACEOF
23273 # INIT-COMMANDS section.
23276 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23277 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23278 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23279 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23280 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23281 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23282 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23283 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23284 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23285 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23286 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23287 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23288 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23289 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23290 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23291 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23292 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23293 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23294 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23295 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23296 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23297 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23298 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23299 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23300 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23301 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23302 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23303 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23304 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23305 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23306 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23307 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23308 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23309 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23310 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23311 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23312 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23313 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23314 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23315 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libexception/Makefile`
23316 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23317 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23318 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23319 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23320 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23321 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23322 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23323 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23324 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23325 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23326 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23327 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23328 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23329 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23330 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23331 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23332 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23333 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23334 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23335 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23336 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23337 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23338 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23339 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23340 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23341 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23342 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23343 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23344 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23345 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23346 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23347 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23348 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23349 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23350 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23351 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23352 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23353 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23354 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23355 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23356 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23357 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23358 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23359 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23360 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23361 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23362 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23363 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23364 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23365 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23366 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23367 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23368 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23369 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23370 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23371 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23372 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23373 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23374 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23375 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23376 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23377 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23378 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23379 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23380 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23381 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23382 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23383 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23384 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23385 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23386 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23387 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23388 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23389 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23390 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23399 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23400 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23401 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23402 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23403 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23404 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23405 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23415 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23416 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23417 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23418 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23419 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23420 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23421 ${srcdir}/autoconf/mkinstalldirs `dirname tools/as/Makefile`
23422 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23423 ${srcdir}/autoconf/mkinstalldirs `dirname tools/dis/Makefile`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname tools/link/Makefile`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23456 cat >>$CONFIG_STATUS <<\_ACEOF
23457 for ac_config_target in $ac_config_targets
23459 case "$ac_config_target" in
23460 # Handling of arguments.
23461 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23462 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23463 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23464 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23465 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23466 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23467 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23468 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23469 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23470 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23471 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23472 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23473 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23474 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23475 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23476 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23477 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23478 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23479 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23480 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23481 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23482 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23483 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23484 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23485 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23486 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23487 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23488 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23489 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23490 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23491 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23492 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23493 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23494 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23495 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23496 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23497 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23498 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23499 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23500 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23501 "runtime/GCCLibraries/libexception/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libexception/Makefile" ;;
23502 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23503 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23504 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23505 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23506 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23507 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23508 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23509 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23510 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23511 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23512 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23513 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23514 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23515 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23516 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23517 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23518 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23519 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23520 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23521 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23522 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23523 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23524 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23525 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23526 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23527 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23528 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23529 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23530 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23531 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23532 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23533 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23534 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23535 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23536 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23537 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23538 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23539 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23540 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23541 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23542 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23543 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23544 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23545 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23546 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23547 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23548 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23549 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23550 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23551 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23552 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23553 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23554 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23555 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23556 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23557 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23558 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23559 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23560 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23561 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23562 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23563 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23564 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23565 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23566 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23567 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23568 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23569 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23570 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23571 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23572 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23573 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23574 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23575 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23576 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23577 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23578 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23579 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23580 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23581 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23582 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23583 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23584 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23585 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23586 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23587 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23588 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23589 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23590 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23591 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23592 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23593 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23594 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23595 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23596 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23597 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23598 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23599 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23600 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23601 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23602 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23603 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23604 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23605 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23606 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23607 "tools/as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/as/Makefile" ;;
23608 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23609 "tools/dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/dis/Makefile" ;;
23610 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23611 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23612 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23613 "tools/link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/link/Makefile" ;;
23614 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23615 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23616 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23617 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23618 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23619 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23620 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23621 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23622 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23623 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23624 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23625 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23626 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23627 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23628 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23629 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23630 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23631 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23632 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23633 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23634 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23635 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23636 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23637 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23638 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23639 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23640 { (exit 1); exit 1; }; };;
23644 # If the user did not use the arguments to specify the items to instantiate,
23645 # then the envvar interface is used. Set only those that are not.
23646 # We use the long form for the default assignment because of an extremely
23647 # bizarre bug on SunOS 4.1.3.
23648 if $ac_need_defaults; then
23649 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23650 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23651 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23654 # Have a temporary directory for convenience. Make it in the build tree
23655 # simply because there is no reason to put it here, and in addition,
23656 # creating and moving files from /tmp can sometimes cause problems.
23657 # Create a temporary directory, and hook for its removal unless debugging.
23660 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23661 trap '{ (exit 1); exit 1; }' 1 2 13 15
23664 # Create a (secure) tmp directory for tmp files.
23667 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23668 test -n "$tmp" && test -d "$tmp"
23671 tmp=./confstat$$-$RANDOM
23672 (umask 077 && mkdir $tmp)
23675 echo "$me: cannot create a temporary directory in ." >&2
23676 { (exit 1); exit 1; }
23681 cat >>$CONFIG_STATUS <<_ACEOF
23684 # CONFIG_FILES section.
23687 # No need to generate the scripts if there are no CONFIG_FILES.
23688 # This happens for instance when ./config.status config.h
23689 if test -n "\$CONFIG_FILES"; then
23690 # Protect against being on the right side of a sed subst in config.status.
23691 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23692 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23693 s,@SHELL@,$SHELL,;t t
23694 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23695 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23696 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23697 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23698 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23699 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23700 s,@exec_prefix@,$exec_prefix,;t t
23701 s,@prefix@,$prefix,;t t
23702 s,@program_transform_name@,$program_transform_name,;t t
23703 s,@bindir@,$bindir,;t t
23704 s,@sbindir@,$sbindir,;t t
23705 s,@libexecdir@,$libexecdir,;t t
23706 s,@datadir@,$datadir,;t t
23707 s,@sysconfdir@,$sysconfdir,;t t
23708 s,@sharedstatedir@,$sharedstatedir,;t t
23709 s,@localstatedir@,$localstatedir,;t t
23710 s,@libdir@,$libdir,;t t
23711 s,@includedir@,$includedir,;t t
23712 s,@oldincludedir@,$oldincludedir,;t t
23713 s,@infodir@,$infodir,;t t
23714 s,@mandir@,$mandir,;t t
23715 s,@build_alias@,$build_alias,;t t
23716 s,@host_alias@,$host_alias,;t t
23717 s,@target_alias@,$target_alias,;t t
23718 s,@DEFS@,$DEFS,;t t
23719 s,@ECHO_C@,$ECHO_C,;t t
23720 s,@ECHO_N@,$ECHO_N,;t t
23721 s,@ECHO_T@,$ECHO_T,;t t
23722 s,@LIBS@,$LIBS,;t t
23723 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23724 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23725 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23726 s,@build@,$build,;t t
23727 s,@build_cpu@,$build_cpu,;t t
23728 s,@build_vendor@,$build_vendor,;t t
23729 s,@build_os@,$build_os,;t t
23730 s,@host@,$host,;t t
23731 s,@host_cpu@,$host_cpu,;t t
23732 s,@host_vendor@,$host_vendor,;t t
23733 s,@host_os@,$host_os,;t t
23734 s,@target@,$target,;t t
23735 s,@target_cpu@,$target_cpu,;t t
23736 s,@target_vendor@,$target_vendor,;t t
23737 s,@target_os@,$target_os,;t t
23739 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23740 s,@ARCH@,$ARCH,;t t
23742 s,@CXXFLAGS@,$CXXFLAGS,;t t
23743 s,@LDFLAGS@,$LDFLAGS,;t t
23744 s,@CPPFLAGS@,$CPPFLAGS,;t t
23745 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23746 s,@EXEEXT@,$EXEEXT,;t t
23747 s,@OBJEXT@,$OBJEXT,;t t
23749 s,@CFLAGS@,$CFLAGS,;t t
23750 s,@ac_ct_CC@,$ac_ct_CC,;t t
23752 s,@ifGNUmake@,$ifGNUmake,;t t
23754 s,@LEXLIB@,$LEXLIB,;t t
23755 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23756 s,@YACC@,$YACC,;t t
23757 s,@EGREP@,$EGREP,;t t
23758 s,@LN_S@,$LN_S,;t t
23759 s,@ECHO@,$ECHO,;t t
23761 s,@ac_ct_AR@,$ac_ct_AR,;t t
23762 s,@RANLIB@,$RANLIB,;t t
23763 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23764 s,@STRIP@,$STRIP,;t t
23765 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23766 s,@CXXCPP@,$CXXCPP,;t t
23768 s,@FFLAGS@,$FFLAGS,;t t
23769 s,@ac_ct_F77@,$ac_ct_F77,;t t
23770 s,@LIBTOOL@,$LIBTOOL,;t t
23771 s,@RPWD@,$RPWD,;t t
23774 s,@MKDIR@,$MKDIR,;t t
23775 s,@DATE@,$DATE,;t t
23778 s,@ETAGS@,$ETAGS,;t t
23779 s,@PURIFY@,$PURIFY,;t t
23780 s,@PYTHON@,$PYTHON,;t t
23781 s,@QMTEST@,$QMTEST,;t t
23782 s,@ALLOCA@,$ALLOCA,;t t
23783 s,@LIBOBJS@,$LIBOBJS,;t t
23784 s,@MMAP_FILE@,$MMAP_FILE,;t t
23785 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23786 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23787 s,@USE_SPEC@,$USE_SPEC,;t t
23789 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23791 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23793 s,@PAPIDIR@,$PAPIDIR,;t t
23794 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23799 cat >>$CONFIG_STATUS <<\_ACEOF
23800 # Split the substitutions into bite-sized pieces for seds with
23801 # small command number limits, like on Digital OSF/1 and HP-UX.
23802 ac_max_sed_lines=48
23803 ac_sed_frag=1 # Number of current file.
23804 ac_beg=1 # First line for current file.
23805 ac_end=$ac_max_sed_lines # Line after last line for current file.
23808 while $ac_more_lines; do
23809 if test $ac_beg -gt 1; then
23810 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23812 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23814 if test ! -s $tmp/subs.frag; then
23815 ac_more_lines=false
23817 # The purpose of the label and of the branching condition is to
23818 # speed up the sed processing (if there are no `@' at all, there
23819 # is no need to browse any of the substitutions).
23820 # These are the two extra sed commands mentioned above.
23822 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23823 if test -z "$ac_sed_cmds"; then
23824 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23826 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23828 ac_sed_frag=`expr $ac_sed_frag + 1`
23830 ac_end=`expr $ac_end + $ac_max_sed_lines`
23833 if test -z "$ac_sed_cmds"; then
23836 fi # test -n "$CONFIG_FILES"
23839 cat >>$CONFIG_STATUS <<\_ACEOF
23840 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23841 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23843 - | *:- | *:-:* ) # input from stdin
23845 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23846 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23847 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23848 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23849 * ) ac_file_in=$ac_file.in ;;
23852 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23853 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23854 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23855 X"$ac_file" : 'X\(//\)[^/]' \| \
23856 X"$ac_file" : 'X\(//\)$' \| \
23857 X"$ac_file" : 'X\(/\)' \| \
23858 . : '\(.\)' 2>/dev/null ||
23860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23861 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23862 /^X\(\/\/\)$/{ s//\1/; q; }
23863 /^X\(\/\).*/{ s//\1/; q; }
23865 { if $as_mkdir_p; then
23870 while test ! -d "$as_dir"; do
23871 as_dirs="$as_dir $as_dirs"
23872 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23873 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23874 X"$as_dir" : 'X\(//\)[^/]' \| \
23875 X"$as_dir" : 'X\(//\)$' \| \
23876 X"$as_dir" : 'X\(/\)' \| \
23877 . : '\(.\)' 2>/dev/null ||
23879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23880 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23881 /^X\(\/\/\)$/{ s//\1/; q; }
23882 /^X\(\/\).*/{ s//\1/; q; }
23885 test ! -n "$as_dirs" || mkdir $as_dirs
23886 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23887 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23888 { (exit 1); exit 1; }; }; }
23892 if test "$ac_dir" != .; then
23893 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23894 # A "../" for each directory in $ac_dir_suffix.
23895 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23897 ac_dir_suffix= ac_top_builddir=
23901 .) # No --srcdir option. We are building in place.
23903 if test -z "$ac_top_builddir"; then
23906 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23908 [\\/]* | ?:[\\/]* ) # Absolute path.
23909 ac_srcdir=$srcdir$ac_dir_suffix;
23910 ac_top_srcdir=$srcdir ;;
23911 *) # Relative path.
23912 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23913 ac_top_srcdir=$ac_top_builddir$srcdir ;;
23915 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
23917 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
23918 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
23919 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
23920 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
23924 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23925 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23928 if test x"$ac_file" != x-; then
23929 { echo "$as_me:$LINENO: creating $ac_file" >&5
23930 echo "$as_me: creating $ac_file" >&6;}
23933 # Let's still pretend it is `configure' which instantiates (i.e., don't
23934 # use $as_me), people would be surprised to read:
23935 # /* config.h. Generated by config.status. */
23936 if test x"$ac_file" = x-; then
23939 configure_input="$ac_file. "
23941 configure_input=$configure_input"Generated from `echo $ac_file_in |
23942 sed 's,.*/,,'` by configure."
23944 # First look for the input files in the build tree, otherwise in the
23946 ac_file_inputs=`IFS=:
23947 for f in $ac_file_in; do
23949 -) echo $tmp/stdin ;;
23951 # Absolute (can't be DOS-style, as IFS=:)
23952 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23953 echo "$as_me: error: cannot find input file: $f" >&2;}
23954 { (exit 1); exit 1; }; }
23957 if test -f "$f"; then
23960 elif test -f "$srcdir/$f"; then
23965 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23966 echo "$as_me: error: cannot find input file: $f" >&2;}
23967 { (exit 1); exit 1; }; }
23970 done` || { (exit 1); exit 1; }
23972 cat >>$CONFIG_STATUS <<_ACEOF
23976 cat >>$CONFIG_STATUS <<\_ACEOF
23978 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23979 s,@configure_input@,$configure_input,;t t
23980 s,@srcdir@,$ac_srcdir,;t t
23981 s,@abs_srcdir@,$ac_abs_srcdir,;t t
23982 s,@top_srcdir@,$ac_top_srcdir,;t t
23983 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23984 s,@builddir@,$ac_builddir,;t t
23985 s,@abs_builddir@,$ac_abs_builddir,;t t
23986 s,@top_builddir@,$ac_top_builddir,;t t
23987 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23988 s,@INSTALL@,$ac_INSTALL,;t t
23989 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23991 if test x"$ac_file" != x-; then
23992 mv $tmp/out $ac_file
24000 cat >>$CONFIG_STATUS <<\_ACEOF
24003 # CONFIG_HEADER section.
24006 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24007 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24009 # ac_d sets the value in "#define NAME VALUE" lines.
24010 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24011 ac_dB='[ ].*$,\1#\2'
24014 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24015 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24016 ac_uB='$,\1#\2define\3'
24020 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24021 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24023 - | *:- | *:-:* ) # input from stdin
24025 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24026 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24027 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24028 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24029 * ) ac_file_in=$ac_file.in ;;
24032 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24033 echo "$as_me: creating $ac_file" >&6;}
24035 # First look for the input files in the build tree, otherwise in the
24037 ac_file_inputs=`IFS=:
24038 for f in $ac_file_in; do
24040 -) echo $tmp/stdin ;;
24042 # Absolute (can't be DOS-style, as IFS=:)
24043 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24044 echo "$as_me: error: cannot find input file: $f" >&2;}
24045 { (exit 1); exit 1; }; }
24048 if test -f "$f"; then
24051 elif test -f "$srcdir/$f"; then
24056 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24057 echo "$as_me: error: cannot find input file: $f" >&2;}
24058 { (exit 1); exit 1; }; }
24061 done` || { (exit 1); exit 1; }
24062 # Remove the trailing spaces.
24063 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24067 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24068 # `conftest.undefs', that substitutes the proper values into
24069 # config.h.in to produce config.h. The first handles `#define'
24070 # templates, and the second `#undef' templates.
24071 # And first: Protect against being on the right side of a sed subst in
24072 # config.status. Protect against being in an unquoted here document
24073 # in config.status.
24074 rm -f conftest.defines conftest.undefs
24075 # Using a here document instead of a string reduces the quoting nightmare.
24076 # Putting comments in sed scripts is not portable.
24078 # `end' is used to avoid that the second main sed command (meant for
24079 # 0-ary CPP macros) applies to n-ary macro definitions.
24080 # See the Autoconf documentation for `clear'.
24081 cat >confdef2sed.sed <<\_ACEOF
24086 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24088 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24091 # If some macros were called several times there might be several times
24092 # the same #defines, which is useless. Nevertheless, we may not want to
24093 # sort them, since we want the *last* AC-DEFINE to be honored.
24094 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24095 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24096 rm -f confdef2sed.sed
24098 # This sed command replaces #undef with comments. This is necessary, for
24099 # example, in the case of _POSIX_SOURCE, which is predefined and required
24100 # on some systems where configure will not decide to define it.
24101 cat >>conftest.undefs <<\_ACEOF
24102 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24105 # Break up conftest.defines because some shells have a limit on the size
24106 # of here documents, and old seds have small limits too (100 cmds).
24107 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24108 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24109 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24110 echo ' :' >>$CONFIG_STATUS
24111 rm -f conftest.tail
24112 while grep . conftest.defines >/dev/null
24114 # Write a limited-size here document to $tmp/defines.sed.
24115 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24116 # Speed up: don't consider the non `#define' lines.
24117 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24118 # Work around the forget-to-reset-the-flag bug.
24119 echo 't clr' >>$CONFIG_STATUS
24120 echo ': clr' >>$CONFIG_STATUS
24121 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24123 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24125 mv $tmp/out $tmp/in
24127 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24128 rm -f conftest.defines
24129 mv conftest.tail conftest.defines
24131 rm -f conftest.defines
24132 echo ' fi # grep' >>$CONFIG_STATUS
24133 echo >>$CONFIG_STATUS
24135 # Break up conftest.undefs because some shells have a limit on the size
24136 # of here documents, and old seds have small limits too (100 cmds).
24137 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24138 rm -f conftest.tail
24139 while grep . conftest.undefs >/dev/null
24141 # Write a limited-size here document to $tmp/undefs.sed.
24142 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24143 # Speed up: don't consider the non `#undef'
24144 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24145 # Work around the forget-to-reset-the-flag bug.
24146 echo 't clr' >>$CONFIG_STATUS
24147 echo ': clr' >>$CONFIG_STATUS
24148 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24150 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24152 mv $tmp/out $tmp/in
24154 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24155 rm -f conftest.undefs
24156 mv conftest.tail conftest.undefs
24158 rm -f conftest.undefs
24160 cat >>$CONFIG_STATUS <<\_ACEOF
24161 # Let's still pretend it is `configure' which instantiates (i.e., don't
24162 # use $as_me), people would be surprised to read:
24163 # /* config.h. Generated by config.status. */
24164 if test x"$ac_file" = x-; then
24165 echo "/* Generated by configure. */" >$tmp/config.h
24167 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24169 cat $tmp/in >>$tmp/config.h
24171 if test x"$ac_file" != x-; then
24172 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24173 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24174 echo "$as_me: $ac_file is unchanged" >&6;}
24176 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24177 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24178 X"$ac_file" : 'X\(//\)[^/]' \| \
24179 X"$ac_file" : 'X\(//\)$' \| \
24180 X"$ac_file" : 'X\(/\)' \| \
24181 . : '\(.\)' 2>/dev/null ||
24183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24184 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24185 /^X\(\/\/\)$/{ s//\1/; q; }
24186 /^X\(\/\).*/{ s//\1/; q; }
24188 { if $as_mkdir_p; then
24193 while test ! -d "$as_dir"; do
24194 as_dirs="$as_dir $as_dirs"
24195 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24196 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24197 X"$as_dir" : 'X\(//\)[^/]' \| \
24198 X"$as_dir" : 'X\(//\)$' \| \
24199 X"$as_dir" : 'X\(/\)' \| \
24200 . : '\(.\)' 2>/dev/null ||
24202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24203 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24204 /^X\(\/\/\)$/{ s//\1/; q; }
24205 /^X\(\/\).*/{ s//\1/; q; }
24208 test ! -n "$as_dirs" || mkdir $as_dirs
24209 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24210 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24211 { (exit 1); exit 1; }; }; }
24214 mv $tmp/config.h $ac_file
24218 rm -f $tmp/config.h
24222 cat >>$CONFIG_STATUS <<\_ACEOF
24225 # CONFIG_COMMANDS section.
24227 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24228 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24229 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24230 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24231 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24232 X"$ac_dest" : 'X\(//\)[^/]' \| \
24233 X"$ac_dest" : 'X\(//\)$' \| \
24234 X"$ac_dest" : 'X\(/\)' \| \
24235 . : '\(.\)' 2>/dev/null ||
24237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24238 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24239 /^X\(\/\/\)$/{ s//\1/; q; }
24240 /^X\(\/\).*/{ s//\1/; q; }
24244 if test "$ac_dir" != .; then
24245 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24246 # A "../" for each directory in $ac_dir_suffix.
24247 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24249 ac_dir_suffix= ac_top_builddir=
24253 .) # No --srcdir option. We are building in place.
24255 if test -z "$ac_top_builddir"; then
24258 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24260 [\\/]* | ?:[\\/]* ) # Absolute path.
24261 ac_srcdir=$srcdir$ac_dir_suffix;
24262 ac_top_srcdir=$srcdir ;;
24263 *) # Relative path.
24264 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24265 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24267 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24269 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24270 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24271 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24272 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24275 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24276 echo "$as_me: executing $ac_dest commands" >&6;}
24278 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24279 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24280 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24281 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24282 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24283 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24284 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24285 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24286 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24287 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24288 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24289 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24290 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24291 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24292 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24293 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24294 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24295 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24296 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24297 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24298 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24299 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24300 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24301 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24302 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24303 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24304 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24305 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24306 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24307 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24308 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24309 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24310 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24311 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24312 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24313 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24314 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24315 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24316 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24317 runtime/GCCLibraries/libexception/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libexception/Makefile runtime/GCCLibraries/libexception/Makefile ;;
24318 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24319 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24320 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24321 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24322 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24323 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24324 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24325 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24326 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24327 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24328 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24329 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24330 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24331 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24332 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24333 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24334 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24335 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24336 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24337 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24338 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24339 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24340 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24341 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24342 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24343 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24344 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24345 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24346 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24347 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24348 test/Programs/External/SPEC/Makefile.spec ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile.spec test/Programs/External/SPEC/Makefile.spec ;;
24349 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 ;;
24350 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 ;;
24351 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 ;;
24352 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 ;;
24353 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 ;;
24354 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 ;;
24355 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 ;;
24356 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 ;;
24357 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 ;;
24358 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 ;;
24359 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 ;;
24360 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 ;;
24361 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 ;;
24362 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 ;;
24363 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 ;;
24364 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24365 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24366 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24367 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24368 test/Programs/MultiSource/Applications/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Burg/Makefile test/Programs/MultiSource/Applications/Burg/Makefile ;;
24369 test/Programs/MultiSource/Applications/aha/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/aha/Makefile test/Programs/MultiSource/Applications/aha/Makefile ;;
24370 test/Programs/MultiSource/Applications/sgefa/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/sgefa/Makefile test/Programs/MultiSource/Applications/sgefa/Makefile ;;
24371 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24372 test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile ;;
24373 test/Programs/MultiSource/Benchmarks/McCat/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/Makefile test/Programs/MultiSource/Benchmarks/McCat/Makefile ;;
24374 test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile ;;
24375 test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile ;;
24376 test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile ;;
24377 test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile ;;
24378 test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile ;;
24379 test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile ;;
24380 test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile ;;
24381 test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile ;;
24382 test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile ;;
24383 test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile ;;
24384 test/Programs/MultiSource/Benchmarks/Olden/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/Makefile test/Programs/MultiSource/Benchmarks/Olden/Makefile ;;
24385 test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile ;;
24386 test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile ;;
24387 test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile ;;
24388 test/Programs/MultiSource/Benchmarks/Olden/health/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/health/Makefile test/Programs/MultiSource/Benchmarks/Olden/health/Makefile ;;
24389 test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile ;;
24390 test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile ;;
24391 test/Programs/MultiSource/Benchmarks/Olden/power/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/power/Makefile test/Programs/MultiSource/Benchmarks/Olden/power/Makefile ;;
24392 test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile ;;
24393 test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile ;;
24394 test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile ;;
24395 test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile ;;
24396 test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile ;;
24397 test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile ;;
24398 test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile ;;
24399 test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile ;;
24400 test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile ;;
24401 test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile ;;
24402 test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile ;;
24403 test/Programs/MultiSource/Benchmarks/sim/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/sim/Makefile test/Programs/MultiSource/Benchmarks/sim/Makefile ;;
24404 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24405 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24406 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24407 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 ;;
24408 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24409 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24410 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24411 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24412 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24413 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24414 test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile ;;
24415 test/Programs/SingleSource/Benchmarks/Shootout/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Shootout/Makefile test/Programs/SingleSource/Benchmarks/Shootout/Makefile ;;
24416 test/Programs/SingleSource/Benchmarks/Stanford/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Stanford/Makefile test/Programs/SingleSource/Benchmarks/Stanford/Makefile ;;
24417 test/Programs/SingleSource/Benchmarks/Misc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Misc/Makefile test/Programs/SingleSource/Benchmarks/Misc/Makefile ;;
24418 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24419 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24420 test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile ;;
24421 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24422 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24423 tools/as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/as/Makefile tools/as/Makefile ;;
24424 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24425 tools/dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/dis/Makefile tools/dis/Makefile ;;
24426 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24427 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24428 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24429 tools/link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/link/Makefile tools/link/Makefile ;;
24430 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24431 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24432 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24433 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24434 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24435 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24436 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24437 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24438 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24439 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24440 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24441 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24442 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24443 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24444 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24445 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24446 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24447 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24448 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24449 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24450 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24451 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24452 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24457 cat >>$CONFIG_STATUS <<\_ACEOF
24459 { (exit 0); exit 0; }
24461 chmod +x $CONFIG_STATUS
24462 ac_clean_files=$ac_clean_files_save
24465 # configure is writing to config.log, and then calls config.status.
24466 # config.status does its own redirection, appending to config.log.
24467 # Unfortunately, on DOS this fails, as config.log is still kept open
24468 # by configure, so config.status won't be able to write to it; its
24469 # output is simply discarded. So we exec the FD to /dev/null,
24470 # effectively closing config.log, so it can be properly (re)opened and
24471 # appended to by config.status. When coming back to configure, we
24472 # need to make the FD available again.
24473 if test "$no_create" != yes; then
24475 ac_config_status_args=
24476 test "$silent" = yes &&
24477 ac_config_status_args="$ac_config_status_args --quiet"
24479 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24481 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24482 # would make configure fail if this is the last instruction.
24483 $ac_cs_success || { (exit 1); exit 1; }