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 if test ${srcdir} != "."
1514 if test -f ${srcdir}/include/Config/config.h
1516 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1517 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1518 { (exit 1); exit 1; }; }
1522 ac_config_headers="$ac_config_headers include/Config/config.h"
1524 ac_config_commands="$ac_config_commands Makefile"
1527 ac_config_commands="$ac_config_commands Makefile.common"
1530 ac_config_commands="$ac_config_commands Makefile.rules"
1533 ac_config_commands="$ac_config_commands lib/Makefile"
1536 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1539 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1542 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1545 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1548 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1551 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1554 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1557 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1560 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1563 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1566 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1569 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1572 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1575 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1578 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1581 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1584 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1587 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1590 ac_config_commands="$ac_config_commands lib/Support/Makefile"
1593 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1596 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1599 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1602 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1605 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1608 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1611 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1614 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1617 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1620 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1623 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1626 ac_config_commands="$ac_config_commands runtime/Makefile"
1629 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1632 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1635 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1638 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1641 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1644 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1647 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1650 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1653 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1656 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1659 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1662 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1665 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1668 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1671 ac_config_commands="$ac_config_commands test/Makefile"
1674 ac_config_commands="$ac_config_commands test/Makefile.tests"
1677 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1680 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1683 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1686 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1689 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1692 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1695 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1698 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1701 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1704 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1707 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1710 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1713 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1716 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1719 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1722 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1725 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1728 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1731 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1734 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1737 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1740 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1743 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1746 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1749 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1752 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1755 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1758 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1761 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1764 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1767 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1770 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1773 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1776 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1779 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1782 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1785 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1788 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1791 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1794 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1797 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1800 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1803 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1806 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1809 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1812 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1815 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1818 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1821 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1824 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1827 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1830 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1833 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1836 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1839 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1842 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1845 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1848 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1851 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1854 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1857 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1860 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1863 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1866 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1869 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1872 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1875 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1878 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1881 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1884 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1887 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1890 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1893 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1896 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1899 ac_config_commands="$ac_config_commands test/Programs/NoSource/Makefile"
1902 ac_config_commands="$ac_config_commands test/Programs/NoSource/Flex/Makefile"
1905 ac_config_commands="$ac_config_commands test/Programs/NoSource/Larn/Makefile"
1908 ac_config_commands="$ac_config_commands test/Programs/NoSource/Moria-5.5.2/Makefile"
1911 ac_config_commands="$ac_config_commands test/Programs/NoSource/Povray31/Makefile"
1914 ac_config_commands="$ac_config_commands test/Programs/NoSource/m4/Makefile"
1917 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1920 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1923 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1926 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1929 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1932 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1935 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1938 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1941 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1944 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1947 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
1950 ac_config_commands="$ac_config_commands tools/Makefile"
1953 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1956 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1959 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1962 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1965 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1968 ac_config_commands="$ac_config_commands tools/link/Makefile"
1971 ac_config_commands="$ac_config_commands tools/llc/Makefile"
1974 ac_config_commands="$ac_config_commands tools/lli/Makefile"
1977 ac_config_commands="$ac_config_commands tools/opt/Makefile"
1980 ac_config_commands="$ac_config_commands tools/llee/Makefile"
1983 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
1986 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
1989 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
1992 ac_config_commands="$ac_config_commands utils/Makefile"
1995 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
1998 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
2001 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
2004 ac_config_commands="$ac_config_commands www/docs/Makefile"
2007 ac_config_commands="$ac_config_commands projects/Makefile"
2010 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2013 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2016 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2019 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2022 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2025 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2028 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2031 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2034 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2037 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2040 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2045 # Find a good install program. We prefer a C program (faster),
2046 # so one script is as good as another. But avoid the broken or
2047 # incompatible versions:
2048 # SysV /etc/install, /usr/sbin/install
2049 # SunOS /usr/etc/install
2050 # IRIX /sbin/install
2052 # AmigaOS /C/install, which installs bootblocks on floppy discs
2053 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2054 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2055 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2056 # ./install, which can be erroneously created by make from ./install.sh.
2057 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2058 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2059 if test -z "$INSTALL"; then
2060 if test "${ac_cv_path_install+set}" = set; then
2061 echo $ECHO_N "(cached) $ECHO_C" >&6
2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2067 test -z "$as_dir" && as_dir=.
2068 # Account for people who put trailing slashes in PATH elements.
2070 ./ | .// | /cC/* | \
2071 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2074 # OSF1 and SCO ODT 3.0 have their own names for install.
2075 # Don't use installbsd from OSF since it installs stuff as root
2077 for ac_prog in ginstall scoinst install; do
2078 for ac_exec_ext in '' $ac_executable_extensions; do
2079 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2080 if test $ac_prog = install &&
2081 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2082 # AIX install. It has an incompatible calling convention.
2084 elif test $ac_prog = install &&
2085 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2086 # program-specific install script used by HP pwplus--don't use.
2089 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2101 if test "${ac_cv_path_install+set}" = set; then
2102 INSTALL=$ac_cv_path_install
2104 # As a last resort, use the slow shell script. We don't cache a
2105 # path for INSTALL within a source directory, because that will
2106 # break other packages using the cache if that directory is
2107 # removed, or if the path is relative.
2108 INSTALL=$ac_install_sh
2111 echo "$as_me:$LINENO: result: $INSTALL" >&5
2112 echo "${ECHO_T}$INSTALL" >&6
2114 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2115 # It thinks the first close brace ends the variable substitution.
2116 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2118 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2120 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2123 # Make sure we can run config.sub.
2124 $ac_config_sub sun4 >/dev/null 2>&1 ||
2125 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2126 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2127 { (exit 1); exit 1; }; }
2129 echo "$as_me:$LINENO: checking build system type" >&5
2130 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2131 if test "${ac_cv_build+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 ac_cv_build_alias=$build_alias
2135 test -z "$ac_cv_build_alias" &&
2136 ac_cv_build_alias=`$ac_config_guess`
2137 test -z "$ac_cv_build_alias" &&
2138 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2139 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2140 { (exit 1); exit 1; }; }
2141 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2142 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2143 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2144 { (exit 1); exit 1; }; }
2147 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2148 echo "${ECHO_T}$ac_cv_build" >&6
2150 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2151 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2152 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2155 echo "$as_me:$LINENO: checking host system type" >&5
2156 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2157 if test "${ac_cv_host+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2160 ac_cv_host_alias=$host_alias
2161 test -z "$ac_cv_host_alias" &&
2162 ac_cv_host_alias=$ac_cv_build_alias
2163 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2164 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2165 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2166 { (exit 1); exit 1; }; }
2169 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2170 echo "${ECHO_T}$ac_cv_host" >&6
2172 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2173 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2174 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2177 echo "$as_me:$LINENO: checking target system type" >&5
2178 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2179 if test "${ac_cv_target+set}" = set; then
2180 echo $ECHO_N "(cached) $ECHO_C" >&6
2182 ac_cv_target_alias=$target_alias
2183 test "x$ac_cv_target_alias" = "x" &&
2184 ac_cv_target_alias=$ac_cv_host_alias
2185 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2186 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2187 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2188 { (exit 1); exit 1; }; }
2191 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2192 echo "${ECHO_T}$ac_cv_target" >&6
2193 target=$ac_cv_target
2194 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2195 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2196 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2199 # The aliases save the names the user supplied, while $host etc.
2200 # will get canonicalized.
2201 test -n "$target_alias" &&
2202 test "$program_prefix$program_suffix$program_transform_name" = \
2204 program_prefix=${target_alias}-
2209 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2215 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2225 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2234 *sparc*solaris*) ARCH=Sparc
2241 ac_cpp='$CXXCPP $CPPFLAGS'
2242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2245 if test -n "$ac_tool_prefix"; then
2246 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2248 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2249 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2250 echo "$as_me:$LINENO: checking for $ac_word" >&5
2251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2252 if test "${ac_cv_prog_CXX+set}" = set; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2255 if test -n "$CXX"; then
2256 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2262 test -z "$as_dir" && as_dir=.
2263 for ac_exec_ext in '' $ac_executable_extensions; do
2264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2265 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2275 if test -n "$CXX"; then
2276 echo "$as_me:$LINENO: result: $CXX" >&5
2277 echo "${ECHO_T}$CXX" >&6
2279 echo "$as_me:$LINENO: result: no" >&5
2280 echo "${ECHO_T}no" >&6
2283 test -n "$CXX" && break
2286 if test -z "$CXX"; then
2288 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2290 # Extract the first word of "$ac_prog", so it can be a program name with args.
2291 set dummy $ac_prog; ac_word=$2
2292 echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2294 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 if test -n "$ac_ct_CXX"; then
2298 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir=.
2305 for ac_exec_ext in '' $ac_executable_extensions; do
2306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2307 ac_cv_prog_ac_ct_CXX="$ac_prog"
2308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2317 if test -n "$ac_ct_CXX"; then
2318 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2319 echo "${ECHO_T}$ac_ct_CXX" >&6
2321 echo "$as_me:$LINENO: result: no" >&5
2322 echo "${ECHO_T}no" >&6
2325 test -n "$ac_ct_CXX" && break
2327 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2333 # Provide some information about the compiler.
2334 echo "$as_me:$LINENO:" \
2335 "checking for C++ compiler version" >&5
2336 ac_compiler=`set X $ac_compile; echo $2`
2337 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2338 (eval $ac_compiler --version </dev/null >&5) 2>&5
2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341 (exit $ac_status); }
2342 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2343 (eval $ac_compiler -v </dev/null >&5) 2>&5
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); }
2347 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2348 (eval $ac_compiler -V </dev/null >&5) 2>&5
2350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351 (exit $ac_status); }
2353 cat >conftest.$ac_ext <<_ACEOF
2354 #line $LINENO "configure"
2357 cat confdefs.h >>conftest.$ac_ext
2358 cat >>conftest.$ac_ext <<_ACEOF
2359 /* end confdefs.h. */
2369 ac_clean_files_save=$ac_clean_files
2370 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2371 # Try to create an executable without -o first, disregard a.out.
2372 # It will help us diagnose broken compilers, and finding out an intuition
2374 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2375 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2376 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2377 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2378 (eval $ac_link_default) 2>&5
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); }; then
2382 # Find the output, starting from the most likely. This scheme is
2383 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2386 # Be careful to initialize this variable, since it used to be cached.
2387 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2389 # b.out is created by i960 compilers.
2390 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2392 test -f "$ac_file" || continue
2394 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2397 # This is the source file.
2400 # We found the default executable, but exeext='' is most
2404 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2405 # FIXME: I believe we export ac_cv_exeext for Libtool,
2406 # but it would be cool to find out if it's true. Does anybody
2407 # maintain Libtool? --akim.
2415 echo "$as_me: failed program was:" >&5
2416 sed 's/^/| /' conftest.$ac_ext >&5
2418 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2419 See \`config.log' for more details." >&5
2420 echo "$as_me: error: C++ compiler cannot create executables
2421 See \`config.log' for more details." >&2;}
2422 { (exit 77); exit 77; }; }
2425 ac_exeext=$ac_cv_exeext
2426 echo "$as_me:$LINENO: result: $ac_file" >&5
2427 echo "${ECHO_T}$ac_file" >&6
2429 # Check the compiler produces executables we can run. If not, either
2430 # the compiler is broken, or we cross compile.
2431 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2432 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2433 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2434 # If not cross compiling, check that we can run a simple program.
2435 if test "$cross_compiling" != yes; then
2436 if { ac_try='./$ac_file'
2437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); }; }; then
2444 if test "$cross_compiling" = maybe; then
2447 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2448 If you meant to cross compile, use \`--host'.
2449 See \`config.log' for more details." >&5
2450 echo "$as_me: error: cannot run C++ compiled programs.
2451 If you meant to cross compile, use \`--host'.
2452 See \`config.log' for more details." >&2;}
2453 { (exit 1); exit 1; }; }
2457 echo "$as_me:$LINENO: result: yes" >&5
2458 echo "${ECHO_T}yes" >&6
2460 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2461 ac_clean_files=$ac_clean_files_save
2462 # Check the compiler produces executables we can run. If not, either
2463 # the compiler is broken, or we cross compile.
2464 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2465 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2466 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2467 echo "${ECHO_T}$cross_compiling" >&6
2469 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2470 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2472 (eval $ac_link) 2>&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; then
2476 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2477 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2478 # work properly (i.e., refer to `conftest.exe'), while it won't with
2480 for ac_file in conftest.exe conftest conftest.*; do
2481 test -f "$ac_file" || continue
2483 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2484 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2491 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2492 See \`config.log' for more details." >&5
2493 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2494 See \`config.log' for more details." >&2;}
2495 { (exit 1); exit 1; }; }
2498 rm -f conftest$ac_cv_exeext
2499 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2500 echo "${ECHO_T}$ac_cv_exeext" >&6
2502 rm -f conftest.$ac_ext
2503 EXEEXT=$ac_cv_exeext
2505 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2506 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2507 if test "${ac_cv_objext+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6
2510 cat >conftest.$ac_ext <<_ACEOF
2511 #line $LINENO "configure"
2514 cat confdefs.h >>conftest.$ac_ext
2515 cat >>conftest.$ac_ext <<_ACEOF
2516 /* end confdefs.h. */
2526 rm -f conftest.o conftest.obj
2527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2528 (eval $ac_compile) 2>&5
2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); }; then
2532 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2534 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2535 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2540 echo "$as_me: failed program was:" >&5
2541 sed 's/^/| /' conftest.$ac_ext >&5
2543 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2544 See \`config.log' for more details." >&5
2545 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2546 See \`config.log' for more details." >&2;}
2547 { (exit 1); exit 1; }; }
2550 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2552 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2553 echo "${ECHO_T}$ac_cv_objext" >&6
2554 OBJEXT=$ac_cv_objext
2556 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2557 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2558 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2559 echo $ECHO_N "(cached) $ECHO_C" >&6
2561 cat >conftest.$ac_ext <<_ACEOF
2562 #line $LINENO "configure"
2565 cat confdefs.h >>conftest.$ac_ext
2566 cat >>conftest.$ac_ext <<_ACEOF
2567 /* end confdefs.h. */
2580 rm -f conftest.$ac_objext
2581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2582 (eval $ac_compile) 2>&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); } &&
2586 { ac_try='test -s conftest.$ac_objext'
2587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591 (exit $ac_status); }; }; then
2594 echo "$as_me: failed program was:" >&5
2595 sed 's/^/| /' conftest.$ac_ext >&5
2599 rm -f conftest.$ac_objext conftest.$ac_ext
2600 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2603 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2604 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2605 GXX=`test $ac_compiler_gnu = yes && echo yes`
2606 ac_test_CXXFLAGS=${CXXFLAGS+set}
2607 ac_save_CXXFLAGS=$CXXFLAGS
2609 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2610 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2611 if test "${ac_cv_prog_cxx_g+set}" = set; then
2612 echo $ECHO_N "(cached) $ECHO_C" >&6
2614 cat >conftest.$ac_ext <<_ACEOF
2615 #line $LINENO "configure"
2618 cat confdefs.h >>conftest.$ac_ext
2619 cat >>conftest.$ac_ext <<_ACEOF
2620 /* end confdefs.h. */
2630 rm -f conftest.$ac_objext
2631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2632 (eval $ac_compile) 2>&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); } &&
2636 { ac_try='test -s conftest.$ac_objext'
2637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); }; }; then
2642 ac_cv_prog_cxx_g=yes
2644 echo "$as_me: failed program was:" >&5
2645 sed 's/^/| /' conftest.$ac_ext >&5
2649 rm -f conftest.$ac_objext conftest.$ac_ext
2651 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2652 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2653 if test "$ac_test_CXXFLAGS" = set; then
2654 CXXFLAGS=$ac_save_CXXFLAGS
2655 elif test $ac_cv_prog_cxx_g = yes; then
2656 if test "$GXX" = yes; then
2662 if test "$GXX" = yes; then
2668 for ac_declaration in \
2670 '#include <stdlib.h>' \
2671 'extern "C" void std::exit (int) throw (); using std::exit;' \
2672 'extern "C" void std::exit (int); using std::exit;' \
2673 'extern "C" void exit (int) throw ();' \
2674 'extern "C" void exit (int);' \
2677 cat >conftest.$ac_ext <<_ACEOF
2678 #line $LINENO "configure"
2681 cat confdefs.h >>conftest.$ac_ext
2682 cat >>conftest.$ac_ext <<_ACEOF
2683 /* end confdefs.h. */
2694 rm -f conftest.$ac_objext
2695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2696 (eval $ac_compile) 2>&5
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); } &&
2700 { ac_try='test -s conftest.$ac_objext'
2701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }; }; then
2708 echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2713 rm -f conftest.$ac_objext conftest.$ac_ext
2714 cat >conftest.$ac_ext <<_ACEOF
2715 #line $LINENO "configure"
2718 cat confdefs.h >>conftest.$ac_ext
2719 cat >>conftest.$ac_ext <<_ACEOF
2720 /* end confdefs.h. */
2730 rm -f conftest.$ac_objext
2731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2732 (eval $ac_compile) 2>&5
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); } &&
2736 { ac_try='test -s conftest.$ac_objext'
2737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); }; }; then
2744 echo "$as_me: failed program was:" >&5
2745 sed 's/^/| /' conftest.$ac_ext >&5
2748 rm -f conftest.$ac_objext conftest.$ac_ext
2751 if test -n "$ac_declaration"; then
2752 echo '#ifdef __cplusplus' >>confdefs.h
2753 echo $ac_declaration >>confdefs.h
2754 echo '#endif' >>confdefs.h
2758 ac_cpp='$CPP $CPPFLAGS'
2759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2764 ac_cpp='$CPP $CPPFLAGS'
2765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2768 if test -n "$ac_tool_prefix"; then
2771 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2772 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2773 echo "$as_me:$LINENO: checking for $ac_word" >&5
2774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2775 if test "${ac_cv_prog_CC+set}" = set; then
2776 echo $ECHO_N "(cached) $ECHO_C" >&6
2778 if test -n "$CC"; then
2779 ac_cv_prog_CC="$CC" # Let the user override the test.
2781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2785 test -z "$as_dir" && as_dir=.
2786 for ac_exec_ext in '' $ac_executable_extensions; do
2787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2788 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2798 if test -n "$CC"; then
2799 echo "$as_me:$LINENO: result: $CC" >&5
2800 echo "${ECHO_T}$CC" >&6
2802 echo "$as_me:$LINENO: result: no" >&5
2803 echo "${ECHO_T}no" >&6
2806 test -n "$CC" && break
2809 if test -z "$CC"; then
2813 # Extract the first word of "$ac_prog", so it can be a program name with args.
2814 set dummy $ac_prog; ac_word=$2
2815 echo "$as_me:$LINENO: checking for $ac_word" >&5
2816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2817 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2818 echo $ECHO_N "(cached) $ECHO_C" >&6
2820 if test -n "$ac_ct_CC"; then
2821 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2827 test -z "$as_dir" && as_dir=.
2828 for ac_exec_ext in '' $ac_executable_extensions; do
2829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2830 ac_cv_prog_ac_ct_CC="$ac_prog"
2831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2839 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2840 if test -n "$ac_ct_CC"; then
2841 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2842 echo "${ECHO_T}$ac_ct_CC" >&6
2844 echo "$as_me:$LINENO: result: no" >&5
2845 echo "${ECHO_T}no" >&6
2848 test -n "$ac_ct_CC" && break
2855 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2856 See \`config.log' for more details." >&5
2857 echo "$as_me: error: no acceptable C compiler found in \$PATH
2858 See \`config.log' for more details." >&2;}
2859 { (exit 1); exit 1; }; }
2861 # Provide some information about the compiler.
2862 echo "$as_me:$LINENO:" \
2863 "checking for C compiler version" >&5
2864 ac_compiler=`set X $ac_compile; echo $2`
2865 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2866 (eval $ac_compiler --version </dev/null >&5) 2>&5
2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); }
2870 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2871 (eval $ac_compiler -v </dev/null >&5) 2>&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }
2875 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2876 (eval $ac_compiler -V </dev/null >&5) 2>&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); }
2881 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2882 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2883 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2884 echo $ECHO_N "(cached) $ECHO_C" >&6
2886 cat >conftest.$ac_ext <<_ACEOF
2887 #line $LINENO "configure"
2890 cat confdefs.h >>conftest.$ac_ext
2891 cat >>conftest.$ac_ext <<_ACEOF
2892 /* end confdefs.h. */
2905 rm -f conftest.$ac_objext
2906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2907 (eval $ac_compile) 2>&5
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); } &&
2911 { ac_try='test -s conftest.$ac_objext'
2912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); }; }; then
2919 echo "$as_me: failed program was:" >&5
2920 sed 's/^/| /' conftest.$ac_ext >&5
2924 rm -f conftest.$ac_objext conftest.$ac_ext
2925 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2928 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2929 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2930 GCC=`test $ac_compiler_gnu = yes && echo yes`
2931 ac_test_CFLAGS=${CFLAGS+set}
2932 ac_save_CFLAGS=$CFLAGS
2934 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2935 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2936 if test "${ac_cv_prog_cc_g+set}" = set; then
2937 echo $ECHO_N "(cached) $ECHO_C" >&6
2939 cat >conftest.$ac_ext <<_ACEOF
2940 #line $LINENO "configure"
2943 cat confdefs.h >>conftest.$ac_ext
2944 cat >>conftest.$ac_ext <<_ACEOF
2945 /* end confdefs.h. */
2955 rm -f conftest.$ac_objext
2956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2957 (eval $ac_compile) 2>&5
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); } &&
2961 { ac_try='test -s conftest.$ac_objext'
2962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); }; }; then
2969 echo "$as_me: failed program was:" >&5
2970 sed 's/^/| /' conftest.$ac_ext >&5
2974 rm -f conftest.$ac_objext conftest.$ac_ext
2976 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2977 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2978 if test "$ac_test_CFLAGS" = set; then
2979 CFLAGS=$ac_save_CFLAGS
2980 elif test $ac_cv_prog_cc_g = yes; then
2981 if test "$GCC" = yes; then
2987 if test "$GCC" = yes; then
2993 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2994 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2995 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2996 echo $ECHO_N "(cached) $ECHO_C" >&6
2998 ac_cv_prog_cc_stdc=no
3000 cat >conftest.$ac_ext <<_ACEOF
3001 #line $LINENO "configure"
3004 cat confdefs.h >>conftest.$ac_ext
3005 cat >>conftest.$ac_ext <<_ACEOF
3006 /* end confdefs.h. */
3009 #include <sys/types.h>
3010 #include <sys/stat.h>
3011 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3012 struct buf { int x; };
3013 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3014 static char *e (p, i)
3020 static char *f (char * (*g) (char **, int), char **p, ...)
3025 s = g (p, va_arg (v,int));
3029 int test (int i, double x);
3030 struct s1 {int (*f) (int a);};
3031 struct s2 {int (*f) (double a);};
3032 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3038 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3043 # Don't try gcc -ansi; that turns off useful extensions and
3044 # breaks some systems' header files.
3045 # AIX -qlanglvl=ansi
3046 # Ultrix and OSF/1 -std1
3047 # HP-UX 10.20 and later -Ae
3048 # HP-UX older versions -Aa -D_HPUX_SOURCE
3049 # SVR4 -Xc -D__EXTENSIONS__
3050 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3052 CC="$ac_save_CC $ac_arg"
3053 rm -f conftest.$ac_objext
3054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3055 (eval $ac_compile) 2>&5
3057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058 (exit $ac_status); } &&
3059 { ac_try='test -s conftest.$ac_objext'
3060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); }; }; then
3065 ac_cv_prog_cc_stdc=$ac_arg
3068 echo "$as_me: failed program was:" >&5
3069 sed 's/^/| /' conftest.$ac_ext >&5
3072 rm -f conftest.$ac_objext
3074 rm -f conftest.$ac_ext conftest.$ac_objext
3079 case "x$ac_cv_prog_cc_stdc" in
3081 echo "$as_me:$LINENO: result: none needed" >&5
3082 echo "${ECHO_T}none needed" >&6 ;;
3084 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3085 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3086 CC="$CC $ac_cv_prog_cc_stdc" ;;
3089 # Some people use a C++ compiler to compile C. Since we use `exit',
3090 # in C++ we need to declare it. In case someone uses the same compiler
3091 # for both compiling C and C++ we need to have the C++ compiler decide
3092 # the declaration of exit, since it's the most demanding environment.
3093 cat >conftest.$ac_ext <<_ACEOF
3098 rm -f conftest.$ac_objext
3099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3100 (eval $ac_compile) 2>&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); } &&
3104 { ac_try='test -s conftest.$ac_objext'
3105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); }; }; then
3110 for ac_declaration in \
3112 '#include <stdlib.h>' \
3113 'extern "C" void std::exit (int) throw (); using std::exit;' \
3114 'extern "C" void std::exit (int); using std::exit;' \
3115 'extern "C" void exit (int) throw ();' \
3116 'extern "C" void exit (int);' \
3119 cat >conftest.$ac_ext <<_ACEOF
3120 #line $LINENO "configure"
3123 cat confdefs.h >>conftest.$ac_ext
3124 cat >>conftest.$ac_ext <<_ACEOF
3125 /* end confdefs.h. */
3136 rm -f conftest.$ac_objext
3137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3138 (eval $ac_compile) 2>&5
3140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141 (exit $ac_status); } &&
3142 { ac_try='test -s conftest.$ac_objext'
3143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); }; }; then
3150 echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.$ac_ext >&5
3155 rm -f conftest.$ac_objext conftest.$ac_ext
3156 cat >conftest.$ac_ext <<_ACEOF
3157 #line $LINENO "configure"
3160 cat confdefs.h >>conftest.$ac_ext
3161 cat >>conftest.$ac_ext <<_ACEOF
3162 /* end confdefs.h. */
3172 rm -f conftest.$ac_objext
3173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3174 (eval $ac_compile) 2>&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); } &&
3178 { ac_try='test -s conftest.$ac_objext'
3179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); }; }; then
3186 echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.$ac_ext >&5
3190 rm -f conftest.$ac_objext conftest.$ac_ext
3193 if test -n "$ac_declaration"; then
3194 echo '#ifdef __cplusplus' >>confdefs.h
3195 echo $ac_declaration >>confdefs.h
3196 echo '#endif' >>confdefs.h
3200 echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.$ac_ext >&5
3204 rm -f conftest.$ac_objext conftest.$ac_ext
3206 ac_cpp='$CPP $CPPFLAGS'
3207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3212 ac_cpp='$CPP $CPPFLAGS'
3213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3216 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3217 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3218 # On Suns, sometimes $CPP names a directory.
3219 if test -n "$CPP" && test -d "$CPP"; then
3222 if test -z "$CPP"; then
3223 if test "${ac_cv_prog_CPP+set}" = set; then
3224 echo $ECHO_N "(cached) $ECHO_C" >&6
3226 # Double quotes because CPP needs to be expanded
3227 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3230 for ac_c_preproc_warn_flag in '' yes
3232 # Use a header file that comes with gcc, so configuring glibc
3233 # with a fresh cross-compiler works.
3234 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3235 # <limits.h> exists even on freestanding compilers.
3236 # On the NeXT, cc -E runs the code through the compiler's parser,
3237 # not just through cpp. "Syntax error" is here to catch this case.
3238 cat >conftest.$ac_ext <<_ACEOF
3239 #line $LINENO "configure"
3242 cat confdefs.h >>conftest.$ac_ext
3243 cat >>conftest.$ac_ext <<_ACEOF
3244 /* end confdefs.h. */
3246 # include <limits.h>
3248 # include <assert.h>
3252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3253 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3255 grep -v '^ *+' conftest.er1 >conftest.err
3257 cat conftest.err >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } >/dev/null; then
3260 if test -s conftest.err; then
3261 ac_cpp_err=$ac_c_preproc_warn_flag
3268 if test -z "$ac_cpp_err"; then
3271 echo "$as_me: failed program was:" >&5
3272 sed 's/^/| /' conftest.$ac_ext >&5
3274 # Broken: fails on valid input.
3277 rm -f conftest.err conftest.$ac_ext
3279 # OK, works on sane cases. Now check whether non-existent headers
3280 # can be detected and how.
3281 cat >conftest.$ac_ext <<_ACEOF
3282 #line $LINENO "configure"
3285 cat confdefs.h >>conftest.$ac_ext
3286 cat >>conftest.$ac_ext <<_ACEOF
3287 /* end confdefs.h. */
3288 #include <ac_nonexistent.h>
3290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3291 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3293 grep -v '^ *+' conftest.er1 >conftest.err
3295 cat conftest.err >&5
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); } >/dev/null; then
3298 if test -s conftest.err; then
3299 ac_cpp_err=$ac_c_preproc_warn_flag
3306 if test -z "$ac_cpp_err"; then
3307 # Broken: success on invalid input.
3310 echo "$as_me: failed program was:" >&5
3311 sed 's/^/| /' conftest.$ac_ext >&5
3313 # Passes both tests.
3317 rm -f conftest.err conftest.$ac_ext
3320 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3321 rm -f conftest.err conftest.$ac_ext
3322 if $ac_preproc_ok; then
3334 echo "$as_me:$LINENO: result: $CPP" >&5
3335 echo "${ECHO_T}$CPP" >&6
3337 for ac_c_preproc_warn_flag in '' yes
3339 # Use a header file that comes with gcc, so configuring glibc
3340 # with a fresh cross-compiler works.
3341 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3342 # <limits.h> exists even on freestanding compilers.
3343 # On the NeXT, cc -E runs the code through the compiler's parser,
3344 # not just through cpp. "Syntax error" is here to catch this case.
3345 cat >conftest.$ac_ext <<_ACEOF
3346 #line $LINENO "configure"
3349 cat confdefs.h >>conftest.$ac_ext
3350 cat >>conftest.$ac_ext <<_ACEOF
3351 /* end confdefs.h. */
3353 # include <limits.h>
3355 # include <assert.h>
3359 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3360 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3362 grep -v '^ *+' conftest.er1 >conftest.err
3364 cat conftest.err >&5
3365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3366 (exit $ac_status); } >/dev/null; then
3367 if test -s conftest.err; then
3368 ac_cpp_err=$ac_c_preproc_warn_flag
3375 if test -z "$ac_cpp_err"; then
3378 echo "$as_me: failed program was:" >&5
3379 sed 's/^/| /' conftest.$ac_ext >&5
3381 # Broken: fails on valid input.
3384 rm -f conftest.err conftest.$ac_ext
3386 # OK, works on sane cases. Now check whether non-existent headers
3387 # can be detected and how.
3388 cat >conftest.$ac_ext <<_ACEOF
3389 #line $LINENO "configure"
3392 cat confdefs.h >>conftest.$ac_ext
3393 cat >>conftest.$ac_ext <<_ACEOF
3394 /* end confdefs.h. */
3395 #include <ac_nonexistent.h>
3397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3398 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3400 grep -v '^ *+' conftest.er1 >conftest.err
3402 cat conftest.err >&5
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); } >/dev/null; then
3405 if test -s conftest.err; then
3406 ac_cpp_err=$ac_c_preproc_warn_flag
3413 if test -z "$ac_cpp_err"; then
3414 # Broken: success on invalid input.
3417 echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.$ac_ext >&5
3420 # Passes both tests.
3424 rm -f conftest.err conftest.$ac_ext
3427 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3428 rm -f conftest.err conftest.$ac_ext
3429 if $ac_preproc_ok; then
3432 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3433 See \`config.log' for more details." >&5
3434 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3435 See \`config.log' for more details." >&2;}
3436 { (exit 1); exit 1; }; }
3440 ac_cpp='$CPP $CPPFLAGS'
3441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3446 if test "$GCC" != "yes"
3448 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3449 echo "$as_me: error: gcc required but not found" >&2;}
3450 { (exit 1); exit 1; }; }
3453 if test "$GXX" != "yes"
3455 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3456 echo "$as_me: error: g++ required but not found" >&2;}
3457 { (exit 1); exit 1; }; }
3460 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3461 if test "$gccmajor" -lt "3"
3463 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3464 echo "$as_me: error: gcc 3.x required" >&2;}
3465 { (exit 1); exit 1; }; }
3468 echo "$as_me:$LINENO: checking for GNU make" >&5
3469 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3470 if test "${_cv_gnu_make_command+set}" = set; then
3471 echo $ECHO_N "(cached) $ECHO_C" >&6
3473 _cv_gnu_make_command='' ;
3474 for a in "$MAKE" make gmake gnumake ; do
3475 if test -z "$a" ; then continue ; fi ;
3476 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3477 _cv_gnu_make_command=$a ;
3483 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3484 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3485 if test "x$_cv_gnu_make_command" != "x" ; then
3489 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3490 echo "${ECHO_T}\"Not found\"" >&6;
3494 if test -z "$_cv_gnu_make_command"
3496 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3497 echo "$as_me: error: GNU Make required but not found" >&2;}
3498 { (exit 1); exit 1; }; }
3502 echo "$as_me:$LINENO: checking " >&5
3503 echo $ECHO_N "checking ... $ECHO_C" >&6
3504 if test "${ac_cv_has_flex+set}" = set; then
3505 echo $ECHO_N "(cached) $ECHO_C" >&6
3507 for ac_prog in flex lex
3509 # Extract the first word of "$ac_prog", so it can be a program name with args.
3510 set dummy $ac_prog; ac_word=$2
3511 echo "$as_me:$LINENO: checking for $ac_word" >&5
3512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3513 if test "${ac_cv_prog_LEX+set}" = set; then
3514 echo $ECHO_N "(cached) $ECHO_C" >&6
3516 if test -n "$LEX"; then
3517 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3523 test -z "$as_dir" && as_dir=.
3524 for ac_exec_ext in '' $ac_executable_extensions; do
3525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3526 ac_cv_prog_LEX="$ac_prog"
3527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3536 if test -n "$LEX"; then
3537 echo "$as_me:$LINENO: result: $LEX" >&5
3538 echo "${ECHO_T}$LEX" >&6
3540 echo "$as_me:$LINENO: result: no" >&5
3541 echo "${ECHO_T}no" >&6
3544 test -n "$LEX" && break
3546 test -n "$LEX" || LEX=":"
3548 if test -z "$LEXLIB"
3550 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3551 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3552 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3553 echo $ECHO_N "(cached) $ECHO_C" >&6
3555 ac_check_lib_save_LIBS=$LIBS
3557 cat >conftest.$ac_ext <<_ACEOF
3558 #line $LINENO "configure"
3561 cat confdefs.h >>conftest.$ac_ext
3562 cat >>conftest.$ac_ext <<_ACEOF
3563 /* end confdefs.h. */
3565 /* Override any gcc2 internal prototype to avoid an error. */
3569 /* We use char because int might match the return type of a gcc2
3570 builtin and then its argument prototype would still apply. */
3580 rm -f conftest.$ac_objext conftest$ac_exeext
3581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3582 (eval $ac_link) 2>&5
3584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585 (exit $ac_status); } &&
3586 { ac_try='test -s conftest$ac_exeext'
3587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); }; }; then
3592 ac_cv_lib_fl_yywrap=yes
3594 echo "$as_me: failed program was:" >&5
3595 sed 's/^/| /' conftest.$ac_ext >&5
3597 ac_cv_lib_fl_yywrap=no
3599 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3600 LIBS=$ac_check_lib_save_LIBS
3602 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3603 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3604 if test $ac_cv_lib_fl_yywrap = yes; then
3607 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3608 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3609 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3610 echo $ECHO_N "(cached) $ECHO_C" >&6
3612 ac_check_lib_save_LIBS=$LIBS
3614 cat >conftest.$ac_ext <<_ACEOF
3615 #line $LINENO "configure"
3618 cat confdefs.h >>conftest.$ac_ext
3619 cat >>conftest.$ac_ext <<_ACEOF
3620 /* end confdefs.h. */
3622 /* Override any gcc2 internal prototype to avoid an error. */
3626 /* We use char because int might match the return type of a gcc2
3627 builtin and then its argument prototype would still apply. */
3637 rm -f conftest.$ac_objext conftest$ac_exeext
3638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3639 (eval $ac_link) 2>&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); } &&
3643 { ac_try='test -s conftest$ac_exeext'
3644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3648 (exit $ac_status); }; }; then
3649 ac_cv_lib_l_yywrap=yes
3651 echo "$as_me: failed program was:" >&5
3652 sed 's/^/| /' conftest.$ac_ext >&5
3654 ac_cv_lib_l_yywrap=no
3656 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3657 LIBS=$ac_check_lib_save_LIBS
3659 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3660 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3661 if test $ac_cv_lib_l_yywrap = yes; then
3669 if test "x$LEX" != "x:"; then
3670 echo "$as_me:$LINENO: checking lex output file root" >&5
3671 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3672 if test "${ac_cv_prog_lex_root+set}" = set; then
3673 echo $ECHO_N "(cached) $ECHO_C" >&6
3675 # The minimal lex program is just a single line: %%. But some broken lexes
3676 # (Solaris, I think it was) want two %% lines, so accommodate them.
3677 cat >conftest.l <<_ACEOF
3681 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3682 (eval $LEX conftest.l) 2>&5
3684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685 (exit $ac_status); }
3686 if test -f lex.yy.c; then
3687 ac_cv_prog_lex_root=lex.yy
3688 elif test -f lexyy.c; then
3689 ac_cv_prog_lex_root=lexyy
3691 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3692 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3693 { (exit 1); exit 1; }; }
3696 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3697 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3699 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3701 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3702 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3703 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3704 echo $ECHO_N "(cached) $ECHO_C" >&6
3706 # POSIX says lex can declare yytext either as a pointer or an array; the
3707 # default is implementation-dependent. Figure out which it is, since
3708 # not all implementations provide the %pointer and %array declarations.
3709 ac_cv_prog_lex_yytext_pointer=no
3710 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3712 LIBS="$LIBS $LEXLIB"
3713 cat >conftest.$ac_ext <<_ACEOF
3714 `cat $LEX_OUTPUT_ROOT.c`
3716 rm -f conftest.$ac_objext conftest$ac_exeext
3717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3718 (eval $ac_link) 2>&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); } &&
3722 { ac_try='test -s conftest$ac_exeext'
3723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); }; }; then
3728 ac_cv_prog_lex_yytext_pointer=yes
3730 echo "$as_me: failed program was:" >&5
3731 sed 's/^/| /' conftest.$ac_ext >&5
3734 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3736 rm -f "${LEX_OUTPUT_ROOT}.c"
3739 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3740 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3741 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3743 cat >>confdefs.h <<\_ACEOF
3744 #define YYTEXT_POINTER 1
3752 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3753 echo "${ECHO_T}$ac_cv_has_flex" >&6
3754 if test "$LEX" != "flex"; then
3755 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3756 echo "$as_me: error: flex not found but required" >&2;}
3757 { (exit 1); exit 1; }; }
3760 echo "$as_me:$LINENO: checking " >&5
3761 echo $ECHO_N "checking ... $ECHO_C" >&6
3762 if test "${ac_cv_has_bison+set}" = set; then
3763 echo $ECHO_N "(cached) $ECHO_C" >&6
3765 for ac_prog in 'bison -y' byacc
3767 # Extract the first word of "$ac_prog", so it can be a program name with args.
3768 set dummy $ac_prog; ac_word=$2
3769 echo "$as_me:$LINENO: checking for $ac_word" >&5
3770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3771 if test "${ac_cv_prog_YACC+set}" = set; then
3772 echo $ECHO_N "(cached) $ECHO_C" >&6
3774 if test -n "$YACC"; then
3775 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3781 test -z "$as_dir" && as_dir=.
3782 for ac_exec_ext in '' $ac_executable_extensions; do
3783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3784 ac_cv_prog_YACC="$ac_prog"
3785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3793 YACC=$ac_cv_prog_YACC
3794 if test -n "$YACC"; then
3795 echo "$as_me:$LINENO: result: $YACC" >&5
3796 echo "${ECHO_T}$YACC" >&6
3798 echo "$as_me:$LINENO: result: no" >&5
3799 echo "${ECHO_T}no" >&6
3802 test -n "$YACC" && break
3804 test -n "$YACC" || YACC="yacc"
3808 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3809 echo "${ECHO_T}$ac_cv_has_bison" >&6
3810 if test "$YACC" != "bison -y"; then
3811 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3812 echo "$as_me: error: bison not found but required" >&2;}
3813 { (exit 1); exit 1; }; }
3820 # Check whether --enable-shared or --disable-shared was given.
3821 if test "${enable_shared+set}" = set; then
3822 enableval="$enable_shared"
3823 p=${PACKAGE-default}
3825 yes) enable_shared=yes ;;
3826 no) enable_shared=no ;;
3829 # Look at the argument we got. We use all the common list separators.
3830 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3831 for pkg in $enableval; do
3833 if test "X$pkg" = "X$p"; then
3844 # Check whether --enable-static or --disable-static was given.
3845 if test "${enable_static+set}" = set; then
3846 enableval="$enable_static"
3847 p=${PACKAGE-default}
3849 yes) enable_static=yes ;;
3850 no) enable_static=no ;;
3853 # Look at the argument we got. We use all the common list separators.
3854 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3855 for pkg in $enableval; do
3857 if test "X$pkg" = "X$p"; then
3868 # Check whether --enable-fast-install or --disable-fast-install was given.
3869 if test "${enable_fast_install+set}" = set; then
3870 enableval="$enable_fast_install"
3871 p=${PACKAGE-default}
3873 yes) enable_fast_install=yes ;;
3874 no) enable_fast_install=no ;;
3876 enable_fast_install=no
3877 # Look at the argument we got. We use all the common list separators.
3878 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3879 for pkg in $enableval; do
3881 if test "X$pkg" = "X$p"; then
3882 enable_fast_install=yes
3889 enable_fast_install=yes
3892 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3893 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3894 if test "${lt_cv_path_SED+set}" = set; then
3895 echo $ECHO_N "(cached) $ECHO_C" >&6
3897 # Loop through the user's path and test for sed and gsed.
3898 # Then use that list of sed's as ones to test for truncation.
3899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3903 test -z "$as_dir" && as_dir=.
3904 for lt_ac_prog in sed gsed; do
3905 for ac_exec_ext in '' $ac_executable_extensions; do
3906 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3907 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3914 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3915 # along with /bin/sed that truncates output.
3916 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3917 test ! -f $lt_ac_sed && break
3918 cat /dev/null > conftest.in
3920 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3921 # Check for GNU sed and select it if it is found.
3922 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3923 lt_cv_path_SED=$lt_ac_sed
3927 cat conftest.in conftest.in >conftest.tmp
3928 mv conftest.tmp conftest.in
3929 cp conftest.in conftest.nl
3931 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3932 cmp -s conftest.out conftest.nl || break
3933 # 10000 chars as input seems more than enough
3934 test $lt_ac_count -gt 10 && break
3935 lt_ac_count=`expr $lt_ac_count + 1`
3936 if test $lt_ac_count -gt $lt_ac_max; then
3937 lt_ac_max=$lt_ac_count
3938 lt_cv_path_SED=$lt_ac_sed
3946 echo "$as_me:$LINENO: result: $SED" >&5
3947 echo "${ECHO_T}$SED" >&6
3949 echo "$as_me:$LINENO: checking for egrep" >&5
3950 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3951 if test "${ac_cv_prog_egrep+set}" = set; then
3952 echo $ECHO_N "(cached) $ECHO_C" >&6
3954 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3955 then ac_cv_prog_egrep='grep -E'
3956 else ac_cv_prog_egrep='egrep'
3959 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3960 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3961 EGREP=$ac_cv_prog_egrep
3965 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3966 if test "${with_gnu_ld+set}" = set; then
3967 withval="$with_gnu_ld"
3968 test "$withval" = no || with_gnu_ld=yes
3973 if test "$GCC" = yes; then
3974 # Check if gcc -print-prog-name=ld gives a path.
3975 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3976 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3979 # gcc leaves a trailing carriage return which upsets mingw
3980 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3982 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3985 # Accept absolute paths.
3987 re_direlt='/[^/][^/]*/\.\./'
3988 # Canonicalize the path of ld
3989 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3990 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3991 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3993 test -z "$LD" && LD="$ac_prog"
3996 # If it fails, then pretend we aren't using GCC.
4000 # If it is relative, then search for the first ld in PATH.
4004 elif test "$with_gnu_ld" = yes; then
4005 echo "$as_me:$LINENO: checking for GNU ld" >&5
4006 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4008 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4009 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4011 if test "${lt_cv_path_LD+set}" = set; then
4012 echo $ECHO_N "(cached) $ECHO_C" >&6
4014 if test -z "$LD"; then
4015 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4016 for ac_dir in $PATH; do
4018 test -z "$ac_dir" && ac_dir=.
4019 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4020 lt_cv_path_LD="$ac_dir/$ac_prog"
4021 # Check to see if the program is GNU ld. I'd rather use --version,
4022 # but apparently some GNU ld's only accept -v.
4023 # Break only if it was the GNU/non-GNU ld that we prefer.
4024 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4025 *GNU* | *'with BFD'*)
4026 test "$with_gnu_ld" != no && break
4029 test "$with_gnu_ld" != yes && break
4036 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4041 if test -n "$LD"; then
4042 echo "$as_me:$LINENO: result: $LD" >&5
4043 echo "${ECHO_T}$LD" >&6
4045 echo "$as_me:$LINENO: result: no" >&5
4046 echo "${ECHO_T}no" >&6
4048 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4049 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4050 { (exit 1); exit 1; }; }
4051 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4052 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4053 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4054 echo $ECHO_N "(cached) $ECHO_C" >&6
4056 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4057 case `"$LD" -v 2>&1 </dev/null` in
4058 *GNU* | *'with BFD'*)
4059 lt_cv_prog_gnu_ld=yes
4062 lt_cv_prog_gnu_ld=no
4066 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4067 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4068 with_gnu_ld=$lt_cv_prog_gnu_ld
4071 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4072 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4073 if test "${lt_cv_ld_reload_flag+set}" = set; then
4074 echo $ECHO_N "(cached) $ECHO_C" >&6
4076 lt_cv_ld_reload_flag='-r'
4078 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4079 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4080 reload_flag=$lt_cv_ld_reload_flag
4081 case $reload_flag in
4083 *) reload_flag=" $reload_flag" ;;
4085 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4087 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4088 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4089 if test "${lt_cv_path_NM+set}" = set; then
4090 echo $ECHO_N "(cached) $ECHO_C" >&6
4092 if test -n "$NM"; then
4093 # Let the user override the test.
4096 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4097 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4099 test -z "$ac_dir" && ac_dir=.
4100 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4101 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4102 # Check to see if the nm accepts a BSD-compat flag.
4103 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4104 # nm: unknown option "B" ignored
4105 # Tru64's nm complains that /dev/null is an invalid object file
4106 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4107 */dev/null* | *'Invalid file or object type'*)
4108 lt_cv_path_NM="$tmp_nm -B"
4112 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4114 lt_cv_path_NM="$tmp_nm -p"
4118 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4119 continue # so that we can try to find one that supports BSD flags
4126 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4129 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4130 echo "${ECHO_T}$lt_cv_path_NM" >&6
4133 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4134 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4136 if test "$LN_S" = "ln -s"; then
4137 echo "$as_me:$LINENO: result: yes" >&5
4138 echo "${ECHO_T}yes" >&6
4140 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4141 echo "${ECHO_T}no, using $LN_S" >&6
4144 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4145 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4146 if test "${lt_cv_deplibs_check_method+set}" = set; then
4147 echo $ECHO_N "(cached) $ECHO_C" >&6
4149 lt_cv_file_magic_cmd='$MAGIC_CMD'
4150 lt_cv_file_magic_test_file=
4151 lt_cv_deplibs_check_method='unknown'
4152 # Need to set the preceding variable on all platforms that support
4153 # interlibrary dependencies.
4154 # 'none' -- dependencies not supported.
4155 # `unknown' -- same as none, but documents that we really don't know.
4156 # 'pass_all' -- all dependencies passed with no checks.
4157 # 'test_compile' -- check by making test program.
4158 # 'file_magic [[regex]]' -- check by looking for files in library path
4159 # which responds to the $file_magic_cmd with a given extended regex.
4160 # If you have `file' or equivalent on your system and you're not sure
4161 # whether `pass_all' will *always* work, you probably want this one.
4165 lt_cv_deplibs_check_method=pass_all
4169 lt_cv_deplibs_check_method=pass_all
4173 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4174 lt_cv_file_magic_cmd='/usr/bin/file -L'
4175 lt_cv_file_magic_test_file=/shlib/libc.so
4178 cygwin* | mingw* | pw32*)
4179 # win32_libid is a shell function defined in ltmain.sh
4180 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4181 lt_cv_file_magic_cmd='win32_libid'
4184 darwin* | rhapsody*)
4185 # this will be overwritten by pass_all, but leave it in just in case
4186 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4187 lt_cv_file_magic_cmd='/usr/bin/file -L'
4189 rhapsody* | darwin1.[012])
4190 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4193 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4196 lt_cv_deplibs_check_method=pass_all
4200 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4203 # Not sure whether the presence of OpenBSD here was a mistake.
4204 # Let's accept both of them until this is cleared up.
4205 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4206 lt_cv_file_magic_cmd=/usr/bin/file
4207 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4211 lt_cv_deplibs_check_method=pass_all
4216 lt_cv_deplibs_check_method=pass_all
4219 hpux10.20* | hpux11*)
4220 lt_cv_file_magic_cmd=/usr/bin/file
4223 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4224 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4227 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]'
4228 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4231 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4232 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4237 irix5* | irix6* | nonstopux*)
4239 irix5* | nonstopux*)
4240 # this will be overridden with pass_all, but let us keep it just in case
4241 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4245 *-32|*"-32 ") libmagic=32-bit;;
4246 *-n32|*"-n32 ") libmagic=N32;;
4247 *-64|*"-64 ") libmagic=64-bit;;
4248 *) libmagic=never-match;;
4250 # this will be overridden with pass_all, but let us keep it just in case
4251 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4254 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4255 lt_cv_deplibs_check_method=pass_all
4258 # This must be Linux ELF.
4261 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4262 lt_cv_deplibs_check_method=pass_all ;;
4264 # glibc up to 2.1.1 does not perform some relocations on ARM
4265 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4267 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4271 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4272 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4274 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4279 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4280 lt_cv_file_magic_cmd=/usr/bin/file
4281 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4285 lt_cv_deplibs_check_method=unknown
4289 lt_cv_file_magic_cmd=/usr/bin/file
4290 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4291 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4292 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4294 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4298 osf3* | osf4* | osf5*)
4299 # this will be overridden with pass_all, but let us keep it just in case
4300 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4301 lt_cv_file_magic_test_file=/shlib/libc.so
4302 lt_cv_deplibs_check_method=pass_all
4306 lt_cv_deplibs_check_method=pass_all
4310 lt_cv_deplibs_check_method=pass_all
4311 lt_cv_file_magic_test_file=/lib/libc.so
4314 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4315 case $host_vendor in
4317 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]'
4318 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4321 lt_cv_deplibs_check_method=pass_all
4324 lt_cv_file_magic_cmd='/bin/file'
4325 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4328 lt_cv_file_magic_cmd='/bin/file'
4329 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4330 lt_cv_file_magic_test_file=/lib/libc.so
4333 lt_cv_deplibs_check_method=pass_all
4338 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4339 lt_cv_deplibs_check_method=pass_all
4344 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4345 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4346 file_magic_cmd=$lt_cv_file_magic_cmd
4347 deplibs_check_method=$lt_cv_deplibs_check_method
4348 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4353 # If no C compiler was specified, use CC.
4356 # Allow CC to be a program name with arguments.
4359 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4360 if test "${enable_libtool_lock+set}" = set; then
4361 enableval="$enable_libtool_lock"
4364 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4366 # Some flags need to be propagated to the compiler or linker for good
4370 # Find out which ABI we are using.
4371 echo 'int i;' > conftest.$ac_ext
4372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4373 (eval $ac_compile) 2>&5
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); }; then
4377 case `/usr/bin/file conftest.$ac_objext` in
4389 # Find out which ABI we are using.
4390 echo '#line 4390 "configure"' > conftest.$ac_ext
4391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4392 (eval $ac_compile) 2>&5
4394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395 (exit $ac_status); }; then
4396 if test "$lt_cv_prog_gnu_ld" = yes; then
4397 case `/usr/bin/file conftest.$ac_objext` in
4399 LD="${LD-ld} -melf32bsmip"
4402 LD="${LD-ld} -melf32bmipn32"
4405 LD="${LD-ld} -melf64bmip"
4409 case `/usr/bin/file conftest.$ac_objext` in
4425 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4426 # Find out which ABI we are using.
4427 echo 'int i;' > conftest.$ac_ext
4428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4429 (eval $ac_compile) 2>&5
4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 (exit $ac_status); }; then
4433 case "`/usr/bin/file conftest.o`" in
4437 LD="${LD-ld} -m elf_i386"
4440 LD="${LD-ld} -m elf32ppclinux"
4443 LD="${LD-ld} -m elf_s390"
4446 LD="${LD-ld} -m elf32_sparc"
4453 LD="${LD-ld} -m elf_x86_64"
4455 ppc*-*linux*|powerpc*-*linux*)
4456 LD="${LD-ld} -m elf64ppc"
4459 LD="${LD-ld} -m elf64_s390"
4462 LD="${LD-ld} -m elf64_sparc"
4472 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4473 SAVE_CFLAGS="$CFLAGS"
4474 CFLAGS="$CFLAGS -belf"
4475 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4476 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4477 if test "${lt_cv_cc_needs_belf+set}" = set; then
4478 echo $ECHO_N "(cached) $ECHO_C" >&6
4481 ac_cpp='$CPP $CPPFLAGS'
4482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4486 cat >conftest.$ac_ext <<_ACEOF
4487 #line $LINENO "configure"
4490 cat confdefs.h >>conftest.$ac_ext
4491 cat >>conftest.$ac_ext <<_ACEOF
4492 /* end confdefs.h. */
4502 rm -f conftest.$ac_objext conftest$ac_exeext
4503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4504 (eval $ac_link) 2>&5
4506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4507 (exit $ac_status); } &&
4508 { ac_try='test -s conftest$ac_exeext'
4509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4513 (exit $ac_status); }; }; then
4514 lt_cv_cc_needs_belf=yes
4516 echo "$as_me: failed program was:" >&5
4517 sed 's/^/| /' conftest.$ac_ext >&5
4519 lt_cv_cc_needs_belf=no
4521 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4523 ac_cpp='$CPP $CPPFLAGS'
4524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4529 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4530 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4531 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4532 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4533 CFLAGS="$SAVE_CFLAGS"
4539 need_locks="$enable_libtool_lock"
4543 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4544 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4545 if test "${ac_cv_header_stdc+set}" = set; then
4546 echo $ECHO_N "(cached) $ECHO_C" >&6
4548 cat >conftest.$ac_ext <<_ACEOF
4549 #line $LINENO "configure"
4552 cat confdefs.h >>conftest.$ac_ext
4553 cat >>conftest.$ac_ext <<_ACEOF
4554 /* end confdefs.h. */
4568 rm -f conftest.$ac_objext
4569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4570 (eval $ac_compile) 2>&5
4572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573 (exit $ac_status); } &&
4574 { ac_try='test -s conftest.$ac_objext'
4575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); }; }; then
4580 ac_cv_header_stdc=yes
4582 echo "$as_me: failed program was:" >&5
4583 sed 's/^/| /' conftest.$ac_ext >&5
4585 ac_cv_header_stdc=no
4587 rm -f conftest.$ac_objext conftest.$ac_ext
4589 if test $ac_cv_header_stdc = yes; then
4590 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4591 cat >conftest.$ac_ext <<_ACEOF
4592 #line $LINENO "configure"
4595 cat confdefs.h >>conftest.$ac_ext
4596 cat >>conftest.$ac_ext <<_ACEOF
4597 /* end confdefs.h. */
4601 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4602 $EGREP "memchr" >/dev/null 2>&1; then
4605 ac_cv_header_stdc=no
4611 if test $ac_cv_header_stdc = yes; then
4612 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4613 cat >conftest.$ac_ext <<_ACEOF
4614 #line $LINENO "configure"
4617 cat confdefs.h >>conftest.$ac_ext
4618 cat >>conftest.$ac_ext <<_ACEOF
4619 /* end confdefs.h. */
4623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4624 $EGREP "free" >/dev/null 2>&1; then
4627 ac_cv_header_stdc=no
4633 if test $ac_cv_header_stdc = yes; then
4634 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4635 if test "$cross_compiling" = yes; then
4638 cat >conftest.$ac_ext <<_ACEOF
4639 #line $LINENO "configure"
4642 cat confdefs.h >>conftest.$ac_ext
4643 cat >>conftest.$ac_ext <<_ACEOF
4644 /* end confdefs.h. */
4646 #if ((' ' & 0x0FF) == 0x020)
4647 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4648 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4650 # define ISLOWER(c) \
4651 (('a' <= (c) && (c) <= 'i') \
4652 || ('j' <= (c) && (c) <= 'r') \
4653 || ('s' <= (c) && (c) <= 'z'))
4654 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4657 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4662 for (i = 0; i < 256; i++)
4663 if (XOR (islower (i), ISLOWER (i))
4664 || toupper (i) != TOUPPER (i))
4669 rm -f conftest$ac_exeext
4670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4671 (eval $ac_link) 2>&5
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); }; }; then
4682 echo "$as_me: program exited with status $ac_status" >&5
4683 echo "$as_me: failed program was:" >&5
4684 sed 's/^/| /' conftest.$ac_ext >&5
4687 ac_cv_header_stdc=no
4689 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4693 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4694 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4695 if test $ac_cv_header_stdc = yes; then
4697 cat >>confdefs.h <<\_ACEOF
4698 #define STDC_HEADERS 1
4703 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4713 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4714 inttypes.h stdint.h unistd.h
4716 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4717 echo "$as_me:$LINENO: checking for $ac_header" >&5
4718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4720 echo $ECHO_N "(cached) $ECHO_C" >&6
4722 cat >conftest.$ac_ext <<_ACEOF
4723 #line $LINENO "configure"
4726 cat confdefs.h >>conftest.$ac_ext
4727 cat >>conftest.$ac_ext <<_ACEOF
4728 /* end confdefs.h. */
4729 $ac_includes_default
4731 #include <$ac_header>
4733 rm -f conftest.$ac_objext
4734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4735 (eval $ac_compile) 2>&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } &&
4739 { ac_try='test -s conftest.$ac_objext'
4740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); }; }; then
4745 eval "$as_ac_Header=yes"
4747 echo "$as_me: failed program was:" >&5
4748 sed 's/^/| /' conftest.$ac_ext >&5
4750 eval "$as_ac_Header=no"
4752 rm -f conftest.$ac_objext conftest.$ac_ext
4754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4756 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4757 cat >>confdefs.h <<_ACEOF
4758 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4767 for ac_header in dlfcn.h
4769 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4771 echo "$as_me:$LINENO: checking for $ac_header" >&5
4772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4774 echo $ECHO_N "(cached) $ECHO_C" >&6
4776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4777 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4779 # Is the header compilable?
4780 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4781 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4782 cat >conftest.$ac_ext <<_ACEOF
4783 #line $LINENO "configure"
4786 cat confdefs.h >>conftest.$ac_ext
4787 cat >>conftest.$ac_ext <<_ACEOF
4788 /* end confdefs.h. */
4789 $ac_includes_default
4790 #include <$ac_header>
4792 rm -f conftest.$ac_objext
4793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4794 (eval $ac_compile) 2>&5
4796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797 (exit $ac_status); } &&
4798 { ac_try='test -s conftest.$ac_objext'
4799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); }; }; then
4804 ac_header_compiler=yes
4806 echo "$as_me: failed program was:" >&5
4807 sed 's/^/| /' conftest.$ac_ext >&5
4809 ac_header_compiler=no
4811 rm -f conftest.$ac_objext conftest.$ac_ext
4812 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4813 echo "${ECHO_T}$ac_header_compiler" >&6
4815 # Is the header present?
4816 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4817 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4818 cat >conftest.$ac_ext <<_ACEOF
4819 #line $LINENO "configure"
4822 cat confdefs.h >>conftest.$ac_ext
4823 cat >>conftest.$ac_ext <<_ACEOF
4824 /* end confdefs.h. */
4825 #include <$ac_header>
4827 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4828 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4830 grep -v '^ *+' conftest.er1 >conftest.err
4832 cat conftest.err >&5
4833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834 (exit $ac_status); } >/dev/null; then
4835 if test -s conftest.err; then
4836 ac_cpp_err=$ac_c_preproc_warn_flag
4843 if test -z "$ac_cpp_err"; then
4844 ac_header_preproc=yes
4846 echo "$as_me: failed program was:" >&5
4847 sed 's/^/| /' conftest.$ac_ext >&5
4849 ac_header_preproc=no
4851 rm -f conftest.err conftest.$ac_ext
4852 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4853 echo "${ECHO_T}$ac_header_preproc" >&6
4855 # So? What about this header?
4856 case $ac_header_compiler:$ac_header_preproc in
4858 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4859 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4861 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4864 ## ------------------------------------ ##
4865 ## Report this to bug-autoconf@gnu.org. ##
4866 ## ------------------------------------ ##
4869 sed "s/^/$as_me: WARNING: /" >&2
4872 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4873 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4874 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4875 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4876 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4877 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4880 ## ------------------------------------ ##
4881 ## Report this to bug-autoconf@gnu.org. ##
4882 ## ------------------------------------ ##
4885 sed "s/^/$as_me: WARNING: /" >&2
4888 echo "$as_me:$LINENO: checking for $ac_header" >&5
4889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4891 echo $ECHO_N "(cached) $ECHO_C" >&6
4893 eval "$as_ac_Header=$ac_header_preproc"
4895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4900 cat >>confdefs.h <<_ACEOF
4901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4909 ac_cpp='$CXXCPP $CPPFLAGS'
4910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4913 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4914 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4915 if test -z "$CXXCPP"; then
4916 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4917 echo $ECHO_N "(cached) $ECHO_C" >&6
4919 # Double quotes because CXXCPP needs to be expanded
4920 for CXXCPP in "$CXX -E" "/lib/cpp"
4923 for ac_cxx_preproc_warn_flag in '' yes
4925 # Use a header file that comes with gcc, so configuring glibc
4926 # with a fresh cross-compiler works.
4927 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4928 # <limits.h> exists even on freestanding compilers.
4929 # On the NeXT, cc -E runs the code through the compiler's parser,
4930 # not just through cpp. "Syntax error" is here to catch this case.
4931 cat >conftest.$ac_ext <<_ACEOF
4932 #line $LINENO "configure"
4935 cat confdefs.h >>conftest.$ac_ext
4936 cat >>conftest.$ac_ext <<_ACEOF
4937 /* end confdefs.h. */
4939 # include <limits.h>
4941 # include <assert.h>
4945 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4946 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4948 grep -v '^ *+' conftest.er1 >conftest.err
4950 cat conftest.err >&5
4951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); } >/dev/null; then
4953 if test -s conftest.err; then
4954 ac_cpp_err=$ac_cxx_preproc_warn_flag
4961 if test -z "$ac_cpp_err"; then
4964 echo "$as_me: failed program was:" >&5
4965 sed 's/^/| /' conftest.$ac_ext >&5
4967 # Broken: fails on valid input.
4970 rm -f conftest.err conftest.$ac_ext
4972 # OK, works on sane cases. Now check whether non-existent headers
4973 # can be detected and how.
4974 cat >conftest.$ac_ext <<_ACEOF
4975 #line $LINENO "configure"
4978 cat confdefs.h >>conftest.$ac_ext
4979 cat >>conftest.$ac_ext <<_ACEOF
4980 /* end confdefs.h. */
4981 #include <ac_nonexistent.h>
4983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4984 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4986 grep -v '^ *+' conftest.er1 >conftest.err
4988 cat conftest.err >&5
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); } >/dev/null; then
4991 if test -s conftest.err; then
4992 ac_cpp_err=$ac_cxx_preproc_warn_flag
4999 if test -z "$ac_cpp_err"; then
5000 # Broken: success on invalid input.
5003 echo "$as_me: failed program was:" >&5
5004 sed 's/^/| /' conftest.$ac_ext >&5
5006 # Passes both tests.
5010 rm -f conftest.err conftest.$ac_ext
5013 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5014 rm -f conftest.err conftest.$ac_ext
5015 if $ac_preproc_ok; then
5020 ac_cv_prog_CXXCPP=$CXXCPP
5023 CXXCPP=$ac_cv_prog_CXXCPP
5025 ac_cv_prog_CXXCPP=$CXXCPP
5027 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5028 echo "${ECHO_T}$CXXCPP" >&6
5030 for ac_cxx_preproc_warn_flag in '' yes
5032 # Use a header file that comes with gcc, so configuring glibc
5033 # with a fresh cross-compiler works.
5034 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5035 # <limits.h> exists even on freestanding compilers.
5036 # On the NeXT, cc -E runs the code through the compiler's parser,
5037 # not just through cpp. "Syntax error" is here to catch this case.
5038 cat >conftest.$ac_ext <<_ACEOF
5039 #line $LINENO "configure"
5042 cat confdefs.h >>conftest.$ac_ext
5043 cat >>conftest.$ac_ext <<_ACEOF
5044 /* end confdefs.h. */
5046 # include <limits.h>
5048 # include <assert.h>
5052 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5053 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5055 grep -v '^ *+' conftest.er1 >conftest.err
5057 cat conftest.err >&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); } >/dev/null; then
5060 if test -s conftest.err; then
5061 ac_cpp_err=$ac_cxx_preproc_warn_flag
5068 if test -z "$ac_cpp_err"; then
5071 echo "$as_me: failed program was:" >&5
5072 sed 's/^/| /' conftest.$ac_ext >&5
5074 # Broken: fails on valid input.
5077 rm -f conftest.err conftest.$ac_ext
5079 # OK, works on sane cases. Now check whether non-existent headers
5080 # can be detected and how.
5081 cat >conftest.$ac_ext <<_ACEOF
5082 #line $LINENO "configure"
5085 cat confdefs.h >>conftest.$ac_ext
5086 cat >>conftest.$ac_ext <<_ACEOF
5087 /* end confdefs.h. */
5088 #include <ac_nonexistent.h>
5090 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5091 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5093 grep -v '^ *+' conftest.er1 >conftest.err
5095 cat conftest.err >&5
5096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097 (exit $ac_status); } >/dev/null; then
5098 if test -s conftest.err; then
5099 ac_cpp_err=$ac_cxx_preproc_warn_flag
5106 if test -z "$ac_cpp_err"; then
5107 # Broken: success on invalid input.
5110 echo "$as_me: failed program was:" >&5
5111 sed 's/^/| /' conftest.$ac_ext >&5
5113 # Passes both tests.
5117 rm -f conftest.err conftest.$ac_ext
5120 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5121 rm -f conftest.err conftest.$ac_ext
5122 if $ac_preproc_ok; then
5125 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5126 See \`config.log' for more details." >&5
5127 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5128 See \`config.log' for more details." >&2;}
5129 { (exit 1); exit 1; }; }
5133 ac_cpp='$CXXCPP $CPPFLAGS'
5134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5140 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5141 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5142 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5143 if test -n "$ac_tool_prefix"; then
5144 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5146 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5147 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5148 echo "$as_me:$LINENO: checking for $ac_word" >&5
5149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5150 if test "${ac_cv_prog_F77+set}" = set; then
5151 echo $ECHO_N "(cached) $ECHO_C" >&6
5153 if test -n "$F77"; then
5154 ac_cv_prog_F77="$F77" # Let the user override the test.
5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5160 test -z "$as_dir" && as_dir=.
5161 for ac_exec_ext in '' $ac_executable_extensions; do
5162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5163 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 if test -n "$F77"; then
5174 echo "$as_me:$LINENO: result: $F77" >&5
5175 echo "${ECHO_T}$F77" >&6
5177 echo "$as_me:$LINENO: result: no" >&5
5178 echo "${ECHO_T}no" >&6
5181 test -n "$F77" && break
5184 if test -z "$F77"; then
5186 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5188 # Extract the first word of "$ac_prog", so it can be a program name with args.
5189 set dummy $ac_prog; ac_word=$2
5190 echo "$as_me:$LINENO: checking for $ac_word" >&5
5191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5192 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5193 echo $ECHO_N "(cached) $ECHO_C" >&6
5195 if test -n "$ac_ct_F77"; then
5196 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5202 test -z "$as_dir" && as_dir=.
5203 for ac_exec_ext in '' $ac_executable_extensions; do
5204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5205 ac_cv_prog_ac_ct_F77="$ac_prog"
5206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5214 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5215 if test -n "$ac_ct_F77"; then
5216 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5217 echo "${ECHO_T}$ac_ct_F77" >&6
5219 echo "$as_me:$LINENO: result: no" >&5
5220 echo "${ECHO_T}no" >&6
5223 test -n "$ac_ct_F77" && break
5230 # Provide some information about the compiler.
5231 echo "$as_me:5231:" \
5232 "checking for Fortran 77 compiler version" >&5
5233 ac_compiler=`set X $ac_compile; echo $2`
5234 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5235 (eval $ac_compiler --version </dev/null >&5) 2>&5
5237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238 (exit $ac_status); }
5239 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5240 (eval $ac_compiler -v </dev/null >&5) 2>&5
5242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); }
5244 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5245 (eval $ac_compiler -V </dev/null >&5) 2>&5
5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5248 (exit $ac_status); }
5250 # If we don't use `.F' as extension, the preprocessor is not run on the
5254 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5255 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5256 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5257 echo $ECHO_N "(cached) $ECHO_C" >&6
5259 cat >conftest.$ac_ext <<_ACEOF
5267 rm -f conftest.$ac_objext
5268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5269 (eval $ac_compile) 2>&5
5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272 (exit $ac_status); } &&
5273 { ac_try='test -s conftest.$ac_objext'
5274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); }; }; then
5281 echo "$as_me: failed program was:" >&5
5282 sed 's/^/| /' conftest.$ac_ext >&5
5286 rm -f conftest.$ac_objext conftest.$ac_ext
5287 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5290 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5291 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5293 G77=`test $ac_compiler_gnu = yes && echo yes`
5294 ac_test_FFLAGS=${FFLAGS+set}
5295 ac_save_FFLAGS=$FFLAGS
5297 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5298 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5299 if test "${ac_cv_prog_f77_g+set}" = set; then
5300 echo $ECHO_N "(cached) $ECHO_C" >&6
5303 cat >conftest.$ac_ext <<_ACEOF
5308 rm -f conftest.$ac_objext
5309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5310 (eval $ac_compile) 2>&5
5312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5313 (exit $ac_status); } &&
5314 { ac_try='test -s conftest.$ac_objext'
5315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); }; }; then
5320 ac_cv_prog_f77_g=yes
5322 echo "$as_me: failed program was:" >&5
5323 sed 's/^/| /' conftest.$ac_ext >&5
5327 rm -f conftest.$ac_objext conftest.$ac_ext
5330 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5331 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5332 if test "$ac_test_FFLAGS" = set; then
5333 FFLAGS=$ac_save_FFLAGS
5334 elif test $ac_cv_prog_f77_g = yes; then
5335 if test "$G77" = yes; then
5341 if test "$G77" = yes; then
5348 ac_cpp='$CPP $CPPFLAGS'
5349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5355 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5357 # find the maximum length of command line arguments
5358 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5359 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5360 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5361 echo $ECHO_N "(cached) $ECHO_C" >&6
5368 # On DJGPP, this test can blow up pretty badly due to problems in libc
5369 # (any single argument exceeding 2000 bytes causes a buffer overrun
5370 # during glob expansion). Even if it were fixed, the result of this
5371 # check would be larger than it should be.
5372 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5376 # Under GNU Hurd, this test is not required because there is
5377 # no limit to the length of command line arguments.
5378 # Libtool will interpret -1 as no limit whatsoever
5379 lt_cv_sys_max_cmd_len=-1;
5383 # On Win9x/ME, this test blows up -- it succeeds, but takes
5384 # about 5 minutes as the teststring grows exponentially.
5385 # Worse, since 9x/ME are not pre-emptively multitasking,
5386 # you end up with a "frozen" computer, even though with patience
5387 # the test eventually succeeds (with a max line length of 256k).
5388 # Instead, let's just punt: use the minimum linelength reported by
5389 # all of the supported platforms: 8192 (on NT/2K/XP).
5390 lt_cv_sys_max_cmd_len=8192;
5394 # If test is not a shell built-in, we'll probably end up computing a
5395 # maximum length that is only half of the actual maximum length, but
5397 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5398 = "XX$testring") >/dev/null 2>&1 &&
5399 new_result=`expr "X$testring" : ".*" 2>&1` &&
5400 lt_cv_sys_max_cmd_len=$new_result &&
5401 test $i != 17 # 1/2 MB should be enough
5404 testring=$testring$testring
5407 # Add a significant safety factor because C++ compilers can tack on massive
5408 # amounts of additional arguments before passing them to the linker.
5409 # It appears as though 1/2 is a usable value.
5410 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5416 if test -n $lt_cv_sys_max_cmd_len ; then
5417 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5418 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5420 echo "$as_me:$LINENO: result: none" >&5
5421 echo "${ECHO_T}none" >&6
5427 # Check for command to grab the raw symbol name followed by C symbol from nm.
5428 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5429 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5430 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5434 # These are sane defaults that work on at least a few old systems.
5435 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5437 # Character class describing NM global symbol codes.
5438 symcode='[BCDEGRST]'
5440 # Regexp to match symbols that can be accessed directly from C.
5441 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5443 # Transform the above into a raw symbol and a C symbol.
5444 symxfrm='\1 \2\3 \3'
5446 # Transform an extracted symbol line into a proper C declaration
5447 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5449 # Transform an extracted symbol line into symbol name and symbol address
5450 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'"
5452 # Define system-specific variables.
5457 cygwin* | mingw* | pw32*)
5458 symcode='[ABCDGISTW]'
5460 hpux*) # Its linker distinguishes data from code symbols
5461 if test "$host_cpu" = ia64; then
5462 symcode='[ABCDEGRST]'
5464 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5465 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'"
5468 symcode='[BCDEGRST]'
5471 symcode='[BCDEGQRST]'
5481 # Handle CRLF in mingw tool chain
5485 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5489 # If we're using GNU nm, then use its standard symbol codes.
5490 case `$NM -V 2>&1` in
5491 *GNU* | *'with BFD'*)
5492 symcode='[ABCDGISTW]' ;;
5495 # Try without a prefix undercore, then with it.
5496 for ac_symprfx in "" "_"; do
5498 # Write the raw and C identifiers.
5499 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5501 # Check to see that the pipe works correctly.
5505 cat > conftest.$ac_ext <<EOF
5510 void nm_test_func(){}
5514 int main(){nm_test_var='a';nm_test_func();return(0);}
5517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5518 (eval $ac_compile) 2>&5
5520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 (exit $ac_status); }; then
5522 # Now try to grab the symbols.
5524 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5525 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528 (exit $ac_status); } && test -s "$nlist"; then
5529 # Try sorting and uniquifying the output.
5530 if sort "$nlist" | uniq > "$nlist"T; then
5531 mv -f "$nlist"T "$nlist"
5536 # Make sure that we snagged all the symbols we need.
5537 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5538 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5539 cat <<EOF > conftest.$ac_ext
5545 # Now generate the symbol file.
5546 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5548 cat <<EOF >> conftest.$ac_ext
5549 #if defined (__STDC__) && __STDC__
5550 # define lt_ptr_t void *
5552 # define lt_ptr_t char *
5556 /* The mapping between symbol names and symbols. */
5561 lt_preloaded_symbols[] =
5564 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5565 cat <<\EOF >> conftest.$ac_ext
5573 # Now try linking the two files.
5574 mv conftest.$ac_objext conftstm.$ac_objext
5575 lt_save_LIBS="$LIBS"
5576 lt_save_CFLAGS="$CFLAGS"
5577 LIBS="conftstm.$ac_objext"
5578 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5580 (eval $ac_link) 2>&5
5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5586 LIBS="$lt_save_LIBS"
5587 CFLAGS="$lt_save_CFLAGS"
5589 echo "cannot find nm_test_func in $nlist" >&5
5592 echo "cannot find nm_test_var in $nlist" >&5
5595 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5598 echo "$progname: failed program was:" >&5
5599 cat conftest.$ac_ext >&5
5601 rm -f conftest* conftst*
5603 # Do not use the global_symbol_pipe unless it works.
5604 if test "$pipe_works" = yes; then
5607 lt_cv_sys_global_symbol_pipe=
5613 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5614 lt_cv_sys_global_symbol_to_cdecl=
5616 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5617 echo "$as_me:$LINENO: result: failed" >&5
5618 echo "${ECHO_T}failed" >&6
5620 echo "$as_me:$LINENO: result: ok" >&5
5621 echo "${ECHO_T}ok" >&6
5624 echo "$as_me:$LINENO: checking for objdir" >&5
5625 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5626 if test "${lt_cv_objdir+set}" = set; then
5627 echo $ECHO_N "(cached) $ECHO_C" >&6
5629 rm -f .libs 2>/dev/null
5630 mkdir .libs 2>/dev/null
5631 if test -d .libs; then
5634 # MS-DOS does not allow filenames that begin with a dot.
5637 rmdir .libs 2>/dev/null
5639 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5640 echo "${ECHO_T}$lt_cv_objdir" >&6
5641 objdir=$lt_cv_objdir
5649 # AIX sometimes has problems with the GCC collect2 program. For some
5650 # reason, if we set the COLLECT_NAMES environment variable, the problems
5651 # vanish in a puff of smoke.
5652 if test "X${COLLECT_NAMES+set}" != Xset; then
5654 export COLLECT_NAMES
5659 # Sed substitution that helps us do robust quoting. It backslashifies
5660 # metacharacters that are still active within double-quoted strings.
5661 Xsed='sed -e s/^X//'
5662 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5664 # Same as above, but do not quote variable references.
5665 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5667 # Sed substitution to delay expansion of an escaped shell variable in a
5668 # double_quote_subst'ed string.
5669 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5671 # Sed substitution to avoid accidental globbing in evaled expressions
5672 no_glob_subst='s/\*/\\\*/g'
5679 can_build_shared=yes
5681 # All known linkers require a `.a' archive for static linking (except M$VC,
5682 # which needs '.lib').
5684 ltmain="$ac_aux_dir/ltmain.sh"
5685 ofile="$default_ofile"
5686 with_gnu_ld="$lt_cv_prog_gnu_ld"
5688 if test -n "$ac_tool_prefix"; then
5689 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5690 set dummy ${ac_tool_prefix}ar; ac_word=$2
5691 echo "$as_me:$LINENO: checking for $ac_word" >&5
5692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5693 if test "${ac_cv_prog_AR+set}" = set; then
5694 echo $ECHO_N "(cached) $ECHO_C" >&6
5696 if test -n "$AR"; then
5697 ac_cv_prog_AR="$AR" # Let the user override the test.
5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5703 test -z "$as_dir" && as_dir=.
5704 for ac_exec_ext in '' $ac_executable_extensions; do
5705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5706 ac_cv_prog_AR="${ac_tool_prefix}ar"
5707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5716 if test -n "$AR"; then
5717 echo "$as_me:$LINENO: result: $AR" >&5
5718 echo "${ECHO_T}$AR" >&6
5720 echo "$as_me:$LINENO: result: no" >&5
5721 echo "${ECHO_T}no" >&6
5725 if test -z "$ac_cv_prog_AR"; then
5727 # Extract the first word of "ar", so it can be a program name with args.
5728 set dummy ar; ac_word=$2
5729 echo "$as_me:$LINENO: checking for $ac_word" >&5
5730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5731 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5732 echo $ECHO_N "(cached) $ECHO_C" >&6
5734 if test -n "$ac_ct_AR"; then
5735 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 test -z "$as_dir" && as_dir=.
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_prog_ac_ct_AR="ar"
5745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5754 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5755 if test -n "$ac_ct_AR"; then
5756 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5757 echo "${ECHO_T}$ac_ct_AR" >&6
5759 echo "$as_me:$LINENO: result: no" >&5
5760 echo "${ECHO_T}no" >&6
5768 if test -n "$ac_tool_prefix"; then
5769 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5770 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5771 echo "$as_me:$LINENO: checking for $ac_word" >&5
5772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5773 if test "${ac_cv_prog_RANLIB+set}" = set; then
5774 echo $ECHO_N "(cached) $ECHO_C" >&6
5776 if test -n "$RANLIB"; then
5777 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5783 test -z "$as_dir" && as_dir=.
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5786 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 RANLIB=$ac_cv_prog_RANLIB
5796 if test -n "$RANLIB"; then
5797 echo "$as_me:$LINENO: result: $RANLIB" >&5
5798 echo "${ECHO_T}$RANLIB" >&6
5800 echo "$as_me:$LINENO: result: no" >&5
5801 echo "${ECHO_T}no" >&6
5805 if test -z "$ac_cv_prog_RANLIB"; then
5806 ac_ct_RANLIB=$RANLIB
5807 # Extract the first word of "ranlib", so it can be a program name with args.
5808 set dummy ranlib; ac_word=$2
5809 echo "$as_me:$LINENO: checking for $ac_word" >&5
5810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5811 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5812 echo $ECHO_N "(cached) $ECHO_C" >&6
5814 if test -n "$ac_ct_RANLIB"; then
5815 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5821 test -z "$as_dir" && as_dir=.
5822 for ac_exec_ext in '' $ac_executable_extensions; do
5823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5824 ac_cv_prog_ac_ct_RANLIB="ranlib"
5825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5834 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5835 if test -n "$ac_ct_RANLIB"; then
5836 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5837 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5839 echo "$as_me:$LINENO: result: no" >&5
5840 echo "${ECHO_T}no" >&6
5843 RANLIB=$ac_ct_RANLIB
5845 RANLIB="$ac_cv_prog_RANLIB"
5848 if test -n "$ac_tool_prefix"; then
5849 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5850 set dummy ${ac_tool_prefix}strip; ac_word=$2
5851 echo "$as_me:$LINENO: checking for $ac_word" >&5
5852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5853 if test "${ac_cv_prog_STRIP+set}" = set; then
5854 echo $ECHO_N "(cached) $ECHO_C" >&6
5856 if test -n "$STRIP"; then
5857 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863 test -z "$as_dir" && as_dir=.
5864 for ac_exec_ext in '' $ac_executable_extensions; do
5865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5866 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 STRIP=$ac_cv_prog_STRIP
5876 if test -n "$STRIP"; then
5877 echo "$as_me:$LINENO: result: $STRIP" >&5
5878 echo "${ECHO_T}$STRIP" >&6
5880 echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6
5885 if test -z "$ac_cv_prog_STRIP"; then
5887 # Extract the first word of "strip", so it can be a program name with args.
5888 set dummy strip; ac_word=$2
5889 echo "$as_me:$LINENO: checking for $ac_word" >&5
5890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5891 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5892 echo $ECHO_N "(cached) $ECHO_C" >&6
5894 if test -n "$ac_ct_STRIP"; then
5895 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 test -z "$as_dir" && as_dir=.
5902 for ac_exec_ext in '' $ac_executable_extensions; do
5903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5904 ac_cv_prog_ac_ct_STRIP="strip"
5905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5914 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5915 if test -n "$ac_ct_STRIP"; then
5916 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5917 echo "${ECHO_T}$ac_ct_STRIP" >&6
5919 echo "$as_me:$LINENO: result: no" >&5
5920 echo "${ECHO_T}no" >&6
5925 STRIP="$ac_cv_prog_STRIP"
5930 old_CFLAGS="$CFLAGS"
5932 # Set sane defaults for various variables
5933 test -z "$AR" && AR=ar
5934 test -z "$AR_FLAGS" && AR_FLAGS=cru
5935 test -z "$AS" && AS=as
5936 test -z "$CC" && CC=cc
5937 test -z "$LTCC" && LTCC=$CC
5938 test -z "$DLLTOOL" && DLLTOOL=dlltool
5939 test -z "$LD" && LD=ld
5940 test -z "$LN_S" && LN_S="ln -s"
5941 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5942 test -z "$NM" && NM=nm
5943 test -z "$SED" && SED=sed
5944 test -z "$OBJDUMP" && OBJDUMP=objdump
5945 test -z "$RANLIB" && RANLIB=:
5946 test -z "$STRIP" && STRIP=:
5947 test -z "$ac_objext" && ac_objext=o
5949 # Determine commands to create old-style static archives.
5950 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5951 old_postinstall_cmds='chmod 644 $oldlib'
5952 old_postuninstall_cmds=
5954 if test -n "$RANLIB"; then
5957 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5960 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5963 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5966 # Only perform the check for file, if the check method requires it
5967 case $deplibs_check_method in
5969 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5970 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5971 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5972 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5973 echo $ECHO_N "(cached) $ECHO_C" >&6
5977 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5980 lt_save_MAGIC_CMD="$MAGIC_CMD"
5981 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5982 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5983 for ac_dir in $ac_dummy; do
5985 test -z "$ac_dir" && ac_dir=.
5986 if test -f $ac_dir/${ac_tool_prefix}file; then
5987 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5988 if test -n "$file_magic_test_file"; then
5989 case $deplibs_check_method in
5991 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5992 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5993 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5994 $EGREP "$file_magic_regex" > /dev/null; then
5999 *** Warning: the command libtool uses to detect shared libraries,
6000 *** $file_magic_cmd, produces output that libtool cannot recognize.
6001 *** The result is that libtool may fail to recognize shared libraries
6002 *** as such. This will affect the creation of libtool libraries that
6003 *** depend on shared libraries, but programs linked with such libtool
6004 *** libraries will work regardless of this problem. Nevertheless, you
6005 *** may want to report the problem to your system manager and/or to
6006 *** bug-libtool@gnu.org
6016 MAGIC_CMD="$lt_save_MAGIC_CMD"
6021 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6022 if test -n "$MAGIC_CMD"; then
6023 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6024 echo "${ECHO_T}$MAGIC_CMD" >&6
6026 echo "$as_me:$LINENO: result: no" >&5
6027 echo "${ECHO_T}no" >&6
6030 if test -z "$lt_cv_path_MAGIC_CMD"; then
6031 if test -n "$ac_tool_prefix"; then
6032 echo "$as_me:$LINENO: checking for file" >&5
6033 echo $ECHO_N "checking for file... $ECHO_C" >&6
6034 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6035 echo $ECHO_N "(cached) $ECHO_C" >&6
6039 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6042 lt_save_MAGIC_CMD="$MAGIC_CMD"
6043 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6044 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6045 for ac_dir in $ac_dummy; do
6047 test -z "$ac_dir" && ac_dir=.
6048 if test -f $ac_dir/file; then
6049 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6050 if test -n "$file_magic_test_file"; then
6051 case $deplibs_check_method in
6053 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6054 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6055 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6056 $EGREP "$file_magic_regex" > /dev/null; then
6061 *** Warning: the command libtool uses to detect shared libraries,
6062 *** $file_magic_cmd, produces output that libtool cannot recognize.
6063 *** The result is that libtool may fail to recognize shared libraries
6064 *** as such. This will affect the creation of libtool libraries that
6065 *** depend on shared libraries, but programs linked with such libtool
6066 *** libraries will work regardless of this problem. Nevertheless, you
6067 *** may want to report the problem to your system manager and/or to
6068 *** bug-libtool@gnu.org
6078 MAGIC_CMD="$lt_save_MAGIC_CMD"
6083 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6084 if test -n "$MAGIC_CMD"; then
6085 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6086 echo "${ECHO_T}$MAGIC_CMD" >&6
6088 echo "$as_me:$LINENO: result: no" >&5
6089 echo "${ECHO_T}no" >&6
6104 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6105 if test "${enable_libtool_lock+set}" = set; then
6106 enableval="$enable_libtool_lock"
6109 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6112 # Check whether --with-pic or --without-pic was given.
6113 if test "${with_pic+set}" = set; then
6119 test -z "$pic_mode" && pic_mode=default
6121 # Use C for the default configuration in the libtool script
6125 ac_cpp='$CPP $CPPFLAGS'
6126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6131 # Source file extension for C test sources.
6134 # Object file extension for compiled C test sources.
6138 # Code to be used in simple compile tests
6139 lt_simple_compile_test_code="int some_variable = 0;\n"
6141 # Code to be used in simple link tests
6142 lt_simple_link_test_code='int main(){return(0);}\n'
6145 # If no C compiler was specified, use CC.
6148 # Allow CC to be a program name with arguments.
6153 # Check for any special shared library compilation flags.
6156 if test "$GCC" = no; then
6159 lt_prog_cc_shlib='-belf'
6163 if test -n "$lt_prog_cc_shlib"; then
6164 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6165 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6166 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6168 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6169 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6170 lt_cv_prog_cc_can_build_shared=no
6176 # Check to make sure the static flag actually works.
6178 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6179 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6180 if test "${lt_prog_compiler_static_works+set}" = set; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6183 lt_prog_compiler_static_works=no
6184 save_LDFLAGS="$LDFLAGS"
6185 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6186 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6187 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6188 # The compiler can only warn and ignore the option if not recognized
6189 # So say no if there are warnings
6190 if test -s conftest.err; then
6191 # Append any errors to the config.log.
6192 cat conftest.err 1>&5
6194 lt_prog_compiler_static_works=yes
6198 LDFLAGS="$save_LDFLAGS"
6201 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6202 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6204 if test x"$lt_prog_compiler_static_works" = xyes; then
6207 lt_prog_compiler_static=
6213 ## There is no encapsulation within the following macros, do not change
6214 ## the running order or otherwise move them around unless you know exactly
6215 ## what you are doing...
6217 lt_prog_compiler_no_builtin_flag=
6219 if test "$GCC" = yes; then
6220 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6222 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6223 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6224 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6225 echo $ECHO_N "(cached) $ECHO_C" >&6
6227 lt_cv_prog_compiler_rtti_exceptions=no
6228 ac_outfile=conftest.$ac_objext
6229 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6230 lt_compiler_flag="-fno-rtti -fno-exceptions"
6231 # Insert the option either (1) after the last *FLAGS variable, or
6232 # (2) before a word containing "conftest.", or (3) at the end.
6233 # Note that $ac_compile itself does not contain backslashes and begins
6234 # with a dollar sign (not a hyphen), so the echo should work correctly.
6235 # The option is referenced via a variable to avoid confusing sed.
6236 lt_compile=`echo "$ac_compile" | $SED \
6237 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6238 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6239 -e 's:$: $lt_compiler_flag:'`
6240 (eval echo "\"\$as_me:6240: $lt_compile\"" >&5)
6241 (eval "$lt_compile" 2>conftest.err)
6243 cat conftest.err >&5
6244 echo "$as_me:6244: \$? = $ac_status" >&5
6245 if (exit $ac_status) && test -s "$ac_outfile"; then
6246 # The compiler can only warn and ignore the option if not recognized
6247 # So say no if there are warnings
6248 if test ! -s conftest.err; then
6249 lt_cv_prog_compiler_rtti_exceptions=yes
6255 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6256 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6258 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6259 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6266 lt_prog_compiler_wl=
6267 lt_prog_compiler_pic=
6268 lt_prog_compiler_static=
6270 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6271 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6273 if test "$GCC" = yes; then
6274 lt_prog_compiler_wl='-Wl,'
6275 lt_prog_compiler_static='-static'
6279 # All AIX code is PIC.
6280 if test "$host_cpu" = ia64; then
6281 # AIX 5 now supports IA64 processor
6282 lt_prog_compiler_static='-Bstatic'
6287 # FIXME: we need at least 68020 code to build shared libraries, but
6288 # adding the `-m68020' flag to GCC prevents building anything better,
6290 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6293 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6294 # PIC is the default for these OSes.
6297 mingw* | pw32* | os2*)
6298 # This hack is so that the source file can tell whether it is being
6299 # built for inclusion in a dll (and should export symbols for example).
6300 lt_prog_compiler_pic='-DDLL_EXPORT'
6303 darwin* | rhapsody*)
6304 # PIC is the default on this platform
6305 # Common symbols not allowed in MH_DYLIB files
6306 lt_prog_compiler_pic='-fno-common'
6310 # Just because we use GCC doesn't mean we suddenly get shared libraries
6311 # on systems that don't support them.
6312 lt_prog_compiler_can_build_shared=no
6317 if test -d /usr/nec; then
6318 lt_prog_compiler_pic=-Kconform_pic
6323 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6330 lt_prog_compiler_pic='-fPIC'
6336 lt_prog_compiler_pic='-fPIC'
6340 # PORTME Check for flag to pass linker flags through the system compiler.
6343 lt_prog_compiler_wl='-Wl,'
6344 if test "$host_cpu" = ia64; then
6345 # AIX 5 now supports IA64 processor
6346 lt_prog_compiler_static='-Bstatic'
6348 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6352 mingw* | pw32* | os2*)
6353 # This hack is so that the source file can tell whether it is being
6354 # built for inclusion in a dll (and should export symbols for example).
6355 lt_prog_compiler_pic='-DDLL_EXPORT'
6358 hpux9* | hpux10* | hpux11*)
6359 lt_prog_compiler_wl='-Wl,'
6360 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6367 lt_prog_compiler_pic='+Z'
6370 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6371 lt_prog_compiler_static='${wl}-a ${wl}archive'
6374 irix5* | irix6* | nonstopux*)
6375 lt_prog_compiler_wl='-Wl,'
6376 # PIC (with -KPIC) is the default.
6377 lt_prog_compiler_static='-non_shared'
6381 lt_prog_compiler_pic='-KPIC'
6382 lt_prog_compiler_static='-Bstatic'
6388 lt_prog_compiler_wl='-Wl,'
6389 lt_prog_compiler_pic='-KPIC'
6390 lt_prog_compiler_static='-static'
6393 lt_prog_compiler_wl='-Wl,'
6394 # All Alpha code is PIC.
6395 lt_prog_compiler_static='-non_shared'
6400 osf3* | osf4* | osf5*)
6401 lt_prog_compiler_wl='-Wl,'
6402 # All OSF/1 code is PIC.
6403 lt_prog_compiler_static='-non_shared'
6407 lt_prog_compiler_pic='-Kpic'
6408 lt_prog_compiler_static='-dn'
6412 lt_prog_compiler_wl='-Wl,'
6413 lt_prog_compiler_pic='-KPIC'
6414 lt_prog_compiler_static='-Bstatic'
6418 lt_prog_compiler_wl='-Qoption ld '
6419 lt_prog_compiler_pic='-PIC'
6420 lt_prog_compiler_static='-Bstatic'
6423 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6424 lt_prog_compiler_wl='-Wl,'
6425 lt_prog_compiler_pic='-KPIC'
6426 lt_prog_compiler_static='-Bstatic'
6430 if test -d /usr/nec ;then
6431 lt_prog_compiler_pic='-Kconform_pic'
6432 lt_prog_compiler_static='-Bstatic'
6437 lt_prog_compiler_pic='-pic'
6438 lt_prog_compiler_static='-Bstatic'
6442 lt_prog_compiler_can_build_shared=no
6447 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6448 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6451 # Check to make sure the PIC flag actually works.
6453 if test -n "$lt_prog_compiler_pic"; then
6454 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6455 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6456 if test "${lt_prog_compiler_pic_works+set}" = set; then
6457 echo $ECHO_N "(cached) $ECHO_C" >&6
6459 lt_prog_compiler_pic_works=no
6460 ac_outfile=conftest.$ac_objext
6461 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6462 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6463 # Insert the option either (1) after the last *FLAGS variable, or
6464 # (2) before a word containing "conftest.", or (3) at the end.
6465 # Note that $ac_compile itself does not contain backslashes and begins
6466 # with a dollar sign (not a hyphen), so the echo should work correctly.
6467 # The option is referenced via a variable to avoid confusing sed.
6468 lt_compile=`echo "$ac_compile" | $SED \
6469 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6470 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6471 -e 's:$: $lt_compiler_flag:'`
6472 (eval echo "\"\$as_me:6472: $lt_compile\"" >&5)
6473 (eval "$lt_compile" 2>conftest.err)
6475 cat conftest.err >&5
6476 echo "$as_me:6476: \$? = $ac_status" >&5
6477 if (exit $ac_status) && test -s "$ac_outfile"; then
6478 # The compiler can only warn and ignore the option if not recognized
6479 # So say no if there are warnings
6480 if test ! -s conftest.err; then
6481 lt_prog_compiler_pic_works=yes
6487 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6488 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6490 if test x"$lt_prog_compiler_pic_works" = xyes; then
6491 case $lt_prog_compiler_pic in
6493 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6496 lt_prog_compiler_pic=
6497 lt_prog_compiler_can_build_shared=no
6502 # For platforms which do not support PIC, -DPIC is meaningless:
6504 lt_prog_compiler_pic=
6507 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6511 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6512 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6513 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6514 echo $ECHO_N "(cached) $ECHO_C" >&6
6516 lt_cv_prog_compiler_c_o=no
6517 $rm -r conftest 2>/dev/null
6521 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6523 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6524 # that will create temporary files in the current directory regardless of
6525 # the output directory. Thus, making CWD read-only will cause this test
6526 # to fail, enabling locking or at least warning the user not to do parallel
6530 lt_compiler_flag="-o out/conftest2.$ac_objext"
6531 # Insert the option either (1) after the last *FLAGS variable, or
6532 # (2) before a word containing "conftest.", or (3) at the end.
6533 # Note that $ac_compile itself does not contain backslashes and begins
6534 # with a dollar sign (not a hyphen), so the echo should work correctly.
6535 lt_compile=`echo "$ac_compile" | $SED \
6536 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6537 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6538 -e 's:$: $lt_compiler_flag:'`
6539 (eval echo "\"\$as_me:6539: $lt_compile\"" >&5)
6540 (eval "$lt_compile" 2>out/conftest.err)
6542 cat out/conftest.err >&5
6543 echo "$as_me:6543: \$? = $ac_status" >&5
6544 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6546 # The compiler can only warn and ignore the option if not recognized
6547 # So say no if there are warnings
6548 if test ! -s out/conftest.err; then
6549 lt_cv_prog_compiler_c_o=yes
6560 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6561 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6564 hard_links="nottested"
6565 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6566 # do not overwrite the value of need_locks provided by the user
6567 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6568 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6571 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6573 ln conftest.a conftest.b 2>&5 || hard_links=no
6574 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6575 echo "$as_me:$LINENO: result: $hard_links" >&5
6576 echo "${ECHO_T}$hard_links" >&6
6577 if test "$hard_links" = no; then
6578 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6579 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6586 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6587 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6590 allow_undefined_flag=
6591 enable_shared_with_static_runtimes=no
6593 archive_expsym_cmds=
6594 old_archive_From_new_cmds=
6595 old_archive_from_expsyms_cmds=
6596 export_dynamic_flag_spec=
6597 whole_archive_flag_spec=
6598 thread_safe_flag_spec=
6599 hardcode_libdir_flag_spec=
6600 hardcode_libdir_flag_spec_ld=
6601 hardcode_libdir_separator=
6604 hardcode_shlibpath_var=unsupported
6605 link_all_deplibs=unknown
6606 hardcode_automatic=no
6609 always_export_symbols=no
6610 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6611 # include_expsyms should be a list of space-separated symbols to be *always*
6612 # included in the symbol list
6614 # exclude_expsyms can be an extended regexp of symbols to exclude
6615 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6616 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6617 # as well as any symbol that contains `d'.
6618 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6619 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6620 # platforms (ab)use it in PIC code, but their linkers get confused if
6621 # the symbol is explicitly referenced. Since portable code cannot
6622 # rely on this symbol name, it's probably fine to never include it in
6623 # preloaded symbol tables.
6624 extract_expsyms_cmds=
6627 cygwin* | mingw* | pw32*)
6628 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6629 # When not using gcc, we currently assume that we are using
6630 # Microsoft Visual C++.
6631 if test "$GCC" != yes; then
6641 if test "$with_gnu_ld" = yes; then
6642 # If archive_cmds runs LD, not CC, wlarc should be empty
6645 # See if GNU ld supports shared libraries.
6647 aix3* | aix4* | aix5*)
6648 # On AIX/PPC, the GNU linker is very broken
6649 if test "$host_cpu" != ia64; then
6653 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6654 *** to be unable to reliably create shared libraries on AIX.
6655 *** Therefore, libtool is disabling shared libraries support. If you
6656 *** really care for shared libraries, you may want to modify your PATH
6657 *** so that a non-GNU linker is found, and then restart.
6664 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)'
6665 hardcode_libdir_flag_spec='-L$libdir'
6666 hardcode_minus_L=yes
6668 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6669 # that the semantics of dynamic libraries on AmigaOS, at least up
6670 # to version 4, is to share data among multiple programs linked
6671 # with the same dynamic library. Since this doesn't match the
6672 # behavior of shared libraries on other platforms, we can't use
6678 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6679 allow_undefined_flag=unsupported
6680 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6681 # support --undefined. This deserves some investigation. FIXME
6682 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6688 cygwin* | mingw* | pw32*)
6689 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6690 # as there is no search path for DLLs.
6691 hardcode_libdir_flag_spec='-L$libdir'
6692 allow_undefined_flag=unsupported
6693 always_export_symbols=no
6694 enable_shared_with_static_runtimes=yes
6695 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6697 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6698 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6699 # If the export-symbols file already is a .def file (1st line
6700 # is EXPORTS), use it as is; otherwise, prepend...
6701 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6702 cp $export_symbols $output_objdir/$soname.def;
6704 echo EXPORTS > $output_objdir/$soname.def;
6705 cat $export_symbols >> $output_objdir/$soname.def;
6707 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6714 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6715 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6718 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6719 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6724 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6728 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6729 *** create shared libraries on Solaris systems. Therefore, libtool
6730 *** is disabling shared libraries support. We urge you to upgrade GNU
6731 *** binutils to release 2.9.1 or newer. Another option is to modify
6732 *** your PATH or compiler configuration so that the native linker is
6733 *** used, and then restart.
6736 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6737 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6738 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6745 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6748 hardcode_shlibpath_var=no
6752 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6753 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6754 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6761 if test "$ld_shlibs" = yes; then
6762 runpath_var=LD_RUN_PATH
6763 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6764 export_dynamic_flag_spec='${wl}--export-dynamic'
6765 # ancient GNU ld didn't support --whole-archive et. al.
6766 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6767 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6769 whole_archive_flag_spec=
6773 # PORTME fill in a description of your system's linker (not GNU ld)
6776 allow_undefined_flag=unsupported
6777 always_export_symbols=yes
6778 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'
6779 # Note: this linker hardcodes the directories in LIBPATH if there
6780 # are no directories specified by -L.
6781 hardcode_minus_L=yes
6782 if test "$GCC" = yes && test -z "$link_static_flag"; then
6783 # Neither direct hardcoding nor static linking is supported with a
6785 hardcode_direct=unsupported
6790 if test "$host_cpu" = ia64; then
6791 # On IA64, the linker does run time linking by default, so we don't
6792 # have to do anything special.
6793 aix_use_runtimelinking=no
6794 exp_sym_flag='-Bexport'
6797 # If we're using GNU nm, then we don't want the "-C" option.
6798 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6799 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6800 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'
6802 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'
6804 aix_use_runtimelinking=no
6806 # Test if we are trying to use run time linking or normal
6807 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6808 # need to do runtime linking.
6809 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6810 for ld_flag in $LDFLAGS; do
6811 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6812 aix_use_runtimelinking=yes
6818 exp_sym_flag='-bexport'
6819 no_entry_flag='-bnoentry'
6822 # When large executables or shared objects are built, AIX ld can
6823 # have problems creating the table of contents. If linking a library
6824 # or program results in "error TOC overflow" add -mminimal-toc to
6825 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6826 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6830 hardcode_libdir_separator=':'
6831 link_all_deplibs=yes
6833 if test "$GCC" = yes; then
6834 case $host_os in aix4.012|aix4.012.*)
6835 # We only want to do this on AIX 4.2 and lower, the check
6836 # below for broken collect2 doesn't work under 4.3+
6837 collect2name=`${CC} -print-prog-name=collect2`
6838 if test -f "$collect2name" && \
6839 strings "$collect2name" | grep resolve_lib_name >/dev/null
6841 # We have reworked collect2
6844 # We have old collect2
6845 hardcode_direct=unsupported
6846 # It fails to find uninstalled libraries when the uninstalled
6847 # path is not listed in the libpath. Setting hardcode_minus_L
6848 # to unsupported forces relinking
6849 hardcode_minus_L=yes
6850 hardcode_libdir_flag_spec='-L$libdir'
6851 hardcode_libdir_separator=
6854 shared_flag='-shared'
6857 if test "$host_cpu" = ia64; then
6858 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6859 # chokes on -Wl,-G. The following line is correct:
6862 if test "$aix_use_runtimelinking" = yes; then
6863 shared_flag='${wl}-G'
6865 shared_flag='${wl}-bM:SRE'
6870 # It seems that -bexpall does not export symbols beginning with
6871 # underscore (_), so it is better to generate a list of symbols to export.
6872 always_export_symbols=yes
6873 if test "$aix_use_runtimelinking" = yes; then
6874 # Warning - without using the other runtime loading flags (-brtl),
6875 # -berok will link without error, but may produce a broken library.
6876 allow_undefined_flag='-berok'
6877 # Determine the default libpath from the value encoded in an empty executable.
6878 cat >conftest.$ac_ext <<_ACEOF
6879 #line $LINENO "configure"
6882 cat confdefs.h >>conftest.$ac_ext
6883 cat >>conftest.$ac_ext <<_ACEOF
6884 /* end confdefs.h. */
6894 rm -f conftest.$ac_objext conftest$ac_exeext
6895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6896 (eval $ac_link) 2>&5
6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899 (exit $ac_status); } &&
6900 { ac_try='test -s conftest$ac_exeext'
6901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905 (exit $ac_status); }; }; then
6907 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6909 # Check for a 64-bit object if we didn't find anything.
6910 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; }
6913 echo "$as_me: failed program was:" >&5
6914 sed 's/^/| /' conftest.$ac_ext >&5
6917 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6918 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6920 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6921 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"
6923 if test "$host_cpu" = ia64; then
6924 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6925 allow_undefined_flag="-z nodefs"
6926 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"
6928 # Determine the default libpath from the value encoded in an empty executable.
6929 cat >conftest.$ac_ext <<_ACEOF
6930 #line $LINENO "configure"
6933 cat confdefs.h >>conftest.$ac_ext
6934 cat >>conftest.$ac_ext <<_ACEOF
6935 /* end confdefs.h. */
6945 rm -f conftest.$ac_objext conftest$ac_exeext
6946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6947 (eval $ac_link) 2>&5
6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950 (exit $ac_status); } &&
6951 { ac_try='test -s conftest$ac_exeext'
6952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6956 (exit $ac_status); }; }; then
6958 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6960 # Check for a 64-bit object if we didn't find anything.
6961 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; }
6964 echo "$as_me: failed program was:" >&5
6965 sed 's/^/| /' conftest.$ac_ext >&5
6968 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6969 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6971 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6972 # Warning - without using the other run time loading flags,
6973 # -berok will link without error, but may produce a broken library.
6974 no_undefined_flag=' ${wl}-bernotok'
6975 allow_undefined_flag=' ${wl}-berok'
6976 # -bexpall does not export symbols beginning with underscore (_)
6977 always_export_symbols=yes
6978 # Exported symbols can be pulled into shared objects from archives
6979 whole_archive_flag_spec=' '
6980 archive_cmds_need_lc=yes
6981 # This is similar to how AIX traditionally builds it's shared libraries.
6982 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'
6988 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)'
6989 hardcode_libdir_flag_spec='-L$libdir'
6990 hardcode_minus_L=yes
6991 # see comment about different semantics on the GNU ld section
6996 export_dynamic_flag_spec=-rdynamic
6999 cygwin* | mingw* | pw32*)
7000 # When not using gcc, we currently assume that we are using
7001 # Microsoft Visual C++.
7002 # hardcode_libdir_flag_spec is actually meaningless, as there is
7003 # no search path for DLLs.
7004 hardcode_libdir_flag_spec=' '
7005 allow_undefined_flag=unsupported
7006 # Tell ltmain to make .lib files, not .a files.
7008 # Tell ltmain to make .dll files, not .so files.
7010 # FIXME: Setting linknames here is a bad hack.
7011 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7012 # The linker will automatically build a .lib file if we build a DLL.
7013 old_archive_From_new_cmds='true'
7014 # FIXME: Should let the user specify the lib program.
7015 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7016 fix_srcfile_path='`cygpath -w "$srcfile"`'
7017 enable_shared_with_static_runtimes=yes
7020 darwin* | rhapsody*)
7021 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7022 archive_cmds_need_lc=no
7024 rhapsody* | darwin1.[012])
7025 allow_undefined_flag='-undefined suppress'
7028 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7031 # FIXME: Relying on posixy $() will cause problems for
7032 # cross-compilation, but unfortunately the echo tests do not
7033 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7034 # `"' quotes if we put them in here... so don't!
7035 lt_int_apple_cc_single_mod=no
7036 output_verbose_link_cmd='echo'
7037 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7038 lt_int_apple_cc_single_mod=yes
7040 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7041 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7043 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'
7045 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7046 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7047 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7048 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}'
7050 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}'
7052 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}'
7054 hardcode_automatic=yes
7055 hardcode_shlibpath_var=unsupported
7056 whole_archive_flag_spec='-all_load $convenience'
7057 link_all_deplibs=yes
7062 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7063 hardcode_libdir_flag_spec='-L$libdir'
7064 hardcode_shlibpath_var=no
7071 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7072 # support. Future versions do this automatically, but an explicit c++rt0.o
7073 # does not break anything, and helps significantly (at the cost of a little
7076 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7077 hardcode_libdir_flag_spec='-R$libdir'
7079 hardcode_shlibpath_var=no
7082 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7084 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7086 hardcode_minus_L=yes
7087 hardcode_shlibpath_var=no
7090 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7092 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7093 hardcode_libdir_flag_spec='-R$libdir'
7095 hardcode_shlibpath_var=no
7099 if test "$GCC" = yes; then
7100 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'
7102 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'
7104 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7105 hardcode_libdir_separator=:
7108 # hardcode_minus_L: Not really in the search PATH,
7109 # but as the default location of the library.
7110 hardcode_minus_L=yes
7111 export_dynamic_flag_spec='${wl}-E'
7115 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7118 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7121 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7127 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7130 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7134 if test "$with_gnu_ld" = no; then
7137 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7138 hardcode_libdir_flag_spec_ld='+b $libdir'
7139 hardcode_libdir_separator=:
7141 hardcode_shlibpath_var=no
7144 hardcode_libdir_flag_spec='-L$libdir'
7146 hardcode_shlibpath_var=no
7148 # hardcode_minus_L: Not really in the search PATH,
7149 # but as the default location of the library.
7150 hardcode_minus_L=yes
7153 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7154 hardcode_libdir_separator=:
7156 export_dynamic_flag_spec='${wl}-E'
7158 # hardcode_minus_L: Not really in the search PATH,
7159 # but as the default location of the library.
7160 hardcode_minus_L=yes
7166 irix5* | irix6* | nonstopux*)
7167 if test "$GCC" = yes; then
7168 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'
7170 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'
7171 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7173 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7174 hardcode_libdir_separator=:
7175 link_all_deplibs=yes
7179 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7180 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7182 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7184 hardcode_libdir_flag_spec='-R$libdir'
7186 hardcode_shlibpath_var=no
7190 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7192 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7193 hardcode_libdir_separator=:
7194 hardcode_shlibpath_var=no
7199 hardcode_shlibpath_var=no
7200 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7201 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7202 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7203 export_dynamic_flag_spec='${wl}-E'
7206 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7207 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7208 hardcode_libdir_flag_spec='-R$libdir'
7211 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7212 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7219 hardcode_libdir_flag_spec='-L$libdir'
7220 hardcode_minus_L=yes
7221 allow_undefined_flag=unsupported
7222 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'
7223 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7227 if test "$GCC" = yes; then
7228 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7229 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'
7231 allow_undefined_flag=' -expect_unresolved \*'
7232 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'
7234 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7235 hardcode_libdir_separator=:
7238 osf4* | osf5*) # as osf3* with the addition of -msym flag
7239 if test "$GCC" = yes; then
7240 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7241 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'
7242 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7244 allow_undefined_flag=' -expect_unresolved \*'
7245 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'
7246 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7247 $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'
7249 # Both c and cxx compiler support -rpath directly
7250 hardcode_libdir_flag_spec='-rpath $libdir'
7252 hardcode_libdir_separator=:
7256 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7257 hardcode_shlibpath_var=no
7258 export_dynamic_flag_spec='${wl}-Bexport'
7259 runpath_var=LD_RUN_PATH
7260 hardcode_runpath_var=yes
7264 no_undefined_flag=' -z text'
7265 if test "$GCC" = yes; then
7266 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7267 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7268 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7270 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7271 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7272 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7274 hardcode_libdir_flag_spec='-R$libdir'
7275 hardcode_shlibpath_var=no
7277 solaris2.[0-5] | solaris2.[0-5].*) ;;
7278 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7279 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7281 link_all_deplibs=yes
7285 if test "x$host_vendor" = xsequent; then
7286 # Use $CC to link under sequent, because it throws in some extra .o
7287 # files that make .init and .fini sections work.
7288 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7290 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7292 hardcode_libdir_flag_spec='-L$libdir'
7294 hardcode_minus_L=yes
7295 hardcode_shlibpath_var=no
7299 case $host_vendor in
7301 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7302 hardcode_direct=yes # is this really true???
7305 ## LD is ld it makes a PLAMLIB
7306 ## CC just makes a GrossModule.
7307 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7308 reload_cmds='$CC -r -o $output$reload_objs'
7312 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7313 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7316 runpath_var='LD_RUN_PATH'
7317 hardcode_shlibpath_var=no
7321 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7322 hardcode_shlibpath_var=no
7323 export_dynamic_flag_spec='-Bexport'
7327 if test -d /usr/nec; then
7328 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7329 hardcode_shlibpath_var=no
7330 runpath_var=LD_RUN_PATH
7331 hardcode_runpath_var=yes
7337 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7340 hardcode_shlibpath_var=no
7341 hardcode_runpath_var=yes
7342 runpath_var=LD_RUN_PATH
7345 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7346 no_undefined_flag='${wl}-z ${wl}text'
7347 if test "$GCC" = yes; then
7348 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7350 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7352 runpath_var='LD_RUN_PATH'
7353 hardcode_shlibpath_var=no
7357 no_undefined_flag=' -z text'
7358 # $CC -shared without GNU ld will not create a library from C++
7359 # object files and a static libstdc++, better avoid it by now
7360 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7361 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7362 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7363 hardcode_libdir_flag_spec=
7364 hardcode_shlibpath_var=no
7365 runpath_var='LD_RUN_PATH'
7369 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7370 hardcode_libdir_flag_spec='-L$libdir'
7371 hardcode_shlibpath_var=no
7380 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7381 echo "${ECHO_T}$ld_shlibs" >&6
7382 test "$ld_shlibs" = no && can_build_shared=no
7384 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7385 if test "$GCC" = yes; then
7386 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7390 # Do we need to explicitly link libc?
7392 case "x$archive_cmds_need_lc" in
7394 # Assume -lc should be added
7395 archive_cmds_need_lc=yes
7397 if test "$enable_shared" = yes && test "$GCC" = yes; then
7398 case $archive_cmds in
7400 # FIXME: we may have to deal with multi-command sequences.
7403 # Test whether the compiler implicitly links with -lc since on some
7404 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7405 # to ld, don't add -lc before -lgcc.
7406 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7407 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7409 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7412 (eval $ac_compile) 2>&5
7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); } 2>conftest.err; then
7418 libobjs=conftest.$ac_objext
7420 wl=$lt_prog_compiler_wl
7426 lt_save_allow_undefined_flag=$allow_undefined_flag
7427 allow_undefined_flag=
7428 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7429 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7432 (exit $ac_status); }
7434 archive_cmds_need_lc=no
7436 archive_cmds_need_lc=yes
7438 allow_undefined_flag=$lt_save_allow_undefined_flag
7440 cat conftest.err 1>&5
7443 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7444 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7451 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7452 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7454 if test -n "$hardcode_libdir_flag_spec" || \
7455 test -n "$runpath_var " || \
7456 test "X$hardcode_automatic"="Xyes" ; then
7458 # We can hardcode non-existant directories.
7459 if test "$hardcode_direct" != no &&
7460 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7461 # have to relink, otherwise we might link with an installed library
7462 # when we should be linking with a yet-to-be-installed one
7463 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7464 test "$hardcode_minus_L" != no; then
7465 # Linking always hardcodes the temporary library directory.
7466 hardcode_action=relink
7468 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7469 hardcode_action=immediate
7472 # We cannot hardcode anything, or else we can only hardcode existing
7474 hardcode_action=unsupported
7476 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7477 echo "${ECHO_T}$hardcode_action" >&6
7479 if test "$hardcode_action" = relink; then
7480 # Fast installation is not supported
7481 enable_fast_install=no
7482 elif test "$shlibpath_overrides_runpath" = yes ||
7483 test "$enable_shared" = no; then
7484 # Fast installation is not necessary
7485 enable_fast_install=needless
7490 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7491 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7492 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7493 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7494 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7495 echo "$as_me:$LINENO: result: yes" >&5
7496 echo "${ECHO_T}yes" >&6
7498 # FIXME - insert some real tests, host_os isn't really good enough
7501 if test -n "$STRIP" ; then
7502 striplib="$STRIP -x"
7503 echo "$as_me:$LINENO: result: yes" >&5
7504 echo "${ECHO_T}yes" >&6
7506 echo "$as_me:$LINENO: result: no" >&5
7507 echo "${ECHO_T}no" >&6
7511 echo "$as_me:$LINENO: result: no" >&5
7512 echo "${ECHO_T}no" >&6
7517 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7518 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7520 libname_spec='lib$name'
7528 shlibpath_overrides_runpath=unknown
7530 dynamic_linker="$host_os ld.so"
7531 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7532 if test "$GCC" = yes; then
7533 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7534 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7535 # if the path contains ";" then we assume it to be the separator
7536 # otherwise default to the standard path separator (i.e. ":") - it is
7537 # assumed that no part of a normal pathname contains ";" but that should
7538 # okay in the real world where ";" in dirpaths is itself problematic.
7539 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7541 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7544 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7546 need_lib_prefix=unknown
7547 hardcode_into_libs=no
7549 # when you set need_version to no, make sure it does not cause -set_version
7550 # flags to be left without arguments
7551 need_version=unknown
7556 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7557 shlibpath_var=LIBPATH
7559 # AIX 3 has no versioning support, so we append a major version to the name.
7560 soname_spec='${libname}${release}${shared_ext}$major'
7567 hardcode_into_libs=yes
7568 if test "$host_cpu" = ia64; then
7569 # AIX 5 supports IA64
7570 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7571 shlibpath_var=LD_LIBRARY_PATH
7573 # With GCC up to 2.95.x, collect2 would create an import file
7574 # for dependence libraries. The import file would start with
7575 # the line `#! .'. This would cause the generated library to
7576 # depend on `.', always an invalid library. This was fixed in
7577 # development snapshots of GCC prior to 3.0.
7579 aix4 | aix4.[01] | aix4.[01].*)
7580 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7582 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7589 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7590 # soname into executable. Probably we can add versioning support to
7591 # collect2, so additional links can be useful in future.
7592 if test "$aix_use_runtimelinking" = yes; then
7593 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7594 # instead of lib<name>.a to let people know that these are not
7595 # typical AIX shared libraries.
7596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7598 # We preserve .a as extension for shared libraries through AIX4.2
7599 # and later when we are not doing run time linking.
7600 library_names_spec='${libname}${release}.a $libname.a'
7601 soname_spec='${libname}${release}${shared_ext}$major'
7603 shlibpath_var=LIBPATH
7608 library_names_spec='$libname.ixlibrary $libname.a'
7609 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7610 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'
7614 library_names_spec='${libname}${shared_ext}'
7615 dynamic_linker="$host_os ld.so"
7616 shlibpath_var=LIBRARY_PATH
7622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7623 soname_spec='${libname}${release}${shared_ext}$major'
7624 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7625 shlibpath_var=LD_LIBRARY_PATH
7626 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7627 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7628 # the default ld.so.conf also contains /usr/contrib/lib and
7629 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7630 # libtool to hard-code these into programs
7633 cygwin* | mingw* | pw32*)
7634 version_type=windows
7639 case $GCC,$host_os in
7640 yes,cygwin* | yes,mingw* | yes,pw32*)
7641 library_names_spec='$libname.dll.a'
7642 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7643 postinstall_cmds='base_file=`basename \${file}`~
7644 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7645 dldir=$destdir/`dirname \$dlpath`~
7646 test -d \$dldir || mkdir -p \$dldir~
7647 $install_prog $dir/$dlname \$dldir/$dlname'
7648 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7649 dlpath=$dir/\$dldll~
7651 shlibpath_overrides_runpath=yes
7655 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7656 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7657 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7660 # MinGW DLLs use traditional 'lib' prefix
7661 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7662 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7663 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7664 # It is most probably a Windows format PATH printed by
7665 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7666 # path with ; separators, and with drive letters. We can handle the
7667 # drive letters (cygwin fileutils understands them), so leave them,
7668 # especially as we might pass files found there to a mingw objdump,
7669 # which wouldn't understand a cygwinified path. Ahh.
7670 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7672 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7676 # pw32 DLLs use 'pw' prefix rather than 'lib'
7677 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7683 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7686 dynamic_linker='Win32 ld.exe'
7687 # FIXME: first we should search . and the directory the executable is in
7691 darwin* | rhapsody*)
7692 dynamic_linker="$host_os dyld"
7696 # FIXME: Relying on posixy $() will cause problems for
7697 # cross-compilation, but unfortunately the echo tests do not
7698 # yet detect zsh echo's removal of \ escapes.
7699 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7700 soname_spec='${libname}${release}${major}$shared_ext'
7701 shlibpath_overrides_runpath=yes
7702 shlibpath_var=DYLD_LIBRARY_PATH
7703 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7704 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7705 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7706 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"`
7708 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7716 soname_spec='${libname}${release}${shared_ext}$major'
7717 shlibpath_var=LD_LIBRARY_PATH
7725 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7726 version_type=freebsd-$objformat
7727 case $version_type in
7729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7734 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7738 shlibpath_var=LD_LIBRARY_PATH
7741 shlibpath_overrides_runpath=yes
7743 freebsd3.01* | freebsdelf3.01*)
7744 shlibpath_overrides_runpath=yes
7745 hardcode_into_libs=yes
7748 shlibpath_overrides_runpath=no
7749 hardcode_into_libs=yes
7758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7759 soname_spec='${libname}${release}${shared_ext}$major'
7760 shlibpath_var=LD_LIBRARY_PATH
7761 hardcode_into_libs=yes
7764 hpux9* | hpux10* | hpux11*)
7765 # Give a soname corresponding to the major version so that dld.sl refuses to
7766 # link against other versions.
7773 hardcode_into_libs=yes
7774 dynamic_linker="$host_os dld.so"
7775 shlibpath_var=LD_LIBRARY_PATH
7776 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7778 soname_spec='${libname}${release}${shared_ext}$major'
7779 if test "X$HPUX_IA64_MODE" = X32; then
7780 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7782 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7784 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7788 hardcode_into_libs=yes
7789 dynamic_linker="$host_os dld.sl"
7790 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7791 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7793 soname_spec='${libname}${release}${shared_ext}$major'
7794 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7795 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7799 dynamic_linker="$host_os dld.sl"
7800 shlibpath_var=SHLIB_PATH
7801 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7803 soname_spec='${libname}${release}${shared_ext}$major'
7806 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7807 postinstall_cmds='chmod 555 $lib'
7810 irix5* | irix6* | nonstopux*)
7812 nonstopux*) version_type=nonstopux ;;
7814 if test "$lt_cv_prog_gnu_ld" = yes; then
7822 soname_spec='${libname}${release}${shared_ext}$major'
7823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7825 irix5* | nonstopux*)
7829 case $LD in # libtool.m4 will add one of these switches to LD
7830 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7831 libsuff= shlibsuff= libmagic=32-bit;;
7832 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7833 libsuff=32 shlibsuff=N32 libmagic=N32;;
7834 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7835 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7836 *) libsuff= shlibsuff= libmagic=never-match;;
7840 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7841 shlibpath_overrides_runpath=no
7842 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7843 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7844 hardcode_into_libs=yes
7847 # No shared lib support for Linux oldld, aout, or coff.
7848 linux*oldld* | linux*aout* | linux*coff*)
7852 # This must be Linux ELF.
7857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7858 soname_spec='${libname}${release}${shared_ext}$major'
7859 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7860 shlibpath_var=LD_LIBRARY_PATH
7861 shlibpath_overrides_runpath=no
7862 # This implies no fast_install, which is unacceptable.
7863 # Some rework will be needed to allow for fast_install
7864 # before this can be enabled.
7865 hardcode_into_libs=yes
7867 # We used to test for /lib/ld.so.1 and disable shared libraries on
7868 # powerpc, because MkLinux only supported shared libraries with the
7869 # GNU dynamic linker. Since this was broken with cross compilers,
7870 # most powerpc-linux boxes support dynamic linking these days and
7871 # people can always --disable-shared, the test was removed, and we
7872 # assume the GNU/Linux dynamic linker is in use.
7873 dynamic_linker='GNU/Linux ld.so'
7880 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7882 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7883 dynamic_linker='NetBSD (a.out) ld.so'
7885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7886 soname_spec='${libname}${release}${shared_ext}$major'
7887 dynamic_linker='NetBSD ld.elf_so'
7889 shlibpath_var=LD_LIBRARY_PATH
7890 shlibpath_overrides_runpath=yes
7891 hardcode_into_libs=yes
7896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7897 shlibpath_var=LD_LIBRARY_PATH
7898 shlibpath_overrides_runpath=yes
7905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7906 soname_spec='${libname}${release}${shared_ext}$major'
7907 shlibpath_var=LD_LIBRARY_PATH
7908 shlibpath_overrides_runpath=yes
7915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7916 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7917 shlibpath_var=LD_LIBRARY_PATH
7918 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7920 openbsd2.[89] | openbsd2.[89].*)
7921 shlibpath_overrides_runpath=no
7924 shlibpath_overrides_runpath=yes
7928 shlibpath_overrides_runpath=yes
7933 libname_spec='$name'
7936 library_names_spec='$libname${shared_ext} $libname.a'
7937 dynamic_linker='OS/2 ld.exe'
7938 shlibpath_var=LIBPATH
7941 osf3* | osf4* | osf5*)
7945 soname_spec='${libname}${release}${shared_ext}$major'
7946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7947 shlibpath_var=LD_LIBRARY_PATH
7948 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7949 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7954 soname_spec='${libname}${release}${shared_ext}$major'
7955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7956 shlibpath_var=LD_LIBRARY_PATH
7963 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7964 soname_spec='${libname}${release}${shared_ext}$major'
7965 shlibpath_var=LD_LIBRARY_PATH
7966 shlibpath_overrides_runpath=yes
7967 hardcode_into_libs=yes
7968 # ldd complains unless libraries are executable
7969 postinstall_cmds='chmod +x $lib'
7974 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7975 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7976 shlibpath_var=LD_LIBRARY_PATH
7977 shlibpath_overrides_runpath=yes
7978 if test "$with_gnu_ld" = yes; then
7984 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7987 soname_spec='${libname}${release}${shared_ext}$major'
7988 shlibpath_var=LD_LIBRARY_PATH
7989 case $host_vendor in
7991 shlibpath_overrides_runpath=no
7993 export_dynamic_flag_spec='${wl}-Blargedynsym'
7994 runpath_var=LD_RUN_PATH
8002 shlibpath_overrides_runpath=no
8003 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8009 if test -d /usr/nec ;then
8011 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8012 soname_spec='$libname${shared_ext}.$major'
8013 shlibpath_var=LD_LIBRARY_PATH
8019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8020 soname_spec='${libname}${release}${shared_ext}$major'
8021 shlibpath_var=LD_LIBRARY_PATH
8028 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8029 echo "${ECHO_T}$dynamic_linker" >&6
8030 test "$dynamic_linker" = no && can_build_shared=no
8032 if test "x$enable_dlopen" != xyes; then
8033 enable_dlopen=unknown
8034 enable_dlopen_self=unknown
8035 enable_dlopen_self_static=unknown
8042 lt_cv_dlopen="load_add_on"
8044 lt_cv_dlopen_self=yes
8048 lt_cv_dlopen="LoadLibrary"
8053 lt_cv_dlopen="dlopen"
8058 # if libdl is installed we need to link against it
8059 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8060 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8061 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8062 echo $ECHO_N "(cached) $ECHO_C" >&6
8064 ac_check_lib_save_LIBS=$LIBS
8066 cat >conftest.$ac_ext <<_ACEOF
8067 #line $LINENO "configure"
8070 cat confdefs.h >>conftest.$ac_ext
8071 cat >>conftest.$ac_ext <<_ACEOF
8072 /* end confdefs.h. */
8074 /* Override any gcc2 internal prototype to avoid an error. */
8078 /* We use char because int might match the return type of a gcc2
8079 builtin and then its argument prototype would still apply. */
8089 rm -f conftest.$ac_objext conftest$ac_exeext
8090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8091 (eval $ac_link) 2>&5
8093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8094 (exit $ac_status); } &&
8095 { ac_try='test -s conftest$ac_exeext'
8096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8100 (exit $ac_status); }; }; then
8101 ac_cv_lib_dl_dlopen=yes
8103 echo "$as_me: failed program was:" >&5
8104 sed 's/^/| /' conftest.$ac_ext >&5
8106 ac_cv_lib_dl_dlopen=no
8108 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8109 LIBS=$ac_check_lib_save_LIBS
8111 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8112 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8113 if test $ac_cv_lib_dl_dlopen = yes; then
8114 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8119 lt_cv_dlopen_self=yes
8126 echo "$as_me:$LINENO: checking for shl_load" >&5
8127 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8128 if test "${ac_cv_func_shl_load+set}" = set; then
8129 echo $ECHO_N "(cached) $ECHO_C" >&6
8131 cat >conftest.$ac_ext <<_ACEOF
8132 #line $LINENO "configure"
8135 cat confdefs.h >>conftest.$ac_ext
8136 cat >>conftest.$ac_ext <<_ACEOF
8137 /* end confdefs.h. */
8138 /* System header to define __stub macros and hopefully few prototypes,
8139 which can conflict with char shl_load (); below.
8140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8141 <limits.h> exists even on freestanding compilers. */
8143 # include <limits.h>
8145 # include <assert.h>
8147 /* Override any gcc2 internal prototype to avoid an error. */
8152 /* We use char because int might match the return type of a gcc2
8153 builtin and then its argument prototype would still apply. */
8155 /* The GNU C library defines this for functions which it implements
8156 to always fail with ENOSYS. Some functions are actually named
8157 something starting with __ and the normal name is an alias. */
8158 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8161 char (*f) () = shl_load;
8170 return f != shl_load;
8175 rm -f conftest.$ac_objext conftest$ac_exeext
8176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8177 (eval $ac_link) 2>&5
8179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8180 (exit $ac_status); } &&
8181 { ac_try='test -s conftest$ac_exeext'
8182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8186 (exit $ac_status); }; }; then
8187 ac_cv_func_shl_load=yes
8189 echo "$as_me: failed program was:" >&5
8190 sed 's/^/| /' conftest.$ac_ext >&5
8192 ac_cv_func_shl_load=no
8194 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8196 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8197 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8198 if test $ac_cv_func_shl_load = yes; then
8199 lt_cv_dlopen="shl_load"
8201 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8202 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8203 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8204 echo $ECHO_N "(cached) $ECHO_C" >&6
8206 ac_check_lib_save_LIBS=$LIBS
8208 cat >conftest.$ac_ext <<_ACEOF
8209 #line $LINENO "configure"
8212 cat confdefs.h >>conftest.$ac_ext
8213 cat >>conftest.$ac_ext <<_ACEOF
8214 /* end confdefs.h. */
8216 /* Override any gcc2 internal prototype to avoid an error. */
8220 /* We use char because int might match the return type of a gcc2
8221 builtin and then its argument prototype would still apply. */
8231 rm -f conftest.$ac_objext conftest$ac_exeext
8232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8233 (eval $ac_link) 2>&5
8235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236 (exit $ac_status); } &&
8237 { ac_try='test -s conftest$ac_exeext'
8238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); }; }; then
8243 ac_cv_lib_dld_shl_load=yes
8245 echo "$as_me: failed program was:" >&5
8246 sed 's/^/| /' conftest.$ac_ext >&5
8248 ac_cv_lib_dld_shl_load=no
8250 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8251 LIBS=$ac_check_lib_save_LIBS
8253 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8254 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8255 if test $ac_cv_lib_dld_shl_load = yes; then
8256 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8258 echo "$as_me:$LINENO: checking for dlopen" >&5
8259 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8260 if test "${ac_cv_func_dlopen+set}" = set; then
8261 echo $ECHO_N "(cached) $ECHO_C" >&6
8263 cat >conftest.$ac_ext <<_ACEOF
8264 #line $LINENO "configure"
8267 cat confdefs.h >>conftest.$ac_ext
8268 cat >>conftest.$ac_ext <<_ACEOF
8269 /* end confdefs.h. */
8270 /* System header to define __stub macros and hopefully few prototypes,
8271 which can conflict with char dlopen (); below.
8272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8273 <limits.h> exists even on freestanding compilers. */
8275 # include <limits.h>
8277 # include <assert.h>
8279 /* Override any gcc2 internal prototype to avoid an error. */
8284 /* We use char because int might match the return type of a gcc2
8285 builtin and then its argument prototype would still apply. */
8287 /* The GNU C library defines this for functions which it implements
8288 to always fail with ENOSYS. Some functions are actually named
8289 something starting with __ and the normal name is an alias. */
8290 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8293 char (*f) () = dlopen;
8307 rm -f conftest.$ac_objext conftest$ac_exeext
8308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8309 (eval $ac_link) 2>&5
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312 (exit $ac_status); } &&
8313 { ac_try='test -s conftest$ac_exeext'
8314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318 (exit $ac_status); }; }; then
8319 ac_cv_func_dlopen=yes
8321 echo "$as_me: failed program was:" >&5
8322 sed 's/^/| /' conftest.$ac_ext >&5
8324 ac_cv_func_dlopen=no
8326 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8328 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8329 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8330 if test $ac_cv_func_dlopen = yes; then
8331 lt_cv_dlopen="dlopen"
8333 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8334 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8335 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8336 echo $ECHO_N "(cached) $ECHO_C" >&6
8338 ac_check_lib_save_LIBS=$LIBS
8340 cat >conftest.$ac_ext <<_ACEOF
8341 #line $LINENO "configure"
8344 cat confdefs.h >>conftest.$ac_ext
8345 cat >>conftest.$ac_ext <<_ACEOF
8346 /* end confdefs.h. */
8348 /* Override any gcc2 internal prototype to avoid an error. */
8352 /* We use char because int might match the return type of a gcc2
8353 builtin and then its argument prototype would still apply. */
8363 rm -f conftest.$ac_objext conftest$ac_exeext
8364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8365 (eval $ac_link) 2>&5
8367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368 (exit $ac_status); } &&
8369 { ac_try='test -s conftest$ac_exeext'
8370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374 (exit $ac_status); }; }; then
8375 ac_cv_lib_dl_dlopen=yes
8377 echo "$as_me: failed program was:" >&5
8378 sed 's/^/| /' conftest.$ac_ext >&5
8380 ac_cv_lib_dl_dlopen=no
8382 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8383 LIBS=$ac_check_lib_save_LIBS
8385 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8386 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8387 if test $ac_cv_lib_dl_dlopen = yes; then
8388 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8390 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8391 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8392 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8393 echo $ECHO_N "(cached) $ECHO_C" >&6
8395 ac_check_lib_save_LIBS=$LIBS
8397 cat >conftest.$ac_ext <<_ACEOF
8398 #line $LINENO "configure"
8401 cat confdefs.h >>conftest.$ac_ext
8402 cat >>conftest.$ac_ext <<_ACEOF
8403 /* end confdefs.h. */
8405 /* Override any gcc2 internal prototype to avoid an error. */
8409 /* We use char because int might match the return type of a gcc2
8410 builtin and then its argument prototype would still apply. */
8420 rm -f conftest.$ac_objext conftest$ac_exeext
8421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8422 (eval $ac_link) 2>&5
8424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8425 (exit $ac_status); } &&
8426 { ac_try='test -s conftest$ac_exeext'
8427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 (exit $ac_status); }; }; then
8432 ac_cv_lib_svld_dlopen=yes
8434 echo "$as_me: failed program was:" >&5
8435 sed 's/^/| /' conftest.$ac_ext >&5
8437 ac_cv_lib_svld_dlopen=no
8439 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8440 LIBS=$ac_check_lib_save_LIBS
8442 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8443 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8444 if test $ac_cv_lib_svld_dlopen = yes; then
8445 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8447 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8448 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8449 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8450 echo $ECHO_N "(cached) $ECHO_C" >&6
8452 ac_check_lib_save_LIBS=$LIBS
8454 cat >conftest.$ac_ext <<_ACEOF
8455 #line $LINENO "configure"
8458 cat confdefs.h >>conftest.$ac_ext
8459 cat >>conftest.$ac_ext <<_ACEOF
8460 /* end confdefs.h. */
8462 /* Override any gcc2 internal prototype to avoid an error. */
8466 /* We use char because int might match the return type of a gcc2
8467 builtin and then its argument prototype would still apply. */
8477 rm -f conftest.$ac_objext conftest$ac_exeext
8478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8479 (eval $ac_link) 2>&5
8481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482 (exit $ac_status); } &&
8483 { ac_try='test -s conftest$ac_exeext'
8484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 (exit $ac_status); }; }; then
8489 ac_cv_lib_dld_dld_link=yes
8491 echo "$as_me: failed program was:" >&5
8492 sed 's/^/| /' conftest.$ac_ext >&5
8494 ac_cv_lib_dld_dld_link=no
8496 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8497 LIBS=$ac_check_lib_save_LIBS
8499 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8500 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8501 if test $ac_cv_lib_dld_dld_link = yes; then
8502 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8523 if test "x$lt_cv_dlopen" != xno; then
8529 case $lt_cv_dlopen in
8531 save_CPPFLAGS="$CPPFLAGS"
8532 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8534 save_LDFLAGS="$LDFLAGS"
8535 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8538 LIBS="$lt_cv_dlopen_libs $LIBS"
8540 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8541 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8542 if test "${lt_cv_dlopen_self+set}" = set; then
8543 echo $ECHO_N "(cached) $ECHO_C" >&6
8545 if test "$cross_compiling" = yes; then :
8546 lt_cv_dlopen_self=cross
8548 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8549 lt_status=$lt_dlunknown
8550 cat > conftest.$ac_ext <<EOF
8551 #line 8551 "configure"
8552 #include "confdefs.h"
8561 # define LT_DLGLOBAL RTLD_GLOBAL
8564 # define LT_DLGLOBAL DL_GLOBAL
8566 # define LT_DLGLOBAL 0
8570 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8571 find out it does not work in some platform. */
8572 #ifndef LT_DLLAZY_OR_NOW
8574 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8577 # define LT_DLLAZY_OR_NOW DL_LAZY
8580 # define LT_DLLAZY_OR_NOW RTLD_NOW
8583 # define LT_DLLAZY_OR_NOW DL_NOW
8585 # define LT_DLLAZY_OR_NOW 0
8593 extern "C" void exit (int);
8596 void fnord() { int i=42;}
8599 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8600 int status = $lt_dlunknown;
8604 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8605 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8606 /* dlclose (self); */
8612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8613 (eval $ac_link) 2>&5
8615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8617 (./conftest; exit; ) 2>/dev/null
8620 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8621 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8622 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8625 # compilation failed
8626 lt_cv_dlopen_self=no
8633 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8634 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8636 if test "x$lt_cv_dlopen_self" = xyes; then
8637 LDFLAGS="$LDFLAGS $link_static_flag"
8638 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8639 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8640 if test "${lt_cv_dlopen_self_static+set}" = set; then
8641 echo $ECHO_N "(cached) $ECHO_C" >&6
8643 if test "$cross_compiling" = yes; then :
8644 lt_cv_dlopen_self_static=cross
8646 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8647 lt_status=$lt_dlunknown
8648 cat > conftest.$ac_ext <<EOF
8649 #line 8649 "configure"
8650 #include "confdefs.h"
8659 # define LT_DLGLOBAL RTLD_GLOBAL
8662 # define LT_DLGLOBAL DL_GLOBAL
8664 # define LT_DLGLOBAL 0
8668 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8669 find out it does not work in some platform. */
8670 #ifndef LT_DLLAZY_OR_NOW
8672 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8675 # define LT_DLLAZY_OR_NOW DL_LAZY
8678 # define LT_DLLAZY_OR_NOW RTLD_NOW
8681 # define LT_DLLAZY_OR_NOW DL_NOW
8683 # define LT_DLLAZY_OR_NOW 0
8691 extern "C" void exit (int);
8694 void fnord() { int i=42;}
8697 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8698 int status = $lt_dlunknown;
8702 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8703 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8704 /* dlclose (self); */
8710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8711 (eval $ac_link) 2>&5
8713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8714 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8715 (./conftest; exit; ) 2>/dev/null
8718 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8719 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8720 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8723 # compilation failed
8724 lt_cv_dlopen_self_static=no
8731 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8732 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8735 CPPFLAGS="$save_CPPFLAGS"
8736 LDFLAGS="$save_LDFLAGS"
8741 case $lt_cv_dlopen_self in
8742 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8743 *) enable_dlopen_self=unknown ;;
8746 case $lt_cv_dlopen_self_static in
8747 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8748 *) enable_dlopen_self_static=unknown ;;
8753 # Report which librarie types wil actually be built
8754 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8755 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8756 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8757 echo "${ECHO_T}$can_build_shared" >&6
8759 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8760 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8761 test "$can_build_shared" = "no" && enable_shared=no
8763 # On AIX, shared libraries and static libraries use the same namespace, and
8764 # are all built from PIC.
8767 test "$enable_shared" = yes && enable_static=no
8768 if test -n "$RANLIB"; then
8769 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8770 postinstall_cmds='$RANLIB $lib'
8775 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8776 test "$enable_shared" = yes && enable_static=no
8779 darwin* | rhapsody*)
8780 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8781 archive_cmds_need_lc=no
8783 rhapsody* | darwin1.[012])
8784 allow_undefined_flag='-undefined suppress'
8787 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8790 # FIXME: Relying on posixy $() will cause problems for
8791 # cross-compilation, but unfortunately the echo tests do not
8792 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8793 # `"' quotes if we put them in here... so don't!
8794 output_verbose_link_cmd='echo'
8795 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8796 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8797 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8798 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}'
8799 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}'
8801 hardcode_automatic=yes
8802 hardcode_shlibpath_var=unsupported
8803 whole_archive_flag_spec='-all_load $convenience'
8804 link_all_deplibs=yes
8808 echo "$as_me:$LINENO: result: $enable_shared" >&5
8809 echo "${ECHO_T}$enable_shared" >&6
8811 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8812 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8813 # Make sure either enable_shared or enable_static is yes.
8814 test "$enable_shared" = yes || enable_static=yes
8815 echo "$as_me:$LINENO: result: $enable_static" >&5
8816 echo "${ECHO_T}$enable_static" >&6
8818 # The else clause should only fire when bootstrapping the
8819 # libtool distribution, otherwise you forgot to ship ltmain.sh
8820 # with your package, and you will get complaints that there are
8821 # no rules to generate ltmain.sh.
8822 if test -f "$ltmain"; then
8823 # See if we are running on zsh, and set the options which allow our commands through
8824 # without removal of \ escapes.
8825 if test -n "${ZSH_VERSION+set}" ; then
8826 setopt NO_GLOB_SUBST
8828 # Now quote all the things that may contain metacharacters while being
8829 # careful not to overquote the AC_SUBSTed values. We take copies of the
8830 # variables and quote the copies for generation of the libtool script.
8831 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8832 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8833 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8834 deplibs_check_method reload_flag reload_cmds need_locks \
8835 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8836 lt_cv_sys_global_symbol_to_c_name_address \
8837 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8838 old_postinstall_cmds old_postuninstall_cmds \
8842 lt_prog_compiler_wl \
8843 lt_prog_compiler_pic \
8844 lt_prog_compiler_static \
8845 lt_prog_compiler_no_builtin_flag \
8846 export_dynamic_flag_spec \
8847 thread_safe_flag_spec \
8848 whole_archive_flag_spec \
8849 enable_shared_with_static_runtimes \
8851 old_archive_from_new_cmds \
8856 compiler_lib_search_path \
8858 archive_expsym_cmds \
8860 postuninstall_cmds \
8861 old_archive_from_expsyms_cmds \
8862 allow_undefined_flag \
8864 export_symbols_cmds \
8865 hardcode_libdir_flag_spec \
8866 hardcode_libdir_flag_spec_ld \
8867 hardcode_libdir_separator \
8868 hardcode_automatic \
8870 module_expsym_cmds \
8871 lt_cv_prog_compiler_c_o \
8876 old_archive_cmds | \
8877 old_archive_from_new_cmds | \
8879 archive_expsym_cmds | \
8881 module_expsym_cmds | \
8882 old_archive_from_expsyms_cmds | \
8883 export_symbols_cmds | \
8884 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8885 postinstall_cmds | postuninstall_cmds | \
8886 old_postinstall_cmds | old_postuninstall_cmds | \
8887 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8888 # Double-quote double-evaled strings.
8889 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8892 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8898 *'\$0 --fallback-echo"')
8899 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8904 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8906 { echo "$as_me:$LINENO: creating $ofile" >&5
8907 echo "$as_me: creating $ofile" >&6;}
8909 cat <<__EOF__ >> "$cfgfile"
8912 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8913 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8914 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8916 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8917 # Free Software Foundation, Inc.
8919 # This file is part of GNU Libtool:
8920 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8922 # This program is free software; you can redistribute it and/or modify
8923 # it under the terms of the GNU General Public License as published by
8924 # the Free Software Foundation; either version 2 of the License, or
8925 # (at your option) any later version.
8927 # This program is distributed in the hope that it will be useful, but
8928 # WITHOUT ANY WARRANTY; without even the implied warranty of
8929 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8930 # General Public License for more details.
8932 # You should have received a copy of the GNU General Public License
8933 # along with this program; if not, write to the Free Software
8934 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8936 # As a special exception to the GNU General Public License, if you
8937 # distribute this file as part of a program that contains a
8938 # configuration script generated by Autoconf, you may include it under
8939 # the same distribution terms that you use for the rest of that program.
8941 # A sed program that does not truncate output.
8944 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8945 Xsed="$SED -e s/^X//"
8947 # The HP-UX ksh and POSIX shell print the target directory to stdout
8949 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8951 # The names of the tagged configurations supported by this script.
8954 # ### BEGIN LIBTOOL CONFIG
8956 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8958 # Shell to use when invoking shell scripts.
8961 # Whether or not to build shared libraries.
8962 build_libtool_libs=$enable_shared
8964 # Whether or not to build static libraries.
8965 build_old_libs=$enable_static
8967 # Whether or not to add -lc for building shared libraries.
8968 build_libtool_need_lc=$archive_cmds_need_lc
8970 # Whether or not to disallow shared libs when runtime libs are static
8971 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8973 # Whether or not to optimize for fast installation.
8974 fast_install=$enable_fast_install
8977 host_alias=$host_alias
8980 # An echo program that does not interpret backslashes.
8985 AR_FLAGS=$lt_AR_FLAGS
8990 # A language-specific compiler.
8993 # Is the compiler the GNU C compiler?
8999 # The linker used to build libraries.
9002 # Whether we need hard or soft links.
9005 # A BSD-compatible nm program.
9008 # A symbol stripping program
9011 # Used to examine libraries when file_magic_cmd begins "file"
9012 MAGIC_CMD=$MAGIC_CMD
9014 # Used on cygwin: DLL creation program.
9017 # Used on cygwin: object dumper.
9020 # Used on cygwin: assembler.
9023 # The name of the directory that contains temporary libtool files.
9026 # How to create reloadable object files.
9027 reload_flag=$lt_reload_flag
9028 reload_cmds=$lt_reload_cmds
9030 # How to pass a linker flag through the compiler.
9031 wl=$lt_lt_prog_compiler_wl
9033 # Object file suffix (normally "o").
9036 # Old archive suffix (normally "a").
9039 # Shared library suffix (normally ".so").
9042 # Executable file suffix (normally "").
9045 # Additional compiler flags for building library objects.
9046 pic_flag=$lt_lt_prog_compiler_pic
9049 # What is the maximum length of a command?
9050 max_cmd_len=$lt_cv_sys_max_cmd_len
9052 # Does compiler simultaneously support -c and -o options?
9053 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9055 # Must we lock files when doing compilation ?
9056 need_locks=$lt_need_locks
9058 # Do we need the lib prefix for modules?
9059 need_lib_prefix=$need_lib_prefix
9061 # Do we need a version for libraries?
9062 need_version=$need_version
9064 # Whether dlopen is supported.
9065 dlopen_support=$enable_dlopen
9067 # Whether dlopen of programs is supported.
9068 dlopen_self=$enable_dlopen_self
9070 # Whether dlopen of statically linked programs is supported.
9071 dlopen_self_static=$enable_dlopen_self_static
9073 # Compiler flag to prevent dynamic linking.
9074 link_static_flag=$lt_lt_prog_compiler_static
9076 # Compiler flag to turn off builtin functions.
9077 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9079 # Compiler flag to allow reflexive dlopens.
9080 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9082 # Compiler flag to generate shared objects directly from archives.
9083 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9085 # Compiler flag to generate thread-safe objects.
9086 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9088 # Library versioning type.
9089 version_type=$version_type
9091 # Format of library name prefix.
9092 libname_spec=$lt_libname_spec
9094 # List of archive names. First name is the real one, the rest are links.
9095 # The last name is the one that the linker finds with -lNAME.
9096 library_names_spec=$lt_library_names_spec
9098 # The coded name of the library, if different from the real name.
9099 soname_spec=$lt_soname_spec
9101 # Commands used to build and install an old-style archive.
9103 old_archive_cmds=$lt_old_archive_cmds
9104 old_postinstall_cmds=$lt_old_postinstall_cmds
9105 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9107 # Create an old-style archive from a shared archive.
9108 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9110 # Create a temporary old-style archive to link instead of a shared archive.
9111 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9113 # Commands used to build and install a shared archive.
9114 archive_cmds=$lt_archive_cmds
9115 archive_expsym_cmds=$lt_archive_expsym_cmds
9116 postinstall_cmds=$lt_postinstall_cmds
9117 postuninstall_cmds=$lt_postuninstall_cmds
9119 # Commands used to build a loadable module (assumed same as above if empty)
9120 module_cmds=$lt_module_cmds
9121 module_expsym_cmds=$lt_module_expsym_cmds
9123 # Commands to strip libraries.
9124 old_striplib=$lt_old_striplib
9125 striplib=$lt_striplib
9127 # Dependencies to place before the objects being linked to create a
9129 predep_objects=$lt_predep_objects
9131 # Dependencies to place after the objects being linked to create a
9133 postdep_objects=$lt_postdep_objects
9135 # Dependencies to place before the objects being linked to create a
9139 # Dependencies to place after the objects being linked to create a
9141 postdeps=$lt_postdeps
9143 # The library search path used internally by the compiler when linking
9145 compiler_lib_search_path=$lt_compiler_lib_search_path
9147 # Method to check whether dependent libraries are shared objects.
9148 deplibs_check_method=$lt_deplibs_check_method
9150 # Command to use when deplibs_check_method == file_magic.
9151 file_magic_cmd=$lt_file_magic_cmd
9153 # Flag that allows shared libraries with undefined symbols to be built.
9154 allow_undefined_flag=$lt_allow_undefined_flag
9156 # Flag that forces no undefined symbols.
9157 no_undefined_flag=$lt_no_undefined_flag
9159 # Commands used to finish a libtool library installation in a directory.
9160 finish_cmds=$lt_finish_cmds
9162 # Same as above, but a single script fragment to be evaled but not shown.
9163 finish_eval=$lt_finish_eval
9165 # Take the output of nm and produce a listing of raw symbols and C names.
9166 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9168 # Transform the output of nm in a proper C declaration
9169 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9171 # Transform the output of nm in a C name address pair
9172 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9174 # This is the shared library runtime path variable.
9175 runpath_var=$runpath_var
9177 # This is the shared library path variable.
9178 shlibpath_var=$shlibpath_var
9180 # Is shlibpath searched before the hard-coded library search path?
9181 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9183 # How to hardcode a shared library path into an executable.
9184 hardcode_action=$hardcode_action
9186 # Whether we should hardcode library paths into libraries.
9187 hardcode_into_libs=$hardcode_into_libs
9189 # Flag to hardcode \$libdir into a binary during linking.
9190 # This must work even if \$libdir does not exist.
9191 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9193 # If ld is used when linking, flag to hardcode \$libdir into
9194 # a binary during linking. This must work even if \$libdir does
9196 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9198 # Whether we need a single -rpath flag with a separated argument.
9199 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9201 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9203 hardcode_direct=$hardcode_direct
9205 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9207 hardcode_minus_L=$hardcode_minus_L
9209 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9210 # the resulting binary.
9211 hardcode_shlibpath_var=$hardcode_shlibpath_var
9213 # Set to yes if building a shared library automatically hardcodes DIR into the library
9214 # and all subsequent libraries and executables linked against it.
9215 hardcode_automatic=$hardcode_automatic
9217 # Variables whose values should be saved in libtool wrapper scripts and
9218 # restored at relink time.
9219 variables_saved_for_relink="$variables_saved_for_relink"
9221 # Whether libtool must link a program against all its dependency libraries.
9222 link_all_deplibs=$link_all_deplibs
9224 # Compile-time system search path for libraries
9225 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9227 # Run-time system search path for libraries
9228 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9230 # Fix the shell variable \$srcfile for the compiler.
9231 fix_srcfile_path="$fix_srcfile_path"
9233 # Set to yes if exported symbols are required.
9234 always_export_symbols=$always_export_symbols
9236 # The commands to list exported symbols.
9237 export_symbols_cmds=$lt_export_symbols_cmds
9239 # The commands to extract the exported symbol list from a shared archive.
9240 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9242 # Symbols that should not be listed in the preloaded symbols.
9243 exclude_expsyms=$lt_exclude_expsyms
9245 # Symbols that must always be exported.
9246 include_expsyms=$lt_include_expsyms
9248 # ### END LIBTOOL CONFIG
9255 cat <<\EOF >> "$cfgfile"
9257 # AIX sometimes has problems with the GCC collect2 program. For some
9258 # reason, if we set the COLLECT_NAMES environment variable, the problems
9259 # vanish in a puff of smoke.
9260 if test "X${COLLECT_NAMES+set}" != Xset; then
9262 export COLLECT_NAMES
9268 # We use sed instead of cat because bash on DJGPP gets confused if
9269 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9270 # text mode, it properly converts lines to CR/LF. This bash problem
9271 # is reportedly fixed, but why not run on old versions too?
9272 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9274 mv -f "$cfgfile" "$ofile" || \
9275 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9279 # If there is no Makefile yet, we rely on a make rule to execute
9280 # `config.status --recheck' to rerun these tests and create the
9281 # libtool script then.
9282 test -f Makefile && make "$ltmain"
9287 ac_cpp='$CPP $CPPFLAGS'
9288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9295 # Check whether --with-tags or --without-tags was given.
9296 if test "${with_tags+set}" = set; then
9297 withval="$with_tags"
9301 if test -f "$ltmain" && test -n "$tagnames"; then
9302 if test ! -f "${ofile}"; then
9303 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9304 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9307 if test -z "$LTCC"; then
9308 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9309 if test -z "$LTCC"; then
9310 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9311 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9313 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9314 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9318 # Extract list of available tagged configurations in $ofile.
9319 # Note that this assumes the entire list is on one line.
9320 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9322 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9323 for tagname in $tagnames; do
9325 # Check whether tagname contains only valid characters
9326 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9328 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9329 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9330 { (exit 1); exit 1; }; }
9334 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9336 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9337 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9338 { (exit 1); exit 1; }; }
9341 # Update the list of available tags.
9342 if test -n "$tagname"; then
9343 echo appending configuration tag \"$tagname\" to $ofile
9347 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9349 ac_cpp='$CXXCPP $CPPFLAGS'
9350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9357 archive_cmds_need_lc_CXX=no
9358 allow_undefined_flag_CXX=
9359 always_export_symbols_CXX=no
9360 archive_expsym_cmds_CXX=
9361 export_dynamic_flag_spec_CXX=
9362 hardcode_direct_CXX=no
9363 hardcode_libdir_flag_spec_CXX=
9364 hardcode_libdir_flag_spec_ld_CXX=
9365 hardcode_libdir_separator_CXX=
9366 hardcode_minus_L_CXX=no
9367 hardcode_automatic_CXX=no
9369 module_expsym_cmds_CXX=
9370 link_all_deplibs_CXX=unknown
9371 old_archive_cmds_CXX=$old_archive_cmds
9372 no_undefined_flag_CXX=
9373 whole_archive_flag_spec_CXX=
9374 enable_shared_with_static_runtimes_CXX=no
9376 # Dependencies to place before and after the object being linked:
9378 postdep_objects_CXX=
9381 compiler_lib_search_path_CXX=
9383 # Source file extension for C++ test sources.
9386 # Object file extension for compiled C++ test sources.
9390 # Code to be used in simple compile tests
9391 lt_simple_compile_test_code="int some_variable = 0;\n"
9393 # Code to be used in simple link tests
9394 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9396 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9398 # If no C compiler was specified, use CC.
9401 # Allow CC to be a program name with arguments.
9405 # Allow CC to be a program name with arguments.
9410 lt_save_with_gnu_ld=$with_gnu_ld
9411 lt_save_path_LD=$lt_cv_path_LD
9412 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9413 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9415 unset lt_cv_prog_gnu_ld
9417 if test -n "${lt_cv_path_LDCXX+set}"; then
9418 lt_cv_path_LD=$lt_cv_path_LDCXX
9422 test -z "${LDCXX+set}" || LD=$LDCXX
9426 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9428 # We don't want -fno-exception wen compiling C++ code, so set the
9429 # no_builtin_flag separately
9430 if test "$GXX" = yes; then
9431 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9433 lt_prog_compiler_no_builtin_flag_CXX=
9436 if test "$GXX" = yes; then
9437 # Set up default GNU C++ configuration
9440 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9441 if test "${with_gnu_ld+set}" = set; then
9442 withval="$with_gnu_ld"
9443 test "$withval" = no || with_gnu_ld=yes
9448 if test "$GCC" = yes; then
9449 # Check if gcc -print-prog-name=ld gives a path.
9450 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9451 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9454 # gcc leaves a trailing carriage return which upsets mingw
9455 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9457 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9460 # Accept absolute paths.
9462 re_direlt='/[^/][^/]*/\.\./'
9463 # Canonicalize the path of ld
9464 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9465 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9466 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9468 test -z "$LD" && LD="$ac_prog"
9471 # If it fails, then pretend we aren't using GCC.
9475 # If it is relative, then search for the first ld in PATH.
9479 elif test "$with_gnu_ld" = yes; then
9480 echo "$as_me:$LINENO: checking for GNU ld" >&5
9481 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9483 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9484 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9486 if test "${lt_cv_path_LD+set}" = set; then
9487 echo $ECHO_N "(cached) $ECHO_C" >&6
9489 if test -z "$LD"; then
9490 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9491 for ac_dir in $PATH; do
9493 test -z "$ac_dir" && ac_dir=.
9494 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9495 lt_cv_path_LD="$ac_dir/$ac_prog"
9496 # Check to see if the program is GNU ld. I'd rather use --version,
9497 # but apparently some GNU ld's only accept -v.
9498 # Break only if it was the GNU/non-GNU ld that we prefer.
9499 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9500 *GNU* | *'with BFD'*)
9501 test "$with_gnu_ld" != no && break
9504 test "$with_gnu_ld" != yes && break
9511 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9516 if test -n "$LD"; then
9517 echo "$as_me:$LINENO: result: $LD" >&5
9518 echo "${ECHO_T}$LD" >&6
9520 echo "$as_me:$LINENO: result: no" >&5
9521 echo "${ECHO_T}no" >&6
9523 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9524 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9525 { (exit 1); exit 1; }; }
9526 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9527 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9528 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9529 echo $ECHO_N "(cached) $ECHO_C" >&6
9531 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9532 case `"$LD" -v 2>&1 </dev/null` in
9533 *GNU* | *'with BFD'*)
9534 lt_cv_prog_gnu_ld=yes
9537 lt_cv_prog_gnu_ld=no
9541 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9542 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9543 with_gnu_ld=$lt_cv_prog_gnu_ld
9547 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9548 # archiving commands below assume that GNU ld is being used.
9549 if test "$with_gnu_ld" = yes; then
9550 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9551 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'
9553 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9554 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9556 # If archive_cmds runs LD, not CC, wlarc should be empty
9557 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9558 # investigate it a little bit more. (MM)
9561 # ancient GNU ld didn't support --whole-archive et. al.
9562 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9563 grep 'no-whole-archive' > /dev/null; then
9564 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9566 whole_archive_flag_spec_CXX=
9572 # A generic and very simple default shared library creation
9573 # command for GNU C++ for the case where it uses the native
9574 # linker, instead of GNU ld. If possible, this setting should
9575 # overridden to take advantage of the native linker features on
9576 # the platform it is being used on.
9577 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9580 # Commands to make compiler produce verbose output that lists
9581 # what "hidden" libraries, object files and flags are used when
9582 # linking a shared library.
9583 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9591 # PORTME: fill in a description of your system's C++ link characteristics
9592 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9593 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9597 # FIXME: insert proper C++ library support
9601 if test "$host_cpu" = ia64; then
9602 # On IA64, the linker does run time linking by default, so we don't
9603 # have to do anything special.
9604 aix_use_runtimelinking=no
9605 exp_sym_flag='-Bexport'
9608 aix_use_runtimelinking=no
9610 # Test if we are trying to use run time linking or normal
9611 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9612 # need to do runtime linking.
9613 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9614 for ld_flag in $LDFLAGS; do
9617 aix_use_runtimelinking=yes
9624 exp_sym_flag='-bexport'
9625 no_entry_flag='-bnoentry'
9628 # When large executables or shared objects are built, AIX ld can
9629 # have problems creating the table of contents. If linking a library
9630 # or program results in "error TOC overflow" add -mminimal-toc to
9631 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9632 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9635 hardcode_direct_CXX=yes
9636 hardcode_libdir_separator_CXX=':'
9637 link_all_deplibs_CXX=yes
9639 if test "$GXX" = yes; then
9640 case $host_os in aix4.012|aix4.012.*)
9641 # We only want to do this on AIX 4.2 and lower, the check
9642 # below for broken collect2 doesn't work under 4.3+
9643 collect2name=`${CC} -print-prog-name=collect2`
9644 if test -f "$collect2name" && \
9645 strings "$collect2name" | grep resolve_lib_name >/dev/null
9647 # We have reworked collect2
9648 hardcode_direct_CXX=yes
9650 # We have old collect2
9651 hardcode_direct_CXX=unsupported
9652 # It fails to find uninstalled libraries when the uninstalled
9653 # path is not listed in the libpath. Setting hardcode_minus_L
9654 # to unsupported forces relinking
9655 hardcode_minus_L_CXX=yes
9656 hardcode_libdir_flag_spec_CXX='-L$libdir'
9657 hardcode_libdir_separator_CXX=
9660 shared_flag='-shared'
9663 if test "$host_cpu" = ia64; then
9664 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9665 # chokes on -Wl,-G. The following line is correct:
9668 if test "$aix_use_runtimelinking" = yes; then
9669 shared_flag='${wl}-G'
9671 shared_flag='${wl}-bM:SRE'
9676 # It seems that -bexpall does not export symbols beginning with
9677 # underscore (_), so it is better to generate a list of symbols to export.
9678 always_export_symbols_CXX=yes
9679 if test "$aix_use_runtimelinking" = yes; then
9680 # Warning - without using the other runtime loading flags (-brtl),
9681 # -berok will link without error, but may produce a broken library.
9682 allow_undefined_flag_CXX='-berok'
9683 # Determine the default libpath from the value encoded in an empty executable.
9684 cat >conftest.$ac_ext <<_ACEOF
9685 #line $LINENO "configure"
9688 cat confdefs.h >>conftest.$ac_ext
9689 cat >>conftest.$ac_ext <<_ACEOF
9690 /* end confdefs.h. */
9700 rm -f conftest.$ac_objext conftest$ac_exeext
9701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9702 (eval $ac_link) 2>&5
9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705 (exit $ac_status); } &&
9706 { ac_try='test -s conftest$ac_exeext'
9707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9711 (exit $ac_status); }; }; then
9713 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9715 # Check for a 64-bit object if we didn't find anything.
9716 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; }
9719 echo "$as_me: failed program was:" >&5
9720 sed 's/^/| /' conftest.$ac_ext >&5
9723 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9724 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9726 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9728 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"
9730 if test "$host_cpu" = ia64; then
9731 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9732 allow_undefined_flag_CXX="-z nodefs"
9733 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"
9735 # Determine the default libpath from the value encoded in an empty executable.
9736 cat >conftest.$ac_ext <<_ACEOF
9737 #line $LINENO "configure"
9740 cat confdefs.h >>conftest.$ac_ext
9741 cat >>conftest.$ac_ext <<_ACEOF
9742 /* end confdefs.h. */
9752 rm -f conftest.$ac_objext conftest$ac_exeext
9753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9754 (eval $ac_link) 2>&5
9756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9757 (exit $ac_status); } &&
9758 { ac_try='test -s conftest$ac_exeext'
9759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9763 (exit $ac_status); }; }; then
9765 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9767 # Check for a 64-bit object if we didn't find anything.
9768 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; }
9771 echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.$ac_ext >&5
9775 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9776 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9778 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9779 # Warning - without using the other run time loading flags,
9780 # -berok will link without error, but may produce a broken library.
9781 no_undefined_flag_CXX=' ${wl}-bernotok'
9782 allow_undefined_flag_CXX=' ${wl}-berok'
9783 # -bexpall does not export symbols beginning with underscore (_)
9784 always_export_symbols_CXX=yes
9785 # Exported symbols can be pulled into shared objects from archives
9786 whole_archive_flag_spec_CXX=' '
9787 archive_cmds_need_lc_CXX=yes
9788 # This is similar to how AIX traditionally builds it's shared libraries.
9789 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'
9794 case $cc_basename in
9796 # FIXME: insert proper C++ library support
9802 cygwin* | mingw* | pw32*)
9803 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9804 # as there is no search path for DLLs.
9805 hardcode_libdir_flag_spec_CXX='-L$libdir'
9806 allow_undefined_flag_CXX=unsupported
9807 always_export_symbols_CXX=no
9808 enable_shared_with_static_runtimes_CXX=yes
9810 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9811 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'
9812 # If the export-symbols file already is a .def file (1st line
9813 # is EXPORTS), use it as is; otherwise, prepend...
9814 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9815 cp $export_symbols $output_objdir/$soname.def;
9817 echo EXPORTS > $output_objdir/$soname.def;
9818 cat $export_symbols >> $output_objdir/$soname.def;
9820 $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'
9826 darwin* | rhapsody*)
9827 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9828 archive_cmds_need_lc_CXX=no
9830 rhapsody* | darwin1.[012])
9831 allow_undefined_flag_CXX='-undefined suppress'
9834 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9837 lt_int_apple_cc_single_mod=no
9838 output_verbose_link_cmd='echo'
9839 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9840 lt_int_apple_cc_single_mod=yes
9842 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9843 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9845 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'
9847 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9849 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9850 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9851 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}'
9853 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}'
9855 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}'
9856 hardcode_direct_CXX=no
9857 hardcode_automatic_CXX=yes
9858 hardcode_shlibpath_var_CXX=unsupported
9859 whole_archive_flag_spec_CXX='-all_load $convenience'
9860 link_all_deplibs_CXX=yes
9865 case $cc_basename in
9867 # FIXME: insert proper C++ library support
9871 # Green Hills C++ Compiler
9872 # FIXME: insert proper C++ library support
9876 # FIXME: insert proper C++ library support
9882 # C++ shared libraries reported to be fairly broken before switch to ELF
9886 archive_cmds_need_lc_CXX=no
9889 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9896 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9897 hardcode_libdir_separator_CXX=:
9898 export_dynamic_flag_spec_CXX='${wl}-E'
9899 hardcode_direct_CXX=yes
9900 hardcode_minus_L_CXX=yes # Not in the search PATH,
9901 # but as the default
9902 # location of the library.
9904 case $cc_basename in
9906 # FIXME: insert proper C++ library support
9910 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'
9911 # Commands to make compiler produce verbose output that lists
9912 # what "hidden" libraries, object files and flags are used when
9913 # linking a shared library.
9915 # There doesn't appear to be a way to prevent this compiler from
9916 # explicitly linking system object files so we need to strip them
9917 # from the output so that they don't get included in the library
9919 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'
9922 if test "$GXX" = yes; then
9923 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'
9925 # FIXME: insert proper C++ library support
9932 if test $with_gnu_ld = no; then
9935 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9936 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9937 hardcode_libdir_separator_CXX=:
9940 hardcode_libdir_flag_spec_CXX='-L$libdir'
9943 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9944 hardcode_libdir_separator_CXX=:
9945 export_dynamic_flag_spec_CXX='${wl}-E'
9951 hardcode_direct_CXX=no
9952 hardcode_shlibpath_var_CXX=no
9955 hardcode_direct_CXX=no
9956 hardcode_shlibpath_var_CXX=no
9957 hardcode_minus_L_CXX=yes # Not in the search PATH,
9958 # but as the default
9959 # location of the library.
9962 hardcode_direct_CXX=yes
9963 hardcode_minus_L_CXX=yes # Not in the search PATH,
9964 # but as the default
9965 # location of the library.
9969 case $cc_basename in
9971 # FIXME: insert proper C++ library support
9977 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9980 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9983 # Commands to make compiler produce verbose output that lists
9984 # what "hidden" libraries, object files and flags are used when
9985 # linking a shared library.
9987 # There doesn't appear to be a way to prevent this compiler from
9988 # explicitly linking system object files so we need to strip them
9989 # from the output so that they don't get included in the library
9991 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'
9994 if test "$GXX" = yes; then
9995 if test $with_gnu_ld = no; then
9998 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10001 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'
10006 # FIXME: insert proper C++ library support
10013 case $cc_basename in
10016 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'
10018 # Archives containing C++ object files must be created using
10019 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10020 # necessary to make sure instantiated templates are included
10022 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10025 if test "$GXX" = yes; then
10026 if test "$with_gnu_ld" = no; then
10027 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'
10029 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'
10032 link_all_deplibs_CXX=yes
10035 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10036 hardcode_libdir_separator_CXX=:
10039 case $cc_basename in
10041 # Kuck and Associates, Inc. (KAI) C++ Compiler
10043 # KCC will only create a shared library if the output file
10044 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10045 # to its proper name (with version) after linking.
10046 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'
10047 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'
10048 # Commands to make compiler produce verbose output that lists
10049 # what "hidden" libraries, object files and flags are used when
10050 # linking a shared library.
10052 # There doesn't appear to be a way to prevent this compiler from
10053 # explicitly linking system object files so we need to strip them
10054 # from the output so that they don't get included in the library
10056 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'
10058 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10059 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10061 # Archives containing C++ object files must be created using
10062 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10063 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10068 archive_cmds_need_lc_CXX=no
10069 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10070 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'
10071 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10072 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10073 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10077 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10078 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'
10080 runpath_var=LD_RUN_PATH
10081 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10082 hardcode_libdir_separator_CXX=:
10084 # Commands to make compiler produce verbose output that lists
10085 # what "hidden" libraries, object files and flags are used when
10086 # linking a shared library.
10088 # There doesn't appear to be a way to prevent this compiler from
10089 # explicitly linking system object files so we need to strip them
10090 # from the output so that they don't get included in the library
10092 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'
10097 # FIXME: insert proper C++ library support
10101 # FIXME: insert proper C++ library support
10105 case $cc_basename in
10107 # FIXME: insert proper C++ library support
10111 # FIXME: insert proper C++ library support
10117 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10118 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10120 hardcode_libdir_flag_spec_CXX='-R$libdir'
10121 hardcode_direct_CXX=yes
10122 hardcode_shlibpath_var_CXX=no
10124 # Workaround some broken pre-1.5 toolchains
10125 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10128 case $cc_basename in
10130 # Kuck and Associates, Inc. (KAI) C++ Compiler
10132 # KCC will only create a shared library if the output file
10133 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10134 # to its proper name (with version) after linking.
10135 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'
10137 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10138 hardcode_libdir_separator_CXX=:
10140 # Archives containing C++ object files must be created using
10141 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10142 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10146 # Rational C++ 2.4.1
10147 # FIXME: insert proper C++ library support
10151 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10152 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'
10154 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10155 hardcode_libdir_separator_CXX=:
10157 # Commands to make compiler produce verbose output that lists
10158 # what "hidden" libraries, object files and flags are used when
10159 # linking a shared library.
10161 # There doesn't appear to be a way to prevent this compiler from
10162 # explicitly linking system object files so we need to strip them
10163 # from the output so that they don't get included in the library
10165 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'
10168 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10169 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10170 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'
10172 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10173 hardcode_libdir_separator_CXX=:
10175 # Commands to make compiler produce verbose output that lists
10176 # what "hidden" libraries, object files and flags are used when
10177 # linking a shared library.
10178 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10181 # FIXME: insert proper C++ library support
10188 case $cc_basename in
10190 # Kuck and Associates, Inc. (KAI) C++ Compiler
10192 # KCC will only create a shared library if the output file
10193 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10194 # to its proper name (with version) after linking.
10195 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'
10197 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10198 hardcode_libdir_separator_CXX=:
10200 # Archives containing C++ object files must be created using
10201 # the KAI C++ compiler.
10202 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10205 # Rational C++ 2.4.1
10206 # FIXME: insert proper C++ library support
10210 allow_undefined_flag_CXX=' -expect_unresolved \*'
10211 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'
10212 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10213 echo "-hidden">> $lib.exp~
10214 $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~
10217 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10218 hardcode_libdir_separator_CXX=:
10220 # Commands to make compiler produce verbose output that lists
10221 # what "hidden" libraries, object files and flags are used when
10222 # linking a shared library.
10224 # There doesn't appear to be a way to prevent this compiler from
10225 # explicitly linking system object files so we need to strip them
10226 # from the output so that they don't get included in the library
10228 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'
10231 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10232 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10233 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'
10235 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10236 hardcode_libdir_separator_CXX=:
10238 # Commands to make compiler produce verbose output that lists
10239 # what "hidden" libraries, object files and flags are used when
10240 # linking a shared library.
10241 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10244 # FIXME: insert proper C++ library support
10251 # FIXME: insert proper C++ library support
10255 archive_cmds_need_lc_CXX=no
10256 case $cc_basename in
10258 # FIXME: insert proper C++ library support
10262 # FIXME: insert proper C++ library support
10268 case $cc_basename in
10271 # FIXME: insert proper C++ library support
10276 # FIXME: insert proper C++ library support
10280 # FIXME: insert proper C++ library support
10286 case $cc_basename in
10288 # Sun C++ 4.2, 5.x and Centerline C++
10289 no_undefined_flag_CXX=' -zdefs'
10290 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10291 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10292 $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'
10294 hardcode_libdir_flag_spec_CXX='-R$libdir'
10295 hardcode_shlibpath_var_CXX=no
10297 solaris2.0-5 | solaris2.0-5.*) ;;
10299 # The C++ compiler is used as linker so we must use $wl
10300 # flag to pass the commands to the underlying system
10302 # Supported since Solaris 2.6 (maybe 2.5.1?)
10303 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10306 link_all_deplibs_CXX=yes
10308 # Commands to make compiler produce verbose output that lists
10309 # what "hidden" libraries, object files and flags are used when
10310 # linking a shared library.
10312 # There doesn't appear to be a way to prevent this compiler from
10313 # explicitly linking system object files so we need to strip them
10314 # from the output so that they don't get included in the library
10316 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'
10318 # Archives containing C++ object files must be created using
10319 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10320 # necessary to make sure instantiated templates are included
10322 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10325 # Green Hills C++ Compiler
10326 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10328 # The C++ compiler must be used to create the archive.
10329 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10332 # GNU C++ compiler with Solaris linker
10333 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10334 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10335 if $CC --version | grep -v '^2\.7' > /dev/null; then
10336 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10337 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10338 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10340 # Commands to make compiler produce verbose output that lists
10341 # what "hidden" libraries, object files and flags are used when
10342 # linking a shared library.
10343 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10345 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10347 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10348 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10349 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10351 # Commands to make compiler produce verbose output that lists
10352 # what "hidden" libraries, object files and flags are used when
10353 # linking a shared library.
10354 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10357 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10362 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10363 archive_cmds_need_lc_CXX=no
10366 case $cc_basename in
10368 # NonStop-UX NCC 3.20
10369 # FIXME: insert proper C++ library support
10373 # FIXME: insert proper C++ library support
10379 # FIXME: insert proper C++ library support
10383 # FIXME: insert proper C++ library support
10387 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10388 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10389 test "$ld_shlibs_CXX" = no && can_build_shared=no
10395 ## There is no encapsulation within the following macros, do not change
10396 ## the running order or otherwise move them around unless you know exactly
10397 ## what you are doing...
10399 cat > conftest.$ac_ext <<EOF
10403 Foo (void) { a = 0; }
10409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10410 (eval $ac_compile) 2>&5
10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413 (exit $ac_status); }; then
10414 # Parse the compiler output and extract the necessary
10415 # objects, libraries and library flags.
10417 # Sentinel used to keep track of whether or not we are before
10418 # the conftest object file.
10419 pre_test_object_deps_done=no
10421 # The `*' in the case matches for architectures that use `case' in
10422 # $output_verbose_cmd can trigger glob expansion during the loop
10423 # eval without this substitution.
10424 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10426 for p in `eval $output_verbose_link_cmd`; do
10430 # Some compilers place space between "-{L,R}" and the path.
10431 # Remove the space.
10432 if test $p = "-L" \
10433 || test $p = "-R"; then
10440 if test "$pre_test_object_deps_done" = no; then
10443 # Internal compiler library paths should come after those
10444 # provided the user. The postdeps already come after the
10445 # user supplied libs so there is no need to process them.
10446 if test -z "$compiler_lib_search_path_CXX"; then
10447 compiler_lib_search_path_CXX="${prev}${p}"
10449 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10452 # The "-l" case would never come before the object being
10453 # linked, so don't bother handling this case.
10456 if test -z "$postdeps_CXX"; then
10457 postdeps_CXX="${prev}${p}"
10459 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10465 # This assumes that the test object file only shows up
10466 # once in the compiler output.
10467 if test "$p" = "conftest.$objext"; then
10468 pre_test_object_deps_done=yes
10472 if test "$pre_test_object_deps_done" = no; then
10473 if test -z "$predep_objects_CXX"; then
10474 predep_objects_CXX="$p"
10476 predep_objects_CXX="$predep_objects_CXX $p"
10479 if test -z "$postdep_objects_CXX"; then
10480 postdep_objects_CXX="$p"
10482 postdep_objects_CXX="$postdep_objects_CXX $p"
10487 *) ;; # Ignore the rest.
10495 echo "libtool.m4: error: problem compiling CXX test program"
10498 $rm -f confest.$objext
10500 case " $postdeps_CXX " in
10501 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10504 lt_prog_compiler_wl_CXX=
10505 lt_prog_compiler_pic_CXX=
10506 lt_prog_compiler_static_CXX=
10508 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10509 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10511 # C++ specific cases for pic, static, wl, etc.
10512 if test "$GXX" = yes; then
10513 lt_prog_compiler_wl_CXX='-Wl,'
10514 lt_prog_compiler_static_CXX='-static'
10518 # All AIX code is PIC.
10519 if test "$host_cpu" = ia64; then
10520 # AIX 5 now supports IA64 processor
10521 lt_prog_compiler_static_CXX='-Bstatic'
10525 # FIXME: we need at least 68020 code to build shared libraries, but
10526 # adding the `-m68020' flag to GCC prevents building anything better,
10528 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10530 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10531 # PIC is the default for these OSes.
10533 mingw* | os2* | pw32*)
10534 # This hack is so that the source file can tell whether it is being
10535 # built for inclusion in a dll (and should export symbols for example).
10536 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10538 darwin* | rhapsody*)
10539 # PIC is the default on this platform
10540 # Common symbols not allowed in MH_DYLIB files
10541 lt_prog_compiler_pic_CXX='-fno-common'
10544 # DJGPP does not support shared libraries at all
10545 lt_prog_compiler_pic_CXX=
10548 if test -d /usr/nec; then
10549 lt_prog_compiler_pic_CXX=-Kconform_pic
10553 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10554 # not for PA HP-UX.
10555 case "$host_cpu" in
10559 lt_prog_compiler_pic_CXX='-fPIC'
10564 lt_prog_compiler_pic_CXX='-fPIC'
10570 # All AIX code is PIC.
10571 if test "$host_cpu" = ia64; then
10572 # AIX 5 now supports IA64 processor
10573 lt_prog_compiler_static_CXX='-Bstatic'
10575 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10579 case $cc_basename in
10581 # Green Hills C++ Compiler
10582 # _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"
10587 case $cc_basename in
10589 lt_prog_compiler_pic_CXX='-KPIC'
10592 # Green Hills C++ Compiler
10593 lt_prog_compiler_pic_CXX='-pic'
10600 # FreeBSD uses GNU C++
10602 hpux9* | hpux10* | hpux11*)
10603 case $cc_basename in
10605 lt_prog_compiler_wl_CXX='-Wl,'
10606 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10607 if test "$host_cpu" != ia64; then
10608 lt_prog_compiler_pic_CXX='+Z'
10612 lt_prog_compiler_wl_CXX='-Wl,'
10613 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10614 case "$host_cpu" in
10619 lt_prog_compiler_pic_CXX='+Z'
10627 irix5* | irix6* | nonstopux*)
10628 case $cc_basename in
10630 lt_prog_compiler_wl_CXX='-Wl,'
10631 lt_prog_compiler_static_CXX='-non_shared'
10632 # CC pic flag -KPIC is the default.
10639 case $cc_basename in
10642 lt_prog_compiler_wl_CXX='--backend -Wl,'
10643 lt_prog_compiler_pic_CXX='-fPIC'
10647 lt_prog_compiler_wl_CXX='-Wl,'
10648 lt_prog_compiler_pic_CXX='-KPIC'
10649 lt_prog_compiler_static_CXX='-static'
10653 # Make sure the PIC flag is empty. It appears that all Alpha
10654 # Linux and Compaq Tru64 Unix objects are PIC.
10655 lt_prog_compiler_pic_CXX=
10656 lt_prog_compiler_static_CXX='-non_shared'
10667 case $cc_basename in
10669 lt_prog_compiler_pic_CXX='-W c,exportall'
10677 osf3* | osf4* | osf5*)
10678 case $cc_basename in
10680 lt_prog_compiler_wl_CXX='--backend -Wl,'
10683 # Rational C++ 2.4.1
10684 lt_prog_compiler_pic_CXX='-pic'
10687 # Digital/Compaq C++
10688 lt_prog_compiler_wl_CXX='-Wl,'
10689 # Make sure the PIC flag is empty. It appears that all Alpha
10690 # Linux and Compaq Tru64 Unix objects are PIC.
10691 lt_prog_compiler_pic_CXX=
10692 lt_prog_compiler_static_CXX='-non_shared'
10701 case $cc_basename in
10703 lt_prog_compiler_pic_CXX='-fPIC'
10710 case $cc_basename in
10712 # Sun C++ 4.2, 5.x and Centerline C++
10713 lt_prog_compiler_pic_CXX='-KPIC'
10714 lt_prog_compiler_static_CXX='-Bstatic'
10715 lt_prog_compiler_wl_CXX='-Qoption ld '
10718 # Green Hills C++ Compiler
10719 lt_prog_compiler_pic_CXX='-PIC'
10726 case $cc_basename in
10729 lt_prog_compiler_pic_CXX='-pic'
10730 lt_prog_compiler_static_CXX='-Bstatic'
10734 lt_prog_compiler_pic_CXX='-pic'
10741 case $cc_basename in
10743 # NonStop-UX NCC 3.20
10744 lt_prog_compiler_pic_CXX='-KPIC'
10755 lt_prog_compiler_can_build_shared_CXX=no
10760 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10761 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10764 # Check to make sure the PIC flag actually works.
10766 if test -n "$lt_prog_compiler_pic_CXX"; then
10767 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10768 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10769 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10770 echo $ECHO_N "(cached) $ECHO_C" >&6
10772 lt_prog_compiler_pic_works_CXX=no
10773 ac_outfile=conftest.$ac_objext
10774 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10775 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10776 # Insert the option either (1) after the last *FLAGS variable, or
10777 # (2) before a word containing "conftest.", or (3) at the end.
10778 # Note that $ac_compile itself does not contain backslashes and begins
10779 # with a dollar sign (not a hyphen), so the echo should work correctly.
10780 # The option is referenced via a variable to avoid confusing sed.
10781 lt_compile=`echo "$ac_compile" | $SED \
10782 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10783 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10784 -e 's:$: $lt_compiler_flag:'`
10785 (eval echo "\"\$as_me:10785: $lt_compile\"" >&5)
10786 (eval "$lt_compile" 2>conftest.err)
10788 cat conftest.err >&5
10789 echo "$as_me:10789: \$? = $ac_status" >&5
10790 if (exit $ac_status) && test -s "$ac_outfile"; then
10791 # The compiler can only warn and ignore the option if not recognized
10792 # So say no if there are warnings
10793 if test ! -s conftest.err; then
10794 lt_prog_compiler_pic_works_CXX=yes
10800 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10801 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10803 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10804 case $lt_prog_compiler_pic_CXX in
10806 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10809 lt_prog_compiler_pic_CXX=
10810 lt_prog_compiler_can_build_shared_CXX=no
10815 # For platforms which do not support PIC, -DPIC is meaningless:
10817 lt_prog_compiler_pic_CXX=
10820 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10824 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10825 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10826 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10827 echo $ECHO_N "(cached) $ECHO_C" >&6
10829 lt_cv_prog_compiler_c_o_CXX=no
10830 $rm -r conftest 2>/dev/null
10834 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10836 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10837 # that will create temporary files in the current directory regardless of
10838 # the output directory. Thus, making CWD read-only will cause this test
10839 # to fail, enabling locking or at least warning the user not to do parallel
10843 lt_compiler_flag="-o out/conftest2.$ac_objext"
10844 # Insert the option either (1) after the last *FLAGS variable, or
10845 # (2) before a word containing "conftest.", or (3) at the end.
10846 # Note that $ac_compile itself does not contain backslashes and begins
10847 # with a dollar sign (not a hyphen), so the echo should work correctly.
10848 lt_compile=`echo "$ac_compile" | $SED \
10849 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10850 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10851 -e 's:$: $lt_compiler_flag:'`
10852 (eval echo "\"\$as_me:10852: $lt_compile\"" >&5)
10853 (eval "$lt_compile" 2>out/conftest.err)
10855 cat out/conftest.err >&5
10856 echo "$as_me:10856: \$? = $ac_status" >&5
10857 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10859 # The compiler can only warn and ignore the option if not recognized
10860 # So say no if there are warnings
10861 if test ! -s out/conftest.err; then
10862 lt_cv_prog_compiler_c_o_CXX=yes
10866 $rm conftest* out/*
10873 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10874 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10877 hard_links="nottested"
10878 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10879 # do not overwrite the value of need_locks provided by the user
10880 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10881 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10884 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10886 ln conftest.a conftest.b 2>&5 || hard_links=no
10887 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10888 echo "$as_me:$LINENO: result: $hard_links" >&5
10889 echo "${ECHO_T}$hard_links" >&6
10890 if test "$hard_links" = no; then
10891 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10892 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10899 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10900 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10902 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10905 # If we're using GNU nm, then we don't want the "-C" option.
10906 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10907 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10908 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'
10910 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'
10914 export_symbols_cmds_CXX="$ltdll_cmds"
10917 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10920 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10924 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10925 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10926 test "$ld_shlibs_CXX" = no && can_build_shared=no
10928 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10929 if test "$GCC" = yes; then
10930 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10934 # Do we need to explicitly link libc?
10936 case "x$archive_cmds_need_lc_CXX" in
10938 # Assume -lc should be added
10939 archive_cmds_need_lc_CXX=yes
10941 if test "$enable_shared" = yes && test "$GCC" = yes; then
10942 case $archive_cmds_CXX in
10944 # FIXME: we may have to deal with multi-command sequences.
10947 # Test whether the compiler implicitly links with -lc since on some
10948 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10949 # to ld, don't add -lc before -lgcc.
10950 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10951 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10953 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10956 (eval $ac_compile) 2>&5
10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); } 2>conftest.err; then
10962 libobjs=conftest.$ac_objext
10964 wl=$lt_prog_compiler_wl_CXX
10970 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10971 allow_undefined_flag_CXX=
10972 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10973 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }
10978 archive_cmds_need_lc_CXX=no
10980 archive_cmds_need_lc_CXX=yes
10982 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
10984 cat conftest.err 1>&5
10987 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
10988 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
10995 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10996 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10997 hardcode_action_CXX=
10998 if test -n "$hardcode_libdir_flag_spec_CXX" || \
10999 test -n "$runpath_var CXX" || \
11000 test "X$hardcode_automatic_CXX"="Xyes" ; then
11002 # We can hardcode non-existant directories.
11003 if test "$hardcode_direct_CXX" != no &&
11004 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11005 # have to relink, otherwise we might link with an installed library
11006 # when we should be linking with a yet-to-be-installed one
11007 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11008 test "$hardcode_minus_L_CXX" != no; then
11009 # Linking always hardcodes the temporary library directory.
11010 hardcode_action_CXX=relink
11012 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11013 hardcode_action_CXX=immediate
11016 # We cannot hardcode anything, or else we can only hardcode existing
11018 hardcode_action_CXX=unsupported
11020 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11021 echo "${ECHO_T}$hardcode_action_CXX" >&6
11023 if test "$hardcode_action_CXX" = relink; then
11024 # Fast installation is not supported
11025 enable_fast_install=no
11026 elif test "$shlibpath_overrides_runpath" = yes ||
11027 test "$enable_shared" = no; then
11028 # Fast installation is not necessary
11029 enable_fast_install=needless
11034 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11035 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11036 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11037 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11038 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11039 echo "$as_me:$LINENO: result: yes" >&5
11040 echo "${ECHO_T}yes" >&6
11042 # FIXME - insert some real tests, host_os isn't really good enough
11045 if test -n "$STRIP" ; then
11046 striplib="$STRIP -x"
11047 echo "$as_me:$LINENO: result: yes" >&5
11048 echo "${ECHO_T}yes" >&6
11050 echo "$as_me:$LINENO: result: no" >&5
11051 echo "${ECHO_T}no" >&6
11055 echo "$as_me:$LINENO: result: no" >&5
11056 echo "${ECHO_T}no" >&6
11061 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11062 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11063 library_names_spec=
11064 libname_spec='lib$name'
11068 postuninstall_cmds=
11072 shlibpath_overrides_runpath=unknown
11074 dynamic_linker="$host_os ld.so"
11075 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11076 if test "$GCC" = yes; then
11077 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11078 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11079 # if the path contains ";" then we assume it to be the separator
11080 # otherwise default to the standard path separator (i.e. ":") - it is
11081 # assumed that no part of a normal pathname contains ";" but that should
11082 # okay in the real world where ";" in dirpaths is itself problematic.
11083 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11085 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11088 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11090 need_lib_prefix=unknown
11091 hardcode_into_libs=no
11093 # when you set need_version to no, make sure it does not cause -set_version
11094 # flags to be left without arguments
11095 need_version=unknown
11100 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11101 shlibpath_var=LIBPATH
11103 # AIX 3 has no versioning support, so we append a major version to the name.
11104 soname_spec='${libname}${release}${shared_ext}$major'
11111 hardcode_into_libs=yes
11112 if test "$host_cpu" = ia64; then
11113 # AIX 5 supports IA64
11114 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11115 shlibpath_var=LD_LIBRARY_PATH
11117 # With GCC up to 2.95.x, collect2 would create an import file
11118 # for dependence libraries. The import file would start with
11119 # the line `#! .'. This would cause the generated library to
11120 # depend on `.', always an invalid library. This was fixed in
11121 # development snapshots of GCC prior to 3.0.
11123 aix4 | aix4.[01] | aix4.[01].*)
11124 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11126 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11129 can_build_shared=no
11133 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11134 # soname into executable. Probably we can add versioning support to
11135 # collect2, so additional links can be useful in future.
11136 if test "$aix_use_runtimelinking" = yes; then
11137 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11138 # instead of lib<name>.a to let people know that these are not
11139 # typical AIX shared libraries.
11140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11142 # We preserve .a as extension for shared libraries through AIX4.2
11143 # and later when we are not doing run time linking.
11144 library_names_spec='${libname}${release}.a $libname.a'
11145 soname_spec='${libname}${release}${shared_ext}$major'
11147 shlibpath_var=LIBPATH
11152 library_names_spec='$libname.ixlibrary $libname.a'
11153 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11154 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'
11158 library_names_spec='${libname}${shared_ext}'
11159 dynamic_linker="$host_os ld.so"
11160 shlibpath_var=LIBRARY_PATH
11166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11167 soname_spec='${libname}${release}${shared_ext}$major'
11168 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11169 shlibpath_var=LD_LIBRARY_PATH
11170 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11171 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11172 # the default ld.so.conf also contains /usr/contrib/lib and
11173 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11174 # libtool to hard-code these into programs
11177 cygwin* | mingw* | pw32*)
11178 version_type=windows
11183 case $GCC,$host_os in
11184 yes,cygwin* | yes,mingw* | yes,pw32*)
11185 library_names_spec='$libname.dll.a'
11186 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11187 postinstall_cmds='base_file=`basename \${file}`~
11188 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11189 dldir=$destdir/`dirname \$dlpath`~
11190 test -d \$dldir || mkdir -p \$dldir~
11191 $install_prog $dir/$dlname \$dldir/$dlname'
11192 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11193 dlpath=$dir/\$dldll~
11195 shlibpath_overrides_runpath=yes
11199 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11200 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11201 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11204 # MinGW DLLs use traditional 'lib' prefix
11205 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11206 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11207 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11208 # It is most probably a Windows format PATH printed by
11209 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11210 # path with ; separators, and with drive letters. We can handle the
11211 # drive letters (cygwin fileutils understands them), so leave them,
11212 # especially as we might pass files found there to a mingw objdump,
11213 # which wouldn't understand a cygwinified path. Ahh.
11214 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11216 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11220 # pw32 DLLs use 'pw' prefix rather than 'lib'
11221 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11227 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11230 dynamic_linker='Win32 ld.exe'
11231 # FIXME: first we should search . and the directory the executable is in
11235 darwin* | rhapsody*)
11236 dynamic_linker="$host_os dyld"
11237 version_type=darwin
11240 # FIXME: Relying on posixy $() will cause problems for
11241 # cross-compilation, but unfortunately the echo tests do not
11242 # yet detect zsh echo's removal of \ escapes.
11243 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11244 soname_spec='${libname}${release}${major}$shared_ext'
11245 shlibpath_overrides_runpath=yes
11246 shlibpath_var=DYLD_LIBRARY_PATH
11247 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11248 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11249 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11250 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"`
11252 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11260 soname_spec='${libname}${release}${shared_ext}$major'
11261 shlibpath_var=LD_LIBRARY_PATH
11269 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11270 version_type=freebsd-$objformat
11271 case $version_type in
11273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11278 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11282 shlibpath_var=LD_LIBRARY_PATH
11285 shlibpath_overrides_runpath=yes
11287 freebsd3.01* | freebsdelf3.01*)
11288 shlibpath_overrides_runpath=yes
11289 hardcode_into_libs=yes
11292 shlibpath_overrides_runpath=no
11293 hardcode_into_libs=yes
11302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11303 soname_spec='${libname}${release}${shared_ext}$major'
11304 shlibpath_var=LD_LIBRARY_PATH
11305 hardcode_into_libs=yes
11308 hpux9* | hpux10* | hpux11*)
11309 # Give a soname corresponding to the major version so that dld.sl refuses to
11310 # link against other versions.
11314 case "$host_cpu" in
11317 hardcode_into_libs=yes
11318 dynamic_linker="$host_os dld.so"
11319 shlibpath_var=LD_LIBRARY_PATH
11320 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11322 soname_spec='${libname}${release}${shared_ext}$major'
11323 if test "X$HPUX_IA64_MODE" = X32; then
11324 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11326 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11328 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11332 hardcode_into_libs=yes
11333 dynamic_linker="$host_os dld.sl"
11334 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11335 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11337 soname_spec='${libname}${release}${shared_ext}$major'
11338 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11339 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11343 dynamic_linker="$host_os dld.sl"
11344 shlibpath_var=SHLIB_PATH
11345 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11347 soname_spec='${libname}${release}${shared_ext}$major'
11350 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11351 postinstall_cmds='chmod 555 $lib'
11354 irix5* | irix6* | nonstopux*)
11356 nonstopux*) version_type=nonstopux ;;
11358 if test "$lt_cv_prog_gnu_ld" = yes; then
11366 soname_spec='${libname}${release}${shared_ext}$major'
11367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11369 irix5* | nonstopux*)
11370 libsuff= shlibsuff=
11373 case $LD in # libtool.m4 will add one of these switches to LD
11374 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11375 libsuff= shlibsuff= libmagic=32-bit;;
11376 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11377 libsuff=32 shlibsuff=N32 libmagic=N32;;
11378 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11379 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11380 *) libsuff= shlibsuff= libmagic=never-match;;
11384 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11385 shlibpath_overrides_runpath=no
11386 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11387 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11388 hardcode_into_libs=yes
11391 # No shared lib support for Linux oldld, aout, or coff.
11392 linux*oldld* | linux*aout* | linux*coff*)
11396 # This must be Linux ELF.
11401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11402 soname_spec='${libname}${release}${shared_ext}$major'
11403 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11404 shlibpath_var=LD_LIBRARY_PATH
11405 shlibpath_overrides_runpath=no
11406 # This implies no fast_install, which is unacceptable.
11407 # Some rework will be needed to allow for fast_install
11408 # before this can be enabled.
11409 hardcode_into_libs=yes
11411 # We used to test for /lib/ld.so.1 and disable shared libraries on
11412 # powerpc, because MkLinux only supported shared libraries with the
11413 # GNU dynamic linker. Since this was broken with cross compilers,
11414 # most powerpc-linux boxes support dynamic linking these days and
11415 # people can always --disable-shared, the test was removed, and we
11416 # assume the GNU/Linux dynamic linker is in use.
11417 dynamic_linker='GNU/Linux ld.so'
11424 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11426 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11427 dynamic_linker='NetBSD (a.out) ld.so'
11429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11430 soname_spec='${libname}${release}${shared_ext}$major'
11431 dynamic_linker='NetBSD ld.elf_so'
11433 shlibpath_var=LD_LIBRARY_PATH
11434 shlibpath_overrides_runpath=yes
11435 hardcode_into_libs=yes
11440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11441 shlibpath_var=LD_LIBRARY_PATH
11442 shlibpath_overrides_runpath=yes
11449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11450 soname_spec='${libname}${release}${shared_ext}$major'
11451 shlibpath_var=LD_LIBRARY_PATH
11452 shlibpath_overrides_runpath=yes
11459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11460 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11461 shlibpath_var=LD_LIBRARY_PATH
11462 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11464 openbsd2.[89] | openbsd2.[89].*)
11465 shlibpath_overrides_runpath=no
11468 shlibpath_overrides_runpath=yes
11472 shlibpath_overrides_runpath=yes
11477 libname_spec='$name'
11480 library_names_spec='$libname${shared_ext} $libname.a'
11481 dynamic_linker='OS/2 ld.exe'
11482 shlibpath_var=LIBPATH
11485 osf3* | osf4* | osf5*)
11489 soname_spec='${libname}${release}${shared_ext}$major'
11490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11491 shlibpath_var=LD_LIBRARY_PATH
11492 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11493 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11498 soname_spec='${libname}${release}${shared_ext}$major'
11499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11500 shlibpath_var=LD_LIBRARY_PATH
11507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11508 soname_spec='${libname}${release}${shared_ext}$major'
11509 shlibpath_var=LD_LIBRARY_PATH
11510 shlibpath_overrides_runpath=yes
11511 hardcode_into_libs=yes
11512 # ldd complains unless libraries are executable
11513 postinstall_cmds='chmod +x $lib'
11518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11519 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11520 shlibpath_var=LD_LIBRARY_PATH
11521 shlibpath_overrides_runpath=yes
11522 if test "$with_gnu_ld" = yes; then
11528 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11531 soname_spec='${libname}${release}${shared_ext}$major'
11532 shlibpath_var=LD_LIBRARY_PATH
11533 case $host_vendor in
11535 shlibpath_overrides_runpath=no
11537 export_dynamic_flag_spec='${wl}-Blargedynsym'
11538 runpath_var=LD_RUN_PATH
11546 shlibpath_overrides_runpath=no
11547 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11553 if test -d /usr/nec ;then
11555 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11556 soname_spec='$libname${shared_ext}.$major'
11557 shlibpath_var=LD_LIBRARY_PATH
11563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11564 soname_spec='${libname}${release}${shared_ext}$major'
11565 shlibpath_var=LD_LIBRARY_PATH
11572 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11573 echo "${ECHO_T}$dynamic_linker" >&6
11574 test "$dynamic_linker" = no && can_build_shared=no
11576 if test "x$enable_dlopen" != xyes; then
11577 enable_dlopen=unknown
11578 enable_dlopen_self=unknown
11579 enable_dlopen_self_static=unknown
11586 lt_cv_dlopen="load_add_on"
11588 lt_cv_dlopen_self=yes
11592 lt_cv_dlopen="LoadLibrary"
11597 lt_cv_dlopen="dlopen"
11602 # if libdl is installed we need to link against it
11603 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11604 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11605 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11606 echo $ECHO_N "(cached) $ECHO_C" >&6
11608 ac_check_lib_save_LIBS=$LIBS
11610 cat >conftest.$ac_ext <<_ACEOF
11611 #line $LINENO "configure"
11614 cat confdefs.h >>conftest.$ac_ext
11615 cat >>conftest.$ac_ext <<_ACEOF
11616 /* end confdefs.h. */
11618 /* Override any gcc2 internal prototype to avoid an error. */
11622 /* We use char because int might match the return type of a gcc2
11623 builtin and then its argument prototype would still apply. */
11633 rm -f conftest.$ac_objext conftest$ac_exeext
11634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11635 (eval $ac_link) 2>&5
11637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638 (exit $ac_status); } &&
11639 { ac_try='test -s conftest$ac_exeext'
11640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11641 (eval $ac_try) 2>&5
11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644 (exit $ac_status); }; }; then
11645 ac_cv_lib_dl_dlopen=yes
11647 echo "$as_me: failed program was:" >&5
11648 sed 's/^/| /' conftest.$ac_ext >&5
11650 ac_cv_lib_dl_dlopen=no
11652 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11653 LIBS=$ac_check_lib_save_LIBS
11655 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11656 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11657 if test $ac_cv_lib_dl_dlopen = yes; then
11658 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11661 lt_cv_dlopen="dyld"
11663 lt_cv_dlopen_self=yes
11670 echo "$as_me:$LINENO: checking for shl_load" >&5
11671 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11672 if test "${ac_cv_func_shl_load+set}" = set; then
11673 echo $ECHO_N "(cached) $ECHO_C" >&6
11675 cat >conftest.$ac_ext <<_ACEOF
11676 #line $LINENO "configure"
11679 cat confdefs.h >>conftest.$ac_ext
11680 cat >>conftest.$ac_ext <<_ACEOF
11681 /* end confdefs.h. */
11682 /* System header to define __stub macros and hopefully few prototypes,
11683 which can conflict with char shl_load (); below.
11684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11685 <limits.h> exists even on freestanding compilers. */
11687 # include <limits.h>
11689 # include <assert.h>
11691 /* Override any gcc2 internal prototype to avoid an error. */
11696 /* We use char because int might match the return type of a gcc2
11697 builtin and then its argument prototype would still apply. */
11699 /* The GNU C library defines this for functions which it implements
11700 to always fail with ENOSYS. Some functions are actually named
11701 something starting with __ and the normal name is an alias. */
11702 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11705 char (*f) () = shl_load;
11714 return f != shl_load;
11719 rm -f conftest.$ac_objext conftest$ac_exeext
11720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11721 (eval $ac_link) 2>&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); } &&
11725 { ac_try='test -s conftest$ac_exeext'
11726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11727 (eval $ac_try) 2>&5
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); }; }; then
11731 ac_cv_func_shl_load=yes
11733 echo "$as_me: failed program was:" >&5
11734 sed 's/^/| /' conftest.$ac_ext >&5
11736 ac_cv_func_shl_load=no
11738 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11740 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11741 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11742 if test $ac_cv_func_shl_load = yes; then
11743 lt_cv_dlopen="shl_load"
11745 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11746 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11747 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11748 echo $ECHO_N "(cached) $ECHO_C" >&6
11750 ac_check_lib_save_LIBS=$LIBS
11752 cat >conftest.$ac_ext <<_ACEOF
11753 #line $LINENO "configure"
11756 cat confdefs.h >>conftest.$ac_ext
11757 cat >>conftest.$ac_ext <<_ACEOF
11758 /* end confdefs.h. */
11760 /* Override any gcc2 internal prototype to avoid an error. */
11764 /* We use char because int might match the return type of a gcc2
11765 builtin and then its argument prototype would still apply. */
11775 rm -f conftest.$ac_objext conftest$ac_exeext
11776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11777 (eval $ac_link) 2>&5
11779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11780 (exit $ac_status); } &&
11781 { ac_try='test -s conftest$ac_exeext'
11782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11783 (eval $ac_try) 2>&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); }; }; then
11787 ac_cv_lib_dld_shl_load=yes
11789 echo "$as_me: failed program was:" >&5
11790 sed 's/^/| /' conftest.$ac_ext >&5
11792 ac_cv_lib_dld_shl_load=no
11794 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11795 LIBS=$ac_check_lib_save_LIBS
11797 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11798 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11799 if test $ac_cv_lib_dld_shl_load = yes; then
11800 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11802 echo "$as_me:$LINENO: checking for dlopen" >&5
11803 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11804 if test "${ac_cv_func_dlopen+set}" = set; then
11805 echo $ECHO_N "(cached) $ECHO_C" >&6
11807 cat >conftest.$ac_ext <<_ACEOF
11808 #line $LINENO "configure"
11811 cat confdefs.h >>conftest.$ac_ext
11812 cat >>conftest.$ac_ext <<_ACEOF
11813 /* end confdefs.h. */
11814 /* System header to define __stub macros and hopefully few prototypes,
11815 which can conflict with char dlopen (); below.
11816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11817 <limits.h> exists even on freestanding compilers. */
11819 # include <limits.h>
11821 # include <assert.h>
11823 /* Override any gcc2 internal prototype to avoid an error. */
11828 /* We use char because int might match the return type of a gcc2
11829 builtin and then its argument prototype would still apply. */
11831 /* The GNU C library defines this for functions which it implements
11832 to always fail with ENOSYS. Some functions are actually named
11833 something starting with __ and the normal name is an alias. */
11834 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11837 char (*f) () = dlopen;
11846 return f != dlopen;
11851 rm -f conftest.$ac_objext conftest$ac_exeext
11852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11853 (eval $ac_link) 2>&5
11855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856 (exit $ac_status); } &&
11857 { ac_try='test -s conftest$ac_exeext'
11858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11859 (eval $ac_try) 2>&5
11861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11862 (exit $ac_status); }; }; then
11863 ac_cv_func_dlopen=yes
11865 echo "$as_me: failed program was:" >&5
11866 sed 's/^/| /' conftest.$ac_ext >&5
11868 ac_cv_func_dlopen=no
11870 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11872 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11873 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11874 if test $ac_cv_func_dlopen = yes; then
11875 lt_cv_dlopen="dlopen"
11877 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11878 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11879 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11880 echo $ECHO_N "(cached) $ECHO_C" >&6
11882 ac_check_lib_save_LIBS=$LIBS
11884 cat >conftest.$ac_ext <<_ACEOF
11885 #line $LINENO "configure"
11888 cat confdefs.h >>conftest.$ac_ext
11889 cat >>conftest.$ac_ext <<_ACEOF
11890 /* end confdefs.h. */
11892 /* Override any gcc2 internal prototype to avoid an error. */
11896 /* We use char because int might match the return type of a gcc2
11897 builtin and then its argument prototype would still apply. */
11907 rm -f conftest.$ac_objext conftest$ac_exeext
11908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11909 (eval $ac_link) 2>&5
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); } &&
11913 { ac_try='test -s conftest$ac_exeext'
11914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11915 (eval $ac_try) 2>&5
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); }; }; then
11919 ac_cv_lib_dl_dlopen=yes
11921 echo "$as_me: failed program was:" >&5
11922 sed 's/^/| /' conftest.$ac_ext >&5
11924 ac_cv_lib_dl_dlopen=no
11926 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11927 LIBS=$ac_check_lib_save_LIBS
11929 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11930 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11931 if test $ac_cv_lib_dl_dlopen = yes; then
11932 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11934 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11935 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11936 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11937 echo $ECHO_N "(cached) $ECHO_C" >&6
11939 ac_check_lib_save_LIBS=$LIBS
11940 LIBS="-lsvld $LIBS"
11941 cat >conftest.$ac_ext <<_ACEOF
11942 #line $LINENO "configure"
11945 cat confdefs.h >>conftest.$ac_ext
11946 cat >>conftest.$ac_ext <<_ACEOF
11947 /* end confdefs.h. */
11949 /* Override any gcc2 internal prototype to avoid an error. */
11953 /* We use char because int might match the return type of a gcc2
11954 builtin and then its argument prototype would still apply. */
11964 rm -f conftest.$ac_objext conftest$ac_exeext
11965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11966 (eval $ac_link) 2>&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); } &&
11970 { ac_try='test -s conftest$ac_exeext'
11971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11972 (eval $ac_try) 2>&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); }; }; then
11976 ac_cv_lib_svld_dlopen=yes
11978 echo "$as_me: failed program was:" >&5
11979 sed 's/^/| /' conftest.$ac_ext >&5
11981 ac_cv_lib_svld_dlopen=no
11983 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11984 LIBS=$ac_check_lib_save_LIBS
11986 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11987 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11988 if test $ac_cv_lib_svld_dlopen = yes; then
11989 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11991 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11992 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11993 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11994 echo $ECHO_N "(cached) $ECHO_C" >&6
11996 ac_check_lib_save_LIBS=$LIBS
11998 cat >conftest.$ac_ext <<_ACEOF
11999 #line $LINENO "configure"
12002 cat confdefs.h >>conftest.$ac_ext
12003 cat >>conftest.$ac_ext <<_ACEOF
12004 /* end confdefs.h. */
12006 /* Override any gcc2 internal prototype to avoid an error. */
12010 /* We use char because int might match the return type of a gcc2
12011 builtin and then its argument prototype would still apply. */
12021 rm -f conftest.$ac_objext conftest$ac_exeext
12022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12023 (eval $ac_link) 2>&5
12025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12026 (exit $ac_status); } &&
12027 { ac_try='test -s conftest$ac_exeext'
12028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12029 (eval $ac_try) 2>&5
12031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12032 (exit $ac_status); }; }; then
12033 ac_cv_lib_dld_dld_link=yes
12035 echo "$as_me: failed program was:" >&5
12036 sed 's/^/| /' conftest.$ac_ext >&5
12038 ac_cv_lib_dld_dld_link=no
12040 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12041 LIBS=$ac_check_lib_save_LIBS
12043 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12044 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12045 if test $ac_cv_lib_dld_dld_link = yes; then
12046 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12067 if test "x$lt_cv_dlopen" != xno; then
12073 case $lt_cv_dlopen in
12075 save_CPPFLAGS="$CPPFLAGS"
12076 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12078 save_LDFLAGS="$LDFLAGS"
12079 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12082 LIBS="$lt_cv_dlopen_libs $LIBS"
12084 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12085 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12086 if test "${lt_cv_dlopen_self+set}" = set; then
12087 echo $ECHO_N "(cached) $ECHO_C" >&6
12089 if test "$cross_compiling" = yes; then :
12090 lt_cv_dlopen_self=cross
12092 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12093 lt_status=$lt_dlunknown
12094 cat > conftest.$ac_ext <<EOF
12095 #line 12095 "configure"
12096 #include "confdefs.h"
12105 # define LT_DLGLOBAL RTLD_GLOBAL
12108 # define LT_DLGLOBAL DL_GLOBAL
12110 # define LT_DLGLOBAL 0
12114 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12115 find out it does not work in some platform. */
12116 #ifndef LT_DLLAZY_OR_NOW
12118 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12121 # define LT_DLLAZY_OR_NOW DL_LAZY
12124 # define LT_DLLAZY_OR_NOW RTLD_NOW
12127 # define LT_DLLAZY_OR_NOW DL_NOW
12129 # define LT_DLLAZY_OR_NOW 0
12137 extern "C" void exit (int);
12140 void fnord() { int i=42;}
12143 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12144 int status = $lt_dlunknown;
12148 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12149 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12150 /* dlclose (self); */
12156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12157 (eval $ac_link) 2>&5
12159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12160 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12161 (./conftest; exit; ) 2>/dev/null
12163 case x$lt_status in
12164 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12165 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12166 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12169 # compilation failed
12170 lt_cv_dlopen_self=no
12177 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12178 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12180 if test "x$lt_cv_dlopen_self" = xyes; then
12181 LDFLAGS="$LDFLAGS $link_static_flag"
12182 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12183 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12184 if test "${lt_cv_dlopen_self_static+set}" = set; then
12185 echo $ECHO_N "(cached) $ECHO_C" >&6
12187 if test "$cross_compiling" = yes; then :
12188 lt_cv_dlopen_self_static=cross
12190 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12191 lt_status=$lt_dlunknown
12192 cat > conftest.$ac_ext <<EOF
12193 #line 12193 "configure"
12194 #include "confdefs.h"
12203 # define LT_DLGLOBAL RTLD_GLOBAL
12206 # define LT_DLGLOBAL DL_GLOBAL
12208 # define LT_DLGLOBAL 0
12212 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12213 find out it does not work in some platform. */
12214 #ifndef LT_DLLAZY_OR_NOW
12216 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12219 # define LT_DLLAZY_OR_NOW DL_LAZY
12222 # define LT_DLLAZY_OR_NOW RTLD_NOW
12225 # define LT_DLLAZY_OR_NOW DL_NOW
12227 # define LT_DLLAZY_OR_NOW 0
12235 extern "C" void exit (int);
12238 void fnord() { int i=42;}
12241 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12242 int status = $lt_dlunknown;
12246 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12247 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12248 /* dlclose (self); */
12254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12255 (eval $ac_link) 2>&5
12257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12258 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12259 (./conftest; exit; ) 2>/dev/null
12261 case x$lt_status in
12262 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12263 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12264 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12267 # compilation failed
12268 lt_cv_dlopen_self_static=no
12275 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12276 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12279 CPPFLAGS="$save_CPPFLAGS"
12280 LDFLAGS="$save_LDFLAGS"
12285 case $lt_cv_dlopen_self in
12286 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12287 *) enable_dlopen_self=unknown ;;
12290 case $lt_cv_dlopen_self_static in
12291 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12292 *) enable_dlopen_self_static=unknown ;;
12297 # The else clause should only fire when bootstrapping the
12298 # libtool distribution, otherwise you forgot to ship ltmain.sh
12299 # with your package, and you will get complaints that there are
12300 # no rules to generate ltmain.sh.
12301 if test -f "$ltmain"; then
12302 # See if we are running on zsh, and set the options which allow our commands through
12303 # without removal of \ escapes.
12304 if test -n "${ZSH_VERSION+set}" ; then
12305 setopt NO_GLOB_SUBST
12307 # Now quote all the things that may contain metacharacters while being
12308 # careful not to overquote the AC_SUBSTed values. We take copies of the
12309 # variables and quote the copies for generation of the libtool script.
12310 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12311 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12312 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12313 deplibs_check_method reload_flag reload_cmds need_locks \
12314 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12315 lt_cv_sys_global_symbol_to_c_name_address \
12316 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12317 old_postinstall_cmds old_postuninstall_cmds \
12321 lt_prog_compiler_wl_CXX \
12322 lt_prog_compiler_pic_CXX \
12323 lt_prog_compiler_static_CXX \
12324 lt_prog_compiler_no_builtin_flag_CXX \
12325 export_dynamic_flag_spec_CXX \
12326 thread_safe_flag_spec_CXX \
12327 whole_archive_flag_spec_CXX \
12328 enable_shared_with_static_runtimes_CXX \
12329 old_archive_cmds_CXX \
12330 old_archive_from_new_cmds_CXX \
12331 predep_objects_CXX \
12332 postdep_objects_CXX \
12335 compiler_lib_search_path_CXX \
12337 archive_expsym_cmds_CXX \
12338 postinstall_cmds_CXX \
12339 postuninstall_cmds_CXX \
12340 old_archive_from_expsyms_cmds_CXX \
12341 allow_undefined_flag_CXX \
12342 no_undefined_flag_CXX \
12343 export_symbols_cmds_CXX \
12344 hardcode_libdir_flag_spec_CXX \
12345 hardcode_libdir_flag_spec_ld_CXX \
12346 hardcode_libdir_separator_CXX \
12347 hardcode_automatic_CXX \
12349 module_expsym_cmds_CXX \
12350 lt_cv_prog_compiler_c_o_CXX \
12351 exclude_expsyms_CXX \
12352 include_expsyms_CXX; do
12355 old_archive_cmds_CXX | \
12356 old_archive_from_new_cmds_CXX | \
12357 archive_cmds_CXX | \
12358 archive_expsym_cmds_CXX | \
12359 module_cmds_CXX | \
12360 module_expsym_cmds_CXX | \
12361 old_archive_from_expsyms_cmds_CXX | \
12362 export_symbols_cmds_CXX | \
12363 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12364 postinstall_cmds | postuninstall_cmds | \
12365 old_postinstall_cmds | old_postuninstall_cmds | \
12366 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12367 # Double-quote double-evaled strings.
12368 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12371 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12377 *'\$0 --fallback-echo"')
12378 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12384 cat <<__EOF__ >> "$cfgfile"
12385 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12387 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12389 # Shell to use when invoking shell scripts.
12392 # Whether or not to build shared libraries.
12393 build_libtool_libs=$enable_shared
12395 # Whether or not to build static libraries.
12396 build_old_libs=$enable_static
12398 # Whether or not to add -lc for building shared libraries.
12399 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12401 # Whether or not to disallow shared libs when runtime libs are static
12402 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12404 # Whether or not to optimize for fast installation.
12405 fast_install=$enable_fast_install
12408 host_alias=$host_alias
12411 # An echo program that does not interpret backslashes.
12416 AR_FLAGS=$lt_AR_FLAGS
12421 # A language-specific compiler.
12422 CC=$lt_compiler_CXX
12424 # Is the compiler the GNU C compiler?
12430 # The linker used to build libraries.
12433 # Whether we need hard or soft links.
12436 # A BSD-compatible nm program.
12439 # A symbol stripping program
12442 # Used to examine libraries when file_magic_cmd begins "file"
12443 MAGIC_CMD=$MAGIC_CMD
12445 # Used on cygwin: DLL creation program.
12448 # Used on cygwin: object dumper.
12451 # Used on cygwin: assembler.
12454 # The name of the directory that contains temporary libtool files.
12457 # How to create reloadable object files.
12458 reload_flag=$lt_reload_flag
12459 reload_cmds=$lt_reload_cmds
12461 # How to pass a linker flag through the compiler.
12462 wl=$lt_lt_prog_compiler_wl_CXX
12464 # Object file suffix (normally "o").
12465 objext="$ac_objext"
12467 # Old archive suffix (normally "a").
12470 # Shared library suffix (normally ".so").
12473 # Executable file suffix (normally "").
12476 # Additional compiler flags for building library objects.
12477 pic_flag=$lt_lt_prog_compiler_pic_CXX
12480 # What is the maximum length of a command?
12481 max_cmd_len=$lt_cv_sys_max_cmd_len
12483 # Does compiler simultaneously support -c and -o options?
12484 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12486 # Must we lock files when doing compilation ?
12487 need_locks=$lt_need_locks
12489 # Do we need the lib prefix for modules?
12490 need_lib_prefix=$need_lib_prefix
12492 # Do we need a version for libraries?
12493 need_version=$need_version
12495 # Whether dlopen is supported.
12496 dlopen_support=$enable_dlopen
12498 # Whether dlopen of programs is supported.
12499 dlopen_self=$enable_dlopen_self
12501 # Whether dlopen of statically linked programs is supported.
12502 dlopen_self_static=$enable_dlopen_self_static
12504 # Compiler flag to prevent dynamic linking.
12505 link_static_flag=$lt_lt_prog_compiler_static_CXX
12507 # Compiler flag to turn off builtin functions.
12508 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12510 # Compiler flag to allow reflexive dlopens.
12511 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12513 # Compiler flag to generate shared objects directly from archives.
12514 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12516 # Compiler flag to generate thread-safe objects.
12517 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12519 # Library versioning type.
12520 version_type=$version_type
12522 # Format of library name prefix.
12523 libname_spec=$lt_libname_spec
12525 # List of archive names. First name is the real one, the rest are links.
12526 # The last name is the one that the linker finds with -lNAME.
12527 library_names_spec=$lt_library_names_spec
12529 # The coded name of the library, if different from the real name.
12530 soname_spec=$lt_soname_spec
12532 # Commands used to build and install an old-style archive.
12534 old_archive_cmds=$lt_old_archive_cmds_CXX
12535 old_postinstall_cmds=$lt_old_postinstall_cmds
12536 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12538 # Create an old-style archive from a shared archive.
12539 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12541 # Create a temporary old-style archive to link instead of a shared archive.
12542 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12544 # Commands used to build and install a shared archive.
12545 archive_cmds=$lt_archive_cmds_CXX
12546 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12547 postinstall_cmds=$lt_postinstall_cmds
12548 postuninstall_cmds=$lt_postuninstall_cmds
12550 # Commands used to build a loadable module (assumed same as above if empty)
12551 module_cmds=$lt_module_cmds_CXX
12552 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12554 # Commands to strip libraries.
12555 old_striplib=$lt_old_striplib
12556 striplib=$lt_striplib
12558 # Dependencies to place before the objects being linked to create a
12560 predep_objects=$lt_predep_objects_CXX
12562 # Dependencies to place after the objects being linked to create a
12564 postdep_objects=$lt_postdep_objects_CXX
12566 # Dependencies to place before the objects being linked to create a
12568 predeps=$lt_predeps_CXX
12570 # Dependencies to place after the objects being linked to create a
12572 postdeps=$lt_postdeps_CXX
12574 # The library search path used internally by the compiler when linking
12575 # a shared library.
12576 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12578 # Method to check whether dependent libraries are shared objects.
12579 deplibs_check_method=$lt_deplibs_check_method
12581 # Command to use when deplibs_check_method == file_magic.
12582 file_magic_cmd=$lt_file_magic_cmd
12584 # Flag that allows shared libraries with undefined symbols to be built.
12585 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12587 # Flag that forces no undefined symbols.
12588 no_undefined_flag=$lt_no_undefined_flag_CXX
12590 # Commands used to finish a libtool library installation in a directory.
12591 finish_cmds=$lt_finish_cmds
12593 # Same as above, but a single script fragment to be evaled but not shown.
12594 finish_eval=$lt_finish_eval
12596 # Take the output of nm and produce a listing of raw symbols and C names.
12597 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12599 # Transform the output of nm in a proper C declaration
12600 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12602 # Transform the output of nm in a C name address pair
12603 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12605 # This is the shared library runtime path variable.
12606 runpath_var=$runpath_var
12608 # This is the shared library path variable.
12609 shlibpath_var=$shlibpath_var
12611 # Is shlibpath searched before the hard-coded library search path?
12612 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12614 # How to hardcode a shared library path into an executable.
12615 hardcode_action=$hardcode_action_CXX
12617 # Whether we should hardcode library paths into libraries.
12618 hardcode_into_libs=$hardcode_into_libs
12620 # Flag to hardcode \$libdir into a binary during linking.
12621 # This must work even if \$libdir does not exist.
12622 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12624 # If ld is used when linking, flag to hardcode \$libdir into
12625 # a binary during linking. This must work even if \$libdir does
12627 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12629 # Whether we need a single -rpath flag with a separated argument.
12630 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12632 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12633 # resulting binary.
12634 hardcode_direct=$hardcode_direct_CXX
12636 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12637 # resulting binary.
12638 hardcode_minus_L=$hardcode_minus_L_CXX
12640 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12641 # the resulting binary.
12642 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12644 # Set to yes if building a shared library automatically hardcodes DIR into the library
12645 # and all subsequent libraries and executables linked against it.
12646 hardcode_automatic=$hardcode_automatic_CXX
12648 # Variables whose values should be saved in libtool wrapper scripts and
12649 # restored at relink time.
12650 variables_saved_for_relink="$variables_saved_for_relink"
12652 # Whether libtool must link a program against all its dependency libraries.
12653 link_all_deplibs=$link_all_deplibs_CXX
12655 # Compile-time system search path for libraries
12656 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12658 # Run-time system search path for libraries
12659 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12661 # Fix the shell variable \$srcfile for the compiler.
12662 fix_srcfile_path="$fix_srcfile_path_CXX"
12664 # Set to yes if exported symbols are required.
12665 always_export_symbols=$always_export_symbols_CXX
12667 # The commands to list exported symbols.
12668 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12670 # The commands to extract the exported symbol list from a shared archive.
12671 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12673 # Symbols that should not be listed in the preloaded symbols.
12674 exclude_expsyms=$lt_exclude_expsyms_CXX
12676 # Symbols that must always be exported.
12677 include_expsyms=$lt_include_expsyms_CXX
12679 # ### END LIBTOOL TAG CONFIG: $tagname
12685 # If there is no Makefile yet, we rely on a make rule to execute
12686 # `config.status --recheck' to rerun these tests and create the
12687 # libtool script then.
12688 test -f Makefile && make "$ltmain"
12693 ac_cpp='$CPP $CPPFLAGS'
12694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12702 with_gnu_ldcxx=$with_gnu_ld
12703 with_gnu_ld=$lt_save_with_gnu_ld
12704 lt_cv_path_LDCXX=$lt_cv_path_LD
12705 lt_cv_path_LD=$lt_save_path_LD
12706 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12707 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12715 if test -n "$F77" && test "X$F77" != "Xno"; then
12718 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12719 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12720 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12723 archive_cmds_need_lc_F77=no
12724 allow_undefined_flag_F77=
12725 always_export_symbols_F77=no
12726 archive_expsym_cmds_F77=
12727 export_dynamic_flag_spec_F77=
12728 hardcode_direct_F77=no
12729 hardcode_libdir_flag_spec_F77=
12730 hardcode_libdir_flag_spec_ld_F77=
12731 hardcode_libdir_separator_F77=
12732 hardcode_minus_L_F77=no
12733 hardcode_automatic_F77=no
12735 module_expsym_cmds_F77=
12736 link_all_deplibs_F77=unknown
12737 old_archive_cmds_F77=$old_archive_cmds
12738 no_undefined_flag_F77=
12739 whole_archive_flag_spec_F77=
12740 enable_shared_with_static_runtimes_F77=no
12742 # Source file extension for f77 test sources.
12745 # Object file extension for compiled f77 test sources.
12749 # Code to be used in simple compile tests
12750 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12752 # Code to be used in simple link tests
12753 lt_simple_link_test_code=" program t\n end\n"
12755 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12757 # If no C compiler was specified, use CC.
12760 # Allow CC to be a program name with arguments.
12764 # Allow CC to be a program name with arguments.
12769 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12771 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12772 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12773 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12774 echo "${ECHO_T}$can_build_shared" >&6
12776 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12777 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12778 test "$can_build_shared" = "no" && enable_shared=no
12780 # On AIX, shared libraries and static libraries use the same namespace, and
12781 # are all built from PIC.
12784 test "$enable_shared" = yes && enable_static=no
12785 if test -n "$RANLIB"; then
12786 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12787 postinstall_cmds='$RANLIB $lib'
12791 test "$enable_shared" = yes && enable_static=no
12794 echo "$as_me:$LINENO: result: $enable_shared" >&5
12795 echo "${ECHO_T}$enable_shared" >&6
12797 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12798 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12799 # Make sure either enable_shared or enable_static is yes.
12800 test "$enable_shared" = yes || enable_static=yes
12801 echo "$as_me:$LINENO: result: $enable_static" >&5
12802 echo "${ECHO_T}$enable_static" >&6
12804 test "$ld_shlibs_F77" = no && can_build_shared=no
12809 lt_prog_compiler_wl_F77=
12810 lt_prog_compiler_pic_F77=
12811 lt_prog_compiler_static_F77=
12813 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12814 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12816 if test "$GCC" = yes; then
12817 lt_prog_compiler_wl_F77='-Wl,'
12818 lt_prog_compiler_static_F77='-static'
12822 # All AIX code is PIC.
12823 if test "$host_cpu" = ia64; then
12824 # AIX 5 now supports IA64 processor
12825 lt_prog_compiler_static_F77='-Bstatic'
12830 # FIXME: we need at least 68020 code to build shared libraries, but
12831 # adding the `-m68020' flag to GCC prevents building anything better,
12833 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12836 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12837 # PIC is the default for these OSes.
12840 mingw* | pw32* | os2*)
12841 # This hack is so that the source file can tell whether it is being
12842 # built for inclusion in a dll (and should export symbols for example).
12843 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12846 darwin* | rhapsody*)
12847 # PIC is the default on this platform
12848 # Common symbols not allowed in MH_DYLIB files
12849 lt_prog_compiler_pic_F77='-fno-common'
12853 # Just because we use GCC doesn't mean we suddenly get shared libraries
12854 # on systems that don't support them.
12855 lt_prog_compiler_can_build_shared_F77=no
12860 if test -d /usr/nec; then
12861 lt_prog_compiler_pic_F77=-Kconform_pic
12866 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12867 # not for PA HP-UX.
12868 case "$host_cpu" in
12873 lt_prog_compiler_pic_F77='-fPIC'
12879 lt_prog_compiler_pic_F77='-fPIC'
12883 # PORTME Check for flag to pass linker flags through the system compiler.
12886 lt_prog_compiler_wl_F77='-Wl,'
12887 if test "$host_cpu" = ia64; then
12888 # AIX 5 now supports IA64 processor
12889 lt_prog_compiler_static_F77='-Bstatic'
12891 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12895 mingw* | pw32* | os2*)
12896 # This hack is so that the source file can tell whether it is being
12897 # built for inclusion in a dll (and should export symbols for example).
12898 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12901 hpux9* | hpux10* | hpux11*)
12902 lt_prog_compiler_wl_F77='-Wl,'
12903 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12904 # not for PA HP-UX.
12905 case "$host_cpu" in
12910 lt_prog_compiler_pic_F77='+Z'
12913 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12914 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12917 irix5* | irix6* | nonstopux*)
12918 lt_prog_compiler_wl_F77='-Wl,'
12919 # PIC (with -KPIC) is the default.
12920 lt_prog_compiler_static_F77='-non_shared'
12924 lt_prog_compiler_pic_F77='-KPIC'
12925 lt_prog_compiler_static_F77='-Bstatic'
12931 lt_prog_compiler_wl_F77='-Wl,'
12932 lt_prog_compiler_pic_F77='-KPIC'
12933 lt_prog_compiler_static_F77='-static'
12936 lt_prog_compiler_wl_F77='-Wl,'
12937 # All Alpha code is PIC.
12938 lt_prog_compiler_static_F77='-non_shared'
12943 osf3* | osf4* | osf5*)
12944 lt_prog_compiler_wl_F77='-Wl,'
12945 # All OSF/1 code is PIC.
12946 lt_prog_compiler_static_F77='-non_shared'
12950 lt_prog_compiler_pic_F77='-Kpic'
12951 lt_prog_compiler_static_F77='-dn'
12955 lt_prog_compiler_wl_F77='-Wl,'
12956 lt_prog_compiler_pic_F77='-KPIC'
12957 lt_prog_compiler_static_F77='-Bstatic'
12961 lt_prog_compiler_wl_F77='-Qoption ld '
12962 lt_prog_compiler_pic_F77='-PIC'
12963 lt_prog_compiler_static_F77='-Bstatic'
12966 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12967 lt_prog_compiler_wl_F77='-Wl,'
12968 lt_prog_compiler_pic_F77='-KPIC'
12969 lt_prog_compiler_static_F77='-Bstatic'
12973 if test -d /usr/nec ;then
12974 lt_prog_compiler_pic_F77='-Kconform_pic'
12975 lt_prog_compiler_static_F77='-Bstatic'
12980 lt_prog_compiler_pic_F77='-pic'
12981 lt_prog_compiler_static_F77='-Bstatic'
12985 lt_prog_compiler_can_build_shared_F77=no
12990 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
12991 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
12994 # Check to make sure the PIC flag actually works.
12996 if test -n "$lt_prog_compiler_pic_F77"; then
12997 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
12998 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
12999 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13000 echo $ECHO_N "(cached) $ECHO_C" >&6
13002 lt_prog_compiler_pic_works_F77=no
13003 ac_outfile=conftest.$ac_objext
13004 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13005 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13006 # Insert the option either (1) after the last *FLAGS variable, or
13007 # (2) before a word containing "conftest.", or (3) at the end.
13008 # Note that $ac_compile itself does not contain backslashes and begins
13009 # with a dollar sign (not a hyphen), so the echo should work correctly.
13010 # The option is referenced via a variable to avoid confusing sed.
13011 lt_compile=`echo "$ac_compile" | $SED \
13012 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13013 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13014 -e 's:$: $lt_compiler_flag:'`
13015 (eval echo "\"\$as_me:13015: $lt_compile\"" >&5)
13016 (eval "$lt_compile" 2>conftest.err)
13018 cat conftest.err >&5
13019 echo "$as_me:13019: \$? = $ac_status" >&5
13020 if (exit $ac_status) && test -s "$ac_outfile"; then
13021 # The compiler can only warn and ignore the option if not recognized
13022 # So say no if there are warnings
13023 if test ! -s conftest.err; then
13024 lt_prog_compiler_pic_works_F77=yes
13030 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13031 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13033 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13034 case $lt_prog_compiler_pic_F77 in
13036 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13039 lt_prog_compiler_pic_F77=
13040 lt_prog_compiler_can_build_shared_F77=no
13045 # For platforms which do not support PIC, -DPIC is meaningless:
13047 lt_prog_compiler_pic_F77=
13050 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13054 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13055 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13056 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13057 echo $ECHO_N "(cached) $ECHO_C" >&6
13059 lt_cv_prog_compiler_c_o_F77=no
13060 $rm -r conftest 2>/dev/null
13064 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13066 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13067 # that will create temporary files in the current directory regardless of
13068 # the output directory. Thus, making CWD read-only will cause this test
13069 # to fail, enabling locking or at least warning the user not to do parallel
13073 lt_compiler_flag="-o out/conftest2.$ac_objext"
13074 # Insert the option either (1) after the last *FLAGS variable, or
13075 # (2) before a word containing "conftest.", or (3) at the end.
13076 # Note that $ac_compile itself does not contain backslashes and begins
13077 # with a dollar sign (not a hyphen), so the echo should work correctly.
13078 lt_compile=`echo "$ac_compile" | $SED \
13079 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13080 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13081 -e 's:$: $lt_compiler_flag:'`
13082 (eval echo "\"\$as_me:13082: $lt_compile\"" >&5)
13083 (eval "$lt_compile" 2>out/conftest.err)
13085 cat out/conftest.err >&5
13086 echo "$as_me:13086: \$? = $ac_status" >&5
13087 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13089 # The compiler can only warn and ignore the option if not recognized
13090 # So say no if there are warnings
13091 if test ! -s out/conftest.err; then
13092 lt_cv_prog_compiler_c_o_F77=yes
13096 $rm conftest* out/*
13103 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13104 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13107 hard_links="nottested"
13108 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13109 # do not overwrite the value of need_locks provided by the user
13110 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13111 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13114 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13116 ln conftest.a conftest.b 2>&5 || hard_links=no
13117 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13118 echo "$as_me:$LINENO: result: $hard_links" >&5
13119 echo "${ECHO_T}$hard_links" >&6
13120 if test "$hard_links" = no; then
13121 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13122 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13129 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13130 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13133 allow_undefined_flag_F77=
13134 enable_shared_with_static_runtimes_F77=no
13136 archive_expsym_cmds_F77=
13137 old_archive_From_new_cmds_F77=
13138 old_archive_from_expsyms_cmds_F77=
13139 export_dynamic_flag_spec_F77=
13140 whole_archive_flag_spec_F77=
13141 thread_safe_flag_spec_F77=
13142 hardcode_libdir_flag_spec_F77=
13143 hardcode_libdir_flag_spec_ld_F77=
13144 hardcode_libdir_separator_F77=
13145 hardcode_direct_F77=no
13146 hardcode_minus_L_F77=no
13147 hardcode_shlibpath_var_F77=unsupported
13148 link_all_deplibs_F77=unknown
13149 hardcode_automatic_F77=no
13151 module_expsym_cmds_F77=
13152 always_export_symbols_F77=no
13153 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13154 # include_expsyms should be a list of space-separated symbols to be *always*
13155 # included in the symbol list
13156 include_expsyms_F77=
13157 # exclude_expsyms can be an extended regexp of symbols to exclude
13158 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13159 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13160 # as well as any symbol that contains `d'.
13161 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13162 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13163 # platforms (ab)use it in PIC code, but their linkers get confused if
13164 # the symbol is explicitly referenced. Since portable code cannot
13165 # rely on this symbol name, it's probably fine to never include it in
13166 # preloaded symbol tables.
13167 extract_expsyms_cmds=
13170 cygwin* | mingw* | pw32*)
13171 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13172 # When not using gcc, we currently assume that we are using
13173 # Microsoft Visual C++.
13174 if test "$GCC" != yes; then
13184 if test "$with_gnu_ld" = yes; then
13185 # If archive_cmds runs LD, not CC, wlarc should be empty
13188 # See if GNU ld supports shared libraries.
13190 aix3* | aix4* | aix5*)
13191 # On AIX/PPC, the GNU linker is very broken
13192 if test "$host_cpu" != ia64; then
13196 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13197 *** to be unable to reliably create shared libraries on AIX.
13198 *** Therefore, libtool is disabling shared libraries support. If you
13199 *** really care for shared libraries, you may want to modify your PATH
13200 *** so that a non-GNU linker is found, and then restart.
13207 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)'
13208 hardcode_libdir_flag_spec_F77='-L$libdir'
13209 hardcode_minus_L_F77=yes
13211 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13212 # that the semantics of dynamic libraries on AmigaOS, at least up
13213 # to version 4, is to share data among multiple programs linked
13214 # with the same dynamic library. Since this doesn't match the
13215 # behavior of shared libraries on other platforms, we can't use
13221 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13222 allow_undefined_flag_F77=unsupported
13223 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13224 # support --undefined. This deserves some investigation. FIXME
13225 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13231 cygwin* | mingw* | pw32*)
13232 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13233 # as there is no search path for DLLs.
13234 hardcode_libdir_flag_spec_F77='-L$libdir'
13235 allow_undefined_flag_F77=unsupported
13236 always_export_symbols_F77=no
13237 enable_shared_with_static_runtimes_F77=yes
13238 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13240 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13241 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13242 # If the export-symbols file already is a .def file (1st line
13243 # is EXPORTS), use it as is; otherwise, prepend...
13244 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13245 cp $export_symbols $output_objdir/$soname.def;
13247 echo EXPORTS > $output_objdir/$soname.def;
13248 cat $export_symbols >> $output_objdir/$soname.def;
13250 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13257 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13258 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13261 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13262 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13267 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13271 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13272 *** create shared libraries on Solaris systems. Therefore, libtool
13273 *** is disabling shared libraries support. We urge you to upgrade GNU
13274 *** binutils to release 2.9.1 or newer. Another option is to modify
13275 *** your PATH or compiler configuration so that the native linker is
13276 *** used, and then restart.
13279 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13280 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13281 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13288 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13290 hardcode_direct_F77=yes
13291 hardcode_shlibpath_var_F77=no
13295 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13296 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13297 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13304 if test "$ld_shlibs_F77" = yes; then
13305 runpath_var=LD_RUN_PATH
13306 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13307 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13308 # ancient GNU ld didn't support --whole-archive et. al.
13309 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13310 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13312 whole_archive_flag_spec_F77=
13316 # PORTME fill in a description of your system's linker (not GNU ld)
13319 allow_undefined_flag_F77=unsupported
13320 always_export_symbols_F77=yes
13321 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'
13322 # Note: this linker hardcodes the directories in LIBPATH if there
13323 # are no directories specified by -L.
13324 hardcode_minus_L_F77=yes
13325 if test "$GCC" = yes && test -z "$link_static_flag"; then
13326 # Neither direct hardcoding nor static linking is supported with a
13328 hardcode_direct_F77=unsupported
13333 if test "$host_cpu" = ia64; then
13334 # On IA64, the linker does run time linking by default, so we don't
13335 # have to do anything special.
13336 aix_use_runtimelinking=no
13337 exp_sym_flag='-Bexport'
13340 # If we're using GNU nm, then we don't want the "-C" option.
13341 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13342 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13343 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'
13345 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'
13347 aix_use_runtimelinking=no
13349 # Test if we are trying to use run time linking or normal
13350 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13351 # need to do runtime linking.
13352 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13353 for ld_flag in $LDFLAGS; do
13354 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13355 aix_use_runtimelinking=yes
13361 exp_sym_flag='-bexport'
13362 no_entry_flag='-bnoentry'
13365 # When large executables or shared objects are built, AIX ld can
13366 # have problems creating the table of contents. If linking a library
13367 # or program results in "error TOC overflow" add -mminimal-toc to
13368 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13369 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13371 archive_cmds_F77=''
13372 hardcode_direct_F77=yes
13373 hardcode_libdir_separator_F77=':'
13374 link_all_deplibs_F77=yes
13376 if test "$GCC" = yes; then
13377 case $host_os in aix4.012|aix4.012.*)
13378 # We only want to do this on AIX 4.2 and lower, the check
13379 # below for broken collect2 doesn't work under 4.3+
13380 collect2name=`${CC} -print-prog-name=collect2`
13381 if test -f "$collect2name" && \
13382 strings "$collect2name" | grep resolve_lib_name >/dev/null
13384 # We have reworked collect2
13385 hardcode_direct_F77=yes
13387 # We have old collect2
13388 hardcode_direct_F77=unsupported
13389 # It fails to find uninstalled libraries when the uninstalled
13390 # path is not listed in the libpath. Setting hardcode_minus_L
13391 # to unsupported forces relinking
13392 hardcode_minus_L_F77=yes
13393 hardcode_libdir_flag_spec_F77='-L$libdir'
13394 hardcode_libdir_separator_F77=
13397 shared_flag='-shared'
13400 if test "$host_cpu" = ia64; then
13401 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13402 # chokes on -Wl,-G. The following line is correct:
13405 if test "$aix_use_runtimelinking" = yes; then
13406 shared_flag='${wl}-G'
13408 shared_flag='${wl}-bM:SRE'
13413 # It seems that -bexpall does not export symbols beginning with
13414 # underscore (_), so it is better to generate a list of symbols to export.
13415 always_export_symbols_F77=yes
13416 if test "$aix_use_runtimelinking" = yes; then
13417 # Warning - without using the other runtime loading flags (-brtl),
13418 # -berok will link without error, but may produce a broken library.
13419 allow_undefined_flag_F77='-berok'
13420 # Determine the default libpath from the value encoded in an empty executable.
13421 cat >conftest.$ac_ext <<_ACEOF
13426 rm -f conftest.$ac_objext conftest$ac_exeext
13427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13428 (eval $ac_link) 2>&5
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); } &&
13432 { ac_try='test -s conftest$ac_exeext'
13433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13434 (eval $ac_try) 2>&5
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); }; }; then
13439 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13441 # Check for a 64-bit object if we didn't find anything.
13442 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; }
13445 echo "$as_me: failed program was:" >&5
13446 sed 's/^/| /' conftest.$ac_ext >&5
13449 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13450 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13452 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13453 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"
13455 if test "$host_cpu" = ia64; then
13456 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13457 allow_undefined_flag_F77="-z nodefs"
13458 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"
13460 # Determine the default libpath from the value encoded in an empty executable.
13461 cat >conftest.$ac_ext <<_ACEOF
13466 rm -f conftest.$ac_objext conftest$ac_exeext
13467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13468 (eval $ac_link) 2>&5
13470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13471 (exit $ac_status); } &&
13472 { ac_try='test -s conftest$ac_exeext'
13473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13474 (eval $ac_try) 2>&5
13476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 (exit $ac_status); }; }; then
13479 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13481 # Check for a 64-bit object if we didn't find anything.
13482 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; }
13485 echo "$as_me: failed program was:" >&5
13486 sed 's/^/| /' conftest.$ac_ext >&5
13489 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13490 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13492 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13493 # Warning - without using the other run time loading flags,
13494 # -berok will link without error, but may produce a broken library.
13495 no_undefined_flag_F77=' ${wl}-bernotok'
13496 allow_undefined_flag_F77=' ${wl}-berok'
13497 # -bexpall does not export symbols beginning with underscore (_)
13498 always_export_symbols_F77=yes
13499 # Exported symbols can be pulled into shared objects from archives
13500 whole_archive_flag_spec_F77=' '
13501 archive_cmds_need_lc_F77=yes
13502 # This is similar to how AIX traditionally builds it's shared libraries.
13503 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'
13509 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)'
13510 hardcode_libdir_flag_spec_F77='-L$libdir'
13511 hardcode_minus_L_F77=yes
13512 # see comment about different semantics on the GNU ld section
13517 export_dynamic_flag_spec_F77=-rdynamic
13520 cygwin* | mingw* | pw32*)
13521 # When not using gcc, we currently assume that we are using
13522 # Microsoft Visual C++.
13523 # hardcode_libdir_flag_spec is actually meaningless, as there is
13524 # no search path for DLLs.
13525 hardcode_libdir_flag_spec_F77=' '
13526 allow_undefined_flag_F77=unsupported
13527 # Tell ltmain to make .lib files, not .a files.
13529 # Tell ltmain to make .dll files, not .so files.
13531 # FIXME: Setting linknames here is a bad hack.
13532 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13533 # The linker will automatically build a .lib file if we build a DLL.
13534 old_archive_From_new_cmds_F77='true'
13535 # FIXME: Should let the user specify the lib program.
13536 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13537 fix_srcfile_path='`cygpath -w "$srcfile"`'
13538 enable_shared_with_static_runtimes_F77=yes
13541 darwin* | rhapsody*)
13542 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13543 archive_cmds_need_lc_F77=no
13545 rhapsody* | darwin1.[012])
13546 allow_undefined_flag_F77='-undefined suppress'
13549 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13552 # FIXME: Relying on posixy $() will cause problems for
13553 # cross-compilation, but unfortunately the echo tests do not
13554 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13555 # `"' quotes if we put them in here... so don't!
13556 lt_int_apple_cc_single_mod=no
13557 output_verbose_link_cmd='echo'
13558 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13559 lt_int_apple_cc_single_mod=yes
13561 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13562 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13564 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'
13566 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13567 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13568 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13569 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}'
13571 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}'
13573 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}'
13574 hardcode_direct_F77=no
13575 hardcode_automatic_F77=yes
13576 hardcode_shlibpath_var_F77=unsupported
13577 whole_archive_flag_spec_F77='-all_load $convenience'
13578 link_all_deplibs_F77=yes
13583 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13584 hardcode_libdir_flag_spec_F77='-L$libdir'
13585 hardcode_shlibpath_var_F77=no
13592 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13593 # support. Future versions do this automatically, but an explicit c++rt0.o
13594 # does not break anything, and helps significantly (at the cost of a little
13597 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13598 hardcode_libdir_flag_spec_F77='-R$libdir'
13599 hardcode_direct_F77=yes
13600 hardcode_shlibpath_var_F77=no
13603 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13605 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13606 hardcode_direct_F77=yes
13607 hardcode_minus_L_F77=yes
13608 hardcode_shlibpath_var_F77=no
13611 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13613 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13614 hardcode_libdir_flag_spec_F77='-R$libdir'
13615 hardcode_direct_F77=yes
13616 hardcode_shlibpath_var_F77=no
13620 if test "$GCC" = yes; then
13621 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'
13623 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'
13625 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13626 hardcode_libdir_separator_F77=:
13627 hardcode_direct_F77=yes
13629 # hardcode_minus_L: Not really in the search PATH,
13630 # but as the default location of the library.
13631 hardcode_minus_L_F77=yes
13632 export_dynamic_flag_spec_F77='${wl}-E'
13636 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13637 case "$host_cpu" in
13639 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13642 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13646 case "$host_cpu" in
13648 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13651 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13655 if test "$with_gnu_ld" = no; then
13656 case "$host_cpu" in
13658 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13659 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13660 hardcode_libdir_separator_F77=:
13661 hardcode_direct_F77=no
13662 hardcode_shlibpath_var_F77=no
13665 hardcode_libdir_flag_spec_F77='-L$libdir'
13666 hardcode_direct_F77=no
13667 hardcode_shlibpath_var_F77=no
13669 # hardcode_minus_L: Not really in the search PATH,
13670 # but as the default location of the library.
13671 hardcode_minus_L_F77=yes
13674 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13675 hardcode_libdir_separator_F77=:
13676 hardcode_direct_F77=yes
13677 export_dynamic_flag_spec_F77='${wl}-E'
13679 # hardcode_minus_L: Not really in the search PATH,
13680 # but as the default location of the library.
13681 hardcode_minus_L_F77=yes
13687 irix5* | irix6* | nonstopux*)
13688 if test "$GCC" = yes; then
13689 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'
13691 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'
13692 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13694 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13695 hardcode_libdir_separator_F77=:
13696 link_all_deplibs_F77=yes
13700 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13701 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13703 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13705 hardcode_libdir_flag_spec_F77='-R$libdir'
13706 hardcode_direct_F77=yes
13707 hardcode_shlibpath_var_F77=no
13711 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13712 hardcode_direct_F77=yes
13713 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13714 hardcode_libdir_separator_F77=:
13715 hardcode_shlibpath_var_F77=no
13719 hardcode_direct_F77=yes
13720 hardcode_shlibpath_var_F77=no
13721 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13722 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13723 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13724 export_dynamic_flag_spec_F77='${wl}-E'
13727 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13728 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13729 hardcode_libdir_flag_spec_F77='-R$libdir'
13732 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13733 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13740 hardcode_libdir_flag_spec_F77='-L$libdir'
13741 hardcode_minus_L_F77=yes
13742 allow_undefined_flag_F77=unsupported
13743 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'
13744 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13748 if test "$GCC" = yes; then
13749 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13750 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'
13752 allow_undefined_flag_F77=' -expect_unresolved \*'
13753 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'
13755 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13756 hardcode_libdir_separator_F77=:
13759 osf4* | osf5*) # as osf3* with the addition of -msym flag
13760 if test "$GCC" = yes; then
13761 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13762 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'
13763 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13765 allow_undefined_flag_F77=' -expect_unresolved \*'
13766 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'
13767 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~
13768 $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'
13770 # Both c and cxx compiler support -rpath directly
13771 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13773 hardcode_libdir_separator_F77=:
13777 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13778 hardcode_shlibpath_var_F77=no
13779 export_dynamic_flag_spec_F77='${wl}-Bexport'
13780 runpath_var=LD_RUN_PATH
13781 hardcode_runpath_var=yes
13785 no_undefined_flag_F77=' -z text'
13786 if test "$GCC" = yes; then
13787 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13788 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13789 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13791 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13792 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13793 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13795 hardcode_libdir_flag_spec_F77='-R$libdir'
13796 hardcode_shlibpath_var_F77=no
13798 solaris2.[0-5] | solaris2.[0-5].*) ;;
13799 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13800 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13802 link_all_deplibs_F77=yes
13806 if test "x$host_vendor" = xsequent; then
13807 # Use $CC to link under sequent, because it throws in some extra .o
13808 # files that make .init and .fini sections work.
13809 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13811 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13813 hardcode_libdir_flag_spec_F77='-L$libdir'
13814 hardcode_direct_F77=yes
13815 hardcode_minus_L_F77=yes
13816 hardcode_shlibpath_var_F77=no
13820 case $host_vendor in
13822 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13823 hardcode_direct_F77=yes # is this really true???
13826 ## LD is ld it makes a PLAMLIB
13827 ## CC just makes a GrossModule.
13828 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13829 reload_cmds_F77='$CC -r -o $output$reload_objs'
13830 hardcode_direct_F77=no
13833 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13834 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13837 runpath_var='LD_RUN_PATH'
13838 hardcode_shlibpath_var_F77=no
13842 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13843 hardcode_shlibpath_var_F77=no
13844 export_dynamic_flag_spec_F77='-Bexport'
13848 if test -d /usr/nec; then
13849 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13850 hardcode_shlibpath_var_F77=no
13851 runpath_var=LD_RUN_PATH
13852 hardcode_runpath_var=yes
13858 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13859 hardcode_direct_F77=yes
13860 hardcode_minus_L_F77=no
13861 hardcode_shlibpath_var_F77=no
13862 hardcode_runpath_var=yes
13863 runpath_var=LD_RUN_PATH
13866 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13867 no_undefined_flag_F77='${wl}-z ${wl}text'
13868 if test "$GCC" = yes; then
13869 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13871 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13873 runpath_var='LD_RUN_PATH'
13874 hardcode_shlibpath_var_F77=no
13878 no_undefined_flag_F77=' -z text'
13879 # $CC -shared without GNU ld will not create a library from C++
13880 # object files and a static libstdc++, better avoid it by now
13881 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13882 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13883 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13884 hardcode_libdir_flag_spec_F77=
13885 hardcode_shlibpath_var_F77=no
13886 runpath_var='LD_RUN_PATH'
13890 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13891 hardcode_libdir_flag_spec_F77='-L$libdir'
13892 hardcode_shlibpath_var_F77=no
13901 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13902 echo "${ECHO_T}$ld_shlibs_F77" >&6
13903 test "$ld_shlibs_F77" = no && can_build_shared=no
13905 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13906 if test "$GCC" = yes; then
13907 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13911 # Do we need to explicitly link libc?
13913 case "x$archive_cmds_need_lc_F77" in
13915 # Assume -lc should be added
13916 archive_cmds_need_lc_F77=yes
13918 if test "$enable_shared" = yes && test "$GCC" = yes; then
13919 case $archive_cmds_F77 in
13921 # FIXME: we may have to deal with multi-command sequences.
13924 # Test whether the compiler implicitly links with -lc since on some
13925 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13926 # to ld, don't add -lc before -lgcc.
13927 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13928 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13930 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13933 (eval $ac_compile) 2>&5
13935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13936 (exit $ac_status); } 2>conftest.err; then
13939 libobjs=conftest.$ac_objext
13941 wl=$lt_prog_compiler_wl_F77
13947 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13948 allow_undefined_flag_F77=
13949 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13950 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); }
13955 archive_cmds_need_lc_F77=no
13957 archive_cmds_need_lc_F77=yes
13959 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13961 cat conftest.err 1>&5
13964 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13965 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13972 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13973 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13974 hardcode_action_F77=
13975 if test -n "$hardcode_libdir_flag_spec_F77" || \
13976 test -n "$runpath_var F77" || \
13977 test "X$hardcode_automatic_F77"="Xyes" ; then
13979 # We can hardcode non-existant directories.
13980 if test "$hardcode_direct_F77" != no &&
13981 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13982 # have to relink, otherwise we might link with an installed library
13983 # when we should be linking with a yet-to-be-installed one
13984 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
13985 test "$hardcode_minus_L_F77" != no; then
13986 # Linking always hardcodes the temporary library directory.
13987 hardcode_action_F77=relink
13989 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13990 hardcode_action_F77=immediate
13993 # We cannot hardcode anything, or else we can only hardcode existing
13995 hardcode_action_F77=unsupported
13997 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
13998 echo "${ECHO_T}$hardcode_action_F77" >&6
14000 if test "$hardcode_action_F77" = relink; then
14001 # Fast installation is not supported
14002 enable_fast_install=no
14003 elif test "$shlibpath_overrides_runpath" = yes ||
14004 test "$enable_shared" = no; then
14005 # Fast installation is not necessary
14006 enable_fast_install=needless
14011 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14012 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14013 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14014 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14015 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14016 echo "$as_me:$LINENO: result: yes" >&5
14017 echo "${ECHO_T}yes" >&6
14019 # FIXME - insert some real tests, host_os isn't really good enough
14022 if test -n "$STRIP" ; then
14023 striplib="$STRIP -x"
14024 echo "$as_me:$LINENO: result: yes" >&5
14025 echo "${ECHO_T}yes" >&6
14027 echo "$as_me:$LINENO: result: no" >&5
14028 echo "${ECHO_T}no" >&6
14032 echo "$as_me:$LINENO: result: no" >&5
14033 echo "${ECHO_T}no" >&6
14038 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14039 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14040 library_names_spec=
14041 libname_spec='lib$name'
14045 postuninstall_cmds=
14049 shlibpath_overrides_runpath=unknown
14051 dynamic_linker="$host_os ld.so"
14052 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14053 if test "$GCC" = yes; then
14054 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14055 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14056 # if the path contains ";" then we assume it to be the separator
14057 # otherwise default to the standard path separator (i.e. ":") - it is
14058 # assumed that no part of a normal pathname contains ";" but that should
14059 # okay in the real world where ";" in dirpaths is itself problematic.
14060 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14062 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14065 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14067 need_lib_prefix=unknown
14068 hardcode_into_libs=no
14070 # when you set need_version to no, make sure it does not cause -set_version
14071 # flags to be left without arguments
14072 need_version=unknown
14077 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14078 shlibpath_var=LIBPATH
14080 # AIX 3 has no versioning support, so we append a major version to the name.
14081 soname_spec='${libname}${release}${shared_ext}$major'
14088 hardcode_into_libs=yes
14089 if test "$host_cpu" = ia64; then
14090 # AIX 5 supports IA64
14091 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14092 shlibpath_var=LD_LIBRARY_PATH
14094 # With GCC up to 2.95.x, collect2 would create an import file
14095 # for dependence libraries. The import file would start with
14096 # the line `#! .'. This would cause the generated library to
14097 # depend on `.', always an invalid library. This was fixed in
14098 # development snapshots of GCC prior to 3.0.
14100 aix4 | aix4.[01] | aix4.[01].*)
14101 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14103 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14106 can_build_shared=no
14110 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14111 # soname into executable. Probably we can add versioning support to
14112 # collect2, so additional links can be useful in future.
14113 if test "$aix_use_runtimelinking" = yes; then
14114 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14115 # instead of lib<name>.a to let people know that these are not
14116 # typical AIX shared libraries.
14117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14119 # We preserve .a as extension for shared libraries through AIX4.2
14120 # and later when we are not doing run time linking.
14121 library_names_spec='${libname}${release}.a $libname.a'
14122 soname_spec='${libname}${release}${shared_ext}$major'
14124 shlibpath_var=LIBPATH
14129 library_names_spec='$libname.ixlibrary $libname.a'
14130 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14131 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'
14135 library_names_spec='${libname}${shared_ext}'
14136 dynamic_linker="$host_os ld.so"
14137 shlibpath_var=LIBRARY_PATH
14143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14144 soname_spec='${libname}${release}${shared_ext}$major'
14145 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14146 shlibpath_var=LD_LIBRARY_PATH
14147 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14148 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14149 # the default ld.so.conf also contains /usr/contrib/lib and
14150 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14151 # libtool to hard-code these into programs
14154 cygwin* | mingw* | pw32*)
14155 version_type=windows
14160 case $GCC,$host_os in
14161 yes,cygwin* | yes,mingw* | yes,pw32*)
14162 library_names_spec='$libname.dll.a'
14163 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14164 postinstall_cmds='base_file=`basename \${file}`~
14165 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14166 dldir=$destdir/`dirname \$dlpath`~
14167 test -d \$dldir || mkdir -p \$dldir~
14168 $install_prog $dir/$dlname \$dldir/$dlname'
14169 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14170 dlpath=$dir/\$dldll~
14172 shlibpath_overrides_runpath=yes
14176 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14177 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14178 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14181 # MinGW DLLs use traditional 'lib' prefix
14182 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14183 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14184 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14185 # It is most probably a Windows format PATH printed by
14186 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14187 # path with ; separators, and with drive letters. We can handle the
14188 # drive letters (cygwin fileutils understands them), so leave them,
14189 # especially as we might pass files found there to a mingw objdump,
14190 # which wouldn't understand a cygwinified path. Ahh.
14191 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14193 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14197 # pw32 DLLs use 'pw' prefix rather than 'lib'
14198 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14204 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14207 dynamic_linker='Win32 ld.exe'
14208 # FIXME: first we should search . and the directory the executable is in
14212 darwin* | rhapsody*)
14213 dynamic_linker="$host_os dyld"
14214 version_type=darwin
14217 # FIXME: Relying on posixy $() will cause problems for
14218 # cross-compilation, but unfortunately the echo tests do not
14219 # yet detect zsh echo's removal of \ escapes.
14220 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14221 soname_spec='${libname}${release}${major}$shared_ext'
14222 shlibpath_overrides_runpath=yes
14223 shlibpath_var=DYLD_LIBRARY_PATH
14224 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14225 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14226 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14227 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"`
14229 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14236 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14237 soname_spec='${libname}${release}${shared_ext}$major'
14238 shlibpath_var=LD_LIBRARY_PATH
14246 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14247 version_type=freebsd-$objformat
14248 case $version_type in
14250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14255 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14259 shlibpath_var=LD_LIBRARY_PATH
14262 shlibpath_overrides_runpath=yes
14264 freebsd3.01* | freebsdelf3.01*)
14265 shlibpath_overrides_runpath=yes
14266 hardcode_into_libs=yes
14269 shlibpath_overrides_runpath=no
14270 hardcode_into_libs=yes
14279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14280 soname_spec='${libname}${release}${shared_ext}$major'
14281 shlibpath_var=LD_LIBRARY_PATH
14282 hardcode_into_libs=yes
14285 hpux9* | hpux10* | hpux11*)
14286 # Give a soname corresponding to the major version so that dld.sl refuses to
14287 # link against other versions.
14291 case "$host_cpu" in
14294 hardcode_into_libs=yes
14295 dynamic_linker="$host_os dld.so"
14296 shlibpath_var=LD_LIBRARY_PATH
14297 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14299 soname_spec='${libname}${release}${shared_ext}$major'
14300 if test "X$HPUX_IA64_MODE" = X32; then
14301 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14303 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14305 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14309 hardcode_into_libs=yes
14310 dynamic_linker="$host_os dld.sl"
14311 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14312 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14314 soname_spec='${libname}${release}${shared_ext}$major'
14315 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14316 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14320 dynamic_linker="$host_os dld.sl"
14321 shlibpath_var=SHLIB_PATH
14322 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14324 soname_spec='${libname}${release}${shared_ext}$major'
14327 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14328 postinstall_cmds='chmod 555 $lib'
14331 irix5* | irix6* | nonstopux*)
14333 nonstopux*) version_type=nonstopux ;;
14335 if test "$lt_cv_prog_gnu_ld" = yes; then
14343 soname_spec='${libname}${release}${shared_ext}$major'
14344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14346 irix5* | nonstopux*)
14347 libsuff= shlibsuff=
14350 case $LD in # libtool.m4 will add one of these switches to LD
14351 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14352 libsuff= shlibsuff= libmagic=32-bit;;
14353 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14354 libsuff=32 shlibsuff=N32 libmagic=N32;;
14355 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14356 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14357 *) libsuff= shlibsuff= libmagic=never-match;;
14361 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14362 shlibpath_overrides_runpath=no
14363 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14364 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14365 hardcode_into_libs=yes
14368 # No shared lib support for Linux oldld, aout, or coff.
14369 linux*oldld* | linux*aout* | linux*coff*)
14373 # This must be Linux ELF.
14378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14379 soname_spec='${libname}${release}${shared_ext}$major'
14380 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14381 shlibpath_var=LD_LIBRARY_PATH
14382 shlibpath_overrides_runpath=no
14383 # This implies no fast_install, which is unacceptable.
14384 # Some rework will be needed to allow for fast_install
14385 # before this can be enabled.
14386 hardcode_into_libs=yes
14388 # We used to test for /lib/ld.so.1 and disable shared libraries on
14389 # powerpc, because MkLinux only supported shared libraries with the
14390 # GNU dynamic linker. Since this was broken with cross compilers,
14391 # most powerpc-linux boxes support dynamic linking these days and
14392 # people can always --disable-shared, the test was removed, and we
14393 # assume the GNU/Linux dynamic linker is in use.
14394 dynamic_linker='GNU/Linux ld.so'
14401 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14403 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14404 dynamic_linker='NetBSD (a.out) ld.so'
14406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14407 soname_spec='${libname}${release}${shared_ext}$major'
14408 dynamic_linker='NetBSD ld.elf_so'
14410 shlibpath_var=LD_LIBRARY_PATH
14411 shlibpath_overrides_runpath=yes
14412 hardcode_into_libs=yes
14417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14418 shlibpath_var=LD_LIBRARY_PATH
14419 shlibpath_overrides_runpath=yes
14426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14427 soname_spec='${libname}${release}${shared_ext}$major'
14428 shlibpath_var=LD_LIBRARY_PATH
14429 shlibpath_overrides_runpath=yes
14436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14437 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14438 shlibpath_var=LD_LIBRARY_PATH
14439 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14441 openbsd2.[89] | openbsd2.[89].*)
14442 shlibpath_overrides_runpath=no
14445 shlibpath_overrides_runpath=yes
14449 shlibpath_overrides_runpath=yes
14454 libname_spec='$name'
14457 library_names_spec='$libname${shared_ext} $libname.a'
14458 dynamic_linker='OS/2 ld.exe'
14459 shlibpath_var=LIBPATH
14462 osf3* | osf4* | osf5*)
14466 soname_spec='${libname}${release}${shared_ext}$major'
14467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14468 shlibpath_var=LD_LIBRARY_PATH
14469 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14470 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14475 soname_spec='${libname}${release}${shared_ext}$major'
14476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14477 shlibpath_var=LD_LIBRARY_PATH
14484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14485 soname_spec='${libname}${release}${shared_ext}$major'
14486 shlibpath_var=LD_LIBRARY_PATH
14487 shlibpath_overrides_runpath=yes
14488 hardcode_into_libs=yes
14489 # ldd complains unless libraries are executable
14490 postinstall_cmds='chmod +x $lib'
14495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14496 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14497 shlibpath_var=LD_LIBRARY_PATH
14498 shlibpath_overrides_runpath=yes
14499 if test "$with_gnu_ld" = yes; then
14505 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14508 soname_spec='${libname}${release}${shared_ext}$major'
14509 shlibpath_var=LD_LIBRARY_PATH
14510 case $host_vendor in
14512 shlibpath_overrides_runpath=no
14514 export_dynamic_flag_spec='${wl}-Blargedynsym'
14515 runpath_var=LD_RUN_PATH
14523 shlibpath_overrides_runpath=no
14524 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14530 if test -d /usr/nec ;then
14532 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14533 soname_spec='$libname${shared_ext}.$major'
14534 shlibpath_var=LD_LIBRARY_PATH
14540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14541 soname_spec='${libname}${release}${shared_ext}$major'
14542 shlibpath_var=LD_LIBRARY_PATH
14549 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14550 echo "${ECHO_T}$dynamic_linker" >&6
14551 test "$dynamic_linker" = no && can_build_shared=no
14554 # The else clause should only fire when bootstrapping the
14555 # libtool distribution, otherwise you forgot to ship ltmain.sh
14556 # with your package, and you will get complaints that there are
14557 # no rules to generate ltmain.sh.
14558 if test -f "$ltmain"; then
14559 # See if we are running on zsh, and set the options which allow our commands through
14560 # without removal of \ escapes.
14561 if test -n "${ZSH_VERSION+set}" ; then
14562 setopt NO_GLOB_SUBST
14564 # Now quote all the things that may contain metacharacters while being
14565 # careful not to overquote the AC_SUBSTed values. We take copies of the
14566 # variables and quote the copies for generation of the libtool script.
14567 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14568 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14569 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14570 deplibs_check_method reload_flag reload_cmds need_locks \
14571 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14572 lt_cv_sys_global_symbol_to_c_name_address \
14573 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14574 old_postinstall_cmds old_postuninstall_cmds \
14578 lt_prog_compiler_wl_F77 \
14579 lt_prog_compiler_pic_F77 \
14580 lt_prog_compiler_static_F77 \
14581 lt_prog_compiler_no_builtin_flag_F77 \
14582 export_dynamic_flag_spec_F77 \
14583 thread_safe_flag_spec_F77 \
14584 whole_archive_flag_spec_F77 \
14585 enable_shared_with_static_runtimes_F77 \
14586 old_archive_cmds_F77 \
14587 old_archive_from_new_cmds_F77 \
14588 predep_objects_F77 \
14589 postdep_objects_F77 \
14592 compiler_lib_search_path_F77 \
14594 archive_expsym_cmds_F77 \
14595 postinstall_cmds_F77 \
14596 postuninstall_cmds_F77 \
14597 old_archive_from_expsyms_cmds_F77 \
14598 allow_undefined_flag_F77 \
14599 no_undefined_flag_F77 \
14600 export_symbols_cmds_F77 \
14601 hardcode_libdir_flag_spec_F77 \
14602 hardcode_libdir_flag_spec_ld_F77 \
14603 hardcode_libdir_separator_F77 \
14604 hardcode_automatic_F77 \
14606 module_expsym_cmds_F77 \
14607 lt_cv_prog_compiler_c_o_F77 \
14608 exclude_expsyms_F77 \
14609 include_expsyms_F77; do
14612 old_archive_cmds_F77 | \
14613 old_archive_from_new_cmds_F77 | \
14614 archive_cmds_F77 | \
14615 archive_expsym_cmds_F77 | \
14616 module_cmds_F77 | \
14617 module_expsym_cmds_F77 | \
14618 old_archive_from_expsyms_cmds_F77 | \
14619 export_symbols_cmds_F77 | \
14620 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14621 postinstall_cmds | postuninstall_cmds | \
14622 old_postinstall_cmds | old_postuninstall_cmds | \
14623 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14624 # Double-quote double-evaled strings.
14625 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14628 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14634 *'\$0 --fallback-echo"')
14635 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14641 cat <<__EOF__ >> "$cfgfile"
14642 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14644 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14646 # Shell to use when invoking shell scripts.
14649 # Whether or not to build shared libraries.
14650 build_libtool_libs=$enable_shared
14652 # Whether or not to build static libraries.
14653 build_old_libs=$enable_static
14655 # Whether or not to add -lc for building shared libraries.
14656 build_libtool_need_lc=$archive_cmds_need_lc_F77
14658 # Whether or not to disallow shared libs when runtime libs are static
14659 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14661 # Whether or not to optimize for fast installation.
14662 fast_install=$enable_fast_install
14665 host_alias=$host_alias
14668 # An echo program that does not interpret backslashes.
14673 AR_FLAGS=$lt_AR_FLAGS
14678 # A language-specific compiler.
14679 CC=$lt_compiler_F77
14681 # Is the compiler the GNU C compiler?
14687 # The linker used to build libraries.
14690 # Whether we need hard or soft links.
14693 # A BSD-compatible nm program.
14696 # A symbol stripping program
14699 # Used to examine libraries when file_magic_cmd begins "file"
14700 MAGIC_CMD=$MAGIC_CMD
14702 # Used on cygwin: DLL creation program.
14705 # Used on cygwin: object dumper.
14708 # Used on cygwin: assembler.
14711 # The name of the directory that contains temporary libtool files.
14714 # How to create reloadable object files.
14715 reload_flag=$lt_reload_flag
14716 reload_cmds=$lt_reload_cmds
14718 # How to pass a linker flag through the compiler.
14719 wl=$lt_lt_prog_compiler_wl_F77
14721 # Object file suffix (normally "o").
14722 objext="$ac_objext"
14724 # Old archive suffix (normally "a").
14727 # Shared library suffix (normally ".so").
14730 # Executable file suffix (normally "").
14733 # Additional compiler flags for building library objects.
14734 pic_flag=$lt_lt_prog_compiler_pic_F77
14737 # What is the maximum length of a command?
14738 max_cmd_len=$lt_cv_sys_max_cmd_len
14740 # Does compiler simultaneously support -c and -o options?
14741 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14743 # Must we lock files when doing compilation ?
14744 need_locks=$lt_need_locks
14746 # Do we need the lib prefix for modules?
14747 need_lib_prefix=$need_lib_prefix
14749 # Do we need a version for libraries?
14750 need_version=$need_version
14752 # Whether dlopen is supported.
14753 dlopen_support=$enable_dlopen
14755 # Whether dlopen of programs is supported.
14756 dlopen_self=$enable_dlopen_self
14758 # Whether dlopen of statically linked programs is supported.
14759 dlopen_self_static=$enable_dlopen_self_static
14761 # Compiler flag to prevent dynamic linking.
14762 link_static_flag=$lt_lt_prog_compiler_static_F77
14764 # Compiler flag to turn off builtin functions.
14765 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14767 # Compiler flag to allow reflexive dlopens.
14768 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14770 # Compiler flag to generate shared objects directly from archives.
14771 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14773 # Compiler flag to generate thread-safe objects.
14774 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14776 # Library versioning type.
14777 version_type=$version_type
14779 # Format of library name prefix.
14780 libname_spec=$lt_libname_spec
14782 # List of archive names. First name is the real one, the rest are links.
14783 # The last name is the one that the linker finds with -lNAME.
14784 library_names_spec=$lt_library_names_spec
14786 # The coded name of the library, if different from the real name.
14787 soname_spec=$lt_soname_spec
14789 # Commands used to build and install an old-style archive.
14791 old_archive_cmds=$lt_old_archive_cmds_F77
14792 old_postinstall_cmds=$lt_old_postinstall_cmds
14793 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14795 # Create an old-style archive from a shared archive.
14796 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14798 # Create a temporary old-style archive to link instead of a shared archive.
14799 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14801 # Commands used to build and install a shared archive.
14802 archive_cmds=$lt_archive_cmds_F77
14803 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14804 postinstall_cmds=$lt_postinstall_cmds
14805 postuninstall_cmds=$lt_postuninstall_cmds
14807 # Commands used to build a loadable module (assumed same as above if empty)
14808 module_cmds=$lt_module_cmds_F77
14809 module_expsym_cmds=$lt_module_expsym_cmds_F77
14811 # Commands to strip libraries.
14812 old_striplib=$lt_old_striplib
14813 striplib=$lt_striplib
14815 # Dependencies to place before the objects being linked to create a
14817 predep_objects=$lt_predep_objects_F77
14819 # Dependencies to place after the objects being linked to create a
14821 postdep_objects=$lt_postdep_objects_F77
14823 # Dependencies to place before the objects being linked to create a
14825 predeps=$lt_predeps_F77
14827 # Dependencies to place after the objects being linked to create a
14829 postdeps=$lt_postdeps_F77
14831 # The library search path used internally by the compiler when linking
14832 # a shared library.
14833 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14835 # Method to check whether dependent libraries are shared objects.
14836 deplibs_check_method=$lt_deplibs_check_method
14838 # Command to use when deplibs_check_method == file_magic.
14839 file_magic_cmd=$lt_file_magic_cmd
14841 # Flag that allows shared libraries with undefined symbols to be built.
14842 allow_undefined_flag=$lt_allow_undefined_flag_F77
14844 # Flag that forces no undefined symbols.
14845 no_undefined_flag=$lt_no_undefined_flag_F77
14847 # Commands used to finish a libtool library installation in a directory.
14848 finish_cmds=$lt_finish_cmds
14850 # Same as above, but a single script fragment to be evaled but not shown.
14851 finish_eval=$lt_finish_eval
14853 # Take the output of nm and produce a listing of raw symbols and C names.
14854 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14856 # Transform the output of nm in a proper C declaration
14857 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14859 # Transform the output of nm in a C name address pair
14860 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14862 # This is the shared library runtime path variable.
14863 runpath_var=$runpath_var
14865 # This is the shared library path variable.
14866 shlibpath_var=$shlibpath_var
14868 # Is shlibpath searched before the hard-coded library search path?
14869 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14871 # How to hardcode a shared library path into an executable.
14872 hardcode_action=$hardcode_action_F77
14874 # Whether we should hardcode library paths into libraries.
14875 hardcode_into_libs=$hardcode_into_libs
14877 # Flag to hardcode \$libdir into a binary during linking.
14878 # This must work even if \$libdir does not exist.
14879 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14881 # If ld is used when linking, flag to hardcode \$libdir into
14882 # a binary during linking. This must work even if \$libdir does
14884 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14886 # Whether we need a single -rpath flag with a separated argument.
14887 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14889 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14890 # resulting binary.
14891 hardcode_direct=$hardcode_direct_F77
14893 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14894 # resulting binary.
14895 hardcode_minus_L=$hardcode_minus_L_F77
14897 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14898 # the resulting binary.
14899 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14901 # Set to yes if building a shared library automatically hardcodes DIR into the library
14902 # and all subsequent libraries and executables linked against it.
14903 hardcode_automatic=$hardcode_automatic_F77
14905 # Variables whose values should be saved in libtool wrapper scripts and
14906 # restored at relink time.
14907 variables_saved_for_relink="$variables_saved_for_relink"
14909 # Whether libtool must link a program against all its dependency libraries.
14910 link_all_deplibs=$link_all_deplibs_F77
14912 # Compile-time system search path for libraries
14913 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14915 # Run-time system search path for libraries
14916 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14918 # Fix the shell variable \$srcfile for the compiler.
14919 fix_srcfile_path="$fix_srcfile_path_F77"
14921 # Set to yes if exported symbols are required.
14922 always_export_symbols=$always_export_symbols_F77
14924 # The commands to list exported symbols.
14925 export_symbols_cmds=$lt_export_symbols_cmds_F77
14927 # The commands to extract the exported symbol list from a shared archive.
14928 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14930 # Symbols that should not be listed in the preloaded symbols.
14931 exclude_expsyms=$lt_exclude_expsyms_F77
14933 # Symbols that must always be exported.
14934 include_expsyms=$lt_include_expsyms_F77
14936 # ### END LIBTOOL TAG CONFIG: $tagname
14942 # If there is no Makefile yet, we rely on a make rule to execute
14943 # `config.status --recheck' to rerun these tests and create the
14944 # libtool script then.
14945 test -f Makefile && make "$ltmain"
14950 ac_cpp='$CPP $CPPFLAGS'
14951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14963 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14967 # Source file extension for Java test sources.
14970 # Object file extension for compiled Java test sources.
14974 # Code to be used in simple compile tests
14975 lt_simple_compile_test_code="class foo {}\n"
14977 # Code to be used in simple link tests
14978 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
14980 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14982 # If no C compiler was specified, use CC.
14985 # Allow CC to be a program name with arguments.
14989 # Allow CC to be a program name with arguments.
14995 # GCJ did not exist at the time GCC didn't implicitly link libc in.
14996 archive_cmds_need_lc_GCJ=no
14999 ## There is no encapsulation within the following macros, do not change
15000 ## the running order or otherwise move them around unless you know exactly
15001 ## what you are doing...
15003 lt_prog_compiler_no_builtin_flag_GCJ=
15005 if test "$GCC" = yes; then
15006 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15008 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15009 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15010 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15011 echo $ECHO_N "(cached) $ECHO_C" >&6
15013 lt_cv_prog_compiler_rtti_exceptions=no
15014 ac_outfile=conftest.$ac_objext
15015 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15016 lt_compiler_flag="-fno-rtti -fno-exceptions"
15017 # Insert the option either (1) after the last *FLAGS variable, or
15018 # (2) before a word containing "conftest.", or (3) at the end.
15019 # Note that $ac_compile itself does not contain backslashes and begins
15020 # with a dollar sign (not a hyphen), so the echo should work correctly.
15021 # The option is referenced via a variable to avoid confusing sed.
15022 lt_compile=`echo "$ac_compile" | $SED \
15023 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15024 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15025 -e 's:$: $lt_compiler_flag:'`
15026 (eval echo "\"\$as_me:15026: $lt_compile\"" >&5)
15027 (eval "$lt_compile" 2>conftest.err)
15029 cat conftest.err >&5
15030 echo "$as_me:15030: \$? = $ac_status" >&5
15031 if (exit $ac_status) && test -s "$ac_outfile"; then
15032 # The compiler can only warn and ignore the option if not recognized
15033 # So say no if there are warnings
15034 if test ! -s conftest.err; then
15035 lt_cv_prog_compiler_rtti_exceptions=yes
15041 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15042 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15044 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15045 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15052 lt_prog_compiler_wl_GCJ=
15053 lt_prog_compiler_pic_GCJ=
15054 lt_prog_compiler_static_GCJ=
15056 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15057 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15059 if test "$GCC" = yes; then
15060 lt_prog_compiler_wl_GCJ='-Wl,'
15061 lt_prog_compiler_static_GCJ='-static'
15065 # All AIX code is PIC.
15066 if test "$host_cpu" = ia64; then
15067 # AIX 5 now supports IA64 processor
15068 lt_prog_compiler_static_GCJ='-Bstatic'
15073 # FIXME: we need at least 68020 code to build shared libraries, but
15074 # adding the `-m68020' flag to GCC prevents building anything better,
15076 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15079 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15080 # PIC is the default for these OSes.
15083 mingw* | pw32* | os2*)
15084 # This hack is so that the source file can tell whether it is being
15085 # built for inclusion in a dll (and should export symbols for example).
15086 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15089 darwin* | rhapsody*)
15090 # PIC is the default on this platform
15091 # Common symbols not allowed in MH_DYLIB files
15092 lt_prog_compiler_pic_GCJ='-fno-common'
15096 # Just because we use GCC doesn't mean we suddenly get shared libraries
15097 # on systems that don't support them.
15098 lt_prog_compiler_can_build_shared_GCJ=no
15103 if test -d /usr/nec; then
15104 lt_prog_compiler_pic_GCJ=-Kconform_pic
15109 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15110 # not for PA HP-UX.
15111 case "$host_cpu" in
15116 lt_prog_compiler_pic_GCJ='-fPIC'
15122 lt_prog_compiler_pic_GCJ='-fPIC'
15126 # PORTME Check for flag to pass linker flags through the system compiler.
15129 lt_prog_compiler_wl_GCJ='-Wl,'
15130 if test "$host_cpu" = ia64; then
15131 # AIX 5 now supports IA64 processor
15132 lt_prog_compiler_static_GCJ='-Bstatic'
15134 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15138 mingw* | pw32* | os2*)
15139 # This hack is so that the source file can tell whether it is being
15140 # built for inclusion in a dll (and should export symbols for example).
15141 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15144 hpux9* | hpux10* | hpux11*)
15145 lt_prog_compiler_wl_GCJ='-Wl,'
15146 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15147 # not for PA HP-UX.
15148 case "$host_cpu" in
15153 lt_prog_compiler_pic_GCJ='+Z'
15156 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15157 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15160 irix5* | irix6* | nonstopux*)
15161 lt_prog_compiler_wl_GCJ='-Wl,'
15162 # PIC (with -KPIC) is the default.
15163 lt_prog_compiler_static_GCJ='-non_shared'
15167 lt_prog_compiler_pic_GCJ='-KPIC'
15168 lt_prog_compiler_static_GCJ='-Bstatic'
15174 lt_prog_compiler_wl_GCJ='-Wl,'
15175 lt_prog_compiler_pic_GCJ='-KPIC'
15176 lt_prog_compiler_static_GCJ='-static'
15179 lt_prog_compiler_wl_GCJ='-Wl,'
15180 # All Alpha code is PIC.
15181 lt_prog_compiler_static_GCJ='-non_shared'
15186 osf3* | osf4* | osf5*)
15187 lt_prog_compiler_wl_GCJ='-Wl,'
15188 # All OSF/1 code is PIC.
15189 lt_prog_compiler_static_GCJ='-non_shared'
15193 lt_prog_compiler_pic_GCJ='-Kpic'
15194 lt_prog_compiler_static_GCJ='-dn'
15198 lt_prog_compiler_wl_GCJ='-Wl,'
15199 lt_prog_compiler_pic_GCJ='-KPIC'
15200 lt_prog_compiler_static_GCJ='-Bstatic'
15204 lt_prog_compiler_wl_GCJ='-Qoption ld '
15205 lt_prog_compiler_pic_GCJ='-PIC'
15206 lt_prog_compiler_static_GCJ='-Bstatic'
15209 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15210 lt_prog_compiler_wl_GCJ='-Wl,'
15211 lt_prog_compiler_pic_GCJ='-KPIC'
15212 lt_prog_compiler_static_GCJ='-Bstatic'
15216 if test -d /usr/nec ;then
15217 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15218 lt_prog_compiler_static_GCJ='-Bstatic'
15223 lt_prog_compiler_pic_GCJ='-pic'
15224 lt_prog_compiler_static_GCJ='-Bstatic'
15228 lt_prog_compiler_can_build_shared_GCJ=no
15233 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15234 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15237 # Check to make sure the PIC flag actually works.
15239 if test -n "$lt_prog_compiler_pic_GCJ"; then
15240 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15241 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15242 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15243 echo $ECHO_N "(cached) $ECHO_C" >&6
15245 lt_prog_compiler_pic_works_GCJ=no
15246 ac_outfile=conftest.$ac_objext
15247 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15248 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15249 # Insert the option either (1) after the last *FLAGS variable, or
15250 # (2) before a word containing "conftest.", or (3) at the end.
15251 # Note that $ac_compile itself does not contain backslashes and begins
15252 # with a dollar sign (not a hyphen), so the echo should work correctly.
15253 # The option is referenced via a variable to avoid confusing sed.
15254 lt_compile=`echo "$ac_compile" | $SED \
15255 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15256 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15257 -e 's:$: $lt_compiler_flag:'`
15258 (eval echo "\"\$as_me:15258: $lt_compile\"" >&5)
15259 (eval "$lt_compile" 2>conftest.err)
15261 cat conftest.err >&5
15262 echo "$as_me:15262: \$? = $ac_status" >&5
15263 if (exit $ac_status) && test -s "$ac_outfile"; then
15264 # The compiler can only warn and ignore the option if not recognized
15265 # So say no if there are warnings
15266 if test ! -s conftest.err; then
15267 lt_prog_compiler_pic_works_GCJ=yes
15273 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15274 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15276 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15277 case $lt_prog_compiler_pic_GCJ in
15279 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15282 lt_prog_compiler_pic_GCJ=
15283 lt_prog_compiler_can_build_shared_GCJ=no
15288 # For platforms which do not support PIC, -DPIC is meaningless:
15290 lt_prog_compiler_pic_GCJ=
15293 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15297 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15298 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15299 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15300 echo $ECHO_N "(cached) $ECHO_C" >&6
15302 lt_cv_prog_compiler_c_o_GCJ=no
15303 $rm -r conftest 2>/dev/null
15307 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15309 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15310 # that will create temporary files in the current directory regardless of
15311 # the output directory. Thus, making CWD read-only will cause this test
15312 # to fail, enabling locking or at least warning the user not to do parallel
15316 lt_compiler_flag="-o out/conftest2.$ac_objext"
15317 # Insert the option either (1) after the last *FLAGS variable, or
15318 # (2) before a word containing "conftest.", or (3) at the end.
15319 # Note that $ac_compile itself does not contain backslashes and begins
15320 # with a dollar sign (not a hyphen), so the echo should work correctly.
15321 lt_compile=`echo "$ac_compile" | $SED \
15322 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15323 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15324 -e 's:$: $lt_compiler_flag:'`
15325 (eval echo "\"\$as_me:15325: $lt_compile\"" >&5)
15326 (eval "$lt_compile" 2>out/conftest.err)
15328 cat out/conftest.err >&5
15329 echo "$as_me:15329: \$? = $ac_status" >&5
15330 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15332 # The compiler can only warn and ignore the option if not recognized
15333 # So say no if there are warnings
15334 if test ! -s out/conftest.err; then
15335 lt_cv_prog_compiler_c_o_GCJ=yes
15339 $rm conftest* out/*
15346 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15347 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15350 hard_links="nottested"
15351 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15352 # do not overwrite the value of need_locks provided by the user
15353 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15354 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15357 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15359 ln conftest.a conftest.b 2>&5 || hard_links=no
15360 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15361 echo "$as_me:$LINENO: result: $hard_links" >&5
15362 echo "${ECHO_T}$hard_links" >&6
15363 if test "$hard_links" = no; then
15364 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15365 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15372 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15373 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15376 allow_undefined_flag_GCJ=
15377 enable_shared_with_static_runtimes_GCJ=no
15379 archive_expsym_cmds_GCJ=
15380 old_archive_From_new_cmds_GCJ=
15381 old_archive_from_expsyms_cmds_GCJ=
15382 export_dynamic_flag_spec_GCJ=
15383 whole_archive_flag_spec_GCJ=
15384 thread_safe_flag_spec_GCJ=
15385 hardcode_libdir_flag_spec_GCJ=
15386 hardcode_libdir_flag_spec_ld_GCJ=
15387 hardcode_libdir_separator_GCJ=
15388 hardcode_direct_GCJ=no
15389 hardcode_minus_L_GCJ=no
15390 hardcode_shlibpath_var_GCJ=unsupported
15391 link_all_deplibs_GCJ=unknown
15392 hardcode_automatic_GCJ=no
15394 module_expsym_cmds_GCJ=
15395 always_export_symbols_GCJ=no
15396 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15397 # include_expsyms should be a list of space-separated symbols to be *always*
15398 # included in the symbol list
15399 include_expsyms_GCJ=
15400 # exclude_expsyms can be an extended regexp of symbols to exclude
15401 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15402 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15403 # as well as any symbol that contains `d'.
15404 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15405 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15406 # platforms (ab)use it in PIC code, but their linkers get confused if
15407 # the symbol is explicitly referenced. Since portable code cannot
15408 # rely on this symbol name, it's probably fine to never include it in
15409 # preloaded symbol tables.
15410 extract_expsyms_cmds=
15413 cygwin* | mingw* | pw32*)
15414 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15415 # When not using gcc, we currently assume that we are using
15416 # Microsoft Visual C++.
15417 if test "$GCC" != yes; then
15427 if test "$with_gnu_ld" = yes; then
15428 # If archive_cmds runs LD, not CC, wlarc should be empty
15431 # See if GNU ld supports shared libraries.
15433 aix3* | aix4* | aix5*)
15434 # On AIX/PPC, the GNU linker is very broken
15435 if test "$host_cpu" != ia64; then
15439 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15440 *** to be unable to reliably create shared libraries on AIX.
15441 *** Therefore, libtool is disabling shared libraries support. If you
15442 *** really care for shared libraries, you may want to modify your PATH
15443 *** so that a non-GNU linker is found, and then restart.
15450 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)'
15451 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15452 hardcode_minus_L_GCJ=yes
15454 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15455 # that the semantics of dynamic libraries on AmigaOS, at least up
15456 # to version 4, is to share data among multiple programs linked
15457 # with the same dynamic library. Since this doesn't match the
15458 # behavior of shared libraries on other platforms, we can't use
15464 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15465 allow_undefined_flag_GCJ=unsupported
15466 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15467 # support --undefined. This deserves some investigation. FIXME
15468 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15474 cygwin* | mingw* | pw32*)
15475 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15476 # as there is no search path for DLLs.
15477 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15478 allow_undefined_flag_GCJ=unsupported
15479 always_export_symbols_GCJ=no
15480 enable_shared_with_static_runtimes_GCJ=yes
15481 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15483 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15484 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15485 # If the export-symbols file already is a .def file (1st line
15486 # is EXPORTS), use it as is; otherwise, prepend...
15487 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15488 cp $export_symbols $output_objdir/$soname.def;
15490 echo EXPORTS > $output_objdir/$soname.def;
15491 cat $export_symbols >> $output_objdir/$soname.def;
15493 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15500 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15501 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15504 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15505 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15510 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15514 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15515 *** create shared libraries on Solaris systems. Therefore, libtool
15516 *** is disabling shared libraries support. We urge you to upgrade GNU
15517 *** binutils to release 2.9.1 or newer. Another option is to modify
15518 *** your PATH or compiler configuration so that the native linker is
15519 *** used, and then restart.
15522 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15523 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15524 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15531 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15533 hardcode_direct_GCJ=yes
15534 hardcode_shlibpath_var_GCJ=no
15538 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15539 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15540 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15547 if test "$ld_shlibs_GCJ" = yes; then
15548 runpath_var=LD_RUN_PATH
15549 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15550 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15551 # ancient GNU ld didn't support --whole-archive et. al.
15552 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15553 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15555 whole_archive_flag_spec_GCJ=
15559 # PORTME fill in a description of your system's linker (not GNU ld)
15562 allow_undefined_flag_GCJ=unsupported
15563 always_export_symbols_GCJ=yes
15564 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'
15565 # Note: this linker hardcodes the directories in LIBPATH if there
15566 # are no directories specified by -L.
15567 hardcode_minus_L_GCJ=yes
15568 if test "$GCC" = yes && test -z "$link_static_flag"; then
15569 # Neither direct hardcoding nor static linking is supported with a
15571 hardcode_direct_GCJ=unsupported
15576 if test "$host_cpu" = ia64; then
15577 # On IA64, the linker does run time linking by default, so we don't
15578 # have to do anything special.
15579 aix_use_runtimelinking=no
15580 exp_sym_flag='-Bexport'
15583 # If we're using GNU nm, then we don't want the "-C" option.
15584 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15585 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15586 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'
15588 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'
15590 aix_use_runtimelinking=no
15592 # Test if we are trying to use run time linking or normal
15593 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15594 # need to do runtime linking.
15595 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15596 for ld_flag in $LDFLAGS; do
15597 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15598 aix_use_runtimelinking=yes
15604 exp_sym_flag='-bexport'
15605 no_entry_flag='-bnoentry'
15608 # When large executables or shared objects are built, AIX ld can
15609 # have problems creating the table of contents. If linking a library
15610 # or program results in "error TOC overflow" add -mminimal-toc to
15611 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15612 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15614 archive_cmds_GCJ=''
15615 hardcode_direct_GCJ=yes
15616 hardcode_libdir_separator_GCJ=':'
15617 link_all_deplibs_GCJ=yes
15619 if test "$GCC" = yes; then
15620 case $host_os in aix4.012|aix4.012.*)
15621 # We only want to do this on AIX 4.2 and lower, the check
15622 # below for broken collect2 doesn't work under 4.3+
15623 collect2name=`${CC} -print-prog-name=collect2`
15624 if test -f "$collect2name" && \
15625 strings "$collect2name" | grep resolve_lib_name >/dev/null
15627 # We have reworked collect2
15628 hardcode_direct_GCJ=yes
15630 # We have old collect2
15631 hardcode_direct_GCJ=unsupported
15632 # It fails to find uninstalled libraries when the uninstalled
15633 # path is not listed in the libpath. Setting hardcode_minus_L
15634 # to unsupported forces relinking
15635 hardcode_minus_L_GCJ=yes
15636 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15637 hardcode_libdir_separator_GCJ=
15640 shared_flag='-shared'
15643 if test "$host_cpu" = ia64; then
15644 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15645 # chokes on -Wl,-G. The following line is correct:
15648 if test "$aix_use_runtimelinking" = yes; then
15649 shared_flag='${wl}-G'
15651 shared_flag='${wl}-bM:SRE'
15656 # It seems that -bexpall does not export symbols beginning with
15657 # underscore (_), so it is better to generate a list of symbols to export.
15658 always_export_symbols_GCJ=yes
15659 if test "$aix_use_runtimelinking" = yes; then
15660 # Warning - without using the other runtime loading flags (-brtl),
15661 # -berok will link without error, but may produce a broken library.
15662 allow_undefined_flag_GCJ='-berok'
15663 # Determine the default libpath from the value encoded in an empty executable.
15664 cat >conftest.$ac_ext <<_ACEOF
15665 #line $LINENO "configure"
15668 cat confdefs.h >>conftest.$ac_ext
15669 cat >>conftest.$ac_ext <<_ACEOF
15670 /* end confdefs.h. */
15680 rm -f conftest.$ac_objext conftest$ac_exeext
15681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15682 (eval $ac_link) 2>&5
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); } &&
15686 { ac_try='test -s conftest$ac_exeext'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; }; then
15693 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15695 # Check for a 64-bit object if we didn't find anything.
15696 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; }
15699 echo "$as_me: failed program was:" >&5
15700 sed 's/^/| /' conftest.$ac_ext >&5
15703 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15704 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15706 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15707 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"
15709 if test "$host_cpu" = ia64; then
15710 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15711 allow_undefined_flag_GCJ="-z nodefs"
15712 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"
15714 # Determine the default libpath from the value encoded in an empty executable.
15715 cat >conftest.$ac_ext <<_ACEOF
15716 #line $LINENO "configure"
15719 cat confdefs.h >>conftest.$ac_ext
15720 cat >>conftest.$ac_ext <<_ACEOF
15721 /* end confdefs.h. */
15731 rm -f conftest.$ac_objext conftest$ac_exeext
15732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15733 (eval $ac_link) 2>&5
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); } &&
15737 { ac_try='test -s conftest$ac_exeext'
15738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15739 (eval $ac_try) 2>&5
15741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742 (exit $ac_status); }; }; then
15744 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15746 # Check for a 64-bit object if we didn't find anything.
15747 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; }
15750 echo "$as_me: failed program was:" >&5
15751 sed 's/^/| /' conftest.$ac_ext >&5
15754 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15755 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15757 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15758 # Warning - without using the other run time loading flags,
15759 # -berok will link without error, but may produce a broken library.
15760 no_undefined_flag_GCJ=' ${wl}-bernotok'
15761 allow_undefined_flag_GCJ=' ${wl}-berok'
15762 # -bexpall does not export symbols beginning with underscore (_)
15763 always_export_symbols_GCJ=yes
15764 # Exported symbols can be pulled into shared objects from archives
15765 whole_archive_flag_spec_GCJ=' '
15766 archive_cmds_need_lc_GCJ=yes
15767 # This is similar to how AIX traditionally builds it's shared libraries.
15768 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'
15774 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)'
15775 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15776 hardcode_minus_L_GCJ=yes
15777 # see comment about different semantics on the GNU ld section
15782 export_dynamic_flag_spec_GCJ=-rdynamic
15785 cygwin* | mingw* | pw32*)
15786 # When not using gcc, we currently assume that we are using
15787 # Microsoft Visual C++.
15788 # hardcode_libdir_flag_spec is actually meaningless, as there is
15789 # no search path for DLLs.
15790 hardcode_libdir_flag_spec_GCJ=' '
15791 allow_undefined_flag_GCJ=unsupported
15792 # Tell ltmain to make .lib files, not .a files.
15794 # Tell ltmain to make .dll files, not .so files.
15796 # FIXME: Setting linknames here is a bad hack.
15797 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15798 # The linker will automatically build a .lib file if we build a DLL.
15799 old_archive_From_new_cmds_GCJ='true'
15800 # FIXME: Should let the user specify the lib program.
15801 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15802 fix_srcfile_path='`cygpath -w "$srcfile"`'
15803 enable_shared_with_static_runtimes_GCJ=yes
15806 darwin* | rhapsody*)
15807 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15808 archive_cmds_need_lc_GCJ=no
15810 rhapsody* | darwin1.[012])
15811 allow_undefined_flag_GCJ='-undefined suppress'
15814 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15817 # FIXME: Relying on posixy $() will cause problems for
15818 # cross-compilation, but unfortunately the echo tests do not
15819 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15820 # `"' quotes if we put them in here... so don't!
15821 lt_int_apple_cc_single_mod=no
15822 output_verbose_link_cmd='echo'
15823 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15824 lt_int_apple_cc_single_mod=yes
15826 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15827 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15829 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'
15831 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15832 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15833 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15834 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}'
15836 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}'
15838 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}'
15839 hardcode_direct_GCJ=no
15840 hardcode_automatic_GCJ=yes
15841 hardcode_shlibpath_var_GCJ=unsupported
15842 whole_archive_flag_spec_GCJ='-all_load $convenience'
15843 link_all_deplibs_GCJ=yes
15848 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15849 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15850 hardcode_shlibpath_var_GCJ=no
15857 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15858 # support. Future versions do this automatically, but an explicit c++rt0.o
15859 # does not break anything, and helps significantly (at the cost of a little
15862 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15863 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15864 hardcode_direct_GCJ=yes
15865 hardcode_shlibpath_var_GCJ=no
15868 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15870 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15871 hardcode_direct_GCJ=yes
15872 hardcode_minus_L_GCJ=yes
15873 hardcode_shlibpath_var_GCJ=no
15876 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15878 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15879 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15880 hardcode_direct_GCJ=yes
15881 hardcode_shlibpath_var_GCJ=no
15885 if test "$GCC" = yes; then
15886 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'
15888 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'
15890 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15891 hardcode_libdir_separator_GCJ=:
15892 hardcode_direct_GCJ=yes
15894 # hardcode_minus_L: Not really in the search PATH,
15895 # but as the default location of the library.
15896 hardcode_minus_L_GCJ=yes
15897 export_dynamic_flag_spec_GCJ='${wl}-E'
15901 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15902 case "$host_cpu" in
15904 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15907 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15911 case "$host_cpu" in
15913 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15916 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15920 if test "$with_gnu_ld" = no; then
15921 case "$host_cpu" in
15923 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15924 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15925 hardcode_libdir_separator_GCJ=:
15926 hardcode_direct_GCJ=no
15927 hardcode_shlibpath_var_GCJ=no
15930 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15931 hardcode_direct_GCJ=no
15932 hardcode_shlibpath_var_GCJ=no
15934 # hardcode_minus_L: Not really in the search PATH,
15935 # but as the default location of the library.
15936 hardcode_minus_L_GCJ=yes
15939 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15940 hardcode_libdir_separator_GCJ=:
15941 hardcode_direct_GCJ=yes
15942 export_dynamic_flag_spec_GCJ='${wl}-E'
15944 # hardcode_minus_L: Not really in the search PATH,
15945 # but as the default location of the library.
15946 hardcode_minus_L_GCJ=yes
15952 irix5* | irix6* | nonstopux*)
15953 if test "$GCC" = yes; then
15954 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'
15956 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'
15957 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15959 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15960 hardcode_libdir_separator_GCJ=:
15961 link_all_deplibs_GCJ=yes
15965 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15966 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15968 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15970 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15971 hardcode_direct_GCJ=yes
15972 hardcode_shlibpath_var_GCJ=no
15976 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15977 hardcode_direct_GCJ=yes
15978 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15979 hardcode_libdir_separator_GCJ=:
15980 hardcode_shlibpath_var_GCJ=no
15984 hardcode_direct_GCJ=yes
15985 hardcode_shlibpath_var_GCJ=no
15986 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15987 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15988 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15989 export_dynamic_flag_spec_GCJ='${wl}-E'
15992 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15993 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15994 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15997 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15998 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16005 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16006 hardcode_minus_L_GCJ=yes
16007 allow_undefined_flag_GCJ=unsupported
16008 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'
16009 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16013 if test "$GCC" = yes; then
16014 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16015 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'
16017 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16018 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'
16020 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16021 hardcode_libdir_separator_GCJ=:
16024 osf4* | osf5*) # as osf3* with the addition of -msym flag
16025 if test "$GCC" = yes; then
16026 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16027 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'
16028 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16030 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16031 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'
16032 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~
16033 $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'
16035 # Both c and cxx compiler support -rpath directly
16036 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16038 hardcode_libdir_separator_GCJ=:
16042 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16043 hardcode_shlibpath_var_GCJ=no
16044 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16045 runpath_var=LD_RUN_PATH
16046 hardcode_runpath_var=yes
16050 no_undefined_flag_GCJ=' -z text'
16051 if test "$GCC" = yes; then
16052 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16053 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16054 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16056 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16057 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16058 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16060 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16061 hardcode_shlibpath_var_GCJ=no
16063 solaris2.[0-5] | solaris2.[0-5].*) ;;
16064 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16065 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16067 link_all_deplibs_GCJ=yes
16071 if test "x$host_vendor" = xsequent; then
16072 # Use $CC to link under sequent, because it throws in some extra .o
16073 # files that make .init and .fini sections work.
16074 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16076 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16078 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16079 hardcode_direct_GCJ=yes
16080 hardcode_minus_L_GCJ=yes
16081 hardcode_shlibpath_var_GCJ=no
16085 case $host_vendor in
16087 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16088 hardcode_direct_GCJ=yes # is this really true???
16091 ## LD is ld it makes a PLAMLIB
16092 ## CC just makes a GrossModule.
16093 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16094 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16095 hardcode_direct_GCJ=no
16098 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16099 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16102 runpath_var='LD_RUN_PATH'
16103 hardcode_shlibpath_var_GCJ=no
16107 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16108 hardcode_shlibpath_var_GCJ=no
16109 export_dynamic_flag_spec_GCJ='-Bexport'
16113 if test -d /usr/nec; then
16114 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16115 hardcode_shlibpath_var_GCJ=no
16116 runpath_var=LD_RUN_PATH
16117 hardcode_runpath_var=yes
16123 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16124 hardcode_direct_GCJ=yes
16125 hardcode_minus_L_GCJ=no
16126 hardcode_shlibpath_var_GCJ=no
16127 hardcode_runpath_var=yes
16128 runpath_var=LD_RUN_PATH
16131 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16132 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16133 if test "$GCC" = yes; then
16134 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16136 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16138 runpath_var='LD_RUN_PATH'
16139 hardcode_shlibpath_var_GCJ=no
16143 no_undefined_flag_GCJ=' -z text'
16144 # $CC -shared without GNU ld will not create a library from C++
16145 # object files and a static libstdc++, better avoid it by now
16146 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16147 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16148 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16149 hardcode_libdir_flag_spec_GCJ=
16150 hardcode_shlibpath_var_GCJ=no
16151 runpath_var='LD_RUN_PATH'
16155 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16156 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16157 hardcode_shlibpath_var_GCJ=no
16166 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16167 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16168 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16170 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16171 if test "$GCC" = yes; then
16172 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16176 # Do we need to explicitly link libc?
16178 case "x$archive_cmds_need_lc_GCJ" in
16180 # Assume -lc should be added
16181 archive_cmds_need_lc_GCJ=yes
16183 if test "$enable_shared" = yes && test "$GCC" = yes; then
16184 case $archive_cmds_GCJ in
16186 # FIXME: we may have to deal with multi-command sequences.
16189 # Test whether the compiler implicitly links with -lc since on some
16190 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16191 # to ld, don't add -lc before -lgcc.
16192 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16193 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16195 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16198 (eval $ac_compile) 2>&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); } 2>conftest.err; then
16204 libobjs=conftest.$ac_objext
16206 wl=$lt_prog_compiler_wl_GCJ
16212 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16213 allow_undefined_flag_GCJ=
16214 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16215 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218 (exit $ac_status); }
16220 archive_cmds_need_lc_GCJ=no
16222 archive_cmds_need_lc_GCJ=yes
16224 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16226 cat conftest.err 1>&5
16229 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16230 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16237 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16238 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16239 hardcode_action_GCJ=
16240 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16241 test -n "$runpath_var GCJ" || \
16242 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16244 # We can hardcode non-existant directories.
16245 if test "$hardcode_direct_GCJ" != no &&
16246 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16247 # have to relink, otherwise we might link with an installed library
16248 # when we should be linking with a yet-to-be-installed one
16249 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16250 test "$hardcode_minus_L_GCJ" != no; then
16251 # Linking always hardcodes the temporary library directory.
16252 hardcode_action_GCJ=relink
16254 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16255 hardcode_action_GCJ=immediate
16258 # We cannot hardcode anything, or else we can only hardcode existing
16260 hardcode_action_GCJ=unsupported
16262 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16263 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16265 if test "$hardcode_action_GCJ" = relink; then
16266 # Fast installation is not supported
16267 enable_fast_install=no
16268 elif test "$shlibpath_overrides_runpath" = yes ||
16269 test "$enable_shared" = no; then
16270 # Fast installation is not necessary
16271 enable_fast_install=needless
16276 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16277 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16278 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16279 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16280 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16281 echo "$as_me:$LINENO: result: yes" >&5
16282 echo "${ECHO_T}yes" >&6
16284 # FIXME - insert some real tests, host_os isn't really good enough
16287 if test -n "$STRIP" ; then
16288 striplib="$STRIP -x"
16289 echo "$as_me:$LINENO: result: yes" >&5
16290 echo "${ECHO_T}yes" >&6
16292 echo "$as_me:$LINENO: result: no" >&5
16293 echo "${ECHO_T}no" >&6
16297 echo "$as_me:$LINENO: result: no" >&5
16298 echo "${ECHO_T}no" >&6
16303 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16304 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16305 library_names_spec=
16306 libname_spec='lib$name'
16310 postuninstall_cmds=
16314 shlibpath_overrides_runpath=unknown
16316 dynamic_linker="$host_os ld.so"
16317 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16318 if test "$GCC" = yes; then
16319 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16320 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16321 # if the path contains ";" then we assume it to be the separator
16322 # otherwise default to the standard path separator (i.e. ":") - it is
16323 # assumed that no part of a normal pathname contains ";" but that should
16324 # okay in the real world where ";" in dirpaths is itself problematic.
16325 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16327 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16330 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16332 need_lib_prefix=unknown
16333 hardcode_into_libs=no
16335 # when you set need_version to no, make sure it does not cause -set_version
16336 # flags to be left without arguments
16337 need_version=unknown
16342 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16343 shlibpath_var=LIBPATH
16345 # AIX 3 has no versioning support, so we append a major version to the name.
16346 soname_spec='${libname}${release}${shared_ext}$major'
16353 hardcode_into_libs=yes
16354 if test "$host_cpu" = ia64; then
16355 # AIX 5 supports IA64
16356 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16357 shlibpath_var=LD_LIBRARY_PATH
16359 # With GCC up to 2.95.x, collect2 would create an import file
16360 # for dependence libraries. The import file would start with
16361 # the line `#! .'. This would cause the generated library to
16362 # depend on `.', always an invalid library. This was fixed in
16363 # development snapshots of GCC prior to 3.0.
16365 aix4 | aix4.[01] | aix4.[01].*)
16366 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16368 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16371 can_build_shared=no
16375 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16376 # soname into executable. Probably we can add versioning support to
16377 # collect2, so additional links can be useful in future.
16378 if test "$aix_use_runtimelinking" = yes; then
16379 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16380 # instead of lib<name>.a to let people know that these are not
16381 # typical AIX shared libraries.
16382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16384 # We preserve .a as extension for shared libraries through AIX4.2
16385 # and later when we are not doing run time linking.
16386 library_names_spec='${libname}${release}.a $libname.a'
16387 soname_spec='${libname}${release}${shared_ext}$major'
16389 shlibpath_var=LIBPATH
16394 library_names_spec='$libname.ixlibrary $libname.a'
16395 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16396 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'
16400 library_names_spec='${libname}${shared_ext}'
16401 dynamic_linker="$host_os ld.so"
16402 shlibpath_var=LIBRARY_PATH
16408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16409 soname_spec='${libname}${release}${shared_ext}$major'
16410 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16411 shlibpath_var=LD_LIBRARY_PATH
16412 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16413 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16414 # the default ld.so.conf also contains /usr/contrib/lib and
16415 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16416 # libtool to hard-code these into programs
16419 cygwin* | mingw* | pw32*)
16420 version_type=windows
16425 case $GCC,$host_os in
16426 yes,cygwin* | yes,mingw* | yes,pw32*)
16427 library_names_spec='$libname.dll.a'
16428 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16429 postinstall_cmds='base_file=`basename \${file}`~
16430 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16431 dldir=$destdir/`dirname \$dlpath`~
16432 test -d \$dldir || mkdir -p \$dldir~
16433 $install_prog $dir/$dlname \$dldir/$dlname'
16434 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16435 dlpath=$dir/\$dldll~
16437 shlibpath_overrides_runpath=yes
16441 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16442 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16443 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16446 # MinGW DLLs use traditional 'lib' prefix
16447 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16448 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16449 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16450 # It is most probably a Windows format PATH printed by
16451 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16452 # path with ; separators, and with drive letters. We can handle the
16453 # drive letters (cygwin fileutils understands them), so leave them,
16454 # especially as we might pass files found there to a mingw objdump,
16455 # which wouldn't understand a cygwinified path. Ahh.
16456 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16458 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16462 # pw32 DLLs use 'pw' prefix rather than 'lib'
16463 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16469 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16472 dynamic_linker='Win32 ld.exe'
16473 # FIXME: first we should search . and the directory the executable is in
16477 darwin* | rhapsody*)
16478 dynamic_linker="$host_os dyld"
16479 version_type=darwin
16482 # FIXME: Relying on posixy $() will cause problems for
16483 # cross-compilation, but unfortunately the echo tests do not
16484 # yet detect zsh echo's removal of \ escapes.
16485 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16486 soname_spec='${libname}${release}${major}$shared_ext'
16487 shlibpath_overrides_runpath=yes
16488 shlibpath_var=DYLD_LIBRARY_PATH
16489 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16490 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16491 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16492 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"`
16494 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16502 soname_spec='${libname}${release}${shared_ext}$major'
16503 shlibpath_var=LD_LIBRARY_PATH
16511 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16512 version_type=freebsd-$objformat
16513 case $version_type in
16515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16520 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16524 shlibpath_var=LD_LIBRARY_PATH
16527 shlibpath_overrides_runpath=yes
16529 freebsd3.01* | freebsdelf3.01*)
16530 shlibpath_overrides_runpath=yes
16531 hardcode_into_libs=yes
16534 shlibpath_overrides_runpath=no
16535 hardcode_into_libs=yes
16544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16545 soname_spec='${libname}${release}${shared_ext}$major'
16546 shlibpath_var=LD_LIBRARY_PATH
16547 hardcode_into_libs=yes
16550 hpux9* | hpux10* | hpux11*)
16551 # Give a soname corresponding to the major version so that dld.sl refuses to
16552 # link against other versions.
16556 case "$host_cpu" in
16559 hardcode_into_libs=yes
16560 dynamic_linker="$host_os dld.so"
16561 shlibpath_var=LD_LIBRARY_PATH
16562 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16564 soname_spec='${libname}${release}${shared_ext}$major'
16565 if test "X$HPUX_IA64_MODE" = X32; then
16566 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16568 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16570 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16574 hardcode_into_libs=yes
16575 dynamic_linker="$host_os dld.sl"
16576 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16577 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16579 soname_spec='${libname}${release}${shared_ext}$major'
16580 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16581 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16585 dynamic_linker="$host_os dld.sl"
16586 shlibpath_var=SHLIB_PATH
16587 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16589 soname_spec='${libname}${release}${shared_ext}$major'
16592 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16593 postinstall_cmds='chmod 555 $lib'
16596 irix5* | irix6* | nonstopux*)
16598 nonstopux*) version_type=nonstopux ;;
16600 if test "$lt_cv_prog_gnu_ld" = yes; then
16608 soname_spec='${libname}${release}${shared_ext}$major'
16609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16611 irix5* | nonstopux*)
16612 libsuff= shlibsuff=
16615 case $LD in # libtool.m4 will add one of these switches to LD
16616 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16617 libsuff= shlibsuff= libmagic=32-bit;;
16618 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16619 libsuff=32 shlibsuff=N32 libmagic=N32;;
16620 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16621 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16622 *) libsuff= shlibsuff= libmagic=never-match;;
16626 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16627 shlibpath_overrides_runpath=no
16628 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16629 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16630 hardcode_into_libs=yes
16633 # No shared lib support for Linux oldld, aout, or coff.
16634 linux*oldld* | linux*aout* | linux*coff*)
16638 # This must be Linux ELF.
16643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16644 soname_spec='${libname}${release}${shared_ext}$major'
16645 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16646 shlibpath_var=LD_LIBRARY_PATH
16647 shlibpath_overrides_runpath=no
16648 # This implies no fast_install, which is unacceptable.
16649 # Some rework will be needed to allow for fast_install
16650 # before this can be enabled.
16651 hardcode_into_libs=yes
16653 # We used to test for /lib/ld.so.1 and disable shared libraries on
16654 # powerpc, because MkLinux only supported shared libraries with the
16655 # GNU dynamic linker. Since this was broken with cross compilers,
16656 # most powerpc-linux boxes support dynamic linking these days and
16657 # people can always --disable-shared, the test was removed, and we
16658 # assume the GNU/Linux dynamic linker is in use.
16659 dynamic_linker='GNU/Linux ld.so'
16666 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16668 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16669 dynamic_linker='NetBSD (a.out) ld.so'
16671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16672 soname_spec='${libname}${release}${shared_ext}$major'
16673 dynamic_linker='NetBSD ld.elf_so'
16675 shlibpath_var=LD_LIBRARY_PATH
16676 shlibpath_overrides_runpath=yes
16677 hardcode_into_libs=yes
16682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16683 shlibpath_var=LD_LIBRARY_PATH
16684 shlibpath_overrides_runpath=yes
16691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16692 soname_spec='${libname}${release}${shared_ext}$major'
16693 shlibpath_var=LD_LIBRARY_PATH
16694 shlibpath_overrides_runpath=yes
16701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16702 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16703 shlibpath_var=LD_LIBRARY_PATH
16704 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16706 openbsd2.[89] | openbsd2.[89].*)
16707 shlibpath_overrides_runpath=no
16710 shlibpath_overrides_runpath=yes
16714 shlibpath_overrides_runpath=yes
16719 libname_spec='$name'
16722 library_names_spec='$libname${shared_ext} $libname.a'
16723 dynamic_linker='OS/2 ld.exe'
16724 shlibpath_var=LIBPATH
16727 osf3* | osf4* | osf5*)
16731 soname_spec='${libname}${release}${shared_ext}$major'
16732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16733 shlibpath_var=LD_LIBRARY_PATH
16734 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16735 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16740 soname_spec='${libname}${release}${shared_ext}$major'
16741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16742 shlibpath_var=LD_LIBRARY_PATH
16749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16750 soname_spec='${libname}${release}${shared_ext}$major'
16751 shlibpath_var=LD_LIBRARY_PATH
16752 shlibpath_overrides_runpath=yes
16753 hardcode_into_libs=yes
16754 # ldd complains unless libraries are executable
16755 postinstall_cmds='chmod +x $lib'
16760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16761 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16762 shlibpath_var=LD_LIBRARY_PATH
16763 shlibpath_overrides_runpath=yes
16764 if test "$with_gnu_ld" = yes; then
16770 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16773 soname_spec='${libname}${release}${shared_ext}$major'
16774 shlibpath_var=LD_LIBRARY_PATH
16775 case $host_vendor in
16777 shlibpath_overrides_runpath=no
16779 export_dynamic_flag_spec='${wl}-Blargedynsym'
16780 runpath_var=LD_RUN_PATH
16788 shlibpath_overrides_runpath=no
16789 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16795 if test -d /usr/nec ;then
16797 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16798 soname_spec='$libname${shared_ext}.$major'
16799 shlibpath_var=LD_LIBRARY_PATH
16805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16806 soname_spec='${libname}${release}${shared_ext}$major'
16807 shlibpath_var=LD_LIBRARY_PATH
16814 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16815 echo "${ECHO_T}$dynamic_linker" >&6
16816 test "$dynamic_linker" = no && can_build_shared=no
16818 if test "x$enable_dlopen" != xyes; then
16819 enable_dlopen=unknown
16820 enable_dlopen_self=unknown
16821 enable_dlopen_self_static=unknown
16828 lt_cv_dlopen="load_add_on"
16830 lt_cv_dlopen_self=yes
16834 lt_cv_dlopen="LoadLibrary"
16839 lt_cv_dlopen="dlopen"
16844 # if libdl is installed we need to link against it
16845 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16846 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16847 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16848 echo $ECHO_N "(cached) $ECHO_C" >&6
16850 ac_check_lib_save_LIBS=$LIBS
16852 cat >conftest.$ac_ext <<_ACEOF
16853 #line $LINENO "configure"
16856 cat confdefs.h >>conftest.$ac_ext
16857 cat >>conftest.$ac_ext <<_ACEOF
16858 /* end confdefs.h. */
16860 /* Override any gcc2 internal prototype to avoid an error. */
16864 /* We use char because int might match the return type of a gcc2
16865 builtin and then its argument prototype would still apply. */
16875 rm -f conftest.$ac_objext conftest$ac_exeext
16876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16877 (eval $ac_link) 2>&5
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); } &&
16881 { ac_try='test -s conftest$ac_exeext'
16882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16883 (eval $ac_try) 2>&5
16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16886 (exit $ac_status); }; }; then
16887 ac_cv_lib_dl_dlopen=yes
16889 echo "$as_me: failed program was:" >&5
16890 sed 's/^/| /' conftest.$ac_ext >&5
16892 ac_cv_lib_dl_dlopen=no
16894 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16895 LIBS=$ac_check_lib_save_LIBS
16897 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16898 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16899 if test $ac_cv_lib_dl_dlopen = yes; then
16900 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16903 lt_cv_dlopen="dyld"
16905 lt_cv_dlopen_self=yes
16912 echo "$as_me:$LINENO: checking for shl_load" >&5
16913 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16914 if test "${ac_cv_func_shl_load+set}" = set; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6
16917 cat >conftest.$ac_ext <<_ACEOF
16918 #line $LINENO "configure"
16921 cat confdefs.h >>conftest.$ac_ext
16922 cat >>conftest.$ac_ext <<_ACEOF
16923 /* end confdefs.h. */
16924 /* System header to define __stub macros and hopefully few prototypes,
16925 which can conflict with char shl_load (); below.
16926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16927 <limits.h> exists even on freestanding compilers. */
16929 # include <limits.h>
16931 # include <assert.h>
16933 /* Override any gcc2 internal prototype to avoid an error. */
16938 /* We use char because int might match the return type of a gcc2
16939 builtin and then its argument prototype would still apply. */
16941 /* The GNU C library defines this for functions which it implements
16942 to always fail with ENOSYS. Some functions are actually named
16943 something starting with __ and the normal name is an alias. */
16944 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16947 char (*f) () = shl_load;
16956 return f != shl_load;
16961 rm -f conftest.$ac_objext conftest$ac_exeext
16962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16963 (eval $ac_link) 2>&5
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); } &&
16967 { ac_try='test -s conftest$ac_exeext'
16968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16969 (eval $ac_try) 2>&5
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); }; }; then
16973 ac_cv_func_shl_load=yes
16975 echo "$as_me: failed program was:" >&5
16976 sed 's/^/| /' conftest.$ac_ext >&5
16978 ac_cv_func_shl_load=no
16980 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16982 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16983 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
16984 if test $ac_cv_func_shl_load = yes; then
16985 lt_cv_dlopen="shl_load"
16987 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16988 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
16989 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16990 echo $ECHO_N "(cached) $ECHO_C" >&6
16992 ac_check_lib_save_LIBS=$LIBS
16994 cat >conftest.$ac_ext <<_ACEOF
16995 #line $LINENO "configure"
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17002 /* Override any gcc2 internal prototype to avoid an error. */
17006 /* We use char because int might match the return type of a gcc2
17007 builtin and then its argument prototype would still apply. */
17017 rm -f conftest.$ac_objext conftest$ac_exeext
17018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17019 (eval $ac_link) 2>&5
17021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17022 (exit $ac_status); } &&
17023 { ac_try='test -s conftest$ac_exeext'
17024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17025 (eval $ac_try) 2>&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); }; }; then
17029 ac_cv_lib_dld_shl_load=yes
17031 echo "$as_me: failed program was:" >&5
17032 sed 's/^/| /' conftest.$ac_ext >&5
17034 ac_cv_lib_dld_shl_load=no
17036 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17037 LIBS=$ac_check_lib_save_LIBS
17039 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17040 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17041 if test $ac_cv_lib_dld_shl_load = yes; then
17042 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17044 echo "$as_me:$LINENO: checking for dlopen" >&5
17045 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17046 if test "${ac_cv_func_dlopen+set}" = set; then
17047 echo $ECHO_N "(cached) $ECHO_C" >&6
17049 cat >conftest.$ac_ext <<_ACEOF
17050 #line $LINENO "configure"
17053 cat confdefs.h >>conftest.$ac_ext
17054 cat >>conftest.$ac_ext <<_ACEOF
17055 /* end confdefs.h. */
17056 /* System header to define __stub macros and hopefully few prototypes,
17057 which can conflict with char dlopen (); below.
17058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17059 <limits.h> exists even on freestanding compilers. */
17061 # include <limits.h>
17063 # include <assert.h>
17065 /* Override any gcc2 internal prototype to avoid an error. */
17070 /* We use char because int might match the return type of a gcc2
17071 builtin and then its argument prototype would still apply. */
17073 /* The GNU C library defines this for functions which it implements
17074 to always fail with ENOSYS. Some functions are actually named
17075 something starting with __ and the normal name is an alias. */
17076 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17079 char (*f) () = dlopen;
17088 return f != dlopen;
17093 rm -f conftest.$ac_objext conftest$ac_exeext
17094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17095 (eval $ac_link) 2>&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); } &&
17099 { ac_try='test -s conftest$ac_exeext'
17100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17101 (eval $ac_try) 2>&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); }; }; then
17105 ac_cv_func_dlopen=yes
17107 echo "$as_me: failed program was:" >&5
17108 sed 's/^/| /' conftest.$ac_ext >&5
17110 ac_cv_func_dlopen=no
17112 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17114 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17115 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17116 if test $ac_cv_func_dlopen = yes; then
17117 lt_cv_dlopen="dlopen"
17119 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17120 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17121 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17122 echo $ECHO_N "(cached) $ECHO_C" >&6
17124 ac_check_lib_save_LIBS=$LIBS
17126 cat >conftest.$ac_ext <<_ACEOF
17127 #line $LINENO "configure"
17130 cat confdefs.h >>conftest.$ac_ext
17131 cat >>conftest.$ac_ext <<_ACEOF
17132 /* end confdefs.h. */
17134 /* Override any gcc2 internal prototype to avoid an error. */
17138 /* We use char because int might match the return type of a gcc2
17139 builtin and then its argument prototype would still apply. */
17149 rm -f conftest.$ac_objext conftest$ac_exeext
17150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17151 (eval $ac_link) 2>&5
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); } &&
17155 { ac_try='test -s conftest$ac_exeext'
17156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17157 (eval $ac_try) 2>&5
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); }; }; then
17161 ac_cv_lib_dl_dlopen=yes
17163 echo "$as_me: failed program was:" >&5
17164 sed 's/^/| /' conftest.$ac_ext >&5
17166 ac_cv_lib_dl_dlopen=no
17168 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17169 LIBS=$ac_check_lib_save_LIBS
17171 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17172 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17173 if test $ac_cv_lib_dl_dlopen = yes; then
17174 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17176 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17177 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17178 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17179 echo $ECHO_N "(cached) $ECHO_C" >&6
17181 ac_check_lib_save_LIBS=$LIBS
17182 LIBS="-lsvld $LIBS"
17183 cat >conftest.$ac_ext <<_ACEOF
17184 #line $LINENO "configure"
17187 cat confdefs.h >>conftest.$ac_ext
17188 cat >>conftest.$ac_ext <<_ACEOF
17189 /* end confdefs.h. */
17191 /* Override any gcc2 internal prototype to avoid an error. */
17195 /* We use char because int might match the return type of a gcc2
17196 builtin and then its argument prototype would still apply. */
17206 rm -f conftest.$ac_objext conftest$ac_exeext
17207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17208 (eval $ac_link) 2>&5
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); } &&
17212 { ac_try='test -s conftest$ac_exeext'
17213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214 (eval $ac_try) 2>&5
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); }; }; then
17218 ac_cv_lib_svld_dlopen=yes
17220 echo "$as_me: failed program was:" >&5
17221 sed 's/^/| /' conftest.$ac_ext >&5
17223 ac_cv_lib_svld_dlopen=no
17225 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17226 LIBS=$ac_check_lib_save_LIBS
17228 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17229 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17230 if test $ac_cv_lib_svld_dlopen = yes; then
17231 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17233 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17234 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17235 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17236 echo $ECHO_N "(cached) $ECHO_C" >&6
17238 ac_check_lib_save_LIBS=$LIBS
17240 cat >conftest.$ac_ext <<_ACEOF
17241 #line $LINENO "configure"
17244 cat confdefs.h >>conftest.$ac_ext
17245 cat >>conftest.$ac_ext <<_ACEOF
17246 /* end confdefs.h. */
17248 /* Override any gcc2 internal prototype to avoid an error. */
17252 /* We use char because int might match the return type of a gcc2
17253 builtin and then its argument prototype would still apply. */
17263 rm -f conftest.$ac_objext conftest$ac_exeext
17264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17265 (eval $ac_link) 2>&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); } &&
17269 { ac_try='test -s conftest$ac_exeext'
17270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17271 (eval $ac_try) 2>&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); }; }; then
17275 ac_cv_lib_dld_dld_link=yes
17277 echo "$as_me: failed program was:" >&5
17278 sed 's/^/| /' conftest.$ac_ext >&5
17280 ac_cv_lib_dld_dld_link=no
17282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17283 LIBS=$ac_check_lib_save_LIBS
17285 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17286 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17287 if test $ac_cv_lib_dld_dld_link = yes; then
17288 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17309 if test "x$lt_cv_dlopen" != xno; then
17315 case $lt_cv_dlopen in
17317 save_CPPFLAGS="$CPPFLAGS"
17318 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17320 save_LDFLAGS="$LDFLAGS"
17321 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17324 LIBS="$lt_cv_dlopen_libs $LIBS"
17326 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17327 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17328 if test "${lt_cv_dlopen_self+set}" = set; then
17329 echo $ECHO_N "(cached) $ECHO_C" >&6
17331 if test "$cross_compiling" = yes; then :
17332 lt_cv_dlopen_self=cross
17334 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17335 lt_status=$lt_dlunknown
17336 cat > conftest.$ac_ext <<EOF
17337 #line 17337 "configure"
17338 #include "confdefs.h"
17347 # define LT_DLGLOBAL RTLD_GLOBAL
17350 # define LT_DLGLOBAL DL_GLOBAL
17352 # define LT_DLGLOBAL 0
17356 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17357 find out it does not work in some platform. */
17358 #ifndef LT_DLLAZY_OR_NOW
17360 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17363 # define LT_DLLAZY_OR_NOW DL_LAZY
17366 # define LT_DLLAZY_OR_NOW RTLD_NOW
17369 # define LT_DLLAZY_OR_NOW DL_NOW
17371 # define LT_DLLAZY_OR_NOW 0
17379 extern "C" void exit (int);
17382 void fnord() { int i=42;}
17385 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17386 int status = $lt_dlunknown;
17390 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17391 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17392 /* dlclose (self); */
17398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17399 (eval $ac_link) 2>&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17403 (./conftest; exit; ) 2>/dev/null
17405 case x$lt_status in
17406 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17407 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17408 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17411 # compilation failed
17412 lt_cv_dlopen_self=no
17419 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17420 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17422 if test "x$lt_cv_dlopen_self" = xyes; then
17423 LDFLAGS="$LDFLAGS $link_static_flag"
17424 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17425 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17426 if test "${lt_cv_dlopen_self_static+set}" = set; then
17427 echo $ECHO_N "(cached) $ECHO_C" >&6
17429 if test "$cross_compiling" = yes; then :
17430 lt_cv_dlopen_self_static=cross
17432 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17433 lt_status=$lt_dlunknown
17434 cat > conftest.$ac_ext <<EOF
17435 #line 17435 "configure"
17436 #include "confdefs.h"
17445 # define LT_DLGLOBAL RTLD_GLOBAL
17448 # define LT_DLGLOBAL DL_GLOBAL
17450 # define LT_DLGLOBAL 0
17454 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17455 find out it does not work in some platform. */
17456 #ifndef LT_DLLAZY_OR_NOW
17458 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17461 # define LT_DLLAZY_OR_NOW DL_LAZY
17464 # define LT_DLLAZY_OR_NOW RTLD_NOW
17467 # define LT_DLLAZY_OR_NOW DL_NOW
17469 # define LT_DLLAZY_OR_NOW 0
17477 extern "C" void exit (int);
17480 void fnord() { int i=42;}
17483 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17484 int status = $lt_dlunknown;
17488 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17489 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17490 /* dlclose (self); */
17496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17497 (eval $ac_link) 2>&5
17499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17501 (./conftest; exit; ) 2>/dev/null
17503 case x$lt_status in
17504 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17505 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17506 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17509 # compilation failed
17510 lt_cv_dlopen_self_static=no
17517 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17518 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17521 CPPFLAGS="$save_CPPFLAGS"
17522 LDFLAGS="$save_LDFLAGS"
17527 case $lt_cv_dlopen_self in
17528 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17529 *) enable_dlopen_self=unknown ;;
17532 case $lt_cv_dlopen_self_static in
17533 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17534 *) enable_dlopen_self_static=unknown ;;
17539 # The else clause should only fire when bootstrapping the
17540 # libtool distribution, otherwise you forgot to ship ltmain.sh
17541 # with your package, and you will get complaints that there are
17542 # no rules to generate ltmain.sh.
17543 if test -f "$ltmain"; then
17544 # See if we are running on zsh, and set the options which allow our commands through
17545 # without removal of \ escapes.
17546 if test -n "${ZSH_VERSION+set}" ; then
17547 setopt NO_GLOB_SUBST
17549 # Now quote all the things that may contain metacharacters while being
17550 # careful not to overquote the AC_SUBSTed values. We take copies of the
17551 # variables and quote the copies for generation of the libtool script.
17552 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17553 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17554 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17555 deplibs_check_method reload_flag reload_cmds need_locks \
17556 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17557 lt_cv_sys_global_symbol_to_c_name_address \
17558 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17559 old_postinstall_cmds old_postuninstall_cmds \
17563 lt_prog_compiler_wl_GCJ \
17564 lt_prog_compiler_pic_GCJ \
17565 lt_prog_compiler_static_GCJ \
17566 lt_prog_compiler_no_builtin_flag_GCJ \
17567 export_dynamic_flag_spec_GCJ \
17568 thread_safe_flag_spec_GCJ \
17569 whole_archive_flag_spec_GCJ \
17570 enable_shared_with_static_runtimes_GCJ \
17571 old_archive_cmds_GCJ \
17572 old_archive_from_new_cmds_GCJ \
17573 predep_objects_GCJ \
17574 postdep_objects_GCJ \
17577 compiler_lib_search_path_GCJ \
17579 archive_expsym_cmds_GCJ \
17580 postinstall_cmds_GCJ \
17581 postuninstall_cmds_GCJ \
17582 old_archive_from_expsyms_cmds_GCJ \
17583 allow_undefined_flag_GCJ \
17584 no_undefined_flag_GCJ \
17585 export_symbols_cmds_GCJ \
17586 hardcode_libdir_flag_spec_GCJ \
17587 hardcode_libdir_flag_spec_ld_GCJ \
17588 hardcode_libdir_separator_GCJ \
17589 hardcode_automatic_GCJ \
17591 module_expsym_cmds_GCJ \
17592 lt_cv_prog_compiler_c_o_GCJ \
17593 exclude_expsyms_GCJ \
17594 include_expsyms_GCJ; do
17597 old_archive_cmds_GCJ | \
17598 old_archive_from_new_cmds_GCJ | \
17599 archive_cmds_GCJ | \
17600 archive_expsym_cmds_GCJ | \
17601 module_cmds_GCJ | \
17602 module_expsym_cmds_GCJ | \
17603 old_archive_from_expsyms_cmds_GCJ | \
17604 export_symbols_cmds_GCJ | \
17605 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17606 postinstall_cmds | postuninstall_cmds | \
17607 old_postinstall_cmds | old_postuninstall_cmds | \
17608 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17609 # Double-quote double-evaled strings.
17610 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17613 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17619 *'\$0 --fallback-echo"')
17620 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17626 cat <<__EOF__ >> "$cfgfile"
17627 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17629 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17631 # Shell to use when invoking shell scripts.
17634 # Whether or not to build shared libraries.
17635 build_libtool_libs=$enable_shared
17637 # Whether or not to build static libraries.
17638 build_old_libs=$enable_static
17640 # Whether or not to add -lc for building shared libraries.
17641 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17643 # Whether or not to disallow shared libs when runtime libs are static
17644 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17646 # Whether or not to optimize for fast installation.
17647 fast_install=$enable_fast_install
17650 host_alias=$host_alias
17653 # An echo program that does not interpret backslashes.
17658 AR_FLAGS=$lt_AR_FLAGS
17663 # A language-specific compiler.
17664 CC=$lt_compiler_GCJ
17666 # Is the compiler the GNU C compiler?
17672 # The linker used to build libraries.
17675 # Whether we need hard or soft links.
17678 # A BSD-compatible nm program.
17681 # A symbol stripping program
17684 # Used to examine libraries when file_magic_cmd begins "file"
17685 MAGIC_CMD=$MAGIC_CMD
17687 # Used on cygwin: DLL creation program.
17690 # Used on cygwin: object dumper.
17693 # Used on cygwin: assembler.
17696 # The name of the directory that contains temporary libtool files.
17699 # How to create reloadable object files.
17700 reload_flag=$lt_reload_flag
17701 reload_cmds=$lt_reload_cmds
17703 # How to pass a linker flag through the compiler.
17704 wl=$lt_lt_prog_compiler_wl_GCJ
17706 # Object file suffix (normally "o").
17707 objext="$ac_objext"
17709 # Old archive suffix (normally "a").
17712 # Shared library suffix (normally ".so").
17715 # Executable file suffix (normally "").
17718 # Additional compiler flags for building library objects.
17719 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17722 # What is the maximum length of a command?
17723 max_cmd_len=$lt_cv_sys_max_cmd_len
17725 # Does compiler simultaneously support -c and -o options?
17726 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17728 # Must we lock files when doing compilation ?
17729 need_locks=$lt_need_locks
17731 # Do we need the lib prefix for modules?
17732 need_lib_prefix=$need_lib_prefix
17734 # Do we need a version for libraries?
17735 need_version=$need_version
17737 # Whether dlopen is supported.
17738 dlopen_support=$enable_dlopen
17740 # Whether dlopen of programs is supported.
17741 dlopen_self=$enable_dlopen_self
17743 # Whether dlopen of statically linked programs is supported.
17744 dlopen_self_static=$enable_dlopen_self_static
17746 # Compiler flag to prevent dynamic linking.
17747 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17749 # Compiler flag to turn off builtin functions.
17750 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17752 # Compiler flag to allow reflexive dlopens.
17753 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17755 # Compiler flag to generate shared objects directly from archives.
17756 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17758 # Compiler flag to generate thread-safe objects.
17759 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17761 # Library versioning type.
17762 version_type=$version_type
17764 # Format of library name prefix.
17765 libname_spec=$lt_libname_spec
17767 # List of archive names. First name is the real one, the rest are links.
17768 # The last name is the one that the linker finds with -lNAME.
17769 library_names_spec=$lt_library_names_spec
17771 # The coded name of the library, if different from the real name.
17772 soname_spec=$lt_soname_spec
17774 # Commands used to build and install an old-style archive.
17776 old_archive_cmds=$lt_old_archive_cmds_GCJ
17777 old_postinstall_cmds=$lt_old_postinstall_cmds
17778 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17780 # Create an old-style archive from a shared archive.
17781 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17783 # Create a temporary old-style archive to link instead of a shared archive.
17784 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17786 # Commands used to build and install a shared archive.
17787 archive_cmds=$lt_archive_cmds_GCJ
17788 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17789 postinstall_cmds=$lt_postinstall_cmds
17790 postuninstall_cmds=$lt_postuninstall_cmds
17792 # Commands used to build a loadable module (assumed same as above if empty)
17793 module_cmds=$lt_module_cmds_GCJ
17794 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17796 # Commands to strip libraries.
17797 old_striplib=$lt_old_striplib
17798 striplib=$lt_striplib
17800 # Dependencies to place before the objects being linked to create a
17802 predep_objects=$lt_predep_objects_GCJ
17804 # Dependencies to place after the objects being linked to create a
17806 postdep_objects=$lt_postdep_objects_GCJ
17808 # Dependencies to place before the objects being linked to create a
17810 predeps=$lt_predeps_GCJ
17812 # Dependencies to place after the objects being linked to create a
17814 postdeps=$lt_postdeps_GCJ
17816 # The library search path used internally by the compiler when linking
17817 # a shared library.
17818 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17820 # Method to check whether dependent libraries are shared objects.
17821 deplibs_check_method=$lt_deplibs_check_method
17823 # Command to use when deplibs_check_method == file_magic.
17824 file_magic_cmd=$lt_file_magic_cmd
17826 # Flag that allows shared libraries with undefined symbols to be built.
17827 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17829 # Flag that forces no undefined symbols.
17830 no_undefined_flag=$lt_no_undefined_flag_GCJ
17832 # Commands used to finish a libtool library installation in a directory.
17833 finish_cmds=$lt_finish_cmds
17835 # Same as above, but a single script fragment to be evaled but not shown.
17836 finish_eval=$lt_finish_eval
17838 # Take the output of nm and produce a listing of raw symbols and C names.
17839 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17841 # Transform the output of nm in a proper C declaration
17842 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17844 # Transform the output of nm in a C name address pair
17845 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17847 # This is the shared library runtime path variable.
17848 runpath_var=$runpath_var
17850 # This is the shared library path variable.
17851 shlibpath_var=$shlibpath_var
17853 # Is shlibpath searched before the hard-coded library search path?
17854 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17856 # How to hardcode a shared library path into an executable.
17857 hardcode_action=$hardcode_action_GCJ
17859 # Whether we should hardcode library paths into libraries.
17860 hardcode_into_libs=$hardcode_into_libs
17862 # Flag to hardcode \$libdir into a binary during linking.
17863 # This must work even if \$libdir does not exist.
17864 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17866 # If ld is used when linking, flag to hardcode \$libdir into
17867 # a binary during linking. This must work even if \$libdir does
17869 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17871 # Whether we need a single -rpath flag with a separated argument.
17872 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17874 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17875 # resulting binary.
17876 hardcode_direct=$hardcode_direct_GCJ
17878 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17879 # resulting binary.
17880 hardcode_minus_L=$hardcode_minus_L_GCJ
17882 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17883 # the resulting binary.
17884 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17886 # Set to yes if building a shared library automatically hardcodes DIR into the library
17887 # and all subsequent libraries and executables linked against it.
17888 hardcode_automatic=$hardcode_automatic_GCJ
17890 # Variables whose values should be saved in libtool wrapper scripts and
17891 # restored at relink time.
17892 variables_saved_for_relink="$variables_saved_for_relink"
17894 # Whether libtool must link a program against all its dependency libraries.
17895 link_all_deplibs=$link_all_deplibs_GCJ
17897 # Compile-time system search path for libraries
17898 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17900 # Run-time system search path for libraries
17901 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17903 # Fix the shell variable \$srcfile for the compiler.
17904 fix_srcfile_path="$fix_srcfile_path_GCJ"
17906 # Set to yes if exported symbols are required.
17907 always_export_symbols=$always_export_symbols_GCJ
17909 # The commands to list exported symbols.
17910 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17912 # The commands to extract the exported symbol list from a shared archive.
17913 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17915 # Symbols that should not be listed in the preloaded symbols.
17916 exclude_expsyms=$lt_exclude_expsyms_GCJ
17918 # Symbols that must always be exported.
17919 include_expsyms=$lt_include_expsyms_GCJ
17921 # ### END LIBTOOL TAG CONFIG: $tagname
17927 # If there is no Makefile yet, we rely on a make rule to execute
17928 # `config.status --recheck' to rerun these tests and create the
17929 # libtool script then.
17930 test -f Makefile && make "$ltmain"
17935 ac_cpp='$CPP $CPPFLAGS'
17936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17951 # Source file extension for RC test sources.
17954 # Object file extension for compiled RC test sources.
17958 # Code to be used in simple compile tests
17959 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17961 # Code to be used in simple link tests
17962 lt_simple_link_test_code="$lt_simple_compile_test_code"
17964 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17966 # If no C compiler was specified, use CC.
17969 # Allow CC to be a program name with arguments.
17973 # Allow CC to be a program name with arguments.
17978 lt_cv_prog_compiler_c_o_RC=yes
17980 # The else clause should only fire when bootstrapping the
17981 # libtool distribution, otherwise you forgot to ship ltmain.sh
17982 # with your package, and you will get complaints that there are
17983 # no rules to generate ltmain.sh.
17984 if test -f "$ltmain"; then
17985 # See if we are running on zsh, and set the options which allow our commands through
17986 # without removal of \ escapes.
17987 if test -n "${ZSH_VERSION+set}" ; then
17988 setopt NO_GLOB_SUBST
17990 # Now quote all the things that may contain metacharacters while being
17991 # careful not to overquote the AC_SUBSTed values. We take copies of the
17992 # variables and quote the copies for generation of the libtool script.
17993 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17994 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17995 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17996 deplibs_check_method reload_flag reload_cmds need_locks \
17997 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17998 lt_cv_sys_global_symbol_to_c_name_address \
17999 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18000 old_postinstall_cmds old_postuninstall_cmds \
18004 lt_prog_compiler_wl_RC \
18005 lt_prog_compiler_pic_RC \
18006 lt_prog_compiler_static_RC \
18007 lt_prog_compiler_no_builtin_flag_RC \
18008 export_dynamic_flag_spec_RC \
18009 thread_safe_flag_spec_RC \
18010 whole_archive_flag_spec_RC \
18011 enable_shared_with_static_runtimes_RC \
18012 old_archive_cmds_RC \
18013 old_archive_from_new_cmds_RC \
18014 predep_objects_RC \
18015 postdep_objects_RC \
18018 compiler_lib_search_path_RC \
18020 archive_expsym_cmds_RC \
18021 postinstall_cmds_RC \
18022 postuninstall_cmds_RC \
18023 old_archive_from_expsyms_cmds_RC \
18024 allow_undefined_flag_RC \
18025 no_undefined_flag_RC \
18026 export_symbols_cmds_RC \
18027 hardcode_libdir_flag_spec_RC \
18028 hardcode_libdir_flag_spec_ld_RC \
18029 hardcode_libdir_separator_RC \
18030 hardcode_automatic_RC \
18032 module_expsym_cmds_RC \
18033 lt_cv_prog_compiler_c_o_RC \
18034 exclude_expsyms_RC \
18035 include_expsyms_RC; do
18038 old_archive_cmds_RC | \
18039 old_archive_from_new_cmds_RC | \
18040 archive_cmds_RC | \
18041 archive_expsym_cmds_RC | \
18043 module_expsym_cmds_RC | \
18044 old_archive_from_expsyms_cmds_RC | \
18045 export_symbols_cmds_RC | \
18046 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18047 postinstall_cmds | postuninstall_cmds | \
18048 old_postinstall_cmds | old_postuninstall_cmds | \
18049 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18050 # Double-quote double-evaled strings.
18051 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18054 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18060 *'\$0 --fallback-echo"')
18061 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18067 cat <<__EOF__ >> "$cfgfile"
18068 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18070 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18072 # Shell to use when invoking shell scripts.
18075 # Whether or not to build shared libraries.
18076 build_libtool_libs=$enable_shared
18078 # Whether or not to build static libraries.
18079 build_old_libs=$enable_static
18081 # Whether or not to add -lc for building shared libraries.
18082 build_libtool_need_lc=$archive_cmds_need_lc_RC
18084 # Whether or not to disallow shared libs when runtime libs are static
18085 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18087 # Whether or not to optimize for fast installation.
18088 fast_install=$enable_fast_install
18091 host_alias=$host_alias
18094 # An echo program that does not interpret backslashes.
18099 AR_FLAGS=$lt_AR_FLAGS
18104 # A language-specific compiler.
18107 # Is the compiler the GNU C compiler?
18113 # The linker used to build libraries.
18116 # Whether we need hard or soft links.
18119 # A BSD-compatible nm program.
18122 # A symbol stripping program
18125 # Used to examine libraries when file_magic_cmd begins "file"
18126 MAGIC_CMD=$MAGIC_CMD
18128 # Used on cygwin: DLL creation program.
18131 # Used on cygwin: object dumper.
18134 # Used on cygwin: assembler.
18137 # The name of the directory that contains temporary libtool files.
18140 # How to create reloadable object files.
18141 reload_flag=$lt_reload_flag
18142 reload_cmds=$lt_reload_cmds
18144 # How to pass a linker flag through the compiler.
18145 wl=$lt_lt_prog_compiler_wl_RC
18147 # Object file suffix (normally "o").
18148 objext="$ac_objext"
18150 # Old archive suffix (normally "a").
18153 # Shared library suffix (normally ".so").
18156 # Executable file suffix (normally "").
18159 # Additional compiler flags for building library objects.
18160 pic_flag=$lt_lt_prog_compiler_pic_RC
18163 # What is the maximum length of a command?
18164 max_cmd_len=$lt_cv_sys_max_cmd_len
18166 # Does compiler simultaneously support -c and -o options?
18167 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18169 # Must we lock files when doing compilation ?
18170 need_locks=$lt_need_locks
18172 # Do we need the lib prefix for modules?
18173 need_lib_prefix=$need_lib_prefix
18175 # Do we need a version for libraries?
18176 need_version=$need_version
18178 # Whether dlopen is supported.
18179 dlopen_support=$enable_dlopen
18181 # Whether dlopen of programs is supported.
18182 dlopen_self=$enable_dlopen_self
18184 # Whether dlopen of statically linked programs is supported.
18185 dlopen_self_static=$enable_dlopen_self_static
18187 # Compiler flag to prevent dynamic linking.
18188 link_static_flag=$lt_lt_prog_compiler_static_RC
18190 # Compiler flag to turn off builtin functions.
18191 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18193 # Compiler flag to allow reflexive dlopens.
18194 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18196 # Compiler flag to generate shared objects directly from archives.
18197 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18199 # Compiler flag to generate thread-safe objects.
18200 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18202 # Library versioning type.
18203 version_type=$version_type
18205 # Format of library name prefix.
18206 libname_spec=$lt_libname_spec
18208 # List of archive names. First name is the real one, the rest are links.
18209 # The last name is the one that the linker finds with -lNAME.
18210 library_names_spec=$lt_library_names_spec
18212 # The coded name of the library, if different from the real name.
18213 soname_spec=$lt_soname_spec
18215 # Commands used to build and install an old-style archive.
18217 old_archive_cmds=$lt_old_archive_cmds_RC
18218 old_postinstall_cmds=$lt_old_postinstall_cmds
18219 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18221 # Create an old-style archive from a shared archive.
18222 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18224 # Create a temporary old-style archive to link instead of a shared archive.
18225 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18227 # Commands used to build and install a shared archive.
18228 archive_cmds=$lt_archive_cmds_RC
18229 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18230 postinstall_cmds=$lt_postinstall_cmds
18231 postuninstall_cmds=$lt_postuninstall_cmds
18233 # Commands used to build a loadable module (assumed same as above if empty)
18234 module_cmds=$lt_module_cmds_RC
18235 module_expsym_cmds=$lt_module_expsym_cmds_RC
18237 # Commands to strip libraries.
18238 old_striplib=$lt_old_striplib
18239 striplib=$lt_striplib
18241 # Dependencies to place before the objects being linked to create a
18243 predep_objects=$lt_predep_objects_RC
18245 # Dependencies to place after the objects being linked to create a
18247 postdep_objects=$lt_postdep_objects_RC
18249 # Dependencies to place before the objects being linked to create a
18251 predeps=$lt_predeps_RC
18253 # Dependencies to place after the objects being linked to create a
18255 postdeps=$lt_postdeps_RC
18257 # The library search path used internally by the compiler when linking
18258 # a shared library.
18259 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18261 # Method to check whether dependent libraries are shared objects.
18262 deplibs_check_method=$lt_deplibs_check_method
18264 # Command to use when deplibs_check_method == file_magic.
18265 file_magic_cmd=$lt_file_magic_cmd
18267 # Flag that allows shared libraries with undefined symbols to be built.
18268 allow_undefined_flag=$lt_allow_undefined_flag_RC
18270 # Flag that forces no undefined symbols.
18271 no_undefined_flag=$lt_no_undefined_flag_RC
18273 # Commands used to finish a libtool library installation in a directory.
18274 finish_cmds=$lt_finish_cmds
18276 # Same as above, but a single script fragment to be evaled but not shown.
18277 finish_eval=$lt_finish_eval
18279 # Take the output of nm and produce a listing of raw symbols and C names.
18280 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18282 # Transform the output of nm in a proper C declaration
18283 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18285 # Transform the output of nm in a C name address pair
18286 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18288 # This is the shared library runtime path variable.
18289 runpath_var=$runpath_var
18291 # This is the shared library path variable.
18292 shlibpath_var=$shlibpath_var
18294 # Is shlibpath searched before the hard-coded library search path?
18295 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18297 # How to hardcode a shared library path into an executable.
18298 hardcode_action=$hardcode_action_RC
18300 # Whether we should hardcode library paths into libraries.
18301 hardcode_into_libs=$hardcode_into_libs
18303 # Flag to hardcode \$libdir into a binary during linking.
18304 # This must work even if \$libdir does not exist.
18305 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18307 # If ld is used when linking, flag to hardcode \$libdir into
18308 # a binary during linking. This must work even if \$libdir does
18310 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18312 # Whether we need a single -rpath flag with a separated argument.
18313 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18315 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18316 # resulting binary.
18317 hardcode_direct=$hardcode_direct_RC
18319 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18320 # resulting binary.
18321 hardcode_minus_L=$hardcode_minus_L_RC
18323 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18324 # the resulting binary.
18325 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18327 # Set to yes if building a shared library automatically hardcodes DIR into the library
18328 # and all subsequent libraries and executables linked against it.
18329 hardcode_automatic=$hardcode_automatic_RC
18331 # Variables whose values should be saved in libtool wrapper scripts and
18332 # restored at relink time.
18333 variables_saved_for_relink="$variables_saved_for_relink"
18335 # Whether libtool must link a program against all its dependency libraries.
18336 link_all_deplibs=$link_all_deplibs_RC
18338 # Compile-time system search path for libraries
18339 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18341 # Run-time system search path for libraries
18342 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18344 # Fix the shell variable \$srcfile for the compiler.
18345 fix_srcfile_path="$fix_srcfile_path_RC"
18347 # Set to yes if exported symbols are required.
18348 always_export_symbols=$always_export_symbols_RC
18350 # The commands to list exported symbols.
18351 export_symbols_cmds=$lt_export_symbols_cmds_RC
18353 # The commands to extract the exported symbol list from a shared archive.
18354 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18356 # Symbols that should not be listed in the preloaded symbols.
18357 exclude_expsyms=$lt_exclude_expsyms_RC
18359 # Symbols that must always be exported.
18360 include_expsyms=$lt_include_expsyms_RC
18362 # ### END LIBTOOL TAG CONFIG: $tagname
18368 # If there is no Makefile yet, we rely on a make rule to execute
18369 # `config.status --recheck' to rerun these tests and create the
18370 # libtool script then.
18371 test -f Makefile && make "$ltmain"
18376 ac_cpp='$CPP $CPPFLAGS'
18377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18386 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18387 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18388 { (exit 1); exit 1; }; }
18392 # Append the new tag name to the list of available tags.
18393 if test -n "$tagname" ; then
18394 available_tags="$available_tags $tagname"
18400 # Now substitute the updated list of available tags.
18401 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18402 mv "${ofile}T" "$ofile"
18406 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18407 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18408 { (exit 1); exit 1; }; }
18414 # This can be used to rebuild libtool when needed
18415 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18417 # Always use our own libtool.
18418 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18420 # Prevent multiple expansion
18442 # Extract the first word of "pwd", so it can be a program name with args.
18443 set dummy pwd; ac_word=$2
18444 echo "$as_me:$LINENO: checking for $ac_word" >&5
18445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18446 if test "${ac_cv_path_RPWD+set}" = set; then
18447 echo $ECHO_N "(cached) $ECHO_C" >&6
18451 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18455 for as_dir in $PATH
18458 test -z "$as_dir" && as_dir=.
18459 for ac_exec_ext in '' $ac_executable_extensions; do
18460 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18461 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18471 RPWD=$ac_cv_path_RPWD
18473 if test -n "$RPWD"; then
18474 echo "$as_me:$LINENO: result: $RPWD" >&5
18475 echo "${ECHO_T}$RPWD" >&6
18477 echo "$as_me:$LINENO: result: no" >&5
18478 echo "${ECHO_T}no" >&6
18481 # Extract the first word of "ar", so it can be a program name with args.
18482 set dummy ar; ac_word=$2
18483 echo "$as_me:$LINENO: checking for $ac_word" >&5
18484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18485 if test "${ac_cv_path_AR+set}" = set; then
18486 echo $ECHO_N "(cached) $ECHO_C" >&6
18490 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18494 for as_dir in $PATH
18497 test -z "$as_dir" && as_dir=.
18498 for ac_exec_ext in '' $ac_executable_extensions; do
18499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18500 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18512 if test -n "$AR"; then
18513 echo "$as_me:$LINENO: result: $AR" >&5
18514 echo "${ECHO_T}$AR" >&6
18516 echo "$as_me:$LINENO: result: no" >&5
18517 echo "${ECHO_T}no" >&6
18520 # Extract the first word of "sed", so it can be a program name with args.
18521 set dummy sed; ac_word=$2
18522 echo "$as_me:$LINENO: checking for $ac_word" >&5
18523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18524 if test "${ac_cv_path_SED+set}" = set; then
18525 echo $ECHO_N "(cached) $ECHO_C" >&6
18529 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18533 for as_dir in $PATH
18536 test -z "$as_dir" && as_dir=.
18537 for ac_exec_ext in '' $ac_executable_extensions; do
18538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18539 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18549 SED=$ac_cv_path_SED
18551 if test -n "$SED"; then
18552 echo "$as_me:$LINENO: result: $SED" >&5
18553 echo "${ECHO_T}$SED" >&6
18555 echo "$as_me:$LINENO: result: no" >&5
18556 echo "${ECHO_T}no" >&6
18559 # Extract the first word of "rm", so it can be a program name with args.
18560 set dummy rm; ac_word=$2
18561 echo "$as_me:$LINENO: checking for $ac_word" >&5
18562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18563 if test "${ac_cv_path_RM+set}" = set; then
18564 echo $ECHO_N "(cached) $ECHO_C" >&6
18568 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18572 for as_dir in $PATH
18575 test -z "$as_dir" && as_dir=.
18576 for ac_exec_ext in '' $ac_executable_extensions; do
18577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18578 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18590 if test -n "$RM"; then
18591 echo "$as_me:$LINENO: result: $RM" >&5
18592 echo "${ECHO_T}$RM" >&6
18594 echo "$as_me:$LINENO: result: no" >&5
18595 echo "${ECHO_T}no" >&6
18598 # Extract the first word of "echo", so it can be a program name with args.
18599 set dummy echo; ac_word=$2
18600 echo "$as_me:$LINENO: checking for $ac_word" >&5
18601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18602 if test "${ac_cv_path_ECHO+set}" = set; then
18603 echo $ECHO_N "(cached) $ECHO_C" >&6
18607 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18611 for as_dir in $PATH
18614 test -z "$as_dir" && as_dir=.
18615 for ac_exec_ext in '' $ac_executable_extensions; do
18616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18617 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18627 ECHO=$ac_cv_path_ECHO
18629 if test -n "$ECHO"; then
18630 echo "$as_me:$LINENO: result: $ECHO" >&5
18631 echo "${ECHO_T}$ECHO" >&6
18633 echo "$as_me:$LINENO: result: no" >&5
18634 echo "${ECHO_T}no" >&6
18637 # Extract the first word of "mkdir", so it can be a program name with args.
18638 set dummy mkdir; ac_word=$2
18639 echo "$as_me:$LINENO: checking for $ac_word" >&5
18640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18641 if test "${ac_cv_path_MKDIR+set}" = set; then
18642 echo $ECHO_N "(cached) $ECHO_C" >&6
18646 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18650 for as_dir in $PATH
18653 test -z "$as_dir" && as_dir=.
18654 for ac_exec_ext in '' $ac_executable_extensions; do
18655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18656 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18666 MKDIR=$ac_cv_path_MKDIR
18668 if test -n "$MKDIR"; then
18669 echo "$as_me:$LINENO: result: $MKDIR" >&5
18670 echo "${ECHO_T}$MKDIR" >&6
18672 echo "$as_me:$LINENO: result: no" >&5
18673 echo "${ECHO_T}no" >&6
18676 # Extract the first word of "date", so it can be a program name with args.
18677 set dummy date; ac_word=$2
18678 echo "$as_me:$LINENO: checking for $ac_word" >&5
18679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18680 if test "${ac_cv_path_DATE+set}" = set; then
18681 echo $ECHO_N "(cached) $ECHO_C" >&6
18685 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18689 for as_dir in $PATH
18692 test -z "$as_dir" && as_dir=.
18693 for ac_exec_ext in '' $ac_executable_extensions; do
18694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18695 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18705 DATE=$ac_cv_path_DATE
18707 if test -n "$DATE"; then
18708 echo "$as_me:$LINENO: result: $DATE" >&5
18709 echo "${ECHO_T}$DATE" >&6
18711 echo "$as_me:$LINENO: result: no" >&5
18712 echo "${ECHO_T}no" >&6
18715 # Extract the first word of "mv", so it can be a program name with args.
18716 set dummy mv; ac_word=$2
18717 echo "$as_me:$LINENO: checking for $ac_word" >&5
18718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18719 if test "${ac_cv_path_MV+set}" = set; then
18720 echo $ECHO_N "(cached) $ECHO_C" >&6
18724 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18728 for as_dir in $PATH
18731 test -z "$as_dir" && as_dir=.
18732 for ac_exec_ext in '' $ac_executable_extensions; do
18733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18734 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18746 if test -n "$MV"; then
18747 echo "$as_me:$LINENO: result: $MV" >&5
18748 echo "${ECHO_T}$MV" >&6
18750 echo "$as_me:$LINENO: result: no" >&5
18751 echo "${ECHO_T}no" >&6
18754 # Extract the first word of "dot", so it can be a program name with args.
18755 set dummy dot; ac_word=$2
18756 echo "$as_me:$LINENO: checking for $ac_word" >&5
18757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18758 if test "${ac_cv_path_DOT+set}" = set; then
18759 echo $ECHO_N "(cached) $ECHO_C" >&6
18763 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18767 for as_dir in $PATH
18770 test -z "$as_dir" && as_dir=.
18771 for ac_exec_ext in '' $ac_executable_extensions; do
18772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18773 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18783 DOT=$ac_cv_path_DOT
18785 if test -n "$DOT"; then
18786 echo "$as_me:$LINENO: result: $DOT" >&5
18787 echo "${ECHO_T}$DOT" >&6
18789 echo "$as_me:$LINENO: result: no" >&5
18790 echo "${ECHO_T}no" >&6
18793 # Extract the first word of "etags", so it can be a program name with args.
18794 set dummy etags; ac_word=$2
18795 echo "$as_me:$LINENO: checking for $ac_word" >&5
18796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18797 if test "${ac_cv_path_ETAGS+set}" = set; then
18798 echo $ECHO_N "(cached) $ECHO_C" >&6
18802 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18806 for as_dir in $PATH
18809 test -z "$as_dir" && as_dir=.
18810 for ac_exec_ext in '' $ac_executable_extensions; do
18811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18812 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18822 ETAGS=$ac_cv_path_ETAGS
18824 if test -n "$ETAGS"; then
18825 echo "$as_me:$LINENO: result: $ETAGS" >&5
18826 echo "${ECHO_T}$ETAGS" >&6
18828 echo "$as_me:$LINENO: result: no" >&5
18829 echo "${ECHO_T}no" >&6
18832 # Extract the first word of "purify", so it can be a program name with args.
18833 set dummy purify; ac_word=$2
18834 echo "$as_me:$LINENO: checking for $ac_word" >&5
18835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18836 if test "${ac_cv_path_PURIFY+set}" = set; then
18837 echo $ECHO_N "(cached) $ECHO_C" >&6
18841 ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path.
18844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18845 for as_dir in $PATH
18848 test -z "$as_dir" && as_dir=.
18849 for ac_exec_ext in '' $ac_executable_extensions; do
18850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18851 ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext"
18852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18861 PURIFY=$ac_cv_path_PURIFY
18863 if test -n "$PURIFY"; then
18864 echo "$as_me:$LINENO: result: $PURIFY" >&5
18865 echo "${ECHO_T}$PURIFY" >&6
18867 echo "$as_me:$LINENO: result: no" >&5
18868 echo "${ECHO_T}no" >&6
18871 # Extract the first word of "python", so it can be a program name with args.
18872 set dummy python; ac_word=$2
18873 echo "$as_me:$LINENO: checking for $ac_word" >&5
18874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18875 if test "${ac_cv_path_PYTHON+set}" = set; then
18876 echo $ECHO_N "(cached) $ECHO_C" >&6
18880 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18884 for as_dir in $PATH
18887 test -z "$as_dir" && as_dir=.
18888 for ac_exec_ext in '' $ac_executable_extensions; do
18889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18890 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18900 PYTHON=$ac_cv_path_PYTHON
18902 if test -n "$PYTHON"; then
18903 echo "$as_me:$LINENO: result: $PYTHON" >&5
18904 echo "${ECHO_T}$PYTHON" >&6
18906 echo "$as_me:$LINENO: result: no" >&5
18907 echo "${ECHO_T}no" >&6
18910 # Extract the first word of "qmtest", so it can be a program name with args.
18911 set dummy qmtest; ac_word=$2
18912 echo "$as_me:$LINENO: checking for $ac_word" >&5
18913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18914 if test "${ac_cv_path_QMTEST+set}" = set; then
18915 echo $ECHO_N "(cached) $ECHO_C" >&6
18919 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18923 for as_dir in $PATH
18926 test -z "$as_dir" && as_dir=.
18927 for ac_exec_ext in '' $ac_executable_extensions; do
18928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18929 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
18930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18939 QMTEST=$ac_cv_path_QMTEST
18941 if test -n "$QMTEST"; then
18942 echo "$as_me:$LINENO: result: $QMTEST" >&5
18943 echo "${ECHO_T}$QMTEST" >&6
18945 echo "$as_me:$LINENO: result: no" >&5
18946 echo "${ECHO_T}no" >&6
18950 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
18951 pymajor=`echo $pyversion | cut -d. -f1`
18952 pyminor=`echo $pyversion | cut -d. -f2`
18954 if test "$pymajor" -ge "2"
18956 if test "$pymajor" -eq "2"
18958 if test "$pyminor" -lt "2"
18960 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18961 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18962 { (exit 1); exit 1; }; }
18966 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18967 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18968 { (exit 1); exit 1; }; }
18975 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
18976 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
18977 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
18978 echo $ECHO_N "(cached) $ECHO_C" >&6
18980 ac_check_lib_save_LIBS=$LIBS
18982 cat >conftest.$ac_ext <<_ACEOF
18983 #line $LINENO "configure"
18986 cat confdefs.h >>conftest.$ac_ext
18987 cat >>conftest.$ac_ext <<_ACEOF
18988 /* end confdefs.h. */
18990 /* Override any gcc2 internal prototype to avoid an error. */
18994 /* We use char because int might match the return type of a gcc2
18995 builtin and then its argument prototype would still apply. */
19005 rm -f conftest.$ac_objext conftest$ac_exeext
19006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19007 (eval $ac_link) 2>&5
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); } &&
19011 { ac_try='test -s conftest$ac_exeext'
19012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19013 (eval $ac_try) 2>&5
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); }; }; then
19017 ac_cv_lib_elf_elf_begin=yes
19019 echo "$as_me: failed program was:" >&5
19020 sed 's/^/| /' conftest.$ac_ext >&5
19022 ac_cv_lib_elf_elf_begin=no
19024 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19025 LIBS=$ac_check_lib_save_LIBS
19027 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19028 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19029 if test $ac_cv_lib_elf_elf_begin = yes; then
19030 cat >>confdefs.h <<_ACEOF
19031 #define HAVE_LIBELF 1
19039 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19040 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19041 if test "${ac_cv_search_dlopen+set}" = set; then
19042 echo $ECHO_N "(cached) $ECHO_C" >&6
19044 ac_func_search_save_LIBS=$LIBS
19045 ac_cv_search_dlopen=no
19046 cat >conftest.$ac_ext <<_ACEOF
19047 #line $LINENO "configure"
19050 cat confdefs.h >>conftest.$ac_ext
19051 cat >>conftest.$ac_ext <<_ACEOF
19052 /* end confdefs.h. */
19054 /* Override any gcc2 internal prototype to avoid an error. */
19058 /* We use char because int might match the return type of a gcc2
19059 builtin and then its argument prototype would still apply. */
19069 rm -f conftest.$ac_objext conftest$ac_exeext
19070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19071 (eval $ac_link) 2>&5
19073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074 (exit $ac_status); } &&
19075 { ac_try='test -s conftest$ac_exeext'
19076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19077 (eval $ac_try) 2>&5
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); }; }; then
19081 ac_cv_search_dlopen="none required"
19083 echo "$as_me: failed program was:" >&5
19084 sed 's/^/| /' conftest.$ac_ext >&5
19087 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19088 if test "$ac_cv_search_dlopen" = no; then
19089 for ac_lib in dl; do
19090 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19091 cat >conftest.$ac_ext <<_ACEOF
19092 #line $LINENO "configure"
19095 cat confdefs.h >>conftest.$ac_ext
19096 cat >>conftest.$ac_ext <<_ACEOF
19097 /* end confdefs.h. */
19099 /* Override any gcc2 internal prototype to avoid an error. */
19103 /* We use char because int might match the return type of a gcc2
19104 builtin and then its argument prototype would still apply. */
19114 rm -f conftest.$ac_objext conftest$ac_exeext
19115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19116 (eval $ac_link) 2>&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); } &&
19120 { ac_try='test -s conftest$ac_exeext'
19121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19122 (eval $ac_try) 2>&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); }; }; then
19126 ac_cv_search_dlopen="-l$ac_lib"
19129 echo "$as_me: failed program was:" >&5
19130 sed 's/^/| /' conftest.$ac_ext >&5
19133 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19136 LIBS=$ac_func_search_save_LIBS
19138 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19139 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19140 if test "$ac_cv_search_dlopen" != no; then
19141 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19144 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
19145 echo "$as_me: error: dlopen() required but not found" >&2;}
19146 { (exit 1); exit 1; }; }
19150 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19151 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19152 if test "${ac_cv_search_mallinfo+set}" = set; then
19153 echo $ECHO_N "(cached) $ECHO_C" >&6
19155 ac_func_search_save_LIBS=$LIBS
19156 ac_cv_search_mallinfo=no
19157 cat >conftest.$ac_ext <<_ACEOF
19158 #line $LINENO "configure"
19161 cat confdefs.h >>conftest.$ac_ext
19162 cat >>conftest.$ac_ext <<_ACEOF
19163 /* end confdefs.h. */
19165 /* Override any gcc2 internal prototype to avoid an error. */
19169 /* We use char because int might match the return type of a gcc2
19170 builtin and then its argument prototype would still apply. */
19180 rm -f conftest.$ac_objext conftest$ac_exeext
19181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19182 (eval $ac_link) 2>&5
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); } &&
19186 { ac_try='test -s conftest$ac_exeext'
19187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19188 (eval $ac_try) 2>&5
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); }; }; then
19192 ac_cv_search_mallinfo="none required"
19194 echo "$as_me: failed program was:" >&5
19195 sed 's/^/| /' conftest.$ac_ext >&5
19198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19199 if test "$ac_cv_search_mallinfo" = no; then
19200 for ac_lib in malloc; do
19201 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19202 cat >conftest.$ac_ext <<_ACEOF
19203 #line $LINENO "configure"
19206 cat confdefs.h >>conftest.$ac_ext
19207 cat >>conftest.$ac_ext <<_ACEOF
19208 /* end confdefs.h. */
19210 /* Override any gcc2 internal prototype to avoid an error. */
19214 /* We use char because int might match the return type of a gcc2
19215 builtin and then its argument prototype would still apply. */
19225 rm -f conftest.$ac_objext conftest$ac_exeext
19226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19227 (eval $ac_link) 2>&5
19229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19230 (exit $ac_status); } &&
19231 { ac_try='test -s conftest$ac_exeext'
19232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19233 (eval $ac_try) 2>&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); }; }; then
19237 ac_cv_search_mallinfo="-l$ac_lib"
19240 echo "$as_me: failed program was:" >&5
19241 sed 's/^/| /' conftest.$ac_ext >&5
19244 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19247 LIBS=$ac_func_search_save_LIBS
19249 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19250 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19251 if test "$ac_cv_search_mallinfo" != no; then
19252 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19253 cat >>confdefs.h <<\_ACEOF
19254 #define HAVE_MALLINFO 1
19261 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19262 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19263 if test "${ac_cv_header_stdc+set}" = set; then
19264 echo $ECHO_N "(cached) $ECHO_C" >&6
19266 cat >conftest.$ac_ext <<_ACEOF
19267 #line $LINENO "configure"
19270 cat confdefs.h >>conftest.$ac_ext
19271 cat >>conftest.$ac_ext <<_ACEOF
19272 /* end confdefs.h. */
19273 #include <stdlib.h>
19274 #include <stdarg.h>
19275 #include <string.h>
19286 rm -f conftest.$ac_objext
19287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19288 (eval $ac_compile) 2>&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); } &&
19292 { ac_try='test -s conftest.$ac_objext'
19293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19294 (eval $ac_try) 2>&5
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); }; }; then
19298 ac_cv_header_stdc=yes
19300 echo "$as_me: failed program was:" >&5
19301 sed 's/^/| /' conftest.$ac_ext >&5
19303 ac_cv_header_stdc=no
19305 rm -f conftest.$ac_objext conftest.$ac_ext
19307 if test $ac_cv_header_stdc = yes; then
19308 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19309 cat >conftest.$ac_ext <<_ACEOF
19310 #line $LINENO "configure"
19313 cat confdefs.h >>conftest.$ac_ext
19314 cat >>conftest.$ac_ext <<_ACEOF
19315 /* end confdefs.h. */
19316 #include <string.h>
19319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19320 $EGREP "memchr" >/dev/null 2>&1; then
19323 ac_cv_header_stdc=no
19329 if test $ac_cv_header_stdc = yes; then
19330 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19331 cat >conftest.$ac_ext <<_ACEOF
19332 #line $LINENO "configure"
19335 cat confdefs.h >>conftest.$ac_ext
19336 cat >>conftest.$ac_ext <<_ACEOF
19337 /* end confdefs.h. */
19338 #include <stdlib.h>
19341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19342 $EGREP "free" >/dev/null 2>&1; then
19345 ac_cv_header_stdc=no
19351 if test $ac_cv_header_stdc = yes; then
19352 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19353 if test "$cross_compiling" = yes; then
19356 cat >conftest.$ac_ext <<_ACEOF
19357 #line $LINENO "configure"
19360 cat confdefs.h >>conftest.$ac_ext
19361 cat >>conftest.$ac_ext <<_ACEOF
19362 /* end confdefs.h. */
19364 #if ((' ' & 0x0FF) == 0x020)
19365 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19366 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19368 # define ISLOWER(c) \
19369 (('a' <= (c) && (c) <= 'i') \
19370 || ('j' <= (c) && (c) <= 'r') \
19371 || ('s' <= (c) && (c) <= 'z'))
19372 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19375 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19380 for (i = 0; i < 256; i++)
19381 if (XOR (islower (i), ISLOWER (i))
19382 || toupper (i) != TOUPPER (i))
19387 rm -f conftest$ac_exeext
19388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19389 (eval $ac_link) 2>&5
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19394 (eval $ac_try) 2>&5
19396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397 (exit $ac_status); }; }; then
19400 echo "$as_me: program exited with status $ac_status" >&5
19401 echo "$as_me: failed program was:" >&5
19402 sed 's/^/| /' conftest.$ac_ext >&5
19404 ( exit $ac_status )
19405 ac_cv_header_stdc=no
19407 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19411 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19412 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19413 if test $ac_cv_header_stdc = yes; then
19415 cat >>confdefs.h <<\_ACEOF
19416 #define STDC_HEADERS 1
19421 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19422 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19423 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19424 echo $ECHO_N "(cached) $ECHO_C" >&6
19426 cat >conftest.$ac_ext <<_ACEOF
19427 #line $LINENO "configure"
19430 cat confdefs.h >>conftest.$ac_ext
19431 cat >>conftest.$ac_ext <<_ACEOF
19432 /* end confdefs.h. */
19433 #include <sys/types.h>
19434 #include <sys/wait.h>
19435 #ifndef WEXITSTATUS
19436 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19439 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19447 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19452 rm -f conftest.$ac_objext
19453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19454 (eval $ac_compile) 2>&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); } &&
19458 { ac_try='test -s conftest.$ac_objext'
19459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19460 (eval $ac_try) 2>&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); }; }; then
19464 ac_cv_header_sys_wait_h=yes
19466 echo "$as_me: failed program was:" >&5
19467 sed 's/^/| /' conftest.$ac_ext >&5
19469 ac_cv_header_sys_wait_h=no
19471 rm -f conftest.$ac_objext conftest.$ac_ext
19473 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19474 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19475 if test $ac_cv_header_sys_wait_h = yes; then
19477 cat >>confdefs.h <<\_ACEOF
19478 #define HAVE_SYS_WAIT_H 1
19492 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19496 echo "$as_me:$LINENO: checking for $ac_header" >&5
19497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19499 echo $ECHO_N "(cached) $ECHO_C" >&6
19501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19504 # Is the header compilable?
19505 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19506 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19507 cat >conftest.$ac_ext <<_ACEOF
19508 #line $LINENO "configure"
19511 cat confdefs.h >>conftest.$ac_ext
19512 cat >>conftest.$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19514 $ac_includes_default
19515 #include <$ac_header>
19517 rm -f conftest.$ac_objext
19518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19519 (eval $ac_compile) 2>&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); } &&
19523 { ac_try='test -s conftest.$ac_objext'
19524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19525 (eval $ac_try) 2>&5
19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528 (exit $ac_status); }; }; then
19529 ac_header_compiler=yes
19531 echo "$as_me: failed program was:" >&5
19532 sed 's/^/| /' conftest.$ac_ext >&5
19534 ac_header_compiler=no
19536 rm -f conftest.$ac_objext conftest.$ac_ext
19537 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19538 echo "${ECHO_T}$ac_header_compiler" >&6
19540 # Is the header present?
19541 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19543 cat >conftest.$ac_ext <<_ACEOF
19544 #line $LINENO "configure"
19547 cat confdefs.h >>conftest.$ac_ext
19548 cat >>conftest.$ac_ext <<_ACEOF
19549 /* end confdefs.h. */
19550 #include <$ac_header>
19552 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19553 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19555 grep -v '^ *+' conftest.er1 >conftest.err
19557 cat conftest.err >&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); } >/dev/null; then
19560 if test -s conftest.err; then
19561 ac_cpp_err=$ac_c_preproc_warn_flag
19568 if test -z "$ac_cpp_err"; then
19569 ac_header_preproc=yes
19571 echo "$as_me: failed program was:" >&5
19572 sed 's/^/| /' conftest.$ac_ext >&5
19574 ac_header_preproc=no
19576 rm -f conftest.err conftest.$ac_ext
19577 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19578 echo "${ECHO_T}$ac_header_preproc" >&6
19580 # So? What about this header?
19581 case $ac_header_compiler:$ac_header_preproc in
19583 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19584 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19586 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19589 ## ------------------------------------ ##
19590 ## Report this to bug-autoconf@gnu.org. ##
19591 ## ------------------------------------ ##
19594 sed "s/^/$as_me: WARNING: /" >&2
19597 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19598 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19599 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19600 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19605 ## ------------------------------------ ##
19606 ## Report this to bug-autoconf@gnu.org. ##
19607 ## ------------------------------------ ##
19610 sed "s/^/$as_me: WARNING: /" >&2
19613 echo "$as_me:$LINENO: checking for $ac_header" >&5
19614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19616 echo $ECHO_N "(cached) $ECHO_C" >&6
19618 eval "$as_ac_Header=$ac_header_preproc"
19620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19625 cat >>confdefs.h <<_ACEOF
19626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19638 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19640 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19642 echo "$as_me:$LINENO: checking for $ac_header" >&5
19643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19645 echo $ECHO_N "(cached) $ECHO_C" >&6
19647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19650 # Is the header compilable?
19651 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19652 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19653 cat >conftest.$ac_ext <<_ACEOF
19654 #line $LINENO "configure"
19657 cat confdefs.h >>conftest.$ac_ext
19658 cat >>conftest.$ac_ext <<_ACEOF
19659 /* end confdefs.h. */
19660 $ac_includes_default
19661 #include <$ac_header>
19663 rm -f conftest.$ac_objext
19664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19665 (eval $ac_compile) 2>&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); } &&
19669 { ac_try='test -s conftest.$ac_objext'
19670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19671 (eval $ac_try) 2>&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); }; }; then
19675 ac_header_compiler=yes
19677 echo "$as_me: failed program was:" >&5
19678 sed 's/^/| /' conftest.$ac_ext >&5
19680 ac_header_compiler=no
19682 rm -f conftest.$ac_objext conftest.$ac_ext
19683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19684 echo "${ECHO_T}$ac_header_compiler" >&6
19686 # Is the header present?
19687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19689 cat >conftest.$ac_ext <<_ACEOF
19690 #line $LINENO "configure"
19693 cat confdefs.h >>conftest.$ac_ext
19694 cat >>conftest.$ac_ext <<_ACEOF
19695 /* end confdefs.h. */
19696 #include <$ac_header>
19698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19699 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19701 grep -v '^ *+' conftest.er1 >conftest.err
19703 cat conftest.err >&5
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); } >/dev/null; then
19706 if test -s conftest.err; then
19707 ac_cpp_err=$ac_c_preproc_warn_flag
19714 if test -z "$ac_cpp_err"; then
19715 ac_header_preproc=yes
19717 echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.$ac_ext >&5
19720 ac_header_preproc=no
19722 rm -f conftest.err conftest.$ac_ext
19723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19724 echo "${ECHO_T}$ac_header_preproc" >&6
19726 # So? What about this header?
19727 case $ac_header_compiler:$ac_header_preproc in
19729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19732 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19735 ## ------------------------------------ ##
19736 ## Report this to bug-autoconf@gnu.org. ##
19737 ## ------------------------------------ ##
19740 sed "s/^/$as_me: WARNING: /" >&2
19743 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19744 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19745 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19746 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19748 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19751 ## ------------------------------------ ##
19752 ## Report this to bug-autoconf@gnu.org. ##
19753 ## ------------------------------------ ##
19756 sed "s/^/$as_me: WARNING: /" >&2
19759 echo "$as_me:$LINENO: checking for $ac_header" >&5
19760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19762 echo $ECHO_N "(cached) $ECHO_C" >&6
19764 eval "$as_ac_Header=$ac_header_preproc"
19766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19771 cat >>confdefs.h <<_ACEOF
19772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19782 for ac_header in dlfcn.h link.h
19784 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19786 echo "$as_me:$LINENO: checking for $ac_header" >&5
19787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19789 echo $ECHO_N "(cached) $ECHO_C" >&6
19791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19794 # Is the header compilable?
19795 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19797 cat >conftest.$ac_ext <<_ACEOF
19798 #line $LINENO "configure"
19801 cat confdefs.h >>conftest.$ac_ext
19802 cat >>conftest.$ac_ext <<_ACEOF
19803 /* end confdefs.h. */
19804 $ac_includes_default
19805 #include <$ac_header>
19807 rm -f conftest.$ac_objext
19808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19809 (eval $ac_compile) 2>&5
19811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19812 (exit $ac_status); } &&
19813 { ac_try='test -s conftest.$ac_objext'
19814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19815 (eval $ac_try) 2>&5
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 (exit $ac_status); }; }; then
19819 ac_header_compiler=yes
19821 echo "$as_me: failed program was:" >&5
19822 sed 's/^/| /' conftest.$ac_ext >&5
19824 ac_header_compiler=no
19826 rm -f conftest.$ac_objext conftest.$ac_ext
19827 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19828 echo "${ECHO_T}$ac_header_compiler" >&6
19830 # Is the header present?
19831 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19832 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19833 cat >conftest.$ac_ext <<_ACEOF
19834 #line $LINENO "configure"
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 #include <$ac_header>
19842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19843 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19845 grep -v '^ *+' conftest.er1 >conftest.err
19847 cat conftest.err >&5
19848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19849 (exit $ac_status); } >/dev/null; then
19850 if test -s conftest.err; then
19851 ac_cpp_err=$ac_c_preproc_warn_flag
19858 if test -z "$ac_cpp_err"; then
19859 ac_header_preproc=yes
19861 echo "$as_me: failed program was:" >&5
19862 sed 's/^/| /' conftest.$ac_ext >&5
19864 ac_header_preproc=no
19866 rm -f conftest.err conftest.$ac_ext
19867 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19868 echo "${ECHO_T}$ac_header_preproc" >&6
19870 # So? What about this header?
19871 case $ac_header_compiler:$ac_header_preproc in
19873 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19874 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19876 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19879 ## ------------------------------------ ##
19880 ## Report this to bug-autoconf@gnu.org. ##
19881 ## ------------------------------------ ##
19884 sed "s/^/$as_me: WARNING: /" >&2
19887 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19888 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19889 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19890 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19895 ## ------------------------------------ ##
19896 ## Report this to bug-autoconf@gnu.org. ##
19897 ## ------------------------------------ ##
19900 sed "s/^/$as_me: WARNING: /" >&2
19903 echo "$as_me:$LINENO: checking for $ac_header" >&5
19904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19906 echo $ECHO_N "(cached) $ECHO_C" >&6
19908 eval "$as_ac_Header=$ac_header_preproc"
19910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19915 cat >>confdefs.h <<_ACEOF
19916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19925 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19926 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19927 if test "${ac_cv_c_const+set}" = set; then
19928 echo $ECHO_N "(cached) $ECHO_C" >&6
19930 cat >conftest.$ac_ext <<_ACEOF
19931 #line $LINENO "configure"
19934 cat confdefs.h >>conftest.$ac_ext
19935 cat >>conftest.$ac_ext <<_ACEOF
19936 /* end confdefs.h. */
19941 /* FIXME: Include the comments suggested by Paul. */
19942 #ifndef __cplusplus
19943 /* Ultrix mips cc rejects this. */
19944 typedef int charset[2];
19946 /* SunOS 4.1.1 cc rejects this. */
19947 char const *const *ccp;
19949 /* NEC SVR4.0.2 mips cc rejects this. */
19950 struct point {int x, y;};
19951 static struct point const zero = {0,0};
19952 /* AIX XL C 1.02.0.0 rejects this.
19953 It does not let you subtract one const X* pointer from another in
19954 an arm of an if-expression whose if-part is not a constant
19956 const char *g = "string";
19957 ccp = &g + (g ? g-g : 0);
19958 /* HPUX 7.0 cc rejects these. */
19961 ccp = (char const *const *) p;
19962 { /* SCO 3.2v4 cc rejects this. */
19964 char const *s = 0 ? (char *) 0 : (char const *) 0;
19968 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19969 int x[] = {25, 17};
19970 const int *foo = &x[0];
19973 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19974 typedef const int *iptr;
19978 { /* AIX XL C 1.02.0.0 rejects this saying
19979 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19980 struct s { int j; const int *ap[3]; };
19981 struct s *b; b->j = 5;
19983 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19984 const int foo = 10;
19992 rm -f conftest.$ac_objext
19993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19994 (eval $ac_compile) 2>&5
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); } &&
19998 { ac_try='test -s conftest.$ac_objext'
19999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20000 (eval $ac_try) 2>&5
20002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); }; }; then
20006 echo "$as_me: failed program was:" >&5
20007 sed 's/^/| /' conftest.$ac_ext >&5
20011 rm -f conftest.$ac_objext conftest.$ac_ext
20013 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20014 echo "${ECHO_T}$ac_cv_c_const" >&6
20015 if test $ac_cv_c_const = no; then
20017 cat >>confdefs.h <<\_ACEOF
20023 echo "$as_me:$LINENO: checking for inline" >&5
20024 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20025 if test "${ac_cv_c_inline+set}" = set; then
20026 echo $ECHO_N "(cached) $ECHO_C" >&6
20029 for ac_kw in inline __inline__ __inline; do
20030 cat >conftest.$ac_ext <<_ACEOF
20031 #line $LINENO "configure"
20034 cat confdefs.h >>conftest.$ac_ext
20035 cat >>conftest.$ac_ext <<_ACEOF
20036 /* end confdefs.h. */
20037 #ifndef __cplusplus
20039 static $ac_kw foo_t static_foo () {return 0; }
20040 $ac_kw foo_t foo () {return 0; }
20044 rm -f conftest.$ac_objext
20045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20046 (eval $ac_compile) 2>&5
20048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20049 (exit $ac_status); } &&
20050 { ac_try='test -s conftest.$ac_objext'
20051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20052 (eval $ac_try) 2>&5
20054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055 (exit $ac_status); }; }; then
20056 ac_cv_c_inline=$ac_kw; break
20058 echo "$as_me: failed program was:" >&5
20059 sed 's/^/| /' conftest.$ac_ext >&5
20062 rm -f conftest.$ac_objext conftest.$ac_ext
20066 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20067 echo "${ECHO_T}$ac_cv_c_inline" >&6
20068 case $ac_cv_c_inline in
20071 cat >>confdefs.h <<\_ACEOF
20075 *) cat >>confdefs.h <<_ACEOF
20076 #define inline $ac_cv_c_inline
20082 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20083 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20084 if test "${ac_cv_c_bigendian+set}" = set; then
20085 echo $ECHO_N "(cached) $ECHO_C" >&6
20087 # See if sys/param.h defines the BYTE_ORDER macro.
20088 cat >conftest.$ac_ext <<_ACEOF
20089 #line $LINENO "configure"
20092 cat confdefs.h >>conftest.$ac_ext
20093 cat >>conftest.$ac_ext <<_ACEOF
20094 /* end confdefs.h. */
20095 #include <sys/types.h>
20096 #include <sys/param.h>
20101 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20102 bogus endian macros
20109 rm -f conftest.$ac_objext
20110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20111 (eval $ac_compile) 2>&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } &&
20115 { ac_try='test -s conftest.$ac_objext'
20116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20117 (eval $ac_try) 2>&5
20119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120 (exit $ac_status); }; }; then
20121 # It does; now see whether it defined to BIG_ENDIAN or not.
20122 cat >conftest.$ac_ext <<_ACEOF
20123 #line $LINENO "configure"
20126 cat confdefs.h >>conftest.$ac_ext
20127 cat >>conftest.$ac_ext <<_ACEOF
20128 /* end confdefs.h. */
20129 #include <sys/types.h>
20130 #include <sys/param.h>
20135 #if BYTE_ORDER != BIG_ENDIAN
20143 rm -f conftest.$ac_objext
20144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20145 (eval $ac_compile) 2>&5
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); } &&
20149 { ac_try='test -s conftest.$ac_objext'
20150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20151 (eval $ac_try) 2>&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); }; }; then
20155 ac_cv_c_bigendian=yes
20157 echo "$as_me: failed program was:" >&5
20158 sed 's/^/| /' conftest.$ac_ext >&5
20160 ac_cv_c_bigendian=no
20162 rm -f conftest.$ac_objext conftest.$ac_ext
20164 echo "$as_me: failed program was:" >&5
20165 sed 's/^/| /' conftest.$ac_ext >&5
20167 # It does not; compile a test program.
20168 if test "$cross_compiling" = yes; then
20169 # try to guess the endianness by grepping values into an object file
20170 ac_cv_c_bigendian=unknown
20171 cat >conftest.$ac_ext <<_ACEOF
20172 #line $LINENO "configure"
20175 cat confdefs.h >>conftest.$ac_ext
20176 cat >>conftest.$ac_ext <<_ACEOF
20177 /* end confdefs.h. */
20178 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20179 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20180 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20181 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20182 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20183 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20187 _ascii (); _ebcdic ();
20192 rm -f conftest.$ac_objext
20193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20194 (eval $ac_compile) 2>&5
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); } &&
20198 { ac_try='test -s conftest.$ac_objext'
20199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20200 (eval $ac_try) 2>&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); }; }; then
20204 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20205 ac_cv_c_bigendian=yes
20207 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20208 if test "$ac_cv_c_bigendian" = unknown; then
20209 ac_cv_c_bigendian=no
20211 # finding both strings is unlikely to happen, but who knows?
20212 ac_cv_c_bigendian=unknown
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20220 rm -f conftest.$ac_objext conftest.$ac_ext
20222 cat >conftest.$ac_ext <<_ACEOF
20223 #line $LINENO "configure"
20226 cat confdefs.h >>conftest.$ac_ext
20227 cat >>conftest.$ac_ext <<_ACEOF
20228 /* end confdefs.h. */
20232 /* Are we little or big endian? From Harbison&Steele. */
20236 char c[sizeof (long)];
20239 exit (u.c[sizeof (long) - 1] == 1);
20242 rm -f conftest$ac_exeext
20243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20244 (eval $ac_link) 2>&5
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20249 (eval $ac_try) 2>&5
20251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252 (exit $ac_status); }; }; then
20253 ac_cv_c_bigendian=no
20255 echo "$as_me: program exited with status $ac_status" >&5
20256 echo "$as_me: failed program was:" >&5
20257 sed 's/^/| /' conftest.$ac_ext >&5
20259 ( exit $ac_status )
20260 ac_cv_c_bigendian=yes
20262 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20265 rm -f conftest.$ac_objext conftest.$ac_ext
20267 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20268 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20269 case $ac_cv_c_bigendian in
20271 cat >>confdefs.h <<\_ACEOF
20272 #define ENDIAN_BIG 1
20276 cat >>confdefs.h <<\_ACEOF
20277 #define ENDIAN_LITTLE 1
20281 { { echo "$as_me:$LINENO: error: unknown endianness
20282 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20283 echo "$as_me: error: unknown endianness
20284 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20285 { (exit 1); exit 1; }; } ;;
20289 echo "$as_me:$LINENO: checking for pid_t" >&5
20290 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20291 if test "${ac_cv_type_pid_t+set}" = set; then
20292 echo $ECHO_N "(cached) $ECHO_C" >&6
20294 cat >conftest.$ac_ext <<_ACEOF
20295 #line $LINENO "configure"
20298 cat confdefs.h >>conftest.$ac_ext
20299 cat >>conftest.$ac_ext <<_ACEOF
20300 /* end confdefs.h. */
20301 $ac_includes_default
20307 if (sizeof (pid_t))
20313 rm -f conftest.$ac_objext
20314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20315 (eval $ac_compile) 2>&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); } &&
20319 { ac_try='test -s conftest.$ac_objext'
20320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20321 (eval $ac_try) 2>&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); }; }; then
20325 ac_cv_type_pid_t=yes
20327 echo "$as_me: failed program was:" >&5
20328 sed 's/^/| /' conftest.$ac_ext >&5
20330 ac_cv_type_pid_t=no
20332 rm -f conftest.$ac_objext conftest.$ac_ext
20334 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20335 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20336 if test $ac_cv_type_pid_t = yes; then
20340 cat >>confdefs.h <<_ACEOF
20346 echo "$as_me:$LINENO: checking for size_t" >&5
20347 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20348 if test "${ac_cv_type_size_t+set}" = set; then
20349 echo $ECHO_N "(cached) $ECHO_C" >&6
20351 cat >conftest.$ac_ext <<_ACEOF
20352 #line $LINENO "configure"
20355 cat confdefs.h >>conftest.$ac_ext
20356 cat >>conftest.$ac_ext <<_ACEOF
20357 /* end confdefs.h. */
20358 $ac_includes_default
20364 if (sizeof (size_t))
20370 rm -f conftest.$ac_objext
20371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20372 (eval $ac_compile) 2>&5
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); } &&
20376 { ac_try='test -s conftest.$ac_objext'
20377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20378 (eval $ac_try) 2>&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); }; }; then
20382 ac_cv_type_size_t=yes
20384 echo "$as_me: failed program was:" >&5
20385 sed 's/^/| /' conftest.$ac_ext >&5
20387 ac_cv_type_size_t=no
20389 rm -f conftest.$ac_objext conftest.$ac_ext
20391 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20392 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20393 if test $ac_cv_type_size_t = yes; then
20397 cat >>confdefs.h <<_ACEOF
20398 #define size_t unsigned
20403 echo "$as_me:$LINENO: checking for int64_t" >&5
20404 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20405 if test "${ac_cv_type_int64_t+set}" = set; then
20406 echo $ECHO_N "(cached) $ECHO_C" >&6
20408 cat >conftest.$ac_ext <<_ACEOF
20409 #line $LINENO "configure"
20412 cat confdefs.h >>conftest.$ac_ext
20413 cat >>conftest.$ac_ext <<_ACEOF
20414 /* end confdefs.h. */
20415 $ac_includes_default
20421 if (sizeof (int64_t))
20427 rm -f conftest.$ac_objext
20428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20429 (eval $ac_compile) 2>&5
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); } &&
20433 { ac_try='test -s conftest.$ac_objext'
20434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20435 (eval $ac_try) 2>&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); }; }; then
20439 ac_cv_type_int64_t=yes
20441 echo "$as_me: failed program was:" >&5
20442 sed 's/^/| /' conftest.$ac_ext >&5
20444 ac_cv_type_int64_t=no
20446 rm -f conftest.$ac_objext conftest.$ac_ext
20448 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20449 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20450 if test $ac_cv_type_int64_t = yes; then
20452 cat >>confdefs.h <<_ACEOF
20453 #define HAVE_INT64_T 1
20458 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20459 echo "$as_me: error: Type int64_t required but not found" >&2;}
20460 { (exit 1); exit 1; }; }
20463 echo "$as_me:$LINENO: checking for uint64_t" >&5
20464 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20465 if test "${ac_cv_type_uint64_t+set}" = set; then
20466 echo $ECHO_N "(cached) $ECHO_C" >&6
20468 cat >conftest.$ac_ext <<_ACEOF
20469 #line $LINENO "configure"
20472 cat confdefs.h >>conftest.$ac_ext
20473 cat >>conftest.$ac_ext <<_ACEOF
20474 /* end confdefs.h. */
20475 $ac_includes_default
20479 if ((uint64_t *) 0)
20481 if (sizeof (uint64_t))
20487 rm -f conftest.$ac_objext
20488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20489 (eval $ac_compile) 2>&5
20491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20492 (exit $ac_status); } &&
20493 { ac_try='test -s conftest.$ac_objext'
20494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20495 (eval $ac_try) 2>&5
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); }; }; then
20499 ac_cv_type_uint64_t=yes
20501 echo "$as_me: failed program was:" >&5
20502 sed 's/^/| /' conftest.$ac_ext >&5
20504 ac_cv_type_uint64_t=no
20506 rm -f conftest.$ac_objext conftest.$ac_ext
20508 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20509 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20510 if test $ac_cv_type_uint64_t = yes; then
20512 cat >>confdefs.h <<_ACEOF
20513 #define HAVE_UINT64_T 1
20518 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20519 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20520 { (exit 1); exit 1; }; }
20523 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20524 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20525 if test "${ac_cv_header_time+set}" = set; then
20526 echo $ECHO_N "(cached) $ECHO_C" >&6
20528 cat >conftest.$ac_ext <<_ACEOF
20529 #line $LINENO "configure"
20532 cat confdefs.h >>conftest.$ac_ext
20533 cat >>conftest.$ac_ext <<_ACEOF
20534 /* end confdefs.h. */
20535 #include <sys/types.h>
20536 #include <sys/time.h>
20542 if ((struct tm *) 0)
20548 rm -f conftest.$ac_objext
20549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20550 (eval $ac_compile) 2>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); } &&
20554 { ac_try='test -s conftest.$ac_objext'
20555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20556 (eval $ac_try) 2>&5
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); }; }; then
20560 ac_cv_header_time=yes
20562 echo "$as_me: failed program was:" >&5
20563 sed 's/^/| /' conftest.$ac_ext >&5
20565 ac_cv_header_time=no
20567 rm -f conftest.$ac_objext conftest.$ac_ext
20569 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20570 echo "${ECHO_T}$ac_cv_header_time" >&6
20571 if test $ac_cv_header_time = yes; then
20573 cat >>confdefs.h <<\_ACEOF
20574 #define TIME_WITH_SYS_TIME 1
20579 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20580 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20581 if test "${ac_cv_struct_tm+set}" = set; then
20582 echo $ECHO_N "(cached) $ECHO_C" >&6
20584 cat >conftest.$ac_ext <<_ACEOF
20585 #line $LINENO "configure"
20588 cat confdefs.h >>conftest.$ac_ext
20589 cat >>conftest.$ac_ext <<_ACEOF
20590 /* end confdefs.h. */
20591 #include <sys/types.h>
20597 struct tm *tp; tp->tm_sec;
20602 rm -f conftest.$ac_objext
20603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20604 (eval $ac_compile) 2>&5
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); } &&
20608 { ac_try='test -s conftest.$ac_objext'
20609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20610 (eval $ac_try) 2>&5
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); }; }; then
20614 ac_cv_struct_tm=time.h
20616 echo "$as_me: failed program was:" >&5
20617 sed 's/^/| /' conftest.$ac_ext >&5
20619 ac_cv_struct_tm=sys/time.h
20621 rm -f conftest.$ac_objext conftest.$ac_ext
20623 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20624 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20625 if test $ac_cv_struct_tm = sys/time.h; then
20627 cat >>confdefs.h <<\_ACEOF
20628 #define TM_IN_SYS_TIME 1
20634 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20635 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20636 if test "${ac_cv_cxx_namespaces+set}" = set; then
20637 echo $ECHO_N "(cached) $ECHO_C" >&6
20642 ac_cpp='$CXXCPP $CPPFLAGS'
20643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20647 cat >conftest.$ac_ext <<_ACEOF
20648 #line $LINENO "configure"
20651 cat confdefs.h >>conftest.$ac_ext
20652 cat >>conftest.$ac_ext <<_ACEOF
20653 /* end confdefs.h. */
20654 namespace Outer { namespace Inner { int i = 0; }}
20658 using namespace Outer::Inner; return i;
20663 rm -f conftest.$ac_objext
20664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20665 (eval $ac_compile) 2>&5
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); } &&
20669 { ac_try='test -s conftest.$ac_objext'
20670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20671 (eval $ac_try) 2>&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }; }; then
20675 ac_cv_cxx_namespaces=yes
20677 echo "$as_me: failed program was:" >&5
20678 sed 's/^/| /' conftest.$ac_ext >&5
20680 ac_cv_cxx_namespaces=no
20682 rm -f conftest.$ac_objext conftest.$ac_ext
20684 ac_cpp='$CPP $CPPFLAGS'
20685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20691 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20692 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20693 if test "$ac_cv_cxx_namespaces" = yes; then
20695 cat >>confdefs.h <<\_ACEOF
20696 #define HAVE_NAMESPACES
20701 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20702 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20703 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20704 echo $ECHO_N "(cached) $ECHO_C" >&6
20710 ac_cpp='$CXXCPP $CPPFLAGS'
20711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20715 cat >conftest.$ac_ext <<_ACEOF
20716 #line $LINENO "configure"
20719 cat confdefs.h >>conftest.$ac_ext
20720 cat >>conftest.$ac_ext <<_ACEOF
20721 /* end confdefs.h. */
20722 #include <ext/hash_map>
20723 #ifdef HAVE_NAMESPACES
20724 using namespace std;
20729 hash_map<int, int> t; return 0;
20734 rm -f conftest.$ac_objext
20735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20736 (eval $ac_compile) 2>&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } &&
20740 { ac_try='test -s conftest.$ac_objext'
20741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20742 (eval $ac_try) 2>&5
20744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745 (exit $ac_status); }; }; then
20746 ac_cv_cxx_have_ext_hash_map=std
20748 echo "$as_me: failed program was:" >&5
20749 sed 's/^/| /' conftest.$ac_ext >&5
20751 ac_cv_cxx_have_ext_hash_map=no
20753 rm -f conftest.$ac_objext conftest.$ac_ext
20754 cat >conftest.$ac_ext <<_ACEOF
20755 #line $LINENO "configure"
20758 cat confdefs.h >>conftest.$ac_ext
20759 cat >>conftest.$ac_ext <<_ACEOF
20760 /* end confdefs.h. */
20761 #include <ext/hash_map>
20762 #ifdef HAVE_NAMESPACES
20763 using namespace __gnu_cxx;
20768 hash_map<int, int> t; return 0;
20773 rm -f conftest.$ac_objext
20774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20775 (eval $ac_compile) 2>&5
20777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20778 (exit $ac_status); } &&
20779 { ac_try='test -s conftest.$ac_objext'
20780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20781 (eval $ac_try) 2>&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); }; }; then
20785 ac_cv_cxx_have_ext_hash_map=gnu
20787 echo "$as_me: failed program was:" >&5
20788 sed 's/^/| /' conftest.$ac_ext >&5
20790 ac_cv_cxx_have_ext_hash_map=no
20792 rm -f conftest.$ac_objext conftest.$ac_ext
20794 ac_cpp='$CPP $CPPFLAGS'
20795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20801 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20802 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20803 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20805 cat >>confdefs.h <<\_ACEOF
20806 #define HAVE_STD_EXT_HASH_MAP
20810 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20812 cat >>confdefs.h <<\_ACEOF
20813 #define HAVE_GNU_EXT_HASH_MAP
20818 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20819 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20820 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20821 echo $ECHO_N "(cached) $ECHO_C" >&6
20827 ac_cpp='$CXXCPP $CPPFLAGS'
20828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20832 cat >conftest.$ac_ext <<_ACEOF
20833 #line $LINENO "configure"
20836 cat confdefs.h >>conftest.$ac_ext
20837 cat >>conftest.$ac_ext <<_ACEOF
20838 /* end confdefs.h. */
20839 #include <ext/hash_set>
20840 #ifdef HAVE_NAMESPACES
20841 using namespace std;
20846 hash_set<int> t; return 0;
20851 rm -f conftest.$ac_objext
20852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20853 (eval $ac_compile) 2>&5
20855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856 (exit $ac_status); } &&
20857 { ac_try='test -s conftest.$ac_objext'
20858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20859 (eval $ac_try) 2>&5
20861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20862 (exit $ac_status); }; }; then
20863 ac_cv_cxx_have_ext_hash_set=std
20865 echo "$as_me: failed program was:" >&5
20866 sed 's/^/| /' conftest.$ac_ext >&5
20868 ac_cv_cxx_have_ext_hash_set=no
20870 rm -f conftest.$ac_objext conftest.$ac_ext
20871 cat >conftest.$ac_ext <<_ACEOF
20872 #line $LINENO "configure"
20875 cat confdefs.h >>conftest.$ac_ext
20876 cat >>conftest.$ac_ext <<_ACEOF
20877 /* end confdefs.h. */
20878 #include <ext/hash_set>
20879 #ifdef HAVE_NAMESPACES
20880 using namespace __gnu_cxx;
20885 hash_set<int> t; return 0;
20890 rm -f conftest.$ac_objext
20891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20892 (eval $ac_compile) 2>&5
20894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895 (exit $ac_status); } &&
20896 { ac_try='test -s conftest.$ac_objext'
20897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20898 (eval $ac_try) 2>&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); }; }; then
20902 ac_cv_cxx_have_ext_hash_set=gnu
20904 echo "$as_me: failed program was:" >&5
20905 sed 's/^/| /' conftest.$ac_ext >&5
20907 ac_cv_cxx_have_ext_hash_set=no
20909 rm -f conftest.$ac_objext conftest.$ac_ext
20911 ac_cpp='$CPP $CPPFLAGS'
20912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20918 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
20919 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
20920 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
20922 cat >>confdefs.h <<\_ACEOF
20923 #define HAVE_STD_EXT_HASH_SET
20927 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
20929 cat >>confdefs.h <<\_ACEOF
20930 #define HAVE_GNU_EXT_HASH_SET
20935 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
20936 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
20937 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
20938 echo $ECHO_N "(cached) $ECHO_C" >&6
20944 ac_cpp='$CXXCPP $CPPFLAGS'
20945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20949 cat >conftest.$ac_ext <<_ACEOF
20950 #line $LINENO "configure"
20953 cat confdefs.h >>conftest.$ac_ext
20954 cat >>conftest.$ac_ext <<_ACEOF
20955 /* end confdefs.h. */
20956 #include <ext/slist>
20957 #ifdef HAVE_NAMESPACES
20958 using namespace std;
20963 slist<int> s; return 0;
20968 rm -f conftest.$ac_objext
20969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20970 (eval $ac_compile) 2>&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); } &&
20974 { ac_try='test -s conftest.$ac_objext'
20975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20976 (eval $ac_try) 2>&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); }; }; then
20980 ac_cv_cxx_have_ext_slist=std
20982 echo "$as_me: failed program was:" >&5
20983 sed 's/^/| /' conftest.$ac_ext >&5
20985 ac_cv_cxx_have_ext_slist=no
20987 rm -f conftest.$ac_objext conftest.$ac_ext
20988 cat >conftest.$ac_ext <<_ACEOF
20989 #line $LINENO "configure"
20992 cat confdefs.h >>conftest.$ac_ext
20993 cat >>conftest.$ac_ext <<_ACEOF
20994 /* end confdefs.h. */
20995 #include <ext/slist>
20996 #ifdef HAVE_NAMESPACES
20997 using namespace __gnu_cxx;
21002 slist<int> s; return 0;
21007 rm -f conftest.$ac_objext
21008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21009 (eval $ac_compile) 2>&5
21011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012 (exit $ac_status); } &&
21013 { ac_try='test -s conftest.$ac_objext'
21014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21015 (eval $ac_try) 2>&5
21017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 (exit $ac_status); }; }; then
21019 ac_cv_cxx_have_ext_slist=gnu
21021 echo "$as_me: failed program was:" >&5
21022 sed 's/^/| /' conftest.$ac_ext >&5
21024 ac_cv_cxx_have_ext_slist=no
21026 rm -f conftest.$ac_objext conftest.$ac_ext
21029 ac_cpp='$CPP $CPPFLAGS'
21030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21036 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21037 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21038 if test "$ac_cv_cxx_have_ext_slist" = std; then
21040 cat >>confdefs.h <<\_ACEOF
21041 #define HAVE_EXT_SLIST std
21045 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21047 cat >>confdefs.h <<\_ACEOF
21048 #define HAVE_EXT_SLIST gnu
21053 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21054 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21055 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21056 echo $ECHO_N "(cached) $ECHO_C" >&6
21062 ac_cpp='$CXXCPP $CPPFLAGS'
21063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21067 cat >conftest.$ac_ext <<_ACEOF
21068 #line $LINENO "configure"
21071 cat confdefs.h >>conftest.$ac_ext
21072 cat >>conftest.$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074 #include <iterator>
21075 #ifdef HAVE_NAMESPACES
21076 using namespace std;
21081 iterator<int,int,int> t; return 0;
21086 rm -f conftest.$ac_objext
21087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21088 (eval $ac_compile) 2>&5
21090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); } &&
21092 { ac_try='test -s conftest.$ac_objext'
21093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21094 (eval $ac_try) 2>&5
21096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21097 (exit $ac_status); }; }; then
21098 ac_cv_cxx_have_std_iterator=yes
21100 echo "$as_me: failed program was:" >&5
21101 sed 's/^/| /' conftest.$ac_ext >&5
21103 ac_cv_cxx_have_std_iterator=no
21105 rm -f conftest.$ac_objext conftest.$ac_ext
21107 ac_cpp='$CPP $CPPFLAGS'
21108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21114 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21115 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21116 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21118 cat >>confdefs.h <<\_ACEOF
21119 #define HAVE_STD_ITERATOR
21124 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21125 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21126 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21127 echo $ECHO_N "(cached) $ECHO_C" >&6
21133 ac_cpp='$CXXCPP $CPPFLAGS'
21134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21138 cat >conftest.$ac_ext <<_ACEOF
21139 #line $LINENO "configure"
21142 cat confdefs.h >>conftest.$ac_ext
21143 cat >>conftest.$ac_ext <<_ACEOF
21144 /* end confdefs.h. */
21145 #include <iterator>
21146 #ifdef HAVE_NAMESPACES
21147 using namespace std;
21152 bidirectional_iterator<int,int> t; return 0;
21157 rm -f conftest.$ac_objext
21158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21159 (eval $ac_compile) 2>&5
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); } &&
21163 { ac_try='test -s conftest.$ac_objext'
21164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21165 (eval $ac_try) 2>&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); }; }; then
21169 ac_cv_cxx_have_bi_iterator=yes
21171 echo "$as_me: failed program was:" >&5
21172 sed 's/^/| /' conftest.$ac_ext >&5
21174 ac_cv_cxx_have_bi_iterator=no
21176 rm -f conftest.$ac_objext conftest.$ac_ext
21178 ac_cpp='$CPP $CPPFLAGS'
21179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21185 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21186 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21187 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21189 cat >>confdefs.h <<\_ACEOF
21190 #define HAVE_BI_ITERATOR
21195 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21196 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21197 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21198 echo $ECHO_N "(cached) $ECHO_C" >&6
21204 ac_cpp='$CXXCPP $CPPFLAGS'
21205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21209 cat >conftest.$ac_ext <<_ACEOF
21210 #line $LINENO "configure"
21213 cat confdefs.h >>conftest.$ac_ext
21214 cat >>conftest.$ac_ext <<_ACEOF
21215 /* end confdefs.h. */
21216 #include <iterator>
21217 #ifdef HAVE_NAMESPACES
21218 using namespace std;
21223 forward_iterator<int,int> t; return 0;
21228 rm -f conftest.$ac_objext
21229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21230 (eval $ac_compile) 2>&5
21232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 (exit $ac_status); } &&
21234 { ac_try='test -s conftest.$ac_objext'
21235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21236 (eval $ac_try) 2>&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); }; }; then
21240 ac_cv_cxx_have_fwd_iterator=yes
21242 echo "$as_me: failed program was:" >&5
21243 sed 's/^/| /' conftest.$ac_ext >&5
21245 ac_cv_cxx_have_fwd_iterator=no
21247 rm -f conftest.$ac_objext conftest.$ac_ext
21249 ac_cpp='$CPP $CPPFLAGS'
21250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21256 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21257 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21258 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21260 cat >>confdefs.h <<\_ACEOF
21261 #define HAVE_FWD_ITERATOR
21267 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21268 # for constant arguments. Useless!
21269 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21270 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21271 if test "${ac_cv_working_alloca_h+set}" = set; then
21272 echo $ECHO_N "(cached) $ECHO_C" >&6
21274 cat >conftest.$ac_ext <<_ACEOF
21275 #line $LINENO "configure"
21278 cat confdefs.h >>conftest.$ac_ext
21279 cat >>conftest.$ac_ext <<_ACEOF
21280 /* end confdefs.h. */
21281 #include <alloca.h>
21285 char *p = (char *) alloca (2 * sizeof (int));
21290 rm -f conftest.$ac_objext conftest$ac_exeext
21291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21292 (eval $ac_link) 2>&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } &&
21296 { ac_try='test -s conftest$ac_exeext'
21297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21298 (eval $ac_try) 2>&5
21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301 (exit $ac_status); }; }; then
21302 ac_cv_working_alloca_h=yes
21304 echo "$as_me: failed program was:" >&5
21305 sed 's/^/| /' conftest.$ac_ext >&5
21307 ac_cv_working_alloca_h=no
21309 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21311 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21312 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21313 if test $ac_cv_working_alloca_h = yes; then
21315 cat >>confdefs.h <<\_ACEOF
21316 #define HAVE_ALLOCA_H 1
21321 echo "$as_me:$LINENO: checking for alloca" >&5
21322 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21323 if test "${ac_cv_func_alloca_works+set}" = set; then
21324 echo $ECHO_N "(cached) $ECHO_C" >&6
21326 cat >conftest.$ac_ext <<_ACEOF
21327 #line $LINENO "configure"
21330 cat confdefs.h >>conftest.$ac_ext
21331 cat >>conftest.$ac_ext <<_ACEOF
21332 /* end confdefs.h. */
21334 # define alloca __builtin_alloca
21337 # include <malloc.h>
21338 # define alloca _alloca
21341 # include <alloca.h>
21346 # ifndef alloca /* predefined by HP cc +Olibcalls */
21357 char *p = (char *) alloca (1);
21362 rm -f conftest.$ac_objext conftest$ac_exeext
21363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21364 (eval $ac_link) 2>&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); } &&
21368 { ac_try='test -s conftest$ac_exeext'
21369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21370 (eval $ac_try) 2>&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); }; }; then
21374 ac_cv_func_alloca_works=yes
21376 echo "$as_me: failed program was:" >&5
21377 sed 's/^/| /' conftest.$ac_ext >&5
21379 ac_cv_func_alloca_works=no
21381 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21383 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21384 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21386 if test $ac_cv_func_alloca_works = yes; then
21388 cat >>confdefs.h <<\_ACEOF
21389 #define HAVE_ALLOCA 1
21393 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21394 # that cause trouble. Some versions do not even contain alloca or
21395 # contain a buggy version. If you still want to use their alloca,
21396 # use ar to extract alloca.o from them instead of compiling alloca.c.
21398 ALLOCA=alloca.$ac_objext
21400 cat >>confdefs.h <<\_ACEOF
21405 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21406 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21407 if test "${ac_cv_os_cray+set}" = set; then
21408 echo $ECHO_N "(cached) $ECHO_C" >&6
21410 cat >conftest.$ac_ext <<_ACEOF
21411 #line $LINENO "configure"
21414 cat confdefs.h >>conftest.$ac_ext
21415 cat >>conftest.$ac_ext <<_ACEOF
21416 /* end confdefs.h. */
21417 #if defined(CRAY) && ! defined(CRAY2)
21424 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21425 $EGREP "webecray" >/dev/null 2>&1; then
21433 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21434 echo "${ECHO_T}$ac_cv_os_cray" >&6
21435 if test $ac_cv_os_cray = yes; then
21436 for ac_func in _getb67 GETB67 getb67; do
21437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21438 echo "$as_me:$LINENO: checking for $ac_func" >&5
21439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21440 if eval "test \"\${$as_ac_var+set}\" = set"; then
21441 echo $ECHO_N "(cached) $ECHO_C" >&6
21443 cat >conftest.$ac_ext <<_ACEOF
21444 #line $LINENO "configure"
21447 cat confdefs.h >>conftest.$ac_ext
21448 cat >>conftest.$ac_ext <<_ACEOF
21449 /* end confdefs.h. */
21450 /* System header to define __stub macros and hopefully few prototypes,
21451 which can conflict with char $ac_func (); below.
21452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21453 <limits.h> exists even on freestanding compilers. */
21455 # include <limits.h>
21457 # include <assert.h>
21459 /* Override any gcc2 internal prototype to avoid an error. */
21464 /* We use char because int might match the return type of a gcc2
21465 builtin and then its argument prototype would still apply. */
21467 /* The GNU C library defines this for functions which it implements
21468 to always fail with ENOSYS. Some functions are actually named
21469 something starting with __ and the normal name is an alias. */
21470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21473 char (*f) () = $ac_func;
21482 return f != $ac_func;
21487 rm -f conftest.$ac_objext conftest$ac_exeext
21488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21489 (eval $ac_link) 2>&5
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); } &&
21493 { ac_try='test -s conftest$ac_exeext'
21494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21495 (eval $ac_try) 2>&5
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); }; }; then
21499 eval "$as_ac_var=yes"
21501 echo "$as_me: failed program was:" >&5
21502 sed 's/^/| /' conftest.$ac_ext >&5
21504 eval "$as_ac_var=no"
21506 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21510 if test `eval echo '${'$as_ac_var'}'` = yes; then
21512 cat >>confdefs.h <<_ACEOF
21513 #define CRAY_STACKSEG_END $ac_func
21522 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21523 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21524 if test "${ac_cv_c_stack_direction+set}" = set; then
21525 echo $ECHO_N "(cached) $ECHO_C" >&6
21527 if test "$cross_compiling" = yes; then
21528 ac_cv_c_stack_direction=0
21530 cat >conftest.$ac_ext <<_ACEOF
21531 #line $LINENO "configure"
21534 cat confdefs.h >>conftest.$ac_ext
21535 cat >>conftest.$ac_ext <<_ACEOF
21536 /* end confdefs.h. */
21538 find_stack_direction ()
21540 static char *addr = 0;
21545 return find_stack_direction ();
21548 return (&dummy > addr) ? 1 : -1;
21554 exit (find_stack_direction () < 0);
21557 rm -f conftest$ac_exeext
21558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21559 (eval $ac_link) 2>&5
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21564 (eval $ac_try) 2>&5
21566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21567 (exit $ac_status); }; }; then
21568 ac_cv_c_stack_direction=1
21570 echo "$as_me: program exited with status $ac_status" >&5
21571 echo "$as_me: failed program was:" >&5
21572 sed 's/^/| /' conftest.$ac_ext >&5
21574 ( exit $ac_status )
21575 ac_cv_c_stack_direction=-1
21577 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21580 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21581 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21583 cat >>confdefs.h <<_ACEOF
21584 #define STACK_DIRECTION $ac_cv_c_stack_direction
21590 if test $ac_cv_c_compiler_gnu = yes; then
21591 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21592 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21593 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21594 echo $ECHO_N "(cached) $ECHO_C" >&6
21596 ac_pattern="Autoconf.*'x'"
21597 cat >conftest.$ac_ext <<_ACEOF
21598 #line $LINENO "configure"
21601 cat confdefs.h >>conftest.$ac_ext
21602 cat >>conftest.$ac_ext <<_ACEOF
21603 /* end confdefs.h. */
21607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21608 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21609 ac_cv_prog_gcc_traditional=yes
21611 ac_cv_prog_gcc_traditional=no
21616 if test $ac_cv_prog_gcc_traditional = no; then
21617 cat >conftest.$ac_ext <<_ACEOF
21618 #line $LINENO "configure"
21621 cat confdefs.h >>conftest.$ac_ext
21622 cat >>conftest.$ac_ext <<_ACEOF
21623 /* end confdefs.h. */
21624 #include <termio.h>
21627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21628 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21629 ac_cv_prog_gcc_traditional=yes
21635 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21636 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21637 if test $ac_cv_prog_gcc_traditional = yes; then
21638 CC="$CC -traditional"
21642 echo "$as_me:$LINENO: checking for working memcmp" >&5
21643 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21644 if test "${ac_cv_func_memcmp_working+set}" = set; then
21645 echo $ECHO_N "(cached) $ECHO_C" >&6
21647 if test "$cross_compiling" = yes; then
21648 ac_cv_func_memcmp_working=no
21650 cat >conftest.$ac_ext <<_ACEOF
21651 #line $LINENO "configure"
21654 cat confdefs.h >>conftest.$ac_ext
21655 cat >>conftest.$ac_ext <<_ACEOF
21656 /* end confdefs.h. */
21662 /* Some versions of memcmp are not 8-bit clean. */
21663 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21664 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21667 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21668 or more and with at least one buffer not starting on a 4-byte boundary.
21669 William Lewis provided this test program. */
21674 for (i = 0; i < 4; i++)
21678 strcpy (a, "--------01111111");
21679 strcpy (b, "--------10000000");
21680 if (memcmp (a, b, 16) >= 0)
21690 rm -f conftest$ac_exeext
21691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21692 (eval $ac_link) 2>&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21697 (eval $ac_try) 2>&5
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); }; }; then
21701 ac_cv_func_memcmp_working=yes
21703 echo "$as_me: program exited with status $ac_status" >&5
21704 echo "$as_me: failed program was:" >&5
21705 sed 's/^/| /' conftest.$ac_ext >&5
21707 ( exit $ac_status )
21708 ac_cv_func_memcmp_working=no
21710 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21713 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21714 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21715 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21719 for ac_header in stdlib.h unistd.h
21721 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21723 echo "$as_me:$LINENO: checking for $ac_header" >&5
21724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21726 echo $ECHO_N "(cached) $ECHO_C" >&6
21728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21731 # Is the header compilable?
21732 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21733 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21734 cat >conftest.$ac_ext <<_ACEOF
21735 #line $LINENO "configure"
21738 cat confdefs.h >>conftest.$ac_ext
21739 cat >>conftest.$ac_ext <<_ACEOF
21740 /* end confdefs.h. */
21741 $ac_includes_default
21742 #include <$ac_header>
21744 rm -f conftest.$ac_objext
21745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21746 (eval $ac_compile) 2>&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); } &&
21750 { ac_try='test -s conftest.$ac_objext'
21751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21752 (eval $ac_try) 2>&5
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); }; }; then
21756 ac_header_compiler=yes
21758 echo "$as_me: failed program was:" >&5
21759 sed 's/^/| /' conftest.$ac_ext >&5
21761 ac_header_compiler=no
21763 rm -f conftest.$ac_objext conftest.$ac_ext
21764 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21765 echo "${ECHO_T}$ac_header_compiler" >&6
21767 # Is the header present?
21768 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21769 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21770 cat >conftest.$ac_ext <<_ACEOF
21771 #line $LINENO "configure"
21774 cat confdefs.h >>conftest.$ac_ext
21775 cat >>conftest.$ac_ext <<_ACEOF
21776 /* end confdefs.h. */
21777 #include <$ac_header>
21779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21780 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21782 grep -v '^ *+' conftest.er1 >conftest.err
21784 cat conftest.err >&5
21785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21786 (exit $ac_status); } >/dev/null; then
21787 if test -s conftest.err; then
21788 ac_cpp_err=$ac_c_preproc_warn_flag
21795 if test -z "$ac_cpp_err"; then
21796 ac_header_preproc=yes
21798 echo "$as_me: failed program was:" >&5
21799 sed 's/^/| /' conftest.$ac_ext >&5
21801 ac_header_preproc=no
21803 rm -f conftest.err conftest.$ac_ext
21804 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21805 echo "${ECHO_T}$ac_header_preproc" >&6
21807 # So? What about this header?
21808 case $ac_header_compiler:$ac_header_preproc in
21810 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21811 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21812 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21813 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21816 ## ------------------------------------ ##
21817 ## Report this to bug-autoconf@gnu.org. ##
21818 ## ------------------------------------ ##
21821 sed "s/^/$as_me: WARNING: /" >&2
21824 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21825 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21826 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21827 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21829 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21832 ## ------------------------------------ ##
21833 ## Report this to bug-autoconf@gnu.org. ##
21834 ## ------------------------------------ ##
21837 sed "s/^/$as_me: WARNING: /" >&2
21840 echo "$as_me:$LINENO: checking for $ac_header" >&5
21841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21843 echo $ECHO_N "(cached) $ECHO_C" >&6
21845 eval "$as_ac_Header=$ac_header_preproc"
21847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21851 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21852 cat >>confdefs.h <<_ACEOF
21853 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21861 for ac_func in getpagesize
21863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21864 echo "$as_me:$LINENO: checking for $ac_func" >&5
21865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21866 if eval "test \"\${$as_ac_var+set}\" = set"; then
21867 echo $ECHO_N "(cached) $ECHO_C" >&6
21869 cat >conftest.$ac_ext <<_ACEOF
21870 #line $LINENO "configure"
21873 cat confdefs.h >>conftest.$ac_ext
21874 cat >>conftest.$ac_ext <<_ACEOF
21875 /* end confdefs.h. */
21876 /* System header to define __stub macros and hopefully few prototypes,
21877 which can conflict with char $ac_func (); below.
21878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21879 <limits.h> exists even on freestanding compilers. */
21881 # include <limits.h>
21883 # include <assert.h>
21885 /* Override any gcc2 internal prototype to avoid an error. */
21890 /* We use char because int might match the return type of a gcc2
21891 builtin and then its argument prototype would still apply. */
21893 /* The GNU C library defines this for functions which it implements
21894 to always fail with ENOSYS. Some functions are actually named
21895 something starting with __ and the normal name is an alias. */
21896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21899 char (*f) () = $ac_func;
21908 return f != $ac_func;
21913 rm -f conftest.$ac_objext conftest$ac_exeext
21914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21915 (eval $ac_link) 2>&5
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); } &&
21919 { ac_try='test -s conftest$ac_exeext'
21920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21921 (eval $ac_try) 2>&5
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); }; }; then
21925 eval "$as_ac_var=yes"
21927 echo "$as_me: failed program was:" >&5
21928 sed 's/^/| /' conftest.$ac_ext >&5
21930 eval "$as_ac_var=no"
21932 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21936 if test `eval echo '${'$as_ac_var'}'` = yes; then
21937 cat >>confdefs.h <<_ACEOF
21938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21944 echo "$as_me:$LINENO: checking for working mmap" >&5
21945 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
21946 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
21947 echo $ECHO_N "(cached) $ECHO_C" >&6
21949 if test "$cross_compiling" = yes; then
21950 ac_cv_func_mmap_fixed_mapped=no
21952 cat >conftest.$ac_ext <<_ACEOF
21953 #line $LINENO "configure"
21956 cat confdefs.h >>conftest.$ac_ext
21957 cat >>conftest.$ac_ext <<_ACEOF
21958 /* end confdefs.h. */
21959 $ac_includes_default
21960 /* malloc might have been renamed as rpl_malloc. */
21963 /* Thanks to Mike Haertel and Jim Avera for this test.
21964 Here is a matrix of mmap possibilities:
21965 mmap private not fixed
21966 mmap private fixed at somewhere currently unmapped
21967 mmap private fixed at somewhere already mapped
21968 mmap shared not fixed
21969 mmap shared fixed at somewhere currently unmapped
21970 mmap shared fixed at somewhere already mapped
21971 For private mappings, we should verify that changes cannot be read()
21972 back from the file, nor mmap's back from the file at a different
21973 address. (There have been systems where private was not correctly
21974 implemented like the infamous i386 svr4.0, and systems where the
21975 VM page cache was not coherent with the file system buffer cache
21976 like early versions of FreeBSD and possibly contemporary NetBSD.)
21977 For shared mappings, we should conversely verify that changes get
21978 propagated back to all the places they're supposed to be.
21980 Grep wants private fixed already mapped.
21981 The main things grep needs to know about mmap are:
21982 * does it exist and is it safe to write into the mmap'd area
21983 * how to use it (BSD variants) */
21986 #include <sys/mman.h>
21988 #if !STDC_HEADERS && !HAVE_STDLIB_H
21992 /* This mess was copied from the GNU getpagesize.h. */
21993 #if !HAVE_GETPAGESIZE
21994 /* Assume that all systems that can run configure have sys/param.h. */
21995 # if !HAVE_SYS_PARAM_H
21996 # define HAVE_SYS_PARAM_H 1
21999 # ifdef _SC_PAGESIZE
22000 # define getpagesize() sysconf(_SC_PAGESIZE)
22001 # else /* no _SC_PAGESIZE */
22002 # if HAVE_SYS_PARAM_H
22003 # include <sys/param.h>
22004 # ifdef EXEC_PAGESIZE
22005 # define getpagesize() EXEC_PAGESIZE
22006 # else /* no EXEC_PAGESIZE */
22008 # define getpagesize() NBPG * CLSIZE
22011 # endif /* no CLSIZE */
22012 # else /* no NBPG */
22014 # define getpagesize() NBPC
22015 # else /* no NBPC */
22017 # define getpagesize() PAGESIZE
22018 # endif /* PAGESIZE */
22019 # endif /* no NBPC */
22020 # endif /* no NBPG */
22021 # endif /* no EXEC_PAGESIZE */
22022 # else /* no HAVE_SYS_PARAM_H */
22023 # define getpagesize() 8192 /* punt totally */
22024 # endif /* no HAVE_SYS_PARAM_H */
22025 # endif /* no _SC_PAGESIZE */
22027 #endif /* no HAVE_GETPAGESIZE */
22032 char *data, *data2, *data3;
22036 pagesize = getpagesize ();
22038 /* First, make a file with some known garbage in it. */
22039 data = (char *) malloc (pagesize);
22042 for (i = 0; i < pagesize; ++i)
22043 *(data + i) = rand ();
22045 fd = creat ("conftest.mmap", 0600);
22048 if (write (fd, data, pagesize) != pagesize)
22052 /* Next, try to mmap the file at a fixed address which already has
22053 something else allocated at it. If we can, also make sure that
22054 we see the same garbage. */
22055 fd = open ("conftest.mmap", O_RDWR);
22058 data2 = (char *) malloc (2 * pagesize);
22061 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22062 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22063 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22065 for (i = 0; i < pagesize; ++i)
22066 if (*(data + i) != *(data2 + i))
22069 /* Finally, make sure that changes to the mapped area do not
22070 percolate back to the file as seen by read(). (This is a bug on
22071 some variants of i386 svr4.0.) */
22072 for (i = 0; i < pagesize; ++i)
22073 *(data2 + i) = *(data2 + i) + 1;
22074 data3 = (char *) malloc (pagesize);
22077 if (read (fd, data3, pagesize) != pagesize)
22079 for (i = 0; i < pagesize; ++i)
22080 if (*(data + i) != *(data3 + i))
22086 rm -f conftest$ac_exeext
22087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22088 (eval $ac_link) 2>&5
22090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22091 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22093 (eval $ac_try) 2>&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); }; }; then
22097 ac_cv_func_mmap_fixed_mapped=yes
22099 echo "$as_me: program exited with status $ac_status" >&5
22100 echo "$as_me: failed program was:" >&5
22101 sed 's/^/| /' conftest.$ac_ext >&5
22103 ( exit $ac_status )
22104 ac_cv_func_mmap_fixed_mapped=no
22106 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22109 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22110 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22111 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22113 cat >>confdefs.h <<\_ACEOF
22114 #define HAVE_MMAP 1
22118 rm -f conftest.mmap
22120 echo "$as_me:$LINENO: checking for mmap of files" >&5
22121 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22122 if test "${ac_cv_func_mmap_file+set}" = set; then
22123 echo $ECHO_N "(cached) $ECHO_C" >&6
22128 ac_cpp='$CPP $CPPFLAGS'
22129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22133 if test "$cross_compiling" = yes; then
22134 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22135 See \`config.log' for more details." >&5
22136 echo "$as_me: error: cannot run test program while cross compiling
22137 See \`config.log' for more details." >&2;}
22138 { (exit 1); exit 1; }; }
22140 cat >conftest.$ac_ext <<_ACEOF
22141 #line $LINENO "configure"
22144 cat confdefs.h >>conftest.$ac_ext
22145 cat >>conftest.$ac_ext <<_ACEOF
22146 /* end confdefs.h. */
22148 #ifdef HAVE_SYS_MMAN_H
22149 #include <sys/mman.h>
22152 #ifdef HAVE_SYS_TYPES_H
22153 #include <sys/types.h>
22156 #ifdef HAVE_FCNTL_H
22162 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22164 rm -f conftest$ac_exeext
22165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22166 (eval $ac_link) 2>&5
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22171 (eval $ac_try) 2>&5
22173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22174 (exit $ac_status); }; }; then
22175 ac_cv_func_mmap_file=yes
22177 echo "$as_me: program exited with status $ac_status" >&5
22178 echo "$as_me: failed program was:" >&5
22179 sed 's/^/| /' conftest.$ac_ext >&5
22181 ( exit $ac_status )
22182 ac_cv_func_mmap_file=no
22184 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22187 ac_cpp='$CPP $CPPFLAGS'
22188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22194 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22195 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22196 if test "$ac_cv_func_mmap_file" = yes; then
22197 cat >>confdefs.h <<\_ACEOF
22198 #define HAVE_MMAP_FILE 1
22205 if test ${ac_cv_func_mmap_file} = "no"
22207 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22208 echo "$as_me: error: mmap() of files required but not found" >&2;}
22209 { (exit 1); exit 1; }; }
22211 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22212 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22213 if test "${ac_cv_header_mmap_anon+set}" = set; then
22214 echo $ECHO_N "(cached) $ECHO_C" >&6
22219 ac_cpp='$CPP $CPPFLAGS'
22220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22224 cat >conftest.$ac_ext <<_ACEOF
22225 #line $LINENO "configure"
22228 cat confdefs.h >>conftest.$ac_ext
22229 cat >>conftest.$ac_ext <<_ACEOF
22230 /* end confdefs.h. */
22231 #include <sys/mman.h>
22232 #include <unistd.h>
22237 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22242 rm -f conftest.$ac_objext
22243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22244 (eval $ac_compile) 2>&5
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); } &&
22248 { ac_try='test -s conftest.$ac_objext'
22249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22250 (eval $ac_try) 2>&5
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); }; }; then
22254 ac_cv_header_mmap_anon=yes
22256 echo "$as_me: failed program was:" >&5
22257 sed 's/^/| /' conftest.$ac_ext >&5
22259 ac_cv_header_mmap_anon=no
22261 rm -f conftest.$ac_objext conftest.$ac_ext
22263 ac_cpp='$CPP $CPPFLAGS'
22264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22270 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22271 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22272 if test "$ac_cv_header_mmap_anon" = yes; then
22273 cat >>confdefs.h <<\_ACEOF
22274 #define HAVE_MMAP_ANONYMOUS 1
22279 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22280 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22281 if test "${ac_cv_type_signal+set}" = set; then
22282 echo $ECHO_N "(cached) $ECHO_C" >&6
22284 cat >conftest.$ac_ext <<_ACEOF
22285 #line $LINENO "configure"
22288 cat confdefs.h >>conftest.$ac_ext
22289 cat >>conftest.$ac_ext <<_ACEOF
22290 /* end confdefs.h. */
22291 #include <sys/types.h>
22292 #include <signal.h>
22297 extern "C" void (*signal (int, void (*)(int)))(int);
22299 void (*signal ()) ();
22310 rm -f conftest.$ac_objext
22311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22312 (eval $ac_compile) 2>&5
22314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22315 (exit $ac_status); } &&
22316 { ac_try='test -s conftest.$ac_objext'
22317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22318 (eval $ac_try) 2>&5
22320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22321 (exit $ac_status); }; }; then
22322 ac_cv_type_signal=void
22324 echo "$as_me: failed program was:" >&5
22325 sed 's/^/| /' conftest.$ac_ext >&5
22327 ac_cv_type_signal=int
22329 rm -f conftest.$ac_objext conftest.$ac_ext
22331 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22332 echo "${ECHO_T}$ac_cv_type_signal" >&6
22334 cat >>confdefs.h <<_ACEOF
22335 #define RETSIGTYPE $ac_cv_type_signal
22348 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
22350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22351 echo "$as_me:$LINENO: checking for $ac_func" >&5
22352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22353 if eval "test \"\${$as_ac_var+set}\" = set"; then
22354 echo $ECHO_N "(cached) $ECHO_C" >&6
22356 cat >conftest.$ac_ext <<_ACEOF
22357 #line $LINENO "configure"
22360 cat confdefs.h >>conftest.$ac_ext
22361 cat >>conftest.$ac_ext <<_ACEOF
22362 /* end confdefs.h. */
22363 /* System header to define __stub macros and hopefully few prototypes,
22364 which can conflict with char $ac_func (); below.
22365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22366 <limits.h> exists even on freestanding compilers. */
22368 # include <limits.h>
22370 # include <assert.h>
22372 /* Override any gcc2 internal prototype to avoid an error. */
22377 /* We use char because int might match the return type of a gcc2
22378 builtin and then its argument prototype would still apply. */
22380 /* The GNU C library defines this for functions which it implements
22381 to always fail with ENOSYS. Some functions are actually named
22382 something starting with __ and the normal name is an alias. */
22383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22386 char (*f) () = $ac_func;
22395 return f != $ac_func;
22400 rm -f conftest.$ac_objext conftest$ac_exeext
22401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22402 (eval $ac_link) 2>&5
22404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22405 (exit $ac_status); } &&
22406 { ac_try='test -s conftest$ac_exeext'
22407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22408 (eval $ac_try) 2>&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); }; }; then
22412 eval "$as_ac_var=yes"
22414 echo "$as_me: failed program was:" >&5
22415 sed 's/^/| /' conftest.$ac_ext >&5
22417 eval "$as_ac_var=no"
22419 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22423 if test `eval echo '${'$as_ac_var'}'` = yes; then
22424 cat >>confdefs.h <<_ACEOF
22425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22433 echo "$as_me:$LINENO: checking for mmap" >&5
22434 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22435 if test "${ac_cv_func_mmap+set}" = set; then
22436 echo $ECHO_N "(cached) $ECHO_C" >&6
22438 cat >conftest.$ac_ext <<_ACEOF
22439 #line $LINENO "configure"
22442 cat confdefs.h >>conftest.$ac_ext
22443 cat >>conftest.$ac_ext <<_ACEOF
22444 /* end confdefs.h. */
22445 /* System header to define __stub macros and hopefully few prototypes,
22446 which can conflict with char mmap (); below.
22447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22448 <limits.h> exists even on freestanding compilers. */
22450 # include <limits.h>
22452 # include <assert.h>
22454 /* Override any gcc2 internal prototype to avoid an error. */
22459 /* We use char because int might match the return type of a gcc2
22460 builtin and then its argument prototype would still apply. */
22462 /* The GNU C library defines this for functions which it implements
22463 to always fail with ENOSYS. Some functions are actually named
22464 something starting with __ and the normal name is an alias. */
22465 #if defined (__stub_mmap) || defined (__stub___mmap)
22468 char (*f) () = mmap;
22482 rm -f conftest.$ac_objext conftest$ac_exeext
22483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22484 (eval $ac_link) 2>&5
22486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22487 (exit $ac_status); } &&
22488 { ac_try='test -s conftest$ac_exeext'
22489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22490 (eval $ac_try) 2>&5
22492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22493 (exit $ac_status); }; }; then
22494 ac_cv_func_mmap=yes
22496 echo "$as_me: failed program was:" >&5
22497 sed 's/^/| /' conftest.$ac_ext >&5
22501 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22503 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22504 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22505 if test $ac_cv_func_mmap = yes; then
22508 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22509 echo "$as_me: error: Function mmap() required but not found" >&2;}
22510 { (exit 1); exit 1; }; }
22513 echo "$as_me:$LINENO: checking for mprotect" >&5
22514 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22515 if test "${ac_cv_func_mprotect+set}" = set; then
22516 echo $ECHO_N "(cached) $ECHO_C" >&6
22518 cat >conftest.$ac_ext <<_ACEOF
22519 #line $LINENO "configure"
22522 cat confdefs.h >>conftest.$ac_ext
22523 cat >>conftest.$ac_ext <<_ACEOF
22524 /* end confdefs.h. */
22525 /* System header to define __stub macros and hopefully few prototypes,
22526 which can conflict with char mprotect (); below.
22527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22528 <limits.h> exists even on freestanding compilers. */
22530 # include <limits.h>
22532 # include <assert.h>
22534 /* Override any gcc2 internal prototype to avoid an error. */
22539 /* We use char because int might match the return type of a gcc2
22540 builtin and then its argument prototype would still apply. */
22542 /* The GNU C library defines this for functions which it implements
22543 to always fail with ENOSYS. Some functions are actually named
22544 something starting with __ and the normal name is an alias. */
22545 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22548 char (*f) () = mprotect;
22557 return f != mprotect;
22562 rm -f conftest.$ac_objext conftest$ac_exeext
22563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22564 (eval $ac_link) 2>&5
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); } &&
22568 { ac_try='test -s conftest$ac_exeext'
22569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22570 (eval $ac_try) 2>&5
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); }; }; then
22574 ac_cv_func_mprotect=yes
22576 echo "$as_me: failed program was:" >&5
22577 sed 's/^/| /' conftest.$ac_ext >&5
22579 ac_cv_func_mprotect=no
22581 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22583 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22584 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22585 if test $ac_cv_func_mprotect = yes; then
22588 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22589 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22590 { (exit 1); exit 1; }; }
22595 # Check whether --enable-purify or --disable-purify was given.
22596 if test "${enable_purify+set}" = set; then
22597 enableval="$enable_purify"
22602 if test ${enableval} = "no"
22607 ENABLE_PURIFY=ENABLE_PURIFY=1
22611 # Check whether --enable-optimized or --disable-optimized was given.
22612 if test "${enable_optimized+set}" = set; then
22613 enableval="$enable_optimized"
22618 if test ${enableval} = "no"
22623 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22627 # Check whether --enable-spec or --disable-spec was given.
22628 if test "${enable_spec+set}" = set; then
22629 enableval="$enable_spec"
22634 if test ${enableval} = "no"
22639 USE_SPEC=USE_SPEC=1
22643 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22644 if test "${enable_precompiled_bytecode+set}" = set; then
22645 enableval="$enable_precompiled_bytecode"
22650 if test ${enableval} = "no"
22655 UPB=USE_PRECOMPILED_BYTECODE=1
22660 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22661 if test "${enable_llc_diffs+set}" = set; then
22662 enableval="$enable_llc_diffs"
22667 if test ${enableval} = "no"
22669 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22676 # Check whether --enable-jit or --disable-jit was given.
22677 if test "${enable_jit+set}" = set; then
22678 enableval="$enable_jit"
22684 if test ${enableval} = "no"
22691 JIT=TARGET_HAS_JIT=1
22695 JIT=TARGET_HAS_JIT=1
22707 # Check whether --with-spec or --without-spec was given.
22708 if test "${with_spec+set}" = set; then
22709 withval="$with_spec"
22713 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22718 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22719 if test "${with_llvmgccdir+set}" = set; then
22720 withval="$with_llvmgccdir"
22721 LLVMGCCDIR=$withval
22726 # Check whether --with-bcrepos or --without-bcrepos was given.
22727 if test "${with_bcrepos+set}" = set; then
22728 withval="$with_bcrepos"
22732 BCR=/home/vadve/lattner/LLVMPrograms
22737 # Check whether --with-papi or --without-papi was given.
22738 if test "${with_papi+set}" = set; then
22739 withval="$with_papi"
22743 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22748 # Check whether --with-purify or --without-purify was given.
22749 if test "${with_purify+set}" = set; then
22750 withval="$with_purify"
22756 ac_config_files="$ac_config_files Makefile.config"
22757 cat >confcache <<\_ACEOF
22758 # This file is a shell script that caches the results of configure
22759 # tests run on this system so they can be shared between configure
22760 # scripts and configure runs, see configure's option --config-cache.
22761 # It is not useful on other systems. If it contains results you don't
22762 # want to keep, you may remove or edit it.
22764 # config.status only pays attention to the cache file if you give it
22765 # the --recheck option to rerun configure.
22767 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22768 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22769 # following values.
22773 # The following way of writing the cache mishandles newlines in values,
22774 # but we know of no workaround that is simple, portable, and efficient.
22775 # So, don't put newlines in cache variables' values.
22776 # Ultrix sh set writes to stderr and can't be redirected directly,
22777 # and sets the high bit in the cache file unless we assign to the vars.
22780 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22782 # `set' does not quote correctly, so add quotes (double-quote
22783 # substitution turns \\\\ into \\, and sed turns \\ into \).
22786 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22789 # `set' quotes correctly as required by POSIX, so do not add quotes.
22791 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22798 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22800 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22802 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22803 if test -w $cache_file; then
22804 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22805 cat confcache >$cache_file
22807 echo "not updating unwritable cache $cache_file"
22812 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22813 # Let make expand exec_prefix.
22814 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22816 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22817 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22818 # trailing colons and then remove the whole line if VPATH becomes empty
22819 # (actually we leave an empty line to preserve line numbers).
22820 if test "x$srcdir" = x.; then
22821 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22822 s/:*\$(srcdir):*/:/;
22823 s/:*\${srcdir}:*/:/;
22825 s/^\([^=]*=[ ]*\):*/\1/;
22831 DEFS=-DHAVE_CONFIG_H
22835 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22836 # 1. Remove the extension, and $U if already installed.
22837 ac_i=`echo "$ac_i" |
22838 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22840 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22841 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22843 LIBOBJS=$ac_libobjs
22845 LTLIBOBJS=$ac_ltlibobjs
22849 : ${CONFIG_STATUS=./config.status}
22850 ac_clean_files_save=$ac_clean_files
22851 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22852 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22853 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22854 cat >$CONFIG_STATUS <<_ACEOF
22856 # Generated by $as_me.
22857 # Run this file to recreate the current configuration.
22858 # Compiler output produced by configure, useful for debugging
22859 # configure, is in config.log if it exists.
22862 ac_cs_recheck=false
22864 SHELL=\${CONFIG_SHELL-$SHELL}
22867 cat >>$CONFIG_STATUS <<\_ACEOF
22868 ## --------------------- ##
22869 ## M4sh Initialization. ##
22870 ## --------------------- ##
22872 # Be Bourne compatible
22873 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22876 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22877 # is contrary to our usage. Disable this feature.
22878 alias -g '${1+"$@"}'='"$@"'
22879 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22883 # Support unset when possible.
22884 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22891 # Work around bugs in pre-3.0 UWIN ksh.
22892 $as_unset ENV MAIL MAILPATH
22899 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22900 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22901 LC_TELEPHONE LC_TIME
22903 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
22904 eval $as_var=C; export $as_var
22910 # Required to use basename.
22911 if expr a : '\(a\)' >/dev/null 2>&1; then
22917 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
22918 as_basename=basename
22924 # Name of the executable.
22925 as_me=`$as_basename "$0" ||
22926 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22927 X"$0" : 'X\(//\)$' \| \
22928 X"$0" : 'X\(/\)$' \| \
22929 . : '\(.\)' 2>/dev/null ||
22931 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22932 /^X\/\(\/\/\)$/{ s//\1/; q; }
22933 /^X\/\(\/\).*/{ s//\1/; q; }
22937 # PATH needs CR, and LINENO needs CR and PATH.
22938 # Avoid depending upon Character Ranges.
22939 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22940 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22941 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22942 as_cr_digits='0123456789'
22943 as_cr_alnum=$as_cr_Letters$as_cr_digits
22945 # The user is always right.
22946 if test "${PATH_SEPARATOR+set}" != set; then
22947 echo "#! /bin/sh" >conf$$.sh
22948 echo "exit 0" >>conf$$.sh
22950 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22959 as_lineno_1=$LINENO
22960 as_lineno_2=$LINENO
22961 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22962 test "x$as_lineno_1" != "x$as_lineno_2" &&
22963 test "x$as_lineno_3" = "x$as_lineno_2" || {
22964 # Find who we are. Look in the path if we contain no path at all
22967 *[\\/]* ) as_myself=$0 ;;
22968 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22969 for as_dir in $PATH
22972 test -z "$as_dir" && as_dir=.
22973 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22978 # We did not find ourselves, most probably we were run as `sh COMMAND'
22979 # in which case we are not to be found in the path.
22980 if test "x$as_myself" = x; then
22983 if test ! -f "$as_myself"; then
22984 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22985 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22986 { (exit 1); exit 1; }; }
22988 case $CONFIG_SHELL in
22990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22991 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22994 test -z "$as_dir" && as_dir=.
22995 for as_base in sh bash ksh sh5; do
22998 if ("$as_dir/$as_base" -c '
22999 as_lineno_1=$LINENO
23000 as_lineno_2=$LINENO
23001 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23002 test "x$as_lineno_1" != "x$as_lineno_2" &&
23003 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23004 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23005 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23006 CONFIG_SHELL=$as_dir/$as_base
23007 export CONFIG_SHELL
23008 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23016 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23017 # uniformly replaced by the line number. The first 'sed' inserts a
23018 # line-number line before each line; the second 'sed' does the real
23019 # work. The second script uses 'N' to pair each line-number line
23020 # with the numbered line, and appends trailing '-' during
23021 # substitution so that $LINENO is not a special case at line end.
23022 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23023 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23024 sed '=' <$as_myself |
23029 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23032 s,^['$as_cr_digits']*\n,,
23033 ' >$as_me.lineno &&
23034 chmod +x $as_me.lineno ||
23035 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23036 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23037 { (exit 1); exit 1; }; }
23039 # Don't try to exec as it changes $[0], causing all sort of problems
23040 # (the dirname of $[0] is not the place where we might find the
23041 # original and so on. Autoconf is especially sensible to this).
23043 # Exit status is that of the last command.
23048 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23049 *c*,-n*) ECHO_N= ECHO_C='
23051 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23052 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23055 if expr a : '\(a\)' >/dev/null 2>&1; then
23061 rm -f conf$$ conf$$.exe conf$$.file
23063 if ln -s conf$$.file conf$$ 2>/dev/null; then
23064 # We could just check for DJGPP; but this test a) works b) is more generic
23065 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23066 if test -f conf$$.exe; then
23067 # Don't use ln at all; we don't have any links
23072 elif ln conf$$.file conf$$ 2>/dev/null; then
23077 rm -f conf$$ conf$$.exe conf$$.file
23079 if mkdir -p . 2>/dev/null; then
23085 as_executable_p="test -f"
23087 # Sed expression to map a string onto a valid CPP name.
23088 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23090 # Sed expression to map a string onto a valid variable name.
23091 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23095 # We need space, tab and new line, in precisely that order.
23105 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23106 # report actual input values of CONFIG_FILES etc. instead of their
23107 # values after options handling. Logging --version etc. is OK.
23111 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23112 ## Running $as_me. ##
23117 This file was extended by [LLVM] $as_me [1.0], which was
23118 generated by GNU Autoconf 2.57. Invocation command line was
23120 CONFIG_FILES = $CONFIG_FILES
23121 CONFIG_HEADERS = $CONFIG_HEADERS
23122 CONFIG_LINKS = $CONFIG_LINKS
23123 CONFIG_COMMANDS = $CONFIG_COMMANDS
23127 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23131 # Files that config.status was made for.
23132 if test -n "$ac_config_files"; then
23133 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23136 if test -n "$ac_config_headers"; then
23137 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23140 if test -n "$ac_config_links"; then
23141 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23144 if test -n "$ac_config_commands"; then
23145 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23148 cat >>$CONFIG_STATUS <<\_ACEOF
23151 \`$as_me' instantiates files from templates according to the
23152 current configuration.
23154 Usage: $0 [OPTIONS] [FILE]...
23156 -h, --help print this help, then exit
23157 -V, --version print version number, then exit
23158 -q, --quiet do not print progress messages
23159 -d, --debug don't remove temporary files
23160 --recheck update $as_me by reconfiguring in the same conditions
23161 --file=FILE[:TEMPLATE]
23162 instantiate the configuration file FILE
23163 --header=FILE[:TEMPLATE]
23164 instantiate the configuration header FILE
23166 Configuration files:
23169 Configuration headers:
23172 Configuration commands:
23175 Report bugs to <bug-autoconf@gnu.org>."
23178 cat >>$CONFIG_STATUS <<_ACEOF
23180 [LLVM] config.status [1.0]
23181 configured by $0, generated by GNU Autoconf 2.57,
23182 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23184 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23185 Free Software Foundation, Inc.
23186 This config.status script is free software; the Free Software Foundation
23187 gives unlimited permission to copy, distribute and modify it."
23192 cat >>$CONFIG_STATUS <<\_ACEOF
23193 # If no file are specified by the user, then we need to provide default
23194 # value. By we need to know if files were specified by the user.
23200 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23201 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23209 *) # This is not an option, so the user has probably given explicit
23212 ac_need_defaults=false;;
23216 # Handling of the options.
23218 cat >>$CONFIG_STATUS <<\_ACEOF
23219 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23221 --version | --vers* | -V )
23222 echo "$ac_cs_version"; exit 0 ;;
23224 # Conflict between --help and --header
23225 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23226 Try \`$0 --help' for more information." >&5
23227 echo "$as_me: error: ambiguous option: $1
23228 Try \`$0 --help' for more information." >&2;}
23229 { (exit 1); exit 1; }; };;
23230 --help | --hel | -h )
23231 echo "$ac_cs_usage"; exit 0 ;;
23232 --debug | --d* | -d )
23234 --file | --fil | --fi | --f )
23236 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23237 ac_need_defaults=false;;
23238 --header | --heade | --head | --hea )
23240 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23241 ac_need_defaults=false;;
23242 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23243 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23246 # This is an error.
23247 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23248 Try \`$0 --help' for more information." >&5
23249 echo "$as_me: error: unrecognized option: $1
23250 Try \`$0 --help' for more information." >&2;}
23251 { (exit 1); exit 1; }; } ;;
23253 *) ac_config_targets="$ac_config_targets $1" ;;
23259 ac_configure_extra_args=
23261 if $ac_cs_silent; then
23263 ac_configure_extra_args="$ac_configure_extra_args --silent"
23267 cat >>$CONFIG_STATUS <<_ACEOF
23268 if \$ac_cs_recheck; then
23269 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23270 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23275 cat >>$CONFIG_STATUS <<_ACEOF
23277 # INIT-COMMANDS section.
23280 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23281 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23282 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23283 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23284 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23285 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23286 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23287 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23288 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23289 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23290 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23291 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23292 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23293 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23294 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23295 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23296 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23297 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23298 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23299 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23300 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23301 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23302 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23303 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23304 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23305 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23306 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23307 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23308 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23309 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23310 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23311 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23312 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23313 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23314 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23315 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23316 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23317 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23318 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23319 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23320 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23321 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23322 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23323 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23324 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23325 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23326 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23327 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23328 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23329 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23330 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23331 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23332 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23333 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23334 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23335 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23336 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23337 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23338 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23339 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23340 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23341 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23342 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23343 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23344 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23345 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23346 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23347 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23348 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23349 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23350 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23351 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23352 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23353 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23354 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23355 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23356 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23357 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23358 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23359 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23360 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23361 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23362 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23363 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23364 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23365 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23366 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23367 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23368 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23369 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23370 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23371 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23372 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23373 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23374 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23375 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23376 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23377 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23378 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23379 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23380 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23381 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23382 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23383 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23384 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23385 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23386 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23387 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23388 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23389 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23390 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23399 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23400 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23401 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23402 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23403 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23404 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23405 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23415 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23416 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23417 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23418 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23419 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23420 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23421 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23422 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23423 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname tools/link/Makefile`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23458 cat >>$CONFIG_STATUS <<\_ACEOF
23459 for ac_config_target in $ac_config_targets
23461 case "$ac_config_target" in
23462 # Handling of arguments.
23463 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23464 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23465 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23466 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23467 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23468 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23469 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23470 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23471 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23472 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23473 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23474 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23475 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23476 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23477 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23478 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23479 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23480 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23481 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23482 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23483 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23484 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23485 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23486 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23487 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23488 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23489 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23490 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23491 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23492 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23493 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23494 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23495 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23496 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23497 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23498 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23499 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23500 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23501 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23502 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23503 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23504 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23505 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23506 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23507 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23508 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23509 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23510 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23511 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23512 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23513 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23514 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23515 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23516 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23517 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23518 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23519 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23520 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23521 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23522 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23523 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23524 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23525 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23526 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23527 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23528 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23529 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23530 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23531 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23532 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23533 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23534 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23535 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23536 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23537 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23538 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23539 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23540 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23541 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23542 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23543 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23544 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23545 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23546 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23547 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23548 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23549 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23550 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23551 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23552 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23553 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23554 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23555 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23556 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23557 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23558 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23559 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23560 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23561 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23562 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23563 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23564 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23565 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23566 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23567 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23568 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23569 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23570 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23571 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23572 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23573 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23574 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23575 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23576 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23577 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23578 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23579 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23580 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23581 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23582 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23583 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23584 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23585 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23586 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23587 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23588 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23589 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23590 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23591 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23592 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23593 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23594 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23595 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23596 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23597 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23598 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23599 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23600 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23601 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23602 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23603 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23604 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23605 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23606 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23607 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23608 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23609 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23610 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23611 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23612 "tools/link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/link/Makefile" ;;
23613 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23614 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23615 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23616 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23617 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23618 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/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/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24318 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24319 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24320 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24321 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24322 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24323 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24324 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24325 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24326 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24327 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24328 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24329 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24330 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24331 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24332 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24333 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24334 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24335 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24336 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24337 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24338 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24339 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24340 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24341 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24342 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24343 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24344 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24345 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24346 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24347 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 ;;
24348 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 ;;
24349 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 ;;
24350 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 ;;
24351 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 ;;
24352 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 ;;
24353 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 ;;
24354 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 ;;
24355 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 ;;
24356 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 ;;
24357 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 ;;
24358 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 ;;
24359 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 ;;
24360 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 ;;
24361 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 ;;
24362 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 ;;
24363 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24364 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24365 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24366 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24367 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 ;;
24368 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 ;;
24369 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 ;;
24370 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24371 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 ;;
24372 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 ;;
24373 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 ;;
24374 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 ;;
24375 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 ;;
24376 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 ;;
24377 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 ;;
24378 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 ;;
24379 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 ;;
24380 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 ;;
24381 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 ;;
24382 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 ;;
24383 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 ;;
24384 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 ;;
24385 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 ;;
24386 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 ;;
24387 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 ;;
24388 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 ;;
24389 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 ;;
24390 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 ;;
24391 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 ;;
24392 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 ;;
24393 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 ;;
24394 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 ;;
24395 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 ;;
24396 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 ;;
24397 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 ;;
24398 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 ;;
24399 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 ;;
24400 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 ;;
24401 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 ;;
24402 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 ;;
24403 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24404 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24405 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24406 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 ;;
24407 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24408 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24409 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24410 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24411 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24412 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24413 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 ;;
24414 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 ;;
24415 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 ;;
24416 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 ;;
24417 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24418 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24419 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 ;;
24420 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24421 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24422 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24423 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24424 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24425 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24426 tools/link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/link/Makefile tools/link/Makefile ;;
24427 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24428 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24429 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24430 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24431 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24432 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24433 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24434 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24435 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24436 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24437 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24438 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24439 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24440 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24441 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24442 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24443 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24444 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24445 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24446 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24447 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24448 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24449 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24450 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24455 cat >>$CONFIG_STATUS <<\_ACEOF
24457 { (exit 0); exit 0; }
24459 chmod +x $CONFIG_STATUS
24460 ac_clean_files=$ac_clean_files_save
24463 # configure is writing to config.log, and then calls config.status.
24464 # config.status does its own redirection, appending to config.log.
24465 # Unfortunately, on DOS this fails, as config.log is still kept open
24466 # by configure, so config.status won't be able to write to it; its
24467 # output is simply discarded. So we exec the FD to /dev/null,
24468 # effectively closing config.log, so it can be properly (re)opened and
24469 # appended to by config.status. When coming back to configure, we
24470 # need to make the FD available again.
24471 if test "$no_create" != yes; then
24473 ac_config_status_args=
24474 test "$silent" = yes &&
24475 ac_config_status_args="$ac_config_status_args --quiet"
24477 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24479 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24480 # would make configure fail if this is the last instruction.
24481 $ac_cs_success || { (exit 1); exit 1; }