2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for [LLVM] [1.0].
5 # Report bugs to <llvmbugs@cs.uiuc.edu>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236 # We need space, tab and new line, in precisely that order.
246 # Check that we are running under the correct shell.
247 SHELL=${CONFIG_SHELL-/bin/sh}
251 # Remove one level of quotation (which was required for Make).
252 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
257 if test "X$1" = X--no-reexec; then
258 # Discard the --no-reexec flag, and continue.
260 elif test "X$1" = X--fallback-echo; then
261 # Avoid inline document here, it may be left over
263 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
264 # Yippee, $echo works!
267 # Restart under the correct shell.
268 exec $SHELL "$0" --no-reexec ${1+"$@"}
271 if test "X$1" = X--fallback-echo; then
272 # used as fallback echo
280 # The HP-UX ksh and POSIX shell print the target directory to stdout
282 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
284 if test -z "$ECHO"; then
285 if test "X${echo_test_string+set}" != Xset; then
286 # find a string as large as possible, as long as the shell can cope with it
287 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
288 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
289 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
290 echo_test_string="`eval $cmd`" &&
291 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
298 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
299 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
300 test "X$echo_testing_string" = "X$echo_test_string"; then
303 # The Solaris, AIX, and Digital Unix default echo programs unquote
304 # backslashes. This makes it impossible to quote backslashes using
305 # echo "$something" | sed 's/\\/\\\\/g'
307 # So, first we look for a working echo in the user's PATH.
309 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
310 for dir in $PATH /usr/ucb; do
312 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
313 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315 test "X$echo_testing_string" = "X$echo_test_string"; then
322 if test "X$echo" = Xecho; then
323 # We didn't find a better echo, so look for alternatives.
324 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
325 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
327 # This shell has a builtin print -r that does the trick.
329 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
330 test "X$CONFIG_SHELL" != X/bin/ksh; then
331 # If we have ksh, try running configure again with it.
332 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
333 export ORIGINAL_CONFIG_SHELL
334 CONFIG_SHELL=/bin/ksh
336 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
340 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
341 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
342 test "X$echo_testing_string" = "X$echo_test_string"; then
345 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346 test "X$echo_testing_string" = 'X\t' &&
347 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
349 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
351 SHELL="$CONFIG_SHELL"
353 echo="$CONFIG_SHELL $0 --fallback-echo"
354 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 echo="$CONFIG_SHELL $0 --fallback-echo"
360 # maybe with a smaller string...
363 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
371 if test "$prev" != 'sed 50q "$0"'; then
372 echo_test_string=`eval $prev`
373 export echo_test_string
374 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
376 # Oops. We lost completely, so just stick with echo.
385 # Copy echo and quote the copy suitably for passing to libtool from
386 # the Makefile, instead of quoting the original, which is used later.
388 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
395 tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
397 tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
400 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
401 # so uname gets run too.
402 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
409 ac_default_prefix=/usr/local
410 ac_config_libobj_dir=.
415 SHELL=${CONFIG_SHELL-/bin/sh}
417 # Maximum number of lines to put in a shell here document.
418 # This variable seems obsolete. It should probably be removed, and
419 # only ac_max_sed_lines should be used.
420 : ${ac_max_here_lines=38}
422 # Identity of this package.
423 PACKAGE_NAME='[LLVM]'
424 PACKAGE_TARNAME='--llvm--'
425 PACKAGE_VERSION='[1.0]'
426 PACKAGE_STRING='[LLVM] [1.0]'
427 PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'
429 # Factoring default headers for most tests.
430 ac_includes_default="\
433 # include <sys/types.h>
436 # include <sys/stat.h>
447 # if !STDC_HEADERS && HAVE_MEMORY_H
453 # include <strings.h>
456 # include <inttypes.h>
466 ac_unique_file=""Makefile.config.in""
467 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVMGCCDIR ARCH CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT YACC EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RPWD SED RM MKDIR DATE MV DOT ETAGS PURIFY PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED USE_SPEC UPB DISABLE_LLC_DIFFS JIT SPEC_ROOT BCR PAPIDIR LTLIBOBJS'
470 # Initialize some variables set by options.
472 ac_init_version=false
473 # The variables have the same names as the options, with
474 # dashes changed to underlines.
482 program_transform_name=s,x,x,
490 # Installation directory options.
491 # These are left unexpanded so users can "make install exec_prefix=/foo"
492 # and all the variables that are supposed to be based on exec_prefix
493 # by default will actually change.
494 # Use braces instead of parens because sh, perl, etc. also accept them.
495 bindir='${exec_prefix}/bin'
496 sbindir='${exec_prefix}/sbin'
497 libexecdir='${exec_prefix}/libexec'
498 datadir='${prefix}/share'
499 sysconfdir='${prefix}/etc'
500 sharedstatedir='${prefix}/com'
501 localstatedir='${prefix}/var'
502 libdir='${exec_prefix}/lib'
503 includedir='${prefix}/include'
504 oldincludedir='/usr/include'
505 infodir='${prefix}/info'
506 mandir='${prefix}/man'
511 # If the previous option needs an argument, assign it.
512 if test -n "$ac_prev"; then
513 eval "$ac_prev=\$ac_option"
518 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
520 # Accept the important Cygnus configure options, so we can diagnose typos.
524 -bindir | --bindir | --bindi | --bind | --bin | --bi)
526 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
529 -build | --build | --buil | --bui | --bu)
530 ac_prev=build_alias ;;
531 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
532 build_alias=$ac_optarg ;;
534 -cache-file | --cache-file | --cache-fil | --cache-fi \
535 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
536 ac_prev=cache_file ;;
537 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
538 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
539 cache_file=$ac_optarg ;;
542 cache_file=config.cache ;;
544 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
546 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
548 datadir=$ac_optarg ;;
550 -disable-* | --disable-*)
551 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555 { (exit 1); exit 1; }; }
556 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557 eval "enable_$ac_feature=no" ;;
559 -enable-* | --enable-*)
560 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561 # Reject names that are not valid shell variable names.
562 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
563 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564 { (exit 1); exit 1; }; }
565 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
567 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
570 eval "enable_$ac_feature='$ac_optarg'" ;;
572 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
574 | --exec | --exe | --ex)
575 ac_prev=exec_prefix ;;
576 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
577 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
578 | --exec=* | --exe=* | --ex=*)
579 exec_prefix=$ac_optarg ;;
581 -gas | --gas | --ga | --g)
582 # Obsolete; use --with-gas.
585 -help | --help | --hel | --he | -h)
587 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
588 ac_init_help=recursive ;;
589 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
590 ac_init_help=short ;;
592 -host | --host | --hos | --ho)
593 ac_prev=host_alias ;;
594 -host=* | --host=* | --hos=* | --ho=*)
595 host_alias=$ac_optarg ;;
597 -includedir | --includedir | --includedi | --included | --include \
598 | --includ | --inclu | --incl | --inc)
599 ac_prev=includedir ;;
600 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
601 | --includ=* | --inclu=* | --incl=* | --inc=*)
602 includedir=$ac_optarg ;;
604 -infodir | --infodir | --infodi | --infod | --info | --inf)
606 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
607 infodir=$ac_optarg ;;
609 -libdir | --libdir | --libdi | --libd)
611 -libdir=* | --libdir=* | --libdi=* | --libd=*)
614 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
615 | --libexe | --libex | --libe)
616 ac_prev=libexecdir ;;
617 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
618 | --libexe=* | --libex=* | --libe=*)
619 libexecdir=$ac_optarg ;;
621 -localstatedir | --localstatedir | --localstatedi | --localstated \
622 | --localstate | --localstat | --localsta | --localst \
623 | --locals | --local | --loca | --loc | --lo)
624 ac_prev=localstatedir ;;
625 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
628 localstatedir=$ac_optarg ;;
630 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
632 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
636 # Obsolete; use --without-fp.
639 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
640 | --no-cr | --no-c | -n)
643 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
644 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
647 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
648 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
649 | --oldin | --oldi | --old | --ol | --o)
650 ac_prev=oldincludedir ;;
651 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
652 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
653 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
654 oldincludedir=$ac_optarg ;;
656 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
658 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
661 -program-prefix | --program-prefix | --program-prefi | --program-pref \
662 | --program-pre | --program-pr | --program-p)
663 ac_prev=program_prefix ;;
664 -program-prefix=* | --program-prefix=* | --program-prefi=* \
665 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
666 program_prefix=$ac_optarg ;;
668 -program-suffix | --program-suffix | --program-suffi | --program-suff \
669 | --program-suf | --program-su | --program-s)
670 ac_prev=program_suffix ;;
671 -program-suffix=* | --program-suffix=* | --program-suffi=* \
672 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
673 program_suffix=$ac_optarg ;;
675 -program-transform-name | --program-transform-name \
676 | --program-transform-nam | --program-transform-na \
677 | --program-transform-n | --program-transform- \
678 | --program-transform | --program-transfor \
679 | --program-transfo | --program-transf \
680 | --program-trans | --program-tran \
681 | --progr-tra | --program-tr | --program-t)
682 ac_prev=program_transform_name ;;
683 -program-transform-name=* | --program-transform-name=* \
684 | --program-transform-nam=* | --program-transform-na=* \
685 | --program-transform-n=* | --program-transform-=* \
686 | --program-transform=* | --program-transfor=* \
687 | --program-transfo=* | --program-transf=* \
688 | --program-trans=* | --program-tran=* \
689 | --progr-tra=* | --program-tr=* | --program-t=*)
690 program_transform_name=$ac_optarg ;;
692 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693 | -silent | --silent | --silen | --sile | --sil)
696 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
698 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
700 sbindir=$ac_optarg ;;
702 -sharedstatedir | --sharedstatedir | --sharedstatedi \
703 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
704 | --sharedst | --shareds | --shared | --share | --shar \
706 ac_prev=sharedstatedir ;;
707 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
708 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
709 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
711 sharedstatedir=$ac_optarg ;;
713 -site | --site | --sit)
715 -site=* | --site=* | --sit=*)
718 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
720 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
723 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
724 | --syscon | --sysco | --sysc | --sys | --sy)
725 ac_prev=sysconfdir ;;
726 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
727 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
728 sysconfdir=$ac_optarg ;;
730 -target | --target | --targe | --targ | --tar | --ta | --t)
731 ac_prev=target_alias ;;
732 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
733 target_alias=$ac_optarg ;;
735 -v | -verbose | --verbose | --verbos | --verbo | --verb)
738 -version | --version | --versio | --versi | --vers | -V)
742 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
745 { echo "$as_me: error: invalid package name: $ac_package" >&2
746 { (exit 1); exit 1; }; }
747 ac_package=`echo $ac_package| sed 's/-/_/g'`
749 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
752 eval "with_$ac_package='$ac_optarg'" ;;
754 -without-* | --without-*)
755 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756 # Reject names that are not valid shell variable names.
757 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
758 { echo "$as_me: error: invalid package name: $ac_package" >&2
759 { (exit 1); exit 1; }; }
760 ac_package=`echo $ac_package | sed 's/-/_/g'`
761 eval "with_$ac_package=no" ;;
764 # Obsolete; use --with-x.
767 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
768 | --x-incl | --x-inc | --x-in | --x-i)
769 ac_prev=x_includes ;;
770 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
771 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
772 x_includes=$ac_optarg ;;
774 -x-libraries | --x-libraries | --x-librarie | --x-librari \
775 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
776 ac_prev=x_libraries ;;
777 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
778 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
779 x_libraries=$ac_optarg ;;
781 -*) { echo "$as_me: error: unrecognized option: $ac_option
782 Try \`$0 --help' for more information." >&2
783 { (exit 1); exit 1; }; }
787 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791 { (exit 1); exit 1; }; }
792 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793 eval "$ac_envvar='$ac_optarg'"
797 # FIXME: should be removed in autoconf 3.0.
798 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
799 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
801 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
807 if test -n "$ac_prev"; then
808 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
809 { echo "$as_me: error: missing argument to $ac_option" >&2
810 { (exit 1); exit 1; }; }
813 # Be sure to have absolute paths.
814 for ac_var in exec_prefix prefix
816 eval ac_val=$`echo $ac_var`
818 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820 { (exit 1); exit 1; }; };;
824 # Be sure to have absolute paths.
825 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826 localstatedir libdir includedir oldincludedir infodir mandir
828 eval ac_val=$`echo $ac_var`
830 [\\/$]* | ?:[\\/]* ) ;;
831 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832 { (exit 1); exit 1; }; };;
836 # There might be people who depend on the old broken behavior: `$host'
837 # used to hold the argument of --host etc.
838 # FIXME: To remove some day.
843 # FIXME: To remove some day.
844 if test "x$host_alias" != x; then
845 if test "x$build_alias" = x; then
846 cross_compiling=maybe
847 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
848 If a cross compiler is detected then cross compile mode will be used." >&2
849 elif test "x$build_alias" != "x$host_alias"; then
855 test -n "$host_alias" && ac_tool_prefix=$host_alias-
857 test "$silent" = yes && exec 6>/dev/null
860 # Find the source files, if location was not specified.
861 if test -z "$srcdir"; then
862 ac_srcdir_defaulted=yes
863 # Try the directory containing this script, then its parent.
864 ac_confdir=`(dirname "$0") 2>/dev/null ||
865 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866 X"$0" : 'X\(//\)[^/]' \| \
867 X"$0" : 'X\(//\)$' \| \
868 X"$0" : 'X\(/\)' \| \
869 . : '\(.\)' 2>/dev/null ||
871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873 /^X\(\/\/\)$/{ s//\1/; q; }
874 /^X\(\/\).*/{ s//\1/; q; }
877 if test ! -r $srcdir/$ac_unique_file; then
881 ac_srcdir_defaulted=no
883 if test ! -r $srcdir/$ac_unique_file; then
884 if test "$ac_srcdir_defaulted" = yes; then
885 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886 { (exit 1); exit 1; }; }
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889 { (exit 1); exit 1; }; }
892 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894 { (exit 1); exit 1; }; }
895 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896 ac_env_build_alias_set=${build_alias+set}
897 ac_env_build_alias_value=$build_alias
898 ac_cv_env_build_alias_set=${build_alias+set}
899 ac_cv_env_build_alias_value=$build_alias
900 ac_env_host_alias_set=${host_alias+set}
901 ac_env_host_alias_value=$host_alias
902 ac_cv_env_host_alias_set=${host_alias+set}
903 ac_cv_env_host_alias_value=$host_alias
904 ac_env_target_alias_set=${target_alias+set}
905 ac_env_target_alias_value=$target_alias
906 ac_cv_env_target_alias_set=${target_alias+set}
907 ac_cv_env_target_alias_value=$target_alias
908 ac_env_CXX_set=${CXX+set}
909 ac_env_CXX_value=$CXX
910 ac_cv_env_CXX_set=${CXX+set}
911 ac_cv_env_CXX_value=$CXX
912 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
913 ac_env_CXXFLAGS_value=$CXXFLAGS
914 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
916 ac_env_LDFLAGS_set=${LDFLAGS+set}
917 ac_env_LDFLAGS_value=$LDFLAGS
918 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_cv_env_LDFLAGS_value=$LDFLAGS
920 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921 ac_env_CPPFLAGS_value=$CPPFLAGS
922 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924 ac_env_CC_set=${CC+set}
926 ac_cv_env_CC_set=${CC+set}
927 ac_cv_env_CC_value=$CC
928 ac_env_CFLAGS_set=${CFLAGS+set}
929 ac_env_CFLAGS_value=$CFLAGS
930 ac_cv_env_CFLAGS_set=${CFLAGS+set}
931 ac_cv_env_CFLAGS_value=$CFLAGS
932 ac_env_CPP_set=${CPP+set}
933 ac_env_CPP_value=$CPP
934 ac_cv_env_CPP_set=${CPP+set}
935 ac_cv_env_CPP_value=$CPP
936 ac_env_CXXCPP_set=${CXXCPP+set}
937 ac_env_CXXCPP_value=$CXXCPP
938 ac_cv_env_CXXCPP_set=${CXXCPP+set}
939 ac_cv_env_CXXCPP_value=$CXXCPP
940 ac_env_F77_set=${F77+set}
941 ac_env_F77_value=$F77
942 ac_cv_env_F77_set=${F77+set}
943 ac_cv_env_F77_value=$F77
944 ac_env_FFLAGS_set=${FFLAGS+set}
945 ac_env_FFLAGS_value=$FFLAGS
946 ac_cv_env_FFLAGS_set=${FFLAGS+set}
947 ac_cv_env_FFLAGS_value=$FFLAGS
950 # Report the --help message.
952 if test "$ac_init_help" = "long"; then
953 # Omit some internal or obsolete options to make the list less imposing.
954 # This message is too long to be a string in the A/UX 3.1 sh.
956 \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems.
958 Usage: $0 [OPTION]... [VAR=VALUE]...
960 To assign environment variables (e.g., CC, CFLAGS...), specify them as
961 VAR=VALUE. See below for descriptions of some of the useful variables.
963 Defaults for the options are specified in brackets.
966 -h, --help display this help and exit
967 --help=short display options specific to this package
968 --help=recursive display the short help of all the included packages
969 -V, --version display version information and exit
970 -q, --quiet, --silent do not print \`checking...' messages
971 --cache-file=FILE cache test results in FILE [disabled]
972 -C, --config-cache alias for \`--cache-file=config.cache'
973 -n, --no-create do not create output files
974 --srcdir=DIR find the sources in DIR [configure dir or \`..']
979 Installation directories:
980 --prefix=PREFIX install architecture-independent files in PREFIX
982 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
985 By default, \`make install' will install all the files in
986 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
987 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
988 for instance \`--prefix=\$HOME'.
990 For better control, use the options below.
992 Fine tuning of the installation directories:
993 --bindir=DIR user executables [EPREFIX/bin]
994 --sbindir=DIR system admin executables [EPREFIX/sbin]
995 --libexecdir=DIR program executables [EPREFIX/libexec]
996 --datadir=DIR read-only architecture-independent data [PREFIX/share]
997 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
998 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
999 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1000 --libdir=DIR object code libraries [EPREFIX/lib]
1001 --includedir=DIR C header files [PREFIX/include]
1002 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1003 --infodir=DIR info documentation [PREFIX/info]
1004 --mandir=DIR man documentation [PREFIX/man]
1010 --build=BUILD configure for building on BUILD [guessed]
1011 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1012 --target=TARGET configure for building compilers for TARGET [HOST]
1016 if test -n "$ac_init_help"; then
1017 case $ac_init_help in
1018 short | recursive ) echo "Configuration of [LLVM] [1.0]:";;
1023 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1024 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1025 --enable-shared[=PKGS]
1026 build shared libraries [default=yes]
1027 --enable-static[=PKGS]
1028 build static libraries [default=yes]
1029 --enable-fast-install[=PKGS]
1030 optimize for fast installation [default=yes]
1031 --disable-libtool-lock avoid locking (might break parallel builds)
1032 --enable-purify Compile with purify (default is NO)
1033 --enable-optimized Compile with optimizations enabled (default is NO)
1034 --enable-spec Compile SPEC benchmarks (default is NO)
1035 --enable-precompiled_bytecode
1036 Use pre-compiled bytecode (default is NO)
1037 --enable-llc_diffs Enable LLC Diffs when testing (default is YES)
1038 --enable-jit Enable Just In Time Compiling (default is YES)
1041 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1042 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1043 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1044 --with-pic try to use only PIC/non-PIC objects [default=use
1047 include additional configurations [automatic]
1048 --with-spec Location of SPEC benchmarks
1049 --with-llvmgccdir Location of LLVM GCC front-end
1050 --with-bcrepos Location of Bytecode Repository
1051 --with-papi Location of PAPI
1052 --with-purify Location of purify program
1054 Some influential environment variables:
1055 CXX C++ compiler command
1056 CXXFLAGS C++ compiler flags
1057 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1058 nonstandard directory <lib dir>
1059 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1060 headers in a nonstandard directory <include dir>
1061 CC C compiler command
1062 CFLAGS C compiler flags
1064 CXXCPP C++ preprocessor
1065 F77 Fortran 77 compiler command
1066 FFLAGS Fortran 77 compiler flags
1068 Use these variables to override the choices made by `configure' or to help
1069 it to find libraries and programs with nonstandard names/locations.
1071 Report bugs to <llvmbugs@cs.uiuc.edu>.
1075 if test "$ac_init_help" = "recursive"; then
1076 # If there are subdirs, report their specific --help.
1078 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1079 test -d $ac_dir || continue
1082 if test "$ac_dir" != .; then
1083 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1084 # A "../" for each directory in $ac_dir_suffix.
1085 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1087 ac_dir_suffix= ac_top_builddir=
1091 .) # No --srcdir option. We are building in place.
1093 if test -z "$ac_top_builddir"; then
1096 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1098 [\\/]* | ?:[\\/]* ) # Absolute path.
1099 ac_srcdir=$srcdir$ac_dir_suffix;
1100 ac_top_srcdir=$srcdir ;;
1102 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1103 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1105 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1107 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1108 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1109 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1110 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1113 # Check for guested configure; otherwise get Cygnus style configure.
1114 if test -f $ac_srcdir/configure.gnu; then
1116 $SHELL $ac_srcdir/configure.gnu --help=recursive
1117 elif test -f $ac_srcdir/configure; then
1119 $SHELL $ac_srcdir/configure --help=recursive
1120 elif test -f $ac_srcdir/configure.ac ||
1121 test -f $ac_srcdir/configure.in; then
1123 $ac_configure --help
1125 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1131 test -n "$ac_init_help" && exit 0
1132 if $ac_init_version; then
1134 [LLVM] configure [1.0]
1135 generated by GNU Autoconf 2.57
1137 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1138 Free Software Foundation, Inc.
1139 This configure script is free software; the Free Software Foundation
1140 gives unlimited permission to copy, distribute and modify it.
1146 This file contains any messages produced by compilers while
1147 running configure, to aid debugging if configure makes a mistake.
1149 It was created by [LLVM] $as_me [1.0], which was
1150 generated by GNU Autoconf 2.57. Invocation command line was
1161 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1162 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1163 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1164 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1165 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1167 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1168 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1170 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1171 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1172 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1173 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1174 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1175 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1176 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1184 test -z "$as_dir" && as_dir=.
1185 echo "PATH: $as_dir"
1200 # Keep a trace of the command line.
1201 # Strip out --no-create and --no-recursion so they do not pile up.
1202 # Strip out --silent because we don't want to record it for future runs.
1203 # Also quote any args containing shell meta-characters.
1204 # Make two passes to allow for proper duplicate-argument suppression.
1209 ac_must_keep_next=false
1215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217 | -silent | --silent | --silen | --sile | --sil)
1219 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1223 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1225 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1226 if test $ac_must_keep_next = true; then
1227 ac_must_keep_next=false # Got value, back to normal.
1230 *=* | --config-cache | -C | -disable-* | --disable-* \
1231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1233 | -with-* | --with-* | -without-* | --without-* | --x)
1234 case "$ac_configure_args0 " in
1235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1238 -* ) ac_must_keep_next=true ;;
1241 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1242 # Get rid of the leading space.
1248 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1249 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1251 # When interrupted or exit'd, cleanup temporary files, and complete
1252 # config.log. We remove comments because anyway the quotes in there
1253 # would cause problems or look ugly.
1254 # WARNING: Be sure not to use single quotes in there, as some shells,
1255 # such as our DU 5.0 friend, will then `close' the trap.
1256 trap 'exit_status=$?
1257 # Save into config.log some information that might help in debugging.
1262 ## ---------------- ##
1263 ## Cache variables. ##
1264 ## ---------------- ##
1267 # The following way of writing the cache mishandles newlines in values,
1270 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1273 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1285 ## ----------------- ##
1286 ## Output variables. ##
1287 ## ----------------- ##
1290 for ac_var in $ac_subst_vars
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1297 if test -n "$ac_subst_files"; then
1304 for ac_var in $ac_subst_files
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1312 if test -s confdefs.h; then
1319 sed "/^$/d" confdefs.h | sort
1322 test "$ac_signal" != 0 &&
1323 echo "$as_me: caught signal $ac_signal"
1324 echo "$as_me: exit $exit_status"
1326 rm -f core core.* *.core &&
1327 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1330 for ac_signal in 1 2 13 15; do
1331 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1336 rm -rf conftest* confdefs.h
1337 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1340 # Predefined preprocessor variables.
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_NAME "$PACKAGE_NAME"
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_STRING "$PACKAGE_STRING"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1367 # Let the site file select an alternate cache file if it wants to.
1368 # Prefer explicitly selected file to automatically selected ones.
1369 if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE; then
1371 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1373 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1376 for ac_site_file in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379 echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's/^/| /' "$ac_site_file" >&5
1385 if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390 echo "$as_me: loading cache $cache_file" >&6;}
1392 [\\/]* | ?:[\\/]* ) . $cache_file;;
1393 *) . ./$cache_file;;
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398 echo "$as_me: creating cache $cache_file" >&6;}
1402 # Check that the precious variables saved in the cache have kept the same
1404 ac_cache_corrupted=false
1405 for ac_var in `(set) 2>&1 |
1406 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1408 eval ac_new_set=\$ac_env_${ac_var}_set
1409 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415 ac_cache_corrupted=: ;;
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426 echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428 echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted=:
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg=$ac_var=$ac_new_val ;;
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1445 if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1454 ac_cpp='$CPP $CPPFLAGS'
1455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1487 for ac_dir in autoconf $srcdir/autoconf; do
1488 if test -f $ac_dir/install-sh; then
1490 ac_install_sh="$ac_aux_dir/install-sh -c"
1492 elif test -f $ac_dir/install.sh; then
1494 ac_install_sh="$ac_aux_dir/install.sh -c"
1496 elif test -f $ac_dir/shtool; then
1498 ac_install_sh="$ac_aux_dir/shtool install -c"
1502 if test -z "$ac_aux_dir"; then
1503 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1504 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1505 { (exit 1); exit 1; }; }
1507 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1508 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1509 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512 ac_config_headers="$ac_config_headers include/Config/config.h"
1514 ac_config_commands="$ac_config_commands Makefile"
1517 ac_config_commands="$ac_config_commands Makefile.common"
1520 ac_config_commands="$ac_config_commands Makefile.rules"
1523 ac_config_commands="$ac_config_commands lib/Makefile"
1526 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1529 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1532 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1535 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1538 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1541 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1544 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1547 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1550 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1553 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1556 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1559 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1562 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1565 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1568 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1571 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1574 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1577 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1580 ac_config_commands="$ac_config_commands lib/Support/Makefile"
1583 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1586 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1589 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1592 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1595 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1598 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1601 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1604 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1607 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1610 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1613 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1616 ac_config_commands="$ac_config_commands runtime/Makefile"
1619 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1622 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1625 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1628 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1631 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1634 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1637 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1640 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1643 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1646 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1649 ac_config_commands="$ac_config_commands test/Makefile"
1652 ac_config_commands="$ac_config_commands test/Makefile.tests"
1655 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1658 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1661 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1664 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1667 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1670 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1673 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1676 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1679 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1682 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1685 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1688 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1691 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1694 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1697 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1700 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1703 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1706 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1709 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1712 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1715 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1718 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1721 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1724 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1727 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1730 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1733 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1736 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1739 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1742 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1745 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1748 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1751 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1754 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1757 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1760 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1763 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Burg/Makefile"
1766 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Fhourstones/Makefile"
1769 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/Makefile"
1772 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/01-qbsort/Makefile"
1775 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/03-testtrie/Makefile"
1778 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/04-bisect/Makefile"
1781 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/05-eks/Makefile"
1784 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/08-main/Makefile"
1787 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/09-vor/Makefile"
1790 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/12-IOtest/Makefile"
1793 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/15-trie/Makefile"
1796 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/17-bintr/Makefile"
1799 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/18-imp/Makefile"
1802 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/Makefile"
1805 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/bh/Makefile"
1808 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/bisort/Makefile"
1811 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/em3d/Makefile"
1814 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/health/Makefile"
1817 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/mst/Makefile"
1820 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/perimeter/Makefile"
1823 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/power/Makefile"
1826 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/treeadd/Makefile"
1829 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/tsp/Makefile"
1832 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/voronoi/Makefile"
1835 ac_config_commands="$ac_config_commands test/Programs/MultiSource/OptimizerEval/Makefile"
1838 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/Makefile"
1841 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/anagram/Makefile"
1844 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/bc/Makefile"
1847 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/ft/Makefile"
1850 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/ks/Makefile"
1853 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/yacr2/Makefile"
1856 ac_config_commands="$ac_config_commands test/Programs/MultiSource/aha/Makefile"
1859 ac_config_commands="$ac_config_commands test/Programs/MultiSource/llubenchmark/Makefile"
1862 ac_config_commands="$ac_config_commands test/Programs/MultiSource/sgefa/Makefile"
1865 ac_config_commands="$ac_config_commands test/Programs/MultiSource/sim/Makefile"
1868 ac_config_commands="$ac_config_commands test/Programs/NoSource/Makefile"
1871 ac_config_commands="$ac_config_commands test/Programs/NoSource/Flex/Makefile"
1874 ac_config_commands="$ac_config_commands test/Programs/NoSource/Larn/Makefile"
1877 ac_config_commands="$ac_config_commands test/Programs/NoSource/Moria-5.5.2/Makefile"
1880 ac_config_commands="$ac_config_commands test/Programs/NoSource/Povray31/Makefile"
1883 ac_config_commands="$ac_config_commands test/Programs/NoSource/m4/Makefile"
1886 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1889 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1892 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1895 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1898 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1901 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1904 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1907 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1910 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1913 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1916 ac_config_commands="$ac_config_commands tools/Makefile"
1919 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1922 ac_config_commands="$ac_config_commands tools/as/Makefile"
1925 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1928 ac_config_commands="$ac_config_commands tools/dis/Makefile"
1931 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1934 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1937 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1940 ac_config_commands="$ac_config_commands tools/link/Makefile"
1943 ac_config_commands="$ac_config_commands tools/llc/Makefile"
1946 ac_config_commands="$ac_config_commands tools/lli/Makefile"
1949 ac_config_commands="$ac_config_commands tools/opt/Makefile"
1952 ac_config_commands="$ac_config_commands tools/llee/Makefile"
1955 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
1958 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
1961 ac_config_commands="$ac_config_commands utils/Makefile"
1964 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
1967 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
1970 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
1973 ac_config_commands="$ac_config_commands www/docs/Makefile"
1976 ac_config_commands="$ac_config_commands projects/Makefile"
1979 ac_config_commands="$ac_config_commands projects/sample/Makefile"
1982 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
1985 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
1988 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
1991 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
1994 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
1997 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2000 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2003 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2006 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2009 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2014 # Find a good install program. We prefer a C program (faster),
2015 # so one script is as good as another. But avoid the broken or
2016 # incompatible versions:
2017 # SysV /etc/install, /usr/sbin/install
2018 # SunOS /usr/etc/install
2019 # IRIX /sbin/install
2021 # AmigaOS /C/install, which installs bootblocks on floppy discs
2022 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2023 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2024 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2025 # ./install, which can be erroneously created by make from ./install.sh.
2026 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2027 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2028 if test -z "$INSTALL"; then
2029 if test "${ac_cv_path_install+set}" = set; then
2030 echo $ECHO_N "(cached) $ECHO_C" >&6
2032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2036 test -z "$as_dir" && as_dir=.
2037 # Account for people who put trailing slashes in PATH elements.
2039 ./ | .// | /cC/* | \
2040 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2043 # OSF1 and SCO ODT 3.0 have their own names for install.
2044 # Don't use installbsd from OSF since it installs stuff as root
2046 for ac_prog in ginstall scoinst install; do
2047 for ac_exec_ext in '' $ac_executable_extensions; do
2048 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2049 if test $ac_prog = install &&
2050 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2051 # AIX install. It has an incompatible calling convention.
2053 elif test $ac_prog = install &&
2054 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2055 # program-specific install script used by HP pwplus--don't use.
2058 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2070 if test "${ac_cv_path_install+set}" = set; then
2071 INSTALL=$ac_cv_path_install
2073 # As a last resort, use the slow shell script. We don't cache a
2074 # path for INSTALL within a source directory, because that will
2075 # break other packages using the cache if that directory is
2076 # removed, or if the path is relative.
2077 INSTALL=$ac_install_sh
2080 echo "$as_me:$LINENO: result: $INSTALL" >&5
2081 echo "${ECHO_T}$INSTALL" >&6
2083 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2084 # It thinks the first close brace ends the variable substitution.
2085 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2087 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2089 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2092 # Make sure we can run config.sub.
2093 $ac_config_sub sun4 >/dev/null 2>&1 ||
2094 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2095 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2096 { (exit 1); exit 1; }; }
2098 echo "$as_me:$LINENO: checking build system type" >&5
2099 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2100 if test "${ac_cv_build+set}" = set; then
2101 echo $ECHO_N "(cached) $ECHO_C" >&6
2103 ac_cv_build_alias=$build_alias
2104 test -z "$ac_cv_build_alias" &&
2105 ac_cv_build_alias=`$ac_config_guess`
2106 test -z "$ac_cv_build_alias" &&
2107 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2108 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2109 { (exit 1); exit 1; }; }
2110 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2111 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2112 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2113 { (exit 1); exit 1; }; }
2116 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2117 echo "${ECHO_T}$ac_cv_build" >&6
2119 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2120 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2121 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2124 echo "$as_me:$LINENO: checking host system type" >&5
2125 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2126 if test "${ac_cv_host+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 ac_cv_host_alias=$host_alias
2130 test -z "$ac_cv_host_alias" &&
2131 ac_cv_host_alias=$ac_cv_build_alias
2132 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2133 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2134 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2135 { (exit 1); exit 1; }; }
2138 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2139 echo "${ECHO_T}$ac_cv_host" >&6
2141 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2142 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2143 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2146 echo "$as_me:$LINENO: checking target system type" >&5
2147 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2148 if test "${ac_cv_target+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 ac_cv_target_alias=$target_alias
2152 test "x$ac_cv_target_alias" = "x" &&
2153 ac_cv_target_alias=$ac_cv_host_alias
2154 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2155 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2156 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2157 { (exit 1); exit 1; }; }
2160 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2161 echo "${ECHO_T}$ac_cv_target" >&6
2162 target=$ac_cv_target
2163 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2164 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2165 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2168 # The aliases save the names the user supplied, while $host etc.
2169 # will get canonicalized.
2170 test -n "$target_alias" &&
2171 test "$program_prefix$program_suffix$program_transform_name" = \
2173 program_prefix=${target_alias}-
2178 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2184 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2194 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2203 *sparc*solaris*) ARCH=Sparc
2210 ac_cpp='$CXXCPP $CPPFLAGS'
2211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2214 if test -n "$ac_tool_prefix"; then
2215 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2217 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2218 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2219 echo "$as_me:$LINENO: checking for $ac_word" >&5
2220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2221 if test "${ac_cv_prog_CXX+set}" = set; then
2222 echo $ECHO_N "(cached) $ECHO_C" >&6
2224 if test -n "$CXX"; then
2225 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2231 test -z "$as_dir" && as_dir=.
2232 for ac_exec_ext in '' $ac_executable_extensions; do
2233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2234 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2244 if test -n "$CXX"; then
2245 echo "$as_me:$LINENO: result: $CXX" >&5
2246 echo "${ECHO_T}$CXX" >&6
2248 echo "$as_me:$LINENO: result: no" >&5
2249 echo "${ECHO_T}no" >&6
2252 test -n "$CXX" && break
2255 if test -z "$CXX"; then
2257 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2259 # Extract the first word of "$ac_prog", so it can be a program name with args.
2260 set dummy $ac_prog; ac_word=$2
2261 echo "$as_me:$LINENO: checking for $ac_word" >&5
2262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2263 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2264 echo $ECHO_N "(cached) $ECHO_C" >&6
2266 if test -n "$ac_ct_CXX"; then
2267 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2273 test -z "$as_dir" && as_dir=.
2274 for ac_exec_ext in '' $ac_executable_extensions; do
2275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2276 ac_cv_prog_ac_ct_CXX="$ac_prog"
2277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2285 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2286 if test -n "$ac_ct_CXX"; then
2287 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2288 echo "${ECHO_T}$ac_ct_CXX" >&6
2290 echo "$as_me:$LINENO: result: no" >&5
2291 echo "${ECHO_T}no" >&6
2294 test -n "$ac_ct_CXX" && break
2296 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2302 # Provide some information about the compiler.
2303 echo "$as_me:$LINENO:" \
2304 "checking for C++ compiler version" >&5
2305 ac_compiler=`set X $ac_compile; echo $2`
2306 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2307 (eval $ac_compiler --version </dev/null >&5) 2>&5
2309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310 (exit $ac_status); }
2311 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2312 (eval $ac_compiler -v </dev/null >&5) 2>&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); }
2316 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2317 (eval $ac_compiler -V </dev/null >&5) 2>&5
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); }
2322 cat >conftest.$ac_ext <<_ACEOF
2323 #line $LINENO "configure"
2326 cat confdefs.h >>conftest.$ac_ext
2327 cat >>conftest.$ac_ext <<_ACEOF
2328 /* end confdefs.h. */
2338 ac_clean_files_save=$ac_clean_files
2339 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2340 # Try to create an executable without -o first, disregard a.out.
2341 # It will help us diagnose broken compilers, and finding out an intuition
2343 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2344 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2345 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2346 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2347 (eval $ac_link_default) 2>&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); }; then
2351 # Find the output, starting from the most likely. This scheme is
2352 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2355 # Be careful to initialize this variable, since it used to be cached.
2356 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2358 # b.out is created by i960 compilers.
2359 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2361 test -f "$ac_file" || continue
2363 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2366 # This is the source file.
2369 # We found the default executable, but exeext='' is most
2373 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2374 # FIXME: I believe we export ac_cv_exeext for Libtool,
2375 # but it would be cool to find out if it's true. Does anybody
2376 # maintain Libtool? --akim.
2384 echo "$as_me: failed program was:" >&5
2385 sed 's/^/| /' conftest.$ac_ext >&5
2387 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2388 See \`config.log' for more details." >&5
2389 echo "$as_me: error: C++ compiler cannot create executables
2390 See \`config.log' for more details." >&2;}
2391 { (exit 77); exit 77; }; }
2394 ac_exeext=$ac_cv_exeext
2395 echo "$as_me:$LINENO: result: $ac_file" >&5
2396 echo "${ECHO_T}$ac_file" >&6
2398 # Check the compiler produces executables we can run. If not, either
2399 # the compiler is broken, or we cross compile.
2400 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2401 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2402 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2403 # If not cross compiling, check that we can run a simple program.
2404 if test "$cross_compiling" != yes; then
2405 if { ac_try='./$ac_file'
2406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); }; }; then
2413 if test "$cross_compiling" = maybe; then
2416 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2417 If you meant to cross compile, use \`--host'.
2418 See \`config.log' for more details." >&5
2419 echo "$as_me: error: cannot run C++ compiled programs.
2420 If you meant to cross compile, use \`--host'.
2421 See \`config.log' for more details." >&2;}
2422 { (exit 1); exit 1; }; }
2426 echo "$as_me:$LINENO: result: yes" >&5
2427 echo "${ECHO_T}yes" >&6
2429 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2430 ac_clean_files=$ac_clean_files_save
2431 # Check the compiler produces executables we can run. If not, either
2432 # the compiler is broken, or we cross compile.
2433 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2434 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2435 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2436 echo "${ECHO_T}$cross_compiling" >&6
2438 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2439 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2441 (eval $ac_link) 2>&5
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); }; then
2445 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2446 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2447 # work properly (i.e., refer to `conftest.exe'), while it won't with
2449 for ac_file in conftest.exe conftest conftest.*; do
2450 test -f "$ac_file" || continue
2452 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2453 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2460 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2461 See \`config.log' for more details." >&5
2462 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2463 See \`config.log' for more details." >&2;}
2464 { (exit 1); exit 1; }; }
2467 rm -f conftest$ac_cv_exeext
2468 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2469 echo "${ECHO_T}$ac_cv_exeext" >&6
2471 rm -f conftest.$ac_ext
2472 EXEEXT=$ac_cv_exeext
2474 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2475 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2476 if test "${ac_cv_objext+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 cat >conftest.$ac_ext <<_ACEOF
2480 #line $LINENO "configure"
2483 cat confdefs.h >>conftest.$ac_ext
2484 cat >>conftest.$ac_ext <<_ACEOF
2485 /* end confdefs.h. */
2495 rm -f conftest.o conftest.obj
2496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2497 (eval $ac_compile) 2>&5
2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500 (exit $ac_status); }; then
2501 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2503 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2504 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2509 echo "$as_me: failed program was:" >&5
2510 sed 's/^/| /' conftest.$ac_ext >&5
2512 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2513 See \`config.log' for more details." >&5
2514 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2515 See \`config.log' for more details." >&2;}
2516 { (exit 1); exit 1; }; }
2519 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2521 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2522 echo "${ECHO_T}$ac_cv_objext" >&6
2523 OBJEXT=$ac_cv_objext
2525 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2526 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2527 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2528 echo $ECHO_N "(cached) $ECHO_C" >&6
2530 cat >conftest.$ac_ext <<_ACEOF
2531 #line $LINENO "configure"
2534 cat confdefs.h >>conftest.$ac_ext
2535 cat >>conftest.$ac_ext <<_ACEOF
2536 /* end confdefs.h. */
2549 rm -f conftest.$ac_objext
2550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2551 (eval $ac_compile) 2>&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); } &&
2555 { ac_try='test -s conftest.$ac_objext'
2556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560 (exit $ac_status); }; }; then
2563 echo "$as_me: failed program was:" >&5
2564 sed 's/^/| /' conftest.$ac_ext >&5
2568 rm -f conftest.$ac_objext conftest.$ac_ext
2569 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2572 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2573 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2574 GXX=`test $ac_compiler_gnu = yes && echo yes`
2575 ac_test_CXXFLAGS=${CXXFLAGS+set}
2576 ac_save_CXXFLAGS=$CXXFLAGS
2578 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2579 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2580 if test "${ac_cv_prog_cxx_g+set}" = set; then
2581 echo $ECHO_N "(cached) $ECHO_C" >&6
2583 cat >conftest.$ac_ext <<_ACEOF
2584 #line $LINENO "configure"
2587 cat confdefs.h >>conftest.$ac_ext
2588 cat >>conftest.$ac_ext <<_ACEOF
2589 /* end confdefs.h. */
2599 rm -f conftest.$ac_objext
2600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2601 (eval $ac_compile) 2>&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); } &&
2605 { ac_try='test -s conftest.$ac_objext'
2606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }; }; then
2611 ac_cv_prog_cxx_g=yes
2613 echo "$as_me: failed program was:" >&5
2614 sed 's/^/| /' conftest.$ac_ext >&5
2618 rm -f conftest.$ac_objext conftest.$ac_ext
2620 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2621 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2622 if test "$ac_test_CXXFLAGS" = set; then
2623 CXXFLAGS=$ac_save_CXXFLAGS
2624 elif test $ac_cv_prog_cxx_g = yes; then
2625 if test "$GXX" = yes; then
2631 if test "$GXX" = yes; then
2637 for ac_declaration in \
2639 '#include <stdlib.h>' \
2640 'extern "C" void std::exit (int) throw (); using std::exit;' \
2641 'extern "C" void std::exit (int); using std::exit;' \
2642 'extern "C" void exit (int) throw ();' \
2643 'extern "C" void exit (int);' \
2646 cat >conftest.$ac_ext <<_ACEOF
2647 #line $LINENO "configure"
2650 cat confdefs.h >>conftest.$ac_ext
2651 cat >>conftest.$ac_ext <<_ACEOF
2652 /* end confdefs.h. */
2663 rm -f conftest.$ac_objext
2664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2665 (eval $ac_compile) 2>&5
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); } &&
2669 { ac_try='test -s conftest.$ac_objext'
2670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); }; }; then
2677 echo "$as_me: failed program was:" >&5
2678 sed 's/^/| /' conftest.$ac_ext >&5
2682 rm -f conftest.$ac_objext conftest.$ac_ext
2683 cat >conftest.$ac_ext <<_ACEOF
2684 #line $LINENO "configure"
2687 cat confdefs.h >>conftest.$ac_ext
2688 cat >>conftest.$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2699 rm -f conftest.$ac_objext
2700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2701 (eval $ac_compile) 2>&5
2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); } &&
2705 { ac_try='test -s conftest.$ac_objext'
2706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710 (exit $ac_status); }; }; then
2713 echo "$as_me: failed program was:" >&5
2714 sed 's/^/| /' conftest.$ac_ext >&5
2717 rm -f conftest.$ac_objext conftest.$ac_ext
2720 if test -n "$ac_declaration"; then
2721 echo '#ifdef __cplusplus' >>confdefs.h
2722 echo $ac_declaration >>confdefs.h
2723 echo '#endif' >>confdefs.h
2727 ac_cpp='$CPP $CPPFLAGS'
2728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2733 ac_cpp='$CPP $CPPFLAGS'
2734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2737 if test -n "$ac_tool_prefix"; then
2740 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2741 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2742 echo "$as_me:$LINENO: checking for $ac_word" >&5
2743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2744 if test "${ac_cv_prog_CC+set}" = set; then
2745 echo $ECHO_N "(cached) $ECHO_C" >&6
2747 if test -n "$CC"; then
2748 ac_cv_prog_CC="$CC" # Let the user override the test.
2750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754 test -z "$as_dir" && as_dir=.
2755 for ac_exec_ext in '' $ac_executable_extensions; do
2756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2757 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2767 if test -n "$CC"; then
2768 echo "$as_me:$LINENO: result: $CC" >&5
2769 echo "${ECHO_T}$CC" >&6
2771 echo "$as_me:$LINENO: result: no" >&5
2772 echo "${ECHO_T}no" >&6
2775 test -n "$CC" && break
2778 if test -z "$CC"; then
2782 # Extract the first word of "$ac_prog", so it can be a program name with args.
2783 set dummy $ac_prog; ac_word=$2
2784 echo "$as_me:$LINENO: checking for $ac_word" >&5
2785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2786 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2787 echo $ECHO_N "(cached) $ECHO_C" >&6
2789 if test -n "$ac_ct_CC"; then
2790 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796 test -z "$as_dir" && as_dir=.
2797 for ac_exec_ext in '' $ac_executable_extensions; do
2798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2799 ac_cv_prog_ac_ct_CC="$ac_prog"
2800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2808 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2809 if test -n "$ac_ct_CC"; then
2810 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2811 echo "${ECHO_T}$ac_ct_CC" >&6
2813 echo "$as_me:$LINENO: result: no" >&5
2814 echo "${ECHO_T}no" >&6
2817 test -n "$ac_ct_CC" && break
2824 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2825 See \`config.log' for more details." >&5
2826 echo "$as_me: error: no acceptable C compiler found in \$PATH
2827 See \`config.log' for more details." >&2;}
2828 { (exit 1); exit 1; }; }
2830 # Provide some information about the compiler.
2831 echo "$as_me:$LINENO:" \
2832 "checking for C compiler version" >&5
2833 ac_compiler=`set X $ac_compile; echo $2`
2834 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2835 (eval $ac_compiler --version </dev/null >&5) 2>&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }
2839 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2840 (eval $ac_compiler -v </dev/null >&5) 2>&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }
2844 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2845 (eval $ac_compiler -V </dev/null >&5) 2>&5
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); }
2850 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2851 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2852 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2853 echo $ECHO_N "(cached) $ECHO_C" >&6
2855 cat >conftest.$ac_ext <<_ACEOF
2856 #line $LINENO "configure"
2859 cat confdefs.h >>conftest.$ac_ext
2860 cat >>conftest.$ac_ext <<_ACEOF
2861 /* end confdefs.h. */
2874 rm -f conftest.$ac_objext
2875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2876 (eval $ac_compile) 2>&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); } &&
2880 { ac_try='test -s conftest.$ac_objext'
2881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); }; }; then
2888 echo "$as_me: failed program was:" >&5
2889 sed 's/^/| /' conftest.$ac_ext >&5
2893 rm -f conftest.$ac_objext conftest.$ac_ext
2894 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2897 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2898 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2899 GCC=`test $ac_compiler_gnu = yes && echo yes`
2900 ac_test_CFLAGS=${CFLAGS+set}
2901 ac_save_CFLAGS=$CFLAGS
2903 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2904 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2905 if test "${ac_cv_prog_cc_g+set}" = set; then
2906 echo $ECHO_N "(cached) $ECHO_C" >&6
2908 cat >conftest.$ac_ext <<_ACEOF
2909 #line $LINENO "configure"
2912 cat confdefs.h >>conftest.$ac_ext
2913 cat >>conftest.$ac_ext <<_ACEOF
2914 /* end confdefs.h. */
2924 rm -f conftest.$ac_objext
2925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2926 (eval $ac_compile) 2>&5
2928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); } &&
2930 { ac_try='test -s conftest.$ac_objext'
2931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }; }; then
2938 echo "$as_me: failed program was:" >&5
2939 sed 's/^/| /' conftest.$ac_ext >&5
2943 rm -f conftest.$ac_objext conftest.$ac_ext
2945 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2946 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2947 if test "$ac_test_CFLAGS" = set; then
2948 CFLAGS=$ac_save_CFLAGS
2949 elif test $ac_cv_prog_cc_g = yes; then
2950 if test "$GCC" = yes; then
2956 if test "$GCC" = yes; then
2962 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2963 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2964 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2965 echo $ECHO_N "(cached) $ECHO_C" >&6
2967 ac_cv_prog_cc_stdc=no
2969 cat >conftest.$ac_ext <<_ACEOF
2970 #line $LINENO "configure"
2973 cat confdefs.h >>conftest.$ac_ext
2974 cat >>conftest.$ac_ext <<_ACEOF
2975 /* end confdefs.h. */
2978 #include <sys/types.h>
2979 #include <sys/stat.h>
2980 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2981 struct buf { int x; };
2982 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2983 static char *e (p, i)
2989 static char *f (char * (*g) (char **, int), char **p, ...)
2994 s = g (p, va_arg (v,int));
2998 int test (int i, double x);
2999 struct s1 {int (*f) (int a);};
3000 struct s2 {int (*f) (double a);};
3001 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3007 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3012 # Don't try gcc -ansi; that turns off useful extensions and
3013 # breaks some systems' header files.
3014 # AIX -qlanglvl=ansi
3015 # Ultrix and OSF/1 -std1
3016 # HP-UX 10.20 and later -Ae
3017 # HP-UX older versions -Aa -D_HPUX_SOURCE
3018 # SVR4 -Xc -D__EXTENSIONS__
3019 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3021 CC="$ac_save_CC $ac_arg"
3022 rm -f conftest.$ac_objext
3023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3024 (eval $ac_compile) 2>&5
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); } &&
3028 { ac_try='test -s conftest.$ac_objext'
3029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033 (exit $ac_status); }; }; then
3034 ac_cv_prog_cc_stdc=$ac_arg
3037 echo "$as_me: failed program was:" >&5
3038 sed 's/^/| /' conftest.$ac_ext >&5
3041 rm -f conftest.$ac_objext
3043 rm -f conftest.$ac_ext conftest.$ac_objext
3048 case "x$ac_cv_prog_cc_stdc" in
3050 echo "$as_me:$LINENO: result: none needed" >&5
3051 echo "${ECHO_T}none needed" >&6 ;;
3053 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3054 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3055 CC="$CC $ac_cv_prog_cc_stdc" ;;
3058 # Some people use a C++ compiler to compile C. Since we use `exit',
3059 # in C++ we need to declare it. In case someone uses the same compiler
3060 # for both compiling C and C++ we need to have the C++ compiler decide
3061 # the declaration of exit, since it's the most demanding environment.
3062 cat >conftest.$ac_ext <<_ACEOF
3067 rm -f conftest.$ac_objext
3068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3069 (eval $ac_compile) 2>&5
3071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072 (exit $ac_status); } &&
3073 { ac_try='test -s conftest.$ac_objext'
3074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078 (exit $ac_status); }; }; then
3079 for ac_declaration in \
3081 '#include <stdlib.h>' \
3082 'extern "C" void std::exit (int) throw (); using std::exit;' \
3083 'extern "C" void std::exit (int); using std::exit;' \
3084 'extern "C" void exit (int) throw ();' \
3085 'extern "C" void exit (int);' \
3088 cat >conftest.$ac_ext <<_ACEOF
3089 #line $LINENO "configure"
3092 cat confdefs.h >>conftest.$ac_ext
3093 cat >>conftest.$ac_ext <<_ACEOF
3094 /* end confdefs.h. */
3105 rm -f conftest.$ac_objext
3106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3107 (eval $ac_compile) 2>&5
3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); } &&
3111 { ac_try='test -s conftest.$ac_objext'
3112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); }; }; then
3119 echo "$as_me: failed program was:" >&5
3120 sed 's/^/| /' conftest.$ac_ext >&5
3124 rm -f conftest.$ac_objext conftest.$ac_ext
3125 cat >conftest.$ac_ext <<_ACEOF
3126 #line $LINENO "configure"
3129 cat confdefs.h >>conftest.$ac_ext
3130 cat >>conftest.$ac_ext <<_ACEOF
3131 /* end confdefs.h. */
3141 rm -f conftest.$ac_objext
3142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3143 (eval $ac_compile) 2>&5
3145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146 (exit $ac_status); } &&
3147 { ac_try='test -s conftest.$ac_objext'
3148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); }; }; then
3155 echo "$as_me: failed program was:" >&5
3156 sed 's/^/| /' conftest.$ac_ext >&5
3159 rm -f conftest.$ac_objext conftest.$ac_ext
3162 if test -n "$ac_declaration"; then
3163 echo '#ifdef __cplusplus' >>confdefs.h
3164 echo $ac_declaration >>confdefs.h
3165 echo '#endif' >>confdefs.h
3169 echo "$as_me: failed program was:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3173 rm -f conftest.$ac_objext conftest.$ac_ext
3175 ac_cpp='$CPP $CPPFLAGS'
3176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3181 ac_cpp='$CPP $CPPFLAGS'
3182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3185 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3186 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3187 # On Suns, sometimes $CPP names a directory.
3188 if test -n "$CPP" && test -d "$CPP"; then
3191 if test -z "$CPP"; then
3192 if test "${ac_cv_prog_CPP+set}" = set; then
3193 echo $ECHO_N "(cached) $ECHO_C" >&6
3195 # Double quotes because CPP needs to be expanded
3196 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3199 for ac_c_preproc_warn_flag in '' yes
3201 # Use a header file that comes with gcc, so configuring glibc
3202 # with a fresh cross-compiler works.
3203 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3204 # <limits.h> exists even on freestanding compilers.
3205 # On the NeXT, cc -E runs the code through the compiler's parser,
3206 # not just through cpp. "Syntax error" is here to catch this case.
3207 cat >conftest.$ac_ext <<_ACEOF
3208 #line $LINENO "configure"
3211 cat confdefs.h >>conftest.$ac_ext
3212 cat >>conftest.$ac_ext <<_ACEOF
3213 /* end confdefs.h. */
3215 # include <limits.h>
3217 # include <assert.h>
3221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3222 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3224 grep -v '^ *+' conftest.er1 >conftest.err
3226 cat conftest.err >&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); } >/dev/null; then
3229 if test -s conftest.err; then
3230 ac_cpp_err=$ac_c_preproc_warn_flag
3237 if test -z "$ac_cpp_err"; then
3240 echo "$as_me: failed program was:" >&5
3241 sed 's/^/| /' conftest.$ac_ext >&5
3243 # Broken: fails on valid input.
3246 rm -f conftest.err conftest.$ac_ext
3248 # OK, works on sane cases. Now check whether non-existent headers
3249 # can be detected and how.
3250 cat >conftest.$ac_ext <<_ACEOF
3251 #line $LINENO "configure"
3254 cat confdefs.h >>conftest.$ac_ext
3255 cat >>conftest.$ac_ext <<_ACEOF
3256 /* end confdefs.h. */
3257 #include <ac_nonexistent.h>
3259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3262 grep -v '^ *+' conftest.er1 >conftest.err
3264 cat conftest.err >&5
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); } >/dev/null; then
3267 if test -s conftest.err; then
3268 ac_cpp_err=$ac_c_preproc_warn_flag
3275 if test -z "$ac_cpp_err"; then
3276 # Broken: success on invalid input.
3279 echo "$as_me: failed program was:" >&5
3280 sed 's/^/| /' conftest.$ac_ext >&5
3282 # Passes both tests.
3286 rm -f conftest.err conftest.$ac_ext
3289 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3290 rm -f conftest.err conftest.$ac_ext
3291 if $ac_preproc_ok; then
3303 echo "$as_me:$LINENO: result: $CPP" >&5
3304 echo "${ECHO_T}$CPP" >&6
3306 for ac_c_preproc_warn_flag in '' yes
3308 # Use a header file that comes with gcc, so configuring glibc
3309 # with a fresh cross-compiler works.
3310 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3311 # <limits.h> exists even on freestanding compilers.
3312 # On the NeXT, cc -E runs the code through the compiler's parser,
3313 # not just through cpp. "Syntax error" is here to catch this case.
3314 cat >conftest.$ac_ext <<_ACEOF
3315 #line $LINENO "configure"
3318 cat confdefs.h >>conftest.$ac_ext
3319 cat >>conftest.$ac_ext <<_ACEOF
3320 /* end confdefs.h. */
3322 # include <limits.h>
3324 # include <assert.h>
3328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3329 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3331 grep -v '^ *+' conftest.er1 >conftest.err
3333 cat conftest.err >&5
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); } >/dev/null; then
3336 if test -s conftest.err; then
3337 ac_cpp_err=$ac_c_preproc_warn_flag
3344 if test -z "$ac_cpp_err"; then
3347 echo "$as_me: failed program was:" >&5
3348 sed 's/^/| /' conftest.$ac_ext >&5
3350 # Broken: fails on valid input.
3353 rm -f conftest.err conftest.$ac_ext
3355 # OK, works on sane cases. Now check whether non-existent headers
3356 # can be detected and how.
3357 cat >conftest.$ac_ext <<_ACEOF
3358 #line $LINENO "configure"
3361 cat confdefs.h >>conftest.$ac_ext
3362 cat >>conftest.$ac_ext <<_ACEOF
3363 /* end confdefs.h. */
3364 #include <ac_nonexistent.h>
3366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3369 grep -v '^ *+' conftest.er1 >conftest.err
3371 cat conftest.err >&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); } >/dev/null; then
3374 if test -s conftest.err; then
3375 ac_cpp_err=$ac_c_preproc_warn_flag
3382 if test -z "$ac_cpp_err"; then
3383 # Broken: success on invalid input.
3386 echo "$as_me: failed program was:" >&5
3387 sed 's/^/| /' conftest.$ac_ext >&5
3389 # Passes both tests.
3393 rm -f conftest.err conftest.$ac_ext
3396 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3397 rm -f conftest.err conftest.$ac_ext
3398 if $ac_preproc_ok; then
3401 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3402 See \`config.log' for more details." >&5
3403 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3404 See \`config.log' for more details." >&2;}
3405 { (exit 1); exit 1; }; }
3409 ac_cpp='$CPP $CPPFLAGS'
3410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3415 if test "$GCC" != "yes"
3417 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3418 echo "$as_me: error: gcc required but not found" >&2;}
3419 { (exit 1); exit 1; }; }
3422 if test "$GXX" != "yes"
3424 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3425 echo "$as_me: error: g++ required but not found" >&2;}
3426 { (exit 1); exit 1; }; }
3429 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3430 if test "$gccmajor" -lt "3"
3432 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3433 echo "$as_me: error: gcc 3.x required" >&2;}
3434 { (exit 1); exit 1; }; }
3437 echo "$as_me:$LINENO: checking for GNU make" >&5
3438 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3439 if test "${_cv_gnu_make_command+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 _cv_gnu_make_command='' ;
3443 for a in "$MAKE" make gmake gnumake ; do
3444 if test -z "$a" ; then continue ; fi ;
3445 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3446 _cv_gnu_make_command=$a ;
3452 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3453 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3454 if test "x$_cv_gnu_make_command" != "x" ; then
3458 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3459 echo "${ECHO_T}\"Not found\"" >&6;
3463 if test -z "$_cv_gnu_make_command"
3465 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3466 echo "$as_me: error: GNU Make required but not found" >&2;}
3467 { (exit 1); exit 1; }; }
3471 echo "$as_me:$LINENO: checking " >&5
3472 echo $ECHO_N "checking ... $ECHO_C" >&6
3473 if test "${ac_cv_has_flex+set}" = set; then
3474 echo $ECHO_N "(cached) $ECHO_C" >&6
3476 for ac_prog in flex lex
3478 # Extract the first word of "$ac_prog", so it can be a program name with args.
3479 set dummy $ac_prog; ac_word=$2
3480 echo "$as_me:$LINENO: checking for $ac_word" >&5
3481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3482 if test "${ac_cv_prog_LEX+set}" = set; then
3483 echo $ECHO_N "(cached) $ECHO_C" >&6
3485 if test -n "$LEX"; then
3486 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3492 test -z "$as_dir" && as_dir=.
3493 for ac_exec_ext in '' $ac_executable_extensions; do
3494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3495 ac_cv_prog_LEX="$ac_prog"
3496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3505 if test -n "$LEX"; then
3506 echo "$as_me:$LINENO: result: $LEX" >&5
3507 echo "${ECHO_T}$LEX" >&6
3509 echo "$as_me:$LINENO: result: no" >&5
3510 echo "${ECHO_T}no" >&6
3513 test -n "$LEX" && break
3515 test -n "$LEX" || LEX=":"
3517 if test -z "$LEXLIB"
3519 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3520 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3521 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3522 echo $ECHO_N "(cached) $ECHO_C" >&6
3524 ac_check_lib_save_LIBS=$LIBS
3526 cat >conftest.$ac_ext <<_ACEOF
3527 #line $LINENO "configure"
3530 cat confdefs.h >>conftest.$ac_ext
3531 cat >>conftest.$ac_ext <<_ACEOF
3532 /* end confdefs.h. */
3534 /* Override any gcc2 internal prototype to avoid an error. */
3538 /* We use char because int might match the return type of a gcc2
3539 builtin and then its argument prototype would still apply. */
3549 rm -f conftest.$ac_objext conftest$ac_exeext
3550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3551 (eval $ac_link) 2>&5
3553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554 (exit $ac_status); } &&
3555 { ac_try='test -s conftest$ac_exeext'
3556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); }; }; then
3561 ac_cv_lib_fl_yywrap=yes
3563 echo "$as_me: failed program was:" >&5
3564 sed 's/^/| /' conftest.$ac_ext >&5
3566 ac_cv_lib_fl_yywrap=no
3568 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3569 LIBS=$ac_check_lib_save_LIBS
3571 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3572 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3573 if test $ac_cv_lib_fl_yywrap = yes; then
3576 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3577 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3578 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3579 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 ac_check_lib_save_LIBS=$LIBS
3583 cat >conftest.$ac_ext <<_ACEOF
3584 #line $LINENO "configure"
3587 cat confdefs.h >>conftest.$ac_ext
3588 cat >>conftest.$ac_ext <<_ACEOF
3589 /* end confdefs.h. */
3591 /* Override any gcc2 internal prototype to avoid an error. */
3595 /* We use char because int might match the return type of a gcc2
3596 builtin and then its argument prototype would still apply. */
3606 rm -f conftest.$ac_objext conftest$ac_exeext
3607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3608 (eval $ac_link) 2>&5
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); } &&
3612 { ac_try='test -s conftest$ac_exeext'
3613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617 (exit $ac_status); }; }; then
3618 ac_cv_lib_l_yywrap=yes
3620 echo "$as_me: failed program was:" >&5
3621 sed 's/^/| /' conftest.$ac_ext >&5
3623 ac_cv_lib_l_yywrap=no
3625 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3626 LIBS=$ac_check_lib_save_LIBS
3628 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3629 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3630 if test $ac_cv_lib_l_yywrap = yes; then
3638 if test "x$LEX" != "x:"; then
3639 echo "$as_me:$LINENO: checking lex output file root" >&5
3640 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3641 if test "${ac_cv_prog_lex_root+set}" = set; then
3642 echo $ECHO_N "(cached) $ECHO_C" >&6
3644 # The minimal lex program is just a single line: %%. But some broken lexes
3645 # (Solaris, I think it was) want two %% lines, so accommodate them.
3646 cat >conftest.l <<_ACEOF
3650 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3651 (eval $LEX conftest.l) 2>&5
3653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3654 (exit $ac_status); }
3655 if test -f lex.yy.c; then
3656 ac_cv_prog_lex_root=lex.yy
3657 elif test -f lexyy.c; then
3658 ac_cv_prog_lex_root=lexyy
3660 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3661 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3662 { (exit 1); exit 1; }; }
3665 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3666 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3668 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3670 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3671 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3672 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3673 echo $ECHO_N "(cached) $ECHO_C" >&6
3675 # POSIX says lex can declare yytext either as a pointer or an array; the
3676 # default is implementation-dependent. Figure out which it is, since
3677 # not all implementations provide the %pointer and %array declarations.
3678 ac_cv_prog_lex_yytext_pointer=no
3679 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3681 LIBS="$LIBS $LEXLIB"
3682 cat >conftest.$ac_ext <<_ACEOF
3683 `cat $LEX_OUTPUT_ROOT.c`
3685 rm -f conftest.$ac_objext conftest$ac_exeext
3686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3687 (eval $ac_link) 2>&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); } &&
3691 { ac_try='test -s conftest$ac_exeext'
3692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); }; }; then
3697 ac_cv_prog_lex_yytext_pointer=yes
3699 echo "$as_me: failed program was:" >&5
3700 sed 's/^/| /' conftest.$ac_ext >&5
3703 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3705 rm -f "${LEX_OUTPUT_ROOT}.c"
3708 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3709 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3710 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3712 cat >>confdefs.h <<\_ACEOF
3713 #define YYTEXT_POINTER 1
3721 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3722 echo "${ECHO_T}$ac_cv_has_flex" >&6
3723 if test "$LEX" != "flex"; then
3724 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3725 echo "$as_me: error: flex not found but required" >&2;}
3726 { (exit 1); exit 1; }; }
3729 echo "$as_me:$LINENO: checking " >&5
3730 echo $ECHO_N "checking ... $ECHO_C" >&6
3731 if test "${ac_cv_has_bison+set}" = set; then
3732 echo $ECHO_N "(cached) $ECHO_C" >&6
3734 for ac_prog in 'bison -y' byacc
3736 # Extract the first word of "$ac_prog", so it can be a program name with args.
3737 set dummy $ac_prog; ac_word=$2
3738 echo "$as_me:$LINENO: checking for $ac_word" >&5
3739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3740 if test "${ac_cv_prog_YACC+set}" = set; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 if test -n "$YACC"; then
3744 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3750 test -z "$as_dir" && as_dir=.
3751 for ac_exec_ext in '' $ac_executable_extensions; do
3752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3753 ac_cv_prog_YACC="$ac_prog"
3754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3762 YACC=$ac_cv_prog_YACC
3763 if test -n "$YACC"; then
3764 echo "$as_me:$LINENO: result: $YACC" >&5
3765 echo "${ECHO_T}$YACC" >&6
3767 echo "$as_me:$LINENO: result: no" >&5
3768 echo "${ECHO_T}no" >&6
3771 test -n "$YACC" && break
3773 test -n "$YACC" || YACC="yacc"
3777 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3778 echo "${ECHO_T}$ac_cv_has_bison" >&6
3779 if test "$YACC" != "bison -y"; then
3780 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3781 echo "$as_me: error: bison not found but required" >&2;}
3782 { (exit 1); exit 1; }; }
3789 # Check whether --enable-shared or --disable-shared was given.
3790 if test "${enable_shared+set}" = set; then
3791 enableval="$enable_shared"
3792 p=${PACKAGE-default}
3794 yes) enable_shared=yes ;;
3795 no) enable_shared=no ;;
3798 # Look at the argument we got. We use all the common list separators.
3799 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3800 for pkg in $enableval; do
3802 if test "X$pkg" = "X$p"; then
3813 # Check whether --enable-static or --disable-static was given.
3814 if test "${enable_static+set}" = set; then
3815 enableval="$enable_static"
3816 p=${PACKAGE-default}
3818 yes) enable_static=yes ;;
3819 no) enable_static=no ;;
3822 # Look at the argument we got. We use all the common list separators.
3823 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3824 for pkg in $enableval; do
3826 if test "X$pkg" = "X$p"; then
3837 # Check whether --enable-fast-install or --disable-fast-install was given.
3838 if test "${enable_fast_install+set}" = set; then
3839 enableval="$enable_fast_install"
3840 p=${PACKAGE-default}
3842 yes) enable_fast_install=yes ;;
3843 no) enable_fast_install=no ;;
3845 enable_fast_install=no
3846 # Look at the argument we got. We use all the common list separators.
3847 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3848 for pkg in $enableval; do
3850 if test "X$pkg" = "X$p"; then
3851 enable_fast_install=yes
3858 enable_fast_install=yes
3861 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3862 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3863 if test "${lt_cv_path_SED+set}" = set; then
3864 echo $ECHO_N "(cached) $ECHO_C" >&6
3866 # Loop through the user's path and test for sed and gsed.
3867 # Then use that list of sed's as ones to test for truncation.
3868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3872 test -z "$as_dir" && as_dir=.
3873 for lt_ac_prog in sed gsed; do
3874 for ac_exec_ext in '' $ac_executable_extensions; do
3875 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3876 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3883 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3884 # along with /bin/sed that truncates output.
3885 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3886 test ! -f $lt_ac_sed && break
3887 cat /dev/null > conftest.in
3889 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3890 # Check for GNU sed and select it if it is found.
3891 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3892 lt_cv_path_SED=$lt_ac_sed
3896 cat conftest.in conftest.in >conftest.tmp
3897 mv conftest.tmp conftest.in
3898 cp conftest.in conftest.nl
3900 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3901 cmp -s conftest.out conftest.nl || break
3902 # 10000 chars as input seems more than enough
3903 test $lt_ac_count -gt 10 && break
3904 lt_ac_count=`expr $lt_ac_count + 1`
3905 if test $lt_ac_count -gt $lt_ac_max; then
3906 lt_ac_max=$lt_ac_count
3907 lt_cv_path_SED=$lt_ac_sed
3915 echo "$as_me:$LINENO: result: $SED" >&5
3916 echo "${ECHO_T}$SED" >&6
3918 echo "$as_me:$LINENO: checking for egrep" >&5
3919 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3920 if test "${ac_cv_prog_egrep+set}" = set; then
3921 echo $ECHO_N "(cached) $ECHO_C" >&6
3923 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3924 then ac_cv_prog_egrep='grep -E'
3925 else ac_cv_prog_egrep='egrep'
3928 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3929 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3930 EGREP=$ac_cv_prog_egrep
3934 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3935 if test "${with_gnu_ld+set}" = set; then
3936 withval="$with_gnu_ld"
3937 test "$withval" = no || with_gnu_ld=yes
3942 if test "$GCC" = yes; then
3943 # Check if gcc -print-prog-name=ld gives a path.
3944 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3945 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3948 # gcc leaves a trailing carriage return which upsets mingw
3949 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3951 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3954 # Accept absolute paths.
3956 re_direlt='/[^/][^/]*/\.\./'
3957 # Canonicalize the path of ld
3958 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3959 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3960 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3962 test -z "$LD" && LD="$ac_prog"
3965 # If it fails, then pretend we aren't using GCC.
3969 # If it is relative, then search for the first ld in PATH.
3973 elif test "$with_gnu_ld" = yes; then
3974 echo "$as_me:$LINENO: checking for GNU ld" >&5
3975 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3977 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3978 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3980 if test "${lt_cv_path_LD+set}" = set; then
3981 echo $ECHO_N "(cached) $ECHO_C" >&6
3983 if test -z "$LD"; then
3984 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3985 for ac_dir in $PATH; do
3987 test -z "$ac_dir" && ac_dir=.
3988 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3989 lt_cv_path_LD="$ac_dir/$ac_prog"
3990 # Check to see if the program is GNU ld. I'd rather use --version,
3991 # but apparently some GNU ld's only accept -v.
3992 # Break only if it was the GNU/non-GNU ld that we prefer.
3993 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3994 *GNU* | *'with BFD'*)
3995 test "$with_gnu_ld" != no && break
3998 test "$with_gnu_ld" != yes && break
4005 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4010 if test -n "$LD"; then
4011 echo "$as_me:$LINENO: result: $LD" >&5
4012 echo "${ECHO_T}$LD" >&6
4014 echo "$as_me:$LINENO: result: no" >&5
4015 echo "${ECHO_T}no" >&6
4017 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4018 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4019 { (exit 1); exit 1; }; }
4020 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4021 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4022 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4023 echo $ECHO_N "(cached) $ECHO_C" >&6
4025 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4026 case `"$LD" -v 2>&1 </dev/null` in
4027 *GNU* | *'with BFD'*)
4028 lt_cv_prog_gnu_ld=yes
4031 lt_cv_prog_gnu_ld=no
4035 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4036 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4037 with_gnu_ld=$lt_cv_prog_gnu_ld
4040 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4041 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4042 if test "${lt_cv_ld_reload_flag+set}" = set; then
4043 echo $ECHO_N "(cached) $ECHO_C" >&6
4045 lt_cv_ld_reload_flag='-r'
4047 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4048 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4049 reload_flag=$lt_cv_ld_reload_flag
4050 case $reload_flag in
4052 *) reload_flag=" $reload_flag" ;;
4054 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4056 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4057 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4058 if test "${lt_cv_path_NM+set}" = set; then
4059 echo $ECHO_N "(cached) $ECHO_C" >&6
4061 if test -n "$NM"; then
4062 # Let the user override the test.
4065 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4066 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4068 test -z "$ac_dir" && ac_dir=.
4069 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4070 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4071 # Check to see if the nm accepts a BSD-compat flag.
4072 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4073 # nm: unknown option "B" ignored
4074 # Tru64's nm complains that /dev/null is an invalid object file
4075 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4076 */dev/null* | *'Invalid file or object type'*)
4077 lt_cv_path_NM="$tmp_nm -B"
4081 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4083 lt_cv_path_NM="$tmp_nm -p"
4087 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4088 continue # so that we can try to find one that supports BSD flags
4095 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4098 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4099 echo "${ECHO_T}$lt_cv_path_NM" >&6
4102 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4103 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4105 if test "$LN_S" = "ln -s"; then
4106 echo "$as_me:$LINENO: result: yes" >&5
4107 echo "${ECHO_T}yes" >&6
4109 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4110 echo "${ECHO_T}no, using $LN_S" >&6
4113 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4114 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4115 if test "${lt_cv_deplibs_check_method+set}" = set; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4118 lt_cv_file_magic_cmd='$MAGIC_CMD'
4119 lt_cv_file_magic_test_file=
4120 lt_cv_deplibs_check_method='unknown'
4121 # Need to set the preceding variable on all platforms that support
4122 # interlibrary dependencies.
4123 # 'none' -- dependencies not supported.
4124 # `unknown' -- same as none, but documents that we really don't know.
4125 # 'pass_all' -- all dependencies passed with no checks.
4126 # 'test_compile' -- check by making test program.
4127 # 'file_magic [[regex]]' -- check by looking for files in library path
4128 # which responds to the $file_magic_cmd with a given extended regex.
4129 # If you have `file' or equivalent on your system and you're not sure
4130 # whether `pass_all' will *always* work, you probably want this one.
4134 lt_cv_deplibs_check_method=pass_all
4138 lt_cv_deplibs_check_method=pass_all
4142 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4143 lt_cv_file_magic_cmd='/usr/bin/file -L'
4144 lt_cv_file_magic_test_file=/shlib/libc.so
4147 cygwin* | mingw* | pw32*)
4148 # win32_libid is a shell function defined in ltmain.sh
4149 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4150 lt_cv_file_magic_cmd='win32_libid'
4153 darwin* | rhapsody*)
4154 # this will be overwritten by pass_all, but leave it in just in case
4155 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4156 lt_cv_file_magic_cmd='/usr/bin/file -L'
4158 rhapsody* | darwin1.[012])
4159 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4162 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4165 lt_cv_deplibs_check_method=pass_all
4169 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4172 # Not sure whether the presence of OpenBSD here was a mistake.
4173 # Let's accept both of them until this is cleared up.
4174 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4175 lt_cv_file_magic_cmd=/usr/bin/file
4176 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4180 lt_cv_deplibs_check_method=pass_all
4185 lt_cv_deplibs_check_method=pass_all
4188 hpux10.20* | hpux11*)
4189 lt_cv_file_magic_cmd=/usr/bin/file
4192 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4193 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4196 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]'
4197 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4200 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4201 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4206 irix5* | irix6* | nonstopux*)
4208 irix5* | nonstopux*)
4209 # this will be overridden with pass_all, but let us keep it just in case
4210 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4214 *-32|*"-32 ") libmagic=32-bit;;
4215 *-n32|*"-n32 ") libmagic=N32;;
4216 *-64|*"-64 ") libmagic=64-bit;;
4217 *) libmagic=never-match;;
4219 # this will be overridden with pass_all, but let us keep it just in case
4220 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4223 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4224 lt_cv_deplibs_check_method=pass_all
4227 # This must be Linux ELF.
4230 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4231 lt_cv_deplibs_check_method=pass_all ;;
4233 # glibc up to 2.1.1 does not perform some relocations on ARM
4234 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4236 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4240 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4241 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4243 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4248 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4249 lt_cv_file_magic_cmd=/usr/bin/file
4250 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4254 lt_cv_deplibs_check_method=unknown
4258 lt_cv_file_magic_cmd=/usr/bin/file
4259 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4260 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4261 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4263 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4267 osf3* | osf4* | osf5*)
4268 # this will be overridden with pass_all, but let us keep it just in case
4269 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4270 lt_cv_file_magic_test_file=/shlib/libc.so
4271 lt_cv_deplibs_check_method=pass_all
4275 lt_cv_deplibs_check_method=pass_all
4279 lt_cv_deplibs_check_method=pass_all
4280 lt_cv_file_magic_test_file=/lib/libc.so
4283 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4284 case $host_vendor in
4286 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]'
4287 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4290 lt_cv_deplibs_check_method=pass_all
4293 lt_cv_file_magic_cmd='/bin/file'
4294 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4297 lt_cv_file_magic_cmd='/bin/file'
4298 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4299 lt_cv_file_magic_test_file=/lib/libc.so
4302 lt_cv_deplibs_check_method=pass_all
4307 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4308 lt_cv_deplibs_check_method=pass_all
4313 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4314 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4315 file_magic_cmd=$lt_cv_file_magic_cmd
4316 deplibs_check_method=$lt_cv_deplibs_check_method
4317 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4322 # If no C compiler was specified, use CC.
4325 # Allow CC to be a program name with arguments.
4328 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4329 if test "${enable_libtool_lock+set}" = set; then
4330 enableval="$enable_libtool_lock"
4333 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4335 # Some flags need to be propagated to the compiler or linker for good
4339 # Find out which ABI we are using.
4340 echo 'int i;' > conftest.$ac_ext
4341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4342 (eval $ac_compile) 2>&5
4344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345 (exit $ac_status); }; then
4346 case `/usr/bin/file conftest.$ac_objext` in
4358 # Find out which ABI we are using.
4359 echo '#line 4359 "configure"' > conftest.$ac_ext
4360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4361 (eval $ac_compile) 2>&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); }; then
4365 if test "$lt_cv_prog_gnu_ld" = yes; then
4366 case `/usr/bin/file conftest.$ac_objext` in
4368 LD="${LD-ld} -melf32bsmip"
4371 LD="${LD-ld} -melf32bmipn32"
4374 LD="${LD-ld} -melf64bmip"
4378 case `/usr/bin/file conftest.$ac_objext` in
4394 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4395 # Find out which ABI we are using.
4396 echo 'int i;' > conftest.$ac_ext
4397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4398 (eval $ac_compile) 2>&5
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); }; then
4402 case "`/usr/bin/file conftest.o`" in
4406 LD="${LD-ld} -m elf_i386"
4409 LD="${LD-ld} -m elf32ppclinux"
4412 LD="${LD-ld} -m elf_s390"
4415 LD="${LD-ld} -m elf32_sparc"
4422 LD="${LD-ld} -m elf_x86_64"
4424 ppc*-*linux*|powerpc*-*linux*)
4425 LD="${LD-ld} -m elf64ppc"
4428 LD="${LD-ld} -m elf64_s390"
4431 LD="${LD-ld} -m elf64_sparc"
4441 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4442 SAVE_CFLAGS="$CFLAGS"
4443 CFLAGS="$CFLAGS -belf"
4444 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4445 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4446 if test "${lt_cv_cc_needs_belf+set}" = set; then
4447 echo $ECHO_N "(cached) $ECHO_C" >&6
4450 ac_cpp='$CPP $CPPFLAGS'
4451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4455 cat >conftest.$ac_ext <<_ACEOF
4456 #line $LINENO "configure"
4459 cat confdefs.h >>conftest.$ac_ext
4460 cat >>conftest.$ac_ext <<_ACEOF
4461 /* end confdefs.h. */
4471 rm -f conftest.$ac_objext conftest$ac_exeext
4472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4473 (eval $ac_link) 2>&5
4475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); } &&
4477 { ac_try='test -s conftest$ac_exeext'
4478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4482 (exit $ac_status); }; }; then
4483 lt_cv_cc_needs_belf=yes
4485 echo "$as_me: failed program was:" >&5
4486 sed 's/^/| /' conftest.$ac_ext >&5
4488 lt_cv_cc_needs_belf=no
4490 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4492 ac_cpp='$CPP $CPPFLAGS'
4493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4498 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4499 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4500 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4501 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4502 CFLAGS="$SAVE_CFLAGS"
4508 need_locks="$enable_libtool_lock"
4512 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4513 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4514 if test "${ac_cv_header_stdc+set}" = set; then
4515 echo $ECHO_N "(cached) $ECHO_C" >&6
4517 cat >conftest.$ac_ext <<_ACEOF
4518 #line $LINENO "configure"
4521 cat confdefs.h >>conftest.$ac_ext
4522 cat >>conftest.$ac_ext <<_ACEOF
4523 /* end confdefs.h. */
4537 rm -f conftest.$ac_objext
4538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4539 (eval $ac_compile) 2>&5
4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542 (exit $ac_status); } &&
4543 { ac_try='test -s conftest.$ac_objext'
4544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548 (exit $ac_status); }; }; then
4549 ac_cv_header_stdc=yes
4551 echo "$as_me: failed program was:" >&5
4552 sed 's/^/| /' conftest.$ac_ext >&5
4554 ac_cv_header_stdc=no
4556 rm -f conftest.$ac_objext conftest.$ac_ext
4558 if test $ac_cv_header_stdc = yes; then
4559 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4560 cat >conftest.$ac_ext <<_ACEOF
4561 #line $LINENO "configure"
4564 cat confdefs.h >>conftest.$ac_ext
4565 cat >>conftest.$ac_ext <<_ACEOF
4566 /* end confdefs.h. */
4570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4571 $EGREP "memchr" >/dev/null 2>&1; then
4574 ac_cv_header_stdc=no
4580 if test $ac_cv_header_stdc = yes; then
4581 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4582 cat >conftest.$ac_ext <<_ACEOF
4583 #line $LINENO "configure"
4586 cat confdefs.h >>conftest.$ac_ext
4587 cat >>conftest.$ac_ext <<_ACEOF
4588 /* end confdefs.h. */
4592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4593 $EGREP "free" >/dev/null 2>&1; then
4596 ac_cv_header_stdc=no
4602 if test $ac_cv_header_stdc = yes; then
4603 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4604 if test "$cross_compiling" = yes; then
4607 cat >conftest.$ac_ext <<_ACEOF
4608 #line $LINENO "configure"
4611 cat confdefs.h >>conftest.$ac_ext
4612 cat >>conftest.$ac_ext <<_ACEOF
4613 /* end confdefs.h. */
4615 #if ((' ' & 0x0FF) == 0x020)
4616 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4617 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4619 # define ISLOWER(c) \
4620 (('a' <= (c) && (c) <= 'i') \
4621 || ('j' <= (c) && (c) <= 'r') \
4622 || ('s' <= (c) && (c) <= 'z'))
4623 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4626 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4631 for (i = 0; i < 256; i++)
4632 if (XOR (islower (i), ISLOWER (i))
4633 || toupper (i) != TOUPPER (i))
4638 rm -f conftest$ac_exeext
4639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4640 (eval $ac_link) 2>&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 (exit $ac_status); }; }; then
4651 echo "$as_me: program exited with status $ac_status" >&5
4652 echo "$as_me: failed program was:" >&5
4653 sed 's/^/| /' conftest.$ac_ext >&5
4656 ac_cv_header_stdc=no
4658 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4662 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4663 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4664 if test $ac_cv_header_stdc = yes; then
4666 cat >>confdefs.h <<\_ACEOF
4667 #define STDC_HEADERS 1
4672 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4682 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4683 inttypes.h stdint.h unistd.h
4685 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4686 echo "$as_me:$LINENO: checking for $ac_header" >&5
4687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4689 echo $ECHO_N "(cached) $ECHO_C" >&6
4691 cat >conftest.$ac_ext <<_ACEOF
4692 #line $LINENO "configure"
4695 cat confdefs.h >>conftest.$ac_ext
4696 cat >>conftest.$ac_ext <<_ACEOF
4697 /* end confdefs.h. */
4698 $ac_includes_default
4700 #include <$ac_header>
4702 rm -f conftest.$ac_objext
4703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4704 (eval $ac_compile) 2>&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); } &&
4708 { ac_try='test -s conftest.$ac_objext'
4709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713 (exit $ac_status); }; }; then
4714 eval "$as_ac_Header=yes"
4716 echo "$as_me: failed program was:" >&5
4717 sed 's/^/| /' conftest.$ac_ext >&5
4719 eval "$as_ac_Header=no"
4721 rm -f conftest.$ac_objext conftest.$ac_ext
4723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4726 cat >>confdefs.h <<_ACEOF
4727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4736 for ac_header in dlfcn.h
4738 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4740 echo "$as_me:$LINENO: checking for $ac_header" >&5
4741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4743 echo $ECHO_N "(cached) $ECHO_C" >&6
4745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4748 # Is the header compilable?
4749 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4750 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4751 cat >conftest.$ac_ext <<_ACEOF
4752 #line $LINENO "configure"
4755 cat confdefs.h >>conftest.$ac_ext
4756 cat >>conftest.$ac_ext <<_ACEOF
4757 /* end confdefs.h. */
4758 $ac_includes_default
4759 #include <$ac_header>
4761 rm -f conftest.$ac_objext
4762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4763 (eval $ac_compile) 2>&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); } &&
4767 { ac_try='test -s conftest.$ac_objext'
4768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); }; }; then
4773 ac_header_compiler=yes
4775 echo "$as_me: failed program was:" >&5
4776 sed 's/^/| /' conftest.$ac_ext >&5
4778 ac_header_compiler=no
4780 rm -f conftest.$ac_objext conftest.$ac_ext
4781 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4782 echo "${ECHO_T}$ac_header_compiler" >&6
4784 # Is the header present?
4785 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4786 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4787 cat >conftest.$ac_ext <<_ACEOF
4788 #line $LINENO "configure"
4791 cat confdefs.h >>conftest.$ac_ext
4792 cat >>conftest.$ac_ext <<_ACEOF
4793 /* end confdefs.h. */
4794 #include <$ac_header>
4796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4797 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4799 grep -v '^ *+' conftest.er1 >conftest.err
4801 cat conftest.err >&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); } >/dev/null; then
4804 if test -s conftest.err; then
4805 ac_cpp_err=$ac_c_preproc_warn_flag
4812 if test -z "$ac_cpp_err"; then
4813 ac_header_preproc=yes
4815 echo "$as_me: failed program was:" >&5
4816 sed 's/^/| /' conftest.$ac_ext >&5
4818 ac_header_preproc=no
4820 rm -f conftest.err conftest.$ac_ext
4821 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4822 echo "${ECHO_T}$ac_header_preproc" >&6
4824 # So? What about this header?
4825 case $ac_header_compiler:$ac_header_preproc in
4827 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4828 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4830 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4833 ## ------------------------------------ ##
4834 ## Report this to bug-autoconf@gnu.org. ##
4835 ## ------------------------------------ ##
4838 sed "s/^/$as_me: WARNING: /" >&2
4841 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4842 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4843 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4844 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4846 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4849 ## ------------------------------------ ##
4850 ## Report this to bug-autoconf@gnu.org. ##
4851 ## ------------------------------------ ##
4854 sed "s/^/$as_me: WARNING: /" >&2
4857 echo "$as_me:$LINENO: checking for $ac_header" >&5
4858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4860 echo $ECHO_N "(cached) $ECHO_C" >&6
4862 eval "$as_ac_Header=$ac_header_preproc"
4864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4869 cat >>confdefs.h <<_ACEOF
4870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4878 ac_cpp='$CXXCPP $CPPFLAGS'
4879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4882 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4883 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4884 if test -z "$CXXCPP"; then
4885 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4886 echo $ECHO_N "(cached) $ECHO_C" >&6
4888 # Double quotes because CXXCPP needs to be expanded
4889 for CXXCPP in "$CXX -E" "/lib/cpp"
4892 for ac_cxx_preproc_warn_flag in '' yes
4894 # Use a header file that comes with gcc, so configuring glibc
4895 # with a fresh cross-compiler works.
4896 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4897 # <limits.h> exists even on freestanding compilers.
4898 # On the NeXT, cc -E runs the code through the compiler's parser,
4899 # not just through cpp. "Syntax error" is here to catch this case.
4900 cat >conftest.$ac_ext <<_ACEOF
4901 #line $LINENO "configure"
4904 cat confdefs.h >>conftest.$ac_ext
4905 cat >>conftest.$ac_ext <<_ACEOF
4906 /* end confdefs.h. */
4908 # include <limits.h>
4910 # include <assert.h>
4914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4915 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4917 grep -v '^ *+' conftest.er1 >conftest.err
4919 cat conftest.err >&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); } >/dev/null; then
4922 if test -s conftest.err; then
4923 ac_cpp_err=$ac_cxx_preproc_warn_flag
4930 if test -z "$ac_cpp_err"; then
4933 echo "$as_me: failed program was:" >&5
4934 sed 's/^/| /' conftest.$ac_ext >&5
4936 # Broken: fails on valid input.
4939 rm -f conftest.err conftest.$ac_ext
4941 # OK, works on sane cases. Now check whether non-existent headers
4942 # can be detected and how.
4943 cat >conftest.$ac_ext <<_ACEOF
4944 #line $LINENO "configure"
4947 cat confdefs.h >>conftest.$ac_ext
4948 cat >>conftest.$ac_ext <<_ACEOF
4949 /* end confdefs.h. */
4950 #include <ac_nonexistent.h>
4952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4953 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4955 grep -v '^ *+' conftest.er1 >conftest.err
4957 cat conftest.err >&5
4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); } >/dev/null; then
4960 if test -s conftest.err; then
4961 ac_cpp_err=$ac_cxx_preproc_warn_flag
4968 if test -z "$ac_cpp_err"; then
4969 # Broken: success on invalid input.
4972 echo "$as_me: failed program was:" >&5
4973 sed 's/^/| /' conftest.$ac_ext >&5
4975 # Passes both tests.
4979 rm -f conftest.err conftest.$ac_ext
4982 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4983 rm -f conftest.err conftest.$ac_ext
4984 if $ac_preproc_ok; then
4989 ac_cv_prog_CXXCPP=$CXXCPP
4992 CXXCPP=$ac_cv_prog_CXXCPP
4994 ac_cv_prog_CXXCPP=$CXXCPP
4996 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4997 echo "${ECHO_T}$CXXCPP" >&6
4999 for ac_cxx_preproc_warn_flag in '' yes
5001 # Use a header file that comes with gcc, so configuring glibc
5002 # with a fresh cross-compiler works.
5003 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5004 # <limits.h> exists even on freestanding compilers.
5005 # On the NeXT, cc -E runs the code through the compiler's parser,
5006 # not just through cpp. "Syntax error" is here to catch this case.
5007 cat >conftest.$ac_ext <<_ACEOF
5008 #line $LINENO "configure"
5011 cat confdefs.h >>conftest.$ac_ext
5012 cat >>conftest.$ac_ext <<_ACEOF
5013 /* end confdefs.h. */
5015 # include <limits.h>
5017 # include <assert.h>
5021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5024 grep -v '^ *+' conftest.er1 >conftest.err
5026 cat conftest.err >&5
5027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5028 (exit $ac_status); } >/dev/null; then
5029 if test -s conftest.err; then
5030 ac_cpp_err=$ac_cxx_preproc_warn_flag
5037 if test -z "$ac_cpp_err"; then
5040 echo "$as_me: failed program was:" >&5
5041 sed 's/^/| /' conftest.$ac_ext >&5
5043 # Broken: fails on valid input.
5046 rm -f conftest.err conftest.$ac_ext
5048 # OK, works on sane cases. Now check whether non-existent headers
5049 # can be detected and how.
5050 cat >conftest.$ac_ext <<_ACEOF
5051 #line $LINENO "configure"
5054 cat confdefs.h >>conftest.$ac_ext
5055 cat >>conftest.$ac_ext <<_ACEOF
5056 /* end confdefs.h. */
5057 #include <ac_nonexistent.h>
5059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5062 grep -v '^ *+' conftest.er1 >conftest.err
5064 cat conftest.err >&5
5065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066 (exit $ac_status); } >/dev/null; then
5067 if test -s conftest.err; then
5068 ac_cpp_err=$ac_cxx_preproc_warn_flag
5075 if test -z "$ac_cpp_err"; then
5076 # Broken: success on invalid input.
5079 echo "$as_me: failed program was:" >&5
5080 sed 's/^/| /' conftest.$ac_ext >&5
5082 # Passes both tests.
5086 rm -f conftest.err conftest.$ac_ext
5089 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5090 rm -f conftest.err conftest.$ac_ext
5091 if $ac_preproc_ok; then
5094 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5095 See \`config.log' for more details." >&5
5096 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5097 See \`config.log' for more details." >&2;}
5098 { (exit 1); exit 1; }; }
5102 ac_cpp='$CXXCPP $CPPFLAGS'
5103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5109 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5110 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5111 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5112 if test -n "$ac_tool_prefix"; then
5113 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5115 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5116 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5117 echo "$as_me:$LINENO: checking for $ac_word" >&5
5118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5119 if test "${ac_cv_prog_F77+set}" = set; then
5120 echo $ECHO_N "(cached) $ECHO_C" >&6
5122 if test -n "$F77"; then
5123 ac_cv_prog_F77="$F77" # Let the user override the test.
5125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129 test -z "$as_dir" && as_dir=.
5130 for ac_exec_ext in '' $ac_executable_extensions; do
5131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5132 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5142 if test -n "$F77"; then
5143 echo "$as_me:$LINENO: result: $F77" >&5
5144 echo "${ECHO_T}$F77" >&6
5146 echo "$as_me:$LINENO: result: no" >&5
5147 echo "${ECHO_T}no" >&6
5150 test -n "$F77" && break
5153 if test -z "$F77"; then
5155 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5157 # Extract the first word of "$ac_prog", so it can be a program name with args.
5158 set dummy $ac_prog; ac_word=$2
5159 echo "$as_me:$LINENO: checking for $ac_word" >&5
5160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5161 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5162 echo $ECHO_N "(cached) $ECHO_C" >&6
5164 if test -n "$ac_ct_F77"; then
5165 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 test -z "$as_dir" && as_dir=.
5172 for ac_exec_ext in '' $ac_executable_extensions; do
5173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5174 ac_cv_prog_ac_ct_F77="$ac_prog"
5175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5183 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5184 if test -n "$ac_ct_F77"; then
5185 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5186 echo "${ECHO_T}$ac_ct_F77" >&6
5188 echo "$as_me:$LINENO: result: no" >&5
5189 echo "${ECHO_T}no" >&6
5192 test -n "$ac_ct_F77" && break
5199 # Provide some information about the compiler.
5200 echo "$as_me:5200:" \
5201 "checking for Fortran 77 compiler version" >&5
5202 ac_compiler=`set X $ac_compile; echo $2`
5203 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5204 (eval $ac_compiler --version </dev/null >&5) 2>&5
5206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5207 (exit $ac_status); }
5208 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5209 (eval $ac_compiler -v </dev/null >&5) 2>&5
5211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 (exit $ac_status); }
5213 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5214 (eval $ac_compiler -V </dev/null >&5) 2>&5
5216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217 (exit $ac_status); }
5219 # If we don't use `.F' as extension, the preprocessor is not run on the
5223 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5224 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5225 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5228 cat >conftest.$ac_ext <<_ACEOF
5236 rm -f conftest.$ac_objext
5237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5238 (eval $ac_compile) 2>&5
5240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241 (exit $ac_status); } &&
5242 { ac_try='test -s conftest.$ac_objext'
5243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247 (exit $ac_status); }; }; then
5250 echo "$as_me: failed program was:" >&5
5251 sed 's/^/| /' conftest.$ac_ext >&5
5255 rm -f conftest.$ac_objext conftest.$ac_ext
5256 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5259 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5260 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5262 G77=`test $ac_compiler_gnu = yes && echo yes`
5263 ac_test_FFLAGS=${FFLAGS+set}
5264 ac_save_FFLAGS=$FFLAGS
5266 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5267 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5268 if test "${ac_cv_prog_f77_g+set}" = set; then
5269 echo $ECHO_N "(cached) $ECHO_C" >&6
5272 cat >conftest.$ac_ext <<_ACEOF
5277 rm -f conftest.$ac_objext
5278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5279 (eval $ac_compile) 2>&5
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); } &&
5283 { ac_try='test -s conftest.$ac_objext'
5284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); }; }; then
5289 ac_cv_prog_f77_g=yes
5291 echo "$as_me: failed program was:" >&5
5292 sed 's/^/| /' conftest.$ac_ext >&5
5296 rm -f conftest.$ac_objext conftest.$ac_ext
5299 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5300 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5301 if test "$ac_test_FFLAGS" = set; then
5302 FFLAGS=$ac_save_FFLAGS
5303 elif test $ac_cv_prog_f77_g = yes; then
5304 if test "$G77" = yes; then
5310 if test "$G77" = yes; then
5317 ac_cpp='$CPP $CPPFLAGS'
5318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5324 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5326 # find the maximum length of command line arguments
5327 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5328 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5329 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5330 echo $ECHO_N "(cached) $ECHO_C" >&6
5337 # On DJGPP, this test can blow up pretty badly due to problems in libc
5338 # (any single argument exceeding 2000 bytes causes a buffer overrun
5339 # during glob expansion). Even if it were fixed, the result of this
5340 # check would be larger than it should be.
5341 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5345 # Under GNU Hurd, this test is not required because there is
5346 # no limit to the length of command line arguments.
5347 # Libtool will interpret -1 as no limit whatsoever
5348 lt_cv_sys_max_cmd_len=-1;
5352 # On Win9x/ME, this test blows up -- it succeeds, but takes
5353 # about 5 minutes as the teststring grows exponentially.
5354 # Worse, since 9x/ME are not pre-emptively multitasking,
5355 # you end up with a "frozen" computer, even though with patience
5356 # the test eventually succeeds (with a max line length of 256k).
5357 # Instead, let's just punt: use the minimum linelength reported by
5358 # all of the supported platforms: 8192 (on NT/2K/XP).
5359 lt_cv_sys_max_cmd_len=8192;
5363 # If test is not a shell built-in, we'll probably end up computing a
5364 # maximum length that is only half of the actual maximum length, but
5366 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5367 = "XX$testring") >/dev/null 2>&1 &&
5368 new_result=`expr "X$testring" : ".*" 2>&1` &&
5369 lt_cv_sys_max_cmd_len=$new_result &&
5370 test $i != 17 # 1/2 MB should be enough
5373 testring=$testring$testring
5376 # Add a significant safety factor because C++ compilers can tack on massive
5377 # amounts of additional arguments before passing them to the linker.
5378 # It appears as though 1/2 is a usable value.
5379 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5385 if test -n $lt_cv_sys_max_cmd_len ; then
5386 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5387 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5389 echo "$as_me:$LINENO: result: none" >&5
5390 echo "${ECHO_T}none" >&6
5396 # Check for command to grab the raw symbol name followed by C symbol from nm.
5397 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5398 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5399 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5400 echo $ECHO_N "(cached) $ECHO_C" >&6
5403 # These are sane defaults that work on at least a few old systems.
5404 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5406 # Character class describing NM global symbol codes.
5407 symcode='[BCDEGRST]'
5409 # Regexp to match symbols that can be accessed directly from C.
5410 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5412 # Transform the above into a raw symbol and a C symbol.
5413 symxfrm='\1 \2\3 \3'
5415 # Transform an extracted symbol line into a proper C declaration
5416 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5418 # Transform an extracted symbol line into symbol name and symbol address
5419 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'"
5421 # Define system-specific variables.
5426 cygwin* | mingw* | pw32*)
5427 symcode='[ABCDGISTW]'
5429 hpux*) # Its linker distinguishes data from code symbols
5430 if test "$host_cpu" = ia64; then
5431 symcode='[ABCDEGRST]'
5433 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5434 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'"
5437 symcode='[BCDEGRST]'
5440 symcode='[BCDEGQRST]'
5450 # Handle CRLF in mingw tool chain
5454 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5458 # If we're using GNU nm, then use its standard symbol codes.
5459 case `$NM -V 2>&1` in
5460 *GNU* | *'with BFD'*)
5461 symcode='[ABCDGISTW]' ;;
5464 # Try without a prefix undercore, then with it.
5465 for ac_symprfx in "" "_"; do
5467 # Write the raw and C identifiers.
5468 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5470 # Check to see that the pipe works correctly.
5474 cat > conftest.$ac_ext <<EOF
5479 void nm_test_func(){}
5483 int main(){nm_test_var='a';nm_test_func();return(0);}
5486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5487 (eval $ac_compile) 2>&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); }; then
5491 # Now try to grab the symbols.
5493 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5494 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 (exit $ac_status); } && test -s "$nlist"; then
5498 # Try sorting and uniquifying the output.
5499 if sort "$nlist" | uniq > "$nlist"T; then
5500 mv -f "$nlist"T "$nlist"
5505 # Make sure that we snagged all the symbols we need.
5506 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5507 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5508 cat <<EOF > conftest.$ac_ext
5514 # Now generate the symbol file.
5515 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5517 cat <<EOF >> conftest.$ac_ext
5518 #if defined (__STDC__) && __STDC__
5519 # define lt_ptr_t void *
5521 # define lt_ptr_t char *
5525 /* The mapping between symbol names and symbols. */
5530 lt_preloaded_symbols[] =
5533 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5534 cat <<\EOF >> conftest.$ac_ext
5542 # Now try linking the two files.
5543 mv conftest.$ac_objext conftstm.$ac_objext
5544 lt_save_LIBS="$LIBS"
5545 lt_save_CFLAGS="$CFLAGS"
5546 LIBS="conftstm.$ac_objext"
5547 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5549 (eval $ac_link) 2>&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5555 LIBS="$lt_save_LIBS"
5556 CFLAGS="$lt_save_CFLAGS"
5558 echo "cannot find nm_test_func in $nlist" >&5
5561 echo "cannot find nm_test_var in $nlist" >&5
5564 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5567 echo "$progname: failed program was:" >&5
5568 cat conftest.$ac_ext >&5
5570 rm -f conftest* conftst*
5572 # Do not use the global_symbol_pipe unless it works.
5573 if test "$pipe_works" = yes; then
5576 lt_cv_sys_global_symbol_pipe=
5582 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5583 lt_cv_sys_global_symbol_to_cdecl=
5585 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5586 echo "$as_me:$LINENO: result: failed" >&5
5587 echo "${ECHO_T}failed" >&6
5589 echo "$as_me:$LINENO: result: ok" >&5
5590 echo "${ECHO_T}ok" >&6
5593 echo "$as_me:$LINENO: checking for objdir" >&5
5594 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5595 if test "${lt_cv_objdir+set}" = set; then
5596 echo $ECHO_N "(cached) $ECHO_C" >&6
5598 rm -f .libs 2>/dev/null
5599 mkdir .libs 2>/dev/null
5600 if test -d .libs; then
5603 # MS-DOS does not allow filenames that begin with a dot.
5606 rmdir .libs 2>/dev/null
5608 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5609 echo "${ECHO_T}$lt_cv_objdir" >&6
5610 objdir=$lt_cv_objdir
5618 # AIX sometimes has problems with the GCC collect2 program. For some
5619 # reason, if we set the COLLECT_NAMES environment variable, the problems
5620 # vanish in a puff of smoke.
5621 if test "X${COLLECT_NAMES+set}" != Xset; then
5623 export COLLECT_NAMES
5628 # Sed substitution that helps us do robust quoting. It backslashifies
5629 # metacharacters that are still active within double-quoted strings.
5630 Xsed='sed -e s/^X//'
5631 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5633 # Same as above, but do not quote variable references.
5634 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5636 # Sed substitution to delay expansion of an escaped shell variable in a
5637 # double_quote_subst'ed string.
5638 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5640 # Sed substitution to avoid accidental globbing in evaled expressions
5641 no_glob_subst='s/\*/\\\*/g'
5648 can_build_shared=yes
5650 # All known linkers require a `.a' archive for static linking (except M$VC,
5651 # which needs '.lib').
5653 ltmain="$ac_aux_dir/ltmain.sh"
5654 ofile="$default_ofile"
5655 with_gnu_ld="$lt_cv_prog_gnu_ld"
5657 if test -n "$ac_tool_prefix"; then
5658 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5659 set dummy ${ac_tool_prefix}ar; ac_word=$2
5660 echo "$as_me:$LINENO: checking for $ac_word" >&5
5661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5662 if test "${ac_cv_prog_AR+set}" = set; then
5663 echo $ECHO_N "(cached) $ECHO_C" >&6
5665 if test -n "$AR"; then
5666 ac_cv_prog_AR="$AR" # Let the user override the test.
5668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 test -z "$as_dir" && as_dir=.
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5675 ac_cv_prog_AR="${ac_tool_prefix}ar"
5676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 if test -n "$AR"; then
5686 echo "$as_me:$LINENO: result: $AR" >&5
5687 echo "${ECHO_T}$AR" >&6
5689 echo "$as_me:$LINENO: result: no" >&5
5690 echo "${ECHO_T}no" >&6
5694 if test -z "$ac_cv_prog_AR"; then
5696 # Extract the first word of "ar", so it can be a program name with args.
5697 set dummy ar; ac_word=$2
5698 echo "$as_me:$LINENO: checking for $ac_word" >&5
5699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5700 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5701 echo $ECHO_N "(cached) $ECHO_C" >&6
5703 if test -n "$ac_ct_AR"; then
5704 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 test -z "$as_dir" && as_dir=.
5711 for ac_exec_ext in '' $ac_executable_extensions; do
5712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5713 ac_cv_prog_ac_ct_AR="ar"
5714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5720 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5723 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5724 if test -n "$ac_ct_AR"; then
5725 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5726 echo "${ECHO_T}$ac_ct_AR" >&6
5728 echo "$as_me:$LINENO: result: no" >&5
5729 echo "${ECHO_T}no" >&6
5737 if test -n "$ac_tool_prefix"; then
5738 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5739 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5740 echo "$as_me:$LINENO: checking for $ac_word" >&5
5741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5742 if test "${ac_cv_prog_RANLIB+set}" = set; then
5743 echo $ECHO_N "(cached) $ECHO_C" >&6
5745 if test -n "$RANLIB"; then
5746 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 test -z "$as_dir" && as_dir=.
5753 for ac_exec_ext in '' $ac_executable_extensions; do
5754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5755 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5764 RANLIB=$ac_cv_prog_RANLIB
5765 if test -n "$RANLIB"; then
5766 echo "$as_me:$LINENO: result: $RANLIB" >&5
5767 echo "${ECHO_T}$RANLIB" >&6
5769 echo "$as_me:$LINENO: result: no" >&5
5770 echo "${ECHO_T}no" >&6
5774 if test -z "$ac_cv_prog_RANLIB"; then
5775 ac_ct_RANLIB=$RANLIB
5776 # Extract the first word of "ranlib", so it can be a program name with args.
5777 set dummy ranlib; ac_word=$2
5778 echo "$as_me:$LINENO: checking for $ac_word" >&5
5779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5780 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5781 echo $ECHO_N "(cached) $ECHO_C" >&6
5783 if test -n "$ac_ct_RANLIB"; then
5784 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5793 ac_cv_prog_ac_ct_RANLIB="ranlib"
5794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5800 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5803 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5804 if test -n "$ac_ct_RANLIB"; then
5805 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5806 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5808 echo "$as_me:$LINENO: result: no" >&5
5809 echo "${ECHO_T}no" >&6
5812 RANLIB=$ac_ct_RANLIB
5814 RANLIB="$ac_cv_prog_RANLIB"
5817 if test -n "$ac_tool_prefix"; then
5818 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5819 set dummy ${ac_tool_prefix}strip; ac_word=$2
5820 echo "$as_me:$LINENO: checking for $ac_word" >&5
5821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5822 if test "${ac_cv_prog_STRIP+set}" = set; then
5823 echo $ECHO_N "(cached) $ECHO_C" >&6
5825 if test -n "$STRIP"; then
5826 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5832 test -z "$as_dir" && as_dir=.
5833 for ac_exec_ext in '' $ac_executable_extensions; do
5834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5835 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5844 STRIP=$ac_cv_prog_STRIP
5845 if test -n "$STRIP"; then
5846 echo "$as_me:$LINENO: result: $STRIP" >&5
5847 echo "${ECHO_T}$STRIP" >&6
5849 echo "$as_me:$LINENO: result: no" >&5
5850 echo "${ECHO_T}no" >&6
5854 if test -z "$ac_cv_prog_STRIP"; then
5856 # Extract the first word of "strip", so it can be a program name with args.
5857 set dummy strip; ac_word=$2
5858 echo "$as_me:$LINENO: checking for $ac_word" >&5
5859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5860 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5861 echo $ECHO_N "(cached) $ECHO_C" >&6
5863 if test -n "$ac_ct_STRIP"; then
5864 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5870 test -z "$as_dir" && as_dir=.
5871 for ac_exec_ext in '' $ac_executable_extensions; do
5872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5873 ac_cv_prog_ac_ct_STRIP="strip"
5874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5880 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5883 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5884 if test -n "$ac_ct_STRIP"; then
5885 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5886 echo "${ECHO_T}$ac_ct_STRIP" >&6
5888 echo "$as_me:$LINENO: result: no" >&5
5889 echo "${ECHO_T}no" >&6
5894 STRIP="$ac_cv_prog_STRIP"
5899 old_CFLAGS="$CFLAGS"
5901 # Set sane defaults for various variables
5902 test -z "$AR" && AR=ar
5903 test -z "$AR_FLAGS" && AR_FLAGS=cru
5904 test -z "$AS" && AS=as
5905 test -z "$CC" && CC=cc
5906 test -z "$LTCC" && LTCC=$CC
5907 test -z "$DLLTOOL" && DLLTOOL=dlltool
5908 test -z "$LD" && LD=ld
5909 test -z "$LN_S" && LN_S="ln -s"
5910 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5911 test -z "$NM" && NM=nm
5912 test -z "$SED" && SED=sed
5913 test -z "$OBJDUMP" && OBJDUMP=objdump
5914 test -z "$RANLIB" && RANLIB=:
5915 test -z "$STRIP" && STRIP=:
5916 test -z "$ac_objext" && ac_objext=o
5918 # Determine commands to create old-style static archives.
5919 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5920 old_postinstall_cmds='chmod 644 $oldlib'
5921 old_postuninstall_cmds=
5923 if test -n "$RANLIB"; then
5926 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5929 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5932 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5935 # Only perform the check for file, if the check method requires it
5936 case $deplibs_check_method in
5938 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5939 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5940 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5941 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5942 echo $ECHO_N "(cached) $ECHO_C" >&6
5946 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5949 lt_save_MAGIC_CMD="$MAGIC_CMD"
5950 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5951 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5952 for ac_dir in $ac_dummy; do
5954 test -z "$ac_dir" && ac_dir=.
5955 if test -f $ac_dir/${ac_tool_prefix}file; then
5956 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5957 if test -n "$file_magic_test_file"; then
5958 case $deplibs_check_method in
5960 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5961 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5962 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5963 $EGREP "$file_magic_regex" > /dev/null; then
5968 *** Warning: the command libtool uses to detect shared libraries,
5969 *** $file_magic_cmd, produces output that libtool cannot recognize.
5970 *** The result is that libtool may fail to recognize shared libraries
5971 *** as such. This will affect the creation of libtool libraries that
5972 *** depend on shared libraries, but programs linked with such libtool
5973 *** libraries will work regardless of this problem. Nevertheless, you
5974 *** may want to report the problem to your system manager and/or to
5975 *** bug-libtool@gnu.org
5985 MAGIC_CMD="$lt_save_MAGIC_CMD"
5990 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5991 if test -n "$MAGIC_CMD"; then
5992 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5993 echo "${ECHO_T}$MAGIC_CMD" >&6
5995 echo "$as_me:$LINENO: result: no" >&5
5996 echo "${ECHO_T}no" >&6
5999 if test -z "$lt_cv_path_MAGIC_CMD"; then
6000 if test -n "$ac_tool_prefix"; then
6001 echo "$as_me:$LINENO: checking for file" >&5
6002 echo $ECHO_N "checking for file... $ECHO_C" >&6
6003 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6004 echo $ECHO_N "(cached) $ECHO_C" >&6
6008 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6011 lt_save_MAGIC_CMD="$MAGIC_CMD"
6012 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6013 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6014 for ac_dir in $ac_dummy; do
6016 test -z "$ac_dir" && ac_dir=.
6017 if test -f $ac_dir/file; then
6018 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6019 if test -n "$file_magic_test_file"; then
6020 case $deplibs_check_method in
6022 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6023 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6024 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6025 $EGREP "$file_magic_regex" > /dev/null; then
6030 *** Warning: the command libtool uses to detect shared libraries,
6031 *** $file_magic_cmd, produces output that libtool cannot recognize.
6032 *** The result is that libtool may fail to recognize shared libraries
6033 *** as such. This will affect the creation of libtool libraries that
6034 *** depend on shared libraries, but programs linked with such libtool
6035 *** libraries will work regardless of this problem. Nevertheless, you
6036 *** may want to report the problem to your system manager and/or to
6037 *** bug-libtool@gnu.org
6047 MAGIC_CMD="$lt_save_MAGIC_CMD"
6052 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6053 if test -n "$MAGIC_CMD"; then
6054 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6055 echo "${ECHO_T}$MAGIC_CMD" >&6
6057 echo "$as_me:$LINENO: result: no" >&5
6058 echo "${ECHO_T}no" >&6
6073 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6074 if test "${enable_libtool_lock+set}" = set; then
6075 enableval="$enable_libtool_lock"
6078 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6081 # Check whether --with-pic or --without-pic was given.
6082 if test "${with_pic+set}" = set; then
6088 test -z "$pic_mode" && pic_mode=default
6090 # Use C for the default configuration in the libtool script
6094 ac_cpp='$CPP $CPPFLAGS'
6095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6100 # Source file extension for C test sources.
6103 # Object file extension for compiled C test sources.
6107 # Code to be used in simple compile tests
6108 lt_simple_compile_test_code="int some_variable = 0;\n"
6110 # Code to be used in simple link tests
6111 lt_simple_link_test_code='int main(){return(0);}\n'
6114 # If no C compiler was specified, use CC.
6117 # Allow CC to be a program name with arguments.
6122 # Check for any special shared library compilation flags.
6125 if test "$GCC" = no; then
6128 lt_prog_cc_shlib='-belf'
6132 if test -n "$lt_prog_cc_shlib"; then
6133 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6134 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6135 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6137 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6138 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6139 lt_cv_prog_cc_can_build_shared=no
6145 # Check to make sure the static flag actually works.
6147 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6148 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6149 if test "${lt_prog_compiler_static_works+set}" = set; then
6150 echo $ECHO_N "(cached) $ECHO_C" >&6
6152 lt_prog_compiler_static_works=no
6153 save_LDFLAGS="$LDFLAGS"
6154 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6155 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6156 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6157 # The compiler can only warn and ignore the option if not recognized
6158 # So say no if there are warnings
6159 if test -s conftest.err; then
6160 # Append any errors to the config.log.
6161 cat conftest.err 1>&5
6163 lt_prog_compiler_static_works=yes
6167 LDFLAGS="$save_LDFLAGS"
6170 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6171 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6173 if test x"$lt_prog_compiler_static_works" = xyes; then
6176 lt_prog_compiler_static=
6182 ## There is no encapsulation within the following macros, do not change
6183 ## the running order or otherwise move them around unless you know exactly
6184 ## what you are doing...
6186 lt_prog_compiler_no_builtin_flag=
6188 if test "$GCC" = yes; then
6189 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6191 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6192 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6193 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6194 echo $ECHO_N "(cached) $ECHO_C" >&6
6196 lt_cv_prog_compiler_rtti_exceptions=no
6197 ac_outfile=conftest.$ac_objext
6198 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6199 lt_compiler_flag="-fno-rtti -fno-exceptions"
6200 # Insert the option either (1) after the last *FLAGS variable, or
6201 # (2) before a word containing "conftest.", or (3) at the end.
6202 # Note that $ac_compile itself does not contain backslashes and begins
6203 # with a dollar sign (not a hyphen), so the echo should work correctly.
6204 # The option is referenced via a variable to avoid confusing sed.
6205 lt_compile=`echo "$ac_compile" | $SED \
6206 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6207 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6208 -e 's:$: $lt_compiler_flag:'`
6209 (eval echo "\"\$as_me:6209: $lt_compile\"" >&5)
6210 (eval "$lt_compile" 2>conftest.err)
6212 cat conftest.err >&5
6213 echo "$as_me:6213: \$? = $ac_status" >&5
6214 if (exit $ac_status) && test -s "$ac_outfile"; then
6215 # The compiler can only warn and ignore the option if not recognized
6216 # So say no if there are warnings
6217 if test ! -s conftest.err; then
6218 lt_cv_prog_compiler_rtti_exceptions=yes
6224 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6225 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6227 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6228 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6235 lt_prog_compiler_wl=
6236 lt_prog_compiler_pic=
6237 lt_prog_compiler_static=
6239 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6240 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6242 if test "$GCC" = yes; then
6243 lt_prog_compiler_wl='-Wl,'
6244 lt_prog_compiler_static='-static'
6248 # All AIX code is PIC.
6249 if test "$host_cpu" = ia64; then
6250 # AIX 5 now supports IA64 processor
6251 lt_prog_compiler_static='-Bstatic'
6256 # FIXME: we need at least 68020 code to build shared libraries, but
6257 # adding the `-m68020' flag to GCC prevents building anything better,
6259 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6262 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6263 # PIC is the default for these OSes.
6266 mingw* | pw32* | os2*)
6267 # This hack is so that the source file can tell whether it is being
6268 # built for inclusion in a dll (and should export symbols for example).
6269 lt_prog_compiler_pic='-DDLL_EXPORT'
6272 darwin* | rhapsody*)
6273 # PIC is the default on this platform
6274 # Common symbols not allowed in MH_DYLIB files
6275 lt_prog_compiler_pic='-fno-common'
6279 # Just because we use GCC doesn't mean we suddenly get shared libraries
6280 # on systems that don't support them.
6281 lt_prog_compiler_can_build_shared=no
6286 if test -d /usr/nec; then
6287 lt_prog_compiler_pic=-Kconform_pic
6292 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6299 lt_prog_compiler_pic='-fPIC'
6305 lt_prog_compiler_pic='-fPIC'
6309 # PORTME Check for flag to pass linker flags through the system compiler.
6312 lt_prog_compiler_wl='-Wl,'
6313 if test "$host_cpu" = ia64; then
6314 # AIX 5 now supports IA64 processor
6315 lt_prog_compiler_static='-Bstatic'
6317 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6321 mingw* | pw32* | os2*)
6322 # This hack is so that the source file can tell whether it is being
6323 # built for inclusion in a dll (and should export symbols for example).
6324 lt_prog_compiler_pic='-DDLL_EXPORT'
6327 hpux9* | hpux10* | hpux11*)
6328 lt_prog_compiler_wl='-Wl,'
6329 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6336 lt_prog_compiler_pic='+Z'
6339 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6340 lt_prog_compiler_static='${wl}-a ${wl}archive'
6343 irix5* | irix6* | nonstopux*)
6344 lt_prog_compiler_wl='-Wl,'
6345 # PIC (with -KPIC) is the default.
6346 lt_prog_compiler_static='-non_shared'
6350 lt_prog_compiler_pic='-KPIC'
6351 lt_prog_compiler_static='-Bstatic'
6357 lt_prog_compiler_wl='-Wl,'
6358 lt_prog_compiler_pic='-KPIC'
6359 lt_prog_compiler_static='-static'
6362 lt_prog_compiler_wl='-Wl,'
6363 # All Alpha code is PIC.
6364 lt_prog_compiler_static='-non_shared'
6369 osf3* | osf4* | osf5*)
6370 lt_prog_compiler_wl='-Wl,'
6371 # All OSF/1 code is PIC.
6372 lt_prog_compiler_static='-non_shared'
6376 lt_prog_compiler_pic='-Kpic'
6377 lt_prog_compiler_static='-dn'
6381 lt_prog_compiler_wl='-Wl,'
6382 lt_prog_compiler_pic='-KPIC'
6383 lt_prog_compiler_static='-Bstatic'
6387 lt_prog_compiler_wl='-Qoption ld '
6388 lt_prog_compiler_pic='-PIC'
6389 lt_prog_compiler_static='-Bstatic'
6392 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6393 lt_prog_compiler_wl='-Wl,'
6394 lt_prog_compiler_pic='-KPIC'
6395 lt_prog_compiler_static='-Bstatic'
6399 if test -d /usr/nec ;then
6400 lt_prog_compiler_pic='-Kconform_pic'
6401 lt_prog_compiler_static='-Bstatic'
6406 lt_prog_compiler_pic='-pic'
6407 lt_prog_compiler_static='-Bstatic'
6411 lt_prog_compiler_can_build_shared=no
6416 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6417 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6420 # Check to make sure the PIC flag actually works.
6422 if test -n "$lt_prog_compiler_pic"; then
6423 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6424 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6425 if test "${lt_prog_compiler_pic_works+set}" = set; then
6426 echo $ECHO_N "(cached) $ECHO_C" >&6
6428 lt_prog_compiler_pic_works=no
6429 ac_outfile=conftest.$ac_objext
6430 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6431 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6432 # Insert the option either (1) after the last *FLAGS variable, or
6433 # (2) before a word containing "conftest.", or (3) at the end.
6434 # Note that $ac_compile itself does not contain backslashes and begins
6435 # with a dollar sign (not a hyphen), so the echo should work correctly.
6436 # The option is referenced via a variable to avoid confusing sed.
6437 lt_compile=`echo "$ac_compile" | $SED \
6438 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6439 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6440 -e 's:$: $lt_compiler_flag:'`
6441 (eval echo "\"\$as_me:6441: $lt_compile\"" >&5)
6442 (eval "$lt_compile" 2>conftest.err)
6444 cat conftest.err >&5
6445 echo "$as_me:6445: \$? = $ac_status" >&5
6446 if (exit $ac_status) && test -s "$ac_outfile"; then
6447 # The compiler can only warn and ignore the option if not recognized
6448 # So say no if there are warnings
6449 if test ! -s conftest.err; then
6450 lt_prog_compiler_pic_works=yes
6456 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6457 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6459 if test x"$lt_prog_compiler_pic_works" = xyes; then
6460 case $lt_prog_compiler_pic in
6462 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6465 lt_prog_compiler_pic=
6466 lt_prog_compiler_can_build_shared=no
6471 # For platforms which do not support PIC, -DPIC is meaningless:
6473 lt_prog_compiler_pic=
6476 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6480 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6481 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6482 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6483 echo $ECHO_N "(cached) $ECHO_C" >&6
6485 lt_cv_prog_compiler_c_o=no
6486 $rm -r conftest 2>/dev/null
6490 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6492 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6493 # that will create temporary files in the current directory regardless of
6494 # the output directory. Thus, making CWD read-only will cause this test
6495 # to fail, enabling locking or at least warning the user not to do parallel
6499 lt_compiler_flag="-o out/conftest2.$ac_objext"
6500 # Insert the option either (1) after the last *FLAGS variable, or
6501 # (2) before a word containing "conftest.", or (3) at the end.
6502 # Note that $ac_compile itself does not contain backslashes and begins
6503 # with a dollar sign (not a hyphen), so the echo should work correctly.
6504 lt_compile=`echo "$ac_compile" | $SED \
6505 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6506 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6507 -e 's:$: $lt_compiler_flag:'`
6508 (eval echo "\"\$as_me:6508: $lt_compile\"" >&5)
6509 (eval "$lt_compile" 2>out/conftest.err)
6511 cat out/conftest.err >&5
6512 echo "$as_me:6512: \$? = $ac_status" >&5
6513 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6515 # The compiler can only warn and ignore the option if not recognized
6516 # So say no if there are warnings
6517 if test ! -s out/conftest.err; then
6518 lt_cv_prog_compiler_c_o=yes
6529 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6530 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6533 hard_links="nottested"
6534 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6535 # do not overwrite the value of need_locks provided by the user
6536 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6537 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6540 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6542 ln conftest.a conftest.b 2>&5 || hard_links=no
6543 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6544 echo "$as_me:$LINENO: result: $hard_links" >&5
6545 echo "${ECHO_T}$hard_links" >&6
6546 if test "$hard_links" = no; then
6547 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6548 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6555 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6556 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6559 allow_undefined_flag=
6560 enable_shared_with_static_runtimes=no
6562 archive_expsym_cmds=
6563 old_archive_From_new_cmds=
6564 old_archive_from_expsyms_cmds=
6565 export_dynamic_flag_spec=
6566 whole_archive_flag_spec=
6567 thread_safe_flag_spec=
6568 hardcode_libdir_flag_spec=
6569 hardcode_libdir_flag_spec_ld=
6570 hardcode_libdir_separator=
6573 hardcode_shlibpath_var=unsupported
6574 link_all_deplibs=unknown
6575 hardcode_automatic=no
6578 always_export_symbols=no
6579 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6580 # include_expsyms should be a list of space-separated symbols to be *always*
6581 # included in the symbol list
6583 # exclude_expsyms can be an extended regexp of symbols to exclude
6584 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6585 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6586 # as well as any symbol that contains `d'.
6587 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6588 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6589 # platforms (ab)use it in PIC code, but their linkers get confused if
6590 # the symbol is explicitly referenced. Since portable code cannot
6591 # rely on this symbol name, it's probably fine to never include it in
6592 # preloaded symbol tables.
6593 extract_expsyms_cmds=
6596 cygwin* | mingw* | pw32*)
6597 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6598 # When not using gcc, we currently assume that we are using
6599 # Microsoft Visual C++.
6600 if test "$GCC" != yes; then
6610 if test "$with_gnu_ld" = yes; then
6611 # If archive_cmds runs LD, not CC, wlarc should be empty
6614 # See if GNU ld supports shared libraries.
6616 aix3* | aix4* | aix5*)
6617 # On AIX/PPC, the GNU linker is very broken
6618 if test "$host_cpu" != ia64; then
6622 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6623 *** to be unable to reliably create shared libraries on AIX.
6624 *** Therefore, libtool is disabling shared libraries support. If you
6625 *** really care for shared libraries, you may want to modify your PATH
6626 *** so that a non-GNU linker is found, and then restart.
6633 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)'
6634 hardcode_libdir_flag_spec='-L$libdir'
6635 hardcode_minus_L=yes
6637 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6638 # that the semantics of dynamic libraries on AmigaOS, at least up
6639 # to version 4, is to share data among multiple programs linked
6640 # with the same dynamic library. Since this doesn't match the
6641 # behavior of shared libraries on other platforms, we can't use
6647 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6648 allow_undefined_flag=unsupported
6649 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6650 # support --undefined. This deserves some investigation. FIXME
6651 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6657 cygwin* | mingw* | pw32*)
6658 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6659 # as there is no search path for DLLs.
6660 hardcode_libdir_flag_spec='-L$libdir'
6661 allow_undefined_flag=unsupported
6662 always_export_symbols=no
6663 enable_shared_with_static_runtimes=yes
6664 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6666 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6667 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6668 # If the export-symbols file already is a .def file (1st line
6669 # is EXPORTS), use it as is; otherwise, prepend...
6670 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6671 cp $export_symbols $output_objdir/$soname.def;
6673 echo EXPORTS > $output_objdir/$soname.def;
6674 cat $export_symbols >> $output_objdir/$soname.def;
6676 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6683 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6684 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6687 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6688 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6693 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6697 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6698 *** create shared libraries on Solaris systems. Therefore, libtool
6699 *** is disabling shared libraries support. We urge you to upgrade GNU
6700 *** binutils to release 2.9.1 or newer. Another option is to modify
6701 *** your PATH or compiler configuration so that the native linker is
6702 *** used, and then restart.
6705 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6706 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6707 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6714 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6717 hardcode_shlibpath_var=no
6721 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6722 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6723 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6730 if test "$ld_shlibs" = yes; then
6731 runpath_var=LD_RUN_PATH
6732 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6733 export_dynamic_flag_spec='${wl}--export-dynamic'
6734 # ancient GNU ld didn't support --whole-archive et. al.
6735 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6736 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6738 whole_archive_flag_spec=
6742 # PORTME fill in a description of your system's linker (not GNU ld)
6745 allow_undefined_flag=unsupported
6746 always_export_symbols=yes
6747 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'
6748 # Note: this linker hardcodes the directories in LIBPATH if there
6749 # are no directories specified by -L.
6750 hardcode_minus_L=yes
6751 if test "$GCC" = yes && test -z "$link_static_flag"; then
6752 # Neither direct hardcoding nor static linking is supported with a
6754 hardcode_direct=unsupported
6759 if test "$host_cpu" = ia64; then
6760 # On IA64, the linker does run time linking by default, so we don't
6761 # have to do anything special.
6762 aix_use_runtimelinking=no
6763 exp_sym_flag='-Bexport'
6766 # If we're using GNU nm, then we don't want the "-C" option.
6767 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6768 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6769 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'
6771 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'
6773 aix_use_runtimelinking=no
6775 # Test if we are trying to use run time linking or normal
6776 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6777 # need to do runtime linking.
6778 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6779 for ld_flag in $LDFLAGS; do
6780 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6781 aix_use_runtimelinking=yes
6787 exp_sym_flag='-bexport'
6788 no_entry_flag='-bnoentry'
6791 # When large executables or shared objects are built, AIX ld can
6792 # have problems creating the table of contents. If linking a library
6793 # or program results in "error TOC overflow" add -mminimal-toc to
6794 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6795 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6799 hardcode_libdir_separator=':'
6800 link_all_deplibs=yes
6802 if test "$GCC" = yes; then
6803 case $host_os in aix4.012|aix4.012.*)
6804 # We only want to do this on AIX 4.2 and lower, the check
6805 # below for broken collect2 doesn't work under 4.3+
6806 collect2name=`${CC} -print-prog-name=collect2`
6807 if test -f "$collect2name" && \
6808 strings "$collect2name" | grep resolve_lib_name >/dev/null
6810 # We have reworked collect2
6813 # We have old collect2
6814 hardcode_direct=unsupported
6815 # It fails to find uninstalled libraries when the uninstalled
6816 # path is not listed in the libpath. Setting hardcode_minus_L
6817 # to unsupported forces relinking
6818 hardcode_minus_L=yes
6819 hardcode_libdir_flag_spec='-L$libdir'
6820 hardcode_libdir_separator=
6823 shared_flag='-shared'
6826 if test "$host_cpu" = ia64; then
6827 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6828 # chokes on -Wl,-G. The following line is correct:
6831 if test "$aix_use_runtimelinking" = yes; then
6832 shared_flag='${wl}-G'
6834 shared_flag='${wl}-bM:SRE'
6839 # It seems that -bexpall does not export symbols beginning with
6840 # underscore (_), so it is better to generate a list of symbols to export.
6841 always_export_symbols=yes
6842 if test "$aix_use_runtimelinking" = yes; then
6843 # Warning - without using the other runtime loading flags (-brtl),
6844 # -berok will link without error, but may produce a broken library.
6845 allow_undefined_flag='-berok'
6846 # Determine the default libpath from the value encoded in an empty executable.
6847 cat >conftest.$ac_ext <<_ACEOF
6848 #line $LINENO "configure"
6851 cat confdefs.h >>conftest.$ac_ext
6852 cat >>conftest.$ac_ext <<_ACEOF
6853 /* end confdefs.h. */
6863 rm -f conftest.$ac_objext conftest$ac_exeext
6864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6865 (eval $ac_link) 2>&5
6867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6868 (exit $ac_status); } &&
6869 { ac_try='test -s conftest$ac_exeext'
6870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874 (exit $ac_status); }; }; then
6876 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6878 # Check for a 64-bit object if we didn't find anything.
6879 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; }
6882 echo "$as_me: failed program was:" >&5
6883 sed 's/^/| /' conftest.$ac_ext >&5
6886 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6887 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6889 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6890 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"
6892 if test "$host_cpu" = ia64; then
6893 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6894 allow_undefined_flag="-z nodefs"
6895 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"
6897 # Determine the default libpath from the value encoded in an empty executable.
6898 cat >conftest.$ac_ext <<_ACEOF
6899 #line $LINENO "configure"
6902 cat confdefs.h >>conftest.$ac_ext
6903 cat >>conftest.$ac_ext <<_ACEOF
6904 /* end confdefs.h. */
6914 rm -f conftest.$ac_objext conftest$ac_exeext
6915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6916 (eval $ac_link) 2>&5
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); } &&
6920 { ac_try='test -s conftest$ac_exeext'
6921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); }; }; then
6927 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6929 # Check for a 64-bit object if we didn't find anything.
6930 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; }
6933 echo "$as_me: failed program was:" >&5
6934 sed 's/^/| /' conftest.$ac_ext >&5
6937 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6938 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6940 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6941 # Warning - without using the other run time loading flags,
6942 # -berok will link without error, but may produce a broken library.
6943 no_undefined_flag=' ${wl}-bernotok'
6944 allow_undefined_flag=' ${wl}-berok'
6945 # -bexpall does not export symbols beginning with underscore (_)
6946 always_export_symbols=yes
6947 # Exported symbols can be pulled into shared objects from archives
6948 whole_archive_flag_spec=' '
6949 archive_cmds_need_lc=yes
6950 # This is similar to how AIX traditionally builds it's shared libraries.
6951 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'
6957 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)'
6958 hardcode_libdir_flag_spec='-L$libdir'
6959 hardcode_minus_L=yes
6960 # see comment about different semantics on the GNU ld section
6965 export_dynamic_flag_spec=-rdynamic
6968 cygwin* | mingw* | pw32*)
6969 # When not using gcc, we currently assume that we are using
6970 # Microsoft Visual C++.
6971 # hardcode_libdir_flag_spec is actually meaningless, as there is
6972 # no search path for DLLs.
6973 hardcode_libdir_flag_spec=' '
6974 allow_undefined_flag=unsupported
6975 # Tell ltmain to make .lib files, not .a files.
6977 # Tell ltmain to make .dll files, not .so files.
6979 # FIXME: Setting linknames here is a bad hack.
6980 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
6981 # The linker will automatically build a .lib file if we build a DLL.
6982 old_archive_From_new_cmds='true'
6983 # FIXME: Should let the user specify the lib program.
6984 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
6985 fix_srcfile_path='`cygpath -w "$srcfile"`'
6986 enable_shared_with_static_runtimes=yes
6989 darwin* | rhapsody*)
6990 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
6991 archive_cmds_need_lc=no
6993 rhapsody* | darwin1.[012])
6994 allow_undefined_flag='-undefined suppress'
6997 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7000 # FIXME: Relying on posixy $() will cause problems for
7001 # cross-compilation, but unfortunately the echo tests do not
7002 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7003 # `"' quotes if we put them in here... so don't!
7004 lt_int_apple_cc_single_mod=no
7005 output_verbose_link_cmd='echo'
7006 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7007 lt_int_apple_cc_single_mod=yes
7009 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7010 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7012 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'
7014 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7015 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7016 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7017 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}'
7019 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}'
7021 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}'
7023 hardcode_automatic=yes
7024 hardcode_shlibpath_var=unsupported
7025 whole_archive_flag_spec='-all_load $convenience'
7026 link_all_deplibs=yes
7031 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7032 hardcode_libdir_flag_spec='-L$libdir'
7033 hardcode_shlibpath_var=no
7040 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7041 # support. Future versions do this automatically, but an explicit c++rt0.o
7042 # does not break anything, and helps significantly (at the cost of a little
7045 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7046 hardcode_libdir_flag_spec='-R$libdir'
7048 hardcode_shlibpath_var=no
7051 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7053 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7055 hardcode_minus_L=yes
7056 hardcode_shlibpath_var=no
7059 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7061 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7062 hardcode_libdir_flag_spec='-R$libdir'
7064 hardcode_shlibpath_var=no
7068 if test "$GCC" = yes; then
7069 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'
7071 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'
7073 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7074 hardcode_libdir_separator=:
7077 # hardcode_minus_L: Not really in the search PATH,
7078 # but as the default location of the library.
7079 hardcode_minus_L=yes
7080 export_dynamic_flag_spec='${wl}-E'
7084 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7087 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7090 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7096 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7099 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7103 if test "$with_gnu_ld" = no; then
7106 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7107 hardcode_libdir_flag_spec_ld='+b $libdir'
7108 hardcode_libdir_separator=:
7110 hardcode_shlibpath_var=no
7113 hardcode_libdir_flag_spec='-L$libdir'
7115 hardcode_shlibpath_var=no
7117 # hardcode_minus_L: Not really in the search PATH,
7118 # but as the default location of the library.
7119 hardcode_minus_L=yes
7122 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7123 hardcode_libdir_separator=:
7125 export_dynamic_flag_spec='${wl}-E'
7127 # hardcode_minus_L: Not really in the search PATH,
7128 # but as the default location of the library.
7129 hardcode_minus_L=yes
7135 irix5* | irix6* | nonstopux*)
7136 if test "$GCC" = yes; then
7137 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'
7139 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'
7140 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7142 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7143 hardcode_libdir_separator=:
7144 link_all_deplibs=yes
7148 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7149 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7151 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7153 hardcode_libdir_flag_spec='-R$libdir'
7155 hardcode_shlibpath_var=no
7159 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7161 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7162 hardcode_libdir_separator=:
7163 hardcode_shlibpath_var=no
7168 hardcode_shlibpath_var=no
7169 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7170 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7171 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7172 export_dynamic_flag_spec='${wl}-E'
7175 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7176 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7177 hardcode_libdir_flag_spec='-R$libdir'
7180 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7181 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7188 hardcode_libdir_flag_spec='-L$libdir'
7189 hardcode_minus_L=yes
7190 allow_undefined_flag=unsupported
7191 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'
7192 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7196 if test "$GCC" = yes; then
7197 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7198 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'
7200 allow_undefined_flag=' -expect_unresolved \*'
7201 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'
7203 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7204 hardcode_libdir_separator=:
7207 osf4* | osf5*) # as osf3* with the addition of -msym flag
7208 if test "$GCC" = yes; then
7209 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7210 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'
7211 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7213 allow_undefined_flag=' -expect_unresolved \*'
7214 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'
7215 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7216 $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'
7218 # Both c and cxx compiler support -rpath directly
7219 hardcode_libdir_flag_spec='-rpath $libdir'
7221 hardcode_libdir_separator=:
7225 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7226 hardcode_shlibpath_var=no
7227 export_dynamic_flag_spec='${wl}-Bexport'
7228 runpath_var=LD_RUN_PATH
7229 hardcode_runpath_var=yes
7233 no_undefined_flag=' -z text'
7234 if test "$GCC" = yes; then
7235 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7236 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7237 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7239 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7240 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7241 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7243 hardcode_libdir_flag_spec='-R$libdir'
7244 hardcode_shlibpath_var=no
7246 solaris2.[0-5] | solaris2.[0-5].*) ;;
7247 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7248 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7250 link_all_deplibs=yes
7254 if test "x$host_vendor" = xsequent; then
7255 # Use $CC to link under sequent, because it throws in some extra .o
7256 # files that make .init and .fini sections work.
7257 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7259 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7261 hardcode_libdir_flag_spec='-L$libdir'
7263 hardcode_minus_L=yes
7264 hardcode_shlibpath_var=no
7268 case $host_vendor in
7270 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7271 hardcode_direct=yes # is this really true???
7274 ## LD is ld it makes a PLAMLIB
7275 ## CC just makes a GrossModule.
7276 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7277 reload_cmds='$CC -r -o $output$reload_objs'
7281 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7282 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7285 runpath_var='LD_RUN_PATH'
7286 hardcode_shlibpath_var=no
7290 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7291 hardcode_shlibpath_var=no
7292 export_dynamic_flag_spec='-Bexport'
7296 if test -d /usr/nec; then
7297 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7298 hardcode_shlibpath_var=no
7299 runpath_var=LD_RUN_PATH
7300 hardcode_runpath_var=yes
7306 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7309 hardcode_shlibpath_var=no
7310 hardcode_runpath_var=yes
7311 runpath_var=LD_RUN_PATH
7314 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7315 no_undefined_flag='${wl}-z ${wl}text'
7316 if test "$GCC" = yes; then
7317 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7319 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7321 runpath_var='LD_RUN_PATH'
7322 hardcode_shlibpath_var=no
7326 no_undefined_flag=' -z text'
7327 # $CC -shared without GNU ld will not create a library from C++
7328 # object files and a static libstdc++, better avoid it by now
7329 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7330 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7331 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7332 hardcode_libdir_flag_spec=
7333 hardcode_shlibpath_var=no
7334 runpath_var='LD_RUN_PATH'
7338 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7339 hardcode_libdir_flag_spec='-L$libdir'
7340 hardcode_shlibpath_var=no
7349 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7350 echo "${ECHO_T}$ld_shlibs" >&6
7351 test "$ld_shlibs" = no && can_build_shared=no
7353 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7354 if test "$GCC" = yes; then
7355 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7359 # Do we need to explicitly link libc?
7361 case "x$archive_cmds_need_lc" in
7363 # Assume -lc should be added
7364 archive_cmds_need_lc=yes
7366 if test "$enable_shared" = yes && test "$GCC" = yes; then
7367 case $archive_cmds in
7369 # FIXME: we may have to deal with multi-command sequences.
7372 # Test whether the compiler implicitly links with -lc since on some
7373 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7374 # to ld, don't add -lc before -lgcc.
7375 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7376 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7378 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7381 (eval $ac_compile) 2>&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); } 2>conftest.err; then
7387 libobjs=conftest.$ac_objext
7389 wl=$lt_prog_compiler_wl
7395 lt_save_allow_undefined_flag=$allow_undefined_flag
7396 allow_undefined_flag=
7397 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7398 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401 (exit $ac_status); }
7403 archive_cmds_need_lc=no
7405 archive_cmds_need_lc=yes
7407 allow_undefined_flag=$lt_save_allow_undefined_flag
7409 cat conftest.err 1>&5
7412 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7413 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7420 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7421 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7423 if test -n "$hardcode_libdir_flag_spec" || \
7424 test -n "$runpath_var " || \
7425 test "X$hardcode_automatic"="Xyes" ; then
7427 # We can hardcode non-existant directories.
7428 if test "$hardcode_direct" != no &&
7429 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7430 # have to relink, otherwise we might link with an installed library
7431 # when we should be linking with a yet-to-be-installed one
7432 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7433 test "$hardcode_minus_L" != no; then
7434 # Linking always hardcodes the temporary library directory.
7435 hardcode_action=relink
7437 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7438 hardcode_action=immediate
7441 # We cannot hardcode anything, or else we can only hardcode existing
7443 hardcode_action=unsupported
7445 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7446 echo "${ECHO_T}$hardcode_action" >&6
7448 if test "$hardcode_action" = relink; then
7449 # Fast installation is not supported
7450 enable_fast_install=no
7451 elif test "$shlibpath_overrides_runpath" = yes ||
7452 test "$enable_shared" = no; then
7453 # Fast installation is not necessary
7454 enable_fast_install=needless
7459 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7460 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7461 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7462 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7463 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7464 echo "$as_me:$LINENO: result: yes" >&5
7465 echo "${ECHO_T}yes" >&6
7467 # FIXME - insert some real tests, host_os isn't really good enough
7470 if test -n "$STRIP" ; then
7471 striplib="$STRIP -x"
7472 echo "$as_me:$LINENO: result: yes" >&5
7473 echo "${ECHO_T}yes" >&6
7475 echo "$as_me:$LINENO: result: no" >&5
7476 echo "${ECHO_T}no" >&6
7480 echo "$as_me:$LINENO: result: no" >&5
7481 echo "${ECHO_T}no" >&6
7486 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7487 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7489 libname_spec='lib$name'
7497 shlibpath_overrides_runpath=unknown
7499 dynamic_linker="$host_os ld.so"
7500 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7501 if test "$GCC" = yes; then
7502 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7503 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7504 # if the path contains ";" then we assume it to be the separator
7505 # otherwise default to the standard path separator (i.e. ":") - it is
7506 # assumed that no part of a normal pathname contains ";" but that should
7507 # okay in the real world where ";" in dirpaths is itself problematic.
7508 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7510 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7513 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7515 need_lib_prefix=unknown
7516 hardcode_into_libs=no
7518 # when you set need_version to no, make sure it does not cause -set_version
7519 # flags to be left without arguments
7520 need_version=unknown
7525 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7526 shlibpath_var=LIBPATH
7528 # AIX 3 has no versioning support, so we append a major version to the name.
7529 soname_spec='${libname}${release}${shared_ext}$major'
7536 hardcode_into_libs=yes
7537 if test "$host_cpu" = ia64; then
7538 # AIX 5 supports IA64
7539 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7540 shlibpath_var=LD_LIBRARY_PATH
7542 # With GCC up to 2.95.x, collect2 would create an import file
7543 # for dependence libraries. The import file would start with
7544 # the line `#! .'. This would cause the generated library to
7545 # depend on `.', always an invalid library. This was fixed in
7546 # development snapshots of GCC prior to 3.0.
7548 aix4 | aix4.[01] | aix4.[01].*)
7549 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7551 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7558 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7559 # soname into executable. Probably we can add versioning support to
7560 # collect2, so additional links can be useful in future.
7561 if test "$aix_use_runtimelinking" = yes; then
7562 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7563 # instead of lib<name>.a to let people know that these are not
7564 # typical AIX shared libraries.
7565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7567 # We preserve .a as extension for shared libraries through AIX4.2
7568 # and later when we are not doing run time linking.
7569 library_names_spec='${libname}${release}.a $libname.a'
7570 soname_spec='${libname}${release}${shared_ext}$major'
7572 shlibpath_var=LIBPATH
7577 library_names_spec='$libname.ixlibrary $libname.a'
7578 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7579 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'
7583 library_names_spec='${libname}${shared_ext}'
7584 dynamic_linker="$host_os ld.so"
7585 shlibpath_var=LIBRARY_PATH
7591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7592 soname_spec='${libname}${release}${shared_ext}$major'
7593 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7594 shlibpath_var=LD_LIBRARY_PATH
7595 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7596 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7597 # the default ld.so.conf also contains /usr/contrib/lib and
7598 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7599 # libtool to hard-code these into programs
7602 cygwin* | mingw* | pw32*)
7603 version_type=windows
7608 case $GCC,$host_os in
7609 yes,cygwin* | yes,mingw* | yes,pw32*)
7610 library_names_spec='$libname.dll.a'
7611 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7612 postinstall_cmds='base_file=`basename \${file}`~
7613 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7614 dldir=$destdir/`dirname \$dlpath`~
7615 test -d \$dldir || mkdir -p \$dldir~
7616 $install_prog $dir/$dlname \$dldir/$dlname'
7617 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7618 dlpath=$dir/\$dldll~
7620 shlibpath_overrides_runpath=yes
7624 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7625 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7626 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7629 # MinGW DLLs use traditional 'lib' prefix
7630 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7631 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7632 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7633 # It is most probably a Windows format PATH printed by
7634 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7635 # path with ; separators, and with drive letters. We can handle the
7636 # drive letters (cygwin fileutils understands them), so leave them,
7637 # especially as we might pass files found there to a mingw objdump,
7638 # which wouldn't understand a cygwinified path. Ahh.
7639 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7641 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7645 # pw32 DLLs use 'pw' prefix rather than 'lib'
7646 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7652 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7655 dynamic_linker='Win32 ld.exe'
7656 # FIXME: first we should search . and the directory the executable is in
7660 darwin* | rhapsody*)
7661 dynamic_linker="$host_os dyld"
7665 # FIXME: Relying on posixy $() will cause problems for
7666 # cross-compilation, but unfortunately the echo tests do not
7667 # yet detect zsh echo's removal of \ escapes.
7668 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7669 soname_spec='${libname}${release}${major}$shared_ext'
7670 shlibpath_overrides_runpath=yes
7671 shlibpath_var=DYLD_LIBRARY_PATH
7672 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7673 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7674 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7675 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"`
7677 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7684 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7685 soname_spec='${libname}${release}${shared_ext}$major'
7686 shlibpath_var=LD_LIBRARY_PATH
7694 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7695 version_type=freebsd-$objformat
7696 case $version_type in
7698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7703 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7707 shlibpath_var=LD_LIBRARY_PATH
7710 shlibpath_overrides_runpath=yes
7712 freebsd3.01* | freebsdelf3.01*)
7713 shlibpath_overrides_runpath=yes
7714 hardcode_into_libs=yes
7717 shlibpath_overrides_runpath=no
7718 hardcode_into_libs=yes
7727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7728 soname_spec='${libname}${release}${shared_ext}$major'
7729 shlibpath_var=LD_LIBRARY_PATH
7730 hardcode_into_libs=yes
7733 hpux9* | hpux10* | hpux11*)
7734 # Give a soname corresponding to the major version so that dld.sl refuses to
7735 # link against other versions.
7742 hardcode_into_libs=yes
7743 dynamic_linker="$host_os dld.so"
7744 shlibpath_var=LD_LIBRARY_PATH
7745 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7747 soname_spec='${libname}${release}${shared_ext}$major'
7748 if test "X$HPUX_IA64_MODE" = X32; then
7749 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7751 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7753 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7757 hardcode_into_libs=yes
7758 dynamic_linker="$host_os dld.sl"
7759 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7760 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7762 soname_spec='${libname}${release}${shared_ext}$major'
7763 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7764 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7768 dynamic_linker="$host_os dld.sl"
7769 shlibpath_var=SHLIB_PATH
7770 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7772 soname_spec='${libname}${release}${shared_ext}$major'
7775 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7776 postinstall_cmds='chmod 555 $lib'
7779 irix5* | irix6* | nonstopux*)
7781 nonstopux*) version_type=nonstopux ;;
7783 if test "$lt_cv_prog_gnu_ld" = yes; then
7791 soname_spec='${libname}${release}${shared_ext}$major'
7792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7794 irix5* | nonstopux*)
7798 case $LD in # libtool.m4 will add one of these switches to LD
7799 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7800 libsuff= shlibsuff= libmagic=32-bit;;
7801 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7802 libsuff=32 shlibsuff=N32 libmagic=N32;;
7803 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7804 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7805 *) libsuff= shlibsuff= libmagic=never-match;;
7809 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7810 shlibpath_overrides_runpath=no
7811 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7812 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7813 hardcode_into_libs=yes
7816 # No shared lib support for Linux oldld, aout, or coff.
7817 linux*oldld* | linux*aout* | linux*coff*)
7821 # This must be Linux ELF.
7826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7827 soname_spec='${libname}${release}${shared_ext}$major'
7828 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7829 shlibpath_var=LD_LIBRARY_PATH
7830 shlibpath_overrides_runpath=no
7831 # This implies no fast_install, which is unacceptable.
7832 # Some rework will be needed to allow for fast_install
7833 # before this can be enabled.
7834 hardcode_into_libs=yes
7836 # We used to test for /lib/ld.so.1 and disable shared libraries on
7837 # powerpc, because MkLinux only supported shared libraries with the
7838 # GNU dynamic linker. Since this was broken with cross compilers,
7839 # most powerpc-linux boxes support dynamic linking these days and
7840 # people can always --disable-shared, the test was removed, and we
7841 # assume the GNU/Linux dynamic linker is in use.
7842 dynamic_linker='GNU/Linux ld.so'
7849 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7851 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7852 dynamic_linker='NetBSD (a.out) ld.so'
7854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7855 soname_spec='${libname}${release}${shared_ext}$major'
7856 dynamic_linker='NetBSD ld.elf_so'
7858 shlibpath_var=LD_LIBRARY_PATH
7859 shlibpath_overrides_runpath=yes
7860 hardcode_into_libs=yes
7865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7866 shlibpath_var=LD_LIBRARY_PATH
7867 shlibpath_overrides_runpath=yes
7874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7875 soname_spec='${libname}${release}${shared_ext}$major'
7876 shlibpath_var=LD_LIBRARY_PATH
7877 shlibpath_overrides_runpath=yes
7884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7885 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7886 shlibpath_var=LD_LIBRARY_PATH
7887 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7889 openbsd2.[89] | openbsd2.[89].*)
7890 shlibpath_overrides_runpath=no
7893 shlibpath_overrides_runpath=yes
7897 shlibpath_overrides_runpath=yes
7902 libname_spec='$name'
7905 library_names_spec='$libname${shared_ext} $libname.a'
7906 dynamic_linker='OS/2 ld.exe'
7907 shlibpath_var=LIBPATH
7910 osf3* | osf4* | osf5*)
7914 soname_spec='${libname}${release}${shared_ext}$major'
7915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7916 shlibpath_var=LD_LIBRARY_PATH
7917 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7918 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7923 soname_spec='${libname}${release}${shared_ext}$major'
7924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7925 shlibpath_var=LD_LIBRARY_PATH
7932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7933 soname_spec='${libname}${release}${shared_ext}$major'
7934 shlibpath_var=LD_LIBRARY_PATH
7935 shlibpath_overrides_runpath=yes
7936 hardcode_into_libs=yes
7937 # ldd complains unless libraries are executable
7938 postinstall_cmds='chmod +x $lib'
7943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7944 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7945 shlibpath_var=LD_LIBRARY_PATH
7946 shlibpath_overrides_runpath=yes
7947 if test "$with_gnu_ld" = yes; then
7953 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7956 soname_spec='${libname}${release}${shared_ext}$major'
7957 shlibpath_var=LD_LIBRARY_PATH
7958 case $host_vendor in
7960 shlibpath_overrides_runpath=no
7962 export_dynamic_flag_spec='${wl}-Blargedynsym'
7963 runpath_var=LD_RUN_PATH
7971 shlibpath_overrides_runpath=no
7972 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
7978 if test -d /usr/nec ;then
7980 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
7981 soname_spec='$libname${shared_ext}.$major'
7982 shlibpath_var=LD_LIBRARY_PATH
7988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7989 soname_spec='${libname}${release}${shared_ext}$major'
7990 shlibpath_var=LD_LIBRARY_PATH
7997 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
7998 echo "${ECHO_T}$dynamic_linker" >&6
7999 test "$dynamic_linker" = no && can_build_shared=no
8001 if test "x$enable_dlopen" != xyes; then
8002 enable_dlopen=unknown
8003 enable_dlopen_self=unknown
8004 enable_dlopen_self_static=unknown
8011 lt_cv_dlopen="load_add_on"
8013 lt_cv_dlopen_self=yes
8017 lt_cv_dlopen="LoadLibrary"
8022 lt_cv_dlopen="dlopen"
8027 # if libdl is installed we need to link against it
8028 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8029 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8030 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8031 echo $ECHO_N "(cached) $ECHO_C" >&6
8033 ac_check_lib_save_LIBS=$LIBS
8035 cat >conftest.$ac_ext <<_ACEOF
8036 #line $LINENO "configure"
8039 cat confdefs.h >>conftest.$ac_ext
8040 cat >>conftest.$ac_ext <<_ACEOF
8041 /* end confdefs.h. */
8043 /* Override any gcc2 internal prototype to avoid an error. */
8047 /* We use char because int might match the return type of a gcc2
8048 builtin and then its argument prototype would still apply. */
8058 rm -f conftest.$ac_objext conftest$ac_exeext
8059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8060 (eval $ac_link) 2>&5
8062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063 (exit $ac_status); } &&
8064 { ac_try='test -s conftest$ac_exeext'
8065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); }; }; then
8070 ac_cv_lib_dl_dlopen=yes
8072 echo "$as_me: failed program was:" >&5
8073 sed 's/^/| /' conftest.$ac_ext >&5
8075 ac_cv_lib_dl_dlopen=no
8077 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8078 LIBS=$ac_check_lib_save_LIBS
8080 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8081 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8082 if test $ac_cv_lib_dl_dlopen = yes; then
8083 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8088 lt_cv_dlopen_self=yes
8095 echo "$as_me:$LINENO: checking for shl_load" >&5
8096 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8097 if test "${ac_cv_func_shl_load+set}" = set; then
8098 echo $ECHO_N "(cached) $ECHO_C" >&6
8100 cat >conftest.$ac_ext <<_ACEOF
8101 #line $LINENO "configure"
8104 cat confdefs.h >>conftest.$ac_ext
8105 cat >>conftest.$ac_ext <<_ACEOF
8106 /* end confdefs.h. */
8107 /* System header to define __stub macros and hopefully few prototypes,
8108 which can conflict with char shl_load (); below.
8109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8110 <limits.h> exists even on freestanding compilers. */
8112 # include <limits.h>
8114 # include <assert.h>
8116 /* Override any gcc2 internal prototype to avoid an error. */
8121 /* We use char because int might match the return type of a gcc2
8122 builtin and then its argument prototype would still apply. */
8124 /* The GNU C library defines this for functions which it implements
8125 to always fail with ENOSYS. Some functions are actually named
8126 something starting with __ and the normal name is an alias. */
8127 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8130 char (*f) () = shl_load;
8139 return f != shl_load;
8144 rm -f conftest.$ac_objext conftest$ac_exeext
8145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8146 (eval $ac_link) 2>&5
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); } &&
8150 { ac_try='test -s conftest$ac_exeext'
8151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 (exit $ac_status); }; }; then
8156 ac_cv_func_shl_load=yes
8158 echo "$as_me: failed program was:" >&5
8159 sed 's/^/| /' conftest.$ac_ext >&5
8161 ac_cv_func_shl_load=no
8163 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8165 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8166 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8167 if test $ac_cv_func_shl_load = yes; then
8168 lt_cv_dlopen="shl_load"
8170 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8171 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8172 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8173 echo $ECHO_N "(cached) $ECHO_C" >&6
8175 ac_check_lib_save_LIBS=$LIBS
8177 cat >conftest.$ac_ext <<_ACEOF
8178 #line $LINENO "configure"
8181 cat confdefs.h >>conftest.$ac_ext
8182 cat >>conftest.$ac_ext <<_ACEOF
8183 /* end confdefs.h. */
8185 /* Override any gcc2 internal prototype to avoid an error. */
8189 /* We use char because int might match the return type of a gcc2
8190 builtin and then its argument prototype would still apply. */
8200 rm -f conftest.$ac_objext conftest$ac_exeext
8201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8202 (eval $ac_link) 2>&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); } &&
8206 { ac_try='test -s conftest$ac_exeext'
8207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211 (exit $ac_status); }; }; then
8212 ac_cv_lib_dld_shl_load=yes
8214 echo "$as_me: failed program was:" >&5
8215 sed 's/^/| /' conftest.$ac_ext >&5
8217 ac_cv_lib_dld_shl_load=no
8219 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8220 LIBS=$ac_check_lib_save_LIBS
8222 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8223 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8224 if test $ac_cv_lib_dld_shl_load = yes; then
8225 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8227 echo "$as_me:$LINENO: checking for dlopen" >&5
8228 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8229 if test "${ac_cv_func_dlopen+set}" = set; then
8230 echo $ECHO_N "(cached) $ECHO_C" >&6
8232 cat >conftest.$ac_ext <<_ACEOF
8233 #line $LINENO "configure"
8236 cat confdefs.h >>conftest.$ac_ext
8237 cat >>conftest.$ac_ext <<_ACEOF
8238 /* end confdefs.h. */
8239 /* System header to define __stub macros and hopefully few prototypes,
8240 which can conflict with char dlopen (); below.
8241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8242 <limits.h> exists even on freestanding compilers. */
8244 # include <limits.h>
8246 # include <assert.h>
8248 /* Override any gcc2 internal prototype to avoid an error. */
8253 /* We use char because int might match the return type of a gcc2
8254 builtin and then its argument prototype would still apply. */
8256 /* The GNU C library defines this for functions which it implements
8257 to always fail with ENOSYS. Some functions are actually named
8258 something starting with __ and the normal name is an alias. */
8259 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8262 char (*f) () = dlopen;
8276 rm -f conftest.$ac_objext conftest$ac_exeext
8277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8278 (eval $ac_link) 2>&5
8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281 (exit $ac_status); } &&
8282 { ac_try='test -s conftest$ac_exeext'
8283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8287 (exit $ac_status); }; }; then
8288 ac_cv_func_dlopen=yes
8290 echo "$as_me: failed program was:" >&5
8291 sed 's/^/| /' conftest.$ac_ext >&5
8293 ac_cv_func_dlopen=no
8295 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8297 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8298 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8299 if test $ac_cv_func_dlopen = yes; then
8300 lt_cv_dlopen="dlopen"
8302 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8303 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8304 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8305 echo $ECHO_N "(cached) $ECHO_C" >&6
8307 ac_check_lib_save_LIBS=$LIBS
8309 cat >conftest.$ac_ext <<_ACEOF
8310 #line $LINENO "configure"
8313 cat confdefs.h >>conftest.$ac_ext
8314 cat >>conftest.$ac_ext <<_ACEOF
8315 /* end confdefs.h. */
8317 /* Override any gcc2 internal prototype to avoid an error. */
8321 /* We use char because int might match the return type of a gcc2
8322 builtin and then its argument prototype would still apply. */
8332 rm -f conftest.$ac_objext conftest$ac_exeext
8333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8334 (eval $ac_link) 2>&5
8336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8337 (exit $ac_status); } &&
8338 { ac_try='test -s conftest$ac_exeext'
8339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8343 (exit $ac_status); }; }; then
8344 ac_cv_lib_dl_dlopen=yes
8346 echo "$as_me: failed program was:" >&5
8347 sed 's/^/| /' conftest.$ac_ext >&5
8349 ac_cv_lib_dl_dlopen=no
8351 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8352 LIBS=$ac_check_lib_save_LIBS
8354 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8355 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8356 if test $ac_cv_lib_dl_dlopen = yes; then
8357 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8359 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8360 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8361 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8362 echo $ECHO_N "(cached) $ECHO_C" >&6
8364 ac_check_lib_save_LIBS=$LIBS
8366 cat >conftest.$ac_ext <<_ACEOF
8367 #line $LINENO "configure"
8370 cat confdefs.h >>conftest.$ac_ext
8371 cat >>conftest.$ac_ext <<_ACEOF
8372 /* end confdefs.h. */
8374 /* Override any gcc2 internal prototype to avoid an error. */
8378 /* We use char because int might match the return type of a gcc2
8379 builtin and then its argument prototype would still apply. */
8389 rm -f conftest.$ac_objext conftest$ac_exeext
8390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8391 (eval $ac_link) 2>&5
8393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394 (exit $ac_status); } &&
8395 { ac_try='test -s conftest$ac_exeext'
8396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8400 (exit $ac_status); }; }; then
8401 ac_cv_lib_svld_dlopen=yes
8403 echo "$as_me: failed program was:" >&5
8404 sed 's/^/| /' conftest.$ac_ext >&5
8406 ac_cv_lib_svld_dlopen=no
8408 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8409 LIBS=$ac_check_lib_save_LIBS
8411 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8412 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8413 if test $ac_cv_lib_svld_dlopen = yes; then
8414 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8416 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8417 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8418 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8419 echo $ECHO_N "(cached) $ECHO_C" >&6
8421 ac_check_lib_save_LIBS=$LIBS
8423 cat >conftest.$ac_ext <<_ACEOF
8424 #line $LINENO "configure"
8427 cat confdefs.h >>conftest.$ac_ext
8428 cat >>conftest.$ac_ext <<_ACEOF
8429 /* end confdefs.h. */
8431 /* Override any gcc2 internal prototype to avoid an error. */
8435 /* We use char because int might match the return type of a gcc2
8436 builtin and then its argument prototype would still apply. */
8446 rm -f conftest.$ac_objext conftest$ac_exeext
8447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8448 (eval $ac_link) 2>&5
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); } &&
8452 { ac_try='test -s conftest$ac_exeext'
8453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8457 (exit $ac_status); }; }; then
8458 ac_cv_lib_dld_dld_link=yes
8460 echo "$as_me: failed program was:" >&5
8461 sed 's/^/| /' conftest.$ac_ext >&5
8463 ac_cv_lib_dld_dld_link=no
8465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8466 LIBS=$ac_check_lib_save_LIBS
8468 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8469 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8470 if test $ac_cv_lib_dld_dld_link = yes; then
8471 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8492 if test "x$lt_cv_dlopen" != xno; then
8498 case $lt_cv_dlopen in
8500 save_CPPFLAGS="$CPPFLAGS"
8501 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8503 save_LDFLAGS="$LDFLAGS"
8504 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8507 LIBS="$lt_cv_dlopen_libs $LIBS"
8509 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8510 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8511 if test "${lt_cv_dlopen_self+set}" = set; then
8512 echo $ECHO_N "(cached) $ECHO_C" >&6
8514 if test "$cross_compiling" = yes; then :
8515 lt_cv_dlopen_self=cross
8517 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8518 lt_status=$lt_dlunknown
8519 cat > conftest.$ac_ext <<EOF
8520 #line 8520 "configure"
8521 #include "confdefs.h"
8530 # define LT_DLGLOBAL RTLD_GLOBAL
8533 # define LT_DLGLOBAL DL_GLOBAL
8535 # define LT_DLGLOBAL 0
8539 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8540 find out it does not work in some platform. */
8541 #ifndef LT_DLLAZY_OR_NOW
8543 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8546 # define LT_DLLAZY_OR_NOW DL_LAZY
8549 # define LT_DLLAZY_OR_NOW RTLD_NOW
8552 # define LT_DLLAZY_OR_NOW DL_NOW
8554 # define LT_DLLAZY_OR_NOW 0
8562 extern "C" void exit (int);
8565 void fnord() { int i=42;}
8568 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8569 int status = $lt_dlunknown;
8573 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8574 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8575 /* dlclose (self); */
8581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8582 (eval $ac_link) 2>&5
8584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8585 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8586 (./conftest; exit; ) 2>/dev/null
8589 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8590 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8591 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8594 # compilation failed
8595 lt_cv_dlopen_self=no
8602 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8603 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8605 if test "x$lt_cv_dlopen_self" = xyes; then
8606 LDFLAGS="$LDFLAGS $link_static_flag"
8607 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8608 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8609 if test "${lt_cv_dlopen_self_static+set}" = set; then
8610 echo $ECHO_N "(cached) $ECHO_C" >&6
8612 if test "$cross_compiling" = yes; then :
8613 lt_cv_dlopen_self_static=cross
8615 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8616 lt_status=$lt_dlunknown
8617 cat > conftest.$ac_ext <<EOF
8618 #line 8618 "configure"
8619 #include "confdefs.h"
8628 # define LT_DLGLOBAL RTLD_GLOBAL
8631 # define LT_DLGLOBAL DL_GLOBAL
8633 # define LT_DLGLOBAL 0
8637 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8638 find out it does not work in some platform. */
8639 #ifndef LT_DLLAZY_OR_NOW
8641 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8644 # define LT_DLLAZY_OR_NOW DL_LAZY
8647 # define LT_DLLAZY_OR_NOW RTLD_NOW
8650 # define LT_DLLAZY_OR_NOW DL_NOW
8652 # define LT_DLLAZY_OR_NOW 0
8660 extern "C" void exit (int);
8663 void fnord() { int i=42;}
8666 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8667 int status = $lt_dlunknown;
8671 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8672 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8673 /* dlclose (self); */
8679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8680 (eval $ac_link) 2>&5
8682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8683 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8684 (./conftest; exit; ) 2>/dev/null
8687 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8688 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8689 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8692 # compilation failed
8693 lt_cv_dlopen_self_static=no
8700 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8701 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8704 CPPFLAGS="$save_CPPFLAGS"
8705 LDFLAGS="$save_LDFLAGS"
8710 case $lt_cv_dlopen_self in
8711 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8712 *) enable_dlopen_self=unknown ;;
8715 case $lt_cv_dlopen_self_static in
8716 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8717 *) enable_dlopen_self_static=unknown ;;
8722 # Report which librarie types wil actually be built
8723 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8724 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8725 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8726 echo "${ECHO_T}$can_build_shared" >&6
8728 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8729 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8730 test "$can_build_shared" = "no" && enable_shared=no
8732 # On AIX, shared libraries and static libraries use the same namespace, and
8733 # are all built from PIC.
8736 test "$enable_shared" = yes && enable_static=no
8737 if test -n "$RANLIB"; then
8738 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8739 postinstall_cmds='$RANLIB $lib'
8744 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8745 test "$enable_shared" = yes && enable_static=no
8748 darwin* | rhapsody*)
8749 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8750 archive_cmds_need_lc=no
8752 rhapsody* | darwin1.[012])
8753 allow_undefined_flag='-undefined suppress'
8756 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8759 # FIXME: Relying on posixy $() will cause problems for
8760 # cross-compilation, but unfortunately the echo tests do not
8761 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8762 # `"' quotes if we put them in here... so don't!
8763 output_verbose_link_cmd='echo'
8764 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8765 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8766 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8767 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}'
8768 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}'
8770 hardcode_automatic=yes
8771 hardcode_shlibpath_var=unsupported
8772 whole_archive_flag_spec='-all_load $convenience'
8773 link_all_deplibs=yes
8777 echo "$as_me:$LINENO: result: $enable_shared" >&5
8778 echo "${ECHO_T}$enable_shared" >&6
8780 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8781 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8782 # Make sure either enable_shared or enable_static is yes.
8783 test "$enable_shared" = yes || enable_static=yes
8784 echo "$as_me:$LINENO: result: $enable_static" >&5
8785 echo "${ECHO_T}$enable_static" >&6
8787 # The else clause should only fire when bootstrapping the
8788 # libtool distribution, otherwise you forgot to ship ltmain.sh
8789 # with your package, and you will get complaints that there are
8790 # no rules to generate ltmain.sh.
8791 if test -f "$ltmain"; then
8792 # See if we are running on zsh, and set the options which allow our commands through
8793 # without removal of \ escapes.
8794 if test -n "${ZSH_VERSION+set}" ; then
8795 setopt NO_GLOB_SUBST
8797 # Now quote all the things that may contain metacharacters while being
8798 # careful not to overquote the AC_SUBSTed values. We take copies of the
8799 # variables and quote the copies for generation of the libtool script.
8800 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8801 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8802 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8803 deplibs_check_method reload_flag reload_cmds need_locks \
8804 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8805 lt_cv_sys_global_symbol_to_c_name_address \
8806 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8807 old_postinstall_cmds old_postuninstall_cmds \
8811 lt_prog_compiler_wl \
8812 lt_prog_compiler_pic \
8813 lt_prog_compiler_static \
8814 lt_prog_compiler_no_builtin_flag \
8815 export_dynamic_flag_spec \
8816 thread_safe_flag_spec \
8817 whole_archive_flag_spec \
8818 enable_shared_with_static_runtimes \
8820 old_archive_from_new_cmds \
8825 compiler_lib_search_path \
8827 archive_expsym_cmds \
8829 postuninstall_cmds \
8830 old_archive_from_expsyms_cmds \
8831 allow_undefined_flag \
8833 export_symbols_cmds \
8834 hardcode_libdir_flag_spec \
8835 hardcode_libdir_flag_spec_ld \
8836 hardcode_libdir_separator \
8837 hardcode_automatic \
8839 module_expsym_cmds \
8840 lt_cv_prog_compiler_c_o \
8845 old_archive_cmds | \
8846 old_archive_from_new_cmds | \
8848 archive_expsym_cmds | \
8850 module_expsym_cmds | \
8851 old_archive_from_expsyms_cmds | \
8852 export_symbols_cmds | \
8853 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8854 postinstall_cmds | postuninstall_cmds | \
8855 old_postinstall_cmds | old_postuninstall_cmds | \
8856 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8857 # Double-quote double-evaled strings.
8858 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8861 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8867 *'\$0 --fallback-echo"')
8868 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8873 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8875 { echo "$as_me:$LINENO: creating $ofile" >&5
8876 echo "$as_me: creating $ofile" >&6;}
8878 cat <<__EOF__ >> "$cfgfile"
8881 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8882 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8883 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8885 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8886 # Free Software Foundation, Inc.
8888 # This file is part of GNU Libtool:
8889 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8891 # This program is free software; you can redistribute it and/or modify
8892 # it under the terms of the GNU General Public License as published by
8893 # the Free Software Foundation; either version 2 of the License, or
8894 # (at your option) any later version.
8896 # This program is distributed in the hope that it will be useful, but
8897 # WITHOUT ANY WARRANTY; without even the implied warranty of
8898 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8899 # General Public License for more details.
8901 # You should have received a copy of the GNU General Public License
8902 # along with this program; if not, write to the Free Software
8903 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8905 # As a special exception to the GNU General Public License, if you
8906 # distribute this file as part of a program that contains a
8907 # configuration script generated by Autoconf, you may include it under
8908 # the same distribution terms that you use for the rest of that program.
8910 # A sed program that does not truncate output.
8913 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8914 Xsed="$SED -e s/^X//"
8916 # The HP-UX ksh and POSIX shell print the target directory to stdout
8918 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8920 # The names of the tagged configurations supported by this script.
8923 # ### BEGIN LIBTOOL CONFIG
8925 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8927 # Shell to use when invoking shell scripts.
8930 # Whether or not to build shared libraries.
8931 build_libtool_libs=$enable_shared
8933 # Whether or not to build static libraries.
8934 build_old_libs=$enable_static
8936 # Whether or not to add -lc for building shared libraries.
8937 build_libtool_need_lc=$archive_cmds_need_lc
8939 # Whether or not to disallow shared libs when runtime libs are static
8940 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8942 # Whether or not to optimize for fast installation.
8943 fast_install=$enable_fast_install
8946 host_alias=$host_alias
8949 # An echo program that does not interpret backslashes.
8954 AR_FLAGS=$lt_AR_FLAGS
8959 # A language-specific compiler.
8962 # Is the compiler the GNU C compiler?
8968 # The linker used to build libraries.
8971 # Whether we need hard or soft links.
8974 # A BSD-compatible nm program.
8977 # A symbol stripping program
8980 # Used to examine libraries when file_magic_cmd begins "file"
8981 MAGIC_CMD=$MAGIC_CMD
8983 # Used on cygwin: DLL creation program.
8986 # Used on cygwin: object dumper.
8989 # Used on cygwin: assembler.
8992 # The name of the directory that contains temporary libtool files.
8995 # How to create reloadable object files.
8996 reload_flag=$lt_reload_flag
8997 reload_cmds=$lt_reload_cmds
8999 # How to pass a linker flag through the compiler.
9000 wl=$lt_lt_prog_compiler_wl
9002 # Object file suffix (normally "o").
9005 # Old archive suffix (normally "a").
9008 # Shared library suffix (normally ".so").
9011 # Executable file suffix (normally "").
9014 # Additional compiler flags for building library objects.
9015 pic_flag=$lt_lt_prog_compiler_pic
9018 # What is the maximum length of a command?
9019 max_cmd_len=$lt_cv_sys_max_cmd_len
9021 # Does compiler simultaneously support -c and -o options?
9022 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9024 # Must we lock files when doing compilation ?
9025 need_locks=$lt_need_locks
9027 # Do we need the lib prefix for modules?
9028 need_lib_prefix=$need_lib_prefix
9030 # Do we need a version for libraries?
9031 need_version=$need_version
9033 # Whether dlopen is supported.
9034 dlopen_support=$enable_dlopen
9036 # Whether dlopen of programs is supported.
9037 dlopen_self=$enable_dlopen_self
9039 # Whether dlopen of statically linked programs is supported.
9040 dlopen_self_static=$enable_dlopen_self_static
9042 # Compiler flag to prevent dynamic linking.
9043 link_static_flag=$lt_lt_prog_compiler_static
9045 # Compiler flag to turn off builtin functions.
9046 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9048 # Compiler flag to allow reflexive dlopens.
9049 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9051 # Compiler flag to generate shared objects directly from archives.
9052 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9054 # Compiler flag to generate thread-safe objects.
9055 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9057 # Library versioning type.
9058 version_type=$version_type
9060 # Format of library name prefix.
9061 libname_spec=$lt_libname_spec
9063 # List of archive names. First name is the real one, the rest are links.
9064 # The last name is the one that the linker finds with -lNAME.
9065 library_names_spec=$lt_library_names_spec
9067 # The coded name of the library, if different from the real name.
9068 soname_spec=$lt_soname_spec
9070 # Commands used to build and install an old-style archive.
9072 old_archive_cmds=$lt_old_archive_cmds
9073 old_postinstall_cmds=$lt_old_postinstall_cmds
9074 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9076 # Create an old-style archive from a shared archive.
9077 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9079 # Create a temporary old-style archive to link instead of a shared archive.
9080 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9082 # Commands used to build and install a shared archive.
9083 archive_cmds=$lt_archive_cmds
9084 archive_expsym_cmds=$lt_archive_expsym_cmds
9085 postinstall_cmds=$lt_postinstall_cmds
9086 postuninstall_cmds=$lt_postuninstall_cmds
9088 # Commands used to build a loadable module (assumed same as above if empty)
9089 module_cmds=$lt_module_cmds
9090 module_expsym_cmds=$lt_module_expsym_cmds
9092 # Commands to strip libraries.
9093 old_striplib=$lt_old_striplib
9094 striplib=$lt_striplib
9096 # Dependencies to place before the objects being linked to create a
9098 predep_objects=$lt_predep_objects
9100 # Dependencies to place after the objects being linked to create a
9102 postdep_objects=$lt_postdep_objects
9104 # Dependencies to place before the objects being linked to create a
9108 # Dependencies to place after the objects being linked to create a
9110 postdeps=$lt_postdeps
9112 # The library search path used internally by the compiler when linking
9114 compiler_lib_search_path=$lt_compiler_lib_search_path
9116 # Method to check whether dependent libraries are shared objects.
9117 deplibs_check_method=$lt_deplibs_check_method
9119 # Command to use when deplibs_check_method == file_magic.
9120 file_magic_cmd=$lt_file_magic_cmd
9122 # Flag that allows shared libraries with undefined symbols to be built.
9123 allow_undefined_flag=$lt_allow_undefined_flag
9125 # Flag that forces no undefined symbols.
9126 no_undefined_flag=$lt_no_undefined_flag
9128 # Commands used to finish a libtool library installation in a directory.
9129 finish_cmds=$lt_finish_cmds
9131 # Same as above, but a single script fragment to be evaled but not shown.
9132 finish_eval=$lt_finish_eval
9134 # Take the output of nm and produce a listing of raw symbols and C names.
9135 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9137 # Transform the output of nm in a proper C declaration
9138 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9140 # Transform the output of nm in a C name address pair
9141 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9143 # This is the shared library runtime path variable.
9144 runpath_var=$runpath_var
9146 # This is the shared library path variable.
9147 shlibpath_var=$shlibpath_var
9149 # Is shlibpath searched before the hard-coded library search path?
9150 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9152 # How to hardcode a shared library path into an executable.
9153 hardcode_action=$hardcode_action
9155 # Whether we should hardcode library paths into libraries.
9156 hardcode_into_libs=$hardcode_into_libs
9158 # Flag to hardcode \$libdir into a binary during linking.
9159 # This must work even if \$libdir does not exist.
9160 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9162 # If ld is used when linking, flag to hardcode \$libdir into
9163 # a binary during linking. This must work even if \$libdir does
9165 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9167 # Whether we need a single -rpath flag with a separated argument.
9168 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9170 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9172 hardcode_direct=$hardcode_direct
9174 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9176 hardcode_minus_L=$hardcode_minus_L
9178 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9179 # the resulting binary.
9180 hardcode_shlibpath_var=$hardcode_shlibpath_var
9182 # Set to yes if building a shared library automatically hardcodes DIR into the library
9183 # and all subsequent libraries and executables linked against it.
9184 hardcode_automatic=$hardcode_automatic
9186 # Variables whose values should be saved in libtool wrapper scripts and
9187 # restored at relink time.
9188 variables_saved_for_relink="$variables_saved_for_relink"
9190 # Whether libtool must link a program against all its dependency libraries.
9191 link_all_deplibs=$link_all_deplibs
9193 # Compile-time system search path for libraries
9194 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9196 # Run-time system search path for libraries
9197 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9199 # Fix the shell variable \$srcfile for the compiler.
9200 fix_srcfile_path="$fix_srcfile_path"
9202 # Set to yes if exported symbols are required.
9203 always_export_symbols=$always_export_symbols
9205 # The commands to list exported symbols.
9206 export_symbols_cmds=$lt_export_symbols_cmds
9208 # The commands to extract the exported symbol list from a shared archive.
9209 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9211 # Symbols that should not be listed in the preloaded symbols.
9212 exclude_expsyms=$lt_exclude_expsyms
9214 # Symbols that must always be exported.
9215 include_expsyms=$lt_include_expsyms
9217 # ### END LIBTOOL CONFIG
9224 cat <<\EOF >> "$cfgfile"
9226 # AIX sometimes has problems with the GCC collect2 program. For some
9227 # reason, if we set the COLLECT_NAMES environment variable, the problems
9228 # vanish in a puff of smoke.
9229 if test "X${COLLECT_NAMES+set}" != Xset; then
9231 export COLLECT_NAMES
9237 # We use sed instead of cat because bash on DJGPP gets confused if
9238 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9239 # text mode, it properly converts lines to CR/LF. This bash problem
9240 # is reportedly fixed, but why not run on old versions too?
9241 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9243 mv -f "$cfgfile" "$ofile" || \
9244 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9248 # If there is no Makefile yet, we rely on a make rule to execute
9249 # `config.status --recheck' to rerun these tests and create the
9250 # libtool script then.
9251 test -f Makefile && make "$ltmain"
9256 ac_cpp='$CPP $CPPFLAGS'
9257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9264 # Check whether --with-tags or --without-tags was given.
9265 if test "${with_tags+set}" = set; then
9266 withval="$with_tags"
9270 if test -f "$ltmain" && test -n "$tagnames"; then
9271 if test ! -f "${ofile}"; then
9272 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9273 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9276 if test -z "$LTCC"; then
9277 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9278 if test -z "$LTCC"; then
9279 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9280 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9282 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9283 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9287 # Extract list of available tagged configurations in $ofile.
9288 # Note that this assumes the entire list is on one line.
9289 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9291 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9292 for tagname in $tagnames; do
9294 # Check whether tagname contains only valid characters
9295 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9297 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9298 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9299 { (exit 1); exit 1; }; }
9303 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9305 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9306 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9307 { (exit 1); exit 1; }; }
9310 # Update the list of available tags.
9311 if test -n "$tagname"; then
9312 echo appending configuration tag \"$tagname\" to $ofile
9316 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9318 ac_cpp='$CXXCPP $CPPFLAGS'
9319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9326 archive_cmds_need_lc_CXX=no
9327 allow_undefined_flag_CXX=
9328 always_export_symbols_CXX=no
9329 archive_expsym_cmds_CXX=
9330 export_dynamic_flag_spec_CXX=
9331 hardcode_direct_CXX=no
9332 hardcode_libdir_flag_spec_CXX=
9333 hardcode_libdir_flag_spec_ld_CXX=
9334 hardcode_libdir_separator_CXX=
9335 hardcode_minus_L_CXX=no
9336 hardcode_automatic_CXX=no
9338 module_expsym_cmds_CXX=
9339 link_all_deplibs_CXX=unknown
9340 old_archive_cmds_CXX=$old_archive_cmds
9341 no_undefined_flag_CXX=
9342 whole_archive_flag_spec_CXX=
9343 enable_shared_with_static_runtimes_CXX=no
9345 # Dependencies to place before and after the object being linked:
9347 postdep_objects_CXX=
9350 compiler_lib_search_path_CXX=
9352 # Source file extension for C++ test sources.
9355 # Object file extension for compiled C++ test sources.
9359 # Code to be used in simple compile tests
9360 lt_simple_compile_test_code="int some_variable = 0;\n"
9362 # Code to be used in simple link tests
9363 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9365 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9367 # If no C compiler was specified, use CC.
9370 # Allow CC to be a program name with arguments.
9374 # Allow CC to be a program name with arguments.
9379 lt_save_with_gnu_ld=$with_gnu_ld
9380 lt_save_path_LD=$lt_cv_path_LD
9381 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9382 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9384 unset lt_cv_prog_gnu_ld
9386 if test -n "${lt_cv_path_LDCXX+set}"; then
9387 lt_cv_path_LD=$lt_cv_path_LDCXX
9391 test -z "${LDCXX+set}" || LD=$LDCXX
9395 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9397 # We don't want -fno-exception wen compiling C++ code, so set the
9398 # no_builtin_flag separately
9399 if test "$GXX" = yes; then
9400 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9402 lt_prog_compiler_no_builtin_flag_CXX=
9405 if test "$GXX" = yes; then
9406 # Set up default GNU C++ configuration
9409 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9410 if test "${with_gnu_ld+set}" = set; then
9411 withval="$with_gnu_ld"
9412 test "$withval" = no || with_gnu_ld=yes
9417 if test "$GCC" = yes; then
9418 # Check if gcc -print-prog-name=ld gives a path.
9419 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9420 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9423 # gcc leaves a trailing carriage return which upsets mingw
9424 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9426 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9429 # Accept absolute paths.
9431 re_direlt='/[^/][^/]*/\.\./'
9432 # Canonicalize the path of ld
9433 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9434 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9435 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9437 test -z "$LD" && LD="$ac_prog"
9440 # If it fails, then pretend we aren't using GCC.
9444 # If it is relative, then search for the first ld in PATH.
9448 elif test "$with_gnu_ld" = yes; then
9449 echo "$as_me:$LINENO: checking for GNU ld" >&5
9450 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9452 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9453 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9455 if test "${lt_cv_path_LD+set}" = set; then
9456 echo $ECHO_N "(cached) $ECHO_C" >&6
9458 if test -z "$LD"; then
9459 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9460 for ac_dir in $PATH; do
9462 test -z "$ac_dir" && ac_dir=.
9463 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9464 lt_cv_path_LD="$ac_dir/$ac_prog"
9465 # Check to see if the program is GNU ld. I'd rather use --version,
9466 # but apparently some GNU ld's only accept -v.
9467 # Break only if it was the GNU/non-GNU ld that we prefer.
9468 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9469 *GNU* | *'with BFD'*)
9470 test "$with_gnu_ld" != no && break
9473 test "$with_gnu_ld" != yes && break
9480 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9485 if test -n "$LD"; then
9486 echo "$as_me:$LINENO: result: $LD" >&5
9487 echo "${ECHO_T}$LD" >&6
9489 echo "$as_me:$LINENO: result: no" >&5
9490 echo "${ECHO_T}no" >&6
9492 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9493 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9494 { (exit 1); exit 1; }; }
9495 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9496 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9497 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9498 echo $ECHO_N "(cached) $ECHO_C" >&6
9500 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9501 case `"$LD" -v 2>&1 </dev/null` in
9502 *GNU* | *'with BFD'*)
9503 lt_cv_prog_gnu_ld=yes
9506 lt_cv_prog_gnu_ld=no
9510 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9511 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9512 with_gnu_ld=$lt_cv_prog_gnu_ld
9516 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9517 # archiving commands below assume that GNU ld is being used.
9518 if test "$with_gnu_ld" = yes; then
9519 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9520 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'
9522 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9523 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9525 # If archive_cmds runs LD, not CC, wlarc should be empty
9526 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9527 # investigate it a little bit more. (MM)
9530 # ancient GNU ld didn't support --whole-archive et. al.
9531 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9532 grep 'no-whole-archive' > /dev/null; then
9533 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9535 whole_archive_flag_spec_CXX=
9541 # A generic and very simple default shared library creation
9542 # command for GNU C++ for the case where it uses the native
9543 # linker, instead of GNU ld. If possible, this setting should
9544 # overridden to take advantage of the native linker features on
9545 # the platform it is being used on.
9546 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9549 # Commands to make compiler produce verbose output that lists
9550 # what "hidden" libraries, object files and flags are used when
9551 # linking a shared library.
9552 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9560 # PORTME: fill in a description of your system's C++ link characteristics
9561 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9562 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9566 # FIXME: insert proper C++ library support
9570 if test "$host_cpu" = ia64; then
9571 # On IA64, the linker does run time linking by default, so we don't
9572 # have to do anything special.
9573 aix_use_runtimelinking=no
9574 exp_sym_flag='-Bexport'
9577 aix_use_runtimelinking=no
9579 # Test if we are trying to use run time linking or normal
9580 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9581 # need to do runtime linking.
9582 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9583 for ld_flag in $LDFLAGS; do
9586 aix_use_runtimelinking=yes
9593 exp_sym_flag='-bexport'
9594 no_entry_flag='-bnoentry'
9597 # When large executables or shared objects are built, AIX ld can
9598 # have problems creating the table of contents. If linking a library
9599 # or program results in "error TOC overflow" add -mminimal-toc to
9600 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9601 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9604 hardcode_direct_CXX=yes
9605 hardcode_libdir_separator_CXX=':'
9606 link_all_deplibs_CXX=yes
9608 if test "$GXX" = yes; then
9609 case $host_os in aix4.012|aix4.012.*)
9610 # We only want to do this on AIX 4.2 and lower, the check
9611 # below for broken collect2 doesn't work under 4.3+
9612 collect2name=`${CC} -print-prog-name=collect2`
9613 if test -f "$collect2name" && \
9614 strings "$collect2name" | grep resolve_lib_name >/dev/null
9616 # We have reworked collect2
9617 hardcode_direct_CXX=yes
9619 # We have old collect2
9620 hardcode_direct_CXX=unsupported
9621 # It fails to find uninstalled libraries when the uninstalled
9622 # path is not listed in the libpath. Setting hardcode_minus_L
9623 # to unsupported forces relinking
9624 hardcode_minus_L_CXX=yes
9625 hardcode_libdir_flag_spec_CXX='-L$libdir'
9626 hardcode_libdir_separator_CXX=
9629 shared_flag='-shared'
9632 if test "$host_cpu" = ia64; then
9633 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9634 # chokes on -Wl,-G. The following line is correct:
9637 if test "$aix_use_runtimelinking" = yes; then
9638 shared_flag='${wl}-G'
9640 shared_flag='${wl}-bM:SRE'
9645 # It seems that -bexpall does not export symbols beginning with
9646 # underscore (_), so it is better to generate a list of symbols to export.
9647 always_export_symbols_CXX=yes
9648 if test "$aix_use_runtimelinking" = yes; then
9649 # Warning - without using the other runtime loading flags (-brtl),
9650 # -berok will link without error, but may produce a broken library.
9651 allow_undefined_flag_CXX='-berok'
9652 # Determine the default libpath from the value encoded in an empty executable.
9653 cat >conftest.$ac_ext <<_ACEOF
9654 #line $LINENO "configure"
9657 cat confdefs.h >>conftest.$ac_ext
9658 cat >>conftest.$ac_ext <<_ACEOF
9659 /* end confdefs.h. */
9669 rm -f conftest.$ac_objext conftest$ac_exeext
9670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9671 (eval $ac_link) 2>&5
9673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9674 (exit $ac_status); } &&
9675 { ac_try='test -s conftest$ac_exeext'
9676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9680 (exit $ac_status); }; }; then
9682 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9684 # Check for a 64-bit object if we didn't find anything.
9685 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; }
9688 echo "$as_me: failed program was:" >&5
9689 sed 's/^/| /' conftest.$ac_ext >&5
9692 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9693 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9695 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9697 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"
9699 if test "$host_cpu" = ia64; then
9700 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9701 allow_undefined_flag_CXX="-z nodefs"
9702 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"
9704 # Determine the default libpath from the value encoded in an empty executable.
9705 cat >conftest.$ac_ext <<_ACEOF
9706 #line $LINENO "configure"
9709 cat confdefs.h >>conftest.$ac_ext
9710 cat >>conftest.$ac_ext <<_ACEOF
9711 /* end confdefs.h. */
9721 rm -f conftest.$ac_objext conftest$ac_exeext
9722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9723 (eval $ac_link) 2>&5
9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); } &&
9727 { ac_try='test -s conftest$ac_exeext'
9728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9732 (exit $ac_status); }; }; then
9734 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9736 # Check for a 64-bit object if we didn't find anything.
9737 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; }
9740 echo "$as_me: failed program was:" >&5
9741 sed 's/^/| /' conftest.$ac_ext >&5
9744 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9745 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9747 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9748 # Warning - without using the other run time loading flags,
9749 # -berok will link without error, but may produce a broken library.
9750 no_undefined_flag_CXX=' ${wl}-bernotok'
9751 allow_undefined_flag_CXX=' ${wl}-berok'
9752 # -bexpall does not export symbols beginning with underscore (_)
9753 always_export_symbols_CXX=yes
9754 # Exported symbols can be pulled into shared objects from archives
9755 whole_archive_flag_spec_CXX=' '
9756 archive_cmds_need_lc_CXX=yes
9757 # This is similar to how AIX traditionally builds it's shared libraries.
9758 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'
9763 case $cc_basename in
9765 # FIXME: insert proper C++ library support
9771 cygwin* | mingw* | pw32*)
9772 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9773 # as there is no search path for DLLs.
9774 hardcode_libdir_flag_spec_CXX='-L$libdir'
9775 allow_undefined_flag_CXX=unsupported
9776 always_export_symbols_CXX=no
9777 enable_shared_with_static_runtimes_CXX=yes
9779 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9780 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'
9781 # If the export-symbols file already is a .def file (1st line
9782 # is EXPORTS), use it as is; otherwise, prepend...
9783 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9784 cp $export_symbols $output_objdir/$soname.def;
9786 echo EXPORTS > $output_objdir/$soname.def;
9787 cat $export_symbols >> $output_objdir/$soname.def;
9789 $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'
9795 darwin* | rhapsody*)
9796 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9797 archive_cmds_need_lc_CXX=no
9799 rhapsody* | darwin1.[012])
9800 allow_undefined_flag_CXX='-undefined suppress'
9803 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9806 lt_int_apple_cc_single_mod=no
9807 output_verbose_link_cmd='echo'
9808 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9809 lt_int_apple_cc_single_mod=yes
9811 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9812 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9814 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'
9816 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9818 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9819 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9820 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}'
9822 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}'
9824 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}'
9825 hardcode_direct_CXX=no
9826 hardcode_automatic_CXX=yes
9827 hardcode_shlibpath_var_CXX=unsupported
9828 whole_archive_flag_spec_CXX='-all_load $convenience'
9829 link_all_deplibs_CXX=yes
9834 case $cc_basename in
9836 # FIXME: insert proper C++ library support
9840 # Green Hills C++ Compiler
9841 # FIXME: insert proper C++ library support
9845 # FIXME: insert proper C++ library support
9851 # C++ shared libraries reported to be fairly broken before switch to ELF
9855 archive_cmds_need_lc_CXX=no
9858 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9865 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9866 hardcode_libdir_separator_CXX=:
9867 export_dynamic_flag_spec_CXX='${wl}-E'
9868 hardcode_direct_CXX=yes
9869 hardcode_minus_L_CXX=yes # Not in the search PATH,
9870 # but as the default
9871 # location of the library.
9873 case $cc_basename in
9875 # FIXME: insert proper C++ library support
9879 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'
9880 # Commands to make compiler produce verbose output that lists
9881 # what "hidden" libraries, object files and flags are used when
9882 # linking a shared library.
9884 # There doesn't appear to be a way to prevent this compiler from
9885 # explicitly linking system object files so we need to strip them
9886 # from the output so that they don't get included in the library
9888 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'
9891 if test "$GXX" = yes; then
9892 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'
9894 # FIXME: insert proper C++ library support
9901 if test $with_gnu_ld = no; then
9904 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9905 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9906 hardcode_libdir_separator_CXX=:
9909 hardcode_libdir_flag_spec_CXX='-L$libdir'
9912 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9913 hardcode_libdir_separator_CXX=:
9914 export_dynamic_flag_spec_CXX='${wl}-E'
9920 hardcode_direct_CXX=no
9921 hardcode_shlibpath_var_CXX=no
9924 hardcode_direct_CXX=no
9925 hardcode_shlibpath_var_CXX=no
9926 hardcode_minus_L_CXX=yes # Not in the search PATH,
9927 # but as the default
9928 # location of the library.
9931 hardcode_direct_CXX=yes
9932 hardcode_minus_L_CXX=yes # Not in the search PATH,
9933 # but as the default
9934 # location of the library.
9938 case $cc_basename in
9940 # FIXME: insert proper C++ library support
9946 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9949 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9952 # Commands to make compiler produce verbose output that lists
9953 # what "hidden" libraries, object files and flags are used when
9954 # linking a shared library.
9956 # There doesn't appear to be a way to prevent this compiler from
9957 # explicitly linking system object files so we need to strip them
9958 # from the output so that they don't get included in the library
9960 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'
9963 if test "$GXX" = yes; then
9964 if test $with_gnu_ld = no; then
9967 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9970 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'
9975 # FIXME: insert proper C++ library support
9982 case $cc_basename in
9985 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'
9987 # Archives containing C++ object files must be created using
9988 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
9989 # necessary to make sure instantiated templates are included
9991 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
9994 if test "$GXX" = yes; then
9995 if test "$with_gnu_ld" = no; then
9996 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'
9998 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'
10001 link_all_deplibs_CXX=yes
10004 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10005 hardcode_libdir_separator_CXX=:
10008 case $cc_basename in
10010 # Kuck and Associates, Inc. (KAI) C++ Compiler
10012 # KCC will only create a shared library if the output file
10013 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10014 # to its proper name (with version) after linking.
10015 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'
10016 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'
10017 # Commands to make compiler produce verbose output that lists
10018 # what "hidden" libraries, object files and flags are used when
10019 # linking a shared library.
10021 # There doesn't appear to be a way to prevent this compiler from
10022 # explicitly linking system object files so we need to strip them
10023 # from the output so that they don't get included in the library
10025 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'
10027 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10028 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10030 # Archives containing C++ object files must be created using
10031 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10032 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10037 archive_cmds_need_lc_CXX=no
10038 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10039 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'
10040 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10041 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10042 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10046 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10047 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'
10049 runpath_var=LD_RUN_PATH
10050 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10051 hardcode_libdir_separator_CXX=:
10053 # Commands to make compiler produce verbose output that lists
10054 # what "hidden" libraries, object files and flags are used when
10055 # linking a shared library.
10057 # There doesn't appear to be a way to prevent this compiler from
10058 # explicitly linking system object files so we need to strip them
10059 # from the output so that they don't get included in the library
10061 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'
10066 # FIXME: insert proper C++ library support
10070 # FIXME: insert proper C++ library support
10074 case $cc_basename in
10076 # FIXME: insert proper C++ library support
10080 # FIXME: insert proper C++ library support
10086 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10087 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10089 hardcode_libdir_flag_spec_CXX='-R$libdir'
10090 hardcode_direct_CXX=yes
10091 hardcode_shlibpath_var_CXX=no
10093 # Workaround some broken pre-1.5 toolchains
10094 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10097 case $cc_basename in
10099 # Kuck and Associates, Inc. (KAI) C++ Compiler
10101 # KCC will only create a shared library if the output file
10102 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10103 # to its proper name (with version) after linking.
10104 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'
10106 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10107 hardcode_libdir_separator_CXX=:
10109 # Archives containing C++ object files must be created using
10110 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10111 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10115 # Rational C++ 2.4.1
10116 # FIXME: insert proper C++ library support
10120 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10121 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'
10123 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10124 hardcode_libdir_separator_CXX=:
10126 # Commands to make compiler produce verbose output that lists
10127 # what "hidden" libraries, object files and flags are used when
10128 # linking a shared library.
10130 # There doesn't appear to be a way to prevent this compiler from
10131 # explicitly linking system object files so we need to strip them
10132 # from the output so that they don't get included in the library
10134 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'
10137 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10138 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10139 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'
10141 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10142 hardcode_libdir_separator_CXX=:
10144 # Commands to make compiler produce verbose output that lists
10145 # what "hidden" libraries, object files and flags are used when
10146 # linking a shared library.
10147 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10150 # FIXME: insert proper C++ library support
10157 case $cc_basename in
10159 # Kuck and Associates, Inc. (KAI) C++ Compiler
10161 # KCC will only create a shared library if the output file
10162 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10163 # to its proper name (with version) after linking.
10164 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'
10166 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10167 hardcode_libdir_separator_CXX=:
10169 # Archives containing C++ object files must be created using
10170 # the KAI C++ compiler.
10171 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10174 # Rational C++ 2.4.1
10175 # FIXME: insert proper C++ library support
10179 allow_undefined_flag_CXX=' -expect_unresolved \*'
10180 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'
10181 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10182 echo "-hidden">> $lib.exp~
10183 $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~
10186 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10187 hardcode_libdir_separator_CXX=:
10189 # Commands to make compiler produce verbose output that lists
10190 # what "hidden" libraries, object files and flags are used when
10191 # linking a shared library.
10193 # There doesn't appear to be a way to prevent this compiler from
10194 # explicitly linking system object files so we need to strip them
10195 # from the output so that they don't get included in the library
10197 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'
10200 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10201 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10202 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'
10204 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10205 hardcode_libdir_separator_CXX=:
10207 # Commands to make compiler produce verbose output that lists
10208 # what "hidden" libraries, object files and flags are used when
10209 # linking a shared library.
10210 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10213 # FIXME: insert proper C++ library support
10220 # FIXME: insert proper C++ library support
10224 archive_cmds_need_lc_CXX=no
10225 case $cc_basename in
10227 # FIXME: insert proper C++ library support
10231 # FIXME: insert proper C++ library support
10237 case $cc_basename in
10240 # FIXME: insert proper C++ library support
10245 # FIXME: insert proper C++ library support
10249 # FIXME: insert proper C++ library support
10255 case $cc_basename in
10257 # Sun C++ 4.2, 5.x and Centerline C++
10258 no_undefined_flag_CXX=' -zdefs'
10259 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10260 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10261 $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'
10263 hardcode_libdir_flag_spec_CXX='-R$libdir'
10264 hardcode_shlibpath_var_CXX=no
10266 solaris2.0-5 | solaris2.0-5.*) ;;
10268 # The C++ compiler is used as linker so we must use $wl
10269 # flag to pass the commands to the underlying system
10271 # Supported since Solaris 2.6 (maybe 2.5.1?)
10272 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10275 link_all_deplibs_CXX=yes
10277 # Commands to make compiler produce verbose output that lists
10278 # what "hidden" libraries, object files and flags are used when
10279 # linking a shared library.
10281 # There doesn't appear to be a way to prevent this compiler from
10282 # explicitly linking system object files so we need to strip them
10283 # from the output so that they don't get included in the library
10285 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'
10287 # Archives containing C++ object files must be created using
10288 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10289 # necessary to make sure instantiated templates are included
10291 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10294 # Green Hills C++ Compiler
10295 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10297 # The C++ compiler must be used to create the archive.
10298 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10301 # GNU C++ compiler with Solaris linker
10302 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10303 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10304 if $CC --version | grep -v '^2\.7' > /dev/null; then
10305 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10306 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10307 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10309 # Commands to make compiler produce verbose output that lists
10310 # what "hidden" libraries, object files and flags are used when
10311 # linking a shared library.
10312 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10314 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10316 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10317 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10318 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10320 # Commands to make compiler produce verbose output that lists
10321 # what "hidden" libraries, object files and flags are used when
10322 # linking a shared library.
10323 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10326 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10331 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10332 archive_cmds_need_lc_CXX=no
10335 case $cc_basename in
10337 # NonStop-UX NCC 3.20
10338 # FIXME: insert proper C++ library support
10342 # FIXME: insert proper C++ library support
10348 # FIXME: insert proper C++ library support
10352 # FIXME: insert proper C++ library support
10356 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10357 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10358 test "$ld_shlibs_CXX" = no && can_build_shared=no
10364 ## There is no encapsulation within the following macros, do not change
10365 ## the running order or otherwise move them around unless you know exactly
10366 ## what you are doing...
10368 cat > conftest.$ac_ext <<EOF
10372 Foo (void) { a = 0; }
10378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10379 (eval $ac_compile) 2>&5
10381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10382 (exit $ac_status); }; then
10383 # Parse the compiler output and extract the necessary
10384 # objects, libraries and library flags.
10386 # Sentinel used to keep track of whether or not we are before
10387 # the conftest object file.
10388 pre_test_object_deps_done=no
10390 # The `*' in the case matches for architectures that use `case' in
10391 # $output_verbose_cmd can trigger glob expansion during the loop
10392 # eval without this substitution.
10393 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10395 for p in `eval $output_verbose_link_cmd`; do
10399 # Some compilers place space between "-{L,R}" and the path.
10400 # Remove the space.
10401 if test $p = "-L" \
10402 || test $p = "-R"; then
10409 if test "$pre_test_object_deps_done" = no; then
10412 # Internal compiler library paths should come after those
10413 # provided the user. The postdeps already come after the
10414 # user supplied libs so there is no need to process them.
10415 if test -z "$compiler_lib_search_path_CXX"; then
10416 compiler_lib_search_path_CXX="${prev}${p}"
10418 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10421 # The "-l" case would never come before the object being
10422 # linked, so don't bother handling this case.
10425 if test -z "$postdeps_CXX"; then
10426 postdeps_CXX="${prev}${p}"
10428 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10434 # This assumes that the test object file only shows up
10435 # once in the compiler output.
10436 if test "$p" = "conftest.$objext"; then
10437 pre_test_object_deps_done=yes
10441 if test "$pre_test_object_deps_done" = no; then
10442 if test -z "$predep_objects_CXX"; then
10443 predep_objects_CXX="$p"
10445 predep_objects_CXX="$predep_objects_CXX $p"
10448 if test -z "$postdep_objects_CXX"; then
10449 postdep_objects_CXX="$p"
10451 postdep_objects_CXX="$postdep_objects_CXX $p"
10456 *) ;; # Ignore the rest.
10464 echo "libtool.m4: error: problem compiling CXX test program"
10467 $rm -f confest.$objext
10469 case " $postdeps_CXX " in
10470 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10473 lt_prog_compiler_wl_CXX=
10474 lt_prog_compiler_pic_CXX=
10475 lt_prog_compiler_static_CXX=
10477 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10478 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10480 # C++ specific cases for pic, static, wl, etc.
10481 if test "$GXX" = yes; then
10482 lt_prog_compiler_wl_CXX='-Wl,'
10483 lt_prog_compiler_static_CXX='-static'
10487 # All AIX code is PIC.
10488 if test "$host_cpu" = ia64; then
10489 # AIX 5 now supports IA64 processor
10490 lt_prog_compiler_static_CXX='-Bstatic'
10494 # FIXME: we need at least 68020 code to build shared libraries, but
10495 # adding the `-m68020' flag to GCC prevents building anything better,
10497 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10499 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10500 # PIC is the default for these OSes.
10502 mingw* | os2* | pw32*)
10503 # This hack is so that the source file can tell whether it is being
10504 # built for inclusion in a dll (and should export symbols for example).
10505 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10507 darwin* | rhapsody*)
10508 # PIC is the default on this platform
10509 # Common symbols not allowed in MH_DYLIB files
10510 lt_prog_compiler_pic_CXX='-fno-common'
10513 # DJGPP does not support shared libraries at all
10514 lt_prog_compiler_pic_CXX=
10517 if test -d /usr/nec; then
10518 lt_prog_compiler_pic_CXX=-Kconform_pic
10522 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10523 # not for PA HP-UX.
10524 case "$host_cpu" in
10528 lt_prog_compiler_pic_CXX='-fPIC'
10533 lt_prog_compiler_pic_CXX='-fPIC'
10539 # All AIX code is PIC.
10540 if test "$host_cpu" = ia64; then
10541 # AIX 5 now supports IA64 processor
10542 lt_prog_compiler_static_CXX='-Bstatic'
10544 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10548 case $cc_basename in
10550 # Green Hills C++ Compiler
10551 # _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"
10556 case $cc_basename in
10558 lt_prog_compiler_pic_CXX='-KPIC'
10561 # Green Hills C++ Compiler
10562 lt_prog_compiler_pic_CXX='-pic'
10569 # FreeBSD uses GNU C++
10571 hpux9* | hpux10* | hpux11*)
10572 case $cc_basename in
10574 lt_prog_compiler_wl_CXX='-Wl,'
10575 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10576 if test "$host_cpu" != ia64; then
10577 lt_prog_compiler_pic_CXX='+Z'
10581 lt_prog_compiler_wl_CXX='-Wl,'
10582 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10583 case "$host_cpu" in
10588 lt_prog_compiler_pic_CXX='+Z'
10596 irix5* | irix6* | nonstopux*)
10597 case $cc_basename in
10599 lt_prog_compiler_wl_CXX='-Wl,'
10600 lt_prog_compiler_static_CXX='-non_shared'
10601 # CC pic flag -KPIC is the default.
10608 case $cc_basename in
10611 lt_prog_compiler_wl_CXX='--backend -Wl,'
10612 lt_prog_compiler_pic_CXX='-fPIC'
10616 lt_prog_compiler_wl_CXX='-Wl,'
10617 lt_prog_compiler_pic_CXX='-KPIC'
10618 lt_prog_compiler_static_CXX='-static'
10622 # Make sure the PIC flag is empty. It appears that all Alpha
10623 # Linux and Compaq Tru64 Unix objects are PIC.
10624 lt_prog_compiler_pic_CXX=
10625 lt_prog_compiler_static_CXX='-non_shared'
10636 case $cc_basename in
10638 lt_prog_compiler_pic_CXX='-W c,exportall'
10646 osf3* | osf4* | osf5*)
10647 case $cc_basename in
10649 lt_prog_compiler_wl_CXX='--backend -Wl,'
10652 # Rational C++ 2.4.1
10653 lt_prog_compiler_pic_CXX='-pic'
10656 # Digital/Compaq C++
10657 lt_prog_compiler_wl_CXX='-Wl,'
10658 # Make sure the PIC flag is empty. It appears that all Alpha
10659 # Linux and Compaq Tru64 Unix objects are PIC.
10660 lt_prog_compiler_pic_CXX=
10661 lt_prog_compiler_static_CXX='-non_shared'
10670 case $cc_basename in
10672 lt_prog_compiler_pic_CXX='-fPIC'
10679 case $cc_basename in
10681 # Sun C++ 4.2, 5.x and Centerline C++
10682 lt_prog_compiler_pic_CXX='-KPIC'
10683 lt_prog_compiler_static_CXX='-Bstatic'
10684 lt_prog_compiler_wl_CXX='-Qoption ld '
10687 # Green Hills C++ Compiler
10688 lt_prog_compiler_pic_CXX='-PIC'
10695 case $cc_basename in
10698 lt_prog_compiler_pic_CXX='-pic'
10699 lt_prog_compiler_static_CXX='-Bstatic'
10703 lt_prog_compiler_pic_CXX='-pic'
10710 case $cc_basename in
10712 # NonStop-UX NCC 3.20
10713 lt_prog_compiler_pic_CXX='-KPIC'
10724 lt_prog_compiler_can_build_shared_CXX=no
10729 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10730 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10733 # Check to make sure the PIC flag actually works.
10735 if test -n "$lt_prog_compiler_pic_CXX"; then
10736 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10737 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10738 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10739 echo $ECHO_N "(cached) $ECHO_C" >&6
10741 lt_prog_compiler_pic_works_CXX=no
10742 ac_outfile=conftest.$ac_objext
10743 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10744 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10745 # Insert the option either (1) after the last *FLAGS variable, or
10746 # (2) before a word containing "conftest.", or (3) at the end.
10747 # Note that $ac_compile itself does not contain backslashes and begins
10748 # with a dollar sign (not a hyphen), so the echo should work correctly.
10749 # The option is referenced via a variable to avoid confusing sed.
10750 lt_compile=`echo "$ac_compile" | $SED \
10751 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10752 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10753 -e 's:$: $lt_compiler_flag:'`
10754 (eval echo "\"\$as_me:10754: $lt_compile\"" >&5)
10755 (eval "$lt_compile" 2>conftest.err)
10757 cat conftest.err >&5
10758 echo "$as_me:10758: \$? = $ac_status" >&5
10759 if (exit $ac_status) && test -s "$ac_outfile"; then
10760 # The compiler can only warn and ignore the option if not recognized
10761 # So say no if there are warnings
10762 if test ! -s conftest.err; then
10763 lt_prog_compiler_pic_works_CXX=yes
10769 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10770 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10772 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10773 case $lt_prog_compiler_pic_CXX in
10775 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10778 lt_prog_compiler_pic_CXX=
10779 lt_prog_compiler_can_build_shared_CXX=no
10784 # For platforms which do not support PIC, -DPIC is meaningless:
10786 lt_prog_compiler_pic_CXX=
10789 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10793 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10794 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10795 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10796 echo $ECHO_N "(cached) $ECHO_C" >&6
10798 lt_cv_prog_compiler_c_o_CXX=no
10799 $rm -r conftest 2>/dev/null
10803 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10805 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10806 # that will create temporary files in the current directory regardless of
10807 # the output directory. Thus, making CWD read-only will cause this test
10808 # to fail, enabling locking or at least warning the user not to do parallel
10812 lt_compiler_flag="-o out/conftest2.$ac_objext"
10813 # Insert the option either (1) after the last *FLAGS variable, or
10814 # (2) before a word containing "conftest.", or (3) at the end.
10815 # Note that $ac_compile itself does not contain backslashes and begins
10816 # with a dollar sign (not a hyphen), so the echo should work correctly.
10817 lt_compile=`echo "$ac_compile" | $SED \
10818 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10819 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10820 -e 's:$: $lt_compiler_flag:'`
10821 (eval echo "\"\$as_me:10821: $lt_compile\"" >&5)
10822 (eval "$lt_compile" 2>out/conftest.err)
10824 cat out/conftest.err >&5
10825 echo "$as_me:10825: \$? = $ac_status" >&5
10826 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10828 # The compiler can only warn and ignore the option if not recognized
10829 # So say no if there are warnings
10830 if test ! -s out/conftest.err; then
10831 lt_cv_prog_compiler_c_o_CXX=yes
10835 $rm conftest* out/*
10842 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10843 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10846 hard_links="nottested"
10847 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10848 # do not overwrite the value of need_locks provided by the user
10849 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10850 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10853 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10855 ln conftest.a conftest.b 2>&5 || hard_links=no
10856 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10857 echo "$as_me:$LINENO: result: $hard_links" >&5
10858 echo "${ECHO_T}$hard_links" >&6
10859 if test "$hard_links" = no; then
10860 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10861 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10868 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10869 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10871 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10874 # If we're using GNU nm, then we don't want the "-C" option.
10875 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10876 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10877 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'
10879 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'
10883 export_symbols_cmds_CXX="$ltdll_cmds"
10886 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10889 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10893 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10894 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10895 test "$ld_shlibs_CXX" = no && can_build_shared=no
10897 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10898 if test "$GCC" = yes; then
10899 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10903 # Do we need to explicitly link libc?
10905 case "x$archive_cmds_need_lc_CXX" in
10907 # Assume -lc should be added
10908 archive_cmds_need_lc_CXX=yes
10910 if test "$enable_shared" = yes && test "$GCC" = yes; then
10911 case $archive_cmds_CXX in
10913 # FIXME: we may have to deal with multi-command sequences.
10916 # Test whether the compiler implicitly links with -lc since on some
10917 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10918 # to ld, don't add -lc before -lgcc.
10919 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10920 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10922 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10925 (eval $ac_compile) 2>&5
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); } 2>conftest.err; then
10931 libobjs=conftest.$ac_objext
10933 wl=$lt_prog_compiler_wl_CXX
10939 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10940 allow_undefined_flag_CXX=
10941 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10942 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }
10947 archive_cmds_need_lc_CXX=no
10949 archive_cmds_need_lc_CXX=yes
10951 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
10953 cat conftest.err 1>&5
10956 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
10957 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
10964 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10965 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10966 hardcode_action_CXX=
10967 if test -n "$hardcode_libdir_flag_spec_CXX" || \
10968 test -n "$runpath_var CXX" || \
10969 test "X$hardcode_automatic_CXX"="Xyes" ; then
10971 # We can hardcode non-existant directories.
10972 if test "$hardcode_direct_CXX" != no &&
10973 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10974 # have to relink, otherwise we might link with an installed library
10975 # when we should be linking with a yet-to-be-installed one
10976 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
10977 test "$hardcode_minus_L_CXX" != no; then
10978 # Linking always hardcodes the temporary library directory.
10979 hardcode_action_CXX=relink
10981 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10982 hardcode_action_CXX=immediate
10985 # We cannot hardcode anything, or else we can only hardcode existing
10987 hardcode_action_CXX=unsupported
10989 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
10990 echo "${ECHO_T}$hardcode_action_CXX" >&6
10992 if test "$hardcode_action_CXX" = relink; then
10993 # Fast installation is not supported
10994 enable_fast_install=no
10995 elif test "$shlibpath_overrides_runpath" = yes ||
10996 test "$enable_shared" = no; then
10997 # Fast installation is not necessary
10998 enable_fast_install=needless
11003 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11004 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11005 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11006 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11007 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11008 echo "$as_me:$LINENO: result: yes" >&5
11009 echo "${ECHO_T}yes" >&6
11011 # FIXME - insert some real tests, host_os isn't really good enough
11014 if test -n "$STRIP" ; then
11015 striplib="$STRIP -x"
11016 echo "$as_me:$LINENO: result: yes" >&5
11017 echo "${ECHO_T}yes" >&6
11019 echo "$as_me:$LINENO: result: no" >&5
11020 echo "${ECHO_T}no" >&6
11024 echo "$as_me:$LINENO: result: no" >&5
11025 echo "${ECHO_T}no" >&6
11030 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11031 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11032 library_names_spec=
11033 libname_spec='lib$name'
11037 postuninstall_cmds=
11041 shlibpath_overrides_runpath=unknown
11043 dynamic_linker="$host_os ld.so"
11044 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11045 if test "$GCC" = yes; then
11046 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11047 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11048 # if the path contains ";" then we assume it to be the separator
11049 # otherwise default to the standard path separator (i.e. ":") - it is
11050 # assumed that no part of a normal pathname contains ";" but that should
11051 # okay in the real world where ";" in dirpaths is itself problematic.
11052 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11054 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11057 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11059 need_lib_prefix=unknown
11060 hardcode_into_libs=no
11062 # when you set need_version to no, make sure it does not cause -set_version
11063 # flags to be left without arguments
11064 need_version=unknown
11069 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11070 shlibpath_var=LIBPATH
11072 # AIX 3 has no versioning support, so we append a major version to the name.
11073 soname_spec='${libname}${release}${shared_ext}$major'
11080 hardcode_into_libs=yes
11081 if test "$host_cpu" = ia64; then
11082 # AIX 5 supports IA64
11083 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11084 shlibpath_var=LD_LIBRARY_PATH
11086 # With GCC up to 2.95.x, collect2 would create an import file
11087 # for dependence libraries. The import file would start with
11088 # the line `#! .'. This would cause the generated library to
11089 # depend on `.', always an invalid library. This was fixed in
11090 # development snapshots of GCC prior to 3.0.
11092 aix4 | aix4.[01] | aix4.[01].*)
11093 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11095 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11098 can_build_shared=no
11102 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11103 # soname into executable. Probably we can add versioning support to
11104 # collect2, so additional links can be useful in future.
11105 if test "$aix_use_runtimelinking" = yes; then
11106 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11107 # instead of lib<name>.a to let people know that these are not
11108 # typical AIX shared libraries.
11109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11111 # We preserve .a as extension for shared libraries through AIX4.2
11112 # and later when we are not doing run time linking.
11113 library_names_spec='${libname}${release}.a $libname.a'
11114 soname_spec='${libname}${release}${shared_ext}$major'
11116 shlibpath_var=LIBPATH
11121 library_names_spec='$libname.ixlibrary $libname.a'
11122 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11123 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'
11127 library_names_spec='${libname}${shared_ext}'
11128 dynamic_linker="$host_os ld.so"
11129 shlibpath_var=LIBRARY_PATH
11135 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11136 soname_spec='${libname}${release}${shared_ext}$major'
11137 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11138 shlibpath_var=LD_LIBRARY_PATH
11139 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11140 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11141 # the default ld.so.conf also contains /usr/contrib/lib and
11142 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11143 # libtool to hard-code these into programs
11146 cygwin* | mingw* | pw32*)
11147 version_type=windows
11152 case $GCC,$host_os in
11153 yes,cygwin* | yes,mingw* | yes,pw32*)
11154 library_names_spec='$libname.dll.a'
11155 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11156 postinstall_cmds='base_file=`basename \${file}`~
11157 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11158 dldir=$destdir/`dirname \$dlpath`~
11159 test -d \$dldir || mkdir -p \$dldir~
11160 $install_prog $dir/$dlname \$dldir/$dlname'
11161 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11162 dlpath=$dir/\$dldll~
11164 shlibpath_overrides_runpath=yes
11168 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11169 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11170 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11173 # MinGW DLLs use traditional 'lib' prefix
11174 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11175 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11176 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11177 # It is most probably a Windows format PATH printed by
11178 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11179 # path with ; separators, and with drive letters. We can handle the
11180 # drive letters (cygwin fileutils understands them), so leave them,
11181 # especially as we might pass files found there to a mingw objdump,
11182 # which wouldn't understand a cygwinified path. Ahh.
11183 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11185 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11189 # pw32 DLLs use 'pw' prefix rather than 'lib'
11190 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11196 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11199 dynamic_linker='Win32 ld.exe'
11200 # FIXME: first we should search . and the directory the executable is in
11204 darwin* | rhapsody*)
11205 dynamic_linker="$host_os dyld"
11206 version_type=darwin
11209 # FIXME: Relying on posixy $() will cause problems for
11210 # cross-compilation, but unfortunately the echo tests do not
11211 # yet detect zsh echo's removal of \ escapes.
11212 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11213 soname_spec='${libname}${release}${major}$shared_ext'
11214 shlibpath_overrides_runpath=yes
11215 shlibpath_var=DYLD_LIBRARY_PATH
11216 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11217 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11218 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11219 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"`
11221 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11229 soname_spec='${libname}${release}${shared_ext}$major'
11230 shlibpath_var=LD_LIBRARY_PATH
11238 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11239 version_type=freebsd-$objformat
11240 case $version_type in
11242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11247 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11251 shlibpath_var=LD_LIBRARY_PATH
11254 shlibpath_overrides_runpath=yes
11256 freebsd3.01* | freebsdelf3.01*)
11257 shlibpath_overrides_runpath=yes
11258 hardcode_into_libs=yes
11261 shlibpath_overrides_runpath=no
11262 hardcode_into_libs=yes
11271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11272 soname_spec='${libname}${release}${shared_ext}$major'
11273 shlibpath_var=LD_LIBRARY_PATH
11274 hardcode_into_libs=yes
11277 hpux9* | hpux10* | hpux11*)
11278 # Give a soname corresponding to the major version so that dld.sl refuses to
11279 # link against other versions.
11283 case "$host_cpu" in
11286 hardcode_into_libs=yes
11287 dynamic_linker="$host_os dld.so"
11288 shlibpath_var=LD_LIBRARY_PATH
11289 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11291 soname_spec='${libname}${release}${shared_ext}$major'
11292 if test "X$HPUX_IA64_MODE" = X32; then
11293 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11295 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11297 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11301 hardcode_into_libs=yes
11302 dynamic_linker="$host_os dld.sl"
11303 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11304 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11306 soname_spec='${libname}${release}${shared_ext}$major'
11307 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11308 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11312 dynamic_linker="$host_os dld.sl"
11313 shlibpath_var=SHLIB_PATH
11314 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11316 soname_spec='${libname}${release}${shared_ext}$major'
11319 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11320 postinstall_cmds='chmod 555 $lib'
11323 irix5* | irix6* | nonstopux*)
11325 nonstopux*) version_type=nonstopux ;;
11327 if test "$lt_cv_prog_gnu_ld" = yes; then
11335 soname_spec='${libname}${release}${shared_ext}$major'
11336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11338 irix5* | nonstopux*)
11339 libsuff= shlibsuff=
11342 case $LD in # libtool.m4 will add one of these switches to LD
11343 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11344 libsuff= shlibsuff= libmagic=32-bit;;
11345 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11346 libsuff=32 shlibsuff=N32 libmagic=N32;;
11347 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11348 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11349 *) libsuff= shlibsuff= libmagic=never-match;;
11353 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11354 shlibpath_overrides_runpath=no
11355 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11356 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11357 hardcode_into_libs=yes
11360 # No shared lib support for Linux oldld, aout, or coff.
11361 linux*oldld* | linux*aout* | linux*coff*)
11365 # This must be Linux ELF.
11370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11371 soname_spec='${libname}${release}${shared_ext}$major'
11372 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11373 shlibpath_var=LD_LIBRARY_PATH
11374 shlibpath_overrides_runpath=no
11375 # This implies no fast_install, which is unacceptable.
11376 # Some rework will be needed to allow for fast_install
11377 # before this can be enabled.
11378 hardcode_into_libs=yes
11380 # We used to test for /lib/ld.so.1 and disable shared libraries on
11381 # powerpc, because MkLinux only supported shared libraries with the
11382 # GNU dynamic linker. Since this was broken with cross compilers,
11383 # most powerpc-linux boxes support dynamic linking these days and
11384 # people can always --disable-shared, the test was removed, and we
11385 # assume the GNU/Linux dynamic linker is in use.
11386 dynamic_linker='GNU/Linux ld.so'
11393 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11395 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11396 dynamic_linker='NetBSD (a.out) ld.so'
11398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11399 soname_spec='${libname}${release}${shared_ext}$major'
11400 dynamic_linker='NetBSD ld.elf_so'
11402 shlibpath_var=LD_LIBRARY_PATH
11403 shlibpath_overrides_runpath=yes
11404 hardcode_into_libs=yes
11409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11410 shlibpath_var=LD_LIBRARY_PATH
11411 shlibpath_overrides_runpath=yes
11418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11419 soname_spec='${libname}${release}${shared_ext}$major'
11420 shlibpath_var=LD_LIBRARY_PATH
11421 shlibpath_overrides_runpath=yes
11428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11429 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11430 shlibpath_var=LD_LIBRARY_PATH
11431 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11433 openbsd2.[89] | openbsd2.[89].*)
11434 shlibpath_overrides_runpath=no
11437 shlibpath_overrides_runpath=yes
11441 shlibpath_overrides_runpath=yes
11446 libname_spec='$name'
11449 library_names_spec='$libname${shared_ext} $libname.a'
11450 dynamic_linker='OS/2 ld.exe'
11451 shlibpath_var=LIBPATH
11454 osf3* | osf4* | osf5*)
11458 soname_spec='${libname}${release}${shared_ext}$major'
11459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11460 shlibpath_var=LD_LIBRARY_PATH
11461 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11462 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11467 soname_spec='${libname}${release}${shared_ext}$major'
11468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11469 shlibpath_var=LD_LIBRARY_PATH
11476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11477 soname_spec='${libname}${release}${shared_ext}$major'
11478 shlibpath_var=LD_LIBRARY_PATH
11479 shlibpath_overrides_runpath=yes
11480 hardcode_into_libs=yes
11481 # ldd complains unless libraries are executable
11482 postinstall_cmds='chmod +x $lib'
11487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11488 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11489 shlibpath_var=LD_LIBRARY_PATH
11490 shlibpath_overrides_runpath=yes
11491 if test "$with_gnu_ld" = yes; then
11497 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11500 soname_spec='${libname}${release}${shared_ext}$major'
11501 shlibpath_var=LD_LIBRARY_PATH
11502 case $host_vendor in
11504 shlibpath_overrides_runpath=no
11506 export_dynamic_flag_spec='${wl}-Blargedynsym'
11507 runpath_var=LD_RUN_PATH
11515 shlibpath_overrides_runpath=no
11516 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11522 if test -d /usr/nec ;then
11524 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11525 soname_spec='$libname${shared_ext}.$major'
11526 shlibpath_var=LD_LIBRARY_PATH
11532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11533 soname_spec='${libname}${release}${shared_ext}$major'
11534 shlibpath_var=LD_LIBRARY_PATH
11541 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11542 echo "${ECHO_T}$dynamic_linker" >&6
11543 test "$dynamic_linker" = no && can_build_shared=no
11545 if test "x$enable_dlopen" != xyes; then
11546 enable_dlopen=unknown
11547 enable_dlopen_self=unknown
11548 enable_dlopen_self_static=unknown
11555 lt_cv_dlopen="load_add_on"
11557 lt_cv_dlopen_self=yes
11561 lt_cv_dlopen="LoadLibrary"
11566 lt_cv_dlopen="dlopen"
11571 # if libdl is installed we need to link against it
11572 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11573 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11574 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11575 echo $ECHO_N "(cached) $ECHO_C" >&6
11577 ac_check_lib_save_LIBS=$LIBS
11579 cat >conftest.$ac_ext <<_ACEOF
11580 #line $LINENO "configure"
11583 cat confdefs.h >>conftest.$ac_ext
11584 cat >>conftest.$ac_ext <<_ACEOF
11585 /* end confdefs.h. */
11587 /* Override any gcc2 internal prototype to avoid an error. */
11591 /* We use char because int might match the return type of a gcc2
11592 builtin and then its argument prototype would still apply. */
11602 rm -f conftest.$ac_objext conftest$ac_exeext
11603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11604 (eval $ac_link) 2>&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); } &&
11608 { ac_try='test -s conftest$ac_exeext'
11609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11610 (eval $ac_try) 2>&5
11612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11613 (exit $ac_status); }; }; then
11614 ac_cv_lib_dl_dlopen=yes
11616 echo "$as_me: failed program was:" >&5
11617 sed 's/^/| /' conftest.$ac_ext >&5
11619 ac_cv_lib_dl_dlopen=no
11621 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11622 LIBS=$ac_check_lib_save_LIBS
11624 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11625 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11626 if test $ac_cv_lib_dl_dlopen = yes; then
11627 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11630 lt_cv_dlopen="dyld"
11632 lt_cv_dlopen_self=yes
11639 echo "$as_me:$LINENO: checking for shl_load" >&5
11640 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11641 if test "${ac_cv_func_shl_load+set}" = set; then
11642 echo $ECHO_N "(cached) $ECHO_C" >&6
11644 cat >conftest.$ac_ext <<_ACEOF
11645 #line $LINENO "configure"
11648 cat confdefs.h >>conftest.$ac_ext
11649 cat >>conftest.$ac_ext <<_ACEOF
11650 /* end confdefs.h. */
11651 /* System header to define __stub macros and hopefully few prototypes,
11652 which can conflict with char shl_load (); below.
11653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11654 <limits.h> exists even on freestanding compilers. */
11656 # include <limits.h>
11658 # include <assert.h>
11660 /* Override any gcc2 internal prototype to avoid an error. */
11665 /* We use char because int might match the return type of a gcc2
11666 builtin and then its argument prototype would still apply. */
11668 /* The GNU C library defines this for functions which it implements
11669 to always fail with ENOSYS. Some functions are actually named
11670 something starting with __ and the normal name is an alias. */
11671 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11674 char (*f) () = shl_load;
11683 return f != shl_load;
11688 rm -f conftest.$ac_objext conftest$ac_exeext
11689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11690 (eval $ac_link) 2>&5
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); } &&
11694 { ac_try='test -s conftest$ac_exeext'
11695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11696 (eval $ac_try) 2>&5
11698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11699 (exit $ac_status); }; }; then
11700 ac_cv_func_shl_load=yes
11702 echo "$as_me: failed program was:" >&5
11703 sed 's/^/| /' conftest.$ac_ext >&5
11705 ac_cv_func_shl_load=no
11707 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11709 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11710 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11711 if test $ac_cv_func_shl_load = yes; then
11712 lt_cv_dlopen="shl_load"
11714 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11715 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11716 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11717 echo $ECHO_N "(cached) $ECHO_C" >&6
11719 ac_check_lib_save_LIBS=$LIBS
11721 cat >conftest.$ac_ext <<_ACEOF
11722 #line $LINENO "configure"
11725 cat confdefs.h >>conftest.$ac_ext
11726 cat >>conftest.$ac_ext <<_ACEOF
11727 /* end confdefs.h. */
11729 /* Override any gcc2 internal prototype to avoid an error. */
11733 /* We use char because int might match the return type of a gcc2
11734 builtin and then its argument prototype would still apply. */
11744 rm -f conftest.$ac_objext conftest$ac_exeext
11745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11746 (eval $ac_link) 2>&5
11748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11749 (exit $ac_status); } &&
11750 { ac_try='test -s conftest$ac_exeext'
11751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11752 (eval $ac_try) 2>&5
11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 (exit $ac_status); }; }; then
11756 ac_cv_lib_dld_shl_load=yes
11758 echo "$as_me: failed program was:" >&5
11759 sed 's/^/| /' conftest.$ac_ext >&5
11761 ac_cv_lib_dld_shl_load=no
11763 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11764 LIBS=$ac_check_lib_save_LIBS
11766 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11767 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11768 if test $ac_cv_lib_dld_shl_load = yes; then
11769 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11771 echo "$as_me:$LINENO: checking for dlopen" >&5
11772 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11773 if test "${ac_cv_func_dlopen+set}" = set; then
11774 echo $ECHO_N "(cached) $ECHO_C" >&6
11776 cat >conftest.$ac_ext <<_ACEOF
11777 #line $LINENO "configure"
11780 cat confdefs.h >>conftest.$ac_ext
11781 cat >>conftest.$ac_ext <<_ACEOF
11782 /* end confdefs.h. */
11783 /* System header to define __stub macros and hopefully few prototypes,
11784 which can conflict with char dlopen (); below.
11785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11786 <limits.h> exists even on freestanding compilers. */
11788 # include <limits.h>
11790 # include <assert.h>
11792 /* Override any gcc2 internal prototype to avoid an error. */
11797 /* We use char because int might match the return type of a gcc2
11798 builtin and then its argument prototype would still apply. */
11800 /* The GNU C library defines this for functions which it implements
11801 to always fail with ENOSYS. Some functions are actually named
11802 something starting with __ and the normal name is an alias. */
11803 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11806 char (*f) () = dlopen;
11815 return f != dlopen;
11820 rm -f conftest.$ac_objext conftest$ac_exeext
11821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11822 (eval $ac_link) 2>&5
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); } &&
11826 { ac_try='test -s conftest$ac_exeext'
11827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11828 (eval $ac_try) 2>&5
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); }; }; then
11832 ac_cv_func_dlopen=yes
11834 echo "$as_me: failed program was:" >&5
11835 sed 's/^/| /' conftest.$ac_ext >&5
11837 ac_cv_func_dlopen=no
11839 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11841 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11842 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11843 if test $ac_cv_func_dlopen = yes; then
11844 lt_cv_dlopen="dlopen"
11846 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11847 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11848 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11849 echo $ECHO_N "(cached) $ECHO_C" >&6
11851 ac_check_lib_save_LIBS=$LIBS
11853 cat >conftest.$ac_ext <<_ACEOF
11854 #line $LINENO "configure"
11857 cat confdefs.h >>conftest.$ac_ext
11858 cat >>conftest.$ac_ext <<_ACEOF
11859 /* end confdefs.h. */
11861 /* Override any gcc2 internal prototype to avoid an error. */
11865 /* We use char because int might match the return type of a gcc2
11866 builtin and then its argument prototype would still apply. */
11876 rm -f conftest.$ac_objext conftest$ac_exeext
11877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11878 (eval $ac_link) 2>&5
11880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 (exit $ac_status); } &&
11882 { ac_try='test -s conftest$ac_exeext'
11883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11884 (eval $ac_try) 2>&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); }; }; then
11888 ac_cv_lib_dl_dlopen=yes
11890 echo "$as_me: failed program was:" >&5
11891 sed 's/^/| /' conftest.$ac_ext >&5
11893 ac_cv_lib_dl_dlopen=no
11895 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11896 LIBS=$ac_check_lib_save_LIBS
11898 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11899 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11900 if test $ac_cv_lib_dl_dlopen = yes; then
11901 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11903 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11904 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11905 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11906 echo $ECHO_N "(cached) $ECHO_C" >&6
11908 ac_check_lib_save_LIBS=$LIBS
11909 LIBS="-lsvld $LIBS"
11910 cat >conftest.$ac_ext <<_ACEOF
11911 #line $LINENO "configure"
11914 cat confdefs.h >>conftest.$ac_ext
11915 cat >>conftest.$ac_ext <<_ACEOF
11916 /* end confdefs.h. */
11918 /* Override any gcc2 internal prototype to avoid an error. */
11922 /* We use char because int might match the return type of a gcc2
11923 builtin and then its argument prototype would still apply. */
11933 rm -f conftest.$ac_objext conftest$ac_exeext
11934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11935 (eval $ac_link) 2>&5
11937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938 (exit $ac_status); } &&
11939 { ac_try='test -s conftest$ac_exeext'
11940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11941 (eval $ac_try) 2>&5
11943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11944 (exit $ac_status); }; }; then
11945 ac_cv_lib_svld_dlopen=yes
11947 echo "$as_me: failed program was:" >&5
11948 sed 's/^/| /' conftest.$ac_ext >&5
11950 ac_cv_lib_svld_dlopen=no
11952 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11953 LIBS=$ac_check_lib_save_LIBS
11955 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11956 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11957 if test $ac_cv_lib_svld_dlopen = yes; then
11958 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11960 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11961 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11962 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11963 echo $ECHO_N "(cached) $ECHO_C" >&6
11965 ac_check_lib_save_LIBS=$LIBS
11967 cat >conftest.$ac_ext <<_ACEOF
11968 #line $LINENO "configure"
11971 cat confdefs.h >>conftest.$ac_ext
11972 cat >>conftest.$ac_ext <<_ACEOF
11973 /* end confdefs.h. */
11975 /* Override any gcc2 internal prototype to avoid an error. */
11979 /* We use char because int might match the return type of a gcc2
11980 builtin and then its argument prototype would still apply. */
11990 rm -f conftest.$ac_objext conftest$ac_exeext
11991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11992 (eval $ac_link) 2>&5
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 (exit $ac_status); } &&
11996 { ac_try='test -s conftest$ac_exeext'
11997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11998 (eval $ac_try) 2>&5
12000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12001 (exit $ac_status); }; }; then
12002 ac_cv_lib_dld_dld_link=yes
12004 echo "$as_me: failed program was:" >&5
12005 sed 's/^/| /' conftest.$ac_ext >&5
12007 ac_cv_lib_dld_dld_link=no
12009 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12010 LIBS=$ac_check_lib_save_LIBS
12012 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12013 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12014 if test $ac_cv_lib_dld_dld_link = yes; then
12015 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12036 if test "x$lt_cv_dlopen" != xno; then
12042 case $lt_cv_dlopen in
12044 save_CPPFLAGS="$CPPFLAGS"
12045 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12047 save_LDFLAGS="$LDFLAGS"
12048 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12051 LIBS="$lt_cv_dlopen_libs $LIBS"
12053 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12054 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12055 if test "${lt_cv_dlopen_self+set}" = set; then
12056 echo $ECHO_N "(cached) $ECHO_C" >&6
12058 if test "$cross_compiling" = yes; then :
12059 lt_cv_dlopen_self=cross
12061 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12062 lt_status=$lt_dlunknown
12063 cat > conftest.$ac_ext <<EOF
12064 #line 12064 "configure"
12065 #include "confdefs.h"
12074 # define LT_DLGLOBAL RTLD_GLOBAL
12077 # define LT_DLGLOBAL DL_GLOBAL
12079 # define LT_DLGLOBAL 0
12083 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12084 find out it does not work in some platform. */
12085 #ifndef LT_DLLAZY_OR_NOW
12087 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12090 # define LT_DLLAZY_OR_NOW DL_LAZY
12093 # define LT_DLLAZY_OR_NOW RTLD_NOW
12096 # define LT_DLLAZY_OR_NOW DL_NOW
12098 # define LT_DLLAZY_OR_NOW 0
12106 extern "C" void exit (int);
12109 void fnord() { int i=42;}
12112 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12113 int status = $lt_dlunknown;
12117 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12118 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12119 /* dlclose (self); */
12125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12126 (eval $ac_link) 2>&5
12128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12129 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12130 (./conftest; exit; ) 2>/dev/null
12132 case x$lt_status in
12133 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12134 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12135 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12138 # compilation failed
12139 lt_cv_dlopen_self=no
12146 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12147 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12149 if test "x$lt_cv_dlopen_self" = xyes; then
12150 LDFLAGS="$LDFLAGS $link_static_flag"
12151 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12152 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12153 if test "${lt_cv_dlopen_self_static+set}" = set; then
12154 echo $ECHO_N "(cached) $ECHO_C" >&6
12156 if test "$cross_compiling" = yes; then :
12157 lt_cv_dlopen_self_static=cross
12159 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12160 lt_status=$lt_dlunknown
12161 cat > conftest.$ac_ext <<EOF
12162 #line 12162 "configure"
12163 #include "confdefs.h"
12172 # define LT_DLGLOBAL RTLD_GLOBAL
12175 # define LT_DLGLOBAL DL_GLOBAL
12177 # define LT_DLGLOBAL 0
12181 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12182 find out it does not work in some platform. */
12183 #ifndef LT_DLLAZY_OR_NOW
12185 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12188 # define LT_DLLAZY_OR_NOW DL_LAZY
12191 # define LT_DLLAZY_OR_NOW RTLD_NOW
12194 # define LT_DLLAZY_OR_NOW DL_NOW
12196 # define LT_DLLAZY_OR_NOW 0
12204 extern "C" void exit (int);
12207 void fnord() { int i=42;}
12210 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12211 int status = $lt_dlunknown;
12215 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12216 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12217 /* dlclose (self); */
12223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12224 (eval $ac_link) 2>&5
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12228 (./conftest; exit; ) 2>/dev/null
12230 case x$lt_status in
12231 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12232 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12233 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12236 # compilation failed
12237 lt_cv_dlopen_self_static=no
12244 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12245 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12248 CPPFLAGS="$save_CPPFLAGS"
12249 LDFLAGS="$save_LDFLAGS"
12254 case $lt_cv_dlopen_self in
12255 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12256 *) enable_dlopen_self=unknown ;;
12259 case $lt_cv_dlopen_self_static in
12260 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12261 *) enable_dlopen_self_static=unknown ;;
12266 # The else clause should only fire when bootstrapping the
12267 # libtool distribution, otherwise you forgot to ship ltmain.sh
12268 # with your package, and you will get complaints that there are
12269 # no rules to generate ltmain.sh.
12270 if test -f "$ltmain"; then
12271 # See if we are running on zsh, and set the options which allow our commands through
12272 # without removal of \ escapes.
12273 if test -n "${ZSH_VERSION+set}" ; then
12274 setopt NO_GLOB_SUBST
12276 # Now quote all the things that may contain metacharacters while being
12277 # careful not to overquote the AC_SUBSTed values. We take copies of the
12278 # variables and quote the copies for generation of the libtool script.
12279 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12280 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12281 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12282 deplibs_check_method reload_flag reload_cmds need_locks \
12283 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12284 lt_cv_sys_global_symbol_to_c_name_address \
12285 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12286 old_postinstall_cmds old_postuninstall_cmds \
12290 lt_prog_compiler_wl_CXX \
12291 lt_prog_compiler_pic_CXX \
12292 lt_prog_compiler_static_CXX \
12293 lt_prog_compiler_no_builtin_flag_CXX \
12294 export_dynamic_flag_spec_CXX \
12295 thread_safe_flag_spec_CXX \
12296 whole_archive_flag_spec_CXX \
12297 enable_shared_with_static_runtimes_CXX \
12298 old_archive_cmds_CXX \
12299 old_archive_from_new_cmds_CXX \
12300 predep_objects_CXX \
12301 postdep_objects_CXX \
12304 compiler_lib_search_path_CXX \
12306 archive_expsym_cmds_CXX \
12307 postinstall_cmds_CXX \
12308 postuninstall_cmds_CXX \
12309 old_archive_from_expsyms_cmds_CXX \
12310 allow_undefined_flag_CXX \
12311 no_undefined_flag_CXX \
12312 export_symbols_cmds_CXX \
12313 hardcode_libdir_flag_spec_CXX \
12314 hardcode_libdir_flag_spec_ld_CXX \
12315 hardcode_libdir_separator_CXX \
12316 hardcode_automatic_CXX \
12318 module_expsym_cmds_CXX \
12319 lt_cv_prog_compiler_c_o_CXX \
12320 exclude_expsyms_CXX \
12321 include_expsyms_CXX; do
12324 old_archive_cmds_CXX | \
12325 old_archive_from_new_cmds_CXX | \
12326 archive_cmds_CXX | \
12327 archive_expsym_cmds_CXX | \
12328 module_cmds_CXX | \
12329 module_expsym_cmds_CXX | \
12330 old_archive_from_expsyms_cmds_CXX | \
12331 export_symbols_cmds_CXX | \
12332 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12333 postinstall_cmds | postuninstall_cmds | \
12334 old_postinstall_cmds | old_postuninstall_cmds | \
12335 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12336 # Double-quote double-evaled strings.
12337 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12340 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12346 *'\$0 --fallback-echo"')
12347 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12353 cat <<__EOF__ >> "$cfgfile"
12354 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12356 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12358 # Shell to use when invoking shell scripts.
12361 # Whether or not to build shared libraries.
12362 build_libtool_libs=$enable_shared
12364 # Whether or not to build static libraries.
12365 build_old_libs=$enable_static
12367 # Whether or not to add -lc for building shared libraries.
12368 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12370 # Whether or not to disallow shared libs when runtime libs are static
12371 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12373 # Whether or not to optimize for fast installation.
12374 fast_install=$enable_fast_install
12377 host_alias=$host_alias
12380 # An echo program that does not interpret backslashes.
12385 AR_FLAGS=$lt_AR_FLAGS
12390 # A language-specific compiler.
12391 CC=$lt_compiler_CXX
12393 # Is the compiler the GNU C compiler?
12399 # The linker used to build libraries.
12402 # Whether we need hard or soft links.
12405 # A BSD-compatible nm program.
12408 # A symbol stripping program
12411 # Used to examine libraries when file_magic_cmd begins "file"
12412 MAGIC_CMD=$MAGIC_CMD
12414 # Used on cygwin: DLL creation program.
12417 # Used on cygwin: object dumper.
12420 # Used on cygwin: assembler.
12423 # The name of the directory that contains temporary libtool files.
12426 # How to create reloadable object files.
12427 reload_flag=$lt_reload_flag
12428 reload_cmds=$lt_reload_cmds
12430 # How to pass a linker flag through the compiler.
12431 wl=$lt_lt_prog_compiler_wl_CXX
12433 # Object file suffix (normally "o").
12434 objext="$ac_objext"
12436 # Old archive suffix (normally "a").
12439 # Shared library suffix (normally ".so").
12442 # Executable file suffix (normally "").
12445 # Additional compiler flags for building library objects.
12446 pic_flag=$lt_lt_prog_compiler_pic_CXX
12449 # What is the maximum length of a command?
12450 max_cmd_len=$lt_cv_sys_max_cmd_len
12452 # Does compiler simultaneously support -c and -o options?
12453 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12455 # Must we lock files when doing compilation ?
12456 need_locks=$lt_need_locks
12458 # Do we need the lib prefix for modules?
12459 need_lib_prefix=$need_lib_prefix
12461 # Do we need a version for libraries?
12462 need_version=$need_version
12464 # Whether dlopen is supported.
12465 dlopen_support=$enable_dlopen
12467 # Whether dlopen of programs is supported.
12468 dlopen_self=$enable_dlopen_self
12470 # Whether dlopen of statically linked programs is supported.
12471 dlopen_self_static=$enable_dlopen_self_static
12473 # Compiler flag to prevent dynamic linking.
12474 link_static_flag=$lt_lt_prog_compiler_static_CXX
12476 # Compiler flag to turn off builtin functions.
12477 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12479 # Compiler flag to allow reflexive dlopens.
12480 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12482 # Compiler flag to generate shared objects directly from archives.
12483 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12485 # Compiler flag to generate thread-safe objects.
12486 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12488 # Library versioning type.
12489 version_type=$version_type
12491 # Format of library name prefix.
12492 libname_spec=$lt_libname_spec
12494 # List of archive names. First name is the real one, the rest are links.
12495 # The last name is the one that the linker finds with -lNAME.
12496 library_names_spec=$lt_library_names_spec
12498 # The coded name of the library, if different from the real name.
12499 soname_spec=$lt_soname_spec
12501 # Commands used to build and install an old-style archive.
12503 old_archive_cmds=$lt_old_archive_cmds_CXX
12504 old_postinstall_cmds=$lt_old_postinstall_cmds
12505 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12507 # Create an old-style archive from a shared archive.
12508 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12510 # Create a temporary old-style archive to link instead of a shared archive.
12511 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12513 # Commands used to build and install a shared archive.
12514 archive_cmds=$lt_archive_cmds_CXX
12515 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12516 postinstall_cmds=$lt_postinstall_cmds
12517 postuninstall_cmds=$lt_postuninstall_cmds
12519 # Commands used to build a loadable module (assumed same as above if empty)
12520 module_cmds=$lt_module_cmds_CXX
12521 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12523 # Commands to strip libraries.
12524 old_striplib=$lt_old_striplib
12525 striplib=$lt_striplib
12527 # Dependencies to place before the objects being linked to create a
12529 predep_objects=$lt_predep_objects_CXX
12531 # Dependencies to place after the objects being linked to create a
12533 postdep_objects=$lt_postdep_objects_CXX
12535 # Dependencies to place before the objects being linked to create a
12537 predeps=$lt_predeps_CXX
12539 # Dependencies to place after the objects being linked to create a
12541 postdeps=$lt_postdeps_CXX
12543 # The library search path used internally by the compiler when linking
12544 # a shared library.
12545 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12547 # Method to check whether dependent libraries are shared objects.
12548 deplibs_check_method=$lt_deplibs_check_method
12550 # Command to use when deplibs_check_method == file_magic.
12551 file_magic_cmd=$lt_file_magic_cmd
12553 # Flag that allows shared libraries with undefined symbols to be built.
12554 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12556 # Flag that forces no undefined symbols.
12557 no_undefined_flag=$lt_no_undefined_flag_CXX
12559 # Commands used to finish a libtool library installation in a directory.
12560 finish_cmds=$lt_finish_cmds
12562 # Same as above, but a single script fragment to be evaled but not shown.
12563 finish_eval=$lt_finish_eval
12565 # Take the output of nm and produce a listing of raw symbols and C names.
12566 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12568 # Transform the output of nm in a proper C declaration
12569 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12571 # Transform the output of nm in a C name address pair
12572 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12574 # This is the shared library runtime path variable.
12575 runpath_var=$runpath_var
12577 # This is the shared library path variable.
12578 shlibpath_var=$shlibpath_var
12580 # Is shlibpath searched before the hard-coded library search path?
12581 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12583 # How to hardcode a shared library path into an executable.
12584 hardcode_action=$hardcode_action_CXX
12586 # Whether we should hardcode library paths into libraries.
12587 hardcode_into_libs=$hardcode_into_libs
12589 # Flag to hardcode \$libdir into a binary during linking.
12590 # This must work even if \$libdir does not exist.
12591 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12593 # If ld is used when linking, flag to hardcode \$libdir into
12594 # a binary during linking. This must work even if \$libdir does
12596 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12598 # Whether we need a single -rpath flag with a separated argument.
12599 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12601 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12602 # resulting binary.
12603 hardcode_direct=$hardcode_direct_CXX
12605 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12606 # resulting binary.
12607 hardcode_minus_L=$hardcode_minus_L_CXX
12609 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12610 # the resulting binary.
12611 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12613 # Set to yes if building a shared library automatically hardcodes DIR into the library
12614 # and all subsequent libraries and executables linked against it.
12615 hardcode_automatic=$hardcode_automatic_CXX
12617 # Variables whose values should be saved in libtool wrapper scripts and
12618 # restored at relink time.
12619 variables_saved_for_relink="$variables_saved_for_relink"
12621 # Whether libtool must link a program against all its dependency libraries.
12622 link_all_deplibs=$link_all_deplibs_CXX
12624 # Compile-time system search path for libraries
12625 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12627 # Run-time system search path for libraries
12628 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12630 # Fix the shell variable \$srcfile for the compiler.
12631 fix_srcfile_path="$fix_srcfile_path_CXX"
12633 # Set to yes if exported symbols are required.
12634 always_export_symbols=$always_export_symbols_CXX
12636 # The commands to list exported symbols.
12637 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12639 # The commands to extract the exported symbol list from a shared archive.
12640 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12642 # Symbols that should not be listed in the preloaded symbols.
12643 exclude_expsyms=$lt_exclude_expsyms_CXX
12645 # Symbols that must always be exported.
12646 include_expsyms=$lt_include_expsyms_CXX
12648 # ### END LIBTOOL TAG CONFIG: $tagname
12654 # If there is no Makefile yet, we rely on a make rule to execute
12655 # `config.status --recheck' to rerun these tests and create the
12656 # libtool script then.
12657 test -f Makefile && make "$ltmain"
12662 ac_cpp='$CPP $CPPFLAGS'
12663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12671 with_gnu_ldcxx=$with_gnu_ld
12672 with_gnu_ld=$lt_save_with_gnu_ld
12673 lt_cv_path_LDCXX=$lt_cv_path_LD
12674 lt_cv_path_LD=$lt_save_path_LD
12675 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12676 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12684 if test -n "$F77" && test "X$F77" != "Xno"; then
12687 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12688 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12689 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12692 archive_cmds_need_lc_F77=no
12693 allow_undefined_flag_F77=
12694 always_export_symbols_F77=no
12695 archive_expsym_cmds_F77=
12696 export_dynamic_flag_spec_F77=
12697 hardcode_direct_F77=no
12698 hardcode_libdir_flag_spec_F77=
12699 hardcode_libdir_flag_spec_ld_F77=
12700 hardcode_libdir_separator_F77=
12701 hardcode_minus_L_F77=no
12702 hardcode_automatic_F77=no
12704 module_expsym_cmds_F77=
12705 link_all_deplibs_F77=unknown
12706 old_archive_cmds_F77=$old_archive_cmds
12707 no_undefined_flag_F77=
12708 whole_archive_flag_spec_F77=
12709 enable_shared_with_static_runtimes_F77=no
12711 # Source file extension for f77 test sources.
12714 # Object file extension for compiled f77 test sources.
12718 # Code to be used in simple compile tests
12719 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12721 # Code to be used in simple link tests
12722 lt_simple_link_test_code=" program t\n end\n"
12724 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12726 # If no C compiler was specified, use CC.
12729 # Allow CC to be a program name with arguments.
12733 # Allow CC to be a program name with arguments.
12738 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12740 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12741 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12742 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12743 echo "${ECHO_T}$can_build_shared" >&6
12745 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12746 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12747 test "$can_build_shared" = "no" && enable_shared=no
12749 # On AIX, shared libraries and static libraries use the same namespace, and
12750 # are all built from PIC.
12753 test "$enable_shared" = yes && enable_static=no
12754 if test -n "$RANLIB"; then
12755 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12756 postinstall_cmds='$RANLIB $lib'
12760 test "$enable_shared" = yes && enable_static=no
12763 echo "$as_me:$LINENO: result: $enable_shared" >&5
12764 echo "${ECHO_T}$enable_shared" >&6
12766 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12767 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12768 # Make sure either enable_shared or enable_static is yes.
12769 test "$enable_shared" = yes || enable_static=yes
12770 echo "$as_me:$LINENO: result: $enable_static" >&5
12771 echo "${ECHO_T}$enable_static" >&6
12773 test "$ld_shlibs_F77" = no && can_build_shared=no
12778 lt_prog_compiler_wl_F77=
12779 lt_prog_compiler_pic_F77=
12780 lt_prog_compiler_static_F77=
12782 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12783 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12785 if test "$GCC" = yes; then
12786 lt_prog_compiler_wl_F77='-Wl,'
12787 lt_prog_compiler_static_F77='-static'
12791 # All AIX code is PIC.
12792 if test "$host_cpu" = ia64; then
12793 # AIX 5 now supports IA64 processor
12794 lt_prog_compiler_static_F77='-Bstatic'
12799 # FIXME: we need at least 68020 code to build shared libraries, but
12800 # adding the `-m68020' flag to GCC prevents building anything better,
12802 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12805 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12806 # PIC is the default for these OSes.
12809 mingw* | pw32* | os2*)
12810 # This hack is so that the source file can tell whether it is being
12811 # built for inclusion in a dll (and should export symbols for example).
12812 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12815 darwin* | rhapsody*)
12816 # PIC is the default on this platform
12817 # Common symbols not allowed in MH_DYLIB files
12818 lt_prog_compiler_pic_F77='-fno-common'
12822 # Just because we use GCC doesn't mean we suddenly get shared libraries
12823 # on systems that don't support them.
12824 lt_prog_compiler_can_build_shared_F77=no
12829 if test -d /usr/nec; then
12830 lt_prog_compiler_pic_F77=-Kconform_pic
12835 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12836 # not for PA HP-UX.
12837 case "$host_cpu" in
12842 lt_prog_compiler_pic_F77='-fPIC'
12848 lt_prog_compiler_pic_F77='-fPIC'
12852 # PORTME Check for flag to pass linker flags through the system compiler.
12855 lt_prog_compiler_wl_F77='-Wl,'
12856 if test "$host_cpu" = ia64; then
12857 # AIX 5 now supports IA64 processor
12858 lt_prog_compiler_static_F77='-Bstatic'
12860 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12864 mingw* | pw32* | os2*)
12865 # This hack is so that the source file can tell whether it is being
12866 # built for inclusion in a dll (and should export symbols for example).
12867 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12870 hpux9* | hpux10* | hpux11*)
12871 lt_prog_compiler_wl_F77='-Wl,'
12872 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12873 # not for PA HP-UX.
12874 case "$host_cpu" in
12879 lt_prog_compiler_pic_F77='+Z'
12882 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12883 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12886 irix5* | irix6* | nonstopux*)
12887 lt_prog_compiler_wl_F77='-Wl,'
12888 # PIC (with -KPIC) is the default.
12889 lt_prog_compiler_static_F77='-non_shared'
12893 lt_prog_compiler_pic_F77='-KPIC'
12894 lt_prog_compiler_static_F77='-Bstatic'
12900 lt_prog_compiler_wl_F77='-Wl,'
12901 lt_prog_compiler_pic_F77='-KPIC'
12902 lt_prog_compiler_static_F77='-static'
12905 lt_prog_compiler_wl_F77='-Wl,'
12906 # All Alpha code is PIC.
12907 lt_prog_compiler_static_F77='-non_shared'
12912 osf3* | osf4* | osf5*)
12913 lt_prog_compiler_wl_F77='-Wl,'
12914 # All OSF/1 code is PIC.
12915 lt_prog_compiler_static_F77='-non_shared'
12919 lt_prog_compiler_pic_F77='-Kpic'
12920 lt_prog_compiler_static_F77='-dn'
12924 lt_prog_compiler_wl_F77='-Wl,'
12925 lt_prog_compiler_pic_F77='-KPIC'
12926 lt_prog_compiler_static_F77='-Bstatic'
12930 lt_prog_compiler_wl_F77='-Qoption ld '
12931 lt_prog_compiler_pic_F77='-PIC'
12932 lt_prog_compiler_static_F77='-Bstatic'
12935 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12936 lt_prog_compiler_wl_F77='-Wl,'
12937 lt_prog_compiler_pic_F77='-KPIC'
12938 lt_prog_compiler_static_F77='-Bstatic'
12942 if test -d /usr/nec ;then
12943 lt_prog_compiler_pic_F77='-Kconform_pic'
12944 lt_prog_compiler_static_F77='-Bstatic'
12949 lt_prog_compiler_pic_F77='-pic'
12950 lt_prog_compiler_static_F77='-Bstatic'
12954 lt_prog_compiler_can_build_shared_F77=no
12959 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
12960 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
12963 # Check to make sure the PIC flag actually works.
12965 if test -n "$lt_prog_compiler_pic_F77"; then
12966 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
12967 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
12968 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
12969 echo $ECHO_N "(cached) $ECHO_C" >&6
12971 lt_prog_compiler_pic_works_F77=no
12972 ac_outfile=conftest.$ac_objext
12973 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12974 lt_compiler_flag="$lt_prog_compiler_pic_F77"
12975 # Insert the option either (1) after the last *FLAGS variable, or
12976 # (2) before a word containing "conftest.", or (3) at the end.
12977 # Note that $ac_compile itself does not contain backslashes and begins
12978 # with a dollar sign (not a hyphen), so the echo should work correctly.
12979 # The option is referenced via a variable to avoid confusing sed.
12980 lt_compile=`echo "$ac_compile" | $SED \
12981 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12982 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12983 -e 's:$: $lt_compiler_flag:'`
12984 (eval echo "\"\$as_me:12984: $lt_compile\"" >&5)
12985 (eval "$lt_compile" 2>conftest.err)
12987 cat conftest.err >&5
12988 echo "$as_me:12988: \$? = $ac_status" >&5
12989 if (exit $ac_status) && test -s "$ac_outfile"; then
12990 # The compiler can only warn and ignore the option if not recognized
12991 # So say no if there are warnings
12992 if test ! -s conftest.err; then
12993 lt_prog_compiler_pic_works_F77=yes
12999 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13000 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13002 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13003 case $lt_prog_compiler_pic_F77 in
13005 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13008 lt_prog_compiler_pic_F77=
13009 lt_prog_compiler_can_build_shared_F77=no
13014 # For platforms which do not support PIC, -DPIC is meaningless:
13016 lt_prog_compiler_pic_F77=
13019 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13023 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13024 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13025 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13026 echo $ECHO_N "(cached) $ECHO_C" >&6
13028 lt_cv_prog_compiler_c_o_F77=no
13029 $rm -r conftest 2>/dev/null
13033 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13035 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13036 # that will create temporary files in the current directory regardless of
13037 # the output directory. Thus, making CWD read-only will cause this test
13038 # to fail, enabling locking or at least warning the user not to do parallel
13042 lt_compiler_flag="-o out/conftest2.$ac_objext"
13043 # Insert the option either (1) after the last *FLAGS variable, or
13044 # (2) before a word containing "conftest.", or (3) at the end.
13045 # Note that $ac_compile itself does not contain backslashes and begins
13046 # with a dollar sign (not a hyphen), so the echo should work correctly.
13047 lt_compile=`echo "$ac_compile" | $SED \
13048 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13049 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13050 -e 's:$: $lt_compiler_flag:'`
13051 (eval echo "\"\$as_me:13051: $lt_compile\"" >&5)
13052 (eval "$lt_compile" 2>out/conftest.err)
13054 cat out/conftest.err >&5
13055 echo "$as_me:13055: \$? = $ac_status" >&5
13056 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13058 # The compiler can only warn and ignore the option if not recognized
13059 # So say no if there are warnings
13060 if test ! -s out/conftest.err; then
13061 lt_cv_prog_compiler_c_o_F77=yes
13065 $rm conftest* out/*
13072 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13073 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13076 hard_links="nottested"
13077 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13078 # do not overwrite the value of need_locks provided by the user
13079 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13080 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13083 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13085 ln conftest.a conftest.b 2>&5 || hard_links=no
13086 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13087 echo "$as_me:$LINENO: result: $hard_links" >&5
13088 echo "${ECHO_T}$hard_links" >&6
13089 if test "$hard_links" = no; then
13090 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13091 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13098 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13099 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13102 allow_undefined_flag_F77=
13103 enable_shared_with_static_runtimes_F77=no
13105 archive_expsym_cmds_F77=
13106 old_archive_From_new_cmds_F77=
13107 old_archive_from_expsyms_cmds_F77=
13108 export_dynamic_flag_spec_F77=
13109 whole_archive_flag_spec_F77=
13110 thread_safe_flag_spec_F77=
13111 hardcode_libdir_flag_spec_F77=
13112 hardcode_libdir_flag_spec_ld_F77=
13113 hardcode_libdir_separator_F77=
13114 hardcode_direct_F77=no
13115 hardcode_minus_L_F77=no
13116 hardcode_shlibpath_var_F77=unsupported
13117 link_all_deplibs_F77=unknown
13118 hardcode_automatic_F77=no
13120 module_expsym_cmds_F77=
13121 always_export_symbols_F77=no
13122 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13123 # include_expsyms should be a list of space-separated symbols to be *always*
13124 # included in the symbol list
13125 include_expsyms_F77=
13126 # exclude_expsyms can be an extended regexp of symbols to exclude
13127 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13128 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13129 # as well as any symbol that contains `d'.
13130 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13131 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13132 # platforms (ab)use it in PIC code, but their linkers get confused if
13133 # the symbol is explicitly referenced. Since portable code cannot
13134 # rely on this symbol name, it's probably fine to never include it in
13135 # preloaded symbol tables.
13136 extract_expsyms_cmds=
13139 cygwin* | mingw* | pw32*)
13140 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13141 # When not using gcc, we currently assume that we are using
13142 # Microsoft Visual C++.
13143 if test "$GCC" != yes; then
13153 if test "$with_gnu_ld" = yes; then
13154 # If archive_cmds runs LD, not CC, wlarc should be empty
13157 # See if GNU ld supports shared libraries.
13159 aix3* | aix4* | aix5*)
13160 # On AIX/PPC, the GNU linker is very broken
13161 if test "$host_cpu" != ia64; then
13165 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13166 *** to be unable to reliably create shared libraries on AIX.
13167 *** Therefore, libtool is disabling shared libraries support. If you
13168 *** really care for shared libraries, you may want to modify your PATH
13169 *** so that a non-GNU linker is found, and then restart.
13176 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)'
13177 hardcode_libdir_flag_spec_F77='-L$libdir'
13178 hardcode_minus_L_F77=yes
13180 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13181 # that the semantics of dynamic libraries on AmigaOS, at least up
13182 # to version 4, is to share data among multiple programs linked
13183 # with the same dynamic library. Since this doesn't match the
13184 # behavior of shared libraries on other platforms, we can't use
13190 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13191 allow_undefined_flag_F77=unsupported
13192 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13193 # support --undefined. This deserves some investigation. FIXME
13194 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13200 cygwin* | mingw* | pw32*)
13201 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13202 # as there is no search path for DLLs.
13203 hardcode_libdir_flag_spec_F77='-L$libdir'
13204 allow_undefined_flag_F77=unsupported
13205 always_export_symbols_F77=no
13206 enable_shared_with_static_runtimes_F77=yes
13207 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13209 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13210 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13211 # If the export-symbols file already is a .def file (1st line
13212 # is EXPORTS), use it as is; otherwise, prepend...
13213 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13214 cp $export_symbols $output_objdir/$soname.def;
13216 echo EXPORTS > $output_objdir/$soname.def;
13217 cat $export_symbols >> $output_objdir/$soname.def;
13219 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13226 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13227 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13230 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13231 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13236 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13240 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13241 *** create shared libraries on Solaris systems. Therefore, libtool
13242 *** is disabling shared libraries support. We urge you to upgrade GNU
13243 *** binutils to release 2.9.1 or newer. Another option is to modify
13244 *** your PATH or compiler configuration so that the native linker is
13245 *** used, and then restart.
13248 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13249 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13250 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13257 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13259 hardcode_direct_F77=yes
13260 hardcode_shlibpath_var_F77=no
13264 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13265 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13266 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13273 if test "$ld_shlibs_F77" = yes; then
13274 runpath_var=LD_RUN_PATH
13275 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13276 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13277 # ancient GNU ld didn't support --whole-archive et. al.
13278 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13279 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13281 whole_archive_flag_spec_F77=
13285 # PORTME fill in a description of your system's linker (not GNU ld)
13288 allow_undefined_flag_F77=unsupported
13289 always_export_symbols_F77=yes
13290 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'
13291 # Note: this linker hardcodes the directories in LIBPATH if there
13292 # are no directories specified by -L.
13293 hardcode_minus_L_F77=yes
13294 if test "$GCC" = yes && test -z "$link_static_flag"; then
13295 # Neither direct hardcoding nor static linking is supported with a
13297 hardcode_direct_F77=unsupported
13302 if test "$host_cpu" = ia64; then
13303 # On IA64, the linker does run time linking by default, so we don't
13304 # have to do anything special.
13305 aix_use_runtimelinking=no
13306 exp_sym_flag='-Bexport'
13309 # If we're using GNU nm, then we don't want the "-C" option.
13310 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13311 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13312 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'
13314 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'
13316 aix_use_runtimelinking=no
13318 # Test if we are trying to use run time linking or normal
13319 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13320 # need to do runtime linking.
13321 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13322 for ld_flag in $LDFLAGS; do
13323 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13324 aix_use_runtimelinking=yes
13330 exp_sym_flag='-bexport'
13331 no_entry_flag='-bnoentry'
13334 # When large executables or shared objects are built, AIX ld can
13335 # have problems creating the table of contents. If linking a library
13336 # or program results in "error TOC overflow" add -mminimal-toc to
13337 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13338 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13340 archive_cmds_F77=''
13341 hardcode_direct_F77=yes
13342 hardcode_libdir_separator_F77=':'
13343 link_all_deplibs_F77=yes
13345 if test "$GCC" = yes; then
13346 case $host_os in aix4.012|aix4.012.*)
13347 # We only want to do this on AIX 4.2 and lower, the check
13348 # below for broken collect2 doesn't work under 4.3+
13349 collect2name=`${CC} -print-prog-name=collect2`
13350 if test -f "$collect2name" && \
13351 strings "$collect2name" | grep resolve_lib_name >/dev/null
13353 # We have reworked collect2
13354 hardcode_direct_F77=yes
13356 # We have old collect2
13357 hardcode_direct_F77=unsupported
13358 # It fails to find uninstalled libraries when the uninstalled
13359 # path is not listed in the libpath. Setting hardcode_minus_L
13360 # to unsupported forces relinking
13361 hardcode_minus_L_F77=yes
13362 hardcode_libdir_flag_spec_F77='-L$libdir'
13363 hardcode_libdir_separator_F77=
13366 shared_flag='-shared'
13369 if test "$host_cpu" = ia64; then
13370 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13371 # chokes on -Wl,-G. The following line is correct:
13374 if test "$aix_use_runtimelinking" = yes; then
13375 shared_flag='${wl}-G'
13377 shared_flag='${wl}-bM:SRE'
13382 # It seems that -bexpall does not export symbols beginning with
13383 # underscore (_), so it is better to generate a list of symbols to export.
13384 always_export_symbols_F77=yes
13385 if test "$aix_use_runtimelinking" = yes; then
13386 # Warning - without using the other runtime loading flags (-brtl),
13387 # -berok will link without error, but may produce a broken library.
13388 allow_undefined_flag_F77='-berok'
13389 # Determine the default libpath from the value encoded in an empty executable.
13390 cat >conftest.$ac_ext <<_ACEOF
13395 rm -f conftest.$ac_objext conftest$ac_exeext
13396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13397 (eval $ac_link) 2>&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); } &&
13401 { ac_try='test -s conftest$ac_exeext'
13402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13403 (eval $ac_try) 2>&5
13405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406 (exit $ac_status); }; }; then
13408 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13410 # Check for a 64-bit object if we didn't find anything.
13411 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; }
13414 echo "$as_me: failed program was:" >&5
13415 sed 's/^/| /' conftest.$ac_ext >&5
13418 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13419 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13421 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13422 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"
13424 if test "$host_cpu" = ia64; then
13425 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13426 allow_undefined_flag_F77="-z nodefs"
13427 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"
13429 # Determine the default libpath from the value encoded in an empty executable.
13430 cat >conftest.$ac_ext <<_ACEOF
13435 rm -f conftest.$ac_objext conftest$ac_exeext
13436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13437 (eval $ac_link) 2>&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); } &&
13441 { ac_try='test -s conftest$ac_exeext'
13442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13443 (eval $ac_try) 2>&5
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); }; }; then
13448 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13450 # Check for a 64-bit object if we didn't find anything.
13451 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; }
13454 echo "$as_me: failed program was:" >&5
13455 sed 's/^/| /' conftest.$ac_ext >&5
13458 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13459 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13461 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13462 # Warning - without using the other run time loading flags,
13463 # -berok will link without error, but may produce a broken library.
13464 no_undefined_flag_F77=' ${wl}-bernotok'
13465 allow_undefined_flag_F77=' ${wl}-berok'
13466 # -bexpall does not export symbols beginning with underscore (_)
13467 always_export_symbols_F77=yes
13468 # Exported symbols can be pulled into shared objects from archives
13469 whole_archive_flag_spec_F77=' '
13470 archive_cmds_need_lc_F77=yes
13471 # This is similar to how AIX traditionally builds it's shared libraries.
13472 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'
13478 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)'
13479 hardcode_libdir_flag_spec_F77='-L$libdir'
13480 hardcode_minus_L_F77=yes
13481 # see comment about different semantics on the GNU ld section
13486 export_dynamic_flag_spec_F77=-rdynamic
13489 cygwin* | mingw* | pw32*)
13490 # When not using gcc, we currently assume that we are using
13491 # Microsoft Visual C++.
13492 # hardcode_libdir_flag_spec is actually meaningless, as there is
13493 # no search path for DLLs.
13494 hardcode_libdir_flag_spec_F77=' '
13495 allow_undefined_flag_F77=unsupported
13496 # Tell ltmain to make .lib files, not .a files.
13498 # Tell ltmain to make .dll files, not .so files.
13500 # FIXME: Setting linknames here is a bad hack.
13501 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13502 # The linker will automatically build a .lib file if we build a DLL.
13503 old_archive_From_new_cmds_F77='true'
13504 # FIXME: Should let the user specify the lib program.
13505 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13506 fix_srcfile_path='`cygpath -w "$srcfile"`'
13507 enable_shared_with_static_runtimes_F77=yes
13510 darwin* | rhapsody*)
13511 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13512 archive_cmds_need_lc_F77=no
13514 rhapsody* | darwin1.[012])
13515 allow_undefined_flag_F77='-undefined suppress'
13518 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13521 # FIXME: Relying on posixy $() will cause problems for
13522 # cross-compilation, but unfortunately the echo tests do not
13523 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13524 # `"' quotes if we put them in here... so don't!
13525 lt_int_apple_cc_single_mod=no
13526 output_verbose_link_cmd='echo'
13527 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13528 lt_int_apple_cc_single_mod=yes
13530 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13531 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13533 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'
13535 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13536 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13537 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13538 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}'
13540 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}'
13542 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}'
13543 hardcode_direct_F77=no
13544 hardcode_automatic_F77=yes
13545 hardcode_shlibpath_var_F77=unsupported
13546 whole_archive_flag_spec_F77='-all_load $convenience'
13547 link_all_deplibs_F77=yes
13552 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13553 hardcode_libdir_flag_spec_F77='-L$libdir'
13554 hardcode_shlibpath_var_F77=no
13561 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13562 # support. Future versions do this automatically, but an explicit c++rt0.o
13563 # does not break anything, and helps significantly (at the cost of a little
13566 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13567 hardcode_libdir_flag_spec_F77='-R$libdir'
13568 hardcode_direct_F77=yes
13569 hardcode_shlibpath_var_F77=no
13572 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13574 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13575 hardcode_direct_F77=yes
13576 hardcode_minus_L_F77=yes
13577 hardcode_shlibpath_var_F77=no
13580 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13582 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13583 hardcode_libdir_flag_spec_F77='-R$libdir'
13584 hardcode_direct_F77=yes
13585 hardcode_shlibpath_var_F77=no
13589 if test "$GCC" = yes; then
13590 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'
13592 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'
13594 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13595 hardcode_libdir_separator_F77=:
13596 hardcode_direct_F77=yes
13598 # hardcode_minus_L: Not really in the search PATH,
13599 # but as the default location of the library.
13600 hardcode_minus_L_F77=yes
13601 export_dynamic_flag_spec_F77='${wl}-E'
13605 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13606 case "$host_cpu" in
13608 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13611 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13615 case "$host_cpu" in
13617 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13620 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13624 if test "$with_gnu_ld" = no; then
13625 case "$host_cpu" in
13627 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13628 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13629 hardcode_libdir_separator_F77=:
13630 hardcode_direct_F77=no
13631 hardcode_shlibpath_var_F77=no
13634 hardcode_libdir_flag_spec_F77='-L$libdir'
13635 hardcode_direct_F77=no
13636 hardcode_shlibpath_var_F77=no
13638 # hardcode_minus_L: Not really in the search PATH,
13639 # but as the default location of the library.
13640 hardcode_minus_L_F77=yes
13643 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13644 hardcode_libdir_separator_F77=:
13645 hardcode_direct_F77=yes
13646 export_dynamic_flag_spec_F77='${wl}-E'
13648 # hardcode_minus_L: Not really in the search PATH,
13649 # but as the default location of the library.
13650 hardcode_minus_L_F77=yes
13656 irix5* | irix6* | nonstopux*)
13657 if test "$GCC" = yes; then
13658 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'
13660 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'
13661 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13663 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13664 hardcode_libdir_separator_F77=:
13665 link_all_deplibs_F77=yes
13669 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13670 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13672 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13674 hardcode_libdir_flag_spec_F77='-R$libdir'
13675 hardcode_direct_F77=yes
13676 hardcode_shlibpath_var_F77=no
13680 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13681 hardcode_direct_F77=yes
13682 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13683 hardcode_libdir_separator_F77=:
13684 hardcode_shlibpath_var_F77=no
13688 hardcode_direct_F77=yes
13689 hardcode_shlibpath_var_F77=no
13690 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13691 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13692 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13693 export_dynamic_flag_spec_F77='${wl}-E'
13696 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13697 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13698 hardcode_libdir_flag_spec_F77='-R$libdir'
13701 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13702 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13709 hardcode_libdir_flag_spec_F77='-L$libdir'
13710 hardcode_minus_L_F77=yes
13711 allow_undefined_flag_F77=unsupported
13712 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'
13713 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13717 if test "$GCC" = yes; then
13718 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13719 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'
13721 allow_undefined_flag_F77=' -expect_unresolved \*'
13722 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'
13724 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13725 hardcode_libdir_separator_F77=:
13728 osf4* | osf5*) # as osf3* with the addition of -msym flag
13729 if test "$GCC" = yes; then
13730 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13731 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'
13732 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13734 allow_undefined_flag_F77=' -expect_unresolved \*'
13735 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'
13736 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~
13737 $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'
13739 # Both c and cxx compiler support -rpath directly
13740 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13742 hardcode_libdir_separator_F77=:
13746 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13747 hardcode_shlibpath_var_F77=no
13748 export_dynamic_flag_spec_F77='${wl}-Bexport'
13749 runpath_var=LD_RUN_PATH
13750 hardcode_runpath_var=yes
13754 no_undefined_flag_F77=' -z text'
13755 if test "$GCC" = yes; then
13756 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13757 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13758 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13760 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13761 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13762 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13764 hardcode_libdir_flag_spec_F77='-R$libdir'
13765 hardcode_shlibpath_var_F77=no
13767 solaris2.[0-5] | solaris2.[0-5].*) ;;
13768 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13769 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13771 link_all_deplibs_F77=yes
13775 if test "x$host_vendor" = xsequent; then
13776 # Use $CC to link under sequent, because it throws in some extra .o
13777 # files that make .init and .fini sections work.
13778 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13780 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13782 hardcode_libdir_flag_spec_F77='-L$libdir'
13783 hardcode_direct_F77=yes
13784 hardcode_minus_L_F77=yes
13785 hardcode_shlibpath_var_F77=no
13789 case $host_vendor in
13791 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13792 hardcode_direct_F77=yes # is this really true???
13795 ## LD is ld it makes a PLAMLIB
13796 ## CC just makes a GrossModule.
13797 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13798 reload_cmds_F77='$CC -r -o $output$reload_objs'
13799 hardcode_direct_F77=no
13802 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13803 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13806 runpath_var='LD_RUN_PATH'
13807 hardcode_shlibpath_var_F77=no
13811 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13812 hardcode_shlibpath_var_F77=no
13813 export_dynamic_flag_spec_F77='-Bexport'
13817 if test -d /usr/nec; then
13818 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13819 hardcode_shlibpath_var_F77=no
13820 runpath_var=LD_RUN_PATH
13821 hardcode_runpath_var=yes
13827 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13828 hardcode_direct_F77=yes
13829 hardcode_minus_L_F77=no
13830 hardcode_shlibpath_var_F77=no
13831 hardcode_runpath_var=yes
13832 runpath_var=LD_RUN_PATH
13835 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13836 no_undefined_flag_F77='${wl}-z ${wl}text'
13837 if test "$GCC" = yes; then
13838 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13840 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13842 runpath_var='LD_RUN_PATH'
13843 hardcode_shlibpath_var_F77=no
13847 no_undefined_flag_F77=' -z text'
13848 # $CC -shared without GNU ld will not create a library from C++
13849 # object files and a static libstdc++, better avoid it by now
13850 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13851 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13852 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13853 hardcode_libdir_flag_spec_F77=
13854 hardcode_shlibpath_var_F77=no
13855 runpath_var='LD_RUN_PATH'
13859 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13860 hardcode_libdir_flag_spec_F77='-L$libdir'
13861 hardcode_shlibpath_var_F77=no
13870 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13871 echo "${ECHO_T}$ld_shlibs_F77" >&6
13872 test "$ld_shlibs_F77" = no && can_build_shared=no
13874 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13875 if test "$GCC" = yes; then
13876 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13880 # Do we need to explicitly link libc?
13882 case "x$archive_cmds_need_lc_F77" in
13884 # Assume -lc should be added
13885 archive_cmds_need_lc_F77=yes
13887 if test "$enable_shared" = yes && test "$GCC" = yes; then
13888 case $archive_cmds_F77 in
13890 # FIXME: we may have to deal with multi-command sequences.
13893 # Test whether the compiler implicitly links with -lc since on some
13894 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13895 # to ld, don't add -lc before -lgcc.
13896 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13897 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13899 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13902 (eval $ac_compile) 2>&5
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 (exit $ac_status); } 2>conftest.err; then
13908 libobjs=conftest.$ac_objext
13910 wl=$lt_prog_compiler_wl_F77
13916 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13917 allow_undefined_flag_F77=
13918 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13919 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); }
13924 archive_cmds_need_lc_F77=no
13926 archive_cmds_need_lc_F77=yes
13928 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13930 cat conftest.err 1>&5
13933 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13934 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13941 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13942 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13943 hardcode_action_F77=
13944 if test -n "$hardcode_libdir_flag_spec_F77" || \
13945 test -n "$runpath_var F77" || \
13946 test "X$hardcode_automatic_F77"="Xyes" ; then
13948 # We can hardcode non-existant directories.
13949 if test "$hardcode_direct_F77" != no &&
13950 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13951 # have to relink, otherwise we might link with an installed library
13952 # when we should be linking with a yet-to-be-installed one
13953 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
13954 test "$hardcode_minus_L_F77" != no; then
13955 # Linking always hardcodes the temporary library directory.
13956 hardcode_action_F77=relink
13958 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13959 hardcode_action_F77=immediate
13962 # We cannot hardcode anything, or else we can only hardcode existing
13964 hardcode_action_F77=unsupported
13966 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
13967 echo "${ECHO_T}$hardcode_action_F77" >&6
13969 if test "$hardcode_action_F77" = relink; then
13970 # Fast installation is not supported
13971 enable_fast_install=no
13972 elif test "$shlibpath_overrides_runpath" = yes ||
13973 test "$enable_shared" = no; then
13974 # Fast installation is not necessary
13975 enable_fast_install=needless
13980 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13981 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
13982 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
13983 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13984 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13985 echo "$as_me:$LINENO: result: yes" >&5
13986 echo "${ECHO_T}yes" >&6
13988 # FIXME - insert some real tests, host_os isn't really good enough
13991 if test -n "$STRIP" ; then
13992 striplib="$STRIP -x"
13993 echo "$as_me:$LINENO: result: yes" >&5
13994 echo "${ECHO_T}yes" >&6
13996 echo "$as_me:$LINENO: result: no" >&5
13997 echo "${ECHO_T}no" >&6
14001 echo "$as_me:$LINENO: result: no" >&5
14002 echo "${ECHO_T}no" >&6
14007 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14008 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14009 library_names_spec=
14010 libname_spec='lib$name'
14014 postuninstall_cmds=
14018 shlibpath_overrides_runpath=unknown
14020 dynamic_linker="$host_os ld.so"
14021 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14022 if test "$GCC" = yes; then
14023 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14024 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14025 # if the path contains ";" then we assume it to be the separator
14026 # otherwise default to the standard path separator (i.e. ":") - it is
14027 # assumed that no part of a normal pathname contains ";" but that should
14028 # okay in the real world where ";" in dirpaths is itself problematic.
14029 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14031 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14034 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14036 need_lib_prefix=unknown
14037 hardcode_into_libs=no
14039 # when you set need_version to no, make sure it does not cause -set_version
14040 # flags to be left without arguments
14041 need_version=unknown
14046 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14047 shlibpath_var=LIBPATH
14049 # AIX 3 has no versioning support, so we append a major version to the name.
14050 soname_spec='${libname}${release}${shared_ext}$major'
14057 hardcode_into_libs=yes
14058 if test "$host_cpu" = ia64; then
14059 # AIX 5 supports IA64
14060 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14061 shlibpath_var=LD_LIBRARY_PATH
14063 # With GCC up to 2.95.x, collect2 would create an import file
14064 # for dependence libraries. The import file would start with
14065 # the line `#! .'. This would cause the generated library to
14066 # depend on `.', always an invalid library. This was fixed in
14067 # development snapshots of GCC prior to 3.0.
14069 aix4 | aix4.[01] | aix4.[01].*)
14070 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14072 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14075 can_build_shared=no
14079 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14080 # soname into executable. Probably we can add versioning support to
14081 # collect2, so additional links can be useful in future.
14082 if test "$aix_use_runtimelinking" = yes; then
14083 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14084 # instead of lib<name>.a to let people know that these are not
14085 # typical AIX shared libraries.
14086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14088 # We preserve .a as extension for shared libraries through AIX4.2
14089 # and later when we are not doing run time linking.
14090 library_names_spec='${libname}${release}.a $libname.a'
14091 soname_spec='${libname}${release}${shared_ext}$major'
14093 shlibpath_var=LIBPATH
14098 library_names_spec='$libname.ixlibrary $libname.a'
14099 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14100 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'
14104 library_names_spec='${libname}${shared_ext}'
14105 dynamic_linker="$host_os ld.so"
14106 shlibpath_var=LIBRARY_PATH
14112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14113 soname_spec='${libname}${release}${shared_ext}$major'
14114 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14115 shlibpath_var=LD_LIBRARY_PATH
14116 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14117 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14118 # the default ld.so.conf also contains /usr/contrib/lib and
14119 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14120 # libtool to hard-code these into programs
14123 cygwin* | mingw* | pw32*)
14124 version_type=windows
14129 case $GCC,$host_os in
14130 yes,cygwin* | yes,mingw* | yes,pw32*)
14131 library_names_spec='$libname.dll.a'
14132 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14133 postinstall_cmds='base_file=`basename \${file}`~
14134 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14135 dldir=$destdir/`dirname \$dlpath`~
14136 test -d \$dldir || mkdir -p \$dldir~
14137 $install_prog $dir/$dlname \$dldir/$dlname'
14138 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14139 dlpath=$dir/\$dldll~
14141 shlibpath_overrides_runpath=yes
14145 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14146 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14147 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14150 # MinGW DLLs use traditional 'lib' prefix
14151 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14152 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14153 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14154 # It is most probably a Windows format PATH printed by
14155 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14156 # path with ; separators, and with drive letters. We can handle the
14157 # drive letters (cygwin fileutils understands them), so leave them,
14158 # especially as we might pass files found there to a mingw objdump,
14159 # which wouldn't understand a cygwinified path. Ahh.
14160 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14162 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14166 # pw32 DLLs use 'pw' prefix rather than 'lib'
14167 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14173 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14176 dynamic_linker='Win32 ld.exe'
14177 # FIXME: first we should search . and the directory the executable is in
14181 darwin* | rhapsody*)
14182 dynamic_linker="$host_os dyld"
14183 version_type=darwin
14186 # FIXME: Relying on posixy $() will cause problems for
14187 # cross-compilation, but unfortunately the echo tests do not
14188 # yet detect zsh echo's removal of \ escapes.
14189 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14190 soname_spec='${libname}${release}${major}$shared_ext'
14191 shlibpath_overrides_runpath=yes
14192 shlibpath_var=DYLD_LIBRARY_PATH
14193 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14194 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14195 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14196 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"`
14198 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14206 soname_spec='${libname}${release}${shared_ext}$major'
14207 shlibpath_var=LD_LIBRARY_PATH
14215 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14216 version_type=freebsd-$objformat
14217 case $version_type in
14219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14224 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14228 shlibpath_var=LD_LIBRARY_PATH
14231 shlibpath_overrides_runpath=yes
14233 freebsd3.01* | freebsdelf3.01*)
14234 shlibpath_overrides_runpath=yes
14235 hardcode_into_libs=yes
14238 shlibpath_overrides_runpath=no
14239 hardcode_into_libs=yes
14248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14249 soname_spec='${libname}${release}${shared_ext}$major'
14250 shlibpath_var=LD_LIBRARY_PATH
14251 hardcode_into_libs=yes
14254 hpux9* | hpux10* | hpux11*)
14255 # Give a soname corresponding to the major version so that dld.sl refuses to
14256 # link against other versions.
14260 case "$host_cpu" in
14263 hardcode_into_libs=yes
14264 dynamic_linker="$host_os dld.so"
14265 shlibpath_var=LD_LIBRARY_PATH
14266 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14267 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14268 soname_spec='${libname}${release}${shared_ext}$major'
14269 if test "X$HPUX_IA64_MODE" = X32; then
14270 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14272 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14274 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14278 hardcode_into_libs=yes
14279 dynamic_linker="$host_os dld.sl"
14280 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14281 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14283 soname_spec='${libname}${release}${shared_ext}$major'
14284 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14285 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14289 dynamic_linker="$host_os dld.sl"
14290 shlibpath_var=SHLIB_PATH
14291 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14293 soname_spec='${libname}${release}${shared_ext}$major'
14296 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14297 postinstall_cmds='chmod 555 $lib'
14300 irix5* | irix6* | nonstopux*)
14302 nonstopux*) version_type=nonstopux ;;
14304 if test "$lt_cv_prog_gnu_ld" = yes; then
14312 soname_spec='${libname}${release}${shared_ext}$major'
14313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14315 irix5* | nonstopux*)
14316 libsuff= shlibsuff=
14319 case $LD in # libtool.m4 will add one of these switches to LD
14320 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14321 libsuff= shlibsuff= libmagic=32-bit;;
14322 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14323 libsuff=32 shlibsuff=N32 libmagic=N32;;
14324 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14325 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14326 *) libsuff= shlibsuff= libmagic=never-match;;
14330 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14331 shlibpath_overrides_runpath=no
14332 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14333 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14334 hardcode_into_libs=yes
14337 # No shared lib support for Linux oldld, aout, or coff.
14338 linux*oldld* | linux*aout* | linux*coff*)
14342 # This must be Linux ELF.
14347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14348 soname_spec='${libname}${release}${shared_ext}$major'
14349 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14350 shlibpath_var=LD_LIBRARY_PATH
14351 shlibpath_overrides_runpath=no
14352 # This implies no fast_install, which is unacceptable.
14353 # Some rework will be needed to allow for fast_install
14354 # before this can be enabled.
14355 hardcode_into_libs=yes
14357 # We used to test for /lib/ld.so.1 and disable shared libraries on
14358 # powerpc, because MkLinux only supported shared libraries with the
14359 # GNU dynamic linker. Since this was broken with cross compilers,
14360 # most powerpc-linux boxes support dynamic linking these days and
14361 # people can always --disable-shared, the test was removed, and we
14362 # assume the GNU/Linux dynamic linker is in use.
14363 dynamic_linker='GNU/Linux ld.so'
14370 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14372 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14373 dynamic_linker='NetBSD (a.out) ld.so'
14375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14376 soname_spec='${libname}${release}${shared_ext}$major'
14377 dynamic_linker='NetBSD ld.elf_so'
14379 shlibpath_var=LD_LIBRARY_PATH
14380 shlibpath_overrides_runpath=yes
14381 hardcode_into_libs=yes
14386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14387 shlibpath_var=LD_LIBRARY_PATH
14388 shlibpath_overrides_runpath=yes
14395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14396 soname_spec='${libname}${release}${shared_ext}$major'
14397 shlibpath_var=LD_LIBRARY_PATH
14398 shlibpath_overrides_runpath=yes
14405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14406 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14407 shlibpath_var=LD_LIBRARY_PATH
14408 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14410 openbsd2.[89] | openbsd2.[89].*)
14411 shlibpath_overrides_runpath=no
14414 shlibpath_overrides_runpath=yes
14418 shlibpath_overrides_runpath=yes
14423 libname_spec='$name'
14426 library_names_spec='$libname${shared_ext} $libname.a'
14427 dynamic_linker='OS/2 ld.exe'
14428 shlibpath_var=LIBPATH
14431 osf3* | osf4* | osf5*)
14435 soname_spec='${libname}${release}${shared_ext}$major'
14436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14437 shlibpath_var=LD_LIBRARY_PATH
14438 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14439 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14444 soname_spec='${libname}${release}${shared_ext}$major'
14445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14446 shlibpath_var=LD_LIBRARY_PATH
14453 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14454 soname_spec='${libname}${release}${shared_ext}$major'
14455 shlibpath_var=LD_LIBRARY_PATH
14456 shlibpath_overrides_runpath=yes
14457 hardcode_into_libs=yes
14458 # ldd complains unless libraries are executable
14459 postinstall_cmds='chmod +x $lib'
14464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14465 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14466 shlibpath_var=LD_LIBRARY_PATH
14467 shlibpath_overrides_runpath=yes
14468 if test "$with_gnu_ld" = yes; then
14474 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14477 soname_spec='${libname}${release}${shared_ext}$major'
14478 shlibpath_var=LD_LIBRARY_PATH
14479 case $host_vendor in
14481 shlibpath_overrides_runpath=no
14483 export_dynamic_flag_spec='${wl}-Blargedynsym'
14484 runpath_var=LD_RUN_PATH
14492 shlibpath_overrides_runpath=no
14493 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14499 if test -d /usr/nec ;then
14501 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14502 soname_spec='$libname${shared_ext}.$major'
14503 shlibpath_var=LD_LIBRARY_PATH
14509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14510 soname_spec='${libname}${release}${shared_ext}$major'
14511 shlibpath_var=LD_LIBRARY_PATH
14518 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14519 echo "${ECHO_T}$dynamic_linker" >&6
14520 test "$dynamic_linker" = no && can_build_shared=no
14523 # The else clause should only fire when bootstrapping the
14524 # libtool distribution, otherwise you forgot to ship ltmain.sh
14525 # with your package, and you will get complaints that there are
14526 # no rules to generate ltmain.sh.
14527 if test -f "$ltmain"; then
14528 # See if we are running on zsh, and set the options which allow our commands through
14529 # without removal of \ escapes.
14530 if test -n "${ZSH_VERSION+set}" ; then
14531 setopt NO_GLOB_SUBST
14533 # Now quote all the things that may contain metacharacters while being
14534 # careful not to overquote the AC_SUBSTed values. We take copies of the
14535 # variables and quote the copies for generation of the libtool script.
14536 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14537 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14538 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14539 deplibs_check_method reload_flag reload_cmds need_locks \
14540 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14541 lt_cv_sys_global_symbol_to_c_name_address \
14542 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14543 old_postinstall_cmds old_postuninstall_cmds \
14547 lt_prog_compiler_wl_F77 \
14548 lt_prog_compiler_pic_F77 \
14549 lt_prog_compiler_static_F77 \
14550 lt_prog_compiler_no_builtin_flag_F77 \
14551 export_dynamic_flag_spec_F77 \
14552 thread_safe_flag_spec_F77 \
14553 whole_archive_flag_spec_F77 \
14554 enable_shared_with_static_runtimes_F77 \
14555 old_archive_cmds_F77 \
14556 old_archive_from_new_cmds_F77 \
14557 predep_objects_F77 \
14558 postdep_objects_F77 \
14561 compiler_lib_search_path_F77 \
14563 archive_expsym_cmds_F77 \
14564 postinstall_cmds_F77 \
14565 postuninstall_cmds_F77 \
14566 old_archive_from_expsyms_cmds_F77 \
14567 allow_undefined_flag_F77 \
14568 no_undefined_flag_F77 \
14569 export_symbols_cmds_F77 \
14570 hardcode_libdir_flag_spec_F77 \
14571 hardcode_libdir_flag_spec_ld_F77 \
14572 hardcode_libdir_separator_F77 \
14573 hardcode_automatic_F77 \
14575 module_expsym_cmds_F77 \
14576 lt_cv_prog_compiler_c_o_F77 \
14577 exclude_expsyms_F77 \
14578 include_expsyms_F77; do
14581 old_archive_cmds_F77 | \
14582 old_archive_from_new_cmds_F77 | \
14583 archive_cmds_F77 | \
14584 archive_expsym_cmds_F77 | \
14585 module_cmds_F77 | \
14586 module_expsym_cmds_F77 | \
14587 old_archive_from_expsyms_cmds_F77 | \
14588 export_symbols_cmds_F77 | \
14589 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14590 postinstall_cmds | postuninstall_cmds | \
14591 old_postinstall_cmds | old_postuninstall_cmds | \
14592 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14593 # Double-quote double-evaled strings.
14594 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14597 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14603 *'\$0 --fallback-echo"')
14604 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14610 cat <<__EOF__ >> "$cfgfile"
14611 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14613 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14615 # Shell to use when invoking shell scripts.
14618 # Whether or not to build shared libraries.
14619 build_libtool_libs=$enable_shared
14621 # Whether or not to build static libraries.
14622 build_old_libs=$enable_static
14624 # Whether or not to add -lc for building shared libraries.
14625 build_libtool_need_lc=$archive_cmds_need_lc_F77
14627 # Whether or not to disallow shared libs when runtime libs are static
14628 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14630 # Whether or not to optimize for fast installation.
14631 fast_install=$enable_fast_install
14634 host_alias=$host_alias
14637 # An echo program that does not interpret backslashes.
14642 AR_FLAGS=$lt_AR_FLAGS
14647 # A language-specific compiler.
14648 CC=$lt_compiler_F77
14650 # Is the compiler the GNU C compiler?
14656 # The linker used to build libraries.
14659 # Whether we need hard or soft links.
14662 # A BSD-compatible nm program.
14665 # A symbol stripping program
14668 # Used to examine libraries when file_magic_cmd begins "file"
14669 MAGIC_CMD=$MAGIC_CMD
14671 # Used on cygwin: DLL creation program.
14674 # Used on cygwin: object dumper.
14677 # Used on cygwin: assembler.
14680 # The name of the directory that contains temporary libtool files.
14683 # How to create reloadable object files.
14684 reload_flag=$lt_reload_flag
14685 reload_cmds=$lt_reload_cmds
14687 # How to pass a linker flag through the compiler.
14688 wl=$lt_lt_prog_compiler_wl_F77
14690 # Object file suffix (normally "o").
14691 objext="$ac_objext"
14693 # Old archive suffix (normally "a").
14696 # Shared library suffix (normally ".so").
14699 # Executable file suffix (normally "").
14702 # Additional compiler flags for building library objects.
14703 pic_flag=$lt_lt_prog_compiler_pic_F77
14706 # What is the maximum length of a command?
14707 max_cmd_len=$lt_cv_sys_max_cmd_len
14709 # Does compiler simultaneously support -c and -o options?
14710 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14712 # Must we lock files when doing compilation ?
14713 need_locks=$lt_need_locks
14715 # Do we need the lib prefix for modules?
14716 need_lib_prefix=$need_lib_prefix
14718 # Do we need a version for libraries?
14719 need_version=$need_version
14721 # Whether dlopen is supported.
14722 dlopen_support=$enable_dlopen
14724 # Whether dlopen of programs is supported.
14725 dlopen_self=$enable_dlopen_self
14727 # Whether dlopen of statically linked programs is supported.
14728 dlopen_self_static=$enable_dlopen_self_static
14730 # Compiler flag to prevent dynamic linking.
14731 link_static_flag=$lt_lt_prog_compiler_static_F77
14733 # Compiler flag to turn off builtin functions.
14734 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14736 # Compiler flag to allow reflexive dlopens.
14737 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14739 # Compiler flag to generate shared objects directly from archives.
14740 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14742 # Compiler flag to generate thread-safe objects.
14743 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14745 # Library versioning type.
14746 version_type=$version_type
14748 # Format of library name prefix.
14749 libname_spec=$lt_libname_spec
14751 # List of archive names. First name is the real one, the rest are links.
14752 # The last name is the one that the linker finds with -lNAME.
14753 library_names_spec=$lt_library_names_spec
14755 # The coded name of the library, if different from the real name.
14756 soname_spec=$lt_soname_spec
14758 # Commands used to build and install an old-style archive.
14760 old_archive_cmds=$lt_old_archive_cmds_F77
14761 old_postinstall_cmds=$lt_old_postinstall_cmds
14762 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14764 # Create an old-style archive from a shared archive.
14765 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14767 # Create a temporary old-style archive to link instead of a shared archive.
14768 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14770 # Commands used to build and install a shared archive.
14771 archive_cmds=$lt_archive_cmds_F77
14772 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14773 postinstall_cmds=$lt_postinstall_cmds
14774 postuninstall_cmds=$lt_postuninstall_cmds
14776 # Commands used to build a loadable module (assumed same as above if empty)
14777 module_cmds=$lt_module_cmds_F77
14778 module_expsym_cmds=$lt_module_expsym_cmds_F77
14780 # Commands to strip libraries.
14781 old_striplib=$lt_old_striplib
14782 striplib=$lt_striplib
14784 # Dependencies to place before the objects being linked to create a
14786 predep_objects=$lt_predep_objects_F77
14788 # Dependencies to place after the objects being linked to create a
14790 postdep_objects=$lt_postdep_objects_F77
14792 # Dependencies to place before the objects being linked to create a
14794 predeps=$lt_predeps_F77
14796 # Dependencies to place after the objects being linked to create a
14798 postdeps=$lt_postdeps_F77
14800 # The library search path used internally by the compiler when linking
14801 # a shared library.
14802 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14804 # Method to check whether dependent libraries are shared objects.
14805 deplibs_check_method=$lt_deplibs_check_method
14807 # Command to use when deplibs_check_method == file_magic.
14808 file_magic_cmd=$lt_file_magic_cmd
14810 # Flag that allows shared libraries with undefined symbols to be built.
14811 allow_undefined_flag=$lt_allow_undefined_flag_F77
14813 # Flag that forces no undefined symbols.
14814 no_undefined_flag=$lt_no_undefined_flag_F77
14816 # Commands used to finish a libtool library installation in a directory.
14817 finish_cmds=$lt_finish_cmds
14819 # Same as above, but a single script fragment to be evaled but not shown.
14820 finish_eval=$lt_finish_eval
14822 # Take the output of nm and produce a listing of raw symbols and C names.
14823 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14825 # Transform the output of nm in a proper C declaration
14826 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14828 # Transform the output of nm in a C name address pair
14829 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14831 # This is the shared library runtime path variable.
14832 runpath_var=$runpath_var
14834 # This is the shared library path variable.
14835 shlibpath_var=$shlibpath_var
14837 # Is shlibpath searched before the hard-coded library search path?
14838 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14840 # How to hardcode a shared library path into an executable.
14841 hardcode_action=$hardcode_action_F77
14843 # Whether we should hardcode library paths into libraries.
14844 hardcode_into_libs=$hardcode_into_libs
14846 # Flag to hardcode \$libdir into a binary during linking.
14847 # This must work even if \$libdir does not exist.
14848 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14850 # If ld is used when linking, flag to hardcode \$libdir into
14851 # a binary during linking. This must work even if \$libdir does
14853 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14855 # Whether we need a single -rpath flag with a separated argument.
14856 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14858 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14859 # resulting binary.
14860 hardcode_direct=$hardcode_direct_F77
14862 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14863 # resulting binary.
14864 hardcode_minus_L=$hardcode_minus_L_F77
14866 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14867 # the resulting binary.
14868 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14870 # Set to yes if building a shared library automatically hardcodes DIR into the library
14871 # and all subsequent libraries and executables linked against it.
14872 hardcode_automatic=$hardcode_automatic_F77
14874 # Variables whose values should be saved in libtool wrapper scripts and
14875 # restored at relink time.
14876 variables_saved_for_relink="$variables_saved_for_relink"
14878 # Whether libtool must link a program against all its dependency libraries.
14879 link_all_deplibs=$link_all_deplibs_F77
14881 # Compile-time system search path for libraries
14882 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14884 # Run-time system search path for libraries
14885 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14887 # Fix the shell variable \$srcfile for the compiler.
14888 fix_srcfile_path="$fix_srcfile_path_F77"
14890 # Set to yes if exported symbols are required.
14891 always_export_symbols=$always_export_symbols_F77
14893 # The commands to list exported symbols.
14894 export_symbols_cmds=$lt_export_symbols_cmds_F77
14896 # The commands to extract the exported symbol list from a shared archive.
14897 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14899 # Symbols that should not be listed in the preloaded symbols.
14900 exclude_expsyms=$lt_exclude_expsyms_F77
14902 # Symbols that must always be exported.
14903 include_expsyms=$lt_include_expsyms_F77
14905 # ### END LIBTOOL TAG CONFIG: $tagname
14911 # If there is no Makefile yet, we rely on a make rule to execute
14912 # `config.status --recheck' to rerun these tests and create the
14913 # libtool script then.
14914 test -f Makefile && make "$ltmain"
14919 ac_cpp='$CPP $CPPFLAGS'
14920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14932 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14936 # Source file extension for Java test sources.
14939 # Object file extension for compiled Java test sources.
14943 # Code to be used in simple compile tests
14944 lt_simple_compile_test_code="class foo {}\n"
14946 # Code to be used in simple link tests
14947 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
14949 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14951 # If no C compiler was specified, use CC.
14954 # Allow CC to be a program name with arguments.
14958 # Allow CC to be a program name with arguments.
14964 # GCJ did not exist at the time GCC didn't implicitly link libc in.
14965 archive_cmds_need_lc_GCJ=no
14968 ## There is no encapsulation within the following macros, do not change
14969 ## the running order or otherwise move them around unless you know exactly
14970 ## what you are doing...
14972 lt_prog_compiler_no_builtin_flag_GCJ=
14974 if test "$GCC" = yes; then
14975 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
14977 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
14978 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
14979 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14980 echo $ECHO_N "(cached) $ECHO_C" >&6
14982 lt_cv_prog_compiler_rtti_exceptions=no
14983 ac_outfile=conftest.$ac_objext
14984 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14985 lt_compiler_flag="-fno-rtti -fno-exceptions"
14986 # Insert the option either (1) after the last *FLAGS variable, or
14987 # (2) before a word containing "conftest.", or (3) at the end.
14988 # Note that $ac_compile itself does not contain backslashes and begins
14989 # with a dollar sign (not a hyphen), so the echo should work correctly.
14990 # The option is referenced via a variable to avoid confusing sed.
14991 lt_compile=`echo "$ac_compile" | $SED \
14992 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14993 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14994 -e 's:$: $lt_compiler_flag:'`
14995 (eval echo "\"\$as_me:14995: $lt_compile\"" >&5)
14996 (eval "$lt_compile" 2>conftest.err)
14998 cat conftest.err >&5
14999 echo "$as_me:14999: \$? = $ac_status" >&5
15000 if (exit $ac_status) && test -s "$ac_outfile"; then
15001 # The compiler can only warn and ignore the option if not recognized
15002 # So say no if there are warnings
15003 if test ! -s conftest.err; then
15004 lt_cv_prog_compiler_rtti_exceptions=yes
15010 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15011 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15013 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15014 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15021 lt_prog_compiler_wl_GCJ=
15022 lt_prog_compiler_pic_GCJ=
15023 lt_prog_compiler_static_GCJ=
15025 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15026 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15028 if test "$GCC" = yes; then
15029 lt_prog_compiler_wl_GCJ='-Wl,'
15030 lt_prog_compiler_static_GCJ='-static'
15034 # All AIX code is PIC.
15035 if test "$host_cpu" = ia64; then
15036 # AIX 5 now supports IA64 processor
15037 lt_prog_compiler_static_GCJ='-Bstatic'
15042 # FIXME: we need at least 68020 code to build shared libraries, but
15043 # adding the `-m68020' flag to GCC prevents building anything better,
15045 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15048 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15049 # PIC is the default for these OSes.
15052 mingw* | pw32* | os2*)
15053 # This hack is so that the source file can tell whether it is being
15054 # built for inclusion in a dll (and should export symbols for example).
15055 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15058 darwin* | rhapsody*)
15059 # PIC is the default on this platform
15060 # Common symbols not allowed in MH_DYLIB files
15061 lt_prog_compiler_pic_GCJ='-fno-common'
15065 # Just because we use GCC doesn't mean we suddenly get shared libraries
15066 # on systems that don't support them.
15067 lt_prog_compiler_can_build_shared_GCJ=no
15072 if test -d /usr/nec; then
15073 lt_prog_compiler_pic_GCJ=-Kconform_pic
15078 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15079 # not for PA HP-UX.
15080 case "$host_cpu" in
15085 lt_prog_compiler_pic_GCJ='-fPIC'
15091 lt_prog_compiler_pic_GCJ='-fPIC'
15095 # PORTME Check for flag to pass linker flags through the system compiler.
15098 lt_prog_compiler_wl_GCJ='-Wl,'
15099 if test "$host_cpu" = ia64; then
15100 # AIX 5 now supports IA64 processor
15101 lt_prog_compiler_static_GCJ='-Bstatic'
15103 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15107 mingw* | pw32* | os2*)
15108 # This hack is so that the source file can tell whether it is being
15109 # built for inclusion in a dll (and should export symbols for example).
15110 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15113 hpux9* | hpux10* | hpux11*)
15114 lt_prog_compiler_wl_GCJ='-Wl,'
15115 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15116 # not for PA HP-UX.
15117 case "$host_cpu" in
15122 lt_prog_compiler_pic_GCJ='+Z'
15125 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15126 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15129 irix5* | irix6* | nonstopux*)
15130 lt_prog_compiler_wl_GCJ='-Wl,'
15131 # PIC (with -KPIC) is the default.
15132 lt_prog_compiler_static_GCJ='-non_shared'
15136 lt_prog_compiler_pic_GCJ='-KPIC'
15137 lt_prog_compiler_static_GCJ='-Bstatic'
15143 lt_prog_compiler_wl_GCJ='-Wl,'
15144 lt_prog_compiler_pic_GCJ='-KPIC'
15145 lt_prog_compiler_static_GCJ='-static'
15148 lt_prog_compiler_wl_GCJ='-Wl,'
15149 # All Alpha code is PIC.
15150 lt_prog_compiler_static_GCJ='-non_shared'
15155 osf3* | osf4* | osf5*)
15156 lt_prog_compiler_wl_GCJ='-Wl,'
15157 # All OSF/1 code is PIC.
15158 lt_prog_compiler_static_GCJ='-non_shared'
15162 lt_prog_compiler_pic_GCJ='-Kpic'
15163 lt_prog_compiler_static_GCJ='-dn'
15167 lt_prog_compiler_wl_GCJ='-Wl,'
15168 lt_prog_compiler_pic_GCJ='-KPIC'
15169 lt_prog_compiler_static_GCJ='-Bstatic'
15173 lt_prog_compiler_wl_GCJ='-Qoption ld '
15174 lt_prog_compiler_pic_GCJ='-PIC'
15175 lt_prog_compiler_static_GCJ='-Bstatic'
15178 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15179 lt_prog_compiler_wl_GCJ='-Wl,'
15180 lt_prog_compiler_pic_GCJ='-KPIC'
15181 lt_prog_compiler_static_GCJ='-Bstatic'
15185 if test -d /usr/nec ;then
15186 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15187 lt_prog_compiler_static_GCJ='-Bstatic'
15192 lt_prog_compiler_pic_GCJ='-pic'
15193 lt_prog_compiler_static_GCJ='-Bstatic'
15197 lt_prog_compiler_can_build_shared_GCJ=no
15202 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15203 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15206 # Check to make sure the PIC flag actually works.
15208 if test -n "$lt_prog_compiler_pic_GCJ"; then
15209 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15210 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15211 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15212 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 lt_prog_compiler_pic_works_GCJ=no
15215 ac_outfile=conftest.$ac_objext
15216 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15217 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15218 # Insert the option either (1) after the last *FLAGS variable, or
15219 # (2) before a word containing "conftest.", or (3) at the end.
15220 # Note that $ac_compile itself does not contain backslashes and begins
15221 # with a dollar sign (not a hyphen), so the echo should work correctly.
15222 # The option is referenced via a variable to avoid confusing sed.
15223 lt_compile=`echo "$ac_compile" | $SED \
15224 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15225 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15226 -e 's:$: $lt_compiler_flag:'`
15227 (eval echo "\"\$as_me:15227: $lt_compile\"" >&5)
15228 (eval "$lt_compile" 2>conftest.err)
15230 cat conftest.err >&5
15231 echo "$as_me:15231: \$? = $ac_status" >&5
15232 if (exit $ac_status) && test -s "$ac_outfile"; then
15233 # The compiler can only warn and ignore the option if not recognized
15234 # So say no if there are warnings
15235 if test ! -s conftest.err; then
15236 lt_prog_compiler_pic_works_GCJ=yes
15242 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15243 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15245 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15246 case $lt_prog_compiler_pic_GCJ in
15248 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15251 lt_prog_compiler_pic_GCJ=
15252 lt_prog_compiler_can_build_shared_GCJ=no
15257 # For platforms which do not support PIC, -DPIC is meaningless:
15259 lt_prog_compiler_pic_GCJ=
15262 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15266 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15267 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15268 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15269 echo $ECHO_N "(cached) $ECHO_C" >&6
15271 lt_cv_prog_compiler_c_o_GCJ=no
15272 $rm -r conftest 2>/dev/null
15276 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15278 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15279 # that will create temporary files in the current directory regardless of
15280 # the output directory. Thus, making CWD read-only will cause this test
15281 # to fail, enabling locking or at least warning the user not to do parallel
15285 lt_compiler_flag="-o out/conftest2.$ac_objext"
15286 # Insert the option either (1) after the last *FLAGS variable, or
15287 # (2) before a word containing "conftest.", or (3) at the end.
15288 # Note that $ac_compile itself does not contain backslashes and begins
15289 # with a dollar sign (not a hyphen), so the echo should work correctly.
15290 lt_compile=`echo "$ac_compile" | $SED \
15291 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15292 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15293 -e 's:$: $lt_compiler_flag:'`
15294 (eval echo "\"\$as_me:15294: $lt_compile\"" >&5)
15295 (eval "$lt_compile" 2>out/conftest.err)
15297 cat out/conftest.err >&5
15298 echo "$as_me:15298: \$? = $ac_status" >&5
15299 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15301 # The compiler can only warn and ignore the option if not recognized
15302 # So say no if there are warnings
15303 if test ! -s out/conftest.err; then
15304 lt_cv_prog_compiler_c_o_GCJ=yes
15308 $rm conftest* out/*
15315 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15316 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15319 hard_links="nottested"
15320 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15321 # do not overwrite the value of need_locks provided by the user
15322 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15323 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15326 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15328 ln conftest.a conftest.b 2>&5 || hard_links=no
15329 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15330 echo "$as_me:$LINENO: result: $hard_links" >&5
15331 echo "${ECHO_T}$hard_links" >&6
15332 if test "$hard_links" = no; then
15333 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15334 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15341 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15342 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15345 allow_undefined_flag_GCJ=
15346 enable_shared_with_static_runtimes_GCJ=no
15348 archive_expsym_cmds_GCJ=
15349 old_archive_From_new_cmds_GCJ=
15350 old_archive_from_expsyms_cmds_GCJ=
15351 export_dynamic_flag_spec_GCJ=
15352 whole_archive_flag_spec_GCJ=
15353 thread_safe_flag_spec_GCJ=
15354 hardcode_libdir_flag_spec_GCJ=
15355 hardcode_libdir_flag_spec_ld_GCJ=
15356 hardcode_libdir_separator_GCJ=
15357 hardcode_direct_GCJ=no
15358 hardcode_minus_L_GCJ=no
15359 hardcode_shlibpath_var_GCJ=unsupported
15360 link_all_deplibs_GCJ=unknown
15361 hardcode_automatic_GCJ=no
15363 module_expsym_cmds_GCJ=
15364 always_export_symbols_GCJ=no
15365 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15366 # include_expsyms should be a list of space-separated symbols to be *always*
15367 # included in the symbol list
15368 include_expsyms_GCJ=
15369 # exclude_expsyms can be an extended regexp of symbols to exclude
15370 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15371 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15372 # as well as any symbol that contains `d'.
15373 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15374 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15375 # platforms (ab)use it in PIC code, but their linkers get confused if
15376 # the symbol is explicitly referenced. Since portable code cannot
15377 # rely on this symbol name, it's probably fine to never include it in
15378 # preloaded symbol tables.
15379 extract_expsyms_cmds=
15382 cygwin* | mingw* | pw32*)
15383 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15384 # When not using gcc, we currently assume that we are using
15385 # Microsoft Visual C++.
15386 if test "$GCC" != yes; then
15396 if test "$with_gnu_ld" = yes; then
15397 # If archive_cmds runs LD, not CC, wlarc should be empty
15400 # See if GNU ld supports shared libraries.
15402 aix3* | aix4* | aix5*)
15403 # On AIX/PPC, the GNU linker is very broken
15404 if test "$host_cpu" != ia64; then
15408 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15409 *** to be unable to reliably create shared libraries on AIX.
15410 *** Therefore, libtool is disabling shared libraries support. If you
15411 *** really care for shared libraries, you may want to modify your PATH
15412 *** so that a non-GNU linker is found, and then restart.
15419 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)'
15420 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15421 hardcode_minus_L_GCJ=yes
15423 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15424 # that the semantics of dynamic libraries on AmigaOS, at least up
15425 # to version 4, is to share data among multiple programs linked
15426 # with the same dynamic library. Since this doesn't match the
15427 # behavior of shared libraries on other platforms, we can't use
15433 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15434 allow_undefined_flag_GCJ=unsupported
15435 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15436 # support --undefined. This deserves some investigation. FIXME
15437 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15443 cygwin* | mingw* | pw32*)
15444 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15445 # as there is no search path for DLLs.
15446 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15447 allow_undefined_flag_GCJ=unsupported
15448 always_export_symbols_GCJ=no
15449 enable_shared_with_static_runtimes_GCJ=yes
15450 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15452 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15453 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15454 # If the export-symbols file already is a .def file (1st line
15455 # is EXPORTS), use it as is; otherwise, prepend...
15456 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15457 cp $export_symbols $output_objdir/$soname.def;
15459 echo EXPORTS > $output_objdir/$soname.def;
15460 cat $export_symbols >> $output_objdir/$soname.def;
15462 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15469 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15470 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15473 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15474 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15479 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15483 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15484 *** create shared libraries on Solaris systems. Therefore, libtool
15485 *** is disabling shared libraries support. We urge you to upgrade GNU
15486 *** binutils to release 2.9.1 or newer. Another option is to modify
15487 *** your PATH or compiler configuration so that the native linker is
15488 *** used, and then restart.
15491 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15492 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15493 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15500 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15502 hardcode_direct_GCJ=yes
15503 hardcode_shlibpath_var_GCJ=no
15507 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15508 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15509 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15516 if test "$ld_shlibs_GCJ" = yes; then
15517 runpath_var=LD_RUN_PATH
15518 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15519 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15520 # ancient GNU ld didn't support --whole-archive et. al.
15521 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15522 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15524 whole_archive_flag_spec_GCJ=
15528 # PORTME fill in a description of your system's linker (not GNU ld)
15531 allow_undefined_flag_GCJ=unsupported
15532 always_export_symbols_GCJ=yes
15533 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'
15534 # Note: this linker hardcodes the directories in LIBPATH if there
15535 # are no directories specified by -L.
15536 hardcode_minus_L_GCJ=yes
15537 if test "$GCC" = yes && test -z "$link_static_flag"; then
15538 # Neither direct hardcoding nor static linking is supported with a
15540 hardcode_direct_GCJ=unsupported
15545 if test "$host_cpu" = ia64; then
15546 # On IA64, the linker does run time linking by default, so we don't
15547 # have to do anything special.
15548 aix_use_runtimelinking=no
15549 exp_sym_flag='-Bexport'
15552 # If we're using GNU nm, then we don't want the "-C" option.
15553 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15554 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15555 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'
15557 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'
15559 aix_use_runtimelinking=no
15561 # Test if we are trying to use run time linking or normal
15562 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15563 # need to do runtime linking.
15564 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15565 for ld_flag in $LDFLAGS; do
15566 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15567 aix_use_runtimelinking=yes
15573 exp_sym_flag='-bexport'
15574 no_entry_flag='-bnoentry'
15577 # When large executables or shared objects are built, AIX ld can
15578 # have problems creating the table of contents. If linking a library
15579 # or program results in "error TOC overflow" add -mminimal-toc to
15580 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15581 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15583 archive_cmds_GCJ=''
15584 hardcode_direct_GCJ=yes
15585 hardcode_libdir_separator_GCJ=':'
15586 link_all_deplibs_GCJ=yes
15588 if test "$GCC" = yes; then
15589 case $host_os in aix4.012|aix4.012.*)
15590 # We only want to do this on AIX 4.2 and lower, the check
15591 # below for broken collect2 doesn't work under 4.3+
15592 collect2name=`${CC} -print-prog-name=collect2`
15593 if test -f "$collect2name" && \
15594 strings "$collect2name" | grep resolve_lib_name >/dev/null
15596 # We have reworked collect2
15597 hardcode_direct_GCJ=yes
15599 # We have old collect2
15600 hardcode_direct_GCJ=unsupported
15601 # It fails to find uninstalled libraries when the uninstalled
15602 # path is not listed in the libpath. Setting hardcode_minus_L
15603 # to unsupported forces relinking
15604 hardcode_minus_L_GCJ=yes
15605 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15606 hardcode_libdir_separator_GCJ=
15609 shared_flag='-shared'
15612 if test "$host_cpu" = ia64; then
15613 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15614 # chokes on -Wl,-G. The following line is correct:
15617 if test "$aix_use_runtimelinking" = yes; then
15618 shared_flag='${wl}-G'
15620 shared_flag='${wl}-bM:SRE'
15625 # It seems that -bexpall does not export symbols beginning with
15626 # underscore (_), so it is better to generate a list of symbols to export.
15627 always_export_symbols_GCJ=yes
15628 if test "$aix_use_runtimelinking" = yes; then
15629 # Warning - without using the other runtime loading flags (-brtl),
15630 # -berok will link without error, but may produce a broken library.
15631 allow_undefined_flag_GCJ='-berok'
15632 # Determine the default libpath from the value encoded in an empty executable.
15633 cat >conftest.$ac_ext <<_ACEOF
15634 #line $LINENO "configure"
15637 cat confdefs.h >>conftest.$ac_ext
15638 cat >>conftest.$ac_ext <<_ACEOF
15639 /* end confdefs.h. */
15649 rm -f conftest.$ac_objext conftest$ac_exeext
15650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15651 (eval $ac_link) 2>&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); } &&
15655 { ac_try='test -s conftest$ac_exeext'
15656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15657 (eval $ac_try) 2>&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); }; }; then
15662 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15664 # Check for a 64-bit object if we didn't find anything.
15665 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; }
15668 echo "$as_me: failed program was:" >&5
15669 sed 's/^/| /' conftest.$ac_ext >&5
15672 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15673 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15675 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15676 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"
15678 if test "$host_cpu" = ia64; then
15679 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15680 allow_undefined_flag_GCJ="-z nodefs"
15681 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"
15683 # Determine the default libpath from the value encoded in an empty executable.
15684 cat >conftest.$ac_ext <<_ACEOF
15685 #line $LINENO "configure"
15688 cat confdefs.h >>conftest.$ac_ext
15689 cat >>conftest.$ac_ext <<_ACEOF
15690 /* end confdefs.h. */
15700 rm -f conftest.$ac_objext conftest$ac_exeext
15701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15702 (eval $ac_link) 2>&5
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); } &&
15706 { ac_try='test -s conftest$ac_exeext'
15707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15708 (eval $ac_try) 2>&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); }; }; then
15713 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15715 # Check for a 64-bit object if we didn't find anything.
15716 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; }
15719 echo "$as_me: failed program was:" >&5
15720 sed 's/^/| /' conftest.$ac_ext >&5
15723 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15724 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15726 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15727 # Warning - without using the other run time loading flags,
15728 # -berok will link without error, but may produce a broken library.
15729 no_undefined_flag_GCJ=' ${wl}-bernotok'
15730 allow_undefined_flag_GCJ=' ${wl}-berok'
15731 # -bexpall does not export symbols beginning with underscore (_)
15732 always_export_symbols_GCJ=yes
15733 # Exported symbols can be pulled into shared objects from archives
15734 whole_archive_flag_spec_GCJ=' '
15735 archive_cmds_need_lc_GCJ=yes
15736 # This is similar to how AIX traditionally builds it's shared libraries.
15737 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'
15743 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)'
15744 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15745 hardcode_minus_L_GCJ=yes
15746 # see comment about different semantics on the GNU ld section
15751 export_dynamic_flag_spec_GCJ=-rdynamic
15754 cygwin* | mingw* | pw32*)
15755 # When not using gcc, we currently assume that we are using
15756 # Microsoft Visual C++.
15757 # hardcode_libdir_flag_spec is actually meaningless, as there is
15758 # no search path for DLLs.
15759 hardcode_libdir_flag_spec_GCJ=' '
15760 allow_undefined_flag_GCJ=unsupported
15761 # Tell ltmain to make .lib files, not .a files.
15763 # Tell ltmain to make .dll files, not .so files.
15765 # FIXME: Setting linknames here is a bad hack.
15766 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15767 # The linker will automatically build a .lib file if we build a DLL.
15768 old_archive_From_new_cmds_GCJ='true'
15769 # FIXME: Should let the user specify the lib program.
15770 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15771 fix_srcfile_path='`cygpath -w "$srcfile"`'
15772 enable_shared_with_static_runtimes_GCJ=yes
15775 darwin* | rhapsody*)
15776 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15777 archive_cmds_need_lc_GCJ=no
15779 rhapsody* | darwin1.[012])
15780 allow_undefined_flag_GCJ='-undefined suppress'
15783 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15786 # FIXME: Relying on posixy $() will cause problems for
15787 # cross-compilation, but unfortunately the echo tests do not
15788 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15789 # `"' quotes if we put them in here... so don't!
15790 lt_int_apple_cc_single_mod=no
15791 output_verbose_link_cmd='echo'
15792 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15793 lt_int_apple_cc_single_mod=yes
15795 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15796 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15798 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'
15800 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15801 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15802 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15803 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}'
15805 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}'
15807 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}'
15808 hardcode_direct_GCJ=no
15809 hardcode_automatic_GCJ=yes
15810 hardcode_shlibpath_var_GCJ=unsupported
15811 whole_archive_flag_spec_GCJ='-all_load $convenience'
15812 link_all_deplibs_GCJ=yes
15817 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15818 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15819 hardcode_shlibpath_var_GCJ=no
15826 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15827 # support. Future versions do this automatically, but an explicit c++rt0.o
15828 # does not break anything, and helps significantly (at the cost of a little
15831 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15832 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15833 hardcode_direct_GCJ=yes
15834 hardcode_shlibpath_var_GCJ=no
15837 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15839 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15840 hardcode_direct_GCJ=yes
15841 hardcode_minus_L_GCJ=yes
15842 hardcode_shlibpath_var_GCJ=no
15845 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15847 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15848 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15849 hardcode_direct_GCJ=yes
15850 hardcode_shlibpath_var_GCJ=no
15854 if test "$GCC" = yes; then
15855 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'
15857 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'
15859 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15860 hardcode_libdir_separator_GCJ=:
15861 hardcode_direct_GCJ=yes
15863 # hardcode_minus_L: Not really in the search PATH,
15864 # but as the default location of the library.
15865 hardcode_minus_L_GCJ=yes
15866 export_dynamic_flag_spec_GCJ='${wl}-E'
15870 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15871 case "$host_cpu" in
15873 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15876 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15880 case "$host_cpu" in
15882 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15885 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15889 if test "$with_gnu_ld" = no; then
15890 case "$host_cpu" in
15892 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15893 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15894 hardcode_libdir_separator_GCJ=:
15895 hardcode_direct_GCJ=no
15896 hardcode_shlibpath_var_GCJ=no
15899 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15900 hardcode_direct_GCJ=no
15901 hardcode_shlibpath_var_GCJ=no
15903 # hardcode_minus_L: Not really in the search PATH,
15904 # but as the default location of the library.
15905 hardcode_minus_L_GCJ=yes
15908 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15909 hardcode_libdir_separator_GCJ=:
15910 hardcode_direct_GCJ=yes
15911 export_dynamic_flag_spec_GCJ='${wl}-E'
15913 # hardcode_minus_L: Not really in the search PATH,
15914 # but as the default location of the library.
15915 hardcode_minus_L_GCJ=yes
15921 irix5* | irix6* | nonstopux*)
15922 if test "$GCC" = yes; then
15923 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'
15925 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'
15926 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15928 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15929 hardcode_libdir_separator_GCJ=:
15930 link_all_deplibs_GCJ=yes
15934 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15935 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15937 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15939 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15940 hardcode_direct_GCJ=yes
15941 hardcode_shlibpath_var_GCJ=no
15945 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15946 hardcode_direct_GCJ=yes
15947 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15948 hardcode_libdir_separator_GCJ=:
15949 hardcode_shlibpath_var_GCJ=no
15953 hardcode_direct_GCJ=yes
15954 hardcode_shlibpath_var_GCJ=no
15955 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15956 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15957 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15958 export_dynamic_flag_spec_GCJ='${wl}-E'
15961 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15962 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15963 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15966 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15967 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15974 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15975 hardcode_minus_L_GCJ=yes
15976 allow_undefined_flag_GCJ=unsupported
15977 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'
15978 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15982 if test "$GCC" = yes; then
15983 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
15984 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'
15986 allow_undefined_flag_GCJ=' -expect_unresolved \*'
15987 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'
15989 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15990 hardcode_libdir_separator_GCJ=:
15993 osf4* | osf5*) # as osf3* with the addition of -msym flag
15994 if test "$GCC" = yes; then
15995 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
15996 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'
15997 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15999 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16000 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'
16001 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~
16002 $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'
16004 # Both c and cxx compiler support -rpath directly
16005 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16007 hardcode_libdir_separator_GCJ=:
16011 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16012 hardcode_shlibpath_var_GCJ=no
16013 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16014 runpath_var=LD_RUN_PATH
16015 hardcode_runpath_var=yes
16019 no_undefined_flag_GCJ=' -z text'
16020 if test "$GCC" = yes; then
16021 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16022 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16023 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16025 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16026 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16027 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16029 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16030 hardcode_shlibpath_var_GCJ=no
16032 solaris2.[0-5] | solaris2.[0-5].*) ;;
16033 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16034 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16036 link_all_deplibs_GCJ=yes
16040 if test "x$host_vendor" = xsequent; then
16041 # Use $CC to link under sequent, because it throws in some extra .o
16042 # files that make .init and .fini sections work.
16043 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16045 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16047 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16048 hardcode_direct_GCJ=yes
16049 hardcode_minus_L_GCJ=yes
16050 hardcode_shlibpath_var_GCJ=no
16054 case $host_vendor in
16056 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16057 hardcode_direct_GCJ=yes # is this really true???
16060 ## LD is ld it makes a PLAMLIB
16061 ## CC just makes a GrossModule.
16062 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16063 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16064 hardcode_direct_GCJ=no
16067 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16068 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16071 runpath_var='LD_RUN_PATH'
16072 hardcode_shlibpath_var_GCJ=no
16076 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16077 hardcode_shlibpath_var_GCJ=no
16078 export_dynamic_flag_spec_GCJ='-Bexport'
16082 if test -d /usr/nec; then
16083 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16084 hardcode_shlibpath_var_GCJ=no
16085 runpath_var=LD_RUN_PATH
16086 hardcode_runpath_var=yes
16092 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16093 hardcode_direct_GCJ=yes
16094 hardcode_minus_L_GCJ=no
16095 hardcode_shlibpath_var_GCJ=no
16096 hardcode_runpath_var=yes
16097 runpath_var=LD_RUN_PATH
16100 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16101 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16102 if test "$GCC" = yes; then
16103 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16105 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16107 runpath_var='LD_RUN_PATH'
16108 hardcode_shlibpath_var_GCJ=no
16112 no_undefined_flag_GCJ=' -z text'
16113 # $CC -shared without GNU ld will not create a library from C++
16114 # object files and a static libstdc++, better avoid it by now
16115 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16116 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16117 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16118 hardcode_libdir_flag_spec_GCJ=
16119 hardcode_shlibpath_var_GCJ=no
16120 runpath_var='LD_RUN_PATH'
16124 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16125 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16126 hardcode_shlibpath_var_GCJ=no
16135 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16136 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16137 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16139 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16140 if test "$GCC" = yes; then
16141 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16145 # Do we need to explicitly link libc?
16147 case "x$archive_cmds_need_lc_GCJ" in
16149 # Assume -lc should be added
16150 archive_cmds_need_lc_GCJ=yes
16152 if test "$enable_shared" = yes && test "$GCC" = yes; then
16153 case $archive_cmds_GCJ in
16155 # FIXME: we may have to deal with multi-command sequences.
16158 # Test whether the compiler implicitly links with -lc since on some
16159 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16160 # to ld, don't add -lc before -lgcc.
16161 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16162 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16164 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16167 (eval $ac_compile) 2>&5
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); } 2>conftest.err; then
16173 libobjs=conftest.$ac_objext
16175 wl=$lt_prog_compiler_wl_GCJ
16181 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16182 allow_undefined_flag_GCJ=
16183 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16184 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); }
16189 archive_cmds_need_lc_GCJ=no
16191 archive_cmds_need_lc_GCJ=yes
16193 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16195 cat conftest.err 1>&5
16198 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16199 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16206 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16207 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16208 hardcode_action_GCJ=
16209 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16210 test -n "$runpath_var GCJ" || \
16211 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16213 # We can hardcode non-existant directories.
16214 if test "$hardcode_direct_GCJ" != no &&
16215 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16216 # have to relink, otherwise we might link with an installed library
16217 # when we should be linking with a yet-to-be-installed one
16218 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16219 test "$hardcode_minus_L_GCJ" != no; then
16220 # Linking always hardcodes the temporary library directory.
16221 hardcode_action_GCJ=relink
16223 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16224 hardcode_action_GCJ=immediate
16227 # We cannot hardcode anything, or else we can only hardcode existing
16229 hardcode_action_GCJ=unsupported
16231 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16232 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16234 if test "$hardcode_action_GCJ" = relink; then
16235 # Fast installation is not supported
16236 enable_fast_install=no
16237 elif test "$shlibpath_overrides_runpath" = yes ||
16238 test "$enable_shared" = no; then
16239 # Fast installation is not necessary
16240 enable_fast_install=needless
16245 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16246 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16247 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16248 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16249 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16250 echo "$as_me:$LINENO: result: yes" >&5
16251 echo "${ECHO_T}yes" >&6
16253 # FIXME - insert some real tests, host_os isn't really good enough
16256 if test -n "$STRIP" ; then
16257 striplib="$STRIP -x"
16258 echo "$as_me:$LINENO: result: yes" >&5
16259 echo "${ECHO_T}yes" >&6
16261 echo "$as_me:$LINENO: result: no" >&5
16262 echo "${ECHO_T}no" >&6
16266 echo "$as_me:$LINENO: result: no" >&5
16267 echo "${ECHO_T}no" >&6
16272 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16273 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16274 library_names_spec=
16275 libname_spec='lib$name'
16279 postuninstall_cmds=
16283 shlibpath_overrides_runpath=unknown
16285 dynamic_linker="$host_os ld.so"
16286 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16287 if test "$GCC" = yes; then
16288 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16289 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16290 # if the path contains ";" then we assume it to be the separator
16291 # otherwise default to the standard path separator (i.e. ":") - it is
16292 # assumed that no part of a normal pathname contains ";" but that should
16293 # okay in the real world where ";" in dirpaths is itself problematic.
16294 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16296 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16299 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16301 need_lib_prefix=unknown
16302 hardcode_into_libs=no
16304 # when you set need_version to no, make sure it does not cause -set_version
16305 # flags to be left without arguments
16306 need_version=unknown
16311 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16312 shlibpath_var=LIBPATH
16314 # AIX 3 has no versioning support, so we append a major version to the name.
16315 soname_spec='${libname}${release}${shared_ext}$major'
16322 hardcode_into_libs=yes
16323 if test "$host_cpu" = ia64; then
16324 # AIX 5 supports IA64
16325 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16326 shlibpath_var=LD_LIBRARY_PATH
16328 # With GCC up to 2.95.x, collect2 would create an import file
16329 # for dependence libraries. The import file would start with
16330 # the line `#! .'. This would cause the generated library to
16331 # depend on `.', always an invalid library. This was fixed in
16332 # development snapshots of GCC prior to 3.0.
16334 aix4 | aix4.[01] | aix4.[01].*)
16335 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16337 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16340 can_build_shared=no
16344 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16345 # soname into executable. Probably we can add versioning support to
16346 # collect2, so additional links can be useful in future.
16347 if test "$aix_use_runtimelinking" = yes; then
16348 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16349 # instead of lib<name>.a to let people know that these are not
16350 # typical AIX shared libraries.
16351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16353 # We preserve .a as extension for shared libraries through AIX4.2
16354 # and later when we are not doing run time linking.
16355 library_names_spec='${libname}${release}.a $libname.a'
16356 soname_spec='${libname}${release}${shared_ext}$major'
16358 shlibpath_var=LIBPATH
16363 library_names_spec='$libname.ixlibrary $libname.a'
16364 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16365 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'
16369 library_names_spec='${libname}${shared_ext}'
16370 dynamic_linker="$host_os ld.so"
16371 shlibpath_var=LIBRARY_PATH
16377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16378 soname_spec='${libname}${release}${shared_ext}$major'
16379 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16380 shlibpath_var=LD_LIBRARY_PATH
16381 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16382 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16383 # the default ld.so.conf also contains /usr/contrib/lib and
16384 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16385 # libtool to hard-code these into programs
16388 cygwin* | mingw* | pw32*)
16389 version_type=windows
16394 case $GCC,$host_os in
16395 yes,cygwin* | yes,mingw* | yes,pw32*)
16396 library_names_spec='$libname.dll.a'
16397 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16398 postinstall_cmds='base_file=`basename \${file}`~
16399 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16400 dldir=$destdir/`dirname \$dlpath`~
16401 test -d \$dldir || mkdir -p \$dldir~
16402 $install_prog $dir/$dlname \$dldir/$dlname'
16403 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16404 dlpath=$dir/\$dldll~
16406 shlibpath_overrides_runpath=yes
16410 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16411 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16412 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16415 # MinGW DLLs use traditional 'lib' prefix
16416 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16417 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16418 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16419 # It is most probably a Windows format PATH printed by
16420 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16421 # path with ; separators, and with drive letters. We can handle the
16422 # drive letters (cygwin fileutils understands them), so leave them,
16423 # especially as we might pass files found there to a mingw objdump,
16424 # which wouldn't understand a cygwinified path. Ahh.
16425 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16427 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16431 # pw32 DLLs use 'pw' prefix rather than 'lib'
16432 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16438 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16441 dynamic_linker='Win32 ld.exe'
16442 # FIXME: first we should search . and the directory the executable is in
16446 darwin* | rhapsody*)
16447 dynamic_linker="$host_os dyld"
16448 version_type=darwin
16451 # FIXME: Relying on posixy $() will cause problems for
16452 # cross-compilation, but unfortunately the echo tests do not
16453 # yet detect zsh echo's removal of \ escapes.
16454 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16455 soname_spec='${libname}${release}${major}$shared_ext'
16456 shlibpath_overrides_runpath=yes
16457 shlibpath_var=DYLD_LIBRARY_PATH
16458 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16459 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16460 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16461 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"`
16463 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16471 soname_spec='${libname}${release}${shared_ext}$major'
16472 shlibpath_var=LD_LIBRARY_PATH
16480 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16481 version_type=freebsd-$objformat
16482 case $version_type in
16484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16489 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16493 shlibpath_var=LD_LIBRARY_PATH
16496 shlibpath_overrides_runpath=yes
16498 freebsd3.01* | freebsdelf3.01*)
16499 shlibpath_overrides_runpath=yes
16500 hardcode_into_libs=yes
16503 shlibpath_overrides_runpath=no
16504 hardcode_into_libs=yes
16513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16514 soname_spec='${libname}${release}${shared_ext}$major'
16515 shlibpath_var=LD_LIBRARY_PATH
16516 hardcode_into_libs=yes
16519 hpux9* | hpux10* | hpux11*)
16520 # Give a soname corresponding to the major version so that dld.sl refuses to
16521 # link against other versions.
16525 case "$host_cpu" in
16528 hardcode_into_libs=yes
16529 dynamic_linker="$host_os dld.so"
16530 shlibpath_var=LD_LIBRARY_PATH
16531 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16533 soname_spec='${libname}${release}${shared_ext}$major'
16534 if test "X$HPUX_IA64_MODE" = X32; then
16535 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16537 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16539 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16543 hardcode_into_libs=yes
16544 dynamic_linker="$host_os dld.sl"
16545 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16546 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16548 soname_spec='${libname}${release}${shared_ext}$major'
16549 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16550 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16554 dynamic_linker="$host_os dld.sl"
16555 shlibpath_var=SHLIB_PATH
16556 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16558 soname_spec='${libname}${release}${shared_ext}$major'
16561 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16562 postinstall_cmds='chmod 555 $lib'
16565 irix5* | irix6* | nonstopux*)
16567 nonstopux*) version_type=nonstopux ;;
16569 if test "$lt_cv_prog_gnu_ld" = yes; then
16577 soname_spec='${libname}${release}${shared_ext}$major'
16578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16580 irix5* | nonstopux*)
16581 libsuff= shlibsuff=
16584 case $LD in # libtool.m4 will add one of these switches to LD
16585 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16586 libsuff= shlibsuff= libmagic=32-bit;;
16587 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16588 libsuff=32 shlibsuff=N32 libmagic=N32;;
16589 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16590 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16591 *) libsuff= shlibsuff= libmagic=never-match;;
16595 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16596 shlibpath_overrides_runpath=no
16597 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16598 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16599 hardcode_into_libs=yes
16602 # No shared lib support for Linux oldld, aout, or coff.
16603 linux*oldld* | linux*aout* | linux*coff*)
16607 # This must be Linux ELF.
16612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16613 soname_spec='${libname}${release}${shared_ext}$major'
16614 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16615 shlibpath_var=LD_LIBRARY_PATH
16616 shlibpath_overrides_runpath=no
16617 # This implies no fast_install, which is unacceptable.
16618 # Some rework will be needed to allow for fast_install
16619 # before this can be enabled.
16620 hardcode_into_libs=yes
16622 # We used to test for /lib/ld.so.1 and disable shared libraries on
16623 # powerpc, because MkLinux only supported shared libraries with the
16624 # GNU dynamic linker. Since this was broken with cross compilers,
16625 # most powerpc-linux boxes support dynamic linking these days and
16626 # people can always --disable-shared, the test was removed, and we
16627 # assume the GNU/Linux dynamic linker is in use.
16628 dynamic_linker='GNU/Linux ld.so'
16635 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16637 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16638 dynamic_linker='NetBSD (a.out) ld.so'
16640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16641 soname_spec='${libname}${release}${shared_ext}$major'
16642 dynamic_linker='NetBSD ld.elf_so'
16644 shlibpath_var=LD_LIBRARY_PATH
16645 shlibpath_overrides_runpath=yes
16646 hardcode_into_libs=yes
16651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16652 shlibpath_var=LD_LIBRARY_PATH
16653 shlibpath_overrides_runpath=yes
16660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16661 soname_spec='${libname}${release}${shared_ext}$major'
16662 shlibpath_var=LD_LIBRARY_PATH
16663 shlibpath_overrides_runpath=yes
16670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16671 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16672 shlibpath_var=LD_LIBRARY_PATH
16673 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16675 openbsd2.[89] | openbsd2.[89].*)
16676 shlibpath_overrides_runpath=no
16679 shlibpath_overrides_runpath=yes
16683 shlibpath_overrides_runpath=yes
16688 libname_spec='$name'
16691 library_names_spec='$libname${shared_ext} $libname.a'
16692 dynamic_linker='OS/2 ld.exe'
16693 shlibpath_var=LIBPATH
16696 osf3* | osf4* | osf5*)
16700 soname_spec='${libname}${release}${shared_ext}$major'
16701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16702 shlibpath_var=LD_LIBRARY_PATH
16703 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16704 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16709 soname_spec='${libname}${release}${shared_ext}$major'
16710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16711 shlibpath_var=LD_LIBRARY_PATH
16718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16719 soname_spec='${libname}${release}${shared_ext}$major'
16720 shlibpath_var=LD_LIBRARY_PATH
16721 shlibpath_overrides_runpath=yes
16722 hardcode_into_libs=yes
16723 # ldd complains unless libraries are executable
16724 postinstall_cmds='chmod +x $lib'
16729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16730 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16731 shlibpath_var=LD_LIBRARY_PATH
16732 shlibpath_overrides_runpath=yes
16733 if test "$with_gnu_ld" = yes; then
16739 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16742 soname_spec='${libname}${release}${shared_ext}$major'
16743 shlibpath_var=LD_LIBRARY_PATH
16744 case $host_vendor in
16746 shlibpath_overrides_runpath=no
16748 export_dynamic_flag_spec='${wl}-Blargedynsym'
16749 runpath_var=LD_RUN_PATH
16757 shlibpath_overrides_runpath=no
16758 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16764 if test -d /usr/nec ;then
16766 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16767 soname_spec='$libname${shared_ext}.$major'
16768 shlibpath_var=LD_LIBRARY_PATH
16774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16775 soname_spec='${libname}${release}${shared_ext}$major'
16776 shlibpath_var=LD_LIBRARY_PATH
16783 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16784 echo "${ECHO_T}$dynamic_linker" >&6
16785 test "$dynamic_linker" = no && can_build_shared=no
16787 if test "x$enable_dlopen" != xyes; then
16788 enable_dlopen=unknown
16789 enable_dlopen_self=unknown
16790 enable_dlopen_self_static=unknown
16797 lt_cv_dlopen="load_add_on"
16799 lt_cv_dlopen_self=yes
16803 lt_cv_dlopen="LoadLibrary"
16808 lt_cv_dlopen="dlopen"
16813 # if libdl is installed we need to link against it
16814 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16815 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16816 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16817 echo $ECHO_N "(cached) $ECHO_C" >&6
16819 ac_check_lib_save_LIBS=$LIBS
16821 cat >conftest.$ac_ext <<_ACEOF
16822 #line $LINENO "configure"
16825 cat confdefs.h >>conftest.$ac_ext
16826 cat >>conftest.$ac_ext <<_ACEOF
16827 /* end confdefs.h. */
16829 /* Override any gcc2 internal prototype to avoid an error. */
16833 /* We use char because int might match the return type of a gcc2
16834 builtin and then its argument prototype would still apply. */
16844 rm -f conftest.$ac_objext conftest$ac_exeext
16845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16846 (eval $ac_link) 2>&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); } &&
16850 { ac_try='test -s conftest$ac_exeext'
16851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16852 (eval $ac_try) 2>&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); }; }; then
16856 ac_cv_lib_dl_dlopen=yes
16858 echo "$as_me: failed program was:" >&5
16859 sed 's/^/| /' conftest.$ac_ext >&5
16861 ac_cv_lib_dl_dlopen=no
16863 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16864 LIBS=$ac_check_lib_save_LIBS
16866 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16867 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16868 if test $ac_cv_lib_dl_dlopen = yes; then
16869 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16872 lt_cv_dlopen="dyld"
16874 lt_cv_dlopen_self=yes
16881 echo "$as_me:$LINENO: checking for shl_load" >&5
16882 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16883 if test "${ac_cv_func_shl_load+set}" = set; then
16884 echo $ECHO_N "(cached) $ECHO_C" >&6
16886 cat >conftest.$ac_ext <<_ACEOF
16887 #line $LINENO "configure"
16890 cat confdefs.h >>conftest.$ac_ext
16891 cat >>conftest.$ac_ext <<_ACEOF
16892 /* end confdefs.h. */
16893 /* System header to define __stub macros and hopefully few prototypes,
16894 which can conflict with char shl_load (); below.
16895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16896 <limits.h> exists even on freestanding compilers. */
16898 # include <limits.h>
16900 # include <assert.h>
16902 /* Override any gcc2 internal prototype to avoid an error. */
16907 /* We use char because int might match the return type of a gcc2
16908 builtin and then its argument prototype would still apply. */
16910 /* The GNU C library defines this for functions which it implements
16911 to always fail with ENOSYS. Some functions are actually named
16912 something starting with __ and the normal name is an alias. */
16913 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16916 char (*f) () = shl_load;
16925 return f != shl_load;
16930 rm -f conftest.$ac_objext conftest$ac_exeext
16931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16932 (eval $ac_link) 2>&5
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); } &&
16936 { ac_try='test -s conftest$ac_exeext'
16937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16938 (eval $ac_try) 2>&5
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); }; }; then
16942 ac_cv_func_shl_load=yes
16944 echo "$as_me: failed program was:" >&5
16945 sed 's/^/| /' conftest.$ac_ext >&5
16947 ac_cv_func_shl_load=no
16949 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16951 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16952 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
16953 if test $ac_cv_func_shl_load = yes; then
16954 lt_cv_dlopen="shl_load"
16956 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16957 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
16958 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16959 echo $ECHO_N "(cached) $ECHO_C" >&6
16961 ac_check_lib_save_LIBS=$LIBS
16963 cat >conftest.$ac_ext <<_ACEOF
16964 #line $LINENO "configure"
16967 cat confdefs.h >>conftest.$ac_ext
16968 cat >>conftest.$ac_ext <<_ACEOF
16969 /* end confdefs.h. */
16971 /* Override any gcc2 internal prototype to avoid an error. */
16975 /* We use char because int might match the return type of a gcc2
16976 builtin and then its argument prototype would still apply. */
16986 rm -f conftest.$ac_objext conftest$ac_exeext
16987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16988 (eval $ac_link) 2>&5
16990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991 (exit $ac_status); } &&
16992 { ac_try='test -s conftest$ac_exeext'
16993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16994 (eval $ac_try) 2>&5
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); }; }; then
16998 ac_cv_lib_dld_shl_load=yes
17000 echo "$as_me: failed program was:" >&5
17001 sed 's/^/| /' conftest.$ac_ext >&5
17003 ac_cv_lib_dld_shl_load=no
17005 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17006 LIBS=$ac_check_lib_save_LIBS
17008 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17009 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17010 if test $ac_cv_lib_dld_shl_load = yes; then
17011 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17013 echo "$as_me:$LINENO: checking for dlopen" >&5
17014 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17015 if test "${ac_cv_func_dlopen+set}" = set; then
17016 echo $ECHO_N "(cached) $ECHO_C" >&6
17018 cat >conftest.$ac_ext <<_ACEOF
17019 #line $LINENO "configure"
17022 cat confdefs.h >>conftest.$ac_ext
17023 cat >>conftest.$ac_ext <<_ACEOF
17024 /* end confdefs.h. */
17025 /* System header to define __stub macros and hopefully few prototypes,
17026 which can conflict with char dlopen (); below.
17027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17028 <limits.h> exists even on freestanding compilers. */
17030 # include <limits.h>
17032 # include <assert.h>
17034 /* Override any gcc2 internal prototype to avoid an error. */
17039 /* We use char because int might match the return type of a gcc2
17040 builtin and then its argument prototype would still apply. */
17042 /* The GNU C library defines this for functions which it implements
17043 to always fail with ENOSYS. Some functions are actually named
17044 something starting with __ and the normal name is an alias. */
17045 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17048 char (*f) () = dlopen;
17057 return f != dlopen;
17062 rm -f conftest.$ac_objext conftest$ac_exeext
17063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17064 (eval $ac_link) 2>&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); } &&
17068 { ac_try='test -s conftest$ac_exeext'
17069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17070 (eval $ac_try) 2>&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); }; }; then
17074 ac_cv_func_dlopen=yes
17076 echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.$ac_ext >&5
17079 ac_cv_func_dlopen=no
17081 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17083 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17084 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17085 if test $ac_cv_func_dlopen = yes; then
17086 lt_cv_dlopen="dlopen"
17088 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17089 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17090 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17091 echo $ECHO_N "(cached) $ECHO_C" >&6
17093 ac_check_lib_save_LIBS=$LIBS
17095 cat >conftest.$ac_ext <<_ACEOF
17096 #line $LINENO "configure"
17099 cat confdefs.h >>conftest.$ac_ext
17100 cat >>conftest.$ac_ext <<_ACEOF
17101 /* end confdefs.h. */
17103 /* Override any gcc2 internal prototype to avoid an error. */
17107 /* We use char because int might match the return type of a gcc2
17108 builtin and then its argument prototype would still apply. */
17118 rm -f conftest.$ac_objext conftest$ac_exeext
17119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17120 (eval $ac_link) 2>&5
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); } &&
17124 { ac_try='test -s conftest$ac_exeext'
17125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17126 (eval $ac_try) 2>&5
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); }; }; then
17130 ac_cv_lib_dl_dlopen=yes
17132 echo "$as_me: failed program was:" >&5
17133 sed 's/^/| /' conftest.$ac_ext >&5
17135 ac_cv_lib_dl_dlopen=no
17137 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17138 LIBS=$ac_check_lib_save_LIBS
17140 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17141 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17142 if test $ac_cv_lib_dl_dlopen = yes; then
17143 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17145 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17146 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17147 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17148 echo $ECHO_N "(cached) $ECHO_C" >&6
17150 ac_check_lib_save_LIBS=$LIBS
17151 LIBS="-lsvld $LIBS"
17152 cat >conftest.$ac_ext <<_ACEOF
17153 #line $LINENO "configure"
17156 cat confdefs.h >>conftest.$ac_ext
17157 cat >>conftest.$ac_ext <<_ACEOF
17158 /* end confdefs.h. */
17160 /* Override any gcc2 internal prototype to avoid an error. */
17164 /* We use char because int might match the return type of a gcc2
17165 builtin and then its argument prototype would still apply. */
17175 rm -f conftest.$ac_objext conftest$ac_exeext
17176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17177 (eval $ac_link) 2>&5
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); } &&
17181 { ac_try='test -s conftest$ac_exeext'
17182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17183 (eval $ac_try) 2>&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); }; }; then
17187 ac_cv_lib_svld_dlopen=yes
17189 echo "$as_me: failed program was:" >&5
17190 sed 's/^/| /' conftest.$ac_ext >&5
17192 ac_cv_lib_svld_dlopen=no
17194 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17195 LIBS=$ac_check_lib_save_LIBS
17197 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17198 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17199 if test $ac_cv_lib_svld_dlopen = yes; then
17200 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17202 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17203 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17204 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17205 echo $ECHO_N "(cached) $ECHO_C" >&6
17207 ac_check_lib_save_LIBS=$LIBS
17209 cat >conftest.$ac_ext <<_ACEOF
17210 #line $LINENO "configure"
17213 cat confdefs.h >>conftest.$ac_ext
17214 cat >>conftest.$ac_ext <<_ACEOF
17215 /* end confdefs.h. */
17217 /* Override any gcc2 internal prototype to avoid an error. */
17221 /* We use char because int might match the return type of a gcc2
17222 builtin and then its argument prototype would still apply. */
17232 rm -f conftest.$ac_objext conftest$ac_exeext
17233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17234 (eval $ac_link) 2>&5
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); } &&
17238 { ac_try='test -s conftest$ac_exeext'
17239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17240 (eval $ac_try) 2>&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); }; }; then
17244 ac_cv_lib_dld_dld_link=yes
17246 echo "$as_me: failed program was:" >&5
17247 sed 's/^/| /' conftest.$ac_ext >&5
17249 ac_cv_lib_dld_dld_link=no
17251 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17252 LIBS=$ac_check_lib_save_LIBS
17254 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17255 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17256 if test $ac_cv_lib_dld_dld_link = yes; then
17257 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17278 if test "x$lt_cv_dlopen" != xno; then
17284 case $lt_cv_dlopen in
17286 save_CPPFLAGS="$CPPFLAGS"
17287 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17289 save_LDFLAGS="$LDFLAGS"
17290 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17293 LIBS="$lt_cv_dlopen_libs $LIBS"
17295 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17296 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17297 if test "${lt_cv_dlopen_self+set}" = set; then
17298 echo $ECHO_N "(cached) $ECHO_C" >&6
17300 if test "$cross_compiling" = yes; then :
17301 lt_cv_dlopen_self=cross
17303 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17304 lt_status=$lt_dlunknown
17305 cat > conftest.$ac_ext <<EOF
17306 #line 17306 "configure"
17307 #include "confdefs.h"
17316 # define LT_DLGLOBAL RTLD_GLOBAL
17319 # define LT_DLGLOBAL DL_GLOBAL
17321 # define LT_DLGLOBAL 0
17325 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17326 find out it does not work in some platform. */
17327 #ifndef LT_DLLAZY_OR_NOW
17329 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17332 # define LT_DLLAZY_OR_NOW DL_LAZY
17335 # define LT_DLLAZY_OR_NOW RTLD_NOW
17338 # define LT_DLLAZY_OR_NOW DL_NOW
17340 # define LT_DLLAZY_OR_NOW 0
17348 extern "C" void exit (int);
17351 void fnord() { int i=42;}
17354 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17355 int status = $lt_dlunknown;
17359 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17360 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17361 /* dlclose (self); */
17367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17368 (eval $ac_link) 2>&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17372 (./conftest; exit; ) 2>/dev/null
17374 case x$lt_status in
17375 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17376 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17377 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17380 # compilation failed
17381 lt_cv_dlopen_self=no
17388 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17389 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17391 if test "x$lt_cv_dlopen_self" = xyes; then
17392 LDFLAGS="$LDFLAGS $link_static_flag"
17393 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17394 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17395 if test "${lt_cv_dlopen_self_static+set}" = set; then
17396 echo $ECHO_N "(cached) $ECHO_C" >&6
17398 if test "$cross_compiling" = yes; then :
17399 lt_cv_dlopen_self_static=cross
17401 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17402 lt_status=$lt_dlunknown
17403 cat > conftest.$ac_ext <<EOF
17404 #line 17404 "configure"
17405 #include "confdefs.h"
17414 # define LT_DLGLOBAL RTLD_GLOBAL
17417 # define LT_DLGLOBAL DL_GLOBAL
17419 # define LT_DLGLOBAL 0
17423 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17424 find out it does not work in some platform. */
17425 #ifndef LT_DLLAZY_OR_NOW
17427 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17430 # define LT_DLLAZY_OR_NOW DL_LAZY
17433 # define LT_DLLAZY_OR_NOW RTLD_NOW
17436 # define LT_DLLAZY_OR_NOW DL_NOW
17438 # define LT_DLLAZY_OR_NOW 0
17446 extern "C" void exit (int);
17449 void fnord() { int i=42;}
17452 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17453 int status = $lt_dlunknown;
17457 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17458 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17459 /* dlclose (self); */
17465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17466 (eval $ac_link) 2>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17470 (./conftest; exit; ) 2>/dev/null
17472 case x$lt_status in
17473 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17474 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17475 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17478 # compilation failed
17479 lt_cv_dlopen_self_static=no
17486 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17487 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17490 CPPFLAGS="$save_CPPFLAGS"
17491 LDFLAGS="$save_LDFLAGS"
17496 case $lt_cv_dlopen_self in
17497 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17498 *) enable_dlopen_self=unknown ;;
17501 case $lt_cv_dlopen_self_static in
17502 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17503 *) enable_dlopen_self_static=unknown ;;
17508 # The else clause should only fire when bootstrapping the
17509 # libtool distribution, otherwise you forgot to ship ltmain.sh
17510 # with your package, and you will get complaints that there are
17511 # no rules to generate ltmain.sh.
17512 if test -f "$ltmain"; then
17513 # See if we are running on zsh, and set the options which allow our commands through
17514 # without removal of \ escapes.
17515 if test -n "${ZSH_VERSION+set}" ; then
17516 setopt NO_GLOB_SUBST
17518 # Now quote all the things that may contain metacharacters while being
17519 # careful not to overquote the AC_SUBSTed values. We take copies of the
17520 # variables and quote the copies for generation of the libtool script.
17521 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17522 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17523 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17524 deplibs_check_method reload_flag reload_cmds need_locks \
17525 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17526 lt_cv_sys_global_symbol_to_c_name_address \
17527 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17528 old_postinstall_cmds old_postuninstall_cmds \
17532 lt_prog_compiler_wl_GCJ \
17533 lt_prog_compiler_pic_GCJ \
17534 lt_prog_compiler_static_GCJ \
17535 lt_prog_compiler_no_builtin_flag_GCJ \
17536 export_dynamic_flag_spec_GCJ \
17537 thread_safe_flag_spec_GCJ \
17538 whole_archive_flag_spec_GCJ \
17539 enable_shared_with_static_runtimes_GCJ \
17540 old_archive_cmds_GCJ \
17541 old_archive_from_new_cmds_GCJ \
17542 predep_objects_GCJ \
17543 postdep_objects_GCJ \
17546 compiler_lib_search_path_GCJ \
17548 archive_expsym_cmds_GCJ \
17549 postinstall_cmds_GCJ \
17550 postuninstall_cmds_GCJ \
17551 old_archive_from_expsyms_cmds_GCJ \
17552 allow_undefined_flag_GCJ \
17553 no_undefined_flag_GCJ \
17554 export_symbols_cmds_GCJ \
17555 hardcode_libdir_flag_spec_GCJ \
17556 hardcode_libdir_flag_spec_ld_GCJ \
17557 hardcode_libdir_separator_GCJ \
17558 hardcode_automatic_GCJ \
17560 module_expsym_cmds_GCJ \
17561 lt_cv_prog_compiler_c_o_GCJ \
17562 exclude_expsyms_GCJ \
17563 include_expsyms_GCJ; do
17566 old_archive_cmds_GCJ | \
17567 old_archive_from_new_cmds_GCJ | \
17568 archive_cmds_GCJ | \
17569 archive_expsym_cmds_GCJ | \
17570 module_cmds_GCJ | \
17571 module_expsym_cmds_GCJ | \
17572 old_archive_from_expsyms_cmds_GCJ | \
17573 export_symbols_cmds_GCJ | \
17574 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17575 postinstall_cmds | postuninstall_cmds | \
17576 old_postinstall_cmds | old_postuninstall_cmds | \
17577 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17578 # Double-quote double-evaled strings.
17579 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17582 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17588 *'\$0 --fallback-echo"')
17589 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17595 cat <<__EOF__ >> "$cfgfile"
17596 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17598 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17600 # Shell to use when invoking shell scripts.
17603 # Whether or not to build shared libraries.
17604 build_libtool_libs=$enable_shared
17606 # Whether or not to build static libraries.
17607 build_old_libs=$enable_static
17609 # Whether or not to add -lc for building shared libraries.
17610 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17612 # Whether or not to disallow shared libs when runtime libs are static
17613 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17615 # Whether or not to optimize for fast installation.
17616 fast_install=$enable_fast_install
17619 host_alias=$host_alias
17622 # An echo program that does not interpret backslashes.
17627 AR_FLAGS=$lt_AR_FLAGS
17632 # A language-specific compiler.
17633 CC=$lt_compiler_GCJ
17635 # Is the compiler the GNU C compiler?
17641 # The linker used to build libraries.
17644 # Whether we need hard or soft links.
17647 # A BSD-compatible nm program.
17650 # A symbol stripping program
17653 # Used to examine libraries when file_magic_cmd begins "file"
17654 MAGIC_CMD=$MAGIC_CMD
17656 # Used on cygwin: DLL creation program.
17659 # Used on cygwin: object dumper.
17662 # Used on cygwin: assembler.
17665 # The name of the directory that contains temporary libtool files.
17668 # How to create reloadable object files.
17669 reload_flag=$lt_reload_flag
17670 reload_cmds=$lt_reload_cmds
17672 # How to pass a linker flag through the compiler.
17673 wl=$lt_lt_prog_compiler_wl_GCJ
17675 # Object file suffix (normally "o").
17676 objext="$ac_objext"
17678 # Old archive suffix (normally "a").
17681 # Shared library suffix (normally ".so").
17684 # Executable file suffix (normally "").
17687 # Additional compiler flags for building library objects.
17688 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17691 # What is the maximum length of a command?
17692 max_cmd_len=$lt_cv_sys_max_cmd_len
17694 # Does compiler simultaneously support -c and -o options?
17695 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17697 # Must we lock files when doing compilation ?
17698 need_locks=$lt_need_locks
17700 # Do we need the lib prefix for modules?
17701 need_lib_prefix=$need_lib_prefix
17703 # Do we need a version for libraries?
17704 need_version=$need_version
17706 # Whether dlopen is supported.
17707 dlopen_support=$enable_dlopen
17709 # Whether dlopen of programs is supported.
17710 dlopen_self=$enable_dlopen_self
17712 # Whether dlopen of statically linked programs is supported.
17713 dlopen_self_static=$enable_dlopen_self_static
17715 # Compiler flag to prevent dynamic linking.
17716 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17718 # Compiler flag to turn off builtin functions.
17719 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17721 # Compiler flag to allow reflexive dlopens.
17722 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17724 # Compiler flag to generate shared objects directly from archives.
17725 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17727 # Compiler flag to generate thread-safe objects.
17728 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17730 # Library versioning type.
17731 version_type=$version_type
17733 # Format of library name prefix.
17734 libname_spec=$lt_libname_spec
17736 # List of archive names. First name is the real one, the rest are links.
17737 # The last name is the one that the linker finds with -lNAME.
17738 library_names_spec=$lt_library_names_spec
17740 # The coded name of the library, if different from the real name.
17741 soname_spec=$lt_soname_spec
17743 # Commands used to build and install an old-style archive.
17745 old_archive_cmds=$lt_old_archive_cmds_GCJ
17746 old_postinstall_cmds=$lt_old_postinstall_cmds
17747 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17749 # Create an old-style archive from a shared archive.
17750 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17752 # Create a temporary old-style archive to link instead of a shared archive.
17753 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17755 # Commands used to build and install a shared archive.
17756 archive_cmds=$lt_archive_cmds_GCJ
17757 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17758 postinstall_cmds=$lt_postinstall_cmds
17759 postuninstall_cmds=$lt_postuninstall_cmds
17761 # Commands used to build a loadable module (assumed same as above if empty)
17762 module_cmds=$lt_module_cmds_GCJ
17763 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17765 # Commands to strip libraries.
17766 old_striplib=$lt_old_striplib
17767 striplib=$lt_striplib
17769 # Dependencies to place before the objects being linked to create a
17771 predep_objects=$lt_predep_objects_GCJ
17773 # Dependencies to place after the objects being linked to create a
17775 postdep_objects=$lt_postdep_objects_GCJ
17777 # Dependencies to place before the objects being linked to create a
17779 predeps=$lt_predeps_GCJ
17781 # Dependencies to place after the objects being linked to create a
17783 postdeps=$lt_postdeps_GCJ
17785 # The library search path used internally by the compiler when linking
17786 # a shared library.
17787 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17789 # Method to check whether dependent libraries are shared objects.
17790 deplibs_check_method=$lt_deplibs_check_method
17792 # Command to use when deplibs_check_method == file_magic.
17793 file_magic_cmd=$lt_file_magic_cmd
17795 # Flag that allows shared libraries with undefined symbols to be built.
17796 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17798 # Flag that forces no undefined symbols.
17799 no_undefined_flag=$lt_no_undefined_flag_GCJ
17801 # Commands used to finish a libtool library installation in a directory.
17802 finish_cmds=$lt_finish_cmds
17804 # Same as above, but a single script fragment to be evaled but not shown.
17805 finish_eval=$lt_finish_eval
17807 # Take the output of nm and produce a listing of raw symbols and C names.
17808 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17810 # Transform the output of nm in a proper C declaration
17811 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17813 # Transform the output of nm in a C name address pair
17814 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17816 # This is the shared library runtime path variable.
17817 runpath_var=$runpath_var
17819 # This is the shared library path variable.
17820 shlibpath_var=$shlibpath_var
17822 # Is shlibpath searched before the hard-coded library search path?
17823 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17825 # How to hardcode a shared library path into an executable.
17826 hardcode_action=$hardcode_action_GCJ
17828 # Whether we should hardcode library paths into libraries.
17829 hardcode_into_libs=$hardcode_into_libs
17831 # Flag to hardcode \$libdir into a binary during linking.
17832 # This must work even if \$libdir does not exist.
17833 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17835 # If ld is used when linking, flag to hardcode \$libdir into
17836 # a binary during linking. This must work even if \$libdir does
17838 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17840 # Whether we need a single -rpath flag with a separated argument.
17841 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17843 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17844 # resulting binary.
17845 hardcode_direct=$hardcode_direct_GCJ
17847 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17848 # resulting binary.
17849 hardcode_minus_L=$hardcode_minus_L_GCJ
17851 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17852 # the resulting binary.
17853 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17855 # Set to yes if building a shared library automatically hardcodes DIR into the library
17856 # and all subsequent libraries and executables linked against it.
17857 hardcode_automatic=$hardcode_automatic_GCJ
17859 # Variables whose values should be saved in libtool wrapper scripts and
17860 # restored at relink time.
17861 variables_saved_for_relink="$variables_saved_for_relink"
17863 # Whether libtool must link a program against all its dependency libraries.
17864 link_all_deplibs=$link_all_deplibs_GCJ
17866 # Compile-time system search path for libraries
17867 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17869 # Run-time system search path for libraries
17870 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17872 # Fix the shell variable \$srcfile for the compiler.
17873 fix_srcfile_path="$fix_srcfile_path_GCJ"
17875 # Set to yes if exported symbols are required.
17876 always_export_symbols=$always_export_symbols_GCJ
17878 # The commands to list exported symbols.
17879 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17881 # The commands to extract the exported symbol list from a shared archive.
17882 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17884 # Symbols that should not be listed in the preloaded symbols.
17885 exclude_expsyms=$lt_exclude_expsyms_GCJ
17887 # Symbols that must always be exported.
17888 include_expsyms=$lt_include_expsyms_GCJ
17890 # ### END LIBTOOL TAG CONFIG: $tagname
17896 # If there is no Makefile yet, we rely on a make rule to execute
17897 # `config.status --recheck' to rerun these tests and create the
17898 # libtool script then.
17899 test -f Makefile && make "$ltmain"
17904 ac_cpp='$CPP $CPPFLAGS'
17905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17920 # Source file extension for RC test sources.
17923 # Object file extension for compiled RC test sources.
17927 # Code to be used in simple compile tests
17928 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17930 # Code to be used in simple link tests
17931 lt_simple_link_test_code="$lt_simple_compile_test_code"
17933 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17935 # If no C compiler was specified, use CC.
17938 # Allow CC to be a program name with arguments.
17942 # Allow CC to be a program name with arguments.
17947 lt_cv_prog_compiler_c_o_RC=yes
17949 # The else clause should only fire when bootstrapping the
17950 # libtool distribution, otherwise you forgot to ship ltmain.sh
17951 # with your package, and you will get complaints that there are
17952 # no rules to generate ltmain.sh.
17953 if test -f "$ltmain"; then
17954 # See if we are running on zsh, and set the options which allow our commands through
17955 # without removal of \ escapes.
17956 if test -n "${ZSH_VERSION+set}" ; then
17957 setopt NO_GLOB_SUBST
17959 # Now quote all the things that may contain metacharacters while being
17960 # careful not to overquote the AC_SUBSTed values. We take copies of the
17961 # variables and quote the copies for generation of the libtool script.
17962 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17963 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17964 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17965 deplibs_check_method reload_flag reload_cmds need_locks \
17966 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17967 lt_cv_sys_global_symbol_to_c_name_address \
17968 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17969 old_postinstall_cmds old_postuninstall_cmds \
17973 lt_prog_compiler_wl_RC \
17974 lt_prog_compiler_pic_RC \
17975 lt_prog_compiler_static_RC \
17976 lt_prog_compiler_no_builtin_flag_RC \
17977 export_dynamic_flag_spec_RC \
17978 thread_safe_flag_spec_RC \
17979 whole_archive_flag_spec_RC \
17980 enable_shared_with_static_runtimes_RC \
17981 old_archive_cmds_RC \
17982 old_archive_from_new_cmds_RC \
17983 predep_objects_RC \
17984 postdep_objects_RC \
17987 compiler_lib_search_path_RC \
17989 archive_expsym_cmds_RC \
17990 postinstall_cmds_RC \
17991 postuninstall_cmds_RC \
17992 old_archive_from_expsyms_cmds_RC \
17993 allow_undefined_flag_RC \
17994 no_undefined_flag_RC \
17995 export_symbols_cmds_RC \
17996 hardcode_libdir_flag_spec_RC \
17997 hardcode_libdir_flag_spec_ld_RC \
17998 hardcode_libdir_separator_RC \
17999 hardcode_automatic_RC \
18001 module_expsym_cmds_RC \
18002 lt_cv_prog_compiler_c_o_RC \
18003 exclude_expsyms_RC \
18004 include_expsyms_RC; do
18007 old_archive_cmds_RC | \
18008 old_archive_from_new_cmds_RC | \
18009 archive_cmds_RC | \
18010 archive_expsym_cmds_RC | \
18012 module_expsym_cmds_RC | \
18013 old_archive_from_expsyms_cmds_RC | \
18014 export_symbols_cmds_RC | \
18015 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18016 postinstall_cmds | postuninstall_cmds | \
18017 old_postinstall_cmds | old_postuninstall_cmds | \
18018 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18019 # Double-quote double-evaled strings.
18020 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18023 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18029 *'\$0 --fallback-echo"')
18030 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18036 cat <<__EOF__ >> "$cfgfile"
18037 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18039 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18041 # Shell to use when invoking shell scripts.
18044 # Whether or not to build shared libraries.
18045 build_libtool_libs=$enable_shared
18047 # Whether or not to build static libraries.
18048 build_old_libs=$enable_static
18050 # Whether or not to add -lc for building shared libraries.
18051 build_libtool_need_lc=$archive_cmds_need_lc_RC
18053 # Whether or not to disallow shared libs when runtime libs are static
18054 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18056 # Whether or not to optimize for fast installation.
18057 fast_install=$enable_fast_install
18060 host_alias=$host_alias
18063 # An echo program that does not interpret backslashes.
18068 AR_FLAGS=$lt_AR_FLAGS
18073 # A language-specific compiler.
18076 # Is the compiler the GNU C compiler?
18082 # The linker used to build libraries.
18085 # Whether we need hard or soft links.
18088 # A BSD-compatible nm program.
18091 # A symbol stripping program
18094 # Used to examine libraries when file_magic_cmd begins "file"
18095 MAGIC_CMD=$MAGIC_CMD
18097 # Used on cygwin: DLL creation program.
18100 # Used on cygwin: object dumper.
18103 # Used on cygwin: assembler.
18106 # The name of the directory that contains temporary libtool files.
18109 # How to create reloadable object files.
18110 reload_flag=$lt_reload_flag
18111 reload_cmds=$lt_reload_cmds
18113 # How to pass a linker flag through the compiler.
18114 wl=$lt_lt_prog_compiler_wl_RC
18116 # Object file suffix (normally "o").
18117 objext="$ac_objext"
18119 # Old archive suffix (normally "a").
18122 # Shared library suffix (normally ".so").
18125 # Executable file suffix (normally "").
18128 # Additional compiler flags for building library objects.
18129 pic_flag=$lt_lt_prog_compiler_pic_RC
18132 # What is the maximum length of a command?
18133 max_cmd_len=$lt_cv_sys_max_cmd_len
18135 # Does compiler simultaneously support -c and -o options?
18136 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18138 # Must we lock files when doing compilation ?
18139 need_locks=$lt_need_locks
18141 # Do we need the lib prefix for modules?
18142 need_lib_prefix=$need_lib_prefix
18144 # Do we need a version for libraries?
18145 need_version=$need_version
18147 # Whether dlopen is supported.
18148 dlopen_support=$enable_dlopen
18150 # Whether dlopen of programs is supported.
18151 dlopen_self=$enable_dlopen_self
18153 # Whether dlopen of statically linked programs is supported.
18154 dlopen_self_static=$enable_dlopen_self_static
18156 # Compiler flag to prevent dynamic linking.
18157 link_static_flag=$lt_lt_prog_compiler_static_RC
18159 # Compiler flag to turn off builtin functions.
18160 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18162 # Compiler flag to allow reflexive dlopens.
18163 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18165 # Compiler flag to generate shared objects directly from archives.
18166 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18168 # Compiler flag to generate thread-safe objects.
18169 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18171 # Library versioning type.
18172 version_type=$version_type
18174 # Format of library name prefix.
18175 libname_spec=$lt_libname_spec
18177 # List of archive names. First name is the real one, the rest are links.
18178 # The last name is the one that the linker finds with -lNAME.
18179 library_names_spec=$lt_library_names_spec
18181 # The coded name of the library, if different from the real name.
18182 soname_spec=$lt_soname_spec
18184 # Commands used to build and install an old-style archive.
18186 old_archive_cmds=$lt_old_archive_cmds_RC
18187 old_postinstall_cmds=$lt_old_postinstall_cmds
18188 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18190 # Create an old-style archive from a shared archive.
18191 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18193 # Create a temporary old-style archive to link instead of a shared archive.
18194 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18196 # Commands used to build and install a shared archive.
18197 archive_cmds=$lt_archive_cmds_RC
18198 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18199 postinstall_cmds=$lt_postinstall_cmds
18200 postuninstall_cmds=$lt_postuninstall_cmds
18202 # Commands used to build a loadable module (assumed same as above if empty)
18203 module_cmds=$lt_module_cmds_RC
18204 module_expsym_cmds=$lt_module_expsym_cmds_RC
18206 # Commands to strip libraries.
18207 old_striplib=$lt_old_striplib
18208 striplib=$lt_striplib
18210 # Dependencies to place before the objects being linked to create a
18212 predep_objects=$lt_predep_objects_RC
18214 # Dependencies to place after the objects being linked to create a
18216 postdep_objects=$lt_postdep_objects_RC
18218 # Dependencies to place before the objects being linked to create a
18220 predeps=$lt_predeps_RC
18222 # Dependencies to place after the objects being linked to create a
18224 postdeps=$lt_postdeps_RC
18226 # The library search path used internally by the compiler when linking
18227 # a shared library.
18228 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18230 # Method to check whether dependent libraries are shared objects.
18231 deplibs_check_method=$lt_deplibs_check_method
18233 # Command to use when deplibs_check_method == file_magic.
18234 file_magic_cmd=$lt_file_magic_cmd
18236 # Flag that allows shared libraries with undefined symbols to be built.
18237 allow_undefined_flag=$lt_allow_undefined_flag_RC
18239 # Flag that forces no undefined symbols.
18240 no_undefined_flag=$lt_no_undefined_flag_RC
18242 # Commands used to finish a libtool library installation in a directory.
18243 finish_cmds=$lt_finish_cmds
18245 # Same as above, but a single script fragment to be evaled but not shown.
18246 finish_eval=$lt_finish_eval
18248 # Take the output of nm and produce a listing of raw symbols and C names.
18249 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18251 # Transform the output of nm in a proper C declaration
18252 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18254 # Transform the output of nm in a C name address pair
18255 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18257 # This is the shared library runtime path variable.
18258 runpath_var=$runpath_var
18260 # This is the shared library path variable.
18261 shlibpath_var=$shlibpath_var
18263 # Is shlibpath searched before the hard-coded library search path?
18264 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18266 # How to hardcode a shared library path into an executable.
18267 hardcode_action=$hardcode_action_RC
18269 # Whether we should hardcode library paths into libraries.
18270 hardcode_into_libs=$hardcode_into_libs
18272 # Flag to hardcode \$libdir into a binary during linking.
18273 # This must work even if \$libdir does not exist.
18274 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18276 # If ld is used when linking, flag to hardcode \$libdir into
18277 # a binary during linking. This must work even if \$libdir does
18279 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18281 # Whether we need a single -rpath flag with a separated argument.
18282 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18284 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18285 # resulting binary.
18286 hardcode_direct=$hardcode_direct_RC
18288 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18289 # resulting binary.
18290 hardcode_minus_L=$hardcode_minus_L_RC
18292 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18293 # the resulting binary.
18294 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18296 # Set to yes if building a shared library automatically hardcodes DIR into the library
18297 # and all subsequent libraries and executables linked against it.
18298 hardcode_automatic=$hardcode_automatic_RC
18300 # Variables whose values should be saved in libtool wrapper scripts and
18301 # restored at relink time.
18302 variables_saved_for_relink="$variables_saved_for_relink"
18304 # Whether libtool must link a program against all its dependency libraries.
18305 link_all_deplibs=$link_all_deplibs_RC
18307 # Compile-time system search path for libraries
18308 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18310 # Run-time system search path for libraries
18311 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18313 # Fix the shell variable \$srcfile for the compiler.
18314 fix_srcfile_path="$fix_srcfile_path_RC"
18316 # Set to yes if exported symbols are required.
18317 always_export_symbols=$always_export_symbols_RC
18319 # The commands to list exported symbols.
18320 export_symbols_cmds=$lt_export_symbols_cmds_RC
18322 # The commands to extract the exported symbol list from a shared archive.
18323 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18325 # Symbols that should not be listed in the preloaded symbols.
18326 exclude_expsyms=$lt_exclude_expsyms_RC
18328 # Symbols that must always be exported.
18329 include_expsyms=$lt_include_expsyms_RC
18331 # ### END LIBTOOL TAG CONFIG: $tagname
18337 # If there is no Makefile yet, we rely on a make rule to execute
18338 # `config.status --recheck' to rerun these tests and create the
18339 # libtool script then.
18340 test -f Makefile && make "$ltmain"
18345 ac_cpp='$CPP $CPPFLAGS'
18346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18355 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18356 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18357 { (exit 1); exit 1; }; }
18361 # Append the new tag name to the list of available tags.
18362 if test -n "$tagname" ; then
18363 available_tags="$available_tags $tagname"
18369 # Now substitute the updated list of available tags.
18370 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18371 mv "${ofile}T" "$ofile"
18375 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18376 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18377 { (exit 1); exit 1; }; }
18383 # This can be used to rebuild libtool when needed
18384 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18386 # Always use our own libtool.
18387 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18389 # Prevent multiple expansion
18411 # Extract the first word of "pwd", so it can be a program name with args.
18412 set dummy pwd; ac_word=$2
18413 echo "$as_me:$LINENO: checking for $ac_word" >&5
18414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18415 if test "${ac_cv_path_RPWD+set}" = set; then
18416 echo $ECHO_N "(cached) $ECHO_C" >&6
18420 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18424 for as_dir in $PATH
18427 test -z "$as_dir" && as_dir=.
18428 for ac_exec_ext in '' $ac_executable_extensions; do
18429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18430 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18440 RPWD=$ac_cv_path_RPWD
18442 if test -n "$RPWD"; then
18443 echo "$as_me:$LINENO: result: $RPWD" >&5
18444 echo "${ECHO_T}$RPWD" >&6
18446 echo "$as_me:$LINENO: result: no" >&5
18447 echo "${ECHO_T}no" >&6
18450 # Extract the first word of "ar", so it can be a program name with args.
18451 set dummy ar; ac_word=$2
18452 echo "$as_me:$LINENO: checking for $ac_word" >&5
18453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18454 if test "${ac_cv_path_AR+set}" = set; then
18455 echo $ECHO_N "(cached) $ECHO_C" >&6
18459 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18463 for as_dir in $PATH
18466 test -z "$as_dir" && as_dir=.
18467 for ac_exec_ext in '' $ac_executable_extensions; do
18468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18469 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18481 if test -n "$AR"; then
18482 echo "$as_me:$LINENO: result: $AR" >&5
18483 echo "${ECHO_T}$AR" >&6
18485 echo "$as_me:$LINENO: result: no" >&5
18486 echo "${ECHO_T}no" >&6
18489 # Extract the first word of "sed", so it can be a program name with args.
18490 set dummy sed; ac_word=$2
18491 echo "$as_me:$LINENO: checking for $ac_word" >&5
18492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18493 if test "${ac_cv_path_SED+set}" = set; then
18494 echo $ECHO_N "(cached) $ECHO_C" >&6
18498 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18502 for as_dir in $PATH
18505 test -z "$as_dir" && as_dir=.
18506 for ac_exec_ext in '' $ac_executable_extensions; do
18507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18508 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18518 SED=$ac_cv_path_SED
18520 if test -n "$SED"; then
18521 echo "$as_me:$LINENO: result: $SED" >&5
18522 echo "${ECHO_T}$SED" >&6
18524 echo "$as_me:$LINENO: result: no" >&5
18525 echo "${ECHO_T}no" >&6
18528 # Extract the first word of "rm", so it can be a program name with args.
18529 set dummy rm; ac_word=$2
18530 echo "$as_me:$LINENO: checking for $ac_word" >&5
18531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18532 if test "${ac_cv_path_RM+set}" = set; then
18533 echo $ECHO_N "(cached) $ECHO_C" >&6
18537 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18541 for as_dir in $PATH
18544 test -z "$as_dir" && as_dir=.
18545 for ac_exec_ext in '' $ac_executable_extensions; do
18546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18547 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18559 if test -n "$RM"; then
18560 echo "$as_me:$LINENO: result: $RM" >&5
18561 echo "${ECHO_T}$RM" >&6
18563 echo "$as_me:$LINENO: result: no" >&5
18564 echo "${ECHO_T}no" >&6
18567 # Extract the first word of "echo", so it can be a program name with args.
18568 set dummy echo; ac_word=$2
18569 echo "$as_me:$LINENO: checking for $ac_word" >&5
18570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18571 if test "${ac_cv_path_ECHO+set}" = set; then
18572 echo $ECHO_N "(cached) $ECHO_C" >&6
18576 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18580 for as_dir in $PATH
18583 test -z "$as_dir" && as_dir=.
18584 for ac_exec_ext in '' $ac_executable_extensions; do
18585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18586 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18596 ECHO=$ac_cv_path_ECHO
18598 if test -n "$ECHO"; then
18599 echo "$as_me:$LINENO: result: $ECHO" >&5
18600 echo "${ECHO_T}$ECHO" >&6
18602 echo "$as_me:$LINENO: result: no" >&5
18603 echo "${ECHO_T}no" >&6
18606 # Extract the first word of "mkdir", so it can be a program name with args.
18607 set dummy mkdir; ac_word=$2
18608 echo "$as_me:$LINENO: checking for $ac_word" >&5
18609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18610 if test "${ac_cv_path_MKDIR+set}" = set; then
18611 echo $ECHO_N "(cached) $ECHO_C" >&6
18615 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18619 for as_dir in $PATH
18622 test -z "$as_dir" && as_dir=.
18623 for ac_exec_ext in '' $ac_executable_extensions; do
18624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18625 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18635 MKDIR=$ac_cv_path_MKDIR
18637 if test -n "$MKDIR"; then
18638 echo "$as_me:$LINENO: result: $MKDIR" >&5
18639 echo "${ECHO_T}$MKDIR" >&6
18641 echo "$as_me:$LINENO: result: no" >&5
18642 echo "${ECHO_T}no" >&6
18645 # Extract the first word of "date", so it can be a program name with args.
18646 set dummy date; ac_word=$2
18647 echo "$as_me:$LINENO: checking for $ac_word" >&5
18648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18649 if test "${ac_cv_path_DATE+set}" = set; then
18650 echo $ECHO_N "(cached) $ECHO_C" >&6
18654 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18658 for as_dir in $PATH
18661 test -z "$as_dir" && as_dir=.
18662 for ac_exec_ext in '' $ac_executable_extensions; do
18663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18664 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18674 DATE=$ac_cv_path_DATE
18676 if test -n "$DATE"; then
18677 echo "$as_me:$LINENO: result: $DATE" >&5
18678 echo "${ECHO_T}$DATE" >&6
18680 echo "$as_me:$LINENO: result: no" >&5
18681 echo "${ECHO_T}no" >&6
18684 # Extract the first word of "mv", so it can be a program name with args.
18685 set dummy mv; ac_word=$2
18686 echo "$as_me:$LINENO: checking for $ac_word" >&5
18687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18688 if test "${ac_cv_path_MV+set}" = set; then
18689 echo $ECHO_N "(cached) $ECHO_C" >&6
18693 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18697 for as_dir in $PATH
18700 test -z "$as_dir" && as_dir=.
18701 for ac_exec_ext in '' $ac_executable_extensions; do
18702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18703 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18715 if test -n "$MV"; then
18716 echo "$as_me:$LINENO: result: $MV" >&5
18717 echo "${ECHO_T}$MV" >&6
18719 echo "$as_me:$LINENO: result: no" >&5
18720 echo "${ECHO_T}no" >&6
18723 # Extract the first word of "dot", so it can be a program name with args.
18724 set dummy dot; ac_word=$2
18725 echo "$as_me:$LINENO: checking for $ac_word" >&5
18726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18727 if test "${ac_cv_path_DOT+set}" = set; then
18728 echo $ECHO_N "(cached) $ECHO_C" >&6
18732 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18736 for as_dir in $PATH
18739 test -z "$as_dir" && as_dir=.
18740 for ac_exec_ext in '' $ac_executable_extensions; do
18741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18742 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18752 DOT=$ac_cv_path_DOT
18754 if test -n "$DOT"; then
18755 echo "$as_me:$LINENO: result: $DOT" >&5
18756 echo "${ECHO_T}$DOT" >&6
18758 echo "$as_me:$LINENO: result: no" >&5
18759 echo "${ECHO_T}no" >&6
18762 # Extract the first word of "etags", so it can be a program name with args.
18763 set dummy etags; ac_word=$2
18764 echo "$as_me:$LINENO: checking for $ac_word" >&5
18765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18766 if test "${ac_cv_path_ETAGS+set}" = set; then
18767 echo $ECHO_N "(cached) $ECHO_C" >&6
18771 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18775 for as_dir in $PATH
18778 test -z "$as_dir" && as_dir=.
18779 for ac_exec_ext in '' $ac_executable_extensions; do
18780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18781 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18791 ETAGS=$ac_cv_path_ETAGS
18793 if test -n "$ETAGS"; then
18794 echo "$as_me:$LINENO: result: $ETAGS" >&5
18795 echo "${ECHO_T}$ETAGS" >&6
18797 echo "$as_me:$LINENO: result: no" >&5
18798 echo "${ECHO_T}no" >&6
18801 # Extract the first word of "purify", so it can be a program name with args.
18802 set dummy purify; ac_word=$2
18803 echo "$as_me:$LINENO: checking for $ac_word" >&5
18804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18805 if test "${ac_cv_path_PURIFY+set}" = set; then
18806 echo $ECHO_N "(cached) $ECHO_C" >&6
18810 ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path.
18813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18814 for as_dir in $PATH
18817 test -z "$as_dir" && as_dir=.
18818 for ac_exec_ext in '' $ac_executable_extensions; do
18819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18820 ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext"
18821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18830 PURIFY=$ac_cv_path_PURIFY
18832 if test -n "$PURIFY"; then
18833 echo "$as_me:$LINENO: result: $PURIFY" >&5
18834 echo "${ECHO_T}$PURIFY" >&6
18836 echo "$as_me:$LINENO: result: no" >&5
18837 echo "${ECHO_T}no" >&6
18840 # Extract the first word of "python", so it can be a program name with args.
18841 set dummy python; ac_word=$2
18842 echo "$as_me:$LINENO: checking for $ac_word" >&5
18843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18844 if test "${ac_cv_path_PYTHON+set}" = set; then
18845 echo $ECHO_N "(cached) $ECHO_C" >&6
18849 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18853 for as_dir in $PATH
18856 test -z "$as_dir" && as_dir=.
18857 for ac_exec_ext in '' $ac_executable_extensions; do
18858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18859 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18869 PYTHON=$ac_cv_path_PYTHON
18871 if test -n "$PYTHON"; then
18872 echo "$as_me:$LINENO: result: $PYTHON" >&5
18873 echo "${ECHO_T}$PYTHON" >&6
18875 echo "$as_me:$LINENO: result: no" >&5
18876 echo "${ECHO_T}no" >&6
18879 # Extract the first word of "qmtest", so it can be a program name with args.
18880 set dummy qmtest; ac_word=$2
18881 echo "$as_me:$LINENO: checking for $ac_word" >&5
18882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18883 if test "${ac_cv_path_QMTEST+set}" = set; then
18884 echo $ECHO_N "(cached) $ECHO_C" >&6
18888 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18892 for as_dir in $PATH
18895 test -z "$as_dir" && as_dir=.
18896 for ac_exec_ext in '' $ac_executable_extensions; do
18897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18898 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
18899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18908 QMTEST=$ac_cv_path_QMTEST
18910 if test -n "$QMTEST"; then
18911 echo "$as_me:$LINENO: result: $QMTEST" >&5
18912 echo "${ECHO_T}$QMTEST" >&6
18914 echo "$as_me:$LINENO: result: no" >&5
18915 echo "${ECHO_T}no" >&6
18919 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
18920 pymajor=`echo $pyversion | cut -d. -f1`
18921 pyminor=`echo $pyversion | cut -d. -f2`
18923 if test "$pymajor" -ge "2"
18925 if test "$pymajor" -eq "2"
18927 if test "$pyminor" -lt "2"
18929 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18930 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18931 { (exit 1); exit 1; }; }
18935 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18936 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18937 { (exit 1); exit 1; }; }
18944 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
18945 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
18946 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
18947 echo $ECHO_N "(cached) $ECHO_C" >&6
18949 ac_check_lib_save_LIBS=$LIBS
18951 cat >conftest.$ac_ext <<_ACEOF
18952 #line $LINENO "configure"
18955 cat confdefs.h >>conftest.$ac_ext
18956 cat >>conftest.$ac_ext <<_ACEOF
18957 /* end confdefs.h. */
18959 /* Override any gcc2 internal prototype to avoid an error. */
18963 /* We use char because int might match the return type of a gcc2
18964 builtin and then its argument prototype would still apply. */
18974 rm -f conftest.$ac_objext conftest$ac_exeext
18975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18976 (eval $ac_link) 2>&5
18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979 (exit $ac_status); } &&
18980 { ac_try='test -s conftest$ac_exeext'
18981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18982 (eval $ac_try) 2>&5
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); }; }; then
18986 ac_cv_lib_elf_elf_begin=yes
18988 echo "$as_me: failed program was:" >&5
18989 sed 's/^/| /' conftest.$ac_ext >&5
18991 ac_cv_lib_elf_elf_begin=no
18993 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18994 LIBS=$ac_check_lib_save_LIBS
18996 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
18997 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
18998 if test $ac_cv_lib_elf_elf_begin = yes; then
18999 cat >>confdefs.h <<_ACEOF
19000 #define HAVE_LIBELF 1
19008 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19009 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19010 if test "${ac_cv_search_dlopen+set}" = set; then
19011 echo $ECHO_N "(cached) $ECHO_C" >&6
19013 ac_func_search_save_LIBS=$LIBS
19014 ac_cv_search_dlopen=no
19015 cat >conftest.$ac_ext <<_ACEOF
19016 #line $LINENO "configure"
19019 cat confdefs.h >>conftest.$ac_ext
19020 cat >>conftest.$ac_ext <<_ACEOF
19021 /* end confdefs.h. */
19023 /* Override any gcc2 internal prototype to avoid an error. */
19027 /* We use char because int might match the return type of a gcc2
19028 builtin and then its argument prototype would still apply. */
19038 rm -f conftest.$ac_objext conftest$ac_exeext
19039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19040 (eval $ac_link) 2>&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); } &&
19044 { ac_try='test -s conftest$ac_exeext'
19045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19046 (eval $ac_try) 2>&5
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); }; }; then
19050 ac_cv_search_dlopen="none required"
19052 echo "$as_me: failed program was:" >&5
19053 sed 's/^/| /' conftest.$ac_ext >&5
19056 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19057 if test "$ac_cv_search_dlopen" = no; then
19058 for ac_lib in dl; do
19059 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19060 cat >conftest.$ac_ext <<_ACEOF
19061 #line $LINENO "configure"
19064 cat confdefs.h >>conftest.$ac_ext
19065 cat >>conftest.$ac_ext <<_ACEOF
19066 /* end confdefs.h. */
19068 /* Override any gcc2 internal prototype to avoid an error. */
19072 /* We use char because int might match the return type of a gcc2
19073 builtin and then its argument prototype would still apply. */
19083 rm -f conftest.$ac_objext conftest$ac_exeext
19084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19085 (eval $ac_link) 2>&5
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); } &&
19089 { ac_try='test -s conftest$ac_exeext'
19090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19091 (eval $ac_try) 2>&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); }; }; then
19095 ac_cv_search_dlopen="-l$ac_lib"
19098 echo "$as_me: failed program was:" >&5
19099 sed 's/^/| /' conftest.$ac_ext >&5
19102 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19105 LIBS=$ac_func_search_save_LIBS
19107 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19108 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19109 if test "$ac_cv_search_dlopen" != no; then
19110 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19113 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
19114 echo "$as_me: error: dlopen() required but not found" >&2;}
19115 { (exit 1); exit 1; }; }
19119 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19120 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19121 if test "${ac_cv_search_mallinfo+set}" = set; then
19122 echo $ECHO_N "(cached) $ECHO_C" >&6
19124 ac_func_search_save_LIBS=$LIBS
19125 ac_cv_search_mallinfo=no
19126 cat >conftest.$ac_ext <<_ACEOF
19127 #line $LINENO "configure"
19130 cat confdefs.h >>conftest.$ac_ext
19131 cat >>conftest.$ac_ext <<_ACEOF
19132 /* end confdefs.h. */
19134 /* Override any gcc2 internal prototype to avoid an error. */
19138 /* We use char because int might match the return type of a gcc2
19139 builtin and then its argument prototype would still apply. */
19149 rm -f conftest.$ac_objext conftest$ac_exeext
19150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19151 (eval $ac_link) 2>&5
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); } &&
19155 { ac_try='test -s conftest$ac_exeext'
19156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19157 (eval $ac_try) 2>&5
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); }; }; then
19161 ac_cv_search_mallinfo="none required"
19163 echo "$as_me: failed program was:" >&5
19164 sed 's/^/| /' conftest.$ac_ext >&5
19167 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19168 if test "$ac_cv_search_mallinfo" = no; then
19169 for ac_lib in malloc; do
19170 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19171 cat >conftest.$ac_ext <<_ACEOF
19172 #line $LINENO "configure"
19175 cat confdefs.h >>conftest.$ac_ext
19176 cat >>conftest.$ac_ext <<_ACEOF
19177 /* end confdefs.h. */
19179 /* Override any gcc2 internal prototype to avoid an error. */
19183 /* We use char because int might match the return type of a gcc2
19184 builtin and then its argument prototype would still apply. */
19194 rm -f conftest.$ac_objext conftest$ac_exeext
19195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19196 (eval $ac_link) 2>&5
19198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19199 (exit $ac_status); } &&
19200 { ac_try='test -s conftest$ac_exeext'
19201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19202 (eval $ac_try) 2>&5
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); }; }; then
19206 ac_cv_search_mallinfo="-l$ac_lib"
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.$ac_ext >&5
19213 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19216 LIBS=$ac_func_search_save_LIBS
19218 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19219 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19220 if test "$ac_cv_search_mallinfo" != no; then
19221 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19222 cat >>confdefs.h <<\_ACEOF
19223 #define HAVE_MALLINFO 1
19230 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19231 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19232 if test "${ac_cv_header_stdc+set}" = set; then
19233 echo $ECHO_N "(cached) $ECHO_C" >&6
19235 cat >conftest.$ac_ext <<_ACEOF
19236 #line $LINENO "configure"
19239 cat confdefs.h >>conftest.$ac_ext
19240 cat >>conftest.$ac_ext <<_ACEOF
19241 /* end confdefs.h. */
19242 #include <stdlib.h>
19243 #include <stdarg.h>
19244 #include <string.h>
19255 rm -f conftest.$ac_objext
19256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19257 (eval $ac_compile) 2>&5
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); } &&
19261 { ac_try='test -s conftest.$ac_objext'
19262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19263 (eval $ac_try) 2>&5
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); }; }; then
19267 ac_cv_header_stdc=yes
19269 echo "$as_me: failed program was:" >&5
19270 sed 's/^/| /' conftest.$ac_ext >&5
19272 ac_cv_header_stdc=no
19274 rm -f conftest.$ac_objext conftest.$ac_ext
19276 if test $ac_cv_header_stdc = yes; then
19277 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19278 cat >conftest.$ac_ext <<_ACEOF
19279 #line $LINENO "configure"
19282 cat confdefs.h >>conftest.$ac_ext
19283 cat >>conftest.$ac_ext <<_ACEOF
19284 /* end confdefs.h. */
19285 #include <string.h>
19288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19289 $EGREP "memchr" >/dev/null 2>&1; then
19292 ac_cv_header_stdc=no
19298 if test $ac_cv_header_stdc = yes; then
19299 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19300 cat >conftest.$ac_ext <<_ACEOF
19301 #line $LINENO "configure"
19304 cat confdefs.h >>conftest.$ac_ext
19305 cat >>conftest.$ac_ext <<_ACEOF
19306 /* end confdefs.h. */
19307 #include <stdlib.h>
19310 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19311 $EGREP "free" >/dev/null 2>&1; then
19314 ac_cv_header_stdc=no
19320 if test $ac_cv_header_stdc = yes; then
19321 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19322 if test "$cross_compiling" = yes; then
19325 cat >conftest.$ac_ext <<_ACEOF
19326 #line $LINENO "configure"
19329 cat confdefs.h >>conftest.$ac_ext
19330 cat >>conftest.$ac_ext <<_ACEOF
19331 /* end confdefs.h. */
19333 #if ((' ' & 0x0FF) == 0x020)
19334 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19335 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19337 # define ISLOWER(c) \
19338 (('a' <= (c) && (c) <= 'i') \
19339 || ('j' <= (c) && (c) <= 'r') \
19340 || ('s' <= (c) && (c) <= 'z'))
19341 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19344 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19349 for (i = 0; i < 256; i++)
19350 if (XOR (islower (i), ISLOWER (i))
19351 || toupper (i) != TOUPPER (i))
19356 rm -f conftest$ac_exeext
19357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19358 (eval $ac_link) 2>&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19363 (eval $ac_try) 2>&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); }; }; then
19369 echo "$as_me: program exited with status $ac_status" >&5
19370 echo "$as_me: failed program was:" >&5
19371 sed 's/^/| /' conftest.$ac_ext >&5
19373 ( exit $ac_status )
19374 ac_cv_header_stdc=no
19376 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19380 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19381 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19382 if test $ac_cv_header_stdc = yes; then
19384 cat >>confdefs.h <<\_ACEOF
19385 #define STDC_HEADERS 1
19390 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19391 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19392 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19395 cat >conftest.$ac_ext <<_ACEOF
19396 #line $LINENO "configure"
19399 cat confdefs.h >>conftest.$ac_ext
19400 cat >>conftest.$ac_ext <<_ACEOF
19401 /* end confdefs.h. */
19402 #include <sys/types.h>
19403 #include <sys/wait.h>
19404 #ifndef WEXITSTATUS
19405 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19408 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19416 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19421 rm -f conftest.$ac_objext
19422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19423 (eval $ac_compile) 2>&5
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); } &&
19427 { ac_try='test -s conftest.$ac_objext'
19428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19429 (eval $ac_try) 2>&5
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); }; }; then
19433 ac_cv_header_sys_wait_h=yes
19435 echo "$as_me: failed program was:" >&5
19436 sed 's/^/| /' conftest.$ac_ext >&5
19438 ac_cv_header_sys_wait_h=no
19440 rm -f conftest.$ac_objext conftest.$ac_ext
19442 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19443 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19444 if test $ac_cv_header_sys_wait_h = yes; then
19446 cat >>confdefs.h <<\_ACEOF
19447 #define HAVE_SYS_WAIT_H 1
19461 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19463 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19465 echo "$as_me:$LINENO: checking for $ac_header" >&5
19466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19468 echo $ECHO_N "(cached) $ECHO_C" >&6
19470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19473 # Is the header compilable?
19474 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19475 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19476 cat >conftest.$ac_ext <<_ACEOF
19477 #line $LINENO "configure"
19480 cat confdefs.h >>conftest.$ac_ext
19481 cat >>conftest.$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19483 $ac_includes_default
19484 #include <$ac_header>
19486 rm -f conftest.$ac_objext
19487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19488 (eval $ac_compile) 2>&5
19490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 (exit $ac_status); } &&
19492 { ac_try='test -s conftest.$ac_objext'
19493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19494 (eval $ac_try) 2>&5
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); }; }; then
19498 ac_header_compiler=yes
19500 echo "$as_me: failed program was:" >&5
19501 sed 's/^/| /' conftest.$ac_ext >&5
19503 ac_header_compiler=no
19505 rm -f conftest.$ac_objext conftest.$ac_ext
19506 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19507 echo "${ECHO_T}$ac_header_compiler" >&6
19509 # Is the header present?
19510 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19511 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19512 cat >conftest.$ac_ext <<_ACEOF
19513 #line $LINENO "configure"
19516 cat confdefs.h >>conftest.$ac_ext
19517 cat >>conftest.$ac_ext <<_ACEOF
19518 /* end confdefs.h. */
19519 #include <$ac_header>
19521 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19522 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19524 grep -v '^ *+' conftest.er1 >conftest.err
19526 cat conftest.err >&5
19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528 (exit $ac_status); } >/dev/null; then
19529 if test -s conftest.err; then
19530 ac_cpp_err=$ac_c_preproc_warn_flag
19537 if test -z "$ac_cpp_err"; then
19538 ac_header_preproc=yes
19540 echo "$as_me: failed program was:" >&5
19541 sed 's/^/| /' conftest.$ac_ext >&5
19543 ac_header_preproc=no
19545 rm -f conftest.err conftest.$ac_ext
19546 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19547 echo "${ECHO_T}$ac_header_preproc" >&6
19549 # So? What about this header?
19550 case $ac_header_compiler:$ac_header_preproc in
19552 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19553 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19554 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19555 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19558 ## ------------------------------------ ##
19559 ## Report this to bug-autoconf@gnu.org. ##
19560 ## ------------------------------------ ##
19563 sed "s/^/$as_me: WARNING: /" >&2
19566 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19567 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19568 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19569 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19574 ## ------------------------------------ ##
19575 ## Report this to bug-autoconf@gnu.org. ##
19576 ## ------------------------------------ ##
19579 sed "s/^/$as_me: WARNING: /" >&2
19582 echo "$as_me:$LINENO: checking for $ac_header" >&5
19583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19585 echo $ECHO_N "(cached) $ECHO_C" >&6
19587 eval "$as_ac_Header=$ac_header_preproc"
19589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19594 cat >>confdefs.h <<_ACEOF
19595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19607 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19609 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19611 echo "$as_me:$LINENO: checking for $ac_header" >&5
19612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19614 echo $ECHO_N "(cached) $ECHO_C" >&6
19616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19619 # Is the header compilable?
19620 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19622 cat >conftest.$ac_ext <<_ACEOF
19623 #line $LINENO "configure"
19626 cat confdefs.h >>conftest.$ac_ext
19627 cat >>conftest.$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 $ac_includes_default
19630 #include <$ac_header>
19632 rm -f conftest.$ac_objext
19633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19634 (eval $ac_compile) 2>&5
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); } &&
19638 { ac_try='test -s conftest.$ac_objext'
19639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19640 (eval $ac_try) 2>&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); }; }; then
19644 ac_header_compiler=yes
19646 echo "$as_me: failed program was:" >&5
19647 sed 's/^/| /' conftest.$ac_ext >&5
19649 ac_header_compiler=no
19651 rm -f conftest.$ac_objext conftest.$ac_ext
19652 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19653 echo "${ECHO_T}$ac_header_compiler" >&6
19655 # Is the header present?
19656 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19657 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19658 cat >conftest.$ac_ext <<_ACEOF
19659 #line $LINENO "configure"
19662 cat confdefs.h >>conftest.$ac_ext
19663 cat >>conftest.$ac_ext <<_ACEOF
19664 /* end confdefs.h. */
19665 #include <$ac_header>
19667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19668 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19670 grep -v '^ *+' conftest.er1 >conftest.err
19672 cat conftest.err >&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } >/dev/null; then
19675 if test -s conftest.err; then
19676 ac_cpp_err=$ac_c_preproc_warn_flag
19683 if test -z "$ac_cpp_err"; then
19684 ac_header_preproc=yes
19686 echo "$as_me: failed program was:" >&5
19687 sed 's/^/| /' conftest.$ac_ext >&5
19689 ac_header_preproc=no
19691 rm -f conftest.err conftest.$ac_ext
19692 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19693 echo "${ECHO_T}$ac_header_preproc" >&6
19695 # So? What about this header?
19696 case $ac_header_compiler:$ac_header_preproc in
19698 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19699 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19701 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19704 ## ------------------------------------ ##
19705 ## Report this to bug-autoconf@gnu.org. ##
19706 ## ------------------------------------ ##
19709 sed "s/^/$as_me: WARNING: /" >&2
19712 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19713 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19714 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19715 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19717 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19720 ## ------------------------------------ ##
19721 ## Report this to bug-autoconf@gnu.org. ##
19722 ## ------------------------------------ ##
19725 sed "s/^/$as_me: WARNING: /" >&2
19728 echo "$as_me:$LINENO: checking for $ac_header" >&5
19729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19731 echo $ECHO_N "(cached) $ECHO_C" >&6
19733 eval "$as_ac_Header=$ac_header_preproc"
19735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19739 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19740 cat >>confdefs.h <<_ACEOF
19741 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19751 for ac_header in dlfcn.h link.h
19753 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19755 echo "$as_me:$LINENO: checking for $ac_header" >&5
19756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19758 echo $ECHO_N "(cached) $ECHO_C" >&6
19760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19763 # Is the header compilable?
19764 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19765 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19766 cat >conftest.$ac_ext <<_ACEOF
19767 #line $LINENO "configure"
19770 cat confdefs.h >>conftest.$ac_ext
19771 cat >>conftest.$ac_ext <<_ACEOF
19772 /* end confdefs.h. */
19773 $ac_includes_default
19774 #include <$ac_header>
19776 rm -f conftest.$ac_objext
19777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19778 (eval $ac_compile) 2>&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); } &&
19782 { ac_try='test -s conftest.$ac_objext'
19783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19784 (eval $ac_try) 2>&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; }; then
19788 ac_header_compiler=yes
19790 echo "$as_me: failed program was:" >&5
19791 sed 's/^/| /' conftest.$ac_ext >&5
19793 ac_header_compiler=no
19795 rm -f conftest.$ac_objext conftest.$ac_ext
19796 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19797 echo "${ECHO_T}$ac_header_compiler" >&6
19799 # Is the header present?
19800 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19801 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19802 cat >conftest.$ac_ext <<_ACEOF
19803 #line $LINENO "configure"
19806 cat confdefs.h >>conftest.$ac_ext
19807 cat >>conftest.$ac_ext <<_ACEOF
19808 /* end confdefs.h. */
19809 #include <$ac_header>
19811 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19812 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19814 grep -v '^ *+' conftest.er1 >conftest.err
19816 cat conftest.err >&5
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 (exit $ac_status); } >/dev/null; then
19819 if test -s conftest.err; then
19820 ac_cpp_err=$ac_c_preproc_warn_flag
19827 if test -z "$ac_cpp_err"; then
19828 ac_header_preproc=yes
19830 echo "$as_me: failed program was:" >&5
19831 sed 's/^/| /' conftest.$ac_ext >&5
19833 ac_header_preproc=no
19835 rm -f conftest.err conftest.$ac_ext
19836 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19837 echo "${ECHO_T}$ac_header_preproc" >&6
19839 # So? What about this header?
19840 case $ac_header_compiler:$ac_header_preproc in
19842 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19843 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19848 ## ------------------------------------ ##
19849 ## Report this to bug-autoconf@gnu.org. ##
19850 ## ------------------------------------ ##
19853 sed "s/^/$as_me: WARNING: /" >&2
19856 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19857 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19858 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19859 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19861 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19864 ## ------------------------------------ ##
19865 ## Report this to bug-autoconf@gnu.org. ##
19866 ## ------------------------------------ ##
19869 sed "s/^/$as_me: WARNING: /" >&2
19872 echo "$as_me:$LINENO: checking for $ac_header" >&5
19873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19875 echo $ECHO_N "(cached) $ECHO_C" >&6
19877 eval "$as_ac_Header=$ac_header_preproc"
19879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19884 cat >>confdefs.h <<_ACEOF
19885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19894 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19895 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19896 if test "${ac_cv_c_const+set}" = set; then
19897 echo $ECHO_N "(cached) $ECHO_C" >&6
19899 cat >conftest.$ac_ext <<_ACEOF
19900 #line $LINENO "configure"
19903 cat confdefs.h >>conftest.$ac_ext
19904 cat >>conftest.$ac_ext <<_ACEOF
19905 /* end confdefs.h. */
19910 /* FIXME: Include the comments suggested by Paul. */
19911 #ifndef __cplusplus
19912 /* Ultrix mips cc rejects this. */
19913 typedef int charset[2];
19915 /* SunOS 4.1.1 cc rejects this. */
19916 char const *const *ccp;
19918 /* NEC SVR4.0.2 mips cc rejects this. */
19919 struct point {int x, y;};
19920 static struct point const zero = {0,0};
19921 /* AIX XL C 1.02.0.0 rejects this.
19922 It does not let you subtract one const X* pointer from another in
19923 an arm of an if-expression whose if-part is not a constant
19925 const char *g = "string";
19926 ccp = &g + (g ? g-g : 0);
19927 /* HPUX 7.0 cc rejects these. */
19930 ccp = (char const *const *) p;
19931 { /* SCO 3.2v4 cc rejects this. */
19933 char const *s = 0 ? (char *) 0 : (char const *) 0;
19937 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19938 int x[] = {25, 17};
19939 const int *foo = &x[0];
19942 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19943 typedef const int *iptr;
19947 { /* AIX XL C 1.02.0.0 rejects this saying
19948 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19949 struct s { int j; const int *ap[3]; };
19950 struct s *b; b->j = 5;
19952 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19953 const int foo = 10;
19961 rm -f conftest.$ac_objext
19962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19963 (eval $ac_compile) 2>&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); } &&
19967 { ac_try='test -s conftest.$ac_objext'
19968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19969 (eval $ac_try) 2>&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); }; }; then
19975 echo "$as_me: failed program was:" >&5
19976 sed 's/^/| /' conftest.$ac_ext >&5
19980 rm -f conftest.$ac_objext conftest.$ac_ext
19982 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19983 echo "${ECHO_T}$ac_cv_c_const" >&6
19984 if test $ac_cv_c_const = no; then
19986 cat >>confdefs.h <<\_ACEOF
19992 echo "$as_me:$LINENO: checking for inline" >&5
19993 echo $ECHO_N "checking for inline... $ECHO_C" >&6
19994 if test "${ac_cv_c_inline+set}" = set; then
19995 echo $ECHO_N "(cached) $ECHO_C" >&6
19998 for ac_kw in inline __inline__ __inline; do
19999 cat >conftest.$ac_ext <<_ACEOF
20000 #line $LINENO "configure"
20003 cat confdefs.h >>conftest.$ac_ext
20004 cat >>conftest.$ac_ext <<_ACEOF
20005 /* end confdefs.h. */
20006 #ifndef __cplusplus
20008 static $ac_kw foo_t static_foo () {return 0; }
20009 $ac_kw foo_t foo () {return 0; }
20013 rm -f conftest.$ac_objext
20014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20015 (eval $ac_compile) 2>&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } &&
20019 { ac_try='test -s conftest.$ac_objext'
20020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20021 (eval $ac_try) 2>&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); }; }; then
20025 ac_cv_c_inline=$ac_kw; break
20027 echo "$as_me: failed program was:" >&5
20028 sed 's/^/| /' conftest.$ac_ext >&5
20031 rm -f conftest.$ac_objext conftest.$ac_ext
20035 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20036 echo "${ECHO_T}$ac_cv_c_inline" >&6
20037 case $ac_cv_c_inline in
20040 cat >>confdefs.h <<\_ACEOF
20044 *) cat >>confdefs.h <<_ACEOF
20045 #define inline $ac_cv_c_inline
20051 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20052 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20053 if test "${ac_cv_c_bigendian+set}" = set; then
20054 echo $ECHO_N "(cached) $ECHO_C" >&6
20056 # See if sys/param.h defines the BYTE_ORDER macro.
20057 cat >conftest.$ac_ext <<_ACEOF
20058 #line $LINENO "configure"
20061 cat confdefs.h >>conftest.$ac_ext
20062 cat >>conftest.$ac_ext <<_ACEOF
20063 /* end confdefs.h. */
20064 #include <sys/types.h>
20065 #include <sys/param.h>
20070 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20071 bogus endian macros
20078 rm -f conftest.$ac_objext
20079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20080 (eval $ac_compile) 2>&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } &&
20084 { ac_try='test -s conftest.$ac_objext'
20085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20086 (eval $ac_try) 2>&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; }; then
20090 # It does; now see whether it defined to BIG_ENDIAN or not.
20091 cat >conftest.$ac_ext <<_ACEOF
20092 #line $LINENO "configure"
20095 cat confdefs.h >>conftest.$ac_ext
20096 cat >>conftest.$ac_ext <<_ACEOF
20097 /* end confdefs.h. */
20098 #include <sys/types.h>
20099 #include <sys/param.h>
20104 #if BYTE_ORDER != BIG_ENDIAN
20112 rm -f conftest.$ac_objext
20113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20114 (eval $ac_compile) 2>&5
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); } &&
20118 { ac_try='test -s conftest.$ac_objext'
20119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20120 (eval $ac_try) 2>&5
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); }; }; then
20124 ac_cv_c_bigendian=yes
20126 echo "$as_me: failed program was:" >&5
20127 sed 's/^/| /' conftest.$ac_ext >&5
20129 ac_cv_c_bigendian=no
20131 rm -f conftest.$ac_objext conftest.$ac_ext
20133 echo "$as_me: failed program was:" >&5
20134 sed 's/^/| /' conftest.$ac_ext >&5
20136 # It does not; compile a test program.
20137 if test "$cross_compiling" = yes; then
20138 # try to guess the endianness by grepping values into an object file
20139 ac_cv_c_bigendian=unknown
20140 cat >conftest.$ac_ext <<_ACEOF
20141 #line $LINENO "configure"
20144 cat confdefs.h >>conftest.$ac_ext
20145 cat >>conftest.$ac_ext <<_ACEOF
20146 /* end confdefs.h. */
20147 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20148 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20149 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20150 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20151 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20152 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20156 _ascii (); _ebcdic ();
20161 rm -f conftest.$ac_objext
20162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20163 (eval $ac_compile) 2>&5
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); } &&
20167 { ac_try='test -s conftest.$ac_objext'
20168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20169 (eval $ac_try) 2>&5
20171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172 (exit $ac_status); }; }; then
20173 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20174 ac_cv_c_bigendian=yes
20176 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20177 if test "$ac_cv_c_bigendian" = unknown; then
20178 ac_cv_c_bigendian=no
20180 # finding both strings is unlikely to happen, but who knows?
20181 ac_cv_c_bigendian=unknown
20185 echo "$as_me: failed program was:" >&5
20186 sed 's/^/| /' conftest.$ac_ext >&5
20189 rm -f conftest.$ac_objext conftest.$ac_ext
20191 cat >conftest.$ac_ext <<_ACEOF
20192 #line $LINENO "configure"
20195 cat confdefs.h >>conftest.$ac_ext
20196 cat >>conftest.$ac_ext <<_ACEOF
20197 /* end confdefs.h. */
20201 /* Are we little or big endian? From Harbison&Steele. */
20205 char c[sizeof (long)];
20208 exit (u.c[sizeof (long) - 1] == 1);
20211 rm -f conftest$ac_exeext
20212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20213 (eval $ac_link) 2>&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20218 (eval $ac_try) 2>&5
20220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20221 (exit $ac_status); }; }; then
20222 ac_cv_c_bigendian=no
20224 echo "$as_me: program exited with status $ac_status" >&5
20225 echo "$as_me: failed program was:" >&5
20226 sed 's/^/| /' conftest.$ac_ext >&5
20228 ( exit $ac_status )
20229 ac_cv_c_bigendian=yes
20231 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20234 rm -f conftest.$ac_objext conftest.$ac_ext
20236 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20237 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20238 case $ac_cv_c_bigendian in
20240 cat >>confdefs.h <<\_ACEOF
20241 #define ENDIAN_BIG 1
20245 cat >>confdefs.h <<\_ACEOF
20246 #define ENDIAN_LITTLE 1
20250 { { echo "$as_me:$LINENO: error: unknown endianness
20251 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20252 echo "$as_me: error: unknown endianness
20253 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20254 { (exit 1); exit 1; }; } ;;
20258 echo "$as_me:$LINENO: checking for pid_t" >&5
20259 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20260 if test "${ac_cv_type_pid_t+set}" = set; then
20261 echo $ECHO_N "(cached) $ECHO_C" >&6
20263 cat >conftest.$ac_ext <<_ACEOF
20264 #line $LINENO "configure"
20267 cat confdefs.h >>conftest.$ac_ext
20268 cat >>conftest.$ac_ext <<_ACEOF
20269 /* end confdefs.h. */
20270 $ac_includes_default
20276 if (sizeof (pid_t))
20282 rm -f conftest.$ac_objext
20283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20284 (eval $ac_compile) 2>&5
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); } &&
20288 { ac_try='test -s conftest.$ac_objext'
20289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20290 (eval $ac_try) 2>&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); }; }; then
20294 ac_cv_type_pid_t=yes
20296 echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.$ac_ext >&5
20299 ac_cv_type_pid_t=no
20301 rm -f conftest.$ac_objext conftest.$ac_ext
20303 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20304 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20305 if test $ac_cv_type_pid_t = yes; then
20309 cat >>confdefs.h <<_ACEOF
20315 echo "$as_me:$LINENO: checking for size_t" >&5
20316 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20317 if test "${ac_cv_type_size_t+set}" = set; then
20318 echo $ECHO_N "(cached) $ECHO_C" >&6
20320 cat >conftest.$ac_ext <<_ACEOF
20321 #line $LINENO "configure"
20324 cat confdefs.h >>conftest.$ac_ext
20325 cat >>conftest.$ac_ext <<_ACEOF
20326 /* end confdefs.h. */
20327 $ac_includes_default
20333 if (sizeof (size_t))
20339 rm -f conftest.$ac_objext
20340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20341 (eval $ac_compile) 2>&5
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); } &&
20345 { ac_try='test -s conftest.$ac_objext'
20346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20347 (eval $ac_try) 2>&5
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); }; }; then
20351 ac_cv_type_size_t=yes
20353 echo "$as_me: failed program was:" >&5
20354 sed 's/^/| /' conftest.$ac_ext >&5
20356 ac_cv_type_size_t=no
20358 rm -f conftest.$ac_objext conftest.$ac_ext
20360 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20361 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20362 if test $ac_cv_type_size_t = yes; then
20366 cat >>confdefs.h <<_ACEOF
20367 #define size_t unsigned
20372 echo "$as_me:$LINENO: checking for int64_t" >&5
20373 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20374 if test "${ac_cv_type_int64_t+set}" = set; then
20375 echo $ECHO_N "(cached) $ECHO_C" >&6
20377 cat >conftest.$ac_ext <<_ACEOF
20378 #line $LINENO "configure"
20381 cat confdefs.h >>conftest.$ac_ext
20382 cat >>conftest.$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20384 $ac_includes_default
20390 if (sizeof (int64_t))
20396 rm -f conftest.$ac_objext
20397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20398 (eval $ac_compile) 2>&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); } &&
20402 { ac_try='test -s conftest.$ac_objext'
20403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20404 (eval $ac_try) 2>&5
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); }; }; then
20408 ac_cv_type_int64_t=yes
20410 echo "$as_me: failed program was:" >&5
20411 sed 's/^/| /' conftest.$ac_ext >&5
20413 ac_cv_type_int64_t=no
20415 rm -f conftest.$ac_objext conftest.$ac_ext
20417 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20418 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20419 if test $ac_cv_type_int64_t = yes; then
20421 cat >>confdefs.h <<_ACEOF
20422 #define HAVE_INT64_T 1
20427 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20428 echo "$as_me: error: Type int64_t required but not found" >&2;}
20429 { (exit 1); exit 1; }; }
20432 echo "$as_me:$LINENO: checking for uint64_t" >&5
20433 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20434 if test "${ac_cv_type_uint64_t+set}" = set; then
20435 echo $ECHO_N "(cached) $ECHO_C" >&6
20437 cat >conftest.$ac_ext <<_ACEOF
20438 #line $LINENO "configure"
20441 cat confdefs.h >>conftest.$ac_ext
20442 cat >>conftest.$ac_ext <<_ACEOF
20443 /* end confdefs.h. */
20444 $ac_includes_default
20448 if ((uint64_t *) 0)
20450 if (sizeof (uint64_t))
20456 rm -f conftest.$ac_objext
20457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20458 (eval $ac_compile) 2>&5
20460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461 (exit $ac_status); } &&
20462 { ac_try='test -s conftest.$ac_objext'
20463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20464 (eval $ac_try) 2>&5
20466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467 (exit $ac_status); }; }; then
20468 ac_cv_type_uint64_t=yes
20470 echo "$as_me: failed program was:" >&5
20471 sed 's/^/| /' conftest.$ac_ext >&5
20473 ac_cv_type_uint64_t=no
20475 rm -f conftest.$ac_objext conftest.$ac_ext
20477 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20478 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20479 if test $ac_cv_type_uint64_t = yes; then
20481 cat >>confdefs.h <<_ACEOF
20482 #define HAVE_UINT64_T 1
20487 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20488 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20489 { (exit 1); exit 1; }; }
20492 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20493 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20494 if test "${ac_cv_header_time+set}" = set; then
20495 echo $ECHO_N "(cached) $ECHO_C" >&6
20497 cat >conftest.$ac_ext <<_ACEOF
20498 #line $LINENO "configure"
20501 cat confdefs.h >>conftest.$ac_ext
20502 cat >>conftest.$ac_ext <<_ACEOF
20503 /* end confdefs.h. */
20504 #include <sys/types.h>
20505 #include <sys/time.h>
20511 if ((struct tm *) 0)
20517 rm -f conftest.$ac_objext
20518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20519 (eval $ac_compile) 2>&5
20521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20522 (exit $ac_status); } &&
20523 { ac_try='test -s conftest.$ac_objext'
20524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20525 (eval $ac_try) 2>&5
20527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528 (exit $ac_status); }; }; then
20529 ac_cv_header_time=yes
20531 echo "$as_me: failed program was:" >&5
20532 sed 's/^/| /' conftest.$ac_ext >&5
20534 ac_cv_header_time=no
20536 rm -f conftest.$ac_objext conftest.$ac_ext
20538 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20539 echo "${ECHO_T}$ac_cv_header_time" >&6
20540 if test $ac_cv_header_time = yes; then
20542 cat >>confdefs.h <<\_ACEOF
20543 #define TIME_WITH_SYS_TIME 1
20548 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20549 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20550 if test "${ac_cv_struct_tm+set}" = set; then
20551 echo $ECHO_N "(cached) $ECHO_C" >&6
20553 cat >conftest.$ac_ext <<_ACEOF
20554 #line $LINENO "configure"
20557 cat confdefs.h >>conftest.$ac_ext
20558 cat >>conftest.$ac_ext <<_ACEOF
20559 /* end confdefs.h. */
20560 #include <sys/types.h>
20566 struct tm *tp; tp->tm_sec;
20571 rm -f conftest.$ac_objext
20572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20573 (eval $ac_compile) 2>&5
20575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20576 (exit $ac_status); } &&
20577 { ac_try='test -s conftest.$ac_objext'
20578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20579 (eval $ac_try) 2>&5
20581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20582 (exit $ac_status); }; }; then
20583 ac_cv_struct_tm=time.h
20585 echo "$as_me: failed program was:" >&5
20586 sed 's/^/| /' conftest.$ac_ext >&5
20588 ac_cv_struct_tm=sys/time.h
20590 rm -f conftest.$ac_objext conftest.$ac_ext
20592 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20593 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20594 if test $ac_cv_struct_tm = sys/time.h; then
20596 cat >>confdefs.h <<\_ACEOF
20597 #define TM_IN_SYS_TIME 1
20603 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20604 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20605 if test "${ac_cv_cxx_namespaces+set}" = set; then
20606 echo $ECHO_N "(cached) $ECHO_C" >&6
20611 ac_cpp='$CXXCPP $CPPFLAGS'
20612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20616 cat >conftest.$ac_ext <<_ACEOF
20617 #line $LINENO "configure"
20620 cat confdefs.h >>conftest.$ac_ext
20621 cat >>conftest.$ac_ext <<_ACEOF
20622 /* end confdefs.h. */
20623 namespace Outer { namespace Inner { int i = 0; }}
20627 using namespace Outer::Inner; return i;
20632 rm -f conftest.$ac_objext
20633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20634 (eval $ac_compile) 2>&5
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); } &&
20638 { ac_try='test -s conftest.$ac_objext'
20639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20640 (eval $ac_try) 2>&5
20642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20643 (exit $ac_status); }; }; then
20644 ac_cv_cxx_namespaces=yes
20646 echo "$as_me: failed program was:" >&5
20647 sed 's/^/| /' conftest.$ac_ext >&5
20649 ac_cv_cxx_namespaces=no
20651 rm -f conftest.$ac_objext conftest.$ac_ext
20653 ac_cpp='$CPP $CPPFLAGS'
20654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20660 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20661 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20662 if test "$ac_cv_cxx_namespaces" = yes; then
20664 cat >>confdefs.h <<\_ACEOF
20665 #define HAVE_NAMESPACES
20670 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20671 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20672 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20673 echo $ECHO_N "(cached) $ECHO_C" >&6
20679 ac_cpp='$CXXCPP $CPPFLAGS'
20680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20684 cat >conftest.$ac_ext <<_ACEOF
20685 #line $LINENO "configure"
20688 cat confdefs.h >>conftest.$ac_ext
20689 cat >>conftest.$ac_ext <<_ACEOF
20690 /* end confdefs.h. */
20691 #include <ext/hash_map>
20692 #ifdef HAVE_NAMESPACES
20693 using namespace std;
20698 hash_map<int, int> t; return 0;
20703 rm -f conftest.$ac_objext
20704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20705 (eval $ac_compile) 2>&5
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); } &&
20709 { ac_try='test -s conftest.$ac_objext'
20710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20711 (eval $ac_try) 2>&5
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); }; }; then
20715 ac_cv_cxx_have_ext_hash_map=std
20717 echo "$as_me: failed program was:" >&5
20718 sed 's/^/| /' conftest.$ac_ext >&5
20720 ac_cv_cxx_have_ext_hash_map=no
20722 rm -f conftest.$ac_objext conftest.$ac_ext
20723 cat >conftest.$ac_ext <<_ACEOF
20724 #line $LINENO "configure"
20727 cat confdefs.h >>conftest.$ac_ext
20728 cat >>conftest.$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 #include <ext/hash_map>
20731 #ifdef HAVE_NAMESPACES
20732 using namespace __gnu_cxx;
20737 hash_map<int, int> t; return 0;
20742 rm -f conftest.$ac_objext
20743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20744 (eval $ac_compile) 2>&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); } &&
20748 { ac_try='test -s conftest.$ac_objext'
20749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20750 (eval $ac_try) 2>&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); }; }; then
20754 ac_cv_cxx_have_ext_hash_map=gnu
20756 echo "$as_me: failed program was:" >&5
20757 sed 's/^/| /' conftest.$ac_ext >&5
20759 ac_cv_cxx_have_ext_hash_map=no
20761 rm -f conftest.$ac_objext conftest.$ac_ext
20763 ac_cpp='$CPP $CPPFLAGS'
20764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20770 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20771 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20772 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20774 cat >>confdefs.h <<\_ACEOF
20775 #define HAVE_STD_EXT_HASH_MAP
20779 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20781 cat >>confdefs.h <<\_ACEOF
20782 #define HAVE_GNU_EXT_HASH_MAP
20787 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20788 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20789 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20790 echo $ECHO_N "(cached) $ECHO_C" >&6
20796 ac_cpp='$CXXCPP $CPPFLAGS'
20797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20801 cat >conftest.$ac_ext <<_ACEOF
20802 #line $LINENO "configure"
20805 cat confdefs.h >>conftest.$ac_ext
20806 cat >>conftest.$ac_ext <<_ACEOF
20807 /* end confdefs.h. */
20808 #include <ext/hash_set>
20809 #ifdef HAVE_NAMESPACES
20810 using namespace std;
20815 hash_set<int> t; return 0;
20820 rm -f conftest.$ac_objext
20821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20822 (eval $ac_compile) 2>&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); } &&
20826 { ac_try='test -s conftest.$ac_objext'
20827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20828 (eval $ac_try) 2>&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); }; }; then
20832 ac_cv_cxx_have_ext_hash_set=std
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.$ac_ext >&5
20837 ac_cv_cxx_have_ext_hash_set=no
20839 rm -f conftest.$ac_objext conftest.$ac_ext
20840 cat >conftest.$ac_ext <<_ACEOF
20841 #line $LINENO "configure"
20844 cat confdefs.h >>conftest.$ac_ext
20845 cat >>conftest.$ac_ext <<_ACEOF
20846 /* end confdefs.h. */
20847 #include <ext/hash_set>
20848 #ifdef HAVE_NAMESPACES
20849 using namespace __gnu_cxx;
20854 hash_set<int> t; return 0;
20859 rm -f conftest.$ac_objext
20860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20861 (eval $ac_compile) 2>&5
20863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864 (exit $ac_status); } &&
20865 { ac_try='test -s conftest.$ac_objext'
20866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20867 (eval $ac_try) 2>&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); }; }; then
20871 ac_cv_cxx_have_ext_hash_set=gnu
20873 echo "$as_me: failed program was:" >&5
20874 sed 's/^/| /' conftest.$ac_ext >&5
20876 ac_cv_cxx_have_ext_hash_set=no
20878 rm -f conftest.$ac_objext conftest.$ac_ext
20880 ac_cpp='$CPP $CPPFLAGS'
20881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20887 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
20888 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
20889 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
20891 cat >>confdefs.h <<\_ACEOF
20892 #define HAVE_STD_EXT_HASH_SET
20896 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
20898 cat >>confdefs.h <<\_ACEOF
20899 #define HAVE_GNU_EXT_HASH_SET
20904 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
20905 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
20906 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
20907 echo $ECHO_N "(cached) $ECHO_C" >&6
20913 ac_cpp='$CXXCPP $CPPFLAGS'
20914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20918 cat >conftest.$ac_ext <<_ACEOF
20919 #line $LINENO "configure"
20922 cat confdefs.h >>conftest.$ac_ext
20923 cat >>conftest.$ac_ext <<_ACEOF
20924 /* end confdefs.h. */
20925 #include <ext/slist>
20926 #ifdef HAVE_NAMESPACES
20927 using namespace std;
20932 slist<int> s; return 0;
20937 rm -f conftest.$ac_objext
20938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20939 (eval $ac_compile) 2>&5
20941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20942 (exit $ac_status); } &&
20943 { ac_try='test -s conftest.$ac_objext'
20944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20945 (eval $ac_try) 2>&5
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); }; }; then
20949 ac_cv_cxx_have_ext_slist=std
20951 echo "$as_me: failed program was:" >&5
20952 sed 's/^/| /' conftest.$ac_ext >&5
20954 ac_cv_cxx_have_ext_slist=no
20956 rm -f conftest.$ac_objext conftest.$ac_ext
20957 cat >conftest.$ac_ext <<_ACEOF
20958 #line $LINENO "configure"
20961 cat confdefs.h >>conftest.$ac_ext
20962 cat >>conftest.$ac_ext <<_ACEOF
20963 /* end confdefs.h. */
20964 #include <ext/slist>
20965 #ifdef HAVE_NAMESPACES
20966 using namespace __gnu_cxx;
20971 slist<int> s; return 0;
20976 rm -f conftest.$ac_objext
20977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20978 (eval $ac_compile) 2>&5
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); } &&
20982 { ac_try='test -s conftest.$ac_objext'
20983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20984 (eval $ac_try) 2>&5
20986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20987 (exit $ac_status); }; }; then
20988 ac_cv_cxx_have_ext_slist=gnu
20990 echo "$as_me: failed program was:" >&5
20991 sed 's/^/| /' conftest.$ac_ext >&5
20993 ac_cv_cxx_have_ext_slist=no
20995 rm -f conftest.$ac_objext conftest.$ac_ext
20998 ac_cpp='$CPP $CPPFLAGS'
20999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21005 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21006 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21007 if test "$ac_cv_cxx_have_ext_slist" = std; then
21009 cat >>confdefs.h <<\_ACEOF
21010 #define HAVE_EXT_SLIST std
21014 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21016 cat >>confdefs.h <<\_ACEOF
21017 #define HAVE_EXT_SLIST gnu
21022 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21023 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21024 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21025 echo $ECHO_N "(cached) $ECHO_C" >&6
21031 ac_cpp='$CXXCPP $CPPFLAGS'
21032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21036 cat >conftest.$ac_ext <<_ACEOF
21037 #line $LINENO "configure"
21040 cat confdefs.h >>conftest.$ac_ext
21041 cat >>conftest.$ac_ext <<_ACEOF
21042 /* end confdefs.h. */
21043 #include <iterator>
21044 #ifdef HAVE_NAMESPACES
21045 using namespace std;
21050 iterator<int,int,int> t; return 0;
21055 rm -f conftest.$ac_objext
21056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21057 (eval $ac_compile) 2>&5
21059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21060 (exit $ac_status); } &&
21061 { ac_try='test -s conftest.$ac_objext'
21062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21063 (eval $ac_try) 2>&5
21065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21066 (exit $ac_status); }; }; then
21067 ac_cv_cxx_have_std_iterator=yes
21069 echo "$as_me: failed program was:" >&5
21070 sed 's/^/| /' conftest.$ac_ext >&5
21072 ac_cv_cxx_have_std_iterator=no
21074 rm -f conftest.$ac_objext conftest.$ac_ext
21076 ac_cpp='$CPP $CPPFLAGS'
21077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21083 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21084 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21085 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21087 cat >>confdefs.h <<\_ACEOF
21088 #define HAVE_STD_ITERATOR
21093 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21094 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21095 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21096 echo $ECHO_N "(cached) $ECHO_C" >&6
21102 ac_cpp='$CXXCPP $CPPFLAGS'
21103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21107 cat >conftest.$ac_ext <<_ACEOF
21108 #line $LINENO "configure"
21111 cat confdefs.h >>conftest.$ac_ext
21112 cat >>conftest.$ac_ext <<_ACEOF
21113 /* end confdefs.h. */
21114 #include <iterator>
21115 #ifdef HAVE_NAMESPACES
21116 using namespace std;
21121 bidirectional_iterator<int,int> t; return 0;
21126 rm -f conftest.$ac_objext
21127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21128 (eval $ac_compile) 2>&5
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); } &&
21132 { ac_try='test -s conftest.$ac_objext'
21133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21134 (eval $ac_try) 2>&5
21136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21137 (exit $ac_status); }; }; then
21138 ac_cv_cxx_have_bi_iterator=yes
21140 echo "$as_me: failed program was:" >&5
21141 sed 's/^/| /' conftest.$ac_ext >&5
21143 ac_cv_cxx_have_bi_iterator=no
21145 rm -f conftest.$ac_objext conftest.$ac_ext
21147 ac_cpp='$CPP $CPPFLAGS'
21148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21154 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21155 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21156 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21158 cat >>confdefs.h <<\_ACEOF
21159 #define HAVE_BI_ITERATOR
21164 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21165 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21166 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21167 echo $ECHO_N "(cached) $ECHO_C" >&6
21173 ac_cpp='$CXXCPP $CPPFLAGS'
21174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21178 cat >conftest.$ac_ext <<_ACEOF
21179 #line $LINENO "configure"
21182 cat confdefs.h >>conftest.$ac_ext
21183 cat >>conftest.$ac_ext <<_ACEOF
21184 /* end confdefs.h. */
21185 #include <iterator>
21186 #ifdef HAVE_NAMESPACES
21187 using namespace std;
21192 forward_iterator<int,int> t; return 0;
21197 rm -f conftest.$ac_objext
21198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21199 (eval $ac_compile) 2>&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); } &&
21203 { ac_try='test -s conftest.$ac_objext'
21204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21205 (eval $ac_try) 2>&5
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); }; }; then
21209 ac_cv_cxx_have_fwd_iterator=yes
21211 echo "$as_me: failed program was:" >&5
21212 sed 's/^/| /' conftest.$ac_ext >&5
21214 ac_cv_cxx_have_fwd_iterator=no
21216 rm -f conftest.$ac_objext conftest.$ac_ext
21218 ac_cpp='$CPP $CPPFLAGS'
21219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21225 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21226 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21227 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21229 cat >>confdefs.h <<\_ACEOF
21230 #define HAVE_FWD_ITERATOR
21236 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21237 # for constant arguments. Useless!
21238 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21239 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21240 if test "${ac_cv_working_alloca_h+set}" = set; then
21241 echo $ECHO_N "(cached) $ECHO_C" >&6
21243 cat >conftest.$ac_ext <<_ACEOF
21244 #line $LINENO "configure"
21247 cat confdefs.h >>conftest.$ac_ext
21248 cat >>conftest.$ac_ext <<_ACEOF
21249 /* end confdefs.h. */
21250 #include <alloca.h>
21254 char *p = (char *) alloca (2 * sizeof (int));
21259 rm -f conftest.$ac_objext conftest$ac_exeext
21260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21261 (eval $ac_link) 2>&5
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); } &&
21265 { ac_try='test -s conftest$ac_exeext'
21266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21267 (eval $ac_try) 2>&5
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); }; }; then
21271 ac_cv_working_alloca_h=yes
21273 echo "$as_me: failed program was:" >&5
21274 sed 's/^/| /' conftest.$ac_ext >&5
21276 ac_cv_working_alloca_h=no
21278 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21280 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21281 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21282 if test $ac_cv_working_alloca_h = yes; then
21284 cat >>confdefs.h <<\_ACEOF
21285 #define HAVE_ALLOCA_H 1
21290 echo "$as_me:$LINENO: checking for alloca" >&5
21291 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21292 if test "${ac_cv_func_alloca_works+set}" = set; then
21293 echo $ECHO_N "(cached) $ECHO_C" >&6
21295 cat >conftest.$ac_ext <<_ACEOF
21296 #line $LINENO "configure"
21299 cat confdefs.h >>conftest.$ac_ext
21300 cat >>conftest.$ac_ext <<_ACEOF
21301 /* end confdefs.h. */
21303 # define alloca __builtin_alloca
21306 # include <malloc.h>
21307 # define alloca _alloca
21310 # include <alloca.h>
21315 # ifndef alloca /* predefined by HP cc +Olibcalls */
21326 char *p = (char *) alloca (1);
21331 rm -f conftest.$ac_objext conftest$ac_exeext
21332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21333 (eval $ac_link) 2>&5
21335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336 (exit $ac_status); } &&
21337 { ac_try='test -s conftest$ac_exeext'
21338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21339 (eval $ac_try) 2>&5
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); }; }; then
21343 ac_cv_func_alloca_works=yes
21345 echo "$as_me: failed program was:" >&5
21346 sed 's/^/| /' conftest.$ac_ext >&5
21348 ac_cv_func_alloca_works=no
21350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21352 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21353 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21355 if test $ac_cv_func_alloca_works = yes; then
21357 cat >>confdefs.h <<\_ACEOF
21358 #define HAVE_ALLOCA 1
21362 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21363 # that cause trouble. Some versions do not even contain alloca or
21364 # contain a buggy version. If you still want to use their alloca,
21365 # use ar to extract alloca.o from them instead of compiling alloca.c.
21367 ALLOCA=alloca.$ac_objext
21369 cat >>confdefs.h <<\_ACEOF
21374 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21375 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21376 if test "${ac_cv_os_cray+set}" = set; then
21377 echo $ECHO_N "(cached) $ECHO_C" >&6
21379 cat >conftest.$ac_ext <<_ACEOF
21380 #line $LINENO "configure"
21383 cat confdefs.h >>conftest.$ac_ext
21384 cat >>conftest.$ac_ext <<_ACEOF
21385 /* end confdefs.h. */
21386 #if defined(CRAY) && ! defined(CRAY2)
21393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21394 $EGREP "webecray" >/dev/null 2>&1; then
21402 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21403 echo "${ECHO_T}$ac_cv_os_cray" >&6
21404 if test $ac_cv_os_cray = yes; then
21405 for ac_func in _getb67 GETB67 getb67; do
21406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21407 echo "$as_me:$LINENO: checking for $ac_func" >&5
21408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21409 if eval "test \"\${$as_ac_var+set}\" = set"; then
21410 echo $ECHO_N "(cached) $ECHO_C" >&6
21412 cat >conftest.$ac_ext <<_ACEOF
21413 #line $LINENO "configure"
21416 cat confdefs.h >>conftest.$ac_ext
21417 cat >>conftest.$ac_ext <<_ACEOF
21418 /* end confdefs.h. */
21419 /* System header to define __stub macros and hopefully few prototypes,
21420 which can conflict with char $ac_func (); below.
21421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21422 <limits.h> exists even on freestanding compilers. */
21424 # include <limits.h>
21426 # include <assert.h>
21428 /* Override any gcc2 internal prototype to avoid an error. */
21433 /* We use char because int might match the return type of a gcc2
21434 builtin and then its argument prototype would still apply. */
21436 /* The GNU C library defines this for functions which it implements
21437 to always fail with ENOSYS. Some functions are actually named
21438 something starting with __ and the normal name is an alias. */
21439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21442 char (*f) () = $ac_func;
21451 return f != $ac_func;
21456 rm -f conftest.$ac_objext conftest$ac_exeext
21457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21458 (eval $ac_link) 2>&5
21460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21461 (exit $ac_status); } &&
21462 { ac_try='test -s conftest$ac_exeext'
21463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21464 (eval $ac_try) 2>&5
21466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467 (exit $ac_status); }; }; then
21468 eval "$as_ac_var=yes"
21470 echo "$as_me: failed program was:" >&5
21471 sed 's/^/| /' conftest.$ac_ext >&5
21473 eval "$as_ac_var=no"
21475 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21479 if test `eval echo '${'$as_ac_var'}'` = yes; then
21481 cat >>confdefs.h <<_ACEOF
21482 #define CRAY_STACKSEG_END $ac_func
21491 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21492 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21493 if test "${ac_cv_c_stack_direction+set}" = set; then
21494 echo $ECHO_N "(cached) $ECHO_C" >&6
21496 if test "$cross_compiling" = yes; then
21497 ac_cv_c_stack_direction=0
21499 cat >conftest.$ac_ext <<_ACEOF
21500 #line $LINENO "configure"
21503 cat confdefs.h >>conftest.$ac_ext
21504 cat >>conftest.$ac_ext <<_ACEOF
21505 /* end confdefs.h. */
21507 find_stack_direction ()
21509 static char *addr = 0;
21514 return find_stack_direction ();
21517 return (&dummy > addr) ? 1 : -1;
21523 exit (find_stack_direction () < 0);
21526 rm -f conftest$ac_exeext
21527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21528 (eval $ac_link) 2>&5
21530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21531 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21533 (eval $ac_try) 2>&5
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); }; }; then
21537 ac_cv_c_stack_direction=1
21539 echo "$as_me: program exited with status $ac_status" >&5
21540 echo "$as_me: failed program was:" >&5
21541 sed 's/^/| /' conftest.$ac_ext >&5
21543 ( exit $ac_status )
21544 ac_cv_c_stack_direction=-1
21546 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21549 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21550 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21552 cat >>confdefs.h <<_ACEOF
21553 #define STACK_DIRECTION $ac_cv_c_stack_direction
21559 if test $ac_cv_c_compiler_gnu = yes; then
21560 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21561 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21562 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21563 echo $ECHO_N "(cached) $ECHO_C" >&6
21565 ac_pattern="Autoconf.*'x'"
21566 cat >conftest.$ac_ext <<_ACEOF
21567 #line $LINENO "configure"
21570 cat confdefs.h >>conftest.$ac_ext
21571 cat >>conftest.$ac_ext <<_ACEOF
21572 /* end confdefs.h. */
21576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21577 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21578 ac_cv_prog_gcc_traditional=yes
21580 ac_cv_prog_gcc_traditional=no
21585 if test $ac_cv_prog_gcc_traditional = no; then
21586 cat >conftest.$ac_ext <<_ACEOF
21587 #line $LINENO "configure"
21590 cat confdefs.h >>conftest.$ac_ext
21591 cat >>conftest.$ac_ext <<_ACEOF
21592 /* end confdefs.h. */
21593 #include <termio.h>
21596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21597 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21598 ac_cv_prog_gcc_traditional=yes
21604 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21605 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21606 if test $ac_cv_prog_gcc_traditional = yes; then
21607 CC="$CC -traditional"
21611 echo "$as_me:$LINENO: checking for working memcmp" >&5
21612 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21613 if test "${ac_cv_func_memcmp_working+set}" = set; then
21614 echo $ECHO_N "(cached) $ECHO_C" >&6
21616 if test "$cross_compiling" = yes; then
21617 ac_cv_func_memcmp_working=no
21619 cat >conftest.$ac_ext <<_ACEOF
21620 #line $LINENO "configure"
21623 cat confdefs.h >>conftest.$ac_ext
21624 cat >>conftest.$ac_ext <<_ACEOF
21625 /* end confdefs.h. */
21631 /* Some versions of memcmp are not 8-bit clean. */
21632 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21633 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21636 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21637 or more and with at least one buffer not starting on a 4-byte boundary.
21638 William Lewis provided this test program. */
21643 for (i = 0; i < 4; i++)
21647 strcpy (a, "--------01111111");
21648 strcpy (b, "--------10000000");
21649 if (memcmp (a, b, 16) >= 0)
21659 rm -f conftest$ac_exeext
21660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21661 (eval $ac_link) 2>&5
21663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21666 (eval $ac_try) 2>&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); }; }; then
21670 ac_cv_func_memcmp_working=yes
21672 echo "$as_me: program exited with status $ac_status" >&5
21673 echo "$as_me: failed program was:" >&5
21674 sed 's/^/| /' conftest.$ac_ext >&5
21676 ( exit $ac_status )
21677 ac_cv_func_memcmp_working=no
21679 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21682 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21683 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21684 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21688 for ac_header in stdlib.h unistd.h
21690 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21692 echo "$as_me:$LINENO: checking for $ac_header" >&5
21693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21695 echo $ECHO_N "(cached) $ECHO_C" >&6
21697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21700 # Is the header compilable?
21701 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21702 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21703 cat >conftest.$ac_ext <<_ACEOF
21704 #line $LINENO "configure"
21707 cat confdefs.h >>conftest.$ac_ext
21708 cat >>conftest.$ac_ext <<_ACEOF
21709 /* end confdefs.h. */
21710 $ac_includes_default
21711 #include <$ac_header>
21713 rm -f conftest.$ac_objext
21714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21715 (eval $ac_compile) 2>&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); } &&
21719 { ac_try='test -s conftest.$ac_objext'
21720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21721 (eval $ac_try) 2>&5
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); }; }; then
21725 ac_header_compiler=yes
21727 echo "$as_me: failed program was:" >&5
21728 sed 's/^/| /' conftest.$ac_ext >&5
21730 ac_header_compiler=no
21732 rm -f conftest.$ac_objext conftest.$ac_ext
21733 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21734 echo "${ECHO_T}$ac_header_compiler" >&6
21736 # Is the header present?
21737 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21738 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21739 cat >conftest.$ac_ext <<_ACEOF
21740 #line $LINENO "configure"
21743 cat confdefs.h >>conftest.$ac_ext
21744 cat >>conftest.$ac_ext <<_ACEOF
21745 /* end confdefs.h. */
21746 #include <$ac_header>
21748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21749 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21751 grep -v '^ *+' conftest.er1 >conftest.err
21753 cat conftest.err >&5
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); } >/dev/null; then
21756 if test -s conftest.err; then
21757 ac_cpp_err=$ac_c_preproc_warn_flag
21764 if test -z "$ac_cpp_err"; then
21765 ac_header_preproc=yes
21767 echo "$as_me: failed program was:" >&5
21768 sed 's/^/| /' conftest.$ac_ext >&5
21770 ac_header_preproc=no
21772 rm -f conftest.err conftest.$ac_ext
21773 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21774 echo "${ECHO_T}$ac_header_preproc" >&6
21776 # So? What about this header?
21777 case $ac_header_compiler:$ac_header_preproc in
21779 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21780 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21782 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21785 ## ------------------------------------ ##
21786 ## Report this to bug-autoconf@gnu.org. ##
21787 ## ------------------------------------ ##
21790 sed "s/^/$as_me: WARNING: /" >&2
21793 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21794 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21795 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21796 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21797 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21798 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21801 ## ------------------------------------ ##
21802 ## Report this to bug-autoconf@gnu.org. ##
21803 ## ------------------------------------ ##
21806 sed "s/^/$as_me: WARNING: /" >&2
21809 echo "$as_me:$LINENO: checking for $ac_header" >&5
21810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21812 echo $ECHO_N "(cached) $ECHO_C" >&6
21814 eval "$as_ac_Header=$ac_header_preproc"
21816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21821 cat >>confdefs.h <<_ACEOF
21822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21830 for ac_func in getpagesize
21832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21833 echo "$as_me:$LINENO: checking for $ac_func" >&5
21834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21835 if eval "test \"\${$as_ac_var+set}\" = set"; then
21836 echo $ECHO_N "(cached) $ECHO_C" >&6
21838 cat >conftest.$ac_ext <<_ACEOF
21839 #line $LINENO "configure"
21842 cat confdefs.h >>conftest.$ac_ext
21843 cat >>conftest.$ac_ext <<_ACEOF
21844 /* end confdefs.h. */
21845 /* System header to define __stub macros and hopefully few prototypes,
21846 which can conflict with char $ac_func (); below.
21847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21848 <limits.h> exists even on freestanding compilers. */
21850 # include <limits.h>
21852 # include <assert.h>
21854 /* Override any gcc2 internal prototype to avoid an error. */
21859 /* We use char because int might match the return type of a gcc2
21860 builtin and then its argument prototype would still apply. */
21862 /* The GNU C library defines this for functions which it implements
21863 to always fail with ENOSYS. Some functions are actually named
21864 something starting with __ and the normal name is an alias. */
21865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21868 char (*f) () = $ac_func;
21877 return f != $ac_func;
21882 rm -f conftest.$ac_objext conftest$ac_exeext
21883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21884 (eval $ac_link) 2>&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); } &&
21888 { ac_try='test -s conftest$ac_exeext'
21889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21890 (eval $ac_try) 2>&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); }; }; then
21894 eval "$as_ac_var=yes"
21896 echo "$as_me: failed program was:" >&5
21897 sed 's/^/| /' conftest.$ac_ext >&5
21899 eval "$as_ac_var=no"
21901 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21905 if test `eval echo '${'$as_ac_var'}'` = yes; then
21906 cat >>confdefs.h <<_ACEOF
21907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21913 echo "$as_me:$LINENO: checking for working mmap" >&5
21914 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
21915 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
21916 echo $ECHO_N "(cached) $ECHO_C" >&6
21918 if test "$cross_compiling" = yes; then
21919 ac_cv_func_mmap_fixed_mapped=no
21921 cat >conftest.$ac_ext <<_ACEOF
21922 #line $LINENO "configure"
21925 cat confdefs.h >>conftest.$ac_ext
21926 cat >>conftest.$ac_ext <<_ACEOF
21927 /* end confdefs.h. */
21928 $ac_includes_default
21929 /* malloc might have been renamed as rpl_malloc. */
21932 /* Thanks to Mike Haertel and Jim Avera for this test.
21933 Here is a matrix of mmap possibilities:
21934 mmap private not fixed
21935 mmap private fixed at somewhere currently unmapped
21936 mmap private fixed at somewhere already mapped
21937 mmap shared not fixed
21938 mmap shared fixed at somewhere currently unmapped
21939 mmap shared fixed at somewhere already mapped
21940 For private mappings, we should verify that changes cannot be read()
21941 back from the file, nor mmap's back from the file at a different
21942 address. (There have been systems where private was not correctly
21943 implemented like the infamous i386 svr4.0, and systems where the
21944 VM page cache was not coherent with the file system buffer cache
21945 like early versions of FreeBSD and possibly contemporary NetBSD.)
21946 For shared mappings, we should conversely verify that changes get
21947 propagated back to all the places they're supposed to be.
21949 Grep wants private fixed already mapped.
21950 The main things grep needs to know about mmap are:
21951 * does it exist and is it safe to write into the mmap'd area
21952 * how to use it (BSD variants) */
21955 #include <sys/mman.h>
21957 #if !STDC_HEADERS && !HAVE_STDLIB_H
21961 /* This mess was copied from the GNU getpagesize.h. */
21962 #if !HAVE_GETPAGESIZE
21963 /* Assume that all systems that can run configure have sys/param.h. */
21964 # if !HAVE_SYS_PARAM_H
21965 # define HAVE_SYS_PARAM_H 1
21968 # ifdef _SC_PAGESIZE
21969 # define getpagesize() sysconf(_SC_PAGESIZE)
21970 # else /* no _SC_PAGESIZE */
21971 # if HAVE_SYS_PARAM_H
21972 # include <sys/param.h>
21973 # ifdef EXEC_PAGESIZE
21974 # define getpagesize() EXEC_PAGESIZE
21975 # else /* no EXEC_PAGESIZE */
21977 # define getpagesize() NBPG * CLSIZE
21980 # endif /* no CLSIZE */
21981 # else /* no NBPG */
21983 # define getpagesize() NBPC
21984 # else /* no NBPC */
21986 # define getpagesize() PAGESIZE
21987 # endif /* PAGESIZE */
21988 # endif /* no NBPC */
21989 # endif /* no NBPG */
21990 # endif /* no EXEC_PAGESIZE */
21991 # else /* no HAVE_SYS_PARAM_H */
21992 # define getpagesize() 8192 /* punt totally */
21993 # endif /* no HAVE_SYS_PARAM_H */
21994 # endif /* no _SC_PAGESIZE */
21996 #endif /* no HAVE_GETPAGESIZE */
22001 char *data, *data2, *data3;
22005 pagesize = getpagesize ();
22007 /* First, make a file with some known garbage in it. */
22008 data = (char *) malloc (pagesize);
22011 for (i = 0; i < pagesize; ++i)
22012 *(data + i) = rand ();
22014 fd = creat ("conftest.mmap", 0600);
22017 if (write (fd, data, pagesize) != pagesize)
22021 /* Next, try to mmap the file at a fixed address which already has
22022 something else allocated at it. If we can, also make sure that
22023 we see the same garbage. */
22024 fd = open ("conftest.mmap", O_RDWR);
22027 data2 = (char *) malloc (2 * pagesize);
22030 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22031 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22032 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22034 for (i = 0; i < pagesize; ++i)
22035 if (*(data + i) != *(data2 + i))
22038 /* Finally, make sure that changes to the mapped area do not
22039 percolate back to the file as seen by read(). (This is a bug on
22040 some variants of i386 svr4.0.) */
22041 for (i = 0; i < pagesize; ++i)
22042 *(data2 + i) = *(data2 + i) + 1;
22043 data3 = (char *) malloc (pagesize);
22046 if (read (fd, data3, pagesize) != pagesize)
22048 for (i = 0; i < pagesize; ++i)
22049 if (*(data + i) != *(data3 + i))
22055 rm -f conftest$ac_exeext
22056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22057 (eval $ac_link) 2>&5
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22062 (eval $ac_try) 2>&5
22064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22065 (exit $ac_status); }; }; then
22066 ac_cv_func_mmap_fixed_mapped=yes
22068 echo "$as_me: program exited with status $ac_status" >&5
22069 echo "$as_me: failed program was:" >&5
22070 sed 's/^/| /' conftest.$ac_ext >&5
22072 ( exit $ac_status )
22073 ac_cv_func_mmap_fixed_mapped=no
22075 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22078 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22079 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22080 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22082 cat >>confdefs.h <<\_ACEOF
22083 #define HAVE_MMAP 1
22087 rm -f conftest.mmap
22089 echo "$as_me:$LINENO: checking for mmap of files" >&5
22090 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22091 if test "${ac_cv_func_mmap_file+set}" = set; then
22092 echo $ECHO_N "(cached) $ECHO_C" >&6
22097 ac_cpp='$CPP $CPPFLAGS'
22098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22102 if test "$cross_compiling" = yes; then
22103 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22104 See \`config.log' for more details." >&5
22105 echo "$as_me: error: cannot run test program while cross compiling
22106 See \`config.log' for more details." >&2;}
22107 { (exit 1); exit 1; }; }
22109 cat >conftest.$ac_ext <<_ACEOF
22110 #line $LINENO "configure"
22113 cat confdefs.h >>conftest.$ac_ext
22114 cat >>conftest.$ac_ext <<_ACEOF
22115 /* end confdefs.h. */
22117 #ifdef HAVE_SYS_MMAN_H
22118 #include <sys/mman.h>
22121 #ifdef HAVE_SYS_TYPES_H
22122 #include <sys/types.h>
22125 #ifdef HAVE_FCNTL_H
22131 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22133 rm -f conftest$ac_exeext
22134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22135 (eval $ac_link) 2>&5
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22140 (eval $ac_try) 2>&5
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); }; }; then
22144 ac_cv_func_mmap_file=yes
22146 echo "$as_me: program exited with status $ac_status" >&5
22147 echo "$as_me: failed program was:" >&5
22148 sed 's/^/| /' conftest.$ac_ext >&5
22150 ( exit $ac_status )
22151 ac_cv_func_mmap_file=no
22153 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22156 ac_cpp='$CPP $CPPFLAGS'
22157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22163 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22164 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22165 if test "$ac_cv_func_mmap_file" = yes; then
22166 cat >>confdefs.h <<\_ACEOF
22167 #define HAVE_MMAP_FILE 1
22174 if test ${ac_cv_func_mmap_file} = "no"
22176 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22177 echo "$as_me: error: mmap() of files required but not found" >&2;}
22178 { (exit 1); exit 1; }; }
22180 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22181 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22182 if test "${ac_cv_header_mmap_anon+set}" = set; then
22183 echo $ECHO_N "(cached) $ECHO_C" >&6
22188 ac_cpp='$CPP $CPPFLAGS'
22189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22193 cat >conftest.$ac_ext <<_ACEOF
22194 #line $LINENO "configure"
22197 cat confdefs.h >>conftest.$ac_ext
22198 cat >>conftest.$ac_ext <<_ACEOF
22199 /* end confdefs.h. */
22200 #include <sys/mman.h>
22201 #include <unistd.h>
22206 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22211 rm -f conftest.$ac_objext
22212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22213 (eval $ac_compile) 2>&5
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); } &&
22217 { ac_try='test -s conftest.$ac_objext'
22218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22219 (eval $ac_try) 2>&5
22221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222 (exit $ac_status); }; }; then
22223 ac_cv_header_mmap_anon=yes
22225 echo "$as_me: failed program was:" >&5
22226 sed 's/^/| /' conftest.$ac_ext >&5
22228 ac_cv_header_mmap_anon=no
22230 rm -f conftest.$ac_objext conftest.$ac_ext
22232 ac_cpp='$CPP $CPPFLAGS'
22233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22239 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22240 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22241 if test "$ac_cv_header_mmap_anon" = yes; then
22242 cat >>confdefs.h <<\_ACEOF
22243 #define HAVE_MMAP_ANONYMOUS 1
22248 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22249 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22250 if test "${ac_cv_type_signal+set}" = set; then
22251 echo $ECHO_N "(cached) $ECHO_C" >&6
22253 cat >conftest.$ac_ext <<_ACEOF
22254 #line $LINENO "configure"
22257 cat confdefs.h >>conftest.$ac_ext
22258 cat >>conftest.$ac_ext <<_ACEOF
22259 /* end confdefs.h. */
22260 #include <sys/types.h>
22261 #include <signal.h>
22266 extern "C" void (*signal (int, void (*)(int)))(int);
22268 void (*signal ()) ();
22279 rm -f conftest.$ac_objext
22280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22281 (eval $ac_compile) 2>&5
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); } &&
22285 { ac_try='test -s conftest.$ac_objext'
22286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22287 (eval $ac_try) 2>&5
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); }; }; then
22291 ac_cv_type_signal=void
22293 echo "$as_me: failed program was:" >&5
22294 sed 's/^/| /' conftest.$ac_ext >&5
22296 ac_cv_type_signal=int
22298 rm -f conftest.$ac_objext conftest.$ac_ext
22300 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22301 echo "${ECHO_T}$ac_cv_type_signal" >&6
22303 cat >>confdefs.h <<_ACEOF
22304 #define RETSIGTYPE $ac_cv_type_signal
22317 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
22319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22320 echo "$as_me:$LINENO: checking for $ac_func" >&5
22321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22322 if eval "test \"\${$as_ac_var+set}\" = set"; then
22323 echo $ECHO_N "(cached) $ECHO_C" >&6
22325 cat >conftest.$ac_ext <<_ACEOF
22326 #line $LINENO "configure"
22329 cat confdefs.h >>conftest.$ac_ext
22330 cat >>conftest.$ac_ext <<_ACEOF
22331 /* end confdefs.h. */
22332 /* System header to define __stub macros and hopefully few prototypes,
22333 which can conflict with char $ac_func (); below.
22334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22335 <limits.h> exists even on freestanding compilers. */
22337 # include <limits.h>
22339 # include <assert.h>
22341 /* Override any gcc2 internal prototype to avoid an error. */
22346 /* We use char because int might match the return type of a gcc2
22347 builtin and then its argument prototype would still apply. */
22349 /* The GNU C library defines this for functions which it implements
22350 to always fail with ENOSYS. Some functions are actually named
22351 something starting with __ and the normal name is an alias. */
22352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22355 char (*f) () = $ac_func;
22364 return f != $ac_func;
22369 rm -f conftest.$ac_objext conftest$ac_exeext
22370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22371 (eval $ac_link) 2>&5
22373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374 (exit $ac_status); } &&
22375 { ac_try='test -s conftest$ac_exeext'
22376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22377 (eval $ac_try) 2>&5
22379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22380 (exit $ac_status); }; }; then
22381 eval "$as_ac_var=yes"
22383 echo "$as_me: failed program was:" >&5
22384 sed 's/^/| /' conftest.$ac_ext >&5
22386 eval "$as_ac_var=no"
22388 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22392 if test `eval echo '${'$as_ac_var'}'` = yes; then
22393 cat >>confdefs.h <<_ACEOF
22394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22402 echo "$as_me:$LINENO: checking for mmap" >&5
22403 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22404 if test "${ac_cv_func_mmap+set}" = set; then
22405 echo $ECHO_N "(cached) $ECHO_C" >&6
22407 cat >conftest.$ac_ext <<_ACEOF
22408 #line $LINENO "configure"
22411 cat confdefs.h >>conftest.$ac_ext
22412 cat >>conftest.$ac_ext <<_ACEOF
22413 /* end confdefs.h. */
22414 /* System header to define __stub macros and hopefully few prototypes,
22415 which can conflict with char mmap (); below.
22416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22417 <limits.h> exists even on freestanding compilers. */
22419 # include <limits.h>
22421 # include <assert.h>
22423 /* Override any gcc2 internal prototype to avoid an error. */
22428 /* We use char because int might match the return type of a gcc2
22429 builtin and then its argument prototype would still apply. */
22431 /* The GNU C library defines this for functions which it implements
22432 to always fail with ENOSYS. Some functions are actually named
22433 something starting with __ and the normal name is an alias. */
22434 #if defined (__stub_mmap) || defined (__stub___mmap)
22437 char (*f) () = mmap;
22451 rm -f conftest.$ac_objext conftest$ac_exeext
22452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22453 (eval $ac_link) 2>&5
22455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22456 (exit $ac_status); } &&
22457 { ac_try='test -s conftest$ac_exeext'
22458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22459 (eval $ac_try) 2>&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); }; }; then
22463 ac_cv_func_mmap=yes
22465 echo "$as_me: failed program was:" >&5
22466 sed 's/^/| /' conftest.$ac_ext >&5
22470 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22472 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22473 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22474 if test $ac_cv_func_mmap = yes; then
22477 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22478 echo "$as_me: error: Function mmap() required but not found" >&2;}
22479 { (exit 1); exit 1; }; }
22482 echo "$as_me:$LINENO: checking for mprotect" >&5
22483 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22484 if test "${ac_cv_func_mprotect+set}" = set; then
22485 echo $ECHO_N "(cached) $ECHO_C" >&6
22487 cat >conftest.$ac_ext <<_ACEOF
22488 #line $LINENO "configure"
22491 cat confdefs.h >>conftest.$ac_ext
22492 cat >>conftest.$ac_ext <<_ACEOF
22493 /* end confdefs.h. */
22494 /* System header to define __stub macros and hopefully few prototypes,
22495 which can conflict with char mprotect (); below.
22496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22497 <limits.h> exists even on freestanding compilers. */
22499 # include <limits.h>
22501 # include <assert.h>
22503 /* Override any gcc2 internal prototype to avoid an error. */
22508 /* We use char because int might match the return type of a gcc2
22509 builtin and then its argument prototype would still apply. */
22511 /* The GNU C library defines this for functions which it implements
22512 to always fail with ENOSYS. Some functions are actually named
22513 something starting with __ and the normal name is an alias. */
22514 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22517 char (*f) () = mprotect;
22526 return f != mprotect;
22531 rm -f conftest.$ac_objext conftest$ac_exeext
22532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22533 (eval $ac_link) 2>&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); } &&
22537 { ac_try='test -s conftest$ac_exeext'
22538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22539 (eval $ac_try) 2>&5
22541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22542 (exit $ac_status); }; }; then
22543 ac_cv_func_mprotect=yes
22545 echo "$as_me: failed program was:" >&5
22546 sed 's/^/| /' conftest.$ac_ext >&5
22548 ac_cv_func_mprotect=no
22550 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22552 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22553 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22554 if test $ac_cv_func_mprotect = yes; then
22557 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22558 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22559 { (exit 1); exit 1; }; }
22564 # Check whether --enable-purify or --disable-purify was given.
22565 if test "${enable_purify+set}" = set; then
22566 enableval="$enable_purify"
22571 if test ${enableval} = "no"
22576 ENABLE_PURIFY=ENABLE_PURIFY=1
22580 # Check whether --enable-optimized or --disable-optimized was given.
22581 if test "${enable_optimized+set}" = set; then
22582 enableval="$enable_optimized"
22587 if test ${enableval} = "no"
22592 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22596 # Check whether --enable-spec or --disable-spec was given.
22597 if test "${enable_spec+set}" = set; then
22598 enableval="$enable_spec"
22603 if test ${enableval} = "no"
22608 USE_SPEC=USE_SPEC=1
22612 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22613 if test "${enable_precompiled_bytecode+set}" = set; then
22614 enableval="$enable_precompiled_bytecode"
22619 if test ${enableval} = "no"
22624 UPB=USE_PRECOMPILED_BYTECODE=1
22629 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22630 if test "${enable_llc_diffs+set}" = set; then
22631 enableval="$enable_llc_diffs"
22636 if test ${enableval} = "no"
22638 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22645 # Check whether --enable-jit or --disable-jit was given.
22646 if test "${enable_jit+set}" = set; then
22647 enableval="$enable_jit"
22653 if test ${enableval} = "no"
22660 JIT=TARGET_HAS_JIT=1
22664 JIT=TARGET_HAS_JIT=1
22676 # Check whether --with-spec or --without-spec was given.
22677 if test "${with_spec+set}" = set; then
22678 withval="$with_spec"
22682 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22687 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22688 if test "${with_llvmgccdir+set}" = set; then
22689 withval="$with_llvmgccdir"
22690 LLVMGCCDIR=$withval
22695 # Check whether --with-bcrepos or --without-bcrepos was given.
22696 if test "${with_bcrepos+set}" = set; then
22697 withval="$with_bcrepos"
22701 BCR=/home/vadve/lattner/LLVMPrograms
22706 # Check whether --with-papi or --without-papi was given.
22707 if test "${with_papi+set}" = set; then
22708 withval="$with_papi"
22712 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22717 # Check whether --with-purify or --without-purify was given.
22718 if test "${with_purify+set}" = set; then
22719 withval="$with_purify"
22725 ac_config_files="$ac_config_files Makefile.config"
22726 cat >confcache <<\_ACEOF
22727 # This file is a shell script that caches the results of configure
22728 # tests run on this system so they can be shared between configure
22729 # scripts and configure runs, see configure's option --config-cache.
22730 # It is not useful on other systems. If it contains results you don't
22731 # want to keep, you may remove or edit it.
22733 # config.status only pays attention to the cache file if you give it
22734 # the --recheck option to rerun configure.
22736 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22737 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22738 # following values.
22742 # The following way of writing the cache mishandles newlines in values,
22743 # but we know of no workaround that is simple, portable, and efficient.
22744 # So, don't put newlines in cache variables' values.
22745 # Ultrix sh set writes to stderr and can't be redirected directly,
22746 # and sets the high bit in the cache file unless we assign to the vars.
22749 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22751 # `set' does not quote correctly, so add quotes (double-quote
22752 # substitution turns \\\\ into \\, and sed turns \\ into \).
22755 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22758 # `set' quotes correctly as required by POSIX, so do not add quotes.
22760 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22767 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22769 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22771 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22772 if test -w $cache_file; then
22773 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22774 cat confcache >$cache_file
22776 echo "not updating unwritable cache $cache_file"
22781 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22782 # Let make expand exec_prefix.
22783 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22785 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22786 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22787 # trailing colons and then remove the whole line if VPATH becomes empty
22788 # (actually we leave an empty line to preserve line numbers).
22789 if test "x$srcdir" = x.; then
22790 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22791 s/:*\$(srcdir):*/:/;
22792 s/:*\${srcdir}:*/:/;
22794 s/^\([^=]*=[ ]*\):*/\1/;
22800 DEFS=-DHAVE_CONFIG_H
22804 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22805 # 1. Remove the extension, and $U if already installed.
22806 ac_i=`echo "$ac_i" |
22807 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22809 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22810 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22812 LIBOBJS=$ac_libobjs
22814 LTLIBOBJS=$ac_ltlibobjs
22818 : ${CONFIG_STATUS=./config.status}
22819 ac_clean_files_save=$ac_clean_files
22820 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22821 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22822 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22823 cat >$CONFIG_STATUS <<_ACEOF
22825 # Generated by $as_me.
22826 # Run this file to recreate the current configuration.
22827 # Compiler output produced by configure, useful for debugging
22828 # configure, is in config.log if it exists.
22831 ac_cs_recheck=false
22833 SHELL=\${CONFIG_SHELL-$SHELL}
22836 cat >>$CONFIG_STATUS <<\_ACEOF
22837 ## --------------------- ##
22838 ## M4sh Initialization. ##
22839 ## --------------------- ##
22841 # Be Bourne compatible
22842 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22845 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22846 # is contrary to our usage. Disable this feature.
22847 alias -g '${1+"$@"}'='"$@"'
22848 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22852 # Support unset when possible.
22853 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22860 # Work around bugs in pre-3.0 UWIN ksh.
22861 $as_unset ENV MAIL MAILPATH
22868 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22869 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22870 LC_TELEPHONE LC_TIME
22872 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
22873 eval $as_var=C; export $as_var
22879 # Required to use basename.
22880 if expr a : '\(a\)' >/dev/null 2>&1; then
22886 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
22887 as_basename=basename
22893 # Name of the executable.
22894 as_me=`$as_basename "$0" ||
22895 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22896 X"$0" : 'X\(//\)$' \| \
22897 X"$0" : 'X\(/\)$' \| \
22898 . : '\(.\)' 2>/dev/null ||
22900 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22901 /^X\/\(\/\/\)$/{ s//\1/; q; }
22902 /^X\/\(\/\).*/{ s//\1/; q; }
22906 # PATH needs CR, and LINENO needs CR and PATH.
22907 # Avoid depending upon Character Ranges.
22908 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22909 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22910 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22911 as_cr_digits='0123456789'
22912 as_cr_alnum=$as_cr_Letters$as_cr_digits
22914 # The user is always right.
22915 if test "${PATH_SEPARATOR+set}" != set; then
22916 echo "#! /bin/sh" >conf$$.sh
22917 echo "exit 0" >>conf$$.sh
22919 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22928 as_lineno_1=$LINENO
22929 as_lineno_2=$LINENO
22930 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22931 test "x$as_lineno_1" != "x$as_lineno_2" &&
22932 test "x$as_lineno_3" = "x$as_lineno_2" || {
22933 # Find who we are. Look in the path if we contain no path at all
22936 *[\\/]* ) as_myself=$0 ;;
22937 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22938 for as_dir in $PATH
22941 test -z "$as_dir" && as_dir=.
22942 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22947 # We did not find ourselves, most probably we were run as `sh COMMAND'
22948 # in which case we are not to be found in the path.
22949 if test "x$as_myself" = x; then
22952 if test ! -f "$as_myself"; then
22953 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22954 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22955 { (exit 1); exit 1; }; }
22957 case $CONFIG_SHELL in
22959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22960 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22963 test -z "$as_dir" && as_dir=.
22964 for as_base in sh bash ksh sh5; do
22967 if ("$as_dir/$as_base" -c '
22968 as_lineno_1=$LINENO
22969 as_lineno_2=$LINENO
22970 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22971 test "x$as_lineno_1" != "x$as_lineno_2" &&
22972 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
22973 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
22974 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
22975 CONFIG_SHELL=$as_dir/$as_base
22976 export CONFIG_SHELL
22977 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22985 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22986 # uniformly replaced by the line number. The first 'sed' inserts a
22987 # line-number line before each line; the second 'sed' does the real
22988 # work. The second script uses 'N' to pair each line-number line
22989 # with the numbered line, and appends trailing '-' during
22990 # substitution so that $LINENO is not a special case at line end.
22991 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22992 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22993 sed '=' <$as_myself |
22998 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23001 s,^['$as_cr_digits']*\n,,
23002 ' >$as_me.lineno &&
23003 chmod +x $as_me.lineno ||
23004 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23005 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23006 { (exit 1); exit 1; }; }
23008 # Don't try to exec as it changes $[0], causing all sort of problems
23009 # (the dirname of $[0] is not the place where we might find the
23010 # original and so on. Autoconf is especially sensible to this).
23012 # Exit status is that of the last command.
23017 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23018 *c*,-n*) ECHO_N= ECHO_C='
23020 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23021 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23024 if expr a : '\(a\)' >/dev/null 2>&1; then
23030 rm -f conf$$ conf$$.exe conf$$.file
23032 if ln -s conf$$.file conf$$ 2>/dev/null; then
23033 # We could just check for DJGPP; but this test a) works b) is more generic
23034 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23035 if test -f conf$$.exe; then
23036 # Don't use ln at all; we don't have any links
23041 elif ln conf$$.file conf$$ 2>/dev/null; then
23046 rm -f conf$$ conf$$.exe conf$$.file
23048 if mkdir -p . 2>/dev/null; then
23054 as_executable_p="test -f"
23056 # Sed expression to map a string onto a valid CPP name.
23057 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23059 # Sed expression to map a string onto a valid variable name.
23060 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23064 # We need space, tab and new line, in precisely that order.
23074 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23075 # report actual input values of CONFIG_FILES etc. instead of their
23076 # values after options handling. Logging --version etc. is OK.
23080 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23081 ## Running $as_me. ##
23086 This file was extended by [LLVM] $as_me [1.0], which was
23087 generated by GNU Autoconf 2.57. Invocation command line was
23089 CONFIG_FILES = $CONFIG_FILES
23090 CONFIG_HEADERS = $CONFIG_HEADERS
23091 CONFIG_LINKS = $CONFIG_LINKS
23092 CONFIG_COMMANDS = $CONFIG_COMMANDS
23096 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23100 # Files that config.status was made for.
23101 if test -n "$ac_config_files"; then
23102 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23105 if test -n "$ac_config_headers"; then
23106 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23109 if test -n "$ac_config_links"; then
23110 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23113 if test -n "$ac_config_commands"; then
23114 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23117 cat >>$CONFIG_STATUS <<\_ACEOF
23120 \`$as_me' instantiates files from templates according to the
23121 current configuration.
23123 Usage: $0 [OPTIONS] [FILE]...
23125 -h, --help print this help, then exit
23126 -V, --version print version number, then exit
23127 -q, --quiet do not print progress messages
23128 -d, --debug don't remove temporary files
23129 --recheck update $as_me by reconfiguring in the same conditions
23130 --file=FILE[:TEMPLATE]
23131 instantiate the configuration file FILE
23132 --header=FILE[:TEMPLATE]
23133 instantiate the configuration header FILE
23135 Configuration files:
23138 Configuration headers:
23141 Configuration commands:
23144 Report bugs to <bug-autoconf@gnu.org>."
23147 cat >>$CONFIG_STATUS <<_ACEOF
23149 [LLVM] config.status [1.0]
23150 configured by $0, generated by GNU Autoconf 2.57,
23151 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23153 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23154 Free Software Foundation, Inc.
23155 This config.status script is free software; the Free Software Foundation
23156 gives unlimited permission to copy, distribute and modify it."
23161 cat >>$CONFIG_STATUS <<\_ACEOF
23162 # If no file are specified by the user, then we need to provide default
23163 # value. By we need to know if files were specified by the user.
23169 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23170 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23178 *) # This is not an option, so the user has probably given explicit
23181 ac_need_defaults=false;;
23185 # Handling of the options.
23187 cat >>$CONFIG_STATUS <<\_ACEOF
23188 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23190 --version | --vers* | -V )
23191 echo "$ac_cs_version"; exit 0 ;;
23193 # Conflict between --help and --header
23194 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23195 Try \`$0 --help' for more information." >&5
23196 echo "$as_me: error: ambiguous option: $1
23197 Try \`$0 --help' for more information." >&2;}
23198 { (exit 1); exit 1; }; };;
23199 --help | --hel | -h )
23200 echo "$ac_cs_usage"; exit 0 ;;
23201 --debug | --d* | -d )
23203 --file | --fil | --fi | --f )
23205 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23206 ac_need_defaults=false;;
23207 --header | --heade | --head | --hea )
23209 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23210 ac_need_defaults=false;;
23211 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23212 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23215 # This is an error.
23216 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23217 Try \`$0 --help' for more information." >&5
23218 echo "$as_me: error: unrecognized option: $1
23219 Try \`$0 --help' for more information." >&2;}
23220 { (exit 1); exit 1; }; } ;;
23222 *) ac_config_targets="$ac_config_targets $1" ;;
23228 ac_configure_extra_args=
23230 if $ac_cs_silent; then
23232 ac_configure_extra_args="$ac_configure_extra_args --silent"
23236 cat >>$CONFIG_STATUS <<_ACEOF
23237 if \$ac_cs_recheck; then
23238 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23239 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23244 cat >>$CONFIG_STATUS <<_ACEOF
23246 # INIT-COMMANDS section.
23249 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23250 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23251 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23252 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23253 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23254 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23255 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23256 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23257 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23258 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23259 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23260 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23261 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23262 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23263 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23264 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23265 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23266 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23267 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23268 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23269 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23270 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23271 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23272 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23273 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23274 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23275 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23276 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23277 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23278 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23279 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23280 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23281 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23282 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23283 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23284 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23285 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23286 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23287 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23288 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23289 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23290 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23291 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23292 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23293 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23294 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23295 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23296 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23297 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23298 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23299 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23300 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23301 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23302 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23303 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23304 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23305 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23306 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23307 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23308 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23309 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23310 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23311 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23312 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23313 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23314 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23315 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23316 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23317 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23318 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23319 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23320 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23321 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23322 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23323 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23324 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23325 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23326 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23327 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23328 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23329 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23330 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23331 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23332 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Burg/Makefile`
23333 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Fhourstones/Makefile`
23334 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/Makefile`
23335 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/01-qbsort/Makefile`
23336 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/03-testtrie/Makefile`
23337 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/04-bisect/Makefile`
23338 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/05-eks/Makefile`
23339 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/08-main/Makefile`
23340 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/09-vor/Makefile`
23341 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/12-IOtest/Makefile`
23342 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/15-trie/Makefile`
23343 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/17-bintr/Makefile`
23344 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/18-imp/Makefile`
23345 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/Makefile`
23346 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/bh/Makefile`
23347 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/bisort/Makefile`
23348 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/em3d/Makefile`
23349 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/health/Makefile`
23350 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/mst/Makefile`
23351 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/perimeter/Makefile`
23352 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/power/Makefile`
23353 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/treeadd/Makefile`
23354 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/tsp/Makefile`
23355 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/voronoi/Makefile`
23356 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/OptimizerEval/Makefile`
23357 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/Makefile`
23358 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/anagram/Makefile`
23359 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/bc/Makefile`
23360 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/ft/Makefile`
23361 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/ks/Makefile`
23362 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/yacr2/Makefile`
23363 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/aha/Makefile`
23364 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/llubenchmark/Makefile`
23365 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/sgefa/Makefile`
23366 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/sim/Makefile`
23367 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23368 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23369 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23370 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23371 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23372 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23373 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23374 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23375 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23376 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23377 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23378 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23379 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23380 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23381 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23382 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23383 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23384 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23385 ${srcdir}/autoconf/mkinstalldirs `dirname tools/as/Makefile`
23386 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23387 ${srcdir}/autoconf/mkinstalldirs `dirname tools/dis/Makefile`
23388 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23389 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23390 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname tools/link/Makefile`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23399 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23400 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23401 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23402 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23403 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23404 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23405 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23420 cat >>$CONFIG_STATUS <<\_ACEOF
23421 for ac_config_target in $ac_config_targets
23423 case "$ac_config_target" in
23424 # Handling of arguments.
23425 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23426 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23427 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23428 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23429 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23430 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23431 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23432 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23433 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23434 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23435 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23436 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23437 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23438 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23439 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23440 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23441 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23442 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23443 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23444 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23445 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23446 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23447 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23448 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23449 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23450 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23451 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23452 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23453 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23454 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23455 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23456 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23457 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23458 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23459 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23460 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23461 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23462 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23463 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23464 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23465 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23466 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23467 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23468 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23469 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23470 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23471 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23472 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23473 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23474 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23475 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23476 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23477 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23478 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23479 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23480 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23481 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23482 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23483 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23484 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23485 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23486 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23487 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23488 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23489 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23490 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23491 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23492 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23493 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23494 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23495 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23496 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23497 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23498 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23499 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23500 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23501 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23502 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23503 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23504 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23505 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23506 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23507 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23508 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23509 "test/Programs/MultiSource/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Burg/Makefile" ;;
23510 "test/Programs/MultiSource/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Fhourstones/Makefile" ;;
23511 "test/Programs/MultiSource/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/Makefile" ;;
23512 "test/Programs/MultiSource/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/01-qbsort/Makefile" ;;
23513 "test/Programs/MultiSource/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/03-testtrie/Makefile" ;;
23514 "test/Programs/MultiSource/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/04-bisect/Makefile" ;;
23515 "test/Programs/MultiSource/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/05-eks/Makefile" ;;
23516 "test/Programs/MultiSource/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/08-main/Makefile" ;;
23517 "test/Programs/MultiSource/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/09-vor/Makefile" ;;
23518 "test/Programs/MultiSource/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/12-IOtest/Makefile" ;;
23519 "test/Programs/MultiSource/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/15-trie/Makefile" ;;
23520 "test/Programs/MultiSource/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/17-bintr/Makefile" ;;
23521 "test/Programs/MultiSource/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/18-imp/Makefile" ;;
23522 "test/Programs/MultiSource/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/Makefile" ;;
23523 "test/Programs/MultiSource/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/bh/Makefile" ;;
23524 "test/Programs/MultiSource/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/bisort/Makefile" ;;
23525 "test/Programs/MultiSource/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/em3d/Makefile" ;;
23526 "test/Programs/MultiSource/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/health/Makefile" ;;
23527 "test/Programs/MultiSource/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/mst/Makefile" ;;
23528 "test/Programs/MultiSource/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/perimeter/Makefile" ;;
23529 "test/Programs/MultiSource/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/power/Makefile" ;;
23530 "test/Programs/MultiSource/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/treeadd/Makefile" ;;
23531 "test/Programs/MultiSource/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/tsp/Makefile" ;;
23532 "test/Programs/MultiSource/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/voronoi/Makefile" ;;
23533 "test/Programs/MultiSource/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/OptimizerEval/Makefile" ;;
23534 "test/Programs/MultiSource/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/Makefile" ;;
23535 "test/Programs/MultiSource/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/anagram/Makefile" ;;
23536 "test/Programs/MultiSource/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/bc/Makefile" ;;
23537 "test/Programs/MultiSource/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/ft/Makefile" ;;
23538 "test/Programs/MultiSource/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/ks/Makefile" ;;
23539 "test/Programs/MultiSource/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/yacr2/Makefile" ;;
23540 "test/Programs/MultiSource/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/aha/Makefile" ;;
23541 "test/Programs/MultiSource/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/llubenchmark/Makefile" ;;
23542 "test/Programs/MultiSource/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/sgefa/Makefile" ;;
23543 "test/Programs/MultiSource/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/sim/Makefile" ;;
23544 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23545 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23546 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23547 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23548 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23549 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23550 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23551 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23552 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23553 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23554 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23555 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23556 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23557 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23558 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23559 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23560 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23561 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23562 "tools/as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/as/Makefile" ;;
23563 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23564 "tools/dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/dis/Makefile" ;;
23565 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23566 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23567 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23568 "tools/link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/link/Makefile" ;;
23569 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23570 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23571 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23572 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23573 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23574 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23575 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23576 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23577 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23578 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23579 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23580 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23581 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23582 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23583 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23584 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23585 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23586 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23587 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23588 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23589 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23590 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23591 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23592 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23593 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23594 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23595 { (exit 1); exit 1; }; };;
23599 # If the user did not use the arguments to specify the items to instantiate,
23600 # then the envvar interface is used. Set only those that are not.
23601 # We use the long form for the default assignment because of an extremely
23602 # bizarre bug on SunOS 4.1.3.
23603 if $ac_need_defaults; then
23604 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23605 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23606 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23609 # Have a temporary directory for convenience. Make it in the build tree
23610 # simply because there is no reason to put it here, and in addition,
23611 # creating and moving files from /tmp can sometimes cause problems.
23612 # Create a temporary directory, and hook for its removal unless debugging.
23615 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23616 trap '{ (exit 1); exit 1; }' 1 2 13 15
23619 # Create a (secure) tmp directory for tmp files.
23622 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23623 test -n "$tmp" && test -d "$tmp"
23626 tmp=./confstat$$-$RANDOM
23627 (umask 077 && mkdir $tmp)
23630 echo "$me: cannot create a temporary directory in ." >&2
23631 { (exit 1); exit 1; }
23636 cat >>$CONFIG_STATUS <<_ACEOF
23639 # CONFIG_FILES section.
23642 # No need to generate the scripts if there are no CONFIG_FILES.
23643 # This happens for instance when ./config.status config.h
23644 if test -n "\$CONFIG_FILES"; then
23645 # Protect against being on the right side of a sed subst in config.status.
23646 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23647 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23648 s,@SHELL@,$SHELL,;t t
23649 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23650 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23651 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23652 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23653 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23654 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23655 s,@exec_prefix@,$exec_prefix,;t t
23656 s,@prefix@,$prefix,;t t
23657 s,@program_transform_name@,$program_transform_name,;t t
23658 s,@bindir@,$bindir,;t t
23659 s,@sbindir@,$sbindir,;t t
23660 s,@libexecdir@,$libexecdir,;t t
23661 s,@datadir@,$datadir,;t t
23662 s,@sysconfdir@,$sysconfdir,;t t
23663 s,@sharedstatedir@,$sharedstatedir,;t t
23664 s,@localstatedir@,$localstatedir,;t t
23665 s,@libdir@,$libdir,;t t
23666 s,@includedir@,$includedir,;t t
23667 s,@oldincludedir@,$oldincludedir,;t t
23668 s,@infodir@,$infodir,;t t
23669 s,@mandir@,$mandir,;t t
23670 s,@build_alias@,$build_alias,;t t
23671 s,@host_alias@,$host_alias,;t t
23672 s,@target_alias@,$target_alias,;t t
23673 s,@DEFS@,$DEFS,;t t
23674 s,@ECHO_C@,$ECHO_C,;t t
23675 s,@ECHO_N@,$ECHO_N,;t t
23676 s,@ECHO_T@,$ECHO_T,;t t
23677 s,@LIBS@,$LIBS,;t t
23678 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23679 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23680 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23681 s,@build@,$build,;t t
23682 s,@build_cpu@,$build_cpu,;t t
23683 s,@build_vendor@,$build_vendor,;t t
23684 s,@build_os@,$build_os,;t t
23685 s,@host@,$host,;t t
23686 s,@host_cpu@,$host_cpu,;t t
23687 s,@host_vendor@,$host_vendor,;t t
23688 s,@host_os@,$host_os,;t t
23689 s,@target@,$target,;t t
23690 s,@target_cpu@,$target_cpu,;t t
23691 s,@target_vendor@,$target_vendor,;t t
23692 s,@target_os@,$target_os,;t t
23694 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23695 s,@ARCH@,$ARCH,;t t
23697 s,@CXXFLAGS@,$CXXFLAGS,;t t
23698 s,@LDFLAGS@,$LDFLAGS,;t t
23699 s,@CPPFLAGS@,$CPPFLAGS,;t t
23700 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23701 s,@EXEEXT@,$EXEEXT,;t t
23702 s,@OBJEXT@,$OBJEXT,;t t
23704 s,@CFLAGS@,$CFLAGS,;t t
23705 s,@ac_ct_CC@,$ac_ct_CC,;t t
23707 s,@ifGNUmake@,$ifGNUmake,;t t
23709 s,@LEXLIB@,$LEXLIB,;t t
23710 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23711 s,@YACC@,$YACC,;t t
23712 s,@EGREP@,$EGREP,;t t
23713 s,@LN_S@,$LN_S,;t t
23714 s,@ECHO@,$ECHO,;t t
23716 s,@ac_ct_AR@,$ac_ct_AR,;t t
23717 s,@RANLIB@,$RANLIB,;t t
23718 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23719 s,@STRIP@,$STRIP,;t t
23720 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23721 s,@CXXCPP@,$CXXCPP,;t t
23723 s,@FFLAGS@,$FFLAGS,;t t
23724 s,@ac_ct_F77@,$ac_ct_F77,;t t
23725 s,@LIBTOOL@,$LIBTOOL,;t t
23726 s,@RPWD@,$RPWD,;t t
23729 s,@MKDIR@,$MKDIR,;t t
23730 s,@DATE@,$DATE,;t t
23733 s,@ETAGS@,$ETAGS,;t t
23734 s,@PURIFY@,$PURIFY,;t t
23735 s,@PYTHON@,$PYTHON,;t t
23736 s,@QMTEST@,$QMTEST,;t t
23737 s,@ALLOCA@,$ALLOCA,;t t
23738 s,@LIBOBJS@,$LIBOBJS,;t t
23739 s,@MMAP_FILE@,$MMAP_FILE,;t t
23740 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23741 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23742 s,@USE_SPEC@,$USE_SPEC,;t t
23744 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23746 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23748 s,@PAPIDIR@,$PAPIDIR,;t t
23749 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23754 cat >>$CONFIG_STATUS <<\_ACEOF
23755 # Split the substitutions into bite-sized pieces for seds with
23756 # small command number limits, like on Digital OSF/1 and HP-UX.
23757 ac_max_sed_lines=48
23758 ac_sed_frag=1 # Number of current file.
23759 ac_beg=1 # First line for current file.
23760 ac_end=$ac_max_sed_lines # Line after last line for current file.
23763 while $ac_more_lines; do
23764 if test $ac_beg -gt 1; then
23765 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23767 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23769 if test ! -s $tmp/subs.frag; then
23770 ac_more_lines=false
23772 # The purpose of the label and of the branching condition is to
23773 # speed up the sed processing (if there are no `@' at all, there
23774 # is no need to browse any of the substitutions).
23775 # These are the two extra sed commands mentioned above.
23777 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23778 if test -z "$ac_sed_cmds"; then
23779 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23781 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23783 ac_sed_frag=`expr $ac_sed_frag + 1`
23785 ac_end=`expr $ac_end + $ac_max_sed_lines`
23788 if test -z "$ac_sed_cmds"; then
23791 fi # test -n "$CONFIG_FILES"
23794 cat >>$CONFIG_STATUS <<\_ACEOF
23795 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23796 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23798 - | *:- | *:-:* ) # input from stdin
23800 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23801 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23802 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23803 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23804 * ) ac_file_in=$ac_file.in ;;
23807 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23808 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23809 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23810 X"$ac_file" : 'X\(//\)[^/]' \| \
23811 X"$ac_file" : 'X\(//\)$' \| \
23812 X"$ac_file" : 'X\(/\)' \| \
23813 . : '\(.\)' 2>/dev/null ||
23815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23816 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23817 /^X\(\/\/\)$/{ s//\1/; q; }
23818 /^X\(\/\).*/{ s//\1/; q; }
23820 { if $as_mkdir_p; then
23825 while test ! -d "$as_dir"; do
23826 as_dirs="$as_dir $as_dirs"
23827 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23828 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23829 X"$as_dir" : 'X\(//\)[^/]' \| \
23830 X"$as_dir" : 'X\(//\)$' \| \
23831 X"$as_dir" : 'X\(/\)' \| \
23832 . : '\(.\)' 2>/dev/null ||
23834 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23835 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23836 /^X\(\/\/\)$/{ s//\1/; q; }
23837 /^X\(\/\).*/{ s//\1/; q; }
23840 test ! -n "$as_dirs" || mkdir $as_dirs
23841 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23842 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23843 { (exit 1); exit 1; }; }; }
23847 if test "$ac_dir" != .; then
23848 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23849 # A "../" for each directory in $ac_dir_suffix.
23850 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23852 ac_dir_suffix= ac_top_builddir=
23856 .) # No --srcdir option. We are building in place.
23858 if test -z "$ac_top_builddir"; then
23861 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23863 [\\/]* | ?:[\\/]* ) # Absolute path.
23864 ac_srcdir=$srcdir$ac_dir_suffix;
23865 ac_top_srcdir=$srcdir ;;
23866 *) # Relative path.
23867 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23868 ac_top_srcdir=$ac_top_builddir$srcdir ;;
23870 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
23872 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
23873 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
23874 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
23875 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
23879 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23880 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23883 if test x"$ac_file" != x-; then
23884 { echo "$as_me:$LINENO: creating $ac_file" >&5
23885 echo "$as_me: creating $ac_file" >&6;}
23888 # Let's still pretend it is `configure' which instantiates (i.e., don't
23889 # use $as_me), people would be surprised to read:
23890 # /* config.h. Generated by config.status. */
23891 if test x"$ac_file" = x-; then
23894 configure_input="$ac_file. "
23896 configure_input=$configure_input"Generated from `echo $ac_file_in |
23897 sed 's,.*/,,'` by configure."
23899 # First look for the input files in the build tree, otherwise in the
23901 ac_file_inputs=`IFS=:
23902 for f in $ac_file_in; do
23904 -) echo $tmp/stdin ;;
23906 # Absolute (can't be DOS-style, as IFS=:)
23907 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23908 echo "$as_me: error: cannot find input file: $f" >&2;}
23909 { (exit 1); exit 1; }; }
23912 if test -f "$f"; then
23915 elif test -f "$srcdir/$f"; then
23920 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23921 echo "$as_me: error: cannot find input file: $f" >&2;}
23922 { (exit 1); exit 1; }; }
23925 done` || { (exit 1); exit 1; }
23927 cat >>$CONFIG_STATUS <<_ACEOF
23931 cat >>$CONFIG_STATUS <<\_ACEOF
23933 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23934 s,@configure_input@,$configure_input,;t t
23935 s,@srcdir@,$ac_srcdir,;t t
23936 s,@abs_srcdir@,$ac_abs_srcdir,;t t
23937 s,@top_srcdir@,$ac_top_srcdir,;t t
23938 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23939 s,@builddir@,$ac_builddir,;t t
23940 s,@abs_builddir@,$ac_abs_builddir,;t t
23941 s,@top_builddir@,$ac_top_builddir,;t t
23942 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23943 s,@INSTALL@,$ac_INSTALL,;t t
23944 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23946 if test x"$ac_file" != x-; then
23947 mv $tmp/out $ac_file
23955 cat >>$CONFIG_STATUS <<\_ACEOF
23958 # CONFIG_HEADER section.
23961 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
23962 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23964 # ac_d sets the value in "#define NAME VALUE" lines.
23965 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23966 ac_dB='[ ].*$,\1#\2'
23969 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23970 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23971 ac_uB='$,\1#\2define\3'
23975 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
23976 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23978 - | *:- | *:-:* ) # input from stdin
23980 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23981 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23982 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23983 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23984 * ) ac_file_in=$ac_file.in ;;
23987 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
23988 echo "$as_me: creating $ac_file" >&6;}
23990 # First look for the input files in the build tree, otherwise in the
23992 ac_file_inputs=`IFS=:
23993 for f in $ac_file_in; do
23995 -) echo $tmp/stdin ;;
23997 # Absolute (can't be DOS-style, as IFS=:)
23998 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23999 echo "$as_me: error: cannot find input file: $f" >&2;}
24000 { (exit 1); exit 1; }; }
24003 if test -f "$f"; then
24006 elif test -f "$srcdir/$f"; then
24011 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24012 echo "$as_me: error: cannot find input file: $f" >&2;}
24013 { (exit 1); exit 1; }; }
24016 done` || { (exit 1); exit 1; }
24017 # Remove the trailing spaces.
24018 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24022 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24023 # `conftest.undefs', that substitutes the proper values into
24024 # config.h.in to produce config.h. The first handles `#define'
24025 # templates, and the second `#undef' templates.
24026 # And first: Protect against being on the right side of a sed subst in
24027 # config.status. Protect against being in an unquoted here document
24028 # in config.status.
24029 rm -f conftest.defines conftest.undefs
24030 # Using a here document instead of a string reduces the quoting nightmare.
24031 # Putting comments in sed scripts is not portable.
24033 # `end' is used to avoid that the second main sed command (meant for
24034 # 0-ary CPP macros) applies to n-ary macro definitions.
24035 # See the Autoconf documentation for `clear'.
24036 cat >confdef2sed.sed <<\_ACEOF
24041 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24043 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24046 # If some macros were called several times there might be several times
24047 # the same #defines, which is useless. Nevertheless, we may not want to
24048 # sort them, since we want the *last* AC-DEFINE to be honored.
24049 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24050 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24051 rm -f confdef2sed.sed
24053 # This sed command replaces #undef with comments. This is necessary, for
24054 # example, in the case of _POSIX_SOURCE, which is predefined and required
24055 # on some systems where configure will not decide to define it.
24056 cat >>conftest.undefs <<\_ACEOF
24057 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24060 # Break up conftest.defines because some shells have a limit on the size
24061 # of here documents, and old seds have small limits too (100 cmds).
24062 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24063 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24064 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24065 echo ' :' >>$CONFIG_STATUS
24066 rm -f conftest.tail
24067 while grep . conftest.defines >/dev/null
24069 # Write a limited-size here document to $tmp/defines.sed.
24070 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24071 # Speed up: don't consider the non `#define' lines.
24072 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24073 # Work around the forget-to-reset-the-flag bug.
24074 echo 't clr' >>$CONFIG_STATUS
24075 echo ': clr' >>$CONFIG_STATUS
24076 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24078 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24080 mv $tmp/out $tmp/in
24082 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24083 rm -f conftest.defines
24084 mv conftest.tail conftest.defines
24086 rm -f conftest.defines
24087 echo ' fi # grep' >>$CONFIG_STATUS
24088 echo >>$CONFIG_STATUS
24090 # Break up conftest.undefs because some shells have a limit on the size
24091 # of here documents, and old seds have small limits too (100 cmds).
24092 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24093 rm -f conftest.tail
24094 while grep . conftest.undefs >/dev/null
24096 # Write a limited-size here document to $tmp/undefs.sed.
24097 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24098 # Speed up: don't consider the non `#undef'
24099 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24100 # Work around the forget-to-reset-the-flag bug.
24101 echo 't clr' >>$CONFIG_STATUS
24102 echo ': clr' >>$CONFIG_STATUS
24103 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24105 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24107 mv $tmp/out $tmp/in
24109 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24110 rm -f conftest.undefs
24111 mv conftest.tail conftest.undefs
24113 rm -f conftest.undefs
24115 cat >>$CONFIG_STATUS <<\_ACEOF
24116 # Let's still pretend it is `configure' which instantiates (i.e., don't
24117 # use $as_me), people would be surprised to read:
24118 # /* config.h. Generated by config.status. */
24119 if test x"$ac_file" = x-; then
24120 echo "/* Generated by configure. */" >$tmp/config.h
24122 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24124 cat $tmp/in >>$tmp/config.h
24126 if test x"$ac_file" != x-; then
24127 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24128 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24129 echo "$as_me: $ac_file is unchanged" >&6;}
24131 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24132 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24133 X"$ac_file" : 'X\(//\)[^/]' \| \
24134 X"$ac_file" : 'X\(//\)$' \| \
24135 X"$ac_file" : 'X\(/\)' \| \
24136 . : '\(.\)' 2>/dev/null ||
24138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24139 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24140 /^X\(\/\/\)$/{ s//\1/; q; }
24141 /^X\(\/\).*/{ s//\1/; q; }
24143 { if $as_mkdir_p; then
24148 while test ! -d "$as_dir"; do
24149 as_dirs="$as_dir $as_dirs"
24150 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24151 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24152 X"$as_dir" : 'X\(//\)[^/]' \| \
24153 X"$as_dir" : 'X\(//\)$' \| \
24154 X"$as_dir" : 'X\(/\)' \| \
24155 . : '\(.\)' 2>/dev/null ||
24157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24158 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24159 /^X\(\/\/\)$/{ s//\1/; q; }
24160 /^X\(\/\).*/{ s//\1/; q; }
24163 test ! -n "$as_dirs" || mkdir $as_dirs
24164 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24165 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24166 { (exit 1); exit 1; }; }; }
24169 mv $tmp/config.h $ac_file
24173 rm -f $tmp/config.h
24177 cat >>$CONFIG_STATUS <<\_ACEOF
24180 # CONFIG_COMMANDS section.
24182 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24183 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24184 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24185 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24186 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24187 X"$ac_dest" : 'X\(//\)[^/]' \| \
24188 X"$ac_dest" : 'X\(//\)$' \| \
24189 X"$ac_dest" : 'X\(/\)' \| \
24190 . : '\(.\)' 2>/dev/null ||
24192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24193 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24194 /^X\(\/\/\)$/{ s//\1/; q; }
24195 /^X\(\/\).*/{ s//\1/; q; }
24199 if test "$ac_dir" != .; then
24200 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24201 # A "../" for each directory in $ac_dir_suffix.
24202 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24204 ac_dir_suffix= ac_top_builddir=
24208 .) # No --srcdir option. We are building in place.
24210 if test -z "$ac_top_builddir"; then
24213 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24215 [\\/]* | ?:[\\/]* ) # Absolute path.
24216 ac_srcdir=$srcdir$ac_dir_suffix;
24217 ac_top_srcdir=$srcdir ;;
24218 *) # Relative path.
24219 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24220 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24222 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24224 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24225 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24226 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24227 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24230 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24231 echo "$as_me: executing $ac_dest commands" >&6;}
24233 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24234 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24235 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24236 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24237 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24238 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24239 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24240 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24241 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24242 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24243 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24244 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24245 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24246 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24247 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24248 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24249 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24250 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24251 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24252 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24253 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24254 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24255 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24256 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24257 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24258 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24259 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24260 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24261 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24262 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24263 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24264 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24265 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24266 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24267 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24268 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24269 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24270 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24271 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24272 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24273 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24274 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24275 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24276 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24277 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24278 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24279 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24280 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24281 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24282 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24283 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24284 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24285 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24286 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24287 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24288 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24289 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24290 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24291 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24292 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24293 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24294 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24295 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24296 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24297 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24298 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 ;;
24299 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 ;;
24300 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 ;;
24301 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 ;;
24302 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 ;;
24303 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 ;;
24304 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 ;;
24305 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 ;;
24306 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 ;;
24307 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 ;;
24308 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 ;;
24309 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 ;;
24310 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 ;;
24311 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 ;;
24312 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 ;;
24313 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24314 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24315 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24316 test/Programs/MultiSource/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Burg/Makefile test/Programs/MultiSource/Burg/Makefile ;;
24317 test/Programs/MultiSource/Fhourstones/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Fhourstones/Makefile test/Programs/MultiSource/Fhourstones/Makefile ;;
24318 test/Programs/MultiSource/McCat/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/Makefile test/Programs/MultiSource/McCat/Makefile ;;
24319 test/Programs/MultiSource/McCat/01-qbsort/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/01-qbsort/Makefile test/Programs/MultiSource/McCat/01-qbsort/Makefile ;;
24320 test/Programs/MultiSource/McCat/03-testtrie/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/03-testtrie/Makefile test/Programs/MultiSource/McCat/03-testtrie/Makefile ;;
24321 test/Programs/MultiSource/McCat/04-bisect/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/04-bisect/Makefile test/Programs/MultiSource/McCat/04-bisect/Makefile ;;
24322 test/Programs/MultiSource/McCat/05-eks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/05-eks/Makefile test/Programs/MultiSource/McCat/05-eks/Makefile ;;
24323 test/Programs/MultiSource/McCat/08-main/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/08-main/Makefile test/Programs/MultiSource/McCat/08-main/Makefile ;;
24324 test/Programs/MultiSource/McCat/09-vor/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/09-vor/Makefile test/Programs/MultiSource/McCat/09-vor/Makefile ;;
24325 test/Programs/MultiSource/McCat/12-IOtest/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/12-IOtest/Makefile test/Programs/MultiSource/McCat/12-IOtest/Makefile ;;
24326 test/Programs/MultiSource/McCat/15-trie/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/15-trie/Makefile test/Programs/MultiSource/McCat/15-trie/Makefile ;;
24327 test/Programs/MultiSource/McCat/17-bintr/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/17-bintr/Makefile test/Programs/MultiSource/McCat/17-bintr/Makefile ;;
24328 test/Programs/MultiSource/McCat/18-imp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/18-imp/Makefile test/Programs/MultiSource/McCat/18-imp/Makefile ;;
24329 test/Programs/MultiSource/Olden/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/Makefile test/Programs/MultiSource/Olden/Makefile ;;
24330 test/Programs/MultiSource/Olden/bh/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/bh/Makefile test/Programs/MultiSource/Olden/bh/Makefile ;;
24331 test/Programs/MultiSource/Olden/bisort/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/bisort/Makefile test/Programs/MultiSource/Olden/bisort/Makefile ;;
24332 test/Programs/MultiSource/Olden/em3d/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/em3d/Makefile test/Programs/MultiSource/Olden/em3d/Makefile ;;
24333 test/Programs/MultiSource/Olden/health/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/health/Makefile test/Programs/MultiSource/Olden/health/Makefile ;;
24334 test/Programs/MultiSource/Olden/mst/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/mst/Makefile test/Programs/MultiSource/Olden/mst/Makefile ;;
24335 test/Programs/MultiSource/Olden/perimeter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/perimeter/Makefile test/Programs/MultiSource/Olden/perimeter/Makefile ;;
24336 test/Programs/MultiSource/Olden/power/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/power/Makefile test/Programs/MultiSource/Olden/power/Makefile ;;
24337 test/Programs/MultiSource/Olden/treeadd/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/treeadd/Makefile test/Programs/MultiSource/Olden/treeadd/Makefile ;;
24338 test/Programs/MultiSource/Olden/tsp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/tsp/Makefile test/Programs/MultiSource/Olden/tsp/Makefile ;;
24339 test/Programs/MultiSource/Olden/voronoi/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/voronoi/Makefile test/Programs/MultiSource/Olden/voronoi/Makefile ;;
24340 test/Programs/MultiSource/OptimizerEval/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/OptimizerEval/Makefile test/Programs/MultiSource/OptimizerEval/Makefile ;;
24341 test/Programs/MultiSource/Ptrdist/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/Makefile test/Programs/MultiSource/Ptrdist/Makefile ;;
24342 test/Programs/MultiSource/Ptrdist/anagram/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/anagram/Makefile test/Programs/MultiSource/Ptrdist/anagram/Makefile ;;
24343 test/Programs/MultiSource/Ptrdist/bc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/bc/Makefile test/Programs/MultiSource/Ptrdist/bc/Makefile ;;
24344 test/Programs/MultiSource/Ptrdist/ft/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/ft/Makefile test/Programs/MultiSource/Ptrdist/ft/Makefile ;;
24345 test/Programs/MultiSource/Ptrdist/ks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/ks/Makefile test/Programs/MultiSource/Ptrdist/ks/Makefile ;;
24346 test/Programs/MultiSource/Ptrdist/yacr2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/yacr2/Makefile test/Programs/MultiSource/Ptrdist/yacr2/Makefile ;;
24347 test/Programs/MultiSource/aha/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/aha/Makefile test/Programs/MultiSource/aha/Makefile ;;
24348 test/Programs/MultiSource/llubenchmark/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/llubenchmark/Makefile test/Programs/MultiSource/llubenchmark/Makefile ;;
24349 test/Programs/MultiSource/sgefa/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/sgefa/Makefile test/Programs/MultiSource/sgefa/Makefile ;;
24350 test/Programs/MultiSource/sim/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/sim/Makefile test/Programs/MultiSource/sim/Makefile ;;
24351 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24352 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24353 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24354 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 ;;
24355 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24356 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24357 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24358 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24359 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24360 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24361 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 ;;
24362 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 ;;
24363 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 ;;
24364 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 ;;
24365 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24366 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24367 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24368 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24369 tools/as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/as/Makefile tools/as/Makefile ;;
24370 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24371 tools/dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/dis/Makefile tools/dis/Makefile ;;
24372 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24373 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24374 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24375 tools/link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/link/Makefile tools/link/Makefile ;;
24376 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24377 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24378 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24379 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24380 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24381 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24382 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24383 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24384 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24385 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24386 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24387 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24388 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24389 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24390 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24391 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24392 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24393 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24394 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24395 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24396 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24397 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24398 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24403 cat >>$CONFIG_STATUS <<\_ACEOF
24405 { (exit 0); exit 0; }
24407 chmod +x $CONFIG_STATUS
24408 ac_clean_files=$ac_clean_files_save
24411 # configure is writing to config.log, and then calls config.status.
24412 # config.status does its own redirection, appending to config.log.
24413 # Unfortunately, on DOS this fails, as config.log is still kept open
24414 # by configure, so config.status won't be able to write to it; its
24415 # output is simply discarded. So we exec the FD to /dev/null,
24416 # effectively closing config.log, so it can be properly (re)opened and
24417 # appended to by config.status. When coming back to configure, we
24418 # need to make the FD available again.
24419 if test "$no_create" != yes; then
24421 ac_config_status_args=
24422 test "$silent" = yes &&
24423 ac_config_status_args="$ac_config_status_args --quiet"
24425 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24427 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24428 # would make configure fail if this is the last instruction.
24429 $ac_cs_success || { (exit 1); exit 1; }