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/CustomChecked/Makefile"
1895 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Shootout/Makefile"
1898 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Stanford/Makefile"
1901 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1904 ac_config_commands="$ac_config_commands tools/Makefile"
1907 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1910 ac_config_commands="$ac_config_commands tools/as/Makefile"
1913 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1916 ac_config_commands="$ac_config_commands tools/dis/Makefile"
1919 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1922 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1925 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1928 ac_config_commands="$ac_config_commands tools/link/Makefile"
1931 ac_config_commands="$ac_config_commands tools/llc/Makefile"
1934 ac_config_commands="$ac_config_commands tools/lli/Makefile"
1937 ac_config_commands="$ac_config_commands tools/opt/Makefile"
1940 ac_config_commands="$ac_config_commands tools/llee/Makefile"
1943 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
1946 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
1949 ac_config_commands="$ac_config_commands utils/Makefile"
1952 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
1955 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
1958 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
1961 ac_config_commands="$ac_config_commands www/docs/Makefile"
1964 ac_config_commands="$ac_config_commands projects/Makefile"
1967 ac_config_commands="$ac_config_commands projects/sample/Makefile"
1970 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
1973 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
1976 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
1979 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
1982 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
1985 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
1988 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
1991 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
1994 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
1997 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2002 # Find a good install program. We prefer a C program (faster),
2003 # so one script is as good as another. But avoid the broken or
2004 # incompatible versions:
2005 # SysV /etc/install, /usr/sbin/install
2006 # SunOS /usr/etc/install
2007 # IRIX /sbin/install
2009 # AmigaOS /C/install, which installs bootblocks on floppy discs
2010 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2011 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2012 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2013 # ./install, which can be erroneously created by make from ./install.sh.
2014 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2015 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2016 if test -z "$INSTALL"; then
2017 if test "${ac_cv_path_install+set}" = set; then
2018 echo $ECHO_N "(cached) $ECHO_C" >&6
2020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2024 test -z "$as_dir" && as_dir=.
2025 # Account for people who put trailing slashes in PATH elements.
2027 ./ | .// | /cC/* | \
2028 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2031 # OSF1 and SCO ODT 3.0 have their own names for install.
2032 # Don't use installbsd from OSF since it installs stuff as root
2034 for ac_prog in ginstall scoinst install; do
2035 for ac_exec_ext in '' $ac_executable_extensions; do
2036 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2037 if test $ac_prog = install &&
2038 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2039 # AIX install. It has an incompatible calling convention.
2041 elif test $ac_prog = install &&
2042 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2043 # program-specific install script used by HP pwplus--don't use.
2046 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2058 if test "${ac_cv_path_install+set}" = set; then
2059 INSTALL=$ac_cv_path_install
2061 # As a last resort, use the slow shell script. We don't cache a
2062 # path for INSTALL within a source directory, because that will
2063 # break other packages using the cache if that directory is
2064 # removed, or if the path is relative.
2065 INSTALL=$ac_install_sh
2068 echo "$as_me:$LINENO: result: $INSTALL" >&5
2069 echo "${ECHO_T}$INSTALL" >&6
2071 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2072 # It thinks the first close brace ends the variable substitution.
2073 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2075 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2077 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2080 # Make sure we can run config.sub.
2081 $ac_config_sub sun4 >/dev/null 2>&1 ||
2082 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2083 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2084 { (exit 1); exit 1; }; }
2086 echo "$as_me:$LINENO: checking build system type" >&5
2087 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2088 if test "${ac_cv_build+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 ac_cv_build_alias=$build_alias
2092 test -z "$ac_cv_build_alias" &&
2093 ac_cv_build_alias=`$ac_config_guess`
2094 test -z "$ac_cv_build_alias" &&
2095 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2096 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2097 { (exit 1); exit 1; }; }
2098 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2099 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2100 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2101 { (exit 1); exit 1; }; }
2104 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2105 echo "${ECHO_T}$ac_cv_build" >&6
2107 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2108 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2109 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2112 echo "$as_me:$LINENO: checking host system type" >&5
2113 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2114 if test "${ac_cv_host+set}" = set; then
2115 echo $ECHO_N "(cached) $ECHO_C" >&6
2117 ac_cv_host_alias=$host_alias
2118 test -z "$ac_cv_host_alias" &&
2119 ac_cv_host_alias=$ac_cv_build_alias
2120 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2121 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2122 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2123 { (exit 1); exit 1; }; }
2126 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2127 echo "${ECHO_T}$ac_cv_host" >&6
2129 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2130 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2131 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2134 echo "$as_me:$LINENO: checking target system type" >&5
2135 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2136 if test "${ac_cv_target+set}" = set; then
2137 echo $ECHO_N "(cached) $ECHO_C" >&6
2139 ac_cv_target_alias=$target_alias
2140 test "x$ac_cv_target_alias" = "x" &&
2141 ac_cv_target_alias=$ac_cv_host_alias
2142 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2143 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2144 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2145 { (exit 1); exit 1; }; }
2148 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2149 echo "${ECHO_T}$ac_cv_target" >&6
2150 target=$ac_cv_target
2151 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2152 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2153 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2156 # The aliases save the names the user supplied, while $host etc.
2157 # will get canonicalized.
2158 test -n "$target_alias" &&
2159 test "$program_prefix$program_suffix$program_transform_name" = \
2161 program_prefix=${target_alias}-
2166 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2172 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2182 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2191 *sparc*solaris*) ARCH=Sparc
2198 ac_cpp='$CXXCPP $CPPFLAGS'
2199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2202 if test -n "$ac_tool_prefix"; then
2203 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2205 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2206 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2207 echo "$as_me:$LINENO: checking for $ac_word" >&5
2208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2209 if test "${ac_cv_prog_CXX+set}" = set; then
2210 echo $ECHO_N "(cached) $ECHO_C" >&6
2212 if test -n "$CXX"; then
2213 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2219 test -z "$as_dir" && as_dir=.
2220 for ac_exec_ext in '' $ac_executable_extensions; do
2221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2222 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2232 if test -n "$CXX"; then
2233 echo "$as_me:$LINENO: result: $CXX" >&5
2234 echo "${ECHO_T}$CXX" >&6
2236 echo "$as_me:$LINENO: result: no" >&5
2237 echo "${ECHO_T}no" >&6
2240 test -n "$CXX" && break
2243 if test -z "$CXX"; then
2245 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2247 # Extract the first word of "$ac_prog", so it can be a program name with args.
2248 set dummy $ac_prog; ac_word=$2
2249 echo "$as_me:$LINENO: checking for $ac_word" >&5
2250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2251 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2252 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 if test -n "$ac_ct_CXX"; then
2255 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2261 test -z "$as_dir" && as_dir=.
2262 for ac_exec_ext in '' $ac_executable_extensions; do
2263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2264 ac_cv_prog_ac_ct_CXX="$ac_prog"
2265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2273 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2274 if test -n "$ac_ct_CXX"; then
2275 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2276 echo "${ECHO_T}$ac_ct_CXX" >&6
2278 echo "$as_me:$LINENO: result: no" >&5
2279 echo "${ECHO_T}no" >&6
2282 test -n "$ac_ct_CXX" && break
2284 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2290 # Provide some information about the compiler.
2291 echo "$as_me:$LINENO:" \
2292 "checking for C++ compiler version" >&5
2293 ac_compiler=`set X $ac_compile; echo $2`
2294 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2295 (eval $ac_compiler --version </dev/null >&5) 2>&5
2297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2298 (exit $ac_status); }
2299 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2300 (eval $ac_compiler -v </dev/null >&5) 2>&5
2302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303 (exit $ac_status); }
2304 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2305 (eval $ac_compiler -V </dev/null >&5) 2>&5
2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308 (exit $ac_status); }
2310 cat >conftest.$ac_ext <<_ACEOF
2311 #line $LINENO "configure"
2314 cat confdefs.h >>conftest.$ac_ext
2315 cat >>conftest.$ac_ext <<_ACEOF
2316 /* end confdefs.h. */
2326 ac_clean_files_save=$ac_clean_files
2327 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2328 # Try to create an executable without -o first, disregard a.out.
2329 # It will help us diagnose broken compilers, and finding out an intuition
2331 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2332 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2333 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2334 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2335 (eval $ac_link_default) 2>&5
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); }; then
2339 # Find the output, starting from the most likely. This scheme is
2340 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2343 # Be careful to initialize this variable, since it used to be cached.
2344 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2346 # b.out is created by i960 compilers.
2347 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2349 test -f "$ac_file" || continue
2351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2354 # This is the source file.
2357 # We found the default executable, but exeext='' is most
2361 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2362 # FIXME: I believe we export ac_cv_exeext for Libtool,
2363 # but it would be cool to find out if it's true. Does anybody
2364 # maintain Libtool? --akim.
2372 echo "$as_me: failed program was:" >&5
2373 sed 's/^/| /' conftest.$ac_ext >&5
2375 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2376 See \`config.log' for more details." >&5
2377 echo "$as_me: error: C++ compiler cannot create executables
2378 See \`config.log' for more details." >&2;}
2379 { (exit 77); exit 77; }; }
2382 ac_exeext=$ac_cv_exeext
2383 echo "$as_me:$LINENO: result: $ac_file" >&5
2384 echo "${ECHO_T}$ac_file" >&6
2386 # Check the compiler produces executables we can run. If not, either
2387 # the compiler is broken, or we cross compile.
2388 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2389 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2390 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2391 # If not cross compiling, check that we can run a simple program.
2392 if test "$cross_compiling" != yes; then
2393 if { ac_try='./$ac_file'
2394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); }; }; then
2401 if test "$cross_compiling" = maybe; then
2404 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2405 If you meant to cross compile, use \`--host'.
2406 See \`config.log' for more details." >&5
2407 echo "$as_me: error: cannot run C++ compiled programs.
2408 If you meant to cross compile, use \`--host'.
2409 See \`config.log' for more details." >&2;}
2410 { (exit 1); exit 1; }; }
2414 echo "$as_me:$LINENO: result: yes" >&5
2415 echo "${ECHO_T}yes" >&6
2417 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2418 ac_clean_files=$ac_clean_files_save
2419 # Check the compiler produces executables we can run. If not, either
2420 # the compiler is broken, or we cross compile.
2421 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2422 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2423 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2424 echo "${ECHO_T}$cross_compiling" >&6
2426 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2427 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2429 (eval $ac_link) 2>&5
2431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432 (exit $ac_status); }; then
2433 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2434 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2435 # work properly (i.e., refer to `conftest.exe'), while it won't with
2437 for ac_file in conftest.exe conftest conftest.*; do
2438 test -f "$ac_file" || continue
2440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2441 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2448 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2449 See \`config.log' for more details." >&5
2450 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2451 See \`config.log' for more details." >&2;}
2452 { (exit 1); exit 1; }; }
2455 rm -f conftest$ac_cv_exeext
2456 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2457 echo "${ECHO_T}$ac_cv_exeext" >&6
2459 rm -f conftest.$ac_ext
2460 EXEEXT=$ac_cv_exeext
2462 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2463 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2464 if test "${ac_cv_objext+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 cat >conftest.$ac_ext <<_ACEOF
2468 #line $LINENO "configure"
2471 cat confdefs.h >>conftest.$ac_ext
2472 cat >>conftest.$ac_ext <<_ACEOF
2473 /* end confdefs.h. */
2483 rm -f conftest.o conftest.obj
2484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2485 (eval $ac_compile) 2>&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); }; then
2489 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2491 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2492 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2497 echo "$as_me: failed program was:" >&5
2498 sed 's/^/| /' conftest.$ac_ext >&5
2500 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2501 See \`config.log' for more details." >&5
2502 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2503 See \`config.log' for more details." >&2;}
2504 { (exit 1); exit 1; }; }
2507 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2509 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2510 echo "${ECHO_T}$ac_cv_objext" >&6
2511 OBJEXT=$ac_cv_objext
2513 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2514 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2515 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2516 echo $ECHO_N "(cached) $ECHO_C" >&6
2518 cat >conftest.$ac_ext <<_ACEOF
2519 #line $LINENO "configure"
2522 cat confdefs.h >>conftest.$ac_ext
2523 cat >>conftest.$ac_ext <<_ACEOF
2524 /* end confdefs.h. */
2537 rm -f conftest.$ac_objext
2538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2539 (eval $ac_compile) 2>&5
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); } &&
2543 { ac_try='test -s conftest.$ac_objext'
2544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }; }; then
2551 echo "$as_me: failed program was:" >&5
2552 sed 's/^/| /' conftest.$ac_ext >&5
2556 rm -f conftest.$ac_objext conftest.$ac_ext
2557 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2560 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2561 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2562 GXX=`test $ac_compiler_gnu = yes && echo yes`
2563 ac_test_CXXFLAGS=${CXXFLAGS+set}
2564 ac_save_CXXFLAGS=$CXXFLAGS
2566 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2567 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2568 if test "${ac_cv_prog_cxx_g+set}" = set; then
2569 echo $ECHO_N "(cached) $ECHO_C" >&6
2571 cat >conftest.$ac_ext <<_ACEOF
2572 #line $LINENO "configure"
2575 cat confdefs.h >>conftest.$ac_ext
2576 cat >>conftest.$ac_ext <<_ACEOF
2577 /* end confdefs.h. */
2587 rm -f conftest.$ac_objext
2588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2589 (eval $ac_compile) 2>&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); } &&
2593 { ac_try='test -s conftest.$ac_objext'
2594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); }; }; then
2599 ac_cv_prog_cxx_g=yes
2601 echo "$as_me: failed program was:" >&5
2602 sed 's/^/| /' conftest.$ac_ext >&5
2606 rm -f conftest.$ac_objext conftest.$ac_ext
2608 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2609 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2610 if test "$ac_test_CXXFLAGS" = set; then
2611 CXXFLAGS=$ac_save_CXXFLAGS
2612 elif test $ac_cv_prog_cxx_g = yes; then
2613 if test "$GXX" = yes; then
2619 if test "$GXX" = yes; then
2625 for ac_declaration in \
2627 '#include <stdlib.h>' \
2628 'extern "C" void std::exit (int) throw (); using std::exit;' \
2629 'extern "C" void std::exit (int); using std::exit;' \
2630 'extern "C" void exit (int) throw ();' \
2631 'extern "C" void exit (int);' \
2634 cat >conftest.$ac_ext <<_ACEOF
2635 #line $LINENO "configure"
2638 cat confdefs.h >>conftest.$ac_ext
2639 cat >>conftest.$ac_ext <<_ACEOF
2640 /* end confdefs.h. */
2651 rm -f conftest.$ac_objext
2652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2653 (eval $ac_compile) 2>&5
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); } &&
2657 { ac_try='test -s conftest.$ac_objext'
2658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }; }; then
2665 echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2670 rm -f conftest.$ac_objext conftest.$ac_ext
2671 cat >conftest.$ac_ext <<_ACEOF
2672 #line $LINENO "configure"
2675 cat confdefs.h >>conftest.$ac_ext
2676 cat >>conftest.$ac_ext <<_ACEOF
2677 /* end confdefs.h. */
2687 rm -f conftest.$ac_objext
2688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2689 (eval $ac_compile) 2>&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } &&
2693 { ac_try='test -s conftest.$ac_objext'
2694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); }; }; then
2701 echo "$as_me: failed program was:" >&5
2702 sed 's/^/| /' conftest.$ac_ext >&5
2705 rm -f conftest.$ac_objext conftest.$ac_ext
2708 if test -n "$ac_declaration"; then
2709 echo '#ifdef __cplusplus' >>confdefs.h
2710 echo $ac_declaration >>confdefs.h
2711 echo '#endif' >>confdefs.h
2715 ac_cpp='$CPP $CPPFLAGS'
2716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2721 ac_cpp='$CPP $CPPFLAGS'
2722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2725 if test -n "$ac_tool_prefix"; then
2728 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2729 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2730 echo "$as_me:$LINENO: checking for $ac_word" >&5
2731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2732 if test "${ac_cv_prog_CC+set}" = set; then
2733 echo $ECHO_N "(cached) $ECHO_C" >&6
2735 if test -n "$CC"; then
2736 ac_cv_prog_CC="$CC" # Let the user override the test.
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742 test -z "$as_dir" && as_dir=.
2743 for ac_exec_ext in '' $ac_executable_extensions; do
2744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2745 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2755 if test -n "$CC"; then
2756 echo "$as_me:$LINENO: result: $CC" >&5
2757 echo "${ECHO_T}$CC" >&6
2759 echo "$as_me:$LINENO: result: no" >&5
2760 echo "${ECHO_T}no" >&6
2763 test -n "$CC" && break
2766 if test -z "$CC"; then
2770 # Extract the first word of "$ac_prog", so it can be a program name with args.
2771 set dummy $ac_prog; ac_word=$2
2772 echo "$as_me:$LINENO: checking for $ac_word" >&5
2773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2774 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2775 echo $ECHO_N "(cached) $ECHO_C" >&6
2777 if test -n "$ac_ct_CC"; then
2778 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2784 test -z "$as_dir" && as_dir=.
2785 for ac_exec_ext in '' $ac_executable_extensions; do
2786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2787 ac_cv_prog_ac_ct_CC="$ac_prog"
2788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2796 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2797 if test -n "$ac_ct_CC"; then
2798 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2799 echo "${ECHO_T}$ac_ct_CC" >&6
2801 echo "$as_me:$LINENO: result: no" >&5
2802 echo "${ECHO_T}no" >&6
2805 test -n "$ac_ct_CC" && break
2812 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2813 See \`config.log' for more details." >&5
2814 echo "$as_me: error: no acceptable C compiler found in \$PATH
2815 See \`config.log' for more details." >&2;}
2816 { (exit 1); exit 1; }; }
2818 # Provide some information about the compiler.
2819 echo "$as_me:$LINENO:" \
2820 "checking for C compiler version" >&5
2821 ac_compiler=`set X $ac_compile; echo $2`
2822 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2823 (eval $ac_compiler --version </dev/null >&5) 2>&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); }
2827 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2828 (eval $ac_compiler -v </dev/null >&5) 2>&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); }
2832 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2833 (eval $ac_compiler -V </dev/null >&5) 2>&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }
2838 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2839 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2840 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2841 echo $ECHO_N "(cached) $ECHO_C" >&6
2843 cat >conftest.$ac_ext <<_ACEOF
2844 #line $LINENO "configure"
2847 cat confdefs.h >>conftest.$ac_ext
2848 cat >>conftest.$ac_ext <<_ACEOF
2849 /* end confdefs.h. */
2862 rm -f conftest.$ac_objext
2863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2864 (eval $ac_compile) 2>&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); } &&
2868 { ac_try='test -s conftest.$ac_objext'
2869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); }; }; then
2876 echo "$as_me: failed program was:" >&5
2877 sed 's/^/| /' conftest.$ac_ext >&5
2881 rm -f conftest.$ac_objext conftest.$ac_ext
2882 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2885 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2886 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2887 GCC=`test $ac_compiler_gnu = yes && echo yes`
2888 ac_test_CFLAGS=${CFLAGS+set}
2889 ac_save_CFLAGS=$CFLAGS
2891 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2892 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2893 if test "${ac_cv_prog_cc_g+set}" = set; then
2894 echo $ECHO_N "(cached) $ECHO_C" >&6
2896 cat >conftest.$ac_ext <<_ACEOF
2897 #line $LINENO "configure"
2900 cat confdefs.h >>conftest.$ac_ext
2901 cat >>conftest.$ac_ext <<_ACEOF
2902 /* end confdefs.h. */
2912 rm -f conftest.$ac_objext
2913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2914 (eval $ac_compile) 2>&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); } &&
2918 { ac_try='test -s conftest.$ac_objext'
2919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); }; }; then
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2931 rm -f conftest.$ac_objext conftest.$ac_ext
2933 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2934 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2935 if test "$ac_test_CFLAGS" = set; then
2936 CFLAGS=$ac_save_CFLAGS
2937 elif test $ac_cv_prog_cc_g = yes; then
2938 if test "$GCC" = yes; then
2944 if test "$GCC" = yes; then
2950 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2951 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2952 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2953 echo $ECHO_N "(cached) $ECHO_C" >&6
2955 ac_cv_prog_cc_stdc=no
2957 cat >conftest.$ac_ext <<_ACEOF
2958 #line $LINENO "configure"
2961 cat confdefs.h >>conftest.$ac_ext
2962 cat >>conftest.$ac_ext <<_ACEOF
2963 /* end confdefs.h. */
2966 #include <sys/types.h>
2967 #include <sys/stat.h>
2968 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2969 struct buf { int x; };
2970 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2971 static char *e (p, i)
2977 static char *f (char * (*g) (char **, int), char **p, ...)
2982 s = g (p, va_arg (v,int));
2986 int test (int i, double x);
2987 struct s1 {int (*f) (int a);};
2988 struct s2 {int (*f) (double a);};
2989 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2995 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3000 # Don't try gcc -ansi; that turns off useful extensions and
3001 # breaks some systems' header files.
3002 # AIX -qlanglvl=ansi
3003 # Ultrix and OSF/1 -std1
3004 # HP-UX 10.20 and later -Ae
3005 # HP-UX older versions -Aa -D_HPUX_SOURCE
3006 # SVR4 -Xc -D__EXTENSIONS__
3007 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3009 CC="$ac_save_CC $ac_arg"
3010 rm -f conftest.$ac_objext
3011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3012 (eval $ac_compile) 2>&5
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); } &&
3016 { ac_try='test -s conftest.$ac_objext'
3017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); }; }; then
3022 ac_cv_prog_cc_stdc=$ac_arg
3025 echo "$as_me: failed program was:" >&5
3026 sed 's/^/| /' conftest.$ac_ext >&5
3029 rm -f conftest.$ac_objext
3031 rm -f conftest.$ac_ext conftest.$ac_objext
3036 case "x$ac_cv_prog_cc_stdc" in
3038 echo "$as_me:$LINENO: result: none needed" >&5
3039 echo "${ECHO_T}none needed" >&6 ;;
3041 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3042 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3043 CC="$CC $ac_cv_prog_cc_stdc" ;;
3046 # Some people use a C++ compiler to compile C. Since we use `exit',
3047 # in C++ we need to declare it. In case someone uses the same compiler
3048 # for both compiling C and C++ we need to have the C++ compiler decide
3049 # the declaration of exit, since it's the most demanding environment.
3050 cat >conftest.$ac_ext <<_ACEOF
3055 rm -f conftest.$ac_objext
3056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3057 (eval $ac_compile) 2>&5
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); } &&
3061 { ac_try='test -s conftest.$ac_objext'
3062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 (exit $ac_status); }; }; then
3067 for ac_declaration in \
3069 '#include <stdlib.h>' \
3070 'extern "C" void std::exit (int) throw (); using std::exit;' \
3071 'extern "C" void std::exit (int); using std::exit;' \
3072 'extern "C" void exit (int) throw ();' \
3073 'extern "C" void exit (int);' \
3076 cat >conftest.$ac_ext <<_ACEOF
3077 #line $LINENO "configure"
3080 cat confdefs.h >>conftest.$ac_ext
3081 cat >>conftest.$ac_ext <<_ACEOF
3082 /* end confdefs.h. */
3093 rm -f conftest.$ac_objext
3094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3095 (eval $ac_compile) 2>&5
3097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); } &&
3099 { ac_try='test -s conftest.$ac_objext'
3100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }; }; then
3107 echo "$as_me: failed program was:" >&5
3108 sed 's/^/| /' conftest.$ac_ext >&5
3112 rm -f conftest.$ac_objext conftest.$ac_ext
3113 cat >conftest.$ac_ext <<_ACEOF
3114 #line $LINENO "configure"
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3129 rm -f conftest.$ac_objext
3130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3131 (eval $ac_compile) 2>&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); } &&
3135 { ac_try='test -s conftest.$ac_objext'
3136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); }; }; then
3143 echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3147 rm -f conftest.$ac_objext conftest.$ac_ext
3150 if test -n "$ac_declaration"; then
3151 echo '#ifdef __cplusplus' >>confdefs.h
3152 echo $ac_declaration >>confdefs.h
3153 echo '#endif' >>confdefs.h
3157 echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.$ac_ext >&5
3161 rm -f conftest.$ac_objext conftest.$ac_ext
3163 ac_cpp='$CPP $CPPFLAGS'
3164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3169 ac_cpp='$CPP $CPPFLAGS'
3170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3173 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3174 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3175 # On Suns, sometimes $CPP names a directory.
3176 if test -n "$CPP" && test -d "$CPP"; then
3179 if test -z "$CPP"; then
3180 if test "${ac_cv_prog_CPP+set}" = set; then
3181 echo $ECHO_N "(cached) $ECHO_C" >&6
3183 # Double quotes because CPP needs to be expanded
3184 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3187 for ac_c_preproc_warn_flag in '' yes
3189 # Use a header file that comes with gcc, so configuring glibc
3190 # with a fresh cross-compiler works.
3191 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3192 # <limits.h> exists even on freestanding compilers.
3193 # On the NeXT, cc -E runs the code through the compiler's parser,
3194 # not just through cpp. "Syntax error" is here to catch this case.
3195 cat >conftest.$ac_ext <<_ACEOF
3196 #line $LINENO "configure"
3199 cat confdefs.h >>conftest.$ac_ext
3200 cat >>conftest.$ac_ext <<_ACEOF
3201 /* end confdefs.h. */
3203 # include <limits.h>
3205 # include <assert.h>
3209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3210 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3212 grep -v '^ *+' conftest.er1 >conftest.err
3214 cat conftest.err >&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); } >/dev/null; then
3217 if test -s conftest.err; then
3218 ac_cpp_err=$ac_c_preproc_warn_flag
3225 if test -z "$ac_cpp_err"; then
3228 echo "$as_me: failed program was:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3231 # Broken: fails on valid input.
3234 rm -f conftest.err conftest.$ac_ext
3236 # OK, works on sane cases. Now check whether non-existent headers
3237 # can be detected and how.
3238 cat >conftest.$ac_ext <<_ACEOF
3239 #line $LINENO "configure"
3242 cat confdefs.h >>conftest.$ac_ext
3243 cat >>conftest.$ac_ext <<_ACEOF
3244 /* end confdefs.h. */
3245 #include <ac_nonexistent.h>
3247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3250 grep -v '^ *+' conftest.er1 >conftest.err
3252 cat conftest.err >&5
3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); } >/dev/null; then
3255 if test -s conftest.err; then
3256 ac_cpp_err=$ac_c_preproc_warn_flag
3263 if test -z "$ac_cpp_err"; then
3264 # Broken: success on invalid input.
3267 echo "$as_me: failed program was:" >&5
3268 sed 's/^/| /' conftest.$ac_ext >&5
3270 # Passes both tests.
3274 rm -f conftest.err conftest.$ac_ext
3277 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3278 rm -f conftest.err conftest.$ac_ext
3279 if $ac_preproc_ok; then
3291 echo "$as_me:$LINENO: result: $CPP" >&5
3292 echo "${ECHO_T}$CPP" >&6
3294 for ac_c_preproc_warn_flag in '' yes
3296 # Use a header file that comes with gcc, so configuring glibc
3297 # with a fresh cross-compiler works.
3298 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3299 # <limits.h> exists even on freestanding compilers.
3300 # On the NeXT, cc -E runs the code through the compiler's parser,
3301 # not just through cpp. "Syntax error" is here to catch this case.
3302 cat >conftest.$ac_ext <<_ACEOF
3303 #line $LINENO "configure"
3306 cat confdefs.h >>conftest.$ac_ext
3307 cat >>conftest.$ac_ext <<_ACEOF
3308 /* end confdefs.h. */
3310 # include <limits.h>
3312 # include <assert.h>
3316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3317 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3319 grep -v '^ *+' conftest.er1 >conftest.err
3321 cat conftest.err >&5
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); } >/dev/null; then
3324 if test -s conftest.err; then
3325 ac_cpp_err=$ac_c_preproc_warn_flag
3332 if test -z "$ac_cpp_err"; then
3335 echo "$as_me: failed program was:" >&5
3336 sed 's/^/| /' conftest.$ac_ext >&5
3338 # Broken: fails on valid input.
3341 rm -f conftest.err conftest.$ac_ext
3343 # OK, works on sane cases. Now check whether non-existent headers
3344 # can be detected and how.
3345 cat >conftest.$ac_ext <<_ACEOF
3346 #line $LINENO "configure"
3349 cat confdefs.h >>conftest.$ac_ext
3350 cat >>conftest.$ac_ext <<_ACEOF
3351 /* end confdefs.h. */
3352 #include <ac_nonexistent.h>
3354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3357 grep -v '^ *+' conftest.er1 >conftest.err
3359 cat conftest.err >&5
3360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361 (exit $ac_status); } >/dev/null; then
3362 if test -s conftest.err; then
3363 ac_cpp_err=$ac_c_preproc_warn_flag
3370 if test -z "$ac_cpp_err"; then
3371 # Broken: success on invalid input.
3374 echo "$as_me: failed program was:" >&5
3375 sed 's/^/| /' conftest.$ac_ext >&5
3377 # Passes both tests.
3381 rm -f conftest.err conftest.$ac_ext
3384 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3385 rm -f conftest.err conftest.$ac_ext
3386 if $ac_preproc_ok; then
3389 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3390 See \`config.log' for more details." >&5
3391 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3392 See \`config.log' for more details." >&2;}
3393 { (exit 1); exit 1; }; }
3397 ac_cpp='$CPP $CPPFLAGS'
3398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3403 if test "$GCC" != "yes"
3405 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3406 echo "$as_me: error: gcc required but not found" >&2;}
3407 { (exit 1); exit 1; }; }
3410 if test "$GXX" != "yes"
3412 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3413 echo "$as_me: error: g++ required but not found" >&2;}
3414 { (exit 1); exit 1; }; }
3417 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3418 if test "$gccmajor" -lt "3"
3420 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3421 echo "$as_me: error: gcc 3.x required" >&2;}
3422 { (exit 1); exit 1; }; }
3425 echo "$as_me:$LINENO: checking for GNU make" >&5
3426 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3427 if test "${_cv_gnu_make_command+set}" = set; then
3428 echo $ECHO_N "(cached) $ECHO_C" >&6
3430 _cv_gnu_make_command='' ;
3431 for a in "$MAKE" make gmake gnumake ; do
3432 if test -z "$a" ; then continue ; fi ;
3433 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3434 _cv_gnu_make_command=$a ;
3440 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3441 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3442 if test "x$_cv_gnu_make_command" != "x" ; then
3446 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3447 echo "${ECHO_T}\"Not found\"" >&6;
3451 if test -z "$_cv_gnu_make_command"
3453 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3454 echo "$as_me: error: GNU Make required but not found" >&2;}
3455 { (exit 1); exit 1; }; }
3459 echo "$as_me:$LINENO: checking " >&5
3460 echo $ECHO_N "checking ... $ECHO_C" >&6
3461 if test "${ac_cv_has_flex+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3464 for ac_prog in flex lex
3466 # Extract the first word of "$ac_prog", so it can be a program name with args.
3467 set dummy $ac_prog; ac_word=$2
3468 echo "$as_me:$LINENO: checking for $ac_word" >&5
3469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3470 if test "${ac_cv_prog_LEX+set}" = set; then
3471 echo $ECHO_N "(cached) $ECHO_C" >&6
3473 if test -n "$LEX"; then
3474 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3480 test -z "$as_dir" && as_dir=.
3481 for ac_exec_ext in '' $ac_executable_extensions; do
3482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3483 ac_cv_prog_LEX="$ac_prog"
3484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3493 if test -n "$LEX"; then
3494 echo "$as_me:$LINENO: result: $LEX" >&5
3495 echo "${ECHO_T}$LEX" >&6
3497 echo "$as_me:$LINENO: result: no" >&5
3498 echo "${ECHO_T}no" >&6
3501 test -n "$LEX" && break
3503 test -n "$LEX" || LEX=":"
3505 if test -z "$LEXLIB"
3507 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3508 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3509 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3510 echo $ECHO_N "(cached) $ECHO_C" >&6
3512 ac_check_lib_save_LIBS=$LIBS
3514 cat >conftest.$ac_ext <<_ACEOF
3515 #line $LINENO "configure"
3518 cat confdefs.h >>conftest.$ac_ext
3519 cat >>conftest.$ac_ext <<_ACEOF
3520 /* end confdefs.h. */
3522 /* Override any gcc2 internal prototype to avoid an error. */
3526 /* We use char because int might match the return type of a gcc2
3527 builtin and then its argument prototype would still apply. */
3537 rm -f conftest.$ac_objext conftest$ac_exeext
3538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3539 (eval $ac_link) 2>&5
3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); } &&
3543 { ac_try='test -s conftest$ac_exeext'
3544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548 (exit $ac_status); }; }; then
3549 ac_cv_lib_fl_yywrap=yes
3551 echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.$ac_ext >&5
3554 ac_cv_lib_fl_yywrap=no
3556 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3557 LIBS=$ac_check_lib_save_LIBS
3559 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3560 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3561 if test $ac_cv_lib_fl_yywrap = yes; then
3564 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3565 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3566 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3567 echo $ECHO_N "(cached) $ECHO_C" >&6
3569 ac_check_lib_save_LIBS=$LIBS
3571 cat >conftest.$ac_ext <<_ACEOF
3572 #line $LINENO "configure"
3575 cat confdefs.h >>conftest.$ac_ext
3576 cat >>conftest.$ac_ext <<_ACEOF
3577 /* end confdefs.h. */
3579 /* Override any gcc2 internal prototype to avoid an error. */
3583 /* We use char because int might match the return type of a gcc2
3584 builtin and then its argument prototype would still apply. */
3594 rm -f conftest.$ac_objext conftest$ac_exeext
3595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3596 (eval $ac_link) 2>&5
3598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599 (exit $ac_status); } &&
3600 { ac_try='test -s conftest$ac_exeext'
3601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); }; }; then
3606 ac_cv_lib_l_yywrap=yes
3608 echo "$as_me: failed program was:" >&5
3609 sed 's/^/| /' conftest.$ac_ext >&5
3611 ac_cv_lib_l_yywrap=no
3613 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3614 LIBS=$ac_check_lib_save_LIBS
3616 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3617 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3618 if test $ac_cv_lib_l_yywrap = yes; then
3626 if test "x$LEX" != "x:"; then
3627 echo "$as_me:$LINENO: checking lex output file root" >&5
3628 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3629 if test "${ac_cv_prog_lex_root+set}" = set; then
3630 echo $ECHO_N "(cached) $ECHO_C" >&6
3632 # The minimal lex program is just a single line: %%. But some broken lexes
3633 # (Solaris, I think it was) want two %% lines, so accommodate them.
3634 cat >conftest.l <<_ACEOF
3638 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3639 (eval $LEX conftest.l) 2>&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); }
3643 if test -f lex.yy.c; then
3644 ac_cv_prog_lex_root=lex.yy
3645 elif test -f lexyy.c; then
3646 ac_cv_prog_lex_root=lexyy
3648 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3649 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3650 { (exit 1); exit 1; }; }
3653 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3654 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3656 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3658 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3659 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3660 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3661 echo $ECHO_N "(cached) $ECHO_C" >&6
3663 # POSIX says lex can declare yytext either as a pointer or an array; the
3664 # default is implementation-dependent. Figure out which it is, since
3665 # not all implementations provide the %pointer and %array declarations.
3666 ac_cv_prog_lex_yytext_pointer=no
3667 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3669 LIBS="$LIBS $LEXLIB"
3670 cat >conftest.$ac_ext <<_ACEOF
3671 `cat $LEX_OUTPUT_ROOT.c`
3673 rm -f conftest.$ac_objext conftest$ac_exeext
3674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3675 (eval $ac_link) 2>&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); } &&
3679 { ac_try='test -s conftest$ac_exeext'
3680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); }; }; then
3685 ac_cv_prog_lex_yytext_pointer=yes
3687 echo "$as_me: failed program was:" >&5
3688 sed 's/^/| /' conftest.$ac_ext >&5
3691 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3693 rm -f "${LEX_OUTPUT_ROOT}.c"
3696 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3697 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3698 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3700 cat >>confdefs.h <<\_ACEOF
3701 #define YYTEXT_POINTER 1
3709 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3710 echo "${ECHO_T}$ac_cv_has_flex" >&6
3711 if test "$LEX" != "flex"; then
3712 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3713 echo "$as_me: error: flex not found but required" >&2;}
3714 { (exit 1); exit 1; }; }
3717 echo "$as_me:$LINENO: checking " >&5
3718 echo $ECHO_N "checking ... $ECHO_C" >&6
3719 if test "${ac_cv_has_bison+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 for ac_prog in 'bison -y' byacc
3724 # Extract the first word of "$ac_prog", so it can be a program name with args.
3725 set dummy $ac_prog; ac_word=$2
3726 echo "$as_me:$LINENO: checking for $ac_word" >&5
3727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3728 if test "${ac_cv_prog_YACC+set}" = set; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 if test -n "$YACC"; then
3732 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 test -z "$as_dir" && as_dir=.
3739 for ac_exec_ext in '' $ac_executable_extensions; do
3740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3741 ac_cv_prog_YACC="$ac_prog"
3742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3750 YACC=$ac_cv_prog_YACC
3751 if test -n "$YACC"; then
3752 echo "$as_me:$LINENO: result: $YACC" >&5
3753 echo "${ECHO_T}$YACC" >&6
3755 echo "$as_me:$LINENO: result: no" >&5
3756 echo "${ECHO_T}no" >&6
3759 test -n "$YACC" && break
3761 test -n "$YACC" || YACC="yacc"
3765 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3766 echo "${ECHO_T}$ac_cv_has_bison" >&6
3767 if test "$YACC" != "bison -y"; then
3768 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3769 echo "$as_me: error: bison not found but required" >&2;}
3770 { (exit 1); exit 1; }; }
3777 # Check whether --enable-shared or --disable-shared was given.
3778 if test "${enable_shared+set}" = set; then
3779 enableval="$enable_shared"
3780 p=${PACKAGE-default}
3782 yes) enable_shared=yes ;;
3783 no) enable_shared=no ;;
3786 # Look at the argument we got. We use all the common list separators.
3787 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3788 for pkg in $enableval; do
3790 if test "X$pkg" = "X$p"; then
3801 # Check whether --enable-static or --disable-static was given.
3802 if test "${enable_static+set}" = set; then
3803 enableval="$enable_static"
3804 p=${PACKAGE-default}
3806 yes) enable_static=yes ;;
3807 no) enable_static=no ;;
3810 # Look at the argument we got. We use all the common list separators.
3811 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3812 for pkg in $enableval; do
3814 if test "X$pkg" = "X$p"; then
3825 # Check whether --enable-fast-install or --disable-fast-install was given.
3826 if test "${enable_fast_install+set}" = set; then
3827 enableval="$enable_fast_install"
3828 p=${PACKAGE-default}
3830 yes) enable_fast_install=yes ;;
3831 no) enable_fast_install=no ;;
3833 enable_fast_install=no
3834 # Look at the argument we got. We use all the common list separators.
3835 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3836 for pkg in $enableval; do
3838 if test "X$pkg" = "X$p"; then
3839 enable_fast_install=yes
3846 enable_fast_install=yes
3849 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3850 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3851 if test "${lt_cv_path_SED+set}" = set; then
3852 echo $ECHO_N "(cached) $ECHO_C" >&6
3854 # Loop through the user's path and test for sed and gsed.
3855 # Then use that list of sed's as ones to test for truncation.
3856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3860 test -z "$as_dir" && as_dir=.
3861 for lt_ac_prog in sed gsed; do
3862 for ac_exec_ext in '' $ac_executable_extensions; do
3863 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3864 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3871 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3872 # along with /bin/sed that truncates output.
3873 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3874 test ! -f $lt_ac_sed && break
3875 cat /dev/null > conftest.in
3877 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3878 # Check for GNU sed and select it if it is found.
3879 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3880 lt_cv_path_SED=$lt_ac_sed
3884 cat conftest.in conftest.in >conftest.tmp
3885 mv conftest.tmp conftest.in
3886 cp conftest.in conftest.nl
3888 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3889 cmp -s conftest.out conftest.nl || break
3890 # 10000 chars as input seems more than enough
3891 test $lt_ac_count -gt 10 && break
3892 lt_ac_count=`expr $lt_ac_count + 1`
3893 if test $lt_ac_count -gt $lt_ac_max; then
3894 lt_ac_max=$lt_ac_count
3895 lt_cv_path_SED=$lt_ac_sed
3903 echo "$as_me:$LINENO: result: $SED" >&5
3904 echo "${ECHO_T}$SED" >&6
3906 echo "$as_me:$LINENO: checking for egrep" >&5
3907 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3908 if test "${ac_cv_prog_egrep+set}" = set; then
3909 echo $ECHO_N "(cached) $ECHO_C" >&6
3911 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3912 then ac_cv_prog_egrep='grep -E'
3913 else ac_cv_prog_egrep='egrep'
3916 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3917 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3918 EGREP=$ac_cv_prog_egrep
3922 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3923 if test "${with_gnu_ld+set}" = set; then
3924 withval="$with_gnu_ld"
3925 test "$withval" = no || with_gnu_ld=yes
3930 if test "$GCC" = yes; then
3931 # Check if gcc -print-prog-name=ld gives a path.
3932 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3933 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3936 # gcc leaves a trailing carriage return which upsets mingw
3937 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3939 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3942 # Accept absolute paths.
3944 re_direlt='/[^/][^/]*/\.\./'
3945 # Canonicalize the path of ld
3946 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3947 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3948 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3950 test -z "$LD" && LD="$ac_prog"
3953 # If it fails, then pretend we aren't using GCC.
3957 # If it is relative, then search for the first ld in PATH.
3961 elif test "$with_gnu_ld" = yes; then
3962 echo "$as_me:$LINENO: checking for GNU ld" >&5
3963 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3965 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3966 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3968 if test "${lt_cv_path_LD+set}" = set; then
3969 echo $ECHO_N "(cached) $ECHO_C" >&6
3971 if test -z "$LD"; then
3972 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3973 for ac_dir in $PATH; do
3975 test -z "$ac_dir" && ac_dir=.
3976 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3977 lt_cv_path_LD="$ac_dir/$ac_prog"
3978 # Check to see if the program is GNU ld. I'd rather use --version,
3979 # but apparently some GNU ld's only accept -v.
3980 # Break only if it was the GNU/non-GNU ld that we prefer.
3981 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3982 *GNU* | *'with BFD'*)
3983 test "$with_gnu_ld" != no && break
3986 test "$with_gnu_ld" != yes && break
3993 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3998 if test -n "$LD"; then
3999 echo "$as_me:$LINENO: result: $LD" >&5
4000 echo "${ECHO_T}$LD" >&6
4002 echo "$as_me:$LINENO: result: no" >&5
4003 echo "${ECHO_T}no" >&6
4005 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4006 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4007 { (exit 1); exit 1; }; }
4008 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4009 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4010 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4011 echo $ECHO_N "(cached) $ECHO_C" >&6
4013 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4014 case `"$LD" -v 2>&1 </dev/null` in
4015 *GNU* | *'with BFD'*)
4016 lt_cv_prog_gnu_ld=yes
4019 lt_cv_prog_gnu_ld=no
4023 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4024 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4025 with_gnu_ld=$lt_cv_prog_gnu_ld
4028 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4029 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4030 if test "${lt_cv_ld_reload_flag+set}" = set; then
4031 echo $ECHO_N "(cached) $ECHO_C" >&6
4033 lt_cv_ld_reload_flag='-r'
4035 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4036 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4037 reload_flag=$lt_cv_ld_reload_flag
4038 case $reload_flag in
4040 *) reload_flag=" $reload_flag" ;;
4042 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4044 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4045 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4046 if test "${lt_cv_path_NM+set}" = set; then
4047 echo $ECHO_N "(cached) $ECHO_C" >&6
4049 if test -n "$NM"; then
4050 # Let the user override the test.
4053 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4054 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4056 test -z "$ac_dir" && ac_dir=.
4057 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4058 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4059 # Check to see if the nm accepts a BSD-compat flag.
4060 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4061 # nm: unknown option "B" ignored
4062 # Tru64's nm complains that /dev/null is an invalid object file
4063 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4064 */dev/null* | *'Invalid file or object type'*)
4065 lt_cv_path_NM="$tmp_nm -B"
4069 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4071 lt_cv_path_NM="$tmp_nm -p"
4075 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4076 continue # so that we can try to find one that supports BSD flags
4083 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4086 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4087 echo "${ECHO_T}$lt_cv_path_NM" >&6
4090 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4091 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4093 if test "$LN_S" = "ln -s"; then
4094 echo "$as_me:$LINENO: result: yes" >&5
4095 echo "${ECHO_T}yes" >&6
4097 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4098 echo "${ECHO_T}no, using $LN_S" >&6
4101 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4102 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4103 if test "${lt_cv_deplibs_check_method+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 lt_cv_file_magic_cmd='$MAGIC_CMD'
4107 lt_cv_file_magic_test_file=
4108 lt_cv_deplibs_check_method='unknown'
4109 # Need to set the preceding variable on all platforms that support
4110 # interlibrary dependencies.
4111 # 'none' -- dependencies not supported.
4112 # `unknown' -- same as none, but documents that we really don't know.
4113 # 'pass_all' -- all dependencies passed with no checks.
4114 # 'test_compile' -- check by making test program.
4115 # 'file_magic [[regex]]' -- check by looking for files in library path
4116 # which responds to the $file_magic_cmd with a given extended regex.
4117 # If you have `file' or equivalent on your system and you're not sure
4118 # whether `pass_all' will *always* work, you probably want this one.
4122 lt_cv_deplibs_check_method=pass_all
4126 lt_cv_deplibs_check_method=pass_all
4130 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4131 lt_cv_file_magic_cmd='/usr/bin/file -L'
4132 lt_cv_file_magic_test_file=/shlib/libc.so
4135 cygwin* | mingw* | pw32*)
4136 # win32_libid is a shell function defined in ltmain.sh
4137 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4138 lt_cv_file_magic_cmd='win32_libid'
4141 darwin* | rhapsody*)
4142 # this will be overwritten by pass_all, but leave it in just in case
4143 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4144 lt_cv_file_magic_cmd='/usr/bin/file -L'
4146 rhapsody* | darwin1.[012])
4147 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4150 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4153 lt_cv_deplibs_check_method=pass_all
4157 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4160 # Not sure whether the presence of OpenBSD here was a mistake.
4161 # Let's accept both of them until this is cleared up.
4162 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4163 lt_cv_file_magic_cmd=/usr/bin/file
4164 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4168 lt_cv_deplibs_check_method=pass_all
4173 lt_cv_deplibs_check_method=pass_all
4176 hpux10.20* | hpux11*)
4177 lt_cv_file_magic_cmd=/usr/bin/file
4180 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4181 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4184 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]'
4185 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4188 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4189 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4194 irix5* | irix6* | nonstopux*)
4196 irix5* | nonstopux*)
4197 # this will be overridden with pass_all, but let us keep it just in case
4198 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4202 *-32|*"-32 ") libmagic=32-bit;;
4203 *-n32|*"-n32 ") libmagic=N32;;
4204 *-64|*"-64 ") libmagic=64-bit;;
4205 *) libmagic=never-match;;
4207 # this will be overridden with pass_all, but let us keep it just in case
4208 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4211 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4212 lt_cv_deplibs_check_method=pass_all
4215 # This must be Linux ELF.
4218 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4219 lt_cv_deplibs_check_method=pass_all ;;
4221 # glibc up to 2.1.1 does not perform some relocations on ARM
4222 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4224 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4228 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4229 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4231 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4236 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4237 lt_cv_file_magic_cmd=/usr/bin/file
4238 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4242 lt_cv_deplibs_check_method=unknown
4246 lt_cv_file_magic_cmd=/usr/bin/file
4247 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4248 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4249 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4251 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4255 osf3* | osf4* | osf5*)
4256 # this will be overridden with pass_all, but let us keep it just in case
4257 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4258 lt_cv_file_magic_test_file=/shlib/libc.so
4259 lt_cv_deplibs_check_method=pass_all
4263 lt_cv_deplibs_check_method=pass_all
4267 lt_cv_deplibs_check_method=pass_all
4268 lt_cv_file_magic_test_file=/lib/libc.so
4271 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4272 case $host_vendor in
4274 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]'
4275 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4278 lt_cv_deplibs_check_method=pass_all
4281 lt_cv_file_magic_cmd='/bin/file'
4282 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4285 lt_cv_file_magic_cmd='/bin/file'
4286 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4287 lt_cv_file_magic_test_file=/lib/libc.so
4290 lt_cv_deplibs_check_method=pass_all
4295 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4296 lt_cv_deplibs_check_method=pass_all
4301 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4302 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4303 file_magic_cmd=$lt_cv_file_magic_cmd
4304 deplibs_check_method=$lt_cv_deplibs_check_method
4305 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4310 # If no C compiler was specified, use CC.
4313 # Allow CC to be a program name with arguments.
4316 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4317 if test "${enable_libtool_lock+set}" = set; then
4318 enableval="$enable_libtool_lock"
4321 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4323 # Some flags need to be propagated to the compiler or linker for good
4327 # Find out which ABI we are using.
4328 echo 'int i;' > conftest.$ac_ext
4329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4330 (eval $ac_compile) 2>&5
4332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333 (exit $ac_status); }; then
4334 case `/usr/bin/file conftest.$ac_objext` in
4346 # Find out which ABI we are using.
4347 echo '#line 4347 "configure"' > conftest.$ac_ext
4348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4349 (eval $ac_compile) 2>&5
4351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4352 (exit $ac_status); }; then
4353 if test "$lt_cv_prog_gnu_ld" = yes; then
4354 case `/usr/bin/file conftest.$ac_objext` in
4356 LD="${LD-ld} -melf32bsmip"
4359 LD="${LD-ld} -melf32bmipn32"
4362 LD="${LD-ld} -melf64bmip"
4366 case `/usr/bin/file conftest.$ac_objext` in
4382 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4383 # Find out which ABI we are using.
4384 echo 'int i;' > conftest.$ac_ext
4385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4386 (eval $ac_compile) 2>&5
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); }; then
4390 case "`/usr/bin/file conftest.o`" in
4394 LD="${LD-ld} -m elf_i386"
4397 LD="${LD-ld} -m elf32ppclinux"
4400 LD="${LD-ld} -m elf_s390"
4403 LD="${LD-ld} -m elf32_sparc"
4410 LD="${LD-ld} -m elf_x86_64"
4412 ppc*-*linux*|powerpc*-*linux*)
4413 LD="${LD-ld} -m elf64ppc"
4416 LD="${LD-ld} -m elf64_s390"
4419 LD="${LD-ld} -m elf64_sparc"
4429 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4430 SAVE_CFLAGS="$CFLAGS"
4431 CFLAGS="$CFLAGS -belf"
4432 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4433 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4434 if test "${lt_cv_cc_needs_belf+set}" = set; then
4435 echo $ECHO_N "(cached) $ECHO_C" >&6
4438 ac_cpp='$CPP $CPPFLAGS'
4439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4443 cat >conftest.$ac_ext <<_ACEOF
4444 #line $LINENO "configure"
4447 cat confdefs.h >>conftest.$ac_ext
4448 cat >>conftest.$ac_ext <<_ACEOF
4449 /* end confdefs.h. */
4459 rm -f conftest.$ac_objext conftest$ac_exeext
4460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4461 (eval $ac_link) 2>&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); } &&
4465 { ac_try='test -s conftest$ac_exeext'
4466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470 (exit $ac_status); }; }; then
4471 lt_cv_cc_needs_belf=yes
4473 echo "$as_me: failed program was:" >&5
4474 sed 's/^/| /' conftest.$ac_ext >&5
4476 lt_cv_cc_needs_belf=no
4478 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4480 ac_cpp='$CPP $CPPFLAGS'
4481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4486 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4487 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4488 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4489 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4490 CFLAGS="$SAVE_CFLAGS"
4496 need_locks="$enable_libtool_lock"
4500 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4501 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4502 if test "${ac_cv_header_stdc+set}" = set; then
4503 echo $ECHO_N "(cached) $ECHO_C" >&6
4505 cat >conftest.$ac_ext <<_ACEOF
4506 #line $LINENO "configure"
4509 cat confdefs.h >>conftest.$ac_ext
4510 cat >>conftest.$ac_ext <<_ACEOF
4511 /* end confdefs.h. */
4525 rm -f conftest.$ac_objext
4526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4527 (eval $ac_compile) 2>&5
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); } &&
4531 { ac_try='test -s conftest.$ac_objext'
4532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); }; }; then
4537 ac_cv_header_stdc=yes
4539 echo "$as_me: failed program was:" >&5
4540 sed 's/^/| /' conftest.$ac_ext >&5
4542 ac_cv_header_stdc=no
4544 rm -f conftest.$ac_objext conftest.$ac_ext
4546 if test $ac_cv_header_stdc = yes; then
4547 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4548 cat >conftest.$ac_ext <<_ACEOF
4549 #line $LINENO "configure"
4552 cat confdefs.h >>conftest.$ac_ext
4553 cat >>conftest.$ac_ext <<_ACEOF
4554 /* end confdefs.h. */
4558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4559 $EGREP "memchr" >/dev/null 2>&1; then
4562 ac_cv_header_stdc=no
4568 if test $ac_cv_header_stdc = yes; then
4569 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4570 cat >conftest.$ac_ext <<_ACEOF
4571 #line $LINENO "configure"
4574 cat confdefs.h >>conftest.$ac_ext
4575 cat >>conftest.$ac_ext <<_ACEOF
4576 /* end confdefs.h. */
4580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4581 $EGREP "free" >/dev/null 2>&1; then
4584 ac_cv_header_stdc=no
4590 if test $ac_cv_header_stdc = yes; then
4591 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4592 if test "$cross_compiling" = yes; then
4595 cat >conftest.$ac_ext <<_ACEOF
4596 #line $LINENO "configure"
4599 cat confdefs.h >>conftest.$ac_ext
4600 cat >>conftest.$ac_ext <<_ACEOF
4601 /* end confdefs.h. */
4603 #if ((' ' & 0x0FF) == 0x020)
4604 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4605 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4607 # define ISLOWER(c) \
4608 (('a' <= (c) && (c) <= 'i') \
4609 || ('j' <= (c) && (c) <= 'r') \
4610 || ('s' <= (c) && (c) <= 'z'))
4611 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4614 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4619 for (i = 0; i < 256; i++)
4620 if (XOR (islower (i), ISLOWER (i))
4621 || toupper (i) != TOUPPER (i))
4626 rm -f conftest$ac_exeext
4627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4628 (eval $ac_link) 2>&5
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4636 (exit $ac_status); }; }; then
4639 echo "$as_me: program exited with status $ac_status" >&5
4640 echo "$as_me: failed program was:" >&5
4641 sed 's/^/| /' conftest.$ac_ext >&5
4644 ac_cv_header_stdc=no
4646 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4650 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4651 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4652 if test $ac_cv_header_stdc = yes; then
4654 cat >>confdefs.h <<\_ACEOF
4655 #define STDC_HEADERS 1
4660 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4670 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4671 inttypes.h stdint.h unistd.h
4673 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4674 echo "$as_me:$LINENO: checking for $ac_header" >&5
4675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4677 echo $ECHO_N "(cached) $ECHO_C" >&6
4679 cat >conftest.$ac_ext <<_ACEOF
4680 #line $LINENO "configure"
4683 cat confdefs.h >>conftest.$ac_ext
4684 cat >>conftest.$ac_ext <<_ACEOF
4685 /* end confdefs.h. */
4686 $ac_includes_default
4688 #include <$ac_header>
4690 rm -f conftest.$ac_objext
4691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4692 (eval $ac_compile) 2>&5
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); } &&
4696 { ac_try='test -s conftest.$ac_objext'
4697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); }; }; then
4702 eval "$as_ac_Header=yes"
4704 echo "$as_me: failed program was:" >&5
4705 sed 's/^/| /' conftest.$ac_ext >&5
4707 eval "$as_ac_Header=no"
4709 rm -f conftest.$ac_objext conftest.$ac_ext
4711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4712 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4714 cat >>confdefs.h <<_ACEOF
4715 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4724 for ac_header in dlfcn.h
4726 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4728 echo "$as_me:$LINENO: checking for $ac_header" >&5
4729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4731 echo $ECHO_N "(cached) $ECHO_C" >&6
4733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4736 # Is the header compilable?
4737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4739 cat >conftest.$ac_ext <<_ACEOF
4740 #line $LINENO "configure"
4743 cat confdefs.h >>conftest.$ac_ext
4744 cat >>conftest.$ac_ext <<_ACEOF
4745 /* end confdefs.h. */
4746 $ac_includes_default
4747 #include <$ac_header>
4749 rm -f conftest.$ac_objext
4750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4751 (eval $ac_compile) 2>&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); } &&
4755 { ac_try='test -s conftest.$ac_objext'
4756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); }; }; then
4761 ac_header_compiler=yes
4763 echo "$as_me: failed program was:" >&5
4764 sed 's/^/| /' conftest.$ac_ext >&5
4766 ac_header_compiler=no
4768 rm -f conftest.$ac_objext conftest.$ac_ext
4769 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4770 echo "${ECHO_T}$ac_header_compiler" >&6
4772 # Is the header present?
4773 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4774 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4775 cat >conftest.$ac_ext <<_ACEOF
4776 #line $LINENO "configure"
4779 cat confdefs.h >>conftest.$ac_ext
4780 cat >>conftest.$ac_ext <<_ACEOF
4781 /* end confdefs.h. */
4782 #include <$ac_header>
4784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4785 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4787 grep -v '^ *+' conftest.er1 >conftest.err
4789 cat conftest.err >&5
4790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4791 (exit $ac_status); } >/dev/null; then
4792 if test -s conftest.err; then
4793 ac_cpp_err=$ac_c_preproc_warn_flag
4800 if test -z "$ac_cpp_err"; then
4801 ac_header_preproc=yes
4803 echo "$as_me: failed program was:" >&5
4804 sed 's/^/| /' conftest.$ac_ext >&5
4806 ac_header_preproc=no
4808 rm -f conftest.err conftest.$ac_ext
4809 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4810 echo "${ECHO_T}$ac_header_preproc" >&6
4812 # So? What about this header?
4813 case $ac_header_compiler:$ac_header_preproc in
4815 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4816 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4818 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4821 ## ------------------------------------ ##
4822 ## Report this to bug-autoconf@gnu.org. ##
4823 ## ------------------------------------ ##
4826 sed "s/^/$as_me: WARNING: /" >&2
4829 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4830 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4831 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4832 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4833 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4834 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4837 ## ------------------------------------ ##
4838 ## Report this to bug-autoconf@gnu.org. ##
4839 ## ------------------------------------ ##
4842 sed "s/^/$as_me: WARNING: /" >&2
4845 echo "$as_me:$LINENO: checking for $ac_header" >&5
4846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4848 echo $ECHO_N "(cached) $ECHO_C" >&6
4850 eval "$as_ac_Header=$ac_header_preproc"
4852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4857 cat >>confdefs.h <<_ACEOF
4858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4866 ac_cpp='$CXXCPP $CPPFLAGS'
4867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4870 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4871 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4872 if test -z "$CXXCPP"; then
4873 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4874 echo $ECHO_N "(cached) $ECHO_C" >&6
4876 # Double quotes because CXXCPP needs to be expanded
4877 for CXXCPP in "$CXX -E" "/lib/cpp"
4880 for ac_cxx_preproc_warn_flag in '' yes
4882 # Use a header file that comes with gcc, so configuring glibc
4883 # with a fresh cross-compiler works.
4884 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4885 # <limits.h> exists even on freestanding compilers.
4886 # On the NeXT, cc -E runs the code through the compiler's parser,
4887 # not just through cpp. "Syntax error" is here to catch this case.
4888 cat >conftest.$ac_ext <<_ACEOF
4889 #line $LINENO "configure"
4892 cat confdefs.h >>conftest.$ac_ext
4893 cat >>conftest.$ac_ext <<_ACEOF
4894 /* end confdefs.h. */
4896 # include <limits.h>
4898 # include <assert.h>
4902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4903 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4905 grep -v '^ *+' conftest.er1 >conftest.err
4907 cat conftest.err >&5
4908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 (exit $ac_status); } >/dev/null; then
4910 if test -s conftest.err; then
4911 ac_cpp_err=$ac_cxx_preproc_warn_flag
4918 if test -z "$ac_cpp_err"; then
4921 echo "$as_me: failed program was:" >&5
4922 sed 's/^/| /' conftest.$ac_ext >&5
4924 # Broken: fails on valid input.
4927 rm -f conftest.err conftest.$ac_ext
4929 # OK, works on sane cases. Now check whether non-existent headers
4930 # can be detected and how.
4931 cat >conftest.$ac_ext <<_ACEOF
4932 #line $LINENO "configure"
4935 cat confdefs.h >>conftest.$ac_ext
4936 cat >>conftest.$ac_ext <<_ACEOF
4937 /* end confdefs.h. */
4938 #include <ac_nonexistent.h>
4940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4941 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4943 grep -v '^ *+' conftest.er1 >conftest.err
4945 cat conftest.err >&5
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); } >/dev/null; then
4948 if test -s conftest.err; then
4949 ac_cpp_err=$ac_cxx_preproc_warn_flag
4956 if test -z "$ac_cpp_err"; then
4957 # Broken: success on invalid input.
4960 echo "$as_me: failed program was:" >&5
4961 sed 's/^/| /' conftest.$ac_ext >&5
4963 # Passes both tests.
4967 rm -f conftest.err conftest.$ac_ext
4970 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4971 rm -f conftest.err conftest.$ac_ext
4972 if $ac_preproc_ok; then
4977 ac_cv_prog_CXXCPP=$CXXCPP
4980 CXXCPP=$ac_cv_prog_CXXCPP
4982 ac_cv_prog_CXXCPP=$CXXCPP
4984 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4985 echo "${ECHO_T}$CXXCPP" >&6
4987 for ac_cxx_preproc_warn_flag in '' yes
4989 # Use a header file that comes with gcc, so configuring glibc
4990 # with a fresh cross-compiler works.
4991 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4992 # <limits.h> exists even on freestanding compilers.
4993 # On the NeXT, cc -E runs the code through the compiler's parser,
4994 # not just through cpp. "Syntax error" is here to catch this case.
4995 cat >conftest.$ac_ext <<_ACEOF
4996 #line $LINENO "configure"
4999 cat confdefs.h >>conftest.$ac_ext
5000 cat >>conftest.$ac_ext <<_ACEOF
5001 /* end confdefs.h. */
5003 # include <limits.h>
5005 # include <assert.h>
5009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5010 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5012 grep -v '^ *+' conftest.er1 >conftest.err
5014 cat conftest.err >&5
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016 (exit $ac_status); } >/dev/null; then
5017 if test -s conftest.err; then
5018 ac_cpp_err=$ac_cxx_preproc_warn_flag
5025 if test -z "$ac_cpp_err"; then
5028 echo "$as_me: failed program was:" >&5
5029 sed 's/^/| /' conftest.$ac_ext >&5
5031 # Broken: fails on valid input.
5034 rm -f conftest.err conftest.$ac_ext
5036 # OK, works on sane cases. Now check whether non-existent headers
5037 # can be detected and how.
5038 cat >conftest.$ac_ext <<_ACEOF
5039 #line $LINENO "configure"
5042 cat confdefs.h >>conftest.$ac_ext
5043 cat >>conftest.$ac_ext <<_ACEOF
5044 /* end confdefs.h. */
5045 #include <ac_nonexistent.h>
5047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5048 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5050 grep -v '^ *+' conftest.er1 >conftest.err
5052 cat conftest.err >&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); } >/dev/null; then
5055 if test -s conftest.err; then
5056 ac_cpp_err=$ac_cxx_preproc_warn_flag
5063 if test -z "$ac_cpp_err"; then
5064 # Broken: success on invalid input.
5067 echo "$as_me: failed program was:" >&5
5068 sed 's/^/| /' conftest.$ac_ext >&5
5070 # Passes both tests.
5074 rm -f conftest.err conftest.$ac_ext
5077 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5078 rm -f conftest.err conftest.$ac_ext
5079 if $ac_preproc_ok; then
5082 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5083 See \`config.log' for more details." >&5
5084 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5085 See \`config.log' for more details." >&2;}
5086 { (exit 1); exit 1; }; }
5090 ac_cpp='$CXXCPP $CPPFLAGS'
5091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5097 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5098 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5099 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5100 if test -n "$ac_tool_prefix"; then
5101 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5103 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5104 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5105 echo "$as_me:$LINENO: checking for $ac_word" >&5
5106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5107 if test "${ac_cv_prog_F77+set}" = set; then
5108 echo $ECHO_N "(cached) $ECHO_C" >&6
5110 if test -n "$F77"; then
5111 ac_cv_prog_F77="$F77" # Let the user override the test.
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5117 test -z "$as_dir" && as_dir=.
5118 for ac_exec_ext in '' $ac_executable_extensions; do
5119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5120 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5130 if test -n "$F77"; then
5131 echo "$as_me:$LINENO: result: $F77" >&5
5132 echo "${ECHO_T}$F77" >&6
5134 echo "$as_me:$LINENO: result: no" >&5
5135 echo "${ECHO_T}no" >&6
5138 test -n "$F77" && break
5141 if test -z "$F77"; then
5143 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5145 # Extract the first word of "$ac_prog", so it can be a program name with args.
5146 set dummy $ac_prog; ac_word=$2
5147 echo "$as_me:$LINENO: checking for $ac_word" >&5
5148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5149 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5150 echo $ECHO_N "(cached) $ECHO_C" >&6
5152 if test -n "$ac_ct_F77"; then
5153 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5162 ac_cv_prog_ac_ct_F77="$ac_prog"
5163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5171 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5172 if test -n "$ac_ct_F77"; then
5173 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5174 echo "${ECHO_T}$ac_ct_F77" >&6
5176 echo "$as_me:$LINENO: result: no" >&5
5177 echo "${ECHO_T}no" >&6
5180 test -n "$ac_ct_F77" && break
5187 # Provide some information about the compiler.
5188 echo "$as_me:5188:" \
5189 "checking for Fortran 77 compiler version" >&5
5190 ac_compiler=`set X $ac_compile; echo $2`
5191 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5192 (eval $ac_compiler --version </dev/null >&5) 2>&5
5194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5195 (exit $ac_status); }
5196 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5197 (eval $ac_compiler -v </dev/null >&5) 2>&5
5199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200 (exit $ac_status); }
5201 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5202 (eval $ac_compiler -V </dev/null >&5) 2>&5
5204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5205 (exit $ac_status); }
5207 # If we don't use `.F' as extension, the preprocessor is not run on the
5211 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5212 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5213 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5214 echo $ECHO_N "(cached) $ECHO_C" >&6
5216 cat >conftest.$ac_ext <<_ACEOF
5224 rm -f conftest.$ac_objext
5225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5226 (eval $ac_compile) 2>&5
5228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5229 (exit $ac_status); } &&
5230 { ac_try='test -s conftest.$ac_objext'
5231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); }; }; then
5238 echo "$as_me: failed program was:" >&5
5239 sed 's/^/| /' conftest.$ac_ext >&5
5243 rm -f conftest.$ac_objext conftest.$ac_ext
5244 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5247 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5248 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5250 G77=`test $ac_compiler_gnu = yes && echo yes`
5251 ac_test_FFLAGS=${FFLAGS+set}
5252 ac_save_FFLAGS=$FFLAGS
5254 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5255 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5256 if test "${ac_cv_prog_f77_g+set}" = set; then
5257 echo $ECHO_N "(cached) $ECHO_C" >&6
5260 cat >conftest.$ac_ext <<_ACEOF
5265 rm -f conftest.$ac_objext
5266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5267 (eval $ac_compile) 2>&5
5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270 (exit $ac_status); } &&
5271 { ac_try='test -s conftest.$ac_objext'
5272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 (exit $ac_status); }; }; then
5277 ac_cv_prog_f77_g=yes
5279 echo "$as_me: failed program was:" >&5
5280 sed 's/^/| /' conftest.$ac_ext >&5
5284 rm -f conftest.$ac_objext conftest.$ac_ext
5287 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5288 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5289 if test "$ac_test_FFLAGS" = set; then
5290 FFLAGS=$ac_save_FFLAGS
5291 elif test $ac_cv_prog_f77_g = yes; then
5292 if test "$G77" = yes; then
5298 if test "$G77" = yes; then
5305 ac_cpp='$CPP $CPPFLAGS'
5306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5312 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5314 # find the maximum length of command line arguments
5315 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5316 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5317 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5318 echo $ECHO_N "(cached) $ECHO_C" >&6
5325 # On DJGPP, this test can blow up pretty badly due to problems in libc
5326 # (any single argument exceeding 2000 bytes causes a buffer overrun
5327 # during glob expansion). Even if it were fixed, the result of this
5328 # check would be larger than it should be.
5329 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5333 # Under GNU Hurd, this test is not required because there is
5334 # no limit to the length of command line arguments.
5335 # Libtool will interpret -1 as no limit whatsoever
5336 lt_cv_sys_max_cmd_len=-1;
5340 # On Win9x/ME, this test blows up -- it succeeds, but takes
5341 # about 5 minutes as the teststring grows exponentially.
5342 # Worse, since 9x/ME are not pre-emptively multitasking,
5343 # you end up with a "frozen" computer, even though with patience
5344 # the test eventually succeeds (with a max line length of 256k).
5345 # Instead, let's just punt: use the minimum linelength reported by
5346 # all of the supported platforms: 8192 (on NT/2K/XP).
5347 lt_cv_sys_max_cmd_len=8192;
5351 # If test is not a shell built-in, we'll probably end up computing a
5352 # maximum length that is only half of the actual maximum length, but
5354 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5355 = "XX$testring") >/dev/null 2>&1 &&
5356 new_result=`expr "X$testring" : ".*" 2>&1` &&
5357 lt_cv_sys_max_cmd_len=$new_result &&
5358 test $i != 17 # 1/2 MB should be enough
5361 testring=$testring$testring
5364 # Add a significant safety factor because C++ compilers can tack on massive
5365 # amounts of additional arguments before passing them to the linker.
5366 # It appears as though 1/2 is a usable value.
5367 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5373 if test -n $lt_cv_sys_max_cmd_len ; then
5374 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5375 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5377 echo "$as_me:$LINENO: result: none" >&5
5378 echo "${ECHO_T}none" >&6
5384 # Check for command to grab the raw symbol name followed by C symbol from nm.
5385 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5386 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5387 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5388 echo $ECHO_N "(cached) $ECHO_C" >&6
5391 # These are sane defaults that work on at least a few old systems.
5392 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5394 # Character class describing NM global symbol codes.
5395 symcode='[BCDEGRST]'
5397 # Regexp to match symbols that can be accessed directly from C.
5398 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5400 # Transform the above into a raw symbol and a C symbol.
5401 symxfrm='\1 \2\3 \3'
5403 # Transform an extracted symbol line into a proper C declaration
5404 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5406 # Transform an extracted symbol line into symbol name and symbol address
5407 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'"
5409 # Define system-specific variables.
5414 cygwin* | mingw* | pw32*)
5415 symcode='[ABCDGISTW]'
5417 hpux*) # Its linker distinguishes data from code symbols
5418 if test "$host_cpu" = ia64; then
5419 symcode='[ABCDEGRST]'
5421 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5422 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'"
5425 symcode='[BCDEGRST]'
5428 symcode='[BCDEGQRST]'
5438 # Handle CRLF in mingw tool chain
5442 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5446 # If we're using GNU nm, then use its standard symbol codes.
5447 case `$NM -V 2>&1` in
5448 *GNU* | *'with BFD'*)
5449 symcode='[ABCDGISTW]' ;;
5452 # Try without a prefix undercore, then with it.
5453 for ac_symprfx in "" "_"; do
5455 # Write the raw and C identifiers.
5456 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5458 # Check to see that the pipe works correctly.
5462 cat > conftest.$ac_ext <<EOF
5467 void nm_test_func(){}
5471 int main(){nm_test_var='a';nm_test_func();return(0);}
5474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5475 (eval $ac_compile) 2>&5
5477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5478 (exit $ac_status); }; then
5479 # Now try to grab the symbols.
5481 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5482 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); } && test -s "$nlist"; then
5486 # Try sorting and uniquifying the output.
5487 if sort "$nlist" | uniq > "$nlist"T; then
5488 mv -f "$nlist"T "$nlist"
5493 # Make sure that we snagged all the symbols we need.
5494 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5495 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5496 cat <<EOF > conftest.$ac_ext
5502 # Now generate the symbol file.
5503 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5505 cat <<EOF >> conftest.$ac_ext
5506 #if defined (__STDC__) && __STDC__
5507 # define lt_ptr_t void *
5509 # define lt_ptr_t char *
5513 /* The mapping between symbol names and symbols. */
5518 lt_preloaded_symbols[] =
5521 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5522 cat <<\EOF >> conftest.$ac_ext
5530 # Now try linking the two files.
5531 mv conftest.$ac_objext conftstm.$ac_objext
5532 lt_save_LIBS="$LIBS"
5533 lt_save_CFLAGS="$CFLAGS"
5534 LIBS="conftstm.$ac_objext"
5535 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5537 (eval $ac_link) 2>&5
5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5543 LIBS="$lt_save_LIBS"
5544 CFLAGS="$lt_save_CFLAGS"
5546 echo "cannot find nm_test_func in $nlist" >&5
5549 echo "cannot find nm_test_var in $nlist" >&5
5552 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5555 echo "$progname: failed program was:" >&5
5556 cat conftest.$ac_ext >&5
5558 rm -f conftest* conftst*
5560 # Do not use the global_symbol_pipe unless it works.
5561 if test "$pipe_works" = yes; then
5564 lt_cv_sys_global_symbol_pipe=
5570 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5571 lt_cv_sys_global_symbol_to_cdecl=
5573 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5574 echo "$as_me:$LINENO: result: failed" >&5
5575 echo "${ECHO_T}failed" >&6
5577 echo "$as_me:$LINENO: result: ok" >&5
5578 echo "${ECHO_T}ok" >&6
5581 echo "$as_me:$LINENO: checking for objdir" >&5
5582 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5583 if test "${lt_cv_objdir+set}" = set; then
5584 echo $ECHO_N "(cached) $ECHO_C" >&6
5586 rm -f .libs 2>/dev/null
5587 mkdir .libs 2>/dev/null
5588 if test -d .libs; then
5591 # MS-DOS does not allow filenames that begin with a dot.
5594 rmdir .libs 2>/dev/null
5596 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5597 echo "${ECHO_T}$lt_cv_objdir" >&6
5598 objdir=$lt_cv_objdir
5606 # AIX sometimes has problems with the GCC collect2 program. For some
5607 # reason, if we set the COLLECT_NAMES environment variable, the problems
5608 # vanish in a puff of smoke.
5609 if test "X${COLLECT_NAMES+set}" != Xset; then
5611 export COLLECT_NAMES
5616 # Sed substitution that helps us do robust quoting. It backslashifies
5617 # metacharacters that are still active within double-quoted strings.
5618 Xsed='sed -e s/^X//'
5619 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5621 # Same as above, but do not quote variable references.
5622 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5624 # Sed substitution to delay expansion of an escaped shell variable in a
5625 # double_quote_subst'ed string.
5626 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5628 # Sed substitution to avoid accidental globbing in evaled expressions
5629 no_glob_subst='s/\*/\\\*/g'
5636 can_build_shared=yes
5638 # All known linkers require a `.a' archive for static linking (except M$VC,
5639 # which needs '.lib').
5641 ltmain="$ac_aux_dir/ltmain.sh"
5642 ofile="$default_ofile"
5643 with_gnu_ld="$lt_cv_prog_gnu_ld"
5645 if test -n "$ac_tool_prefix"; then
5646 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5647 set dummy ${ac_tool_prefix}ar; ac_word=$2
5648 echo "$as_me:$LINENO: checking for $ac_word" >&5
5649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5650 if test "${ac_cv_prog_AR+set}" = set; then
5651 echo $ECHO_N "(cached) $ECHO_C" >&6
5653 if test -n "$AR"; then
5654 ac_cv_prog_AR="$AR" # Let the user override the test.
5656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5660 test -z "$as_dir" && as_dir=.
5661 for ac_exec_ext in '' $ac_executable_extensions; do
5662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5663 ac_cv_prog_AR="${ac_tool_prefix}ar"
5664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5673 if test -n "$AR"; then
5674 echo "$as_me:$LINENO: result: $AR" >&5
5675 echo "${ECHO_T}$AR" >&6
5677 echo "$as_me:$LINENO: result: no" >&5
5678 echo "${ECHO_T}no" >&6
5682 if test -z "$ac_cv_prog_AR"; then
5684 # Extract the first word of "ar", so it can be a program name with args.
5685 set dummy ar; ac_word=$2
5686 echo "$as_me:$LINENO: checking for $ac_word" >&5
5687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5688 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5689 echo $ECHO_N "(cached) $ECHO_C" >&6
5691 if test -n "$ac_ct_AR"; then
5692 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5698 test -z "$as_dir" && as_dir=.
5699 for ac_exec_ext in '' $ac_executable_extensions; do
5700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5701 ac_cv_prog_ac_ct_AR="ar"
5702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5711 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5712 if test -n "$ac_ct_AR"; then
5713 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5714 echo "${ECHO_T}$ac_ct_AR" >&6
5716 echo "$as_me:$LINENO: result: no" >&5
5717 echo "${ECHO_T}no" >&6
5725 if test -n "$ac_tool_prefix"; then
5726 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5727 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5728 echo "$as_me:$LINENO: checking for $ac_word" >&5
5729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5730 if test "${ac_cv_prog_RANLIB+set}" = set; then
5731 echo $ECHO_N "(cached) $ECHO_C" >&6
5733 if test -n "$RANLIB"; then
5734 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 test -z "$as_dir" && as_dir=.
5741 for ac_exec_ext in '' $ac_executable_extensions; do
5742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5743 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 RANLIB=$ac_cv_prog_RANLIB
5753 if test -n "$RANLIB"; then
5754 echo "$as_me:$LINENO: result: $RANLIB" >&5
5755 echo "${ECHO_T}$RANLIB" >&6
5757 echo "$as_me:$LINENO: result: no" >&5
5758 echo "${ECHO_T}no" >&6
5762 if test -z "$ac_cv_prog_RANLIB"; then
5763 ac_ct_RANLIB=$RANLIB
5764 # Extract the first word of "ranlib", so it can be a program name with args.
5765 set dummy ranlib; ac_word=$2
5766 echo "$as_me:$LINENO: checking for $ac_word" >&5
5767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5768 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5769 echo $ECHO_N "(cached) $ECHO_C" >&6
5771 if test -n "$ac_ct_RANLIB"; then
5772 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5778 test -z "$as_dir" && as_dir=.
5779 for ac_exec_ext in '' $ac_executable_extensions; do
5780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5781 ac_cv_prog_ac_ct_RANLIB="ranlib"
5782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5791 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5792 if test -n "$ac_ct_RANLIB"; then
5793 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5794 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5796 echo "$as_me:$LINENO: result: no" >&5
5797 echo "${ECHO_T}no" >&6
5800 RANLIB=$ac_ct_RANLIB
5802 RANLIB="$ac_cv_prog_RANLIB"
5805 if test -n "$ac_tool_prefix"; then
5806 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5807 set dummy ${ac_tool_prefix}strip; ac_word=$2
5808 echo "$as_me:$LINENO: checking for $ac_word" >&5
5809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5810 if test "${ac_cv_prog_STRIP+set}" = set; then
5811 echo $ECHO_N "(cached) $ECHO_C" >&6
5813 if test -n "$STRIP"; then
5814 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5832 STRIP=$ac_cv_prog_STRIP
5833 if test -n "$STRIP"; then
5834 echo "$as_me:$LINENO: result: $STRIP" >&5
5835 echo "${ECHO_T}$STRIP" >&6
5837 echo "$as_me:$LINENO: result: no" >&5
5838 echo "${ECHO_T}no" >&6
5842 if test -z "$ac_cv_prog_STRIP"; then
5844 # Extract the first word of "strip", so it can be a program name with args.
5845 set dummy strip; ac_word=$2
5846 echo "$as_me:$LINENO: checking for $ac_word" >&5
5847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5848 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5849 echo $ECHO_N "(cached) $ECHO_C" >&6
5851 if test -n "$ac_ct_STRIP"; then
5852 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5858 test -z "$as_dir" && as_dir=.
5859 for ac_exec_ext in '' $ac_executable_extensions; do
5860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5861 ac_cv_prog_ac_ct_STRIP="strip"
5862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5868 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5871 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5872 if test -n "$ac_ct_STRIP"; then
5873 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5874 echo "${ECHO_T}$ac_ct_STRIP" >&6
5876 echo "$as_me:$LINENO: result: no" >&5
5877 echo "${ECHO_T}no" >&6
5882 STRIP="$ac_cv_prog_STRIP"
5887 old_CFLAGS="$CFLAGS"
5889 # Set sane defaults for various variables
5890 test -z "$AR" && AR=ar
5891 test -z "$AR_FLAGS" && AR_FLAGS=cru
5892 test -z "$AS" && AS=as
5893 test -z "$CC" && CC=cc
5894 test -z "$LTCC" && LTCC=$CC
5895 test -z "$DLLTOOL" && DLLTOOL=dlltool
5896 test -z "$LD" && LD=ld
5897 test -z "$LN_S" && LN_S="ln -s"
5898 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5899 test -z "$NM" && NM=nm
5900 test -z "$SED" && SED=sed
5901 test -z "$OBJDUMP" && OBJDUMP=objdump
5902 test -z "$RANLIB" && RANLIB=:
5903 test -z "$STRIP" && STRIP=:
5904 test -z "$ac_objext" && ac_objext=o
5906 # Determine commands to create old-style static archives.
5907 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5908 old_postinstall_cmds='chmod 644 $oldlib'
5909 old_postuninstall_cmds=
5911 if test -n "$RANLIB"; then
5914 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5917 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5920 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5923 # Only perform the check for file, if the check method requires it
5924 case $deplibs_check_method in
5926 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5927 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5928 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5929 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5930 echo $ECHO_N "(cached) $ECHO_C" >&6
5934 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5937 lt_save_MAGIC_CMD="$MAGIC_CMD"
5938 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5939 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5940 for ac_dir in $ac_dummy; do
5942 test -z "$ac_dir" && ac_dir=.
5943 if test -f $ac_dir/${ac_tool_prefix}file; then
5944 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5945 if test -n "$file_magic_test_file"; then
5946 case $deplibs_check_method in
5948 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5949 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5950 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5951 $EGREP "$file_magic_regex" > /dev/null; then
5956 *** Warning: the command libtool uses to detect shared libraries,
5957 *** $file_magic_cmd, produces output that libtool cannot recognize.
5958 *** The result is that libtool may fail to recognize shared libraries
5959 *** as such. This will affect the creation of libtool libraries that
5960 *** depend on shared libraries, but programs linked with such libtool
5961 *** libraries will work regardless of this problem. Nevertheless, you
5962 *** may want to report the problem to your system manager and/or to
5963 *** bug-libtool@gnu.org
5973 MAGIC_CMD="$lt_save_MAGIC_CMD"
5978 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5979 if test -n "$MAGIC_CMD"; then
5980 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5981 echo "${ECHO_T}$MAGIC_CMD" >&6
5983 echo "$as_me:$LINENO: result: no" >&5
5984 echo "${ECHO_T}no" >&6
5987 if test -z "$lt_cv_path_MAGIC_CMD"; then
5988 if test -n "$ac_tool_prefix"; then
5989 echo "$as_me:$LINENO: checking for file" >&5
5990 echo $ECHO_N "checking for file... $ECHO_C" >&6
5991 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5992 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5999 lt_save_MAGIC_CMD="$MAGIC_CMD"
6000 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6001 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6002 for ac_dir in $ac_dummy; do
6004 test -z "$ac_dir" && ac_dir=.
6005 if test -f $ac_dir/file; then
6006 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6007 if test -n "$file_magic_test_file"; then
6008 case $deplibs_check_method in
6010 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6011 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6012 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6013 $EGREP "$file_magic_regex" > /dev/null; then
6018 *** Warning: the command libtool uses to detect shared libraries,
6019 *** $file_magic_cmd, produces output that libtool cannot recognize.
6020 *** The result is that libtool may fail to recognize shared libraries
6021 *** as such. This will affect the creation of libtool libraries that
6022 *** depend on shared libraries, but programs linked with such libtool
6023 *** libraries will work regardless of this problem. Nevertheless, you
6024 *** may want to report the problem to your system manager and/or to
6025 *** bug-libtool@gnu.org
6035 MAGIC_CMD="$lt_save_MAGIC_CMD"
6040 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6041 if test -n "$MAGIC_CMD"; then
6042 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6043 echo "${ECHO_T}$MAGIC_CMD" >&6
6045 echo "$as_me:$LINENO: result: no" >&5
6046 echo "${ECHO_T}no" >&6
6061 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6062 if test "${enable_libtool_lock+set}" = set; then
6063 enableval="$enable_libtool_lock"
6066 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6069 # Check whether --with-pic or --without-pic was given.
6070 if test "${with_pic+set}" = set; then
6076 test -z "$pic_mode" && pic_mode=default
6078 # Use C for the default configuration in the libtool script
6082 ac_cpp='$CPP $CPPFLAGS'
6083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6088 # Source file extension for C test sources.
6091 # Object file extension for compiled C test sources.
6095 # Code to be used in simple compile tests
6096 lt_simple_compile_test_code="int some_variable = 0;\n"
6098 # Code to be used in simple link tests
6099 lt_simple_link_test_code='int main(){return(0);}\n'
6102 # If no C compiler was specified, use CC.
6105 # Allow CC to be a program name with arguments.
6110 # Check for any special shared library compilation flags.
6113 if test "$GCC" = no; then
6116 lt_prog_cc_shlib='-belf'
6120 if test -n "$lt_prog_cc_shlib"; then
6121 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6122 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6123 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6125 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6126 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6127 lt_cv_prog_cc_can_build_shared=no
6133 # Check to make sure the static flag actually works.
6135 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6136 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6137 if test "${lt_prog_compiler_static_works+set}" = set; then
6138 echo $ECHO_N "(cached) $ECHO_C" >&6
6140 lt_prog_compiler_static_works=no
6141 save_LDFLAGS="$LDFLAGS"
6142 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6143 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6144 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6145 # The compiler can only warn and ignore the option if not recognized
6146 # So say no if there are warnings
6147 if test -s conftest.err; then
6148 # Append any errors to the config.log.
6149 cat conftest.err 1>&5
6151 lt_prog_compiler_static_works=yes
6155 LDFLAGS="$save_LDFLAGS"
6158 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6159 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6161 if test x"$lt_prog_compiler_static_works" = xyes; then
6164 lt_prog_compiler_static=
6170 ## There is no encapsulation within the following macros, do not change
6171 ## the running order or otherwise move them around unless you know exactly
6172 ## what you are doing...
6174 lt_prog_compiler_no_builtin_flag=
6176 if test "$GCC" = yes; then
6177 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6179 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6180 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6181 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6182 echo $ECHO_N "(cached) $ECHO_C" >&6
6184 lt_cv_prog_compiler_rtti_exceptions=no
6185 ac_outfile=conftest.$ac_objext
6186 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6187 lt_compiler_flag="-fno-rtti -fno-exceptions"
6188 # Insert the option either (1) after the last *FLAGS variable, or
6189 # (2) before a word containing "conftest.", or (3) at the end.
6190 # Note that $ac_compile itself does not contain backslashes and begins
6191 # with a dollar sign (not a hyphen), so the echo should work correctly.
6192 # The option is referenced via a variable to avoid confusing sed.
6193 lt_compile=`echo "$ac_compile" | $SED \
6194 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6195 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6196 -e 's:$: $lt_compiler_flag:'`
6197 (eval echo "\"\$as_me:6197: $lt_compile\"" >&5)
6198 (eval "$lt_compile" 2>conftest.err)
6200 cat conftest.err >&5
6201 echo "$as_me:6201: \$? = $ac_status" >&5
6202 if (exit $ac_status) && test -s "$ac_outfile"; then
6203 # The compiler can only warn and ignore the option if not recognized
6204 # So say no if there are warnings
6205 if test ! -s conftest.err; then
6206 lt_cv_prog_compiler_rtti_exceptions=yes
6212 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6213 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6215 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6216 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6223 lt_prog_compiler_wl=
6224 lt_prog_compiler_pic=
6225 lt_prog_compiler_static=
6227 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6228 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6230 if test "$GCC" = yes; then
6231 lt_prog_compiler_wl='-Wl,'
6232 lt_prog_compiler_static='-static'
6236 # All AIX code is PIC.
6237 if test "$host_cpu" = ia64; then
6238 # AIX 5 now supports IA64 processor
6239 lt_prog_compiler_static='-Bstatic'
6244 # FIXME: we need at least 68020 code to build shared libraries, but
6245 # adding the `-m68020' flag to GCC prevents building anything better,
6247 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6250 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6251 # PIC is the default for these OSes.
6254 mingw* | pw32* | os2*)
6255 # This hack is so that the source file can tell whether it is being
6256 # built for inclusion in a dll (and should export symbols for example).
6257 lt_prog_compiler_pic='-DDLL_EXPORT'
6260 darwin* | rhapsody*)
6261 # PIC is the default on this platform
6262 # Common symbols not allowed in MH_DYLIB files
6263 lt_prog_compiler_pic='-fno-common'
6267 # Just because we use GCC doesn't mean we suddenly get shared libraries
6268 # on systems that don't support them.
6269 lt_prog_compiler_can_build_shared=no
6274 if test -d /usr/nec; then
6275 lt_prog_compiler_pic=-Kconform_pic
6280 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6287 lt_prog_compiler_pic='-fPIC'
6293 lt_prog_compiler_pic='-fPIC'
6297 # PORTME Check for flag to pass linker flags through the system compiler.
6300 lt_prog_compiler_wl='-Wl,'
6301 if test "$host_cpu" = ia64; then
6302 # AIX 5 now supports IA64 processor
6303 lt_prog_compiler_static='-Bstatic'
6305 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6309 mingw* | pw32* | os2*)
6310 # This hack is so that the source file can tell whether it is being
6311 # built for inclusion in a dll (and should export symbols for example).
6312 lt_prog_compiler_pic='-DDLL_EXPORT'
6315 hpux9* | hpux10* | hpux11*)
6316 lt_prog_compiler_wl='-Wl,'
6317 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6324 lt_prog_compiler_pic='+Z'
6327 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6328 lt_prog_compiler_static='${wl}-a ${wl}archive'
6331 irix5* | irix6* | nonstopux*)
6332 lt_prog_compiler_wl='-Wl,'
6333 # PIC (with -KPIC) is the default.
6334 lt_prog_compiler_static='-non_shared'
6338 lt_prog_compiler_pic='-KPIC'
6339 lt_prog_compiler_static='-Bstatic'
6345 lt_prog_compiler_wl='-Wl,'
6346 lt_prog_compiler_pic='-KPIC'
6347 lt_prog_compiler_static='-static'
6350 lt_prog_compiler_wl='-Wl,'
6351 # All Alpha code is PIC.
6352 lt_prog_compiler_static='-non_shared'
6357 osf3* | osf4* | osf5*)
6358 lt_prog_compiler_wl='-Wl,'
6359 # All OSF/1 code is PIC.
6360 lt_prog_compiler_static='-non_shared'
6364 lt_prog_compiler_pic='-Kpic'
6365 lt_prog_compiler_static='-dn'
6369 lt_prog_compiler_wl='-Wl,'
6370 lt_prog_compiler_pic='-KPIC'
6371 lt_prog_compiler_static='-Bstatic'
6375 lt_prog_compiler_wl='-Qoption ld '
6376 lt_prog_compiler_pic='-PIC'
6377 lt_prog_compiler_static='-Bstatic'
6380 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6381 lt_prog_compiler_wl='-Wl,'
6382 lt_prog_compiler_pic='-KPIC'
6383 lt_prog_compiler_static='-Bstatic'
6387 if test -d /usr/nec ;then
6388 lt_prog_compiler_pic='-Kconform_pic'
6389 lt_prog_compiler_static='-Bstatic'
6394 lt_prog_compiler_pic='-pic'
6395 lt_prog_compiler_static='-Bstatic'
6399 lt_prog_compiler_can_build_shared=no
6404 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6405 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6408 # Check to make sure the PIC flag actually works.
6410 if test -n "$lt_prog_compiler_pic"; then
6411 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6412 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6413 if test "${lt_prog_compiler_pic_works+set}" = set; then
6414 echo $ECHO_N "(cached) $ECHO_C" >&6
6416 lt_prog_compiler_pic_works=no
6417 ac_outfile=conftest.$ac_objext
6418 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6419 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6420 # Insert the option either (1) after the last *FLAGS variable, or
6421 # (2) before a word containing "conftest.", or (3) at the end.
6422 # Note that $ac_compile itself does not contain backslashes and begins
6423 # with a dollar sign (not a hyphen), so the echo should work correctly.
6424 # The option is referenced via a variable to avoid confusing sed.
6425 lt_compile=`echo "$ac_compile" | $SED \
6426 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6427 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6428 -e 's:$: $lt_compiler_flag:'`
6429 (eval echo "\"\$as_me:6429: $lt_compile\"" >&5)
6430 (eval "$lt_compile" 2>conftest.err)
6432 cat conftest.err >&5
6433 echo "$as_me:6433: \$? = $ac_status" >&5
6434 if (exit $ac_status) && test -s "$ac_outfile"; then
6435 # The compiler can only warn and ignore the option if not recognized
6436 # So say no if there are warnings
6437 if test ! -s conftest.err; then
6438 lt_prog_compiler_pic_works=yes
6444 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6445 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6447 if test x"$lt_prog_compiler_pic_works" = xyes; then
6448 case $lt_prog_compiler_pic in
6450 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6453 lt_prog_compiler_pic=
6454 lt_prog_compiler_can_build_shared=no
6459 # For platforms which do not support PIC, -DPIC is meaningless:
6461 lt_prog_compiler_pic=
6464 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6468 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6469 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6470 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6471 echo $ECHO_N "(cached) $ECHO_C" >&6
6473 lt_cv_prog_compiler_c_o=no
6474 $rm -r conftest 2>/dev/null
6478 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6480 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6481 # that will create temporary files in the current directory regardless of
6482 # the output directory. Thus, making CWD read-only will cause this test
6483 # to fail, enabling locking or at least warning the user not to do parallel
6487 lt_compiler_flag="-o out/conftest2.$ac_objext"
6488 # Insert the option either (1) after the last *FLAGS variable, or
6489 # (2) before a word containing "conftest.", or (3) at the end.
6490 # Note that $ac_compile itself does not contain backslashes and begins
6491 # with a dollar sign (not a hyphen), so the echo should work correctly.
6492 lt_compile=`echo "$ac_compile" | $SED \
6493 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6494 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6495 -e 's:$: $lt_compiler_flag:'`
6496 (eval echo "\"\$as_me:6496: $lt_compile\"" >&5)
6497 (eval "$lt_compile" 2>out/conftest.err)
6499 cat out/conftest.err >&5
6500 echo "$as_me:6500: \$? = $ac_status" >&5
6501 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6503 # The compiler can only warn and ignore the option if not recognized
6504 # So say no if there are warnings
6505 if test ! -s out/conftest.err; then
6506 lt_cv_prog_compiler_c_o=yes
6517 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6518 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6521 hard_links="nottested"
6522 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6523 # do not overwrite the value of need_locks provided by the user
6524 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6525 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6528 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6530 ln conftest.a conftest.b 2>&5 || hard_links=no
6531 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6532 echo "$as_me:$LINENO: result: $hard_links" >&5
6533 echo "${ECHO_T}$hard_links" >&6
6534 if test "$hard_links" = no; then
6535 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6536 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6543 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6544 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6547 allow_undefined_flag=
6548 enable_shared_with_static_runtimes=no
6550 archive_expsym_cmds=
6551 old_archive_From_new_cmds=
6552 old_archive_from_expsyms_cmds=
6553 export_dynamic_flag_spec=
6554 whole_archive_flag_spec=
6555 thread_safe_flag_spec=
6556 hardcode_libdir_flag_spec=
6557 hardcode_libdir_flag_spec_ld=
6558 hardcode_libdir_separator=
6561 hardcode_shlibpath_var=unsupported
6562 link_all_deplibs=unknown
6563 hardcode_automatic=no
6566 always_export_symbols=no
6567 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6568 # include_expsyms should be a list of space-separated symbols to be *always*
6569 # included in the symbol list
6571 # exclude_expsyms can be an extended regexp of symbols to exclude
6572 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6573 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6574 # as well as any symbol that contains `d'.
6575 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6576 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6577 # platforms (ab)use it in PIC code, but their linkers get confused if
6578 # the symbol is explicitly referenced. Since portable code cannot
6579 # rely on this symbol name, it's probably fine to never include it in
6580 # preloaded symbol tables.
6581 extract_expsyms_cmds=
6584 cygwin* | mingw* | pw32*)
6585 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6586 # When not using gcc, we currently assume that we are using
6587 # Microsoft Visual C++.
6588 if test "$GCC" != yes; then
6598 if test "$with_gnu_ld" = yes; then
6599 # If archive_cmds runs LD, not CC, wlarc should be empty
6602 # See if GNU ld supports shared libraries.
6604 aix3* | aix4* | aix5*)
6605 # On AIX/PPC, the GNU linker is very broken
6606 if test "$host_cpu" != ia64; then
6610 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6611 *** to be unable to reliably create shared libraries on AIX.
6612 *** Therefore, libtool is disabling shared libraries support. If you
6613 *** really care for shared libraries, you may want to modify your PATH
6614 *** so that a non-GNU linker is found, and then restart.
6621 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)'
6622 hardcode_libdir_flag_spec='-L$libdir'
6623 hardcode_minus_L=yes
6625 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6626 # that the semantics of dynamic libraries on AmigaOS, at least up
6627 # to version 4, is to share data among multiple programs linked
6628 # with the same dynamic library. Since this doesn't match the
6629 # behavior of shared libraries on other platforms, we can't use
6635 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6636 allow_undefined_flag=unsupported
6637 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6638 # support --undefined. This deserves some investigation. FIXME
6639 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6645 cygwin* | mingw* | pw32*)
6646 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6647 # as there is no search path for DLLs.
6648 hardcode_libdir_flag_spec='-L$libdir'
6649 allow_undefined_flag=unsupported
6650 always_export_symbols=no
6651 enable_shared_with_static_runtimes=yes
6652 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6654 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6655 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6656 # If the export-symbols file already is a .def file (1st line
6657 # is EXPORTS), use it as is; otherwise, prepend...
6658 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6659 cp $export_symbols $output_objdir/$soname.def;
6661 echo EXPORTS > $output_objdir/$soname.def;
6662 cat $export_symbols >> $output_objdir/$soname.def;
6664 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6671 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6672 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6675 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6676 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6681 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6685 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6686 *** create shared libraries on Solaris systems. Therefore, libtool
6687 *** is disabling shared libraries support. We urge you to upgrade GNU
6688 *** binutils to release 2.9.1 or newer. Another option is to modify
6689 *** your PATH or compiler configuration so that the native linker is
6690 *** used, and then restart.
6693 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6694 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6695 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6702 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6705 hardcode_shlibpath_var=no
6709 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6710 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6711 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6718 if test "$ld_shlibs" = yes; then
6719 runpath_var=LD_RUN_PATH
6720 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6721 export_dynamic_flag_spec='${wl}--export-dynamic'
6722 # ancient GNU ld didn't support --whole-archive et. al.
6723 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6724 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6726 whole_archive_flag_spec=
6730 # PORTME fill in a description of your system's linker (not GNU ld)
6733 allow_undefined_flag=unsupported
6734 always_export_symbols=yes
6735 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'
6736 # Note: this linker hardcodes the directories in LIBPATH if there
6737 # are no directories specified by -L.
6738 hardcode_minus_L=yes
6739 if test "$GCC" = yes && test -z "$link_static_flag"; then
6740 # Neither direct hardcoding nor static linking is supported with a
6742 hardcode_direct=unsupported
6747 if test "$host_cpu" = ia64; then
6748 # On IA64, the linker does run time linking by default, so we don't
6749 # have to do anything special.
6750 aix_use_runtimelinking=no
6751 exp_sym_flag='-Bexport'
6754 # If we're using GNU nm, then we don't want the "-C" option.
6755 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6756 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6757 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'
6759 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'
6761 aix_use_runtimelinking=no
6763 # Test if we are trying to use run time linking or normal
6764 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6765 # need to do runtime linking.
6766 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6767 for ld_flag in $LDFLAGS; do
6768 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6769 aix_use_runtimelinking=yes
6775 exp_sym_flag='-bexport'
6776 no_entry_flag='-bnoentry'
6779 # When large executables or shared objects are built, AIX ld can
6780 # have problems creating the table of contents. If linking a library
6781 # or program results in "error TOC overflow" add -mminimal-toc to
6782 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6783 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6787 hardcode_libdir_separator=':'
6788 link_all_deplibs=yes
6790 if test "$GCC" = yes; then
6791 case $host_os in aix4.012|aix4.012.*)
6792 # We only want to do this on AIX 4.2 and lower, the check
6793 # below for broken collect2 doesn't work under 4.3+
6794 collect2name=`${CC} -print-prog-name=collect2`
6795 if test -f "$collect2name" && \
6796 strings "$collect2name" | grep resolve_lib_name >/dev/null
6798 # We have reworked collect2
6801 # We have old collect2
6802 hardcode_direct=unsupported
6803 # It fails to find uninstalled libraries when the uninstalled
6804 # path is not listed in the libpath. Setting hardcode_minus_L
6805 # to unsupported forces relinking
6806 hardcode_minus_L=yes
6807 hardcode_libdir_flag_spec='-L$libdir'
6808 hardcode_libdir_separator=
6811 shared_flag='-shared'
6814 if test "$host_cpu" = ia64; then
6815 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6816 # chokes on -Wl,-G. The following line is correct:
6819 if test "$aix_use_runtimelinking" = yes; then
6820 shared_flag='${wl}-G'
6822 shared_flag='${wl}-bM:SRE'
6827 # It seems that -bexpall does not export symbols beginning with
6828 # underscore (_), so it is better to generate a list of symbols to export.
6829 always_export_symbols=yes
6830 if test "$aix_use_runtimelinking" = yes; then
6831 # Warning - without using the other runtime loading flags (-brtl),
6832 # -berok will link without error, but may produce a broken library.
6833 allow_undefined_flag='-berok'
6834 # Determine the default libpath from the value encoded in an empty executable.
6835 cat >conftest.$ac_ext <<_ACEOF
6836 #line $LINENO "configure"
6839 cat confdefs.h >>conftest.$ac_ext
6840 cat >>conftest.$ac_ext <<_ACEOF
6841 /* end confdefs.h. */
6851 rm -f conftest.$ac_objext conftest$ac_exeext
6852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6853 (eval $ac_link) 2>&5
6855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6856 (exit $ac_status); } &&
6857 { ac_try='test -s conftest$ac_exeext'
6858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6862 (exit $ac_status); }; }; then
6864 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6866 # Check for a 64-bit object if we didn't find anything.
6867 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; }
6870 echo "$as_me: failed program was:" >&5
6871 sed 's/^/| /' conftest.$ac_ext >&5
6874 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6875 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6877 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6878 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"
6880 if test "$host_cpu" = ia64; then
6881 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6882 allow_undefined_flag="-z nodefs"
6883 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"
6885 # Determine the default libpath from the value encoded in an empty executable.
6886 cat >conftest.$ac_ext <<_ACEOF
6887 #line $LINENO "configure"
6890 cat confdefs.h >>conftest.$ac_ext
6891 cat >>conftest.$ac_ext <<_ACEOF
6892 /* end confdefs.h. */
6902 rm -f conftest.$ac_objext conftest$ac_exeext
6903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6904 (eval $ac_link) 2>&5
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907 (exit $ac_status); } &&
6908 { ac_try='test -s conftest$ac_exeext'
6909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); }; }; then
6915 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6917 # Check for a 64-bit object if we didn't find anything.
6918 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; }
6921 echo "$as_me: failed program was:" >&5
6922 sed 's/^/| /' conftest.$ac_ext >&5
6925 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6926 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6928 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6929 # Warning - without using the other run time loading flags,
6930 # -berok will link without error, but may produce a broken library.
6931 no_undefined_flag=' ${wl}-bernotok'
6932 allow_undefined_flag=' ${wl}-berok'
6933 # -bexpall does not export symbols beginning with underscore (_)
6934 always_export_symbols=yes
6935 # Exported symbols can be pulled into shared objects from archives
6936 whole_archive_flag_spec=' '
6937 archive_cmds_need_lc=yes
6938 # This is similar to how AIX traditionally builds it's shared libraries.
6939 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'
6945 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)'
6946 hardcode_libdir_flag_spec='-L$libdir'
6947 hardcode_minus_L=yes
6948 # see comment about different semantics on the GNU ld section
6953 export_dynamic_flag_spec=-rdynamic
6956 cygwin* | mingw* | pw32*)
6957 # When not using gcc, we currently assume that we are using
6958 # Microsoft Visual C++.
6959 # hardcode_libdir_flag_spec is actually meaningless, as there is
6960 # no search path for DLLs.
6961 hardcode_libdir_flag_spec=' '
6962 allow_undefined_flag=unsupported
6963 # Tell ltmain to make .lib files, not .a files.
6965 # Tell ltmain to make .dll files, not .so files.
6967 # FIXME: Setting linknames here is a bad hack.
6968 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
6969 # The linker will automatically build a .lib file if we build a DLL.
6970 old_archive_From_new_cmds='true'
6971 # FIXME: Should let the user specify the lib program.
6972 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
6973 fix_srcfile_path='`cygpath -w "$srcfile"`'
6974 enable_shared_with_static_runtimes=yes
6977 darwin* | rhapsody*)
6978 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
6979 archive_cmds_need_lc=no
6981 rhapsody* | darwin1.[012])
6982 allow_undefined_flag='-undefined suppress'
6985 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
6988 # FIXME: Relying on posixy $() will cause problems for
6989 # cross-compilation, but unfortunately the echo tests do not
6990 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
6991 # `"' quotes if we put them in here... so don't!
6992 lt_int_apple_cc_single_mod=no
6993 output_verbose_link_cmd='echo'
6994 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
6995 lt_int_apple_cc_single_mod=yes
6997 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
6998 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7000 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'
7002 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7003 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7004 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7005 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}'
7007 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}'
7009 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}'
7011 hardcode_automatic=yes
7012 hardcode_shlibpath_var=unsupported
7013 whole_archive_flag_spec='-all_load $convenience'
7014 link_all_deplibs=yes
7019 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7020 hardcode_libdir_flag_spec='-L$libdir'
7021 hardcode_shlibpath_var=no
7028 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7029 # support. Future versions do this automatically, but an explicit c++rt0.o
7030 # does not break anything, and helps significantly (at the cost of a little
7033 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7034 hardcode_libdir_flag_spec='-R$libdir'
7036 hardcode_shlibpath_var=no
7039 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7041 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7043 hardcode_minus_L=yes
7044 hardcode_shlibpath_var=no
7047 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7049 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7050 hardcode_libdir_flag_spec='-R$libdir'
7052 hardcode_shlibpath_var=no
7056 if test "$GCC" = yes; then
7057 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'
7059 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'
7061 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7062 hardcode_libdir_separator=:
7065 # hardcode_minus_L: Not really in the search PATH,
7066 # but as the default location of the library.
7067 hardcode_minus_L=yes
7068 export_dynamic_flag_spec='${wl}-E'
7072 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7075 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7078 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7084 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7087 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7091 if test "$with_gnu_ld" = no; then
7094 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7095 hardcode_libdir_flag_spec_ld='+b $libdir'
7096 hardcode_libdir_separator=:
7098 hardcode_shlibpath_var=no
7101 hardcode_libdir_flag_spec='-L$libdir'
7103 hardcode_shlibpath_var=no
7105 # hardcode_minus_L: Not really in the search PATH,
7106 # but as the default location of the library.
7107 hardcode_minus_L=yes
7110 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7111 hardcode_libdir_separator=:
7113 export_dynamic_flag_spec='${wl}-E'
7115 # hardcode_minus_L: Not really in the search PATH,
7116 # but as the default location of the library.
7117 hardcode_minus_L=yes
7123 irix5* | irix6* | nonstopux*)
7124 if test "$GCC" = yes; then
7125 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'
7127 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'
7128 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7130 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7131 hardcode_libdir_separator=:
7132 link_all_deplibs=yes
7136 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7137 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7139 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7141 hardcode_libdir_flag_spec='-R$libdir'
7143 hardcode_shlibpath_var=no
7147 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7149 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7150 hardcode_libdir_separator=:
7151 hardcode_shlibpath_var=no
7156 hardcode_shlibpath_var=no
7157 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7158 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7159 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7160 export_dynamic_flag_spec='${wl}-E'
7163 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7164 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7165 hardcode_libdir_flag_spec='-R$libdir'
7168 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7169 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7176 hardcode_libdir_flag_spec='-L$libdir'
7177 hardcode_minus_L=yes
7178 allow_undefined_flag=unsupported
7179 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'
7180 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7184 if test "$GCC" = yes; then
7185 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7186 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'
7188 allow_undefined_flag=' -expect_unresolved \*'
7189 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'
7191 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7192 hardcode_libdir_separator=:
7195 osf4* | osf5*) # as osf3* with the addition of -msym flag
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}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7199 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7201 allow_undefined_flag=' -expect_unresolved \*'
7202 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'
7203 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7204 $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'
7206 # Both c and cxx compiler support -rpath directly
7207 hardcode_libdir_flag_spec='-rpath $libdir'
7209 hardcode_libdir_separator=:
7213 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7214 hardcode_shlibpath_var=no
7215 export_dynamic_flag_spec='${wl}-Bexport'
7216 runpath_var=LD_RUN_PATH
7217 hardcode_runpath_var=yes
7221 no_undefined_flag=' -z text'
7222 if test "$GCC" = yes; then
7223 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7224 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7225 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7227 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7228 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7229 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7231 hardcode_libdir_flag_spec='-R$libdir'
7232 hardcode_shlibpath_var=no
7234 solaris2.[0-5] | solaris2.[0-5].*) ;;
7235 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7236 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7238 link_all_deplibs=yes
7242 if test "x$host_vendor" = xsequent; then
7243 # Use $CC to link under sequent, because it throws in some extra .o
7244 # files that make .init and .fini sections work.
7245 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7247 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7249 hardcode_libdir_flag_spec='-L$libdir'
7251 hardcode_minus_L=yes
7252 hardcode_shlibpath_var=no
7256 case $host_vendor in
7258 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7259 hardcode_direct=yes # is this really true???
7262 ## LD is ld it makes a PLAMLIB
7263 ## CC just makes a GrossModule.
7264 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7265 reload_cmds='$CC -r -o $output$reload_objs'
7269 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7270 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7273 runpath_var='LD_RUN_PATH'
7274 hardcode_shlibpath_var=no
7278 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7279 hardcode_shlibpath_var=no
7280 export_dynamic_flag_spec='-Bexport'
7284 if test -d /usr/nec; then
7285 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7286 hardcode_shlibpath_var=no
7287 runpath_var=LD_RUN_PATH
7288 hardcode_runpath_var=yes
7294 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7297 hardcode_shlibpath_var=no
7298 hardcode_runpath_var=yes
7299 runpath_var=LD_RUN_PATH
7302 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7303 no_undefined_flag='${wl}-z ${wl}text'
7304 if test "$GCC" = yes; then
7305 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7307 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7309 runpath_var='LD_RUN_PATH'
7310 hardcode_shlibpath_var=no
7314 no_undefined_flag=' -z text'
7315 # $CC -shared without GNU ld will not create a library from C++
7316 # object files and a static libstdc++, better avoid it by now
7317 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7318 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7319 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7320 hardcode_libdir_flag_spec=
7321 hardcode_shlibpath_var=no
7322 runpath_var='LD_RUN_PATH'
7326 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7327 hardcode_libdir_flag_spec='-L$libdir'
7328 hardcode_shlibpath_var=no
7337 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7338 echo "${ECHO_T}$ld_shlibs" >&6
7339 test "$ld_shlibs" = no && can_build_shared=no
7341 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7342 if test "$GCC" = yes; then
7343 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7347 # Do we need to explicitly link libc?
7349 case "x$archive_cmds_need_lc" in
7351 # Assume -lc should be added
7352 archive_cmds_need_lc=yes
7354 if test "$enable_shared" = yes && test "$GCC" = yes; then
7355 case $archive_cmds in
7357 # FIXME: we may have to deal with multi-command sequences.
7360 # Test whether the compiler implicitly links with -lc since on some
7361 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7362 # to ld, don't add -lc before -lgcc.
7363 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7364 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7366 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7369 (eval $ac_compile) 2>&5
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); } 2>conftest.err; then
7375 libobjs=conftest.$ac_objext
7377 wl=$lt_prog_compiler_wl
7383 lt_save_allow_undefined_flag=$allow_undefined_flag
7384 allow_undefined_flag=
7385 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7386 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); }
7391 archive_cmds_need_lc=no
7393 archive_cmds_need_lc=yes
7395 allow_undefined_flag=$lt_save_allow_undefined_flag
7397 cat conftest.err 1>&5
7400 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7401 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7408 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7409 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7411 if test -n "$hardcode_libdir_flag_spec" || \
7412 test -n "$runpath_var " || \
7413 test "X$hardcode_automatic"="Xyes" ; then
7415 # We can hardcode non-existant directories.
7416 if test "$hardcode_direct" != no &&
7417 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7418 # have to relink, otherwise we might link with an installed library
7419 # when we should be linking with a yet-to-be-installed one
7420 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7421 test "$hardcode_minus_L" != no; then
7422 # Linking always hardcodes the temporary library directory.
7423 hardcode_action=relink
7425 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7426 hardcode_action=immediate
7429 # We cannot hardcode anything, or else we can only hardcode existing
7431 hardcode_action=unsupported
7433 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7434 echo "${ECHO_T}$hardcode_action" >&6
7436 if test "$hardcode_action" = relink; then
7437 # Fast installation is not supported
7438 enable_fast_install=no
7439 elif test "$shlibpath_overrides_runpath" = yes ||
7440 test "$enable_shared" = no; then
7441 # Fast installation is not necessary
7442 enable_fast_install=needless
7447 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7448 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7449 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7450 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7451 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7452 echo "$as_me:$LINENO: result: yes" >&5
7453 echo "${ECHO_T}yes" >&6
7455 # FIXME - insert some real tests, host_os isn't really good enough
7458 if test -n "$STRIP" ; then
7459 striplib="$STRIP -x"
7460 echo "$as_me:$LINENO: result: yes" >&5
7461 echo "${ECHO_T}yes" >&6
7463 echo "$as_me:$LINENO: result: no" >&5
7464 echo "${ECHO_T}no" >&6
7468 echo "$as_me:$LINENO: result: no" >&5
7469 echo "${ECHO_T}no" >&6
7474 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7475 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7477 libname_spec='lib$name'
7485 shlibpath_overrides_runpath=unknown
7487 dynamic_linker="$host_os ld.so"
7488 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7489 if test "$GCC" = yes; then
7490 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7491 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7492 # if the path contains ";" then we assume it to be the separator
7493 # otherwise default to the standard path separator (i.e. ":") - it is
7494 # assumed that no part of a normal pathname contains ";" but that should
7495 # okay in the real world where ";" in dirpaths is itself problematic.
7496 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7498 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7501 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7503 need_lib_prefix=unknown
7504 hardcode_into_libs=no
7506 # when you set need_version to no, make sure it does not cause -set_version
7507 # flags to be left without arguments
7508 need_version=unknown
7513 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7514 shlibpath_var=LIBPATH
7516 # AIX 3 has no versioning support, so we append a major version to the name.
7517 soname_spec='${libname}${release}${shared_ext}$major'
7524 hardcode_into_libs=yes
7525 if test "$host_cpu" = ia64; then
7526 # AIX 5 supports IA64
7527 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7528 shlibpath_var=LD_LIBRARY_PATH
7530 # With GCC up to 2.95.x, collect2 would create an import file
7531 # for dependence libraries. The import file would start with
7532 # the line `#! .'. This would cause the generated library to
7533 # depend on `.', always an invalid library. This was fixed in
7534 # development snapshots of GCC prior to 3.0.
7536 aix4 | aix4.[01] | aix4.[01].*)
7537 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7539 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7546 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7547 # soname into executable. Probably we can add versioning support to
7548 # collect2, so additional links can be useful in future.
7549 if test "$aix_use_runtimelinking" = yes; then
7550 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7551 # instead of lib<name>.a to let people know that these are not
7552 # typical AIX shared libraries.
7553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7555 # We preserve .a as extension for shared libraries through AIX4.2
7556 # and later when we are not doing run time linking.
7557 library_names_spec='${libname}${release}.a $libname.a'
7558 soname_spec='${libname}${release}${shared_ext}$major'
7560 shlibpath_var=LIBPATH
7565 library_names_spec='$libname.ixlibrary $libname.a'
7566 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7567 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'
7571 library_names_spec='${libname}${shared_ext}'
7572 dynamic_linker="$host_os ld.so"
7573 shlibpath_var=LIBRARY_PATH
7579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7580 soname_spec='${libname}${release}${shared_ext}$major'
7581 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7582 shlibpath_var=LD_LIBRARY_PATH
7583 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7584 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7585 # the default ld.so.conf also contains /usr/contrib/lib and
7586 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7587 # libtool to hard-code these into programs
7590 cygwin* | mingw* | pw32*)
7591 version_type=windows
7596 case $GCC,$host_os in
7597 yes,cygwin* | yes,mingw* | yes,pw32*)
7598 library_names_spec='$libname.dll.a'
7599 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7600 postinstall_cmds='base_file=`basename \${file}`~
7601 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7602 dldir=$destdir/`dirname \$dlpath`~
7603 test -d \$dldir || mkdir -p \$dldir~
7604 $install_prog $dir/$dlname \$dldir/$dlname'
7605 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7606 dlpath=$dir/\$dldll~
7608 shlibpath_overrides_runpath=yes
7612 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7613 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7614 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7617 # MinGW DLLs use traditional 'lib' prefix
7618 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7619 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7620 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7621 # It is most probably a Windows format PATH printed by
7622 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7623 # path with ; separators, and with drive letters. We can handle the
7624 # drive letters (cygwin fileutils understands them), so leave them,
7625 # especially as we might pass files found there to a mingw objdump,
7626 # which wouldn't understand a cygwinified path. Ahh.
7627 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7629 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7633 # pw32 DLLs use 'pw' prefix rather than 'lib'
7634 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7640 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7643 dynamic_linker='Win32 ld.exe'
7644 # FIXME: first we should search . and the directory the executable is in
7648 darwin* | rhapsody*)
7649 dynamic_linker="$host_os dyld"
7653 # FIXME: Relying on posixy $() will cause problems for
7654 # cross-compilation, but unfortunately the echo tests do not
7655 # yet detect zsh echo's removal of \ escapes.
7656 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7657 soname_spec='${libname}${release}${major}$shared_ext'
7658 shlibpath_overrides_runpath=yes
7659 shlibpath_var=DYLD_LIBRARY_PATH
7660 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7661 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7662 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7663 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"`
7665 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7673 soname_spec='${libname}${release}${shared_ext}$major'
7674 shlibpath_var=LD_LIBRARY_PATH
7682 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7683 version_type=freebsd-$objformat
7684 case $version_type in
7686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7691 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7695 shlibpath_var=LD_LIBRARY_PATH
7698 shlibpath_overrides_runpath=yes
7700 freebsd3.01* | freebsdelf3.01*)
7701 shlibpath_overrides_runpath=yes
7702 hardcode_into_libs=yes
7705 shlibpath_overrides_runpath=no
7706 hardcode_into_libs=yes
7715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7716 soname_spec='${libname}${release}${shared_ext}$major'
7717 shlibpath_var=LD_LIBRARY_PATH
7718 hardcode_into_libs=yes
7721 hpux9* | hpux10* | hpux11*)
7722 # Give a soname corresponding to the major version so that dld.sl refuses to
7723 # link against other versions.
7730 hardcode_into_libs=yes
7731 dynamic_linker="$host_os dld.so"
7732 shlibpath_var=LD_LIBRARY_PATH
7733 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7735 soname_spec='${libname}${release}${shared_ext}$major'
7736 if test "X$HPUX_IA64_MODE" = X32; then
7737 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7739 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7741 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7745 hardcode_into_libs=yes
7746 dynamic_linker="$host_os dld.sl"
7747 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7748 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7750 soname_spec='${libname}${release}${shared_ext}$major'
7751 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7752 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7756 dynamic_linker="$host_os dld.sl"
7757 shlibpath_var=SHLIB_PATH
7758 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7760 soname_spec='${libname}${release}${shared_ext}$major'
7763 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7764 postinstall_cmds='chmod 555 $lib'
7767 irix5* | irix6* | nonstopux*)
7769 nonstopux*) version_type=nonstopux ;;
7771 if test "$lt_cv_prog_gnu_ld" = yes; then
7779 soname_spec='${libname}${release}${shared_ext}$major'
7780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7782 irix5* | nonstopux*)
7786 case $LD in # libtool.m4 will add one of these switches to LD
7787 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7788 libsuff= shlibsuff= libmagic=32-bit;;
7789 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7790 libsuff=32 shlibsuff=N32 libmagic=N32;;
7791 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7792 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7793 *) libsuff= shlibsuff= libmagic=never-match;;
7797 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7798 shlibpath_overrides_runpath=no
7799 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7800 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7801 hardcode_into_libs=yes
7804 # No shared lib support for Linux oldld, aout, or coff.
7805 linux*oldld* | linux*aout* | linux*coff*)
7809 # This must be Linux ELF.
7814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7815 soname_spec='${libname}${release}${shared_ext}$major'
7816 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7817 shlibpath_var=LD_LIBRARY_PATH
7818 shlibpath_overrides_runpath=no
7819 # This implies no fast_install, which is unacceptable.
7820 # Some rework will be needed to allow for fast_install
7821 # before this can be enabled.
7822 hardcode_into_libs=yes
7824 # We used to test for /lib/ld.so.1 and disable shared libraries on
7825 # powerpc, because MkLinux only supported shared libraries with the
7826 # GNU dynamic linker. Since this was broken with cross compilers,
7827 # most powerpc-linux boxes support dynamic linking these days and
7828 # people can always --disable-shared, the test was removed, and we
7829 # assume the GNU/Linux dynamic linker is in use.
7830 dynamic_linker='GNU/Linux ld.so'
7837 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7839 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7840 dynamic_linker='NetBSD (a.out) ld.so'
7842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7843 soname_spec='${libname}${release}${shared_ext}$major'
7844 dynamic_linker='NetBSD ld.elf_so'
7846 shlibpath_var=LD_LIBRARY_PATH
7847 shlibpath_overrides_runpath=yes
7848 hardcode_into_libs=yes
7853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7854 shlibpath_var=LD_LIBRARY_PATH
7855 shlibpath_overrides_runpath=yes
7862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7863 soname_spec='${libname}${release}${shared_ext}$major'
7864 shlibpath_var=LD_LIBRARY_PATH
7865 shlibpath_overrides_runpath=yes
7872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7873 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7874 shlibpath_var=LD_LIBRARY_PATH
7875 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7877 openbsd2.[89] | openbsd2.[89].*)
7878 shlibpath_overrides_runpath=no
7881 shlibpath_overrides_runpath=yes
7885 shlibpath_overrides_runpath=yes
7890 libname_spec='$name'
7893 library_names_spec='$libname${shared_ext} $libname.a'
7894 dynamic_linker='OS/2 ld.exe'
7895 shlibpath_var=LIBPATH
7898 osf3* | osf4* | osf5*)
7902 soname_spec='${libname}${release}${shared_ext}$major'
7903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7904 shlibpath_var=LD_LIBRARY_PATH
7905 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7906 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7911 soname_spec='${libname}${release}${shared_ext}$major'
7912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7913 shlibpath_var=LD_LIBRARY_PATH
7920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7921 soname_spec='${libname}${release}${shared_ext}$major'
7922 shlibpath_var=LD_LIBRARY_PATH
7923 shlibpath_overrides_runpath=yes
7924 hardcode_into_libs=yes
7925 # ldd complains unless libraries are executable
7926 postinstall_cmds='chmod +x $lib'
7931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7932 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7933 shlibpath_var=LD_LIBRARY_PATH
7934 shlibpath_overrides_runpath=yes
7935 if test "$with_gnu_ld" = yes; then
7941 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7944 soname_spec='${libname}${release}${shared_ext}$major'
7945 shlibpath_var=LD_LIBRARY_PATH
7946 case $host_vendor in
7948 shlibpath_overrides_runpath=no
7950 export_dynamic_flag_spec='${wl}-Blargedynsym'
7951 runpath_var=LD_RUN_PATH
7959 shlibpath_overrides_runpath=no
7960 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
7966 if test -d /usr/nec ;then
7968 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
7969 soname_spec='$libname${shared_ext}.$major'
7970 shlibpath_var=LD_LIBRARY_PATH
7976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7977 soname_spec='${libname}${release}${shared_ext}$major'
7978 shlibpath_var=LD_LIBRARY_PATH
7985 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
7986 echo "${ECHO_T}$dynamic_linker" >&6
7987 test "$dynamic_linker" = no && can_build_shared=no
7989 if test "x$enable_dlopen" != xyes; then
7990 enable_dlopen=unknown
7991 enable_dlopen_self=unknown
7992 enable_dlopen_self_static=unknown
7999 lt_cv_dlopen="load_add_on"
8001 lt_cv_dlopen_self=yes
8005 lt_cv_dlopen="LoadLibrary"
8010 lt_cv_dlopen="dlopen"
8015 # if libdl is installed we need to link against it
8016 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8017 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8018 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8019 echo $ECHO_N "(cached) $ECHO_C" >&6
8021 ac_check_lib_save_LIBS=$LIBS
8023 cat >conftest.$ac_ext <<_ACEOF
8024 #line $LINENO "configure"
8027 cat confdefs.h >>conftest.$ac_ext
8028 cat >>conftest.$ac_ext <<_ACEOF
8029 /* end confdefs.h. */
8031 /* Override any gcc2 internal prototype to avoid an error. */
8035 /* We use char because int might match the return type of a gcc2
8036 builtin and then its argument prototype would still apply. */
8046 rm -f conftest.$ac_objext conftest$ac_exeext
8047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8048 (eval $ac_link) 2>&5
8050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051 (exit $ac_status); } &&
8052 { ac_try='test -s conftest$ac_exeext'
8053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8057 (exit $ac_status); }; }; then
8058 ac_cv_lib_dl_dlopen=yes
8060 echo "$as_me: failed program was:" >&5
8061 sed 's/^/| /' conftest.$ac_ext >&5
8063 ac_cv_lib_dl_dlopen=no
8065 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8066 LIBS=$ac_check_lib_save_LIBS
8068 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8069 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8070 if test $ac_cv_lib_dl_dlopen = yes; then
8071 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8076 lt_cv_dlopen_self=yes
8083 echo "$as_me:$LINENO: checking for shl_load" >&5
8084 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8085 if test "${ac_cv_func_shl_load+set}" = set; then
8086 echo $ECHO_N "(cached) $ECHO_C" >&6
8088 cat >conftest.$ac_ext <<_ACEOF
8089 #line $LINENO "configure"
8092 cat confdefs.h >>conftest.$ac_ext
8093 cat >>conftest.$ac_ext <<_ACEOF
8094 /* end confdefs.h. */
8095 /* System header to define __stub macros and hopefully few prototypes,
8096 which can conflict with char shl_load (); below.
8097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8098 <limits.h> exists even on freestanding compilers. */
8100 # include <limits.h>
8102 # include <assert.h>
8104 /* Override any gcc2 internal prototype to avoid an error. */
8109 /* We use char because int might match the return type of a gcc2
8110 builtin and then its argument prototype would still apply. */
8112 /* The GNU C library defines this for functions which it implements
8113 to always fail with ENOSYS. Some functions are actually named
8114 something starting with __ and the normal name is an alias. */
8115 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8118 char (*f) () = shl_load;
8127 return f != shl_load;
8132 rm -f conftest.$ac_objext conftest$ac_exeext
8133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8134 (eval $ac_link) 2>&5
8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); } &&
8138 { ac_try='test -s conftest$ac_exeext'
8139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); }; }; then
8144 ac_cv_func_shl_load=yes
8146 echo "$as_me: failed program was:" >&5
8147 sed 's/^/| /' conftest.$ac_ext >&5
8149 ac_cv_func_shl_load=no
8151 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8153 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8154 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8155 if test $ac_cv_func_shl_load = yes; then
8156 lt_cv_dlopen="shl_load"
8158 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8159 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8160 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8161 echo $ECHO_N "(cached) $ECHO_C" >&6
8163 ac_check_lib_save_LIBS=$LIBS
8165 cat >conftest.$ac_ext <<_ACEOF
8166 #line $LINENO "configure"
8169 cat confdefs.h >>conftest.$ac_ext
8170 cat >>conftest.$ac_ext <<_ACEOF
8171 /* end confdefs.h. */
8173 /* Override any gcc2 internal prototype to avoid an error. */
8177 /* We use char because int might match the return type of a gcc2
8178 builtin and then its argument prototype would still apply. */
8188 rm -f conftest.$ac_objext conftest$ac_exeext
8189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8190 (eval $ac_link) 2>&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); } &&
8194 { ac_try='test -s conftest$ac_exeext'
8195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); }; }; then
8200 ac_cv_lib_dld_shl_load=yes
8202 echo "$as_me: failed program was:" >&5
8203 sed 's/^/| /' conftest.$ac_ext >&5
8205 ac_cv_lib_dld_shl_load=no
8207 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8208 LIBS=$ac_check_lib_save_LIBS
8210 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8211 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8212 if test $ac_cv_lib_dld_shl_load = yes; then
8213 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8215 echo "$as_me:$LINENO: checking for dlopen" >&5
8216 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8217 if test "${ac_cv_func_dlopen+set}" = set; then
8218 echo $ECHO_N "(cached) $ECHO_C" >&6
8220 cat >conftest.$ac_ext <<_ACEOF
8221 #line $LINENO "configure"
8224 cat confdefs.h >>conftest.$ac_ext
8225 cat >>conftest.$ac_ext <<_ACEOF
8226 /* end confdefs.h. */
8227 /* System header to define __stub macros and hopefully few prototypes,
8228 which can conflict with char dlopen (); below.
8229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8230 <limits.h> exists even on freestanding compilers. */
8232 # include <limits.h>
8234 # include <assert.h>
8236 /* Override any gcc2 internal prototype to avoid an error. */
8241 /* We use char because int might match the return type of a gcc2
8242 builtin and then its argument prototype would still apply. */
8244 /* The GNU C library defines this for functions which it implements
8245 to always fail with ENOSYS. Some functions are actually named
8246 something starting with __ and the normal name is an alias. */
8247 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8250 char (*f) () = dlopen;
8264 rm -f conftest.$ac_objext conftest$ac_exeext
8265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8266 (eval $ac_link) 2>&5
8268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8269 (exit $ac_status); } &&
8270 { ac_try='test -s conftest$ac_exeext'
8271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 (exit $ac_status); }; }; then
8276 ac_cv_func_dlopen=yes
8278 echo "$as_me: failed program was:" >&5
8279 sed 's/^/| /' conftest.$ac_ext >&5
8281 ac_cv_func_dlopen=no
8283 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8285 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8286 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8287 if test $ac_cv_func_dlopen = yes; then
8288 lt_cv_dlopen="dlopen"
8290 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8291 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8292 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8293 echo $ECHO_N "(cached) $ECHO_C" >&6
8295 ac_check_lib_save_LIBS=$LIBS
8297 cat >conftest.$ac_ext <<_ACEOF
8298 #line $LINENO "configure"
8301 cat confdefs.h >>conftest.$ac_ext
8302 cat >>conftest.$ac_ext <<_ACEOF
8303 /* end confdefs.h. */
8305 /* Override any gcc2 internal prototype to avoid an error. */
8309 /* We use char because int might match the return type of a gcc2
8310 builtin and then its argument prototype would still apply. */
8320 rm -f conftest.$ac_objext conftest$ac_exeext
8321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8322 (eval $ac_link) 2>&5
8324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325 (exit $ac_status); } &&
8326 { ac_try='test -s conftest$ac_exeext'
8327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8331 (exit $ac_status); }; }; then
8332 ac_cv_lib_dl_dlopen=yes
8334 echo "$as_me: failed program was:" >&5
8335 sed 's/^/| /' conftest.$ac_ext >&5
8337 ac_cv_lib_dl_dlopen=no
8339 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8340 LIBS=$ac_check_lib_save_LIBS
8342 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8343 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8344 if test $ac_cv_lib_dl_dlopen = yes; then
8345 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8347 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8348 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8349 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8350 echo $ECHO_N "(cached) $ECHO_C" >&6
8352 ac_check_lib_save_LIBS=$LIBS
8354 cat >conftest.$ac_ext <<_ACEOF
8355 #line $LINENO "configure"
8358 cat confdefs.h >>conftest.$ac_ext
8359 cat >>conftest.$ac_ext <<_ACEOF
8360 /* end confdefs.h. */
8362 /* Override any gcc2 internal prototype to avoid an error. */
8366 /* We use char because int might match the return type of a gcc2
8367 builtin and then its argument prototype would still apply. */
8377 rm -f conftest.$ac_objext conftest$ac_exeext
8378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8379 (eval $ac_link) 2>&5
8381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382 (exit $ac_status); } &&
8383 { ac_try='test -s conftest$ac_exeext'
8384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388 (exit $ac_status); }; }; then
8389 ac_cv_lib_svld_dlopen=yes
8391 echo "$as_me: failed program was:" >&5
8392 sed 's/^/| /' conftest.$ac_ext >&5
8394 ac_cv_lib_svld_dlopen=no
8396 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8397 LIBS=$ac_check_lib_save_LIBS
8399 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8400 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8401 if test $ac_cv_lib_svld_dlopen = yes; then
8402 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8404 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8405 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8406 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8407 echo $ECHO_N "(cached) $ECHO_C" >&6
8409 ac_check_lib_save_LIBS=$LIBS
8411 cat >conftest.$ac_ext <<_ACEOF
8412 #line $LINENO "configure"
8415 cat confdefs.h >>conftest.$ac_ext
8416 cat >>conftest.$ac_ext <<_ACEOF
8417 /* end confdefs.h. */
8419 /* Override any gcc2 internal prototype to avoid an error. */
8423 /* We use char because int might match the return type of a gcc2
8424 builtin and then its argument prototype would still apply. */
8434 rm -f conftest.$ac_objext conftest$ac_exeext
8435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8436 (eval $ac_link) 2>&5
8438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8439 (exit $ac_status); } &&
8440 { ac_try='test -s conftest$ac_exeext'
8441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); }; }; then
8446 ac_cv_lib_dld_dld_link=yes
8448 echo "$as_me: failed program was:" >&5
8449 sed 's/^/| /' conftest.$ac_ext >&5
8451 ac_cv_lib_dld_dld_link=no
8453 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8454 LIBS=$ac_check_lib_save_LIBS
8456 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8457 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8458 if test $ac_cv_lib_dld_dld_link = yes; then
8459 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8480 if test "x$lt_cv_dlopen" != xno; then
8486 case $lt_cv_dlopen in
8488 save_CPPFLAGS="$CPPFLAGS"
8489 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8491 save_LDFLAGS="$LDFLAGS"
8492 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8495 LIBS="$lt_cv_dlopen_libs $LIBS"
8497 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8498 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8499 if test "${lt_cv_dlopen_self+set}" = set; then
8500 echo $ECHO_N "(cached) $ECHO_C" >&6
8502 if test "$cross_compiling" = yes; then :
8503 lt_cv_dlopen_self=cross
8505 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8506 lt_status=$lt_dlunknown
8507 cat > conftest.$ac_ext <<EOF
8508 #line 8508 "configure"
8509 #include "confdefs.h"
8518 # define LT_DLGLOBAL RTLD_GLOBAL
8521 # define LT_DLGLOBAL DL_GLOBAL
8523 # define LT_DLGLOBAL 0
8527 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8528 find out it does not work in some platform. */
8529 #ifndef LT_DLLAZY_OR_NOW
8531 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8534 # define LT_DLLAZY_OR_NOW DL_LAZY
8537 # define LT_DLLAZY_OR_NOW RTLD_NOW
8540 # define LT_DLLAZY_OR_NOW DL_NOW
8542 # define LT_DLLAZY_OR_NOW 0
8550 extern "C" void exit (int);
8553 void fnord() { int i=42;}
8556 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8557 int status = $lt_dlunknown;
8561 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8562 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8563 /* dlclose (self); */
8569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8570 (eval $ac_link) 2>&5
8572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8574 (./conftest; exit; ) 2>/dev/null
8577 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8578 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8579 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8582 # compilation failed
8583 lt_cv_dlopen_self=no
8590 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8591 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8593 if test "x$lt_cv_dlopen_self" = xyes; then
8594 LDFLAGS="$LDFLAGS $link_static_flag"
8595 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8596 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8597 if test "${lt_cv_dlopen_self_static+set}" = set; then
8598 echo $ECHO_N "(cached) $ECHO_C" >&6
8600 if test "$cross_compiling" = yes; then :
8601 lt_cv_dlopen_self_static=cross
8603 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8604 lt_status=$lt_dlunknown
8605 cat > conftest.$ac_ext <<EOF
8606 #line 8606 "configure"
8607 #include "confdefs.h"
8616 # define LT_DLGLOBAL RTLD_GLOBAL
8619 # define LT_DLGLOBAL DL_GLOBAL
8621 # define LT_DLGLOBAL 0
8625 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8626 find out it does not work in some platform. */
8627 #ifndef LT_DLLAZY_OR_NOW
8629 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8632 # define LT_DLLAZY_OR_NOW DL_LAZY
8635 # define LT_DLLAZY_OR_NOW RTLD_NOW
8638 # define LT_DLLAZY_OR_NOW DL_NOW
8640 # define LT_DLLAZY_OR_NOW 0
8648 extern "C" void exit (int);
8651 void fnord() { int i=42;}
8654 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8655 int status = $lt_dlunknown;
8659 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8660 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8661 /* dlclose (self); */
8667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8668 (eval $ac_link) 2>&5
8670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8672 (./conftest; exit; ) 2>/dev/null
8675 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8676 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8677 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8680 # compilation failed
8681 lt_cv_dlopen_self_static=no
8688 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8689 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8692 CPPFLAGS="$save_CPPFLAGS"
8693 LDFLAGS="$save_LDFLAGS"
8698 case $lt_cv_dlopen_self in
8699 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8700 *) enable_dlopen_self=unknown ;;
8703 case $lt_cv_dlopen_self_static in
8704 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8705 *) enable_dlopen_self_static=unknown ;;
8710 # Report which librarie types wil actually be built
8711 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8712 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8713 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8714 echo "${ECHO_T}$can_build_shared" >&6
8716 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8717 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8718 test "$can_build_shared" = "no" && enable_shared=no
8720 # On AIX, shared libraries and static libraries use the same namespace, and
8721 # are all built from PIC.
8724 test "$enable_shared" = yes && enable_static=no
8725 if test -n "$RANLIB"; then
8726 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8727 postinstall_cmds='$RANLIB $lib'
8732 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8733 test "$enable_shared" = yes && enable_static=no
8736 darwin* | rhapsody*)
8737 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8738 archive_cmds_need_lc=no
8740 rhapsody* | darwin1.[012])
8741 allow_undefined_flag='-undefined suppress'
8744 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8747 # FIXME: Relying on posixy $() will cause problems for
8748 # cross-compilation, but unfortunately the echo tests do not
8749 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8750 # `"' quotes if we put them in here... so don't!
8751 output_verbose_link_cmd='echo'
8752 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8753 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8754 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8755 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}'
8756 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}'
8758 hardcode_automatic=yes
8759 hardcode_shlibpath_var=unsupported
8760 whole_archive_flag_spec='-all_load $convenience'
8761 link_all_deplibs=yes
8765 echo "$as_me:$LINENO: result: $enable_shared" >&5
8766 echo "${ECHO_T}$enable_shared" >&6
8768 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8769 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8770 # Make sure either enable_shared or enable_static is yes.
8771 test "$enable_shared" = yes || enable_static=yes
8772 echo "$as_me:$LINENO: result: $enable_static" >&5
8773 echo "${ECHO_T}$enable_static" >&6
8775 # The else clause should only fire when bootstrapping the
8776 # libtool distribution, otherwise you forgot to ship ltmain.sh
8777 # with your package, and you will get complaints that there are
8778 # no rules to generate ltmain.sh.
8779 if test -f "$ltmain"; then
8780 # See if we are running on zsh, and set the options which allow our commands through
8781 # without removal of \ escapes.
8782 if test -n "${ZSH_VERSION+set}" ; then
8783 setopt NO_GLOB_SUBST
8785 # Now quote all the things that may contain metacharacters while being
8786 # careful not to overquote the AC_SUBSTed values. We take copies of the
8787 # variables and quote the copies for generation of the libtool script.
8788 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8789 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8790 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8791 deplibs_check_method reload_flag reload_cmds need_locks \
8792 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8793 lt_cv_sys_global_symbol_to_c_name_address \
8794 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8795 old_postinstall_cmds old_postuninstall_cmds \
8799 lt_prog_compiler_wl \
8800 lt_prog_compiler_pic \
8801 lt_prog_compiler_static \
8802 lt_prog_compiler_no_builtin_flag \
8803 export_dynamic_flag_spec \
8804 thread_safe_flag_spec \
8805 whole_archive_flag_spec \
8806 enable_shared_with_static_runtimes \
8808 old_archive_from_new_cmds \
8813 compiler_lib_search_path \
8815 archive_expsym_cmds \
8817 postuninstall_cmds \
8818 old_archive_from_expsyms_cmds \
8819 allow_undefined_flag \
8821 export_symbols_cmds \
8822 hardcode_libdir_flag_spec \
8823 hardcode_libdir_flag_spec_ld \
8824 hardcode_libdir_separator \
8825 hardcode_automatic \
8827 module_expsym_cmds \
8828 lt_cv_prog_compiler_c_o \
8833 old_archive_cmds | \
8834 old_archive_from_new_cmds | \
8836 archive_expsym_cmds | \
8838 module_expsym_cmds | \
8839 old_archive_from_expsyms_cmds | \
8840 export_symbols_cmds | \
8841 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8842 postinstall_cmds | postuninstall_cmds | \
8843 old_postinstall_cmds | old_postuninstall_cmds | \
8844 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8845 # Double-quote double-evaled strings.
8846 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8849 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8855 *'\$0 --fallback-echo"')
8856 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8861 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8863 { echo "$as_me:$LINENO: creating $ofile" >&5
8864 echo "$as_me: creating $ofile" >&6;}
8866 cat <<__EOF__ >> "$cfgfile"
8869 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8870 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8871 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8873 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8874 # Free Software Foundation, Inc.
8876 # This file is part of GNU Libtool:
8877 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8879 # This program is free software; you can redistribute it and/or modify
8880 # it under the terms of the GNU General Public License as published by
8881 # the Free Software Foundation; either version 2 of the License, or
8882 # (at your option) any later version.
8884 # This program is distributed in the hope that it will be useful, but
8885 # WITHOUT ANY WARRANTY; without even the implied warranty of
8886 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8887 # General Public License for more details.
8889 # You should have received a copy of the GNU General Public License
8890 # along with this program; if not, write to the Free Software
8891 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8893 # As a special exception to the GNU General Public License, if you
8894 # distribute this file as part of a program that contains a
8895 # configuration script generated by Autoconf, you may include it under
8896 # the same distribution terms that you use for the rest of that program.
8898 # A sed program that does not truncate output.
8901 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8902 Xsed="$SED -e s/^X//"
8904 # The HP-UX ksh and POSIX shell print the target directory to stdout
8906 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8908 # The names of the tagged configurations supported by this script.
8911 # ### BEGIN LIBTOOL CONFIG
8913 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8915 # Shell to use when invoking shell scripts.
8918 # Whether or not to build shared libraries.
8919 build_libtool_libs=$enable_shared
8921 # Whether or not to build static libraries.
8922 build_old_libs=$enable_static
8924 # Whether or not to add -lc for building shared libraries.
8925 build_libtool_need_lc=$archive_cmds_need_lc
8927 # Whether or not to disallow shared libs when runtime libs are static
8928 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8930 # Whether or not to optimize for fast installation.
8931 fast_install=$enable_fast_install
8934 host_alias=$host_alias
8937 # An echo program that does not interpret backslashes.
8942 AR_FLAGS=$lt_AR_FLAGS
8947 # A language-specific compiler.
8950 # Is the compiler the GNU C compiler?
8956 # The linker used to build libraries.
8959 # Whether we need hard or soft links.
8962 # A BSD-compatible nm program.
8965 # A symbol stripping program
8968 # Used to examine libraries when file_magic_cmd begins "file"
8969 MAGIC_CMD=$MAGIC_CMD
8971 # Used on cygwin: DLL creation program.
8974 # Used on cygwin: object dumper.
8977 # Used on cygwin: assembler.
8980 # The name of the directory that contains temporary libtool files.
8983 # How to create reloadable object files.
8984 reload_flag=$lt_reload_flag
8985 reload_cmds=$lt_reload_cmds
8987 # How to pass a linker flag through the compiler.
8988 wl=$lt_lt_prog_compiler_wl
8990 # Object file suffix (normally "o").
8993 # Old archive suffix (normally "a").
8996 # Shared library suffix (normally ".so").
8999 # Executable file suffix (normally "").
9002 # Additional compiler flags for building library objects.
9003 pic_flag=$lt_lt_prog_compiler_pic
9006 # What is the maximum length of a command?
9007 max_cmd_len=$lt_cv_sys_max_cmd_len
9009 # Does compiler simultaneously support -c and -o options?
9010 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9012 # Must we lock files when doing compilation ?
9013 need_locks=$lt_need_locks
9015 # Do we need the lib prefix for modules?
9016 need_lib_prefix=$need_lib_prefix
9018 # Do we need a version for libraries?
9019 need_version=$need_version
9021 # Whether dlopen is supported.
9022 dlopen_support=$enable_dlopen
9024 # Whether dlopen of programs is supported.
9025 dlopen_self=$enable_dlopen_self
9027 # Whether dlopen of statically linked programs is supported.
9028 dlopen_self_static=$enable_dlopen_self_static
9030 # Compiler flag to prevent dynamic linking.
9031 link_static_flag=$lt_lt_prog_compiler_static
9033 # Compiler flag to turn off builtin functions.
9034 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9036 # Compiler flag to allow reflexive dlopens.
9037 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9039 # Compiler flag to generate shared objects directly from archives.
9040 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9042 # Compiler flag to generate thread-safe objects.
9043 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9045 # Library versioning type.
9046 version_type=$version_type
9048 # Format of library name prefix.
9049 libname_spec=$lt_libname_spec
9051 # List of archive names. First name is the real one, the rest are links.
9052 # The last name is the one that the linker finds with -lNAME.
9053 library_names_spec=$lt_library_names_spec
9055 # The coded name of the library, if different from the real name.
9056 soname_spec=$lt_soname_spec
9058 # Commands used to build and install an old-style archive.
9060 old_archive_cmds=$lt_old_archive_cmds
9061 old_postinstall_cmds=$lt_old_postinstall_cmds
9062 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9064 # Create an old-style archive from a shared archive.
9065 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9067 # Create a temporary old-style archive to link instead of a shared archive.
9068 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9070 # Commands used to build and install a shared archive.
9071 archive_cmds=$lt_archive_cmds
9072 archive_expsym_cmds=$lt_archive_expsym_cmds
9073 postinstall_cmds=$lt_postinstall_cmds
9074 postuninstall_cmds=$lt_postuninstall_cmds
9076 # Commands used to build a loadable module (assumed same as above if empty)
9077 module_cmds=$lt_module_cmds
9078 module_expsym_cmds=$lt_module_expsym_cmds
9080 # Commands to strip libraries.
9081 old_striplib=$lt_old_striplib
9082 striplib=$lt_striplib
9084 # Dependencies to place before the objects being linked to create a
9086 predep_objects=$lt_predep_objects
9088 # Dependencies to place after the objects being linked to create a
9090 postdep_objects=$lt_postdep_objects
9092 # Dependencies to place before the objects being linked to create a
9096 # Dependencies to place after the objects being linked to create a
9098 postdeps=$lt_postdeps
9100 # The library search path used internally by the compiler when linking
9102 compiler_lib_search_path=$lt_compiler_lib_search_path
9104 # Method to check whether dependent libraries are shared objects.
9105 deplibs_check_method=$lt_deplibs_check_method
9107 # Command to use when deplibs_check_method == file_magic.
9108 file_magic_cmd=$lt_file_magic_cmd
9110 # Flag that allows shared libraries with undefined symbols to be built.
9111 allow_undefined_flag=$lt_allow_undefined_flag
9113 # Flag that forces no undefined symbols.
9114 no_undefined_flag=$lt_no_undefined_flag
9116 # Commands used to finish a libtool library installation in a directory.
9117 finish_cmds=$lt_finish_cmds
9119 # Same as above, but a single script fragment to be evaled but not shown.
9120 finish_eval=$lt_finish_eval
9122 # Take the output of nm and produce a listing of raw symbols and C names.
9123 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9125 # Transform the output of nm in a proper C declaration
9126 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9128 # Transform the output of nm in a C name address pair
9129 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9131 # This is the shared library runtime path variable.
9132 runpath_var=$runpath_var
9134 # This is the shared library path variable.
9135 shlibpath_var=$shlibpath_var
9137 # Is shlibpath searched before the hard-coded library search path?
9138 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9140 # How to hardcode a shared library path into an executable.
9141 hardcode_action=$hardcode_action
9143 # Whether we should hardcode library paths into libraries.
9144 hardcode_into_libs=$hardcode_into_libs
9146 # Flag to hardcode \$libdir into a binary during linking.
9147 # This must work even if \$libdir does not exist.
9148 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9150 # If ld is used when linking, flag to hardcode \$libdir into
9151 # a binary during linking. This must work even if \$libdir does
9153 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9155 # Whether we need a single -rpath flag with a separated argument.
9156 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9158 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9160 hardcode_direct=$hardcode_direct
9162 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9164 hardcode_minus_L=$hardcode_minus_L
9166 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9167 # the resulting binary.
9168 hardcode_shlibpath_var=$hardcode_shlibpath_var
9170 # Set to yes if building a shared library automatically hardcodes DIR into the library
9171 # and all subsequent libraries and executables linked against it.
9172 hardcode_automatic=$hardcode_automatic
9174 # Variables whose values should be saved in libtool wrapper scripts and
9175 # restored at relink time.
9176 variables_saved_for_relink="$variables_saved_for_relink"
9178 # Whether libtool must link a program against all its dependency libraries.
9179 link_all_deplibs=$link_all_deplibs
9181 # Compile-time system search path for libraries
9182 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9184 # Run-time system search path for libraries
9185 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9187 # Fix the shell variable \$srcfile for the compiler.
9188 fix_srcfile_path="$fix_srcfile_path"
9190 # Set to yes if exported symbols are required.
9191 always_export_symbols=$always_export_symbols
9193 # The commands to list exported symbols.
9194 export_symbols_cmds=$lt_export_symbols_cmds
9196 # The commands to extract the exported symbol list from a shared archive.
9197 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9199 # Symbols that should not be listed in the preloaded symbols.
9200 exclude_expsyms=$lt_exclude_expsyms
9202 # Symbols that must always be exported.
9203 include_expsyms=$lt_include_expsyms
9205 # ### END LIBTOOL CONFIG
9212 cat <<\EOF >> "$cfgfile"
9214 # AIX sometimes has problems with the GCC collect2 program. For some
9215 # reason, if we set the COLLECT_NAMES environment variable, the problems
9216 # vanish in a puff of smoke.
9217 if test "X${COLLECT_NAMES+set}" != Xset; then
9219 export COLLECT_NAMES
9225 # We use sed instead of cat because bash on DJGPP gets confused if
9226 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9227 # text mode, it properly converts lines to CR/LF. This bash problem
9228 # is reportedly fixed, but why not run on old versions too?
9229 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9231 mv -f "$cfgfile" "$ofile" || \
9232 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9236 # If there is no Makefile yet, we rely on a make rule to execute
9237 # `config.status --recheck' to rerun these tests and create the
9238 # libtool script then.
9239 test -f Makefile && make "$ltmain"
9244 ac_cpp='$CPP $CPPFLAGS'
9245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9252 # Check whether --with-tags or --without-tags was given.
9253 if test "${with_tags+set}" = set; then
9254 withval="$with_tags"
9258 if test -f "$ltmain" && test -n "$tagnames"; then
9259 if test ! -f "${ofile}"; then
9260 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9261 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9264 if test -z "$LTCC"; then
9265 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9266 if test -z "$LTCC"; then
9267 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9268 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9270 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9271 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9275 # Extract list of available tagged configurations in $ofile.
9276 # Note that this assumes the entire list is on one line.
9277 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9279 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9280 for tagname in $tagnames; do
9282 # Check whether tagname contains only valid characters
9283 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9285 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9286 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9287 { (exit 1); exit 1; }; }
9291 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9293 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9294 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9295 { (exit 1); exit 1; }; }
9298 # Update the list of available tags.
9299 if test -n "$tagname"; then
9300 echo appending configuration tag \"$tagname\" to $ofile
9304 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9306 ac_cpp='$CXXCPP $CPPFLAGS'
9307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9314 archive_cmds_need_lc_CXX=no
9315 allow_undefined_flag_CXX=
9316 always_export_symbols_CXX=no
9317 archive_expsym_cmds_CXX=
9318 export_dynamic_flag_spec_CXX=
9319 hardcode_direct_CXX=no
9320 hardcode_libdir_flag_spec_CXX=
9321 hardcode_libdir_flag_spec_ld_CXX=
9322 hardcode_libdir_separator_CXX=
9323 hardcode_minus_L_CXX=no
9324 hardcode_automatic_CXX=no
9326 module_expsym_cmds_CXX=
9327 link_all_deplibs_CXX=unknown
9328 old_archive_cmds_CXX=$old_archive_cmds
9329 no_undefined_flag_CXX=
9330 whole_archive_flag_spec_CXX=
9331 enable_shared_with_static_runtimes_CXX=no
9333 # Dependencies to place before and after the object being linked:
9335 postdep_objects_CXX=
9338 compiler_lib_search_path_CXX=
9340 # Source file extension for C++ test sources.
9343 # Object file extension for compiled C++ test sources.
9347 # Code to be used in simple compile tests
9348 lt_simple_compile_test_code="int some_variable = 0;\n"
9350 # Code to be used in simple link tests
9351 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9353 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9355 # If no C compiler was specified, use CC.
9358 # Allow CC to be a program name with arguments.
9362 # Allow CC to be a program name with arguments.
9367 lt_save_with_gnu_ld=$with_gnu_ld
9368 lt_save_path_LD=$lt_cv_path_LD
9369 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9370 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9372 unset lt_cv_prog_gnu_ld
9374 if test -n "${lt_cv_path_LDCXX+set}"; then
9375 lt_cv_path_LD=$lt_cv_path_LDCXX
9379 test -z "${LDCXX+set}" || LD=$LDCXX
9383 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9385 # We don't want -fno-exception wen compiling C++ code, so set the
9386 # no_builtin_flag separately
9387 if test "$GXX" = yes; then
9388 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9390 lt_prog_compiler_no_builtin_flag_CXX=
9393 if test "$GXX" = yes; then
9394 # Set up default GNU C++ configuration
9397 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9398 if test "${with_gnu_ld+set}" = set; then
9399 withval="$with_gnu_ld"
9400 test "$withval" = no || with_gnu_ld=yes
9405 if test "$GCC" = yes; then
9406 # Check if gcc -print-prog-name=ld gives a path.
9407 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9408 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9411 # gcc leaves a trailing carriage return which upsets mingw
9412 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9414 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9417 # Accept absolute paths.
9419 re_direlt='/[^/][^/]*/\.\./'
9420 # Canonicalize the path of ld
9421 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9422 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9423 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9425 test -z "$LD" && LD="$ac_prog"
9428 # If it fails, then pretend we aren't using GCC.
9432 # If it is relative, then search for the first ld in PATH.
9436 elif test "$with_gnu_ld" = yes; then
9437 echo "$as_me:$LINENO: checking for GNU ld" >&5
9438 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9440 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9441 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9443 if test "${lt_cv_path_LD+set}" = set; then
9444 echo $ECHO_N "(cached) $ECHO_C" >&6
9446 if test -z "$LD"; then
9447 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9448 for ac_dir in $PATH; do
9450 test -z "$ac_dir" && ac_dir=.
9451 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9452 lt_cv_path_LD="$ac_dir/$ac_prog"
9453 # Check to see if the program is GNU ld. I'd rather use --version,
9454 # but apparently some GNU ld's only accept -v.
9455 # Break only if it was the GNU/non-GNU ld that we prefer.
9456 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9457 *GNU* | *'with BFD'*)
9458 test "$with_gnu_ld" != no && break
9461 test "$with_gnu_ld" != yes && break
9468 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9473 if test -n "$LD"; then
9474 echo "$as_me:$LINENO: result: $LD" >&5
9475 echo "${ECHO_T}$LD" >&6
9477 echo "$as_me:$LINENO: result: no" >&5
9478 echo "${ECHO_T}no" >&6
9480 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9481 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9482 { (exit 1); exit 1; }; }
9483 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9484 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9485 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9486 echo $ECHO_N "(cached) $ECHO_C" >&6
9488 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9489 case `"$LD" -v 2>&1 </dev/null` in
9490 *GNU* | *'with BFD'*)
9491 lt_cv_prog_gnu_ld=yes
9494 lt_cv_prog_gnu_ld=no
9498 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9499 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9500 with_gnu_ld=$lt_cv_prog_gnu_ld
9504 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9505 # archiving commands below assume that GNU ld is being used.
9506 if test "$with_gnu_ld" = yes; then
9507 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9508 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'
9510 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9511 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9513 # If archive_cmds runs LD, not CC, wlarc should be empty
9514 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9515 # investigate it a little bit more. (MM)
9518 # ancient GNU ld didn't support --whole-archive et. al.
9519 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9520 grep 'no-whole-archive' > /dev/null; then
9521 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9523 whole_archive_flag_spec_CXX=
9529 # A generic and very simple default shared library creation
9530 # command for GNU C++ for the case where it uses the native
9531 # linker, instead of GNU ld. If possible, this setting should
9532 # overridden to take advantage of the native linker features on
9533 # the platform it is being used on.
9534 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9537 # Commands to make compiler produce verbose output that lists
9538 # what "hidden" libraries, object files and flags are used when
9539 # linking a shared library.
9540 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9548 # PORTME: fill in a description of your system's C++ link characteristics
9549 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9550 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9554 # FIXME: insert proper C++ library support
9558 if test "$host_cpu" = ia64; then
9559 # On IA64, the linker does run time linking by default, so we don't
9560 # have to do anything special.
9561 aix_use_runtimelinking=no
9562 exp_sym_flag='-Bexport'
9565 aix_use_runtimelinking=no
9567 # Test if we are trying to use run time linking or normal
9568 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9569 # need to do runtime linking.
9570 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9571 for ld_flag in $LDFLAGS; do
9574 aix_use_runtimelinking=yes
9581 exp_sym_flag='-bexport'
9582 no_entry_flag='-bnoentry'
9585 # When large executables or shared objects are built, AIX ld can
9586 # have problems creating the table of contents. If linking a library
9587 # or program results in "error TOC overflow" add -mminimal-toc to
9588 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9589 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9592 hardcode_direct_CXX=yes
9593 hardcode_libdir_separator_CXX=':'
9594 link_all_deplibs_CXX=yes
9596 if test "$GXX" = yes; then
9597 case $host_os in aix4.012|aix4.012.*)
9598 # We only want to do this on AIX 4.2 and lower, the check
9599 # below for broken collect2 doesn't work under 4.3+
9600 collect2name=`${CC} -print-prog-name=collect2`
9601 if test -f "$collect2name" && \
9602 strings "$collect2name" | grep resolve_lib_name >/dev/null
9604 # We have reworked collect2
9605 hardcode_direct_CXX=yes
9607 # We have old collect2
9608 hardcode_direct_CXX=unsupported
9609 # It fails to find uninstalled libraries when the uninstalled
9610 # path is not listed in the libpath. Setting hardcode_minus_L
9611 # to unsupported forces relinking
9612 hardcode_minus_L_CXX=yes
9613 hardcode_libdir_flag_spec_CXX='-L$libdir'
9614 hardcode_libdir_separator_CXX=
9617 shared_flag='-shared'
9620 if test "$host_cpu" = ia64; then
9621 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9622 # chokes on -Wl,-G. The following line is correct:
9625 if test "$aix_use_runtimelinking" = yes; then
9626 shared_flag='${wl}-G'
9628 shared_flag='${wl}-bM:SRE'
9633 # It seems that -bexpall does not export symbols beginning with
9634 # underscore (_), so it is better to generate a list of symbols to export.
9635 always_export_symbols_CXX=yes
9636 if test "$aix_use_runtimelinking" = yes; then
9637 # Warning - without using the other runtime loading flags (-brtl),
9638 # -berok will link without error, but may produce a broken library.
9639 allow_undefined_flag_CXX='-berok'
9640 # Determine the default libpath from the value encoded in an empty executable.
9641 cat >conftest.$ac_ext <<_ACEOF
9642 #line $LINENO "configure"
9645 cat confdefs.h >>conftest.$ac_ext
9646 cat >>conftest.$ac_ext <<_ACEOF
9647 /* end confdefs.h. */
9657 rm -f conftest.$ac_objext conftest$ac_exeext
9658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9659 (eval $ac_link) 2>&5
9661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662 (exit $ac_status); } &&
9663 { ac_try='test -s conftest$ac_exeext'
9664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9668 (exit $ac_status); }; }; then
9670 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9672 # Check for a 64-bit object if we didn't find anything.
9673 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; }
9676 echo "$as_me: failed program was:" >&5
9677 sed 's/^/| /' conftest.$ac_ext >&5
9680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9681 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9683 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9685 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"
9687 if test "$host_cpu" = ia64; then
9688 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9689 allow_undefined_flag_CXX="-z nodefs"
9690 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"
9692 # Determine the default libpath from the value encoded in an empty executable.
9693 cat >conftest.$ac_ext <<_ACEOF
9694 #line $LINENO "configure"
9697 cat confdefs.h >>conftest.$ac_ext
9698 cat >>conftest.$ac_ext <<_ACEOF
9699 /* end confdefs.h. */
9709 rm -f conftest.$ac_objext conftest$ac_exeext
9710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9711 (eval $ac_link) 2>&5
9713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714 (exit $ac_status); } &&
9715 { ac_try='test -s conftest$ac_exeext'
9716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720 (exit $ac_status); }; }; then
9722 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9724 # Check for a 64-bit object if we didn't find anything.
9725 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; }
9728 echo "$as_me: failed program was:" >&5
9729 sed 's/^/| /' conftest.$ac_ext >&5
9732 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9733 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9735 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9736 # Warning - without using the other run time loading flags,
9737 # -berok will link without error, but may produce a broken library.
9738 no_undefined_flag_CXX=' ${wl}-bernotok'
9739 allow_undefined_flag_CXX=' ${wl}-berok'
9740 # -bexpall does not export symbols beginning with underscore (_)
9741 always_export_symbols_CXX=yes
9742 # Exported symbols can be pulled into shared objects from archives
9743 whole_archive_flag_spec_CXX=' '
9744 archive_cmds_need_lc_CXX=yes
9745 # This is similar to how AIX traditionally builds it's shared libraries.
9746 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'
9751 case $cc_basename in
9753 # FIXME: insert proper C++ library support
9759 cygwin* | mingw* | pw32*)
9760 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9761 # as there is no search path for DLLs.
9762 hardcode_libdir_flag_spec_CXX='-L$libdir'
9763 allow_undefined_flag_CXX=unsupported
9764 always_export_symbols_CXX=no
9765 enable_shared_with_static_runtimes_CXX=yes
9767 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9768 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'
9769 # If the export-symbols file already is a .def file (1st line
9770 # is EXPORTS), use it as is; otherwise, prepend...
9771 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9772 cp $export_symbols $output_objdir/$soname.def;
9774 echo EXPORTS > $output_objdir/$soname.def;
9775 cat $export_symbols >> $output_objdir/$soname.def;
9777 $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'
9783 darwin* | rhapsody*)
9784 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9785 archive_cmds_need_lc_CXX=no
9787 rhapsody* | darwin1.[012])
9788 allow_undefined_flag_CXX='-undefined suppress'
9791 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9794 lt_int_apple_cc_single_mod=no
9795 output_verbose_link_cmd='echo'
9796 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9797 lt_int_apple_cc_single_mod=yes
9799 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9800 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9802 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'
9804 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9806 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9807 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9808 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}'
9810 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}'
9812 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}'
9813 hardcode_direct_CXX=no
9814 hardcode_automatic_CXX=yes
9815 hardcode_shlibpath_var_CXX=unsupported
9816 whole_archive_flag_spec_CXX='-all_load $convenience'
9817 link_all_deplibs_CXX=yes
9822 case $cc_basename in
9824 # FIXME: insert proper C++ library support
9828 # Green Hills C++ Compiler
9829 # FIXME: insert proper C++ library support
9833 # FIXME: insert proper C++ library support
9839 # C++ shared libraries reported to be fairly broken before switch to ELF
9843 archive_cmds_need_lc_CXX=no
9846 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9853 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9854 hardcode_libdir_separator_CXX=:
9855 export_dynamic_flag_spec_CXX='${wl}-E'
9856 hardcode_direct_CXX=yes
9857 hardcode_minus_L_CXX=yes # Not in the search PATH,
9858 # but as the default
9859 # location of the library.
9861 case $cc_basename in
9863 # FIXME: insert proper C++ library support
9867 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'
9868 # Commands to make compiler produce verbose output that lists
9869 # what "hidden" libraries, object files and flags are used when
9870 # linking a shared library.
9872 # There doesn't appear to be a way to prevent this compiler from
9873 # explicitly linking system object files so we need to strip them
9874 # from the output so that they don't get included in the library
9876 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'
9879 if test "$GXX" = yes; then
9880 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'
9882 # FIXME: insert proper C++ library support
9889 if test $with_gnu_ld = no; then
9892 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9893 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9894 hardcode_libdir_separator_CXX=:
9897 hardcode_libdir_flag_spec_CXX='-L$libdir'
9900 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9901 hardcode_libdir_separator_CXX=:
9902 export_dynamic_flag_spec_CXX='${wl}-E'
9908 hardcode_direct_CXX=no
9909 hardcode_shlibpath_var_CXX=no
9912 hardcode_direct_CXX=no
9913 hardcode_shlibpath_var_CXX=no
9914 hardcode_minus_L_CXX=yes # Not in the search PATH,
9915 # but as the default
9916 # location of the library.
9919 hardcode_direct_CXX=yes
9920 hardcode_minus_L_CXX=yes # Not in the search PATH,
9921 # but as the default
9922 # location of the library.
9926 case $cc_basename in
9928 # FIXME: insert proper C++ library support
9934 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9937 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9940 # Commands to make compiler produce verbose output that lists
9941 # what "hidden" libraries, object files and flags are used when
9942 # linking a shared library.
9944 # There doesn't appear to be a way to prevent this compiler from
9945 # explicitly linking system object files so we need to strip them
9946 # from the output so that they don't get included in the library
9948 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'
9951 if test "$GXX" = yes; then
9952 if test $with_gnu_ld = no; then
9955 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9958 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'
9963 # FIXME: insert proper C++ library support
9970 case $cc_basename in
9973 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'
9975 # Archives containing C++ object files must be created using
9976 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
9977 # necessary to make sure instantiated templates are included
9979 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
9982 if test "$GXX" = yes; then
9983 if test "$with_gnu_ld" = no; then
9984 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'
9986 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'
9989 link_all_deplibs_CXX=yes
9992 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
9993 hardcode_libdir_separator_CXX=:
9996 case $cc_basename in
9998 # Kuck and Associates, Inc. (KAI) C++ Compiler
10000 # KCC will only create a shared library if the output file
10001 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10002 # to its proper name (with version) after linking.
10003 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'
10004 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'
10005 # Commands to make compiler produce verbose output that lists
10006 # what "hidden" libraries, object files and flags are used when
10007 # linking a shared library.
10009 # There doesn't appear to be a way to prevent this compiler from
10010 # explicitly linking system object files so we need to strip them
10011 # from the output so that they don't get included in the library
10013 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'
10015 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10016 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10018 # Archives containing C++ object files must be created using
10019 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10020 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10025 archive_cmds_need_lc_CXX=no
10026 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10027 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'
10028 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10029 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10030 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10034 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10035 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'
10037 runpath_var=LD_RUN_PATH
10038 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10039 hardcode_libdir_separator_CXX=:
10041 # Commands to make compiler produce verbose output that lists
10042 # what "hidden" libraries, object files and flags are used when
10043 # linking a shared library.
10045 # There doesn't appear to be a way to prevent this compiler from
10046 # explicitly linking system object files so we need to strip them
10047 # from the output so that they don't get included in the library
10049 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'
10054 # FIXME: insert proper C++ library support
10058 # FIXME: insert proper C++ library support
10062 case $cc_basename in
10064 # FIXME: insert proper C++ library support
10068 # FIXME: insert proper C++ library support
10074 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10075 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10077 hardcode_libdir_flag_spec_CXX='-R$libdir'
10078 hardcode_direct_CXX=yes
10079 hardcode_shlibpath_var_CXX=no
10081 # Workaround some broken pre-1.5 toolchains
10082 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10085 case $cc_basename in
10087 # Kuck and Associates, Inc. (KAI) C++ Compiler
10089 # KCC will only create a shared library if the output file
10090 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10091 # to its proper name (with version) after linking.
10092 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'
10094 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10095 hardcode_libdir_separator_CXX=:
10097 # Archives containing C++ object files must be created using
10098 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10099 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10103 # Rational C++ 2.4.1
10104 # FIXME: insert proper C++ library support
10108 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10109 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'
10111 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10112 hardcode_libdir_separator_CXX=:
10114 # Commands to make compiler produce verbose output that lists
10115 # what "hidden" libraries, object files and flags are used when
10116 # linking a shared library.
10118 # There doesn't appear to be a way to prevent this compiler from
10119 # explicitly linking system object files so we need to strip them
10120 # from the output so that they don't get included in the library
10122 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'
10125 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10126 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10127 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'
10129 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10130 hardcode_libdir_separator_CXX=:
10132 # Commands to make compiler produce verbose output that lists
10133 # what "hidden" libraries, object files and flags are used when
10134 # linking a shared library.
10135 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10138 # FIXME: insert proper C++ library support
10145 case $cc_basename in
10147 # Kuck and Associates, Inc. (KAI) C++ Compiler
10149 # KCC will only create a shared library if the output file
10150 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10151 # to its proper name (with version) after linking.
10152 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'
10154 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10155 hardcode_libdir_separator_CXX=:
10157 # Archives containing C++ object files must be created using
10158 # the KAI C++ compiler.
10159 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10162 # Rational C++ 2.4.1
10163 # FIXME: insert proper C++ library support
10167 allow_undefined_flag_CXX=' -expect_unresolved \*'
10168 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'
10169 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10170 echo "-hidden">> $lib.exp~
10171 $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~
10174 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10175 hardcode_libdir_separator_CXX=:
10177 # Commands to make compiler produce verbose output that lists
10178 # what "hidden" libraries, object files and flags are used when
10179 # linking a shared library.
10181 # There doesn't appear to be a way to prevent this compiler from
10182 # explicitly linking system object files so we need to strip them
10183 # from the output so that they don't get included in the library
10185 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'
10188 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10189 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10190 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'
10192 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10193 hardcode_libdir_separator_CXX=:
10195 # Commands to make compiler produce verbose output that lists
10196 # what "hidden" libraries, object files and flags are used when
10197 # linking a shared library.
10198 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10201 # FIXME: insert proper C++ library support
10208 # FIXME: insert proper C++ library support
10212 archive_cmds_need_lc_CXX=no
10213 case $cc_basename in
10215 # FIXME: insert proper C++ library support
10219 # FIXME: insert proper C++ library support
10225 case $cc_basename in
10228 # FIXME: insert proper C++ library support
10233 # FIXME: insert proper C++ library support
10237 # FIXME: insert proper C++ library support
10243 case $cc_basename in
10245 # Sun C++ 4.2, 5.x and Centerline C++
10246 no_undefined_flag_CXX=' -zdefs'
10247 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10248 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10249 $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'
10251 hardcode_libdir_flag_spec_CXX='-R$libdir'
10252 hardcode_shlibpath_var_CXX=no
10254 solaris2.0-5 | solaris2.0-5.*) ;;
10256 # The C++ compiler is used as linker so we must use $wl
10257 # flag to pass the commands to the underlying system
10259 # Supported since Solaris 2.6 (maybe 2.5.1?)
10260 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10263 link_all_deplibs_CXX=yes
10265 # Commands to make compiler produce verbose output that lists
10266 # what "hidden" libraries, object files and flags are used when
10267 # linking a shared library.
10269 # There doesn't appear to be a way to prevent this compiler from
10270 # explicitly linking system object files so we need to strip them
10271 # from the output so that they don't get included in the library
10273 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'
10275 # Archives containing C++ object files must be created using
10276 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10277 # necessary to make sure instantiated templates are included
10279 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10282 # Green Hills C++ Compiler
10283 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10285 # The C++ compiler must be used to create the archive.
10286 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10289 # GNU C++ compiler with Solaris linker
10290 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10291 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10292 if $CC --version | grep -v '^2\.7' > /dev/null; then
10293 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10294 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10295 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10297 # Commands to make compiler produce verbose output that lists
10298 # what "hidden" libraries, object files and flags are used when
10299 # linking a shared library.
10300 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10302 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10304 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10305 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10306 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10308 # Commands to make compiler produce verbose output that lists
10309 # what "hidden" libraries, object files and flags are used when
10310 # linking a shared library.
10311 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10314 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10319 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10320 archive_cmds_need_lc_CXX=no
10323 case $cc_basename in
10325 # NonStop-UX NCC 3.20
10326 # FIXME: insert proper C++ library support
10330 # FIXME: insert proper C++ library support
10336 # FIXME: insert proper C++ library support
10340 # FIXME: insert proper C++ library support
10344 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10345 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10346 test "$ld_shlibs_CXX" = no && can_build_shared=no
10352 ## There is no encapsulation within the following macros, do not change
10353 ## the running order or otherwise move them around unless you know exactly
10354 ## what you are doing...
10356 cat > conftest.$ac_ext <<EOF
10360 Foo (void) { a = 0; }
10366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10367 (eval $ac_compile) 2>&5
10369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370 (exit $ac_status); }; then
10371 # Parse the compiler output and extract the necessary
10372 # objects, libraries and library flags.
10374 # Sentinel used to keep track of whether or not we are before
10375 # the conftest object file.
10376 pre_test_object_deps_done=no
10378 # The `*' in the case matches for architectures that use `case' in
10379 # $output_verbose_cmd can trigger glob expansion during the loop
10380 # eval without this substitution.
10381 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10383 for p in `eval $output_verbose_link_cmd`; do
10387 # Some compilers place space between "-{L,R}" and the path.
10388 # Remove the space.
10389 if test $p = "-L" \
10390 || test $p = "-R"; then
10397 if test "$pre_test_object_deps_done" = no; then
10400 # Internal compiler library paths should come after those
10401 # provided the user. The postdeps already come after the
10402 # user supplied libs so there is no need to process them.
10403 if test -z "$compiler_lib_search_path_CXX"; then
10404 compiler_lib_search_path_CXX="${prev}${p}"
10406 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10409 # The "-l" case would never come before the object being
10410 # linked, so don't bother handling this case.
10413 if test -z "$postdeps_CXX"; then
10414 postdeps_CXX="${prev}${p}"
10416 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10422 # This assumes that the test object file only shows up
10423 # once in the compiler output.
10424 if test "$p" = "conftest.$objext"; then
10425 pre_test_object_deps_done=yes
10429 if test "$pre_test_object_deps_done" = no; then
10430 if test -z "$predep_objects_CXX"; then
10431 predep_objects_CXX="$p"
10433 predep_objects_CXX="$predep_objects_CXX $p"
10436 if test -z "$postdep_objects_CXX"; then
10437 postdep_objects_CXX="$p"
10439 postdep_objects_CXX="$postdep_objects_CXX $p"
10444 *) ;; # Ignore the rest.
10452 echo "libtool.m4: error: problem compiling CXX test program"
10455 $rm -f confest.$objext
10457 case " $postdeps_CXX " in
10458 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10461 lt_prog_compiler_wl_CXX=
10462 lt_prog_compiler_pic_CXX=
10463 lt_prog_compiler_static_CXX=
10465 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10466 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10468 # C++ specific cases for pic, static, wl, etc.
10469 if test "$GXX" = yes; then
10470 lt_prog_compiler_wl_CXX='-Wl,'
10471 lt_prog_compiler_static_CXX='-static'
10475 # All AIX code is PIC.
10476 if test "$host_cpu" = ia64; then
10477 # AIX 5 now supports IA64 processor
10478 lt_prog_compiler_static_CXX='-Bstatic'
10482 # FIXME: we need at least 68020 code to build shared libraries, but
10483 # adding the `-m68020' flag to GCC prevents building anything better,
10485 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10487 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10488 # PIC is the default for these OSes.
10490 mingw* | os2* | pw32*)
10491 # This hack is so that the source file can tell whether it is being
10492 # built for inclusion in a dll (and should export symbols for example).
10493 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10495 darwin* | rhapsody*)
10496 # PIC is the default on this platform
10497 # Common symbols not allowed in MH_DYLIB files
10498 lt_prog_compiler_pic_CXX='-fno-common'
10501 # DJGPP does not support shared libraries at all
10502 lt_prog_compiler_pic_CXX=
10505 if test -d /usr/nec; then
10506 lt_prog_compiler_pic_CXX=-Kconform_pic
10510 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10511 # not for PA HP-UX.
10512 case "$host_cpu" in
10516 lt_prog_compiler_pic_CXX='-fPIC'
10521 lt_prog_compiler_pic_CXX='-fPIC'
10527 # All AIX code is PIC.
10528 if test "$host_cpu" = ia64; then
10529 # AIX 5 now supports IA64 processor
10530 lt_prog_compiler_static_CXX='-Bstatic'
10532 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10536 case $cc_basename in
10538 # Green Hills C++ Compiler
10539 # _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"
10544 case $cc_basename in
10546 lt_prog_compiler_pic_CXX='-KPIC'
10549 # Green Hills C++ Compiler
10550 lt_prog_compiler_pic_CXX='-pic'
10557 # FreeBSD uses GNU C++
10559 hpux9* | hpux10* | hpux11*)
10560 case $cc_basename in
10562 lt_prog_compiler_wl_CXX='-Wl,'
10563 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10564 if test "$host_cpu" != ia64; then
10565 lt_prog_compiler_pic_CXX='+Z'
10569 lt_prog_compiler_wl_CXX='-Wl,'
10570 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10571 case "$host_cpu" in
10576 lt_prog_compiler_pic_CXX='+Z'
10584 irix5* | irix6* | nonstopux*)
10585 case $cc_basename in
10587 lt_prog_compiler_wl_CXX='-Wl,'
10588 lt_prog_compiler_static_CXX='-non_shared'
10589 # CC pic flag -KPIC is the default.
10596 case $cc_basename in
10599 lt_prog_compiler_wl_CXX='--backend -Wl,'
10600 lt_prog_compiler_pic_CXX='-fPIC'
10604 lt_prog_compiler_wl_CXX='-Wl,'
10605 lt_prog_compiler_pic_CXX='-KPIC'
10606 lt_prog_compiler_static_CXX='-static'
10610 # Make sure the PIC flag is empty. It appears that all Alpha
10611 # Linux and Compaq Tru64 Unix objects are PIC.
10612 lt_prog_compiler_pic_CXX=
10613 lt_prog_compiler_static_CXX='-non_shared'
10624 case $cc_basename in
10626 lt_prog_compiler_pic_CXX='-W c,exportall'
10634 osf3* | osf4* | osf5*)
10635 case $cc_basename in
10637 lt_prog_compiler_wl_CXX='--backend -Wl,'
10640 # Rational C++ 2.4.1
10641 lt_prog_compiler_pic_CXX='-pic'
10644 # Digital/Compaq C++
10645 lt_prog_compiler_wl_CXX='-Wl,'
10646 # Make sure the PIC flag is empty. It appears that all Alpha
10647 # Linux and Compaq Tru64 Unix objects are PIC.
10648 lt_prog_compiler_pic_CXX=
10649 lt_prog_compiler_static_CXX='-non_shared'
10658 case $cc_basename in
10660 lt_prog_compiler_pic_CXX='-fPIC'
10667 case $cc_basename in
10669 # Sun C++ 4.2, 5.x and Centerline C++
10670 lt_prog_compiler_pic_CXX='-KPIC'
10671 lt_prog_compiler_static_CXX='-Bstatic'
10672 lt_prog_compiler_wl_CXX='-Qoption ld '
10675 # Green Hills C++ Compiler
10676 lt_prog_compiler_pic_CXX='-PIC'
10683 case $cc_basename in
10686 lt_prog_compiler_pic_CXX='-pic'
10687 lt_prog_compiler_static_CXX='-Bstatic'
10691 lt_prog_compiler_pic_CXX='-pic'
10698 case $cc_basename in
10700 # NonStop-UX NCC 3.20
10701 lt_prog_compiler_pic_CXX='-KPIC'
10712 lt_prog_compiler_can_build_shared_CXX=no
10717 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10718 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10721 # Check to make sure the PIC flag actually works.
10723 if test -n "$lt_prog_compiler_pic_CXX"; then
10724 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10725 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10726 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10727 echo $ECHO_N "(cached) $ECHO_C" >&6
10729 lt_prog_compiler_pic_works_CXX=no
10730 ac_outfile=conftest.$ac_objext
10731 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10732 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10733 # Insert the option either (1) after the last *FLAGS variable, or
10734 # (2) before a word containing "conftest.", or (3) at the end.
10735 # Note that $ac_compile itself does not contain backslashes and begins
10736 # with a dollar sign (not a hyphen), so the echo should work correctly.
10737 # The option is referenced via a variable to avoid confusing sed.
10738 lt_compile=`echo "$ac_compile" | $SED \
10739 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10740 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10741 -e 's:$: $lt_compiler_flag:'`
10742 (eval echo "\"\$as_me:10742: $lt_compile\"" >&5)
10743 (eval "$lt_compile" 2>conftest.err)
10745 cat conftest.err >&5
10746 echo "$as_me:10746: \$? = $ac_status" >&5
10747 if (exit $ac_status) && test -s "$ac_outfile"; then
10748 # The compiler can only warn and ignore the option if not recognized
10749 # So say no if there are warnings
10750 if test ! -s conftest.err; then
10751 lt_prog_compiler_pic_works_CXX=yes
10757 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10758 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10760 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10761 case $lt_prog_compiler_pic_CXX in
10763 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10766 lt_prog_compiler_pic_CXX=
10767 lt_prog_compiler_can_build_shared_CXX=no
10772 # For platforms which do not support PIC, -DPIC is meaningless:
10774 lt_prog_compiler_pic_CXX=
10777 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10781 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10782 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10783 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10784 echo $ECHO_N "(cached) $ECHO_C" >&6
10786 lt_cv_prog_compiler_c_o_CXX=no
10787 $rm -r conftest 2>/dev/null
10791 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10793 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10794 # that will create temporary files in the current directory regardless of
10795 # the output directory. Thus, making CWD read-only will cause this test
10796 # to fail, enabling locking or at least warning the user not to do parallel
10800 lt_compiler_flag="-o out/conftest2.$ac_objext"
10801 # Insert the option either (1) after the last *FLAGS variable, or
10802 # (2) before a word containing "conftest.", or (3) at the end.
10803 # Note that $ac_compile itself does not contain backslashes and begins
10804 # with a dollar sign (not a hyphen), so the echo should work correctly.
10805 lt_compile=`echo "$ac_compile" | $SED \
10806 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10807 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10808 -e 's:$: $lt_compiler_flag:'`
10809 (eval echo "\"\$as_me:10809: $lt_compile\"" >&5)
10810 (eval "$lt_compile" 2>out/conftest.err)
10812 cat out/conftest.err >&5
10813 echo "$as_me:10813: \$? = $ac_status" >&5
10814 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10816 # The compiler can only warn and ignore the option if not recognized
10817 # So say no if there are warnings
10818 if test ! -s out/conftest.err; then
10819 lt_cv_prog_compiler_c_o_CXX=yes
10823 $rm conftest* out/*
10830 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10831 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10834 hard_links="nottested"
10835 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10836 # do not overwrite the value of need_locks provided by the user
10837 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10838 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10841 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10843 ln conftest.a conftest.b 2>&5 || hard_links=no
10844 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10845 echo "$as_me:$LINENO: result: $hard_links" >&5
10846 echo "${ECHO_T}$hard_links" >&6
10847 if test "$hard_links" = no; then
10848 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10849 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10856 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10857 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10859 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10862 # If we're using GNU nm, then we don't want the "-C" option.
10863 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10864 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10865 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'
10867 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'
10871 export_symbols_cmds_CXX="$ltdll_cmds"
10874 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10877 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10881 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10882 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10883 test "$ld_shlibs_CXX" = no && can_build_shared=no
10885 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10886 if test "$GCC" = yes; then
10887 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10891 # Do we need to explicitly link libc?
10893 case "x$archive_cmds_need_lc_CXX" in
10895 # Assume -lc should be added
10896 archive_cmds_need_lc_CXX=yes
10898 if test "$enable_shared" = yes && test "$GCC" = yes; then
10899 case $archive_cmds_CXX in
10901 # FIXME: we may have to deal with multi-command sequences.
10904 # Test whether the compiler implicitly links with -lc since on some
10905 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10906 # to ld, don't add -lc before -lgcc.
10907 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10908 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10910 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10913 (eval $ac_compile) 2>&5
10915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10916 (exit $ac_status); } 2>conftest.err; then
10919 libobjs=conftest.$ac_objext
10921 wl=$lt_prog_compiler_wl_CXX
10927 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10928 allow_undefined_flag_CXX=
10929 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10930 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); }
10935 archive_cmds_need_lc_CXX=no
10937 archive_cmds_need_lc_CXX=yes
10939 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
10941 cat conftest.err 1>&5
10944 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
10945 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
10952 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10953 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10954 hardcode_action_CXX=
10955 if test -n "$hardcode_libdir_flag_spec_CXX" || \
10956 test -n "$runpath_var CXX" || \
10957 test "X$hardcode_automatic_CXX"="Xyes" ; then
10959 # We can hardcode non-existant directories.
10960 if test "$hardcode_direct_CXX" != no &&
10961 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10962 # have to relink, otherwise we might link with an installed library
10963 # when we should be linking with a yet-to-be-installed one
10964 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
10965 test "$hardcode_minus_L_CXX" != no; then
10966 # Linking always hardcodes the temporary library directory.
10967 hardcode_action_CXX=relink
10969 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10970 hardcode_action_CXX=immediate
10973 # We cannot hardcode anything, or else we can only hardcode existing
10975 hardcode_action_CXX=unsupported
10977 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
10978 echo "${ECHO_T}$hardcode_action_CXX" >&6
10980 if test "$hardcode_action_CXX" = relink; then
10981 # Fast installation is not supported
10982 enable_fast_install=no
10983 elif test "$shlibpath_overrides_runpath" = yes ||
10984 test "$enable_shared" = no; then
10985 # Fast installation is not necessary
10986 enable_fast_install=needless
10991 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10992 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10993 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10994 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10995 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10996 echo "$as_me:$LINENO: result: yes" >&5
10997 echo "${ECHO_T}yes" >&6
10999 # FIXME - insert some real tests, host_os isn't really good enough
11002 if test -n "$STRIP" ; then
11003 striplib="$STRIP -x"
11004 echo "$as_me:$LINENO: result: yes" >&5
11005 echo "${ECHO_T}yes" >&6
11007 echo "$as_me:$LINENO: result: no" >&5
11008 echo "${ECHO_T}no" >&6
11012 echo "$as_me:$LINENO: result: no" >&5
11013 echo "${ECHO_T}no" >&6
11018 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11019 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11020 library_names_spec=
11021 libname_spec='lib$name'
11025 postuninstall_cmds=
11029 shlibpath_overrides_runpath=unknown
11031 dynamic_linker="$host_os ld.so"
11032 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11033 if test "$GCC" = yes; then
11034 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11035 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11036 # if the path contains ";" then we assume it to be the separator
11037 # otherwise default to the standard path separator (i.e. ":") - it is
11038 # assumed that no part of a normal pathname contains ";" but that should
11039 # okay in the real world where ";" in dirpaths is itself problematic.
11040 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11042 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11045 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11047 need_lib_prefix=unknown
11048 hardcode_into_libs=no
11050 # when you set need_version to no, make sure it does not cause -set_version
11051 # flags to be left without arguments
11052 need_version=unknown
11057 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11058 shlibpath_var=LIBPATH
11060 # AIX 3 has no versioning support, so we append a major version to the name.
11061 soname_spec='${libname}${release}${shared_ext}$major'
11068 hardcode_into_libs=yes
11069 if test "$host_cpu" = ia64; then
11070 # AIX 5 supports IA64
11071 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11072 shlibpath_var=LD_LIBRARY_PATH
11074 # With GCC up to 2.95.x, collect2 would create an import file
11075 # for dependence libraries. The import file would start with
11076 # the line `#! .'. This would cause the generated library to
11077 # depend on `.', always an invalid library. This was fixed in
11078 # development snapshots of GCC prior to 3.0.
11080 aix4 | aix4.[01] | aix4.[01].*)
11081 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11083 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11086 can_build_shared=no
11090 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11091 # soname into executable. Probably we can add versioning support to
11092 # collect2, so additional links can be useful in future.
11093 if test "$aix_use_runtimelinking" = yes; then
11094 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11095 # instead of lib<name>.a to let people know that these are not
11096 # typical AIX shared libraries.
11097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11099 # We preserve .a as extension for shared libraries through AIX4.2
11100 # and later when we are not doing run time linking.
11101 library_names_spec='${libname}${release}.a $libname.a'
11102 soname_spec='${libname}${release}${shared_ext}$major'
11104 shlibpath_var=LIBPATH
11109 library_names_spec='$libname.ixlibrary $libname.a'
11110 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11111 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'
11115 library_names_spec='${libname}${shared_ext}'
11116 dynamic_linker="$host_os ld.so"
11117 shlibpath_var=LIBRARY_PATH
11123 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11124 soname_spec='${libname}${release}${shared_ext}$major'
11125 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11126 shlibpath_var=LD_LIBRARY_PATH
11127 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11128 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11129 # the default ld.so.conf also contains /usr/contrib/lib and
11130 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11131 # libtool to hard-code these into programs
11134 cygwin* | mingw* | pw32*)
11135 version_type=windows
11140 case $GCC,$host_os in
11141 yes,cygwin* | yes,mingw* | yes,pw32*)
11142 library_names_spec='$libname.dll.a'
11143 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11144 postinstall_cmds='base_file=`basename \${file}`~
11145 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11146 dldir=$destdir/`dirname \$dlpath`~
11147 test -d \$dldir || mkdir -p \$dldir~
11148 $install_prog $dir/$dlname \$dldir/$dlname'
11149 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11150 dlpath=$dir/\$dldll~
11152 shlibpath_overrides_runpath=yes
11156 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11157 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11158 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11161 # MinGW DLLs use traditional 'lib' prefix
11162 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11163 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11164 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11165 # It is most probably a Windows format PATH printed by
11166 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11167 # path with ; separators, and with drive letters. We can handle the
11168 # drive letters (cygwin fileutils understands them), so leave them,
11169 # especially as we might pass files found there to a mingw objdump,
11170 # which wouldn't understand a cygwinified path. Ahh.
11171 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11173 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11177 # pw32 DLLs use 'pw' prefix rather than 'lib'
11178 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11184 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11187 dynamic_linker='Win32 ld.exe'
11188 # FIXME: first we should search . and the directory the executable is in
11192 darwin* | rhapsody*)
11193 dynamic_linker="$host_os dyld"
11194 version_type=darwin
11197 # FIXME: Relying on posixy $() will cause problems for
11198 # cross-compilation, but unfortunately the echo tests do not
11199 # yet detect zsh echo's removal of \ escapes.
11200 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11201 soname_spec='${libname}${release}${major}$shared_ext'
11202 shlibpath_overrides_runpath=yes
11203 shlibpath_var=DYLD_LIBRARY_PATH
11204 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11205 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11206 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11207 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"`
11209 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11216 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11217 soname_spec='${libname}${release}${shared_ext}$major'
11218 shlibpath_var=LD_LIBRARY_PATH
11226 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11227 version_type=freebsd-$objformat
11228 case $version_type in
11230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11235 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11239 shlibpath_var=LD_LIBRARY_PATH
11242 shlibpath_overrides_runpath=yes
11244 freebsd3.01* | freebsdelf3.01*)
11245 shlibpath_overrides_runpath=yes
11246 hardcode_into_libs=yes
11249 shlibpath_overrides_runpath=no
11250 hardcode_into_libs=yes
11259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11260 soname_spec='${libname}${release}${shared_ext}$major'
11261 shlibpath_var=LD_LIBRARY_PATH
11262 hardcode_into_libs=yes
11265 hpux9* | hpux10* | hpux11*)
11266 # Give a soname corresponding to the major version so that dld.sl refuses to
11267 # link against other versions.
11271 case "$host_cpu" in
11274 hardcode_into_libs=yes
11275 dynamic_linker="$host_os dld.so"
11276 shlibpath_var=LD_LIBRARY_PATH
11277 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11279 soname_spec='${libname}${release}${shared_ext}$major'
11280 if test "X$HPUX_IA64_MODE" = X32; then
11281 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11283 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11285 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11289 hardcode_into_libs=yes
11290 dynamic_linker="$host_os dld.sl"
11291 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11292 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11294 soname_spec='${libname}${release}${shared_ext}$major'
11295 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11296 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11300 dynamic_linker="$host_os dld.sl"
11301 shlibpath_var=SHLIB_PATH
11302 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11304 soname_spec='${libname}${release}${shared_ext}$major'
11307 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11308 postinstall_cmds='chmod 555 $lib'
11311 irix5* | irix6* | nonstopux*)
11313 nonstopux*) version_type=nonstopux ;;
11315 if test "$lt_cv_prog_gnu_ld" = yes; then
11323 soname_spec='${libname}${release}${shared_ext}$major'
11324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11326 irix5* | nonstopux*)
11327 libsuff= shlibsuff=
11330 case $LD in # libtool.m4 will add one of these switches to LD
11331 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11332 libsuff= shlibsuff= libmagic=32-bit;;
11333 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11334 libsuff=32 shlibsuff=N32 libmagic=N32;;
11335 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11336 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11337 *) libsuff= shlibsuff= libmagic=never-match;;
11341 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11342 shlibpath_overrides_runpath=no
11343 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11344 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11345 hardcode_into_libs=yes
11348 # No shared lib support for Linux oldld, aout, or coff.
11349 linux*oldld* | linux*aout* | linux*coff*)
11353 # This must be Linux ELF.
11358 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11359 soname_spec='${libname}${release}${shared_ext}$major'
11360 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11361 shlibpath_var=LD_LIBRARY_PATH
11362 shlibpath_overrides_runpath=no
11363 # This implies no fast_install, which is unacceptable.
11364 # Some rework will be needed to allow for fast_install
11365 # before this can be enabled.
11366 hardcode_into_libs=yes
11368 # We used to test for /lib/ld.so.1 and disable shared libraries on
11369 # powerpc, because MkLinux only supported shared libraries with the
11370 # GNU dynamic linker. Since this was broken with cross compilers,
11371 # most powerpc-linux boxes support dynamic linking these days and
11372 # people can always --disable-shared, the test was removed, and we
11373 # assume the GNU/Linux dynamic linker is in use.
11374 dynamic_linker='GNU/Linux ld.so'
11381 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11383 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11384 dynamic_linker='NetBSD (a.out) ld.so'
11386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11387 soname_spec='${libname}${release}${shared_ext}$major'
11388 dynamic_linker='NetBSD ld.elf_so'
11390 shlibpath_var=LD_LIBRARY_PATH
11391 shlibpath_overrides_runpath=yes
11392 hardcode_into_libs=yes
11397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11398 shlibpath_var=LD_LIBRARY_PATH
11399 shlibpath_overrides_runpath=yes
11406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11407 soname_spec='${libname}${release}${shared_ext}$major'
11408 shlibpath_var=LD_LIBRARY_PATH
11409 shlibpath_overrides_runpath=yes
11416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11417 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11418 shlibpath_var=LD_LIBRARY_PATH
11419 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11421 openbsd2.[89] | openbsd2.[89].*)
11422 shlibpath_overrides_runpath=no
11425 shlibpath_overrides_runpath=yes
11429 shlibpath_overrides_runpath=yes
11434 libname_spec='$name'
11437 library_names_spec='$libname${shared_ext} $libname.a'
11438 dynamic_linker='OS/2 ld.exe'
11439 shlibpath_var=LIBPATH
11442 osf3* | osf4* | osf5*)
11446 soname_spec='${libname}${release}${shared_ext}$major'
11447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11448 shlibpath_var=LD_LIBRARY_PATH
11449 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11450 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11455 soname_spec='${libname}${release}${shared_ext}$major'
11456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11457 shlibpath_var=LD_LIBRARY_PATH
11464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11465 soname_spec='${libname}${release}${shared_ext}$major'
11466 shlibpath_var=LD_LIBRARY_PATH
11467 shlibpath_overrides_runpath=yes
11468 hardcode_into_libs=yes
11469 # ldd complains unless libraries are executable
11470 postinstall_cmds='chmod +x $lib'
11475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11476 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11477 shlibpath_var=LD_LIBRARY_PATH
11478 shlibpath_overrides_runpath=yes
11479 if test "$with_gnu_ld" = yes; then
11485 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11488 soname_spec='${libname}${release}${shared_ext}$major'
11489 shlibpath_var=LD_LIBRARY_PATH
11490 case $host_vendor in
11492 shlibpath_overrides_runpath=no
11494 export_dynamic_flag_spec='${wl}-Blargedynsym'
11495 runpath_var=LD_RUN_PATH
11503 shlibpath_overrides_runpath=no
11504 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11510 if test -d /usr/nec ;then
11512 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11513 soname_spec='$libname${shared_ext}.$major'
11514 shlibpath_var=LD_LIBRARY_PATH
11520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11521 soname_spec='${libname}${release}${shared_ext}$major'
11522 shlibpath_var=LD_LIBRARY_PATH
11529 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11530 echo "${ECHO_T}$dynamic_linker" >&6
11531 test "$dynamic_linker" = no && can_build_shared=no
11533 if test "x$enable_dlopen" != xyes; then
11534 enable_dlopen=unknown
11535 enable_dlopen_self=unknown
11536 enable_dlopen_self_static=unknown
11543 lt_cv_dlopen="load_add_on"
11545 lt_cv_dlopen_self=yes
11549 lt_cv_dlopen="LoadLibrary"
11554 lt_cv_dlopen="dlopen"
11559 # if libdl is installed we need to link against it
11560 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11561 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11562 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11563 echo $ECHO_N "(cached) $ECHO_C" >&6
11565 ac_check_lib_save_LIBS=$LIBS
11567 cat >conftest.$ac_ext <<_ACEOF
11568 #line $LINENO "configure"
11571 cat confdefs.h >>conftest.$ac_ext
11572 cat >>conftest.$ac_ext <<_ACEOF
11573 /* end confdefs.h. */
11575 /* Override any gcc2 internal prototype to avoid an error. */
11579 /* We use char because int might match the return type of a gcc2
11580 builtin and then its argument prototype would still apply. */
11590 rm -f conftest.$ac_objext conftest$ac_exeext
11591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11592 (eval $ac_link) 2>&5
11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); } &&
11596 { ac_try='test -s conftest$ac_exeext'
11597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11598 (eval $ac_try) 2>&5
11600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11601 (exit $ac_status); }; }; then
11602 ac_cv_lib_dl_dlopen=yes
11604 echo "$as_me: failed program was:" >&5
11605 sed 's/^/| /' conftest.$ac_ext >&5
11607 ac_cv_lib_dl_dlopen=no
11609 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11610 LIBS=$ac_check_lib_save_LIBS
11612 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11613 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11614 if test $ac_cv_lib_dl_dlopen = yes; then
11615 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11618 lt_cv_dlopen="dyld"
11620 lt_cv_dlopen_self=yes
11627 echo "$as_me:$LINENO: checking for shl_load" >&5
11628 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11629 if test "${ac_cv_func_shl_load+set}" = set; then
11630 echo $ECHO_N "(cached) $ECHO_C" >&6
11632 cat >conftest.$ac_ext <<_ACEOF
11633 #line $LINENO "configure"
11636 cat confdefs.h >>conftest.$ac_ext
11637 cat >>conftest.$ac_ext <<_ACEOF
11638 /* end confdefs.h. */
11639 /* System header to define __stub macros and hopefully few prototypes,
11640 which can conflict with char shl_load (); below.
11641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11642 <limits.h> exists even on freestanding compilers. */
11644 # include <limits.h>
11646 # include <assert.h>
11648 /* Override any gcc2 internal prototype to avoid an error. */
11653 /* We use char because int might match the return type of a gcc2
11654 builtin and then its argument prototype would still apply. */
11656 /* The GNU C library defines this for functions which it implements
11657 to always fail with ENOSYS. Some functions are actually named
11658 something starting with __ and the normal name is an alias. */
11659 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11662 char (*f) () = shl_load;
11671 return f != shl_load;
11676 rm -f conftest.$ac_objext conftest$ac_exeext
11677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11678 (eval $ac_link) 2>&5
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); } &&
11682 { ac_try='test -s conftest$ac_exeext'
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684 (eval $ac_try) 2>&5
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; }; then
11688 ac_cv_func_shl_load=yes
11690 echo "$as_me: failed program was:" >&5
11691 sed 's/^/| /' conftest.$ac_ext >&5
11693 ac_cv_func_shl_load=no
11695 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11697 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11698 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11699 if test $ac_cv_func_shl_load = yes; then
11700 lt_cv_dlopen="shl_load"
11702 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11703 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11704 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11705 echo $ECHO_N "(cached) $ECHO_C" >&6
11707 ac_check_lib_save_LIBS=$LIBS
11709 cat >conftest.$ac_ext <<_ACEOF
11710 #line $LINENO "configure"
11713 cat confdefs.h >>conftest.$ac_ext
11714 cat >>conftest.$ac_ext <<_ACEOF
11715 /* end confdefs.h. */
11717 /* Override any gcc2 internal prototype to avoid an error. */
11721 /* We use char because int might match the return type of a gcc2
11722 builtin and then its argument prototype would still apply. */
11732 rm -f conftest.$ac_objext conftest$ac_exeext
11733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11734 (eval $ac_link) 2>&5
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); } &&
11738 { ac_try='test -s conftest$ac_exeext'
11739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11740 (eval $ac_try) 2>&5
11742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11743 (exit $ac_status); }; }; then
11744 ac_cv_lib_dld_shl_load=yes
11746 echo "$as_me: failed program was:" >&5
11747 sed 's/^/| /' conftest.$ac_ext >&5
11749 ac_cv_lib_dld_shl_load=no
11751 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11752 LIBS=$ac_check_lib_save_LIBS
11754 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11755 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11756 if test $ac_cv_lib_dld_shl_load = yes; then
11757 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11759 echo "$as_me:$LINENO: checking for dlopen" >&5
11760 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11761 if test "${ac_cv_func_dlopen+set}" = set; then
11762 echo $ECHO_N "(cached) $ECHO_C" >&6
11764 cat >conftest.$ac_ext <<_ACEOF
11765 #line $LINENO "configure"
11768 cat confdefs.h >>conftest.$ac_ext
11769 cat >>conftest.$ac_ext <<_ACEOF
11770 /* end confdefs.h. */
11771 /* System header to define __stub macros and hopefully few prototypes,
11772 which can conflict with char dlopen (); below.
11773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11774 <limits.h> exists even on freestanding compilers. */
11776 # include <limits.h>
11778 # include <assert.h>
11780 /* Override any gcc2 internal prototype to avoid an error. */
11785 /* We use char because int might match the return type of a gcc2
11786 builtin and then its argument prototype would still apply. */
11788 /* The GNU C library defines this for functions which it implements
11789 to always fail with ENOSYS. Some functions are actually named
11790 something starting with __ and the normal name is an alias. */
11791 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11794 char (*f) () = dlopen;
11803 return f != dlopen;
11808 rm -f conftest.$ac_objext conftest$ac_exeext
11809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11810 (eval $ac_link) 2>&5
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); } &&
11814 { ac_try='test -s conftest$ac_exeext'
11815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11816 (eval $ac_try) 2>&5
11818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819 (exit $ac_status); }; }; then
11820 ac_cv_func_dlopen=yes
11822 echo "$as_me: failed program was:" >&5
11823 sed 's/^/| /' conftest.$ac_ext >&5
11825 ac_cv_func_dlopen=no
11827 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11829 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11830 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11831 if test $ac_cv_func_dlopen = yes; then
11832 lt_cv_dlopen="dlopen"
11834 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11835 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11836 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11837 echo $ECHO_N "(cached) $ECHO_C" >&6
11839 ac_check_lib_save_LIBS=$LIBS
11841 cat >conftest.$ac_ext <<_ACEOF
11842 #line $LINENO "configure"
11845 cat confdefs.h >>conftest.$ac_ext
11846 cat >>conftest.$ac_ext <<_ACEOF
11847 /* end confdefs.h. */
11849 /* Override any gcc2 internal prototype to avoid an error. */
11853 /* We use char because int might match the return type of a gcc2
11854 builtin and then its argument prototype would still apply. */
11864 rm -f conftest.$ac_objext conftest$ac_exeext
11865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11866 (eval $ac_link) 2>&5
11868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11869 (exit $ac_status); } &&
11870 { ac_try='test -s conftest$ac_exeext'
11871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11872 (eval $ac_try) 2>&5
11874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11875 (exit $ac_status); }; }; then
11876 ac_cv_lib_dl_dlopen=yes
11878 echo "$as_me: failed program was:" >&5
11879 sed 's/^/| /' conftest.$ac_ext >&5
11881 ac_cv_lib_dl_dlopen=no
11883 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11884 LIBS=$ac_check_lib_save_LIBS
11886 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11887 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11888 if test $ac_cv_lib_dl_dlopen = yes; then
11889 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11891 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11892 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11893 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11894 echo $ECHO_N "(cached) $ECHO_C" >&6
11896 ac_check_lib_save_LIBS=$LIBS
11897 LIBS="-lsvld $LIBS"
11898 cat >conftest.$ac_ext <<_ACEOF
11899 #line $LINENO "configure"
11902 cat confdefs.h >>conftest.$ac_ext
11903 cat >>conftest.$ac_ext <<_ACEOF
11904 /* end confdefs.h. */
11906 /* Override any gcc2 internal prototype to avoid an error. */
11910 /* We use char because int might match the return type of a gcc2
11911 builtin and then its argument prototype would still apply. */
11921 rm -f conftest.$ac_objext conftest$ac_exeext
11922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11923 (eval $ac_link) 2>&5
11925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926 (exit $ac_status); } &&
11927 { ac_try='test -s conftest$ac_exeext'
11928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11929 (eval $ac_try) 2>&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); }; }; then
11933 ac_cv_lib_svld_dlopen=yes
11935 echo "$as_me: failed program was:" >&5
11936 sed 's/^/| /' conftest.$ac_ext >&5
11938 ac_cv_lib_svld_dlopen=no
11940 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11941 LIBS=$ac_check_lib_save_LIBS
11943 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11944 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11945 if test $ac_cv_lib_svld_dlopen = yes; then
11946 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11948 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11949 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11950 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11951 echo $ECHO_N "(cached) $ECHO_C" >&6
11953 ac_check_lib_save_LIBS=$LIBS
11955 cat >conftest.$ac_ext <<_ACEOF
11956 #line $LINENO "configure"
11959 cat confdefs.h >>conftest.$ac_ext
11960 cat >>conftest.$ac_ext <<_ACEOF
11961 /* end confdefs.h. */
11963 /* Override any gcc2 internal prototype to avoid an error. */
11967 /* We use char because int might match the return type of a gcc2
11968 builtin and then its argument prototype would still apply. */
11978 rm -f conftest.$ac_objext conftest$ac_exeext
11979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11980 (eval $ac_link) 2>&5
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); } &&
11984 { ac_try='test -s conftest$ac_exeext'
11985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11986 (eval $ac_try) 2>&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); }; }; then
11990 ac_cv_lib_dld_dld_link=yes
11992 echo "$as_me: failed program was:" >&5
11993 sed 's/^/| /' conftest.$ac_ext >&5
11995 ac_cv_lib_dld_dld_link=no
11997 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11998 LIBS=$ac_check_lib_save_LIBS
12000 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12001 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12002 if test $ac_cv_lib_dld_dld_link = yes; then
12003 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12024 if test "x$lt_cv_dlopen" != xno; then
12030 case $lt_cv_dlopen in
12032 save_CPPFLAGS="$CPPFLAGS"
12033 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12035 save_LDFLAGS="$LDFLAGS"
12036 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12039 LIBS="$lt_cv_dlopen_libs $LIBS"
12041 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12042 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12043 if test "${lt_cv_dlopen_self+set}" = set; then
12044 echo $ECHO_N "(cached) $ECHO_C" >&6
12046 if test "$cross_compiling" = yes; then :
12047 lt_cv_dlopen_self=cross
12049 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12050 lt_status=$lt_dlunknown
12051 cat > conftest.$ac_ext <<EOF
12052 #line 12052 "configure"
12053 #include "confdefs.h"
12062 # define LT_DLGLOBAL RTLD_GLOBAL
12065 # define LT_DLGLOBAL DL_GLOBAL
12067 # define LT_DLGLOBAL 0
12071 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12072 find out it does not work in some platform. */
12073 #ifndef LT_DLLAZY_OR_NOW
12075 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12078 # define LT_DLLAZY_OR_NOW DL_LAZY
12081 # define LT_DLLAZY_OR_NOW RTLD_NOW
12084 # define LT_DLLAZY_OR_NOW DL_NOW
12086 # define LT_DLLAZY_OR_NOW 0
12094 extern "C" void exit (int);
12097 void fnord() { int i=42;}
12100 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12101 int status = $lt_dlunknown;
12105 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12106 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12107 /* dlclose (self); */
12113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12114 (eval $ac_link) 2>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12118 (./conftest; exit; ) 2>/dev/null
12120 case x$lt_status in
12121 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12122 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12123 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12126 # compilation failed
12127 lt_cv_dlopen_self=no
12134 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12135 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12137 if test "x$lt_cv_dlopen_self" = xyes; then
12138 LDFLAGS="$LDFLAGS $link_static_flag"
12139 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12140 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12141 if test "${lt_cv_dlopen_self_static+set}" = set; then
12142 echo $ECHO_N "(cached) $ECHO_C" >&6
12144 if test "$cross_compiling" = yes; then :
12145 lt_cv_dlopen_self_static=cross
12147 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12148 lt_status=$lt_dlunknown
12149 cat > conftest.$ac_ext <<EOF
12150 #line 12150 "configure"
12151 #include "confdefs.h"
12160 # define LT_DLGLOBAL RTLD_GLOBAL
12163 # define LT_DLGLOBAL DL_GLOBAL
12165 # define LT_DLGLOBAL 0
12169 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12170 find out it does not work in some platform. */
12171 #ifndef LT_DLLAZY_OR_NOW
12173 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12176 # define LT_DLLAZY_OR_NOW DL_LAZY
12179 # define LT_DLLAZY_OR_NOW RTLD_NOW
12182 # define LT_DLLAZY_OR_NOW DL_NOW
12184 # define LT_DLLAZY_OR_NOW 0
12192 extern "C" void exit (int);
12195 void fnord() { int i=42;}
12198 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12199 int status = $lt_dlunknown;
12203 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12204 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12205 /* dlclose (self); */
12211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12212 (eval $ac_link) 2>&5
12214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12216 (./conftest; exit; ) 2>/dev/null
12218 case x$lt_status in
12219 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12220 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12221 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12224 # compilation failed
12225 lt_cv_dlopen_self_static=no
12232 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12233 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12236 CPPFLAGS="$save_CPPFLAGS"
12237 LDFLAGS="$save_LDFLAGS"
12242 case $lt_cv_dlopen_self in
12243 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12244 *) enable_dlopen_self=unknown ;;
12247 case $lt_cv_dlopen_self_static in
12248 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12249 *) enable_dlopen_self_static=unknown ;;
12254 # The else clause should only fire when bootstrapping the
12255 # libtool distribution, otherwise you forgot to ship ltmain.sh
12256 # with your package, and you will get complaints that there are
12257 # no rules to generate ltmain.sh.
12258 if test -f "$ltmain"; then
12259 # See if we are running on zsh, and set the options which allow our commands through
12260 # without removal of \ escapes.
12261 if test -n "${ZSH_VERSION+set}" ; then
12262 setopt NO_GLOB_SUBST
12264 # Now quote all the things that may contain metacharacters while being
12265 # careful not to overquote the AC_SUBSTed values. We take copies of the
12266 # variables and quote the copies for generation of the libtool script.
12267 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12268 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12269 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12270 deplibs_check_method reload_flag reload_cmds need_locks \
12271 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12272 lt_cv_sys_global_symbol_to_c_name_address \
12273 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12274 old_postinstall_cmds old_postuninstall_cmds \
12278 lt_prog_compiler_wl_CXX \
12279 lt_prog_compiler_pic_CXX \
12280 lt_prog_compiler_static_CXX \
12281 lt_prog_compiler_no_builtin_flag_CXX \
12282 export_dynamic_flag_spec_CXX \
12283 thread_safe_flag_spec_CXX \
12284 whole_archive_flag_spec_CXX \
12285 enable_shared_with_static_runtimes_CXX \
12286 old_archive_cmds_CXX \
12287 old_archive_from_new_cmds_CXX \
12288 predep_objects_CXX \
12289 postdep_objects_CXX \
12292 compiler_lib_search_path_CXX \
12294 archive_expsym_cmds_CXX \
12295 postinstall_cmds_CXX \
12296 postuninstall_cmds_CXX \
12297 old_archive_from_expsyms_cmds_CXX \
12298 allow_undefined_flag_CXX \
12299 no_undefined_flag_CXX \
12300 export_symbols_cmds_CXX \
12301 hardcode_libdir_flag_spec_CXX \
12302 hardcode_libdir_flag_spec_ld_CXX \
12303 hardcode_libdir_separator_CXX \
12304 hardcode_automatic_CXX \
12306 module_expsym_cmds_CXX \
12307 lt_cv_prog_compiler_c_o_CXX \
12308 exclude_expsyms_CXX \
12309 include_expsyms_CXX; do
12312 old_archive_cmds_CXX | \
12313 old_archive_from_new_cmds_CXX | \
12314 archive_cmds_CXX | \
12315 archive_expsym_cmds_CXX | \
12316 module_cmds_CXX | \
12317 module_expsym_cmds_CXX | \
12318 old_archive_from_expsyms_cmds_CXX | \
12319 export_symbols_cmds_CXX | \
12320 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12321 postinstall_cmds | postuninstall_cmds | \
12322 old_postinstall_cmds | old_postuninstall_cmds | \
12323 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12324 # Double-quote double-evaled strings.
12325 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12328 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12334 *'\$0 --fallback-echo"')
12335 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12341 cat <<__EOF__ >> "$cfgfile"
12342 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12344 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12346 # Shell to use when invoking shell scripts.
12349 # Whether or not to build shared libraries.
12350 build_libtool_libs=$enable_shared
12352 # Whether or not to build static libraries.
12353 build_old_libs=$enable_static
12355 # Whether or not to add -lc for building shared libraries.
12356 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12358 # Whether or not to disallow shared libs when runtime libs are static
12359 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12361 # Whether or not to optimize for fast installation.
12362 fast_install=$enable_fast_install
12365 host_alias=$host_alias
12368 # An echo program that does not interpret backslashes.
12373 AR_FLAGS=$lt_AR_FLAGS
12378 # A language-specific compiler.
12379 CC=$lt_compiler_CXX
12381 # Is the compiler the GNU C compiler?
12387 # The linker used to build libraries.
12390 # Whether we need hard or soft links.
12393 # A BSD-compatible nm program.
12396 # A symbol stripping program
12399 # Used to examine libraries when file_magic_cmd begins "file"
12400 MAGIC_CMD=$MAGIC_CMD
12402 # Used on cygwin: DLL creation program.
12405 # Used on cygwin: object dumper.
12408 # Used on cygwin: assembler.
12411 # The name of the directory that contains temporary libtool files.
12414 # How to create reloadable object files.
12415 reload_flag=$lt_reload_flag
12416 reload_cmds=$lt_reload_cmds
12418 # How to pass a linker flag through the compiler.
12419 wl=$lt_lt_prog_compiler_wl_CXX
12421 # Object file suffix (normally "o").
12422 objext="$ac_objext"
12424 # Old archive suffix (normally "a").
12427 # Shared library suffix (normally ".so").
12430 # Executable file suffix (normally "").
12433 # Additional compiler flags for building library objects.
12434 pic_flag=$lt_lt_prog_compiler_pic_CXX
12437 # What is the maximum length of a command?
12438 max_cmd_len=$lt_cv_sys_max_cmd_len
12440 # Does compiler simultaneously support -c and -o options?
12441 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12443 # Must we lock files when doing compilation ?
12444 need_locks=$lt_need_locks
12446 # Do we need the lib prefix for modules?
12447 need_lib_prefix=$need_lib_prefix
12449 # Do we need a version for libraries?
12450 need_version=$need_version
12452 # Whether dlopen is supported.
12453 dlopen_support=$enable_dlopen
12455 # Whether dlopen of programs is supported.
12456 dlopen_self=$enable_dlopen_self
12458 # Whether dlopen of statically linked programs is supported.
12459 dlopen_self_static=$enable_dlopen_self_static
12461 # Compiler flag to prevent dynamic linking.
12462 link_static_flag=$lt_lt_prog_compiler_static_CXX
12464 # Compiler flag to turn off builtin functions.
12465 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12467 # Compiler flag to allow reflexive dlopens.
12468 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12470 # Compiler flag to generate shared objects directly from archives.
12471 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12473 # Compiler flag to generate thread-safe objects.
12474 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12476 # Library versioning type.
12477 version_type=$version_type
12479 # Format of library name prefix.
12480 libname_spec=$lt_libname_spec
12482 # List of archive names. First name is the real one, the rest are links.
12483 # The last name is the one that the linker finds with -lNAME.
12484 library_names_spec=$lt_library_names_spec
12486 # The coded name of the library, if different from the real name.
12487 soname_spec=$lt_soname_spec
12489 # Commands used to build and install an old-style archive.
12491 old_archive_cmds=$lt_old_archive_cmds_CXX
12492 old_postinstall_cmds=$lt_old_postinstall_cmds
12493 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12495 # Create an old-style archive from a shared archive.
12496 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12498 # Create a temporary old-style archive to link instead of a shared archive.
12499 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12501 # Commands used to build and install a shared archive.
12502 archive_cmds=$lt_archive_cmds_CXX
12503 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12504 postinstall_cmds=$lt_postinstall_cmds
12505 postuninstall_cmds=$lt_postuninstall_cmds
12507 # Commands used to build a loadable module (assumed same as above if empty)
12508 module_cmds=$lt_module_cmds_CXX
12509 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12511 # Commands to strip libraries.
12512 old_striplib=$lt_old_striplib
12513 striplib=$lt_striplib
12515 # Dependencies to place before the objects being linked to create a
12517 predep_objects=$lt_predep_objects_CXX
12519 # Dependencies to place after the objects being linked to create a
12521 postdep_objects=$lt_postdep_objects_CXX
12523 # Dependencies to place before the objects being linked to create a
12525 predeps=$lt_predeps_CXX
12527 # Dependencies to place after the objects being linked to create a
12529 postdeps=$lt_postdeps_CXX
12531 # The library search path used internally by the compiler when linking
12532 # a shared library.
12533 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12535 # Method to check whether dependent libraries are shared objects.
12536 deplibs_check_method=$lt_deplibs_check_method
12538 # Command to use when deplibs_check_method == file_magic.
12539 file_magic_cmd=$lt_file_magic_cmd
12541 # Flag that allows shared libraries with undefined symbols to be built.
12542 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12544 # Flag that forces no undefined symbols.
12545 no_undefined_flag=$lt_no_undefined_flag_CXX
12547 # Commands used to finish a libtool library installation in a directory.
12548 finish_cmds=$lt_finish_cmds
12550 # Same as above, but a single script fragment to be evaled but not shown.
12551 finish_eval=$lt_finish_eval
12553 # Take the output of nm and produce a listing of raw symbols and C names.
12554 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12556 # Transform the output of nm in a proper C declaration
12557 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12559 # Transform the output of nm in a C name address pair
12560 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12562 # This is the shared library runtime path variable.
12563 runpath_var=$runpath_var
12565 # This is the shared library path variable.
12566 shlibpath_var=$shlibpath_var
12568 # Is shlibpath searched before the hard-coded library search path?
12569 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12571 # How to hardcode a shared library path into an executable.
12572 hardcode_action=$hardcode_action_CXX
12574 # Whether we should hardcode library paths into libraries.
12575 hardcode_into_libs=$hardcode_into_libs
12577 # Flag to hardcode \$libdir into a binary during linking.
12578 # This must work even if \$libdir does not exist.
12579 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12581 # If ld is used when linking, flag to hardcode \$libdir into
12582 # a binary during linking. This must work even if \$libdir does
12584 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12586 # Whether we need a single -rpath flag with a separated argument.
12587 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12589 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12590 # resulting binary.
12591 hardcode_direct=$hardcode_direct_CXX
12593 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12594 # resulting binary.
12595 hardcode_minus_L=$hardcode_minus_L_CXX
12597 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12598 # the resulting binary.
12599 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12601 # Set to yes if building a shared library automatically hardcodes DIR into the library
12602 # and all subsequent libraries and executables linked against it.
12603 hardcode_automatic=$hardcode_automatic_CXX
12605 # Variables whose values should be saved in libtool wrapper scripts and
12606 # restored at relink time.
12607 variables_saved_for_relink="$variables_saved_for_relink"
12609 # Whether libtool must link a program against all its dependency libraries.
12610 link_all_deplibs=$link_all_deplibs_CXX
12612 # Compile-time system search path for libraries
12613 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12615 # Run-time system search path for libraries
12616 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12618 # Fix the shell variable \$srcfile for the compiler.
12619 fix_srcfile_path="$fix_srcfile_path_CXX"
12621 # Set to yes if exported symbols are required.
12622 always_export_symbols=$always_export_symbols_CXX
12624 # The commands to list exported symbols.
12625 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12627 # The commands to extract the exported symbol list from a shared archive.
12628 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12630 # Symbols that should not be listed in the preloaded symbols.
12631 exclude_expsyms=$lt_exclude_expsyms_CXX
12633 # Symbols that must always be exported.
12634 include_expsyms=$lt_include_expsyms_CXX
12636 # ### END LIBTOOL TAG CONFIG: $tagname
12642 # If there is no Makefile yet, we rely on a make rule to execute
12643 # `config.status --recheck' to rerun these tests and create the
12644 # libtool script then.
12645 test -f Makefile && make "$ltmain"
12650 ac_cpp='$CPP $CPPFLAGS'
12651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12659 with_gnu_ldcxx=$with_gnu_ld
12660 with_gnu_ld=$lt_save_with_gnu_ld
12661 lt_cv_path_LDCXX=$lt_cv_path_LD
12662 lt_cv_path_LD=$lt_save_path_LD
12663 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12664 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12672 if test -n "$F77" && test "X$F77" != "Xno"; then
12675 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12676 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12677 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12680 archive_cmds_need_lc_F77=no
12681 allow_undefined_flag_F77=
12682 always_export_symbols_F77=no
12683 archive_expsym_cmds_F77=
12684 export_dynamic_flag_spec_F77=
12685 hardcode_direct_F77=no
12686 hardcode_libdir_flag_spec_F77=
12687 hardcode_libdir_flag_spec_ld_F77=
12688 hardcode_libdir_separator_F77=
12689 hardcode_minus_L_F77=no
12690 hardcode_automatic_F77=no
12692 module_expsym_cmds_F77=
12693 link_all_deplibs_F77=unknown
12694 old_archive_cmds_F77=$old_archive_cmds
12695 no_undefined_flag_F77=
12696 whole_archive_flag_spec_F77=
12697 enable_shared_with_static_runtimes_F77=no
12699 # Source file extension for f77 test sources.
12702 # Object file extension for compiled f77 test sources.
12706 # Code to be used in simple compile tests
12707 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12709 # Code to be used in simple link tests
12710 lt_simple_link_test_code=" program t\n end\n"
12712 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12714 # If no C compiler was specified, use CC.
12717 # Allow CC to be a program name with arguments.
12721 # Allow CC to be a program name with arguments.
12726 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12728 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12729 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12730 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12731 echo "${ECHO_T}$can_build_shared" >&6
12733 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12734 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12735 test "$can_build_shared" = "no" && enable_shared=no
12737 # On AIX, shared libraries and static libraries use the same namespace, and
12738 # are all built from PIC.
12741 test "$enable_shared" = yes && enable_static=no
12742 if test -n "$RANLIB"; then
12743 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12744 postinstall_cmds='$RANLIB $lib'
12748 test "$enable_shared" = yes && enable_static=no
12751 echo "$as_me:$LINENO: result: $enable_shared" >&5
12752 echo "${ECHO_T}$enable_shared" >&6
12754 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12755 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12756 # Make sure either enable_shared or enable_static is yes.
12757 test "$enable_shared" = yes || enable_static=yes
12758 echo "$as_me:$LINENO: result: $enable_static" >&5
12759 echo "${ECHO_T}$enable_static" >&6
12761 test "$ld_shlibs_F77" = no && can_build_shared=no
12766 lt_prog_compiler_wl_F77=
12767 lt_prog_compiler_pic_F77=
12768 lt_prog_compiler_static_F77=
12770 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12771 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12773 if test "$GCC" = yes; then
12774 lt_prog_compiler_wl_F77='-Wl,'
12775 lt_prog_compiler_static_F77='-static'
12779 # All AIX code is PIC.
12780 if test "$host_cpu" = ia64; then
12781 # AIX 5 now supports IA64 processor
12782 lt_prog_compiler_static_F77='-Bstatic'
12787 # FIXME: we need at least 68020 code to build shared libraries, but
12788 # adding the `-m68020' flag to GCC prevents building anything better,
12790 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12793 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12794 # PIC is the default for these OSes.
12797 mingw* | pw32* | os2*)
12798 # This hack is so that the source file can tell whether it is being
12799 # built for inclusion in a dll (and should export symbols for example).
12800 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12803 darwin* | rhapsody*)
12804 # PIC is the default on this platform
12805 # Common symbols not allowed in MH_DYLIB files
12806 lt_prog_compiler_pic_F77='-fno-common'
12810 # Just because we use GCC doesn't mean we suddenly get shared libraries
12811 # on systems that don't support them.
12812 lt_prog_compiler_can_build_shared_F77=no
12817 if test -d /usr/nec; then
12818 lt_prog_compiler_pic_F77=-Kconform_pic
12823 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12824 # not for PA HP-UX.
12825 case "$host_cpu" in
12830 lt_prog_compiler_pic_F77='-fPIC'
12836 lt_prog_compiler_pic_F77='-fPIC'
12840 # PORTME Check for flag to pass linker flags through the system compiler.
12843 lt_prog_compiler_wl_F77='-Wl,'
12844 if test "$host_cpu" = ia64; then
12845 # AIX 5 now supports IA64 processor
12846 lt_prog_compiler_static_F77='-Bstatic'
12848 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12852 mingw* | pw32* | os2*)
12853 # This hack is so that the source file can tell whether it is being
12854 # built for inclusion in a dll (and should export symbols for example).
12855 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12858 hpux9* | hpux10* | hpux11*)
12859 lt_prog_compiler_wl_F77='-Wl,'
12860 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12861 # not for PA HP-UX.
12862 case "$host_cpu" in
12867 lt_prog_compiler_pic_F77='+Z'
12870 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12871 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12874 irix5* | irix6* | nonstopux*)
12875 lt_prog_compiler_wl_F77='-Wl,'
12876 # PIC (with -KPIC) is the default.
12877 lt_prog_compiler_static_F77='-non_shared'
12881 lt_prog_compiler_pic_F77='-KPIC'
12882 lt_prog_compiler_static_F77='-Bstatic'
12888 lt_prog_compiler_wl_F77='-Wl,'
12889 lt_prog_compiler_pic_F77='-KPIC'
12890 lt_prog_compiler_static_F77='-static'
12893 lt_prog_compiler_wl_F77='-Wl,'
12894 # All Alpha code is PIC.
12895 lt_prog_compiler_static_F77='-non_shared'
12900 osf3* | osf4* | osf5*)
12901 lt_prog_compiler_wl_F77='-Wl,'
12902 # All OSF/1 code is PIC.
12903 lt_prog_compiler_static_F77='-non_shared'
12907 lt_prog_compiler_pic_F77='-Kpic'
12908 lt_prog_compiler_static_F77='-dn'
12912 lt_prog_compiler_wl_F77='-Wl,'
12913 lt_prog_compiler_pic_F77='-KPIC'
12914 lt_prog_compiler_static_F77='-Bstatic'
12918 lt_prog_compiler_wl_F77='-Qoption ld '
12919 lt_prog_compiler_pic_F77='-PIC'
12920 lt_prog_compiler_static_F77='-Bstatic'
12923 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12924 lt_prog_compiler_wl_F77='-Wl,'
12925 lt_prog_compiler_pic_F77='-KPIC'
12926 lt_prog_compiler_static_F77='-Bstatic'
12930 if test -d /usr/nec ;then
12931 lt_prog_compiler_pic_F77='-Kconform_pic'
12932 lt_prog_compiler_static_F77='-Bstatic'
12937 lt_prog_compiler_pic_F77='-pic'
12938 lt_prog_compiler_static_F77='-Bstatic'
12942 lt_prog_compiler_can_build_shared_F77=no
12947 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
12948 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
12951 # Check to make sure the PIC flag actually works.
12953 if test -n "$lt_prog_compiler_pic_F77"; then
12954 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
12955 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
12956 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
12957 echo $ECHO_N "(cached) $ECHO_C" >&6
12959 lt_prog_compiler_pic_works_F77=no
12960 ac_outfile=conftest.$ac_objext
12961 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12962 lt_compiler_flag="$lt_prog_compiler_pic_F77"
12963 # Insert the option either (1) after the last *FLAGS variable, or
12964 # (2) before a word containing "conftest.", or (3) at the end.
12965 # Note that $ac_compile itself does not contain backslashes and begins
12966 # with a dollar sign (not a hyphen), so the echo should work correctly.
12967 # The option is referenced via a variable to avoid confusing sed.
12968 lt_compile=`echo "$ac_compile" | $SED \
12969 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12970 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12971 -e 's:$: $lt_compiler_flag:'`
12972 (eval echo "\"\$as_me:12972: $lt_compile\"" >&5)
12973 (eval "$lt_compile" 2>conftest.err)
12975 cat conftest.err >&5
12976 echo "$as_me:12976: \$? = $ac_status" >&5
12977 if (exit $ac_status) && test -s "$ac_outfile"; then
12978 # The compiler can only warn and ignore the option if not recognized
12979 # So say no if there are warnings
12980 if test ! -s conftest.err; then
12981 lt_prog_compiler_pic_works_F77=yes
12987 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
12988 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
12990 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
12991 case $lt_prog_compiler_pic_F77 in
12993 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
12996 lt_prog_compiler_pic_F77=
12997 lt_prog_compiler_can_build_shared_F77=no
13002 # For platforms which do not support PIC, -DPIC is meaningless:
13004 lt_prog_compiler_pic_F77=
13007 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13011 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13012 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13013 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13014 echo $ECHO_N "(cached) $ECHO_C" >&6
13016 lt_cv_prog_compiler_c_o_F77=no
13017 $rm -r conftest 2>/dev/null
13021 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13023 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13024 # that will create temporary files in the current directory regardless of
13025 # the output directory. Thus, making CWD read-only will cause this test
13026 # to fail, enabling locking or at least warning the user not to do parallel
13030 lt_compiler_flag="-o out/conftest2.$ac_objext"
13031 # Insert the option either (1) after the last *FLAGS variable, or
13032 # (2) before a word containing "conftest.", or (3) at the end.
13033 # Note that $ac_compile itself does not contain backslashes and begins
13034 # with a dollar sign (not a hyphen), so the echo should work correctly.
13035 lt_compile=`echo "$ac_compile" | $SED \
13036 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13037 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13038 -e 's:$: $lt_compiler_flag:'`
13039 (eval echo "\"\$as_me:13039: $lt_compile\"" >&5)
13040 (eval "$lt_compile" 2>out/conftest.err)
13042 cat out/conftest.err >&5
13043 echo "$as_me:13043: \$? = $ac_status" >&5
13044 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13046 # The compiler can only warn and ignore the option if not recognized
13047 # So say no if there are warnings
13048 if test ! -s out/conftest.err; then
13049 lt_cv_prog_compiler_c_o_F77=yes
13053 $rm conftest* out/*
13060 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13061 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13064 hard_links="nottested"
13065 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13066 # do not overwrite the value of need_locks provided by the user
13067 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13068 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13071 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13073 ln conftest.a conftest.b 2>&5 || hard_links=no
13074 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13075 echo "$as_me:$LINENO: result: $hard_links" >&5
13076 echo "${ECHO_T}$hard_links" >&6
13077 if test "$hard_links" = no; then
13078 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13079 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13086 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13087 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13090 allow_undefined_flag_F77=
13091 enable_shared_with_static_runtimes_F77=no
13093 archive_expsym_cmds_F77=
13094 old_archive_From_new_cmds_F77=
13095 old_archive_from_expsyms_cmds_F77=
13096 export_dynamic_flag_spec_F77=
13097 whole_archive_flag_spec_F77=
13098 thread_safe_flag_spec_F77=
13099 hardcode_libdir_flag_spec_F77=
13100 hardcode_libdir_flag_spec_ld_F77=
13101 hardcode_libdir_separator_F77=
13102 hardcode_direct_F77=no
13103 hardcode_minus_L_F77=no
13104 hardcode_shlibpath_var_F77=unsupported
13105 link_all_deplibs_F77=unknown
13106 hardcode_automatic_F77=no
13108 module_expsym_cmds_F77=
13109 always_export_symbols_F77=no
13110 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13111 # include_expsyms should be a list of space-separated symbols to be *always*
13112 # included in the symbol list
13113 include_expsyms_F77=
13114 # exclude_expsyms can be an extended regexp of symbols to exclude
13115 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13116 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13117 # as well as any symbol that contains `d'.
13118 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13119 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13120 # platforms (ab)use it in PIC code, but their linkers get confused if
13121 # the symbol is explicitly referenced. Since portable code cannot
13122 # rely on this symbol name, it's probably fine to never include it in
13123 # preloaded symbol tables.
13124 extract_expsyms_cmds=
13127 cygwin* | mingw* | pw32*)
13128 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13129 # When not using gcc, we currently assume that we are using
13130 # Microsoft Visual C++.
13131 if test "$GCC" != yes; then
13141 if test "$with_gnu_ld" = yes; then
13142 # If archive_cmds runs LD, not CC, wlarc should be empty
13145 # See if GNU ld supports shared libraries.
13147 aix3* | aix4* | aix5*)
13148 # On AIX/PPC, the GNU linker is very broken
13149 if test "$host_cpu" != ia64; then
13153 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13154 *** to be unable to reliably create shared libraries on AIX.
13155 *** Therefore, libtool is disabling shared libraries support. If you
13156 *** really care for shared libraries, you may want to modify your PATH
13157 *** so that a non-GNU linker is found, and then restart.
13164 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)'
13165 hardcode_libdir_flag_spec_F77='-L$libdir'
13166 hardcode_minus_L_F77=yes
13168 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13169 # that the semantics of dynamic libraries on AmigaOS, at least up
13170 # to version 4, is to share data among multiple programs linked
13171 # with the same dynamic library. Since this doesn't match the
13172 # behavior of shared libraries on other platforms, we can't use
13178 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13179 allow_undefined_flag_F77=unsupported
13180 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13181 # support --undefined. This deserves some investigation. FIXME
13182 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13188 cygwin* | mingw* | pw32*)
13189 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13190 # as there is no search path for DLLs.
13191 hardcode_libdir_flag_spec_F77='-L$libdir'
13192 allow_undefined_flag_F77=unsupported
13193 always_export_symbols_F77=no
13194 enable_shared_with_static_runtimes_F77=yes
13195 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13197 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13198 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13199 # If the export-symbols file already is a .def file (1st line
13200 # is EXPORTS), use it as is; otherwise, prepend...
13201 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13202 cp $export_symbols $output_objdir/$soname.def;
13204 echo EXPORTS > $output_objdir/$soname.def;
13205 cat $export_symbols >> $output_objdir/$soname.def;
13207 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13214 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13215 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13218 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13219 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13224 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13228 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13229 *** create shared libraries on Solaris systems. Therefore, libtool
13230 *** is disabling shared libraries support. We urge you to upgrade GNU
13231 *** binutils to release 2.9.1 or newer. Another option is to modify
13232 *** your PATH or compiler configuration so that the native linker is
13233 *** used, and then restart.
13236 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13237 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13238 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13245 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13247 hardcode_direct_F77=yes
13248 hardcode_shlibpath_var_F77=no
13252 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13253 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13254 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13261 if test "$ld_shlibs_F77" = yes; then
13262 runpath_var=LD_RUN_PATH
13263 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13264 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13265 # ancient GNU ld didn't support --whole-archive et. al.
13266 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13267 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13269 whole_archive_flag_spec_F77=
13273 # PORTME fill in a description of your system's linker (not GNU ld)
13276 allow_undefined_flag_F77=unsupported
13277 always_export_symbols_F77=yes
13278 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'
13279 # Note: this linker hardcodes the directories in LIBPATH if there
13280 # are no directories specified by -L.
13281 hardcode_minus_L_F77=yes
13282 if test "$GCC" = yes && test -z "$link_static_flag"; then
13283 # Neither direct hardcoding nor static linking is supported with a
13285 hardcode_direct_F77=unsupported
13290 if test "$host_cpu" = ia64; then
13291 # On IA64, the linker does run time linking by default, so we don't
13292 # have to do anything special.
13293 aix_use_runtimelinking=no
13294 exp_sym_flag='-Bexport'
13297 # If we're using GNU nm, then we don't want the "-C" option.
13298 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13299 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13300 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'
13302 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'
13304 aix_use_runtimelinking=no
13306 # Test if we are trying to use run time linking or normal
13307 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13308 # need to do runtime linking.
13309 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13310 for ld_flag in $LDFLAGS; do
13311 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13312 aix_use_runtimelinking=yes
13318 exp_sym_flag='-bexport'
13319 no_entry_flag='-bnoentry'
13322 # When large executables or shared objects are built, AIX ld can
13323 # have problems creating the table of contents. If linking a library
13324 # or program results in "error TOC overflow" add -mminimal-toc to
13325 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13326 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13328 archive_cmds_F77=''
13329 hardcode_direct_F77=yes
13330 hardcode_libdir_separator_F77=':'
13331 link_all_deplibs_F77=yes
13333 if test "$GCC" = yes; then
13334 case $host_os in aix4.012|aix4.012.*)
13335 # We only want to do this on AIX 4.2 and lower, the check
13336 # below for broken collect2 doesn't work under 4.3+
13337 collect2name=`${CC} -print-prog-name=collect2`
13338 if test -f "$collect2name" && \
13339 strings "$collect2name" | grep resolve_lib_name >/dev/null
13341 # We have reworked collect2
13342 hardcode_direct_F77=yes
13344 # We have old collect2
13345 hardcode_direct_F77=unsupported
13346 # It fails to find uninstalled libraries when the uninstalled
13347 # path is not listed in the libpath. Setting hardcode_minus_L
13348 # to unsupported forces relinking
13349 hardcode_minus_L_F77=yes
13350 hardcode_libdir_flag_spec_F77='-L$libdir'
13351 hardcode_libdir_separator_F77=
13354 shared_flag='-shared'
13357 if test "$host_cpu" = ia64; then
13358 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13359 # chokes on -Wl,-G. The following line is correct:
13362 if test "$aix_use_runtimelinking" = yes; then
13363 shared_flag='${wl}-G'
13365 shared_flag='${wl}-bM:SRE'
13370 # It seems that -bexpall does not export symbols beginning with
13371 # underscore (_), so it is better to generate a list of symbols to export.
13372 always_export_symbols_F77=yes
13373 if test "$aix_use_runtimelinking" = yes; then
13374 # Warning - without using the other runtime loading flags (-brtl),
13375 # -berok will link without error, but may produce a broken library.
13376 allow_undefined_flag_F77='-berok'
13377 # Determine the default libpath from the value encoded in an empty executable.
13378 cat >conftest.$ac_ext <<_ACEOF
13383 rm -f conftest.$ac_objext conftest$ac_exeext
13384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13385 (eval $ac_link) 2>&5
13387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 (exit $ac_status); } &&
13389 { ac_try='test -s conftest$ac_exeext'
13390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13391 (eval $ac_try) 2>&5
13393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394 (exit $ac_status); }; }; then
13396 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13398 # Check for a 64-bit object if we didn't find anything.
13399 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; }
13402 echo "$as_me: failed program was:" >&5
13403 sed 's/^/| /' conftest.$ac_ext >&5
13406 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13407 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13409 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13410 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"
13412 if test "$host_cpu" = ia64; then
13413 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13414 allow_undefined_flag_F77="-z nodefs"
13415 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"
13417 # Determine the default libpath from the value encoded in an empty executable.
13418 cat >conftest.$ac_ext <<_ACEOF
13423 rm -f conftest.$ac_objext conftest$ac_exeext
13424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13425 (eval $ac_link) 2>&5
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); } &&
13429 { ac_try='test -s conftest$ac_exeext'
13430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13431 (eval $ac_try) 2>&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); }; }; then
13436 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13438 # Check for a 64-bit object if we didn't find anything.
13439 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; }
13442 echo "$as_me: failed program was:" >&5
13443 sed 's/^/| /' conftest.$ac_ext >&5
13446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13447 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13449 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13450 # Warning - without using the other run time loading flags,
13451 # -berok will link without error, but may produce a broken library.
13452 no_undefined_flag_F77=' ${wl}-bernotok'
13453 allow_undefined_flag_F77=' ${wl}-berok'
13454 # -bexpall does not export symbols beginning with underscore (_)
13455 always_export_symbols_F77=yes
13456 # Exported symbols can be pulled into shared objects from archives
13457 whole_archive_flag_spec_F77=' '
13458 archive_cmds_need_lc_F77=yes
13459 # This is similar to how AIX traditionally builds it's shared libraries.
13460 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'
13466 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)'
13467 hardcode_libdir_flag_spec_F77='-L$libdir'
13468 hardcode_minus_L_F77=yes
13469 # see comment about different semantics on the GNU ld section
13474 export_dynamic_flag_spec_F77=-rdynamic
13477 cygwin* | mingw* | pw32*)
13478 # When not using gcc, we currently assume that we are using
13479 # Microsoft Visual C++.
13480 # hardcode_libdir_flag_spec is actually meaningless, as there is
13481 # no search path for DLLs.
13482 hardcode_libdir_flag_spec_F77=' '
13483 allow_undefined_flag_F77=unsupported
13484 # Tell ltmain to make .lib files, not .a files.
13486 # Tell ltmain to make .dll files, not .so files.
13488 # FIXME: Setting linknames here is a bad hack.
13489 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13490 # The linker will automatically build a .lib file if we build a DLL.
13491 old_archive_From_new_cmds_F77='true'
13492 # FIXME: Should let the user specify the lib program.
13493 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13494 fix_srcfile_path='`cygpath -w "$srcfile"`'
13495 enable_shared_with_static_runtimes_F77=yes
13498 darwin* | rhapsody*)
13499 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13500 archive_cmds_need_lc_F77=no
13502 rhapsody* | darwin1.[012])
13503 allow_undefined_flag_F77='-undefined suppress'
13506 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13509 # FIXME: Relying on posixy $() will cause problems for
13510 # cross-compilation, but unfortunately the echo tests do not
13511 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13512 # `"' quotes if we put them in here... so don't!
13513 lt_int_apple_cc_single_mod=no
13514 output_verbose_link_cmd='echo'
13515 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13516 lt_int_apple_cc_single_mod=yes
13518 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13519 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13521 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'
13523 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13524 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13525 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13526 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}'
13528 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}'
13530 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}'
13531 hardcode_direct_F77=no
13532 hardcode_automatic_F77=yes
13533 hardcode_shlibpath_var_F77=unsupported
13534 whole_archive_flag_spec_F77='-all_load $convenience'
13535 link_all_deplibs_F77=yes
13540 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13541 hardcode_libdir_flag_spec_F77='-L$libdir'
13542 hardcode_shlibpath_var_F77=no
13549 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13550 # support. Future versions do this automatically, but an explicit c++rt0.o
13551 # does not break anything, and helps significantly (at the cost of a little
13554 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13555 hardcode_libdir_flag_spec_F77='-R$libdir'
13556 hardcode_direct_F77=yes
13557 hardcode_shlibpath_var_F77=no
13560 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13562 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13563 hardcode_direct_F77=yes
13564 hardcode_minus_L_F77=yes
13565 hardcode_shlibpath_var_F77=no
13568 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13570 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13571 hardcode_libdir_flag_spec_F77='-R$libdir'
13572 hardcode_direct_F77=yes
13573 hardcode_shlibpath_var_F77=no
13577 if test "$GCC" = yes; then
13578 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'
13580 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'
13582 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13583 hardcode_libdir_separator_F77=:
13584 hardcode_direct_F77=yes
13586 # hardcode_minus_L: Not really in the search PATH,
13587 # but as the default location of the library.
13588 hardcode_minus_L_F77=yes
13589 export_dynamic_flag_spec_F77='${wl}-E'
13593 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13594 case "$host_cpu" in
13596 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13599 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13603 case "$host_cpu" in
13605 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13608 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13612 if test "$with_gnu_ld" = no; then
13613 case "$host_cpu" in
13615 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13616 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13617 hardcode_libdir_separator_F77=:
13618 hardcode_direct_F77=no
13619 hardcode_shlibpath_var_F77=no
13622 hardcode_libdir_flag_spec_F77='-L$libdir'
13623 hardcode_direct_F77=no
13624 hardcode_shlibpath_var_F77=no
13626 # hardcode_minus_L: Not really in the search PATH,
13627 # but as the default location of the library.
13628 hardcode_minus_L_F77=yes
13631 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13632 hardcode_libdir_separator_F77=:
13633 hardcode_direct_F77=yes
13634 export_dynamic_flag_spec_F77='${wl}-E'
13636 # hardcode_minus_L: Not really in the search PATH,
13637 # but as the default location of the library.
13638 hardcode_minus_L_F77=yes
13644 irix5* | irix6* | nonstopux*)
13645 if test "$GCC" = yes; then
13646 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'
13648 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'
13649 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13651 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13652 hardcode_libdir_separator_F77=:
13653 link_all_deplibs_F77=yes
13657 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13658 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13660 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13662 hardcode_libdir_flag_spec_F77='-R$libdir'
13663 hardcode_direct_F77=yes
13664 hardcode_shlibpath_var_F77=no
13668 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13669 hardcode_direct_F77=yes
13670 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13671 hardcode_libdir_separator_F77=:
13672 hardcode_shlibpath_var_F77=no
13676 hardcode_direct_F77=yes
13677 hardcode_shlibpath_var_F77=no
13678 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13679 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13680 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13681 export_dynamic_flag_spec_F77='${wl}-E'
13684 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13685 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13686 hardcode_libdir_flag_spec_F77='-R$libdir'
13689 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13690 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13697 hardcode_libdir_flag_spec_F77='-L$libdir'
13698 hardcode_minus_L_F77=yes
13699 allow_undefined_flag_F77=unsupported
13700 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'
13701 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13705 if test "$GCC" = yes; then
13706 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13707 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'
13709 allow_undefined_flag_F77=' -expect_unresolved \*'
13710 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'
13712 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13713 hardcode_libdir_separator_F77=:
13716 osf4* | osf5*) # as osf3* with the addition of -msym flag
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}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13720 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13722 allow_undefined_flag_F77=' -expect_unresolved \*'
13723 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'
13724 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~
13725 $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'
13727 # Both c and cxx compiler support -rpath directly
13728 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13730 hardcode_libdir_separator_F77=:
13734 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13735 hardcode_shlibpath_var_F77=no
13736 export_dynamic_flag_spec_F77='${wl}-Bexport'
13737 runpath_var=LD_RUN_PATH
13738 hardcode_runpath_var=yes
13742 no_undefined_flag_F77=' -z text'
13743 if test "$GCC" = yes; then
13744 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13745 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13746 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13748 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13749 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13750 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13752 hardcode_libdir_flag_spec_F77='-R$libdir'
13753 hardcode_shlibpath_var_F77=no
13755 solaris2.[0-5] | solaris2.[0-5].*) ;;
13756 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13757 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13759 link_all_deplibs_F77=yes
13763 if test "x$host_vendor" = xsequent; then
13764 # Use $CC to link under sequent, because it throws in some extra .o
13765 # files that make .init and .fini sections work.
13766 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13768 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13770 hardcode_libdir_flag_spec_F77='-L$libdir'
13771 hardcode_direct_F77=yes
13772 hardcode_minus_L_F77=yes
13773 hardcode_shlibpath_var_F77=no
13777 case $host_vendor in
13779 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13780 hardcode_direct_F77=yes # is this really true???
13783 ## LD is ld it makes a PLAMLIB
13784 ## CC just makes a GrossModule.
13785 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13786 reload_cmds_F77='$CC -r -o $output$reload_objs'
13787 hardcode_direct_F77=no
13790 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13791 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13794 runpath_var='LD_RUN_PATH'
13795 hardcode_shlibpath_var_F77=no
13799 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13800 hardcode_shlibpath_var_F77=no
13801 export_dynamic_flag_spec_F77='-Bexport'
13805 if test -d /usr/nec; then
13806 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13807 hardcode_shlibpath_var_F77=no
13808 runpath_var=LD_RUN_PATH
13809 hardcode_runpath_var=yes
13815 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13816 hardcode_direct_F77=yes
13817 hardcode_minus_L_F77=no
13818 hardcode_shlibpath_var_F77=no
13819 hardcode_runpath_var=yes
13820 runpath_var=LD_RUN_PATH
13823 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13824 no_undefined_flag_F77='${wl}-z ${wl}text'
13825 if test "$GCC" = yes; then
13826 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13828 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13830 runpath_var='LD_RUN_PATH'
13831 hardcode_shlibpath_var_F77=no
13835 no_undefined_flag_F77=' -z text'
13836 # $CC -shared without GNU ld will not create a library from C++
13837 # object files and a static libstdc++, better avoid it by now
13838 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13839 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13840 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13841 hardcode_libdir_flag_spec_F77=
13842 hardcode_shlibpath_var_F77=no
13843 runpath_var='LD_RUN_PATH'
13847 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13848 hardcode_libdir_flag_spec_F77='-L$libdir'
13849 hardcode_shlibpath_var_F77=no
13858 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13859 echo "${ECHO_T}$ld_shlibs_F77" >&6
13860 test "$ld_shlibs_F77" = no && can_build_shared=no
13862 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13863 if test "$GCC" = yes; then
13864 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13868 # Do we need to explicitly link libc?
13870 case "x$archive_cmds_need_lc_F77" in
13872 # Assume -lc should be added
13873 archive_cmds_need_lc_F77=yes
13875 if test "$enable_shared" = yes && test "$GCC" = yes; then
13876 case $archive_cmds_F77 in
13878 # FIXME: we may have to deal with multi-command sequences.
13881 # Test whether the compiler implicitly links with -lc since on some
13882 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13883 # to ld, don't add -lc before -lgcc.
13884 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13885 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13887 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13890 (eval $ac_compile) 2>&5
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); } 2>conftest.err; then
13896 libobjs=conftest.$ac_objext
13898 wl=$lt_prog_compiler_wl_F77
13904 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13905 allow_undefined_flag_F77=
13906 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13907 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13910 (exit $ac_status); }
13912 archive_cmds_need_lc_F77=no
13914 archive_cmds_need_lc_F77=yes
13916 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13918 cat conftest.err 1>&5
13921 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13922 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13929 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13930 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13931 hardcode_action_F77=
13932 if test -n "$hardcode_libdir_flag_spec_F77" || \
13933 test -n "$runpath_var F77" || \
13934 test "X$hardcode_automatic_F77"="Xyes" ; then
13936 # We can hardcode non-existant directories.
13937 if test "$hardcode_direct_F77" != no &&
13938 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13939 # have to relink, otherwise we might link with an installed library
13940 # when we should be linking with a yet-to-be-installed one
13941 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
13942 test "$hardcode_minus_L_F77" != no; then
13943 # Linking always hardcodes the temporary library directory.
13944 hardcode_action_F77=relink
13946 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13947 hardcode_action_F77=immediate
13950 # We cannot hardcode anything, or else we can only hardcode existing
13952 hardcode_action_F77=unsupported
13954 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
13955 echo "${ECHO_T}$hardcode_action_F77" >&6
13957 if test "$hardcode_action_F77" = relink; then
13958 # Fast installation is not supported
13959 enable_fast_install=no
13960 elif test "$shlibpath_overrides_runpath" = yes ||
13961 test "$enable_shared" = no; then
13962 # Fast installation is not necessary
13963 enable_fast_install=needless
13968 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13969 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
13970 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
13971 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13972 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13973 echo "$as_me:$LINENO: result: yes" >&5
13974 echo "${ECHO_T}yes" >&6
13976 # FIXME - insert some real tests, host_os isn't really good enough
13979 if test -n "$STRIP" ; then
13980 striplib="$STRIP -x"
13981 echo "$as_me:$LINENO: result: yes" >&5
13982 echo "${ECHO_T}yes" >&6
13984 echo "$as_me:$LINENO: result: no" >&5
13985 echo "${ECHO_T}no" >&6
13989 echo "$as_me:$LINENO: result: no" >&5
13990 echo "${ECHO_T}no" >&6
13995 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13996 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13997 library_names_spec=
13998 libname_spec='lib$name'
14002 postuninstall_cmds=
14006 shlibpath_overrides_runpath=unknown
14008 dynamic_linker="$host_os ld.so"
14009 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14010 if test "$GCC" = yes; then
14011 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14012 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14013 # if the path contains ";" then we assume it to be the separator
14014 # otherwise default to the standard path separator (i.e. ":") - it is
14015 # assumed that no part of a normal pathname contains ";" but that should
14016 # okay in the real world where ";" in dirpaths is itself problematic.
14017 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14019 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14022 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14024 need_lib_prefix=unknown
14025 hardcode_into_libs=no
14027 # when you set need_version to no, make sure it does not cause -set_version
14028 # flags to be left without arguments
14029 need_version=unknown
14034 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14035 shlibpath_var=LIBPATH
14037 # AIX 3 has no versioning support, so we append a major version to the name.
14038 soname_spec='${libname}${release}${shared_ext}$major'
14045 hardcode_into_libs=yes
14046 if test "$host_cpu" = ia64; then
14047 # AIX 5 supports IA64
14048 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14049 shlibpath_var=LD_LIBRARY_PATH
14051 # With GCC up to 2.95.x, collect2 would create an import file
14052 # for dependence libraries. The import file would start with
14053 # the line `#! .'. This would cause the generated library to
14054 # depend on `.', always an invalid library. This was fixed in
14055 # development snapshots of GCC prior to 3.0.
14057 aix4 | aix4.[01] | aix4.[01].*)
14058 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14060 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14063 can_build_shared=no
14067 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14068 # soname into executable. Probably we can add versioning support to
14069 # collect2, so additional links can be useful in future.
14070 if test "$aix_use_runtimelinking" = yes; then
14071 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14072 # instead of lib<name>.a to let people know that these are not
14073 # typical AIX shared libraries.
14074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14076 # We preserve .a as extension for shared libraries through AIX4.2
14077 # and later when we are not doing run time linking.
14078 library_names_spec='${libname}${release}.a $libname.a'
14079 soname_spec='${libname}${release}${shared_ext}$major'
14081 shlibpath_var=LIBPATH
14086 library_names_spec='$libname.ixlibrary $libname.a'
14087 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14088 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'
14092 library_names_spec='${libname}${shared_ext}'
14093 dynamic_linker="$host_os ld.so"
14094 shlibpath_var=LIBRARY_PATH
14100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14101 soname_spec='${libname}${release}${shared_ext}$major'
14102 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14103 shlibpath_var=LD_LIBRARY_PATH
14104 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14105 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14106 # the default ld.so.conf also contains /usr/contrib/lib and
14107 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14108 # libtool to hard-code these into programs
14111 cygwin* | mingw* | pw32*)
14112 version_type=windows
14117 case $GCC,$host_os in
14118 yes,cygwin* | yes,mingw* | yes,pw32*)
14119 library_names_spec='$libname.dll.a'
14120 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14121 postinstall_cmds='base_file=`basename \${file}`~
14122 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14123 dldir=$destdir/`dirname \$dlpath`~
14124 test -d \$dldir || mkdir -p \$dldir~
14125 $install_prog $dir/$dlname \$dldir/$dlname'
14126 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14127 dlpath=$dir/\$dldll~
14129 shlibpath_overrides_runpath=yes
14133 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14134 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14135 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14138 # MinGW DLLs use traditional 'lib' prefix
14139 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14140 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14141 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14142 # It is most probably a Windows format PATH printed by
14143 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14144 # path with ; separators, and with drive letters. We can handle the
14145 # drive letters (cygwin fileutils understands them), so leave them,
14146 # especially as we might pass files found there to a mingw objdump,
14147 # which wouldn't understand a cygwinified path. Ahh.
14148 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14150 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14154 # pw32 DLLs use 'pw' prefix rather than 'lib'
14155 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14161 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14164 dynamic_linker='Win32 ld.exe'
14165 # FIXME: first we should search . and the directory the executable is in
14169 darwin* | rhapsody*)
14170 dynamic_linker="$host_os dyld"
14171 version_type=darwin
14174 # FIXME: Relying on posixy $() will cause problems for
14175 # cross-compilation, but unfortunately the echo tests do not
14176 # yet detect zsh echo's removal of \ escapes.
14177 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14178 soname_spec='${libname}${release}${major}$shared_ext'
14179 shlibpath_overrides_runpath=yes
14180 shlibpath_var=DYLD_LIBRARY_PATH
14181 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14182 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14183 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14184 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"`
14186 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14193 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14194 soname_spec='${libname}${release}${shared_ext}$major'
14195 shlibpath_var=LD_LIBRARY_PATH
14203 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14204 version_type=freebsd-$objformat
14205 case $version_type in
14207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14212 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14216 shlibpath_var=LD_LIBRARY_PATH
14219 shlibpath_overrides_runpath=yes
14221 freebsd3.01* | freebsdelf3.01*)
14222 shlibpath_overrides_runpath=yes
14223 hardcode_into_libs=yes
14226 shlibpath_overrides_runpath=no
14227 hardcode_into_libs=yes
14236 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14237 soname_spec='${libname}${release}${shared_ext}$major'
14238 shlibpath_var=LD_LIBRARY_PATH
14239 hardcode_into_libs=yes
14242 hpux9* | hpux10* | hpux11*)
14243 # Give a soname corresponding to the major version so that dld.sl refuses to
14244 # link against other versions.
14248 case "$host_cpu" in
14251 hardcode_into_libs=yes
14252 dynamic_linker="$host_os dld.so"
14253 shlibpath_var=LD_LIBRARY_PATH
14254 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14255 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14256 soname_spec='${libname}${release}${shared_ext}$major'
14257 if test "X$HPUX_IA64_MODE" = X32; then
14258 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14260 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14262 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14266 hardcode_into_libs=yes
14267 dynamic_linker="$host_os dld.sl"
14268 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14269 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14270 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14271 soname_spec='${libname}${release}${shared_ext}$major'
14272 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14273 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14277 dynamic_linker="$host_os dld.sl"
14278 shlibpath_var=SHLIB_PATH
14279 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14281 soname_spec='${libname}${release}${shared_ext}$major'
14284 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14285 postinstall_cmds='chmod 555 $lib'
14288 irix5* | irix6* | nonstopux*)
14290 nonstopux*) version_type=nonstopux ;;
14292 if test "$lt_cv_prog_gnu_ld" = yes; then
14300 soname_spec='${libname}${release}${shared_ext}$major'
14301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14303 irix5* | nonstopux*)
14304 libsuff= shlibsuff=
14307 case $LD in # libtool.m4 will add one of these switches to LD
14308 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14309 libsuff= shlibsuff= libmagic=32-bit;;
14310 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14311 libsuff=32 shlibsuff=N32 libmagic=N32;;
14312 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14313 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14314 *) libsuff= shlibsuff= libmagic=never-match;;
14318 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14319 shlibpath_overrides_runpath=no
14320 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14321 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14322 hardcode_into_libs=yes
14325 # No shared lib support for Linux oldld, aout, or coff.
14326 linux*oldld* | linux*aout* | linux*coff*)
14330 # This must be Linux ELF.
14335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14336 soname_spec='${libname}${release}${shared_ext}$major'
14337 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14338 shlibpath_var=LD_LIBRARY_PATH
14339 shlibpath_overrides_runpath=no
14340 # This implies no fast_install, which is unacceptable.
14341 # Some rework will be needed to allow for fast_install
14342 # before this can be enabled.
14343 hardcode_into_libs=yes
14345 # We used to test for /lib/ld.so.1 and disable shared libraries on
14346 # powerpc, because MkLinux only supported shared libraries with the
14347 # GNU dynamic linker. Since this was broken with cross compilers,
14348 # most powerpc-linux boxes support dynamic linking these days and
14349 # people can always --disable-shared, the test was removed, and we
14350 # assume the GNU/Linux dynamic linker is in use.
14351 dynamic_linker='GNU/Linux ld.so'
14358 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14360 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14361 dynamic_linker='NetBSD (a.out) ld.so'
14363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14364 soname_spec='${libname}${release}${shared_ext}$major'
14365 dynamic_linker='NetBSD ld.elf_so'
14367 shlibpath_var=LD_LIBRARY_PATH
14368 shlibpath_overrides_runpath=yes
14369 hardcode_into_libs=yes
14374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14375 shlibpath_var=LD_LIBRARY_PATH
14376 shlibpath_overrides_runpath=yes
14383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14384 soname_spec='${libname}${release}${shared_ext}$major'
14385 shlibpath_var=LD_LIBRARY_PATH
14386 shlibpath_overrides_runpath=yes
14393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14394 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14395 shlibpath_var=LD_LIBRARY_PATH
14396 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14398 openbsd2.[89] | openbsd2.[89].*)
14399 shlibpath_overrides_runpath=no
14402 shlibpath_overrides_runpath=yes
14406 shlibpath_overrides_runpath=yes
14411 libname_spec='$name'
14414 library_names_spec='$libname${shared_ext} $libname.a'
14415 dynamic_linker='OS/2 ld.exe'
14416 shlibpath_var=LIBPATH
14419 osf3* | osf4* | osf5*)
14423 soname_spec='${libname}${release}${shared_ext}$major'
14424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14425 shlibpath_var=LD_LIBRARY_PATH
14426 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14427 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14432 soname_spec='${libname}${release}${shared_ext}$major'
14433 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14434 shlibpath_var=LD_LIBRARY_PATH
14441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14442 soname_spec='${libname}${release}${shared_ext}$major'
14443 shlibpath_var=LD_LIBRARY_PATH
14444 shlibpath_overrides_runpath=yes
14445 hardcode_into_libs=yes
14446 # ldd complains unless libraries are executable
14447 postinstall_cmds='chmod +x $lib'
14452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14453 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14454 shlibpath_var=LD_LIBRARY_PATH
14455 shlibpath_overrides_runpath=yes
14456 if test "$with_gnu_ld" = yes; then
14462 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14465 soname_spec='${libname}${release}${shared_ext}$major'
14466 shlibpath_var=LD_LIBRARY_PATH
14467 case $host_vendor in
14469 shlibpath_overrides_runpath=no
14471 export_dynamic_flag_spec='${wl}-Blargedynsym'
14472 runpath_var=LD_RUN_PATH
14480 shlibpath_overrides_runpath=no
14481 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14487 if test -d /usr/nec ;then
14489 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14490 soname_spec='$libname${shared_ext}.$major'
14491 shlibpath_var=LD_LIBRARY_PATH
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498 soname_spec='${libname}${release}${shared_ext}$major'
14499 shlibpath_var=LD_LIBRARY_PATH
14506 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14507 echo "${ECHO_T}$dynamic_linker" >&6
14508 test "$dynamic_linker" = no && can_build_shared=no
14511 # The else clause should only fire when bootstrapping the
14512 # libtool distribution, otherwise you forgot to ship ltmain.sh
14513 # with your package, and you will get complaints that there are
14514 # no rules to generate ltmain.sh.
14515 if test -f "$ltmain"; then
14516 # See if we are running on zsh, and set the options which allow our commands through
14517 # without removal of \ escapes.
14518 if test -n "${ZSH_VERSION+set}" ; then
14519 setopt NO_GLOB_SUBST
14521 # Now quote all the things that may contain metacharacters while being
14522 # careful not to overquote the AC_SUBSTed values. We take copies of the
14523 # variables and quote the copies for generation of the libtool script.
14524 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14525 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14526 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14527 deplibs_check_method reload_flag reload_cmds need_locks \
14528 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14529 lt_cv_sys_global_symbol_to_c_name_address \
14530 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14531 old_postinstall_cmds old_postuninstall_cmds \
14535 lt_prog_compiler_wl_F77 \
14536 lt_prog_compiler_pic_F77 \
14537 lt_prog_compiler_static_F77 \
14538 lt_prog_compiler_no_builtin_flag_F77 \
14539 export_dynamic_flag_spec_F77 \
14540 thread_safe_flag_spec_F77 \
14541 whole_archive_flag_spec_F77 \
14542 enable_shared_with_static_runtimes_F77 \
14543 old_archive_cmds_F77 \
14544 old_archive_from_new_cmds_F77 \
14545 predep_objects_F77 \
14546 postdep_objects_F77 \
14549 compiler_lib_search_path_F77 \
14551 archive_expsym_cmds_F77 \
14552 postinstall_cmds_F77 \
14553 postuninstall_cmds_F77 \
14554 old_archive_from_expsyms_cmds_F77 \
14555 allow_undefined_flag_F77 \
14556 no_undefined_flag_F77 \
14557 export_symbols_cmds_F77 \
14558 hardcode_libdir_flag_spec_F77 \
14559 hardcode_libdir_flag_spec_ld_F77 \
14560 hardcode_libdir_separator_F77 \
14561 hardcode_automatic_F77 \
14563 module_expsym_cmds_F77 \
14564 lt_cv_prog_compiler_c_o_F77 \
14565 exclude_expsyms_F77 \
14566 include_expsyms_F77; do
14569 old_archive_cmds_F77 | \
14570 old_archive_from_new_cmds_F77 | \
14571 archive_cmds_F77 | \
14572 archive_expsym_cmds_F77 | \
14573 module_cmds_F77 | \
14574 module_expsym_cmds_F77 | \
14575 old_archive_from_expsyms_cmds_F77 | \
14576 export_symbols_cmds_F77 | \
14577 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14578 postinstall_cmds | postuninstall_cmds | \
14579 old_postinstall_cmds | old_postuninstall_cmds | \
14580 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14581 # Double-quote double-evaled strings.
14582 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14585 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14591 *'\$0 --fallback-echo"')
14592 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14598 cat <<__EOF__ >> "$cfgfile"
14599 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14601 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14603 # Shell to use when invoking shell scripts.
14606 # Whether or not to build shared libraries.
14607 build_libtool_libs=$enable_shared
14609 # Whether or not to build static libraries.
14610 build_old_libs=$enable_static
14612 # Whether or not to add -lc for building shared libraries.
14613 build_libtool_need_lc=$archive_cmds_need_lc_F77
14615 # Whether or not to disallow shared libs when runtime libs are static
14616 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14618 # Whether or not to optimize for fast installation.
14619 fast_install=$enable_fast_install
14622 host_alias=$host_alias
14625 # An echo program that does not interpret backslashes.
14630 AR_FLAGS=$lt_AR_FLAGS
14635 # A language-specific compiler.
14636 CC=$lt_compiler_F77
14638 # Is the compiler the GNU C compiler?
14644 # The linker used to build libraries.
14647 # Whether we need hard or soft links.
14650 # A BSD-compatible nm program.
14653 # A symbol stripping program
14656 # Used to examine libraries when file_magic_cmd begins "file"
14657 MAGIC_CMD=$MAGIC_CMD
14659 # Used on cygwin: DLL creation program.
14662 # Used on cygwin: object dumper.
14665 # Used on cygwin: assembler.
14668 # The name of the directory that contains temporary libtool files.
14671 # How to create reloadable object files.
14672 reload_flag=$lt_reload_flag
14673 reload_cmds=$lt_reload_cmds
14675 # How to pass a linker flag through the compiler.
14676 wl=$lt_lt_prog_compiler_wl_F77
14678 # Object file suffix (normally "o").
14679 objext="$ac_objext"
14681 # Old archive suffix (normally "a").
14684 # Shared library suffix (normally ".so").
14687 # Executable file suffix (normally "").
14690 # Additional compiler flags for building library objects.
14691 pic_flag=$lt_lt_prog_compiler_pic_F77
14694 # What is the maximum length of a command?
14695 max_cmd_len=$lt_cv_sys_max_cmd_len
14697 # Does compiler simultaneously support -c and -o options?
14698 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14700 # Must we lock files when doing compilation ?
14701 need_locks=$lt_need_locks
14703 # Do we need the lib prefix for modules?
14704 need_lib_prefix=$need_lib_prefix
14706 # Do we need a version for libraries?
14707 need_version=$need_version
14709 # Whether dlopen is supported.
14710 dlopen_support=$enable_dlopen
14712 # Whether dlopen of programs is supported.
14713 dlopen_self=$enable_dlopen_self
14715 # Whether dlopen of statically linked programs is supported.
14716 dlopen_self_static=$enable_dlopen_self_static
14718 # Compiler flag to prevent dynamic linking.
14719 link_static_flag=$lt_lt_prog_compiler_static_F77
14721 # Compiler flag to turn off builtin functions.
14722 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14724 # Compiler flag to allow reflexive dlopens.
14725 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14727 # Compiler flag to generate shared objects directly from archives.
14728 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14730 # Compiler flag to generate thread-safe objects.
14731 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14733 # Library versioning type.
14734 version_type=$version_type
14736 # Format of library name prefix.
14737 libname_spec=$lt_libname_spec
14739 # List of archive names. First name is the real one, the rest are links.
14740 # The last name is the one that the linker finds with -lNAME.
14741 library_names_spec=$lt_library_names_spec
14743 # The coded name of the library, if different from the real name.
14744 soname_spec=$lt_soname_spec
14746 # Commands used to build and install an old-style archive.
14748 old_archive_cmds=$lt_old_archive_cmds_F77
14749 old_postinstall_cmds=$lt_old_postinstall_cmds
14750 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14752 # Create an old-style archive from a shared archive.
14753 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14755 # Create a temporary old-style archive to link instead of a shared archive.
14756 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14758 # Commands used to build and install a shared archive.
14759 archive_cmds=$lt_archive_cmds_F77
14760 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14761 postinstall_cmds=$lt_postinstall_cmds
14762 postuninstall_cmds=$lt_postuninstall_cmds
14764 # Commands used to build a loadable module (assumed same as above if empty)
14765 module_cmds=$lt_module_cmds_F77
14766 module_expsym_cmds=$lt_module_expsym_cmds_F77
14768 # Commands to strip libraries.
14769 old_striplib=$lt_old_striplib
14770 striplib=$lt_striplib
14772 # Dependencies to place before the objects being linked to create a
14774 predep_objects=$lt_predep_objects_F77
14776 # Dependencies to place after the objects being linked to create a
14778 postdep_objects=$lt_postdep_objects_F77
14780 # Dependencies to place before the objects being linked to create a
14782 predeps=$lt_predeps_F77
14784 # Dependencies to place after the objects being linked to create a
14786 postdeps=$lt_postdeps_F77
14788 # The library search path used internally by the compiler when linking
14789 # a shared library.
14790 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14792 # Method to check whether dependent libraries are shared objects.
14793 deplibs_check_method=$lt_deplibs_check_method
14795 # Command to use when deplibs_check_method == file_magic.
14796 file_magic_cmd=$lt_file_magic_cmd
14798 # Flag that allows shared libraries with undefined symbols to be built.
14799 allow_undefined_flag=$lt_allow_undefined_flag_F77
14801 # Flag that forces no undefined symbols.
14802 no_undefined_flag=$lt_no_undefined_flag_F77
14804 # Commands used to finish a libtool library installation in a directory.
14805 finish_cmds=$lt_finish_cmds
14807 # Same as above, but a single script fragment to be evaled but not shown.
14808 finish_eval=$lt_finish_eval
14810 # Take the output of nm and produce a listing of raw symbols and C names.
14811 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14813 # Transform the output of nm in a proper C declaration
14814 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14816 # Transform the output of nm in a C name address pair
14817 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14819 # This is the shared library runtime path variable.
14820 runpath_var=$runpath_var
14822 # This is the shared library path variable.
14823 shlibpath_var=$shlibpath_var
14825 # Is shlibpath searched before the hard-coded library search path?
14826 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14828 # How to hardcode a shared library path into an executable.
14829 hardcode_action=$hardcode_action_F77
14831 # Whether we should hardcode library paths into libraries.
14832 hardcode_into_libs=$hardcode_into_libs
14834 # Flag to hardcode \$libdir into a binary during linking.
14835 # This must work even if \$libdir does not exist.
14836 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14838 # If ld is used when linking, flag to hardcode \$libdir into
14839 # a binary during linking. This must work even if \$libdir does
14841 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14843 # Whether we need a single -rpath flag with a separated argument.
14844 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14846 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14847 # resulting binary.
14848 hardcode_direct=$hardcode_direct_F77
14850 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14851 # resulting binary.
14852 hardcode_minus_L=$hardcode_minus_L_F77
14854 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14855 # the resulting binary.
14856 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14858 # Set to yes if building a shared library automatically hardcodes DIR into the library
14859 # and all subsequent libraries and executables linked against it.
14860 hardcode_automatic=$hardcode_automatic_F77
14862 # Variables whose values should be saved in libtool wrapper scripts and
14863 # restored at relink time.
14864 variables_saved_for_relink="$variables_saved_for_relink"
14866 # Whether libtool must link a program against all its dependency libraries.
14867 link_all_deplibs=$link_all_deplibs_F77
14869 # Compile-time system search path for libraries
14870 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14872 # Run-time system search path for libraries
14873 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14875 # Fix the shell variable \$srcfile for the compiler.
14876 fix_srcfile_path="$fix_srcfile_path_F77"
14878 # Set to yes if exported symbols are required.
14879 always_export_symbols=$always_export_symbols_F77
14881 # The commands to list exported symbols.
14882 export_symbols_cmds=$lt_export_symbols_cmds_F77
14884 # The commands to extract the exported symbol list from a shared archive.
14885 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14887 # Symbols that should not be listed in the preloaded symbols.
14888 exclude_expsyms=$lt_exclude_expsyms_F77
14890 # Symbols that must always be exported.
14891 include_expsyms=$lt_include_expsyms_F77
14893 # ### END LIBTOOL TAG CONFIG: $tagname
14899 # If there is no Makefile yet, we rely on a make rule to execute
14900 # `config.status --recheck' to rerun these tests and create the
14901 # libtool script then.
14902 test -f Makefile && make "$ltmain"
14907 ac_cpp='$CPP $CPPFLAGS'
14908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14920 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14924 # Source file extension for Java test sources.
14927 # Object file extension for compiled Java test sources.
14931 # Code to be used in simple compile tests
14932 lt_simple_compile_test_code="class foo {}\n"
14934 # Code to be used in simple link tests
14935 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
14937 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14939 # If no C compiler was specified, use CC.
14942 # Allow CC to be a program name with arguments.
14946 # Allow CC to be a program name with arguments.
14952 # GCJ did not exist at the time GCC didn't implicitly link libc in.
14953 archive_cmds_need_lc_GCJ=no
14956 ## There is no encapsulation within the following macros, do not change
14957 ## the running order or otherwise move them around unless you know exactly
14958 ## what you are doing...
14960 lt_prog_compiler_no_builtin_flag_GCJ=
14962 if test "$GCC" = yes; then
14963 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
14965 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
14966 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
14967 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14968 echo $ECHO_N "(cached) $ECHO_C" >&6
14970 lt_cv_prog_compiler_rtti_exceptions=no
14971 ac_outfile=conftest.$ac_objext
14972 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14973 lt_compiler_flag="-fno-rtti -fno-exceptions"
14974 # Insert the option either (1) after the last *FLAGS variable, or
14975 # (2) before a word containing "conftest.", or (3) at the end.
14976 # Note that $ac_compile itself does not contain backslashes and begins
14977 # with a dollar sign (not a hyphen), so the echo should work correctly.
14978 # The option is referenced via a variable to avoid confusing sed.
14979 lt_compile=`echo "$ac_compile" | $SED \
14980 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14981 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14982 -e 's:$: $lt_compiler_flag:'`
14983 (eval echo "\"\$as_me:14983: $lt_compile\"" >&5)
14984 (eval "$lt_compile" 2>conftest.err)
14986 cat conftest.err >&5
14987 echo "$as_me:14987: \$? = $ac_status" >&5
14988 if (exit $ac_status) && test -s "$ac_outfile"; then
14989 # The compiler can only warn and ignore the option if not recognized
14990 # So say no if there are warnings
14991 if test ! -s conftest.err; then
14992 lt_cv_prog_compiler_rtti_exceptions=yes
14998 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
14999 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15001 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15002 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15009 lt_prog_compiler_wl_GCJ=
15010 lt_prog_compiler_pic_GCJ=
15011 lt_prog_compiler_static_GCJ=
15013 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15014 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15016 if test "$GCC" = yes; then
15017 lt_prog_compiler_wl_GCJ='-Wl,'
15018 lt_prog_compiler_static_GCJ='-static'
15022 # All AIX code is PIC.
15023 if test "$host_cpu" = ia64; then
15024 # AIX 5 now supports IA64 processor
15025 lt_prog_compiler_static_GCJ='-Bstatic'
15030 # FIXME: we need at least 68020 code to build shared libraries, but
15031 # adding the `-m68020' flag to GCC prevents building anything better,
15033 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15036 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15037 # PIC is the default for these OSes.
15040 mingw* | pw32* | os2*)
15041 # This hack is so that the source file can tell whether it is being
15042 # built for inclusion in a dll (and should export symbols for example).
15043 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15046 darwin* | rhapsody*)
15047 # PIC is the default on this platform
15048 # Common symbols not allowed in MH_DYLIB files
15049 lt_prog_compiler_pic_GCJ='-fno-common'
15053 # Just because we use GCC doesn't mean we suddenly get shared libraries
15054 # on systems that don't support them.
15055 lt_prog_compiler_can_build_shared_GCJ=no
15060 if test -d /usr/nec; then
15061 lt_prog_compiler_pic_GCJ=-Kconform_pic
15066 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15067 # not for PA HP-UX.
15068 case "$host_cpu" in
15073 lt_prog_compiler_pic_GCJ='-fPIC'
15079 lt_prog_compiler_pic_GCJ='-fPIC'
15083 # PORTME Check for flag to pass linker flags through the system compiler.
15086 lt_prog_compiler_wl_GCJ='-Wl,'
15087 if test "$host_cpu" = ia64; then
15088 # AIX 5 now supports IA64 processor
15089 lt_prog_compiler_static_GCJ='-Bstatic'
15091 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15095 mingw* | pw32* | os2*)
15096 # This hack is so that the source file can tell whether it is being
15097 # built for inclusion in a dll (and should export symbols for example).
15098 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15101 hpux9* | hpux10* | hpux11*)
15102 lt_prog_compiler_wl_GCJ='-Wl,'
15103 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15104 # not for PA HP-UX.
15105 case "$host_cpu" in
15110 lt_prog_compiler_pic_GCJ='+Z'
15113 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15114 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15117 irix5* | irix6* | nonstopux*)
15118 lt_prog_compiler_wl_GCJ='-Wl,'
15119 # PIC (with -KPIC) is the default.
15120 lt_prog_compiler_static_GCJ='-non_shared'
15124 lt_prog_compiler_pic_GCJ='-KPIC'
15125 lt_prog_compiler_static_GCJ='-Bstatic'
15131 lt_prog_compiler_wl_GCJ='-Wl,'
15132 lt_prog_compiler_pic_GCJ='-KPIC'
15133 lt_prog_compiler_static_GCJ='-static'
15136 lt_prog_compiler_wl_GCJ='-Wl,'
15137 # All Alpha code is PIC.
15138 lt_prog_compiler_static_GCJ='-non_shared'
15143 osf3* | osf4* | osf5*)
15144 lt_prog_compiler_wl_GCJ='-Wl,'
15145 # All OSF/1 code is PIC.
15146 lt_prog_compiler_static_GCJ='-non_shared'
15150 lt_prog_compiler_pic_GCJ='-Kpic'
15151 lt_prog_compiler_static_GCJ='-dn'
15155 lt_prog_compiler_wl_GCJ='-Wl,'
15156 lt_prog_compiler_pic_GCJ='-KPIC'
15157 lt_prog_compiler_static_GCJ='-Bstatic'
15161 lt_prog_compiler_wl_GCJ='-Qoption ld '
15162 lt_prog_compiler_pic_GCJ='-PIC'
15163 lt_prog_compiler_static_GCJ='-Bstatic'
15166 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15167 lt_prog_compiler_wl_GCJ='-Wl,'
15168 lt_prog_compiler_pic_GCJ='-KPIC'
15169 lt_prog_compiler_static_GCJ='-Bstatic'
15173 if test -d /usr/nec ;then
15174 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15175 lt_prog_compiler_static_GCJ='-Bstatic'
15180 lt_prog_compiler_pic_GCJ='-pic'
15181 lt_prog_compiler_static_GCJ='-Bstatic'
15185 lt_prog_compiler_can_build_shared_GCJ=no
15190 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15191 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15194 # Check to make sure the PIC flag actually works.
15196 if test -n "$lt_prog_compiler_pic_GCJ"; then
15197 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15198 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15199 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15200 echo $ECHO_N "(cached) $ECHO_C" >&6
15202 lt_prog_compiler_pic_works_GCJ=no
15203 ac_outfile=conftest.$ac_objext
15204 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15205 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15206 # Insert the option either (1) after the last *FLAGS variable, or
15207 # (2) before a word containing "conftest.", or (3) at the end.
15208 # Note that $ac_compile itself does not contain backslashes and begins
15209 # with a dollar sign (not a hyphen), so the echo should work correctly.
15210 # The option is referenced via a variable to avoid confusing sed.
15211 lt_compile=`echo "$ac_compile" | $SED \
15212 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15213 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15214 -e 's:$: $lt_compiler_flag:'`
15215 (eval echo "\"\$as_me:15215: $lt_compile\"" >&5)
15216 (eval "$lt_compile" 2>conftest.err)
15218 cat conftest.err >&5
15219 echo "$as_me:15219: \$? = $ac_status" >&5
15220 if (exit $ac_status) && test -s "$ac_outfile"; then
15221 # The compiler can only warn and ignore the option if not recognized
15222 # So say no if there are warnings
15223 if test ! -s conftest.err; then
15224 lt_prog_compiler_pic_works_GCJ=yes
15230 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15231 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15233 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15234 case $lt_prog_compiler_pic_GCJ in
15236 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15239 lt_prog_compiler_pic_GCJ=
15240 lt_prog_compiler_can_build_shared_GCJ=no
15245 # For platforms which do not support PIC, -DPIC is meaningless:
15247 lt_prog_compiler_pic_GCJ=
15250 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15254 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15255 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15256 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15259 lt_cv_prog_compiler_c_o_GCJ=no
15260 $rm -r conftest 2>/dev/null
15264 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15266 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15267 # that will create temporary files in the current directory regardless of
15268 # the output directory. Thus, making CWD read-only will cause this test
15269 # to fail, enabling locking or at least warning the user not to do parallel
15273 lt_compiler_flag="-o out/conftest2.$ac_objext"
15274 # Insert the option either (1) after the last *FLAGS variable, or
15275 # (2) before a word containing "conftest.", or (3) at the end.
15276 # Note that $ac_compile itself does not contain backslashes and begins
15277 # with a dollar sign (not a hyphen), so the echo should work correctly.
15278 lt_compile=`echo "$ac_compile" | $SED \
15279 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15280 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15281 -e 's:$: $lt_compiler_flag:'`
15282 (eval echo "\"\$as_me:15282: $lt_compile\"" >&5)
15283 (eval "$lt_compile" 2>out/conftest.err)
15285 cat out/conftest.err >&5
15286 echo "$as_me:15286: \$? = $ac_status" >&5
15287 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15289 # The compiler can only warn and ignore the option if not recognized
15290 # So say no if there are warnings
15291 if test ! -s out/conftest.err; then
15292 lt_cv_prog_compiler_c_o_GCJ=yes
15296 $rm conftest* out/*
15303 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15304 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15307 hard_links="nottested"
15308 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15309 # do not overwrite the value of need_locks provided by the user
15310 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15311 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15314 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15316 ln conftest.a conftest.b 2>&5 || hard_links=no
15317 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15318 echo "$as_me:$LINENO: result: $hard_links" >&5
15319 echo "${ECHO_T}$hard_links" >&6
15320 if test "$hard_links" = no; then
15321 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15322 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15329 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15330 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15333 allow_undefined_flag_GCJ=
15334 enable_shared_with_static_runtimes_GCJ=no
15336 archive_expsym_cmds_GCJ=
15337 old_archive_From_new_cmds_GCJ=
15338 old_archive_from_expsyms_cmds_GCJ=
15339 export_dynamic_flag_spec_GCJ=
15340 whole_archive_flag_spec_GCJ=
15341 thread_safe_flag_spec_GCJ=
15342 hardcode_libdir_flag_spec_GCJ=
15343 hardcode_libdir_flag_spec_ld_GCJ=
15344 hardcode_libdir_separator_GCJ=
15345 hardcode_direct_GCJ=no
15346 hardcode_minus_L_GCJ=no
15347 hardcode_shlibpath_var_GCJ=unsupported
15348 link_all_deplibs_GCJ=unknown
15349 hardcode_automatic_GCJ=no
15351 module_expsym_cmds_GCJ=
15352 always_export_symbols_GCJ=no
15353 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15354 # include_expsyms should be a list of space-separated symbols to be *always*
15355 # included in the symbol list
15356 include_expsyms_GCJ=
15357 # exclude_expsyms can be an extended regexp of symbols to exclude
15358 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15359 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15360 # as well as any symbol that contains `d'.
15361 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15362 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15363 # platforms (ab)use it in PIC code, but their linkers get confused if
15364 # the symbol is explicitly referenced. Since portable code cannot
15365 # rely on this symbol name, it's probably fine to never include it in
15366 # preloaded symbol tables.
15367 extract_expsyms_cmds=
15370 cygwin* | mingw* | pw32*)
15371 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15372 # When not using gcc, we currently assume that we are using
15373 # Microsoft Visual C++.
15374 if test "$GCC" != yes; then
15384 if test "$with_gnu_ld" = yes; then
15385 # If archive_cmds runs LD, not CC, wlarc should be empty
15388 # See if GNU ld supports shared libraries.
15390 aix3* | aix4* | aix5*)
15391 # On AIX/PPC, the GNU linker is very broken
15392 if test "$host_cpu" != ia64; then
15396 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15397 *** to be unable to reliably create shared libraries on AIX.
15398 *** Therefore, libtool is disabling shared libraries support. If you
15399 *** really care for shared libraries, you may want to modify your PATH
15400 *** so that a non-GNU linker is found, and then restart.
15407 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)'
15408 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15409 hardcode_minus_L_GCJ=yes
15411 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15412 # that the semantics of dynamic libraries on AmigaOS, at least up
15413 # to version 4, is to share data among multiple programs linked
15414 # with the same dynamic library. Since this doesn't match the
15415 # behavior of shared libraries on other platforms, we can't use
15421 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15422 allow_undefined_flag_GCJ=unsupported
15423 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15424 # support --undefined. This deserves some investigation. FIXME
15425 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15431 cygwin* | mingw* | pw32*)
15432 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15433 # as there is no search path for DLLs.
15434 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15435 allow_undefined_flag_GCJ=unsupported
15436 always_export_symbols_GCJ=no
15437 enable_shared_with_static_runtimes_GCJ=yes
15438 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15440 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15441 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15442 # If the export-symbols file already is a .def file (1st line
15443 # is EXPORTS), use it as is; otherwise, prepend...
15444 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15445 cp $export_symbols $output_objdir/$soname.def;
15447 echo EXPORTS > $output_objdir/$soname.def;
15448 cat $export_symbols >> $output_objdir/$soname.def;
15450 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15457 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15458 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15461 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15462 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15467 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15471 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15472 *** create shared libraries on Solaris systems. Therefore, libtool
15473 *** is disabling shared libraries support. We urge you to upgrade GNU
15474 *** binutils to release 2.9.1 or newer. Another option is to modify
15475 *** your PATH or compiler configuration so that the native linker is
15476 *** used, and then restart.
15479 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15480 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15481 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15488 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15490 hardcode_direct_GCJ=yes
15491 hardcode_shlibpath_var_GCJ=no
15495 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15496 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15497 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15504 if test "$ld_shlibs_GCJ" = yes; then
15505 runpath_var=LD_RUN_PATH
15506 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15507 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15508 # ancient GNU ld didn't support --whole-archive et. al.
15509 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15510 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15512 whole_archive_flag_spec_GCJ=
15516 # PORTME fill in a description of your system's linker (not GNU ld)
15519 allow_undefined_flag_GCJ=unsupported
15520 always_export_symbols_GCJ=yes
15521 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'
15522 # Note: this linker hardcodes the directories in LIBPATH if there
15523 # are no directories specified by -L.
15524 hardcode_minus_L_GCJ=yes
15525 if test "$GCC" = yes && test -z "$link_static_flag"; then
15526 # Neither direct hardcoding nor static linking is supported with a
15528 hardcode_direct_GCJ=unsupported
15533 if test "$host_cpu" = ia64; then
15534 # On IA64, the linker does run time linking by default, so we don't
15535 # have to do anything special.
15536 aix_use_runtimelinking=no
15537 exp_sym_flag='-Bexport'
15540 # If we're using GNU nm, then we don't want the "-C" option.
15541 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15542 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15543 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'
15545 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'
15547 aix_use_runtimelinking=no
15549 # Test if we are trying to use run time linking or normal
15550 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15551 # need to do runtime linking.
15552 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15553 for ld_flag in $LDFLAGS; do
15554 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15555 aix_use_runtimelinking=yes
15561 exp_sym_flag='-bexport'
15562 no_entry_flag='-bnoentry'
15565 # When large executables or shared objects are built, AIX ld can
15566 # have problems creating the table of contents. If linking a library
15567 # or program results in "error TOC overflow" add -mminimal-toc to
15568 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15569 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15571 archive_cmds_GCJ=''
15572 hardcode_direct_GCJ=yes
15573 hardcode_libdir_separator_GCJ=':'
15574 link_all_deplibs_GCJ=yes
15576 if test "$GCC" = yes; then
15577 case $host_os in aix4.012|aix4.012.*)
15578 # We only want to do this on AIX 4.2 and lower, the check
15579 # below for broken collect2 doesn't work under 4.3+
15580 collect2name=`${CC} -print-prog-name=collect2`
15581 if test -f "$collect2name" && \
15582 strings "$collect2name" | grep resolve_lib_name >/dev/null
15584 # We have reworked collect2
15585 hardcode_direct_GCJ=yes
15587 # We have old collect2
15588 hardcode_direct_GCJ=unsupported
15589 # It fails to find uninstalled libraries when the uninstalled
15590 # path is not listed in the libpath. Setting hardcode_minus_L
15591 # to unsupported forces relinking
15592 hardcode_minus_L_GCJ=yes
15593 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15594 hardcode_libdir_separator_GCJ=
15597 shared_flag='-shared'
15600 if test "$host_cpu" = ia64; then
15601 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15602 # chokes on -Wl,-G. The following line is correct:
15605 if test "$aix_use_runtimelinking" = yes; then
15606 shared_flag='${wl}-G'
15608 shared_flag='${wl}-bM:SRE'
15613 # It seems that -bexpall does not export symbols beginning with
15614 # underscore (_), so it is better to generate a list of symbols to export.
15615 always_export_symbols_GCJ=yes
15616 if test "$aix_use_runtimelinking" = yes; then
15617 # Warning - without using the other runtime loading flags (-brtl),
15618 # -berok will link without error, but may produce a broken library.
15619 allow_undefined_flag_GCJ='-berok'
15620 # Determine the default libpath from the value encoded in an empty executable.
15621 cat >conftest.$ac_ext <<_ACEOF
15622 #line $LINENO "configure"
15625 cat confdefs.h >>conftest.$ac_ext
15626 cat >>conftest.$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15637 rm -f conftest.$ac_objext conftest$ac_exeext
15638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15639 (eval $ac_link) 2>&5
15641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15642 (exit $ac_status); } &&
15643 { ac_try='test -s conftest$ac_exeext'
15644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15645 (eval $ac_try) 2>&5
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); }; }; then
15650 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15652 # Check for a 64-bit object if we didn't find anything.
15653 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; }
15656 echo "$as_me: failed program was:" >&5
15657 sed 's/^/| /' conftest.$ac_ext >&5
15660 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15661 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15663 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15664 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"
15666 if test "$host_cpu" = ia64; then
15667 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15668 allow_undefined_flag_GCJ="-z nodefs"
15669 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"
15671 # Determine the default libpath from the value encoded in an empty executable.
15672 cat >conftest.$ac_ext <<_ACEOF
15673 #line $LINENO "configure"
15676 cat confdefs.h >>conftest.$ac_ext
15677 cat >>conftest.$ac_ext <<_ACEOF
15678 /* end confdefs.h. */
15688 rm -f conftest.$ac_objext conftest$ac_exeext
15689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15690 (eval $ac_link) 2>&5
15692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15693 (exit $ac_status); } &&
15694 { ac_try='test -s conftest$ac_exeext'
15695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15696 (eval $ac_try) 2>&5
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); }; }; then
15701 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15703 # Check for a 64-bit object if we didn't find anything.
15704 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; }
15707 echo "$as_me: failed program was:" >&5
15708 sed 's/^/| /' conftest.$ac_ext >&5
15711 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15712 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15714 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15715 # Warning - without using the other run time loading flags,
15716 # -berok will link without error, but may produce a broken library.
15717 no_undefined_flag_GCJ=' ${wl}-bernotok'
15718 allow_undefined_flag_GCJ=' ${wl}-berok'
15719 # -bexpall does not export symbols beginning with underscore (_)
15720 always_export_symbols_GCJ=yes
15721 # Exported symbols can be pulled into shared objects from archives
15722 whole_archive_flag_spec_GCJ=' '
15723 archive_cmds_need_lc_GCJ=yes
15724 # This is similar to how AIX traditionally builds it's shared libraries.
15725 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'
15731 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)'
15732 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15733 hardcode_minus_L_GCJ=yes
15734 # see comment about different semantics on the GNU ld section
15739 export_dynamic_flag_spec_GCJ=-rdynamic
15742 cygwin* | mingw* | pw32*)
15743 # When not using gcc, we currently assume that we are using
15744 # Microsoft Visual C++.
15745 # hardcode_libdir_flag_spec is actually meaningless, as there is
15746 # no search path for DLLs.
15747 hardcode_libdir_flag_spec_GCJ=' '
15748 allow_undefined_flag_GCJ=unsupported
15749 # Tell ltmain to make .lib files, not .a files.
15751 # Tell ltmain to make .dll files, not .so files.
15753 # FIXME: Setting linknames here is a bad hack.
15754 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15755 # The linker will automatically build a .lib file if we build a DLL.
15756 old_archive_From_new_cmds_GCJ='true'
15757 # FIXME: Should let the user specify the lib program.
15758 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15759 fix_srcfile_path='`cygpath -w "$srcfile"`'
15760 enable_shared_with_static_runtimes_GCJ=yes
15763 darwin* | rhapsody*)
15764 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15765 archive_cmds_need_lc_GCJ=no
15767 rhapsody* | darwin1.[012])
15768 allow_undefined_flag_GCJ='-undefined suppress'
15771 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15774 # FIXME: Relying on posixy $() will cause problems for
15775 # cross-compilation, but unfortunately the echo tests do not
15776 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15777 # `"' quotes if we put them in here... so don't!
15778 lt_int_apple_cc_single_mod=no
15779 output_verbose_link_cmd='echo'
15780 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15781 lt_int_apple_cc_single_mod=yes
15783 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15784 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15786 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'
15788 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15789 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15790 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15791 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}'
15793 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}'
15795 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}'
15796 hardcode_direct_GCJ=no
15797 hardcode_automatic_GCJ=yes
15798 hardcode_shlibpath_var_GCJ=unsupported
15799 whole_archive_flag_spec_GCJ='-all_load $convenience'
15800 link_all_deplibs_GCJ=yes
15805 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15806 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15807 hardcode_shlibpath_var_GCJ=no
15814 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15815 # support. Future versions do this automatically, but an explicit c++rt0.o
15816 # does not break anything, and helps significantly (at the cost of a little
15819 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15820 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15821 hardcode_direct_GCJ=yes
15822 hardcode_shlibpath_var_GCJ=no
15825 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15827 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15828 hardcode_direct_GCJ=yes
15829 hardcode_minus_L_GCJ=yes
15830 hardcode_shlibpath_var_GCJ=no
15833 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15835 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15836 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15837 hardcode_direct_GCJ=yes
15838 hardcode_shlibpath_var_GCJ=no
15842 if test "$GCC" = yes; then
15843 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'
15845 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'
15847 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15848 hardcode_libdir_separator_GCJ=:
15849 hardcode_direct_GCJ=yes
15851 # hardcode_minus_L: Not really in the search PATH,
15852 # but as the default location of the library.
15853 hardcode_minus_L_GCJ=yes
15854 export_dynamic_flag_spec_GCJ='${wl}-E'
15858 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15859 case "$host_cpu" in
15861 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15864 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15868 case "$host_cpu" in
15870 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15873 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15877 if test "$with_gnu_ld" = no; then
15878 case "$host_cpu" in
15880 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15881 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15882 hardcode_libdir_separator_GCJ=:
15883 hardcode_direct_GCJ=no
15884 hardcode_shlibpath_var_GCJ=no
15887 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15888 hardcode_direct_GCJ=no
15889 hardcode_shlibpath_var_GCJ=no
15891 # hardcode_minus_L: Not really in the search PATH,
15892 # but as the default location of the library.
15893 hardcode_minus_L_GCJ=yes
15896 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15897 hardcode_libdir_separator_GCJ=:
15898 hardcode_direct_GCJ=yes
15899 export_dynamic_flag_spec_GCJ='${wl}-E'
15901 # hardcode_minus_L: Not really in the search PATH,
15902 # but as the default location of the library.
15903 hardcode_minus_L_GCJ=yes
15909 irix5* | irix6* | nonstopux*)
15910 if test "$GCC" = yes; then
15911 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'
15913 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'
15914 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15916 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15917 hardcode_libdir_separator_GCJ=:
15918 link_all_deplibs_GCJ=yes
15922 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15923 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15925 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15927 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15928 hardcode_direct_GCJ=yes
15929 hardcode_shlibpath_var_GCJ=no
15933 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15934 hardcode_direct_GCJ=yes
15935 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15936 hardcode_libdir_separator_GCJ=:
15937 hardcode_shlibpath_var_GCJ=no
15941 hardcode_direct_GCJ=yes
15942 hardcode_shlibpath_var_GCJ=no
15943 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15944 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15945 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15946 export_dynamic_flag_spec_GCJ='${wl}-E'
15949 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15950 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15951 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15954 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15955 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15962 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15963 hardcode_minus_L_GCJ=yes
15964 allow_undefined_flag_GCJ=unsupported
15965 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'
15966 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15970 if test "$GCC" = yes; then
15971 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
15972 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'
15974 allow_undefined_flag_GCJ=' -expect_unresolved \*'
15975 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'
15977 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15978 hardcode_libdir_separator_GCJ=:
15981 osf4* | osf5*) # as osf3* with the addition of -msym flag
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}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15985 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15987 allow_undefined_flag_GCJ=' -expect_unresolved \*'
15988 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'
15989 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~
15990 $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'
15992 # Both c and cxx compiler support -rpath directly
15993 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
15995 hardcode_libdir_separator_GCJ=:
15999 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16000 hardcode_shlibpath_var_GCJ=no
16001 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16002 runpath_var=LD_RUN_PATH
16003 hardcode_runpath_var=yes
16007 no_undefined_flag_GCJ=' -z text'
16008 if test "$GCC" = yes; then
16009 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16010 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16011 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16013 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16014 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16015 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16017 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16018 hardcode_shlibpath_var_GCJ=no
16020 solaris2.[0-5] | solaris2.[0-5].*) ;;
16021 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16022 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16024 link_all_deplibs_GCJ=yes
16028 if test "x$host_vendor" = xsequent; then
16029 # Use $CC to link under sequent, because it throws in some extra .o
16030 # files that make .init and .fini sections work.
16031 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16033 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16035 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16036 hardcode_direct_GCJ=yes
16037 hardcode_minus_L_GCJ=yes
16038 hardcode_shlibpath_var_GCJ=no
16042 case $host_vendor in
16044 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16045 hardcode_direct_GCJ=yes # is this really true???
16048 ## LD is ld it makes a PLAMLIB
16049 ## CC just makes a GrossModule.
16050 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16051 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16052 hardcode_direct_GCJ=no
16055 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16056 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16059 runpath_var='LD_RUN_PATH'
16060 hardcode_shlibpath_var_GCJ=no
16064 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16065 hardcode_shlibpath_var_GCJ=no
16066 export_dynamic_flag_spec_GCJ='-Bexport'
16070 if test -d /usr/nec; then
16071 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16072 hardcode_shlibpath_var_GCJ=no
16073 runpath_var=LD_RUN_PATH
16074 hardcode_runpath_var=yes
16080 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16081 hardcode_direct_GCJ=yes
16082 hardcode_minus_L_GCJ=no
16083 hardcode_shlibpath_var_GCJ=no
16084 hardcode_runpath_var=yes
16085 runpath_var=LD_RUN_PATH
16088 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16089 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16090 if test "$GCC" = yes; then
16091 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16093 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16095 runpath_var='LD_RUN_PATH'
16096 hardcode_shlibpath_var_GCJ=no
16100 no_undefined_flag_GCJ=' -z text'
16101 # $CC -shared without GNU ld will not create a library from C++
16102 # object files and a static libstdc++, better avoid it by now
16103 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16104 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16105 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16106 hardcode_libdir_flag_spec_GCJ=
16107 hardcode_shlibpath_var_GCJ=no
16108 runpath_var='LD_RUN_PATH'
16112 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16113 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16114 hardcode_shlibpath_var_GCJ=no
16123 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16124 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16125 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16127 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16128 if test "$GCC" = yes; then
16129 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16133 # Do we need to explicitly link libc?
16135 case "x$archive_cmds_need_lc_GCJ" in
16137 # Assume -lc should be added
16138 archive_cmds_need_lc_GCJ=yes
16140 if test "$enable_shared" = yes && test "$GCC" = yes; then
16141 case $archive_cmds_GCJ in
16143 # FIXME: we may have to deal with multi-command sequences.
16146 # Test whether the compiler implicitly links with -lc since on some
16147 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16148 # to ld, don't add -lc before -lgcc.
16149 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16150 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16152 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16155 (eval $ac_compile) 2>&5
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); } 2>conftest.err; then
16161 libobjs=conftest.$ac_objext
16163 wl=$lt_prog_compiler_wl_GCJ
16169 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16170 allow_undefined_flag_GCJ=
16171 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16172 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); }
16177 archive_cmds_need_lc_GCJ=no
16179 archive_cmds_need_lc_GCJ=yes
16181 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16183 cat conftest.err 1>&5
16186 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16187 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16194 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16195 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16196 hardcode_action_GCJ=
16197 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16198 test -n "$runpath_var GCJ" || \
16199 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16201 # We can hardcode non-existant directories.
16202 if test "$hardcode_direct_GCJ" != no &&
16203 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16204 # have to relink, otherwise we might link with an installed library
16205 # when we should be linking with a yet-to-be-installed one
16206 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16207 test "$hardcode_minus_L_GCJ" != no; then
16208 # Linking always hardcodes the temporary library directory.
16209 hardcode_action_GCJ=relink
16211 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16212 hardcode_action_GCJ=immediate
16215 # We cannot hardcode anything, or else we can only hardcode existing
16217 hardcode_action_GCJ=unsupported
16219 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16220 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16222 if test "$hardcode_action_GCJ" = relink; then
16223 # Fast installation is not supported
16224 enable_fast_install=no
16225 elif test "$shlibpath_overrides_runpath" = yes ||
16226 test "$enable_shared" = no; then
16227 # Fast installation is not necessary
16228 enable_fast_install=needless
16233 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16234 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16235 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16236 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16237 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16238 echo "$as_me:$LINENO: result: yes" >&5
16239 echo "${ECHO_T}yes" >&6
16241 # FIXME - insert some real tests, host_os isn't really good enough
16244 if test -n "$STRIP" ; then
16245 striplib="$STRIP -x"
16246 echo "$as_me:$LINENO: result: yes" >&5
16247 echo "${ECHO_T}yes" >&6
16249 echo "$as_me:$LINENO: result: no" >&5
16250 echo "${ECHO_T}no" >&6
16254 echo "$as_me:$LINENO: result: no" >&5
16255 echo "${ECHO_T}no" >&6
16260 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16261 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16262 library_names_spec=
16263 libname_spec='lib$name'
16267 postuninstall_cmds=
16271 shlibpath_overrides_runpath=unknown
16273 dynamic_linker="$host_os ld.so"
16274 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16275 if test "$GCC" = yes; then
16276 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16277 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16278 # if the path contains ";" then we assume it to be the separator
16279 # otherwise default to the standard path separator (i.e. ":") - it is
16280 # assumed that no part of a normal pathname contains ";" but that should
16281 # okay in the real world where ";" in dirpaths is itself problematic.
16282 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16284 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16287 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16289 need_lib_prefix=unknown
16290 hardcode_into_libs=no
16292 # when you set need_version to no, make sure it does not cause -set_version
16293 # flags to be left without arguments
16294 need_version=unknown
16299 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16300 shlibpath_var=LIBPATH
16302 # AIX 3 has no versioning support, so we append a major version to the name.
16303 soname_spec='${libname}${release}${shared_ext}$major'
16310 hardcode_into_libs=yes
16311 if test "$host_cpu" = ia64; then
16312 # AIX 5 supports IA64
16313 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16314 shlibpath_var=LD_LIBRARY_PATH
16316 # With GCC up to 2.95.x, collect2 would create an import file
16317 # for dependence libraries. The import file would start with
16318 # the line `#! .'. This would cause the generated library to
16319 # depend on `.', always an invalid library. This was fixed in
16320 # development snapshots of GCC prior to 3.0.
16322 aix4 | aix4.[01] | aix4.[01].*)
16323 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16325 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16328 can_build_shared=no
16332 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16333 # soname into executable. Probably we can add versioning support to
16334 # collect2, so additional links can be useful in future.
16335 if test "$aix_use_runtimelinking" = yes; then
16336 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16337 # instead of lib<name>.a to let people know that these are not
16338 # typical AIX shared libraries.
16339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16341 # We preserve .a as extension for shared libraries through AIX4.2
16342 # and later when we are not doing run time linking.
16343 library_names_spec='${libname}${release}.a $libname.a'
16344 soname_spec='${libname}${release}${shared_ext}$major'
16346 shlibpath_var=LIBPATH
16351 library_names_spec='$libname.ixlibrary $libname.a'
16352 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16353 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'
16357 library_names_spec='${libname}${shared_ext}'
16358 dynamic_linker="$host_os ld.so"
16359 shlibpath_var=LIBRARY_PATH
16365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16366 soname_spec='${libname}${release}${shared_ext}$major'
16367 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16368 shlibpath_var=LD_LIBRARY_PATH
16369 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16370 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16371 # the default ld.so.conf also contains /usr/contrib/lib and
16372 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16373 # libtool to hard-code these into programs
16376 cygwin* | mingw* | pw32*)
16377 version_type=windows
16382 case $GCC,$host_os in
16383 yes,cygwin* | yes,mingw* | yes,pw32*)
16384 library_names_spec='$libname.dll.a'
16385 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16386 postinstall_cmds='base_file=`basename \${file}`~
16387 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16388 dldir=$destdir/`dirname \$dlpath`~
16389 test -d \$dldir || mkdir -p \$dldir~
16390 $install_prog $dir/$dlname \$dldir/$dlname'
16391 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16392 dlpath=$dir/\$dldll~
16394 shlibpath_overrides_runpath=yes
16398 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16399 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16400 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16403 # MinGW DLLs use traditional 'lib' prefix
16404 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16405 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16406 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16407 # It is most probably a Windows format PATH printed by
16408 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16409 # path with ; separators, and with drive letters. We can handle the
16410 # drive letters (cygwin fileutils understands them), so leave them,
16411 # especially as we might pass files found there to a mingw objdump,
16412 # which wouldn't understand a cygwinified path. Ahh.
16413 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16415 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16419 # pw32 DLLs use 'pw' prefix rather than 'lib'
16420 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16426 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16429 dynamic_linker='Win32 ld.exe'
16430 # FIXME: first we should search . and the directory the executable is in
16434 darwin* | rhapsody*)
16435 dynamic_linker="$host_os dyld"
16436 version_type=darwin
16439 # FIXME: Relying on posixy $() will cause problems for
16440 # cross-compilation, but unfortunately the echo tests do not
16441 # yet detect zsh echo's removal of \ escapes.
16442 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16443 soname_spec='${libname}${release}${major}$shared_ext'
16444 shlibpath_overrides_runpath=yes
16445 shlibpath_var=DYLD_LIBRARY_PATH
16446 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16447 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16448 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16449 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"`
16451 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16459 soname_spec='${libname}${release}${shared_ext}$major'
16460 shlibpath_var=LD_LIBRARY_PATH
16468 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16469 version_type=freebsd-$objformat
16470 case $version_type in
16472 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16477 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16481 shlibpath_var=LD_LIBRARY_PATH
16484 shlibpath_overrides_runpath=yes
16486 freebsd3.01* | freebsdelf3.01*)
16487 shlibpath_overrides_runpath=yes
16488 hardcode_into_libs=yes
16491 shlibpath_overrides_runpath=no
16492 hardcode_into_libs=yes
16501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16502 soname_spec='${libname}${release}${shared_ext}$major'
16503 shlibpath_var=LD_LIBRARY_PATH
16504 hardcode_into_libs=yes
16507 hpux9* | hpux10* | hpux11*)
16508 # Give a soname corresponding to the major version so that dld.sl refuses to
16509 # link against other versions.
16513 case "$host_cpu" in
16516 hardcode_into_libs=yes
16517 dynamic_linker="$host_os dld.so"
16518 shlibpath_var=LD_LIBRARY_PATH
16519 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16521 soname_spec='${libname}${release}${shared_ext}$major'
16522 if test "X$HPUX_IA64_MODE" = X32; then
16523 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16525 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16527 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16531 hardcode_into_libs=yes
16532 dynamic_linker="$host_os dld.sl"
16533 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16534 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16536 soname_spec='${libname}${release}${shared_ext}$major'
16537 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16538 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16542 dynamic_linker="$host_os dld.sl"
16543 shlibpath_var=SHLIB_PATH
16544 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16546 soname_spec='${libname}${release}${shared_ext}$major'
16549 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16550 postinstall_cmds='chmod 555 $lib'
16553 irix5* | irix6* | nonstopux*)
16555 nonstopux*) version_type=nonstopux ;;
16557 if test "$lt_cv_prog_gnu_ld" = yes; then
16565 soname_spec='${libname}${release}${shared_ext}$major'
16566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16568 irix5* | nonstopux*)
16569 libsuff= shlibsuff=
16572 case $LD in # libtool.m4 will add one of these switches to LD
16573 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16574 libsuff= shlibsuff= libmagic=32-bit;;
16575 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16576 libsuff=32 shlibsuff=N32 libmagic=N32;;
16577 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16578 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16579 *) libsuff= shlibsuff= libmagic=never-match;;
16583 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16584 shlibpath_overrides_runpath=no
16585 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16586 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16587 hardcode_into_libs=yes
16590 # No shared lib support for Linux oldld, aout, or coff.
16591 linux*oldld* | linux*aout* | linux*coff*)
16595 # This must be Linux ELF.
16600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16601 soname_spec='${libname}${release}${shared_ext}$major'
16602 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16603 shlibpath_var=LD_LIBRARY_PATH
16604 shlibpath_overrides_runpath=no
16605 # This implies no fast_install, which is unacceptable.
16606 # Some rework will be needed to allow for fast_install
16607 # before this can be enabled.
16608 hardcode_into_libs=yes
16610 # We used to test for /lib/ld.so.1 and disable shared libraries on
16611 # powerpc, because MkLinux only supported shared libraries with the
16612 # GNU dynamic linker. Since this was broken with cross compilers,
16613 # most powerpc-linux boxes support dynamic linking these days and
16614 # people can always --disable-shared, the test was removed, and we
16615 # assume the GNU/Linux dynamic linker is in use.
16616 dynamic_linker='GNU/Linux ld.so'
16623 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16625 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16626 dynamic_linker='NetBSD (a.out) ld.so'
16628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16629 soname_spec='${libname}${release}${shared_ext}$major'
16630 dynamic_linker='NetBSD ld.elf_so'
16632 shlibpath_var=LD_LIBRARY_PATH
16633 shlibpath_overrides_runpath=yes
16634 hardcode_into_libs=yes
16639 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16640 shlibpath_var=LD_LIBRARY_PATH
16641 shlibpath_overrides_runpath=yes
16648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16649 soname_spec='${libname}${release}${shared_ext}$major'
16650 shlibpath_var=LD_LIBRARY_PATH
16651 shlibpath_overrides_runpath=yes
16658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16659 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16660 shlibpath_var=LD_LIBRARY_PATH
16661 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16663 openbsd2.[89] | openbsd2.[89].*)
16664 shlibpath_overrides_runpath=no
16667 shlibpath_overrides_runpath=yes
16671 shlibpath_overrides_runpath=yes
16676 libname_spec='$name'
16679 library_names_spec='$libname${shared_ext} $libname.a'
16680 dynamic_linker='OS/2 ld.exe'
16681 shlibpath_var=LIBPATH
16684 osf3* | osf4* | osf5*)
16688 soname_spec='${libname}${release}${shared_ext}$major'
16689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16690 shlibpath_var=LD_LIBRARY_PATH
16691 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16692 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16697 soname_spec='${libname}${release}${shared_ext}$major'
16698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16699 shlibpath_var=LD_LIBRARY_PATH
16706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16707 soname_spec='${libname}${release}${shared_ext}$major'
16708 shlibpath_var=LD_LIBRARY_PATH
16709 shlibpath_overrides_runpath=yes
16710 hardcode_into_libs=yes
16711 # ldd complains unless libraries are executable
16712 postinstall_cmds='chmod +x $lib'
16717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16718 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16719 shlibpath_var=LD_LIBRARY_PATH
16720 shlibpath_overrides_runpath=yes
16721 if test "$with_gnu_ld" = yes; then
16727 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16730 soname_spec='${libname}${release}${shared_ext}$major'
16731 shlibpath_var=LD_LIBRARY_PATH
16732 case $host_vendor in
16734 shlibpath_overrides_runpath=no
16736 export_dynamic_flag_spec='${wl}-Blargedynsym'
16737 runpath_var=LD_RUN_PATH
16745 shlibpath_overrides_runpath=no
16746 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16752 if test -d /usr/nec ;then
16754 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16755 soname_spec='$libname${shared_ext}.$major'
16756 shlibpath_var=LD_LIBRARY_PATH
16762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16763 soname_spec='${libname}${release}${shared_ext}$major'
16764 shlibpath_var=LD_LIBRARY_PATH
16771 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16772 echo "${ECHO_T}$dynamic_linker" >&6
16773 test "$dynamic_linker" = no && can_build_shared=no
16775 if test "x$enable_dlopen" != xyes; then
16776 enable_dlopen=unknown
16777 enable_dlopen_self=unknown
16778 enable_dlopen_self_static=unknown
16785 lt_cv_dlopen="load_add_on"
16787 lt_cv_dlopen_self=yes
16791 lt_cv_dlopen="LoadLibrary"
16796 lt_cv_dlopen="dlopen"
16801 # if libdl is installed we need to link against it
16802 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16803 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16804 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16805 echo $ECHO_N "(cached) $ECHO_C" >&6
16807 ac_check_lib_save_LIBS=$LIBS
16809 cat >conftest.$ac_ext <<_ACEOF
16810 #line $LINENO "configure"
16813 cat confdefs.h >>conftest.$ac_ext
16814 cat >>conftest.$ac_ext <<_ACEOF
16815 /* end confdefs.h. */
16817 /* Override any gcc2 internal prototype to avoid an error. */
16821 /* We use char because int might match the return type of a gcc2
16822 builtin and then its argument prototype would still apply. */
16832 rm -f conftest.$ac_objext conftest$ac_exeext
16833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16834 (eval $ac_link) 2>&5
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); } &&
16838 { ac_try='test -s conftest$ac_exeext'
16839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16840 (eval $ac_try) 2>&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); }; }; then
16844 ac_cv_lib_dl_dlopen=yes
16846 echo "$as_me: failed program was:" >&5
16847 sed 's/^/| /' conftest.$ac_ext >&5
16849 ac_cv_lib_dl_dlopen=no
16851 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16852 LIBS=$ac_check_lib_save_LIBS
16854 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16855 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16856 if test $ac_cv_lib_dl_dlopen = yes; then
16857 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16860 lt_cv_dlopen="dyld"
16862 lt_cv_dlopen_self=yes
16869 echo "$as_me:$LINENO: checking for shl_load" >&5
16870 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16871 if test "${ac_cv_func_shl_load+set}" = set; then
16872 echo $ECHO_N "(cached) $ECHO_C" >&6
16874 cat >conftest.$ac_ext <<_ACEOF
16875 #line $LINENO "configure"
16878 cat confdefs.h >>conftest.$ac_ext
16879 cat >>conftest.$ac_ext <<_ACEOF
16880 /* end confdefs.h. */
16881 /* System header to define __stub macros and hopefully few prototypes,
16882 which can conflict with char shl_load (); below.
16883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16884 <limits.h> exists even on freestanding compilers. */
16886 # include <limits.h>
16888 # include <assert.h>
16890 /* Override any gcc2 internal prototype to avoid an error. */
16895 /* We use char because int might match the return type of a gcc2
16896 builtin and then its argument prototype would still apply. */
16898 /* The GNU C library defines this for functions which it implements
16899 to always fail with ENOSYS. Some functions are actually named
16900 something starting with __ and the normal name is an alias. */
16901 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16904 char (*f) () = shl_load;
16913 return f != shl_load;
16918 rm -f conftest.$ac_objext conftest$ac_exeext
16919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16920 (eval $ac_link) 2>&5
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); } &&
16924 { ac_try='test -s conftest$ac_exeext'
16925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16926 (eval $ac_try) 2>&5
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); }; }; then
16930 ac_cv_func_shl_load=yes
16932 echo "$as_me: failed program was:" >&5
16933 sed 's/^/| /' conftest.$ac_ext >&5
16935 ac_cv_func_shl_load=no
16937 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16939 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16940 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
16941 if test $ac_cv_func_shl_load = yes; then
16942 lt_cv_dlopen="shl_load"
16944 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16945 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
16946 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16947 echo $ECHO_N "(cached) $ECHO_C" >&6
16949 ac_check_lib_save_LIBS=$LIBS
16951 cat >conftest.$ac_ext <<_ACEOF
16952 #line $LINENO "configure"
16955 cat confdefs.h >>conftest.$ac_ext
16956 cat >>conftest.$ac_ext <<_ACEOF
16957 /* end confdefs.h. */
16959 /* Override any gcc2 internal prototype to avoid an error. */
16963 /* We use char because int might match the return type of a gcc2
16964 builtin and then its argument prototype would still apply. */
16974 rm -f conftest.$ac_objext conftest$ac_exeext
16975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16976 (eval $ac_link) 2>&5
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); } &&
16980 { ac_try='test -s conftest$ac_exeext'
16981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16982 (eval $ac_try) 2>&5
16984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985 (exit $ac_status); }; }; then
16986 ac_cv_lib_dld_shl_load=yes
16988 echo "$as_me: failed program was:" >&5
16989 sed 's/^/| /' conftest.$ac_ext >&5
16991 ac_cv_lib_dld_shl_load=no
16993 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16994 LIBS=$ac_check_lib_save_LIBS
16996 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
16997 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
16998 if test $ac_cv_lib_dld_shl_load = yes; then
16999 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17001 echo "$as_me:$LINENO: checking for dlopen" >&5
17002 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17003 if test "${ac_cv_func_dlopen+set}" = set; then
17004 echo $ECHO_N "(cached) $ECHO_C" >&6
17006 cat >conftest.$ac_ext <<_ACEOF
17007 #line $LINENO "configure"
17010 cat confdefs.h >>conftest.$ac_ext
17011 cat >>conftest.$ac_ext <<_ACEOF
17012 /* end confdefs.h. */
17013 /* System header to define __stub macros and hopefully few prototypes,
17014 which can conflict with char dlopen (); below.
17015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17016 <limits.h> exists even on freestanding compilers. */
17018 # include <limits.h>
17020 # include <assert.h>
17022 /* Override any gcc2 internal prototype to avoid an error. */
17027 /* We use char because int might match the return type of a gcc2
17028 builtin and then its argument prototype would still apply. */
17030 /* The GNU C library defines this for functions which it implements
17031 to always fail with ENOSYS. Some functions are actually named
17032 something starting with __ and the normal name is an alias. */
17033 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17036 char (*f) () = dlopen;
17045 return f != dlopen;
17050 rm -f conftest.$ac_objext conftest$ac_exeext
17051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17052 (eval $ac_link) 2>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); } &&
17056 { ac_try='test -s conftest$ac_exeext'
17057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17058 (eval $ac_try) 2>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); }; }; then
17062 ac_cv_func_dlopen=yes
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.$ac_ext >&5
17067 ac_cv_func_dlopen=no
17069 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17071 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17072 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17073 if test $ac_cv_func_dlopen = yes; then
17074 lt_cv_dlopen="dlopen"
17076 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17077 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17078 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17079 echo $ECHO_N "(cached) $ECHO_C" >&6
17081 ac_check_lib_save_LIBS=$LIBS
17083 cat >conftest.$ac_ext <<_ACEOF
17084 #line $LINENO "configure"
17087 cat confdefs.h >>conftest.$ac_ext
17088 cat >>conftest.$ac_ext <<_ACEOF
17089 /* end confdefs.h. */
17091 /* Override any gcc2 internal prototype to avoid an error. */
17095 /* We use char because int might match the return type of a gcc2
17096 builtin and then its argument prototype would still apply. */
17106 rm -f conftest.$ac_objext conftest$ac_exeext
17107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17108 (eval $ac_link) 2>&5
17110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111 (exit $ac_status); } &&
17112 { ac_try='test -s conftest$ac_exeext'
17113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17114 (eval $ac_try) 2>&5
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); }; }; then
17118 ac_cv_lib_dl_dlopen=yes
17120 echo "$as_me: failed program was:" >&5
17121 sed 's/^/| /' conftest.$ac_ext >&5
17123 ac_cv_lib_dl_dlopen=no
17125 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17126 LIBS=$ac_check_lib_save_LIBS
17128 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17129 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17130 if test $ac_cv_lib_dl_dlopen = yes; then
17131 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17133 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17134 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17135 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17136 echo $ECHO_N "(cached) $ECHO_C" >&6
17138 ac_check_lib_save_LIBS=$LIBS
17139 LIBS="-lsvld $LIBS"
17140 cat >conftest.$ac_ext <<_ACEOF
17141 #line $LINENO "configure"
17144 cat confdefs.h >>conftest.$ac_ext
17145 cat >>conftest.$ac_ext <<_ACEOF
17146 /* end confdefs.h. */
17148 /* Override any gcc2 internal prototype to avoid an error. */
17152 /* We use char because int might match the return type of a gcc2
17153 builtin and then its argument prototype would still apply. */
17163 rm -f conftest.$ac_objext conftest$ac_exeext
17164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17165 (eval $ac_link) 2>&5
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); } &&
17169 { ac_try='test -s conftest$ac_exeext'
17170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17171 (eval $ac_try) 2>&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); }; }; then
17175 ac_cv_lib_svld_dlopen=yes
17177 echo "$as_me: failed program was:" >&5
17178 sed 's/^/| /' conftest.$ac_ext >&5
17180 ac_cv_lib_svld_dlopen=no
17182 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17183 LIBS=$ac_check_lib_save_LIBS
17185 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17186 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17187 if test $ac_cv_lib_svld_dlopen = yes; then
17188 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17190 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17191 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17192 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17193 echo $ECHO_N "(cached) $ECHO_C" >&6
17195 ac_check_lib_save_LIBS=$LIBS
17197 cat >conftest.$ac_ext <<_ACEOF
17198 #line $LINENO "configure"
17201 cat confdefs.h >>conftest.$ac_ext
17202 cat >>conftest.$ac_ext <<_ACEOF
17203 /* end confdefs.h. */
17205 /* Override any gcc2 internal prototype to avoid an error. */
17209 /* We use char because int might match the return type of a gcc2
17210 builtin and then its argument prototype would still apply. */
17220 rm -f conftest.$ac_objext conftest$ac_exeext
17221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17222 (eval $ac_link) 2>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); } &&
17226 { ac_try='test -s conftest$ac_exeext'
17227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17228 (eval $ac_try) 2>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); }; }; then
17232 ac_cv_lib_dld_dld_link=yes
17234 echo "$as_me: failed program was:" >&5
17235 sed 's/^/| /' conftest.$ac_ext >&5
17237 ac_cv_lib_dld_dld_link=no
17239 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17240 LIBS=$ac_check_lib_save_LIBS
17242 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17243 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17244 if test $ac_cv_lib_dld_dld_link = yes; then
17245 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17266 if test "x$lt_cv_dlopen" != xno; then
17272 case $lt_cv_dlopen in
17274 save_CPPFLAGS="$CPPFLAGS"
17275 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17277 save_LDFLAGS="$LDFLAGS"
17278 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17281 LIBS="$lt_cv_dlopen_libs $LIBS"
17283 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17284 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17285 if test "${lt_cv_dlopen_self+set}" = set; then
17286 echo $ECHO_N "(cached) $ECHO_C" >&6
17288 if test "$cross_compiling" = yes; then :
17289 lt_cv_dlopen_self=cross
17291 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17292 lt_status=$lt_dlunknown
17293 cat > conftest.$ac_ext <<EOF
17294 #line 17294 "configure"
17295 #include "confdefs.h"
17304 # define LT_DLGLOBAL RTLD_GLOBAL
17307 # define LT_DLGLOBAL DL_GLOBAL
17309 # define LT_DLGLOBAL 0
17313 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17314 find out it does not work in some platform. */
17315 #ifndef LT_DLLAZY_OR_NOW
17317 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17320 # define LT_DLLAZY_OR_NOW DL_LAZY
17323 # define LT_DLLAZY_OR_NOW RTLD_NOW
17326 # define LT_DLLAZY_OR_NOW DL_NOW
17328 # define LT_DLLAZY_OR_NOW 0
17336 extern "C" void exit (int);
17339 void fnord() { int i=42;}
17342 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17343 int status = $lt_dlunknown;
17347 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17348 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17349 /* dlclose (self); */
17355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17356 (eval $ac_link) 2>&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17360 (./conftest; exit; ) 2>/dev/null
17362 case x$lt_status in
17363 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17364 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17365 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17368 # compilation failed
17369 lt_cv_dlopen_self=no
17376 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17377 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17379 if test "x$lt_cv_dlopen_self" = xyes; then
17380 LDFLAGS="$LDFLAGS $link_static_flag"
17381 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17382 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17383 if test "${lt_cv_dlopen_self_static+set}" = set; then
17384 echo $ECHO_N "(cached) $ECHO_C" >&6
17386 if test "$cross_compiling" = yes; then :
17387 lt_cv_dlopen_self_static=cross
17389 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17390 lt_status=$lt_dlunknown
17391 cat > conftest.$ac_ext <<EOF
17392 #line 17392 "configure"
17393 #include "confdefs.h"
17402 # define LT_DLGLOBAL RTLD_GLOBAL
17405 # define LT_DLGLOBAL DL_GLOBAL
17407 # define LT_DLGLOBAL 0
17411 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17412 find out it does not work in some platform. */
17413 #ifndef LT_DLLAZY_OR_NOW
17415 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17418 # define LT_DLLAZY_OR_NOW DL_LAZY
17421 # define LT_DLLAZY_OR_NOW RTLD_NOW
17424 # define LT_DLLAZY_OR_NOW DL_NOW
17426 # define LT_DLLAZY_OR_NOW 0
17434 extern "C" void exit (int);
17437 void fnord() { int i=42;}
17440 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17441 int status = $lt_dlunknown;
17445 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17446 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17447 /* dlclose (self); */
17453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17454 (eval $ac_link) 2>&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17458 (./conftest; exit; ) 2>/dev/null
17460 case x$lt_status in
17461 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17462 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17463 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17466 # compilation failed
17467 lt_cv_dlopen_self_static=no
17474 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17475 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17478 CPPFLAGS="$save_CPPFLAGS"
17479 LDFLAGS="$save_LDFLAGS"
17484 case $lt_cv_dlopen_self in
17485 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17486 *) enable_dlopen_self=unknown ;;
17489 case $lt_cv_dlopen_self_static in
17490 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17491 *) enable_dlopen_self_static=unknown ;;
17496 # The else clause should only fire when bootstrapping the
17497 # libtool distribution, otherwise you forgot to ship ltmain.sh
17498 # with your package, and you will get complaints that there are
17499 # no rules to generate ltmain.sh.
17500 if test -f "$ltmain"; then
17501 # See if we are running on zsh, and set the options which allow our commands through
17502 # without removal of \ escapes.
17503 if test -n "${ZSH_VERSION+set}" ; then
17504 setopt NO_GLOB_SUBST
17506 # Now quote all the things that may contain metacharacters while being
17507 # careful not to overquote the AC_SUBSTed values. We take copies of the
17508 # variables and quote the copies for generation of the libtool script.
17509 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17510 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17511 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17512 deplibs_check_method reload_flag reload_cmds need_locks \
17513 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17514 lt_cv_sys_global_symbol_to_c_name_address \
17515 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17516 old_postinstall_cmds old_postuninstall_cmds \
17520 lt_prog_compiler_wl_GCJ \
17521 lt_prog_compiler_pic_GCJ \
17522 lt_prog_compiler_static_GCJ \
17523 lt_prog_compiler_no_builtin_flag_GCJ \
17524 export_dynamic_flag_spec_GCJ \
17525 thread_safe_flag_spec_GCJ \
17526 whole_archive_flag_spec_GCJ \
17527 enable_shared_with_static_runtimes_GCJ \
17528 old_archive_cmds_GCJ \
17529 old_archive_from_new_cmds_GCJ \
17530 predep_objects_GCJ \
17531 postdep_objects_GCJ \
17534 compiler_lib_search_path_GCJ \
17536 archive_expsym_cmds_GCJ \
17537 postinstall_cmds_GCJ \
17538 postuninstall_cmds_GCJ \
17539 old_archive_from_expsyms_cmds_GCJ \
17540 allow_undefined_flag_GCJ \
17541 no_undefined_flag_GCJ \
17542 export_symbols_cmds_GCJ \
17543 hardcode_libdir_flag_spec_GCJ \
17544 hardcode_libdir_flag_spec_ld_GCJ \
17545 hardcode_libdir_separator_GCJ \
17546 hardcode_automatic_GCJ \
17548 module_expsym_cmds_GCJ \
17549 lt_cv_prog_compiler_c_o_GCJ \
17550 exclude_expsyms_GCJ \
17551 include_expsyms_GCJ; do
17554 old_archive_cmds_GCJ | \
17555 old_archive_from_new_cmds_GCJ | \
17556 archive_cmds_GCJ | \
17557 archive_expsym_cmds_GCJ | \
17558 module_cmds_GCJ | \
17559 module_expsym_cmds_GCJ | \
17560 old_archive_from_expsyms_cmds_GCJ | \
17561 export_symbols_cmds_GCJ | \
17562 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17563 postinstall_cmds | postuninstall_cmds | \
17564 old_postinstall_cmds | old_postuninstall_cmds | \
17565 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17566 # Double-quote double-evaled strings.
17567 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17570 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17576 *'\$0 --fallback-echo"')
17577 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17583 cat <<__EOF__ >> "$cfgfile"
17584 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17586 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17588 # Shell to use when invoking shell scripts.
17591 # Whether or not to build shared libraries.
17592 build_libtool_libs=$enable_shared
17594 # Whether or not to build static libraries.
17595 build_old_libs=$enable_static
17597 # Whether or not to add -lc for building shared libraries.
17598 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17600 # Whether or not to disallow shared libs when runtime libs are static
17601 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17603 # Whether or not to optimize for fast installation.
17604 fast_install=$enable_fast_install
17607 host_alias=$host_alias
17610 # An echo program that does not interpret backslashes.
17615 AR_FLAGS=$lt_AR_FLAGS
17620 # A language-specific compiler.
17621 CC=$lt_compiler_GCJ
17623 # Is the compiler the GNU C compiler?
17629 # The linker used to build libraries.
17632 # Whether we need hard or soft links.
17635 # A BSD-compatible nm program.
17638 # A symbol stripping program
17641 # Used to examine libraries when file_magic_cmd begins "file"
17642 MAGIC_CMD=$MAGIC_CMD
17644 # Used on cygwin: DLL creation program.
17647 # Used on cygwin: object dumper.
17650 # Used on cygwin: assembler.
17653 # The name of the directory that contains temporary libtool files.
17656 # How to create reloadable object files.
17657 reload_flag=$lt_reload_flag
17658 reload_cmds=$lt_reload_cmds
17660 # How to pass a linker flag through the compiler.
17661 wl=$lt_lt_prog_compiler_wl_GCJ
17663 # Object file suffix (normally "o").
17664 objext="$ac_objext"
17666 # Old archive suffix (normally "a").
17669 # Shared library suffix (normally ".so").
17672 # Executable file suffix (normally "").
17675 # Additional compiler flags for building library objects.
17676 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17679 # What is the maximum length of a command?
17680 max_cmd_len=$lt_cv_sys_max_cmd_len
17682 # Does compiler simultaneously support -c and -o options?
17683 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17685 # Must we lock files when doing compilation ?
17686 need_locks=$lt_need_locks
17688 # Do we need the lib prefix for modules?
17689 need_lib_prefix=$need_lib_prefix
17691 # Do we need a version for libraries?
17692 need_version=$need_version
17694 # Whether dlopen is supported.
17695 dlopen_support=$enable_dlopen
17697 # Whether dlopen of programs is supported.
17698 dlopen_self=$enable_dlopen_self
17700 # Whether dlopen of statically linked programs is supported.
17701 dlopen_self_static=$enable_dlopen_self_static
17703 # Compiler flag to prevent dynamic linking.
17704 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17706 # Compiler flag to turn off builtin functions.
17707 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17709 # Compiler flag to allow reflexive dlopens.
17710 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17712 # Compiler flag to generate shared objects directly from archives.
17713 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17715 # Compiler flag to generate thread-safe objects.
17716 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17718 # Library versioning type.
17719 version_type=$version_type
17721 # Format of library name prefix.
17722 libname_spec=$lt_libname_spec
17724 # List of archive names. First name is the real one, the rest are links.
17725 # The last name is the one that the linker finds with -lNAME.
17726 library_names_spec=$lt_library_names_spec
17728 # The coded name of the library, if different from the real name.
17729 soname_spec=$lt_soname_spec
17731 # Commands used to build and install an old-style archive.
17733 old_archive_cmds=$lt_old_archive_cmds_GCJ
17734 old_postinstall_cmds=$lt_old_postinstall_cmds
17735 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17737 # Create an old-style archive from a shared archive.
17738 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17740 # Create a temporary old-style archive to link instead of a shared archive.
17741 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17743 # Commands used to build and install a shared archive.
17744 archive_cmds=$lt_archive_cmds_GCJ
17745 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17746 postinstall_cmds=$lt_postinstall_cmds
17747 postuninstall_cmds=$lt_postuninstall_cmds
17749 # Commands used to build a loadable module (assumed same as above if empty)
17750 module_cmds=$lt_module_cmds_GCJ
17751 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17753 # Commands to strip libraries.
17754 old_striplib=$lt_old_striplib
17755 striplib=$lt_striplib
17757 # Dependencies to place before the objects being linked to create a
17759 predep_objects=$lt_predep_objects_GCJ
17761 # Dependencies to place after the objects being linked to create a
17763 postdep_objects=$lt_postdep_objects_GCJ
17765 # Dependencies to place before the objects being linked to create a
17767 predeps=$lt_predeps_GCJ
17769 # Dependencies to place after the objects being linked to create a
17771 postdeps=$lt_postdeps_GCJ
17773 # The library search path used internally by the compiler when linking
17774 # a shared library.
17775 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17777 # Method to check whether dependent libraries are shared objects.
17778 deplibs_check_method=$lt_deplibs_check_method
17780 # Command to use when deplibs_check_method == file_magic.
17781 file_magic_cmd=$lt_file_magic_cmd
17783 # Flag that allows shared libraries with undefined symbols to be built.
17784 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17786 # Flag that forces no undefined symbols.
17787 no_undefined_flag=$lt_no_undefined_flag_GCJ
17789 # Commands used to finish a libtool library installation in a directory.
17790 finish_cmds=$lt_finish_cmds
17792 # Same as above, but a single script fragment to be evaled but not shown.
17793 finish_eval=$lt_finish_eval
17795 # Take the output of nm and produce a listing of raw symbols and C names.
17796 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17798 # Transform the output of nm in a proper C declaration
17799 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17801 # Transform the output of nm in a C name address pair
17802 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17804 # This is the shared library runtime path variable.
17805 runpath_var=$runpath_var
17807 # This is the shared library path variable.
17808 shlibpath_var=$shlibpath_var
17810 # Is shlibpath searched before the hard-coded library search path?
17811 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17813 # How to hardcode a shared library path into an executable.
17814 hardcode_action=$hardcode_action_GCJ
17816 # Whether we should hardcode library paths into libraries.
17817 hardcode_into_libs=$hardcode_into_libs
17819 # Flag to hardcode \$libdir into a binary during linking.
17820 # This must work even if \$libdir does not exist.
17821 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17823 # If ld is used when linking, flag to hardcode \$libdir into
17824 # a binary during linking. This must work even if \$libdir does
17826 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17828 # Whether we need a single -rpath flag with a separated argument.
17829 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17831 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17832 # resulting binary.
17833 hardcode_direct=$hardcode_direct_GCJ
17835 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17836 # resulting binary.
17837 hardcode_minus_L=$hardcode_minus_L_GCJ
17839 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17840 # the resulting binary.
17841 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17843 # Set to yes if building a shared library automatically hardcodes DIR into the library
17844 # and all subsequent libraries and executables linked against it.
17845 hardcode_automatic=$hardcode_automatic_GCJ
17847 # Variables whose values should be saved in libtool wrapper scripts and
17848 # restored at relink time.
17849 variables_saved_for_relink="$variables_saved_for_relink"
17851 # Whether libtool must link a program against all its dependency libraries.
17852 link_all_deplibs=$link_all_deplibs_GCJ
17854 # Compile-time system search path for libraries
17855 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17857 # Run-time system search path for libraries
17858 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17860 # Fix the shell variable \$srcfile for the compiler.
17861 fix_srcfile_path="$fix_srcfile_path_GCJ"
17863 # Set to yes if exported symbols are required.
17864 always_export_symbols=$always_export_symbols_GCJ
17866 # The commands to list exported symbols.
17867 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17869 # The commands to extract the exported symbol list from a shared archive.
17870 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17872 # Symbols that should not be listed in the preloaded symbols.
17873 exclude_expsyms=$lt_exclude_expsyms_GCJ
17875 # Symbols that must always be exported.
17876 include_expsyms=$lt_include_expsyms_GCJ
17878 # ### END LIBTOOL TAG CONFIG: $tagname
17884 # If there is no Makefile yet, we rely on a make rule to execute
17885 # `config.status --recheck' to rerun these tests and create the
17886 # libtool script then.
17887 test -f Makefile && make "$ltmain"
17892 ac_cpp='$CPP $CPPFLAGS'
17893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17908 # Source file extension for RC test sources.
17911 # Object file extension for compiled RC test sources.
17915 # Code to be used in simple compile tests
17916 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17918 # Code to be used in simple link tests
17919 lt_simple_link_test_code="$lt_simple_compile_test_code"
17921 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17923 # If no C compiler was specified, use CC.
17926 # Allow CC to be a program name with arguments.
17930 # Allow CC to be a program name with arguments.
17935 lt_cv_prog_compiler_c_o_RC=yes
17937 # The else clause should only fire when bootstrapping the
17938 # libtool distribution, otherwise you forgot to ship ltmain.sh
17939 # with your package, and you will get complaints that there are
17940 # no rules to generate ltmain.sh.
17941 if test -f "$ltmain"; then
17942 # See if we are running on zsh, and set the options which allow our commands through
17943 # without removal of \ escapes.
17944 if test -n "${ZSH_VERSION+set}" ; then
17945 setopt NO_GLOB_SUBST
17947 # Now quote all the things that may contain metacharacters while being
17948 # careful not to overquote the AC_SUBSTed values. We take copies of the
17949 # variables and quote the copies for generation of the libtool script.
17950 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17951 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17952 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17953 deplibs_check_method reload_flag reload_cmds need_locks \
17954 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17955 lt_cv_sys_global_symbol_to_c_name_address \
17956 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17957 old_postinstall_cmds old_postuninstall_cmds \
17961 lt_prog_compiler_wl_RC \
17962 lt_prog_compiler_pic_RC \
17963 lt_prog_compiler_static_RC \
17964 lt_prog_compiler_no_builtin_flag_RC \
17965 export_dynamic_flag_spec_RC \
17966 thread_safe_flag_spec_RC \
17967 whole_archive_flag_spec_RC \
17968 enable_shared_with_static_runtimes_RC \
17969 old_archive_cmds_RC \
17970 old_archive_from_new_cmds_RC \
17971 predep_objects_RC \
17972 postdep_objects_RC \
17975 compiler_lib_search_path_RC \
17977 archive_expsym_cmds_RC \
17978 postinstall_cmds_RC \
17979 postuninstall_cmds_RC \
17980 old_archive_from_expsyms_cmds_RC \
17981 allow_undefined_flag_RC \
17982 no_undefined_flag_RC \
17983 export_symbols_cmds_RC \
17984 hardcode_libdir_flag_spec_RC \
17985 hardcode_libdir_flag_spec_ld_RC \
17986 hardcode_libdir_separator_RC \
17987 hardcode_automatic_RC \
17989 module_expsym_cmds_RC \
17990 lt_cv_prog_compiler_c_o_RC \
17991 exclude_expsyms_RC \
17992 include_expsyms_RC; do
17995 old_archive_cmds_RC | \
17996 old_archive_from_new_cmds_RC | \
17997 archive_cmds_RC | \
17998 archive_expsym_cmds_RC | \
18000 module_expsym_cmds_RC | \
18001 old_archive_from_expsyms_cmds_RC | \
18002 export_symbols_cmds_RC | \
18003 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18004 postinstall_cmds | postuninstall_cmds | \
18005 old_postinstall_cmds | old_postuninstall_cmds | \
18006 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18007 # Double-quote double-evaled strings.
18008 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18011 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18017 *'\$0 --fallback-echo"')
18018 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18024 cat <<__EOF__ >> "$cfgfile"
18025 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18027 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18029 # Shell to use when invoking shell scripts.
18032 # Whether or not to build shared libraries.
18033 build_libtool_libs=$enable_shared
18035 # Whether or not to build static libraries.
18036 build_old_libs=$enable_static
18038 # Whether or not to add -lc for building shared libraries.
18039 build_libtool_need_lc=$archive_cmds_need_lc_RC
18041 # Whether or not to disallow shared libs when runtime libs are static
18042 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18044 # Whether or not to optimize for fast installation.
18045 fast_install=$enable_fast_install
18048 host_alias=$host_alias
18051 # An echo program that does not interpret backslashes.
18056 AR_FLAGS=$lt_AR_FLAGS
18061 # A language-specific compiler.
18064 # Is the compiler the GNU C compiler?
18070 # The linker used to build libraries.
18073 # Whether we need hard or soft links.
18076 # A BSD-compatible nm program.
18079 # A symbol stripping program
18082 # Used to examine libraries when file_magic_cmd begins "file"
18083 MAGIC_CMD=$MAGIC_CMD
18085 # Used on cygwin: DLL creation program.
18088 # Used on cygwin: object dumper.
18091 # Used on cygwin: assembler.
18094 # The name of the directory that contains temporary libtool files.
18097 # How to create reloadable object files.
18098 reload_flag=$lt_reload_flag
18099 reload_cmds=$lt_reload_cmds
18101 # How to pass a linker flag through the compiler.
18102 wl=$lt_lt_prog_compiler_wl_RC
18104 # Object file suffix (normally "o").
18105 objext="$ac_objext"
18107 # Old archive suffix (normally "a").
18110 # Shared library suffix (normally ".so").
18113 # Executable file suffix (normally "").
18116 # Additional compiler flags for building library objects.
18117 pic_flag=$lt_lt_prog_compiler_pic_RC
18120 # What is the maximum length of a command?
18121 max_cmd_len=$lt_cv_sys_max_cmd_len
18123 # Does compiler simultaneously support -c and -o options?
18124 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18126 # Must we lock files when doing compilation ?
18127 need_locks=$lt_need_locks
18129 # Do we need the lib prefix for modules?
18130 need_lib_prefix=$need_lib_prefix
18132 # Do we need a version for libraries?
18133 need_version=$need_version
18135 # Whether dlopen is supported.
18136 dlopen_support=$enable_dlopen
18138 # Whether dlopen of programs is supported.
18139 dlopen_self=$enable_dlopen_self
18141 # Whether dlopen of statically linked programs is supported.
18142 dlopen_self_static=$enable_dlopen_self_static
18144 # Compiler flag to prevent dynamic linking.
18145 link_static_flag=$lt_lt_prog_compiler_static_RC
18147 # Compiler flag to turn off builtin functions.
18148 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18150 # Compiler flag to allow reflexive dlopens.
18151 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18153 # Compiler flag to generate shared objects directly from archives.
18154 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18156 # Compiler flag to generate thread-safe objects.
18157 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18159 # Library versioning type.
18160 version_type=$version_type
18162 # Format of library name prefix.
18163 libname_spec=$lt_libname_spec
18165 # List of archive names. First name is the real one, the rest are links.
18166 # The last name is the one that the linker finds with -lNAME.
18167 library_names_spec=$lt_library_names_spec
18169 # The coded name of the library, if different from the real name.
18170 soname_spec=$lt_soname_spec
18172 # Commands used to build and install an old-style archive.
18174 old_archive_cmds=$lt_old_archive_cmds_RC
18175 old_postinstall_cmds=$lt_old_postinstall_cmds
18176 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18178 # Create an old-style archive from a shared archive.
18179 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18181 # Create a temporary old-style archive to link instead of a shared archive.
18182 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18184 # Commands used to build and install a shared archive.
18185 archive_cmds=$lt_archive_cmds_RC
18186 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18187 postinstall_cmds=$lt_postinstall_cmds
18188 postuninstall_cmds=$lt_postuninstall_cmds
18190 # Commands used to build a loadable module (assumed same as above if empty)
18191 module_cmds=$lt_module_cmds_RC
18192 module_expsym_cmds=$lt_module_expsym_cmds_RC
18194 # Commands to strip libraries.
18195 old_striplib=$lt_old_striplib
18196 striplib=$lt_striplib
18198 # Dependencies to place before the objects being linked to create a
18200 predep_objects=$lt_predep_objects_RC
18202 # Dependencies to place after the objects being linked to create a
18204 postdep_objects=$lt_postdep_objects_RC
18206 # Dependencies to place before the objects being linked to create a
18208 predeps=$lt_predeps_RC
18210 # Dependencies to place after the objects being linked to create a
18212 postdeps=$lt_postdeps_RC
18214 # The library search path used internally by the compiler when linking
18215 # a shared library.
18216 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18218 # Method to check whether dependent libraries are shared objects.
18219 deplibs_check_method=$lt_deplibs_check_method
18221 # Command to use when deplibs_check_method == file_magic.
18222 file_magic_cmd=$lt_file_magic_cmd
18224 # Flag that allows shared libraries with undefined symbols to be built.
18225 allow_undefined_flag=$lt_allow_undefined_flag_RC
18227 # Flag that forces no undefined symbols.
18228 no_undefined_flag=$lt_no_undefined_flag_RC
18230 # Commands used to finish a libtool library installation in a directory.
18231 finish_cmds=$lt_finish_cmds
18233 # Same as above, but a single script fragment to be evaled but not shown.
18234 finish_eval=$lt_finish_eval
18236 # Take the output of nm and produce a listing of raw symbols and C names.
18237 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18239 # Transform the output of nm in a proper C declaration
18240 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18242 # Transform the output of nm in a C name address pair
18243 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18245 # This is the shared library runtime path variable.
18246 runpath_var=$runpath_var
18248 # This is the shared library path variable.
18249 shlibpath_var=$shlibpath_var
18251 # Is shlibpath searched before the hard-coded library search path?
18252 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18254 # How to hardcode a shared library path into an executable.
18255 hardcode_action=$hardcode_action_RC
18257 # Whether we should hardcode library paths into libraries.
18258 hardcode_into_libs=$hardcode_into_libs
18260 # Flag to hardcode \$libdir into a binary during linking.
18261 # This must work even if \$libdir does not exist.
18262 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18264 # If ld is used when linking, flag to hardcode \$libdir into
18265 # a binary during linking. This must work even if \$libdir does
18267 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18269 # Whether we need a single -rpath flag with a separated argument.
18270 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18272 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18273 # resulting binary.
18274 hardcode_direct=$hardcode_direct_RC
18276 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18277 # resulting binary.
18278 hardcode_minus_L=$hardcode_minus_L_RC
18280 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18281 # the resulting binary.
18282 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18284 # Set to yes if building a shared library automatically hardcodes DIR into the library
18285 # and all subsequent libraries and executables linked against it.
18286 hardcode_automatic=$hardcode_automatic_RC
18288 # Variables whose values should be saved in libtool wrapper scripts and
18289 # restored at relink time.
18290 variables_saved_for_relink="$variables_saved_for_relink"
18292 # Whether libtool must link a program against all its dependency libraries.
18293 link_all_deplibs=$link_all_deplibs_RC
18295 # Compile-time system search path for libraries
18296 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18298 # Run-time system search path for libraries
18299 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18301 # Fix the shell variable \$srcfile for the compiler.
18302 fix_srcfile_path="$fix_srcfile_path_RC"
18304 # Set to yes if exported symbols are required.
18305 always_export_symbols=$always_export_symbols_RC
18307 # The commands to list exported symbols.
18308 export_symbols_cmds=$lt_export_symbols_cmds_RC
18310 # The commands to extract the exported symbol list from a shared archive.
18311 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18313 # Symbols that should not be listed in the preloaded symbols.
18314 exclude_expsyms=$lt_exclude_expsyms_RC
18316 # Symbols that must always be exported.
18317 include_expsyms=$lt_include_expsyms_RC
18319 # ### END LIBTOOL TAG CONFIG: $tagname
18325 # If there is no Makefile yet, we rely on a make rule to execute
18326 # `config.status --recheck' to rerun these tests and create the
18327 # libtool script then.
18328 test -f Makefile && make "$ltmain"
18333 ac_cpp='$CPP $CPPFLAGS'
18334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18343 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18344 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18345 { (exit 1); exit 1; }; }
18349 # Append the new tag name to the list of available tags.
18350 if test -n "$tagname" ; then
18351 available_tags="$available_tags $tagname"
18357 # Now substitute the updated list of available tags.
18358 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18359 mv "${ofile}T" "$ofile"
18363 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18364 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18365 { (exit 1); exit 1; }; }
18371 # This can be used to rebuild libtool when needed
18372 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18374 # Always use our own libtool.
18375 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18377 # Prevent multiple expansion
18399 # Extract the first word of "pwd", so it can be a program name with args.
18400 set dummy pwd; ac_word=$2
18401 echo "$as_me:$LINENO: checking for $ac_word" >&5
18402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18403 if test "${ac_cv_path_RPWD+set}" = set; then
18404 echo $ECHO_N "(cached) $ECHO_C" >&6
18408 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18412 for as_dir in $PATH
18415 test -z "$as_dir" && as_dir=.
18416 for ac_exec_ext in '' $ac_executable_extensions; do
18417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18418 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18428 RPWD=$ac_cv_path_RPWD
18430 if test -n "$RPWD"; then
18431 echo "$as_me:$LINENO: result: $RPWD" >&5
18432 echo "${ECHO_T}$RPWD" >&6
18434 echo "$as_me:$LINENO: result: no" >&5
18435 echo "${ECHO_T}no" >&6
18438 # Extract the first word of "ar", so it can be a program name with args.
18439 set dummy ar; ac_word=$2
18440 echo "$as_me:$LINENO: checking for $ac_word" >&5
18441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18442 if test "${ac_cv_path_AR+set}" = set; then
18443 echo $ECHO_N "(cached) $ECHO_C" >&6
18447 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18451 for as_dir in $PATH
18454 test -z "$as_dir" && as_dir=.
18455 for ac_exec_ext in '' $ac_executable_extensions; do
18456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18457 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18469 if test -n "$AR"; then
18470 echo "$as_me:$LINENO: result: $AR" >&5
18471 echo "${ECHO_T}$AR" >&6
18473 echo "$as_me:$LINENO: result: no" >&5
18474 echo "${ECHO_T}no" >&6
18477 # Extract the first word of "sed", so it can be a program name with args.
18478 set dummy sed; ac_word=$2
18479 echo "$as_me:$LINENO: checking for $ac_word" >&5
18480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18481 if test "${ac_cv_path_SED+set}" = set; then
18482 echo $ECHO_N "(cached) $ECHO_C" >&6
18486 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18490 for as_dir in $PATH
18493 test -z "$as_dir" && as_dir=.
18494 for ac_exec_ext in '' $ac_executable_extensions; do
18495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18496 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18506 SED=$ac_cv_path_SED
18508 if test -n "$SED"; then
18509 echo "$as_me:$LINENO: result: $SED" >&5
18510 echo "${ECHO_T}$SED" >&6
18512 echo "$as_me:$LINENO: result: no" >&5
18513 echo "${ECHO_T}no" >&6
18516 # Extract the first word of "rm", so it can be a program name with args.
18517 set dummy rm; ac_word=$2
18518 echo "$as_me:$LINENO: checking for $ac_word" >&5
18519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18520 if test "${ac_cv_path_RM+set}" = set; then
18521 echo $ECHO_N "(cached) $ECHO_C" >&6
18525 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18529 for as_dir in $PATH
18532 test -z "$as_dir" && as_dir=.
18533 for ac_exec_ext in '' $ac_executable_extensions; do
18534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18535 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18547 if test -n "$RM"; then
18548 echo "$as_me:$LINENO: result: $RM" >&5
18549 echo "${ECHO_T}$RM" >&6
18551 echo "$as_me:$LINENO: result: no" >&5
18552 echo "${ECHO_T}no" >&6
18555 # Extract the first word of "echo", so it can be a program name with args.
18556 set dummy echo; ac_word=$2
18557 echo "$as_me:$LINENO: checking for $ac_word" >&5
18558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18559 if test "${ac_cv_path_ECHO+set}" = set; then
18560 echo $ECHO_N "(cached) $ECHO_C" >&6
18564 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18568 for as_dir in $PATH
18571 test -z "$as_dir" && as_dir=.
18572 for ac_exec_ext in '' $ac_executable_extensions; do
18573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18574 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18584 ECHO=$ac_cv_path_ECHO
18586 if test -n "$ECHO"; then
18587 echo "$as_me:$LINENO: result: $ECHO" >&5
18588 echo "${ECHO_T}$ECHO" >&6
18590 echo "$as_me:$LINENO: result: no" >&5
18591 echo "${ECHO_T}no" >&6
18594 # Extract the first word of "mkdir", so it can be a program name with args.
18595 set dummy mkdir; ac_word=$2
18596 echo "$as_me:$LINENO: checking for $ac_word" >&5
18597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18598 if test "${ac_cv_path_MKDIR+set}" = set; then
18599 echo $ECHO_N "(cached) $ECHO_C" >&6
18603 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18607 for as_dir in $PATH
18610 test -z "$as_dir" && as_dir=.
18611 for ac_exec_ext in '' $ac_executable_extensions; do
18612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18613 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18623 MKDIR=$ac_cv_path_MKDIR
18625 if test -n "$MKDIR"; then
18626 echo "$as_me:$LINENO: result: $MKDIR" >&5
18627 echo "${ECHO_T}$MKDIR" >&6
18629 echo "$as_me:$LINENO: result: no" >&5
18630 echo "${ECHO_T}no" >&6
18633 # Extract the first word of "date", so it can be a program name with args.
18634 set dummy date; ac_word=$2
18635 echo "$as_me:$LINENO: checking for $ac_word" >&5
18636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18637 if test "${ac_cv_path_DATE+set}" = set; then
18638 echo $ECHO_N "(cached) $ECHO_C" >&6
18642 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18646 for as_dir in $PATH
18649 test -z "$as_dir" && as_dir=.
18650 for ac_exec_ext in '' $ac_executable_extensions; do
18651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18652 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18662 DATE=$ac_cv_path_DATE
18664 if test -n "$DATE"; then
18665 echo "$as_me:$LINENO: result: $DATE" >&5
18666 echo "${ECHO_T}$DATE" >&6
18668 echo "$as_me:$LINENO: result: no" >&5
18669 echo "${ECHO_T}no" >&6
18672 # Extract the first word of "mv", so it can be a program name with args.
18673 set dummy mv; ac_word=$2
18674 echo "$as_me:$LINENO: checking for $ac_word" >&5
18675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18676 if test "${ac_cv_path_MV+set}" = set; then
18677 echo $ECHO_N "(cached) $ECHO_C" >&6
18681 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18685 for as_dir in $PATH
18688 test -z "$as_dir" && as_dir=.
18689 for ac_exec_ext in '' $ac_executable_extensions; do
18690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18691 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18703 if test -n "$MV"; then
18704 echo "$as_me:$LINENO: result: $MV" >&5
18705 echo "${ECHO_T}$MV" >&6
18707 echo "$as_me:$LINENO: result: no" >&5
18708 echo "${ECHO_T}no" >&6
18711 # Extract the first word of "dot", so it can be a program name with args.
18712 set dummy dot; ac_word=$2
18713 echo "$as_me:$LINENO: checking for $ac_word" >&5
18714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18715 if test "${ac_cv_path_DOT+set}" = set; then
18716 echo $ECHO_N "(cached) $ECHO_C" >&6
18720 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18724 for as_dir in $PATH
18727 test -z "$as_dir" && as_dir=.
18728 for ac_exec_ext in '' $ac_executable_extensions; do
18729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18730 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18740 DOT=$ac_cv_path_DOT
18742 if test -n "$DOT"; then
18743 echo "$as_me:$LINENO: result: $DOT" >&5
18744 echo "${ECHO_T}$DOT" >&6
18746 echo "$as_me:$LINENO: result: no" >&5
18747 echo "${ECHO_T}no" >&6
18750 # Extract the first word of "etags", so it can be a program name with args.
18751 set dummy etags; ac_word=$2
18752 echo "$as_me:$LINENO: checking for $ac_word" >&5
18753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18754 if test "${ac_cv_path_ETAGS+set}" = set; then
18755 echo $ECHO_N "(cached) $ECHO_C" >&6
18759 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18763 for as_dir in $PATH
18766 test -z "$as_dir" && as_dir=.
18767 for ac_exec_ext in '' $ac_executable_extensions; do
18768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18769 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18779 ETAGS=$ac_cv_path_ETAGS
18781 if test -n "$ETAGS"; then
18782 echo "$as_me:$LINENO: result: $ETAGS" >&5
18783 echo "${ECHO_T}$ETAGS" >&6
18785 echo "$as_me:$LINENO: result: no" >&5
18786 echo "${ECHO_T}no" >&6
18789 # Extract the first word of "purify", so it can be a program name with args.
18790 set dummy purify; ac_word=$2
18791 echo "$as_me:$LINENO: checking for $ac_word" >&5
18792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18793 if test "${ac_cv_path_PURIFY+set}" = set; then
18794 echo $ECHO_N "(cached) $ECHO_C" >&6
18798 ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path.
18801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18802 for as_dir in $PATH
18805 test -z "$as_dir" && as_dir=.
18806 for ac_exec_ext in '' $ac_executable_extensions; do
18807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18808 ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext"
18809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18818 PURIFY=$ac_cv_path_PURIFY
18820 if test -n "$PURIFY"; then
18821 echo "$as_me:$LINENO: result: $PURIFY" >&5
18822 echo "${ECHO_T}$PURIFY" >&6
18824 echo "$as_me:$LINENO: result: no" >&5
18825 echo "${ECHO_T}no" >&6
18828 # Extract the first word of "python", so it can be a program name with args.
18829 set dummy python; ac_word=$2
18830 echo "$as_me:$LINENO: checking for $ac_word" >&5
18831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18832 if test "${ac_cv_path_PYTHON+set}" = set; then
18833 echo $ECHO_N "(cached) $ECHO_C" >&6
18837 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18841 for as_dir in $PATH
18844 test -z "$as_dir" && as_dir=.
18845 for ac_exec_ext in '' $ac_executable_extensions; do
18846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18847 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18857 PYTHON=$ac_cv_path_PYTHON
18859 if test -n "$PYTHON"; then
18860 echo "$as_me:$LINENO: result: $PYTHON" >&5
18861 echo "${ECHO_T}$PYTHON" >&6
18863 echo "$as_me:$LINENO: result: no" >&5
18864 echo "${ECHO_T}no" >&6
18867 # Extract the first word of "qmtest", so it can be a program name with args.
18868 set dummy qmtest; ac_word=$2
18869 echo "$as_me:$LINENO: checking for $ac_word" >&5
18870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18871 if test "${ac_cv_path_QMTEST+set}" = set; then
18872 echo $ECHO_N "(cached) $ECHO_C" >&6
18876 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18880 for as_dir in $PATH
18883 test -z "$as_dir" && as_dir=.
18884 for ac_exec_ext in '' $ac_executable_extensions; do
18885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18886 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
18887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18896 QMTEST=$ac_cv_path_QMTEST
18898 if test -n "$QMTEST"; then
18899 echo "$as_me:$LINENO: result: $QMTEST" >&5
18900 echo "${ECHO_T}$QMTEST" >&6
18902 echo "$as_me:$LINENO: result: no" >&5
18903 echo "${ECHO_T}no" >&6
18907 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
18908 pymajor=`echo $pyversion | cut -d. -f1`
18909 pyminor=`echo $pyversion | cut -d. -f2`
18911 if test "$pymajor" -ge "2"
18913 if test "$pymajor" -eq "2"
18915 if test "$pyminor" -lt "2"
18917 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18918 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18919 { (exit 1); exit 1; }; }
18923 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18924 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18925 { (exit 1); exit 1; }; }
18932 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
18933 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
18934 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
18935 echo $ECHO_N "(cached) $ECHO_C" >&6
18937 ac_check_lib_save_LIBS=$LIBS
18939 cat >conftest.$ac_ext <<_ACEOF
18940 #line $LINENO "configure"
18943 cat confdefs.h >>conftest.$ac_ext
18944 cat >>conftest.$ac_ext <<_ACEOF
18945 /* end confdefs.h. */
18947 /* Override any gcc2 internal prototype to avoid an error. */
18951 /* We use char because int might match the return type of a gcc2
18952 builtin and then its argument prototype would still apply. */
18962 rm -f conftest.$ac_objext conftest$ac_exeext
18963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18964 (eval $ac_link) 2>&5
18966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967 (exit $ac_status); } &&
18968 { ac_try='test -s conftest$ac_exeext'
18969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18970 (eval $ac_try) 2>&5
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); }; }; then
18974 ac_cv_lib_elf_elf_begin=yes
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18979 ac_cv_lib_elf_elf_begin=no
18981 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18982 LIBS=$ac_check_lib_save_LIBS
18984 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
18985 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
18986 if test $ac_cv_lib_elf_elf_begin = yes; then
18987 cat >>confdefs.h <<_ACEOF
18988 #define HAVE_LIBELF 1
18996 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
18997 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
18998 if test "${ac_cv_search_dlopen+set}" = set; then
18999 echo $ECHO_N "(cached) $ECHO_C" >&6
19001 ac_func_search_save_LIBS=$LIBS
19002 ac_cv_search_dlopen=no
19003 cat >conftest.$ac_ext <<_ACEOF
19004 #line $LINENO "configure"
19007 cat confdefs.h >>conftest.$ac_ext
19008 cat >>conftest.$ac_ext <<_ACEOF
19009 /* end confdefs.h. */
19011 /* Override any gcc2 internal prototype to avoid an error. */
19015 /* We use char because int might match the return type of a gcc2
19016 builtin and then its argument prototype would still apply. */
19026 rm -f conftest.$ac_objext conftest$ac_exeext
19027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19028 (eval $ac_link) 2>&5
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); } &&
19032 { ac_try='test -s conftest$ac_exeext'
19033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19034 (eval $ac_try) 2>&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); }; }; then
19038 ac_cv_search_dlopen="none required"
19040 echo "$as_me: failed program was:" >&5
19041 sed 's/^/| /' conftest.$ac_ext >&5
19044 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19045 if test "$ac_cv_search_dlopen" = no; then
19046 for ac_lib in dl; do
19047 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19048 cat >conftest.$ac_ext <<_ACEOF
19049 #line $LINENO "configure"
19052 cat confdefs.h >>conftest.$ac_ext
19053 cat >>conftest.$ac_ext <<_ACEOF
19054 /* end confdefs.h. */
19056 /* Override any gcc2 internal prototype to avoid an error. */
19060 /* We use char because int might match the return type of a gcc2
19061 builtin and then its argument prototype would still apply. */
19071 rm -f conftest.$ac_objext conftest$ac_exeext
19072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19073 (eval $ac_link) 2>&5
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); } &&
19077 { ac_try='test -s conftest$ac_exeext'
19078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19079 (eval $ac_try) 2>&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; }; then
19083 ac_cv_search_dlopen="-l$ac_lib"
19086 echo "$as_me: failed program was:" >&5
19087 sed 's/^/| /' conftest.$ac_ext >&5
19090 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19093 LIBS=$ac_func_search_save_LIBS
19095 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19096 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19097 if test "$ac_cv_search_dlopen" != no; then
19098 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19101 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
19102 echo "$as_me: error: dlopen() required but not found" >&2;}
19103 { (exit 1); exit 1; }; }
19107 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19108 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19109 if test "${ac_cv_search_mallinfo+set}" = set; then
19110 echo $ECHO_N "(cached) $ECHO_C" >&6
19112 ac_func_search_save_LIBS=$LIBS
19113 ac_cv_search_mallinfo=no
19114 cat >conftest.$ac_ext <<_ACEOF
19115 #line $LINENO "configure"
19118 cat confdefs.h >>conftest.$ac_ext
19119 cat >>conftest.$ac_ext <<_ACEOF
19120 /* end confdefs.h. */
19122 /* Override any gcc2 internal prototype to avoid an error. */
19126 /* We use char because int might match the return type of a gcc2
19127 builtin and then its argument prototype would still apply. */
19137 rm -f conftest.$ac_objext conftest$ac_exeext
19138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19139 (eval $ac_link) 2>&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); } &&
19143 { ac_try='test -s conftest$ac_exeext'
19144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19145 (eval $ac_try) 2>&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); }; }; then
19149 ac_cv_search_mallinfo="none required"
19151 echo "$as_me: failed program was:" >&5
19152 sed 's/^/| /' conftest.$ac_ext >&5
19155 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19156 if test "$ac_cv_search_mallinfo" = no; then
19157 for ac_lib in malloc; do
19158 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19159 cat >conftest.$ac_ext <<_ACEOF
19160 #line $LINENO "configure"
19163 cat confdefs.h >>conftest.$ac_ext
19164 cat >>conftest.$ac_ext <<_ACEOF
19165 /* end confdefs.h. */
19167 /* Override any gcc2 internal prototype to avoid an error. */
19171 /* We use char because int might match the return type of a gcc2
19172 builtin and then its argument prototype would still apply. */
19182 rm -f conftest.$ac_objext conftest$ac_exeext
19183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19184 (eval $ac_link) 2>&5
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); } &&
19188 { ac_try='test -s conftest$ac_exeext'
19189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19190 (eval $ac_try) 2>&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); }; }; then
19194 ac_cv_search_mallinfo="-l$ac_lib"
19197 echo "$as_me: failed program was:" >&5
19198 sed 's/^/| /' conftest.$ac_ext >&5
19201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19204 LIBS=$ac_func_search_save_LIBS
19206 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19207 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19208 if test "$ac_cv_search_mallinfo" != no; then
19209 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19210 cat >>confdefs.h <<\_ACEOF
19211 #define HAVE_MALLINFO 1
19218 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19219 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19220 if test "${ac_cv_header_stdc+set}" = set; then
19221 echo $ECHO_N "(cached) $ECHO_C" >&6
19223 cat >conftest.$ac_ext <<_ACEOF
19224 #line $LINENO "configure"
19227 cat confdefs.h >>conftest.$ac_ext
19228 cat >>conftest.$ac_ext <<_ACEOF
19229 /* end confdefs.h. */
19230 #include <stdlib.h>
19231 #include <stdarg.h>
19232 #include <string.h>
19243 rm -f conftest.$ac_objext
19244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19245 (eval $ac_compile) 2>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); } &&
19249 { ac_try='test -s conftest.$ac_objext'
19250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251 (eval $ac_try) 2>&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); }; }; then
19255 ac_cv_header_stdc=yes
19257 echo "$as_me: failed program was:" >&5
19258 sed 's/^/| /' conftest.$ac_ext >&5
19260 ac_cv_header_stdc=no
19262 rm -f conftest.$ac_objext conftest.$ac_ext
19264 if test $ac_cv_header_stdc = yes; then
19265 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19266 cat >conftest.$ac_ext <<_ACEOF
19267 #line $LINENO "configure"
19270 cat confdefs.h >>conftest.$ac_ext
19271 cat >>conftest.$ac_ext <<_ACEOF
19272 /* end confdefs.h. */
19273 #include <string.h>
19276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19277 $EGREP "memchr" >/dev/null 2>&1; then
19280 ac_cv_header_stdc=no
19286 if test $ac_cv_header_stdc = yes; then
19287 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19288 cat >conftest.$ac_ext <<_ACEOF
19289 #line $LINENO "configure"
19292 cat confdefs.h >>conftest.$ac_ext
19293 cat >>conftest.$ac_ext <<_ACEOF
19294 /* end confdefs.h. */
19295 #include <stdlib.h>
19298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19299 $EGREP "free" >/dev/null 2>&1; then
19302 ac_cv_header_stdc=no
19308 if test $ac_cv_header_stdc = yes; then
19309 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19310 if test "$cross_compiling" = yes; then
19313 cat >conftest.$ac_ext <<_ACEOF
19314 #line $LINENO "configure"
19317 cat confdefs.h >>conftest.$ac_ext
19318 cat >>conftest.$ac_ext <<_ACEOF
19319 /* end confdefs.h. */
19321 #if ((' ' & 0x0FF) == 0x020)
19322 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19323 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19325 # define ISLOWER(c) \
19326 (('a' <= (c) && (c) <= 'i') \
19327 || ('j' <= (c) && (c) <= 'r') \
19328 || ('s' <= (c) && (c) <= 'z'))
19329 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19332 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19337 for (i = 0; i < 256; i++)
19338 if (XOR (islower (i), ISLOWER (i))
19339 || toupper (i) != TOUPPER (i))
19344 rm -f conftest$ac_exeext
19345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19346 (eval $ac_link) 2>&5
19348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19349 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19351 (eval $ac_try) 2>&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; }; then
19357 echo "$as_me: program exited with status $ac_status" >&5
19358 echo "$as_me: failed program was:" >&5
19359 sed 's/^/| /' conftest.$ac_ext >&5
19361 ( exit $ac_status )
19362 ac_cv_header_stdc=no
19364 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19368 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19369 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19370 if test $ac_cv_header_stdc = yes; then
19372 cat >>confdefs.h <<\_ACEOF
19373 #define STDC_HEADERS 1
19378 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19379 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19380 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19381 echo $ECHO_N "(cached) $ECHO_C" >&6
19383 cat >conftest.$ac_ext <<_ACEOF
19384 #line $LINENO "configure"
19387 cat confdefs.h >>conftest.$ac_ext
19388 cat >>conftest.$ac_ext <<_ACEOF
19389 /* end confdefs.h. */
19390 #include <sys/types.h>
19391 #include <sys/wait.h>
19392 #ifndef WEXITSTATUS
19393 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19396 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19404 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19409 rm -f conftest.$ac_objext
19410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19411 (eval $ac_compile) 2>&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); } &&
19415 { ac_try='test -s conftest.$ac_objext'
19416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19417 (eval $ac_try) 2>&5
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); }; }; then
19421 ac_cv_header_sys_wait_h=yes
19423 echo "$as_me: failed program was:" >&5
19424 sed 's/^/| /' conftest.$ac_ext >&5
19426 ac_cv_header_sys_wait_h=no
19428 rm -f conftest.$ac_objext conftest.$ac_ext
19430 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19431 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19432 if test $ac_cv_header_sys_wait_h = yes; then
19434 cat >>confdefs.h <<\_ACEOF
19435 #define HAVE_SYS_WAIT_H 1
19449 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19451 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19453 echo "$as_me:$LINENO: checking for $ac_header" >&5
19454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19456 echo $ECHO_N "(cached) $ECHO_C" >&6
19458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19459 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19461 # Is the header compilable?
19462 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19463 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19464 cat >conftest.$ac_ext <<_ACEOF
19465 #line $LINENO "configure"
19468 cat confdefs.h >>conftest.$ac_ext
19469 cat >>conftest.$ac_ext <<_ACEOF
19470 /* end confdefs.h. */
19471 $ac_includes_default
19472 #include <$ac_header>
19474 rm -f conftest.$ac_objext
19475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19476 (eval $ac_compile) 2>&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } &&
19480 { ac_try='test -s conftest.$ac_objext'
19481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19482 (eval $ac_try) 2>&5
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); }; }; then
19486 ac_header_compiler=yes
19488 echo "$as_me: failed program was:" >&5
19489 sed 's/^/| /' conftest.$ac_ext >&5
19491 ac_header_compiler=no
19493 rm -f conftest.$ac_objext conftest.$ac_ext
19494 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19495 echo "${ECHO_T}$ac_header_compiler" >&6
19497 # Is the header present?
19498 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19499 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19500 cat >conftest.$ac_ext <<_ACEOF
19501 #line $LINENO "configure"
19504 cat confdefs.h >>conftest.$ac_ext
19505 cat >>conftest.$ac_ext <<_ACEOF
19506 /* end confdefs.h. */
19507 #include <$ac_header>
19509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19510 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19512 grep -v '^ *+' conftest.er1 >conftest.err
19514 cat conftest.err >&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); } >/dev/null; then
19517 if test -s conftest.err; then
19518 ac_cpp_err=$ac_c_preproc_warn_flag
19525 if test -z "$ac_cpp_err"; then
19526 ac_header_preproc=yes
19528 echo "$as_me: failed program was:" >&5
19529 sed 's/^/| /' conftest.$ac_ext >&5
19531 ac_header_preproc=no
19533 rm -f conftest.err conftest.$ac_ext
19534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19535 echo "${ECHO_T}$ac_header_preproc" >&6
19537 # So? What about this header?
19538 case $ac_header_compiler:$ac_header_preproc in
19540 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19541 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19546 ## ------------------------------------ ##
19547 ## Report this to bug-autoconf@gnu.org. ##
19548 ## ------------------------------------ ##
19551 sed "s/^/$as_me: WARNING: /" >&2
19554 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19555 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19556 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19557 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19559 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19562 ## ------------------------------------ ##
19563 ## Report this to bug-autoconf@gnu.org. ##
19564 ## ------------------------------------ ##
19567 sed "s/^/$as_me: WARNING: /" >&2
19570 echo "$as_me:$LINENO: checking for $ac_header" >&5
19571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19573 echo $ECHO_N "(cached) $ECHO_C" >&6
19575 eval "$as_ac_Header=$ac_header_preproc"
19577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19582 cat >>confdefs.h <<_ACEOF
19583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19595 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19599 echo "$as_me:$LINENO: checking for $ac_header" >&5
19600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19602 echo $ECHO_N "(cached) $ECHO_C" >&6
19604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19607 # Is the header compilable?
19608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19610 cat >conftest.$ac_ext <<_ACEOF
19611 #line $LINENO "configure"
19614 cat confdefs.h >>conftest.$ac_ext
19615 cat >>conftest.$ac_ext <<_ACEOF
19616 /* end confdefs.h. */
19617 $ac_includes_default
19618 #include <$ac_header>
19620 rm -f conftest.$ac_objext
19621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19622 (eval $ac_compile) 2>&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); } &&
19626 { ac_try='test -s conftest.$ac_objext'
19627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19628 (eval $ac_try) 2>&5
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); }; }; then
19632 ac_header_compiler=yes
19634 echo "$as_me: failed program was:" >&5
19635 sed 's/^/| /' conftest.$ac_ext >&5
19637 ac_header_compiler=no
19639 rm -f conftest.$ac_objext conftest.$ac_ext
19640 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19641 echo "${ECHO_T}$ac_header_compiler" >&6
19643 # Is the header present?
19644 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19645 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19646 cat >conftest.$ac_ext <<_ACEOF
19647 #line $LINENO "configure"
19650 cat confdefs.h >>conftest.$ac_ext
19651 cat >>conftest.$ac_ext <<_ACEOF
19652 /* end confdefs.h. */
19653 #include <$ac_header>
19655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19658 grep -v '^ *+' conftest.er1 >conftest.err
19660 cat conftest.err >&5
19661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662 (exit $ac_status); } >/dev/null; then
19663 if test -s conftest.err; then
19664 ac_cpp_err=$ac_c_preproc_warn_flag
19671 if test -z "$ac_cpp_err"; then
19672 ac_header_preproc=yes
19674 echo "$as_me: failed program was:" >&5
19675 sed 's/^/| /' conftest.$ac_ext >&5
19677 ac_header_preproc=no
19679 rm -f conftest.err conftest.$ac_ext
19680 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19681 echo "${ECHO_T}$ac_header_preproc" >&6
19683 # So? What about this header?
19684 case $ac_header_compiler:$ac_header_preproc in
19686 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19687 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19689 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19692 ## ------------------------------------ ##
19693 ## Report this to bug-autoconf@gnu.org. ##
19694 ## ------------------------------------ ##
19697 sed "s/^/$as_me: WARNING: /" >&2
19700 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19701 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19702 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19703 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19708 ## ------------------------------------ ##
19709 ## Report this to bug-autoconf@gnu.org. ##
19710 ## ------------------------------------ ##
19713 sed "s/^/$as_me: WARNING: /" >&2
19716 echo "$as_me:$LINENO: checking for $ac_header" >&5
19717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19719 echo $ECHO_N "(cached) $ECHO_C" >&6
19721 eval "$as_ac_Header=$ac_header_preproc"
19723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19728 cat >>confdefs.h <<_ACEOF
19729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19739 for ac_header in dlfcn.h link.h
19741 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19743 echo "$as_me:$LINENO: checking for $ac_header" >&5
19744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19746 echo $ECHO_N "(cached) $ECHO_C" >&6
19748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19749 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19751 # Is the header compilable?
19752 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19753 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19754 cat >conftest.$ac_ext <<_ACEOF
19755 #line $LINENO "configure"
19758 cat confdefs.h >>conftest.$ac_ext
19759 cat >>conftest.$ac_ext <<_ACEOF
19760 /* end confdefs.h. */
19761 $ac_includes_default
19762 #include <$ac_header>
19764 rm -f conftest.$ac_objext
19765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19766 (eval $ac_compile) 2>&5
19768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769 (exit $ac_status); } &&
19770 { ac_try='test -s conftest.$ac_objext'
19771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19772 (eval $ac_try) 2>&5
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); }; }; then
19776 ac_header_compiler=yes
19778 echo "$as_me: failed program was:" >&5
19779 sed 's/^/| /' conftest.$ac_ext >&5
19781 ac_header_compiler=no
19783 rm -f conftest.$ac_objext conftest.$ac_ext
19784 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19785 echo "${ECHO_T}$ac_header_compiler" >&6
19787 # Is the header present?
19788 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19789 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19790 cat >conftest.$ac_ext <<_ACEOF
19791 #line $LINENO "configure"
19794 cat confdefs.h >>conftest.$ac_ext
19795 cat >>conftest.$ac_ext <<_ACEOF
19796 /* end confdefs.h. */
19797 #include <$ac_header>
19799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19800 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19802 grep -v '^ *+' conftest.er1 >conftest.err
19804 cat conftest.err >&5
19805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19806 (exit $ac_status); } >/dev/null; then
19807 if test -s conftest.err; then
19808 ac_cpp_err=$ac_c_preproc_warn_flag
19815 if test -z "$ac_cpp_err"; then
19816 ac_header_preproc=yes
19818 echo "$as_me: failed program was:" >&5
19819 sed 's/^/| /' conftest.$ac_ext >&5
19821 ac_header_preproc=no
19823 rm -f conftest.err conftest.$ac_ext
19824 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19825 echo "${ECHO_T}$ac_header_preproc" >&6
19827 # So? What about this header?
19828 case $ac_header_compiler:$ac_header_preproc in
19830 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19831 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19832 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19833 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19836 ## ------------------------------------ ##
19837 ## Report this to bug-autoconf@gnu.org. ##
19838 ## ------------------------------------ ##
19841 sed "s/^/$as_me: WARNING: /" >&2
19844 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19845 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19846 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19847 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19848 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19849 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19852 ## ------------------------------------ ##
19853 ## Report this to bug-autoconf@gnu.org. ##
19854 ## ------------------------------------ ##
19857 sed "s/^/$as_me: WARNING: /" >&2
19860 echo "$as_me:$LINENO: checking for $ac_header" >&5
19861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19863 echo $ECHO_N "(cached) $ECHO_C" >&6
19865 eval "$as_ac_Header=$ac_header_preproc"
19867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19868 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19871 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19872 cat >>confdefs.h <<_ACEOF
19873 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19882 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19883 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19884 if test "${ac_cv_c_const+set}" = set; then
19885 echo $ECHO_N "(cached) $ECHO_C" >&6
19887 cat >conftest.$ac_ext <<_ACEOF
19888 #line $LINENO "configure"
19891 cat confdefs.h >>conftest.$ac_ext
19892 cat >>conftest.$ac_ext <<_ACEOF
19893 /* end confdefs.h. */
19898 /* FIXME: Include the comments suggested by Paul. */
19899 #ifndef __cplusplus
19900 /* Ultrix mips cc rejects this. */
19901 typedef int charset[2];
19903 /* SunOS 4.1.1 cc rejects this. */
19904 char const *const *ccp;
19906 /* NEC SVR4.0.2 mips cc rejects this. */
19907 struct point {int x, y;};
19908 static struct point const zero = {0,0};
19909 /* AIX XL C 1.02.0.0 rejects this.
19910 It does not let you subtract one const X* pointer from another in
19911 an arm of an if-expression whose if-part is not a constant
19913 const char *g = "string";
19914 ccp = &g + (g ? g-g : 0);
19915 /* HPUX 7.0 cc rejects these. */
19918 ccp = (char const *const *) p;
19919 { /* SCO 3.2v4 cc rejects this. */
19921 char const *s = 0 ? (char *) 0 : (char const *) 0;
19925 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19926 int x[] = {25, 17};
19927 const int *foo = &x[0];
19930 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19931 typedef const int *iptr;
19935 { /* AIX XL C 1.02.0.0 rejects this saying
19936 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19937 struct s { int j; const int *ap[3]; };
19938 struct s *b; b->j = 5;
19940 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19941 const int foo = 10;
19949 rm -f conftest.$ac_objext
19950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19951 (eval $ac_compile) 2>&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); } &&
19955 { ac_try='test -s conftest.$ac_objext'
19956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19957 (eval $ac_try) 2>&5
19959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19960 (exit $ac_status); }; }; then
19963 echo "$as_me: failed program was:" >&5
19964 sed 's/^/| /' conftest.$ac_ext >&5
19968 rm -f conftest.$ac_objext conftest.$ac_ext
19970 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19971 echo "${ECHO_T}$ac_cv_c_const" >&6
19972 if test $ac_cv_c_const = no; then
19974 cat >>confdefs.h <<\_ACEOF
19980 echo "$as_me:$LINENO: checking for inline" >&5
19981 echo $ECHO_N "checking for inline... $ECHO_C" >&6
19982 if test "${ac_cv_c_inline+set}" = set; then
19983 echo $ECHO_N "(cached) $ECHO_C" >&6
19986 for ac_kw in inline __inline__ __inline; do
19987 cat >conftest.$ac_ext <<_ACEOF
19988 #line $LINENO "configure"
19991 cat confdefs.h >>conftest.$ac_ext
19992 cat >>conftest.$ac_ext <<_ACEOF
19993 /* end confdefs.h. */
19994 #ifndef __cplusplus
19996 static $ac_kw foo_t static_foo () {return 0; }
19997 $ac_kw foo_t foo () {return 0; }
20001 rm -f conftest.$ac_objext
20002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20003 (eval $ac_compile) 2>&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); } &&
20007 { ac_try='test -s conftest.$ac_objext'
20008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20009 (eval $ac_try) 2>&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); }; }; then
20013 ac_cv_c_inline=$ac_kw; break
20015 echo "$as_me: failed program was:" >&5
20016 sed 's/^/| /' conftest.$ac_ext >&5
20019 rm -f conftest.$ac_objext conftest.$ac_ext
20023 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20024 echo "${ECHO_T}$ac_cv_c_inline" >&6
20025 case $ac_cv_c_inline in
20028 cat >>confdefs.h <<\_ACEOF
20032 *) cat >>confdefs.h <<_ACEOF
20033 #define inline $ac_cv_c_inline
20039 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20040 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20041 if test "${ac_cv_c_bigendian+set}" = set; then
20042 echo $ECHO_N "(cached) $ECHO_C" >&6
20044 # See if sys/param.h defines the BYTE_ORDER macro.
20045 cat >conftest.$ac_ext <<_ACEOF
20046 #line $LINENO "configure"
20049 cat confdefs.h >>conftest.$ac_ext
20050 cat >>conftest.$ac_ext <<_ACEOF
20051 /* end confdefs.h. */
20052 #include <sys/types.h>
20053 #include <sys/param.h>
20058 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20059 bogus endian macros
20066 rm -f conftest.$ac_objext
20067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20068 (eval $ac_compile) 2>&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); } &&
20072 { ac_try='test -s conftest.$ac_objext'
20073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20074 (eval $ac_try) 2>&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); }; }; then
20078 # It does; now see whether it defined to BIG_ENDIAN or not.
20079 cat >conftest.$ac_ext <<_ACEOF
20080 #line $LINENO "configure"
20083 cat confdefs.h >>conftest.$ac_ext
20084 cat >>conftest.$ac_ext <<_ACEOF
20085 /* end confdefs.h. */
20086 #include <sys/types.h>
20087 #include <sys/param.h>
20092 #if BYTE_ORDER != BIG_ENDIAN
20100 rm -f conftest.$ac_objext
20101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20102 (eval $ac_compile) 2>&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); } &&
20106 { ac_try='test -s conftest.$ac_objext'
20107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20108 (eval $ac_try) 2>&5
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); }; }; then
20112 ac_cv_c_bigendian=yes
20114 echo "$as_me: failed program was:" >&5
20115 sed 's/^/| /' conftest.$ac_ext >&5
20117 ac_cv_c_bigendian=no
20119 rm -f conftest.$ac_objext conftest.$ac_ext
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.$ac_ext >&5
20124 # It does not; compile a test program.
20125 if test "$cross_compiling" = yes; then
20126 # try to guess the endianness by grepping values into an object file
20127 ac_cv_c_bigendian=unknown
20128 cat >conftest.$ac_ext <<_ACEOF
20129 #line $LINENO "configure"
20132 cat confdefs.h >>conftest.$ac_ext
20133 cat >>conftest.$ac_ext <<_ACEOF
20134 /* end confdefs.h. */
20135 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20136 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20137 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20138 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20139 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20140 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20144 _ascii (); _ebcdic ();
20149 rm -f conftest.$ac_objext
20150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20151 (eval $ac_compile) 2>&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); } &&
20155 { ac_try='test -s conftest.$ac_objext'
20156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20157 (eval $ac_try) 2>&5
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; }; then
20161 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20162 ac_cv_c_bigendian=yes
20164 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20165 if test "$ac_cv_c_bigendian" = unknown; then
20166 ac_cv_c_bigendian=no
20168 # finding both strings is unlikely to happen, but who knows?
20169 ac_cv_c_bigendian=unknown
20173 echo "$as_me: failed program was:" >&5
20174 sed 's/^/| /' conftest.$ac_ext >&5
20177 rm -f conftest.$ac_objext conftest.$ac_ext
20179 cat >conftest.$ac_ext <<_ACEOF
20180 #line $LINENO "configure"
20183 cat confdefs.h >>conftest.$ac_ext
20184 cat >>conftest.$ac_ext <<_ACEOF
20185 /* end confdefs.h. */
20189 /* Are we little or big endian? From Harbison&Steele. */
20193 char c[sizeof (long)];
20196 exit (u.c[sizeof (long) - 1] == 1);
20199 rm -f conftest$ac_exeext
20200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20201 (eval $ac_link) 2>&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20206 (eval $ac_try) 2>&5
20208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209 (exit $ac_status); }; }; then
20210 ac_cv_c_bigendian=no
20212 echo "$as_me: program exited with status $ac_status" >&5
20213 echo "$as_me: failed program was:" >&5
20214 sed 's/^/| /' conftest.$ac_ext >&5
20216 ( exit $ac_status )
20217 ac_cv_c_bigendian=yes
20219 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20222 rm -f conftest.$ac_objext conftest.$ac_ext
20224 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20225 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20226 case $ac_cv_c_bigendian in
20228 cat >>confdefs.h <<\_ACEOF
20229 #define ENDIAN_BIG 1
20233 cat >>confdefs.h <<\_ACEOF
20234 #define ENDIAN_LITTLE 1
20238 { { echo "$as_me:$LINENO: error: unknown endianness
20239 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20240 echo "$as_me: error: unknown endianness
20241 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20242 { (exit 1); exit 1; }; } ;;
20246 echo "$as_me:$LINENO: checking for pid_t" >&5
20247 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20248 if test "${ac_cv_type_pid_t+set}" = set; then
20249 echo $ECHO_N "(cached) $ECHO_C" >&6
20251 cat >conftest.$ac_ext <<_ACEOF
20252 #line $LINENO "configure"
20255 cat confdefs.h >>conftest.$ac_ext
20256 cat >>conftest.$ac_ext <<_ACEOF
20257 /* end confdefs.h. */
20258 $ac_includes_default
20264 if (sizeof (pid_t))
20270 rm -f conftest.$ac_objext
20271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20272 (eval $ac_compile) 2>&5
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); } &&
20276 { ac_try='test -s conftest.$ac_objext'
20277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20278 (eval $ac_try) 2>&5
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); }; }; then
20282 ac_cv_type_pid_t=yes
20284 echo "$as_me: failed program was:" >&5
20285 sed 's/^/| /' conftest.$ac_ext >&5
20287 ac_cv_type_pid_t=no
20289 rm -f conftest.$ac_objext conftest.$ac_ext
20291 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20292 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20293 if test $ac_cv_type_pid_t = yes; then
20297 cat >>confdefs.h <<_ACEOF
20303 echo "$as_me:$LINENO: checking for size_t" >&5
20304 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20305 if test "${ac_cv_type_size_t+set}" = set; then
20306 echo $ECHO_N "(cached) $ECHO_C" >&6
20308 cat >conftest.$ac_ext <<_ACEOF
20309 #line $LINENO "configure"
20312 cat confdefs.h >>conftest.$ac_ext
20313 cat >>conftest.$ac_ext <<_ACEOF
20314 /* end confdefs.h. */
20315 $ac_includes_default
20321 if (sizeof (size_t))
20327 rm -f conftest.$ac_objext
20328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20329 (eval $ac_compile) 2>&5
20331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20332 (exit $ac_status); } &&
20333 { ac_try='test -s conftest.$ac_objext'
20334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20335 (eval $ac_try) 2>&5
20337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20338 (exit $ac_status); }; }; then
20339 ac_cv_type_size_t=yes
20341 echo "$as_me: failed program was:" >&5
20342 sed 's/^/| /' conftest.$ac_ext >&5
20344 ac_cv_type_size_t=no
20346 rm -f conftest.$ac_objext conftest.$ac_ext
20348 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20349 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20350 if test $ac_cv_type_size_t = yes; then
20354 cat >>confdefs.h <<_ACEOF
20355 #define size_t unsigned
20360 echo "$as_me:$LINENO: checking for int64_t" >&5
20361 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20362 if test "${ac_cv_type_int64_t+set}" = set; then
20363 echo $ECHO_N "(cached) $ECHO_C" >&6
20365 cat >conftest.$ac_ext <<_ACEOF
20366 #line $LINENO "configure"
20369 cat confdefs.h >>conftest.$ac_ext
20370 cat >>conftest.$ac_ext <<_ACEOF
20371 /* end confdefs.h. */
20372 $ac_includes_default
20378 if (sizeof (int64_t))
20384 rm -f conftest.$ac_objext
20385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20386 (eval $ac_compile) 2>&5
20388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389 (exit $ac_status); } &&
20390 { ac_try='test -s conftest.$ac_objext'
20391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20392 (eval $ac_try) 2>&5
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); }; }; then
20396 ac_cv_type_int64_t=yes
20398 echo "$as_me: failed program was:" >&5
20399 sed 's/^/| /' conftest.$ac_ext >&5
20401 ac_cv_type_int64_t=no
20403 rm -f conftest.$ac_objext conftest.$ac_ext
20405 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20406 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20407 if test $ac_cv_type_int64_t = yes; then
20409 cat >>confdefs.h <<_ACEOF
20410 #define HAVE_INT64_T 1
20415 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20416 echo "$as_me: error: Type int64_t required but not found" >&2;}
20417 { (exit 1); exit 1; }; }
20420 echo "$as_me:$LINENO: checking for uint64_t" >&5
20421 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20422 if test "${ac_cv_type_uint64_t+set}" = set; then
20423 echo $ECHO_N "(cached) $ECHO_C" >&6
20425 cat >conftest.$ac_ext <<_ACEOF
20426 #line $LINENO "configure"
20429 cat confdefs.h >>conftest.$ac_ext
20430 cat >>conftest.$ac_ext <<_ACEOF
20431 /* end confdefs.h. */
20432 $ac_includes_default
20436 if ((uint64_t *) 0)
20438 if (sizeof (uint64_t))
20444 rm -f conftest.$ac_objext
20445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20446 (eval $ac_compile) 2>&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } &&
20450 { ac_try='test -s conftest.$ac_objext'
20451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20452 (eval $ac_try) 2>&5
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); }; }; then
20456 ac_cv_type_uint64_t=yes
20458 echo "$as_me: failed program was:" >&5
20459 sed 's/^/| /' conftest.$ac_ext >&5
20461 ac_cv_type_uint64_t=no
20463 rm -f conftest.$ac_objext conftest.$ac_ext
20465 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20466 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20467 if test $ac_cv_type_uint64_t = yes; then
20469 cat >>confdefs.h <<_ACEOF
20470 #define HAVE_UINT64_T 1
20475 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20476 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20477 { (exit 1); exit 1; }; }
20480 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20481 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20482 if test "${ac_cv_header_time+set}" = set; then
20483 echo $ECHO_N "(cached) $ECHO_C" >&6
20485 cat >conftest.$ac_ext <<_ACEOF
20486 #line $LINENO "configure"
20489 cat confdefs.h >>conftest.$ac_ext
20490 cat >>conftest.$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20492 #include <sys/types.h>
20493 #include <sys/time.h>
20499 if ((struct tm *) 0)
20505 rm -f conftest.$ac_objext
20506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20507 (eval $ac_compile) 2>&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); } &&
20511 { ac_try='test -s conftest.$ac_objext'
20512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20513 (eval $ac_try) 2>&5
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); }; }; then
20517 ac_cv_header_time=yes
20519 echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.$ac_ext >&5
20522 ac_cv_header_time=no
20524 rm -f conftest.$ac_objext conftest.$ac_ext
20526 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20527 echo "${ECHO_T}$ac_cv_header_time" >&6
20528 if test $ac_cv_header_time = yes; then
20530 cat >>confdefs.h <<\_ACEOF
20531 #define TIME_WITH_SYS_TIME 1
20536 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20537 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20538 if test "${ac_cv_struct_tm+set}" = set; then
20539 echo $ECHO_N "(cached) $ECHO_C" >&6
20541 cat >conftest.$ac_ext <<_ACEOF
20542 #line $LINENO "configure"
20545 cat confdefs.h >>conftest.$ac_ext
20546 cat >>conftest.$ac_ext <<_ACEOF
20547 /* end confdefs.h. */
20548 #include <sys/types.h>
20554 struct tm *tp; tp->tm_sec;
20559 rm -f conftest.$ac_objext
20560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20561 (eval $ac_compile) 2>&5
20563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 (exit $ac_status); } &&
20565 { ac_try='test -s conftest.$ac_objext'
20566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20567 (eval $ac_try) 2>&5
20569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20570 (exit $ac_status); }; }; then
20571 ac_cv_struct_tm=time.h
20573 echo "$as_me: failed program was:" >&5
20574 sed 's/^/| /' conftest.$ac_ext >&5
20576 ac_cv_struct_tm=sys/time.h
20578 rm -f conftest.$ac_objext conftest.$ac_ext
20580 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20581 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20582 if test $ac_cv_struct_tm = sys/time.h; then
20584 cat >>confdefs.h <<\_ACEOF
20585 #define TM_IN_SYS_TIME 1
20591 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20592 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20593 if test "${ac_cv_cxx_namespaces+set}" = set; then
20594 echo $ECHO_N "(cached) $ECHO_C" >&6
20599 ac_cpp='$CXXCPP $CPPFLAGS'
20600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20604 cat >conftest.$ac_ext <<_ACEOF
20605 #line $LINENO "configure"
20608 cat confdefs.h >>conftest.$ac_ext
20609 cat >>conftest.$ac_ext <<_ACEOF
20610 /* end confdefs.h. */
20611 namespace Outer { namespace Inner { int i = 0; }}
20615 using namespace Outer::Inner; return i;
20620 rm -f conftest.$ac_objext
20621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20622 (eval $ac_compile) 2>&5
20624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20625 (exit $ac_status); } &&
20626 { ac_try='test -s conftest.$ac_objext'
20627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20628 (eval $ac_try) 2>&5
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); }; }; then
20632 ac_cv_cxx_namespaces=yes
20634 echo "$as_me: failed program was:" >&5
20635 sed 's/^/| /' conftest.$ac_ext >&5
20637 ac_cv_cxx_namespaces=no
20639 rm -f conftest.$ac_objext conftest.$ac_ext
20641 ac_cpp='$CPP $CPPFLAGS'
20642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20648 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20649 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20650 if test "$ac_cv_cxx_namespaces" = yes; then
20652 cat >>confdefs.h <<\_ACEOF
20653 #define HAVE_NAMESPACES
20658 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20659 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20660 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20661 echo $ECHO_N "(cached) $ECHO_C" >&6
20667 ac_cpp='$CXXCPP $CPPFLAGS'
20668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20672 cat >conftest.$ac_ext <<_ACEOF
20673 #line $LINENO "configure"
20676 cat confdefs.h >>conftest.$ac_ext
20677 cat >>conftest.$ac_ext <<_ACEOF
20678 /* end confdefs.h. */
20679 #include <ext/hash_map>
20680 #ifdef HAVE_NAMESPACES
20681 using namespace std;
20686 hash_map<int, int> t; return 0;
20691 rm -f conftest.$ac_objext
20692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20693 (eval $ac_compile) 2>&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); } &&
20697 { ac_try='test -s conftest.$ac_objext'
20698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20699 (eval $ac_try) 2>&5
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); }; }; then
20703 ac_cv_cxx_have_ext_hash_map=std
20705 echo "$as_me: failed program was:" >&5
20706 sed 's/^/| /' conftest.$ac_ext >&5
20708 ac_cv_cxx_have_ext_hash_map=no
20710 rm -f conftest.$ac_objext conftest.$ac_ext
20711 cat >conftest.$ac_ext <<_ACEOF
20712 #line $LINENO "configure"
20715 cat confdefs.h >>conftest.$ac_ext
20716 cat >>conftest.$ac_ext <<_ACEOF
20717 /* end confdefs.h. */
20718 #include <ext/hash_map>
20719 #ifdef HAVE_NAMESPACES
20720 using namespace __gnu_cxx;
20725 hash_map<int, int> t; return 0;
20730 rm -f conftest.$ac_objext
20731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20732 (eval $ac_compile) 2>&5
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); } &&
20736 { ac_try='test -s conftest.$ac_objext'
20737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20738 (eval $ac_try) 2>&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); }; }; then
20742 ac_cv_cxx_have_ext_hash_map=gnu
20744 echo "$as_me: failed program was:" >&5
20745 sed 's/^/| /' conftest.$ac_ext >&5
20747 ac_cv_cxx_have_ext_hash_map=no
20749 rm -f conftest.$ac_objext conftest.$ac_ext
20751 ac_cpp='$CPP $CPPFLAGS'
20752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20758 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20759 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20760 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20762 cat >>confdefs.h <<\_ACEOF
20763 #define HAVE_STD_EXT_HASH_MAP
20767 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20769 cat >>confdefs.h <<\_ACEOF
20770 #define HAVE_GNU_EXT_HASH_MAP
20775 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20776 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20777 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20778 echo $ECHO_N "(cached) $ECHO_C" >&6
20784 ac_cpp='$CXXCPP $CPPFLAGS'
20785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20789 cat >conftest.$ac_ext <<_ACEOF
20790 #line $LINENO "configure"
20793 cat confdefs.h >>conftest.$ac_ext
20794 cat >>conftest.$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20796 #include <ext/hash_set>
20797 #ifdef HAVE_NAMESPACES
20798 using namespace std;
20803 hash_set<int> t; return 0;
20808 rm -f conftest.$ac_objext
20809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20810 (eval $ac_compile) 2>&5
20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); } &&
20814 { ac_try='test -s conftest.$ac_objext'
20815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20816 (eval $ac_try) 2>&5
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); }; }; then
20820 ac_cv_cxx_have_ext_hash_set=std
20822 echo "$as_me: failed program was:" >&5
20823 sed 's/^/| /' conftest.$ac_ext >&5
20825 ac_cv_cxx_have_ext_hash_set=no
20827 rm -f conftest.$ac_objext conftest.$ac_ext
20828 cat >conftest.$ac_ext <<_ACEOF
20829 #line $LINENO "configure"
20832 cat confdefs.h >>conftest.$ac_ext
20833 cat >>conftest.$ac_ext <<_ACEOF
20834 /* end confdefs.h. */
20835 #include <ext/hash_set>
20836 #ifdef HAVE_NAMESPACES
20837 using namespace __gnu_cxx;
20842 hash_set<int> t; return 0;
20847 rm -f conftest.$ac_objext
20848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20849 (eval $ac_compile) 2>&5
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); } &&
20853 { ac_try='test -s conftest.$ac_objext'
20854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20855 (eval $ac_try) 2>&5
20857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858 (exit $ac_status); }; }; then
20859 ac_cv_cxx_have_ext_hash_set=gnu
20861 echo "$as_me: failed program was:" >&5
20862 sed 's/^/| /' conftest.$ac_ext >&5
20864 ac_cv_cxx_have_ext_hash_set=no
20866 rm -f conftest.$ac_objext conftest.$ac_ext
20868 ac_cpp='$CPP $CPPFLAGS'
20869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20875 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
20876 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
20877 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
20879 cat >>confdefs.h <<\_ACEOF
20880 #define HAVE_STD_EXT_HASH_SET
20884 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
20886 cat >>confdefs.h <<\_ACEOF
20887 #define HAVE_GNU_EXT_HASH_SET
20892 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
20893 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
20894 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
20895 echo $ECHO_N "(cached) $ECHO_C" >&6
20901 ac_cpp='$CXXCPP $CPPFLAGS'
20902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20906 cat >conftest.$ac_ext <<_ACEOF
20907 #line $LINENO "configure"
20910 cat confdefs.h >>conftest.$ac_ext
20911 cat >>conftest.$ac_ext <<_ACEOF
20912 /* end confdefs.h. */
20913 #include <ext/slist>
20914 #ifdef HAVE_NAMESPACES
20915 using namespace std;
20920 slist<int> s; return 0;
20925 rm -f conftest.$ac_objext
20926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20927 (eval $ac_compile) 2>&5
20929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20930 (exit $ac_status); } &&
20931 { ac_try='test -s conftest.$ac_objext'
20932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20933 (eval $ac_try) 2>&5
20935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936 (exit $ac_status); }; }; then
20937 ac_cv_cxx_have_ext_slist=std
20939 echo "$as_me: failed program was:" >&5
20940 sed 's/^/| /' conftest.$ac_ext >&5
20942 ac_cv_cxx_have_ext_slist=no
20944 rm -f conftest.$ac_objext conftest.$ac_ext
20945 cat >conftest.$ac_ext <<_ACEOF
20946 #line $LINENO "configure"
20949 cat confdefs.h >>conftest.$ac_ext
20950 cat >>conftest.$ac_ext <<_ACEOF
20951 /* end confdefs.h. */
20952 #include <ext/slist>
20953 #ifdef HAVE_NAMESPACES
20954 using namespace __gnu_cxx;
20959 slist<int> s; return 0;
20964 rm -f conftest.$ac_objext
20965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20966 (eval $ac_compile) 2>&5
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); } &&
20970 { ac_try='test -s conftest.$ac_objext'
20971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20972 (eval $ac_try) 2>&5
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); }; }; then
20976 ac_cv_cxx_have_ext_slist=gnu
20978 echo "$as_me: failed program was:" >&5
20979 sed 's/^/| /' conftest.$ac_ext >&5
20981 ac_cv_cxx_have_ext_slist=no
20983 rm -f conftest.$ac_objext conftest.$ac_ext
20986 ac_cpp='$CPP $CPPFLAGS'
20987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20993 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
20994 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
20995 if test "$ac_cv_cxx_have_ext_slist" = std; then
20997 cat >>confdefs.h <<\_ACEOF
20998 #define HAVE_EXT_SLIST std
21002 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21004 cat >>confdefs.h <<\_ACEOF
21005 #define HAVE_EXT_SLIST gnu
21010 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21011 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21012 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21013 echo $ECHO_N "(cached) $ECHO_C" >&6
21019 ac_cpp='$CXXCPP $CPPFLAGS'
21020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21024 cat >conftest.$ac_ext <<_ACEOF
21025 #line $LINENO "configure"
21028 cat confdefs.h >>conftest.$ac_ext
21029 cat >>conftest.$ac_ext <<_ACEOF
21030 /* end confdefs.h. */
21031 #include <iterator>
21032 #ifdef HAVE_NAMESPACES
21033 using namespace std;
21038 iterator<int,int,int> t; return 0;
21043 rm -f conftest.$ac_objext
21044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21045 (eval $ac_compile) 2>&5
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); } &&
21049 { ac_try='test -s conftest.$ac_objext'
21050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21051 (eval $ac_try) 2>&5
21053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21054 (exit $ac_status); }; }; then
21055 ac_cv_cxx_have_std_iterator=yes
21057 echo "$as_me: failed program was:" >&5
21058 sed 's/^/| /' conftest.$ac_ext >&5
21060 ac_cv_cxx_have_std_iterator=no
21062 rm -f conftest.$ac_objext conftest.$ac_ext
21064 ac_cpp='$CPP $CPPFLAGS'
21065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21071 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21072 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21073 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21075 cat >>confdefs.h <<\_ACEOF
21076 #define HAVE_STD_ITERATOR
21081 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21082 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21083 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21084 echo $ECHO_N "(cached) $ECHO_C" >&6
21090 ac_cpp='$CXXCPP $CPPFLAGS'
21091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21095 cat >conftest.$ac_ext <<_ACEOF
21096 #line $LINENO "configure"
21099 cat confdefs.h >>conftest.$ac_ext
21100 cat >>conftest.$ac_ext <<_ACEOF
21101 /* end confdefs.h. */
21102 #include <iterator>
21103 #ifdef HAVE_NAMESPACES
21104 using namespace std;
21109 bidirectional_iterator<int,int> t; return 0;
21114 rm -f conftest.$ac_objext
21115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21116 (eval $ac_compile) 2>&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); } &&
21120 { ac_try='test -s conftest.$ac_objext'
21121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21122 (eval $ac_try) 2>&5
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); }; }; then
21126 ac_cv_cxx_have_bi_iterator=yes
21128 echo "$as_me: failed program was:" >&5
21129 sed 's/^/| /' conftest.$ac_ext >&5
21131 ac_cv_cxx_have_bi_iterator=no
21133 rm -f conftest.$ac_objext conftest.$ac_ext
21135 ac_cpp='$CPP $CPPFLAGS'
21136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21142 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21143 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21144 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21146 cat >>confdefs.h <<\_ACEOF
21147 #define HAVE_BI_ITERATOR
21152 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21153 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21154 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21155 echo $ECHO_N "(cached) $ECHO_C" >&6
21161 ac_cpp='$CXXCPP $CPPFLAGS'
21162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21166 cat >conftest.$ac_ext <<_ACEOF
21167 #line $LINENO "configure"
21170 cat confdefs.h >>conftest.$ac_ext
21171 cat >>conftest.$ac_ext <<_ACEOF
21172 /* end confdefs.h. */
21173 #include <iterator>
21174 #ifdef HAVE_NAMESPACES
21175 using namespace std;
21180 forward_iterator<int,int> t; return 0;
21185 rm -f conftest.$ac_objext
21186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21187 (eval $ac_compile) 2>&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try='test -s conftest.$ac_objext'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; }; then
21197 ac_cv_cxx_have_fwd_iterator=yes
21199 echo "$as_me: failed program was:" >&5
21200 sed 's/^/| /' conftest.$ac_ext >&5
21202 ac_cv_cxx_have_fwd_iterator=no
21204 rm -f conftest.$ac_objext conftest.$ac_ext
21206 ac_cpp='$CPP $CPPFLAGS'
21207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21213 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21214 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21215 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21217 cat >>confdefs.h <<\_ACEOF
21218 #define HAVE_FWD_ITERATOR
21224 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21225 # for constant arguments. Useless!
21226 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21227 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21228 if test "${ac_cv_working_alloca_h+set}" = set; then
21229 echo $ECHO_N "(cached) $ECHO_C" >&6
21231 cat >conftest.$ac_ext <<_ACEOF
21232 #line $LINENO "configure"
21235 cat confdefs.h >>conftest.$ac_ext
21236 cat >>conftest.$ac_ext <<_ACEOF
21237 /* end confdefs.h. */
21238 #include <alloca.h>
21242 char *p = (char *) alloca (2 * sizeof (int));
21247 rm -f conftest.$ac_objext conftest$ac_exeext
21248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21249 (eval $ac_link) 2>&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); } &&
21253 { ac_try='test -s conftest$ac_exeext'
21254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21255 (eval $ac_try) 2>&5
21257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21258 (exit $ac_status); }; }; then
21259 ac_cv_working_alloca_h=yes
21261 echo "$as_me: failed program was:" >&5
21262 sed 's/^/| /' conftest.$ac_ext >&5
21264 ac_cv_working_alloca_h=no
21266 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21268 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21269 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21270 if test $ac_cv_working_alloca_h = yes; then
21272 cat >>confdefs.h <<\_ACEOF
21273 #define HAVE_ALLOCA_H 1
21278 echo "$as_me:$LINENO: checking for alloca" >&5
21279 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21280 if test "${ac_cv_func_alloca_works+set}" = set; then
21281 echo $ECHO_N "(cached) $ECHO_C" >&6
21283 cat >conftest.$ac_ext <<_ACEOF
21284 #line $LINENO "configure"
21287 cat confdefs.h >>conftest.$ac_ext
21288 cat >>conftest.$ac_ext <<_ACEOF
21289 /* end confdefs.h. */
21291 # define alloca __builtin_alloca
21294 # include <malloc.h>
21295 # define alloca _alloca
21298 # include <alloca.h>
21303 # ifndef alloca /* predefined by HP cc +Olibcalls */
21314 char *p = (char *) alloca (1);
21319 rm -f conftest.$ac_objext conftest$ac_exeext
21320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21321 (eval $ac_link) 2>&5
21323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21324 (exit $ac_status); } &&
21325 { ac_try='test -s conftest$ac_exeext'
21326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21327 (eval $ac_try) 2>&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); }; }; then
21331 ac_cv_func_alloca_works=yes
21333 echo "$as_me: failed program was:" >&5
21334 sed 's/^/| /' conftest.$ac_ext >&5
21336 ac_cv_func_alloca_works=no
21338 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21340 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21341 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21343 if test $ac_cv_func_alloca_works = yes; then
21345 cat >>confdefs.h <<\_ACEOF
21346 #define HAVE_ALLOCA 1
21350 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21351 # that cause trouble. Some versions do not even contain alloca or
21352 # contain a buggy version. If you still want to use their alloca,
21353 # use ar to extract alloca.o from them instead of compiling alloca.c.
21355 ALLOCA=alloca.$ac_objext
21357 cat >>confdefs.h <<\_ACEOF
21362 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21363 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21364 if test "${ac_cv_os_cray+set}" = set; then
21365 echo $ECHO_N "(cached) $ECHO_C" >&6
21367 cat >conftest.$ac_ext <<_ACEOF
21368 #line $LINENO "configure"
21371 cat confdefs.h >>conftest.$ac_ext
21372 cat >>conftest.$ac_ext <<_ACEOF
21373 /* end confdefs.h. */
21374 #if defined(CRAY) && ! defined(CRAY2)
21381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21382 $EGREP "webecray" >/dev/null 2>&1; then
21390 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21391 echo "${ECHO_T}$ac_cv_os_cray" >&6
21392 if test $ac_cv_os_cray = yes; then
21393 for ac_func in _getb67 GETB67 getb67; do
21394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21395 echo "$as_me:$LINENO: checking for $ac_func" >&5
21396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21397 if eval "test \"\${$as_ac_var+set}\" = set"; then
21398 echo $ECHO_N "(cached) $ECHO_C" >&6
21400 cat >conftest.$ac_ext <<_ACEOF
21401 #line $LINENO "configure"
21404 cat confdefs.h >>conftest.$ac_ext
21405 cat >>conftest.$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21407 /* System header to define __stub macros and hopefully few prototypes,
21408 which can conflict with char $ac_func (); below.
21409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21410 <limits.h> exists even on freestanding compilers. */
21412 # include <limits.h>
21414 # include <assert.h>
21416 /* Override any gcc2 internal prototype to avoid an error. */
21421 /* We use char because int might match the return type of a gcc2
21422 builtin and then its argument prototype would still apply. */
21424 /* The GNU C library defines this for functions which it implements
21425 to always fail with ENOSYS. Some functions are actually named
21426 something starting with __ and the normal name is an alias. */
21427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21430 char (*f) () = $ac_func;
21439 return f != $ac_func;
21444 rm -f conftest.$ac_objext conftest$ac_exeext
21445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21446 (eval $ac_link) 2>&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); } &&
21450 { ac_try='test -s conftest$ac_exeext'
21451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21452 (eval $ac_try) 2>&5
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); }; }; then
21456 eval "$as_ac_var=yes"
21458 echo "$as_me: failed program was:" >&5
21459 sed 's/^/| /' conftest.$ac_ext >&5
21461 eval "$as_ac_var=no"
21463 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21467 if test `eval echo '${'$as_ac_var'}'` = yes; then
21469 cat >>confdefs.h <<_ACEOF
21470 #define CRAY_STACKSEG_END $ac_func
21479 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21480 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21481 if test "${ac_cv_c_stack_direction+set}" = set; then
21482 echo $ECHO_N "(cached) $ECHO_C" >&6
21484 if test "$cross_compiling" = yes; then
21485 ac_cv_c_stack_direction=0
21487 cat >conftest.$ac_ext <<_ACEOF
21488 #line $LINENO "configure"
21491 cat confdefs.h >>conftest.$ac_ext
21492 cat >>conftest.$ac_ext <<_ACEOF
21493 /* end confdefs.h. */
21495 find_stack_direction ()
21497 static char *addr = 0;
21502 return find_stack_direction ();
21505 return (&dummy > addr) ? 1 : -1;
21511 exit (find_stack_direction () < 0);
21514 rm -f conftest$ac_exeext
21515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21516 (eval $ac_link) 2>&5
21518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21519 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21521 (eval $ac_try) 2>&5
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); }; }; then
21525 ac_cv_c_stack_direction=1
21527 echo "$as_me: program exited with status $ac_status" >&5
21528 echo "$as_me: failed program was:" >&5
21529 sed 's/^/| /' conftest.$ac_ext >&5
21531 ( exit $ac_status )
21532 ac_cv_c_stack_direction=-1
21534 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21537 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21538 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21540 cat >>confdefs.h <<_ACEOF
21541 #define STACK_DIRECTION $ac_cv_c_stack_direction
21547 if test $ac_cv_c_compiler_gnu = yes; then
21548 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21549 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21550 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21551 echo $ECHO_N "(cached) $ECHO_C" >&6
21553 ac_pattern="Autoconf.*'x'"
21554 cat >conftest.$ac_ext <<_ACEOF
21555 #line $LINENO "configure"
21558 cat confdefs.h >>conftest.$ac_ext
21559 cat >>conftest.$ac_ext <<_ACEOF
21560 /* end confdefs.h. */
21564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21565 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21566 ac_cv_prog_gcc_traditional=yes
21568 ac_cv_prog_gcc_traditional=no
21573 if test $ac_cv_prog_gcc_traditional = no; then
21574 cat >conftest.$ac_ext <<_ACEOF
21575 #line $LINENO "configure"
21578 cat confdefs.h >>conftest.$ac_ext
21579 cat >>conftest.$ac_ext <<_ACEOF
21580 /* end confdefs.h. */
21581 #include <termio.h>
21584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21585 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21586 ac_cv_prog_gcc_traditional=yes
21592 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21593 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21594 if test $ac_cv_prog_gcc_traditional = yes; then
21595 CC="$CC -traditional"
21599 echo "$as_me:$LINENO: checking for working memcmp" >&5
21600 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21601 if test "${ac_cv_func_memcmp_working+set}" = set; then
21602 echo $ECHO_N "(cached) $ECHO_C" >&6
21604 if test "$cross_compiling" = yes; then
21605 ac_cv_func_memcmp_working=no
21607 cat >conftest.$ac_ext <<_ACEOF
21608 #line $LINENO "configure"
21611 cat confdefs.h >>conftest.$ac_ext
21612 cat >>conftest.$ac_ext <<_ACEOF
21613 /* end confdefs.h. */
21619 /* Some versions of memcmp are not 8-bit clean. */
21620 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21621 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21624 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21625 or more and with at least one buffer not starting on a 4-byte boundary.
21626 William Lewis provided this test program. */
21631 for (i = 0; i < 4; i++)
21635 strcpy (a, "--------01111111");
21636 strcpy (b, "--------10000000");
21637 if (memcmp (a, b, 16) >= 0)
21647 rm -f conftest$ac_exeext
21648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21649 (eval $ac_link) 2>&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21654 (eval $ac_try) 2>&5
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); }; }; then
21658 ac_cv_func_memcmp_working=yes
21660 echo "$as_me: program exited with status $ac_status" >&5
21661 echo "$as_me: failed program was:" >&5
21662 sed 's/^/| /' conftest.$ac_ext >&5
21664 ( exit $ac_status )
21665 ac_cv_func_memcmp_working=no
21667 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21670 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21671 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21672 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21676 for ac_header in stdlib.h unistd.h
21678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21680 echo "$as_me:$LINENO: checking for $ac_header" >&5
21681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21683 echo $ECHO_N "(cached) $ECHO_C" >&6
21685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21686 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21688 # Is the header compilable?
21689 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21690 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21691 cat >conftest.$ac_ext <<_ACEOF
21692 #line $LINENO "configure"
21695 cat confdefs.h >>conftest.$ac_ext
21696 cat >>conftest.$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21698 $ac_includes_default
21699 #include <$ac_header>
21701 rm -f conftest.$ac_objext
21702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21703 (eval $ac_compile) 2>&5
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706 (exit $ac_status); } &&
21707 { ac_try='test -s conftest.$ac_objext'
21708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21709 (eval $ac_try) 2>&5
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); }; }; then
21713 ac_header_compiler=yes
21715 echo "$as_me: failed program was:" >&5
21716 sed 's/^/| /' conftest.$ac_ext >&5
21718 ac_header_compiler=no
21720 rm -f conftest.$ac_objext conftest.$ac_ext
21721 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21722 echo "${ECHO_T}$ac_header_compiler" >&6
21724 # Is the header present?
21725 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21726 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21727 cat >conftest.$ac_ext <<_ACEOF
21728 #line $LINENO "configure"
21731 cat confdefs.h >>conftest.$ac_ext
21732 cat >>conftest.$ac_ext <<_ACEOF
21733 /* end confdefs.h. */
21734 #include <$ac_header>
21736 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21737 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21739 grep -v '^ *+' conftest.er1 >conftest.err
21741 cat conftest.err >&5
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); } >/dev/null; then
21744 if test -s conftest.err; then
21745 ac_cpp_err=$ac_c_preproc_warn_flag
21752 if test -z "$ac_cpp_err"; then
21753 ac_header_preproc=yes
21755 echo "$as_me: failed program was:" >&5
21756 sed 's/^/| /' conftest.$ac_ext >&5
21758 ac_header_preproc=no
21760 rm -f conftest.err conftest.$ac_ext
21761 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21762 echo "${ECHO_T}$ac_header_preproc" >&6
21764 # So? What about this header?
21765 case $ac_header_compiler:$ac_header_preproc in
21767 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21768 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21770 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21773 ## ------------------------------------ ##
21774 ## Report this to bug-autoconf@gnu.org. ##
21775 ## ------------------------------------ ##
21778 sed "s/^/$as_me: WARNING: /" >&2
21781 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21782 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21783 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21784 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21785 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21786 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21789 ## ------------------------------------ ##
21790 ## Report this to bug-autoconf@gnu.org. ##
21791 ## ------------------------------------ ##
21794 sed "s/^/$as_me: WARNING: /" >&2
21797 echo "$as_me:$LINENO: checking for $ac_header" >&5
21798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21800 echo $ECHO_N "(cached) $ECHO_C" >&6
21802 eval "$as_ac_Header=$ac_header_preproc"
21804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21808 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21809 cat >>confdefs.h <<_ACEOF
21810 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21818 for ac_func in getpagesize
21820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21821 echo "$as_me:$LINENO: checking for $ac_func" >&5
21822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21823 if eval "test \"\${$as_ac_var+set}\" = set"; then
21824 echo $ECHO_N "(cached) $ECHO_C" >&6
21826 cat >conftest.$ac_ext <<_ACEOF
21827 #line $LINENO "configure"
21830 cat confdefs.h >>conftest.$ac_ext
21831 cat >>conftest.$ac_ext <<_ACEOF
21832 /* end confdefs.h. */
21833 /* System header to define __stub macros and hopefully few prototypes,
21834 which can conflict with char $ac_func (); below.
21835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21836 <limits.h> exists even on freestanding compilers. */
21838 # include <limits.h>
21840 # include <assert.h>
21842 /* Override any gcc2 internal prototype to avoid an error. */
21847 /* We use char because int might match the return type of a gcc2
21848 builtin and then its argument prototype would still apply. */
21850 /* The GNU C library defines this for functions which it implements
21851 to always fail with ENOSYS. Some functions are actually named
21852 something starting with __ and the normal name is an alias. */
21853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21856 char (*f) () = $ac_func;
21865 return f != $ac_func;
21870 rm -f conftest.$ac_objext conftest$ac_exeext
21871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21872 (eval $ac_link) 2>&5
21874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21875 (exit $ac_status); } &&
21876 { ac_try='test -s conftest$ac_exeext'
21877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21878 (eval $ac_try) 2>&5
21880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21881 (exit $ac_status); }; }; then
21882 eval "$as_ac_var=yes"
21884 echo "$as_me: failed program was:" >&5
21885 sed 's/^/| /' conftest.$ac_ext >&5
21887 eval "$as_ac_var=no"
21889 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21893 if test `eval echo '${'$as_ac_var'}'` = yes; then
21894 cat >>confdefs.h <<_ACEOF
21895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21901 echo "$as_me:$LINENO: checking for working mmap" >&5
21902 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
21903 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
21904 echo $ECHO_N "(cached) $ECHO_C" >&6
21906 if test "$cross_compiling" = yes; then
21907 ac_cv_func_mmap_fixed_mapped=no
21909 cat >conftest.$ac_ext <<_ACEOF
21910 #line $LINENO "configure"
21913 cat confdefs.h >>conftest.$ac_ext
21914 cat >>conftest.$ac_ext <<_ACEOF
21915 /* end confdefs.h. */
21916 $ac_includes_default
21917 /* malloc might have been renamed as rpl_malloc. */
21920 /* Thanks to Mike Haertel and Jim Avera for this test.
21921 Here is a matrix of mmap possibilities:
21922 mmap private not fixed
21923 mmap private fixed at somewhere currently unmapped
21924 mmap private fixed at somewhere already mapped
21925 mmap shared not fixed
21926 mmap shared fixed at somewhere currently unmapped
21927 mmap shared fixed at somewhere already mapped
21928 For private mappings, we should verify that changes cannot be read()
21929 back from the file, nor mmap's back from the file at a different
21930 address. (There have been systems where private was not correctly
21931 implemented like the infamous i386 svr4.0, and systems where the
21932 VM page cache was not coherent with the file system buffer cache
21933 like early versions of FreeBSD and possibly contemporary NetBSD.)
21934 For shared mappings, we should conversely verify that changes get
21935 propagated back to all the places they're supposed to be.
21937 Grep wants private fixed already mapped.
21938 The main things grep needs to know about mmap are:
21939 * does it exist and is it safe to write into the mmap'd area
21940 * how to use it (BSD variants) */
21943 #include <sys/mman.h>
21945 #if !STDC_HEADERS && !HAVE_STDLIB_H
21949 /* This mess was copied from the GNU getpagesize.h. */
21950 #if !HAVE_GETPAGESIZE
21951 /* Assume that all systems that can run configure have sys/param.h. */
21952 # if !HAVE_SYS_PARAM_H
21953 # define HAVE_SYS_PARAM_H 1
21956 # ifdef _SC_PAGESIZE
21957 # define getpagesize() sysconf(_SC_PAGESIZE)
21958 # else /* no _SC_PAGESIZE */
21959 # if HAVE_SYS_PARAM_H
21960 # include <sys/param.h>
21961 # ifdef EXEC_PAGESIZE
21962 # define getpagesize() EXEC_PAGESIZE
21963 # else /* no EXEC_PAGESIZE */
21965 # define getpagesize() NBPG * CLSIZE
21968 # endif /* no CLSIZE */
21969 # else /* no NBPG */
21971 # define getpagesize() NBPC
21972 # else /* no NBPC */
21974 # define getpagesize() PAGESIZE
21975 # endif /* PAGESIZE */
21976 # endif /* no NBPC */
21977 # endif /* no NBPG */
21978 # endif /* no EXEC_PAGESIZE */
21979 # else /* no HAVE_SYS_PARAM_H */
21980 # define getpagesize() 8192 /* punt totally */
21981 # endif /* no HAVE_SYS_PARAM_H */
21982 # endif /* no _SC_PAGESIZE */
21984 #endif /* no HAVE_GETPAGESIZE */
21989 char *data, *data2, *data3;
21993 pagesize = getpagesize ();
21995 /* First, make a file with some known garbage in it. */
21996 data = (char *) malloc (pagesize);
21999 for (i = 0; i < pagesize; ++i)
22000 *(data + i) = rand ();
22002 fd = creat ("conftest.mmap", 0600);
22005 if (write (fd, data, pagesize) != pagesize)
22009 /* Next, try to mmap the file at a fixed address which already has
22010 something else allocated at it. If we can, also make sure that
22011 we see the same garbage. */
22012 fd = open ("conftest.mmap", O_RDWR);
22015 data2 = (char *) malloc (2 * pagesize);
22018 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22019 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22020 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22022 for (i = 0; i < pagesize; ++i)
22023 if (*(data + i) != *(data2 + i))
22026 /* Finally, make sure that changes to the mapped area do not
22027 percolate back to the file as seen by read(). (This is a bug on
22028 some variants of i386 svr4.0.) */
22029 for (i = 0; i < pagesize; ++i)
22030 *(data2 + i) = *(data2 + i) + 1;
22031 data3 = (char *) malloc (pagesize);
22034 if (read (fd, data3, pagesize) != pagesize)
22036 for (i = 0; i < pagesize; ++i)
22037 if (*(data + i) != *(data3 + i))
22043 rm -f conftest$ac_exeext
22044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22045 (eval $ac_link) 2>&5
22047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22050 (eval $ac_try) 2>&5
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); }; }; then
22054 ac_cv_func_mmap_fixed_mapped=yes
22056 echo "$as_me: program exited with status $ac_status" >&5
22057 echo "$as_me: failed program was:" >&5
22058 sed 's/^/| /' conftest.$ac_ext >&5
22060 ( exit $ac_status )
22061 ac_cv_func_mmap_fixed_mapped=no
22063 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22066 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22067 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22068 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22070 cat >>confdefs.h <<\_ACEOF
22071 #define HAVE_MMAP 1
22075 rm -f conftest.mmap
22077 echo "$as_me:$LINENO: checking for mmap of files" >&5
22078 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22079 if test "${ac_cv_func_mmap_file+set}" = set; then
22080 echo $ECHO_N "(cached) $ECHO_C" >&6
22085 ac_cpp='$CPP $CPPFLAGS'
22086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22090 if test "$cross_compiling" = yes; then
22091 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22092 See \`config.log' for more details." >&5
22093 echo "$as_me: error: cannot run test program while cross compiling
22094 See \`config.log' for more details." >&2;}
22095 { (exit 1); exit 1; }; }
22097 cat >conftest.$ac_ext <<_ACEOF
22098 #line $LINENO "configure"
22101 cat confdefs.h >>conftest.$ac_ext
22102 cat >>conftest.$ac_ext <<_ACEOF
22103 /* end confdefs.h. */
22105 #ifdef HAVE_SYS_MMAN_H
22106 #include <sys/mman.h>
22109 #ifdef HAVE_SYS_TYPES_H
22110 #include <sys/types.h>
22113 #ifdef HAVE_FCNTL_H
22119 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22121 rm -f conftest$ac_exeext
22122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22123 (eval $ac_link) 2>&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22128 (eval $ac_try) 2>&5
22130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22131 (exit $ac_status); }; }; then
22132 ac_cv_func_mmap_file=yes
22134 echo "$as_me: program exited with status $ac_status" >&5
22135 echo "$as_me: failed program was:" >&5
22136 sed 's/^/| /' conftest.$ac_ext >&5
22138 ( exit $ac_status )
22139 ac_cv_func_mmap_file=no
22141 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22144 ac_cpp='$CPP $CPPFLAGS'
22145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22151 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22152 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22153 if test "$ac_cv_func_mmap_file" = yes; then
22154 cat >>confdefs.h <<\_ACEOF
22155 #define HAVE_MMAP_FILE 1
22162 if test ${ac_cv_func_mmap_file} = "no"
22164 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22165 echo "$as_me: error: mmap() of files required but not found" >&2;}
22166 { (exit 1); exit 1; }; }
22168 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22169 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22170 if test "${ac_cv_header_mmap_anon+set}" = set; then
22171 echo $ECHO_N "(cached) $ECHO_C" >&6
22176 ac_cpp='$CPP $CPPFLAGS'
22177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22181 cat >conftest.$ac_ext <<_ACEOF
22182 #line $LINENO "configure"
22185 cat confdefs.h >>conftest.$ac_ext
22186 cat >>conftest.$ac_ext <<_ACEOF
22187 /* end confdefs.h. */
22188 #include <sys/mman.h>
22189 #include <unistd.h>
22194 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22199 rm -f conftest.$ac_objext
22200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22201 (eval $ac_compile) 2>&5
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); } &&
22205 { ac_try='test -s conftest.$ac_objext'
22206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22207 (eval $ac_try) 2>&5
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210 (exit $ac_status); }; }; then
22211 ac_cv_header_mmap_anon=yes
22213 echo "$as_me: failed program was:" >&5
22214 sed 's/^/| /' conftest.$ac_ext >&5
22216 ac_cv_header_mmap_anon=no
22218 rm -f conftest.$ac_objext conftest.$ac_ext
22220 ac_cpp='$CPP $CPPFLAGS'
22221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22227 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22228 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22229 if test "$ac_cv_header_mmap_anon" = yes; then
22230 cat >>confdefs.h <<\_ACEOF
22231 #define HAVE_MMAP_ANONYMOUS 1
22236 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22237 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22238 if test "${ac_cv_type_signal+set}" = set; then
22239 echo $ECHO_N "(cached) $ECHO_C" >&6
22241 cat >conftest.$ac_ext <<_ACEOF
22242 #line $LINENO "configure"
22245 cat confdefs.h >>conftest.$ac_ext
22246 cat >>conftest.$ac_ext <<_ACEOF
22247 /* end confdefs.h. */
22248 #include <sys/types.h>
22249 #include <signal.h>
22254 extern "C" void (*signal (int, void (*)(int)))(int);
22256 void (*signal ()) ();
22267 rm -f conftest.$ac_objext
22268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22269 (eval $ac_compile) 2>&5
22271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22272 (exit $ac_status); } &&
22273 { ac_try='test -s conftest.$ac_objext'
22274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22275 (eval $ac_try) 2>&5
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); }; }; then
22279 ac_cv_type_signal=void
22281 echo "$as_me: failed program was:" >&5
22282 sed 's/^/| /' conftest.$ac_ext >&5
22284 ac_cv_type_signal=int
22286 rm -f conftest.$ac_objext conftest.$ac_ext
22288 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22289 echo "${ECHO_T}$ac_cv_type_signal" >&6
22291 cat >>confdefs.h <<_ACEOF
22292 #define RETSIGTYPE $ac_cv_type_signal
22305 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
22307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22308 echo "$as_me:$LINENO: checking for $ac_func" >&5
22309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22310 if eval "test \"\${$as_ac_var+set}\" = set"; then
22311 echo $ECHO_N "(cached) $ECHO_C" >&6
22313 cat >conftest.$ac_ext <<_ACEOF
22314 #line $LINENO "configure"
22317 cat confdefs.h >>conftest.$ac_ext
22318 cat >>conftest.$ac_ext <<_ACEOF
22319 /* end confdefs.h. */
22320 /* System header to define __stub macros and hopefully few prototypes,
22321 which can conflict with char $ac_func (); below.
22322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22323 <limits.h> exists even on freestanding compilers. */
22325 # include <limits.h>
22327 # include <assert.h>
22329 /* Override any gcc2 internal prototype to avoid an error. */
22334 /* We use char because int might match the return type of a gcc2
22335 builtin and then its argument prototype would still apply. */
22337 /* The GNU C library defines this for functions which it implements
22338 to always fail with ENOSYS. Some functions are actually named
22339 something starting with __ and the normal name is an alias. */
22340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22343 char (*f) () = $ac_func;
22352 return f != $ac_func;
22357 rm -f conftest.$ac_objext conftest$ac_exeext
22358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22359 (eval $ac_link) 2>&5
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); } &&
22363 { ac_try='test -s conftest$ac_exeext'
22364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22365 (eval $ac_try) 2>&5
22367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368 (exit $ac_status); }; }; then
22369 eval "$as_ac_var=yes"
22371 echo "$as_me: failed program was:" >&5
22372 sed 's/^/| /' conftest.$ac_ext >&5
22374 eval "$as_ac_var=no"
22376 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22380 if test `eval echo '${'$as_ac_var'}'` = yes; then
22381 cat >>confdefs.h <<_ACEOF
22382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22390 echo "$as_me:$LINENO: checking for mmap" >&5
22391 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22392 if test "${ac_cv_func_mmap+set}" = set; then
22393 echo $ECHO_N "(cached) $ECHO_C" >&6
22395 cat >conftest.$ac_ext <<_ACEOF
22396 #line $LINENO "configure"
22399 cat confdefs.h >>conftest.$ac_ext
22400 cat >>conftest.$ac_ext <<_ACEOF
22401 /* end confdefs.h. */
22402 /* System header to define __stub macros and hopefully few prototypes,
22403 which can conflict with char mmap (); below.
22404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22405 <limits.h> exists even on freestanding compilers. */
22407 # include <limits.h>
22409 # include <assert.h>
22411 /* Override any gcc2 internal prototype to avoid an error. */
22416 /* We use char because int might match the return type of a gcc2
22417 builtin and then its argument prototype would still apply. */
22419 /* The GNU C library defines this for functions which it implements
22420 to always fail with ENOSYS. Some functions are actually named
22421 something starting with __ and the normal name is an alias. */
22422 #if defined (__stub_mmap) || defined (__stub___mmap)
22425 char (*f) () = mmap;
22439 rm -f conftest.$ac_objext conftest$ac_exeext
22440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22441 (eval $ac_link) 2>&5
22443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444 (exit $ac_status); } &&
22445 { ac_try='test -s conftest$ac_exeext'
22446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22447 (eval $ac_try) 2>&5
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); }; }; then
22451 ac_cv_func_mmap=yes
22453 echo "$as_me: failed program was:" >&5
22454 sed 's/^/| /' conftest.$ac_ext >&5
22458 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22460 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22461 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22462 if test $ac_cv_func_mmap = yes; then
22465 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22466 echo "$as_me: error: Function mmap() required but not found" >&2;}
22467 { (exit 1); exit 1; }; }
22470 echo "$as_me:$LINENO: checking for mprotect" >&5
22471 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22472 if test "${ac_cv_func_mprotect+set}" = set; then
22473 echo $ECHO_N "(cached) $ECHO_C" >&6
22475 cat >conftest.$ac_ext <<_ACEOF
22476 #line $LINENO "configure"
22479 cat confdefs.h >>conftest.$ac_ext
22480 cat >>conftest.$ac_ext <<_ACEOF
22481 /* end confdefs.h. */
22482 /* System header to define __stub macros and hopefully few prototypes,
22483 which can conflict with char mprotect (); below.
22484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22485 <limits.h> exists even on freestanding compilers. */
22487 # include <limits.h>
22489 # include <assert.h>
22491 /* Override any gcc2 internal prototype to avoid an error. */
22496 /* We use char because int might match the return type of a gcc2
22497 builtin and then its argument prototype would still apply. */
22499 /* The GNU C library defines this for functions which it implements
22500 to always fail with ENOSYS. Some functions are actually named
22501 something starting with __ and the normal name is an alias. */
22502 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22505 char (*f) () = mprotect;
22514 return f != mprotect;
22519 rm -f conftest.$ac_objext conftest$ac_exeext
22520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22521 (eval $ac_link) 2>&5
22523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524 (exit $ac_status); } &&
22525 { ac_try='test -s conftest$ac_exeext'
22526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22527 (eval $ac_try) 2>&5
22529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22530 (exit $ac_status); }; }; then
22531 ac_cv_func_mprotect=yes
22533 echo "$as_me: failed program was:" >&5
22534 sed 's/^/| /' conftest.$ac_ext >&5
22536 ac_cv_func_mprotect=no
22538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22540 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22541 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22542 if test $ac_cv_func_mprotect = yes; then
22545 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22546 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22547 { (exit 1); exit 1; }; }
22552 # Check whether --enable-purify or --disable-purify was given.
22553 if test "${enable_purify+set}" = set; then
22554 enableval="$enable_purify"
22559 if test ${enableval} = "no"
22564 ENABLE_PURIFY=ENABLE_PURIFY=1
22568 # Check whether --enable-optimized or --disable-optimized was given.
22569 if test "${enable_optimized+set}" = set; then
22570 enableval="$enable_optimized"
22575 if test ${enableval} = "no"
22580 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22584 # Check whether --enable-spec or --disable-spec was given.
22585 if test "${enable_spec+set}" = set; then
22586 enableval="$enable_spec"
22591 if test ${enableval} = "no"
22596 USE_SPEC=USE_SPEC=1
22600 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22601 if test "${enable_precompiled_bytecode+set}" = set; then
22602 enableval="$enable_precompiled_bytecode"
22607 if test ${enableval} = "no"
22612 UPB=USE_PRECOMPILED_BYTECODE=1
22617 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22618 if test "${enable_llc_diffs+set}" = set; then
22619 enableval="$enable_llc_diffs"
22624 if test ${enableval} = "no"
22626 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22633 # Check whether --enable-jit or --disable-jit was given.
22634 if test "${enable_jit+set}" = set; then
22635 enableval="$enable_jit"
22641 if test ${enableval} = "no"
22648 JIT=TARGET_HAS_JIT=1
22652 JIT=TARGET_HAS_JIT=1
22664 # Check whether --with-spec or --without-spec was given.
22665 if test "${with_spec+set}" = set; then
22666 withval="$with_spec"
22670 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22675 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22676 if test "${with_llvmgccdir+set}" = set; then
22677 withval="$with_llvmgccdir"
22678 LLVMGCCDIR=$withval
22683 # Check whether --with-bcrepos or --without-bcrepos was given.
22684 if test "${with_bcrepos+set}" = set; then
22685 withval="$with_bcrepos"
22689 BCR=/home/vadve/lattner/LLVMPrograms
22694 # Check whether --with-papi or --without-papi was given.
22695 if test "${with_papi+set}" = set; then
22696 withval="$with_papi"
22700 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22705 # Check whether --with-purify or --without-purify was given.
22706 if test "${with_purify+set}" = set; then
22707 withval="$with_purify"
22713 ac_config_files="$ac_config_files Makefile.config"
22714 cat >confcache <<\_ACEOF
22715 # This file is a shell script that caches the results of configure
22716 # tests run on this system so they can be shared between configure
22717 # scripts and configure runs, see configure's option --config-cache.
22718 # It is not useful on other systems. If it contains results you don't
22719 # want to keep, you may remove or edit it.
22721 # config.status only pays attention to the cache file if you give it
22722 # the --recheck option to rerun configure.
22724 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22725 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22726 # following values.
22730 # The following way of writing the cache mishandles newlines in values,
22731 # but we know of no workaround that is simple, portable, and efficient.
22732 # So, don't put newlines in cache variables' values.
22733 # Ultrix sh set writes to stderr and can't be redirected directly,
22734 # and sets the high bit in the cache file unless we assign to the vars.
22737 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22739 # `set' does not quote correctly, so add quotes (double-quote
22740 # substitution turns \\\\ into \\, and sed turns \\ into \).
22743 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22746 # `set' quotes correctly as required by POSIX, so do not add quotes.
22748 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22755 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22757 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22759 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22760 if test -w $cache_file; then
22761 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22762 cat confcache >$cache_file
22764 echo "not updating unwritable cache $cache_file"
22769 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22770 # Let make expand exec_prefix.
22771 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22773 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22774 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22775 # trailing colons and then remove the whole line if VPATH becomes empty
22776 # (actually we leave an empty line to preserve line numbers).
22777 if test "x$srcdir" = x.; then
22778 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22779 s/:*\$(srcdir):*/:/;
22780 s/:*\${srcdir}:*/:/;
22782 s/^\([^=]*=[ ]*\):*/\1/;
22788 DEFS=-DHAVE_CONFIG_H
22792 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22793 # 1. Remove the extension, and $U if already installed.
22794 ac_i=`echo "$ac_i" |
22795 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22797 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22798 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22800 LIBOBJS=$ac_libobjs
22802 LTLIBOBJS=$ac_ltlibobjs
22806 : ${CONFIG_STATUS=./config.status}
22807 ac_clean_files_save=$ac_clean_files
22808 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22809 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22810 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22811 cat >$CONFIG_STATUS <<_ACEOF
22813 # Generated by $as_me.
22814 # Run this file to recreate the current configuration.
22815 # Compiler output produced by configure, useful for debugging
22816 # configure, is in config.log if it exists.
22819 ac_cs_recheck=false
22821 SHELL=\${CONFIG_SHELL-$SHELL}
22824 cat >>$CONFIG_STATUS <<\_ACEOF
22825 ## --------------------- ##
22826 ## M4sh Initialization. ##
22827 ## --------------------- ##
22829 # Be Bourne compatible
22830 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22833 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22834 # is contrary to our usage. Disable this feature.
22835 alias -g '${1+"$@"}'='"$@"'
22836 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22840 # Support unset when possible.
22841 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22848 # Work around bugs in pre-3.0 UWIN ksh.
22849 $as_unset ENV MAIL MAILPATH
22856 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22857 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22858 LC_TELEPHONE LC_TIME
22860 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
22861 eval $as_var=C; export $as_var
22867 # Required to use basename.
22868 if expr a : '\(a\)' >/dev/null 2>&1; then
22874 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
22875 as_basename=basename
22881 # Name of the executable.
22882 as_me=`$as_basename "$0" ||
22883 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22884 X"$0" : 'X\(//\)$' \| \
22885 X"$0" : 'X\(/\)$' \| \
22886 . : '\(.\)' 2>/dev/null ||
22888 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22889 /^X\/\(\/\/\)$/{ s//\1/; q; }
22890 /^X\/\(\/\).*/{ s//\1/; q; }
22894 # PATH needs CR, and LINENO needs CR and PATH.
22895 # Avoid depending upon Character Ranges.
22896 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22897 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22898 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22899 as_cr_digits='0123456789'
22900 as_cr_alnum=$as_cr_Letters$as_cr_digits
22902 # The user is always right.
22903 if test "${PATH_SEPARATOR+set}" != set; then
22904 echo "#! /bin/sh" >conf$$.sh
22905 echo "exit 0" >>conf$$.sh
22907 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22916 as_lineno_1=$LINENO
22917 as_lineno_2=$LINENO
22918 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22919 test "x$as_lineno_1" != "x$as_lineno_2" &&
22920 test "x$as_lineno_3" = "x$as_lineno_2" || {
22921 # Find who we are. Look in the path if we contain no path at all
22924 *[\\/]* ) as_myself=$0 ;;
22925 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22926 for as_dir in $PATH
22929 test -z "$as_dir" && as_dir=.
22930 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22935 # We did not find ourselves, most probably we were run as `sh COMMAND'
22936 # in which case we are not to be found in the path.
22937 if test "x$as_myself" = x; then
22940 if test ! -f "$as_myself"; then
22941 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22942 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22943 { (exit 1); exit 1; }; }
22945 case $CONFIG_SHELL in
22947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22948 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22951 test -z "$as_dir" && as_dir=.
22952 for as_base in sh bash ksh sh5; do
22955 if ("$as_dir/$as_base" -c '
22956 as_lineno_1=$LINENO
22957 as_lineno_2=$LINENO
22958 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22959 test "x$as_lineno_1" != "x$as_lineno_2" &&
22960 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
22961 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
22962 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
22963 CONFIG_SHELL=$as_dir/$as_base
22964 export CONFIG_SHELL
22965 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22973 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22974 # uniformly replaced by the line number. The first 'sed' inserts a
22975 # line-number line before each line; the second 'sed' does the real
22976 # work. The second script uses 'N' to pair each line-number line
22977 # with the numbered line, and appends trailing '-' during
22978 # substitution so that $LINENO is not a special case at line end.
22979 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22980 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22981 sed '=' <$as_myself |
22986 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22989 s,^['$as_cr_digits']*\n,,
22990 ' >$as_me.lineno &&
22991 chmod +x $as_me.lineno ||
22992 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22993 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22994 { (exit 1); exit 1; }; }
22996 # Don't try to exec as it changes $[0], causing all sort of problems
22997 # (the dirname of $[0] is not the place where we might find the
22998 # original and so on. Autoconf is especially sensible to this).
23000 # Exit status is that of the last command.
23005 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23006 *c*,-n*) ECHO_N= ECHO_C='
23008 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23009 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23012 if expr a : '\(a\)' >/dev/null 2>&1; then
23018 rm -f conf$$ conf$$.exe conf$$.file
23020 if ln -s conf$$.file conf$$ 2>/dev/null; then
23021 # We could just check for DJGPP; but this test a) works b) is more generic
23022 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23023 if test -f conf$$.exe; then
23024 # Don't use ln at all; we don't have any links
23029 elif ln conf$$.file conf$$ 2>/dev/null; then
23034 rm -f conf$$ conf$$.exe conf$$.file
23036 if mkdir -p . 2>/dev/null; then
23042 as_executable_p="test -f"
23044 # Sed expression to map a string onto a valid CPP name.
23045 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23047 # Sed expression to map a string onto a valid variable name.
23048 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23052 # We need space, tab and new line, in precisely that order.
23062 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23063 # report actual input values of CONFIG_FILES etc. instead of their
23064 # values after options handling. Logging --version etc. is OK.
23068 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23069 ## Running $as_me. ##
23074 This file was extended by [LLVM] $as_me [1.0], which was
23075 generated by GNU Autoconf 2.57. Invocation command line was
23077 CONFIG_FILES = $CONFIG_FILES
23078 CONFIG_HEADERS = $CONFIG_HEADERS
23079 CONFIG_LINKS = $CONFIG_LINKS
23080 CONFIG_COMMANDS = $CONFIG_COMMANDS
23084 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23088 # Files that config.status was made for.
23089 if test -n "$ac_config_files"; then
23090 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23093 if test -n "$ac_config_headers"; then
23094 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23097 if test -n "$ac_config_links"; then
23098 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23101 if test -n "$ac_config_commands"; then
23102 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23105 cat >>$CONFIG_STATUS <<\_ACEOF
23108 \`$as_me' instantiates files from templates according to the
23109 current configuration.
23111 Usage: $0 [OPTIONS] [FILE]...
23113 -h, --help print this help, then exit
23114 -V, --version print version number, then exit
23115 -q, --quiet do not print progress messages
23116 -d, --debug don't remove temporary files
23117 --recheck update $as_me by reconfiguring in the same conditions
23118 --file=FILE[:TEMPLATE]
23119 instantiate the configuration file FILE
23120 --header=FILE[:TEMPLATE]
23121 instantiate the configuration header FILE
23123 Configuration files:
23126 Configuration headers:
23129 Configuration commands:
23132 Report bugs to <bug-autoconf@gnu.org>."
23135 cat >>$CONFIG_STATUS <<_ACEOF
23137 [LLVM] config.status [1.0]
23138 configured by $0, generated by GNU Autoconf 2.57,
23139 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23141 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23142 Free Software Foundation, Inc.
23143 This config.status script is free software; the Free Software Foundation
23144 gives unlimited permission to copy, distribute and modify it."
23149 cat >>$CONFIG_STATUS <<\_ACEOF
23150 # If no file are specified by the user, then we need to provide default
23151 # value. By we need to know if files were specified by the user.
23157 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23158 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23166 *) # This is not an option, so the user has probably given explicit
23169 ac_need_defaults=false;;
23173 # Handling of the options.
23175 cat >>$CONFIG_STATUS <<\_ACEOF
23176 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23178 --version | --vers* | -V )
23179 echo "$ac_cs_version"; exit 0 ;;
23181 # Conflict between --help and --header
23182 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23183 Try \`$0 --help' for more information." >&5
23184 echo "$as_me: error: ambiguous option: $1
23185 Try \`$0 --help' for more information." >&2;}
23186 { (exit 1); exit 1; }; };;
23187 --help | --hel | -h )
23188 echo "$ac_cs_usage"; exit 0 ;;
23189 --debug | --d* | -d )
23191 --file | --fil | --fi | --f )
23193 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23194 ac_need_defaults=false;;
23195 --header | --heade | --head | --hea )
23197 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23198 ac_need_defaults=false;;
23199 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23200 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23203 # This is an error.
23204 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23205 Try \`$0 --help' for more information." >&5
23206 echo "$as_me: error: unrecognized option: $1
23207 Try \`$0 --help' for more information." >&2;}
23208 { (exit 1); exit 1; }; } ;;
23210 *) ac_config_targets="$ac_config_targets $1" ;;
23216 ac_configure_extra_args=
23218 if $ac_cs_silent; then
23220 ac_configure_extra_args="$ac_configure_extra_args --silent"
23224 cat >>$CONFIG_STATUS <<_ACEOF
23225 if \$ac_cs_recheck; then
23226 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23227 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23232 cat >>$CONFIG_STATUS <<_ACEOF
23234 # INIT-COMMANDS section.
23237 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23238 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23239 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23240 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23241 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23242 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23243 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23244 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23245 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23246 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23247 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23248 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23249 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23250 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23251 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23252 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23253 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23254 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23255 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23256 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23257 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23258 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23259 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23260 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23261 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23262 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23263 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23264 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23265 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23266 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23267 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23268 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23269 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23270 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23271 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23272 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23273 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23274 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23275 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23276 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23277 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23278 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23279 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23280 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23281 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23282 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23283 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23284 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23285 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23286 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23287 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23288 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23289 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23290 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23291 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23292 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23293 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23294 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23295 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23296 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23297 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23298 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23299 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23300 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23301 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23302 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23303 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23304 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23305 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23306 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23307 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23308 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23309 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23310 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23311 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23312 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23313 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23314 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23315 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23316 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23317 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23318 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23319 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23320 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Burg/Makefile`
23321 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Fhourstones/Makefile`
23322 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/Makefile`
23323 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/01-qbsort/Makefile`
23324 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/03-testtrie/Makefile`
23325 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/04-bisect/Makefile`
23326 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/05-eks/Makefile`
23327 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/08-main/Makefile`
23328 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/09-vor/Makefile`
23329 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/12-IOtest/Makefile`
23330 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/15-trie/Makefile`
23331 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/17-bintr/Makefile`
23332 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/18-imp/Makefile`
23333 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/Makefile`
23334 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/bh/Makefile`
23335 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/bisort/Makefile`
23336 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/em3d/Makefile`
23337 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/health/Makefile`
23338 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/mst/Makefile`
23339 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/perimeter/Makefile`
23340 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/power/Makefile`
23341 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/treeadd/Makefile`
23342 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/tsp/Makefile`
23343 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/voronoi/Makefile`
23344 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/OptimizerEval/Makefile`
23345 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/Makefile`
23346 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/anagram/Makefile`
23347 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/bc/Makefile`
23348 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/ft/Makefile`
23349 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/ks/Makefile`
23350 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/yacr2/Makefile`
23351 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/aha/Makefile`
23352 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/llubenchmark/Makefile`
23353 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/sgefa/Makefile`
23354 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/sim/Makefile`
23355 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23356 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23357 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23358 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23359 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23360 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23361 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23362 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23363 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23364 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Shootout/Makefile`
23365 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Stanford/Makefile`
23366 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23367 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23368 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23369 ${srcdir}/autoconf/mkinstalldirs `dirname tools/as/Makefile`
23370 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23371 ${srcdir}/autoconf/mkinstalldirs `dirname tools/dis/Makefile`
23372 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23373 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23374 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23375 ${srcdir}/autoconf/mkinstalldirs `dirname tools/link/Makefile`
23376 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23377 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23378 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23379 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23380 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23381 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23382 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23383 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23384 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23385 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23386 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23387 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23388 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23389 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23390 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23404 cat >>$CONFIG_STATUS <<\_ACEOF
23405 for ac_config_target in $ac_config_targets
23407 case "$ac_config_target" in
23408 # Handling of arguments.
23409 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23410 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23411 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23412 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23413 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23414 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23415 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23416 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23417 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23418 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23419 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23420 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23421 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23422 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23423 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23424 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23425 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23426 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23427 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23428 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23429 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23430 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23431 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23432 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23433 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23434 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23435 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23436 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23437 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23438 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23439 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23440 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23441 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23442 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23443 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23444 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23445 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23446 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23447 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23448 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23449 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23450 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23451 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23452 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23453 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23454 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23455 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23456 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23457 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23458 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23459 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23460 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23461 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23462 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23463 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23464 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23465 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23466 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23467 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23468 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23469 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23470 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23471 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23472 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23473 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23474 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23475 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23476 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23477 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23478 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23479 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23480 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23481 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23482 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23483 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23484 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23485 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23486 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23487 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23488 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23489 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23490 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23491 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23492 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23493 "test/Programs/MultiSource/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Burg/Makefile" ;;
23494 "test/Programs/MultiSource/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Fhourstones/Makefile" ;;
23495 "test/Programs/MultiSource/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/Makefile" ;;
23496 "test/Programs/MultiSource/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/01-qbsort/Makefile" ;;
23497 "test/Programs/MultiSource/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/03-testtrie/Makefile" ;;
23498 "test/Programs/MultiSource/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/04-bisect/Makefile" ;;
23499 "test/Programs/MultiSource/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/05-eks/Makefile" ;;
23500 "test/Programs/MultiSource/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/08-main/Makefile" ;;
23501 "test/Programs/MultiSource/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/09-vor/Makefile" ;;
23502 "test/Programs/MultiSource/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/12-IOtest/Makefile" ;;
23503 "test/Programs/MultiSource/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/15-trie/Makefile" ;;
23504 "test/Programs/MultiSource/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/17-bintr/Makefile" ;;
23505 "test/Programs/MultiSource/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/18-imp/Makefile" ;;
23506 "test/Programs/MultiSource/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/Makefile" ;;
23507 "test/Programs/MultiSource/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/bh/Makefile" ;;
23508 "test/Programs/MultiSource/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/bisort/Makefile" ;;
23509 "test/Programs/MultiSource/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/em3d/Makefile" ;;
23510 "test/Programs/MultiSource/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/health/Makefile" ;;
23511 "test/Programs/MultiSource/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/mst/Makefile" ;;
23512 "test/Programs/MultiSource/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/perimeter/Makefile" ;;
23513 "test/Programs/MultiSource/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/power/Makefile" ;;
23514 "test/Programs/MultiSource/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/treeadd/Makefile" ;;
23515 "test/Programs/MultiSource/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/tsp/Makefile" ;;
23516 "test/Programs/MultiSource/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/voronoi/Makefile" ;;
23517 "test/Programs/MultiSource/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/OptimizerEval/Makefile" ;;
23518 "test/Programs/MultiSource/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/Makefile" ;;
23519 "test/Programs/MultiSource/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/anagram/Makefile" ;;
23520 "test/Programs/MultiSource/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/bc/Makefile" ;;
23521 "test/Programs/MultiSource/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/ft/Makefile" ;;
23522 "test/Programs/MultiSource/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/ks/Makefile" ;;
23523 "test/Programs/MultiSource/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/yacr2/Makefile" ;;
23524 "test/Programs/MultiSource/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/aha/Makefile" ;;
23525 "test/Programs/MultiSource/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/llubenchmark/Makefile" ;;
23526 "test/Programs/MultiSource/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/sgefa/Makefile" ;;
23527 "test/Programs/MultiSource/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/sim/Makefile" ;;
23528 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23529 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23530 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23531 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23532 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23533 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23534 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23535 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23536 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23537 "test/Programs/SingleSource/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Shootout/Makefile" ;;
23538 "test/Programs/SingleSource/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Stanford/Makefile" ;;
23539 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23540 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23541 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23542 "tools/as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/as/Makefile" ;;
23543 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23544 "tools/dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/dis/Makefile" ;;
23545 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23546 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23547 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23548 "tools/link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/link/Makefile" ;;
23549 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23550 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23551 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23552 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23553 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23554 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23555 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23556 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23557 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23558 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23559 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23560 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23561 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23562 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23563 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23564 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23565 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23566 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23567 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23568 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23569 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23570 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23571 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23572 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23573 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23574 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23575 { (exit 1); exit 1; }; };;
23579 # If the user did not use the arguments to specify the items to instantiate,
23580 # then the envvar interface is used. Set only those that are not.
23581 # We use the long form for the default assignment because of an extremely
23582 # bizarre bug on SunOS 4.1.3.
23583 if $ac_need_defaults; then
23584 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23585 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23586 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23589 # Have a temporary directory for convenience. Make it in the build tree
23590 # simply because there is no reason to put it here, and in addition,
23591 # creating and moving files from /tmp can sometimes cause problems.
23592 # Create a temporary directory, and hook for its removal unless debugging.
23595 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23596 trap '{ (exit 1); exit 1; }' 1 2 13 15
23599 # Create a (secure) tmp directory for tmp files.
23602 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23603 test -n "$tmp" && test -d "$tmp"
23606 tmp=./confstat$$-$RANDOM
23607 (umask 077 && mkdir $tmp)
23610 echo "$me: cannot create a temporary directory in ." >&2
23611 { (exit 1); exit 1; }
23616 cat >>$CONFIG_STATUS <<_ACEOF
23619 # CONFIG_FILES section.
23622 # No need to generate the scripts if there are no CONFIG_FILES.
23623 # This happens for instance when ./config.status config.h
23624 if test -n "\$CONFIG_FILES"; then
23625 # Protect against being on the right side of a sed subst in config.status.
23626 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23627 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23628 s,@SHELL@,$SHELL,;t t
23629 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23630 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23631 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23632 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23633 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23634 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23635 s,@exec_prefix@,$exec_prefix,;t t
23636 s,@prefix@,$prefix,;t t
23637 s,@program_transform_name@,$program_transform_name,;t t
23638 s,@bindir@,$bindir,;t t
23639 s,@sbindir@,$sbindir,;t t
23640 s,@libexecdir@,$libexecdir,;t t
23641 s,@datadir@,$datadir,;t t
23642 s,@sysconfdir@,$sysconfdir,;t t
23643 s,@sharedstatedir@,$sharedstatedir,;t t
23644 s,@localstatedir@,$localstatedir,;t t
23645 s,@libdir@,$libdir,;t t
23646 s,@includedir@,$includedir,;t t
23647 s,@oldincludedir@,$oldincludedir,;t t
23648 s,@infodir@,$infodir,;t t
23649 s,@mandir@,$mandir,;t t
23650 s,@build_alias@,$build_alias,;t t
23651 s,@host_alias@,$host_alias,;t t
23652 s,@target_alias@,$target_alias,;t t
23653 s,@DEFS@,$DEFS,;t t
23654 s,@ECHO_C@,$ECHO_C,;t t
23655 s,@ECHO_N@,$ECHO_N,;t t
23656 s,@ECHO_T@,$ECHO_T,;t t
23657 s,@LIBS@,$LIBS,;t t
23658 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23659 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23660 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23661 s,@build@,$build,;t t
23662 s,@build_cpu@,$build_cpu,;t t
23663 s,@build_vendor@,$build_vendor,;t t
23664 s,@build_os@,$build_os,;t t
23665 s,@host@,$host,;t t
23666 s,@host_cpu@,$host_cpu,;t t
23667 s,@host_vendor@,$host_vendor,;t t
23668 s,@host_os@,$host_os,;t t
23669 s,@target@,$target,;t t
23670 s,@target_cpu@,$target_cpu,;t t
23671 s,@target_vendor@,$target_vendor,;t t
23672 s,@target_os@,$target_os,;t t
23674 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23675 s,@ARCH@,$ARCH,;t t
23677 s,@CXXFLAGS@,$CXXFLAGS,;t t
23678 s,@LDFLAGS@,$LDFLAGS,;t t
23679 s,@CPPFLAGS@,$CPPFLAGS,;t t
23680 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23681 s,@EXEEXT@,$EXEEXT,;t t
23682 s,@OBJEXT@,$OBJEXT,;t t
23684 s,@CFLAGS@,$CFLAGS,;t t
23685 s,@ac_ct_CC@,$ac_ct_CC,;t t
23687 s,@ifGNUmake@,$ifGNUmake,;t t
23689 s,@LEXLIB@,$LEXLIB,;t t
23690 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23691 s,@YACC@,$YACC,;t t
23692 s,@EGREP@,$EGREP,;t t
23693 s,@LN_S@,$LN_S,;t t
23694 s,@ECHO@,$ECHO,;t t
23696 s,@ac_ct_AR@,$ac_ct_AR,;t t
23697 s,@RANLIB@,$RANLIB,;t t
23698 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23699 s,@STRIP@,$STRIP,;t t
23700 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23701 s,@CXXCPP@,$CXXCPP,;t t
23703 s,@FFLAGS@,$FFLAGS,;t t
23704 s,@ac_ct_F77@,$ac_ct_F77,;t t
23705 s,@LIBTOOL@,$LIBTOOL,;t t
23706 s,@RPWD@,$RPWD,;t t
23709 s,@MKDIR@,$MKDIR,;t t
23710 s,@DATE@,$DATE,;t t
23713 s,@ETAGS@,$ETAGS,;t t
23714 s,@PURIFY@,$PURIFY,;t t
23715 s,@PYTHON@,$PYTHON,;t t
23716 s,@QMTEST@,$QMTEST,;t t
23717 s,@ALLOCA@,$ALLOCA,;t t
23718 s,@LIBOBJS@,$LIBOBJS,;t t
23719 s,@MMAP_FILE@,$MMAP_FILE,;t t
23720 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23721 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23722 s,@USE_SPEC@,$USE_SPEC,;t t
23724 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23726 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23728 s,@PAPIDIR@,$PAPIDIR,;t t
23729 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23734 cat >>$CONFIG_STATUS <<\_ACEOF
23735 # Split the substitutions into bite-sized pieces for seds with
23736 # small command number limits, like on Digital OSF/1 and HP-UX.
23737 ac_max_sed_lines=48
23738 ac_sed_frag=1 # Number of current file.
23739 ac_beg=1 # First line for current file.
23740 ac_end=$ac_max_sed_lines # Line after last line for current file.
23743 while $ac_more_lines; do
23744 if test $ac_beg -gt 1; then
23745 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23747 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23749 if test ! -s $tmp/subs.frag; then
23750 ac_more_lines=false
23752 # The purpose of the label and of the branching condition is to
23753 # speed up the sed processing (if there are no `@' at all, there
23754 # is no need to browse any of the substitutions).
23755 # These are the two extra sed commands mentioned above.
23757 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23758 if test -z "$ac_sed_cmds"; then
23759 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23761 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23763 ac_sed_frag=`expr $ac_sed_frag + 1`
23765 ac_end=`expr $ac_end + $ac_max_sed_lines`
23768 if test -z "$ac_sed_cmds"; then
23771 fi # test -n "$CONFIG_FILES"
23774 cat >>$CONFIG_STATUS <<\_ACEOF
23775 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23776 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23778 - | *:- | *:-:* ) # input from stdin
23780 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23781 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23782 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23783 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23784 * ) ac_file_in=$ac_file.in ;;
23787 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23788 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23789 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23790 X"$ac_file" : 'X\(//\)[^/]' \| \
23791 X"$ac_file" : 'X\(//\)$' \| \
23792 X"$ac_file" : 'X\(/\)' \| \
23793 . : '\(.\)' 2>/dev/null ||
23795 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23796 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23797 /^X\(\/\/\)$/{ s//\1/; q; }
23798 /^X\(\/\).*/{ s//\1/; q; }
23800 { if $as_mkdir_p; then
23805 while test ! -d "$as_dir"; do
23806 as_dirs="$as_dir $as_dirs"
23807 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23808 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23809 X"$as_dir" : 'X\(//\)[^/]' \| \
23810 X"$as_dir" : 'X\(//\)$' \| \
23811 X"$as_dir" : 'X\(/\)' \| \
23812 . : '\(.\)' 2>/dev/null ||
23814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23815 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23816 /^X\(\/\/\)$/{ s//\1/; q; }
23817 /^X\(\/\).*/{ s//\1/; q; }
23820 test ! -n "$as_dirs" || mkdir $as_dirs
23821 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23822 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23823 { (exit 1); exit 1; }; }; }
23827 if test "$ac_dir" != .; then
23828 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23829 # A "../" for each directory in $ac_dir_suffix.
23830 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23832 ac_dir_suffix= ac_top_builddir=
23836 .) # No --srcdir option. We are building in place.
23838 if test -z "$ac_top_builddir"; then
23841 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23843 [\\/]* | ?:[\\/]* ) # Absolute path.
23844 ac_srcdir=$srcdir$ac_dir_suffix;
23845 ac_top_srcdir=$srcdir ;;
23846 *) # Relative path.
23847 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23848 ac_top_srcdir=$ac_top_builddir$srcdir ;;
23850 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
23852 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
23853 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
23854 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
23855 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
23859 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23860 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23863 if test x"$ac_file" != x-; then
23864 { echo "$as_me:$LINENO: creating $ac_file" >&5
23865 echo "$as_me: creating $ac_file" >&6;}
23868 # Let's still pretend it is `configure' which instantiates (i.e., don't
23869 # use $as_me), people would be surprised to read:
23870 # /* config.h. Generated by config.status. */
23871 if test x"$ac_file" = x-; then
23874 configure_input="$ac_file. "
23876 configure_input=$configure_input"Generated from `echo $ac_file_in |
23877 sed 's,.*/,,'` by configure."
23879 # First look for the input files in the build tree, otherwise in the
23881 ac_file_inputs=`IFS=:
23882 for f in $ac_file_in; do
23884 -) echo $tmp/stdin ;;
23886 # Absolute (can't be DOS-style, as IFS=:)
23887 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23888 echo "$as_me: error: cannot find input file: $f" >&2;}
23889 { (exit 1); exit 1; }; }
23892 if test -f "$f"; then
23895 elif test -f "$srcdir/$f"; then
23900 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23901 echo "$as_me: error: cannot find input file: $f" >&2;}
23902 { (exit 1); exit 1; }; }
23905 done` || { (exit 1); exit 1; }
23907 cat >>$CONFIG_STATUS <<_ACEOF
23911 cat >>$CONFIG_STATUS <<\_ACEOF
23913 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23914 s,@configure_input@,$configure_input,;t t
23915 s,@srcdir@,$ac_srcdir,;t t
23916 s,@abs_srcdir@,$ac_abs_srcdir,;t t
23917 s,@top_srcdir@,$ac_top_srcdir,;t t
23918 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23919 s,@builddir@,$ac_builddir,;t t
23920 s,@abs_builddir@,$ac_abs_builddir,;t t
23921 s,@top_builddir@,$ac_top_builddir,;t t
23922 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23923 s,@INSTALL@,$ac_INSTALL,;t t
23924 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23926 if test x"$ac_file" != x-; then
23927 mv $tmp/out $ac_file
23935 cat >>$CONFIG_STATUS <<\_ACEOF
23938 # CONFIG_HEADER section.
23941 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
23942 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23944 # ac_d sets the value in "#define NAME VALUE" lines.
23945 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23946 ac_dB='[ ].*$,\1#\2'
23949 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23950 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23951 ac_uB='$,\1#\2define\3'
23955 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
23956 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23958 - | *:- | *:-:* ) # input from stdin
23960 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23961 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23962 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23963 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23964 * ) ac_file_in=$ac_file.in ;;
23967 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
23968 echo "$as_me: creating $ac_file" >&6;}
23970 # First look for the input files in the build tree, otherwise in the
23972 ac_file_inputs=`IFS=:
23973 for f in $ac_file_in; do
23975 -) echo $tmp/stdin ;;
23977 # Absolute (can't be DOS-style, as IFS=:)
23978 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23979 echo "$as_me: error: cannot find input file: $f" >&2;}
23980 { (exit 1); exit 1; }; }
23983 if test -f "$f"; then
23986 elif test -f "$srcdir/$f"; then
23991 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23992 echo "$as_me: error: cannot find input file: $f" >&2;}
23993 { (exit 1); exit 1; }; }
23996 done` || { (exit 1); exit 1; }
23997 # Remove the trailing spaces.
23998 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24002 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24003 # `conftest.undefs', that substitutes the proper values into
24004 # config.h.in to produce config.h. The first handles `#define'
24005 # templates, and the second `#undef' templates.
24006 # And first: Protect against being on the right side of a sed subst in
24007 # config.status. Protect against being in an unquoted here document
24008 # in config.status.
24009 rm -f conftest.defines conftest.undefs
24010 # Using a here document instead of a string reduces the quoting nightmare.
24011 # Putting comments in sed scripts is not portable.
24013 # `end' is used to avoid that the second main sed command (meant for
24014 # 0-ary CPP macros) applies to n-ary macro definitions.
24015 # See the Autoconf documentation for `clear'.
24016 cat >confdef2sed.sed <<\_ACEOF
24021 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24023 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24026 # If some macros were called several times there might be several times
24027 # the same #defines, which is useless. Nevertheless, we may not want to
24028 # sort them, since we want the *last* AC-DEFINE to be honored.
24029 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24030 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24031 rm -f confdef2sed.sed
24033 # This sed command replaces #undef with comments. This is necessary, for
24034 # example, in the case of _POSIX_SOURCE, which is predefined and required
24035 # on some systems where configure will not decide to define it.
24036 cat >>conftest.undefs <<\_ACEOF
24037 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24040 # Break up conftest.defines because some shells have a limit on the size
24041 # of here documents, and old seds have small limits too (100 cmds).
24042 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24043 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24044 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24045 echo ' :' >>$CONFIG_STATUS
24046 rm -f conftest.tail
24047 while grep . conftest.defines >/dev/null
24049 # Write a limited-size here document to $tmp/defines.sed.
24050 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24051 # Speed up: don't consider the non `#define' lines.
24052 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24053 # Work around the forget-to-reset-the-flag bug.
24054 echo 't clr' >>$CONFIG_STATUS
24055 echo ': clr' >>$CONFIG_STATUS
24056 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24058 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24060 mv $tmp/out $tmp/in
24062 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24063 rm -f conftest.defines
24064 mv conftest.tail conftest.defines
24066 rm -f conftest.defines
24067 echo ' fi # grep' >>$CONFIG_STATUS
24068 echo >>$CONFIG_STATUS
24070 # Break up conftest.undefs because some shells have a limit on the size
24071 # of here documents, and old seds have small limits too (100 cmds).
24072 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24073 rm -f conftest.tail
24074 while grep . conftest.undefs >/dev/null
24076 # Write a limited-size here document to $tmp/undefs.sed.
24077 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24078 # Speed up: don't consider the non `#undef'
24079 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24080 # Work around the forget-to-reset-the-flag bug.
24081 echo 't clr' >>$CONFIG_STATUS
24082 echo ': clr' >>$CONFIG_STATUS
24083 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24085 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24087 mv $tmp/out $tmp/in
24089 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24090 rm -f conftest.undefs
24091 mv conftest.tail conftest.undefs
24093 rm -f conftest.undefs
24095 cat >>$CONFIG_STATUS <<\_ACEOF
24096 # Let's still pretend it is `configure' which instantiates (i.e., don't
24097 # use $as_me), people would be surprised to read:
24098 # /* config.h. Generated by config.status. */
24099 if test x"$ac_file" = x-; then
24100 echo "/* Generated by configure. */" >$tmp/config.h
24102 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24104 cat $tmp/in >>$tmp/config.h
24106 if test x"$ac_file" != x-; then
24107 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24108 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24109 echo "$as_me: $ac_file is unchanged" >&6;}
24111 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24112 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24113 X"$ac_file" : 'X\(//\)[^/]' \| \
24114 X"$ac_file" : 'X\(//\)$' \| \
24115 X"$ac_file" : 'X\(/\)' \| \
24116 . : '\(.\)' 2>/dev/null ||
24118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24119 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24120 /^X\(\/\/\)$/{ s//\1/; q; }
24121 /^X\(\/\).*/{ s//\1/; q; }
24123 { if $as_mkdir_p; then
24128 while test ! -d "$as_dir"; do
24129 as_dirs="$as_dir $as_dirs"
24130 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24131 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24132 X"$as_dir" : 'X\(//\)[^/]' \| \
24133 X"$as_dir" : 'X\(//\)$' \| \
24134 X"$as_dir" : 'X\(/\)' \| \
24135 . : '\(.\)' 2>/dev/null ||
24137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24138 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24139 /^X\(\/\/\)$/{ s//\1/; q; }
24140 /^X\(\/\).*/{ s//\1/; q; }
24143 test ! -n "$as_dirs" || mkdir $as_dirs
24144 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24145 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24146 { (exit 1); exit 1; }; }; }
24149 mv $tmp/config.h $ac_file
24153 rm -f $tmp/config.h
24157 cat >>$CONFIG_STATUS <<\_ACEOF
24160 # CONFIG_COMMANDS section.
24162 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24163 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24164 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24165 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24166 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24167 X"$ac_dest" : 'X\(//\)[^/]' \| \
24168 X"$ac_dest" : 'X\(//\)$' \| \
24169 X"$ac_dest" : 'X\(/\)' \| \
24170 . : '\(.\)' 2>/dev/null ||
24172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24173 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24174 /^X\(\/\/\)$/{ s//\1/; q; }
24175 /^X\(\/\).*/{ s//\1/; q; }
24179 if test "$ac_dir" != .; then
24180 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24181 # A "../" for each directory in $ac_dir_suffix.
24182 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24184 ac_dir_suffix= ac_top_builddir=
24188 .) # No --srcdir option. We are building in place.
24190 if test -z "$ac_top_builddir"; then
24193 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24195 [\\/]* | ?:[\\/]* ) # Absolute path.
24196 ac_srcdir=$srcdir$ac_dir_suffix;
24197 ac_top_srcdir=$srcdir ;;
24198 *) # Relative path.
24199 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24200 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24202 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24204 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24205 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24206 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24207 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24210 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24211 echo "$as_me: executing $ac_dest commands" >&6;}
24213 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24214 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24215 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24216 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24217 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24218 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24219 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24220 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24221 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24222 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24223 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24224 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24225 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24226 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24227 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24228 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24229 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24230 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24231 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24232 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24233 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24234 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24235 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24236 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24237 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24238 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24239 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24240 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24241 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24242 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24243 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24244 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24245 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24246 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24247 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24248 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24249 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24250 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24251 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24252 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24253 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24254 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24255 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24256 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24257 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24258 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24259 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24260 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24261 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24262 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24263 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24264 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24265 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24266 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24267 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24268 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24269 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24270 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24271 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24272 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24273 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24274 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24275 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24276 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24277 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24278 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 ;;
24279 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 ;;
24280 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 ;;
24281 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 ;;
24282 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 ;;
24283 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 ;;
24284 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 ;;
24285 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 ;;
24286 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 ;;
24287 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 ;;
24288 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 ;;
24289 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 ;;
24290 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 ;;
24291 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 ;;
24292 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 ;;
24293 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24294 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24295 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24296 test/Programs/MultiSource/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Burg/Makefile test/Programs/MultiSource/Burg/Makefile ;;
24297 test/Programs/MultiSource/Fhourstones/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Fhourstones/Makefile test/Programs/MultiSource/Fhourstones/Makefile ;;
24298 test/Programs/MultiSource/McCat/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/Makefile test/Programs/MultiSource/McCat/Makefile ;;
24299 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 ;;
24300 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 ;;
24301 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 ;;
24302 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 ;;
24303 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 ;;
24304 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 ;;
24305 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 ;;
24306 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 ;;
24307 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 ;;
24308 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 ;;
24309 test/Programs/MultiSource/Olden/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/Makefile test/Programs/MultiSource/Olden/Makefile ;;
24310 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 ;;
24311 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 ;;
24312 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 ;;
24313 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 ;;
24314 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 ;;
24315 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 ;;
24316 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 ;;
24317 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 ;;
24318 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 ;;
24319 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 ;;
24320 test/Programs/MultiSource/OptimizerEval/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/OptimizerEval/Makefile test/Programs/MultiSource/OptimizerEval/Makefile ;;
24321 test/Programs/MultiSource/Ptrdist/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/Makefile test/Programs/MultiSource/Ptrdist/Makefile ;;
24322 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 ;;
24323 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 ;;
24324 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 ;;
24325 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 ;;
24326 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 ;;
24327 test/Programs/MultiSource/aha/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/aha/Makefile test/Programs/MultiSource/aha/Makefile ;;
24328 test/Programs/MultiSource/llubenchmark/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/llubenchmark/Makefile test/Programs/MultiSource/llubenchmark/Makefile ;;
24329 test/Programs/MultiSource/sgefa/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/sgefa/Makefile test/Programs/MultiSource/sgefa/Makefile ;;
24330 test/Programs/MultiSource/sim/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/sim/Makefile test/Programs/MultiSource/sim/Makefile ;;
24331 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24332 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24333 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24334 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 ;;
24335 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24336 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24337 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24338 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24339 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24340 test/Programs/SingleSource/Shootout/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Shootout/Makefile test/Programs/SingleSource/Shootout/Makefile ;;
24341 test/Programs/SingleSource/Stanford/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Stanford/Makefile test/Programs/SingleSource/Stanford/Makefile ;;
24342 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24343 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24344 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24345 tools/as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/as/Makefile tools/as/Makefile ;;
24346 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24347 tools/dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/dis/Makefile tools/dis/Makefile ;;
24348 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24349 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24350 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24351 tools/link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/link/Makefile tools/link/Makefile ;;
24352 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24353 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24354 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24355 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24356 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24357 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24358 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24359 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24360 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24361 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24362 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24363 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24364 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24365 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24366 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24367 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24368 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24369 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24370 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24371 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24372 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24373 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24374 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24379 cat >>$CONFIG_STATUS <<\_ACEOF
24381 { (exit 0); exit 0; }
24383 chmod +x $CONFIG_STATUS
24384 ac_clean_files=$ac_clean_files_save
24387 # configure is writing to config.log, and then calls config.status.
24388 # config.status does its own redirection, appending to config.log.
24389 # Unfortunately, on DOS this fails, as config.log is still kept open
24390 # by configure, so config.status won't be able to write to it; its
24391 # output is simply discarded. So we exec the FD to /dev/null,
24392 # effectively closing config.log, so it can be properly (re)opened and
24393 # appended to by config.status. When coming back to configure, we
24394 # need to make the FD available again.
24395 if test "$no_create" != yes; then
24397 ac_config_status_args=
24398 test "$silent" = yes &&
24399 ac_config_status_args="$ac_config_status_args --quiet"
24401 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24403 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24404 # would make configure fail if this is the last instruction.
24405 $ac_cs_success || { (exit 1); exit 1; }