2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for [LLVM] [1.0].
5 # Report bugs to <llvmbugs@cs.uiuc.edu>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236 # We need space, tab and new line, in precisely that order.
246 # Check that we are running under the correct shell.
247 SHELL=${CONFIG_SHELL-/bin/sh}
251 # Remove one level of quotation (which was required for Make).
252 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
257 if test "X$1" = X--no-reexec; then
258 # Discard the --no-reexec flag, and continue.
260 elif test "X$1" = X--fallback-echo; then
261 # Avoid inline document here, it may be left over
263 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
264 # Yippee, $echo works!
267 # Restart under the correct shell.
268 exec $SHELL "$0" --no-reexec ${1+"$@"}
271 if test "X$1" = X--fallback-echo; then
272 # used as fallback echo
280 # The HP-UX ksh and POSIX shell print the target directory to stdout
282 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
284 if test -z "$ECHO"; then
285 if test "X${echo_test_string+set}" != Xset; then
286 # find a string as large as possible, as long as the shell can cope with it
287 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
288 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
289 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
290 echo_test_string="`eval $cmd`" &&
291 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
298 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
299 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
300 test "X$echo_testing_string" = "X$echo_test_string"; then
303 # The Solaris, AIX, and Digital Unix default echo programs unquote
304 # backslashes. This makes it impossible to quote backslashes using
305 # echo "$something" | sed 's/\\/\\\\/g'
307 # So, first we look for a working echo in the user's PATH.
309 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
310 for dir in $PATH /usr/ucb; do
312 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
313 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315 test "X$echo_testing_string" = "X$echo_test_string"; then
322 if test "X$echo" = Xecho; then
323 # We didn't find a better echo, so look for alternatives.
324 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
325 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
327 # This shell has a builtin print -r that does the trick.
329 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
330 test "X$CONFIG_SHELL" != X/bin/ksh; then
331 # If we have ksh, try running configure again with it.
332 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
333 export ORIGINAL_CONFIG_SHELL
334 CONFIG_SHELL=/bin/ksh
336 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
340 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
341 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
342 test "X$echo_testing_string" = "X$echo_test_string"; then
345 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346 test "X$echo_testing_string" = 'X\t' &&
347 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
349 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
351 SHELL="$CONFIG_SHELL"
353 echo="$CONFIG_SHELL $0 --fallback-echo"
354 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 echo="$CONFIG_SHELL $0 --fallback-echo"
360 # maybe with a smaller string...
363 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
371 if test "$prev" != 'sed 50q "$0"'; then
372 echo_test_string=`eval $prev`
373 export echo_test_string
374 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
376 # Oops. We lost completely, so just stick with echo.
385 # Copy echo and quote the copy suitably for passing to libtool from
386 # the Makefile, instead of quoting the original, which is used later.
388 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
395 tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
397 tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
400 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
401 # so uname gets run too.
402 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
409 ac_default_prefix=/usr/local
410 ac_config_libobj_dir=.
415 SHELL=${CONFIG_SHELL-/bin/sh}
417 # Maximum number of lines to put in a shell here document.
418 # This variable seems obsolete. It should probably be removed, and
419 # only ac_max_sed_lines should be used.
420 : ${ac_max_here_lines=38}
422 # Identity of this package.
423 PACKAGE_NAME='[LLVM]'
424 PACKAGE_TARNAME='--llvm--'
425 PACKAGE_VERSION='[1.0]'
426 PACKAGE_STRING='[LLVM] [1.0]'
427 PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'
429 # Factoring default headers for most tests.
430 ac_includes_default="\
433 # include <sys/types.h>
436 # include <sys/stat.h>
447 # if !STDC_HEADERS && HAVE_MEMORY_H
453 # include <strings.h>
456 # include <inttypes.h>
466 ac_unique_file=""Makefile.config.in""
467 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVMGCCDIR ARCH CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT YACC EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RPWD SED RM MKDIR DATE MV DOT ETAGS PURIFY PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED USE_SPEC UPB DISABLE_LLC_DIFFS JIT SPEC_ROOT BCR PAPIDIR LTLIBOBJS'
470 # Initialize some variables set by options.
472 ac_init_version=false
473 # The variables have the same names as the options, with
474 # dashes changed to underlines.
482 program_transform_name=s,x,x,
490 # Installation directory options.
491 # These are left unexpanded so users can "make install exec_prefix=/foo"
492 # and all the variables that are supposed to be based on exec_prefix
493 # by default will actually change.
494 # Use braces instead of parens because sh, perl, etc. also accept them.
495 bindir='${exec_prefix}/bin'
496 sbindir='${exec_prefix}/sbin'
497 libexecdir='${exec_prefix}/libexec'
498 datadir='${prefix}/share'
499 sysconfdir='${prefix}/etc'
500 sharedstatedir='${prefix}/com'
501 localstatedir='${prefix}/var'
502 libdir='${exec_prefix}/lib'
503 includedir='${prefix}/include'
504 oldincludedir='/usr/include'
505 infodir='${prefix}/info'
506 mandir='${prefix}/man'
511 # If the previous option needs an argument, assign it.
512 if test -n "$ac_prev"; then
513 eval "$ac_prev=\$ac_option"
518 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
520 # Accept the important Cygnus configure options, so we can diagnose typos.
524 -bindir | --bindir | --bindi | --bind | --bin | --bi)
526 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
529 -build | --build | --buil | --bui | --bu)
530 ac_prev=build_alias ;;
531 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
532 build_alias=$ac_optarg ;;
534 -cache-file | --cache-file | --cache-fil | --cache-fi \
535 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
536 ac_prev=cache_file ;;
537 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
538 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
539 cache_file=$ac_optarg ;;
542 cache_file=config.cache ;;
544 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
546 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
548 datadir=$ac_optarg ;;
550 -disable-* | --disable-*)
551 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555 { (exit 1); exit 1; }; }
556 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557 eval "enable_$ac_feature=no" ;;
559 -enable-* | --enable-*)
560 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561 # Reject names that are not valid shell variable names.
562 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
563 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564 { (exit 1); exit 1; }; }
565 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
567 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
570 eval "enable_$ac_feature='$ac_optarg'" ;;
572 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
574 | --exec | --exe | --ex)
575 ac_prev=exec_prefix ;;
576 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
577 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
578 | --exec=* | --exe=* | --ex=*)
579 exec_prefix=$ac_optarg ;;
581 -gas | --gas | --ga | --g)
582 # Obsolete; use --with-gas.
585 -help | --help | --hel | --he | -h)
587 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
588 ac_init_help=recursive ;;
589 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
590 ac_init_help=short ;;
592 -host | --host | --hos | --ho)
593 ac_prev=host_alias ;;
594 -host=* | --host=* | --hos=* | --ho=*)
595 host_alias=$ac_optarg ;;
597 -includedir | --includedir | --includedi | --included | --include \
598 | --includ | --inclu | --incl | --inc)
599 ac_prev=includedir ;;
600 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
601 | --includ=* | --inclu=* | --incl=* | --inc=*)
602 includedir=$ac_optarg ;;
604 -infodir | --infodir | --infodi | --infod | --info | --inf)
606 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
607 infodir=$ac_optarg ;;
609 -libdir | --libdir | --libdi | --libd)
611 -libdir=* | --libdir=* | --libdi=* | --libd=*)
614 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
615 | --libexe | --libex | --libe)
616 ac_prev=libexecdir ;;
617 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
618 | --libexe=* | --libex=* | --libe=*)
619 libexecdir=$ac_optarg ;;
621 -localstatedir | --localstatedir | --localstatedi | --localstated \
622 | --localstate | --localstat | --localsta | --localst \
623 | --locals | --local | --loca | --loc | --lo)
624 ac_prev=localstatedir ;;
625 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
628 localstatedir=$ac_optarg ;;
630 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
632 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
636 # Obsolete; use --without-fp.
639 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
640 | --no-cr | --no-c | -n)
643 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
644 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
647 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
648 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
649 | --oldin | --oldi | --old | --ol | --o)
650 ac_prev=oldincludedir ;;
651 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
652 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
653 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
654 oldincludedir=$ac_optarg ;;
656 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
658 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
661 -program-prefix | --program-prefix | --program-prefi | --program-pref \
662 | --program-pre | --program-pr | --program-p)
663 ac_prev=program_prefix ;;
664 -program-prefix=* | --program-prefix=* | --program-prefi=* \
665 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
666 program_prefix=$ac_optarg ;;
668 -program-suffix | --program-suffix | --program-suffi | --program-suff \
669 | --program-suf | --program-su | --program-s)
670 ac_prev=program_suffix ;;
671 -program-suffix=* | --program-suffix=* | --program-suffi=* \
672 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
673 program_suffix=$ac_optarg ;;
675 -program-transform-name | --program-transform-name \
676 | --program-transform-nam | --program-transform-na \
677 | --program-transform-n | --program-transform- \
678 | --program-transform | --program-transfor \
679 | --program-transfo | --program-transf \
680 | --program-trans | --program-tran \
681 | --progr-tra | --program-tr | --program-t)
682 ac_prev=program_transform_name ;;
683 -program-transform-name=* | --program-transform-name=* \
684 | --program-transform-nam=* | --program-transform-na=* \
685 | --program-transform-n=* | --program-transform-=* \
686 | --program-transform=* | --program-transfor=* \
687 | --program-transfo=* | --program-transf=* \
688 | --program-trans=* | --program-tran=* \
689 | --progr-tra=* | --program-tr=* | --program-t=*)
690 program_transform_name=$ac_optarg ;;
692 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693 | -silent | --silent | --silen | --sile | --sil)
696 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
698 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
700 sbindir=$ac_optarg ;;
702 -sharedstatedir | --sharedstatedir | --sharedstatedi \
703 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
704 | --sharedst | --shareds | --shared | --share | --shar \
706 ac_prev=sharedstatedir ;;
707 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
708 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
709 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
711 sharedstatedir=$ac_optarg ;;
713 -site | --site | --sit)
715 -site=* | --site=* | --sit=*)
718 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
720 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
723 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
724 | --syscon | --sysco | --sysc | --sys | --sy)
725 ac_prev=sysconfdir ;;
726 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
727 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
728 sysconfdir=$ac_optarg ;;
730 -target | --target | --targe | --targ | --tar | --ta | --t)
731 ac_prev=target_alias ;;
732 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
733 target_alias=$ac_optarg ;;
735 -v | -verbose | --verbose | --verbos | --verbo | --verb)
738 -version | --version | --versio | --versi | --vers | -V)
742 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
745 { echo "$as_me: error: invalid package name: $ac_package" >&2
746 { (exit 1); exit 1; }; }
747 ac_package=`echo $ac_package| sed 's/-/_/g'`
749 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
752 eval "with_$ac_package='$ac_optarg'" ;;
754 -without-* | --without-*)
755 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756 # Reject names that are not valid shell variable names.
757 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
758 { echo "$as_me: error: invalid package name: $ac_package" >&2
759 { (exit 1); exit 1; }; }
760 ac_package=`echo $ac_package | sed 's/-/_/g'`
761 eval "with_$ac_package=no" ;;
764 # Obsolete; use --with-x.
767 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
768 | --x-incl | --x-inc | --x-in | --x-i)
769 ac_prev=x_includes ;;
770 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
771 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
772 x_includes=$ac_optarg ;;
774 -x-libraries | --x-libraries | --x-librarie | --x-librari \
775 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
776 ac_prev=x_libraries ;;
777 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
778 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
779 x_libraries=$ac_optarg ;;
781 -*) { echo "$as_me: error: unrecognized option: $ac_option
782 Try \`$0 --help' for more information." >&2
783 { (exit 1); exit 1; }; }
787 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791 { (exit 1); exit 1; }; }
792 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793 eval "$ac_envvar='$ac_optarg'"
797 # FIXME: should be removed in autoconf 3.0.
798 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
799 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
801 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
807 if test -n "$ac_prev"; then
808 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
809 { echo "$as_me: error: missing argument to $ac_option" >&2
810 { (exit 1); exit 1; }; }
813 # Be sure to have absolute paths.
814 for ac_var in exec_prefix prefix
816 eval ac_val=$`echo $ac_var`
818 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820 { (exit 1); exit 1; }; };;
824 # Be sure to have absolute paths.
825 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826 localstatedir libdir includedir oldincludedir infodir mandir
828 eval ac_val=$`echo $ac_var`
830 [\\/$]* | ?:[\\/]* ) ;;
831 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832 { (exit 1); exit 1; }; };;
836 # There might be people who depend on the old broken behavior: `$host'
837 # used to hold the argument of --host etc.
838 # FIXME: To remove some day.
843 # FIXME: To remove some day.
844 if test "x$host_alias" != x; then
845 if test "x$build_alias" = x; then
846 cross_compiling=maybe
847 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
848 If a cross compiler is detected then cross compile mode will be used." >&2
849 elif test "x$build_alias" != "x$host_alias"; then
855 test -n "$host_alias" && ac_tool_prefix=$host_alias-
857 test "$silent" = yes && exec 6>/dev/null
860 # Find the source files, if location was not specified.
861 if test -z "$srcdir"; then
862 ac_srcdir_defaulted=yes
863 # Try the directory containing this script, then its parent.
864 ac_confdir=`(dirname "$0") 2>/dev/null ||
865 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866 X"$0" : 'X\(//\)[^/]' \| \
867 X"$0" : 'X\(//\)$' \| \
868 X"$0" : 'X\(/\)' \| \
869 . : '\(.\)' 2>/dev/null ||
871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873 /^X\(\/\/\)$/{ s//\1/; q; }
874 /^X\(\/\).*/{ s//\1/; q; }
877 if test ! -r $srcdir/$ac_unique_file; then
881 ac_srcdir_defaulted=no
883 if test ! -r $srcdir/$ac_unique_file; then
884 if test "$ac_srcdir_defaulted" = yes; then
885 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886 { (exit 1); exit 1; }; }
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889 { (exit 1); exit 1; }; }
892 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894 { (exit 1); exit 1; }; }
895 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896 ac_env_build_alias_set=${build_alias+set}
897 ac_env_build_alias_value=$build_alias
898 ac_cv_env_build_alias_set=${build_alias+set}
899 ac_cv_env_build_alias_value=$build_alias
900 ac_env_host_alias_set=${host_alias+set}
901 ac_env_host_alias_value=$host_alias
902 ac_cv_env_host_alias_set=${host_alias+set}
903 ac_cv_env_host_alias_value=$host_alias
904 ac_env_target_alias_set=${target_alias+set}
905 ac_env_target_alias_value=$target_alias
906 ac_cv_env_target_alias_set=${target_alias+set}
907 ac_cv_env_target_alias_value=$target_alias
908 ac_env_CXX_set=${CXX+set}
909 ac_env_CXX_value=$CXX
910 ac_cv_env_CXX_set=${CXX+set}
911 ac_cv_env_CXX_value=$CXX
912 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
913 ac_env_CXXFLAGS_value=$CXXFLAGS
914 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
916 ac_env_LDFLAGS_set=${LDFLAGS+set}
917 ac_env_LDFLAGS_value=$LDFLAGS
918 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_cv_env_LDFLAGS_value=$LDFLAGS
920 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921 ac_env_CPPFLAGS_value=$CPPFLAGS
922 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924 ac_env_CC_set=${CC+set}
926 ac_cv_env_CC_set=${CC+set}
927 ac_cv_env_CC_value=$CC
928 ac_env_CFLAGS_set=${CFLAGS+set}
929 ac_env_CFLAGS_value=$CFLAGS
930 ac_cv_env_CFLAGS_set=${CFLAGS+set}
931 ac_cv_env_CFLAGS_value=$CFLAGS
932 ac_env_CPP_set=${CPP+set}
933 ac_env_CPP_value=$CPP
934 ac_cv_env_CPP_set=${CPP+set}
935 ac_cv_env_CPP_value=$CPP
936 ac_env_CXXCPP_set=${CXXCPP+set}
937 ac_env_CXXCPP_value=$CXXCPP
938 ac_cv_env_CXXCPP_set=${CXXCPP+set}
939 ac_cv_env_CXXCPP_value=$CXXCPP
940 ac_env_F77_set=${F77+set}
941 ac_env_F77_value=$F77
942 ac_cv_env_F77_set=${F77+set}
943 ac_cv_env_F77_value=$F77
944 ac_env_FFLAGS_set=${FFLAGS+set}
945 ac_env_FFLAGS_value=$FFLAGS
946 ac_cv_env_FFLAGS_set=${FFLAGS+set}
947 ac_cv_env_FFLAGS_value=$FFLAGS
950 # Report the --help message.
952 if test "$ac_init_help" = "long"; then
953 # Omit some internal or obsolete options to make the list less imposing.
954 # This message is too long to be a string in the A/UX 3.1 sh.
956 \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems.
958 Usage: $0 [OPTION]... [VAR=VALUE]...
960 To assign environment variables (e.g., CC, CFLAGS...), specify them as
961 VAR=VALUE. See below for descriptions of some of the useful variables.
963 Defaults for the options are specified in brackets.
966 -h, --help display this help and exit
967 --help=short display options specific to this package
968 --help=recursive display the short help of all the included packages
969 -V, --version display version information and exit
970 -q, --quiet, --silent do not print \`checking...' messages
971 --cache-file=FILE cache test results in FILE [disabled]
972 -C, --config-cache alias for \`--cache-file=config.cache'
973 -n, --no-create do not create output files
974 --srcdir=DIR find the sources in DIR [configure dir or \`..']
979 Installation directories:
980 --prefix=PREFIX install architecture-independent files in PREFIX
982 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
985 By default, \`make install' will install all the files in
986 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
987 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
988 for instance \`--prefix=\$HOME'.
990 For better control, use the options below.
992 Fine tuning of the installation directories:
993 --bindir=DIR user executables [EPREFIX/bin]
994 --sbindir=DIR system admin executables [EPREFIX/sbin]
995 --libexecdir=DIR program executables [EPREFIX/libexec]
996 --datadir=DIR read-only architecture-independent data [PREFIX/share]
997 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
998 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
999 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1000 --libdir=DIR object code libraries [EPREFIX/lib]
1001 --includedir=DIR C header files [PREFIX/include]
1002 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1003 --infodir=DIR info documentation [PREFIX/info]
1004 --mandir=DIR man documentation [PREFIX/man]
1010 --build=BUILD configure for building on BUILD [guessed]
1011 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1012 --target=TARGET configure for building compilers for TARGET [HOST]
1016 if test -n "$ac_init_help"; then
1017 case $ac_init_help in
1018 short | recursive ) echo "Configuration of [LLVM] [1.0]:";;
1023 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1024 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1025 --enable-shared[=PKGS]
1026 build shared libraries [default=yes]
1027 --enable-static[=PKGS]
1028 build static libraries [default=yes]
1029 --enable-fast-install[=PKGS]
1030 optimize for fast installation [default=yes]
1031 --disable-libtool-lock avoid locking (might break parallel builds)
1032 --enable-purify Compile with purify (default is NO)
1033 --enable-optimized Compile with optimizations enabled (default is NO)
1034 --enable-spec Compile SPEC benchmarks (default is NO)
1035 --enable-precompiled_bytecode
1036 Use pre-compiled bytecode (default is NO)
1037 --enable-llc_diffs Enable LLC Diffs when testing (default is YES)
1038 --enable-jit Enable Just In Time Compiling (default is YES)
1041 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1042 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1043 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1044 --with-pic try to use only PIC/non-PIC objects [default=use
1047 include additional configurations [automatic]
1048 --with-spec Location of SPEC benchmarks
1049 --with-llvmgccdir Location of LLVM GCC front-end
1050 --with-bcrepos Location of Bytecode Repository
1051 --with-papi Location of PAPI
1052 --with-purify Location of purify program
1054 Some influential environment variables:
1055 CXX C++ compiler command
1056 CXXFLAGS C++ compiler flags
1057 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1058 nonstandard directory <lib dir>
1059 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1060 headers in a nonstandard directory <include dir>
1061 CC C compiler command
1062 CFLAGS C compiler flags
1064 CXXCPP C++ preprocessor
1065 F77 Fortran 77 compiler command
1066 FFLAGS Fortran 77 compiler flags
1068 Use these variables to override the choices made by `configure' or to help
1069 it to find libraries and programs with nonstandard names/locations.
1071 Report bugs to <llvmbugs@cs.uiuc.edu>.
1075 if test "$ac_init_help" = "recursive"; then
1076 # If there are subdirs, report their specific --help.
1078 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1079 test -d $ac_dir || continue
1082 if test "$ac_dir" != .; then
1083 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1084 # A "../" for each directory in $ac_dir_suffix.
1085 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1087 ac_dir_suffix= ac_top_builddir=
1091 .) # No --srcdir option. We are building in place.
1093 if test -z "$ac_top_builddir"; then
1096 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1098 [\\/]* | ?:[\\/]* ) # Absolute path.
1099 ac_srcdir=$srcdir$ac_dir_suffix;
1100 ac_top_srcdir=$srcdir ;;
1102 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1103 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1105 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1107 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1108 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1109 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1110 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1113 # Check for guested configure; otherwise get Cygnus style configure.
1114 if test -f $ac_srcdir/configure.gnu; then
1116 $SHELL $ac_srcdir/configure.gnu --help=recursive
1117 elif test -f $ac_srcdir/configure; then
1119 $SHELL $ac_srcdir/configure --help=recursive
1120 elif test -f $ac_srcdir/configure.ac ||
1121 test -f $ac_srcdir/configure.in; then
1123 $ac_configure --help
1125 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1131 test -n "$ac_init_help" && exit 0
1132 if $ac_init_version; then
1134 [LLVM] configure [1.0]
1135 generated by GNU Autoconf 2.57
1137 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1138 Free Software Foundation, Inc.
1139 This configure script is free software; the Free Software Foundation
1140 gives unlimited permission to copy, distribute and modify it.
1146 This file contains any messages produced by compilers while
1147 running configure, to aid debugging if configure makes a mistake.
1149 It was created by [LLVM] $as_me [1.0], which was
1150 generated by GNU Autoconf 2.57. Invocation command line was
1161 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1162 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1163 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1164 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1165 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1167 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1168 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1170 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1171 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1172 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1173 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1174 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1175 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1176 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1184 test -z "$as_dir" && as_dir=.
1185 echo "PATH: $as_dir"
1200 # Keep a trace of the command line.
1201 # Strip out --no-create and --no-recursion so they do not pile up.
1202 # Strip out --silent because we don't want to record it for future runs.
1203 # Also quote any args containing shell meta-characters.
1204 # Make two passes to allow for proper duplicate-argument suppression.
1209 ac_must_keep_next=false
1215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217 | -silent | --silent | --silen | --sile | --sil)
1219 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1223 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1225 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1226 if test $ac_must_keep_next = true; then
1227 ac_must_keep_next=false # Got value, back to normal.
1230 *=* | --config-cache | -C | -disable-* | --disable-* \
1231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1233 | -with-* | --with-* | -without-* | --without-* | --x)
1234 case "$ac_configure_args0 " in
1235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1238 -* ) ac_must_keep_next=true ;;
1241 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1242 # Get rid of the leading space.
1248 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1249 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1251 # When interrupted or exit'd, cleanup temporary files, and complete
1252 # config.log. We remove comments because anyway the quotes in there
1253 # would cause problems or look ugly.
1254 # WARNING: Be sure not to use single quotes in there, as some shells,
1255 # such as our DU 5.0 friend, will then `close' the trap.
1256 trap 'exit_status=$?
1257 # Save into config.log some information that might help in debugging.
1262 ## ---------------- ##
1263 ## Cache variables. ##
1264 ## ---------------- ##
1267 # The following way of writing the cache mishandles newlines in values,
1270 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1273 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1285 ## ----------------- ##
1286 ## Output variables. ##
1287 ## ----------------- ##
1290 for ac_var in $ac_subst_vars
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1297 if test -n "$ac_subst_files"; then
1304 for ac_var in $ac_subst_files
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1312 if test -s confdefs.h; then
1319 sed "/^$/d" confdefs.h | sort
1322 test "$ac_signal" != 0 &&
1323 echo "$as_me: caught signal $ac_signal"
1324 echo "$as_me: exit $exit_status"
1326 rm -f core core.* *.core &&
1327 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1330 for ac_signal in 1 2 13 15; do
1331 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1336 rm -rf conftest* confdefs.h
1337 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1340 # Predefined preprocessor variables.
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_NAME "$PACKAGE_NAME"
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_STRING "$PACKAGE_STRING"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1367 # Let the site file select an alternate cache file if it wants to.
1368 # Prefer explicitly selected file to automatically selected ones.
1369 if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE; then
1371 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1373 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1376 for ac_site_file in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379 echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's/^/| /' "$ac_site_file" >&5
1385 if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390 echo "$as_me: loading cache $cache_file" >&6;}
1392 [\\/]* | ?:[\\/]* ) . $cache_file;;
1393 *) . ./$cache_file;;
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398 echo "$as_me: creating cache $cache_file" >&6;}
1402 # Check that the precious variables saved in the cache have kept the same
1404 ac_cache_corrupted=false
1405 for ac_var in `(set) 2>&1 |
1406 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1408 eval ac_new_set=\$ac_env_${ac_var}_set
1409 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415 ac_cache_corrupted=: ;;
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426 echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428 echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted=:
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg=$ac_var=$ac_new_val ;;
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1445 if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1454 ac_cpp='$CPP $CPPFLAGS'
1455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1487 for ac_dir in autoconf $srcdir/autoconf; do
1488 if test -f $ac_dir/install-sh; then
1490 ac_install_sh="$ac_aux_dir/install-sh -c"
1492 elif test -f $ac_dir/install.sh; then
1494 ac_install_sh="$ac_aux_dir/install.sh -c"
1496 elif test -f $ac_dir/shtool; then
1498 ac_install_sh="$ac_aux_dir/shtool install -c"
1502 if test -z "$ac_aux_dir"; then
1503 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1504 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1505 { (exit 1); exit 1; }; }
1507 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1508 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1509 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512 ac_config_headers="$ac_config_headers include/Config/config.h"
1514 ac_config_commands="$ac_config_commands Makefile"
1517 ac_config_commands="$ac_config_commands Makefile.common"
1520 ac_config_commands="$ac_config_commands Makefile.rules"
1523 ac_config_commands="$ac_config_commands lib/Makefile"
1526 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1529 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1532 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1535 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1538 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1541 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1544 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1547 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1550 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1553 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1556 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1559 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1562 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1565 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1568 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1571 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1574 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1577 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1580 ac_config_commands="$ac_config_commands lib/Support/Makefile"
1583 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1586 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1589 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1592 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1595 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1598 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1601 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1604 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1607 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1610 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1613 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1616 ac_config_commands="$ac_config_commands runtime/Makefile"
1619 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1622 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1625 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1628 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1631 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libexception/Makefile"
1634 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1637 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1640 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1643 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1646 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1649 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1652 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1655 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1658 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1661 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1664 ac_config_commands="$ac_config_commands test/Makefile"
1667 ac_config_commands="$ac_config_commands test/Makefile.tests"
1670 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1673 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1676 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1679 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1682 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1685 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1688 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1691 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1694 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1697 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1700 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1703 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1706 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1709 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1712 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1715 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1718 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1721 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1724 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1727 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1730 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1733 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1736 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1739 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1742 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1745 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1748 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1751 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1754 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1757 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1760 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1763 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1766 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1769 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1772 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1775 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1778 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1781 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Burg/Makefile"
1784 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Fhourstones/Makefile"
1787 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/Makefile"
1790 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/01-qbsort/Makefile"
1793 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/03-testtrie/Makefile"
1796 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/04-bisect/Makefile"
1799 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/05-eks/Makefile"
1802 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/08-main/Makefile"
1805 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/09-vor/Makefile"
1808 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/12-IOtest/Makefile"
1811 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/15-trie/Makefile"
1814 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/17-bintr/Makefile"
1817 ac_config_commands="$ac_config_commands test/Programs/MultiSource/McCat/18-imp/Makefile"
1820 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/Makefile"
1823 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/bh/Makefile"
1826 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/bisort/Makefile"
1829 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/em3d/Makefile"
1832 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/health/Makefile"
1835 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/mst/Makefile"
1838 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/perimeter/Makefile"
1841 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/power/Makefile"
1844 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/treeadd/Makefile"
1847 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/tsp/Makefile"
1850 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Olden/voronoi/Makefile"
1853 ac_config_commands="$ac_config_commands test/Programs/MultiSource/OptimizerEval/Makefile"
1856 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/Makefile"
1859 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/anagram/Makefile"
1862 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/bc/Makefile"
1865 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/ft/Makefile"
1868 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/ks/Makefile"
1871 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Ptrdist/yacr2/Makefile"
1874 ac_config_commands="$ac_config_commands test/Programs/MultiSource/aha/Makefile"
1877 ac_config_commands="$ac_config_commands test/Programs/MultiSource/llubenchmark/Makefile"
1880 ac_config_commands="$ac_config_commands test/Programs/MultiSource/sgefa/Makefile"
1883 ac_config_commands="$ac_config_commands test/Programs/MultiSource/sim/Makefile"
1886 ac_config_commands="$ac_config_commands test/Programs/NoSource/Makefile"
1889 ac_config_commands="$ac_config_commands test/Programs/NoSource/Flex/Makefile"
1892 ac_config_commands="$ac_config_commands test/Programs/NoSource/Larn/Makefile"
1895 ac_config_commands="$ac_config_commands test/Programs/NoSource/Moria-5.5.2/Makefile"
1898 ac_config_commands="$ac_config_commands test/Programs/NoSource/Povray31/Makefile"
1901 ac_config_commands="$ac_config_commands test/Programs/NoSource/m4/Makefile"
1904 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1907 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1910 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1913 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1916 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1919 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1922 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1925 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1928 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1931 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1934 ac_config_commands="$ac_config_commands tools/Makefile"
1937 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1940 ac_config_commands="$ac_config_commands tools/as/Makefile"
1943 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1946 ac_config_commands="$ac_config_commands tools/dis/Makefile"
1949 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1952 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1955 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1958 ac_config_commands="$ac_config_commands tools/link/Makefile"
1961 ac_config_commands="$ac_config_commands tools/llc/Makefile"
1964 ac_config_commands="$ac_config_commands tools/lli/Makefile"
1967 ac_config_commands="$ac_config_commands tools/opt/Makefile"
1970 ac_config_commands="$ac_config_commands tools/llee/Makefile"
1973 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
1976 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
1979 ac_config_commands="$ac_config_commands utils/Makefile"
1982 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
1985 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
1988 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
1991 ac_config_commands="$ac_config_commands www/docs/Makefile"
1994 ac_config_commands="$ac_config_commands projects/Makefile"
1997 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2000 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2003 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2006 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2009 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2012 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2015 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2018 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2021 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2024 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2027 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2032 # Find a good install program. We prefer a C program (faster),
2033 # so one script is as good as another. But avoid the broken or
2034 # incompatible versions:
2035 # SysV /etc/install, /usr/sbin/install
2036 # SunOS /usr/etc/install
2037 # IRIX /sbin/install
2039 # AmigaOS /C/install, which installs bootblocks on floppy discs
2040 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2041 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2042 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2043 # ./install, which can be erroneously created by make from ./install.sh.
2044 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2045 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2046 if test -z "$INSTALL"; then
2047 if test "${ac_cv_path_install+set}" = set; then
2048 echo $ECHO_N "(cached) $ECHO_C" >&6
2050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2054 test -z "$as_dir" && as_dir=.
2055 # Account for people who put trailing slashes in PATH elements.
2057 ./ | .// | /cC/* | \
2058 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2061 # OSF1 and SCO ODT 3.0 have their own names for install.
2062 # Don't use installbsd from OSF since it installs stuff as root
2064 for ac_prog in ginstall scoinst install; do
2065 for ac_exec_ext in '' $ac_executable_extensions; do
2066 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2067 if test $ac_prog = install &&
2068 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2069 # AIX install. It has an incompatible calling convention.
2071 elif test $ac_prog = install &&
2072 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2073 # program-specific install script used by HP pwplus--don't use.
2076 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2088 if test "${ac_cv_path_install+set}" = set; then
2089 INSTALL=$ac_cv_path_install
2091 # As a last resort, use the slow shell script. We don't cache a
2092 # path for INSTALL within a source directory, because that will
2093 # break other packages using the cache if that directory is
2094 # removed, or if the path is relative.
2095 INSTALL=$ac_install_sh
2098 echo "$as_me:$LINENO: result: $INSTALL" >&5
2099 echo "${ECHO_T}$INSTALL" >&6
2101 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2102 # It thinks the first close brace ends the variable substitution.
2103 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2105 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2107 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2110 # Make sure we can run config.sub.
2111 $ac_config_sub sun4 >/dev/null 2>&1 ||
2112 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2113 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2114 { (exit 1); exit 1; }; }
2116 echo "$as_me:$LINENO: checking build system type" >&5
2117 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2118 if test "${ac_cv_build+set}" = set; then
2119 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 ac_cv_build_alias=$build_alias
2122 test -z "$ac_cv_build_alias" &&
2123 ac_cv_build_alias=`$ac_config_guess`
2124 test -z "$ac_cv_build_alias" &&
2125 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2126 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2127 { (exit 1); exit 1; }; }
2128 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2129 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2130 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2131 { (exit 1); exit 1; }; }
2134 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2135 echo "${ECHO_T}$ac_cv_build" >&6
2137 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2138 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2139 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2142 echo "$as_me:$LINENO: checking host system type" >&5
2143 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2144 if test "${ac_cv_host+set}" = set; then
2145 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 ac_cv_host_alias=$host_alias
2148 test -z "$ac_cv_host_alias" &&
2149 ac_cv_host_alias=$ac_cv_build_alias
2150 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2151 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2152 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2153 { (exit 1); exit 1; }; }
2156 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2157 echo "${ECHO_T}$ac_cv_host" >&6
2159 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2160 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2161 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2164 echo "$as_me:$LINENO: checking target system type" >&5
2165 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2166 if test "${ac_cv_target+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 ac_cv_target_alias=$target_alias
2170 test "x$ac_cv_target_alias" = "x" &&
2171 ac_cv_target_alias=$ac_cv_host_alias
2172 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2173 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2174 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2175 { (exit 1); exit 1; }; }
2178 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2179 echo "${ECHO_T}$ac_cv_target" >&6
2180 target=$ac_cv_target
2181 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2182 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2183 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2186 # The aliases save the names the user supplied, while $host etc.
2187 # will get canonicalized.
2188 test -n "$target_alias" &&
2189 test "$program_prefix$program_suffix$program_transform_name" = \
2191 program_prefix=${target_alias}-
2196 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2202 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2212 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2221 *sparc*solaris*) ARCH=Sparc
2228 ac_cpp='$CXXCPP $CPPFLAGS'
2229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2232 if test -n "$ac_tool_prefix"; then
2233 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2235 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2236 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2237 echo "$as_me:$LINENO: checking for $ac_word" >&5
2238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2239 if test "${ac_cv_prog_CXX+set}" = set; then
2240 echo $ECHO_N "(cached) $ECHO_C" >&6
2242 if test -n "$CXX"; then
2243 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2249 test -z "$as_dir" && as_dir=.
2250 for ac_exec_ext in '' $ac_executable_extensions; do
2251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2252 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2262 if test -n "$CXX"; then
2263 echo "$as_me:$LINENO: result: $CXX" >&5
2264 echo "${ECHO_T}$CXX" >&6
2266 echo "$as_me:$LINENO: result: no" >&5
2267 echo "${ECHO_T}no" >&6
2270 test -n "$CXX" && break
2273 if test -z "$CXX"; then
2275 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2277 # Extract the first word of "$ac_prog", so it can be a program name with args.
2278 set dummy $ac_prog; ac_word=$2
2279 echo "$as_me:$LINENO: checking for $ac_word" >&5
2280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2281 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2282 echo $ECHO_N "(cached) $ECHO_C" >&6
2284 if test -n "$ac_ct_CXX"; then
2285 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2291 test -z "$as_dir" && as_dir=.
2292 for ac_exec_ext in '' $ac_executable_extensions; do
2293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2294 ac_cv_prog_ac_ct_CXX="$ac_prog"
2295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2303 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2304 if test -n "$ac_ct_CXX"; then
2305 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2306 echo "${ECHO_T}$ac_ct_CXX" >&6
2308 echo "$as_me:$LINENO: result: no" >&5
2309 echo "${ECHO_T}no" >&6
2312 test -n "$ac_ct_CXX" && break
2314 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2320 # Provide some information about the compiler.
2321 echo "$as_me:$LINENO:" \
2322 "checking for C++ compiler version" >&5
2323 ac_compiler=`set X $ac_compile; echo $2`
2324 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2325 (eval $ac_compiler --version </dev/null >&5) 2>&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }
2329 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2330 (eval $ac_compiler -v </dev/null >&5) 2>&5
2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); }
2334 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2335 (eval $ac_compiler -V </dev/null >&5) 2>&5
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); }
2340 cat >conftest.$ac_ext <<_ACEOF
2341 #line $LINENO "configure"
2344 cat confdefs.h >>conftest.$ac_ext
2345 cat >>conftest.$ac_ext <<_ACEOF
2346 /* end confdefs.h. */
2356 ac_clean_files_save=$ac_clean_files
2357 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2358 # Try to create an executable without -o first, disregard a.out.
2359 # It will help us diagnose broken compilers, and finding out an intuition
2361 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2362 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2363 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2364 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2365 (eval $ac_link_default) 2>&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }; then
2369 # Find the output, starting from the most likely. This scheme is
2370 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2373 # Be careful to initialize this variable, since it used to be cached.
2374 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2376 # b.out is created by i960 compilers.
2377 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2379 test -f "$ac_file" || continue
2381 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2384 # This is the source file.
2387 # We found the default executable, but exeext='' is most
2391 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2392 # FIXME: I believe we export ac_cv_exeext for Libtool,
2393 # but it would be cool to find out if it's true. Does anybody
2394 # maintain Libtool? --akim.
2402 echo "$as_me: failed program was:" >&5
2403 sed 's/^/| /' conftest.$ac_ext >&5
2405 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2406 See \`config.log' for more details." >&5
2407 echo "$as_me: error: C++ compiler cannot create executables
2408 See \`config.log' for more details." >&2;}
2409 { (exit 77); exit 77; }; }
2412 ac_exeext=$ac_cv_exeext
2413 echo "$as_me:$LINENO: result: $ac_file" >&5
2414 echo "${ECHO_T}$ac_file" >&6
2416 # Check the compiler produces executables we can run. If not, either
2417 # the compiler is broken, or we cross compile.
2418 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2419 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2420 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2421 # If not cross compiling, check that we can run a simple program.
2422 if test "$cross_compiling" != yes; then
2423 if { ac_try='./$ac_file'
2424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); }; }; then
2431 if test "$cross_compiling" = maybe; then
2434 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2435 If you meant to cross compile, use \`--host'.
2436 See \`config.log' for more details." >&5
2437 echo "$as_me: error: cannot run C++ compiled programs.
2438 If you meant to cross compile, use \`--host'.
2439 See \`config.log' for more details." >&2;}
2440 { (exit 1); exit 1; }; }
2444 echo "$as_me:$LINENO: result: yes" >&5
2445 echo "${ECHO_T}yes" >&6
2447 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2448 ac_clean_files=$ac_clean_files_save
2449 # Check the compiler produces executables we can run. If not, either
2450 # the compiler is broken, or we cross compile.
2451 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2452 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2453 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2454 echo "${ECHO_T}$cross_compiling" >&6
2456 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2457 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2459 (eval $ac_link) 2>&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }; then
2463 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2464 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2465 # work properly (i.e., refer to `conftest.exe'), while it won't with
2467 for ac_file in conftest.exe conftest conftest.*; do
2468 test -f "$ac_file" || continue
2470 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2471 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2478 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2479 See \`config.log' for more details." >&5
2480 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2481 See \`config.log' for more details." >&2;}
2482 { (exit 1); exit 1; }; }
2485 rm -f conftest$ac_cv_exeext
2486 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2487 echo "${ECHO_T}$ac_cv_exeext" >&6
2489 rm -f conftest.$ac_ext
2490 EXEEXT=$ac_cv_exeext
2492 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2493 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2494 if test "${ac_cv_objext+set}" = set; then
2495 echo $ECHO_N "(cached) $ECHO_C" >&6
2497 cat >conftest.$ac_ext <<_ACEOF
2498 #line $LINENO "configure"
2501 cat confdefs.h >>conftest.$ac_ext
2502 cat >>conftest.$ac_ext <<_ACEOF
2503 /* end confdefs.h. */
2513 rm -f conftest.o conftest.obj
2514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2515 (eval $ac_compile) 2>&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }; then
2519 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2521 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2522 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2527 echo "$as_me: failed program was:" >&5
2528 sed 's/^/| /' conftest.$ac_ext >&5
2530 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2531 See \`config.log' for more details." >&5
2532 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2533 See \`config.log' for more details." >&2;}
2534 { (exit 1); exit 1; }; }
2537 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2539 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2540 echo "${ECHO_T}$ac_cv_objext" >&6
2541 OBJEXT=$ac_cv_objext
2543 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2544 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2545 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2546 echo $ECHO_N "(cached) $ECHO_C" >&6
2548 cat >conftest.$ac_ext <<_ACEOF
2549 #line $LINENO "configure"
2552 cat confdefs.h >>conftest.$ac_ext
2553 cat >>conftest.$ac_ext <<_ACEOF
2554 /* end confdefs.h. */
2567 rm -f conftest.$ac_objext
2568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2569 (eval $ac_compile) 2>&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); } &&
2573 { ac_try='test -s conftest.$ac_objext'
2574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; }; then
2581 echo "$as_me: failed program was:" >&5
2582 sed 's/^/| /' conftest.$ac_ext >&5
2586 rm -f conftest.$ac_objext conftest.$ac_ext
2587 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2590 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2591 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2592 GXX=`test $ac_compiler_gnu = yes && echo yes`
2593 ac_test_CXXFLAGS=${CXXFLAGS+set}
2594 ac_save_CXXFLAGS=$CXXFLAGS
2596 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2597 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2598 if test "${ac_cv_prog_cxx_g+set}" = set; then
2599 echo $ECHO_N "(cached) $ECHO_C" >&6
2601 cat >conftest.$ac_ext <<_ACEOF
2602 #line $LINENO "configure"
2605 cat confdefs.h >>conftest.$ac_ext
2606 cat >>conftest.$ac_ext <<_ACEOF
2607 /* end confdefs.h. */
2617 rm -f conftest.$ac_objext
2618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2619 (eval $ac_compile) 2>&5
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); } &&
2623 { ac_try='test -s conftest.$ac_objext'
2624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }; }; then
2629 ac_cv_prog_cxx_g=yes
2631 echo "$as_me: failed program was:" >&5
2632 sed 's/^/| /' conftest.$ac_ext >&5
2636 rm -f conftest.$ac_objext conftest.$ac_ext
2638 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2639 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2640 if test "$ac_test_CXXFLAGS" = set; then
2641 CXXFLAGS=$ac_save_CXXFLAGS
2642 elif test $ac_cv_prog_cxx_g = yes; then
2643 if test "$GXX" = yes; then
2649 if test "$GXX" = yes; then
2655 for ac_declaration in \
2657 '#include <stdlib.h>' \
2658 'extern "C" void std::exit (int) throw (); using std::exit;' \
2659 'extern "C" void std::exit (int); using std::exit;' \
2660 'extern "C" void exit (int) throw ();' \
2661 'extern "C" void exit (int);' \
2664 cat >conftest.$ac_ext <<_ACEOF
2665 #line $LINENO "configure"
2668 cat confdefs.h >>conftest.$ac_ext
2669 cat >>conftest.$ac_ext <<_ACEOF
2670 /* end confdefs.h. */
2681 rm -f conftest.$ac_objext
2682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2683 (eval $ac_compile) 2>&5
2685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 (exit $ac_status); } &&
2687 { ac_try='test -s conftest.$ac_objext'
2688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); }; }; then
2695 echo "$as_me: failed program was:" >&5
2696 sed 's/^/| /' conftest.$ac_ext >&5
2700 rm -f conftest.$ac_objext conftest.$ac_ext
2701 cat >conftest.$ac_ext <<_ACEOF
2702 #line $LINENO "configure"
2705 cat confdefs.h >>conftest.$ac_ext
2706 cat >>conftest.$ac_ext <<_ACEOF
2707 /* end confdefs.h. */
2717 rm -f conftest.$ac_objext
2718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2719 (eval $ac_compile) 2>&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); } &&
2723 { ac_try='test -s conftest.$ac_objext'
2724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); }; }; then
2731 echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2735 rm -f conftest.$ac_objext conftest.$ac_ext
2738 if test -n "$ac_declaration"; then
2739 echo '#ifdef __cplusplus' >>confdefs.h
2740 echo $ac_declaration >>confdefs.h
2741 echo '#endif' >>confdefs.h
2745 ac_cpp='$CPP $CPPFLAGS'
2746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2751 ac_cpp='$CPP $CPPFLAGS'
2752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2755 if test -n "$ac_tool_prefix"; then
2758 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2759 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2760 echo "$as_me:$LINENO: checking for $ac_word" >&5
2761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2762 if test "${ac_cv_prog_CC+set}" = set; then
2763 echo $ECHO_N "(cached) $ECHO_C" >&6
2765 if test -n "$CC"; then
2766 ac_cv_prog_CC="$CC" # Let the user override the test.
2768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772 test -z "$as_dir" && as_dir=.
2773 for ac_exec_ext in '' $ac_executable_extensions; do
2774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2775 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2785 if test -n "$CC"; then
2786 echo "$as_me:$LINENO: result: $CC" >&5
2787 echo "${ECHO_T}$CC" >&6
2789 echo "$as_me:$LINENO: result: no" >&5
2790 echo "${ECHO_T}no" >&6
2793 test -n "$CC" && break
2796 if test -z "$CC"; then
2800 # Extract the first word of "$ac_prog", so it can be a program name with args.
2801 set dummy $ac_prog; ac_word=$2
2802 echo "$as_me:$LINENO: checking for $ac_word" >&5
2803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2804 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2805 echo $ECHO_N "(cached) $ECHO_C" >&6
2807 if test -n "$ac_ct_CC"; then
2808 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814 test -z "$as_dir" && as_dir=.
2815 for ac_exec_ext in '' $ac_executable_extensions; do
2816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2817 ac_cv_prog_ac_ct_CC="$ac_prog"
2818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2826 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2827 if test -n "$ac_ct_CC"; then
2828 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2829 echo "${ECHO_T}$ac_ct_CC" >&6
2831 echo "$as_me:$LINENO: result: no" >&5
2832 echo "${ECHO_T}no" >&6
2835 test -n "$ac_ct_CC" && break
2842 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2843 See \`config.log' for more details." >&5
2844 echo "$as_me: error: no acceptable C compiler found in \$PATH
2845 See \`config.log' for more details." >&2;}
2846 { (exit 1); exit 1; }; }
2848 # Provide some information about the compiler.
2849 echo "$as_me:$LINENO:" \
2850 "checking for C compiler version" >&5
2851 ac_compiler=`set X $ac_compile; echo $2`
2852 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2853 (eval $ac_compiler --version </dev/null >&5) 2>&5
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }
2857 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2858 (eval $ac_compiler -v </dev/null >&5) 2>&5
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); }
2862 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2863 (eval $ac_compiler -V </dev/null >&5) 2>&5
2865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2866 (exit $ac_status); }
2868 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2869 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2870 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2871 echo $ECHO_N "(cached) $ECHO_C" >&6
2873 cat >conftest.$ac_ext <<_ACEOF
2874 #line $LINENO "configure"
2877 cat confdefs.h >>conftest.$ac_ext
2878 cat >>conftest.$ac_ext <<_ACEOF
2879 /* end confdefs.h. */
2892 rm -f conftest.$ac_objext
2893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2894 (eval $ac_compile) 2>&5
2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); } &&
2898 { ac_try='test -s conftest.$ac_objext'
2899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); }; }; then
2906 echo "$as_me: failed program was:" >&5
2907 sed 's/^/| /' conftest.$ac_ext >&5
2911 rm -f conftest.$ac_objext conftest.$ac_ext
2912 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2915 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2916 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2917 GCC=`test $ac_compiler_gnu = yes && echo yes`
2918 ac_test_CFLAGS=${CFLAGS+set}
2919 ac_save_CFLAGS=$CFLAGS
2921 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2922 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2923 if test "${ac_cv_prog_cc_g+set}" = set; then
2924 echo $ECHO_N "(cached) $ECHO_C" >&6
2926 cat >conftest.$ac_ext <<_ACEOF
2927 #line $LINENO "configure"
2930 cat confdefs.h >>conftest.$ac_ext
2931 cat >>conftest.$ac_ext <<_ACEOF
2932 /* end confdefs.h. */
2942 rm -f conftest.$ac_objext
2943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2944 (eval $ac_compile) 2>&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); } &&
2948 { ac_try='test -s conftest.$ac_objext'
2949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953 (exit $ac_status); }; }; then
2956 echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.$ac_ext >&5
2961 rm -f conftest.$ac_objext conftest.$ac_ext
2963 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2964 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2965 if test "$ac_test_CFLAGS" = set; then
2966 CFLAGS=$ac_save_CFLAGS
2967 elif test $ac_cv_prog_cc_g = yes; then
2968 if test "$GCC" = yes; then
2974 if test "$GCC" = yes; then
2980 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2981 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2982 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2983 echo $ECHO_N "(cached) $ECHO_C" >&6
2985 ac_cv_prog_cc_stdc=no
2987 cat >conftest.$ac_ext <<_ACEOF
2988 #line $LINENO "configure"
2991 cat confdefs.h >>conftest.$ac_ext
2992 cat >>conftest.$ac_ext <<_ACEOF
2993 /* end confdefs.h. */
2996 #include <sys/types.h>
2997 #include <sys/stat.h>
2998 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2999 struct buf { int x; };
3000 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3001 static char *e (p, i)
3007 static char *f (char * (*g) (char **, int), char **p, ...)
3012 s = g (p, va_arg (v,int));
3016 int test (int i, double x);
3017 struct s1 {int (*f) (int a);};
3018 struct s2 {int (*f) (double a);};
3019 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3025 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3030 # Don't try gcc -ansi; that turns off useful extensions and
3031 # breaks some systems' header files.
3032 # AIX -qlanglvl=ansi
3033 # Ultrix and OSF/1 -std1
3034 # HP-UX 10.20 and later -Ae
3035 # HP-UX older versions -Aa -D_HPUX_SOURCE
3036 # SVR4 -Xc -D__EXTENSIONS__
3037 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3039 CC="$ac_save_CC $ac_arg"
3040 rm -f conftest.$ac_objext
3041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3042 (eval $ac_compile) 2>&5
3044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045 (exit $ac_status); } &&
3046 { ac_try='test -s conftest.$ac_objext'
3047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051 (exit $ac_status); }; }; then
3052 ac_cv_prog_cc_stdc=$ac_arg
3055 echo "$as_me: failed program was:" >&5
3056 sed 's/^/| /' conftest.$ac_ext >&5
3059 rm -f conftest.$ac_objext
3061 rm -f conftest.$ac_ext conftest.$ac_objext
3066 case "x$ac_cv_prog_cc_stdc" in
3068 echo "$as_me:$LINENO: result: none needed" >&5
3069 echo "${ECHO_T}none needed" >&6 ;;
3071 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3072 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3073 CC="$CC $ac_cv_prog_cc_stdc" ;;
3076 # Some people use a C++ compiler to compile C. Since we use `exit',
3077 # in C++ we need to declare it. In case someone uses the same compiler
3078 # for both compiling C and C++ we need to have the C++ compiler decide
3079 # the declaration of exit, since it's the most demanding environment.
3080 cat >conftest.$ac_ext <<_ACEOF
3085 rm -f conftest.$ac_objext
3086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3087 (eval $ac_compile) 2>&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); } &&
3091 { ac_try='test -s conftest.$ac_objext'
3092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }; }; then
3097 for ac_declaration in \
3099 '#include <stdlib.h>' \
3100 'extern "C" void std::exit (int) throw (); using std::exit;' \
3101 'extern "C" void std::exit (int); using std::exit;' \
3102 'extern "C" void exit (int) throw ();' \
3103 'extern "C" void exit (int);' \
3106 cat >conftest.$ac_ext <<_ACEOF
3107 #line $LINENO "configure"
3110 cat confdefs.h >>conftest.$ac_ext
3111 cat >>conftest.$ac_ext <<_ACEOF
3112 /* end confdefs.h. */
3123 rm -f conftest.$ac_objext
3124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3125 (eval $ac_compile) 2>&5
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); } &&
3129 { ac_try='test -s conftest.$ac_objext'
3130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }; }; then
3137 echo "$as_me: failed program was:" >&5
3138 sed 's/^/| /' conftest.$ac_ext >&5
3142 rm -f conftest.$ac_objext conftest.$ac_ext
3143 cat >conftest.$ac_ext <<_ACEOF
3144 #line $LINENO "configure"
3147 cat confdefs.h >>conftest.$ac_ext
3148 cat >>conftest.$ac_ext <<_ACEOF
3149 /* end confdefs.h. */
3159 rm -f conftest.$ac_objext
3160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3161 (eval $ac_compile) 2>&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } &&
3165 { ac_try='test -s conftest.$ac_objext'
3166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); }; }; then
3173 echo "$as_me: failed program was:" >&5
3174 sed 's/^/| /' conftest.$ac_ext >&5
3177 rm -f conftest.$ac_objext conftest.$ac_ext
3180 if test -n "$ac_declaration"; then
3181 echo '#ifdef __cplusplus' >>confdefs.h
3182 echo $ac_declaration >>confdefs.h
3183 echo '#endif' >>confdefs.h
3187 echo "$as_me: failed program was:" >&5
3188 sed 's/^/| /' conftest.$ac_ext >&5
3191 rm -f conftest.$ac_objext conftest.$ac_ext
3193 ac_cpp='$CPP $CPPFLAGS'
3194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3199 ac_cpp='$CPP $CPPFLAGS'
3200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3203 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3204 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3205 # On Suns, sometimes $CPP names a directory.
3206 if test -n "$CPP" && test -d "$CPP"; then
3209 if test -z "$CPP"; then
3210 if test "${ac_cv_prog_CPP+set}" = set; then
3211 echo $ECHO_N "(cached) $ECHO_C" >&6
3213 # Double quotes because CPP needs to be expanded
3214 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3217 for ac_c_preproc_warn_flag in '' yes
3219 # Use a header file that comes with gcc, so configuring glibc
3220 # with a fresh cross-compiler works.
3221 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3222 # <limits.h> exists even on freestanding compilers.
3223 # On the NeXT, cc -E runs the code through the compiler's parser,
3224 # not just through cpp. "Syntax error" is here to catch this case.
3225 cat >conftest.$ac_ext <<_ACEOF
3226 #line $LINENO "configure"
3229 cat confdefs.h >>conftest.$ac_ext
3230 cat >>conftest.$ac_ext <<_ACEOF
3231 /* end confdefs.h. */
3233 # include <limits.h>
3235 # include <assert.h>
3239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3242 grep -v '^ *+' conftest.er1 >conftest.err
3244 cat conftest.err >&5
3245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); } >/dev/null; then
3247 if test -s conftest.err; then
3248 ac_cpp_err=$ac_c_preproc_warn_flag
3255 if test -z "$ac_cpp_err"; then
3258 echo "$as_me: failed program was:" >&5
3259 sed 's/^/| /' conftest.$ac_ext >&5
3261 # Broken: fails on valid input.
3264 rm -f conftest.err conftest.$ac_ext
3266 # OK, works on sane cases. Now check whether non-existent headers
3267 # can be detected and how.
3268 cat >conftest.$ac_ext <<_ACEOF
3269 #line $LINENO "configure"
3272 cat confdefs.h >>conftest.$ac_ext
3273 cat >>conftest.$ac_ext <<_ACEOF
3274 /* end confdefs.h. */
3275 #include <ac_nonexistent.h>
3277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3278 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3280 grep -v '^ *+' conftest.er1 >conftest.err
3282 cat conftest.err >&5
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); } >/dev/null; then
3285 if test -s conftest.err; then
3286 ac_cpp_err=$ac_c_preproc_warn_flag
3293 if test -z "$ac_cpp_err"; then
3294 # Broken: success on invalid input.
3297 echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.$ac_ext >&5
3300 # Passes both tests.
3304 rm -f conftest.err conftest.$ac_ext
3307 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3308 rm -f conftest.err conftest.$ac_ext
3309 if $ac_preproc_ok; then
3321 echo "$as_me:$LINENO: result: $CPP" >&5
3322 echo "${ECHO_T}$CPP" >&6
3324 for ac_c_preproc_warn_flag in '' yes
3326 # Use a header file that comes with gcc, so configuring glibc
3327 # with a fresh cross-compiler works.
3328 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3329 # <limits.h> exists even on freestanding compilers.
3330 # On the NeXT, cc -E runs the code through the compiler's parser,
3331 # not just through cpp. "Syntax error" is here to catch this case.
3332 cat >conftest.$ac_ext <<_ACEOF
3333 #line $LINENO "configure"
3336 cat confdefs.h >>conftest.$ac_ext
3337 cat >>conftest.$ac_ext <<_ACEOF
3338 /* end confdefs.h. */
3340 # include <limits.h>
3342 # include <assert.h>
3346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3349 grep -v '^ *+' conftest.er1 >conftest.err
3351 cat conftest.err >&5
3352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 (exit $ac_status); } >/dev/null; then
3354 if test -s conftest.err; then
3355 ac_cpp_err=$ac_c_preproc_warn_flag
3362 if test -z "$ac_cpp_err"; then
3365 echo "$as_me: failed program was:" >&5
3366 sed 's/^/| /' conftest.$ac_ext >&5
3368 # Broken: fails on valid input.
3371 rm -f conftest.err conftest.$ac_ext
3373 # OK, works on sane cases. Now check whether non-existent headers
3374 # can be detected and how.
3375 cat >conftest.$ac_ext <<_ACEOF
3376 #line $LINENO "configure"
3379 cat confdefs.h >>conftest.$ac_ext
3380 cat >>conftest.$ac_ext <<_ACEOF
3381 /* end confdefs.h. */
3382 #include <ac_nonexistent.h>
3384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3387 grep -v '^ *+' conftest.er1 >conftest.err
3389 cat conftest.err >&5
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); } >/dev/null; then
3392 if test -s conftest.err; then
3393 ac_cpp_err=$ac_c_preproc_warn_flag
3400 if test -z "$ac_cpp_err"; then
3401 # Broken: success on invalid input.
3404 echo "$as_me: failed program was:" >&5
3405 sed 's/^/| /' conftest.$ac_ext >&5
3407 # Passes both tests.
3411 rm -f conftest.err conftest.$ac_ext
3414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3415 rm -f conftest.err conftest.$ac_ext
3416 if $ac_preproc_ok; then
3419 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3420 See \`config.log' for more details." >&5
3421 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3422 See \`config.log' for more details." >&2;}
3423 { (exit 1); exit 1; }; }
3427 ac_cpp='$CPP $CPPFLAGS'
3428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3433 if test "$GCC" != "yes"
3435 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3436 echo "$as_me: error: gcc required but not found" >&2;}
3437 { (exit 1); exit 1; }; }
3440 if test "$GXX" != "yes"
3442 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3443 echo "$as_me: error: g++ required but not found" >&2;}
3444 { (exit 1); exit 1; }; }
3447 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3448 if test "$gccmajor" -lt "3"
3450 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3451 echo "$as_me: error: gcc 3.x required" >&2;}
3452 { (exit 1); exit 1; }; }
3455 echo "$as_me:$LINENO: checking for GNU make" >&5
3456 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3457 if test "${_cv_gnu_make_command+set}" = set; then
3458 echo $ECHO_N "(cached) $ECHO_C" >&6
3460 _cv_gnu_make_command='' ;
3461 for a in "$MAKE" make gmake gnumake ; do
3462 if test -z "$a" ; then continue ; fi ;
3463 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3464 _cv_gnu_make_command=$a ;
3470 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3471 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3472 if test "x$_cv_gnu_make_command" != "x" ; then
3476 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3477 echo "${ECHO_T}\"Not found\"" >&6;
3481 if test -z "$_cv_gnu_make_command"
3483 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3484 echo "$as_me: error: GNU Make required but not found" >&2;}
3485 { (exit 1); exit 1; }; }
3489 echo "$as_me:$LINENO: checking " >&5
3490 echo $ECHO_N "checking ... $ECHO_C" >&6
3491 if test "${ac_cv_has_flex+set}" = set; then
3492 echo $ECHO_N "(cached) $ECHO_C" >&6
3494 for ac_prog in flex lex
3496 # Extract the first word of "$ac_prog", so it can be a program name with args.
3497 set dummy $ac_prog; ac_word=$2
3498 echo "$as_me:$LINENO: checking for $ac_word" >&5
3499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3500 if test "${ac_cv_prog_LEX+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3503 if test -n "$LEX"; then
3504 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510 test -z "$as_dir" && as_dir=.
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3513 ac_cv_prog_LEX="$ac_prog"
3514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3523 if test -n "$LEX"; then
3524 echo "$as_me:$LINENO: result: $LEX" >&5
3525 echo "${ECHO_T}$LEX" >&6
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3531 test -n "$LEX" && break
3533 test -n "$LEX" || LEX=":"
3535 if test -z "$LEXLIB"
3537 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3538 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3539 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3540 echo $ECHO_N "(cached) $ECHO_C" >&6
3542 ac_check_lib_save_LIBS=$LIBS
3544 cat >conftest.$ac_ext <<_ACEOF
3545 #line $LINENO "configure"
3548 cat confdefs.h >>conftest.$ac_ext
3549 cat >>conftest.$ac_ext <<_ACEOF
3550 /* end confdefs.h. */
3552 /* Override any gcc2 internal prototype to avoid an error. */
3556 /* We use char because int might match the return type of a gcc2
3557 builtin and then its argument prototype would still apply. */
3567 rm -f conftest.$ac_objext conftest$ac_exeext
3568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3569 (eval $ac_link) 2>&5
3571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572 (exit $ac_status); } &&
3573 { ac_try='test -s conftest$ac_exeext'
3574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578 (exit $ac_status); }; }; then
3579 ac_cv_lib_fl_yywrap=yes
3581 echo "$as_me: failed program was:" >&5
3582 sed 's/^/| /' conftest.$ac_ext >&5
3584 ac_cv_lib_fl_yywrap=no
3586 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3587 LIBS=$ac_check_lib_save_LIBS
3589 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3590 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3591 if test $ac_cv_lib_fl_yywrap = yes; then
3594 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3595 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3596 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3597 echo $ECHO_N "(cached) $ECHO_C" >&6
3599 ac_check_lib_save_LIBS=$LIBS
3601 cat >conftest.$ac_ext <<_ACEOF
3602 #line $LINENO "configure"
3605 cat confdefs.h >>conftest.$ac_ext
3606 cat >>conftest.$ac_ext <<_ACEOF
3607 /* end confdefs.h. */
3609 /* Override any gcc2 internal prototype to avoid an error. */
3613 /* We use char because int might match the return type of a gcc2
3614 builtin and then its argument prototype would still apply. */
3624 rm -f conftest.$ac_objext conftest$ac_exeext
3625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3626 (eval $ac_link) 2>&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); } &&
3630 { ac_try='test -s conftest$ac_exeext'
3631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); }; }; then
3636 ac_cv_lib_l_yywrap=yes
3638 echo "$as_me: failed program was:" >&5
3639 sed 's/^/| /' conftest.$ac_ext >&5
3641 ac_cv_lib_l_yywrap=no
3643 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3644 LIBS=$ac_check_lib_save_LIBS
3646 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3647 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3648 if test $ac_cv_lib_l_yywrap = yes; then
3656 if test "x$LEX" != "x:"; then
3657 echo "$as_me:$LINENO: checking lex output file root" >&5
3658 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3659 if test "${ac_cv_prog_lex_root+set}" = set; then
3660 echo $ECHO_N "(cached) $ECHO_C" >&6
3662 # The minimal lex program is just a single line: %%. But some broken lexes
3663 # (Solaris, I think it was) want two %% lines, so accommodate them.
3664 cat >conftest.l <<_ACEOF
3668 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3669 (eval $LEX conftest.l) 2>&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }
3673 if test -f lex.yy.c; then
3674 ac_cv_prog_lex_root=lex.yy
3675 elif test -f lexyy.c; then
3676 ac_cv_prog_lex_root=lexyy
3678 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3679 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3680 { (exit 1); exit 1; }; }
3683 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3684 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3686 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3688 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3689 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3690 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3691 echo $ECHO_N "(cached) $ECHO_C" >&6
3693 # POSIX says lex can declare yytext either as a pointer or an array; the
3694 # default is implementation-dependent. Figure out which it is, since
3695 # not all implementations provide the %pointer and %array declarations.
3696 ac_cv_prog_lex_yytext_pointer=no
3697 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3699 LIBS="$LIBS $LEXLIB"
3700 cat >conftest.$ac_ext <<_ACEOF
3701 `cat $LEX_OUTPUT_ROOT.c`
3703 rm -f conftest.$ac_objext conftest$ac_exeext
3704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3705 (eval $ac_link) 2>&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); } &&
3709 { ac_try='test -s conftest$ac_exeext'
3710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714 (exit $ac_status); }; }; then
3715 ac_cv_prog_lex_yytext_pointer=yes
3717 echo "$as_me: failed program was:" >&5
3718 sed 's/^/| /' conftest.$ac_ext >&5
3721 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3723 rm -f "${LEX_OUTPUT_ROOT}.c"
3726 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3727 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3728 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3730 cat >>confdefs.h <<\_ACEOF
3731 #define YYTEXT_POINTER 1
3739 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3740 echo "${ECHO_T}$ac_cv_has_flex" >&6
3741 if test "$LEX" != "flex"; then
3742 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3743 echo "$as_me: error: flex not found but required" >&2;}
3744 { (exit 1); exit 1; }; }
3747 echo "$as_me:$LINENO: checking " >&5
3748 echo $ECHO_N "checking ... $ECHO_C" >&6
3749 if test "${ac_cv_has_bison+set}" = set; then
3750 echo $ECHO_N "(cached) $ECHO_C" >&6
3752 for ac_prog in 'bison -y' byacc
3754 # Extract the first word of "$ac_prog", so it can be a program name with args.
3755 set dummy $ac_prog; ac_word=$2
3756 echo "$as_me:$LINENO: checking for $ac_word" >&5
3757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3758 if test "${ac_cv_prog_YACC+set}" = set; then
3759 echo $ECHO_N "(cached) $ECHO_C" >&6
3761 if test -n "$YACC"; then
3762 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3768 test -z "$as_dir" && as_dir=.
3769 for ac_exec_ext in '' $ac_executable_extensions; do
3770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3771 ac_cv_prog_YACC="$ac_prog"
3772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3780 YACC=$ac_cv_prog_YACC
3781 if test -n "$YACC"; then
3782 echo "$as_me:$LINENO: result: $YACC" >&5
3783 echo "${ECHO_T}$YACC" >&6
3785 echo "$as_me:$LINENO: result: no" >&5
3786 echo "${ECHO_T}no" >&6
3789 test -n "$YACC" && break
3791 test -n "$YACC" || YACC="yacc"
3795 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3796 echo "${ECHO_T}$ac_cv_has_bison" >&6
3797 if test "$YACC" != "bison -y"; then
3798 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3799 echo "$as_me: error: bison not found but required" >&2;}
3800 { (exit 1); exit 1; }; }
3807 # Check whether --enable-shared or --disable-shared was given.
3808 if test "${enable_shared+set}" = set; then
3809 enableval="$enable_shared"
3810 p=${PACKAGE-default}
3812 yes) enable_shared=yes ;;
3813 no) enable_shared=no ;;
3816 # Look at the argument we got. We use all the common list separators.
3817 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3818 for pkg in $enableval; do
3820 if test "X$pkg" = "X$p"; then
3831 # Check whether --enable-static or --disable-static was given.
3832 if test "${enable_static+set}" = set; then
3833 enableval="$enable_static"
3834 p=${PACKAGE-default}
3836 yes) enable_static=yes ;;
3837 no) enable_static=no ;;
3840 # Look at the argument we got. We use all the common list separators.
3841 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3842 for pkg in $enableval; do
3844 if test "X$pkg" = "X$p"; then
3855 # Check whether --enable-fast-install or --disable-fast-install was given.
3856 if test "${enable_fast_install+set}" = set; then
3857 enableval="$enable_fast_install"
3858 p=${PACKAGE-default}
3860 yes) enable_fast_install=yes ;;
3861 no) enable_fast_install=no ;;
3863 enable_fast_install=no
3864 # Look at the argument we got. We use all the common list separators.
3865 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3866 for pkg in $enableval; do
3868 if test "X$pkg" = "X$p"; then
3869 enable_fast_install=yes
3876 enable_fast_install=yes
3879 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3880 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3881 if test "${lt_cv_path_SED+set}" = set; then
3882 echo $ECHO_N "(cached) $ECHO_C" >&6
3884 # Loop through the user's path and test for sed and gsed.
3885 # Then use that list of sed's as ones to test for truncation.
3886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3890 test -z "$as_dir" && as_dir=.
3891 for lt_ac_prog in sed gsed; do
3892 for ac_exec_ext in '' $ac_executable_extensions; do
3893 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3894 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3901 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3902 # along with /bin/sed that truncates output.
3903 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3904 test ! -f $lt_ac_sed && break
3905 cat /dev/null > conftest.in
3907 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3908 # Check for GNU sed and select it if it is found.
3909 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3910 lt_cv_path_SED=$lt_ac_sed
3914 cat conftest.in conftest.in >conftest.tmp
3915 mv conftest.tmp conftest.in
3916 cp conftest.in conftest.nl
3918 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3919 cmp -s conftest.out conftest.nl || break
3920 # 10000 chars as input seems more than enough
3921 test $lt_ac_count -gt 10 && break
3922 lt_ac_count=`expr $lt_ac_count + 1`
3923 if test $lt_ac_count -gt $lt_ac_max; then
3924 lt_ac_max=$lt_ac_count
3925 lt_cv_path_SED=$lt_ac_sed
3933 echo "$as_me:$LINENO: result: $SED" >&5
3934 echo "${ECHO_T}$SED" >&6
3936 echo "$as_me:$LINENO: checking for egrep" >&5
3937 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3938 if test "${ac_cv_prog_egrep+set}" = set; then
3939 echo $ECHO_N "(cached) $ECHO_C" >&6
3941 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3942 then ac_cv_prog_egrep='grep -E'
3943 else ac_cv_prog_egrep='egrep'
3946 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3947 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3948 EGREP=$ac_cv_prog_egrep
3952 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3953 if test "${with_gnu_ld+set}" = set; then
3954 withval="$with_gnu_ld"
3955 test "$withval" = no || with_gnu_ld=yes
3960 if test "$GCC" = yes; then
3961 # Check if gcc -print-prog-name=ld gives a path.
3962 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3963 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3966 # gcc leaves a trailing carriage return which upsets mingw
3967 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3969 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3972 # Accept absolute paths.
3974 re_direlt='/[^/][^/]*/\.\./'
3975 # Canonicalize the path of ld
3976 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3977 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3978 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3980 test -z "$LD" && LD="$ac_prog"
3983 # If it fails, then pretend we aren't using GCC.
3987 # If it is relative, then search for the first ld in PATH.
3991 elif test "$with_gnu_ld" = yes; then
3992 echo "$as_me:$LINENO: checking for GNU ld" >&5
3993 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3995 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3996 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3998 if test "${lt_cv_path_LD+set}" = set; then
3999 echo $ECHO_N "(cached) $ECHO_C" >&6
4001 if test -z "$LD"; then
4002 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4003 for ac_dir in $PATH; do
4005 test -z "$ac_dir" && ac_dir=.
4006 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4007 lt_cv_path_LD="$ac_dir/$ac_prog"
4008 # Check to see if the program is GNU ld. I'd rather use --version,
4009 # but apparently some GNU ld's only accept -v.
4010 # Break only if it was the GNU/non-GNU ld that we prefer.
4011 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4012 *GNU* | *'with BFD'*)
4013 test "$with_gnu_ld" != no && break
4016 test "$with_gnu_ld" != yes && break
4023 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4028 if test -n "$LD"; then
4029 echo "$as_me:$LINENO: result: $LD" >&5
4030 echo "${ECHO_T}$LD" >&6
4032 echo "$as_me:$LINENO: result: no" >&5
4033 echo "${ECHO_T}no" >&6
4035 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4036 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4037 { (exit 1); exit 1; }; }
4038 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4039 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4040 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4041 echo $ECHO_N "(cached) $ECHO_C" >&6
4043 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4044 case `"$LD" -v 2>&1 </dev/null` in
4045 *GNU* | *'with BFD'*)
4046 lt_cv_prog_gnu_ld=yes
4049 lt_cv_prog_gnu_ld=no
4053 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4054 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4055 with_gnu_ld=$lt_cv_prog_gnu_ld
4058 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4059 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4060 if test "${lt_cv_ld_reload_flag+set}" = set; then
4061 echo $ECHO_N "(cached) $ECHO_C" >&6
4063 lt_cv_ld_reload_flag='-r'
4065 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4066 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4067 reload_flag=$lt_cv_ld_reload_flag
4068 case $reload_flag in
4070 *) reload_flag=" $reload_flag" ;;
4072 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4074 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4075 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4076 if test "${lt_cv_path_NM+set}" = set; then
4077 echo $ECHO_N "(cached) $ECHO_C" >&6
4079 if test -n "$NM"; then
4080 # Let the user override the test.
4083 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4084 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4086 test -z "$ac_dir" && ac_dir=.
4087 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4088 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4089 # Check to see if the nm accepts a BSD-compat flag.
4090 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4091 # nm: unknown option "B" ignored
4092 # Tru64's nm complains that /dev/null is an invalid object file
4093 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4094 */dev/null* | *'Invalid file or object type'*)
4095 lt_cv_path_NM="$tmp_nm -B"
4099 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4101 lt_cv_path_NM="$tmp_nm -p"
4105 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4106 continue # so that we can try to find one that supports BSD flags
4113 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4116 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4117 echo "${ECHO_T}$lt_cv_path_NM" >&6
4120 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4121 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4123 if test "$LN_S" = "ln -s"; then
4124 echo "$as_me:$LINENO: result: yes" >&5
4125 echo "${ECHO_T}yes" >&6
4127 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4128 echo "${ECHO_T}no, using $LN_S" >&6
4131 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4132 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4133 if test "${lt_cv_deplibs_check_method+set}" = set; then
4134 echo $ECHO_N "(cached) $ECHO_C" >&6
4136 lt_cv_file_magic_cmd='$MAGIC_CMD'
4137 lt_cv_file_magic_test_file=
4138 lt_cv_deplibs_check_method='unknown'
4139 # Need to set the preceding variable on all platforms that support
4140 # interlibrary dependencies.
4141 # 'none' -- dependencies not supported.
4142 # `unknown' -- same as none, but documents that we really don't know.
4143 # 'pass_all' -- all dependencies passed with no checks.
4144 # 'test_compile' -- check by making test program.
4145 # 'file_magic [[regex]]' -- check by looking for files in library path
4146 # which responds to the $file_magic_cmd with a given extended regex.
4147 # If you have `file' or equivalent on your system and you're not sure
4148 # whether `pass_all' will *always* work, you probably want this one.
4152 lt_cv_deplibs_check_method=pass_all
4156 lt_cv_deplibs_check_method=pass_all
4160 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4161 lt_cv_file_magic_cmd='/usr/bin/file -L'
4162 lt_cv_file_magic_test_file=/shlib/libc.so
4165 cygwin* | mingw* | pw32*)
4166 # win32_libid is a shell function defined in ltmain.sh
4167 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4168 lt_cv_file_magic_cmd='win32_libid'
4171 darwin* | rhapsody*)
4172 # this will be overwritten by pass_all, but leave it in just in case
4173 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4174 lt_cv_file_magic_cmd='/usr/bin/file -L'
4176 rhapsody* | darwin1.[012])
4177 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4180 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4183 lt_cv_deplibs_check_method=pass_all
4187 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4190 # Not sure whether the presence of OpenBSD here was a mistake.
4191 # Let's accept both of them until this is cleared up.
4192 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4193 lt_cv_file_magic_cmd=/usr/bin/file
4194 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4198 lt_cv_deplibs_check_method=pass_all
4203 lt_cv_deplibs_check_method=pass_all
4206 hpux10.20* | hpux11*)
4207 lt_cv_file_magic_cmd=/usr/bin/file
4210 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4211 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4214 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]'
4215 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4218 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4219 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4224 irix5* | irix6* | nonstopux*)
4226 irix5* | nonstopux*)
4227 # this will be overridden with pass_all, but let us keep it just in case
4228 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4232 *-32|*"-32 ") libmagic=32-bit;;
4233 *-n32|*"-n32 ") libmagic=N32;;
4234 *-64|*"-64 ") libmagic=64-bit;;
4235 *) libmagic=never-match;;
4237 # this will be overridden with pass_all, but let us keep it just in case
4238 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4241 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4242 lt_cv_deplibs_check_method=pass_all
4245 # This must be Linux ELF.
4248 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4249 lt_cv_deplibs_check_method=pass_all ;;
4251 # glibc up to 2.1.1 does not perform some relocations on ARM
4252 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4254 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4258 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4259 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4261 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4266 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4267 lt_cv_file_magic_cmd=/usr/bin/file
4268 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4272 lt_cv_deplibs_check_method=unknown
4276 lt_cv_file_magic_cmd=/usr/bin/file
4277 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4278 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4279 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4281 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4285 osf3* | osf4* | osf5*)
4286 # this will be overridden with pass_all, but let us keep it just in case
4287 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4288 lt_cv_file_magic_test_file=/shlib/libc.so
4289 lt_cv_deplibs_check_method=pass_all
4293 lt_cv_deplibs_check_method=pass_all
4297 lt_cv_deplibs_check_method=pass_all
4298 lt_cv_file_magic_test_file=/lib/libc.so
4301 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4302 case $host_vendor in
4304 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]'
4305 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4308 lt_cv_deplibs_check_method=pass_all
4311 lt_cv_file_magic_cmd='/bin/file'
4312 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4315 lt_cv_file_magic_cmd='/bin/file'
4316 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4317 lt_cv_file_magic_test_file=/lib/libc.so
4320 lt_cv_deplibs_check_method=pass_all
4325 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4326 lt_cv_deplibs_check_method=pass_all
4331 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4332 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4333 file_magic_cmd=$lt_cv_file_magic_cmd
4334 deplibs_check_method=$lt_cv_deplibs_check_method
4335 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4340 # If no C compiler was specified, use CC.
4343 # Allow CC to be a program name with arguments.
4346 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4347 if test "${enable_libtool_lock+set}" = set; then
4348 enableval="$enable_libtool_lock"
4351 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4353 # Some flags need to be propagated to the compiler or linker for good
4357 # Find out which ABI we are using.
4358 echo 'int i;' > conftest.$ac_ext
4359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4360 (eval $ac_compile) 2>&5
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); }; then
4364 case `/usr/bin/file conftest.$ac_objext` in
4376 # Find out which ABI we are using.
4377 echo '#line 4377 "configure"' > conftest.$ac_ext
4378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4379 (eval $ac_compile) 2>&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }; then
4383 if test "$lt_cv_prog_gnu_ld" = yes; then
4384 case `/usr/bin/file conftest.$ac_objext` in
4386 LD="${LD-ld} -melf32bsmip"
4389 LD="${LD-ld} -melf32bmipn32"
4392 LD="${LD-ld} -melf64bmip"
4396 case `/usr/bin/file conftest.$ac_objext` in
4412 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4413 # Find out which ABI we are using.
4414 echo 'int i;' > conftest.$ac_ext
4415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4416 (eval $ac_compile) 2>&5
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); }; then
4420 case "`/usr/bin/file conftest.o`" in
4424 LD="${LD-ld} -m elf_i386"
4427 LD="${LD-ld} -m elf32ppclinux"
4430 LD="${LD-ld} -m elf_s390"
4433 LD="${LD-ld} -m elf32_sparc"
4440 LD="${LD-ld} -m elf_x86_64"
4442 ppc*-*linux*|powerpc*-*linux*)
4443 LD="${LD-ld} -m elf64ppc"
4446 LD="${LD-ld} -m elf64_s390"
4449 LD="${LD-ld} -m elf64_sparc"
4459 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4460 SAVE_CFLAGS="$CFLAGS"
4461 CFLAGS="$CFLAGS -belf"
4462 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4463 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4464 if test "${lt_cv_cc_needs_belf+set}" = set; then
4465 echo $ECHO_N "(cached) $ECHO_C" >&6
4468 ac_cpp='$CPP $CPPFLAGS'
4469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4473 cat >conftest.$ac_ext <<_ACEOF
4474 #line $LINENO "configure"
4477 cat confdefs.h >>conftest.$ac_ext
4478 cat >>conftest.$ac_ext <<_ACEOF
4479 /* end confdefs.h. */
4489 rm -f conftest.$ac_objext conftest$ac_exeext
4490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4491 (eval $ac_link) 2>&5
4493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494 (exit $ac_status); } &&
4495 { ac_try='test -s conftest$ac_exeext'
4496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); }; }; then
4501 lt_cv_cc_needs_belf=yes
4503 echo "$as_me: failed program was:" >&5
4504 sed 's/^/| /' conftest.$ac_ext >&5
4506 lt_cv_cc_needs_belf=no
4508 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4510 ac_cpp='$CPP $CPPFLAGS'
4511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4516 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4517 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4518 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4519 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4520 CFLAGS="$SAVE_CFLAGS"
4526 need_locks="$enable_libtool_lock"
4530 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4531 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4532 if test "${ac_cv_header_stdc+set}" = set; then
4533 echo $ECHO_N "(cached) $ECHO_C" >&6
4535 cat >conftest.$ac_ext <<_ACEOF
4536 #line $LINENO "configure"
4539 cat confdefs.h >>conftest.$ac_ext
4540 cat >>conftest.$ac_ext <<_ACEOF
4541 /* end confdefs.h. */
4555 rm -f conftest.$ac_objext
4556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4557 (eval $ac_compile) 2>&5
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 (exit $ac_status); } &&
4561 { ac_try='test -s conftest.$ac_objext'
4562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566 (exit $ac_status); }; }; then
4567 ac_cv_header_stdc=yes
4569 echo "$as_me: failed program was:" >&5
4570 sed 's/^/| /' conftest.$ac_ext >&5
4572 ac_cv_header_stdc=no
4574 rm -f conftest.$ac_objext conftest.$ac_ext
4576 if test $ac_cv_header_stdc = yes; then
4577 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4578 cat >conftest.$ac_ext <<_ACEOF
4579 #line $LINENO "configure"
4582 cat confdefs.h >>conftest.$ac_ext
4583 cat >>conftest.$ac_ext <<_ACEOF
4584 /* end confdefs.h. */
4588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4589 $EGREP "memchr" >/dev/null 2>&1; then
4592 ac_cv_header_stdc=no
4598 if test $ac_cv_header_stdc = yes; then
4599 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4600 cat >conftest.$ac_ext <<_ACEOF
4601 #line $LINENO "configure"
4604 cat confdefs.h >>conftest.$ac_ext
4605 cat >>conftest.$ac_ext <<_ACEOF
4606 /* end confdefs.h. */
4610 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4611 $EGREP "free" >/dev/null 2>&1; then
4614 ac_cv_header_stdc=no
4620 if test $ac_cv_header_stdc = yes; then
4621 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4622 if test "$cross_compiling" = yes; then
4625 cat >conftest.$ac_ext <<_ACEOF
4626 #line $LINENO "configure"
4629 cat confdefs.h >>conftest.$ac_ext
4630 cat >>conftest.$ac_ext <<_ACEOF
4631 /* end confdefs.h. */
4633 #if ((' ' & 0x0FF) == 0x020)
4634 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4635 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4637 # define ISLOWER(c) \
4638 (('a' <= (c) && (c) <= 'i') \
4639 || ('j' <= (c) && (c) <= 'r') \
4640 || ('s' <= (c) && (c) <= 'z'))
4641 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4644 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4649 for (i = 0; i < 256; i++)
4650 if (XOR (islower (i), ISLOWER (i))
4651 || toupper (i) != TOUPPER (i))
4656 rm -f conftest$ac_exeext
4657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4658 (eval $ac_link) 2>&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); }; }; then
4669 echo "$as_me: program exited with status $ac_status" >&5
4670 echo "$as_me: failed program was:" >&5
4671 sed 's/^/| /' conftest.$ac_ext >&5
4674 ac_cv_header_stdc=no
4676 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4680 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4681 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4682 if test $ac_cv_header_stdc = yes; then
4684 cat >>confdefs.h <<\_ACEOF
4685 #define STDC_HEADERS 1
4690 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4700 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4701 inttypes.h stdint.h unistd.h
4703 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4704 echo "$as_me:$LINENO: checking for $ac_header" >&5
4705 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4707 echo $ECHO_N "(cached) $ECHO_C" >&6
4709 cat >conftest.$ac_ext <<_ACEOF
4710 #line $LINENO "configure"
4713 cat confdefs.h >>conftest.$ac_ext
4714 cat >>conftest.$ac_ext <<_ACEOF
4715 /* end confdefs.h. */
4716 $ac_includes_default
4718 #include <$ac_header>
4720 rm -f conftest.$ac_objext
4721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4722 (eval $ac_compile) 2>&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); } &&
4726 { ac_try='test -s conftest.$ac_objext'
4727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); }; }; then
4732 eval "$as_ac_Header=yes"
4734 echo "$as_me: failed program was:" >&5
4735 sed 's/^/| /' conftest.$ac_ext >&5
4737 eval "$as_ac_Header=no"
4739 rm -f conftest.$ac_objext conftest.$ac_ext
4741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4743 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4744 cat >>confdefs.h <<_ACEOF
4745 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4754 for ac_header in dlfcn.h
4756 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4758 echo "$as_me:$LINENO: checking for $ac_header" >&5
4759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4761 echo $ECHO_N "(cached) $ECHO_C" >&6
4763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4766 # Is the header compilable?
4767 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4768 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4769 cat >conftest.$ac_ext <<_ACEOF
4770 #line $LINENO "configure"
4773 cat confdefs.h >>conftest.$ac_ext
4774 cat >>conftest.$ac_ext <<_ACEOF
4775 /* end confdefs.h. */
4776 $ac_includes_default
4777 #include <$ac_header>
4779 rm -f conftest.$ac_objext
4780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4781 (eval $ac_compile) 2>&5
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); } &&
4785 { ac_try='test -s conftest.$ac_objext'
4786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); }; }; then
4791 ac_header_compiler=yes
4793 echo "$as_me: failed program was:" >&5
4794 sed 's/^/| /' conftest.$ac_ext >&5
4796 ac_header_compiler=no
4798 rm -f conftest.$ac_objext conftest.$ac_ext
4799 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4800 echo "${ECHO_T}$ac_header_compiler" >&6
4802 # Is the header present?
4803 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4804 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4805 cat >conftest.$ac_ext <<_ACEOF
4806 #line $LINENO "configure"
4809 cat confdefs.h >>conftest.$ac_ext
4810 cat >>conftest.$ac_ext <<_ACEOF
4811 /* end confdefs.h. */
4812 #include <$ac_header>
4814 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4815 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4817 grep -v '^ *+' conftest.er1 >conftest.err
4819 cat conftest.err >&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); } >/dev/null; then
4822 if test -s conftest.err; then
4823 ac_cpp_err=$ac_c_preproc_warn_flag
4830 if test -z "$ac_cpp_err"; then
4831 ac_header_preproc=yes
4833 echo "$as_me: failed program was:" >&5
4834 sed 's/^/| /' conftest.$ac_ext >&5
4836 ac_header_preproc=no
4838 rm -f conftest.err conftest.$ac_ext
4839 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4840 echo "${ECHO_T}$ac_header_preproc" >&6
4842 # So? What about this header?
4843 case $ac_header_compiler:$ac_header_preproc in
4845 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4846 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4848 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4851 ## ------------------------------------ ##
4852 ## Report this to bug-autoconf@gnu.org. ##
4853 ## ------------------------------------ ##
4856 sed "s/^/$as_me: WARNING: /" >&2
4859 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4860 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4861 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4862 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4863 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4864 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4867 ## ------------------------------------ ##
4868 ## Report this to bug-autoconf@gnu.org. ##
4869 ## ------------------------------------ ##
4872 sed "s/^/$as_me: WARNING: /" >&2
4875 echo "$as_me:$LINENO: checking for $ac_header" >&5
4876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4878 echo $ECHO_N "(cached) $ECHO_C" >&6
4880 eval "$as_ac_Header=$ac_header_preproc"
4882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4887 cat >>confdefs.h <<_ACEOF
4888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4896 ac_cpp='$CXXCPP $CPPFLAGS'
4897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4900 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4901 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4902 if test -z "$CXXCPP"; then
4903 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4904 echo $ECHO_N "(cached) $ECHO_C" >&6
4906 # Double quotes because CXXCPP needs to be expanded
4907 for CXXCPP in "$CXX -E" "/lib/cpp"
4910 for ac_cxx_preproc_warn_flag in '' yes
4912 # Use a header file that comes with gcc, so configuring glibc
4913 # with a fresh cross-compiler works.
4914 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4915 # <limits.h> exists even on freestanding compilers.
4916 # On the NeXT, cc -E runs the code through the compiler's parser,
4917 # not just through cpp. "Syntax error" is here to catch this case.
4918 cat >conftest.$ac_ext <<_ACEOF
4919 #line $LINENO "configure"
4922 cat confdefs.h >>conftest.$ac_ext
4923 cat >>conftest.$ac_ext <<_ACEOF
4924 /* end confdefs.h. */
4926 # include <limits.h>
4928 # include <assert.h>
4932 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4933 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4935 grep -v '^ *+' conftest.er1 >conftest.err
4937 cat conftest.err >&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); } >/dev/null; then
4940 if test -s conftest.err; then
4941 ac_cpp_err=$ac_cxx_preproc_warn_flag
4948 if test -z "$ac_cpp_err"; then
4951 echo "$as_me: failed program was:" >&5
4952 sed 's/^/| /' conftest.$ac_ext >&5
4954 # Broken: fails on valid input.
4957 rm -f conftest.err conftest.$ac_ext
4959 # OK, works on sane cases. Now check whether non-existent headers
4960 # can be detected and how.
4961 cat >conftest.$ac_ext <<_ACEOF
4962 #line $LINENO "configure"
4965 cat confdefs.h >>conftest.$ac_ext
4966 cat >>conftest.$ac_ext <<_ACEOF
4967 /* end confdefs.h. */
4968 #include <ac_nonexistent.h>
4970 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4971 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4973 grep -v '^ *+' conftest.er1 >conftest.err
4975 cat conftest.err >&5
4976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4977 (exit $ac_status); } >/dev/null; then
4978 if test -s conftest.err; then
4979 ac_cpp_err=$ac_cxx_preproc_warn_flag
4986 if test -z "$ac_cpp_err"; then
4987 # Broken: success on invalid input.
4990 echo "$as_me: failed program was:" >&5
4991 sed 's/^/| /' conftest.$ac_ext >&5
4993 # Passes both tests.
4997 rm -f conftest.err conftest.$ac_ext
5000 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5001 rm -f conftest.err conftest.$ac_ext
5002 if $ac_preproc_ok; then
5007 ac_cv_prog_CXXCPP=$CXXCPP
5010 CXXCPP=$ac_cv_prog_CXXCPP
5012 ac_cv_prog_CXXCPP=$CXXCPP
5014 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5015 echo "${ECHO_T}$CXXCPP" >&6
5017 for ac_cxx_preproc_warn_flag in '' yes
5019 # Use a header file that comes with gcc, so configuring glibc
5020 # with a fresh cross-compiler works.
5021 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5022 # <limits.h> exists even on freestanding compilers.
5023 # On the NeXT, cc -E runs the code through the compiler's parser,
5024 # not just through cpp. "Syntax error" is here to catch this case.
5025 cat >conftest.$ac_ext <<_ACEOF
5026 #line $LINENO "configure"
5029 cat confdefs.h >>conftest.$ac_ext
5030 cat >>conftest.$ac_ext <<_ACEOF
5031 /* end confdefs.h. */
5033 # include <limits.h>
5035 # include <assert.h>
5039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5040 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5042 grep -v '^ *+' conftest.er1 >conftest.err
5044 cat conftest.err >&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); } >/dev/null; then
5047 if test -s conftest.err; then
5048 ac_cpp_err=$ac_cxx_preproc_warn_flag
5055 if test -z "$ac_cpp_err"; then
5058 echo "$as_me: failed program was:" >&5
5059 sed 's/^/| /' conftest.$ac_ext >&5
5061 # Broken: fails on valid input.
5064 rm -f conftest.err conftest.$ac_ext
5066 # OK, works on sane cases. Now check whether non-existent headers
5067 # can be detected and how.
5068 cat >conftest.$ac_ext <<_ACEOF
5069 #line $LINENO "configure"
5072 cat confdefs.h >>conftest.$ac_ext
5073 cat >>conftest.$ac_ext <<_ACEOF
5074 /* end confdefs.h. */
5075 #include <ac_nonexistent.h>
5077 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5078 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5080 grep -v '^ *+' conftest.er1 >conftest.err
5082 cat conftest.err >&5
5083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5084 (exit $ac_status); } >/dev/null; then
5085 if test -s conftest.err; then
5086 ac_cpp_err=$ac_cxx_preproc_warn_flag
5093 if test -z "$ac_cpp_err"; then
5094 # Broken: success on invalid input.
5097 echo "$as_me: failed program was:" >&5
5098 sed 's/^/| /' conftest.$ac_ext >&5
5100 # Passes both tests.
5104 rm -f conftest.err conftest.$ac_ext
5107 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5108 rm -f conftest.err conftest.$ac_ext
5109 if $ac_preproc_ok; then
5112 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5113 See \`config.log' for more details." >&5
5114 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5115 See \`config.log' for more details." >&2;}
5116 { (exit 1); exit 1; }; }
5120 ac_cpp='$CXXCPP $CPPFLAGS'
5121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5127 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5128 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5129 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5130 if test -n "$ac_tool_prefix"; then
5131 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5133 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5134 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5135 echo "$as_me:$LINENO: checking for $ac_word" >&5
5136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5137 if test "${ac_cv_prog_F77+set}" = set; then
5138 echo $ECHO_N "(cached) $ECHO_C" >&6
5140 if test -n "$F77"; then
5141 ac_cv_prog_F77="$F77" # Let the user override the test.
5143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5147 test -z "$as_dir" && as_dir=.
5148 for ac_exec_ext in '' $ac_executable_extensions; do
5149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5150 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 if test -n "$F77"; then
5161 echo "$as_me:$LINENO: result: $F77" >&5
5162 echo "${ECHO_T}$F77" >&6
5164 echo "$as_me:$LINENO: result: no" >&5
5165 echo "${ECHO_T}no" >&6
5168 test -n "$F77" && break
5171 if test -z "$F77"; then
5173 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5175 # Extract the first word of "$ac_prog", so it can be a program name with args.
5176 set dummy $ac_prog; ac_word=$2
5177 echo "$as_me:$LINENO: checking for $ac_word" >&5
5178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5179 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5180 echo $ECHO_N "(cached) $ECHO_C" >&6
5182 if test -n "$ac_ct_F77"; then
5183 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5189 test -z "$as_dir" && as_dir=.
5190 for ac_exec_ext in '' $ac_executable_extensions; do
5191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5192 ac_cv_prog_ac_ct_F77="$ac_prog"
5193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5201 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5202 if test -n "$ac_ct_F77"; then
5203 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5204 echo "${ECHO_T}$ac_ct_F77" >&6
5206 echo "$as_me:$LINENO: result: no" >&5
5207 echo "${ECHO_T}no" >&6
5210 test -n "$ac_ct_F77" && break
5217 # Provide some information about the compiler.
5218 echo "$as_me:5218:" \
5219 "checking for Fortran 77 compiler version" >&5
5220 ac_compiler=`set X $ac_compile; echo $2`
5221 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5222 (eval $ac_compiler --version </dev/null >&5) 2>&5
5224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 (exit $ac_status); }
5226 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5227 (eval $ac_compiler -v </dev/null >&5) 2>&5
5229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5230 (exit $ac_status); }
5231 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5232 (eval $ac_compiler -V </dev/null >&5) 2>&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); }
5237 # If we don't use `.F' as extension, the preprocessor is not run on the
5241 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5242 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5243 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 cat >conftest.$ac_ext <<_ACEOF
5254 rm -f conftest.$ac_objext
5255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5256 (eval $ac_compile) 2>&5
5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5259 (exit $ac_status); } &&
5260 { ac_try='test -s conftest.$ac_objext'
5261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5265 (exit $ac_status); }; }; then
5268 echo "$as_me: failed program was:" >&5
5269 sed 's/^/| /' conftest.$ac_ext >&5
5273 rm -f conftest.$ac_objext conftest.$ac_ext
5274 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5277 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5278 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5280 G77=`test $ac_compiler_gnu = yes && echo yes`
5281 ac_test_FFLAGS=${FFLAGS+set}
5282 ac_save_FFLAGS=$FFLAGS
5284 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5285 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5286 if test "${ac_cv_prog_f77_g+set}" = set; then
5287 echo $ECHO_N "(cached) $ECHO_C" >&6
5290 cat >conftest.$ac_ext <<_ACEOF
5295 rm -f conftest.$ac_objext
5296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5297 (eval $ac_compile) 2>&5
5299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5300 (exit $ac_status); } &&
5301 { ac_try='test -s conftest.$ac_objext'
5302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); }; }; then
5307 ac_cv_prog_f77_g=yes
5309 echo "$as_me: failed program was:" >&5
5310 sed 's/^/| /' conftest.$ac_ext >&5
5314 rm -f conftest.$ac_objext conftest.$ac_ext
5317 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5318 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5319 if test "$ac_test_FFLAGS" = set; then
5320 FFLAGS=$ac_save_FFLAGS
5321 elif test $ac_cv_prog_f77_g = yes; then
5322 if test "$G77" = yes; then
5328 if test "$G77" = yes; then
5335 ac_cpp='$CPP $CPPFLAGS'
5336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5342 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5344 # find the maximum length of command line arguments
5345 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5346 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5347 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5348 echo $ECHO_N "(cached) $ECHO_C" >&6
5355 # On DJGPP, this test can blow up pretty badly due to problems in libc
5356 # (any single argument exceeding 2000 bytes causes a buffer overrun
5357 # during glob expansion). Even if it were fixed, the result of this
5358 # check would be larger than it should be.
5359 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5363 # Under GNU Hurd, this test is not required because there is
5364 # no limit to the length of command line arguments.
5365 # Libtool will interpret -1 as no limit whatsoever
5366 lt_cv_sys_max_cmd_len=-1;
5370 # On Win9x/ME, this test blows up -- it succeeds, but takes
5371 # about 5 minutes as the teststring grows exponentially.
5372 # Worse, since 9x/ME are not pre-emptively multitasking,
5373 # you end up with a "frozen" computer, even though with patience
5374 # the test eventually succeeds (with a max line length of 256k).
5375 # Instead, let's just punt: use the minimum linelength reported by
5376 # all of the supported platforms: 8192 (on NT/2K/XP).
5377 lt_cv_sys_max_cmd_len=8192;
5381 # If test is not a shell built-in, we'll probably end up computing a
5382 # maximum length that is only half of the actual maximum length, but
5384 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5385 = "XX$testring") >/dev/null 2>&1 &&
5386 new_result=`expr "X$testring" : ".*" 2>&1` &&
5387 lt_cv_sys_max_cmd_len=$new_result &&
5388 test $i != 17 # 1/2 MB should be enough
5391 testring=$testring$testring
5394 # Add a significant safety factor because C++ compilers can tack on massive
5395 # amounts of additional arguments before passing them to the linker.
5396 # It appears as though 1/2 is a usable value.
5397 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5403 if test -n $lt_cv_sys_max_cmd_len ; then
5404 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5405 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5407 echo "$as_me:$LINENO: result: none" >&5
5408 echo "${ECHO_T}none" >&6
5414 # Check for command to grab the raw symbol name followed by C symbol from nm.
5415 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5416 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5417 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5421 # These are sane defaults that work on at least a few old systems.
5422 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5424 # Character class describing NM global symbol codes.
5425 symcode='[BCDEGRST]'
5427 # Regexp to match symbols that can be accessed directly from C.
5428 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5430 # Transform the above into a raw symbol and a C symbol.
5431 symxfrm='\1 \2\3 \3'
5433 # Transform an extracted symbol line into a proper C declaration
5434 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5436 # Transform an extracted symbol line into symbol name and symbol address
5437 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'"
5439 # Define system-specific variables.
5444 cygwin* | mingw* | pw32*)
5445 symcode='[ABCDGISTW]'
5447 hpux*) # Its linker distinguishes data from code symbols
5448 if test "$host_cpu" = ia64; then
5449 symcode='[ABCDEGRST]'
5451 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5452 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'"
5455 symcode='[BCDEGRST]'
5458 symcode='[BCDEGQRST]'
5468 # Handle CRLF in mingw tool chain
5472 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5476 # If we're using GNU nm, then use its standard symbol codes.
5477 case `$NM -V 2>&1` in
5478 *GNU* | *'with BFD'*)
5479 symcode='[ABCDGISTW]' ;;
5482 # Try without a prefix undercore, then with it.
5483 for ac_symprfx in "" "_"; do
5485 # Write the raw and C identifiers.
5486 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5488 # Check to see that the pipe works correctly.
5492 cat > conftest.$ac_ext <<EOF
5497 void nm_test_func(){}
5501 int main(){nm_test_var='a';nm_test_func();return(0);}
5504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5505 (eval $ac_compile) 2>&5
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508 (exit $ac_status); }; then
5509 # Now try to grab the symbols.
5511 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5512 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); } && test -s "$nlist"; then
5516 # Try sorting and uniquifying the output.
5517 if sort "$nlist" | uniq > "$nlist"T; then
5518 mv -f "$nlist"T "$nlist"
5523 # Make sure that we snagged all the symbols we need.
5524 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5525 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5526 cat <<EOF > conftest.$ac_ext
5532 # Now generate the symbol file.
5533 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5535 cat <<EOF >> conftest.$ac_ext
5536 #if defined (__STDC__) && __STDC__
5537 # define lt_ptr_t void *
5539 # define lt_ptr_t char *
5543 /* The mapping between symbol names and symbols. */
5548 lt_preloaded_symbols[] =
5551 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5552 cat <<\EOF >> conftest.$ac_ext
5560 # Now try linking the two files.
5561 mv conftest.$ac_objext conftstm.$ac_objext
5562 lt_save_LIBS="$LIBS"
5563 lt_save_CFLAGS="$CFLAGS"
5564 LIBS="conftstm.$ac_objext"
5565 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5567 (eval $ac_link) 2>&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5573 LIBS="$lt_save_LIBS"
5574 CFLAGS="$lt_save_CFLAGS"
5576 echo "cannot find nm_test_func in $nlist" >&5
5579 echo "cannot find nm_test_var in $nlist" >&5
5582 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5585 echo "$progname: failed program was:" >&5
5586 cat conftest.$ac_ext >&5
5588 rm -f conftest* conftst*
5590 # Do not use the global_symbol_pipe unless it works.
5591 if test "$pipe_works" = yes; then
5594 lt_cv_sys_global_symbol_pipe=
5600 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5601 lt_cv_sys_global_symbol_to_cdecl=
5603 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5604 echo "$as_me:$LINENO: result: failed" >&5
5605 echo "${ECHO_T}failed" >&6
5607 echo "$as_me:$LINENO: result: ok" >&5
5608 echo "${ECHO_T}ok" >&6
5611 echo "$as_me:$LINENO: checking for objdir" >&5
5612 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5613 if test "${lt_cv_objdir+set}" = set; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5616 rm -f .libs 2>/dev/null
5617 mkdir .libs 2>/dev/null
5618 if test -d .libs; then
5621 # MS-DOS does not allow filenames that begin with a dot.
5624 rmdir .libs 2>/dev/null
5626 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5627 echo "${ECHO_T}$lt_cv_objdir" >&6
5628 objdir=$lt_cv_objdir
5636 # AIX sometimes has problems with the GCC collect2 program. For some
5637 # reason, if we set the COLLECT_NAMES environment variable, the problems
5638 # vanish in a puff of smoke.
5639 if test "X${COLLECT_NAMES+set}" != Xset; then
5641 export COLLECT_NAMES
5646 # Sed substitution that helps us do robust quoting. It backslashifies
5647 # metacharacters that are still active within double-quoted strings.
5648 Xsed='sed -e s/^X//'
5649 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5651 # Same as above, but do not quote variable references.
5652 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5654 # Sed substitution to delay expansion of an escaped shell variable in a
5655 # double_quote_subst'ed string.
5656 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5658 # Sed substitution to avoid accidental globbing in evaled expressions
5659 no_glob_subst='s/\*/\\\*/g'
5666 can_build_shared=yes
5668 # All known linkers require a `.a' archive for static linking (except M$VC,
5669 # which needs '.lib').
5671 ltmain="$ac_aux_dir/ltmain.sh"
5672 ofile="$default_ofile"
5673 with_gnu_ld="$lt_cv_prog_gnu_ld"
5675 if test -n "$ac_tool_prefix"; then
5676 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5677 set dummy ${ac_tool_prefix}ar; ac_word=$2
5678 echo "$as_me:$LINENO: checking for $ac_word" >&5
5679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5680 if test "${ac_cv_prog_AR+set}" = set; then
5681 echo $ECHO_N "(cached) $ECHO_C" >&6
5683 if test -n "$AR"; then
5684 ac_cv_prog_AR="$AR" # Let the user override the test.
5686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 test -z "$as_dir" && as_dir=.
5691 for ac_exec_ext in '' $ac_executable_extensions; do
5692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5693 ac_cv_prog_AR="${ac_tool_prefix}ar"
5694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5703 if test -n "$AR"; then
5704 echo "$as_me:$LINENO: result: $AR" >&5
5705 echo "${ECHO_T}$AR" >&6
5707 echo "$as_me:$LINENO: result: no" >&5
5708 echo "${ECHO_T}no" >&6
5712 if test -z "$ac_cv_prog_AR"; then
5714 # Extract the first word of "ar", so it can be a program name with args.
5715 set dummy ar; ac_word=$2
5716 echo "$as_me:$LINENO: checking for $ac_word" >&5
5717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5718 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5719 echo $ECHO_N "(cached) $ECHO_C" >&6
5721 if test -n "$ac_ct_AR"; then
5722 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728 test -z "$as_dir" && as_dir=.
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_ac_ct_AR="ar"
5732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5738 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5741 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5742 if test -n "$ac_ct_AR"; then
5743 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5744 echo "${ECHO_T}$ac_ct_AR" >&6
5746 echo "$as_me:$LINENO: result: no" >&5
5747 echo "${ECHO_T}no" >&6
5755 if test -n "$ac_tool_prefix"; then
5756 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5757 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5758 echo "$as_me:$LINENO: checking for $ac_word" >&5
5759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5760 if test "${ac_cv_prog_RANLIB+set}" = set; then
5761 echo $ECHO_N "(cached) $ECHO_C" >&6
5763 if test -n "$RANLIB"; then
5764 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5770 test -z "$as_dir" && as_dir=.
5771 for ac_exec_ext in '' $ac_executable_extensions; do
5772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5773 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 RANLIB=$ac_cv_prog_RANLIB
5783 if test -n "$RANLIB"; then
5784 echo "$as_me:$LINENO: result: $RANLIB" >&5
5785 echo "${ECHO_T}$RANLIB" >&6
5787 echo "$as_me:$LINENO: result: no" >&5
5788 echo "${ECHO_T}no" >&6
5792 if test -z "$ac_cv_prog_RANLIB"; then
5793 ac_ct_RANLIB=$RANLIB
5794 # Extract the first word of "ranlib", so it can be a program name with args.
5795 set dummy ranlib; ac_word=$2
5796 echo "$as_me:$LINENO: checking for $ac_word" >&5
5797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5798 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5799 echo $ECHO_N "(cached) $ECHO_C" >&6
5801 if test -n "$ac_ct_RANLIB"; then
5802 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5808 test -z "$as_dir" && as_dir=.
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5811 ac_cv_prog_ac_ct_RANLIB="ranlib"
5812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5818 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5821 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5822 if test -n "$ac_ct_RANLIB"; then
5823 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5824 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5826 echo "$as_me:$LINENO: result: no" >&5
5827 echo "${ECHO_T}no" >&6
5830 RANLIB=$ac_ct_RANLIB
5832 RANLIB="$ac_cv_prog_RANLIB"
5835 if test -n "$ac_tool_prefix"; then
5836 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5837 set dummy ${ac_tool_prefix}strip; ac_word=$2
5838 echo "$as_me:$LINENO: checking for $ac_word" >&5
5839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5840 if test "${ac_cv_prog_STRIP+set}" = set; then
5841 echo $ECHO_N "(cached) $ECHO_C" >&6
5843 if test -n "$STRIP"; then
5844 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5850 test -z "$as_dir" && as_dir=.
5851 for ac_exec_ext in '' $ac_executable_extensions; do
5852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5853 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5862 STRIP=$ac_cv_prog_STRIP
5863 if test -n "$STRIP"; then
5864 echo "$as_me:$LINENO: result: $STRIP" >&5
5865 echo "${ECHO_T}$STRIP" >&6
5867 echo "$as_me:$LINENO: result: no" >&5
5868 echo "${ECHO_T}no" >&6
5872 if test -z "$ac_cv_prog_STRIP"; then
5874 # Extract the first word of "strip", so it can be a program name with args.
5875 set dummy strip; ac_word=$2
5876 echo "$as_me:$LINENO: checking for $ac_word" >&5
5877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5878 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5879 echo $ECHO_N "(cached) $ECHO_C" >&6
5881 if test -n "$ac_ct_STRIP"; then
5882 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5888 test -z "$as_dir" && as_dir=.
5889 for ac_exec_ext in '' $ac_executable_extensions; do
5890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5891 ac_cv_prog_ac_ct_STRIP="strip"
5892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5898 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5901 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5902 if test -n "$ac_ct_STRIP"; then
5903 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5904 echo "${ECHO_T}$ac_ct_STRIP" >&6
5906 echo "$as_me:$LINENO: result: no" >&5
5907 echo "${ECHO_T}no" >&6
5912 STRIP="$ac_cv_prog_STRIP"
5917 old_CFLAGS="$CFLAGS"
5919 # Set sane defaults for various variables
5920 test -z "$AR" && AR=ar
5921 test -z "$AR_FLAGS" && AR_FLAGS=cru
5922 test -z "$AS" && AS=as
5923 test -z "$CC" && CC=cc
5924 test -z "$LTCC" && LTCC=$CC
5925 test -z "$DLLTOOL" && DLLTOOL=dlltool
5926 test -z "$LD" && LD=ld
5927 test -z "$LN_S" && LN_S="ln -s"
5928 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5929 test -z "$NM" && NM=nm
5930 test -z "$SED" && SED=sed
5931 test -z "$OBJDUMP" && OBJDUMP=objdump
5932 test -z "$RANLIB" && RANLIB=:
5933 test -z "$STRIP" && STRIP=:
5934 test -z "$ac_objext" && ac_objext=o
5936 # Determine commands to create old-style static archives.
5937 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5938 old_postinstall_cmds='chmod 644 $oldlib'
5939 old_postuninstall_cmds=
5941 if test -n "$RANLIB"; then
5944 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5947 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5950 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5953 # Only perform the check for file, if the check method requires it
5954 case $deplibs_check_method in
5956 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5957 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5958 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5959 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5960 echo $ECHO_N "(cached) $ECHO_C" >&6
5964 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5967 lt_save_MAGIC_CMD="$MAGIC_CMD"
5968 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5969 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5970 for ac_dir in $ac_dummy; do
5972 test -z "$ac_dir" && ac_dir=.
5973 if test -f $ac_dir/${ac_tool_prefix}file; then
5974 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5975 if test -n "$file_magic_test_file"; then
5976 case $deplibs_check_method in
5978 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5979 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5980 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5981 $EGREP "$file_magic_regex" > /dev/null; then
5986 *** Warning: the command libtool uses to detect shared libraries,
5987 *** $file_magic_cmd, produces output that libtool cannot recognize.
5988 *** The result is that libtool may fail to recognize shared libraries
5989 *** as such. This will affect the creation of libtool libraries that
5990 *** depend on shared libraries, but programs linked with such libtool
5991 *** libraries will work regardless of this problem. Nevertheless, you
5992 *** may want to report the problem to your system manager and/or to
5993 *** bug-libtool@gnu.org
6003 MAGIC_CMD="$lt_save_MAGIC_CMD"
6008 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6009 if test -n "$MAGIC_CMD"; then
6010 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6011 echo "${ECHO_T}$MAGIC_CMD" >&6
6013 echo "$as_me:$LINENO: result: no" >&5
6014 echo "${ECHO_T}no" >&6
6017 if test -z "$lt_cv_path_MAGIC_CMD"; then
6018 if test -n "$ac_tool_prefix"; then
6019 echo "$as_me:$LINENO: checking for file" >&5
6020 echo $ECHO_N "checking for file... $ECHO_C" >&6
6021 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6022 echo $ECHO_N "(cached) $ECHO_C" >&6
6026 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6029 lt_save_MAGIC_CMD="$MAGIC_CMD"
6030 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6031 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6032 for ac_dir in $ac_dummy; do
6034 test -z "$ac_dir" && ac_dir=.
6035 if test -f $ac_dir/file; then
6036 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6037 if test -n "$file_magic_test_file"; then
6038 case $deplibs_check_method in
6040 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6041 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6042 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6043 $EGREP "$file_magic_regex" > /dev/null; then
6048 *** Warning: the command libtool uses to detect shared libraries,
6049 *** $file_magic_cmd, produces output that libtool cannot recognize.
6050 *** The result is that libtool may fail to recognize shared libraries
6051 *** as such. This will affect the creation of libtool libraries that
6052 *** depend on shared libraries, but programs linked with such libtool
6053 *** libraries will work regardless of this problem. Nevertheless, you
6054 *** may want to report the problem to your system manager and/or to
6055 *** bug-libtool@gnu.org
6065 MAGIC_CMD="$lt_save_MAGIC_CMD"
6070 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6071 if test -n "$MAGIC_CMD"; then
6072 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6073 echo "${ECHO_T}$MAGIC_CMD" >&6
6075 echo "$as_me:$LINENO: result: no" >&5
6076 echo "${ECHO_T}no" >&6
6091 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6092 if test "${enable_libtool_lock+set}" = set; then
6093 enableval="$enable_libtool_lock"
6096 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6099 # Check whether --with-pic or --without-pic was given.
6100 if test "${with_pic+set}" = set; then
6106 test -z "$pic_mode" && pic_mode=default
6108 # Use C for the default configuration in the libtool script
6112 ac_cpp='$CPP $CPPFLAGS'
6113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6118 # Source file extension for C test sources.
6121 # Object file extension for compiled C test sources.
6125 # Code to be used in simple compile tests
6126 lt_simple_compile_test_code="int some_variable = 0;\n"
6128 # Code to be used in simple link tests
6129 lt_simple_link_test_code='int main(){return(0);}\n'
6132 # If no C compiler was specified, use CC.
6135 # Allow CC to be a program name with arguments.
6140 # Check for any special shared library compilation flags.
6143 if test "$GCC" = no; then
6146 lt_prog_cc_shlib='-belf'
6150 if test -n "$lt_prog_cc_shlib"; then
6151 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6152 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6153 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6155 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6156 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6157 lt_cv_prog_cc_can_build_shared=no
6163 # Check to make sure the static flag actually works.
6165 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6166 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6167 if test "${lt_prog_compiler_static_works+set}" = set; then
6168 echo $ECHO_N "(cached) $ECHO_C" >&6
6170 lt_prog_compiler_static_works=no
6171 save_LDFLAGS="$LDFLAGS"
6172 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6173 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6174 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6175 # The compiler can only warn and ignore the option if not recognized
6176 # So say no if there are warnings
6177 if test -s conftest.err; then
6178 # Append any errors to the config.log.
6179 cat conftest.err 1>&5
6181 lt_prog_compiler_static_works=yes
6185 LDFLAGS="$save_LDFLAGS"
6188 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6189 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6191 if test x"$lt_prog_compiler_static_works" = xyes; then
6194 lt_prog_compiler_static=
6200 ## There is no encapsulation within the following macros, do not change
6201 ## the running order or otherwise move them around unless you know exactly
6202 ## what you are doing...
6204 lt_prog_compiler_no_builtin_flag=
6206 if test "$GCC" = yes; then
6207 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6209 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6210 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6211 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6212 echo $ECHO_N "(cached) $ECHO_C" >&6
6214 lt_cv_prog_compiler_rtti_exceptions=no
6215 ac_outfile=conftest.$ac_objext
6216 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6217 lt_compiler_flag="-fno-rtti -fno-exceptions"
6218 # Insert the option either (1) after the last *FLAGS variable, or
6219 # (2) before a word containing "conftest.", or (3) at the end.
6220 # Note that $ac_compile itself does not contain backslashes and begins
6221 # with a dollar sign (not a hyphen), so the echo should work correctly.
6222 # The option is referenced via a variable to avoid confusing sed.
6223 lt_compile=`echo "$ac_compile" | $SED \
6224 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6225 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6226 -e 's:$: $lt_compiler_flag:'`
6227 (eval echo "\"\$as_me:6227: $lt_compile\"" >&5)
6228 (eval "$lt_compile" 2>conftest.err)
6230 cat conftest.err >&5
6231 echo "$as_me:6231: \$? = $ac_status" >&5
6232 if (exit $ac_status) && test -s "$ac_outfile"; then
6233 # The compiler can only warn and ignore the option if not recognized
6234 # So say no if there are warnings
6235 if test ! -s conftest.err; then
6236 lt_cv_prog_compiler_rtti_exceptions=yes
6242 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6243 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6245 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6246 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6253 lt_prog_compiler_wl=
6254 lt_prog_compiler_pic=
6255 lt_prog_compiler_static=
6257 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6258 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6260 if test "$GCC" = yes; then
6261 lt_prog_compiler_wl='-Wl,'
6262 lt_prog_compiler_static='-static'
6266 # All AIX code is PIC.
6267 if test "$host_cpu" = ia64; then
6268 # AIX 5 now supports IA64 processor
6269 lt_prog_compiler_static='-Bstatic'
6274 # FIXME: we need at least 68020 code to build shared libraries, but
6275 # adding the `-m68020' flag to GCC prevents building anything better,
6277 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6280 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6281 # PIC is the default for these OSes.
6284 mingw* | pw32* | os2*)
6285 # This hack is so that the source file can tell whether it is being
6286 # built for inclusion in a dll (and should export symbols for example).
6287 lt_prog_compiler_pic='-DDLL_EXPORT'
6290 darwin* | rhapsody*)
6291 # PIC is the default on this platform
6292 # Common symbols not allowed in MH_DYLIB files
6293 lt_prog_compiler_pic='-fno-common'
6297 # Just because we use GCC doesn't mean we suddenly get shared libraries
6298 # on systems that don't support them.
6299 lt_prog_compiler_can_build_shared=no
6304 if test -d /usr/nec; then
6305 lt_prog_compiler_pic=-Kconform_pic
6310 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6317 lt_prog_compiler_pic='-fPIC'
6323 lt_prog_compiler_pic='-fPIC'
6327 # PORTME Check for flag to pass linker flags through the system compiler.
6330 lt_prog_compiler_wl='-Wl,'
6331 if test "$host_cpu" = ia64; then
6332 # AIX 5 now supports IA64 processor
6333 lt_prog_compiler_static='-Bstatic'
6335 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6339 mingw* | pw32* | os2*)
6340 # This hack is so that the source file can tell whether it is being
6341 # built for inclusion in a dll (and should export symbols for example).
6342 lt_prog_compiler_pic='-DDLL_EXPORT'
6345 hpux9* | hpux10* | hpux11*)
6346 lt_prog_compiler_wl='-Wl,'
6347 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6354 lt_prog_compiler_pic='+Z'
6357 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6358 lt_prog_compiler_static='${wl}-a ${wl}archive'
6361 irix5* | irix6* | nonstopux*)
6362 lt_prog_compiler_wl='-Wl,'
6363 # PIC (with -KPIC) is the default.
6364 lt_prog_compiler_static='-non_shared'
6368 lt_prog_compiler_pic='-KPIC'
6369 lt_prog_compiler_static='-Bstatic'
6375 lt_prog_compiler_wl='-Wl,'
6376 lt_prog_compiler_pic='-KPIC'
6377 lt_prog_compiler_static='-static'
6380 lt_prog_compiler_wl='-Wl,'
6381 # All Alpha code is PIC.
6382 lt_prog_compiler_static='-non_shared'
6387 osf3* | osf4* | osf5*)
6388 lt_prog_compiler_wl='-Wl,'
6389 # All OSF/1 code is PIC.
6390 lt_prog_compiler_static='-non_shared'
6394 lt_prog_compiler_pic='-Kpic'
6395 lt_prog_compiler_static='-dn'
6399 lt_prog_compiler_wl='-Wl,'
6400 lt_prog_compiler_pic='-KPIC'
6401 lt_prog_compiler_static='-Bstatic'
6405 lt_prog_compiler_wl='-Qoption ld '
6406 lt_prog_compiler_pic='-PIC'
6407 lt_prog_compiler_static='-Bstatic'
6410 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6411 lt_prog_compiler_wl='-Wl,'
6412 lt_prog_compiler_pic='-KPIC'
6413 lt_prog_compiler_static='-Bstatic'
6417 if test -d /usr/nec ;then
6418 lt_prog_compiler_pic='-Kconform_pic'
6419 lt_prog_compiler_static='-Bstatic'
6424 lt_prog_compiler_pic='-pic'
6425 lt_prog_compiler_static='-Bstatic'
6429 lt_prog_compiler_can_build_shared=no
6434 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6435 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6438 # Check to make sure the PIC flag actually works.
6440 if test -n "$lt_prog_compiler_pic"; then
6441 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6442 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6443 if test "${lt_prog_compiler_pic_works+set}" = set; then
6444 echo $ECHO_N "(cached) $ECHO_C" >&6
6446 lt_prog_compiler_pic_works=no
6447 ac_outfile=conftest.$ac_objext
6448 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6449 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6450 # Insert the option either (1) after the last *FLAGS variable, or
6451 # (2) before a word containing "conftest.", or (3) at the end.
6452 # Note that $ac_compile itself does not contain backslashes and begins
6453 # with a dollar sign (not a hyphen), so the echo should work correctly.
6454 # The option is referenced via a variable to avoid confusing sed.
6455 lt_compile=`echo "$ac_compile" | $SED \
6456 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6457 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6458 -e 's:$: $lt_compiler_flag:'`
6459 (eval echo "\"\$as_me:6459: $lt_compile\"" >&5)
6460 (eval "$lt_compile" 2>conftest.err)
6462 cat conftest.err >&5
6463 echo "$as_me:6463: \$? = $ac_status" >&5
6464 if (exit $ac_status) && test -s "$ac_outfile"; then
6465 # The compiler can only warn and ignore the option if not recognized
6466 # So say no if there are warnings
6467 if test ! -s conftest.err; then
6468 lt_prog_compiler_pic_works=yes
6474 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6475 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6477 if test x"$lt_prog_compiler_pic_works" = xyes; then
6478 case $lt_prog_compiler_pic in
6480 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6483 lt_prog_compiler_pic=
6484 lt_prog_compiler_can_build_shared=no
6489 # For platforms which do not support PIC, -DPIC is meaningless:
6491 lt_prog_compiler_pic=
6494 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6498 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6499 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6500 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6501 echo $ECHO_N "(cached) $ECHO_C" >&6
6503 lt_cv_prog_compiler_c_o=no
6504 $rm -r conftest 2>/dev/null
6508 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6510 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6511 # that will create temporary files in the current directory regardless of
6512 # the output directory. Thus, making CWD read-only will cause this test
6513 # to fail, enabling locking or at least warning the user not to do parallel
6517 lt_compiler_flag="-o out/conftest2.$ac_objext"
6518 # Insert the option either (1) after the last *FLAGS variable, or
6519 # (2) before a word containing "conftest.", or (3) at the end.
6520 # Note that $ac_compile itself does not contain backslashes and begins
6521 # with a dollar sign (not a hyphen), so the echo should work correctly.
6522 lt_compile=`echo "$ac_compile" | $SED \
6523 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6524 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6525 -e 's:$: $lt_compiler_flag:'`
6526 (eval echo "\"\$as_me:6526: $lt_compile\"" >&5)
6527 (eval "$lt_compile" 2>out/conftest.err)
6529 cat out/conftest.err >&5
6530 echo "$as_me:6530: \$? = $ac_status" >&5
6531 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6533 # The compiler can only warn and ignore the option if not recognized
6534 # So say no if there are warnings
6535 if test ! -s out/conftest.err; then
6536 lt_cv_prog_compiler_c_o=yes
6547 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6548 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6551 hard_links="nottested"
6552 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6553 # do not overwrite the value of need_locks provided by the user
6554 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6555 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6558 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6560 ln conftest.a conftest.b 2>&5 || hard_links=no
6561 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6562 echo "$as_me:$LINENO: result: $hard_links" >&5
6563 echo "${ECHO_T}$hard_links" >&6
6564 if test "$hard_links" = no; then
6565 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6566 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6573 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6574 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6577 allow_undefined_flag=
6578 enable_shared_with_static_runtimes=no
6580 archive_expsym_cmds=
6581 old_archive_From_new_cmds=
6582 old_archive_from_expsyms_cmds=
6583 export_dynamic_flag_spec=
6584 whole_archive_flag_spec=
6585 thread_safe_flag_spec=
6586 hardcode_libdir_flag_spec=
6587 hardcode_libdir_flag_spec_ld=
6588 hardcode_libdir_separator=
6591 hardcode_shlibpath_var=unsupported
6592 link_all_deplibs=unknown
6593 hardcode_automatic=no
6596 always_export_symbols=no
6597 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6598 # include_expsyms should be a list of space-separated symbols to be *always*
6599 # included in the symbol list
6601 # exclude_expsyms can be an extended regexp of symbols to exclude
6602 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6603 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6604 # as well as any symbol that contains `d'.
6605 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6606 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6607 # platforms (ab)use it in PIC code, but their linkers get confused if
6608 # the symbol is explicitly referenced. Since portable code cannot
6609 # rely on this symbol name, it's probably fine to never include it in
6610 # preloaded symbol tables.
6611 extract_expsyms_cmds=
6614 cygwin* | mingw* | pw32*)
6615 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6616 # When not using gcc, we currently assume that we are using
6617 # Microsoft Visual C++.
6618 if test "$GCC" != yes; then
6628 if test "$with_gnu_ld" = yes; then
6629 # If archive_cmds runs LD, not CC, wlarc should be empty
6632 # See if GNU ld supports shared libraries.
6634 aix3* | aix4* | aix5*)
6635 # On AIX/PPC, the GNU linker is very broken
6636 if test "$host_cpu" != ia64; then
6640 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6641 *** to be unable to reliably create shared libraries on AIX.
6642 *** Therefore, libtool is disabling shared libraries support. If you
6643 *** really care for shared libraries, you may want to modify your PATH
6644 *** so that a non-GNU linker is found, and then restart.
6651 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)'
6652 hardcode_libdir_flag_spec='-L$libdir'
6653 hardcode_minus_L=yes
6655 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6656 # that the semantics of dynamic libraries on AmigaOS, at least up
6657 # to version 4, is to share data among multiple programs linked
6658 # with the same dynamic library. Since this doesn't match the
6659 # behavior of shared libraries on other platforms, we can't use
6665 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6666 allow_undefined_flag=unsupported
6667 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6668 # support --undefined. This deserves some investigation. FIXME
6669 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6675 cygwin* | mingw* | pw32*)
6676 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6677 # as there is no search path for DLLs.
6678 hardcode_libdir_flag_spec='-L$libdir'
6679 allow_undefined_flag=unsupported
6680 always_export_symbols=no
6681 enable_shared_with_static_runtimes=yes
6682 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6684 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6685 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6686 # If the export-symbols file already is a .def file (1st line
6687 # is EXPORTS), use it as is; otherwise, prepend...
6688 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6689 cp $export_symbols $output_objdir/$soname.def;
6691 echo EXPORTS > $output_objdir/$soname.def;
6692 cat $export_symbols >> $output_objdir/$soname.def;
6694 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6701 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6702 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6705 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6706 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6711 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6715 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6716 *** create shared libraries on Solaris systems. Therefore, libtool
6717 *** is disabling shared libraries support. We urge you to upgrade GNU
6718 *** binutils to release 2.9.1 or newer. Another option is to modify
6719 *** your PATH or compiler configuration so that the native linker is
6720 *** used, and then restart.
6723 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6724 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6725 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6732 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6735 hardcode_shlibpath_var=no
6739 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6740 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6741 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6748 if test "$ld_shlibs" = yes; then
6749 runpath_var=LD_RUN_PATH
6750 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6751 export_dynamic_flag_spec='${wl}--export-dynamic'
6752 # ancient GNU ld didn't support --whole-archive et. al.
6753 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6754 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6756 whole_archive_flag_spec=
6760 # PORTME fill in a description of your system's linker (not GNU ld)
6763 allow_undefined_flag=unsupported
6764 always_export_symbols=yes
6765 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'
6766 # Note: this linker hardcodes the directories in LIBPATH if there
6767 # are no directories specified by -L.
6768 hardcode_minus_L=yes
6769 if test "$GCC" = yes && test -z "$link_static_flag"; then
6770 # Neither direct hardcoding nor static linking is supported with a
6772 hardcode_direct=unsupported
6777 if test "$host_cpu" = ia64; then
6778 # On IA64, the linker does run time linking by default, so we don't
6779 # have to do anything special.
6780 aix_use_runtimelinking=no
6781 exp_sym_flag='-Bexport'
6784 # If we're using GNU nm, then we don't want the "-C" option.
6785 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6786 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6787 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'
6789 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'
6791 aix_use_runtimelinking=no
6793 # Test if we are trying to use run time linking or normal
6794 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6795 # need to do runtime linking.
6796 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6797 for ld_flag in $LDFLAGS; do
6798 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6799 aix_use_runtimelinking=yes
6805 exp_sym_flag='-bexport'
6806 no_entry_flag='-bnoentry'
6809 # When large executables or shared objects are built, AIX ld can
6810 # have problems creating the table of contents. If linking a library
6811 # or program results in "error TOC overflow" add -mminimal-toc to
6812 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6813 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6817 hardcode_libdir_separator=':'
6818 link_all_deplibs=yes
6820 if test "$GCC" = yes; then
6821 case $host_os in aix4.012|aix4.012.*)
6822 # We only want to do this on AIX 4.2 and lower, the check
6823 # below for broken collect2 doesn't work under 4.3+
6824 collect2name=`${CC} -print-prog-name=collect2`
6825 if test -f "$collect2name" && \
6826 strings "$collect2name" | grep resolve_lib_name >/dev/null
6828 # We have reworked collect2
6831 # We have old collect2
6832 hardcode_direct=unsupported
6833 # It fails to find uninstalled libraries when the uninstalled
6834 # path is not listed in the libpath. Setting hardcode_minus_L
6835 # to unsupported forces relinking
6836 hardcode_minus_L=yes
6837 hardcode_libdir_flag_spec='-L$libdir'
6838 hardcode_libdir_separator=
6841 shared_flag='-shared'
6844 if test "$host_cpu" = ia64; then
6845 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6846 # chokes on -Wl,-G. The following line is correct:
6849 if test "$aix_use_runtimelinking" = yes; then
6850 shared_flag='${wl}-G'
6852 shared_flag='${wl}-bM:SRE'
6857 # It seems that -bexpall does not export symbols beginning with
6858 # underscore (_), so it is better to generate a list of symbols to export.
6859 always_export_symbols=yes
6860 if test "$aix_use_runtimelinking" = yes; then
6861 # Warning - without using the other runtime loading flags (-brtl),
6862 # -berok will link without error, but may produce a broken library.
6863 allow_undefined_flag='-berok'
6864 # Determine the default libpath from the value encoded in an empty executable.
6865 cat >conftest.$ac_ext <<_ACEOF
6866 #line $LINENO "configure"
6869 cat confdefs.h >>conftest.$ac_ext
6870 cat >>conftest.$ac_ext <<_ACEOF
6871 /* end confdefs.h. */
6881 rm -f conftest.$ac_objext conftest$ac_exeext
6882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6883 (eval $ac_link) 2>&5
6885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886 (exit $ac_status); } &&
6887 { ac_try='test -s conftest$ac_exeext'
6888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6892 (exit $ac_status); }; }; then
6894 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6896 # Check for a 64-bit object if we didn't find anything.
6897 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; }
6900 echo "$as_me: failed program was:" >&5
6901 sed 's/^/| /' conftest.$ac_ext >&5
6904 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6905 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6907 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6908 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"
6910 if test "$host_cpu" = ia64; then
6911 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6912 allow_undefined_flag="-z nodefs"
6913 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"
6915 # Determine the default libpath from the value encoded in an empty executable.
6916 cat >conftest.$ac_ext <<_ACEOF
6917 #line $LINENO "configure"
6920 cat confdefs.h >>conftest.$ac_ext
6921 cat >>conftest.$ac_ext <<_ACEOF
6922 /* end confdefs.h. */
6932 rm -f conftest.$ac_objext conftest$ac_exeext
6933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6934 (eval $ac_link) 2>&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); } &&
6938 { ac_try='test -s conftest$ac_exeext'
6939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943 (exit $ac_status); }; }; then
6945 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6947 # Check for a 64-bit object if we didn't find anything.
6948 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; }
6951 echo "$as_me: failed program was:" >&5
6952 sed 's/^/| /' conftest.$ac_ext >&5
6955 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6956 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6958 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6959 # Warning - without using the other run time loading flags,
6960 # -berok will link without error, but may produce a broken library.
6961 no_undefined_flag=' ${wl}-bernotok'
6962 allow_undefined_flag=' ${wl}-berok'
6963 # -bexpall does not export symbols beginning with underscore (_)
6964 always_export_symbols=yes
6965 # Exported symbols can be pulled into shared objects from archives
6966 whole_archive_flag_spec=' '
6967 archive_cmds_need_lc=yes
6968 # This is similar to how AIX traditionally builds it's shared libraries.
6969 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'
6975 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)'
6976 hardcode_libdir_flag_spec='-L$libdir'
6977 hardcode_minus_L=yes
6978 # see comment about different semantics on the GNU ld section
6983 export_dynamic_flag_spec=-rdynamic
6986 cygwin* | mingw* | pw32*)
6987 # When not using gcc, we currently assume that we are using
6988 # Microsoft Visual C++.
6989 # hardcode_libdir_flag_spec is actually meaningless, as there is
6990 # no search path for DLLs.
6991 hardcode_libdir_flag_spec=' '
6992 allow_undefined_flag=unsupported
6993 # Tell ltmain to make .lib files, not .a files.
6995 # Tell ltmain to make .dll files, not .so files.
6997 # FIXME: Setting linknames here is a bad hack.
6998 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
6999 # The linker will automatically build a .lib file if we build a DLL.
7000 old_archive_From_new_cmds='true'
7001 # FIXME: Should let the user specify the lib program.
7002 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7003 fix_srcfile_path='`cygpath -w "$srcfile"`'
7004 enable_shared_with_static_runtimes=yes
7007 darwin* | rhapsody*)
7008 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7009 archive_cmds_need_lc=no
7011 rhapsody* | darwin1.[012])
7012 allow_undefined_flag='-undefined suppress'
7015 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7018 # FIXME: Relying on posixy $() will cause problems for
7019 # cross-compilation, but unfortunately the echo tests do not
7020 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7021 # `"' quotes if we put them in here... so don't!
7022 lt_int_apple_cc_single_mod=no
7023 output_verbose_link_cmd='echo'
7024 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7025 lt_int_apple_cc_single_mod=yes
7027 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7028 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7030 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'
7032 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7033 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7034 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7035 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}'
7037 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}'
7039 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}'
7041 hardcode_automatic=yes
7042 hardcode_shlibpath_var=unsupported
7043 whole_archive_flag_spec='-all_load $convenience'
7044 link_all_deplibs=yes
7049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7050 hardcode_libdir_flag_spec='-L$libdir'
7051 hardcode_shlibpath_var=no
7058 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7059 # support. Future versions do this automatically, but an explicit c++rt0.o
7060 # does not break anything, and helps significantly (at the cost of a little
7063 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7064 hardcode_libdir_flag_spec='-R$libdir'
7066 hardcode_shlibpath_var=no
7069 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7071 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7073 hardcode_minus_L=yes
7074 hardcode_shlibpath_var=no
7077 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7079 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7080 hardcode_libdir_flag_spec='-R$libdir'
7082 hardcode_shlibpath_var=no
7086 if test "$GCC" = yes; then
7087 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'
7089 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'
7091 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7092 hardcode_libdir_separator=:
7095 # hardcode_minus_L: Not really in the search PATH,
7096 # but as the default location of the library.
7097 hardcode_minus_L=yes
7098 export_dynamic_flag_spec='${wl}-E'
7102 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7105 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7108 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7114 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7117 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7121 if test "$with_gnu_ld" = no; then
7124 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7125 hardcode_libdir_flag_spec_ld='+b $libdir'
7126 hardcode_libdir_separator=:
7128 hardcode_shlibpath_var=no
7131 hardcode_libdir_flag_spec='-L$libdir'
7133 hardcode_shlibpath_var=no
7135 # hardcode_minus_L: Not really in the search PATH,
7136 # but as the default location of the library.
7137 hardcode_minus_L=yes
7140 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7141 hardcode_libdir_separator=:
7143 export_dynamic_flag_spec='${wl}-E'
7145 # hardcode_minus_L: Not really in the search PATH,
7146 # but as the default location of the library.
7147 hardcode_minus_L=yes
7153 irix5* | irix6* | nonstopux*)
7154 if test "$GCC" = yes; then
7155 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'
7157 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'
7158 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7160 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7161 hardcode_libdir_separator=:
7162 link_all_deplibs=yes
7166 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7167 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7169 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7171 hardcode_libdir_flag_spec='-R$libdir'
7173 hardcode_shlibpath_var=no
7177 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7179 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7180 hardcode_libdir_separator=:
7181 hardcode_shlibpath_var=no
7186 hardcode_shlibpath_var=no
7187 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7188 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7189 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7190 export_dynamic_flag_spec='${wl}-E'
7193 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7194 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7195 hardcode_libdir_flag_spec='-R$libdir'
7198 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7199 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7206 hardcode_libdir_flag_spec='-L$libdir'
7207 hardcode_minus_L=yes
7208 allow_undefined_flag=unsupported
7209 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'
7210 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7214 if test "$GCC" = yes; then
7215 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7216 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'
7218 allow_undefined_flag=' -expect_unresolved \*'
7219 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'
7221 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7222 hardcode_libdir_separator=:
7225 osf4* | osf5*) # as osf3* with the addition of -msym flag
7226 if test "$GCC" = yes; then
7227 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7228 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'
7229 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7231 allow_undefined_flag=' -expect_unresolved \*'
7232 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'
7233 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7234 $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'
7236 # Both c and cxx compiler support -rpath directly
7237 hardcode_libdir_flag_spec='-rpath $libdir'
7239 hardcode_libdir_separator=:
7243 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7244 hardcode_shlibpath_var=no
7245 export_dynamic_flag_spec='${wl}-Bexport'
7246 runpath_var=LD_RUN_PATH
7247 hardcode_runpath_var=yes
7251 no_undefined_flag=' -z text'
7252 if test "$GCC" = yes; then
7253 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7254 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7255 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7257 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7258 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7259 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7261 hardcode_libdir_flag_spec='-R$libdir'
7262 hardcode_shlibpath_var=no
7264 solaris2.[0-5] | solaris2.[0-5].*) ;;
7265 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7266 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7268 link_all_deplibs=yes
7272 if test "x$host_vendor" = xsequent; then
7273 # Use $CC to link under sequent, because it throws in some extra .o
7274 # files that make .init and .fini sections work.
7275 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7277 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7279 hardcode_libdir_flag_spec='-L$libdir'
7281 hardcode_minus_L=yes
7282 hardcode_shlibpath_var=no
7286 case $host_vendor in
7288 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7289 hardcode_direct=yes # is this really true???
7292 ## LD is ld it makes a PLAMLIB
7293 ## CC just makes a GrossModule.
7294 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7295 reload_cmds='$CC -r -o $output$reload_objs'
7299 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7300 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7303 runpath_var='LD_RUN_PATH'
7304 hardcode_shlibpath_var=no
7308 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7309 hardcode_shlibpath_var=no
7310 export_dynamic_flag_spec='-Bexport'
7314 if test -d /usr/nec; then
7315 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7316 hardcode_shlibpath_var=no
7317 runpath_var=LD_RUN_PATH
7318 hardcode_runpath_var=yes
7324 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7327 hardcode_shlibpath_var=no
7328 hardcode_runpath_var=yes
7329 runpath_var=LD_RUN_PATH
7332 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7333 no_undefined_flag='${wl}-z ${wl}text'
7334 if test "$GCC" = yes; then
7335 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7337 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7339 runpath_var='LD_RUN_PATH'
7340 hardcode_shlibpath_var=no
7344 no_undefined_flag=' -z text'
7345 # $CC -shared without GNU ld will not create a library from C++
7346 # object files and a static libstdc++, better avoid it by now
7347 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7348 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7349 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7350 hardcode_libdir_flag_spec=
7351 hardcode_shlibpath_var=no
7352 runpath_var='LD_RUN_PATH'
7356 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7357 hardcode_libdir_flag_spec='-L$libdir'
7358 hardcode_shlibpath_var=no
7367 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7368 echo "${ECHO_T}$ld_shlibs" >&6
7369 test "$ld_shlibs" = no && can_build_shared=no
7371 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7372 if test "$GCC" = yes; then
7373 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7377 # Do we need to explicitly link libc?
7379 case "x$archive_cmds_need_lc" in
7381 # Assume -lc should be added
7382 archive_cmds_need_lc=yes
7384 if test "$enable_shared" = yes && test "$GCC" = yes; then
7385 case $archive_cmds in
7387 # FIXME: we may have to deal with multi-command sequences.
7390 # Test whether the compiler implicitly links with -lc since on some
7391 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7392 # to ld, don't add -lc before -lgcc.
7393 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7394 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7396 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7399 (eval $ac_compile) 2>&5
7401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7402 (exit $ac_status); } 2>conftest.err; then
7405 libobjs=conftest.$ac_objext
7407 wl=$lt_prog_compiler_wl
7413 lt_save_allow_undefined_flag=$allow_undefined_flag
7414 allow_undefined_flag=
7415 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7416 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7419 (exit $ac_status); }
7421 archive_cmds_need_lc=no
7423 archive_cmds_need_lc=yes
7425 allow_undefined_flag=$lt_save_allow_undefined_flag
7427 cat conftest.err 1>&5
7430 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7431 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7438 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7439 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7441 if test -n "$hardcode_libdir_flag_spec" || \
7442 test -n "$runpath_var " || \
7443 test "X$hardcode_automatic"="Xyes" ; then
7445 # We can hardcode non-existant directories.
7446 if test "$hardcode_direct" != no &&
7447 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7448 # have to relink, otherwise we might link with an installed library
7449 # when we should be linking with a yet-to-be-installed one
7450 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7451 test "$hardcode_minus_L" != no; then
7452 # Linking always hardcodes the temporary library directory.
7453 hardcode_action=relink
7455 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7456 hardcode_action=immediate
7459 # We cannot hardcode anything, or else we can only hardcode existing
7461 hardcode_action=unsupported
7463 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7464 echo "${ECHO_T}$hardcode_action" >&6
7466 if test "$hardcode_action" = relink; then
7467 # Fast installation is not supported
7468 enable_fast_install=no
7469 elif test "$shlibpath_overrides_runpath" = yes ||
7470 test "$enable_shared" = no; then
7471 # Fast installation is not necessary
7472 enable_fast_install=needless
7477 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7478 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7479 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7480 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7481 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7482 echo "$as_me:$LINENO: result: yes" >&5
7483 echo "${ECHO_T}yes" >&6
7485 # FIXME - insert some real tests, host_os isn't really good enough
7488 if test -n "$STRIP" ; then
7489 striplib="$STRIP -x"
7490 echo "$as_me:$LINENO: result: yes" >&5
7491 echo "${ECHO_T}yes" >&6
7493 echo "$as_me:$LINENO: result: no" >&5
7494 echo "${ECHO_T}no" >&6
7498 echo "$as_me:$LINENO: result: no" >&5
7499 echo "${ECHO_T}no" >&6
7504 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7505 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7507 libname_spec='lib$name'
7515 shlibpath_overrides_runpath=unknown
7517 dynamic_linker="$host_os ld.so"
7518 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7519 if test "$GCC" = yes; then
7520 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7521 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7522 # if the path contains ";" then we assume it to be the separator
7523 # otherwise default to the standard path separator (i.e. ":") - it is
7524 # assumed that no part of a normal pathname contains ";" but that should
7525 # okay in the real world where ";" in dirpaths is itself problematic.
7526 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7528 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7531 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7533 need_lib_prefix=unknown
7534 hardcode_into_libs=no
7536 # when you set need_version to no, make sure it does not cause -set_version
7537 # flags to be left without arguments
7538 need_version=unknown
7543 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7544 shlibpath_var=LIBPATH
7546 # AIX 3 has no versioning support, so we append a major version to the name.
7547 soname_spec='${libname}${release}${shared_ext}$major'
7554 hardcode_into_libs=yes
7555 if test "$host_cpu" = ia64; then
7556 # AIX 5 supports IA64
7557 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7558 shlibpath_var=LD_LIBRARY_PATH
7560 # With GCC up to 2.95.x, collect2 would create an import file
7561 # for dependence libraries. The import file would start with
7562 # the line `#! .'. This would cause the generated library to
7563 # depend on `.', always an invalid library. This was fixed in
7564 # development snapshots of GCC prior to 3.0.
7566 aix4 | aix4.[01] | aix4.[01].*)
7567 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7569 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7576 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7577 # soname into executable. Probably we can add versioning support to
7578 # collect2, so additional links can be useful in future.
7579 if test "$aix_use_runtimelinking" = yes; then
7580 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7581 # instead of lib<name>.a to let people know that these are not
7582 # typical AIX shared libraries.
7583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7585 # We preserve .a as extension for shared libraries through AIX4.2
7586 # and later when we are not doing run time linking.
7587 library_names_spec='${libname}${release}.a $libname.a'
7588 soname_spec='${libname}${release}${shared_ext}$major'
7590 shlibpath_var=LIBPATH
7595 library_names_spec='$libname.ixlibrary $libname.a'
7596 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7597 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'
7601 library_names_spec='${libname}${shared_ext}'
7602 dynamic_linker="$host_os ld.so"
7603 shlibpath_var=LIBRARY_PATH
7609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7610 soname_spec='${libname}${release}${shared_ext}$major'
7611 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7612 shlibpath_var=LD_LIBRARY_PATH
7613 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7614 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7615 # the default ld.so.conf also contains /usr/contrib/lib and
7616 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7617 # libtool to hard-code these into programs
7620 cygwin* | mingw* | pw32*)
7621 version_type=windows
7626 case $GCC,$host_os in
7627 yes,cygwin* | yes,mingw* | yes,pw32*)
7628 library_names_spec='$libname.dll.a'
7629 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7630 postinstall_cmds='base_file=`basename \${file}`~
7631 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7632 dldir=$destdir/`dirname \$dlpath`~
7633 test -d \$dldir || mkdir -p \$dldir~
7634 $install_prog $dir/$dlname \$dldir/$dlname'
7635 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7636 dlpath=$dir/\$dldll~
7638 shlibpath_overrides_runpath=yes
7642 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7643 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7644 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7647 # MinGW DLLs use traditional 'lib' prefix
7648 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7649 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7650 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7651 # It is most probably a Windows format PATH printed by
7652 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7653 # path with ; separators, and with drive letters. We can handle the
7654 # drive letters (cygwin fileutils understands them), so leave them,
7655 # especially as we might pass files found there to a mingw objdump,
7656 # which wouldn't understand a cygwinified path. Ahh.
7657 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7659 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7663 # pw32 DLLs use 'pw' prefix rather than 'lib'
7664 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7670 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7673 dynamic_linker='Win32 ld.exe'
7674 # FIXME: first we should search . and the directory the executable is in
7678 darwin* | rhapsody*)
7679 dynamic_linker="$host_os dyld"
7683 # FIXME: Relying on posixy $() will cause problems for
7684 # cross-compilation, but unfortunately the echo tests do not
7685 # yet detect zsh echo's removal of \ escapes.
7686 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7687 soname_spec='${libname}${release}${major}$shared_ext'
7688 shlibpath_overrides_runpath=yes
7689 shlibpath_var=DYLD_LIBRARY_PATH
7690 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7691 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7692 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7693 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"`
7695 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7703 soname_spec='${libname}${release}${shared_ext}$major'
7704 shlibpath_var=LD_LIBRARY_PATH
7712 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7713 version_type=freebsd-$objformat
7714 case $version_type in
7716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7721 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7725 shlibpath_var=LD_LIBRARY_PATH
7728 shlibpath_overrides_runpath=yes
7730 freebsd3.01* | freebsdelf3.01*)
7731 shlibpath_overrides_runpath=yes
7732 hardcode_into_libs=yes
7735 shlibpath_overrides_runpath=no
7736 hardcode_into_libs=yes
7745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7746 soname_spec='${libname}${release}${shared_ext}$major'
7747 shlibpath_var=LD_LIBRARY_PATH
7748 hardcode_into_libs=yes
7751 hpux9* | hpux10* | hpux11*)
7752 # Give a soname corresponding to the major version so that dld.sl refuses to
7753 # link against other versions.
7760 hardcode_into_libs=yes
7761 dynamic_linker="$host_os dld.so"
7762 shlibpath_var=LD_LIBRARY_PATH
7763 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7765 soname_spec='${libname}${release}${shared_ext}$major'
7766 if test "X$HPUX_IA64_MODE" = X32; then
7767 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7769 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7771 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7775 hardcode_into_libs=yes
7776 dynamic_linker="$host_os dld.sl"
7777 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7778 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7780 soname_spec='${libname}${release}${shared_ext}$major'
7781 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7782 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7786 dynamic_linker="$host_os dld.sl"
7787 shlibpath_var=SHLIB_PATH
7788 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7790 soname_spec='${libname}${release}${shared_ext}$major'
7793 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7794 postinstall_cmds='chmod 555 $lib'
7797 irix5* | irix6* | nonstopux*)
7799 nonstopux*) version_type=nonstopux ;;
7801 if test "$lt_cv_prog_gnu_ld" = yes; then
7809 soname_spec='${libname}${release}${shared_ext}$major'
7810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7812 irix5* | nonstopux*)
7816 case $LD in # libtool.m4 will add one of these switches to LD
7817 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7818 libsuff= shlibsuff= libmagic=32-bit;;
7819 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7820 libsuff=32 shlibsuff=N32 libmagic=N32;;
7821 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7822 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7823 *) libsuff= shlibsuff= libmagic=never-match;;
7827 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7828 shlibpath_overrides_runpath=no
7829 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7830 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7831 hardcode_into_libs=yes
7834 # No shared lib support for Linux oldld, aout, or coff.
7835 linux*oldld* | linux*aout* | linux*coff*)
7839 # This must be Linux ELF.
7844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7845 soname_spec='${libname}${release}${shared_ext}$major'
7846 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7847 shlibpath_var=LD_LIBRARY_PATH
7848 shlibpath_overrides_runpath=no
7849 # This implies no fast_install, which is unacceptable.
7850 # Some rework will be needed to allow for fast_install
7851 # before this can be enabled.
7852 hardcode_into_libs=yes
7854 # We used to test for /lib/ld.so.1 and disable shared libraries on
7855 # powerpc, because MkLinux only supported shared libraries with the
7856 # GNU dynamic linker. Since this was broken with cross compilers,
7857 # most powerpc-linux boxes support dynamic linking these days and
7858 # people can always --disable-shared, the test was removed, and we
7859 # assume the GNU/Linux dynamic linker is in use.
7860 dynamic_linker='GNU/Linux ld.so'
7867 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7869 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7870 dynamic_linker='NetBSD (a.out) ld.so'
7872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7873 soname_spec='${libname}${release}${shared_ext}$major'
7874 dynamic_linker='NetBSD ld.elf_so'
7876 shlibpath_var=LD_LIBRARY_PATH
7877 shlibpath_overrides_runpath=yes
7878 hardcode_into_libs=yes
7883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7884 shlibpath_var=LD_LIBRARY_PATH
7885 shlibpath_overrides_runpath=yes
7892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7893 soname_spec='${libname}${release}${shared_ext}$major'
7894 shlibpath_var=LD_LIBRARY_PATH
7895 shlibpath_overrides_runpath=yes
7902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7903 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7904 shlibpath_var=LD_LIBRARY_PATH
7905 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7907 openbsd2.[89] | openbsd2.[89].*)
7908 shlibpath_overrides_runpath=no
7911 shlibpath_overrides_runpath=yes
7915 shlibpath_overrides_runpath=yes
7920 libname_spec='$name'
7923 library_names_spec='$libname${shared_ext} $libname.a'
7924 dynamic_linker='OS/2 ld.exe'
7925 shlibpath_var=LIBPATH
7928 osf3* | osf4* | osf5*)
7932 soname_spec='${libname}${release}${shared_ext}$major'
7933 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7934 shlibpath_var=LD_LIBRARY_PATH
7935 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7936 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7941 soname_spec='${libname}${release}${shared_ext}$major'
7942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7943 shlibpath_var=LD_LIBRARY_PATH
7950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7951 soname_spec='${libname}${release}${shared_ext}$major'
7952 shlibpath_var=LD_LIBRARY_PATH
7953 shlibpath_overrides_runpath=yes
7954 hardcode_into_libs=yes
7955 # ldd complains unless libraries are executable
7956 postinstall_cmds='chmod +x $lib'
7961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7962 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7963 shlibpath_var=LD_LIBRARY_PATH
7964 shlibpath_overrides_runpath=yes
7965 if test "$with_gnu_ld" = yes; then
7971 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7974 soname_spec='${libname}${release}${shared_ext}$major'
7975 shlibpath_var=LD_LIBRARY_PATH
7976 case $host_vendor in
7978 shlibpath_overrides_runpath=no
7980 export_dynamic_flag_spec='${wl}-Blargedynsym'
7981 runpath_var=LD_RUN_PATH
7989 shlibpath_overrides_runpath=no
7990 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
7996 if test -d /usr/nec ;then
7998 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
7999 soname_spec='$libname${shared_ext}.$major'
8000 shlibpath_var=LD_LIBRARY_PATH
8006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8007 soname_spec='${libname}${release}${shared_ext}$major'
8008 shlibpath_var=LD_LIBRARY_PATH
8015 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8016 echo "${ECHO_T}$dynamic_linker" >&6
8017 test "$dynamic_linker" = no && can_build_shared=no
8019 if test "x$enable_dlopen" != xyes; then
8020 enable_dlopen=unknown
8021 enable_dlopen_self=unknown
8022 enable_dlopen_self_static=unknown
8029 lt_cv_dlopen="load_add_on"
8031 lt_cv_dlopen_self=yes
8035 lt_cv_dlopen="LoadLibrary"
8040 lt_cv_dlopen="dlopen"
8045 # if libdl is installed we need to link against it
8046 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8047 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8048 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8049 echo $ECHO_N "(cached) $ECHO_C" >&6
8051 ac_check_lib_save_LIBS=$LIBS
8053 cat >conftest.$ac_ext <<_ACEOF
8054 #line $LINENO "configure"
8057 cat confdefs.h >>conftest.$ac_ext
8058 cat >>conftest.$ac_ext <<_ACEOF
8059 /* end confdefs.h. */
8061 /* Override any gcc2 internal prototype to avoid an error. */
8065 /* We use char because int might match the return type of a gcc2
8066 builtin and then its argument prototype would still apply. */
8076 rm -f conftest.$ac_objext conftest$ac_exeext
8077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8078 (eval $ac_link) 2>&5
8080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8081 (exit $ac_status); } &&
8082 { ac_try='test -s conftest$ac_exeext'
8083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8087 (exit $ac_status); }; }; then
8088 ac_cv_lib_dl_dlopen=yes
8090 echo "$as_me: failed program was:" >&5
8091 sed 's/^/| /' conftest.$ac_ext >&5
8093 ac_cv_lib_dl_dlopen=no
8095 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8096 LIBS=$ac_check_lib_save_LIBS
8098 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8099 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8100 if test $ac_cv_lib_dl_dlopen = yes; then
8101 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8106 lt_cv_dlopen_self=yes
8113 echo "$as_me:$LINENO: checking for shl_load" >&5
8114 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8115 if test "${ac_cv_func_shl_load+set}" = set; then
8116 echo $ECHO_N "(cached) $ECHO_C" >&6
8118 cat >conftest.$ac_ext <<_ACEOF
8119 #line $LINENO "configure"
8122 cat confdefs.h >>conftest.$ac_ext
8123 cat >>conftest.$ac_ext <<_ACEOF
8124 /* end confdefs.h. */
8125 /* System header to define __stub macros and hopefully few prototypes,
8126 which can conflict with char shl_load (); below.
8127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8128 <limits.h> exists even on freestanding compilers. */
8130 # include <limits.h>
8132 # include <assert.h>
8134 /* Override any gcc2 internal prototype to avoid an error. */
8139 /* We use char because int might match the return type of a gcc2
8140 builtin and then its argument prototype would still apply. */
8142 /* The GNU C library defines this for functions which it implements
8143 to always fail with ENOSYS. Some functions are actually named
8144 something starting with __ and the normal name is an alias. */
8145 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8148 char (*f) () = shl_load;
8157 return f != shl_load;
8162 rm -f conftest.$ac_objext conftest$ac_exeext
8163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8164 (eval $ac_link) 2>&5
8166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8167 (exit $ac_status); } &&
8168 { ac_try='test -s conftest$ac_exeext'
8169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8173 (exit $ac_status); }; }; then
8174 ac_cv_func_shl_load=yes
8176 echo "$as_me: failed program was:" >&5
8177 sed 's/^/| /' conftest.$ac_ext >&5
8179 ac_cv_func_shl_load=no
8181 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8183 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8184 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8185 if test $ac_cv_func_shl_load = yes; then
8186 lt_cv_dlopen="shl_load"
8188 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8189 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8190 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8191 echo $ECHO_N "(cached) $ECHO_C" >&6
8193 ac_check_lib_save_LIBS=$LIBS
8195 cat >conftest.$ac_ext <<_ACEOF
8196 #line $LINENO "configure"
8199 cat confdefs.h >>conftest.$ac_ext
8200 cat >>conftest.$ac_ext <<_ACEOF
8201 /* end confdefs.h. */
8203 /* Override any gcc2 internal prototype to avoid an error. */
8207 /* We use char because int might match the return type of a gcc2
8208 builtin and then its argument prototype would still apply. */
8218 rm -f conftest.$ac_objext conftest$ac_exeext
8219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8220 (eval $ac_link) 2>&5
8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223 (exit $ac_status); } &&
8224 { ac_try='test -s conftest$ac_exeext'
8225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8229 (exit $ac_status); }; }; then
8230 ac_cv_lib_dld_shl_load=yes
8232 echo "$as_me: failed program was:" >&5
8233 sed 's/^/| /' conftest.$ac_ext >&5
8235 ac_cv_lib_dld_shl_load=no
8237 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8238 LIBS=$ac_check_lib_save_LIBS
8240 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8241 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8242 if test $ac_cv_lib_dld_shl_load = yes; then
8243 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8245 echo "$as_me:$LINENO: checking for dlopen" >&5
8246 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8247 if test "${ac_cv_func_dlopen+set}" = set; then
8248 echo $ECHO_N "(cached) $ECHO_C" >&6
8250 cat >conftest.$ac_ext <<_ACEOF
8251 #line $LINENO "configure"
8254 cat confdefs.h >>conftest.$ac_ext
8255 cat >>conftest.$ac_ext <<_ACEOF
8256 /* end confdefs.h. */
8257 /* System header to define __stub macros and hopefully few prototypes,
8258 which can conflict with char dlopen (); below.
8259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8260 <limits.h> exists even on freestanding compilers. */
8262 # include <limits.h>
8264 # include <assert.h>
8266 /* Override any gcc2 internal prototype to avoid an error. */
8271 /* We use char because int might match the return type of a gcc2
8272 builtin and then its argument prototype would still apply. */
8274 /* The GNU C library defines this for functions which it implements
8275 to always fail with ENOSYS. Some functions are actually named
8276 something starting with __ and the normal name is an alias. */
8277 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8280 char (*f) () = dlopen;
8294 rm -f conftest.$ac_objext conftest$ac_exeext
8295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8296 (eval $ac_link) 2>&5
8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); } &&
8300 { ac_try='test -s conftest$ac_exeext'
8301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); }; }; then
8306 ac_cv_func_dlopen=yes
8308 echo "$as_me: failed program was:" >&5
8309 sed 's/^/| /' conftest.$ac_ext >&5
8311 ac_cv_func_dlopen=no
8313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8315 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8316 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8317 if test $ac_cv_func_dlopen = yes; then
8318 lt_cv_dlopen="dlopen"
8320 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8321 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8322 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8323 echo $ECHO_N "(cached) $ECHO_C" >&6
8325 ac_check_lib_save_LIBS=$LIBS
8327 cat >conftest.$ac_ext <<_ACEOF
8328 #line $LINENO "configure"
8331 cat confdefs.h >>conftest.$ac_ext
8332 cat >>conftest.$ac_ext <<_ACEOF
8333 /* end confdefs.h. */
8335 /* Override any gcc2 internal prototype to avoid an error. */
8339 /* We use char because int might match the return type of a gcc2
8340 builtin and then its argument prototype would still apply. */
8350 rm -f conftest.$ac_objext conftest$ac_exeext
8351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8352 (eval $ac_link) 2>&5
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); } &&
8356 { ac_try='test -s conftest$ac_exeext'
8357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8361 (exit $ac_status); }; }; then
8362 ac_cv_lib_dl_dlopen=yes
8364 echo "$as_me: failed program was:" >&5
8365 sed 's/^/| /' conftest.$ac_ext >&5
8367 ac_cv_lib_dl_dlopen=no
8369 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8370 LIBS=$ac_check_lib_save_LIBS
8372 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8373 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8374 if test $ac_cv_lib_dl_dlopen = yes; then
8375 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8377 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8378 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8379 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8380 echo $ECHO_N "(cached) $ECHO_C" >&6
8382 ac_check_lib_save_LIBS=$LIBS
8384 cat >conftest.$ac_ext <<_ACEOF
8385 #line $LINENO "configure"
8388 cat confdefs.h >>conftest.$ac_ext
8389 cat >>conftest.$ac_ext <<_ACEOF
8390 /* end confdefs.h. */
8392 /* Override any gcc2 internal prototype to avoid an error. */
8396 /* We use char because int might match the return type of a gcc2
8397 builtin and then its argument prototype would still apply. */
8407 rm -f conftest.$ac_objext conftest$ac_exeext
8408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8409 (eval $ac_link) 2>&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); } &&
8413 { ac_try='test -s conftest$ac_exeext'
8414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418 (exit $ac_status); }; }; then
8419 ac_cv_lib_svld_dlopen=yes
8421 echo "$as_me: failed program was:" >&5
8422 sed 's/^/| /' conftest.$ac_ext >&5
8424 ac_cv_lib_svld_dlopen=no
8426 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8427 LIBS=$ac_check_lib_save_LIBS
8429 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8430 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8431 if test $ac_cv_lib_svld_dlopen = yes; then
8432 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8434 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8435 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8436 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8437 echo $ECHO_N "(cached) $ECHO_C" >&6
8439 ac_check_lib_save_LIBS=$LIBS
8441 cat >conftest.$ac_ext <<_ACEOF
8442 #line $LINENO "configure"
8445 cat confdefs.h >>conftest.$ac_ext
8446 cat >>conftest.$ac_ext <<_ACEOF
8447 /* end confdefs.h. */
8449 /* Override any gcc2 internal prototype to avoid an error. */
8453 /* We use char because int might match the return type of a gcc2
8454 builtin and then its argument prototype would still apply. */
8464 rm -f conftest.$ac_objext conftest$ac_exeext
8465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8466 (eval $ac_link) 2>&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); } &&
8470 { ac_try='test -s conftest$ac_exeext'
8471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8475 (exit $ac_status); }; }; then
8476 ac_cv_lib_dld_dld_link=yes
8478 echo "$as_me: failed program was:" >&5
8479 sed 's/^/| /' conftest.$ac_ext >&5
8481 ac_cv_lib_dld_dld_link=no
8483 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8484 LIBS=$ac_check_lib_save_LIBS
8486 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8487 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8488 if test $ac_cv_lib_dld_dld_link = yes; then
8489 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8510 if test "x$lt_cv_dlopen" != xno; then
8516 case $lt_cv_dlopen in
8518 save_CPPFLAGS="$CPPFLAGS"
8519 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8521 save_LDFLAGS="$LDFLAGS"
8522 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8525 LIBS="$lt_cv_dlopen_libs $LIBS"
8527 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8528 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8529 if test "${lt_cv_dlopen_self+set}" = set; then
8530 echo $ECHO_N "(cached) $ECHO_C" >&6
8532 if test "$cross_compiling" = yes; then :
8533 lt_cv_dlopen_self=cross
8535 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8536 lt_status=$lt_dlunknown
8537 cat > conftest.$ac_ext <<EOF
8538 #line 8538 "configure"
8539 #include "confdefs.h"
8548 # define LT_DLGLOBAL RTLD_GLOBAL
8551 # define LT_DLGLOBAL DL_GLOBAL
8553 # define LT_DLGLOBAL 0
8557 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8558 find out it does not work in some platform. */
8559 #ifndef LT_DLLAZY_OR_NOW
8561 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8564 # define LT_DLLAZY_OR_NOW DL_LAZY
8567 # define LT_DLLAZY_OR_NOW RTLD_NOW
8570 # define LT_DLLAZY_OR_NOW DL_NOW
8572 # define LT_DLLAZY_OR_NOW 0
8580 extern "C" void exit (int);
8583 void fnord() { int i=42;}
8586 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8587 int status = $lt_dlunknown;
8591 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8592 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8593 /* dlclose (self); */
8599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8600 (eval $ac_link) 2>&5
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8604 (./conftest; exit; ) 2>/dev/null
8607 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8608 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8609 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8612 # compilation failed
8613 lt_cv_dlopen_self=no
8620 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8621 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8623 if test "x$lt_cv_dlopen_self" = xyes; then
8624 LDFLAGS="$LDFLAGS $link_static_flag"
8625 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8626 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8627 if test "${lt_cv_dlopen_self_static+set}" = set; then
8628 echo $ECHO_N "(cached) $ECHO_C" >&6
8630 if test "$cross_compiling" = yes; then :
8631 lt_cv_dlopen_self_static=cross
8633 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8634 lt_status=$lt_dlunknown
8635 cat > conftest.$ac_ext <<EOF
8636 #line 8636 "configure"
8637 #include "confdefs.h"
8646 # define LT_DLGLOBAL RTLD_GLOBAL
8649 # define LT_DLGLOBAL DL_GLOBAL
8651 # define LT_DLGLOBAL 0
8655 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8656 find out it does not work in some platform. */
8657 #ifndef LT_DLLAZY_OR_NOW
8659 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8662 # define LT_DLLAZY_OR_NOW DL_LAZY
8665 # define LT_DLLAZY_OR_NOW RTLD_NOW
8668 # define LT_DLLAZY_OR_NOW DL_NOW
8670 # define LT_DLLAZY_OR_NOW 0
8678 extern "C" void exit (int);
8681 void fnord() { int i=42;}
8684 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8685 int status = $lt_dlunknown;
8689 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8690 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8691 /* dlclose (self); */
8697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8698 (eval $ac_link) 2>&5
8700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8701 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8702 (./conftest; exit; ) 2>/dev/null
8705 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8706 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8707 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8710 # compilation failed
8711 lt_cv_dlopen_self_static=no
8718 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8719 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8722 CPPFLAGS="$save_CPPFLAGS"
8723 LDFLAGS="$save_LDFLAGS"
8728 case $lt_cv_dlopen_self in
8729 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8730 *) enable_dlopen_self=unknown ;;
8733 case $lt_cv_dlopen_self_static in
8734 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8735 *) enable_dlopen_self_static=unknown ;;
8740 # Report which librarie types wil actually be built
8741 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8742 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8743 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8744 echo "${ECHO_T}$can_build_shared" >&6
8746 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8747 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8748 test "$can_build_shared" = "no" && enable_shared=no
8750 # On AIX, shared libraries and static libraries use the same namespace, and
8751 # are all built from PIC.
8754 test "$enable_shared" = yes && enable_static=no
8755 if test -n "$RANLIB"; then
8756 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8757 postinstall_cmds='$RANLIB $lib'
8762 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8763 test "$enable_shared" = yes && enable_static=no
8766 darwin* | rhapsody*)
8767 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8768 archive_cmds_need_lc=no
8770 rhapsody* | darwin1.[012])
8771 allow_undefined_flag='-undefined suppress'
8774 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8777 # FIXME: Relying on posixy $() will cause problems for
8778 # cross-compilation, but unfortunately the echo tests do not
8779 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8780 # `"' quotes if we put them in here... so don't!
8781 output_verbose_link_cmd='echo'
8782 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8783 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8784 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8785 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}'
8786 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}'
8788 hardcode_automatic=yes
8789 hardcode_shlibpath_var=unsupported
8790 whole_archive_flag_spec='-all_load $convenience'
8791 link_all_deplibs=yes
8795 echo "$as_me:$LINENO: result: $enable_shared" >&5
8796 echo "${ECHO_T}$enable_shared" >&6
8798 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8799 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8800 # Make sure either enable_shared or enable_static is yes.
8801 test "$enable_shared" = yes || enable_static=yes
8802 echo "$as_me:$LINENO: result: $enable_static" >&5
8803 echo "${ECHO_T}$enable_static" >&6
8805 # The else clause should only fire when bootstrapping the
8806 # libtool distribution, otherwise you forgot to ship ltmain.sh
8807 # with your package, and you will get complaints that there are
8808 # no rules to generate ltmain.sh.
8809 if test -f "$ltmain"; then
8810 # See if we are running on zsh, and set the options which allow our commands through
8811 # without removal of \ escapes.
8812 if test -n "${ZSH_VERSION+set}" ; then
8813 setopt NO_GLOB_SUBST
8815 # Now quote all the things that may contain metacharacters while being
8816 # careful not to overquote the AC_SUBSTed values. We take copies of the
8817 # variables and quote the copies for generation of the libtool script.
8818 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8819 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8820 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8821 deplibs_check_method reload_flag reload_cmds need_locks \
8822 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8823 lt_cv_sys_global_symbol_to_c_name_address \
8824 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8825 old_postinstall_cmds old_postuninstall_cmds \
8829 lt_prog_compiler_wl \
8830 lt_prog_compiler_pic \
8831 lt_prog_compiler_static \
8832 lt_prog_compiler_no_builtin_flag \
8833 export_dynamic_flag_spec \
8834 thread_safe_flag_spec \
8835 whole_archive_flag_spec \
8836 enable_shared_with_static_runtimes \
8838 old_archive_from_new_cmds \
8843 compiler_lib_search_path \
8845 archive_expsym_cmds \
8847 postuninstall_cmds \
8848 old_archive_from_expsyms_cmds \
8849 allow_undefined_flag \
8851 export_symbols_cmds \
8852 hardcode_libdir_flag_spec \
8853 hardcode_libdir_flag_spec_ld \
8854 hardcode_libdir_separator \
8855 hardcode_automatic \
8857 module_expsym_cmds \
8858 lt_cv_prog_compiler_c_o \
8863 old_archive_cmds | \
8864 old_archive_from_new_cmds | \
8866 archive_expsym_cmds | \
8868 module_expsym_cmds | \
8869 old_archive_from_expsyms_cmds | \
8870 export_symbols_cmds | \
8871 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8872 postinstall_cmds | postuninstall_cmds | \
8873 old_postinstall_cmds | old_postuninstall_cmds | \
8874 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8875 # Double-quote double-evaled strings.
8876 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8879 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8885 *'\$0 --fallback-echo"')
8886 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8891 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8893 { echo "$as_me:$LINENO: creating $ofile" >&5
8894 echo "$as_me: creating $ofile" >&6;}
8896 cat <<__EOF__ >> "$cfgfile"
8899 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8900 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8901 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8903 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8904 # Free Software Foundation, Inc.
8906 # This file is part of GNU Libtool:
8907 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8909 # This program is free software; you can redistribute it and/or modify
8910 # it under the terms of the GNU General Public License as published by
8911 # the Free Software Foundation; either version 2 of the License, or
8912 # (at your option) any later version.
8914 # This program is distributed in the hope that it will be useful, but
8915 # WITHOUT ANY WARRANTY; without even the implied warranty of
8916 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8917 # General Public License for more details.
8919 # You should have received a copy of the GNU General Public License
8920 # along with this program; if not, write to the Free Software
8921 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8923 # As a special exception to the GNU General Public License, if you
8924 # distribute this file as part of a program that contains a
8925 # configuration script generated by Autoconf, you may include it under
8926 # the same distribution terms that you use for the rest of that program.
8928 # A sed program that does not truncate output.
8931 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8932 Xsed="$SED -e s/^X//"
8934 # The HP-UX ksh and POSIX shell print the target directory to stdout
8936 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8938 # The names of the tagged configurations supported by this script.
8941 # ### BEGIN LIBTOOL CONFIG
8943 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8945 # Shell to use when invoking shell scripts.
8948 # Whether or not to build shared libraries.
8949 build_libtool_libs=$enable_shared
8951 # Whether or not to build static libraries.
8952 build_old_libs=$enable_static
8954 # Whether or not to add -lc for building shared libraries.
8955 build_libtool_need_lc=$archive_cmds_need_lc
8957 # Whether or not to disallow shared libs when runtime libs are static
8958 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8960 # Whether or not to optimize for fast installation.
8961 fast_install=$enable_fast_install
8964 host_alias=$host_alias
8967 # An echo program that does not interpret backslashes.
8972 AR_FLAGS=$lt_AR_FLAGS
8977 # A language-specific compiler.
8980 # Is the compiler the GNU C compiler?
8986 # The linker used to build libraries.
8989 # Whether we need hard or soft links.
8992 # A BSD-compatible nm program.
8995 # A symbol stripping program
8998 # Used to examine libraries when file_magic_cmd begins "file"
8999 MAGIC_CMD=$MAGIC_CMD
9001 # Used on cygwin: DLL creation program.
9004 # Used on cygwin: object dumper.
9007 # Used on cygwin: assembler.
9010 # The name of the directory that contains temporary libtool files.
9013 # How to create reloadable object files.
9014 reload_flag=$lt_reload_flag
9015 reload_cmds=$lt_reload_cmds
9017 # How to pass a linker flag through the compiler.
9018 wl=$lt_lt_prog_compiler_wl
9020 # Object file suffix (normally "o").
9023 # Old archive suffix (normally "a").
9026 # Shared library suffix (normally ".so").
9029 # Executable file suffix (normally "").
9032 # Additional compiler flags for building library objects.
9033 pic_flag=$lt_lt_prog_compiler_pic
9036 # What is the maximum length of a command?
9037 max_cmd_len=$lt_cv_sys_max_cmd_len
9039 # Does compiler simultaneously support -c and -o options?
9040 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9042 # Must we lock files when doing compilation ?
9043 need_locks=$lt_need_locks
9045 # Do we need the lib prefix for modules?
9046 need_lib_prefix=$need_lib_prefix
9048 # Do we need a version for libraries?
9049 need_version=$need_version
9051 # Whether dlopen is supported.
9052 dlopen_support=$enable_dlopen
9054 # Whether dlopen of programs is supported.
9055 dlopen_self=$enable_dlopen_self
9057 # Whether dlopen of statically linked programs is supported.
9058 dlopen_self_static=$enable_dlopen_self_static
9060 # Compiler flag to prevent dynamic linking.
9061 link_static_flag=$lt_lt_prog_compiler_static
9063 # Compiler flag to turn off builtin functions.
9064 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9066 # Compiler flag to allow reflexive dlopens.
9067 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9069 # Compiler flag to generate shared objects directly from archives.
9070 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9072 # Compiler flag to generate thread-safe objects.
9073 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9075 # Library versioning type.
9076 version_type=$version_type
9078 # Format of library name prefix.
9079 libname_spec=$lt_libname_spec
9081 # List of archive names. First name is the real one, the rest are links.
9082 # The last name is the one that the linker finds with -lNAME.
9083 library_names_spec=$lt_library_names_spec
9085 # The coded name of the library, if different from the real name.
9086 soname_spec=$lt_soname_spec
9088 # Commands used to build and install an old-style archive.
9090 old_archive_cmds=$lt_old_archive_cmds
9091 old_postinstall_cmds=$lt_old_postinstall_cmds
9092 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9094 # Create an old-style archive from a shared archive.
9095 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9097 # Create a temporary old-style archive to link instead of a shared archive.
9098 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9100 # Commands used to build and install a shared archive.
9101 archive_cmds=$lt_archive_cmds
9102 archive_expsym_cmds=$lt_archive_expsym_cmds
9103 postinstall_cmds=$lt_postinstall_cmds
9104 postuninstall_cmds=$lt_postuninstall_cmds
9106 # Commands used to build a loadable module (assumed same as above if empty)
9107 module_cmds=$lt_module_cmds
9108 module_expsym_cmds=$lt_module_expsym_cmds
9110 # Commands to strip libraries.
9111 old_striplib=$lt_old_striplib
9112 striplib=$lt_striplib
9114 # Dependencies to place before the objects being linked to create a
9116 predep_objects=$lt_predep_objects
9118 # Dependencies to place after the objects being linked to create a
9120 postdep_objects=$lt_postdep_objects
9122 # Dependencies to place before the objects being linked to create a
9126 # Dependencies to place after the objects being linked to create a
9128 postdeps=$lt_postdeps
9130 # The library search path used internally by the compiler when linking
9132 compiler_lib_search_path=$lt_compiler_lib_search_path
9134 # Method to check whether dependent libraries are shared objects.
9135 deplibs_check_method=$lt_deplibs_check_method
9137 # Command to use when deplibs_check_method == file_magic.
9138 file_magic_cmd=$lt_file_magic_cmd
9140 # Flag that allows shared libraries with undefined symbols to be built.
9141 allow_undefined_flag=$lt_allow_undefined_flag
9143 # Flag that forces no undefined symbols.
9144 no_undefined_flag=$lt_no_undefined_flag
9146 # Commands used to finish a libtool library installation in a directory.
9147 finish_cmds=$lt_finish_cmds
9149 # Same as above, but a single script fragment to be evaled but not shown.
9150 finish_eval=$lt_finish_eval
9152 # Take the output of nm and produce a listing of raw symbols and C names.
9153 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9155 # Transform the output of nm in a proper C declaration
9156 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9158 # Transform the output of nm in a C name address pair
9159 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9161 # This is the shared library runtime path variable.
9162 runpath_var=$runpath_var
9164 # This is the shared library path variable.
9165 shlibpath_var=$shlibpath_var
9167 # Is shlibpath searched before the hard-coded library search path?
9168 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9170 # How to hardcode a shared library path into an executable.
9171 hardcode_action=$hardcode_action
9173 # Whether we should hardcode library paths into libraries.
9174 hardcode_into_libs=$hardcode_into_libs
9176 # Flag to hardcode \$libdir into a binary during linking.
9177 # This must work even if \$libdir does not exist.
9178 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9180 # If ld is used when linking, flag to hardcode \$libdir into
9181 # a binary during linking. This must work even if \$libdir does
9183 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9185 # Whether we need a single -rpath flag with a separated argument.
9186 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9188 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9190 hardcode_direct=$hardcode_direct
9192 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9194 hardcode_minus_L=$hardcode_minus_L
9196 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9197 # the resulting binary.
9198 hardcode_shlibpath_var=$hardcode_shlibpath_var
9200 # Set to yes if building a shared library automatically hardcodes DIR into the library
9201 # and all subsequent libraries and executables linked against it.
9202 hardcode_automatic=$hardcode_automatic
9204 # Variables whose values should be saved in libtool wrapper scripts and
9205 # restored at relink time.
9206 variables_saved_for_relink="$variables_saved_for_relink"
9208 # Whether libtool must link a program against all its dependency libraries.
9209 link_all_deplibs=$link_all_deplibs
9211 # Compile-time system search path for libraries
9212 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9214 # Run-time system search path for libraries
9215 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9217 # Fix the shell variable \$srcfile for the compiler.
9218 fix_srcfile_path="$fix_srcfile_path"
9220 # Set to yes if exported symbols are required.
9221 always_export_symbols=$always_export_symbols
9223 # The commands to list exported symbols.
9224 export_symbols_cmds=$lt_export_symbols_cmds
9226 # The commands to extract the exported symbol list from a shared archive.
9227 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9229 # Symbols that should not be listed in the preloaded symbols.
9230 exclude_expsyms=$lt_exclude_expsyms
9232 # Symbols that must always be exported.
9233 include_expsyms=$lt_include_expsyms
9235 # ### END LIBTOOL CONFIG
9242 cat <<\EOF >> "$cfgfile"
9244 # AIX sometimes has problems with the GCC collect2 program. For some
9245 # reason, if we set the COLLECT_NAMES environment variable, the problems
9246 # vanish in a puff of smoke.
9247 if test "X${COLLECT_NAMES+set}" != Xset; then
9249 export COLLECT_NAMES
9255 # We use sed instead of cat because bash on DJGPP gets confused if
9256 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9257 # text mode, it properly converts lines to CR/LF. This bash problem
9258 # is reportedly fixed, but why not run on old versions too?
9259 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9261 mv -f "$cfgfile" "$ofile" || \
9262 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9266 # If there is no Makefile yet, we rely on a make rule to execute
9267 # `config.status --recheck' to rerun these tests and create the
9268 # libtool script then.
9269 test -f Makefile && make "$ltmain"
9274 ac_cpp='$CPP $CPPFLAGS'
9275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9282 # Check whether --with-tags or --without-tags was given.
9283 if test "${with_tags+set}" = set; then
9284 withval="$with_tags"
9288 if test -f "$ltmain" && test -n "$tagnames"; then
9289 if test ! -f "${ofile}"; then
9290 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9291 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9294 if test -z "$LTCC"; then
9295 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9296 if test -z "$LTCC"; then
9297 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9298 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9300 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9301 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9305 # Extract list of available tagged configurations in $ofile.
9306 # Note that this assumes the entire list is on one line.
9307 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9309 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9310 for tagname in $tagnames; do
9312 # Check whether tagname contains only valid characters
9313 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9315 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9316 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9317 { (exit 1); exit 1; }; }
9321 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9323 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9324 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9325 { (exit 1); exit 1; }; }
9328 # Update the list of available tags.
9329 if test -n "$tagname"; then
9330 echo appending configuration tag \"$tagname\" to $ofile
9334 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9336 ac_cpp='$CXXCPP $CPPFLAGS'
9337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9344 archive_cmds_need_lc_CXX=no
9345 allow_undefined_flag_CXX=
9346 always_export_symbols_CXX=no
9347 archive_expsym_cmds_CXX=
9348 export_dynamic_flag_spec_CXX=
9349 hardcode_direct_CXX=no
9350 hardcode_libdir_flag_spec_CXX=
9351 hardcode_libdir_flag_spec_ld_CXX=
9352 hardcode_libdir_separator_CXX=
9353 hardcode_minus_L_CXX=no
9354 hardcode_automatic_CXX=no
9356 module_expsym_cmds_CXX=
9357 link_all_deplibs_CXX=unknown
9358 old_archive_cmds_CXX=$old_archive_cmds
9359 no_undefined_flag_CXX=
9360 whole_archive_flag_spec_CXX=
9361 enable_shared_with_static_runtimes_CXX=no
9363 # Dependencies to place before and after the object being linked:
9365 postdep_objects_CXX=
9368 compiler_lib_search_path_CXX=
9370 # Source file extension for C++ test sources.
9373 # Object file extension for compiled C++ test sources.
9377 # Code to be used in simple compile tests
9378 lt_simple_compile_test_code="int some_variable = 0;\n"
9380 # Code to be used in simple link tests
9381 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9383 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9385 # If no C compiler was specified, use CC.
9388 # Allow CC to be a program name with arguments.
9392 # Allow CC to be a program name with arguments.
9397 lt_save_with_gnu_ld=$with_gnu_ld
9398 lt_save_path_LD=$lt_cv_path_LD
9399 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9400 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9402 unset lt_cv_prog_gnu_ld
9404 if test -n "${lt_cv_path_LDCXX+set}"; then
9405 lt_cv_path_LD=$lt_cv_path_LDCXX
9409 test -z "${LDCXX+set}" || LD=$LDCXX
9413 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9415 # We don't want -fno-exception wen compiling C++ code, so set the
9416 # no_builtin_flag separately
9417 if test "$GXX" = yes; then
9418 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9420 lt_prog_compiler_no_builtin_flag_CXX=
9423 if test "$GXX" = yes; then
9424 # Set up default GNU C++ configuration
9427 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9428 if test "${with_gnu_ld+set}" = set; then
9429 withval="$with_gnu_ld"
9430 test "$withval" = no || with_gnu_ld=yes
9435 if test "$GCC" = yes; then
9436 # Check if gcc -print-prog-name=ld gives a path.
9437 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9438 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9441 # gcc leaves a trailing carriage return which upsets mingw
9442 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9444 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9447 # Accept absolute paths.
9449 re_direlt='/[^/][^/]*/\.\./'
9450 # Canonicalize the path of ld
9451 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9452 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9453 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9455 test -z "$LD" && LD="$ac_prog"
9458 # If it fails, then pretend we aren't using GCC.
9462 # If it is relative, then search for the first ld in PATH.
9466 elif test "$with_gnu_ld" = yes; then
9467 echo "$as_me:$LINENO: checking for GNU ld" >&5
9468 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9470 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9471 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9473 if test "${lt_cv_path_LD+set}" = set; then
9474 echo $ECHO_N "(cached) $ECHO_C" >&6
9476 if test -z "$LD"; then
9477 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9478 for ac_dir in $PATH; do
9480 test -z "$ac_dir" && ac_dir=.
9481 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9482 lt_cv_path_LD="$ac_dir/$ac_prog"
9483 # Check to see if the program is GNU ld. I'd rather use --version,
9484 # but apparently some GNU ld's only accept -v.
9485 # Break only if it was the GNU/non-GNU ld that we prefer.
9486 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9487 *GNU* | *'with BFD'*)
9488 test "$with_gnu_ld" != no && break
9491 test "$with_gnu_ld" != yes && break
9498 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9503 if test -n "$LD"; then
9504 echo "$as_me:$LINENO: result: $LD" >&5
9505 echo "${ECHO_T}$LD" >&6
9507 echo "$as_me:$LINENO: result: no" >&5
9508 echo "${ECHO_T}no" >&6
9510 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9511 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9512 { (exit 1); exit 1; }; }
9513 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9514 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9515 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9516 echo $ECHO_N "(cached) $ECHO_C" >&6
9518 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9519 case `"$LD" -v 2>&1 </dev/null` in
9520 *GNU* | *'with BFD'*)
9521 lt_cv_prog_gnu_ld=yes
9524 lt_cv_prog_gnu_ld=no
9528 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9529 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9530 with_gnu_ld=$lt_cv_prog_gnu_ld
9534 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9535 # archiving commands below assume that GNU ld is being used.
9536 if test "$with_gnu_ld" = yes; then
9537 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9538 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'
9540 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9541 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9543 # If archive_cmds runs LD, not CC, wlarc should be empty
9544 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9545 # investigate it a little bit more. (MM)
9548 # ancient GNU ld didn't support --whole-archive et. al.
9549 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9550 grep 'no-whole-archive' > /dev/null; then
9551 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9553 whole_archive_flag_spec_CXX=
9559 # A generic and very simple default shared library creation
9560 # command for GNU C++ for the case where it uses the native
9561 # linker, instead of GNU ld. If possible, this setting should
9562 # overridden to take advantage of the native linker features on
9563 # the platform it is being used on.
9564 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9567 # Commands to make compiler produce verbose output that lists
9568 # what "hidden" libraries, object files and flags are used when
9569 # linking a shared library.
9570 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9578 # PORTME: fill in a description of your system's C++ link characteristics
9579 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9580 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9584 # FIXME: insert proper C++ library support
9588 if test "$host_cpu" = ia64; then
9589 # On IA64, the linker does run time linking by default, so we don't
9590 # have to do anything special.
9591 aix_use_runtimelinking=no
9592 exp_sym_flag='-Bexport'
9595 aix_use_runtimelinking=no
9597 # Test if we are trying to use run time linking or normal
9598 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9599 # need to do runtime linking.
9600 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9601 for ld_flag in $LDFLAGS; do
9604 aix_use_runtimelinking=yes
9611 exp_sym_flag='-bexport'
9612 no_entry_flag='-bnoentry'
9615 # When large executables or shared objects are built, AIX ld can
9616 # have problems creating the table of contents. If linking a library
9617 # or program results in "error TOC overflow" add -mminimal-toc to
9618 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9619 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9622 hardcode_direct_CXX=yes
9623 hardcode_libdir_separator_CXX=':'
9624 link_all_deplibs_CXX=yes
9626 if test "$GXX" = yes; then
9627 case $host_os in aix4.012|aix4.012.*)
9628 # We only want to do this on AIX 4.2 and lower, the check
9629 # below for broken collect2 doesn't work under 4.3+
9630 collect2name=`${CC} -print-prog-name=collect2`
9631 if test -f "$collect2name" && \
9632 strings "$collect2name" | grep resolve_lib_name >/dev/null
9634 # We have reworked collect2
9635 hardcode_direct_CXX=yes
9637 # We have old collect2
9638 hardcode_direct_CXX=unsupported
9639 # It fails to find uninstalled libraries when the uninstalled
9640 # path is not listed in the libpath. Setting hardcode_minus_L
9641 # to unsupported forces relinking
9642 hardcode_minus_L_CXX=yes
9643 hardcode_libdir_flag_spec_CXX='-L$libdir'
9644 hardcode_libdir_separator_CXX=
9647 shared_flag='-shared'
9650 if test "$host_cpu" = ia64; then
9651 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9652 # chokes on -Wl,-G. The following line is correct:
9655 if test "$aix_use_runtimelinking" = yes; then
9656 shared_flag='${wl}-G'
9658 shared_flag='${wl}-bM:SRE'
9663 # It seems that -bexpall does not export symbols beginning with
9664 # underscore (_), so it is better to generate a list of symbols to export.
9665 always_export_symbols_CXX=yes
9666 if test "$aix_use_runtimelinking" = yes; then
9667 # Warning - without using the other runtime loading flags (-brtl),
9668 # -berok will link without error, but may produce a broken library.
9669 allow_undefined_flag_CXX='-berok'
9670 # Determine the default libpath from the value encoded in an empty executable.
9671 cat >conftest.$ac_ext <<_ACEOF
9672 #line $LINENO "configure"
9675 cat confdefs.h >>conftest.$ac_ext
9676 cat >>conftest.$ac_ext <<_ACEOF
9677 /* end confdefs.h. */
9687 rm -f conftest.$ac_objext conftest$ac_exeext
9688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9689 (eval $ac_link) 2>&5
9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 (exit $ac_status); } &&
9693 { ac_try='test -s conftest$ac_exeext'
9694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9698 (exit $ac_status); }; }; then
9700 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9702 # Check for a 64-bit object if we didn't find anything.
9703 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; }
9706 echo "$as_me: failed program was:" >&5
9707 sed 's/^/| /' conftest.$ac_ext >&5
9710 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9711 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9713 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9715 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"
9717 if test "$host_cpu" = ia64; then
9718 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9719 allow_undefined_flag_CXX="-z nodefs"
9720 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"
9722 # Determine the default libpath from the value encoded in an empty executable.
9723 cat >conftest.$ac_ext <<_ACEOF
9724 #line $LINENO "configure"
9727 cat confdefs.h >>conftest.$ac_ext
9728 cat >>conftest.$ac_ext <<_ACEOF
9729 /* end confdefs.h. */
9739 rm -f conftest.$ac_objext conftest$ac_exeext
9740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9741 (eval $ac_link) 2>&5
9743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9744 (exit $ac_status); } &&
9745 { ac_try='test -s conftest$ac_exeext'
9746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9750 (exit $ac_status); }; }; then
9752 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9754 # Check for a 64-bit object if we didn't find anything.
9755 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; }
9758 echo "$as_me: failed program was:" >&5
9759 sed 's/^/| /' conftest.$ac_ext >&5
9762 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9763 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9765 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9766 # Warning - without using the other run time loading flags,
9767 # -berok will link without error, but may produce a broken library.
9768 no_undefined_flag_CXX=' ${wl}-bernotok'
9769 allow_undefined_flag_CXX=' ${wl}-berok'
9770 # -bexpall does not export symbols beginning with underscore (_)
9771 always_export_symbols_CXX=yes
9772 # Exported symbols can be pulled into shared objects from archives
9773 whole_archive_flag_spec_CXX=' '
9774 archive_cmds_need_lc_CXX=yes
9775 # This is similar to how AIX traditionally builds it's shared libraries.
9776 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'
9781 case $cc_basename in
9783 # FIXME: insert proper C++ library support
9789 cygwin* | mingw* | pw32*)
9790 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9791 # as there is no search path for DLLs.
9792 hardcode_libdir_flag_spec_CXX='-L$libdir'
9793 allow_undefined_flag_CXX=unsupported
9794 always_export_symbols_CXX=no
9795 enable_shared_with_static_runtimes_CXX=yes
9797 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9798 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'
9799 # If the export-symbols file already is a .def file (1st line
9800 # is EXPORTS), use it as is; otherwise, prepend...
9801 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9802 cp $export_symbols $output_objdir/$soname.def;
9804 echo EXPORTS > $output_objdir/$soname.def;
9805 cat $export_symbols >> $output_objdir/$soname.def;
9807 $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'
9813 darwin* | rhapsody*)
9814 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9815 archive_cmds_need_lc_CXX=no
9817 rhapsody* | darwin1.[012])
9818 allow_undefined_flag_CXX='-undefined suppress'
9821 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9824 lt_int_apple_cc_single_mod=no
9825 output_verbose_link_cmd='echo'
9826 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9827 lt_int_apple_cc_single_mod=yes
9829 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9830 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9832 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'
9834 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9836 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9837 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9838 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}'
9840 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}'
9842 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}'
9843 hardcode_direct_CXX=no
9844 hardcode_automatic_CXX=yes
9845 hardcode_shlibpath_var_CXX=unsupported
9846 whole_archive_flag_spec_CXX='-all_load $convenience'
9847 link_all_deplibs_CXX=yes
9852 case $cc_basename in
9854 # FIXME: insert proper C++ library support
9858 # Green Hills C++ Compiler
9859 # FIXME: insert proper C++ library support
9863 # FIXME: insert proper C++ library support
9869 # C++ shared libraries reported to be fairly broken before switch to ELF
9873 archive_cmds_need_lc_CXX=no
9876 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9883 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9884 hardcode_libdir_separator_CXX=:
9885 export_dynamic_flag_spec_CXX='${wl}-E'
9886 hardcode_direct_CXX=yes
9887 hardcode_minus_L_CXX=yes # Not in the search PATH,
9888 # but as the default
9889 # location of the library.
9891 case $cc_basename in
9893 # FIXME: insert proper C++ library support
9897 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'
9898 # Commands to make compiler produce verbose output that lists
9899 # what "hidden" libraries, object files and flags are used when
9900 # linking a shared library.
9902 # There doesn't appear to be a way to prevent this compiler from
9903 # explicitly linking system object files so we need to strip them
9904 # from the output so that they don't get included in the library
9906 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'
9909 if test "$GXX" = yes; then
9910 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'
9912 # FIXME: insert proper C++ library support
9919 if test $with_gnu_ld = no; then
9922 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9923 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9924 hardcode_libdir_separator_CXX=:
9927 hardcode_libdir_flag_spec_CXX='-L$libdir'
9930 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9931 hardcode_libdir_separator_CXX=:
9932 export_dynamic_flag_spec_CXX='${wl}-E'
9938 hardcode_direct_CXX=no
9939 hardcode_shlibpath_var_CXX=no
9942 hardcode_direct_CXX=no
9943 hardcode_shlibpath_var_CXX=no
9944 hardcode_minus_L_CXX=yes # Not in the search PATH,
9945 # but as the default
9946 # location of the library.
9949 hardcode_direct_CXX=yes
9950 hardcode_minus_L_CXX=yes # Not in the search PATH,
9951 # but as the default
9952 # location of the library.
9956 case $cc_basename in
9958 # FIXME: insert proper C++ library support
9964 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9967 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9970 # Commands to make compiler produce verbose output that lists
9971 # what "hidden" libraries, object files and flags are used when
9972 # linking a shared library.
9974 # There doesn't appear to be a way to prevent this compiler from
9975 # explicitly linking system object files so we need to strip them
9976 # from the output so that they don't get included in the library
9978 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'
9981 if test "$GXX" = yes; then
9982 if test $with_gnu_ld = no; then
9985 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9988 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'
9993 # FIXME: insert proper C++ library support
10000 case $cc_basename in
10003 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'
10005 # Archives containing C++ object files must be created using
10006 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10007 # necessary to make sure instantiated templates are included
10009 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10012 if test "$GXX" = yes; then
10013 if test "$with_gnu_ld" = no; then
10014 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'
10016 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'
10019 link_all_deplibs_CXX=yes
10022 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10023 hardcode_libdir_separator_CXX=:
10026 case $cc_basename in
10028 # Kuck and Associates, Inc. (KAI) C++ Compiler
10030 # KCC will only create a shared library if the output file
10031 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10032 # to its proper name (with version) after linking.
10033 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'
10034 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'
10035 # Commands to make compiler produce verbose output that lists
10036 # what "hidden" libraries, object files and flags are used when
10037 # linking a shared library.
10039 # There doesn't appear to be a way to prevent this compiler from
10040 # explicitly linking system object files so we need to strip them
10041 # from the output so that they don't get included in the library
10043 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'
10045 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10046 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10048 # Archives containing C++ object files must be created using
10049 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10050 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10055 archive_cmds_need_lc_CXX=no
10056 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10057 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'
10058 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10059 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10060 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10064 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10065 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'
10067 runpath_var=LD_RUN_PATH
10068 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10069 hardcode_libdir_separator_CXX=:
10071 # Commands to make compiler produce verbose output that lists
10072 # what "hidden" libraries, object files and flags are used when
10073 # linking a shared library.
10075 # There doesn't appear to be a way to prevent this compiler from
10076 # explicitly linking system object files so we need to strip them
10077 # from the output so that they don't get included in the library
10079 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'
10084 # FIXME: insert proper C++ library support
10088 # FIXME: insert proper C++ library support
10092 case $cc_basename in
10094 # FIXME: insert proper C++ library support
10098 # FIXME: insert proper C++ library support
10104 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10105 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10107 hardcode_libdir_flag_spec_CXX='-R$libdir'
10108 hardcode_direct_CXX=yes
10109 hardcode_shlibpath_var_CXX=no
10111 # Workaround some broken pre-1.5 toolchains
10112 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10115 case $cc_basename in
10117 # Kuck and Associates, Inc. (KAI) C++ Compiler
10119 # KCC will only create a shared library if the output file
10120 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10121 # to its proper name (with version) after linking.
10122 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'
10124 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10125 hardcode_libdir_separator_CXX=:
10127 # Archives containing C++ object files must be created using
10128 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10129 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10133 # Rational C++ 2.4.1
10134 # FIXME: insert proper C++ library support
10138 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10139 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'
10141 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10142 hardcode_libdir_separator_CXX=:
10144 # Commands to make compiler produce verbose output that lists
10145 # what "hidden" libraries, object files and flags are used when
10146 # linking a shared library.
10148 # There doesn't appear to be a way to prevent this compiler from
10149 # explicitly linking system object files so we need to strip them
10150 # from the output so that they don't get included in the library
10152 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'
10155 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10156 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10157 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'
10159 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10160 hardcode_libdir_separator_CXX=:
10162 # Commands to make compiler produce verbose output that lists
10163 # what "hidden" libraries, object files and flags are used when
10164 # linking a shared library.
10165 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10168 # FIXME: insert proper C++ library support
10175 case $cc_basename in
10177 # Kuck and Associates, Inc. (KAI) C++ Compiler
10179 # KCC will only create a shared library if the output file
10180 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10181 # to its proper name (with version) after linking.
10182 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'
10184 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10185 hardcode_libdir_separator_CXX=:
10187 # Archives containing C++ object files must be created using
10188 # the KAI C++ compiler.
10189 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10192 # Rational C++ 2.4.1
10193 # FIXME: insert proper C++ library support
10197 allow_undefined_flag_CXX=' -expect_unresolved \*'
10198 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'
10199 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10200 echo "-hidden">> $lib.exp~
10201 $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~
10204 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10205 hardcode_libdir_separator_CXX=:
10207 # Commands to make compiler produce verbose output that lists
10208 # what "hidden" libraries, object files and flags are used when
10209 # linking a shared library.
10211 # There doesn't appear to be a way to prevent this compiler from
10212 # explicitly linking system object files so we need to strip them
10213 # from the output so that they don't get included in the library
10215 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'
10218 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10219 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10220 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'
10222 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10223 hardcode_libdir_separator_CXX=:
10225 # Commands to make compiler produce verbose output that lists
10226 # what "hidden" libraries, object files and flags are used when
10227 # linking a shared library.
10228 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10231 # FIXME: insert proper C++ library support
10238 # FIXME: insert proper C++ library support
10242 archive_cmds_need_lc_CXX=no
10243 case $cc_basename in
10245 # FIXME: insert proper C++ library support
10249 # FIXME: insert proper C++ library support
10255 case $cc_basename in
10258 # FIXME: insert proper C++ library support
10263 # FIXME: insert proper C++ library support
10267 # FIXME: insert proper C++ library support
10273 case $cc_basename in
10275 # Sun C++ 4.2, 5.x and Centerline C++
10276 no_undefined_flag_CXX=' -zdefs'
10277 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10278 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10279 $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'
10281 hardcode_libdir_flag_spec_CXX='-R$libdir'
10282 hardcode_shlibpath_var_CXX=no
10284 solaris2.0-5 | solaris2.0-5.*) ;;
10286 # The C++ compiler is used as linker so we must use $wl
10287 # flag to pass the commands to the underlying system
10289 # Supported since Solaris 2.6 (maybe 2.5.1?)
10290 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10293 link_all_deplibs_CXX=yes
10295 # Commands to make compiler produce verbose output that lists
10296 # what "hidden" libraries, object files and flags are used when
10297 # linking a shared library.
10299 # There doesn't appear to be a way to prevent this compiler from
10300 # explicitly linking system object files so we need to strip them
10301 # from the output so that they don't get included in the library
10303 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'
10305 # Archives containing C++ object files must be created using
10306 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10307 # necessary to make sure instantiated templates are included
10309 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10312 # Green Hills C++ Compiler
10313 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10315 # The C++ compiler must be used to create the archive.
10316 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10319 # GNU C++ compiler with Solaris linker
10320 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10321 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10322 if $CC --version | grep -v '^2\.7' > /dev/null; then
10323 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10324 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10325 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10327 # Commands to make compiler produce verbose output that lists
10328 # what "hidden" libraries, object files and flags are used when
10329 # linking a shared library.
10330 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10332 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10334 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10335 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10336 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10338 # Commands to make compiler produce verbose output that lists
10339 # what "hidden" libraries, object files and flags are used when
10340 # linking a shared library.
10341 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10344 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10349 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10350 archive_cmds_need_lc_CXX=no
10353 case $cc_basename in
10355 # NonStop-UX NCC 3.20
10356 # FIXME: insert proper C++ library support
10360 # FIXME: insert proper C++ library support
10366 # FIXME: insert proper C++ library support
10370 # FIXME: insert proper C++ library support
10374 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10375 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10376 test "$ld_shlibs_CXX" = no && can_build_shared=no
10382 ## There is no encapsulation within the following macros, do not change
10383 ## the running order or otherwise move them around unless you know exactly
10384 ## what you are doing...
10386 cat > conftest.$ac_ext <<EOF
10390 Foo (void) { a = 0; }
10396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10397 (eval $ac_compile) 2>&5
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); }; then
10401 # Parse the compiler output and extract the necessary
10402 # objects, libraries and library flags.
10404 # Sentinel used to keep track of whether or not we are before
10405 # the conftest object file.
10406 pre_test_object_deps_done=no
10408 # The `*' in the case matches for architectures that use `case' in
10409 # $output_verbose_cmd can trigger glob expansion during the loop
10410 # eval without this substitution.
10411 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10413 for p in `eval $output_verbose_link_cmd`; do
10417 # Some compilers place space between "-{L,R}" and the path.
10418 # Remove the space.
10419 if test $p = "-L" \
10420 || test $p = "-R"; then
10427 if test "$pre_test_object_deps_done" = no; then
10430 # Internal compiler library paths should come after those
10431 # provided the user. The postdeps already come after the
10432 # user supplied libs so there is no need to process them.
10433 if test -z "$compiler_lib_search_path_CXX"; then
10434 compiler_lib_search_path_CXX="${prev}${p}"
10436 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10439 # The "-l" case would never come before the object being
10440 # linked, so don't bother handling this case.
10443 if test -z "$postdeps_CXX"; then
10444 postdeps_CXX="${prev}${p}"
10446 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10452 # This assumes that the test object file only shows up
10453 # once in the compiler output.
10454 if test "$p" = "conftest.$objext"; then
10455 pre_test_object_deps_done=yes
10459 if test "$pre_test_object_deps_done" = no; then
10460 if test -z "$predep_objects_CXX"; then
10461 predep_objects_CXX="$p"
10463 predep_objects_CXX="$predep_objects_CXX $p"
10466 if test -z "$postdep_objects_CXX"; then
10467 postdep_objects_CXX="$p"
10469 postdep_objects_CXX="$postdep_objects_CXX $p"
10474 *) ;; # Ignore the rest.
10482 echo "libtool.m4: error: problem compiling CXX test program"
10485 $rm -f confest.$objext
10487 case " $postdeps_CXX " in
10488 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10491 lt_prog_compiler_wl_CXX=
10492 lt_prog_compiler_pic_CXX=
10493 lt_prog_compiler_static_CXX=
10495 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10496 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10498 # C++ specific cases for pic, static, wl, etc.
10499 if test "$GXX" = yes; then
10500 lt_prog_compiler_wl_CXX='-Wl,'
10501 lt_prog_compiler_static_CXX='-static'
10505 # All AIX code is PIC.
10506 if test "$host_cpu" = ia64; then
10507 # AIX 5 now supports IA64 processor
10508 lt_prog_compiler_static_CXX='-Bstatic'
10512 # FIXME: we need at least 68020 code to build shared libraries, but
10513 # adding the `-m68020' flag to GCC prevents building anything better,
10515 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10517 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10518 # PIC is the default for these OSes.
10520 mingw* | os2* | pw32*)
10521 # This hack is so that the source file can tell whether it is being
10522 # built for inclusion in a dll (and should export symbols for example).
10523 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10525 darwin* | rhapsody*)
10526 # PIC is the default on this platform
10527 # Common symbols not allowed in MH_DYLIB files
10528 lt_prog_compiler_pic_CXX='-fno-common'
10531 # DJGPP does not support shared libraries at all
10532 lt_prog_compiler_pic_CXX=
10535 if test -d /usr/nec; then
10536 lt_prog_compiler_pic_CXX=-Kconform_pic
10540 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10541 # not for PA HP-UX.
10542 case "$host_cpu" in
10546 lt_prog_compiler_pic_CXX='-fPIC'
10551 lt_prog_compiler_pic_CXX='-fPIC'
10557 # All AIX code is PIC.
10558 if test "$host_cpu" = ia64; then
10559 # AIX 5 now supports IA64 processor
10560 lt_prog_compiler_static_CXX='-Bstatic'
10562 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10566 case $cc_basename in
10568 # Green Hills C++ Compiler
10569 # _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"
10574 case $cc_basename in
10576 lt_prog_compiler_pic_CXX='-KPIC'
10579 # Green Hills C++ Compiler
10580 lt_prog_compiler_pic_CXX='-pic'
10587 # FreeBSD uses GNU C++
10589 hpux9* | hpux10* | hpux11*)
10590 case $cc_basename in
10592 lt_prog_compiler_wl_CXX='-Wl,'
10593 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10594 if test "$host_cpu" != ia64; then
10595 lt_prog_compiler_pic_CXX='+Z'
10599 lt_prog_compiler_wl_CXX='-Wl,'
10600 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10601 case "$host_cpu" in
10606 lt_prog_compiler_pic_CXX='+Z'
10614 irix5* | irix6* | nonstopux*)
10615 case $cc_basename in
10617 lt_prog_compiler_wl_CXX='-Wl,'
10618 lt_prog_compiler_static_CXX='-non_shared'
10619 # CC pic flag -KPIC is the default.
10626 case $cc_basename in
10629 lt_prog_compiler_wl_CXX='--backend -Wl,'
10630 lt_prog_compiler_pic_CXX='-fPIC'
10634 lt_prog_compiler_wl_CXX='-Wl,'
10635 lt_prog_compiler_pic_CXX='-KPIC'
10636 lt_prog_compiler_static_CXX='-static'
10640 # Make sure the PIC flag is empty. It appears that all Alpha
10641 # Linux and Compaq Tru64 Unix objects are PIC.
10642 lt_prog_compiler_pic_CXX=
10643 lt_prog_compiler_static_CXX='-non_shared'
10654 case $cc_basename in
10656 lt_prog_compiler_pic_CXX='-W c,exportall'
10664 osf3* | osf4* | osf5*)
10665 case $cc_basename in
10667 lt_prog_compiler_wl_CXX='--backend -Wl,'
10670 # Rational C++ 2.4.1
10671 lt_prog_compiler_pic_CXX='-pic'
10674 # Digital/Compaq C++
10675 lt_prog_compiler_wl_CXX='-Wl,'
10676 # Make sure the PIC flag is empty. It appears that all Alpha
10677 # Linux and Compaq Tru64 Unix objects are PIC.
10678 lt_prog_compiler_pic_CXX=
10679 lt_prog_compiler_static_CXX='-non_shared'
10688 case $cc_basename in
10690 lt_prog_compiler_pic_CXX='-fPIC'
10697 case $cc_basename in
10699 # Sun C++ 4.2, 5.x and Centerline C++
10700 lt_prog_compiler_pic_CXX='-KPIC'
10701 lt_prog_compiler_static_CXX='-Bstatic'
10702 lt_prog_compiler_wl_CXX='-Qoption ld '
10705 # Green Hills C++ Compiler
10706 lt_prog_compiler_pic_CXX='-PIC'
10713 case $cc_basename in
10716 lt_prog_compiler_pic_CXX='-pic'
10717 lt_prog_compiler_static_CXX='-Bstatic'
10721 lt_prog_compiler_pic_CXX='-pic'
10728 case $cc_basename in
10730 # NonStop-UX NCC 3.20
10731 lt_prog_compiler_pic_CXX='-KPIC'
10742 lt_prog_compiler_can_build_shared_CXX=no
10747 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10748 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10751 # Check to make sure the PIC flag actually works.
10753 if test -n "$lt_prog_compiler_pic_CXX"; then
10754 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10755 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10756 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10757 echo $ECHO_N "(cached) $ECHO_C" >&6
10759 lt_prog_compiler_pic_works_CXX=no
10760 ac_outfile=conftest.$ac_objext
10761 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10762 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10763 # Insert the option either (1) after the last *FLAGS variable, or
10764 # (2) before a word containing "conftest.", or (3) at the end.
10765 # Note that $ac_compile itself does not contain backslashes and begins
10766 # with a dollar sign (not a hyphen), so the echo should work correctly.
10767 # The option is referenced via a variable to avoid confusing sed.
10768 lt_compile=`echo "$ac_compile" | $SED \
10769 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10770 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10771 -e 's:$: $lt_compiler_flag:'`
10772 (eval echo "\"\$as_me:10772: $lt_compile\"" >&5)
10773 (eval "$lt_compile" 2>conftest.err)
10775 cat conftest.err >&5
10776 echo "$as_me:10776: \$? = $ac_status" >&5
10777 if (exit $ac_status) && test -s "$ac_outfile"; then
10778 # The compiler can only warn and ignore the option if not recognized
10779 # So say no if there are warnings
10780 if test ! -s conftest.err; then
10781 lt_prog_compiler_pic_works_CXX=yes
10787 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10788 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10790 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10791 case $lt_prog_compiler_pic_CXX in
10793 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10796 lt_prog_compiler_pic_CXX=
10797 lt_prog_compiler_can_build_shared_CXX=no
10802 # For platforms which do not support PIC, -DPIC is meaningless:
10804 lt_prog_compiler_pic_CXX=
10807 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10811 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10812 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10813 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10814 echo $ECHO_N "(cached) $ECHO_C" >&6
10816 lt_cv_prog_compiler_c_o_CXX=no
10817 $rm -r conftest 2>/dev/null
10821 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10823 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10824 # that will create temporary files in the current directory regardless of
10825 # the output directory. Thus, making CWD read-only will cause this test
10826 # to fail, enabling locking or at least warning the user not to do parallel
10830 lt_compiler_flag="-o out/conftest2.$ac_objext"
10831 # Insert the option either (1) after the last *FLAGS variable, or
10832 # (2) before a word containing "conftest.", or (3) at the end.
10833 # Note that $ac_compile itself does not contain backslashes and begins
10834 # with a dollar sign (not a hyphen), so the echo should work correctly.
10835 lt_compile=`echo "$ac_compile" | $SED \
10836 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10837 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10838 -e 's:$: $lt_compiler_flag:'`
10839 (eval echo "\"\$as_me:10839: $lt_compile\"" >&5)
10840 (eval "$lt_compile" 2>out/conftest.err)
10842 cat out/conftest.err >&5
10843 echo "$as_me:10843: \$? = $ac_status" >&5
10844 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10846 # The compiler can only warn and ignore the option if not recognized
10847 # So say no if there are warnings
10848 if test ! -s out/conftest.err; then
10849 lt_cv_prog_compiler_c_o_CXX=yes
10853 $rm conftest* out/*
10860 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10861 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10864 hard_links="nottested"
10865 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10866 # do not overwrite the value of need_locks provided by the user
10867 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10868 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10871 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10873 ln conftest.a conftest.b 2>&5 || hard_links=no
10874 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10875 echo "$as_me:$LINENO: result: $hard_links" >&5
10876 echo "${ECHO_T}$hard_links" >&6
10877 if test "$hard_links" = no; then
10878 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10879 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10886 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10887 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10889 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10892 # If we're using GNU nm, then we don't want the "-C" option.
10893 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10894 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10895 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'
10897 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'
10901 export_symbols_cmds_CXX="$ltdll_cmds"
10904 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10907 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10911 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10912 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10913 test "$ld_shlibs_CXX" = no && can_build_shared=no
10915 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10916 if test "$GCC" = yes; then
10917 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10921 # Do we need to explicitly link libc?
10923 case "x$archive_cmds_need_lc_CXX" in
10925 # Assume -lc should be added
10926 archive_cmds_need_lc_CXX=yes
10928 if test "$enable_shared" = yes && test "$GCC" = yes; then
10929 case $archive_cmds_CXX in
10931 # FIXME: we may have to deal with multi-command sequences.
10934 # Test whether the compiler implicitly links with -lc since on some
10935 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10936 # to ld, don't add -lc before -lgcc.
10937 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10938 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10940 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10943 (eval $ac_compile) 2>&5
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); } 2>conftest.err; then
10949 libobjs=conftest.$ac_objext
10951 wl=$lt_prog_compiler_wl_CXX
10957 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10958 allow_undefined_flag_CXX=
10959 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10960 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963 (exit $ac_status); }
10965 archive_cmds_need_lc_CXX=no
10967 archive_cmds_need_lc_CXX=yes
10969 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
10971 cat conftest.err 1>&5
10974 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
10975 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
10982 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10983 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10984 hardcode_action_CXX=
10985 if test -n "$hardcode_libdir_flag_spec_CXX" || \
10986 test -n "$runpath_var CXX" || \
10987 test "X$hardcode_automatic_CXX"="Xyes" ; then
10989 # We can hardcode non-existant directories.
10990 if test "$hardcode_direct_CXX" != no &&
10991 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10992 # have to relink, otherwise we might link with an installed library
10993 # when we should be linking with a yet-to-be-installed one
10994 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
10995 test "$hardcode_minus_L_CXX" != no; then
10996 # Linking always hardcodes the temporary library directory.
10997 hardcode_action_CXX=relink
10999 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11000 hardcode_action_CXX=immediate
11003 # We cannot hardcode anything, or else we can only hardcode existing
11005 hardcode_action_CXX=unsupported
11007 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11008 echo "${ECHO_T}$hardcode_action_CXX" >&6
11010 if test "$hardcode_action_CXX" = relink; then
11011 # Fast installation is not supported
11012 enable_fast_install=no
11013 elif test "$shlibpath_overrides_runpath" = yes ||
11014 test "$enable_shared" = no; then
11015 # Fast installation is not necessary
11016 enable_fast_install=needless
11021 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11022 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11023 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11024 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11025 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11026 echo "$as_me:$LINENO: result: yes" >&5
11027 echo "${ECHO_T}yes" >&6
11029 # FIXME - insert some real tests, host_os isn't really good enough
11032 if test -n "$STRIP" ; then
11033 striplib="$STRIP -x"
11034 echo "$as_me:$LINENO: result: yes" >&5
11035 echo "${ECHO_T}yes" >&6
11037 echo "$as_me:$LINENO: result: no" >&5
11038 echo "${ECHO_T}no" >&6
11042 echo "$as_me:$LINENO: result: no" >&5
11043 echo "${ECHO_T}no" >&6
11048 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11049 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11050 library_names_spec=
11051 libname_spec='lib$name'
11055 postuninstall_cmds=
11059 shlibpath_overrides_runpath=unknown
11061 dynamic_linker="$host_os ld.so"
11062 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11063 if test "$GCC" = yes; then
11064 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11065 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11066 # if the path contains ";" then we assume it to be the separator
11067 # otherwise default to the standard path separator (i.e. ":") - it is
11068 # assumed that no part of a normal pathname contains ";" but that should
11069 # okay in the real world where ";" in dirpaths is itself problematic.
11070 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11072 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11075 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11077 need_lib_prefix=unknown
11078 hardcode_into_libs=no
11080 # when you set need_version to no, make sure it does not cause -set_version
11081 # flags to be left without arguments
11082 need_version=unknown
11087 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11088 shlibpath_var=LIBPATH
11090 # AIX 3 has no versioning support, so we append a major version to the name.
11091 soname_spec='${libname}${release}${shared_ext}$major'
11098 hardcode_into_libs=yes
11099 if test "$host_cpu" = ia64; then
11100 # AIX 5 supports IA64
11101 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11102 shlibpath_var=LD_LIBRARY_PATH
11104 # With GCC up to 2.95.x, collect2 would create an import file
11105 # for dependence libraries. The import file would start with
11106 # the line `#! .'. This would cause the generated library to
11107 # depend on `.', always an invalid library. This was fixed in
11108 # development snapshots of GCC prior to 3.0.
11110 aix4 | aix4.[01] | aix4.[01].*)
11111 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11113 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11116 can_build_shared=no
11120 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11121 # soname into executable. Probably we can add versioning support to
11122 # collect2, so additional links can be useful in future.
11123 if test "$aix_use_runtimelinking" = yes; then
11124 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11125 # instead of lib<name>.a to let people know that these are not
11126 # typical AIX shared libraries.
11127 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11129 # We preserve .a as extension for shared libraries through AIX4.2
11130 # and later when we are not doing run time linking.
11131 library_names_spec='${libname}${release}.a $libname.a'
11132 soname_spec='${libname}${release}${shared_ext}$major'
11134 shlibpath_var=LIBPATH
11139 library_names_spec='$libname.ixlibrary $libname.a'
11140 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11141 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'
11145 library_names_spec='${libname}${shared_ext}'
11146 dynamic_linker="$host_os ld.so"
11147 shlibpath_var=LIBRARY_PATH
11153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11154 soname_spec='${libname}${release}${shared_ext}$major'
11155 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11156 shlibpath_var=LD_LIBRARY_PATH
11157 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11158 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11159 # the default ld.so.conf also contains /usr/contrib/lib and
11160 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11161 # libtool to hard-code these into programs
11164 cygwin* | mingw* | pw32*)
11165 version_type=windows
11170 case $GCC,$host_os in
11171 yes,cygwin* | yes,mingw* | yes,pw32*)
11172 library_names_spec='$libname.dll.a'
11173 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11174 postinstall_cmds='base_file=`basename \${file}`~
11175 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11176 dldir=$destdir/`dirname \$dlpath`~
11177 test -d \$dldir || mkdir -p \$dldir~
11178 $install_prog $dir/$dlname \$dldir/$dlname'
11179 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11180 dlpath=$dir/\$dldll~
11182 shlibpath_overrides_runpath=yes
11186 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11187 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11188 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11191 # MinGW DLLs use traditional 'lib' prefix
11192 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11193 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11194 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11195 # It is most probably a Windows format PATH printed by
11196 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11197 # path with ; separators, and with drive letters. We can handle the
11198 # drive letters (cygwin fileutils understands them), so leave them,
11199 # especially as we might pass files found there to a mingw objdump,
11200 # which wouldn't understand a cygwinified path. Ahh.
11201 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11203 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11207 # pw32 DLLs use 'pw' prefix rather than 'lib'
11208 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11214 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11217 dynamic_linker='Win32 ld.exe'
11218 # FIXME: first we should search . and the directory the executable is in
11222 darwin* | rhapsody*)
11223 dynamic_linker="$host_os dyld"
11224 version_type=darwin
11227 # FIXME: Relying on posixy $() will cause problems for
11228 # cross-compilation, but unfortunately the echo tests do not
11229 # yet detect zsh echo's removal of \ escapes.
11230 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11231 soname_spec='${libname}${release}${major}$shared_ext'
11232 shlibpath_overrides_runpath=yes
11233 shlibpath_var=DYLD_LIBRARY_PATH
11234 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11235 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11236 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11237 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"`
11239 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11247 soname_spec='${libname}${release}${shared_ext}$major'
11248 shlibpath_var=LD_LIBRARY_PATH
11256 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11257 version_type=freebsd-$objformat
11258 case $version_type in
11260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11265 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11269 shlibpath_var=LD_LIBRARY_PATH
11272 shlibpath_overrides_runpath=yes
11274 freebsd3.01* | freebsdelf3.01*)
11275 shlibpath_overrides_runpath=yes
11276 hardcode_into_libs=yes
11279 shlibpath_overrides_runpath=no
11280 hardcode_into_libs=yes
11289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11290 soname_spec='${libname}${release}${shared_ext}$major'
11291 shlibpath_var=LD_LIBRARY_PATH
11292 hardcode_into_libs=yes
11295 hpux9* | hpux10* | hpux11*)
11296 # Give a soname corresponding to the major version so that dld.sl refuses to
11297 # link against other versions.
11301 case "$host_cpu" in
11304 hardcode_into_libs=yes
11305 dynamic_linker="$host_os dld.so"
11306 shlibpath_var=LD_LIBRARY_PATH
11307 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11309 soname_spec='${libname}${release}${shared_ext}$major'
11310 if test "X$HPUX_IA64_MODE" = X32; then
11311 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11313 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11315 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11319 hardcode_into_libs=yes
11320 dynamic_linker="$host_os dld.sl"
11321 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11322 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11324 soname_spec='${libname}${release}${shared_ext}$major'
11325 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11326 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11330 dynamic_linker="$host_os dld.sl"
11331 shlibpath_var=SHLIB_PATH
11332 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11333 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11334 soname_spec='${libname}${release}${shared_ext}$major'
11337 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11338 postinstall_cmds='chmod 555 $lib'
11341 irix5* | irix6* | nonstopux*)
11343 nonstopux*) version_type=nonstopux ;;
11345 if test "$lt_cv_prog_gnu_ld" = yes; then
11353 soname_spec='${libname}${release}${shared_ext}$major'
11354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11356 irix5* | nonstopux*)
11357 libsuff= shlibsuff=
11360 case $LD in # libtool.m4 will add one of these switches to LD
11361 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11362 libsuff= shlibsuff= libmagic=32-bit;;
11363 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11364 libsuff=32 shlibsuff=N32 libmagic=N32;;
11365 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11366 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11367 *) libsuff= shlibsuff= libmagic=never-match;;
11371 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11372 shlibpath_overrides_runpath=no
11373 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11374 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11375 hardcode_into_libs=yes
11378 # No shared lib support for Linux oldld, aout, or coff.
11379 linux*oldld* | linux*aout* | linux*coff*)
11383 # This must be Linux ELF.
11388 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11389 soname_spec='${libname}${release}${shared_ext}$major'
11390 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11391 shlibpath_var=LD_LIBRARY_PATH
11392 shlibpath_overrides_runpath=no
11393 # This implies no fast_install, which is unacceptable.
11394 # Some rework will be needed to allow for fast_install
11395 # before this can be enabled.
11396 hardcode_into_libs=yes
11398 # We used to test for /lib/ld.so.1 and disable shared libraries on
11399 # powerpc, because MkLinux only supported shared libraries with the
11400 # GNU dynamic linker. Since this was broken with cross compilers,
11401 # most powerpc-linux boxes support dynamic linking these days and
11402 # people can always --disable-shared, the test was removed, and we
11403 # assume the GNU/Linux dynamic linker is in use.
11404 dynamic_linker='GNU/Linux ld.so'
11411 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11413 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11414 dynamic_linker='NetBSD (a.out) ld.so'
11416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11417 soname_spec='${libname}${release}${shared_ext}$major'
11418 dynamic_linker='NetBSD ld.elf_so'
11420 shlibpath_var=LD_LIBRARY_PATH
11421 shlibpath_overrides_runpath=yes
11422 hardcode_into_libs=yes
11427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11428 shlibpath_var=LD_LIBRARY_PATH
11429 shlibpath_overrides_runpath=yes
11436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11437 soname_spec='${libname}${release}${shared_ext}$major'
11438 shlibpath_var=LD_LIBRARY_PATH
11439 shlibpath_overrides_runpath=yes
11446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11447 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11448 shlibpath_var=LD_LIBRARY_PATH
11449 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11451 openbsd2.[89] | openbsd2.[89].*)
11452 shlibpath_overrides_runpath=no
11455 shlibpath_overrides_runpath=yes
11459 shlibpath_overrides_runpath=yes
11464 libname_spec='$name'
11467 library_names_spec='$libname${shared_ext} $libname.a'
11468 dynamic_linker='OS/2 ld.exe'
11469 shlibpath_var=LIBPATH
11472 osf3* | osf4* | osf5*)
11476 soname_spec='${libname}${release}${shared_ext}$major'
11477 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11478 shlibpath_var=LD_LIBRARY_PATH
11479 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11480 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11485 soname_spec='${libname}${release}${shared_ext}$major'
11486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11487 shlibpath_var=LD_LIBRARY_PATH
11494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11495 soname_spec='${libname}${release}${shared_ext}$major'
11496 shlibpath_var=LD_LIBRARY_PATH
11497 shlibpath_overrides_runpath=yes
11498 hardcode_into_libs=yes
11499 # ldd complains unless libraries are executable
11500 postinstall_cmds='chmod +x $lib'
11505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11506 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11507 shlibpath_var=LD_LIBRARY_PATH
11508 shlibpath_overrides_runpath=yes
11509 if test "$with_gnu_ld" = yes; then
11515 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11518 soname_spec='${libname}${release}${shared_ext}$major'
11519 shlibpath_var=LD_LIBRARY_PATH
11520 case $host_vendor in
11522 shlibpath_overrides_runpath=no
11524 export_dynamic_flag_spec='${wl}-Blargedynsym'
11525 runpath_var=LD_RUN_PATH
11533 shlibpath_overrides_runpath=no
11534 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11540 if test -d /usr/nec ;then
11542 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11543 soname_spec='$libname${shared_ext}.$major'
11544 shlibpath_var=LD_LIBRARY_PATH
11550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11551 soname_spec='${libname}${release}${shared_ext}$major'
11552 shlibpath_var=LD_LIBRARY_PATH
11559 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11560 echo "${ECHO_T}$dynamic_linker" >&6
11561 test "$dynamic_linker" = no && can_build_shared=no
11563 if test "x$enable_dlopen" != xyes; then
11564 enable_dlopen=unknown
11565 enable_dlopen_self=unknown
11566 enable_dlopen_self_static=unknown
11573 lt_cv_dlopen="load_add_on"
11575 lt_cv_dlopen_self=yes
11579 lt_cv_dlopen="LoadLibrary"
11584 lt_cv_dlopen="dlopen"
11589 # if libdl is installed we need to link against it
11590 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11591 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11592 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11593 echo $ECHO_N "(cached) $ECHO_C" >&6
11595 ac_check_lib_save_LIBS=$LIBS
11597 cat >conftest.$ac_ext <<_ACEOF
11598 #line $LINENO "configure"
11601 cat confdefs.h >>conftest.$ac_ext
11602 cat >>conftest.$ac_ext <<_ACEOF
11603 /* end confdefs.h. */
11605 /* Override any gcc2 internal prototype to avoid an error. */
11609 /* We use char because int might match the return type of a gcc2
11610 builtin and then its argument prototype would still apply. */
11620 rm -f conftest.$ac_objext conftest$ac_exeext
11621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11622 (eval $ac_link) 2>&5
11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); } &&
11626 { ac_try='test -s conftest$ac_exeext'
11627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11628 (eval $ac_try) 2>&5
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); }; }; then
11632 ac_cv_lib_dl_dlopen=yes
11634 echo "$as_me: failed program was:" >&5
11635 sed 's/^/| /' conftest.$ac_ext >&5
11637 ac_cv_lib_dl_dlopen=no
11639 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11640 LIBS=$ac_check_lib_save_LIBS
11642 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11643 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11644 if test $ac_cv_lib_dl_dlopen = yes; then
11645 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11648 lt_cv_dlopen="dyld"
11650 lt_cv_dlopen_self=yes
11657 echo "$as_me:$LINENO: checking for shl_load" >&5
11658 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11659 if test "${ac_cv_func_shl_load+set}" = set; then
11660 echo $ECHO_N "(cached) $ECHO_C" >&6
11662 cat >conftest.$ac_ext <<_ACEOF
11663 #line $LINENO "configure"
11666 cat confdefs.h >>conftest.$ac_ext
11667 cat >>conftest.$ac_ext <<_ACEOF
11668 /* end confdefs.h. */
11669 /* System header to define __stub macros and hopefully few prototypes,
11670 which can conflict with char shl_load (); below.
11671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11672 <limits.h> exists even on freestanding compilers. */
11674 # include <limits.h>
11676 # include <assert.h>
11678 /* Override any gcc2 internal prototype to avoid an error. */
11683 /* We use char because int might match the return type of a gcc2
11684 builtin and then its argument prototype would still apply. */
11686 /* The GNU C library defines this for functions which it implements
11687 to always fail with ENOSYS. Some functions are actually named
11688 something starting with __ and the normal name is an alias. */
11689 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11692 char (*f) () = shl_load;
11701 return f != shl_load;
11706 rm -f conftest.$ac_objext conftest$ac_exeext
11707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11708 (eval $ac_link) 2>&5
11710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711 (exit $ac_status); } &&
11712 { ac_try='test -s conftest$ac_exeext'
11713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11714 (eval $ac_try) 2>&5
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); }; }; then
11718 ac_cv_func_shl_load=yes
11720 echo "$as_me: failed program was:" >&5
11721 sed 's/^/| /' conftest.$ac_ext >&5
11723 ac_cv_func_shl_load=no
11725 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11727 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11728 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11729 if test $ac_cv_func_shl_load = yes; then
11730 lt_cv_dlopen="shl_load"
11732 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11733 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11734 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11735 echo $ECHO_N "(cached) $ECHO_C" >&6
11737 ac_check_lib_save_LIBS=$LIBS
11739 cat >conftest.$ac_ext <<_ACEOF
11740 #line $LINENO "configure"
11743 cat confdefs.h >>conftest.$ac_ext
11744 cat >>conftest.$ac_ext <<_ACEOF
11745 /* end confdefs.h. */
11747 /* Override any gcc2 internal prototype to avoid an error. */
11751 /* We use char because int might match the return type of a gcc2
11752 builtin and then its argument prototype would still apply. */
11762 rm -f conftest.$ac_objext conftest$ac_exeext
11763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11764 (eval $ac_link) 2>&5
11766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11767 (exit $ac_status); } &&
11768 { ac_try='test -s conftest$ac_exeext'
11769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11770 (eval $ac_try) 2>&5
11772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11773 (exit $ac_status); }; }; then
11774 ac_cv_lib_dld_shl_load=yes
11776 echo "$as_me: failed program was:" >&5
11777 sed 's/^/| /' conftest.$ac_ext >&5
11779 ac_cv_lib_dld_shl_load=no
11781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11782 LIBS=$ac_check_lib_save_LIBS
11784 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11785 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11786 if test $ac_cv_lib_dld_shl_load = yes; then
11787 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11789 echo "$as_me:$LINENO: checking for dlopen" >&5
11790 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11791 if test "${ac_cv_func_dlopen+set}" = set; then
11792 echo $ECHO_N "(cached) $ECHO_C" >&6
11794 cat >conftest.$ac_ext <<_ACEOF
11795 #line $LINENO "configure"
11798 cat confdefs.h >>conftest.$ac_ext
11799 cat >>conftest.$ac_ext <<_ACEOF
11800 /* end confdefs.h. */
11801 /* System header to define __stub macros and hopefully few prototypes,
11802 which can conflict with char dlopen (); below.
11803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11804 <limits.h> exists even on freestanding compilers. */
11806 # include <limits.h>
11808 # include <assert.h>
11810 /* Override any gcc2 internal prototype to avoid an error. */
11815 /* We use char because int might match the return type of a gcc2
11816 builtin and then its argument prototype would still apply. */
11818 /* The GNU C library defines this for functions which it implements
11819 to always fail with ENOSYS. Some functions are actually named
11820 something starting with __ and the normal name is an alias. */
11821 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11824 char (*f) () = dlopen;
11833 return f != dlopen;
11838 rm -f conftest.$ac_objext conftest$ac_exeext
11839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11840 (eval $ac_link) 2>&5
11842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11843 (exit $ac_status); } &&
11844 { ac_try='test -s conftest$ac_exeext'
11845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11846 (eval $ac_try) 2>&5
11848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11849 (exit $ac_status); }; }; then
11850 ac_cv_func_dlopen=yes
11852 echo "$as_me: failed program was:" >&5
11853 sed 's/^/| /' conftest.$ac_ext >&5
11855 ac_cv_func_dlopen=no
11857 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11859 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11860 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11861 if test $ac_cv_func_dlopen = yes; then
11862 lt_cv_dlopen="dlopen"
11864 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11865 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11866 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11867 echo $ECHO_N "(cached) $ECHO_C" >&6
11869 ac_check_lib_save_LIBS=$LIBS
11871 cat >conftest.$ac_ext <<_ACEOF
11872 #line $LINENO "configure"
11875 cat confdefs.h >>conftest.$ac_ext
11876 cat >>conftest.$ac_ext <<_ACEOF
11877 /* end confdefs.h. */
11879 /* Override any gcc2 internal prototype to avoid an error. */
11883 /* We use char because int might match the return type of a gcc2
11884 builtin and then its argument prototype would still apply. */
11894 rm -f conftest.$ac_objext conftest$ac_exeext
11895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11896 (eval $ac_link) 2>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); } &&
11900 { ac_try='test -s conftest$ac_exeext'
11901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11902 (eval $ac_try) 2>&5
11904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905 (exit $ac_status); }; }; then
11906 ac_cv_lib_dl_dlopen=yes
11908 echo "$as_me: failed program was:" >&5
11909 sed 's/^/| /' conftest.$ac_ext >&5
11911 ac_cv_lib_dl_dlopen=no
11913 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11914 LIBS=$ac_check_lib_save_LIBS
11916 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11917 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11918 if test $ac_cv_lib_dl_dlopen = yes; then
11919 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11921 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11922 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11923 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11926 ac_check_lib_save_LIBS=$LIBS
11927 LIBS="-lsvld $LIBS"
11928 cat >conftest.$ac_ext <<_ACEOF
11929 #line $LINENO "configure"
11932 cat confdefs.h >>conftest.$ac_ext
11933 cat >>conftest.$ac_ext <<_ACEOF
11934 /* end confdefs.h. */
11936 /* Override any gcc2 internal prototype to avoid an error. */
11940 /* We use char because int might match the return type of a gcc2
11941 builtin and then its argument prototype would still apply. */
11951 rm -f conftest.$ac_objext conftest$ac_exeext
11952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11953 (eval $ac_link) 2>&5
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); } &&
11957 { ac_try='test -s conftest$ac_exeext'
11958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11959 (eval $ac_try) 2>&5
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); }; }; then
11963 ac_cv_lib_svld_dlopen=yes
11965 echo "$as_me: failed program was:" >&5
11966 sed 's/^/| /' conftest.$ac_ext >&5
11968 ac_cv_lib_svld_dlopen=no
11970 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11971 LIBS=$ac_check_lib_save_LIBS
11973 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11974 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11975 if test $ac_cv_lib_svld_dlopen = yes; then
11976 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11978 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11979 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11980 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11981 echo $ECHO_N "(cached) $ECHO_C" >&6
11983 ac_check_lib_save_LIBS=$LIBS
11985 cat >conftest.$ac_ext <<_ACEOF
11986 #line $LINENO "configure"
11989 cat confdefs.h >>conftest.$ac_ext
11990 cat >>conftest.$ac_ext <<_ACEOF
11991 /* end confdefs.h. */
11993 /* Override any gcc2 internal prototype to avoid an error. */
11997 /* We use char because int might match the return type of a gcc2
11998 builtin and then its argument prototype would still apply. */
12008 rm -f conftest.$ac_objext conftest$ac_exeext
12009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12010 (eval $ac_link) 2>&5
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); } &&
12014 { ac_try='test -s conftest$ac_exeext'
12015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12016 (eval $ac_try) 2>&5
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); }; }; then
12020 ac_cv_lib_dld_dld_link=yes
12022 echo "$as_me: failed program was:" >&5
12023 sed 's/^/| /' conftest.$ac_ext >&5
12025 ac_cv_lib_dld_dld_link=no
12027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12028 LIBS=$ac_check_lib_save_LIBS
12030 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12031 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12032 if test $ac_cv_lib_dld_dld_link = yes; then
12033 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12054 if test "x$lt_cv_dlopen" != xno; then
12060 case $lt_cv_dlopen in
12062 save_CPPFLAGS="$CPPFLAGS"
12063 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12065 save_LDFLAGS="$LDFLAGS"
12066 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12069 LIBS="$lt_cv_dlopen_libs $LIBS"
12071 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12072 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12073 if test "${lt_cv_dlopen_self+set}" = set; then
12074 echo $ECHO_N "(cached) $ECHO_C" >&6
12076 if test "$cross_compiling" = yes; then :
12077 lt_cv_dlopen_self=cross
12079 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12080 lt_status=$lt_dlunknown
12081 cat > conftest.$ac_ext <<EOF
12082 #line 12082 "configure"
12083 #include "confdefs.h"
12092 # define LT_DLGLOBAL RTLD_GLOBAL
12095 # define LT_DLGLOBAL DL_GLOBAL
12097 # define LT_DLGLOBAL 0
12101 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12102 find out it does not work in some platform. */
12103 #ifndef LT_DLLAZY_OR_NOW
12105 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12108 # define LT_DLLAZY_OR_NOW DL_LAZY
12111 # define LT_DLLAZY_OR_NOW RTLD_NOW
12114 # define LT_DLLAZY_OR_NOW DL_NOW
12116 # define LT_DLLAZY_OR_NOW 0
12124 extern "C" void exit (int);
12127 void fnord() { int i=42;}
12130 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12131 int status = $lt_dlunknown;
12135 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12136 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12137 /* dlclose (self); */
12143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12144 (eval $ac_link) 2>&5
12146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12147 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12148 (./conftest; exit; ) 2>/dev/null
12150 case x$lt_status in
12151 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12152 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12153 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12156 # compilation failed
12157 lt_cv_dlopen_self=no
12164 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12165 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12167 if test "x$lt_cv_dlopen_self" = xyes; then
12168 LDFLAGS="$LDFLAGS $link_static_flag"
12169 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12170 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12171 if test "${lt_cv_dlopen_self_static+set}" = set; then
12172 echo $ECHO_N "(cached) $ECHO_C" >&6
12174 if test "$cross_compiling" = yes; then :
12175 lt_cv_dlopen_self_static=cross
12177 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12178 lt_status=$lt_dlunknown
12179 cat > conftest.$ac_ext <<EOF
12180 #line 12180 "configure"
12181 #include "confdefs.h"
12190 # define LT_DLGLOBAL RTLD_GLOBAL
12193 # define LT_DLGLOBAL DL_GLOBAL
12195 # define LT_DLGLOBAL 0
12199 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12200 find out it does not work in some platform. */
12201 #ifndef LT_DLLAZY_OR_NOW
12203 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12206 # define LT_DLLAZY_OR_NOW DL_LAZY
12209 # define LT_DLLAZY_OR_NOW RTLD_NOW
12212 # define LT_DLLAZY_OR_NOW DL_NOW
12214 # define LT_DLLAZY_OR_NOW 0
12222 extern "C" void exit (int);
12225 void fnord() { int i=42;}
12228 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12229 int status = $lt_dlunknown;
12233 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12234 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12235 /* dlclose (self); */
12241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12242 (eval $ac_link) 2>&5
12244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12245 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12246 (./conftest; exit; ) 2>/dev/null
12248 case x$lt_status in
12249 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12250 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12251 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12254 # compilation failed
12255 lt_cv_dlopen_self_static=no
12262 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12263 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12266 CPPFLAGS="$save_CPPFLAGS"
12267 LDFLAGS="$save_LDFLAGS"
12272 case $lt_cv_dlopen_self in
12273 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12274 *) enable_dlopen_self=unknown ;;
12277 case $lt_cv_dlopen_self_static in
12278 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12279 *) enable_dlopen_self_static=unknown ;;
12284 # The else clause should only fire when bootstrapping the
12285 # libtool distribution, otherwise you forgot to ship ltmain.sh
12286 # with your package, and you will get complaints that there are
12287 # no rules to generate ltmain.sh.
12288 if test -f "$ltmain"; then
12289 # See if we are running on zsh, and set the options which allow our commands through
12290 # without removal of \ escapes.
12291 if test -n "${ZSH_VERSION+set}" ; then
12292 setopt NO_GLOB_SUBST
12294 # Now quote all the things that may contain metacharacters while being
12295 # careful not to overquote the AC_SUBSTed values. We take copies of the
12296 # variables and quote the copies for generation of the libtool script.
12297 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12298 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12299 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12300 deplibs_check_method reload_flag reload_cmds need_locks \
12301 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12302 lt_cv_sys_global_symbol_to_c_name_address \
12303 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12304 old_postinstall_cmds old_postuninstall_cmds \
12308 lt_prog_compiler_wl_CXX \
12309 lt_prog_compiler_pic_CXX \
12310 lt_prog_compiler_static_CXX \
12311 lt_prog_compiler_no_builtin_flag_CXX \
12312 export_dynamic_flag_spec_CXX \
12313 thread_safe_flag_spec_CXX \
12314 whole_archive_flag_spec_CXX \
12315 enable_shared_with_static_runtimes_CXX \
12316 old_archive_cmds_CXX \
12317 old_archive_from_new_cmds_CXX \
12318 predep_objects_CXX \
12319 postdep_objects_CXX \
12322 compiler_lib_search_path_CXX \
12324 archive_expsym_cmds_CXX \
12325 postinstall_cmds_CXX \
12326 postuninstall_cmds_CXX \
12327 old_archive_from_expsyms_cmds_CXX \
12328 allow_undefined_flag_CXX \
12329 no_undefined_flag_CXX \
12330 export_symbols_cmds_CXX \
12331 hardcode_libdir_flag_spec_CXX \
12332 hardcode_libdir_flag_spec_ld_CXX \
12333 hardcode_libdir_separator_CXX \
12334 hardcode_automatic_CXX \
12336 module_expsym_cmds_CXX \
12337 lt_cv_prog_compiler_c_o_CXX \
12338 exclude_expsyms_CXX \
12339 include_expsyms_CXX; do
12342 old_archive_cmds_CXX | \
12343 old_archive_from_new_cmds_CXX | \
12344 archive_cmds_CXX | \
12345 archive_expsym_cmds_CXX | \
12346 module_cmds_CXX | \
12347 module_expsym_cmds_CXX | \
12348 old_archive_from_expsyms_cmds_CXX | \
12349 export_symbols_cmds_CXX | \
12350 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12351 postinstall_cmds | postuninstall_cmds | \
12352 old_postinstall_cmds | old_postuninstall_cmds | \
12353 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12354 # Double-quote double-evaled strings.
12355 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12358 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12364 *'\$0 --fallback-echo"')
12365 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12371 cat <<__EOF__ >> "$cfgfile"
12372 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12374 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12376 # Shell to use when invoking shell scripts.
12379 # Whether or not to build shared libraries.
12380 build_libtool_libs=$enable_shared
12382 # Whether or not to build static libraries.
12383 build_old_libs=$enable_static
12385 # Whether or not to add -lc for building shared libraries.
12386 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12388 # Whether or not to disallow shared libs when runtime libs are static
12389 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12391 # Whether or not to optimize for fast installation.
12392 fast_install=$enable_fast_install
12395 host_alias=$host_alias
12398 # An echo program that does not interpret backslashes.
12403 AR_FLAGS=$lt_AR_FLAGS
12408 # A language-specific compiler.
12409 CC=$lt_compiler_CXX
12411 # Is the compiler the GNU C compiler?
12417 # The linker used to build libraries.
12420 # Whether we need hard or soft links.
12423 # A BSD-compatible nm program.
12426 # A symbol stripping program
12429 # Used to examine libraries when file_magic_cmd begins "file"
12430 MAGIC_CMD=$MAGIC_CMD
12432 # Used on cygwin: DLL creation program.
12435 # Used on cygwin: object dumper.
12438 # Used on cygwin: assembler.
12441 # The name of the directory that contains temporary libtool files.
12444 # How to create reloadable object files.
12445 reload_flag=$lt_reload_flag
12446 reload_cmds=$lt_reload_cmds
12448 # How to pass a linker flag through the compiler.
12449 wl=$lt_lt_prog_compiler_wl_CXX
12451 # Object file suffix (normally "o").
12452 objext="$ac_objext"
12454 # Old archive suffix (normally "a").
12457 # Shared library suffix (normally ".so").
12460 # Executable file suffix (normally "").
12463 # Additional compiler flags for building library objects.
12464 pic_flag=$lt_lt_prog_compiler_pic_CXX
12467 # What is the maximum length of a command?
12468 max_cmd_len=$lt_cv_sys_max_cmd_len
12470 # Does compiler simultaneously support -c and -o options?
12471 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12473 # Must we lock files when doing compilation ?
12474 need_locks=$lt_need_locks
12476 # Do we need the lib prefix for modules?
12477 need_lib_prefix=$need_lib_prefix
12479 # Do we need a version for libraries?
12480 need_version=$need_version
12482 # Whether dlopen is supported.
12483 dlopen_support=$enable_dlopen
12485 # Whether dlopen of programs is supported.
12486 dlopen_self=$enable_dlopen_self
12488 # Whether dlopen of statically linked programs is supported.
12489 dlopen_self_static=$enable_dlopen_self_static
12491 # Compiler flag to prevent dynamic linking.
12492 link_static_flag=$lt_lt_prog_compiler_static_CXX
12494 # Compiler flag to turn off builtin functions.
12495 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12497 # Compiler flag to allow reflexive dlopens.
12498 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12500 # Compiler flag to generate shared objects directly from archives.
12501 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12503 # Compiler flag to generate thread-safe objects.
12504 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12506 # Library versioning type.
12507 version_type=$version_type
12509 # Format of library name prefix.
12510 libname_spec=$lt_libname_spec
12512 # List of archive names. First name is the real one, the rest are links.
12513 # The last name is the one that the linker finds with -lNAME.
12514 library_names_spec=$lt_library_names_spec
12516 # The coded name of the library, if different from the real name.
12517 soname_spec=$lt_soname_spec
12519 # Commands used to build and install an old-style archive.
12521 old_archive_cmds=$lt_old_archive_cmds_CXX
12522 old_postinstall_cmds=$lt_old_postinstall_cmds
12523 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12525 # Create an old-style archive from a shared archive.
12526 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12528 # Create a temporary old-style archive to link instead of a shared archive.
12529 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12531 # Commands used to build and install a shared archive.
12532 archive_cmds=$lt_archive_cmds_CXX
12533 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12534 postinstall_cmds=$lt_postinstall_cmds
12535 postuninstall_cmds=$lt_postuninstall_cmds
12537 # Commands used to build a loadable module (assumed same as above if empty)
12538 module_cmds=$lt_module_cmds_CXX
12539 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12541 # Commands to strip libraries.
12542 old_striplib=$lt_old_striplib
12543 striplib=$lt_striplib
12545 # Dependencies to place before the objects being linked to create a
12547 predep_objects=$lt_predep_objects_CXX
12549 # Dependencies to place after the objects being linked to create a
12551 postdep_objects=$lt_postdep_objects_CXX
12553 # Dependencies to place before the objects being linked to create a
12555 predeps=$lt_predeps_CXX
12557 # Dependencies to place after the objects being linked to create a
12559 postdeps=$lt_postdeps_CXX
12561 # The library search path used internally by the compiler when linking
12562 # a shared library.
12563 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12565 # Method to check whether dependent libraries are shared objects.
12566 deplibs_check_method=$lt_deplibs_check_method
12568 # Command to use when deplibs_check_method == file_magic.
12569 file_magic_cmd=$lt_file_magic_cmd
12571 # Flag that allows shared libraries with undefined symbols to be built.
12572 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12574 # Flag that forces no undefined symbols.
12575 no_undefined_flag=$lt_no_undefined_flag_CXX
12577 # Commands used to finish a libtool library installation in a directory.
12578 finish_cmds=$lt_finish_cmds
12580 # Same as above, but a single script fragment to be evaled but not shown.
12581 finish_eval=$lt_finish_eval
12583 # Take the output of nm and produce a listing of raw symbols and C names.
12584 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12586 # Transform the output of nm in a proper C declaration
12587 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12589 # Transform the output of nm in a C name address pair
12590 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12592 # This is the shared library runtime path variable.
12593 runpath_var=$runpath_var
12595 # This is the shared library path variable.
12596 shlibpath_var=$shlibpath_var
12598 # Is shlibpath searched before the hard-coded library search path?
12599 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12601 # How to hardcode a shared library path into an executable.
12602 hardcode_action=$hardcode_action_CXX
12604 # Whether we should hardcode library paths into libraries.
12605 hardcode_into_libs=$hardcode_into_libs
12607 # Flag to hardcode \$libdir into a binary during linking.
12608 # This must work even if \$libdir does not exist.
12609 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12611 # If ld is used when linking, flag to hardcode \$libdir into
12612 # a binary during linking. This must work even if \$libdir does
12614 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12616 # Whether we need a single -rpath flag with a separated argument.
12617 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12619 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12620 # resulting binary.
12621 hardcode_direct=$hardcode_direct_CXX
12623 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12624 # resulting binary.
12625 hardcode_minus_L=$hardcode_minus_L_CXX
12627 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12628 # the resulting binary.
12629 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12631 # Set to yes if building a shared library automatically hardcodes DIR into the library
12632 # and all subsequent libraries and executables linked against it.
12633 hardcode_automatic=$hardcode_automatic_CXX
12635 # Variables whose values should be saved in libtool wrapper scripts and
12636 # restored at relink time.
12637 variables_saved_for_relink="$variables_saved_for_relink"
12639 # Whether libtool must link a program against all its dependency libraries.
12640 link_all_deplibs=$link_all_deplibs_CXX
12642 # Compile-time system search path for libraries
12643 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12645 # Run-time system search path for libraries
12646 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12648 # Fix the shell variable \$srcfile for the compiler.
12649 fix_srcfile_path="$fix_srcfile_path_CXX"
12651 # Set to yes if exported symbols are required.
12652 always_export_symbols=$always_export_symbols_CXX
12654 # The commands to list exported symbols.
12655 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12657 # The commands to extract the exported symbol list from a shared archive.
12658 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12660 # Symbols that should not be listed in the preloaded symbols.
12661 exclude_expsyms=$lt_exclude_expsyms_CXX
12663 # Symbols that must always be exported.
12664 include_expsyms=$lt_include_expsyms_CXX
12666 # ### END LIBTOOL TAG CONFIG: $tagname
12672 # If there is no Makefile yet, we rely on a make rule to execute
12673 # `config.status --recheck' to rerun these tests and create the
12674 # libtool script then.
12675 test -f Makefile && make "$ltmain"
12680 ac_cpp='$CPP $CPPFLAGS'
12681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12689 with_gnu_ldcxx=$with_gnu_ld
12690 with_gnu_ld=$lt_save_with_gnu_ld
12691 lt_cv_path_LDCXX=$lt_cv_path_LD
12692 lt_cv_path_LD=$lt_save_path_LD
12693 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12694 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12702 if test -n "$F77" && test "X$F77" != "Xno"; then
12705 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12706 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12707 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12710 archive_cmds_need_lc_F77=no
12711 allow_undefined_flag_F77=
12712 always_export_symbols_F77=no
12713 archive_expsym_cmds_F77=
12714 export_dynamic_flag_spec_F77=
12715 hardcode_direct_F77=no
12716 hardcode_libdir_flag_spec_F77=
12717 hardcode_libdir_flag_spec_ld_F77=
12718 hardcode_libdir_separator_F77=
12719 hardcode_minus_L_F77=no
12720 hardcode_automatic_F77=no
12722 module_expsym_cmds_F77=
12723 link_all_deplibs_F77=unknown
12724 old_archive_cmds_F77=$old_archive_cmds
12725 no_undefined_flag_F77=
12726 whole_archive_flag_spec_F77=
12727 enable_shared_with_static_runtimes_F77=no
12729 # Source file extension for f77 test sources.
12732 # Object file extension for compiled f77 test sources.
12736 # Code to be used in simple compile tests
12737 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12739 # Code to be used in simple link tests
12740 lt_simple_link_test_code=" program t\n end\n"
12742 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12744 # If no C compiler was specified, use CC.
12747 # Allow CC to be a program name with arguments.
12751 # Allow CC to be a program name with arguments.
12756 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12758 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12759 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12760 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12761 echo "${ECHO_T}$can_build_shared" >&6
12763 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12764 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12765 test "$can_build_shared" = "no" && enable_shared=no
12767 # On AIX, shared libraries and static libraries use the same namespace, and
12768 # are all built from PIC.
12771 test "$enable_shared" = yes && enable_static=no
12772 if test -n "$RANLIB"; then
12773 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12774 postinstall_cmds='$RANLIB $lib'
12778 test "$enable_shared" = yes && enable_static=no
12781 echo "$as_me:$LINENO: result: $enable_shared" >&5
12782 echo "${ECHO_T}$enable_shared" >&6
12784 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12785 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12786 # Make sure either enable_shared or enable_static is yes.
12787 test "$enable_shared" = yes || enable_static=yes
12788 echo "$as_me:$LINENO: result: $enable_static" >&5
12789 echo "${ECHO_T}$enable_static" >&6
12791 test "$ld_shlibs_F77" = no && can_build_shared=no
12796 lt_prog_compiler_wl_F77=
12797 lt_prog_compiler_pic_F77=
12798 lt_prog_compiler_static_F77=
12800 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12801 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12803 if test "$GCC" = yes; then
12804 lt_prog_compiler_wl_F77='-Wl,'
12805 lt_prog_compiler_static_F77='-static'
12809 # All AIX code is PIC.
12810 if test "$host_cpu" = ia64; then
12811 # AIX 5 now supports IA64 processor
12812 lt_prog_compiler_static_F77='-Bstatic'
12817 # FIXME: we need at least 68020 code to build shared libraries, but
12818 # adding the `-m68020' flag to GCC prevents building anything better,
12820 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12823 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12824 # PIC is the default for these OSes.
12827 mingw* | pw32* | os2*)
12828 # This hack is so that the source file can tell whether it is being
12829 # built for inclusion in a dll (and should export symbols for example).
12830 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12833 darwin* | rhapsody*)
12834 # PIC is the default on this platform
12835 # Common symbols not allowed in MH_DYLIB files
12836 lt_prog_compiler_pic_F77='-fno-common'
12840 # Just because we use GCC doesn't mean we suddenly get shared libraries
12841 # on systems that don't support them.
12842 lt_prog_compiler_can_build_shared_F77=no
12847 if test -d /usr/nec; then
12848 lt_prog_compiler_pic_F77=-Kconform_pic
12853 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12854 # not for PA HP-UX.
12855 case "$host_cpu" in
12860 lt_prog_compiler_pic_F77='-fPIC'
12866 lt_prog_compiler_pic_F77='-fPIC'
12870 # PORTME Check for flag to pass linker flags through the system compiler.
12873 lt_prog_compiler_wl_F77='-Wl,'
12874 if test "$host_cpu" = ia64; then
12875 # AIX 5 now supports IA64 processor
12876 lt_prog_compiler_static_F77='-Bstatic'
12878 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12882 mingw* | pw32* | os2*)
12883 # This hack is so that the source file can tell whether it is being
12884 # built for inclusion in a dll (and should export symbols for example).
12885 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12888 hpux9* | hpux10* | hpux11*)
12889 lt_prog_compiler_wl_F77='-Wl,'
12890 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12891 # not for PA HP-UX.
12892 case "$host_cpu" in
12897 lt_prog_compiler_pic_F77='+Z'
12900 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12901 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12904 irix5* | irix6* | nonstopux*)
12905 lt_prog_compiler_wl_F77='-Wl,'
12906 # PIC (with -KPIC) is the default.
12907 lt_prog_compiler_static_F77='-non_shared'
12911 lt_prog_compiler_pic_F77='-KPIC'
12912 lt_prog_compiler_static_F77='-Bstatic'
12918 lt_prog_compiler_wl_F77='-Wl,'
12919 lt_prog_compiler_pic_F77='-KPIC'
12920 lt_prog_compiler_static_F77='-static'
12923 lt_prog_compiler_wl_F77='-Wl,'
12924 # All Alpha code is PIC.
12925 lt_prog_compiler_static_F77='-non_shared'
12930 osf3* | osf4* | osf5*)
12931 lt_prog_compiler_wl_F77='-Wl,'
12932 # All OSF/1 code is PIC.
12933 lt_prog_compiler_static_F77='-non_shared'
12937 lt_prog_compiler_pic_F77='-Kpic'
12938 lt_prog_compiler_static_F77='-dn'
12942 lt_prog_compiler_wl_F77='-Wl,'
12943 lt_prog_compiler_pic_F77='-KPIC'
12944 lt_prog_compiler_static_F77='-Bstatic'
12948 lt_prog_compiler_wl_F77='-Qoption ld '
12949 lt_prog_compiler_pic_F77='-PIC'
12950 lt_prog_compiler_static_F77='-Bstatic'
12953 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12954 lt_prog_compiler_wl_F77='-Wl,'
12955 lt_prog_compiler_pic_F77='-KPIC'
12956 lt_prog_compiler_static_F77='-Bstatic'
12960 if test -d /usr/nec ;then
12961 lt_prog_compiler_pic_F77='-Kconform_pic'
12962 lt_prog_compiler_static_F77='-Bstatic'
12967 lt_prog_compiler_pic_F77='-pic'
12968 lt_prog_compiler_static_F77='-Bstatic'
12972 lt_prog_compiler_can_build_shared_F77=no
12977 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
12978 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
12981 # Check to make sure the PIC flag actually works.
12983 if test -n "$lt_prog_compiler_pic_F77"; then
12984 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
12985 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
12986 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
12987 echo $ECHO_N "(cached) $ECHO_C" >&6
12989 lt_prog_compiler_pic_works_F77=no
12990 ac_outfile=conftest.$ac_objext
12991 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12992 lt_compiler_flag="$lt_prog_compiler_pic_F77"
12993 # Insert the option either (1) after the last *FLAGS variable, or
12994 # (2) before a word containing "conftest.", or (3) at the end.
12995 # Note that $ac_compile itself does not contain backslashes and begins
12996 # with a dollar sign (not a hyphen), so the echo should work correctly.
12997 # The option is referenced via a variable to avoid confusing sed.
12998 lt_compile=`echo "$ac_compile" | $SED \
12999 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13000 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13001 -e 's:$: $lt_compiler_flag:'`
13002 (eval echo "\"\$as_me:13002: $lt_compile\"" >&5)
13003 (eval "$lt_compile" 2>conftest.err)
13005 cat conftest.err >&5
13006 echo "$as_me:13006: \$? = $ac_status" >&5
13007 if (exit $ac_status) && test -s "$ac_outfile"; then
13008 # The compiler can only warn and ignore the option if not recognized
13009 # So say no if there are warnings
13010 if test ! -s conftest.err; then
13011 lt_prog_compiler_pic_works_F77=yes
13017 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13018 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13020 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13021 case $lt_prog_compiler_pic_F77 in
13023 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13026 lt_prog_compiler_pic_F77=
13027 lt_prog_compiler_can_build_shared_F77=no
13032 # For platforms which do not support PIC, -DPIC is meaningless:
13034 lt_prog_compiler_pic_F77=
13037 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13041 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13042 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13043 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13044 echo $ECHO_N "(cached) $ECHO_C" >&6
13046 lt_cv_prog_compiler_c_o_F77=no
13047 $rm -r conftest 2>/dev/null
13051 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13053 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13054 # that will create temporary files in the current directory regardless of
13055 # the output directory. Thus, making CWD read-only will cause this test
13056 # to fail, enabling locking or at least warning the user not to do parallel
13060 lt_compiler_flag="-o out/conftest2.$ac_objext"
13061 # Insert the option either (1) after the last *FLAGS variable, or
13062 # (2) before a word containing "conftest.", or (3) at the end.
13063 # Note that $ac_compile itself does not contain backslashes and begins
13064 # with a dollar sign (not a hyphen), so the echo should work correctly.
13065 lt_compile=`echo "$ac_compile" | $SED \
13066 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13067 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13068 -e 's:$: $lt_compiler_flag:'`
13069 (eval echo "\"\$as_me:13069: $lt_compile\"" >&5)
13070 (eval "$lt_compile" 2>out/conftest.err)
13072 cat out/conftest.err >&5
13073 echo "$as_me:13073: \$? = $ac_status" >&5
13074 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13076 # The compiler can only warn and ignore the option if not recognized
13077 # So say no if there are warnings
13078 if test ! -s out/conftest.err; then
13079 lt_cv_prog_compiler_c_o_F77=yes
13083 $rm conftest* out/*
13090 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13091 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13094 hard_links="nottested"
13095 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13096 # do not overwrite the value of need_locks provided by the user
13097 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13098 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13101 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13103 ln conftest.a conftest.b 2>&5 || hard_links=no
13104 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13105 echo "$as_me:$LINENO: result: $hard_links" >&5
13106 echo "${ECHO_T}$hard_links" >&6
13107 if test "$hard_links" = no; then
13108 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13109 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13116 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13117 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13120 allow_undefined_flag_F77=
13121 enable_shared_with_static_runtimes_F77=no
13123 archive_expsym_cmds_F77=
13124 old_archive_From_new_cmds_F77=
13125 old_archive_from_expsyms_cmds_F77=
13126 export_dynamic_flag_spec_F77=
13127 whole_archive_flag_spec_F77=
13128 thread_safe_flag_spec_F77=
13129 hardcode_libdir_flag_spec_F77=
13130 hardcode_libdir_flag_spec_ld_F77=
13131 hardcode_libdir_separator_F77=
13132 hardcode_direct_F77=no
13133 hardcode_minus_L_F77=no
13134 hardcode_shlibpath_var_F77=unsupported
13135 link_all_deplibs_F77=unknown
13136 hardcode_automatic_F77=no
13138 module_expsym_cmds_F77=
13139 always_export_symbols_F77=no
13140 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13141 # include_expsyms should be a list of space-separated symbols to be *always*
13142 # included in the symbol list
13143 include_expsyms_F77=
13144 # exclude_expsyms can be an extended regexp of symbols to exclude
13145 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13146 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13147 # as well as any symbol that contains `d'.
13148 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13149 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13150 # platforms (ab)use it in PIC code, but their linkers get confused if
13151 # the symbol is explicitly referenced. Since portable code cannot
13152 # rely on this symbol name, it's probably fine to never include it in
13153 # preloaded symbol tables.
13154 extract_expsyms_cmds=
13157 cygwin* | mingw* | pw32*)
13158 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13159 # When not using gcc, we currently assume that we are using
13160 # Microsoft Visual C++.
13161 if test "$GCC" != yes; then
13171 if test "$with_gnu_ld" = yes; then
13172 # If archive_cmds runs LD, not CC, wlarc should be empty
13175 # See if GNU ld supports shared libraries.
13177 aix3* | aix4* | aix5*)
13178 # On AIX/PPC, the GNU linker is very broken
13179 if test "$host_cpu" != ia64; then
13183 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13184 *** to be unable to reliably create shared libraries on AIX.
13185 *** Therefore, libtool is disabling shared libraries support. If you
13186 *** really care for shared libraries, you may want to modify your PATH
13187 *** so that a non-GNU linker is found, and then restart.
13194 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)'
13195 hardcode_libdir_flag_spec_F77='-L$libdir'
13196 hardcode_minus_L_F77=yes
13198 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13199 # that the semantics of dynamic libraries on AmigaOS, at least up
13200 # to version 4, is to share data among multiple programs linked
13201 # with the same dynamic library. Since this doesn't match the
13202 # behavior of shared libraries on other platforms, we can't use
13208 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13209 allow_undefined_flag_F77=unsupported
13210 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13211 # support --undefined. This deserves some investigation. FIXME
13212 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13218 cygwin* | mingw* | pw32*)
13219 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13220 # as there is no search path for DLLs.
13221 hardcode_libdir_flag_spec_F77='-L$libdir'
13222 allow_undefined_flag_F77=unsupported
13223 always_export_symbols_F77=no
13224 enable_shared_with_static_runtimes_F77=yes
13225 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13227 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13228 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13229 # If the export-symbols file already is a .def file (1st line
13230 # is EXPORTS), use it as is; otherwise, prepend...
13231 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13232 cp $export_symbols $output_objdir/$soname.def;
13234 echo EXPORTS > $output_objdir/$soname.def;
13235 cat $export_symbols >> $output_objdir/$soname.def;
13237 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13244 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13245 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13248 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13249 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13254 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13258 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13259 *** create shared libraries on Solaris systems. Therefore, libtool
13260 *** is disabling shared libraries support. We urge you to upgrade GNU
13261 *** binutils to release 2.9.1 or newer. Another option is to modify
13262 *** your PATH or compiler configuration so that the native linker is
13263 *** used, and then restart.
13266 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13267 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13268 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13275 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13277 hardcode_direct_F77=yes
13278 hardcode_shlibpath_var_F77=no
13282 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13283 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13284 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13291 if test "$ld_shlibs_F77" = yes; then
13292 runpath_var=LD_RUN_PATH
13293 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13294 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13295 # ancient GNU ld didn't support --whole-archive et. al.
13296 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13297 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13299 whole_archive_flag_spec_F77=
13303 # PORTME fill in a description of your system's linker (not GNU ld)
13306 allow_undefined_flag_F77=unsupported
13307 always_export_symbols_F77=yes
13308 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'
13309 # Note: this linker hardcodes the directories in LIBPATH if there
13310 # are no directories specified by -L.
13311 hardcode_minus_L_F77=yes
13312 if test "$GCC" = yes && test -z "$link_static_flag"; then
13313 # Neither direct hardcoding nor static linking is supported with a
13315 hardcode_direct_F77=unsupported
13320 if test "$host_cpu" = ia64; then
13321 # On IA64, the linker does run time linking by default, so we don't
13322 # have to do anything special.
13323 aix_use_runtimelinking=no
13324 exp_sym_flag='-Bexport'
13327 # If we're using GNU nm, then we don't want the "-C" option.
13328 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13329 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13330 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'
13332 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'
13334 aix_use_runtimelinking=no
13336 # Test if we are trying to use run time linking or normal
13337 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13338 # need to do runtime linking.
13339 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13340 for ld_flag in $LDFLAGS; do
13341 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13342 aix_use_runtimelinking=yes
13348 exp_sym_flag='-bexport'
13349 no_entry_flag='-bnoentry'
13352 # When large executables or shared objects are built, AIX ld can
13353 # have problems creating the table of contents. If linking a library
13354 # or program results in "error TOC overflow" add -mminimal-toc to
13355 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13356 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13358 archive_cmds_F77=''
13359 hardcode_direct_F77=yes
13360 hardcode_libdir_separator_F77=':'
13361 link_all_deplibs_F77=yes
13363 if test "$GCC" = yes; then
13364 case $host_os in aix4.012|aix4.012.*)
13365 # We only want to do this on AIX 4.2 and lower, the check
13366 # below for broken collect2 doesn't work under 4.3+
13367 collect2name=`${CC} -print-prog-name=collect2`
13368 if test -f "$collect2name" && \
13369 strings "$collect2name" | grep resolve_lib_name >/dev/null
13371 # We have reworked collect2
13372 hardcode_direct_F77=yes
13374 # We have old collect2
13375 hardcode_direct_F77=unsupported
13376 # It fails to find uninstalled libraries when the uninstalled
13377 # path is not listed in the libpath. Setting hardcode_minus_L
13378 # to unsupported forces relinking
13379 hardcode_minus_L_F77=yes
13380 hardcode_libdir_flag_spec_F77='-L$libdir'
13381 hardcode_libdir_separator_F77=
13384 shared_flag='-shared'
13387 if test "$host_cpu" = ia64; then
13388 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13389 # chokes on -Wl,-G. The following line is correct:
13392 if test "$aix_use_runtimelinking" = yes; then
13393 shared_flag='${wl}-G'
13395 shared_flag='${wl}-bM:SRE'
13400 # It seems that -bexpall does not export symbols beginning with
13401 # underscore (_), so it is better to generate a list of symbols to export.
13402 always_export_symbols_F77=yes
13403 if test "$aix_use_runtimelinking" = yes; then
13404 # Warning - without using the other runtime loading flags (-brtl),
13405 # -berok will link without error, but may produce a broken library.
13406 allow_undefined_flag_F77='-berok'
13407 # Determine the default libpath from the value encoded in an empty executable.
13408 cat >conftest.$ac_ext <<_ACEOF
13413 rm -f conftest.$ac_objext conftest$ac_exeext
13414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13415 (eval $ac_link) 2>&5
13417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13418 (exit $ac_status); } &&
13419 { ac_try='test -s conftest$ac_exeext'
13420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13421 (eval $ac_try) 2>&5
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); }; }; then
13426 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13428 # Check for a 64-bit object if we didn't find anything.
13429 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; }
13432 echo "$as_me: failed program was:" >&5
13433 sed 's/^/| /' conftest.$ac_ext >&5
13436 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13437 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13439 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13440 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"
13442 if test "$host_cpu" = ia64; then
13443 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13444 allow_undefined_flag_F77="-z nodefs"
13445 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"
13447 # Determine the default libpath from the value encoded in an empty executable.
13448 cat >conftest.$ac_ext <<_ACEOF
13453 rm -f conftest.$ac_objext conftest$ac_exeext
13454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13455 (eval $ac_link) 2>&5
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); } &&
13459 { ac_try='test -s conftest$ac_exeext'
13460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13461 (eval $ac_try) 2>&5
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); }; }; then
13466 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13468 # Check for a 64-bit object if we didn't find anything.
13469 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; }
13472 echo "$as_me: failed program was:" >&5
13473 sed 's/^/| /' conftest.$ac_ext >&5
13476 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13477 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13479 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13480 # Warning - without using the other run time loading flags,
13481 # -berok will link without error, but may produce a broken library.
13482 no_undefined_flag_F77=' ${wl}-bernotok'
13483 allow_undefined_flag_F77=' ${wl}-berok'
13484 # -bexpall does not export symbols beginning with underscore (_)
13485 always_export_symbols_F77=yes
13486 # Exported symbols can be pulled into shared objects from archives
13487 whole_archive_flag_spec_F77=' '
13488 archive_cmds_need_lc_F77=yes
13489 # This is similar to how AIX traditionally builds it's shared libraries.
13490 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'
13496 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)'
13497 hardcode_libdir_flag_spec_F77='-L$libdir'
13498 hardcode_minus_L_F77=yes
13499 # see comment about different semantics on the GNU ld section
13504 export_dynamic_flag_spec_F77=-rdynamic
13507 cygwin* | mingw* | pw32*)
13508 # When not using gcc, we currently assume that we are using
13509 # Microsoft Visual C++.
13510 # hardcode_libdir_flag_spec is actually meaningless, as there is
13511 # no search path for DLLs.
13512 hardcode_libdir_flag_spec_F77=' '
13513 allow_undefined_flag_F77=unsupported
13514 # Tell ltmain to make .lib files, not .a files.
13516 # Tell ltmain to make .dll files, not .so files.
13518 # FIXME: Setting linknames here is a bad hack.
13519 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13520 # The linker will automatically build a .lib file if we build a DLL.
13521 old_archive_From_new_cmds_F77='true'
13522 # FIXME: Should let the user specify the lib program.
13523 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13524 fix_srcfile_path='`cygpath -w "$srcfile"`'
13525 enable_shared_with_static_runtimes_F77=yes
13528 darwin* | rhapsody*)
13529 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13530 archive_cmds_need_lc_F77=no
13532 rhapsody* | darwin1.[012])
13533 allow_undefined_flag_F77='-undefined suppress'
13536 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13539 # FIXME: Relying on posixy $() will cause problems for
13540 # cross-compilation, but unfortunately the echo tests do not
13541 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13542 # `"' quotes if we put them in here... so don't!
13543 lt_int_apple_cc_single_mod=no
13544 output_verbose_link_cmd='echo'
13545 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13546 lt_int_apple_cc_single_mod=yes
13548 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13549 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13551 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'
13553 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13554 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13555 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13556 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}'
13558 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}'
13560 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}'
13561 hardcode_direct_F77=no
13562 hardcode_automatic_F77=yes
13563 hardcode_shlibpath_var_F77=unsupported
13564 whole_archive_flag_spec_F77='-all_load $convenience'
13565 link_all_deplibs_F77=yes
13570 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13571 hardcode_libdir_flag_spec_F77='-L$libdir'
13572 hardcode_shlibpath_var_F77=no
13579 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13580 # support. Future versions do this automatically, but an explicit c++rt0.o
13581 # does not break anything, and helps significantly (at the cost of a little
13584 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13585 hardcode_libdir_flag_spec_F77='-R$libdir'
13586 hardcode_direct_F77=yes
13587 hardcode_shlibpath_var_F77=no
13590 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13592 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13593 hardcode_direct_F77=yes
13594 hardcode_minus_L_F77=yes
13595 hardcode_shlibpath_var_F77=no
13598 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13600 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13601 hardcode_libdir_flag_spec_F77='-R$libdir'
13602 hardcode_direct_F77=yes
13603 hardcode_shlibpath_var_F77=no
13607 if test "$GCC" = yes; then
13608 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'
13610 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'
13612 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13613 hardcode_libdir_separator_F77=:
13614 hardcode_direct_F77=yes
13616 # hardcode_minus_L: Not really in the search PATH,
13617 # but as the default location of the library.
13618 hardcode_minus_L_F77=yes
13619 export_dynamic_flag_spec_F77='${wl}-E'
13623 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13624 case "$host_cpu" in
13626 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13629 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13633 case "$host_cpu" in
13635 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13638 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13642 if test "$with_gnu_ld" = no; then
13643 case "$host_cpu" in
13645 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13646 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13647 hardcode_libdir_separator_F77=:
13648 hardcode_direct_F77=no
13649 hardcode_shlibpath_var_F77=no
13652 hardcode_libdir_flag_spec_F77='-L$libdir'
13653 hardcode_direct_F77=no
13654 hardcode_shlibpath_var_F77=no
13656 # hardcode_minus_L: Not really in the search PATH,
13657 # but as the default location of the library.
13658 hardcode_minus_L_F77=yes
13661 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13662 hardcode_libdir_separator_F77=:
13663 hardcode_direct_F77=yes
13664 export_dynamic_flag_spec_F77='${wl}-E'
13666 # hardcode_minus_L: Not really in the search PATH,
13667 # but as the default location of the library.
13668 hardcode_minus_L_F77=yes
13674 irix5* | irix6* | nonstopux*)
13675 if test "$GCC" = yes; then
13676 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'
13678 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'
13679 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13681 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13682 hardcode_libdir_separator_F77=:
13683 link_all_deplibs_F77=yes
13687 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13688 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13690 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13692 hardcode_libdir_flag_spec_F77='-R$libdir'
13693 hardcode_direct_F77=yes
13694 hardcode_shlibpath_var_F77=no
13698 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13699 hardcode_direct_F77=yes
13700 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13701 hardcode_libdir_separator_F77=:
13702 hardcode_shlibpath_var_F77=no
13706 hardcode_direct_F77=yes
13707 hardcode_shlibpath_var_F77=no
13708 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13709 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13710 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13711 export_dynamic_flag_spec_F77='${wl}-E'
13714 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13715 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13716 hardcode_libdir_flag_spec_F77='-R$libdir'
13719 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13720 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13727 hardcode_libdir_flag_spec_F77='-L$libdir'
13728 hardcode_minus_L_F77=yes
13729 allow_undefined_flag_F77=unsupported
13730 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'
13731 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13735 if test "$GCC" = yes; then
13736 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13737 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'
13739 allow_undefined_flag_F77=' -expect_unresolved \*'
13740 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'
13742 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13743 hardcode_libdir_separator_F77=:
13746 osf4* | osf5*) # as osf3* with the addition of -msym flag
13747 if test "$GCC" = yes; then
13748 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13749 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'
13750 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13752 allow_undefined_flag_F77=' -expect_unresolved \*'
13753 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'
13754 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~
13755 $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'
13757 # Both c and cxx compiler support -rpath directly
13758 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13760 hardcode_libdir_separator_F77=:
13764 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13765 hardcode_shlibpath_var_F77=no
13766 export_dynamic_flag_spec_F77='${wl}-Bexport'
13767 runpath_var=LD_RUN_PATH
13768 hardcode_runpath_var=yes
13772 no_undefined_flag_F77=' -z text'
13773 if test "$GCC" = yes; then
13774 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13775 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13776 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13778 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13779 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13780 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13782 hardcode_libdir_flag_spec_F77='-R$libdir'
13783 hardcode_shlibpath_var_F77=no
13785 solaris2.[0-5] | solaris2.[0-5].*) ;;
13786 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13787 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13789 link_all_deplibs_F77=yes
13793 if test "x$host_vendor" = xsequent; then
13794 # Use $CC to link under sequent, because it throws in some extra .o
13795 # files that make .init and .fini sections work.
13796 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13798 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13800 hardcode_libdir_flag_spec_F77='-L$libdir'
13801 hardcode_direct_F77=yes
13802 hardcode_minus_L_F77=yes
13803 hardcode_shlibpath_var_F77=no
13807 case $host_vendor in
13809 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13810 hardcode_direct_F77=yes # is this really true???
13813 ## LD is ld it makes a PLAMLIB
13814 ## CC just makes a GrossModule.
13815 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13816 reload_cmds_F77='$CC -r -o $output$reload_objs'
13817 hardcode_direct_F77=no
13820 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13821 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13824 runpath_var='LD_RUN_PATH'
13825 hardcode_shlibpath_var_F77=no
13829 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13830 hardcode_shlibpath_var_F77=no
13831 export_dynamic_flag_spec_F77='-Bexport'
13835 if test -d /usr/nec; then
13836 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13837 hardcode_shlibpath_var_F77=no
13838 runpath_var=LD_RUN_PATH
13839 hardcode_runpath_var=yes
13845 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13846 hardcode_direct_F77=yes
13847 hardcode_minus_L_F77=no
13848 hardcode_shlibpath_var_F77=no
13849 hardcode_runpath_var=yes
13850 runpath_var=LD_RUN_PATH
13853 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13854 no_undefined_flag_F77='${wl}-z ${wl}text'
13855 if test "$GCC" = yes; then
13856 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13858 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13860 runpath_var='LD_RUN_PATH'
13861 hardcode_shlibpath_var_F77=no
13865 no_undefined_flag_F77=' -z text'
13866 # $CC -shared without GNU ld will not create a library from C++
13867 # object files and a static libstdc++, better avoid it by now
13868 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13869 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13870 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13871 hardcode_libdir_flag_spec_F77=
13872 hardcode_shlibpath_var_F77=no
13873 runpath_var='LD_RUN_PATH'
13877 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13878 hardcode_libdir_flag_spec_F77='-L$libdir'
13879 hardcode_shlibpath_var_F77=no
13888 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13889 echo "${ECHO_T}$ld_shlibs_F77" >&6
13890 test "$ld_shlibs_F77" = no && can_build_shared=no
13892 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13893 if test "$GCC" = yes; then
13894 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13898 # Do we need to explicitly link libc?
13900 case "x$archive_cmds_need_lc_F77" in
13902 # Assume -lc should be added
13903 archive_cmds_need_lc_F77=yes
13905 if test "$enable_shared" = yes && test "$GCC" = yes; then
13906 case $archive_cmds_F77 in
13908 # FIXME: we may have to deal with multi-command sequences.
13911 # Test whether the compiler implicitly links with -lc since on some
13912 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13913 # to ld, don't add -lc before -lgcc.
13914 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13915 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13917 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13920 (eval $ac_compile) 2>&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); } 2>conftest.err; then
13926 libobjs=conftest.$ac_objext
13928 wl=$lt_prog_compiler_wl_F77
13934 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13935 allow_undefined_flag_F77=
13936 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13937 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); }
13942 archive_cmds_need_lc_F77=no
13944 archive_cmds_need_lc_F77=yes
13946 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13948 cat conftest.err 1>&5
13951 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13952 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13959 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13960 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13961 hardcode_action_F77=
13962 if test -n "$hardcode_libdir_flag_spec_F77" || \
13963 test -n "$runpath_var F77" || \
13964 test "X$hardcode_automatic_F77"="Xyes" ; then
13966 # We can hardcode non-existant directories.
13967 if test "$hardcode_direct_F77" != no &&
13968 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13969 # have to relink, otherwise we might link with an installed library
13970 # when we should be linking with a yet-to-be-installed one
13971 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
13972 test "$hardcode_minus_L_F77" != no; then
13973 # Linking always hardcodes the temporary library directory.
13974 hardcode_action_F77=relink
13976 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13977 hardcode_action_F77=immediate
13980 # We cannot hardcode anything, or else we can only hardcode existing
13982 hardcode_action_F77=unsupported
13984 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
13985 echo "${ECHO_T}$hardcode_action_F77" >&6
13987 if test "$hardcode_action_F77" = relink; then
13988 # Fast installation is not supported
13989 enable_fast_install=no
13990 elif test "$shlibpath_overrides_runpath" = yes ||
13991 test "$enable_shared" = no; then
13992 # Fast installation is not necessary
13993 enable_fast_install=needless
13998 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13999 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14000 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14001 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14002 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14003 echo "$as_me:$LINENO: result: yes" >&5
14004 echo "${ECHO_T}yes" >&6
14006 # FIXME - insert some real tests, host_os isn't really good enough
14009 if test -n "$STRIP" ; then
14010 striplib="$STRIP -x"
14011 echo "$as_me:$LINENO: result: yes" >&5
14012 echo "${ECHO_T}yes" >&6
14014 echo "$as_me:$LINENO: result: no" >&5
14015 echo "${ECHO_T}no" >&6
14019 echo "$as_me:$LINENO: result: no" >&5
14020 echo "${ECHO_T}no" >&6
14025 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14026 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14027 library_names_spec=
14028 libname_spec='lib$name'
14032 postuninstall_cmds=
14036 shlibpath_overrides_runpath=unknown
14038 dynamic_linker="$host_os ld.so"
14039 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14040 if test "$GCC" = yes; then
14041 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14042 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14043 # if the path contains ";" then we assume it to be the separator
14044 # otherwise default to the standard path separator (i.e. ":") - it is
14045 # assumed that no part of a normal pathname contains ";" but that should
14046 # okay in the real world where ";" in dirpaths is itself problematic.
14047 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14049 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14052 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14054 need_lib_prefix=unknown
14055 hardcode_into_libs=no
14057 # when you set need_version to no, make sure it does not cause -set_version
14058 # flags to be left without arguments
14059 need_version=unknown
14064 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14065 shlibpath_var=LIBPATH
14067 # AIX 3 has no versioning support, so we append a major version to the name.
14068 soname_spec='${libname}${release}${shared_ext}$major'
14075 hardcode_into_libs=yes
14076 if test "$host_cpu" = ia64; then
14077 # AIX 5 supports IA64
14078 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14079 shlibpath_var=LD_LIBRARY_PATH
14081 # With GCC up to 2.95.x, collect2 would create an import file
14082 # for dependence libraries. The import file would start with
14083 # the line `#! .'. This would cause the generated library to
14084 # depend on `.', always an invalid library. This was fixed in
14085 # development snapshots of GCC prior to 3.0.
14087 aix4 | aix4.[01] | aix4.[01].*)
14088 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14090 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14093 can_build_shared=no
14097 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14098 # soname into executable. Probably we can add versioning support to
14099 # collect2, so additional links can be useful in future.
14100 if test "$aix_use_runtimelinking" = yes; then
14101 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14102 # instead of lib<name>.a to let people know that these are not
14103 # typical AIX shared libraries.
14104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14106 # We preserve .a as extension for shared libraries through AIX4.2
14107 # and later when we are not doing run time linking.
14108 library_names_spec='${libname}${release}.a $libname.a'
14109 soname_spec='${libname}${release}${shared_ext}$major'
14111 shlibpath_var=LIBPATH
14116 library_names_spec='$libname.ixlibrary $libname.a'
14117 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14118 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'
14122 library_names_spec='${libname}${shared_ext}'
14123 dynamic_linker="$host_os ld.so"
14124 shlibpath_var=LIBRARY_PATH
14130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14131 soname_spec='${libname}${release}${shared_ext}$major'
14132 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14133 shlibpath_var=LD_LIBRARY_PATH
14134 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14135 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14136 # the default ld.so.conf also contains /usr/contrib/lib and
14137 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14138 # libtool to hard-code these into programs
14141 cygwin* | mingw* | pw32*)
14142 version_type=windows
14147 case $GCC,$host_os in
14148 yes,cygwin* | yes,mingw* | yes,pw32*)
14149 library_names_spec='$libname.dll.a'
14150 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14151 postinstall_cmds='base_file=`basename \${file}`~
14152 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14153 dldir=$destdir/`dirname \$dlpath`~
14154 test -d \$dldir || mkdir -p \$dldir~
14155 $install_prog $dir/$dlname \$dldir/$dlname'
14156 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14157 dlpath=$dir/\$dldll~
14159 shlibpath_overrides_runpath=yes
14163 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14164 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14165 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14168 # MinGW DLLs use traditional 'lib' prefix
14169 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14170 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14171 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14172 # It is most probably a Windows format PATH printed by
14173 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14174 # path with ; separators, and with drive letters. We can handle the
14175 # drive letters (cygwin fileutils understands them), so leave them,
14176 # especially as we might pass files found there to a mingw objdump,
14177 # which wouldn't understand a cygwinified path. Ahh.
14178 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14180 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14184 # pw32 DLLs use 'pw' prefix rather than 'lib'
14185 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14191 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14194 dynamic_linker='Win32 ld.exe'
14195 # FIXME: first we should search . and the directory the executable is in
14199 darwin* | rhapsody*)
14200 dynamic_linker="$host_os dyld"
14201 version_type=darwin
14204 # FIXME: Relying on posixy $() will cause problems for
14205 # cross-compilation, but unfortunately the echo tests do not
14206 # yet detect zsh echo's removal of \ escapes.
14207 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14208 soname_spec='${libname}${release}${major}$shared_ext'
14209 shlibpath_overrides_runpath=yes
14210 shlibpath_var=DYLD_LIBRARY_PATH
14211 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14212 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14213 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14214 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"`
14216 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14223 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14224 soname_spec='${libname}${release}${shared_ext}$major'
14225 shlibpath_var=LD_LIBRARY_PATH
14233 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14234 version_type=freebsd-$objformat
14235 case $version_type in
14237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14242 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14246 shlibpath_var=LD_LIBRARY_PATH
14249 shlibpath_overrides_runpath=yes
14251 freebsd3.01* | freebsdelf3.01*)
14252 shlibpath_overrides_runpath=yes
14253 hardcode_into_libs=yes
14256 shlibpath_overrides_runpath=no
14257 hardcode_into_libs=yes
14266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14267 soname_spec='${libname}${release}${shared_ext}$major'
14268 shlibpath_var=LD_LIBRARY_PATH
14269 hardcode_into_libs=yes
14272 hpux9* | hpux10* | hpux11*)
14273 # Give a soname corresponding to the major version so that dld.sl refuses to
14274 # link against other versions.
14278 case "$host_cpu" in
14281 hardcode_into_libs=yes
14282 dynamic_linker="$host_os dld.so"
14283 shlibpath_var=LD_LIBRARY_PATH
14284 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14286 soname_spec='${libname}${release}${shared_ext}$major'
14287 if test "X$HPUX_IA64_MODE" = X32; then
14288 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14290 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14292 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14296 hardcode_into_libs=yes
14297 dynamic_linker="$host_os dld.sl"
14298 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14299 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14301 soname_spec='${libname}${release}${shared_ext}$major'
14302 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14303 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14307 dynamic_linker="$host_os dld.sl"
14308 shlibpath_var=SHLIB_PATH
14309 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14311 soname_spec='${libname}${release}${shared_ext}$major'
14314 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14315 postinstall_cmds='chmod 555 $lib'
14318 irix5* | irix6* | nonstopux*)
14320 nonstopux*) version_type=nonstopux ;;
14322 if test "$lt_cv_prog_gnu_ld" = yes; then
14330 soname_spec='${libname}${release}${shared_ext}$major'
14331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14333 irix5* | nonstopux*)
14334 libsuff= shlibsuff=
14337 case $LD in # libtool.m4 will add one of these switches to LD
14338 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14339 libsuff= shlibsuff= libmagic=32-bit;;
14340 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14341 libsuff=32 shlibsuff=N32 libmagic=N32;;
14342 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14343 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14344 *) libsuff= shlibsuff= libmagic=never-match;;
14348 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14349 shlibpath_overrides_runpath=no
14350 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14351 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14352 hardcode_into_libs=yes
14355 # No shared lib support for Linux oldld, aout, or coff.
14356 linux*oldld* | linux*aout* | linux*coff*)
14360 # This must be Linux ELF.
14365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14366 soname_spec='${libname}${release}${shared_ext}$major'
14367 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14368 shlibpath_var=LD_LIBRARY_PATH
14369 shlibpath_overrides_runpath=no
14370 # This implies no fast_install, which is unacceptable.
14371 # Some rework will be needed to allow for fast_install
14372 # before this can be enabled.
14373 hardcode_into_libs=yes
14375 # We used to test for /lib/ld.so.1 and disable shared libraries on
14376 # powerpc, because MkLinux only supported shared libraries with the
14377 # GNU dynamic linker. Since this was broken with cross compilers,
14378 # most powerpc-linux boxes support dynamic linking these days and
14379 # people can always --disable-shared, the test was removed, and we
14380 # assume the GNU/Linux dynamic linker is in use.
14381 dynamic_linker='GNU/Linux ld.so'
14388 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14390 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14391 dynamic_linker='NetBSD (a.out) ld.so'
14393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14394 soname_spec='${libname}${release}${shared_ext}$major'
14395 dynamic_linker='NetBSD ld.elf_so'
14397 shlibpath_var=LD_LIBRARY_PATH
14398 shlibpath_overrides_runpath=yes
14399 hardcode_into_libs=yes
14404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14405 shlibpath_var=LD_LIBRARY_PATH
14406 shlibpath_overrides_runpath=yes
14413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14414 soname_spec='${libname}${release}${shared_ext}$major'
14415 shlibpath_var=LD_LIBRARY_PATH
14416 shlibpath_overrides_runpath=yes
14423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14424 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14425 shlibpath_var=LD_LIBRARY_PATH
14426 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14428 openbsd2.[89] | openbsd2.[89].*)
14429 shlibpath_overrides_runpath=no
14432 shlibpath_overrides_runpath=yes
14436 shlibpath_overrides_runpath=yes
14441 libname_spec='$name'
14444 library_names_spec='$libname${shared_ext} $libname.a'
14445 dynamic_linker='OS/2 ld.exe'
14446 shlibpath_var=LIBPATH
14449 osf3* | osf4* | osf5*)
14453 soname_spec='${libname}${release}${shared_ext}$major'
14454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14455 shlibpath_var=LD_LIBRARY_PATH
14456 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14457 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14462 soname_spec='${libname}${release}${shared_ext}$major'
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14464 shlibpath_var=LD_LIBRARY_PATH
14471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14472 soname_spec='${libname}${release}${shared_ext}$major'
14473 shlibpath_var=LD_LIBRARY_PATH
14474 shlibpath_overrides_runpath=yes
14475 hardcode_into_libs=yes
14476 # ldd complains unless libraries are executable
14477 postinstall_cmds='chmod +x $lib'
14482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14483 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14484 shlibpath_var=LD_LIBRARY_PATH
14485 shlibpath_overrides_runpath=yes
14486 if test "$with_gnu_ld" = yes; then
14492 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14495 soname_spec='${libname}${release}${shared_ext}$major'
14496 shlibpath_var=LD_LIBRARY_PATH
14497 case $host_vendor in
14499 shlibpath_overrides_runpath=no
14501 export_dynamic_flag_spec='${wl}-Blargedynsym'
14502 runpath_var=LD_RUN_PATH
14510 shlibpath_overrides_runpath=no
14511 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14517 if test -d /usr/nec ;then
14519 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14520 soname_spec='$libname${shared_ext}.$major'
14521 shlibpath_var=LD_LIBRARY_PATH
14527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14528 soname_spec='${libname}${release}${shared_ext}$major'
14529 shlibpath_var=LD_LIBRARY_PATH
14536 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14537 echo "${ECHO_T}$dynamic_linker" >&6
14538 test "$dynamic_linker" = no && can_build_shared=no
14541 # The else clause should only fire when bootstrapping the
14542 # libtool distribution, otherwise you forgot to ship ltmain.sh
14543 # with your package, and you will get complaints that there are
14544 # no rules to generate ltmain.sh.
14545 if test -f "$ltmain"; then
14546 # See if we are running on zsh, and set the options which allow our commands through
14547 # without removal of \ escapes.
14548 if test -n "${ZSH_VERSION+set}" ; then
14549 setopt NO_GLOB_SUBST
14551 # Now quote all the things that may contain metacharacters while being
14552 # careful not to overquote the AC_SUBSTed values. We take copies of the
14553 # variables and quote the copies for generation of the libtool script.
14554 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14555 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14556 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14557 deplibs_check_method reload_flag reload_cmds need_locks \
14558 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14559 lt_cv_sys_global_symbol_to_c_name_address \
14560 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14561 old_postinstall_cmds old_postuninstall_cmds \
14565 lt_prog_compiler_wl_F77 \
14566 lt_prog_compiler_pic_F77 \
14567 lt_prog_compiler_static_F77 \
14568 lt_prog_compiler_no_builtin_flag_F77 \
14569 export_dynamic_flag_spec_F77 \
14570 thread_safe_flag_spec_F77 \
14571 whole_archive_flag_spec_F77 \
14572 enable_shared_with_static_runtimes_F77 \
14573 old_archive_cmds_F77 \
14574 old_archive_from_new_cmds_F77 \
14575 predep_objects_F77 \
14576 postdep_objects_F77 \
14579 compiler_lib_search_path_F77 \
14581 archive_expsym_cmds_F77 \
14582 postinstall_cmds_F77 \
14583 postuninstall_cmds_F77 \
14584 old_archive_from_expsyms_cmds_F77 \
14585 allow_undefined_flag_F77 \
14586 no_undefined_flag_F77 \
14587 export_symbols_cmds_F77 \
14588 hardcode_libdir_flag_spec_F77 \
14589 hardcode_libdir_flag_spec_ld_F77 \
14590 hardcode_libdir_separator_F77 \
14591 hardcode_automatic_F77 \
14593 module_expsym_cmds_F77 \
14594 lt_cv_prog_compiler_c_o_F77 \
14595 exclude_expsyms_F77 \
14596 include_expsyms_F77; do
14599 old_archive_cmds_F77 | \
14600 old_archive_from_new_cmds_F77 | \
14601 archive_cmds_F77 | \
14602 archive_expsym_cmds_F77 | \
14603 module_cmds_F77 | \
14604 module_expsym_cmds_F77 | \
14605 old_archive_from_expsyms_cmds_F77 | \
14606 export_symbols_cmds_F77 | \
14607 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14608 postinstall_cmds | postuninstall_cmds | \
14609 old_postinstall_cmds | old_postuninstall_cmds | \
14610 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14611 # Double-quote double-evaled strings.
14612 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14615 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14621 *'\$0 --fallback-echo"')
14622 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14628 cat <<__EOF__ >> "$cfgfile"
14629 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14631 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14633 # Shell to use when invoking shell scripts.
14636 # Whether or not to build shared libraries.
14637 build_libtool_libs=$enable_shared
14639 # Whether or not to build static libraries.
14640 build_old_libs=$enable_static
14642 # Whether or not to add -lc for building shared libraries.
14643 build_libtool_need_lc=$archive_cmds_need_lc_F77
14645 # Whether or not to disallow shared libs when runtime libs are static
14646 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14648 # Whether or not to optimize for fast installation.
14649 fast_install=$enable_fast_install
14652 host_alias=$host_alias
14655 # An echo program that does not interpret backslashes.
14660 AR_FLAGS=$lt_AR_FLAGS
14665 # A language-specific compiler.
14666 CC=$lt_compiler_F77
14668 # Is the compiler the GNU C compiler?
14674 # The linker used to build libraries.
14677 # Whether we need hard or soft links.
14680 # A BSD-compatible nm program.
14683 # A symbol stripping program
14686 # Used to examine libraries when file_magic_cmd begins "file"
14687 MAGIC_CMD=$MAGIC_CMD
14689 # Used on cygwin: DLL creation program.
14692 # Used on cygwin: object dumper.
14695 # Used on cygwin: assembler.
14698 # The name of the directory that contains temporary libtool files.
14701 # How to create reloadable object files.
14702 reload_flag=$lt_reload_flag
14703 reload_cmds=$lt_reload_cmds
14705 # How to pass a linker flag through the compiler.
14706 wl=$lt_lt_prog_compiler_wl_F77
14708 # Object file suffix (normally "o").
14709 objext="$ac_objext"
14711 # Old archive suffix (normally "a").
14714 # Shared library suffix (normally ".so").
14717 # Executable file suffix (normally "").
14720 # Additional compiler flags for building library objects.
14721 pic_flag=$lt_lt_prog_compiler_pic_F77
14724 # What is the maximum length of a command?
14725 max_cmd_len=$lt_cv_sys_max_cmd_len
14727 # Does compiler simultaneously support -c and -o options?
14728 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14730 # Must we lock files when doing compilation ?
14731 need_locks=$lt_need_locks
14733 # Do we need the lib prefix for modules?
14734 need_lib_prefix=$need_lib_prefix
14736 # Do we need a version for libraries?
14737 need_version=$need_version
14739 # Whether dlopen is supported.
14740 dlopen_support=$enable_dlopen
14742 # Whether dlopen of programs is supported.
14743 dlopen_self=$enable_dlopen_self
14745 # Whether dlopen of statically linked programs is supported.
14746 dlopen_self_static=$enable_dlopen_self_static
14748 # Compiler flag to prevent dynamic linking.
14749 link_static_flag=$lt_lt_prog_compiler_static_F77
14751 # Compiler flag to turn off builtin functions.
14752 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14754 # Compiler flag to allow reflexive dlopens.
14755 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14757 # Compiler flag to generate shared objects directly from archives.
14758 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14760 # Compiler flag to generate thread-safe objects.
14761 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14763 # Library versioning type.
14764 version_type=$version_type
14766 # Format of library name prefix.
14767 libname_spec=$lt_libname_spec
14769 # List of archive names. First name is the real one, the rest are links.
14770 # The last name is the one that the linker finds with -lNAME.
14771 library_names_spec=$lt_library_names_spec
14773 # The coded name of the library, if different from the real name.
14774 soname_spec=$lt_soname_spec
14776 # Commands used to build and install an old-style archive.
14778 old_archive_cmds=$lt_old_archive_cmds_F77
14779 old_postinstall_cmds=$lt_old_postinstall_cmds
14780 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14782 # Create an old-style archive from a shared archive.
14783 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14785 # Create a temporary old-style archive to link instead of a shared archive.
14786 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14788 # Commands used to build and install a shared archive.
14789 archive_cmds=$lt_archive_cmds_F77
14790 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14791 postinstall_cmds=$lt_postinstall_cmds
14792 postuninstall_cmds=$lt_postuninstall_cmds
14794 # Commands used to build a loadable module (assumed same as above if empty)
14795 module_cmds=$lt_module_cmds_F77
14796 module_expsym_cmds=$lt_module_expsym_cmds_F77
14798 # Commands to strip libraries.
14799 old_striplib=$lt_old_striplib
14800 striplib=$lt_striplib
14802 # Dependencies to place before the objects being linked to create a
14804 predep_objects=$lt_predep_objects_F77
14806 # Dependencies to place after the objects being linked to create a
14808 postdep_objects=$lt_postdep_objects_F77
14810 # Dependencies to place before the objects being linked to create a
14812 predeps=$lt_predeps_F77
14814 # Dependencies to place after the objects being linked to create a
14816 postdeps=$lt_postdeps_F77
14818 # The library search path used internally by the compiler when linking
14819 # a shared library.
14820 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14822 # Method to check whether dependent libraries are shared objects.
14823 deplibs_check_method=$lt_deplibs_check_method
14825 # Command to use when deplibs_check_method == file_magic.
14826 file_magic_cmd=$lt_file_magic_cmd
14828 # Flag that allows shared libraries with undefined symbols to be built.
14829 allow_undefined_flag=$lt_allow_undefined_flag_F77
14831 # Flag that forces no undefined symbols.
14832 no_undefined_flag=$lt_no_undefined_flag_F77
14834 # Commands used to finish a libtool library installation in a directory.
14835 finish_cmds=$lt_finish_cmds
14837 # Same as above, but a single script fragment to be evaled but not shown.
14838 finish_eval=$lt_finish_eval
14840 # Take the output of nm and produce a listing of raw symbols and C names.
14841 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14843 # Transform the output of nm in a proper C declaration
14844 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14846 # Transform the output of nm in a C name address pair
14847 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14849 # This is the shared library runtime path variable.
14850 runpath_var=$runpath_var
14852 # This is the shared library path variable.
14853 shlibpath_var=$shlibpath_var
14855 # Is shlibpath searched before the hard-coded library search path?
14856 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14858 # How to hardcode a shared library path into an executable.
14859 hardcode_action=$hardcode_action_F77
14861 # Whether we should hardcode library paths into libraries.
14862 hardcode_into_libs=$hardcode_into_libs
14864 # Flag to hardcode \$libdir into a binary during linking.
14865 # This must work even if \$libdir does not exist.
14866 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14868 # If ld is used when linking, flag to hardcode \$libdir into
14869 # a binary during linking. This must work even if \$libdir does
14871 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14873 # Whether we need a single -rpath flag with a separated argument.
14874 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14876 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14877 # resulting binary.
14878 hardcode_direct=$hardcode_direct_F77
14880 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14881 # resulting binary.
14882 hardcode_minus_L=$hardcode_minus_L_F77
14884 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14885 # the resulting binary.
14886 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14888 # Set to yes if building a shared library automatically hardcodes DIR into the library
14889 # and all subsequent libraries and executables linked against it.
14890 hardcode_automatic=$hardcode_automatic_F77
14892 # Variables whose values should be saved in libtool wrapper scripts and
14893 # restored at relink time.
14894 variables_saved_for_relink="$variables_saved_for_relink"
14896 # Whether libtool must link a program against all its dependency libraries.
14897 link_all_deplibs=$link_all_deplibs_F77
14899 # Compile-time system search path for libraries
14900 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14902 # Run-time system search path for libraries
14903 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14905 # Fix the shell variable \$srcfile for the compiler.
14906 fix_srcfile_path="$fix_srcfile_path_F77"
14908 # Set to yes if exported symbols are required.
14909 always_export_symbols=$always_export_symbols_F77
14911 # The commands to list exported symbols.
14912 export_symbols_cmds=$lt_export_symbols_cmds_F77
14914 # The commands to extract the exported symbol list from a shared archive.
14915 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14917 # Symbols that should not be listed in the preloaded symbols.
14918 exclude_expsyms=$lt_exclude_expsyms_F77
14920 # Symbols that must always be exported.
14921 include_expsyms=$lt_include_expsyms_F77
14923 # ### END LIBTOOL TAG CONFIG: $tagname
14929 # If there is no Makefile yet, we rely on a make rule to execute
14930 # `config.status --recheck' to rerun these tests and create the
14931 # libtool script then.
14932 test -f Makefile && make "$ltmain"
14937 ac_cpp='$CPP $CPPFLAGS'
14938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14950 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14954 # Source file extension for Java test sources.
14957 # Object file extension for compiled Java test sources.
14961 # Code to be used in simple compile tests
14962 lt_simple_compile_test_code="class foo {}\n"
14964 # Code to be used in simple link tests
14965 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
14967 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14969 # If no C compiler was specified, use CC.
14972 # Allow CC to be a program name with arguments.
14976 # Allow CC to be a program name with arguments.
14982 # GCJ did not exist at the time GCC didn't implicitly link libc in.
14983 archive_cmds_need_lc_GCJ=no
14986 ## There is no encapsulation within the following macros, do not change
14987 ## the running order or otherwise move them around unless you know exactly
14988 ## what you are doing...
14990 lt_prog_compiler_no_builtin_flag_GCJ=
14992 if test "$GCC" = yes; then
14993 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
14995 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
14996 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
14997 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14998 echo $ECHO_N "(cached) $ECHO_C" >&6
15000 lt_cv_prog_compiler_rtti_exceptions=no
15001 ac_outfile=conftest.$ac_objext
15002 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15003 lt_compiler_flag="-fno-rtti -fno-exceptions"
15004 # Insert the option either (1) after the last *FLAGS variable, or
15005 # (2) before a word containing "conftest.", or (3) at the end.
15006 # Note that $ac_compile itself does not contain backslashes and begins
15007 # with a dollar sign (not a hyphen), so the echo should work correctly.
15008 # The option is referenced via a variable to avoid confusing sed.
15009 lt_compile=`echo "$ac_compile" | $SED \
15010 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15011 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15012 -e 's:$: $lt_compiler_flag:'`
15013 (eval echo "\"\$as_me:15013: $lt_compile\"" >&5)
15014 (eval "$lt_compile" 2>conftest.err)
15016 cat conftest.err >&5
15017 echo "$as_me:15017: \$? = $ac_status" >&5
15018 if (exit $ac_status) && test -s "$ac_outfile"; then
15019 # The compiler can only warn and ignore the option if not recognized
15020 # So say no if there are warnings
15021 if test ! -s conftest.err; then
15022 lt_cv_prog_compiler_rtti_exceptions=yes
15028 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15029 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15031 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15032 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15039 lt_prog_compiler_wl_GCJ=
15040 lt_prog_compiler_pic_GCJ=
15041 lt_prog_compiler_static_GCJ=
15043 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15044 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15046 if test "$GCC" = yes; then
15047 lt_prog_compiler_wl_GCJ='-Wl,'
15048 lt_prog_compiler_static_GCJ='-static'
15052 # All AIX code is PIC.
15053 if test "$host_cpu" = ia64; then
15054 # AIX 5 now supports IA64 processor
15055 lt_prog_compiler_static_GCJ='-Bstatic'
15060 # FIXME: we need at least 68020 code to build shared libraries, but
15061 # adding the `-m68020' flag to GCC prevents building anything better,
15063 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15066 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15067 # PIC is the default for these OSes.
15070 mingw* | pw32* | os2*)
15071 # This hack is so that the source file can tell whether it is being
15072 # built for inclusion in a dll (and should export symbols for example).
15073 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15076 darwin* | rhapsody*)
15077 # PIC is the default on this platform
15078 # Common symbols not allowed in MH_DYLIB files
15079 lt_prog_compiler_pic_GCJ='-fno-common'
15083 # Just because we use GCC doesn't mean we suddenly get shared libraries
15084 # on systems that don't support them.
15085 lt_prog_compiler_can_build_shared_GCJ=no
15090 if test -d /usr/nec; then
15091 lt_prog_compiler_pic_GCJ=-Kconform_pic
15096 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15097 # not for PA HP-UX.
15098 case "$host_cpu" in
15103 lt_prog_compiler_pic_GCJ='-fPIC'
15109 lt_prog_compiler_pic_GCJ='-fPIC'
15113 # PORTME Check for flag to pass linker flags through the system compiler.
15116 lt_prog_compiler_wl_GCJ='-Wl,'
15117 if test "$host_cpu" = ia64; then
15118 # AIX 5 now supports IA64 processor
15119 lt_prog_compiler_static_GCJ='-Bstatic'
15121 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15125 mingw* | pw32* | os2*)
15126 # This hack is so that the source file can tell whether it is being
15127 # built for inclusion in a dll (and should export symbols for example).
15128 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15131 hpux9* | hpux10* | hpux11*)
15132 lt_prog_compiler_wl_GCJ='-Wl,'
15133 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15134 # not for PA HP-UX.
15135 case "$host_cpu" in
15140 lt_prog_compiler_pic_GCJ='+Z'
15143 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15144 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15147 irix5* | irix6* | nonstopux*)
15148 lt_prog_compiler_wl_GCJ='-Wl,'
15149 # PIC (with -KPIC) is the default.
15150 lt_prog_compiler_static_GCJ='-non_shared'
15154 lt_prog_compiler_pic_GCJ='-KPIC'
15155 lt_prog_compiler_static_GCJ='-Bstatic'
15161 lt_prog_compiler_wl_GCJ='-Wl,'
15162 lt_prog_compiler_pic_GCJ='-KPIC'
15163 lt_prog_compiler_static_GCJ='-static'
15166 lt_prog_compiler_wl_GCJ='-Wl,'
15167 # All Alpha code is PIC.
15168 lt_prog_compiler_static_GCJ='-non_shared'
15173 osf3* | osf4* | osf5*)
15174 lt_prog_compiler_wl_GCJ='-Wl,'
15175 # All OSF/1 code is PIC.
15176 lt_prog_compiler_static_GCJ='-non_shared'
15180 lt_prog_compiler_pic_GCJ='-Kpic'
15181 lt_prog_compiler_static_GCJ='-dn'
15185 lt_prog_compiler_wl_GCJ='-Wl,'
15186 lt_prog_compiler_pic_GCJ='-KPIC'
15187 lt_prog_compiler_static_GCJ='-Bstatic'
15191 lt_prog_compiler_wl_GCJ='-Qoption ld '
15192 lt_prog_compiler_pic_GCJ='-PIC'
15193 lt_prog_compiler_static_GCJ='-Bstatic'
15196 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15197 lt_prog_compiler_wl_GCJ='-Wl,'
15198 lt_prog_compiler_pic_GCJ='-KPIC'
15199 lt_prog_compiler_static_GCJ='-Bstatic'
15203 if test -d /usr/nec ;then
15204 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15205 lt_prog_compiler_static_GCJ='-Bstatic'
15210 lt_prog_compiler_pic_GCJ='-pic'
15211 lt_prog_compiler_static_GCJ='-Bstatic'
15215 lt_prog_compiler_can_build_shared_GCJ=no
15220 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15221 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15224 # Check to make sure the PIC flag actually works.
15226 if test -n "$lt_prog_compiler_pic_GCJ"; then
15227 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15228 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15229 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15230 echo $ECHO_N "(cached) $ECHO_C" >&6
15232 lt_prog_compiler_pic_works_GCJ=no
15233 ac_outfile=conftest.$ac_objext
15234 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15235 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15236 # Insert the option either (1) after the last *FLAGS variable, or
15237 # (2) before a word containing "conftest.", or (3) at the end.
15238 # Note that $ac_compile itself does not contain backslashes and begins
15239 # with a dollar sign (not a hyphen), so the echo should work correctly.
15240 # The option is referenced via a variable to avoid confusing sed.
15241 lt_compile=`echo "$ac_compile" | $SED \
15242 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15243 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15244 -e 's:$: $lt_compiler_flag:'`
15245 (eval echo "\"\$as_me:15245: $lt_compile\"" >&5)
15246 (eval "$lt_compile" 2>conftest.err)
15248 cat conftest.err >&5
15249 echo "$as_me:15249: \$? = $ac_status" >&5
15250 if (exit $ac_status) && test -s "$ac_outfile"; then
15251 # The compiler can only warn and ignore the option if not recognized
15252 # So say no if there are warnings
15253 if test ! -s conftest.err; then
15254 lt_prog_compiler_pic_works_GCJ=yes
15260 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15261 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15263 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15264 case $lt_prog_compiler_pic_GCJ in
15266 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15269 lt_prog_compiler_pic_GCJ=
15270 lt_prog_compiler_can_build_shared_GCJ=no
15275 # For platforms which do not support PIC, -DPIC is meaningless:
15277 lt_prog_compiler_pic_GCJ=
15280 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15284 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15285 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15286 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15287 echo $ECHO_N "(cached) $ECHO_C" >&6
15289 lt_cv_prog_compiler_c_o_GCJ=no
15290 $rm -r conftest 2>/dev/null
15294 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15296 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15297 # that will create temporary files in the current directory regardless of
15298 # the output directory. Thus, making CWD read-only will cause this test
15299 # to fail, enabling locking or at least warning the user not to do parallel
15303 lt_compiler_flag="-o out/conftest2.$ac_objext"
15304 # Insert the option either (1) after the last *FLAGS variable, or
15305 # (2) before a word containing "conftest.", or (3) at the end.
15306 # Note that $ac_compile itself does not contain backslashes and begins
15307 # with a dollar sign (not a hyphen), so the echo should work correctly.
15308 lt_compile=`echo "$ac_compile" | $SED \
15309 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15310 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15311 -e 's:$: $lt_compiler_flag:'`
15312 (eval echo "\"\$as_me:15312: $lt_compile\"" >&5)
15313 (eval "$lt_compile" 2>out/conftest.err)
15315 cat out/conftest.err >&5
15316 echo "$as_me:15316: \$? = $ac_status" >&5
15317 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15319 # The compiler can only warn and ignore the option if not recognized
15320 # So say no if there are warnings
15321 if test ! -s out/conftest.err; then
15322 lt_cv_prog_compiler_c_o_GCJ=yes
15326 $rm conftest* out/*
15333 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15334 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15337 hard_links="nottested"
15338 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15339 # do not overwrite the value of need_locks provided by the user
15340 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15341 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15344 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15346 ln conftest.a conftest.b 2>&5 || hard_links=no
15347 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15348 echo "$as_me:$LINENO: result: $hard_links" >&5
15349 echo "${ECHO_T}$hard_links" >&6
15350 if test "$hard_links" = no; then
15351 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15352 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15359 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15360 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15363 allow_undefined_flag_GCJ=
15364 enable_shared_with_static_runtimes_GCJ=no
15366 archive_expsym_cmds_GCJ=
15367 old_archive_From_new_cmds_GCJ=
15368 old_archive_from_expsyms_cmds_GCJ=
15369 export_dynamic_flag_spec_GCJ=
15370 whole_archive_flag_spec_GCJ=
15371 thread_safe_flag_spec_GCJ=
15372 hardcode_libdir_flag_spec_GCJ=
15373 hardcode_libdir_flag_spec_ld_GCJ=
15374 hardcode_libdir_separator_GCJ=
15375 hardcode_direct_GCJ=no
15376 hardcode_minus_L_GCJ=no
15377 hardcode_shlibpath_var_GCJ=unsupported
15378 link_all_deplibs_GCJ=unknown
15379 hardcode_automatic_GCJ=no
15381 module_expsym_cmds_GCJ=
15382 always_export_symbols_GCJ=no
15383 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15384 # include_expsyms should be a list of space-separated symbols to be *always*
15385 # included in the symbol list
15386 include_expsyms_GCJ=
15387 # exclude_expsyms can be an extended regexp of symbols to exclude
15388 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15389 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15390 # as well as any symbol that contains `d'.
15391 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15392 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15393 # platforms (ab)use it in PIC code, but their linkers get confused if
15394 # the symbol is explicitly referenced. Since portable code cannot
15395 # rely on this symbol name, it's probably fine to never include it in
15396 # preloaded symbol tables.
15397 extract_expsyms_cmds=
15400 cygwin* | mingw* | pw32*)
15401 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15402 # When not using gcc, we currently assume that we are using
15403 # Microsoft Visual C++.
15404 if test "$GCC" != yes; then
15414 if test "$with_gnu_ld" = yes; then
15415 # If archive_cmds runs LD, not CC, wlarc should be empty
15418 # See if GNU ld supports shared libraries.
15420 aix3* | aix4* | aix5*)
15421 # On AIX/PPC, the GNU linker is very broken
15422 if test "$host_cpu" != ia64; then
15426 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15427 *** to be unable to reliably create shared libraries on AIX.
15428 *** Therefore, libtool is disabling shared libraries support. If you
15429 *** really care for shared libraries, you may want to modify your PATH
15430 *** so that a non-GNU linker is found, and then restart.
15437 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)'
15438 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15439 hardcode_minus_L_GCJ=yes
15441 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15442 # that the semantics of dynamic libraries on AmigaOS, at least up
15443 # to version 4, is to share data among multiple programs linked
15444 # with the same dynamic library. Since this doesn't match the
15445 # behavior of shared libraries on other platforms, we can't use
15451 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15452 allow_undefined_flag_GCJ=unsupported
15453 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15454 # support --undefined. This deserves some investigation. FIXME
15455 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15461 cygwin* | mingw* | pw32*)
15462 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15463 # as there is no search path for DLLs.
15464 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15465 allow_undefined_flag_GCJ=unsupported
15466 always_export_symbols_GCJ=no
15467 enable_shared_with_static_runtimes_GCJ=yes
15468 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15470 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15471 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15472 # If the export-symbols file already is a .def file (1st line
15473 # is EXPORTS), use it as is; otherwise, prepend...
15474 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15475 cp $export_symbols $output_objdir/$soname.def;
15477 echo EXPORTS > $output_objdir/$soname.def;
15478 cat $export_symbols >> $output_objdir/$soname.def;
15480 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15487 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15488 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15491 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15492 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15497 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15501 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15502 *** create shared libraries on Solaris systems. Therefore, libtool
15503 *** is disabling shared libraries support. We urge you to upgrade GNU
15504 *** binutils to release 2.9.1 or newer. Another option is to modify
15505 *** your PATH or compiler configuration so that the native linker is
15506 *** used, and then restart.
15509 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15510 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15511 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15518 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15520 hardcode_direct_GCJ=yes
15521 hardcode_shlibpath_var_GCJ=no
15525 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15526 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15527 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15534 if test "$ld_shlibs_GCJ" = yes; then
15535 runpath_var=LD_RUN_PATH
15536 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15537 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15538 # ancient GNU ld didn't support --whole-archive et. al.
15539 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15540 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15542 whole_archive_flag_spec_GCJ=
15546 # PORTME fill in a description of your system's linker (not GNU ld)
15549 allow_undefined_flag_GCJ=unsupported
15550 always_export_symbols_GCJ=yes
15551 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'
15552 # Note: this linker hardcodes the directories in LIBPATH if there
15553 # are no directories specified by -L.
15554 hardcode_minus_L_GCJ=yes
15555 if test "$GCC" = yes && test -z "$link_static_flag"; then
15556 # Neither direct hardcoding nor static linking is supported with a
15558 hardcode_direct_GCJ=unsupported
15563 if test "$host_cpu" = ia64; then
15564 # On IA64, the linker does run time linking by default, so we don't
15565 # have to do anything special.
15566 aix_use_runtimelinking=no
15567 exp_sym_flag='-Bexport'
15570 # If we're using GNU nm, then we don't want the "-C" option.
15571 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15572 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15573 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'
15575 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'
15577 aix_use_runtimelinking=no
15579 # Test if we are trying to use run time linking or normal
15580 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15581 # need to do runtime linking.
15582 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15583 for ld_flag in $LDFLAGS; do
15584 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15585 aix_use_runtimelinking=yes
15591 exp_sym_flag='-bexport'
15592 no_entry_flag='-bnoentry'
15595 # When large executables or shared objects are built, AIX ld can
15596 # have problems creating the table of contents. If linking a library
15597 # or program results in "error TOC overflow" add -mminimal-toc to
15598 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15599 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15601 archive_cmds_GCJ=''
15602 hardcode_direct_GCJ=yes
15603 hardcode_libdir_separator_GCJ=':'
15604 link_all_deplibs_GCJ=yes
15606 if test "$GCC" = yes; then
15607 case $host_os in aix4.012|aix4.012.*)
15608 # We only want to do this on AIX 4.2 and lower, the check
15609 # below for broken collect2 doesn't work under 4.3+
15610 collect2name=`${CC} -print-prog-name=collect2`
15611 if test -f "$collect2name" && \
15612 strings "$collect2name" | grep resolve_lib_name >/dev/null
15614 # We have reworked collect2
15615 hardcode_direct_GCJ=yes
15617 # We have old collect2
15618 hardcode_direct_GCJ=unsupported
15619 # It fails to find uninstalled libraries when the uninstalled
15620 # path is not listed in the libpath. Setting hardcode_minus_L
15621 # to unsupported forces relinking
15622 hardcode_minus_L_GCJ=yes
15623 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15624 hardcode_libdir_separator_GCJ=
15627 shared_flag='-shared'
15630 if test "$host_cpu" = ia64; then
15631 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15632 # chokes on -Wl,-G. The following line is correct:
15635 if test "$aix_use_runtimelinking" = yes; then
15636 shared_flag='${wl}-G'
15638 shared_flag='${wl}-bM:SRE'
15643 # It seems that -bexpall does not export symbols beginning with
15644 # underscore (_), so it is better to generate a list of symbols to export.
15645 always_export_symbols_GCJ=yes
15646 if test "$aix_use_runtimelinking" = yes; then
15647 # Warning - without using the other runtime loading flags (-brtl),
15648 # -berok will link without error, but may produce a broken library.
15649 allow_undefined_flag_GCJ='-berok'
15650 # Determine the default libpath from the value encoded in an empty executable.
15651 cat >conftest.$ac_ext <<_ACEOF
15652 #line $LINENO "configure"
15655 cat confdefs.h >>conftest.$ac_ext
15656 cat >>conftest.$ac_ext <<_ACEOF
15657 /* end confdefs.h. */
15667 rm -f conftest.$ac_objext conftest$ac_exeext
15668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15669 (eval $ac_link) 2>&5
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); } &&
15673 { ac_try='test -s conftest$ac_exeext'
15674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15675 (eval $ac_try) 2>&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); }; }; then
15680 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15682 # Check for a 64-bit object if we didn't find anything.
15683 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; }
15686 echo "$as_me: failed program was:" >&5
15687 sed 's/^/| /' conftest.$ac_ext >&5
15690 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15691 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15693 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15694 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"
15696 if test "$host_cpu" = ia64; then
15697 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15698 allow_undefined_flag_GCJ="-z nodefs"
15699 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"
15701 # Determine the default libpath from the value encoded in an empty executable.
15702 cat >conftest.$ac_ext <<_ACEOF
15703 #line $LINENO "configure"
15706 cat confdefs.h >>conftest.$ac_ext
15707 cat >>conftest.$ac_ext <<_ACEOF
15708 /* end confdefs.h. */
15718 rm -f conftest.$ac_objext conftest$ac_exeext
15719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15720 (eval $ac_link) 2>&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } &&
15724 { ac_try='test -s conftest$ac_exeext'
15725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15726 (eval $ac_try) 2>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); }; }; then
15731 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15733 # Check for a 64-bit object if we didn't find anything.
15734 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; }
15737 echo "$as_me: failed program was:" >&5
15738 sed 's/^/| /' conftest.$ac_ext >&5
15741 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15742 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15744 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15745 # Warning - without using the other run time loading flags,
15746 # -berok will link without error, but may produce a broken library.
15747 no_undefined_flag_GCJ=' ${wl}-bernotok'
15748 allow_undefined_flag_GCJ=' ${wl}-berok'
15749 # -bexpall does not export symbols beginning with underscore (_)
15750 always_export_symbols_GCJ=yes
15751 # Exported symbols can be pulled into shared objects from archives
15752 whole_archive_flag_spec_GCJ=' '
15753 archive_cmds_need_lc_GCJ=yes
15754 # This is similar to how AIX traditionally builds it's shared libraries.
15755 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'
15761 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)'
15762 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15763 hardcode_minus_L_GCJ=yes
15764 # see comment about different semantics on the GNU ld section
15769 export_dynamic_flag_spec_GCJ=-rdynamic
15772 cygwin* | mingw* | pw32*)
15773 # When not using gcc, we currently assume that we are using
15774 # Microsoft Visual C++.
15775 # hardcode_libdir_flag_spec is actually meaningless, as there is
15776 # no search path for DLLs.
15777 hardcode_libdir_flag_spec_GCJ=' '
15778 allow_undefined_flag_GCJ=unsupported
15779 # Tell ltmain to make .lib files, not .a files.
15781 # Tell ltmain to make .dll files, not .so files.
15783 # FIXME: Setting linknames here is a bad hack.
15784 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15785 # The linker will automatically build a .lib file if we build a DLL.
15786 old_archive_From_new_cmds_GCJ='true'
15787 # FIXME: Should let the user specify the lib program.
15788 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15789 fix_srcfile_path='`cygpath -w "$srcfile"`'
15790 enable_shared_with_static_runtimes_GCJ=yes
15793 darwin* | rhapsody*)
15794 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15795 archive_cmds_need_lc_GCJ=no
15797 rhapsody* | darwin1.[012])
15798 allow_undefined_flag_GCJ='-undefined suppress'
15801 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15804 # FIXME: Relying on posixy $() will cause problems for
15805 # cross-compilation, but unfortunately the echo tests do not
15806 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15807 # `"' quotes if we put them in here... so don't!
15808 lt_int_apple_cc_single_mod=no
15809 output_verbose_link_cmd='echo'
15810 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15811 lt_int_apple_cc_single_mod=yes
15813 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15814 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15816 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'
15818 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15819 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15820 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15821 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}'
15823 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}'
15825 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}'
15826 hardcode_direct_GCJ=no
15827 hardcode_automatic_GCJ=yes
15828 hardcode_shlibpath_var_GCJ=unsupported
15829 whole_archive_flag_spec_GCJ='-all_load $convenience'
15830 link_all_deplibs_GCJ=yes
15835 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15836 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15837 hardcode_shlibpath_var_GCJ=no
15844 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15845 # support. Future versions do this automatically, but an explicit c++rt0.o
15846 # does not break anything, and helps significantly (at the cost of a little
15849 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15850 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15851 hardcode_direct_GCJ=yes
15852 hardcode_shlibpath_var_GCJ=no
15855 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15857 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15858 hardcode_direct_GCJ=yes
15859 hardcode_minus_L_GCJ=yes
15860 hardcode_shlibpath_var_GCJ=no
15863 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15865 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15866 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15867 hardcode_direct_GCJ=yes
15868 hardcode_shlibpath_var_GCJ=no
15872 if test "$GCC" = yes; then
15873 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'
15875 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'
15877 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15878 hardcode_libdir_separator_GCJ=:
15879 hardcode_direct_GCJ=yes
15881 # hardcode_minus_L: Not really in the search PATH,
15882 # but as the default location of the library.
15883 hardcode_minus_L_GCJ=yes
15884 export_dynamic_flag_spec_GCJ='${wl}-E'
15888 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15889 case "$host_cpu" in
15891 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15894 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15898 case "$host_cpu" in
15900 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15903 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15907 if test "$with_gnu_ld" = no; then
15908 case "$host_cpu" in
15910 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15911 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15912 hardcode_libdir_separator_GCJ=:
15913 hardcode_direct_GCJ=no
15914 hardcode_shlibpath_var_GCJ=no
15917 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15918 hardcode_direct_GCJ=no
15919 hardcode_shlibpath_var_GCJ=no
15921 # hardcode_minus_L: Not really in the search PATH,
15922 # but as the default location of the library.
15923 hardcode_minus_L_GCJ=yes
15926 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15927 hardcode_libdir_separator_GCJ=:
15928 hardcode_direct_GCJ=yes
15929 export_dynamic_flag_spec_GCJ='${wl}-E'
15931 # hardcode_minus_L: Not really in the search PATH,
15932 # but as the default location of the library.
15933 hardcode_minus_L_GCJ=yes
15939 irix5* | irix6* | nonstopux*)
15940 if test "$GCC" = yes; then
15941 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'
15943 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'
15944 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15946 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15947 hardcode_libdir_separator_GCJ=:
15948 link_all_deplibs_GCJ=yes
15952 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15953 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15955 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15957 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15958 hardcode_direct_GCJ=yes
15959 hardcode_shlibpath_var_GCJ=no
15963 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15964 hardcode_direct_GCJ=yes
15965 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15966 hardcode_libdir_separator_GCJ=:
15967 hardcode_shlibpath_var_GCJ=no
15971 hardcode_direct_GCJ=yes
15972 hardcode_shlibpath_var_GCJ=no
15973 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15974 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15975 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15976 export_dynamic_flag_spec_GCJ='${wl}-E'
15979 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15980 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15981 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15984 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15985 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15992 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15993 hardcode_minus_L_GCJ=yes
15994 allow_undefined_flag_GCJ=unsupported
15995 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'
15996 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16000 if test "$GCC" = yes; then
16001 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16002 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'
16004 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16005 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'
16007 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16008 hardcode_libdir_separator_GCJ=:
16011 osf4* | osf5*) # as osf3* with the addition of -msym flag
16012 if test "$GCC" = yes; then
16013 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16014 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'
16015 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16017 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16018 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'
16019 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~
16020 $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'
16022 # Both c and cxx compiler support -rpath directly
16023 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16025 hardcode_libdir_separator_GCJ=:
16029 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16030 hardcode_shlibpath_var_GCJ=no
16031 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16032 runpath_var=LD_RUN_PATH
16033 hardcode_runpath_var=yes
16037 no_undefined_flag_GCJ=' -z text'
16038 if test "$GCC" = yes; then
16039 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16040 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16041 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16043 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16044 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16045 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16047 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16048 hardcode_shlibpath_var_GCJ=no
16050 solaris2.[0-5] | solaris2.[0-5].*) ;;
16051 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16052 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16054 link_all_deplibs_GCJ=yes
16058 if test "x$host_vendor" = xsequent; then
16059 # Use $CC to link under sequent, because it throws in some extra .o
16060 # files that make .init and .fini sections work.
16061 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16063 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16065 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16066 hardcode_direct_GCJ=yes
16067 hardcode_minus_L_GCJ=yes
16068 hardcode_shlibpath_var_GCJ=no
16072 case $host_vendor in
16074 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16075 hardcode_direct_GCJ=yes # is this really true???
16078 ## LD is ld it makes a PLAMLIB
16079 ## CC just makes a GrossModule.
16080 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16081 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16082 hardcode_direct_GCJ=no
16085 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16086 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16089 runpath_var='LD_RUN_PATH'
16090 hardcode_shlibpath_var_GCJ=no
16094 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16095 hardcode_shlibpath_var_GCJ=no
16096 export_dynamic_flag_spec_GCJ='-Bexport'
16100 if test -d /usr/nec; then
16101 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16102 hardcode_shlibpath_var_GCJ=no
16103 runpath_var=LD_RUN_PATH
16104 hardcode_runpath_var=yes
16110 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16111 hardcode_direct_GCJ=yes
16112 hardcode_minus_L_GCJ=no
16113 hardcode_shlibpath_var_GCJ=no
16114 hardcode_runpath_var=yes
16115 runpath_var=LD_RUN_PATH
16118 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16119 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16120 if test "$GCC" = yes; then
16121 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16123 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16125 runpath_var='LD_RUN_PATH'
16126 hardcode_shlibpath_var_GCJ=no
16130 no_undefined_flag_GCJ=' -z text'
16131 # $CC -shared without GNU ld will not create a library from C++
16132 # object files and a static libstdc++, better avoid it by now
16133 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16134 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16135 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16136 hardcode_libdir_flag_spec_GCJ=
16137 hardcode_shlibpath_var_GCJ=no
16138 runpath_var='LD_RUN_PATH'
16142 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16143 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16144 hardcode_shlibpath_var_GCJ=no
16153 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16154 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16155 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16157 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16158 if test "$GCC" = yes; then
16159 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16163 # Do we need to explicitly link libc?
16165 case "x$archive_cmds_need_lc_GCJ" in
16167 # Assume -lc should be added
16168 archive_cmds_need_lc_GCJ=yes
16170 if test "$enable_shared" = yes && test "$GCC" = yes; then
16171 case $archive_cmds_GCJ in
16173 # FIXME: we may have to deal with multi-command sequences.
16176 # Test whether the compiler implicitly links with -lc since on some
16177 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16178 # to ld, don't add -lc before -lgcc.
16179 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16180 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16182 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16185 (eval $ac_compile) 2>&5
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); } 2>conftest.err; then
16191 libobjs=conftest.$ac_objext
16193 wl=$lt_prog_compiler_wl_GCJ
16199 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16200 allow_undefined_flag_GCJ=
16201 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16202 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }
16207 archive_cmds_need_lc_GCJ=no
16209 archive_cmds_need_lc_GCJ=yes
16211 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16213 cat conftest.err 1>&5
16216 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16217 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16224 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16225 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16226 hardcode_action_GCJ=
16227 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16228 test -n "$runpath_var GCJ" || \
16229 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16231 # We can hardcode non-existant directories.
16232 if test "$hardcode_direct_GCJ" != no &&
16233 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16234 # have to relink, otherwise we might link with an installed library
16235 # when we should be linking with a yet-to-be-installed one
16236 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16237 test "$hardcode_minus_L_GCJ" != no; then
16238 # Linking always hardcodes the temporary library directory.
16239 hardcode_action_GCJ=relink
16241 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16242 hardcode_action_GCJ=immediate
16245 # We cannot hardcode anything, or else we can only hardcode existing
16247 hardcode_action_GCJ=unsupported
16249 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16250 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16252 if test "$hardcode_action_GCJ" = relink; then
16253 # Fast installation is not supported
16254 enable_fast_install=no
16255 elif test "$shlibpath_overrides_runpath" = yes ||
16256 test "$enable_shared" = no; then
16257 # Fast installation is not necessary
16258 enable_fast_install=needless
16263 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16264 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16265 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16266 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16267 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16268 echo "$as_me:$LINENO: result: yes" >&5
16269 echo "${ECHO_T}yes" >&6
16271 # FIXME - insert some real tests, host_os isn't really good enough
16274 if test -n "$STRIP" ; then
16275 striplib="$STRIP -x"
16276 echo "$as_me:$LINENO: result: yes" >&5
16277 echo "${ECHO_T}yes" >&6
16279 echo "$as_me:$LINENO: result: no" >&5
16280 echo "${ECHO_T}no" >&6
16284 echo "$as_me:$LINENO: result: no" >&5
16285 echo "${ECHO_T}no" >&6
16290 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16291 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16292 library_names_spec=
16293 libname_spec='lib$name'
16297 postuninstall_cmds=
16301 shlibpath_overrides_runpath=unknown
16303 dynamic_linker="$host_os ld.so"
16304 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16305 if test "$GCC" = yes; then
16306 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16307 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16308 # if the path contains ";" then we assume it to be the separator
16309 # otherwise default to the standard path separator (i.e. ":") - it is
16310 # assumed that no part of a normal pathname contains ";" but that should
16311 # okay in the real world where ";" in dirpaths is itself problematic.
16312 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16314 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16317 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16319 need_lib_prefix=unknown
16320 hardcode_into_libs=no
16322 # when you set need_version to no, make sure it does not cause -set_version
16323 # flags to be left without arguments
16324 need_version=unknown
16329 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16330 shlibpath_var=LIBPATH
16332 # AIX 3 has no versioning support, so we append a major version to the name.
16333 soname_spec='${libname}${release}${shared_ext}$major'
16340 hardcode_into_libs=yes
16341 if test "$host_cpu" = ia64; then
16342 # AIX 5 supports IA64
16343 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16344 shlibpath_var=LD_LIBRARY_PATH
16346 # With GCC up to 2.95.x, collect2 would create an import file
16347 # for dependence libraries. The import file would start with
16348 # the line `#! .'. This would cause the generated library to
16349 # depend on `.', always an invalid library. This was fixed in
16350 # development snapshots of GCC prior to 3.0.
16352 aix4 | aix4.[01] | aix4.[01].*)
16353 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16355 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16358 can_build_shared=no
16362 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16363 # soname into executable. Probably we can add versioning support to
16364 # collect2, so additional links can be useful in future.
16365 if test "$aix_use_runtimelinking" = yes; then
16366 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16367 # instead of lib<name>.a to let people know that these are not
16368 # typical AIX shared libraries.
16369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16371 # We preserve .a as extension for shared libraries through AIX4.2
16372 # and later when we are not doing run time linking.
16373 library_names_spec='${libname}${release}.a $libname.a'
16374 soname_spec='${libname}${release}${shared_ext}$major'
16376 shlibpath_var=LIBPATH
16381 library_names_spec='$libname.ixlibrary $libname.a'
16382 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16383 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'
16387 library_names_spec='${libname}${shared_ext}'
16388 dynamic_linker="$host_os ld.so"
16389 shlibpath_var=LIBRARY_PATH
16395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16396 soname_spec='${libname}${release}${shared_ext}$major'
16397 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16398 shlibpath_var=LD_LIBRARY_PATH
16399 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16400 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16401 # the default ld.so.conf also contains /usr/contrib/lib and
16402 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16403 # libtool to hard-code these into programs
16406 cygwin* | mingw* | pw32*)
16407 version_type=windows
16412 case $GCC,$host_os in
16413 yes,cygwin* | yes,mingw* | yes,pw32*)
16414 library_names_spec='$libname.dll.a'
16415 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16416 postinstall_cmds='base_file=`basename \${file}`~
16417 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16418 dldir=$destdir/`dirname \$dlpath`~
16419 test -d \$dldir || mkdir -p \$dldir~
16420 $install_prog $dir/$dlname \$dldir/$dlname'
16421 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16422 dlpath=$dir/\$dldll~
16424 shlibpath_overrides_runpath=yes
16428 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16429 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16430 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16433 # MinGW DLLs use traditional 'lib' prefix
16434 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16435 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16436 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16437 # It is most probably a Windows format PATH printed by
16438 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16439 # path with ; separators, and with drive letters. We can handle the
16440 # drive letters (cygwin fileutils understands them), so leave them,
16441 # especially as we might pass files found there to a mingw objdump,
16442 # which wouldn't understand a cygwinified path. Ahh.
16443 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16445 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16449 # pw32 DLLs use 'pw' prefix rather than 'lib'
16450 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16456 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16459 dynamic_linker='Win32 ld.exe'
16460 # FIXME: first we should search . and the directory the executable is in
16464 darwin* | rhapsody*)
16465 dynamic_linker="$host_os dyld"
16466 version_type=darwin
16469 # FIXME: Relying on posixy $() will cause problems for
16470 # cross-compilation, but unfortunately the echo tests do not
16471 # yet detect zsh echo's removal of \ escapes.
16472 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16473 soname_spec='${libname}${release}${major}$shared_ext'
16474 shlibpath_overrides_runpath=yes
16475 shlibpath_var=DYLD_LIBRARY_PATH
16476 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16477 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16478 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16479 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"`
16481 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16489 soname_spec='${libname}${release}${shared_ext}$major'
16490 shlibpath_var=LD_LIBRARY_PATH
16498 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16499 version_type=freebsd-$objformat
16500 case $version_type in
16502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16507 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16511 shlibpath_var=LD_LIBRARY_PATH
16514 shlibpath_overrides_runpath=yes
16516 freebsd3.01* | freebsdelf3.01*)
16517 shlibpath_overrides_runpath=yes
16518 hardcode_into_libs=yes
16521 shlibpath_overrides_runpath=no
16522 hardcode_into_libs=yes
16531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16532 soname_spec='${libname}${release}${shared_ext}$major'
16533 shlibpath_var=LD_LIBRARY_PATH
16534 hardcode_into_libs=yes
16537 hpux9* | hpux10* | hpux11*)
16538 # Give a soname corresponding to the major version so that dld.sl refuses to
16539 # link against other versions.
16543 case "$host_cpu" in
16546 hardcode_into_libs=yes
16547 dynamic_linker="$host_os dld.so"
16548 shlibpath_var=LD_LIBRARY_PATH
16549 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16551 soname_spec='${libname}${release}${shared_ext}$major'
16552 if test "X$HPUX_IA64_MODE" = X32; then
16553 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16555 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16557 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16561 hardcode_into_libs=yes
16562 dynamic_linker="$host_os dld.sl"
16563 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16564 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16566 soname_spec='${libname}${release}${shared_ext}$major'
16567 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16568 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16572 dynamic_linker="$host_os dld.sl"
16573 shlibpath_var=SHLIB_PATH
16574 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16576 soname_spec='${libname}${release}${shared_ext}$major'
16579 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16580 postinstall_cmds='chmod 555 $lib'
16583 irix5* | irix6* | nonstopux*)
16585 nonstopux*) version_type=nonstopux ;;
16587 if test "$lt_cv_prog_gnu_ld" = yes; then
16595 soname_spec='${libname}${release}${shared_ext}$major'
16596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16598 irix5* | nonstopux*)
16599 libsuff= shlibsuff=
16602 case $LD in # libtool.m4 will add one of these switches to LD
16603 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16604 libsuff= shlibsuff= libmagic=32-bit;;
16605 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16606 libsuff=32 shlibsuff=N32 libmagic=N32;;
16607 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16608 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16609 *) libsuff= shlibsuff= libmagic=never-match;;
16613 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16614 shlibpath_overrides_runpath=no
16615 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16616 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16617 hardcode_into_libs=yes
16620 # No shared lib support for Linux oldld, aout, or coff.
16621 linux*oldld* | linux*aout* | linux*coff*)
16625 # This must be Linux ELF.
16630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16631 soname_spec='${libname}${release}${shared_ext}$major'
16632 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16633 shlibpath_var=LD_LIBRARY_PATH
16634 shlibpath_overrides_runpath=no
16635 # This implies no fast_install, which is unacceptable.
16636 # Some rework will be needed to allow for fast_install
16637 # before this can be enabled.
16638 hardcode_into_libs=yes
16640 # We used to test for /lib/ld.so.1 and disable shared libraries on
16641 # powerpc, because MkLinux only supported shared libraries with the
16642 # GNU dynamic linker. Since this was broken with cross compilers,
16643 # most powerpc-linux boxes support dynamic linking these days and
16644 # people can always --disable-shared, the test was removed, and we
16645 # assume the GNU/Linux dynamic linker is in use.
16646 dynamic_linker='GNU/Linux ld.so'
16653 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16655 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16656 dynamic_linker='NetBSD (a.out) ld.so'
16658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16659 soname_spec='${libname}${release}${shared_ext}$major'
16660 dynamic_linker='NetBSD ld.elf_so'
16662 shlibpath_var=LD_LIBRARY_PATH
16663 shlibpath_overrides_runpath=yes
16664 hardcode_into_libs=yes
16669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16670 shlibpath_var=LD_LIBRARY_PATH
16671 shlibpath_overrides_runpath=yes
16678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16679 soname_spec='${libname}${release}${shared_ext}$major'
16680 shlibpath_var=LD_LIBRARY_PATH
16681 shlibpath_overrides_runpath=yes
16688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16689 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16690 shlibpath_var=LD_LIBRARY_PATH
16691 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16693 openbsd2.[89] | openbsd2.[89].*)
16694 shlibpath_overrides_runpath=no
16697 shlibpath_overrides_runpath=yes
16701 shlibpath_overrides_runpath=yes
16706 libname_spec='$name'
16709 library_names_spec='$libname${shared_ext} $libname.a'
16710 dynamic_linker='OS/2 ld.exe'
16711 shlibpath_var=LIBPATH
16714 osf3* | osf4* | osf5*)
16718 soname_spec='${libname}${release}${shared_ext}$major'
16719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16720 shlibpath_var=LD_LIBRARY_PATH
16721 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16722 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16727 soname_spec='${libname}${release}${shared_ext}$major'
16728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16729 shlibpath_var=LD_LIBRARY_PATH
16736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16737 soname_spec='${libname}${release}${shared_ext}$major'
16738 shlibpath_var=LD_LIBRARY_PATH
16739 shlibpath_overrides_runpath=yes
16740 hardcode_into_libs=yes
16741 # ldd complains unless libraries are executable
16742 postinstall_cmds='chmod +x $lib'
16747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16748 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16749 shlibpath_var=LD_LIBRARY_PATH
16750 shlibpath_overrides_runpath=yes
16751 if test "$with_gnu_ld" = yes; then
16757 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16760 soname_spec='${libname}${release}${shared_ext}$major'
16761 shlibpath_var=LD_LIBRARY_PATH
16762 case $host_vendor in
16764 shlibpath_overrides_runpath=no
16766 export_dynamic_flag_spec='${wl}-Blargedynsym'
16767 runpath_var=LD_RUN_PATH
16775 shlibpath_overrides_runpath=no
16776 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16782 if test -d /usr/nec ;then
16784 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16785 soname_spec='$libname${shared_ext}.$major'
16786 shlibpath_var=LD_LIBRARY_PATH
16792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16793 soname_spec='${libname}${release}${shared_ext}$major'
16794 shlibpath_var=LD_LIBRARY_PATH
16801 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16802 echo "${ECHO_T}$dynamic_linker" >&6
16803 test "$dynamic_linker" = no && can_build_shared=no
16805 if test "x$enable_dlopen" != xyes; then
16806 enable_dlopen=unknown
16807 enable_dlopen_self=unknown
16808 enable_dlopen_self_static=unknown
16815 lt_cv_dlopen="load_add_on"
16817 lt_cv_dlopen_self=yes
16821 lt_cv_dlopen="LoadLibrary"
16826 lt_cv_dlopen="dlopen"
16831 # if libdl is installed we need to link against it
16832 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16833 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16834 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16835 echo $ECHO_N "(cached) $ECHO_C" >&6
16837 ac_check_lib_save_LIBS=$LIBS
16839 cat >conftest.$ac_ext <<_ACEOF
16840 #line $LINENO "configure"
16843 cat confdefs.h >>conftest.$ac_ext
16844 cat >>conftest.$ac_ext <<_ACEOF
16845 /* end confdefs.h. */
16847 /* Override any gcc2 internal prototype to avoid an error. */
16851 /* We use char because int might match the return type of a gcc2
16852 builtin and then its argument prototype would still apply. */
16862 rm -f conftest.$ac_objext conftest$ac_exeext
16863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16864 (eval $ac_link) 2>&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); } &&
16868 { ac_try='test -s conftest$ac_exeext'
16869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870 (eval $ac_try) 2>&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); }; }; then
16874 ac_cv_lib_dl_dlopen=yes
16876 echo "$as_me: failed program was:" >&5
16877 sed 's/^/| /' conftest.$ac_ext >&5
16879 ac_cv_lib_dl_dlopen=no
16881 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16882 LIBS=$ac_check_lib_save_LIBS
16884 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16885 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16886 if test $ac_cv_lib_dl_dlopen = yes; then
16887 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16890 lt_cv_dlopen="dyld"
16892 lt_cv_dlopen_self=yes
16899 echo "$as_me:$LINENO: checking for shl_load" >&5
16900 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16901 if test "${ac_cv_func_shl_load+set}" = set; then
16902 echo $ECHO_N "(cached) $ECHO_C" >&6
16904 cat >conftest.$ac_ext <<_ACEOF
16905 #line $LINENO "configure"
16908 cat confdefs.h >>conftest.$ac_ext
16909 cat >>conftest.$ac_ext <<_ACEOF
16910 /* end confdefs.h. */
16911 /* System header to define __stub macros and hopefully few prototypes,
16912 which can conflict with char shl_load (); below.
16913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16914 <limits.h> exists even on freestanding compilers. */
16916 # include <limits.h>
16918 # include <assert.h>
16920 /* Override any gcc2 internal prototype to avoid an error. */
16925 /* We use char because int might match the return type of a gcc2
16926 builtin and then its argument prototype would still apply. */
16928 /* The GNU C library defines this for functions which it implements
16929 to always fail with ENOSYS. Some functions are actually named
16930 something starting with __ and the normal name is an alias. */
16931 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16934 char (*f) () = shl_load;
16943 return f != shl_load;
16948 rm -f conftest.$ac_objext conftest$ac_exeext
16949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16950 (eval $ac_link) 2>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } &&
16954 { ac_try='test -s conftest$ac_exeext'
16955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16956 (eval $ac_try) 2>&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); }; }; then
16960 ac_cv_func_shl_load=yes
16962 echo "$as_me: failed program was:" >&5
16963 sed 's/^/| /' conftest.$ac_ext >&5
16965 ac_cv_func_shl_load=no
16967 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16969 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16970 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
16971 if test $ac_cv_func_shl_load = yes; then
16972 lt_cv_dlopen="shl_load"
16974 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16975 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
16976 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16977 echo $ECHO_N "(cached) $ECHO_C" >&6
16979 ac_check_lib_save_LIBS=$LIBS
16981 cat >conftest.$ac_ext <<_ACEOF
16982 #line $LINENO "configure"
16985 cat confdefs.h >>conftest.$ac_ext
16986 cat >>conftest.$ac_ext <<_ACEOF
16987 /* end confdefs.h. */
16989 /* Override any gcc2 internal prototype to avoid an error. */
16993 /* We use char because int might match the return type of a gcc2
16994 builtin and then its argument prototype would still apply. */
17004 rm -f conftest.$ac_objext conftest$ac_exeext
17005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17006 (eval $ac_link) 2>&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); } &&
17010 { ac_try='test -s conftest$ac_exeext'
17011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17012 (eval $ac_try) 2>&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); }; }; then
17016 ac_cv_lib_dld_shl_load=yes
17018 echo "$as_me: failed program was:" >&5
17019 sed 's/^/| /' conftest.$ac_ext >&5
17021 ac_cv_lib_dld_shl_load=no
17023 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17024 LIBS=$ac_check_lib_save_LIBS
17026 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17027 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17028 if test $ac_cv_lib_dld_shl_load = yes; then
17029 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17031 echo "$as_me:$LINENO: checking for dlopen" >&5
17032 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17033 if test "${ac_cv_func_dlopen+set}" = set; then
17034 echo $ECHO_N "(cached) $ECHO_C" >&6
17036 cat >conftest.$ac_ext <<_ACEOF
17037 #line $LINENO "configure"
17040 cat confdefs.h >>conftest.$ac_ext
17041 cat >>conftest.$ac_ext <<_ACEOF
17042 /* end confdefs.h. */
17043 /* System header to define __stub macros and hopefully few prototypes,
17044 which can conflict with char dlopen (); below.
17045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17046 <limits.h> exists even on freestanding compilers. */
17048 # include <limits.h>
17050 # include <assert.h>
17052 /* Override any gcc2 internal prototype to avoid an error. */
17057 /* We use char because int might match the return type of a gcc2
17058 builtin and then its argument prototype would still apply. */
17060 /* The GNU C library defines this for functions which it implements
17061 to always fail with ENOSYS. Some functions are actually named
17062 something starting with __ and the normal name is an alias. */
17063 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17066 char (*f) () = dlopen;
17075 return f != dlopen;
17080 rm -f conftest.$ac_objext conftest$ac_exeext
17081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17082 (eval $ac_link) 2>&5
17084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17085 (exit $ac_status); } &&
17086 { ac_try='test -s conftest$ac_exeext'
17087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17088 (eval $ac_try) 2>&5
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); }; }; then
17092 ac_cv_func_dlopen=yes
17094 echo "$as_me: failed program was:" >&5
17095 sed 's/^/| /' conftest.$ac_ext >&5
17097 ac_cv_func_dlopen=no
17099 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17101 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17102 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17103 if test $ac_cv_func_dlopen = yes; then
17104 lt_cv_dlopen="dlopen"
17106 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17107 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17108 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17109 echo $ECHO_N "(cached) $ECHO_C" >&6
17111 ac_check_lib_save_LIBS=$LIBS
17113 cat >conftest.$ac_ext <<_ACEOF
17114 #line $LINENO "configure"
17117 cat confdefs.h >>conftest.$ac_ext
17118 cat >>conftest.$ac_ext <<_ACEOF
17119 /* end confdefs.h. */
17121 /* Override any gcc2 internal prototype to avoid an error. */
17125 /* We use char because int might match the return type of a gcc2
17126 builtin and then its argument prototype would still apply. */
17136 rm -f conftest.$ac_objext conftest$ac_exeext
17137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17138 (eval $ac_link) 2>&5
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); } &&
17142 { ac_try='test -s conftest$ac_exeext'
17143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17144 (eval $ac_try) 2>&5
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); }; }; then
17148 ac_cv_lib_dl_dlopen=yes
17150 echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.$ac_ext >&5
17153 ac_cv_lib_dl_dlopen=no
17155 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17156 LIBS=$ac_check_lib_save_LIBS
17158 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17159 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17160 if test $ac_cv_lib_dl_dlopen = yes; then
17161 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17163 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17164 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17165 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17166 echo $ECHO_N "(cached) $ECHO_C" >&6
17168 ac_check_lib_save_LIBS=$LIBS
17169 LIBS="-lsvld $LIBS"
17170 cat >conftest.$ac_ext <<_ACEOF
17171 #line $LINENO "configure"
17174 cat confdefs.h >>conftest.$ac_ext
17175 cat >>conftest.$ac_ext <<_ACEOF
17176 /* end confdefs.h. */
17178 /* Override any gcc2 internal prototype to avoid an error. */
17182 /* We use char because int might match the return type of a gcc2
17183 builtin and then its argument prototype would still apply. */
17193 rm -f conftest.$ac_objext conftest$ac_exeext
17194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17195 (eval $ac_link) 2>&5
17197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 (exit $ac_status); } &&
17199 { ac_try='test -s conftest$ac_exeext'
17200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17201 (eval $ac_try) 2>&5
17203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17204 (exit $ac_status); }; }; then
17205 ac_cv_lib_svld_dlopen=yes
17207 echo "$as_me: failed program was:" >&5
17208 sed 's/^/| /' conftest.$ac_ext >&5
17210 ac_cv_lib_svld_dlopen=no
17212 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17213 LIBS=$ac_check_lib_save_LIBS
17215 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17216 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17217 if test $ac_cv_lib_svld_dlopen = yes; then
17218 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17220 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17221 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17222 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17223 echo $ECHO_N "(cached) $ECHO_C" >&6
17225 ac_check_lib_save_LIBS=$LIBS
17227 cat >conftest.$ac_ext <<_ACEOF
17228 #line $LINENO "configure"
17231 cat confdefs.h >>conftest.$ac_ext
17232 cat >>conftest.$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17235 /* Override any gcc2 internal prototype to avoid an error. */
17239 /* We use char because int might match the return type of a gcc2
17240 builtin and then its argument prototype would still apply. */
17250 rm -f conftest.$ac_objext conftest$ac_exeext
17251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17252 (eval $ac_link) 2>&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); } &&
17256 { ac_try='test -s conftest$ac_exeext'
17257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17258 (eval $ac_try) 2>&5
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); }; }; then
17262 ac_cv_lib_dld_dld_link=yes
17264 echo "$as_me: failed program was:" >&5
17265 sed 's/^/| /' conftest.$ac_ext >&5
17267 ac_cv_lib_dld_dld_link=no
17269 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17270 LIBS=$ac_check_lib_save_LIBS
17272 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17273 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17274 if test $ac_cv_lib_dld_dld_link = yes; then
17275 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17296 if test "x$lt_cv_dlopen" != xno; then
17302 case $lt_cv_dlopen in
17304 save_CPPFLAGS="$CPPFLAGS"
17305 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17307 save_LDFLAGS="$LDFLAGS"
17308 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17311 LIBS="$lt_cv_dlopen_libs $LIBS"
17313 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17314 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17315 if test "${lt_cv_dlopen_self+set}" = set; then
17316 echo $ECHO_N "(cached) $ECHO_C" >&6
17318 if test "$cross_compiling" = yes; then :
17319 lt_cv_dlopen_self=cross
17321 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17322 lt_status=$lt_dlunknown
17323 cat > conftest.$ac_ext <<EOF
17324 #line 17324 "configure"
17325 #include "confdefs.h"
17334 # define LT_DLGLOBAL RTLD_GLOBAL
17337 # define LT_DLGLOBAL DL_GLOBAL
17339 # define LT_DLGLOBAL 0
17343 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17344 find out it does not work in some platform. */
17345 #ifndef LT_DLLAZY_OR_NOW
17347 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17350 # define LT_DLLAZY_OR_NOW DL_LAZY
17353 # define LT_DLLAZY_OR_NOW RTLD_NOW
17356 # define LT_DLLAZY_OR_NOW DL_NOW
17358 # define LT_DLLAZY_OR_NOW 0
17366 extern "C" void exit (int);
17369 void fnord() { int i=42;}
17372 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17373 int status = $lt_dlunknown;
17377 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17378 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17379 /* dlclose (self); */
17385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17386 (eval $ac_link) 2>&5
17388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17389 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17390 (./conftest; exit; ) 2>/dev/null
17392 case x$lt_status in
17393 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17394 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17395 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17398 # compilation failed
17399 lt_cv_dlopen_self=no
17406 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17407 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17409 if test "x$lt_cv_dlopen_self" = xyes; then
17410 LDFLAGS="$LDFLAGS $link_static_flag"
17411 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17412 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17413 if test "${lt_cv_dlopen_self_static+set}" = set; then
17414 echo $ECHO_N "(cached) $ECHO_C" >&6
17416 if test "$cross_compiling" = yes; then :
17417 lt_cv_dlopen_self_static=cross
17419 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17420 lt_status=$lt_dlunknown
17421 cat > conftest.$ac_ext <<EOF
17422 #line 17422 "configure"
17423 #include "confdefs.h"
17432 # define LT_DLGLOBAL RTLD_GLOBAL
17435 # define LT_DLGLOBAL DL_GLOBAL
17437 # define LT_DLGLOBAL 0
17441 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17442 find out it does not work in some platform. */
17443 #ifndef LT_DLLAZY_OR_NOW
17445 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17448 # define LT_DLLAZY_OR_NOW DL_LAZY
17451 # define LT_DLLAZY_OR_NOW RTLD_NOW
17454 # define LT_DLLAZY_OR_NOW DL_NOW
17456 # define LT_DLLAZY_OR_NOW 0
17464 extern "C" void exit (int);
17467 void fnord() { int i=42;}
17470 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17471 int status = $lt_dlunknown;
17475 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17476 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17477 /* dlclose (self); */
17483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17484 (eval $ac_link) 2>&5
17486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17488 (./conftest; exit; ) 2>/dev/null
17490 case x$lt_status in
17491 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17492 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17493 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17496 # compilation failed
17497 lt_cv_dlopen_self_static=no
17504 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17505 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17508 CPPFLAGS="$save_CPPFLAGS"
17509 LDFLAGS="$save_LDFLAGS"
17514 case $lt_cv_dlopen_self in
17515 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17516 *) enable_dlopen_self=unknown ;;
17519 case $lt_cv_dlopen_self_static in
17520 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17521 *) enable_dlopen_self_static=unknown ;;
17526 # The else clause should only fire when bootstrapping the
17527 # libtool distribution, otherwise you forgot to ship ltmain.sh
17528 # with your package, and you will get complaints that there are
17529 # no rules to generate ltmain.sh.
17530 if test -f "$ltmain"; then
17531 # See if we are running on zsh, and set the options which allow our commands through
17532 # without removal of \ escapes.
17533 if test -n "${ZSH_VERSION+set}" ; then
17534 setopt NO_GLOB_SUBST
17536 # Now quote all the things that may contain metacharacters while being
17537 # careful not to overquote the AC_SUBSTed values. We take copies of the
17538 # variables and quote the copies for generation of the libtool script.
17539 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17540 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17541 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17542 deplibs_check_method reload_flag reload_cmds need_locks \
17543 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17544 lt_cv_sys_global_symbol_to_c_name_address \
17545 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17546 old_postinstall_cmds old_postuninstall_cmds \
17550 lt_prog_compiler_wl_GCJ \
17551 lt_prog_compiler_pic_GCJ \
17552 lt_prog_compiler_static_GCJ \
17553 lt_prog_compiler_no_builtin_flag_GCJ \
17554 export_dynamic_flag_spec_GCJ \
17555 thread_safe_flag_spec_GCJ \
17556 whole_archive_flag_spec_GCJ \
17557 enable_shared_with_static_runtimes_GCJ \
17558 old_archive_cmds_GCJ \
17559 old_archive_from_new_cmds_GCJ \
17560 predep_objects_GCJ \
17561 postdep_objects_GCJ \
17564 compiler_lib_search_path_GCJ \
17566 archive_expsym_cmds_GCJ \
17567 postinstall_cmds_GCJ \
17568 postuninstall_cmds_GCJ \
17569 old_archive_from_expsyms_cmds_GCJ \
17570 allow_undefined_flag_GCJ \
17571 no_undefined_flag_GCJ \
17572 export_symbols_cmds_GCJ \
17573 hardcode_libdir_flag_spec_GCJ \
17574 hardcode_libdir_flag_spec_ld_GCJ \
17575 hardcode_libdir_separator_GCJ \
17576 hardcode_automatic_GCJ \
17578 module_expsym_cmds_GCJ \
17579 lt_cv_prog_compiler_c_o_GCJ \
17580 exclude_expsyms_GCJ \
17581 include_expsyms_GCJ; do
17584 old_archive_cmds_GCJ | \
17585 old_archive_from_new_cmds_GCJ | \
17586 archive_cmds_GCJ | \
17587 archive_expsym_cmds_GCJ | \
17588 module_cmds_GCJ | \
17589 module_expsym_cmds_GCJ | \
17590 old_archive_from_expsyms_cmds_GCJ | \
17591 export_symbols_cmds_GCJ | \
17592 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17593 postinstall_cmds | postuninstall_cmds | \
17594 old_postinstall_cmds | old_postuninstall_cmds | \
17595 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17596 # Double-quote double-evaled strings.
17597 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17600 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17606 *'\$0 --fallback-echo"')
17607 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17613 cat <<__EOF__ >> "$cfgfile"
17614 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17616 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17618 # Shell to use when invoking shell scripts.
17621 # Whether or not to build shared libraries.
17622 build_libtool_libs=$enable_shared
17624 # Whether or not to build static libraries.
17625 build_old_libs=$enable_static
17627 # Whether or not to add -lc for building shared libraries.
17628 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17630 # Whether or not to disallow shared libs when runtime libs are static
17631 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17633 # Whether or not to optimize for fast installation.
17634 fast_install=$enable_fast_install
17637 host_alias=$host_alias
17640 # An echo program that does not interpret backslashes.
17645 AR_FLAGS=$lt_AR_FLAGS
17650 # A language-specific compiler.
17651 CC=$lt_compiler_GCJ
17653 # Is the compiler the GNU C compiler?
17659 # The linker used to build libraries.
17662 # Whether we need hard or soft links.
17665 # A BSD-compatible nm program.
17668 # A symbol stripping program
17671 # Used to examine libraries when file_magic_cmd begins "file"
17672 MAGIC_CMD=$MAGIC_CMD
17674 # Used on cygwin: DLL creation program.
17677 # Used on cygwin: object dumper.
17680 # Used on cygwin: assembler.
17683 # The name of the directory that contains temporary libtool files.
17686 # How to create reloadable object files.
17687 reload_flag=$lt_reload_flag
17688 reload_cmds=$lt_reload_cmds
17690 # How to pass a linker flag through the compiler.
17691 wl=$lt_lt_prog_compiler_wl_GCJ
17693 # Object file suffix (normally "o").
17694 objext="$ac_objext"
17696 # Old archive suffix (normally "a").
17699 # Shared library suffix (normally ".so").
17702 # Executable file suffix (normally "").
17705 # Additional compiler flags for building library objects.
17706 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17709 # What is the maximum length of a command?
17710 max_cmd_len=$lt_cv_sys_max_cmd_len
17712 # Does compiler simultaneously support -c and -o options?
17713 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17715 # Must we lock files when doing compilation ?
17716 need_locks=$lt_need_locks
17718 # Do we need the lib prefix for modules?
17719 need_lib_prefix=$need_lib_prefix
17721 # Do we need a version for libraries?
17722 need_version=$need_version
17724 # Whether dlopen is supported.
17725 dlopen_support=$enable_dlopen
17727 # Whether dlopen of programs is supported.
17728 dlopen_self=$enable_dlopen_self
17730 # Whether dlopen of statically linked programs is supported.
17731 dlopen_self_static=$enable_dlopen_self_static
17733 # Compiler flag to prevent dynamic linking.
17734 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17736 # Compiler flag to turn off builtin functions.
17737 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17739 # Compiler flag to allow reflexive dlopens.
17740 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17742 # Compiler flag to generate shared objects directly from archives.
17743 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17745 # Compiler flag to generate thread-safe objects.
17746 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17748 # Library versioning type.
17749 version_type=$version_type
17751 # Format of library name prefix.
17752 libname_spec=$lt_libname_spec
17754 # List of archive names. First name is the real one, the rest are links.
17755 # The last name is the one that the linker finds with -lNAME.
17756 library_names_spec=$lt_library_names_spec
17758 # The coded name of the library, if different from the real name.
17759 soname_spec=$lt_soname_spec
17761 # Commands used to build and install an old-style archive.
17763 old_archive_cmds=$lt_old_archive_cmds_GCJ
17764 old_postinstall_cmds=$lt_old_postinstall_cmds
17765 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17767 # Create an old-style archive from a shared archive.
17768 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17770 # Create a temporary old-style archive to link instead of a shared archive.
17771 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17773 # Commands used to build and install a shared archive.
17774 archive_cmds=$lt_archive_cmds_GCJ
17775 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17776 postinstall_cmds=$lt_postinstall_cmds
17777 postuninstall_cmds=$lt_postuninstall_cmds
17779 # Commands used to build a loadable module (assumed same as above if empty)
17780 module_cmds=$lt_module_cmds_GCJ
17781 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17783 # Commands to strip libraries.
17784 old_striplib=$lt_old_striplib
17785 striplib=$lt_striplib
17787 # Dependencies to place before the objects being linked to create a
17789 predep_objects=$lt_predep_objects_GCJ
17791 # Dependencies to place after the objects being linked to create a
17793 postdep_objects=$lt_postdep_objects_GCJ
17795 # Dependencies to place before the objects being linked to create a
17797 predeps=$lt_predeps_GCJ
17799 # Dependencies to place after the objects being linked to create a
17801 postdeps=$lt_postdeps_GCJ
17803 # The library search path used internally by the compiler when linking
17804 # a shared library.
17805 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17807 # Method to check whether dependent libraries are shared objects.
17808 deplibs_check_method=$lt_deplibs_check_method
17810 # Command to use when deplibs_check_method == file_magic.
17811 file_magic_cmd=$lt_file_magic_cmd
17813 # Flag that allows shared libraries with undefined symbols to be built.
17814 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17816 # Flag that forces no undefined symbols.
17817 no_undefined_flag=$lt_no_undefined_flag_GCJ
17819 # Commands used to finish a libtool library installation in a directory.
17820 finish_cmds=$lt_finish_cmds
17822 # Same as above, but a single script fragment to be evaled but not shown.
17823 finish_eval=$lt_finish_eval
17825 # Take the output of nm and produce a listing of raw symbols and C names.
17826 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17828 # Transform the output of nm in a proper C declaration
17829 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17831 # Transform the output of nm in a C name address pair
17832 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17834 # This is the shared library runtime path variable.
17835 runpath_var=$runpath_var
17837 # This is the shared library path variable.
17838 shlibpath_var=$shlibpath_var
17840 # Is shlibpath searched before the hard-coded library search path?
17841 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17843 # How to hardcode a shared library path into an executable.
17844 hardcode_action=$hardcode_action_GCJ
17846 # Whether we should hardcode library paths into libraries.
17847 hardcode_into_libs=$hardcode_into_libs
17849 # Flag to hardcode \$libdir into a binary during linking.
17850 # This must work even if \$libdir does not exist.
17851 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17853 # If ld is used when linking, flag to hardcode \$libdir into
17854 # a binary during linking. This must work even if \$libdir does
17856 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17858 # Whether we need a single -rpath flag with a separated argument.
17859 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17861 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17862 # resulting binary.
17863 hardcode_direct=$hardcode_direct_GCJ
17865 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17866 # resulting binary.
17867 hardcode_minus_L=$hardcode_minus_L_GCJ
17869 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17870 # the resulting binary.
17871 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17873 # Set to yes if building a shared library automatically hardcodes DIR into the library
17874 # and all subsequent libraries and executables linked against it.
17875 hardcode_automatic=$hardcode_automatic_GCJ
17877 # Variables whose values should be saved in libtool wrapper scripts and
17878 # restored at relink time.
17879 variables_saved_for_relink="$variables_saved_for_relink"
17881 # Whether libtool must link a program against all its dependency libraries.
17882 link_all_deplibs=$link_all_deplibs_GCJ
17884 # Compile-time system search path for libraries
17885 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17887 # Run-time system search path for libraries
17888 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17890 # Fix the shell variable \$srcfile for the compiler.
17891 fix_srcfile_path="$fix_srcfile_path_GCJ"
17893 # Set to yes if exported symbols are required.
17894 always_export_symbols=$always_export_symbols_GCJ
17896 # The commands to list exported symbols.
17897 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17899 # The commands to extract the exported symbol list from a shared archive.
17900 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17902 # Symbols that should not be listed in the preloaded symbols.
17903 exclude_expsyms=$lt_exclude_expsyms_GCJ
17905 # Symbols that must always be exported.
17906 include_expsyms=$lt_include_expsyms_GCJ
17908 # ### END LIBTOOL TAG CONFIG: $tagname
17914 # If there is no Makefile yet, we rely on a make rule to execute
17915 # `config.status --recheck' to rerun these tests and create the
17916 # libtool script then.
17917 test -f Makefile && make "$ltmain"
17922 ac_cpp='$CPP $CPPFLAGS'
17923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17938 # Source file extension for RC test sources.
17941 # Object file extension for compiled RC test sources.
17945 # Code to be used in simple compile tests
17946 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17948 # Code to be used in simple link tests
17949 lt_simple_link_test_code="$lt_simple_compile_test_code"
17951 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17953 # If no C compiler was specified, use CC.
17956 # Allow CC to be a program name with arguments.
17960 # Allow CC to be a program name with arguments.
17965 lt_cv_prog_compiler_c_o_RC=yes
17967 # The else clause should only fire when bootstrapping the
17968 # libtool distribution, otherwise you forgot to ship ltmain.sh
17969 # with your package, and you will get complaints that there are
17970 # no rules to generate ltmain.sh.
17971 if test -f "$ltmain"; then
17972 # See if we are running on zsh, and set the options which allow our commands through
17973 # without removal of \ escapes.
17974 if test -n "${ZSH_VERSION+set}" ; then
17975 setopt NO_GLOB_SUBST
17977 # Now quote all the things that may contain metacharacters while being
17978 # careful not to overquote the AC_SUBSTed values. We take copies of the
17979 # variables and quote the copies for generation of the libtool script.
17980 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17981 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17982 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17983 deplibs_check_method reload_flag reload_cmds need_locks \
17984 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17985 lt_cv_sys_global_symbol_to_c_name_address \
17986 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17987 old_postinstall_cmds old_postuninstall_cmds \
17991 lt_prog_compiler_wl_RC \
17992 lt_prog_compiler_pic_RC \
17993 lt_prog_compiler_static_RC \
17994 lt_prog_compiler_no_builtin_flag_RC \
17995 export_dynamic_flag_spec_RC \
17996 thread_safe_flag_spec_RC \
17997 whole_archive_flag_spec_RC \
17998 enable_shared_with_static_runtimes_RC \
17999 old_archive_cmds_RC \
18000 old_archive_from_new_cmds_RC \
18001 predep_objects_RC \
18002 postdep_objects_RC \
18005 compiler_lib_search_path_RC \
18007 archive_expsym_cmds_RC \
18008 postinstall_cmds_RC \
18009 postuninstall_cmds_RC \
18010 old_archive_from_expsyms_cmds_RC \
18011 allow_undefined_flag_RC \
18012 no_undefined_flag_RC \
18013 export_symbols_cmds_RC \
18014 hardcode_libdir_flag_spec_RC \
18015 hardcode_libdir_flag_spec_ld_RC \
18016 hardcode_libdir_separator_RC \
18017 hardcode_automatic_RC \
18019 module_expsym_cmds_RC \
18020 lt_cv_prog_compiler_c_o_RC \
18021 exclude_expsyms_RC \
18022 include_expsyms_RC; do
18025 old_archive_cmds_RC | \
18026 old_archive_from_new_cmds_RC | \
18027 archive_cmds_RC | \
18028 archive_expsym_cmds_RC | \
18030 module_expsym_cmds_RC | \
18031 old_archive_from_expsyms_cmds_RC | \
18032 export_symbols_cmds_RC | \
18033 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18034 postinstall_cmds | postuninstall_cmds | \
18035 old_postinstall_cmds | old_postuninstall_cmds | \
18036 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18037 # Double-quote double-evaled strings.
18038 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18041 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18047 *'\$0 --fallback-echo"')
18048 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18054 cat <<__EOF__ >> "$cfgfile"
18055 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18057 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18059 # Shell to use when invoking shell scripts.
18062 # Whether or not to build shared libraries.
18063 build_libtool_libs=$enable_shared
18065 # Whether or not to build static libraries.
18066 build_old_libs=$enable_static
18068 # Whether or not to add -lc for building shared libraries.
18069 build_libtool_need_lc=$archive_cmds_need_lc_RC
18071 # Whether or not to disallow shared libs when runtime libs are static
18072 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18074 # Whether or not to optimize for fast installation.
18075 fast_install=$enable_fast_install
18078 host_alias=$host_alias
18081 # An echo program that does not interpret backslashes.
18086 AR_FLAGS=$lt_AR_FLAGS
18091 # A language-specific compiler.
18094 # Is the compiler the GNU C compiler?
18100 # The linker used to build libraries.
18103 # Whether we need hard or soft links.
18106 # A BSD-compatible nm program.
18109 # A symbol stripping program
18112 # Used to examine libraries when file_magic_cmd begins "file"
18113 MAGIC_CMD=$MAGIC_CMD
18115 # Used on cygwin: DLL creation program.
18118 # Used on cygwin: object dumper.
18121 # Used on cygwin: assembler.
18124 # The name of the directory that contains temporary libtool files.
18127 # How to create reloadable object files.
18128 reload_flag=$lt_reload_flag
18129 reload_cmds=$lt_reload_cmds
18131 # How to pass a linker flag through the compiler.
18132 wl=$lt_lt_prog_compiler_wl_RC
18134 # Object file suffix (normally "o").
18135 objext="$ac_objext"
18137 # Old archive suffix (normally "a").
18140 # Shared library suffix (normally ".so").
18143 # Executable file suffix (normally "").
18146 # Additional compiler flags for building library objects.
18147 pic_flag=$lt_lt_prog_compiler_pic_RC
18150 # What is the maximum length of a command?
18151 max_cmd_len=$lt_cv_sys_max_cmd_len
18153 # Does compiler simultaneously support -c and -o options?
18154 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18156 # Must we lock files when doing compilation ?
18157 need_locks=$lt_need_locks
18159 # Do we need the lib prefix for modules?
18160 need_lib_prefix=$need_lib_prefix
18162 # Do we need a version for libraries?
18163 need_version=$need_version
18165 # Whether dlopen is supported.
18166 dlopen_support=$enable_dlopen
18168 # Whether dlopen of programs is supported.
18169 dlopen_self=$enable_dlopen_self
18171 # Whether dlopen of statically linked programs is supported.
18172 dlopen_self_static=$enable_dlopen_self_static
18174 # Compiler flag to prevent dynamic linking.
18175 link_static_flag=$lt_lt_prog_compiler_static_RC
18177 # Compiler flag to turn off builtin functions.
18178 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18180 # Compiler flag to allow reflexive dlopens.
18181 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18183 # Compiler flag to generate shared objects directly from archives.
18184 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18186 # Compiler flag to generate thread-safe objects.
18187 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18189 # Library versioning type.
18190 version_type=$version_type
18192 # Format of library name prefix.
18193 libname_spec=$lt_libname_spec
18195 # List of archive names. First name is the real one, the rest are links.
18196 # The last name is the one that the linker finds with -lNAME.
18197 library_names_spec=$lt_library_names_spec
18199 # The coded name of the library, if different from the real name.
18200 soname_spec=$lt_soname_spec
18202 # Commands used to build and install an old-style archive.
18204 old_archive_cmds=$lt_old_archive_cmds_RC
18205 old_postinstall_cmds=$lt_old_postinstall_cmds
18206 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18208 # Create an old-style archive from a shared archive.
18209 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18211 # Create a temporary old-style archive to link instead of a shared archive.
18212 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18214 # Commands used to build and install a shared archive.
18215 archive_cmds=$lt_archive_cmds_RC
18216 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18217 postinstall_cmds=$lt_postinstall_cmds
18218 postuninstall_cmds=$lt_postuninstall_cmds
18220 # Commands used to build a loadable module (assumed same as above if empty)
18221 module_cmds=$lt_module_cmds_RC
18222 module_expsym_cmds=$lt_module_expsym_cmds_RC
18224 # Commands to strip libraries.
18225 old_striplib=$lt_old_striplib
18226 striplib=$lt_striplib
18228 # Dependencies to place before the objects being linked to create a
18230 predep_objects=$lt_predep_objects_RC
18232 # Dependencies to place after the objects being linked to create a
18234 postdep_objects=$lt_postdep_objects_RC
18236 # Dependencies to place before the objects being linked to create a
18238 predeps=$lt_predeps_RC
18240 # Dependencies to place after the objects being linked to create a
18242 postdeps=$lt_postdeps_RC
18244 # The library search path used internally by the compiler when linking
18245 # a shared library.
18246 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18248 # Method to check whether dependent libraries are shared objects.
18249 deplibs_check_method=$lt_deplibs_check_method
18251 # Command to use when deplibs_check_method == file_magic.
18252 file_magic_cmd=$lt_file_magic_cmd
18254 # Flag that allows shared libraries with undefined symbols to be built.
18255 allow_undefined_flag=$lt_allow_undefined_flag_RC
18257 # Flag that forces no undefined symbols.
18258 no_undefined_flag=$lt_no_undefined_flag_RC
18260 # Commands used to finish a libtool library installation in a directory.
18261 finish_cmds=$lt_finish_cmds
18263 # Same as above, but a single script fragment to be evaled but not shown.
18264 finish_eval=$lt_finish_eval
18266 # Take the output of nm and produce a listing of raw symbols and C names.
18267 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18269 # Transform the output of nm in a proper C declaration
18270 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18272 # Transform the output of nm in a C name address pair
18273 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18275 # This is the shared library runtime path variable.
18276 runpath_var=$runpath_var
18278 # This is the shared library path variable.
18279 shlibpath_var=$shlibpath_var
18281 # Is shlibpath searched before the hard-coded library search path?
18282 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18284 # How to hardcode a shared library path into an executable.
18285 hardcode_action=$hardcode_action_RC
18287 # Whether we should hardcode library paths into libraries.
18288 hardcode_into_libs=$hardcode_into_libs
18290 # Flag to hardcode \$libdir into a binary during linking.
18291 # This must work even if \$libdir does not exist.
18292 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18294 # If ld is used when linking, flag to hardcode \$libdir into
18295 # a binary during linking. This must work even if \$libdir does
18297 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18299 # Whether we need a single -rpath flag with a separated argument.
18300 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18302 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18303 # resulting binary.
18304 hardcode_direct=$hardcode_direct_RC
18306 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18307 # resulting binary.
18308 hardcode_minus_L=$hardcode_minus_L_RC
18310 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18311 # the resulting binary.
18312 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18314 # Set to yes if building a shared library automatically hardcodes DIR into the library
18315 # and all subsequent libraries and executables linked against it.
18316 hardcode_automatic=$hardcode_automatic_RC
18318 # Variables whose values should be saved in libtool wrapper scripts and
18319 # restored at relink time.
18320 variables_saved_for_relink="$variables_saved_for_relink"
18322 # Whether libtool must link a program against all its dependency libraries.
18323 link_all_deplibs=$link_all_deplibs_RC
18325 # Compile-time system search path for libraries
18326 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18328 # Run-time system search path for libraries
18329 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18331 # Fix the shell variable \$srcfile for the compiler.
18332 fix_srcfile_path="$fix_srcfile_path_RC"
18334 # Set to yes if exported symbols are required.
18335 always_export_symbols=$always_export_symbols_RC
18337 # The commands to list exported symbols.
18338 export_symbols_cmds=$lt_export_symbols_cmds_RC
18340 # The commands to extract the exported symbol list from a shared archive.
18341 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18343 # Symbols that should not be listed in the preloaded symbols.
18344 exclude_expsyms=$lt_exclude_expsyms_RC
18346 # Symbols that must always be exported.
18347 include_expsyms=$lt_include_expsyms_RC
18349 # ### END LIBTOOL TAG CONFIG: $tagname
18355 # If there is no Makefile yet, we rely on a make rule to execute
18356 # `config.status --recheck' to rerun these tests and create the
18357 # libtool script then.
18358 test -f Makefile && make "$ltmain"
18363 ac_cpp='$CPP $CPPFLAGS'
18364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18373 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18374 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18375 { (exit 1); exit 1; }; }
18379 # Append the new tag name to the list of available tags.
18380 if test -n "$tagname" ; then
18381 available_tags="$available_tags $tagname"
18387 # Now substitute the updated list of available tags.
18388 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18389 mv "${ofile}T" "$ofile"
18393 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18394 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18395 { (exit 1); exit 1; }; }
18401 # This can be used to rebuild libtool when needed
18402 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18404 # Always use our own libtool.
18405 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18407 # Prevent multiple expansion
18429 # Extract the first word of "pwd", so it can be a program name with args.
18430 set dummy pwd; ac_word=$2
18431 echo "$as_me:$LINENO: checking for $ac_word" >&5
18432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18433 if test "${ac_cv_path_RPWD+set}" = set; then
18434 echo $ECHO_N "(cached) $ECHO_C" >&6
18438 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18442 for as_dir in $PATH
18445 test -z "$as_dir" && as_dir=.
18446 for ac_exec_ext in '' $ac_executable_extensions; do
18447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18448 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18458 RPWD=$ac_cv_path_RPWD
18460 if test -n "$RPWD"; then
18461 echo "$as_me:$LINENO: result: $RPWD" >&5
18462 echo "${ECHO_T}$RPWD" >&6
18464 echo "$as_me:$LINENO: result: no" >&5
18465 echo "${ECHO_T}no" >&6
18468 # Extract the first word of "ar", so it can be a program name with args.
18469 set dummy ar; ac_word=$2
18470 echo "$as_me:$LINENO: checking for $ac_word" >&5
18471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18472 if test "${ac_cv_path_AR+set}" = set; then
18473 echo $ECHO_N "(cached) $ECHO_C" >&6
18477 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18481 for as_dir in $PATH
18484 test -z "$as_dir" && as_dir=.
18485 for ac_exec_ext in '' $ac_executable_extensions; do
18486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18487 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18499 if test -n "$AR"; then
18500 echo "$as_me:$LINENO: result: $AR" >&5
18501 echo "${ECHO_T}$AR" >&6
18503 echo "$as_me:$LINENO: result: no" >&5
18504 echo "${ECHO_T}no" >&6
18507 # Extract the first word of "sed", so it can be a program name with args.
18508 set dummy sed; ac_word=$2
18509 echo "$as_me:$LINENO: checking for $ac_word" >&5
18510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18511 if test "${ac_cv_path_SED+set}" = set; then
18512 echo $ECHO_N "(cached) $ECHO_C" >&6
18516 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18520 for as_dir in $PATH
18523 test -z "$as_dir" && as_dir=.
18524 for ac_exec_ext in '' $ac_executable_extensions; do
18525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18526 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18536 SED=$ac_cv_path_SED
18538 if test -n "$SED"; then
18539 echo "$as_me:$LINENO: result: $SED" >&5
18540 echo "${ECHO_T}$SED" >&6
18542 echo "$as_me:$LINENO: result: no" >&5
18543 echo "${ECHO_T}no" >&6
18546 # Extract the first word of "rm", so it can be a program name with args.
18547 set dummy rm; ac_word=$2
18548 echo "$as_me:$LINENO: checking for $ac_word" >&5
18549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18550 if test "${ac_cv_path_RM+set}" = set; then
18551 echo $ECHO_N "(cached) $ECHO_C" >&6
18555 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18559 for as_dir in $PATH
18562 test -z "$as_dir" && as_dir=.
18563 for ac_exec_ext in '' $ac_executable_extensions; do
18564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18565 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18577 if test -n "$RM"; then
18578 echo "$as_me:$LINENO: result: $RM" >&5
18579 echo "${ECHO_T}$RM" >&6
18581 echo "$as_me:$LINENO: result: no" >&5
18582 echo "${ECHO_T}no" >&6
18585 # Extract the first word of "echo", so it can be a program name with args.
18586 set dummy echo; ac_word=$2
18587 echo "$as_me:$LINENO: checking for $ac_word" >&5
18588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18589 if test "${ac_cv_path_ECHO+set}" = set; then
18590 echo $ECHO_N "(cached) $ECHO_C" >&6
18594 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18598 for as_dir in $PATH
18601 test -z "$as_dir" && as_dir=.
18602 for ac_exec_ext in '' $ac_executable_extensions; do
18603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18604 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18614 ECHO=$ac_cv_path_ECHO
18616 if test -n "$ECHO"; then
18617 echo "$as_me:$LINENO: result: $ECHO" >&5
18618 echo "${ECHO_T}$ECHO" >&6
18620 echo "$as_me:$LINENO: result: no" >&5
18621 echo "${ECHO_T}no" >&6
18624 # Extract the first word of "mkdir", so it can be a program name with args.
18625 set dummy mkdir; ac_word=$2
18626 echo "$as_me:$LINENO: checking for $ac_word" >&5
18627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18628 if test "${ac_cv_path_MKDIR+set}" = set; then
18629 echo $ECHO_N "(cached) $ECHO_C" >&6
18633 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18637 for as_dir in $PATH
18640 test -z "$as_dir" && as_dir=.
18641 for ac_exec_ext in '' $ac_executable_extensions; do
18642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18643 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18653 MKDIR=$ac_cv_path_MKDIR
18655 if test -n "$MKDIR"; then
18656 echo "$as_me:$LINENO: result: $MKDIR" >&5
18657 echo "${ECHO_T}$MKDIR" >&6
18659 echo "$as_me:$LINENO: result: no" >&5
18660 echo "${ECHO_T}no" >&6
18663 # Extract the first word of "date", so it can be a program name with args.
18664 set dummy date; ac_word=$2
18665 echo "$as_me:$LINENO: checking for $ac_word" >&5
18666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18667 if test "${ac_cv_path_DATE+set}" = set; then
18668 echo $ECHO_N "(cached) $ECHO_C" >&6
18672 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18676 for as_dir in $PATH
18679 test -z "$as_dir" && as_dir=.
18680 for ac_exec_ext in '' $ac_executable_extensions; do
18681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18682 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18692 DATE=$ac_cv_path_DATE
18694 if test -n "$DATE"; then
18695 echo "$as_me:$LINENO: result: $DATE" >&5
18696 echo "${ECHO_T}$DATE" >&6
18698 echo "$as_me:$LINENO: result: no" >&5
18699 echo "${ECHO_T}no" >&6
18702 # Extract the first word of "mv", so it can be a program name with args.
18703 set dummy mv; ac_word=$2
18704 echo "$as_me:$LINENO: checking for $ac_word" >&5
18705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18706 if test "${ac_cv_path_MV+set}" = set; then
18707 echo $ECHO_N "(cached) $ECHO_C" >&6
18711 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18715 for as_dir in $PATH
18718 test -z "$as_dir" && as_dir=.
18719 for ac_exec_ext in '' $ac_executable_extensions; do
18720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18721 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18733 if test -n "$MV"; then
18734 echo "$as_me:$LINENO: result: $MV" >&5
18735 echo "${ECHO_T}$MV" >&6
18737 echo "$as_me:$LINENO: result: no" >&5
18738 echo "${ECHO_T}no" >&6
18741 # Extract the first word of "dot", so it can be a program name with args.
18742 set dummy dot; ac_word=$2
18743 echo "$as_me:$LINENO: checking for $ac_word" >&5
18744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18745 if test "${ac_cv_path_DOT+set}" = set; then
18746 echo $ECHO_N "(cached) $ECHO_C" >&6
18750 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18754 for as_dir in $PATH
18757 test -z "$as_dir" && as_dir=.
18758 for ac_exec_ext in '' $ac_executable_extensions; do
18759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18760 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18770 DOT=$ac_cv_path_DOT
18772 if test -n "$DOT"; then
18773 echo "$as_me:$LINENO: result: $DOT" >&5
18774 echo "${ECHO_T}$DOT" >&6
18776 echo "$as_me:$LINENO: result: no" >&5
18777 echo "${ECHO_T}no" >&6
18780 # Extract the first word of "etags", so it can be a program name with args.
18781 set dummy etags; ac_word=$2
18782 echo "$as_me:$LINENO: checking for $ac_word" >&5
18783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18784 if test "${ac_cv_path_ETAGS+set}" = set; then
18785 echo $ECHO_N "(cached) $ECHO_C" >&6
18789 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18793 for as_dir in $PATH
18796 test -z "$as_dir" && as_dir=.
18797 for ac_exec_ext in '' $ac_executable_extensions; do
18798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18799 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18809 ETAGS=$ac_cv_path_ETAGS
18811 if test -n "$ETAGS"; then
18812 echo "$as_me:$LINENO: result: $ETAGS" >&5
18813 echo "${ECHO_T}$ETAGS" >&6
18815 echo "$as_me:$LINENO: result: no" >&5
18816 echo "${ECHO_T}no" >&6
18819 # Extract the first word of "purify", so it can be a program name with args.
18820 set dummy purify; ac_word=$2
18821 echo "$as_me:$LINENO: checking for $ac_word" >&5
18822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18823 if test "${ac_cv_path_PURIFY+set}" = set; then
18824 echo $ECHO_N "(cached) $ECHO_C" >&6
18828 ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path.
18831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18832 for as_dir in $PATH
18835 test -z "$as_dir" && as_dir=.
18836 for ac_exec_ext in '' $ac_executable_extensions; do
18837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18838 ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext"
18839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18848 PURIFY=$ac_cv_path_PURIFY
18850 if test -n "$PURIFY"; then
18851 echo "$as_me:$LINENO: result: $PURIFY" >&5
18852 echo "${ECHO_T}$PURIFY" >&6
18854 echo "$as_me:$LINENO: result: no" >&5
18855 echo "${ECHO_T}no" >&6
18858 # Extract the first word of "python", so it can be a program name with args.
18859 set dummy python; ac_word=$2
18860 echo "$as_me:$LINENO: checking for $ac_word" >&5
18861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18862 if test "${ac_cv_path_PYTHON+set}" = set; then
18863 echo $ECHO_N "(cached) $ECHO_C" >&6
18867 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18871 for as_dir in $PATH
18874 test -z "$as_dir" && as_dir=.
18875 for ac_exec_ext in '' $ac_executable_extensions; do
18876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18877 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18887 PYTHON=$ac_cv_path_PYTHON
18889 if test -n "$PYTHON"; then
18890 echo "$as_me:$LINENO: result: $PYTHON" >&5
18891 echo "${ECHO_T}$PYTHON" >&6
18893 echo "$as_me:$LINENO: result: no" >&5
18894 echo "${ECHO_T}no" >&6
18897 # Extract the first word of "qmtest", so it can be a program name with args.
18898 set dummy qmtest; ac_word=$2
18899 echo "$as_me:$LINENO: checking for $ac_word" >&5
18900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18901 if test "${ac_cv_path_QMTEST+set}" = set; then
18902 echo $ECHO_N "(cached) $ECHO_C" >&6
18906 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18910 for as_dir in $PATH
18913 test -z "$as_dir" && as_dir=.
18914 for ac_exec_ext in '' $ac_executable_extensions; do
18915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18916 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
18917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18926 QMTEST=$ac_cv_path_QMTEST
18928 if test -n "$QMTEST"; then
18929 echo "$as_me:$LINENO: result: $QMTEST" >&5
18930 echo "${ECHO_T}$QMTEST" >&6
18932 echo "$as_me:$LINENO: result: no" >&5
18933 echo "${ECHO_T}no" >&6
18937 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
18938 pymajor=`echo $pyversion | cut -d. -f1`
18939 pyminor=`echo $pyversion | cut -d. -f2`
18941 if test "$pymajor" -ge "2"
18943 if test "$pymajor" -eq "2"
18945 if test "$pyminor" -lt "2"
18947 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18948 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18949 { (exit 1); exit 1; }; }
18953 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18954 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18955 { (exit 1); exit 1; }; }
18962 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
18963 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
18964 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
18965 echo $ECHO_N "(cached) $ECHO_C" >&6
18967 ac_check_lib_save_LIBS=$LIBS
18969 cat >conftest.$ac_ext <<_ACEOF
18970 #line $LINENO "configure"
18973 cat confdefs.h >>conftest.$ac_ext
18974 cat >>conftest.$ac_ext <<_ACEOF
18975 /* end confdefs.h. */
18977 /* Override any gcc2 internal prototype to avoid an error. */
18981 /* We use char because int might match the return type of a gcc2
18982 builtin and then its argument prototype would still apply. */
18992 rm -f conftest.$ac_objext conftest$ac_exeext
18993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18994 (eval $ac_link) 2>&5
18996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18997 (exit $ac_status); } &&
18998 { ac_try='test -s conftest$ac_exeext'
18999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19000 (eval $ac_try) 2>&5
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); }; }; then
19004 ac_cv_lib_elf_elf_begin=yes
19006 echo "$as_me: failed program was:" >&5
19007 sed 's/^/| /' conftest.$ac_ext >&5
19009 ac_cv_lib_elf_elf_begin=no
19011 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19012 LIBS=$ac_check_lib_save_LIBS
19014 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19015 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19016 if test $ac_cv_lib_elf_elf_begin = yes; then
19017 cat >>confdefs.h <<_ACEOF
19018 #define HAVE_LIBELF 1
19026 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19027 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19028 if test "${ac_cv_search_dlopen+set}" = set; then
19029 echo $ECHO_N "(cached) $ECHO_C" >&6
19031 ac_func_search_save_LIBS=$LIBS
19032 ac_cv_search_dlopen=no
19033 cat >conftest.$ac_ext <<_ACEOF
19034 #line $LINENO "configure"
19037 cat confdefs.h >>conftest.$ac_ext
19038 cat >>conftest.$ac_ext <<_ACEOF
19039 /* end confdefs.h. */
19041 /* Override any gcc2 internal prototype to avoid an error. */
19045 /* We use char because int might match the return type of a gcc2
19046 builtin and then its argument prototype would still apply. */
19056 rm -f conftest.$ac_objext conftest$ac_exeext
19057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19058 (eval $ac_link) 2>&5
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); } &&
19062 { ac_try='test -s conftest$ac_exeext'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; }; then
19068 ac_cv_search_dlopen="none required"
19070 echo "$as_me: failed program was:" >&5
19071 sed 's/^/| /' conftest.$ac_ext >&5
19074 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19075 if test "$ac_cv_search_dlopen" = no; then
19076 for ac_lib in dl; do
19077 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19078 cat >conftest.$ac_ext <<_ACEOF
19079 #line $LINENO "configure"
19082 cat confdefs.h >>conftest.$ac_ext
19083 cat >>conftest.$ac_ext <<_ACEOF
19084 /* end confdefs.h. */
19086 /* Override any gcc2 internal prototype to avoid an error. */
19090 /* We use char because int might match the return type of a gcc2
19091 builtin and then its argument prototype would still apply. */
19101 rm -f conftest.$ac_objext conftest$ac_exeext
19102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19103 (eval $ac_link) 2>&5
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); } &&
19107 { ac_try='test -s conftest$ac_exeext'
19108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19109 (eval $ac_try) 2>&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; }; then
19113 ac_cv_search_dlopen="-l$ac_lib"
19116 echo "$as_me: failed program was:" >&5
19117 sed 's/^/| /' conftest.$ac_ext >&5
19120 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19123 LIBS=$ac_func_search_save_LIBS
19125 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19126 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19127 if test "$ac_cv_search_dlopen" != no; then
19128 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19131 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
19132 echo "$as_me: error: dlopen() required but not found" >&2;}
19133 { (exit 1); exit 1; }; }
19137 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19138 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19139 if test "${ac_cv_search_mallinfo+set}" = set; then
19140 echo $ECHO_N "(cached) $ECHO_C" >&6
19142 ac_func_search_save_LIBS=$LIBS
19143 ac_cv_search_mallinfo=no
19144 cat >conftest.$ac_ext <<_ACEOF
19145 #line $LINENO "configure"
19148 cat confdefs.h >>conftest.$ac_ext
19149 cat >>conftest.$ac_ext <<_ACEOF
19150 /* end confdefs.h. */
19152 /* Override any gcc2 internal prototype to avoid an error. */
19156 /* We use char because int might match the return type of a gcc2
19157 builtin and then its argument prototype would still apply. */
19167 rm -f conftest.$ac_objext conftest$ac_exeext
19168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19169 (eval $ac_link) 2>&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); } &&
19173 { ac_try='test -s conftest$ac_exeext'
19174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 (eval $ac_try) 2>&5
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); }; }; then
19179 ac_cv_search_mallinfo="none required"
19181 echo "$as_me: failed program was:" >&5
19182 sed 's/^/| /' conftest.$ac_ext >&5
19185 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19186 if test "$ac_cv_search_mallinfo" = no; then
19187 for ac_lib in malloc; do
19188 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19189 cat >conftest.$ac_ext <<_ACEOF
19190 #line $LINENO "configure"
19193 cat confdefs.h >>conftest.$ac_ext
19194 cat >>conftest.$ac_ext <<_ACEOF
19195 /* end confdefs.h. */
19197 /* Override any gcc2 internal prototype to avoid an error. */
19201 /* We use char because int might match the return type of a gcc2
19202 builtin and then its argument prototype would still apply. */
19212 rm -f conftest.$ac_objext conftest$ac_exeext
19213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19214 (eval $ac_link) 2>&5
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); } &&
19218 { ac_try='test -s conftest$ac_exeext'
19219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19220 (eval $ac_try) 2>&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); }; }; then
19224 ac_cv_search_mallinfo="-l$ac_lib"
19227 echo "$as_me: failed program was:" >&5
19228 sed 's/^/| /' conftest.$ac_ext >&5
19231 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19234 LIBS=$ac_func_search_save_LIBS
19236 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19237 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19238 if test "$ac_cv_search_mallinfo" != no; then
19239 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19240 cat >>confdefs.h <<\_ACEOF
19241 #define HAVE_MALLINFO 1
19248 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19249 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19250 if test "${ac_cv_header_stdc+set}" = set; then
19251 echo $ECHO_N "(cached) $ECHO_C" >&6
19253 cat >conftest.$ac_ext <<_ACEOF
19254 #line $LINENO "configure"
19257 cat confdefs.h >>conftest.$ac_ext
19258 cat >>conftest.$ac_ext <<_ACEOF
19259 /* end confdefs.h. */
19260 #include <stdlib.h>
19261 #include <stdarg.h>
19262 #include <string.h>
19273 rm -f conftest.$ac_objext
19274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19275 (eval $ac_compile) 2>&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); } &&
19279 { ac_try='test -s conftest.$ac_objext'
19280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19281 (eval $ac_try) 2>&5
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); }; }; then
19285 ac_cv_header_stdc=yes
19287 echo "$as_me: failed program was:" >&5
19288 sed 's/^/| /' conftest.$ac_ext >&5
19290 ac_cv_header_stdc=no
19292 rm -f conftest.$ac_objext conftest.$ac_ext
19294 if test $ac_cv_header_stdc = yes; then
19295 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19296 cat >conftest.$ac_ext <<_ACEOF
19297 #line $LINENO "configure"
19300 cat confdefs.h >>conftest.$ac_ext
19301 cat >>conftest.$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19303 #include <string.h>
19306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19307 $EGREP "memchr" >/dev/null 2>&1; then
19310 ac_cv_header_stdc=no
19316 if test $ac_cv_header_stdc = yes; then
19317 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19318 cat >conftest.$ac_ext <<_ACEOF
19319 #line $LINENO "configure"
19322 cat confdefs.h >>conftest.$ac_ext
19323 cat >>conftest.$ac_ext <<_ACEOF
19324 /* end confdefs.h. */
19325 #include <stdlib.h>
19328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19329 $EGREP "free" >/dev/null 2>&1; then
19332 ac_cv_header_stdc=no
19338 if test $ac_cv_header_stdc = yes; then
19339 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19340 if test "$cross_compiling" = yes; then
19343 cat >conftest.$ac_ext <<_ACEOF
19344 #line $LINENO "configure"
19347 cat confdefs.h >>conftest.$ac_ext
19348 cat >>conftest.$ac_ext <<_ACEOF
19349 /* end confdefs.h. */
19351 #if ((' ' & 0x0FF) == 0x020)
19352 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19353 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19355 # define ISLOWER(c) \
19356 (('a' <= (c) && (c) <= 'i') \
19357 || ('j' <= (c) && (c) <= 'r') \
19358 || ('s' <= (c) && (c) <= 'z'))
19359 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19362 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19367 for (i = 0; i < 256; i++)
19368 if (XOR (islower (i), ISLOWER (i))
19369 || toupper (i) != TOUPPER (i))
19374 rm -f conftest$ac_exeext
19375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19376 (eval $ac_link) 2>&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381 (eval $ac_try) 2>&5
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); }; }; then
19387 echo "$as_me: program exited with status $ac_status" >&5
19388 echo "$as_me: failed program was:" >&5
19389 sed 's/^/| /' conftest.$ac_ext >&5
19391 ( exit $ac_status )
19392 ac_cv_header_stdc=no
19394 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19398 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19399 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19400 if test $ac_cv_header_stdc = yes; then
19402 cat >>confdefs.h <<\_ACEOF
19403 #define STDC_HEADERS 1
19408 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19409 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19410 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19411 echo $ECHO_N "(cached) $ECHO_C" >&6
19413 cat >conftest.$ac_ext <<_ACEOF
19414 #line $LINENO "configure"
19417 cat confdefs.h >>conftest.$ac_ext
19418 cat >>conftest.$ac_ext <<_ACEOF
19419 /* end confdefs.h. */
19420 #include <sys/types.h>
19421 #include <sys/wait.h>
19422 #ifndef WEXITSTATUS
19423 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19426 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19434 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19439 rm -f conftest.$ac_objext
19440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19441 (eval $ac_compile) 2>&5
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); } &&
19445 { ac_try='test -s conftest.$ac_objext'
19446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19447 (eval $ac_try) 2>&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); }; }; then
19451 ac_cv_header_sys_wait_h=yes
19453 echo "$as_me: failed program was:" >&5
19454 sed 's/^/| /' conftest.$ac_ext >&5
19456 ac_cv_header_sys_wait_h=no
19458 rm -f conftest.$ac_objext conftest.$ac_ext
19460 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19461 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19462 if test $ac_cv_header_sys_wait_h = yes; then
19464 cat >>confdefs.h <<\_ACEOF
19465 #define HAVE_SYS_WAIT_H 1
19479 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19481 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19483 echo "$as_me:$LINENO: checking for $ac_header" >&5
19484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19486 echo $ECHO_N "(cached) $ECHO_C" >&6
19488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19489 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19491 # Is the header compilable?
19492 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19493 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19494 cat >conftest.$ac_ext <<_ACEOF
19495 #line $LINENO "configure"
19498 cat confdefs.h >>conftest.$ac_ext
19499 cat >>conftest.$ac_ext <<_ACEOF
19500 /* end confdefs.h. */
19501 $ac_includes_default
19502 #include <$ac_header>
19504 rm -f conftest.$ac_objext
19505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19506 (eval $ac_compile) 2>&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } &&
19510 { ac_try='test -s conftest.$ac_objext'
19511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19512 (eval $ac_try) 2>&5
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); }; }; then
19516 ac_header_compiler=yes
19518 echo "$as_me: failed program was:" >&5
19519 sed 's/^/| /' conftest.$ac_ext >&5
19521 ac_header_compiler=no
19523 rm -f conftest.$ac_objext conftest.$ac_ext
19524 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19525 echo "${ECHO_T}$ac_header_compiler" >&6
19527 # Is the header present?
19528 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19529 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19530 cat >conftest.$ac_ext <<_ACEOF
19531 #line $LINENO "configure"
19534 cat confdefs.h >>conftest.$ac_ext
19535 cat >>conftest.$ac_ext <<_ACEOF
19536 /* end confdefs.h. */
19537 #include <$ac_header>
19539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19540 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19542 grep -v '^ *+' conftest.er1 >conftest.err
19544 cat conftest.err >&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } >/dev/null; then
19547 if test -s conftest.err; then
19548 ac_cpp_err=$ac_c_preproc_warn_flag
19555 if test -z "$ac_cpp_err"; then
19556 ac_header_preproc=yes
19558 echo "$as_me: failed program was:" >&5
19559 sed 's/^/| /' conftest.$ac_ext >&5
19561 ac_header_preproc=no
19563 rm -f conftest.err conftest.$ac_ext
19564 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19565 echo "${ECHO_T}$ac_header_preproc" >&6
19567 # So? What about this header?
19568 case $ac_header_compiler:$ac_header_preproc in
19570 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19571 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19573 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19576 ## ------------------------------------ ##
19577 ## Report this to bug-autoconf@gnu.org. ##
19578 ## ------------------------------------ ##
19581 sed "s/^/$as_me: WARNING: /" >&2
19584 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19585 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19586 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19587 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19589 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19592 ## ------------------------------------ ##
19593 ## Report this to bug-autoconf@gnu.org. ##
19594 ## ------------------------------------ ##
19597 sed "s/^/$as_me: WARNING: /" >&2
19600 echo "$as_me:$LINENO: checking for $ac_header" >&5
19601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19603 echo $ECHO_N "(cached) $ECHO_C" >&6
19605 eval "$as_ac_Header=$ac_header_preproc"
19607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19612 cat >>confdefs.h <<_ACEOF
19613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19625 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19629 echo "$as_me:$LINENO: checking for $ac_header" >&5
19630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19632 echo $ECHO_N "(cached) $ECHO_C" >&6
19634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19635 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19637 # Is the header compilable?
19638 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19639 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19640 cat >conftest.$ac_ext <<_ACEOF
19641 #line $LINENO "configure"
19644 cat confdefs.h >>conftest.$ac_ext
19645 cat >>conftest.$ac_ext <<_ACEOF
19646 /* end confdefs.h. */
19647 $ac_includes_default
19648 #include <$ac_header>
19650 rm -f conftest.$ac_objext
19651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19652 (eval $ac_compile) 2>&5
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); } &&
19656 { ac_try='test -s conftest.$ac_objext'
19657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19658 (eval $ac_try) 2>&5
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); }; }; then
19662 ac_header_compiler=yes
19664 echo "$as_me: failed program was:" >&5
19665 sed 's/^/| /' conftest.$ac_ext >&5
19667 ac_header_compiler=no
19669 rm -f conftest.$ac_objext conftest.$ac_ext
19670 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19671 echo "${ECHO_T}$ac_header_compiler" >&6
19673 # Is the header present?
19674 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19675 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19676 cat >conftest.$ac_ext <<_ACEOF
19677 #line $LINENO "configure"
19680 cat confdefs.h >>conftest.$ac_ext
19681 cat >>conftest.$ac_ext <<_ACEOF
19682 /* end confdefs.h. */
19683 #include <$ac_header>
19685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19688 grep -v '^ *+' conftest.er1 >conftest.err
19690 cat conftest.err >&5
19691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692 (exit $ac_status); } >/dev/null; then
19693 if test -s conftest.err; then
19694 ac_cpp_err=$ac_c_preproc_warn_flag
19701 if test -z "$ac_cpp_err"; then
19702 ac_header_preproc=yes
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19707 ac_header_preproc=no
19709 rm -f conftest.err conftest.$ac_ext
19710 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19711 echo "${ECHO_T}$ac_header_preproc" >&6
19713 # So? What about this header?
19714 case $ac_header_compiler:$ac_header_preproc in
19716 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19717 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19719 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19722 ## ------------------------------------ ##
19723 ## Report this to bug-autoconf@gnu.org. ##
19724 ## ------------------------------------ ##
19727 sed "s/^/$as_me: WARNING: /" >&2
19730 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19731 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19732 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19733 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19735 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19738 ## ------------------------------------ ##
19739 ## Report this to bug-autoconf@gnu.org. ##
19740 ## ------------------------------------ ##
19743 sed "s/^/$as_me: WARNING: /" >&2
19746 echo "$as_me:$LINENO: checking for $ac_header" >&5
19747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19749 echo $ECHO_N "(cached) $ECHO_C" >&6
19751 eval "$as_ac_Header=$ac_header_preproc"
19753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19758 cat >>confdefs.h <<_ACEOF
19759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19769 for ac_header in dlfcn.h link.h
19771 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19773 echo "$as_me:$LINENO: checking for $ac_header" >&5
19774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19776 echo $ECHO_N "(cached) $ECHO_C" >&6
19778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19781 # Is the header compilable?
19782 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19783 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19784 cat >conftest.$ac_ext <<_ACEOF
19785 #line $LINENO "configure"
19788 cat confdefs.h >>conftest.$ac_ext
19789 cat >>conftest.$ac_ext <<_ACEOF
19790 /* end confdefs.h. */
19791 $ac_includes_default
19792 #include <$ac_header>
19794 rm -f conftest.$ac_objext
19795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19796 (eval $ac_compile) 2>&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); } &&
19800 { ac_try='test -s conftest.$ac_objext'
19801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19802 (eval $ac_try) 2>&5
19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19805 (exit $ac_status); }; }; then
19806 ac_header_compiler=yes
19808 echo "$as_me: failed program was:" >&5
19809 sed 's/^/| /' conftest.$ac_ext >&5
19811 ac_header_compiler=no
19813 rm -f conftest.$ac_objext conftest.$ac_ext
19814 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19815 echo "${ECHO_T}$ac_header_compiler" >&6
19817 # Is the header present?
19818 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19819 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19820 cat >conftest.$ac_ext <<_ACEOF
19821 #line $LINENO "configure"
19824 cat confdefs.h >>conftest.$ac_ext
19825 cat >>conftest.$ac_ext <<_ACEOF
19826 /* end confdefs.h. */
19827 #include <$ac_header>
19829 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19830 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19832 grep -v '^ *+' conftest.er1 >conftest.err
19834 cat conftest.err >&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); } >/dev/null; then
19837 if test -s conftest.err; then
19838 ac_cpp_err=$ac_c_preproc_warn_flag
19845 if test -z "$ac_cpp_err"; then
19846 ac_header_preproc=yes
19848 echo "$as_me: failed program was:" >&5
19849 sed 's/^/| /' conftest.$ac_ext >&5
19851 ac_header_preproc=no
19853 rm -f conftest.err conftest.$ac_ext
19854 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19855 echo "${ECHO_T}$ac_header_preproc" >&6
19857 # So? What about this header?
19858 case $ac_header_compiler:$ac_header_preproc in
19860 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19861 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19863 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19866 ## ------------------------------------ ##
19867 ## Report this to bug-autoconf@gnu.org. ##
19868 ## ------------------------------------ ##
19871 sed "s/^/$as_me: WARNING: /" >&2
19874 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19875 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19876 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19877 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19882 ## ------------------------------------ ##
19883 ## Report this to bug-autoconf@gnu.org. ##
19884 ## ------------------------------------ ##
19887 sed "s/^/$as_me: WARNING: /" >&2
19890 echo "$as_me:$LINENO: checking for $ac_header" >&5
19891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19893 echo $ECHO_N "(cached) $ECHO_C" >&6
19895 eval "$as_ac_Header=$ac_header_preproc"
19897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19901 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19902 cat >>confdefs.h <<_ACEOF
19903 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19912 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19913 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19914 if test "${ac_cv_c_const+set}" = set; then
19915 echo $ECHO_N "(cached) $ECHO_C" >&6
19917 cat >conftest.$ac_ext <<_ACEOF
19918 #line $LINENO "configure"
19921 cat confdefs.h >>conftest.$ac_ext
19922 cat >>conftest.$ac_ext <<_ACEOF
19923 /* end confdefs.h. */
19928 /* FIXME: Include the comments suggested by Paul. */
19929 #ifndef __cplusplus
19930 /* Ultrix mips cc rejects this. */
19931 typedef int charset[2];
19933 /* SunOS 4.1.1 cc rejects this. */
19934 char const *const *ccp;
19936 /* NEC SVR4.0.2 mips cc rejects this. */
19937 struct point {int x, y;};
19938 static struct point const zero = {0,0};
19939 /* AIX XL C 1.02.0.0 rejects this.
19940 It does not let you subtract one const X* pointer from another in
19941 an arm of an if-expression whose if-part is not a constant
19943 const char *g = "string";
19944 ccp = &g + (g ? g-g : 0);
19945 /* HPUX 7.0 cc rejects these. */
19948 ccp = (char const *const *) p;
19949 { /* SCO 3.2v4 cc rejects this. */
19951 char const *s = 0 ? (char *) 0 : (char const *) 0;
19955 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19956 int x[] = {25, 17};
19957 const int *foo = &x[0];
19960 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19961 typedef const int *iptr;
19965 { /* AIX XL C 1.02.0.0 rejects this saying
19966 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19967 struct s { int j; const int *ap[3]; };
19968 struct s *b; b->j = 5;
19970 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19971 const int foo = 10;
19979 rm -f conftest.$ac_objext
19980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19981 (eval $ac_compile) 2>&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); } &&
19985 { ac_try='test -s conftest.$ac_objext'
19986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987 (eval $ac_try) 2>&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); }; }; then
19993 echo "$as_me: failed program was:" >&5
19994 sed 's/^/| /' conftest.$ac_ext >&5
19998 rm -f conftest.$ac_objext conftest.$ac_ext
20000 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20001 echo "${ECHO_T}$ac_cv_c_const" >&6
20002 if test $ac_cv_c_const = no; then
20004 cat >>confdefs.h <<\_ACEOF
20010 echo "$as_me:$LINENO: checking for inline" >&5
20011 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20012 if test "${ac_cv_c_inline+set}" = set; then
20013 echo $ECHO_N "(cached) $ECHO_C" >&6
20016 for ac_kw in inline __inline__ __inline; do
20017 cat >conftest.$ac_ext <<_ACEOF
20018 #line $LINENO "configure"
20021 cat confdefs.h >>conftest.$ac_ext
20022 cat >>conftest.$ac_ext <<_ACEOF
20023 /* end confdefs.h. */
20024 #ifndef __cplusplus
20026 static $ac_kw foo_t static_foo () {return 0; }
20027 $ac_kw foo_t foo () {return 0; }
20031 rm -f conftest.$ac_objext
20032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20033 (eval $ac_compile) 2>&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); } &&
20037 { ac_try='test -s conftest.$ac_objext'
20038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20039 (eval $ac_try) 2>&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); }; }; then
20043 ac_cv_c_inline=$ac_kw; break
20045 echo "$as_me: failed program was:" >&5
20046 sed 's/^/| /' conftest.$ac_ext >&5
20049 rm -f conftest.$ac_objext conftest.$ac_ext
20053 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20054 echo "${ECHO_T}$ac_cv_c_inline" >&6
20055 case $ac_cv_c_inline in
20058 cat >>confdefs.h <<\_ACEOF
20062 *) cat >>confdefs.h <<_ACEOF
20063 #define inline $ac_cv_c_inline
20069 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20070 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20071 if test "${ac_cv_c_bigendian+set}" = set; then
20072 echo $ECHO_N "(cached) $ECHO_C" >&6
20074 # See if sys/param.h defines the BYTE_ORDER macro.
20075 cat >conftest.$ac_ext <<_ACEOF
20076 #line $LINENO "configure"
20079 cat confdefs.h >>conftest.$ac_ext
20080 cat >>conftest.$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20082 #include <sys/types.h>
20083 #include <sys/param.h>
20088 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20089 bogus endian macros
20096 rm -f conftest.$ac_objext
20097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20098 (eval $ac_compile) 2>&5
20100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20101 (exit $ac_status); } &&
20102 { ac_try='test -s conftest.$ac_objext'
20103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20104 (eval $ac_try) 2>&5
20106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107 (exit $ac_status); }; }; then
20108 # It does; now see whether it defined to BIG_ENDIAN or not.
20109 cat >conftest.$ac_ext <<_ACEOF
20110 #line $LINENO "configure"
20113 cat confdefs.h >>conftest.$ac_ext
20114 cat >>conftest.$ac_ext <<_ACEOF
20115 /* end confdefs.h. */
20116 #include <sys/types.h>
20117 #include <sys/param.h>
20122 #if BYTE_ORDER != BIG_ENDIAN
20130 rm -f conftest.$ac_objext
20131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20132 (eval $ac_compile) 2>&5
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); } &&
20136 { ac_try='test -s conftest.$ac_objext'
20137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20138 (eval $ac_try) 2>&5
20140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20141 (exit $ac_status); }; }; then
20142 ac_cv_c_bigendian=yes
20144 echo "$as_me: failed program was:" >&5
20145 sed 's/^/| /' conftest.$ac_ext >&5
20147 ac_cv_c_bigendian=no
20149 rm -f conftest.$ac_objext conftest.$ac_ext
20151 echo "$as_me: failed program was:" >&5
20152 sed 's/^/| /' conftest.$ac_ext >&5
20154 # It does not; compile a test program.
20155 if test "$cross_compiling" = yes; then
20156 # try to guess the endianness by grepping values into an object file
20157 ac_cv_c_bigendian=unknown
20158 cat >conftest.$ac_ext <<_ACEOF
20159 #line $LINENO "configure"
20162 cat confdefs.h >>conftest.$ac_ext
20163 cat >>conftest.$ac_ext <<_ACEOF
20164 /* end confdefs.h. */
20165 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20166 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20167 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20168 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20169 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20170 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20174 _ascii (); _ebcdic ();
20179 rm -f conftest.$ac_objext
20180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20181 (eval $ac_compile) 2>&5
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); } &&
20185 { ac_try='test -s conftest.$ac_objext'
20186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20187 (eval $ac_try) 2>&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); }; }; then
20191 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20192 ac_cv_c_bigendian=yes
20194 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20195 if test "$ac_cv_c_bigendian" = unknown; then
20196 ac_cv_c_bigendian=no
20198 # finding both strings is unlikely to happen, but who knows?
20199 ac_cv_c_bigendian=unknown
20203 echo "$as_me: failed program was:" >&5
20204 sed 's/^/| /' conftest.$ac_ext >&5
20207 rm -f conftest.$ac_objext conftest.$ac_ext
20209 cat >conftest.$ac_ext <<_ACEOF
20210 #line $LINENO "configure"
20213 cat confdefs.h >>conftest.$ac_ext
20214 cat >>conftest.$ac_ext <<_ACEOF
20215 /* end confdefs.h. */
20219 /* Are we little or big endian? From Harbison&Steele. */
20223 char c[sizeof (long)];
20226 exit (u.c[sizeof (long) - 1] == 1);
20229 rm -f conftest$ac_exeext
20230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20231 (eval $ac_link) 2>&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20236 (eval $ac_try) 2>&5
20238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); }; }; then
20240 ac_cv_c_bigendian=no
20242 echo "$as_me: program exited with status $ac_status" >&5
20243 echo "$as_me: failed program was:" >&5
20244 sed 's/^/| /' conftest.$ac_ext >&5
20246 ( exit $ac_status )
20247 ac_cv_c_bigendian=yes
20249 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20252 rm -f conftest.$ac_objext conftest.$ac_ext
20254 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20255 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20256 case $ac_cv_c_bigendian in
20258 cat >>confdefs.h <<\_ACEOF
20259 #define ENDIAN_BIG 1
20263 cat >>confdefs.h <<\_ACEOF
20264 #define ENDIAN_LITTLE 1
20268 { { echo "$as_me:$LINENO: error: unknown endianness
20269 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20270 echo "$as_me: error: unknown endianness
20271 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20272 { (exit 1); exit 1; }; } ;;
20276 echo "$as_me:$LINENO: checking for pid_t" >&5
20277 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20278 if test "${ac_cv_type_pid_t+set}" = set; then
20279 echo $ECHO_N "(cached) $ECHO_C" >&6
20281 cat >conftest.$ac_ext <<_ACEOF
20282 #line $LINENO "configure"
20285 cat confdefs.h >>conftest.$ac_ext
20286 cat >>conftest.$ac_ext <<_ACEOF
20287 /* end confdefs.h. */
20288 $ac_includes_default
20294 if (sizeof (pid_t))
20300 rm -f conftest.$ac_objext
20301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20302 (eval $ac_compile) 2>&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); } &&
20306 { ac_try='test -s conftest.$ac_objext'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; }; then
20312 ac_cv_type_pid_t=yes
20314 echo "$as_me: failed program was:" >&5
20315 sed 's/^/| /' conftest.$ac_ext >&5
20317 ac_cv_type_pid_t=no
20319 rm -f conftest.$ac_objext conftest.$ac_ext
20321 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20322 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20323 if test $ac_cv_type_pid_t = yes; then
20327 cat >>confdefs.h <<_ACEOF
20333 echo "$as_me:$LINENO: checking for size_t" >&5
20334 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20335 if test "${ac_cv_type_size_t+set}" = set; then
20336 echo $ECHO_N "(cached) $ECHO_C" >&6
20338 cat >conftest.$ac_ext <<_ACEOF
20339 #line $LINENO "configure"
20342 cat confdefs.h >>conftest.$ac_ext
20343 cat >>conftest.$ac_ext <<_ACEOF
20344 /* end confdefs.h. */
20345 $ac_includes_default
20351 if (sizeof (size_t))
20357 rm -f conftest.$ac_objext
20358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20359 (eval $ac_compile) 2>&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); } &&
20363 { ac_try='test -s conftest.$ac_objext'
20364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20365 (eval $ac_try) 2>&5
20367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368 (exit $ac_status); }; }; then
20369 ac_cv_type_size_t=yes
20371 echo "$as_me: failed program was:" >&5
20372 sed 's/^/| /' conftest.$ac_ext >&5
20374 ac_cv_type_size_t=no
20376 rm -f conftest.$ac_objext conftest.$ac_ext
20378 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20379 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20380 if test $ac_cv_type_size_t = yes; then
20384 cat >>confdefs.h <<_ACEOF
20385 #define size_t unsigned
20390 echo "$as_me:$LINENO: checking for int64_t" >&5
20391 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20392 if test "${ac_cv_type_int64_t+set}" = set; then
20393 echo $ECHO_N "(cached) $ECHO_C" >&6
20395 cat >conftest.$ac_ext <<_ACEOF
20396 #line $LINENO "configure"
20399 cat confdefs.h >>conftest.$ac_ext
20400 cat >>conftest.$ac_ext <<_ACEOF
20401 /* end confdefs.h. */
20402 $ac_includes_default
20408 if (sizeof (int64_t))
20414 rm -f conftest.$ac_objext
20415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20416 (eval $ac_compile) 2>&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); } &&
20420 { ac_try='test -s conftest.$ac_objext'
20421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20422 (eval $ac_try) 2>&5
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); }; }; then
20426 ac_cv_type_int64_t=yes
20428 echo "$as_me: failed program was:" >&5
20429 sed 's/^/| /' conftest.$ac_ext >&5
20431 ac_cv_type_int64_t=no
20433 rm -f conftest.$ac_objext conftest.$ac_ext
20435 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20436 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20437 if test $ac_cv_type_int64_t = yes; then
20439 cat >>confdefs.h <<_ACEOF
20440 #define HAVE_INT64_T 1
20445 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20446 echo "$as_me: error: Type int64_t required but not found" >&2;}
20447 { (exit 1); exit 1; }; }
20450 echo "$as_me:$LINENO: checking for uint64_t" >&5
20451 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20452 if test "${ac_cv_type_uint64_t+set}" = set; then
20453 echo $ECHO_N "(cached) $ECHO_C" >&6
20455 cat >conftest.$ac_ext <<_ACEOF
20456 #line $LINENO "configure"
20459 cat confdefs.h >>conftest.$ac_ext
20460 cat >>conftest.$ac_ext <<_ACEOF
20461 /* end confdefs.h. */
20462 $ac_includes_default
20466 if ((uint64_t *) 0)
20468 if (sizeof (uint64_t))
20474 rm -f conftest.$ac_objext
20475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20476 (eval $ac_compile) 2>&5
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); } &&
20480 { ac_try='test -s conftest.$ac_objext'
20481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20482 (eval $ac_try) 2>&5
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); }; }; then
20486 ac_cv_type_uint64_t=yes
20488 echo "$as_me: failed program was:" >&5
20489 sed 's/^/| /' conftest.$ac_ext >&5
20491 ac_cv_type_uint64_t=no
20493 rm -f conftest.$ac_objext conftest.$ac_ext
20495 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20496 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20497 if test $ac_cv_type_uint64_t = yes; then
20499 cat >>confdefs.h <<_ACEOF
20500 #define HAVE_UINT64_T 1
20505 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20506 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20507 { (exit 1); exit 1; }; }
20510 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20511 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20512 if test "${ac_cv_header_time+set}" = set; then
20513 echo $ECHO_N "(cached) $ECHO_C" >&6
20515 cat >conftest.$ac_ext <<_ACEOF
20516 #line $LINENO "configure"
20519 cat confdefs.h >>conftest.$ac_ext
20520 cat >>conftest.$ac_ext <<_ACEOF
20521 /* end confdefs.h. */
20522 #include <sys/types.h>
20523 #include <sys/time.h>
20529 if ((struct tm *) 0)
20535 rm -f conftest.$ac_objext
20536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20537 (eval $ac_compile) 2>&5
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); } &&
20541 { ac_try='test -s conftest.$ac_objext'
20542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20543 (eval $ac_try) 2>&5
20545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20546 (exit $ac_status); }; }; then
20547 ac_cv_header_time=yes
20549 echo "$as_me: failed program was:" >&5
20550 sed 's/^/| /' conftest.$ac_ext >&5
20552 ac_cv_header_time=no
20554 rm -f conftest.$ac_objext conftest.$ac_ext
20556 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20557 echo "${ECHO_T}$ac_cv_header_time" >&6
20558 if test $ac_cv_header_time = yes; then
20560 cat >>confdefs.h <<\_ACEOF
20561 #define TIME_WITH_SYS_TIME 1
20566 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20567 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20568 if test "${ac_cv_struct_tm+set}" = set; then
20569 echo $ECHO_N "(cached) $ECHO_C" >&6
20571 cat >conftest.$ac_ext <<_ACEOF
20572 #line $LINENO "configure"
20575 cat confdefs.h >>conftest.$ac_ext
20576 cat >>conftest.$ac_ext <<_ACEOF
20577 /* end confdefs.h. */
20578 #include <sys/types.h>
20584 struct tm *tp; tp->tm_sec;
20589 rm -f conftest.$ac_objext
20590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20591 (eval $ac_compile) 2>&5
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); } &&
20595 { ac_try='test -s conftest.$ac_objext'
20596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597 (eval $ac_try) 2>&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; }; then
20601 ac_cv_struct_tm=time.h
20603 echo "$as_me: failed program was:" >&5
20604 sed 's/^/| /' conftest.$ac_ext >&5
20606 ac_cv_struct_tm=sys/time.h
20608 rm -f conftest.$ac_objext conftest.$ac_ext
20610 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20611 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20612 if test $ac_cv_struct_tm = sys/time.h; then
20614 cat >>confdefs.h <<\_ACEOF
20615 #define TM_IN_SYS_TIME 1
20621 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20622 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20623 if test "${ac_cv_cxx_namespaces+set}" = set; then
20624 echo $ECHO_N "(cached) $ECHO_C" >&6
20629 ac_cpp='$CXXCPP $CPPFLAGS'
20630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20634 cat >conftest.$ac_ext <<_ACEOF
20635 #line $LINENO "configure"
20638 cat confdefs.h >>conftest.$ac_ext
20639 cat >>conftest.$ac_ext <<_ACEOF
20640 /* end confdefs.h. */
20641 namespace Outer { namespace Inner { int i = 0; }}
20645 using namespace Outer::Inner; return i;
20650 rm -f conftest.$ac_objext
20651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20652 (eval $ac_compile) 2>&5
20654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20655 (exit $ac_status); } &&
20656 { ac_try='test -s conftest.$ac_objext'
20657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20658 (eval $ac_try) 2>&5
20660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661 (exit $ac_status); }; }; then
20662 ac_cv_cxx_namespaces=yes
20664 echo "$as_me: failed program was:" >&5
20665 sed 's/^/| /' conftest.$ac_ext >&5
20667 ac_cv_cxx_namespaces=no
20669 rm -f conftest.$ac_objext conftest.$ac_ext
20671 ac_cpp='$CPP $CPPFLAGS'
20672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20678 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20679 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20680 if test "$ac_cv_cxx_namespaces" = yes; then
20682 cat >>confdefs.h <<\_ACEOF
20683 #define HAVE_NAMESPACES
20688 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20689 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20690 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20691 echo $ECHO_N "(cached) $ECHO_C" >&6
20697 ac_cpp='$CXXCPP $CPPFLAGS'
20698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20702 cat >conftest.$ac_ext <<_ACEOF
20703 #line $LINENO "configure"
20706 cat confdefs.h >>conftest.$ac_ext
20707 cat >>conftest.$ac_ext <<_ACEOF
20708 /* end confdefs.h. */
20709 #include <ext/hash_map>
20710 #ifdef HAVE_NAMESPACES
20711 using namespace std;
20716 hash_map<int, int> t; return 0;
20721 rm -f conftest.$ac_objext
20722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20723 (eval $ac_compile) 2>&5
20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20726 (exit $ac_status); } &&
20727 { ac_try='test -s conftest.$ac_objext'
20728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20729 (eval $ac_try) 2>&5
20731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20732 (exit $ac_status); }; }; then
20733 ac_cv_cxx_have_ext_hash_map=std
20735 echo "$as_me: failed program was:" >&5
20736 sed 's/^/| /' conftest.$ac_ext >&5
20738 ac_cv_cxx_have_ext_hash_map=no
20740 rm -f conftest.$ac_objext conftest.$ac_ext
20741 cat >conftest.$ac_ext <<_ACEOF
20742 #line $LINENO "configure"
20745 cat confdefs.h >>conftest.$ac_ext
20746 cat >>conftest.$ac_ext <<_ACEOF
20747 /* end confdefs.h. */
20748 #include <ext/hash_map>
20749 #ifdef HAVE_NAMESPACES
20750 using namespace __gnu_cxx;
20755 hash_map<int, int> t; return 0;
20760 rm -f conftest.$ac_objext
20761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20762 (eval $ac_compile) 2>&5
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); } &&
20766 { ac_try='test -s conftest.$ac_objext'
20767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20768 (eval $ac_try) 2>&5
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); }; }; then
20772 ac_cv_cxx_have_ext_hash_map=gnu
20774 echo "$as_me: failed program was:" >&5
20775 sed 's/^/| /' conftest.$ac_ext >&5
20777 ac_cv_cxx_have_ext_hash_map=no
20779 rm -f conftest.$ac_objext conftest.$ac_ext
20781 ac_cpp='$CPP $CPPFLAGS'
20782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20788 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20789 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20790 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20792 cat >>confdefs.h <<\_ACEOF
20793 #define HAVE_STD_EXT_HASH_MAP
20797 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20799 cat >>confdefs.h <<\_ACEOF
20800 #define HAVE_GNU_EXT_HASH_MAP
20805 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20806 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20807 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20808 echo $ECHO_N "(cached) $ECHO_C" >&6
20814 ac_cpp='$CXXCPP $CPPFLAGS'
20815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20819 cat >conftest.$ac_ext <<_ACEOF
20820 #line $LINENO "configure"
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 #include <ext/hash_set>
20827 #ifdef HAVE_NAMESPACES
20828 using namespace std;
20833 hash_set<int> t; return 0;
20838 rm -f conftest.$ac_objext
20839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20840 (eval $ac_compile) 2>&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); } &&
20844 { ac_try='test -s conftest.$ac_objext'
20845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20846 (eval $ac_try) 2>&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); }; }; then
20850 ac_cv_cxx_have_ext_hash_set=std
20852 echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.$ac_ext >&5
20855 ac_cv_cxx_have_ext_hash_set=no
20857 rm -f conftest.$ac_objext conftest.$ac_ext
20858 cat >conftest.$ac_ext <<_ACEOF
20859 #line $LINENO "configure"
20862 cat confdefs.h >>conftest.$ac_ext
20863 cat >>conftest.$ac_ext <<_ACEOF
20864 /* end confdefs.h. */
20865 #include <ext/hash_set>
20866 #ifdef HAVE_NAMESPACES
20867 using namespace __gnu_cxx;
20872 hash_set<int> t; return 0;
20877 rm -f conftest.$ac_objext
20878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20879 (eval $ac_compile) 2>&5
20881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); } &&
20883 { ac_try='test -s conftest.$ac_objext'
20884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20885 (eval $ac_try) 2>&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); }; }; then
20889 ac_cv_cxx_have_ext_hash_set=gnu
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.$ac_ext >&5
20894 ac_cv_cxx_have_ext_hash_set=no
20896 rm -f conftest.$ac_objext conftest.$ac_ext
20898 ac_cpp='$CPP $CPPFLAGS'
20899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20905 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
20906 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
20907 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
20909 cat >>confdefs.h <<\_ACEOF
20910 #define HAVE_STD_EXT_HASH_SET
20914 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
20916 cat >>confdefs.h <<\_ACEOF
20917 #define HAVE_GNU_EXT_HASH_SET
20922 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
20923 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
20924 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
20925 echo $ECHO_N "(cached) $ECHO_C" >&6
20931 ac_cpp='$CXXCPP $CPPFLAGS'
20932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20936 cat >conftest.$ac_ext <<_ACEOF
20937 #line $LINENO "configure"
20940 cat confdefs.h >>conftest.$ac_ext
20941 cat >>conftest.$ac_ext <<_ACEOF
20942 /* end confdefs.h. */
20943 #include <ext/slist>
20944 #ifdef HAVE_NAMESPACES
20945 using namespace std;
20950 slist<int> s; return 0;
20955 rm -f conftest.$ac_objext
20956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20957 (eval $ac_compile) 2>&5
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); } &&
20961 { ac_try='test -s conftest.$ac_objext'
20962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963 (eval $ac_try) 2>&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; }; then
20967 ac_cv_cxx_have_ext_slist=std
20969 echo "$as_me: failed program was:" >&5
20970 sed 's/^/| /' conftest.$ac_ext >&5
20972 ac_cv_cxx_have_ext_slist=no
20974 rm -f conftest.$ac_objext conftest.$ac_ext
20975 cat >conftest.$ac_ext <<_ACEOF
20976 #line $LINENO "configure"
20979 cat confdefs.h >>conftest.$ac_ext
20980 cat >>conftest.$ac_ext <<_ACEOF
20981 /* end confdefs.h. */
20982 #include <ext/slist>
20983 #ifdef HAVE_NAMESPACES
20984 using namespace __gnu_cxx;
20989 slist<int> s; return 0;
20994 rm -f conftest.$ac_objext
20995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20996 (eval $ac_compile) 2>&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); } &&
21000 { ac_try='test -s conftest.$ac_objext'
21001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21002 (eval $ac_try) 2>&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); }; }; then
21006 ac_cv_cxx_have_ext_slist=gnu
21008 echo "$as_me: failed program was:" >&5
21009 sed 's/^/| /' conftest.$ac_ext >&5
21011 ac_cv_cxx_have_ext_slist=no
21013 rm -f conftest.$ac_objext conftest.$ac_ext
21016 ac_cpp='$CPP $CPPFLAGS'
21017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21023 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21024 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21025 if test "$ac_cv_cxx_have_ext_slist" = std; then
21027 cat >>confdefs.h <<\_ACEOF
21028 #define HAVE_EXT_SLIST std
21032 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21034 cat >>confdefs.h <<\_ACEOF
21035 #define HAVE_EXT_SLIST gnu
21040 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21041 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21042 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21043 echo $ECHO_N "(cached) $ECHO_C" >&6
21049 ac_cpp='$CXXCPP $CPPFLAGS'
21050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21054 cat >conftest.$ac_ext <<_ACEOF
21055 #line $LINENO "configure"
21058 cat confdefs.h >>conftest.$ac_ext
21059 cat >>conftest.$ac_ext <<_ACEOF
21060 /* end confdefs.h. */
21061 #include <iterator>
21062 #ifdef HAVE_NAMESPACES
21063 using namespace std;
21068 iterator<int,int,int> t; return 0;
21073 rm -f conftest.$ac_objext
21074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21075 (eval $ac_compile) 2>&5
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); } &&
21079 { ac_try='test -s conftest.$ac_objext'
21080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21081 (eval $ac_try) 2>&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); }; }; then
21085 ac_cv_cxx_have_std_iterator=yes
21087 echo "$as_me: failed program was:" >&5
21088 sed 's/^/| /' conftest.$ac_ext >&5
21090 ac_cv_cxx_have_std_iterator=no
21092 rm -f conftest.$ac_objext conftest.$ac_ext
21094 ac_cpp='$CPP $CPPFLAGS'
21095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21101 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21102 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21103 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21105 cat >>confdefs.h <<\_ACEOF
21106 #define HAVE_STD_ITERATOR
21111 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21112 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21113 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21114 echo $ECHO_N "(cached) $ECHO_C" >&6
21120 ac_cpp='$CXXCPP $CPPFLAGS'
21121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21125 cat >conftest.$ac_ext <<_ACEOF
21126 #line $LINENO "configure"
21129 cat confdefs.h >>conftest.$ac_ext
21130 cat >>conftest.$ac_ext <<_ACEOF
21131 /* end confdefs.h. */
21132 #include <iterator>
21133 #ifdef HAVE_NAMESPACES
21134 using namespace std;
21139 bidirectional_iterator<int,int> t; return 0;
21144 rm -f conftest.$ac_objext
21145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21146 (eval $ac_compile) 2>&5
21148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21149 (exit $ac_status); } &&
21150 { ac_try='test -s conftest.$ac_objext'
21151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21152 (eval $ac_try) 2>&5
21154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21155 (exit $ac_status); }; }; then
21156 ac_cv_cxx_have_bi_iterator=yes
21158 echo "$as_me: failed program was:" >&5
21159 sed 's/^/| /' conftest.$ac_ext >&5
21161 ac_cv_cxx_have_bi_iterator=no
21163 rm -f conftest.$ac_objext conftest.$ac_ext
21165 ac_cpp='$CPP $CPPFLAGS'
21166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21172 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21173 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21174 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21176 cat >>confdefs.h <<\_ACEOF
21177 #define HAVE_BI_ITERATOR
21182 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21183 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21184 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21185 echo $ECHO_N "(cached) $ECHO_C" >&6
21191 ac_cpp='$CXXCPP $CPPFLAGS'
21192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21196 cat >conftest.$ac_ext <<_ACEOF
21197 #line $LINENO "configure"
21200 cat confdefs.h >>conftest.$ac_ext
21201 cat >>conftest.$ac_ext <<_ACEOF
21202 /* end confdefs.h. */
21203 #include <iterator>
21204 #ifdef HAVE_NAMESPACES
21205 using namespace std;
21210 forward_iterator<int,int> t; return 0;
21215 rm -f conftest.$ac_objext
21216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21217 (eval $ac_compile) 2>&5
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); } &&
21221 { ac_try='test -s conftest.$ac_objext'
21222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21223 (eval $ac_try) 2>&5
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); }; }; then
21227 ac_cv_cxx_have_fwd_iterator=yes
21229 echo "$as_me: failed program was:" >&5
21230 sed 's/^/| /' conftest.$ac_ext >&5
21232 ac_cv_cxx_have_fwd_iterator=no
21234 rm -f conftest.$ac_objext conftest.$ac_ext
21236 ac_cpp='$CPP $CPPFLAGS'
21237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21243 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21244 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21245 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21247 cat >>confdefs.h <<\_ACEOF
21248 #define HAVE_FWD_ITERATOR
21254 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21255 # for constant arguments. Useless!
21256 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21257 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21258 if test "${ac_cv_working_alloca_h+set}" = set; then
21259 echo $ECHO_N "(cached) $ECHO_C" >&6
21261 cat >conftest.$ac_ext <<_ACEOF
21262 #line $LINENO "configure"
21265 cat confdefs.h >>conftest.$ac_ext
21266 cat >>conftest.$ac_ext <<_ACEOF
21267 /* end confdefs.h. */
21268 #include <alloca.h>
21272 char *p = (char *) alloca (2 * sizeof (int));
21277 rm -f conftest.$ac_objext conftest$ac_exeext
21278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21279 (eval $ac_link) 2>&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } &&
21283 { ac_try='test -s conftest$ac_exeext'
21284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21285 (eval $ac_try) 2>&5
21287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21288 (exit $ac_status); }; }; then
21289 ac_cv_working_alloca_h=yes
21291 echo "$as_me: failed program was:" >&5
21292 sed 's/^/| /' conftest.$ac_ext >&5
21294 ac_cv_working_alloca_h=no
21296 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21298 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21299 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21300 if test $ac_cv_working_alloca_h = yes; then
21302 cat >>confdefs.h <<\_ACEOF
21303 #define HAVE_ALLOCA_H 1
21308 echo "$as_me:$LINENO: checking for alloca" >&5
21309 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21310 if test "${ac_cv_func_alloca_works+set}" = set; then
21311 echo $ECHO_N "(cached) $ECHO_C" >&6
21313 cat >conftest.$ac_ext <<_ACEOF
21314 #line $LINENO "configure"
21317 cat confdefs.h >>conftest.$ac_ext
21318 cat >>conftest.$ac_ext <<_ACEOF
21319 /* end confdefs.h. */
21321 # define alloca __builtin_alloca
21324 # include <malloc.h>
21325 # define alloca _alloca
21328 # include <alloca.h>
21333 # ifndef alloca /* predefined by HP cc +Olibcalls */
21344 char *p = (char *) alloca (1);
21349 rm -f conftest.$ac_objext conftest$ac_exeext
21350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21351 (eval $ac_link) 2>&5
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); } &&
21355 { ac_try='test -s conftest$ac_exeext'
21356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21357 (eval $ac_try) 2>&5
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); }; }; then
21361 ac_cv_func_alloca_works=yes
21363 echo "$as_me: failed program was:" >&5
21364 sed 's/^/| /' conftest.$ac_ext >&5
21366 ac_cv_func_alloca_works=no
21368 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21370 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21371 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21373 if test $ac_cv_func_alloca_works = yes; then
21375 cat >>confdefs.h <<\_ACEOF
21376 #define HAVE_ALLOCA 1
21380 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21381 # that cause trouble. Some versions do not even contain alloca or
21382 # contain a buggy version. If you still want to use their alloca,
21383 # use ar to extract alloca.o from them instead of compiling alloca.c.
21385 ALLOCA=alloca.$ac_objext
21387 cat >>confdefs.h <<\_ACEOF
21392 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21393 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21394 if test "${ac_cv_os_cray+set}" = set; then
21395 echo $ECHO_N "(cached) $ECHO_C" >&6
21397 cat >conftest.$ac_ext <<_ACEOF
21398 #line $LINENO "configure"
21401 cat confdefs.h >>conftest.$ac_ext
21402 cat >>conftest.$ac_ext <<_ACEOF
21403 /* end confdefs.h. */
21404 #if defined(CRAY) && ! defined(CRAY2)
21411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21412 $EGREP "webecray" >/dev/null 2>&1; then
21420 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21421 echo "${ECHO_T}$ac_cv_os_cray" >&6
21422 if test $ac_cv_os_cray = yes; then
21423 for ac_func in _getb67 GETB67 getb67; do
21424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21425 echo "$as_me:$LINENO: checking for $ac_func" >&5
21426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21427 if eval "test \"\${$as_ac_var+set}\" = set"; then
21428 echo $ECHO_N "(cached) $ECHO_C" >&6
21430 cat >conftest.$ac_ext <<_ACEOF
21431 #line $LINENO "configure"
21434 cat confdefs.h >>conftest.$ac_ext
21435 cat >>conftest.$ac_ext <<_ACEOF
21436 /* end confdefs.h. */
21437 /* System header to define __stub macros and hopefully few prototypes,
21438 which can conflict with char $ac_func (); below.
21439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21440 <limits.h> exists even on freestanding compilers. */
21442 # include <limits.h>
21444 # include <assert.h>
21446 /* Override any gcc2 internal prototype to avoid an error. */
21451 /* We use char because int might match the return type of a gcc2
21452 builtin and then its argument prototype would still apply. */
21454 /* The GNU C library defines this for functions which it implements
21455 to always fail with ENOSYS. Some functions are actually named
21456 something starting with __ and the normal name is an alias. */
21457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21460 char (*f) () = $ac_func;
21469 return f != $ac_func;
21474 rm -f conftest.$ac_objext conftest$ac_exeext
21475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21476 (eval $ac_link) 2>&5
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); } &&
21480 { ac_try='test -s conftest$ac_exeext'
21481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21482 (eval $ac_try) 2>&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); }; }; then
21486 eval "$as_ac_var=yes"
21488 echo "$as_me: failed program was:" >&5
21489 sed 's/^/| /' conftest.$ac_ext >&5
21491 eval "$as_ac_var=no"
21493 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21497 if test `eval echo '${'$as_ac_var'}'` = yes; then
21499 cat >>confdefs.h <<_ACEOF
21500 #define CRAY_STACKSEG_END $ac_func
21509 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21510 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21511 if test "${ac_cv_c_stack_direction+set}" = set; then
21512 echo $ECHO_N "(cached) $ECHO_C" >&6
21514 if test "$cross_compiling" = yes; then
21515 ac_cv_c_stack_direction=0
21517 cat >conftest.$ac_ext <<_ACEOF
21518 #line $LINENO "configure"
21521 cat confdefs.h >>conftest.$ac_ext
21522 cat >>conftest.$ac_ext <<_ACEOF
21523 /* end confdefs.h. */
21525 find_stack_direction ()
21527 static char *addr = 0;
21532 return find_stack_direction ();
21535 return (&dummy > addr) ? 1 : -1;
21541 exit (find_stack_direction () < 0);
21544 rm -f conftest$ac_exeext
21545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21546 (eval $ac_link) 2>&5
21548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21551 (eval $ac_try) 2>&5
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); }; }; then
21555 ac_cv_c_stack_direction=1
21557 echo "$as_me: program exited with status $ac_status" >&5
21558 echo "$as_me: failed program was:" >&5
21559 sed 's/^/| /' conftest.$ac_ext >&5
21561 ( exit $ac_status )
21562 ac_cv_c_stack_direction=-1
21564 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21567 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21568 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21570 cat >>confdefs.h <<_ACEOF
21571 #define STACK_DIRECTION $ac_cv_c_stack_direction
21577 if test $ac_cv_c_compiler_gnu = yes; then
21578 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21579 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21580 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21581 echo $ECHO_N "(cached) $ECHO_C" >&6
21583 ac_pattern="Autoconf.*'x'"
21584 cat >conftest.$ac_ext <<_ACEOF
21585 #line $LINENO "configure"
21588 cat confdefs.h >>conftest.$ac_ext
21589 cat >>conftest.$ac_ext <<_ACEOF
21590 /* end confdefs.h. */
21594 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21595 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21596 ac_cv_prog_gcc_traditional=yes
21598 ac_cv_prog_gcc_traditional=no
21603 if test $ac_cv_prog_gcc_traditional = no; then
21604 cat >conftest.$ac_ext <<_ACEOF
21605 #line $LINENO "configure"
21608 cat confdefs.h >>conftest.$ac_ext
21609 cat >>conftest.$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21611 #include <termio.h>
21614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21615 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21616 ac_cv_prog_gcc_traditional=yes
21622 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21623 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21624 if test $ac_cv_prog_gcc_traditional = yes; then
21625 CC="$CC -traditional"
21629 echo "$as_me:$LINENO: checking for working memcmp" >&5
21630 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21631 if test "${ac_cv_func_memcmp_working+set}" = set; then
21632 echo $ECHO_N "(cached) $ECHO_C" >&6
21634 if test "$cross_compiling" = yes; then
21635 ac_cv_func_memcmp_working=no
21637 cat >conftest.$ac_ext <<_ACEOF
21638 #line $LINENO "configure"
21641 cat confdefs.h >>conftest.$ac_ext
21642 cat >>conftest.$ac_ext <<_ACEOF
21643 /* end confdefs.h. */
21649 /* Some versions of memcmp are not 8-bit clean. */
21650 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21651 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21654 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21655 or more and with at least one buffer not starting on a 4-byte boundary.
21656 William Lewis provided this test program. */
21661 for (i = 0; i < 4; i++)
21665 strcpy (a, "--------01111111");
21666 strcpy (b, "--------10000000");
21667 if (memcmp (a, b, 16) >= 0)
21677 rm -f conftest$ac_exeext
21678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21679 (eval $ac_link) 2>&5
21681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21682 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21684 (eval $ac_try) 2>&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); }; }; then
21688 ac_cv_func_memcmp_working=yes
21690 echo "$as_me: program exited with status $ac_status" >&5
21691 echo "$as_me: failed program was:" >&5
21692 sed 's/^/| /' conftest.$ac_ext >&5
21694 ( exit $ac_status )
21695 ac_cv_func_memcmp_working=no
21697 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21700 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21701 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21702 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21706 for ac_header in stdlib.h unistd.h
21708 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21710 echo "$as_me:$LINENO: checking for $ac_header" >&5
21711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21713 echo $ECHO_N "(cached) $ECHO_C" >&6
21715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21716 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21718 # Is the header compilable?
21719 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21720 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21721 cat >conftest.$ac_ext <<_ACEOF
21722 #line $LINENO "configure"
21725 cat confdefs.h >>conftest.$ac_ext
21726 cat >>conftest.$ac_ext <<_ACEOF
21727 /* end confdefs.h. */
21728 $ac_includes_default
21729 #include <$ac_header>
21731 rm -f conftest.$ac_objext
21732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21733 (eval $ac_compile) 2>&5
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); } &&
21737 { ac_try='test -s conftest.$ac_objext'
21738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21739 (eval $ac_try) 2>&5
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); }; }; then
21743 ac_header_compiler=yes
21745 echo "$as_me: failed program was:" >&5
21746 sed 's/^/| /' conftest.$ac_ext >&5
21748 ac_header_compiler=no
21750 rm -f conftest.$ac_objext conftest.$ac_ext
21751 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21752 echo "${ECHO_T}$ac_header_compiler" >&6
21754 # Is the header present?
21755 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21756 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21757 cat >conftest.$ac_ext <<_ACEOF
21758 #line $LINENO "configure"
21761 cat confdefs.h >>conftest.$ac_ext
21762 cat >>conftest.$ac_ext <<_ACEOF
21763 /* end confdefs.h. */
21764 #include <$ac_header>
21766 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21767 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21769 grep -v '^ *+' conftest.er1 >conftest.err
21771 cat conftest.err >&5
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); } >/dev/null; then
21774 if test -s conftest.err; then
21775 ac_cpp_err=$ac_c_preproc_warn_flag
21782 if test -z "$ac_cpp_err"; then
21783 ac_header_preproc=yes
21785 echo "$as_me: failed program was:" >&5
21786 sed 's/^/| /' conftest.$ac_ext >&5
21788 ac_header_preproc=no
21790 rm -f conftest.err conftest.$ac_ext
21791 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21792 echo "${ECHO_T}$ac_header_preproc" >&6
21794 # So? What about this header?
21795 case $ac_header_compiler:$ac_header_preproc in
21797 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21798 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21803 ## ------------------------------------ ##
21804 ## Report this to bug-autoconf@gnu.org. ##
21805 ## ------------------------------------ ##
21808 sed "s/^/$as_me: WARNING: /" >&2
21811 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21812 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21813 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21814 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21816 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21819 ## ------------------------------------ ##
21820 ## Report this to bug-autoconf@gnu.org. ##
21821 ## ------------------------------------ ##
21824 sed "s/^/$as_me: WARNING: /" >&2
21827 echo "$as_me:$LINENO: checking for $ac_header" >&5
21828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21830 echo $ECHO_N "(cached) $ECHO_C" >&6
21832 eval "$as_ac_Header=$ac_header_preproc"
21834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21838 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21839 cat >>confdefs.h <<_ACEOF
21840 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21848 for ac_func in getpagesize
21850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21851 echo "$as_me:$LINENO: checking for $ac_func" >&5
21852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21853 if eval "test \"\${$as_ac_var+set}\" = set"; then
21854 echo $ECHO_N "(cached) $ECHO_C" >&6
21856 cat >conftest.$ac_ext <<_ACEOF
21857 #line $LINENO "configure"
21860 cat confdefs.h >>conftest.$ac_ext
21861 cat >>conftest.$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21863 /* System header to define __stub macros and hopefully few prototypes,
21864 which can conflict with char $ac_func (); below.
21865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21866 <limits.h> exists even on freestanding compilers. */
21868 # include <limits.h>
21870 # include <assert.h>
21872 /* Override any gcc2 internal prototype to avoid an error. */
21877 /* We use char because int might match the return type of a gcc2
21878 builtin and then its argument prototype would still apply. */
21880 /* The GNU C library defines this for functions which it implements
21881 to always fail with ENOSYS. Some functions are actually named
21882 something starting with __ and the normal name is an alias. */
21883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21886 char (*f) () = $ac_func;
21895 return f != $ac_func;
21900 rm -f conftest.$ac_objext conftest$ac_exeext
21901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21902 (eval $ac_link) 2>&5
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); } &&
21906 { ac_try='test -s conftest$ac_exeext'
21907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21908 (eval $ac_try) 2>&5
21910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21911 (exit $ac_status); }; }; then
21912 eval "$as_ac_var=yes"
21914 echo "$as_me: failed program was:" >&5
21915 sed 's/^/| /' conftest.$ac_ext >&5
21917 eval "$as_ac_var=no"
21919 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21923 if test `eval echo '${'$as_ac_var'}'` = yes; then
21924 cat >>confdefs.h <<_ACEOF
21925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21931 echo "$as_me:$LINENO: checking for working mmap" >&5
21932 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
21933 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
21934 echo $ECHO_N "(cached) $ECHO_C" >&6
21936 if test "$cross_compiling" = yes; then
21937 ac_cv_func_mmap_fixed_mapped=no
21939 cat >conftest.$ac_ext <<_ACEOF
21940 #line $LINENO "configure"
21943 cat confdefs.h >>conftest.$ac_ext
21944 cat >>conftest.$ac_ext <<_ACEOF
21945 /* end confdefs.h. */
21946 $ac_includes_default
21947 /* malloc might have been renamed as rpl_malloc. */
21950 /* Thanks to Mike Haertel and Jim Avera for this test.
21951 Here is a matrix of mmap possibilities:
21952 mmap private not fixed
21953 mmap private fixed at somewhere currently unmapped
21954 mmap private fixed at somewhere already mapped
21955 mmap shared not fixed
21956 mmap shared fixed at somewhere currently unmapped
21957 mmap shared fixed at somewhere already mapped
21958 For private mappings, we should verify that changes cannot be read()
21959 back from the file, nor mmap's back from the file at a different
21960 address. (There have been systems where private was not correctly
21961 implemented like the infamous i386 svr4.0, and systems where the
21962 VM page cache was not coherent with the file system buffer cache
21963 like early versions of FreeBSD and possibly contemporary NetBSD.)
21964 For shared mappings, we should conversely verify that changes get
21965 propagated back to all the places they're supposed to be.
21967 Grep wants private fixed already mapped.
21968 The main things grep needs to know about mmap are:
21969 * does it exist and is it safe to write into the mmap'd area
21970 * how to use it (BSD variants) */
21973 #include <sys/mman.h>
21975 #if !STDC_HEADERS && !HAVE_STDLIB_H
21979 /* This mess was copied from the GNU getpagesize.h. */
21980 #if !HAVE_GETPAGESIZE
21981 /* Assume that all systems that can run configure have sys/param.h. */
21982 # if !HAVE_SYS_PARAM_H
21983 # define HAVE_SYS_PARAM_H 1
21986 # ifdef _SC_PAGESIZE
21987 # define getpagesize() sysconf(_SC_PAGESIZE)
21988 # else /* no _SC_PAGESIZE */
21989 # if HAVE_SYS_PARAM_H
21990 # include <sys/param.h>
21991 # ifdef EXEC_PAGESIZE
21992 # define getpagesize() EXEC_PAGESIZE
21993 # else /* no EXEC_PAGESIZE */
21995 # define getpagesize() NBPG * CLSIZE
21998 # endif /* no CLSIZE */
21999 # else /* no NBPG */
22001 # define getpagesize() NBPC
22002 # else /* no NBPC */
22004 # define getpagesize() PAGESIZE
22005 # endif /* PAGESIZE */
22006 # endif /* no NBPC */
22007 # endif /* no NBPG */
22008 # endif /* no EXEC_PAGESIZE */
22009 # else /* no HAVE_SYS_PARAM_H */
22010 # define getpagesize() 8192 /* punt totally */
22011 # endif /* no HAVE_SYS_PARAM_H */
22012 # endif /* no _SC_PAGESIZE */
22014 #endif /* no HAVE_GETPAGESIZE */
22019 char *data, *data2, *data3;
22023 pagesize = getpagesize ();
22025 /* First, make a file with some known garbage in it. */
22026 data = (char *) malloc (pagesize);
22029 for (i = 0; i < pagesize; ++i)
22030 *(data + i) = rand ();
22032 fd = creat ("conftest.mmap", 0600);
22035 if (write (fd, data, pagesize) != pagesize)
22039 /* Next, try to mmap the file at a fixed address which already has
22040 something else allocated at it. If we can, also make sure that
22041 we see the same garbage. */
22042 fd = open ("conftest.mmap", O_RDWR);
22045 data2 = (char *) malloc (2 * pagesize);
22048 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22049 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22050 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22052 for (i = 0; i < pagesize; ++i)
22053 if (*(data + i) != *(data2 + i))
22056 /* Finally, make sure that changes to the mapped area do not
22057 percolate back to the file as seen by read(). (This is a bug on
22058 some variants of i386 svr4.0.) */
22059 for (i = 0; i < pagesize; ++i)
22060 *(data2 + i) = *(data2 + i) + 1;
22061 data3 = (char *) malloc (pagesize);
22064 if (read (fd, data3, pagesize) != pagesize)
22066 for (i = 0; i < pagesize; ++i)
22067 if (*(data + i) != *(data3 + i))
22073 rm -f conftest$ac_exeext
22074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22075 (eval $ac_link) 2>&5
22077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22078 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22080 (eval $ac_try) 2>&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); }; }; then
22084 ac_cv_func_mmap_fixed_mapped=yes
22086 echo "$as_me: program exited with status $ac_status" >&5
22087 echo "$as_me: failed program was:" >&5
22088 sed 's/^/| /' conftest.$ac_ext >&5
22090 ( exit $ac_status )
22091 ac_cv_func_mmap_fixed_mapped=no
22093 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22096 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22097 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22098 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22100 cat >>confdefs.h <<\_ACEOF
22101 #define HAVE_MMAP 1
22105 rm -f conftest.mmap
22107 echo "$as_me:$LINENO: checking for mmap of files" >&5
22108 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22109 if test "${ac_cv_func_mmap_file+set}" = set; then
22110 echo $ECHO_N "(cached) $ECHO_C" >&6
22115 ac_cpp='$CPP $CPPFLAGS'
22116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22120 if test "$cross_compiling" = yes; then
22121 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22122 See \`config.log' for more details." >&5
22123 echo "$as_me: error: cannot run test program while cross compiling
22124 See \`config.log' for more details." >&2;}
22125 { (exit 1); exit 1; }; }
22127 cat >conftest.$ac_ext <<_ACEOF
22128 #line $LINENO "configure"
22131 cat confdefs.h >>conftest.$ac_ext
22132 cat >>conftest.$ac_ext <<_ACEOF
22133 /* end confdefs.h. */
22135 #ifdef HAVE_SYS_MMAN_H
22136 #include <sys/mman.h>
22139 #ifdef HAVE_SYS_TYPES_H
22140 #include <sys/types.h>
22143 #ifdef HAVE_FCNTL_H
22149 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22151 rm -f conftest$ac_exeext
22152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22153 (eval $ac_link) 2>&5
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22158 (eval $ac_try) 2>&5
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); }; }; then
22162 ac_cv_func_mmap_file=yes
22164 echo "$as_me: program exited with status $ac_status" >&5
22165 echo "$as_me: failed program was:" >&5
22166 sed 's/^/| /' conftest.$ac_ext >&5
22168 ( exit $ac_status )
22169 ac_cv_func_mmap_file=no
22171 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22174 ac_cpp='$CPP $CPPFLAGS'
22175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22181 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22182 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22183 if test "$ac_cv_func_mmap_file" = yes; then
22184 cat >>confdefs.h <<\_ACEOF
22185 #define HAVE_MMAP_FILE 1
22192 if test ${ac_cv_func_mmap_file} = "no"
22194 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22195 echo "$as_me: error: mmap() of files required but not found" >&2;}
22196 { (exit 1); exit 1; }; }
22198 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22199 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22200 if test "${ac_cv_header_mmap_anon+set}" = set; then
22201 echo $ECHO_N "(cached) $ECHO_C" >&6
22206 ac_cpp='$CPP $CPPFLAGS'
22207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22211 cat >conftest.$ac_ext <<_ACEOF
22212 #line $LINENO "configure"
22215 cat confdefs.h >>conftest.$ac_ext
22216 cat >>conftest.$ac_ext <<_ACEOF
22217 /* end confdefs.h. */
22218 #include <sys/mman.h>
22219 #include <unistd.h>
22224 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22229 rm -f conftest.$ac_objext
22230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22231 (eval $ac_compile) 2>&5
22233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22234 (exit $ac_status); } &&
22235 { ac_try='test -s conftest.$ac_objext'
22236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22237 (eval $ac_try) 2>&5
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); }; }; then
22241 ac_cv_header_mmap_anon=yes
22243 echo "$as_me: failed program was:" >&5
22244 sed 's/^/| /' conftest.$ac_ext >&5
22246 ac_cv_header_mmap_anon=no
22248 rm -f conftest.$ac_objext conftest.$ac_ext
22250 ac_cpp='$CPP $CPPFLAGS'
22251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22257 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22258 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22259 if test "$ac_cv_header_mmap_anon" = yes; then
22260 cat >>confdefs.h <<\_ACEOF
22261 #define HAVE_MMAP_ANONYMOUS 1
22266 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22267 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22268 if test "${ac_cv_type_signal+set}" = set; then
22269 echo $ECHO_N "(cached) $ECHO_C" >&6
22271 cat >conftest.$ac_ext <<_ACEOF
22272 #line $LINENO "configure"
22275 cat confdefs.h >>conftest.$ac_ext
22276 cat >>conftest.$ac_ext <<_ACEOF
22277 /* end confdefs.h. */
22278 #include <sys/types.h>
22279 #include <signal.h>
22284 extern "C" void (*signal (int, void (*)(int)))(int);
22286 void (*signal ()) ();
22297 rm -f conftest.$ac_objext
22298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22299 (eval $ac_compile) 2>&5
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); } &&
22303 { ac_try='test -s conftest.$ac_objext'
22304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22305 (eval $ac_try) 2>&5
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); }; }; then
22309 ac_cv_type_signal=void
22311 echo "$as_me: failed program was:" >&5
22312 sed 's/^/| /' conftest.$ac_ext >&5
22314 ac_cv_type_signal=int
22316 rm -f conftest.$ac_objext conftest.$ac_ext
22318 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22319 echo "${ECHO_T}$ac_cv_type_signal" >&6
22321 cat >>confdefs.h <<_ACEOF
22322 #define RETSIGTYPE $ac_cv_type_signal
22335 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
22337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22338 echo "$as_me:$LINENO: checking for $ac_func" >&5
22339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22340 if eval "test \"\${$as_ac_var+set}\" = set"; then
22341 echo $ECHO_N "(cached) $ECHO_C" >&6
22343 cat >conftest.$ac_ext <<_ACEOF
22344 #line $LINENO "configure"
22347 cat confdefs.h >>conftest.$ac_ext
22348 cat >>conftest.$ac_ext <<_ACEOF
22349 /* end confdefs.h. */
22350 /* System header to define __stub macros and hopefully few prototypes,
22351 which can conflict with char $ac_func (); below.
22352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22353 <limits.h> exists even on freestanding compilers. */
22355 # include <limits.h>
22357 # include <assert.h>
22359 /* Override any gcc2 internal prototype to avoid an error. */
22364 /* We use char because int might match the return type of a gcc2
22365 builtin and then its argument prototype would still apply. */
22367 /* The GNU C library defines this for functions which it implements
22368 to always fail with ENOSYS. Some functions are actually named
22369 something starting with __ and the normal name is an alias. */
22370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22373 char (*f) () = $ac_func;
22382 return f != $ac_func;
22387 rm -f conftest.$ac_objext conftest$ac_exeext
22388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22389 (eval $ac_link) 2>&5
22391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22392 (exit $ac_status); } &&
22393 { ac_try='test -s conftest$ac_exeext'
22394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22395 (eval $ac_try) 2>&5
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); }; }; then
22399 eval "$as_ac_var=yes"
22401 echo "$as_me: failed program was:" >&5
22402 sed 's/^/| /' conftest.$ac_ext >&5
22404 eval "$as_ac_var=no"
22406 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22410 if test `eval echo '${'$as_ac_var'}'` = yes; then
22411 cat >>confdefs.h <<_ACEOF
22412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22420 echo "$as_me:$LINENO: checking for mmap" >&5
22421 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22422 if test "${ac_cv_func_mmap+set}" = set; then
22423 echo $ECHO_N "(cached) $ECHO_C" >&6
22425 cat >conftest.$ac_ext <<_ACEOF
22426 #line $LINENO "configure"
22429 cat confdefs.h >>conftest.$ac_ext
22430 cat >>conftest.$ac_ext <<_ACEOF
22431 /* end confdefs.h. */
22432 /* System header to define __stub macros and hopefully few prototypes,
22433 which can conflict with char mmap (); below.
22434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22435 <limits.h> exists even on freestanding compilers. */
22437 # include <limits.h>
22439 # include <assert.h>
22441 /* Override any gcc2 internal prototype to avoid an error. */
22446 /* We use char because int might match the return type of a gcc2
22447 builtin and then its argument prototype would still apply. */
22449 /* The GNU C library defines this for functions which it implements
22450 to always fail with ENOSYS. Some functions are actually named
22451 something starting with __ and the normal name is an alias. */
22452 #if defined (__stub_mmap) || defined (__stub___mmap)
22455 char (*f) () = mmap;
22469 rm -f conftest.$ac_objext conftest$ac_exeext
22470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22471 (eval $ac_link) 2>&5
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); } &&
22475 { ac_try='test -s conftest$ac_exeext'
22476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22477 (eval $ac_try) 2>&5
22479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22480 (exit $ac_status); }; }; then
22481 ac_cv_func_mmap=yes
22483 echo "$as_me: failed program was:" >&5
22484 sed 's/^/| /' conftest.$ac_ext >&5
22488 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22490 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22491 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22492 if test $ac_cv_func_mmap = yes; then
22495 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22496 echo "$as_me: error: Function mmap() required but not found" >&2;}
22497 { (exit 1); exit 1; }; }
22500 echo "$as_me:$LINENO: checking for mprotect" >&5
22501 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22502 if test "${ac_cv_func_mprotect+set}" = set; then
22503 echo $ECHO_N "(cached) $ECHO_C" >&6
22505 cat >conftest.$ac_ext <<_ACEOF
22506 #line $LINENO "configure"
22509 cat confdefs.h >>conftest.$ac_ext
22510 cat >>conftest.$ac_ext <<_ACEOF
22511 /* end confdefs.h. */
22512 /* System header to define __stub macros and hopefully few prototypes,
22513 which can conflict with char mprotect (); below.
22514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22515 <limits.h> exists even on freestanding compilers. */
22517 # include <limits.h>
22519 # include <assert.h>
22521 /* Override any gcc2 internal prototype to avoid an error. */
22526 /* We use char because int might match the return type of a gcc2
22527 builtin and then its argument prototype would still apply. */
22529 /* The GNU C library defines this for functions which it implements
22530 to always fail with ENOSYS. Some functions are actually named
22531 something starting with __ and the normal name is an alias. */
22532 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22535 char (*f) () = mprotect;
22544 return f != mprotect;
22549 rm -f conftest.$ac_objext conftest$ac_exeext
22550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22551 (eval $ac_link) 2>&5
22553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22554 (exit $ac_status); } &&
22555 { ac_try='test -s conftest$ac_exeext'
22556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22557 (eval $ac_try) 2>&5
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); }; }; then
22561 ac_cv_func_mprotect=yes
22563 echo "$as_me: failed program was:" >&5
22564 sed 's/^/| /' conftest.$ac_ext >&5
22566 ac_cv_func_mprotect=no
22568 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22570 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22571 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22572 if test $ac_cv_func_mprotect = yes; then
22575 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22576 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22577 { (exit 1); exit 1; }; }
22582 # Check whether --enable-purify or --disable-purify was given.
22583 if test "${enable_purify+set}" = set; then
22584 enableval="$enable_purify"
22589 if test ${enableval} = "no"
22594 ENABLE_PURIFY=ENABLE_PURIFY=1
22598 # Check whether --enable-optimized or --disable-optimized was given.
22599 if test "${enable_optimized+set}" = set; then
22600 enableval="$enable_optimized"
22605 if test ${enableval} = "no"
22610 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22614 # Check whether --enable-spec or --disable-spec was given.
22615 if test "${enable_spec+set}" = set; then
22616 enableval="$enable_spec"
22621 if test ${enableval} = "no"
22626 USE_SPEC=USE_SPEC=1
22630 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22631 if test "${enable_precompiled_bytecode+set}" = set; then
22632 enableval="$enable_precompiled_bytecode"
22637 if test ${enableval} = "no"
22642 UPB=USE_PRECOMPILED_BYTECODE=1
22647 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22648 if test "${enable_llc_diffs+set}" = set; then
22649 enableval="$enable_llc_diffs"
22654 if test ${enableval} = "no"
22656 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22663 # Check whether --enable-jit or --disable-jit was given.
22664 if test "${enable_jit+set}" = set; then
22665 enableval="$enable_jit"
22671 if test ${enableval} = "no"
22678 JIT=TARGET_HAS_JIT=1
22682 JIT=TARGET_HAS_JIT=1
22694 # Check whether --with-spec or --without-spec was given.
22695 if test "${with_spec+set}" = set; then
22696 withval="$with_spec"
22700 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22705 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22706 if test "${with_llvmgccdir+set}" = set; then
22707 withval="$with_llvmgccdir"
22708 LLVMGCCDIR=$withval
22713 # Check whether --with-bcrepos or --without-bcrepos was given.
22714 if test "${with_bcrepos+set}" = set; then
22715 withval="$with_bcrepos"
22719 BCR=/home/vadve/lattner/LLVMPrograms
22724 # Check whether --with-papi or --without-papi was given.
22725 if test "${with_papi+set}" = set; then
22726 withval="$with_papi"
22730 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22735 # Check whether --with-purify or --without-purify was given.
22736 if test "${with_purify+set}" = set; then
22737 withval="$with_purify"
22743 ac_config_files="$ac_config_files Makefile.config"
22744 cat >confcache <<\_ACEOF
22745 # This file is a shell script that caches the results of configure
22746 # tests run on this system so they can be shared between configure
22747 # scripts and configure runs, see configure's option --config-cache.
22748 # It is not useful on other systems. If it contains results you don't
22749 # want to keep, you may remove or edit it.
22751 # config.status only pays attention to the cache file if you give it
22752 # the --recheck option to rerun configure.
22754 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22755 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22756 # following values.
22760 # The following way of writing the cache mishandles newlines in values,
22761 # but we know of no workaround that is simple, portable, and efficient.
22762 # So, don't put newlines in cache variables' values.
22763 # Ultrix sh set writes to stderr and can't be redirected directly,
22764 # and sets the high bit in the cache file unless we assign to the vars.
22767 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22769 # `set' does not quote correctly, so add quotes (double-quote
22770 # substitution turns \\\\ into \\, and sed turns \\ into \).
22773 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22776 # `set' quotes correctly as required by POSIX, so do not add quotes.
22778 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22785 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22787 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22789 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22790 if test -w $cache_file; then
22791 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22792 cat confcache >$cache_file
22794 echo "not updating unwritable cache $cache_file"
22799 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22800 # Let make expand exec_prefix.
22801 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22803 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22804 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22805 # trailing colons and then remove the whole line if VPATH becomes empty
22806 # (actually we leave an empty line to preserve line numbers).
22807 if test "x$srcdir" = x.; then
22808 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22809 s/:*\$(srcdir):*/:/;
22810 s/:*\${srcdir}:*/:/;
22812 s/^\([^=]*=[ ]*\):*/\1/;
22818 DEFS=-DHAVE_CONFIG_H
22822 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22823 # 1. Remove the extension, and $U if already installed.
22824 ac_i=`echo "$ac_i" |
22825 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22827 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22828 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22830 LIBOBJS=$ac_libobjs
22832 LTLIBOBJS=$ac_ltlibobjs
22836 : ${CONFIG_STATUS=./config.status}
22837 ac_clean_files_save=$ac_clean_files
22838 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22839 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22840 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22841 cat >$CONFIG_STATUS <<_ACEOF
22843 # Generated by $as_me.
22844 # Run this file to recreate the current configuration.
22845 # Compiler output produced by configure, useful for debugging
22846 # configure, is in config.log if it exists.
22849 ac_cs_recheck=false
22851 SHELL=\${CONFIG_SHELL-$SHELL}
22854 cat >>$CONFIG_STATUS <<\_ACEOF
22855 ## --------------------- ##
22856 ## M4sh Initialization. ##
22857 ## --------------------- ##
22859 # Be Bourne compatible
22860 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22863 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22864 # is contrary to our usage. Disable this feature.
22865 alias -g '${1+"$@"}'='"$@"'
22866 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22870 # Support unset when possible.
22871 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22878 # Work around bugs in pre-3.0 UWIN ksh.
22879 $as_unset ENV MAIL MAILPATH
22886 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22887 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22888 LC_TELEPHONE LC_TIME
22890 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
22891 eval $as_var=C; export $as_var
22897 # Required to use basename.
22898 if expr a : '\(a\)' >/dev/null 2>&1; then
22904 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
22905 as_basename=basename
22911 # Name of the executable.
22912 as_me=`$as_basename "$0" ||
22913 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22914 X"$0" : 'X\(//\)$' \| \
22915 X"$0" : 'X\(/\)$' \| \
22916 . : '\(.\)' 2>/dev/null ||
22918 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22919 /^X\/\(\/\/\)$/{ s//\1/; q; }
22920 /^X\/\(\/\).*/{ s//\1/; q; }
22924 # PATH needs CR, and LINENO needs CR and PATH.
22925 # Avoid depending upon Character Ranges.
22926 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22927 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22928 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22929 as_cr_digits='0123456789'
22930 as_cr_alnum=$as_cr_Letters$as_cr_digits
22932 # The user is always right.
22933 if test "${PATH_SEPARATOR+set}" != set; then
22934 echo "#! /bin/sh" >conf$$.sh
22935 echo "exit 0" >>conf$$.sh
22937 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22946 as_lineno_1=$LINENO
22947 as_lineno_2=$LINENO
22948 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22949 test "x$as_lineno_1" != "x$as_lineno_2" &&
22950 test "x$as_lineno_3" = "x$as_lineno_2" || {
22951 # Find who we are. Look in the path if we contain no path at all
22954 *[\\/]* ) as_myself=$0 ;;
22955 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22956 for as_dir in $PATH
22959 test -z "$as_dir" && as_dir=.
22960 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22965 # We did not find ourselves, most probably we were run as `sh COMMAND'
22966 # in which case we are not to be found in the path.
22967 if test "x$as_myself" = x; then
22970 if test ! -f "$as_myself"; then
22971 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22972 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22973 { (exit 1); exit 1; }; }
22975 case $CONFIG_SHELL in
22977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22978 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22981 test -z "$as_dir" && as_dir=.
22982 for as_base in sh bash ksh sh5; do
22985 if ("$as_dir/$as_base" -c '
22986 as_lineno_1=$LINENO
22987 as_lineno_2=$LINENO
22988 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22989 test "x$as_lineno_1" != "x$as_lineno_2" &&
22990 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
22991 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
22992 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
22993 CONFIG_SHELL=$as_dir/$as_base
22994 export CONFIG_SHELL
22995 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23003 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23004 # uniformly replaced by the line number. The first 'sed' inserts a
23005 # line-number line before each line; the second 'sed' does the real
23006 # work. The second script uses 'N' to pair each line-number line
23007 # with the numbered line, and appends trailing '-' during
23008 # substitution so that $LINENO is not a special case at line end.
23009 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23010 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23011 sed '=' <$as_myself |
23016 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23019 s,^['$as_cr_digits']*\n,,
23020 ' >$as_me.lineno &&
23021 chmod +x $as_me.lineno ||
23022 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23023 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23024 { (exit 1); exit 1; }; }
23026 # Don't try to exec as it changes $[0], causing all sort of problems
23027 # (the dirname of $[0] is not the place where we might find the
23028 # original and so on. Autoconf is especially sensible to this).
23030 # Exit status is that of the last command.
23035 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23036 *c*,-n*) ECHO_N= ECHO_C='
23038 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23039 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23042 if expr a : '\(a\)' >/dev/null 2>&1; then
23048 rm -f conf$$ conf$$.exe conf$$.file
23050 if ln -s conf$$.file conf$$ 2>/dev/null; then
23051 # We could just check for DJGPP; but this test a) works b) is more generic
23052 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23053 if test -f conf$$.exe; then
23054 # Don't use ln at all; we don't have any links
23059 elif ln conf$$.file conf$$ 2>/dev/null; then
23064 rm -f conf$$ conf$$.exe conf$$.file
23066 if mkdir -p . 2>/dev/null; then
23072 as_executable_p="test -f"
23074 # Sed expression to map a string onto a valid CPP name.
23075 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23077 # Sed expression to map a string onto a valid variable name.
23078 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23082 # We need space, tab and new line, in precisely that order.
23092 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23093 # report actual input values of CONFIG_FILES etc. instead of their
23094 # values after options handling. Logging --version etc. is OK.
23098 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23099 ## Running $as_me. ##
23104 This file was extended by [LLVM] $as_me [1.0], which was
23105 generated by GNU Autoconf 2.57. Invocation command line was
23107 CONFIG_FILES = $CONFIG_FILES
23108 CONFIG_HEADERS = $CONFIG_HEADERS
23109 CONFIG_LINKS = $CONFIG_LINKS
23110 CONFIG_COMMANDS = $CONFIG_COMMANDS
23114 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23118 # Files that config.status was made for.
23119 if test -n "$ac_config_files"; then
23120 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23123 if test -n "$ac_config_headers"; then
23124 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23127 if test -n "$ac_config_links"; then
23128 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23131 if test -n "$ac_config_commands"; then
23132 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23135 cat >>$CONFIG_STATUS <<\_ACEOF
23138 \`$as_me' instantiates files from templates according to the
23139 current configuration.
23141 Usage: $0 [OPTIONS] [FILE]...
23143 -h, --help print this help, then exit
23144 -V, --version print version number, then exit
23145 -q, --quiet do not print progress messages
23146 -d, --debug don't remove temporary files
23147 --recheck update $as_me by reconfiguring in the same conditions
23148 --file=FILE[:TEMPLATE]
23149 instantiate the configuration file FILE
23150 --header=FILE[:TEMPLATE]
23151 instantiate the configuration header FILE
23153 Configuration files:
23156 Configuration headers:
23159 Configuration commands:
23162 Report bugs to <bug-autoconf@gnu.org>."
23165 cat >>$CONFIG_STATUS <<_ACEOF
23167 [LLVM] config.status [1.0]
23168 configured by $0, generated by GNU Autoconf 2.57,
23169 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23171 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23172 Free Software Foundation, Inc.
23173 This config.status script is free software; the Free Software Foundation
23174 gives unlimited permission to copy, distribute and modify it."
23179 cat >>$CONFIG_STATUS <<\_ACEOF
23180 # If no file are specified by the user, then we need to provide default
23181 # value. By we need to know if files were specified by the user.
23187 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23188 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23196 *) # This is not an option, so the user has probably given explicit
23199 ac_need_defaults=false;;
23203 # Handling of the options.
23205 cat >>$CONFIG_STATUS <<\_ACEOF
23206 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23208 --version | --vers* | -V )
23209 echo "$ac_cs_version"; exit 0 ;;
23211 # Conflict between --help and --header
23212 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23213 Try \`$0 --help' for more information." >&5
23214 echo "$as_me: error: ambiguous option: $1
23215 Try \`$0 --help' for more information." >&2;}
23216 { (exit 1); exit 1; }; };;
23217 --help | --hel | -h )
23218 echo "$ac_cs_usage"; exit 0 ;;
23219 --debug | --d* | -d )
23221 --file | --fil | --fi | --f )
23223 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23224 ac_need_defaults=false;;
23225 --header | --heade | --head | --hea )
23227 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23228 ac_need_defaults=false;;
23229 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23230 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23233 # This is an error.
23234 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23235 Try \`$0 --help' for more information." >&5
23236 echo "$as_me: error: unrecognized option: $1
23237 Try \`$0 --help' for more information." >&2;}
23238 { (exit 1); exit 1; }; } ;;
23240 *) ac_config_targets="$ac_config_targets $1" ;;
23246 ac_configure_extra_args=
23248 if $ac_cs_silent; then
23250 ac_configure_extra_args="$ac_configure_extra_args --silent"
23254 cat >>$CONFIG_STATUS <<_ACEOF
23255 if \$ac_cs_recheck; then
23256 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23257 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23262 cat >>$CONFIG_STATUS <<_ACEOF
23264 # INIT-COMMANDS section.
23267 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23268 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23269 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23270 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23271 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23272 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23273 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23274 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23275 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23276 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23277 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23278 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23279 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23280 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23281 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23282 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23283 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23284 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23285 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23286 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23287 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23288 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23289 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23290 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23291 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23292 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23293 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23294 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23295 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23296 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23297 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23298 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23299 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23300 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23301 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23302 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23303 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23304 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23305 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23306 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libexception/Makefile`
23307 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23308 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23309 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23310 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23311 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23312 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23313 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23314 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23315 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23316 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23317 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23318 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23319 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23320 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23321 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23322 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23323 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23324 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23325 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23326 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23327 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23328 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23329 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23330 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23331 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23332 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23333 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23334 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23335 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23336 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23337 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23338 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23339 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23340 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23341 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23342 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23343 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23344 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23345 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23346 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23347 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23348 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23349 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23350 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23351 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23352 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23353 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23354 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23355 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23356 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Burg/Makefile`
23357 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Fhourstones/Makefile`
23358 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/Makefile`
23359 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/01-qbsort/Makefile`
23360 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/03-testtrie/Makefile`
23361 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/04-bisect/Makefile`
23362 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/05-eks/Makefile`
23363 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/08-main/Makefile`
23364 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/09-vor/Makefile`
23365 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/12-IOtest/Makefile`
23366 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/15-trie/Makefile`
23367 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/17-bintr/Makefile`
23368 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/McCat/18-imp/Makefile`
23369 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/Makefile`
23370 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/bh/Makefile`
23371 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/bisort/Makefile`
23372 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/em3d/Makefile`
23373 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/health/Makefile`
23374 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/mst/Makefile`
23375 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/perimeter/Makefile`
23376 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/power/Makefile`
23377 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/treeadd/Makefile`
23378 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/tsp/Makefile`
23379 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Olden/voronoi/Makefile`
23380 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/OptimizerEval/Makefile`
23381 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/Makefile`
23382 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/anagram/Makefile`
23383 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/bc/Makefile`
23384 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/ft/Makefile`
23385 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/ks/Makefile`
23386 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Ptrdist/yacr2/Makefile`
23387 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/aha/Makefile`
23388 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/llubenchmark/Makefile`
23389 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/sgefa/Makefile`
23390 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/sim/Makefile`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23399 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23400 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23401 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23402 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23403 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23404 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23405 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname tools/as/Makefile`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname tools/dis/Makefile`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23415 ${srcdir}/autoconf/mkinstalldirs `dirname tools/link/Makefile`
23416 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23417 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23418 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23419 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23420 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23421 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23422 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23423 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23444 cat >>$CONFIG_STATUS <<\_ACEOF
23445 for ac_config_target in $ac_config_targets
23447 case "$ac_config_target" in
23448 # Handling of arguments.
23449 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23450 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23451 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23452 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23453 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23454 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23455 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23456 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23457 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23458 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23459 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23460 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23461 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23462 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23463 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23464 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23465 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23466 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23467 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23468 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23469 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23470 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23471 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23472 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23473 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23474 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23475 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23476 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23477 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23478 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23479 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23480 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23481 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23482 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23483 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23484 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23485 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23486 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23487 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23488 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23489 "runtime/GCCLibraries/libexception/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libexception/Makefile" ;;
23490 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23491 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23492 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23493 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23494 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23495 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23496 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23497 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23498 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23499 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23500 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23501 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23502 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23503 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23504 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23505 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23506 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23507 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23508 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23509 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23510 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23511 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23512 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23513 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23514 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23515 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23516 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23517 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23518 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23519 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23520 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23521 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23522 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23523 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23524 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23525 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23526 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23527 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23528 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23529 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23530 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23531 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23532 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23533 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23534 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23535 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23536 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23537 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23538 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23539 "test/Programs/MultiSource/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Burg/Makefile" ;;
23540 "test/Programs/MultiSource/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Fhourstones/Makefile" ;;
23541 "test/Programs/MultiSource/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/Makefile" ;;
23542 "test/Programs/MultiSource/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/01-qbsort/Makefile" ;;
23543 "test/Programs/MultiSource/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/03-testtrie/Makefile" ;;
23544 "test/Programs/MultiSource/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/04-bisect/Makefile" ;;
23545 "test/Programs/MultiSource/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/05-eks/Makefile" ;;
23546 "test/Programs/MultiSource/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/08-main/Makefile" ;;
23547 "test/Programs/MultiSource/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/09-vor/Makefile" ;;
23548 "test/Programs/MultiSource/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/12-IOtest/Makefile" ;;
23549 "test/Programs/MultiSource/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/15-trie/Makefile" ;;
23550 "test/Programs/MultiSource/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/17-bintr/Makefile" ;;
23551 "test/Programs/MultiSource/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/McCat/18-imp/Makefile" ;;
23552 "test/Programs/MultiSource/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/Makefile" ;;
23553 "test/Programs/MultiSource/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/bh/Makefile" ;;
23554 "test/Programs/MultiSource/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/bisort/Makefile" ;;
23555 "test/Programs/MultiSource/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/em3d/Makefile" ;;
23556 "test/Programs/MultiSource/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/health/Makefile" ;;
23557 "test/Programs/MultiSource/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/mst/Makefile" ;;
23558 "test/Programs/MultiSource/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/perimeter/Makefile" ;;
23559 "test/Programs/MultiSource/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/power/Makefile" ;;
23560 "test/Programs/MultiSource/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/treeadd/Makefile" ;;
23561 "test/Programs/MultiSource/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/tsp/Makefile" ;;
23562 "test/Programs/MultiSource/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Olden/voronoi/Makefile" ;;
23563 "test/Programs/MultiSource/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/OptimizerEval/Makefile" ;;
23564 "test/Programs/MultiSource/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/Makefile" ;;
23565 "test/Programs/MultiSource/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/anagram/Makefile" ;;
23566 "test/Programs/MultiSource/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/bc/Makefile" ;;
23567 "test/Programs/MultiSource/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/ft/Makefile" ;;
23568 "test/Programs/MultiSource/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/ks/Makefile" ;;
23569 "test/Programs/MultiSource/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Ptrdist/yacr2/Makefile" ;;
23570 "test/Programs/MultiSource/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/aha/Makefile" ;;
23571 "test/Programs/MultiSource/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/llubenchmark/Makefile" ;;
23572 "test/Programs/MultiSource/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/sgefa/Makefile" ;;
23573 "test/Programs/MultiSource/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/sim/Makefile" ;;
23574 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23575 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23576 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23577 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23578 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23579 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23580 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23581 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23582 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23583 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23584 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23585 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23586 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23587 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23588 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23589 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23590 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23591 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23592 "tools/as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/as/Makefile" ;;
23593 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23594 "tools/dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/dis/Makefile" ;;
23595 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23596 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23597 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23598 "tools/link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/link/Makefile" ;;
23599 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23600 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23601 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23602 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23603 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23604 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23605 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23606 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23607 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23608 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23609 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23610 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23611 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23612 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23613 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23614 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23615 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23616 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23617 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23618 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23619 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23620 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23621 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23622 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23623 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23624 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23625 { (exit 1); exit 1; }; };;
23629 # If the user did not use the arguments to specify the items to instantiate,
23630 # then the envvar interface is used. Set only those that are not.
23631 # We use the long form for the default assignment because of an extremely
23632 # bizarre bug on SunOS 4.1.3.
23633 if $ac_need_defaults; then
23634 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23635 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23636 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23639 # Have a temporary directory for convenience. Make it in the build tree
23640 # simply because there is no reason to put it here, and in addition,
23641 # creating and moving files from /tmp can sometimes cause problems.
23642 # Create a temporary directory, and hook for its removal unless debugging.
23645 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23646 trap '{ (exit 1); exit 1; }' 1 2 13 15
23649 # Create a (secure) tmp directory for tmp files.
23652 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23653 test -n "$tmp" && test -d "$tmp"
23656 tmp=./confstat$$-$RANDOM
23657 (umask 077 && mkdir $tmp)
23660 echo "$me: cannot create a temporary directory in ." >&2
23661 { (exit 1); exit 1; }
23666 cat >>$CONFIG_STATUS <<_ACEOF
23669 # CONFIG_FILES section.
23672 # No need to generate the scripts if there are no CONFIG_FILES.
23673 # This happens for instance when ./config.status config.h
23674 if test -n "\$CONFIG_FILES"; then
23675 # Protect against being on the right side of a sed subst in config.status.
23676 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23677 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23678 s,@SHELL@,$SHELL,;t t
23679 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23680 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23681 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23682 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23683 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23684 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23685 s,@exec_prefix@,$exec_prefix,;t t
23686 s,@prefix@,$prefix,;t t
23687 s,@program_transform_name@,$program_transform_name,;t t
23688 s,@bindir@,$bindir,;t t
23689 s,@sbindir@,$sbindir,;t t
23690 s,@libexecdir@,$libexecdir,;t t
23691 s,@datadir@,$datadir,;t t
23692 s,@sysconfdir@,$sysconfdir,;t t
23693 s,@sharedstatedir@,$sharedstatedir,;t t
23694 s,@localstatedir@,$localstatedir,;t t
23695 s,@libdir@,$libdir,;t t
23696 s,@includedir@,$includedir,;t t
23697 s,@oldincludedir@,$oldincludedir,;t t
23698 s,@infodir@,$infodir,;t t
23699 s,@mandir@,$mandir,;t t
23700 s,@build_alias@,$build_alias,;t t
23701 s,@host_alias@,$host_alias,;t t
23702 s,@target_alias@,$target_alias,;t t
23703 s,@DEFS@,$DEFS,;t t
23704 s,@ECHO_C@,$ECHO_C,;t t
23705 s,@ECHO_N@,$ECHO_N,;t t
23706 s,@ECHO_T@,$ECHO_T,;t t
23707 s,@LIBS@,$LIBS,;t t
23708 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23709 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23710 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23711 s,@build@,$build,;t t
23712 s,@build_cpu@,$build_cpu,;t t
23713 s,@build_vendor@,$build_vendor,;t t
23714 s,@build_os@,$build_os,;t t
23715 s,@host@,$host,;t t
23716 s,@host_cpu@,$host_cpu,;t t
23717 s,@host_vendor@,$host_vendor,;t t
23718 s,@host_os@,$host_os,;t t
23719 s,@target@,$target,;t t
23720 s,@target_cpu@,$target_cpu,;t t
23721 s,@target_vendor@,$target_vendor,;t t
23722 s,@target_os@,$target_os,;t t
23724 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23725 s,@ARCH@,$ARCH,;t t
23727 s,@CXXFLAGS@,$CXXFLAGS,;t t
23728 s,@LDFLAGS@,$LDFLAGS,;t t
23729 s,@CPPFLAGS@,$CPPFLAGS,;t t
23730 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23731 s,@EXEEXT@,$EXEEXT,;t t
23732 s,@OBJEXT@,$OBJEXT,;t t
23734 s,@CFLAGS@,$CFLAGS,;t t
23735 s,@ac_ct_CC@,$ac_ct_CC,;t t
23737 s,@ifGNUmake@,$ifGNUmake,;t t
23739 s,@LEXLIB@,$LEXLIB,;t t
23740 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23741 s,@YACC@,$YACC,;t t
23742 s,@EGREP@,$EGREP,;t t
23743 s,@LN_S@,$LN_S,;t t
23744 s,@ECHO@,$ECHO,;t t
23746 s,@ac_ct_AR@,$ac_ct_AR,;t t
23747 s,@RANLIB@,$RANLIB,;t t
23748 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23749 s,@STRIP@,$STRIP,;t t
23750 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23751 s,@CXXCPP@,$CXXCPP,;t t
23753 s,@FFLAGS@,$FFLAGS,;t t
23754 s,@ac_ct_F77@,$ac_ct_F77,;t t
23755 s,@LIBTOOL@,$LIBTOOL,;t t
23756 s,@RPWD@,$RPWD,;t t
23759 s,@MKDIR@,$MKDIR,;t t
23760 s,@DATE@,$DATE,;t t
23763 s,@ETAGS@,$ETAGS,;t t
23764 s,@PURIFY@,$PURIFY,;t t
23765 s,@PYTHON@,$PYTHON,;t t
23766 s,@QMTEST@,$QMTEST,;t t
23767 s,@ALLOCA@,$ALLOCA,;t t
23768 s,@LIBOBJS@,$LIBOBJS,;t t
23769 s,@MMAP_FILE@,$MMAP_FILE,;t t
23770 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23771 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23772 s,@USE_SPEC@,$USE_SPEC,;t t
23774 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23776 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23778 s,@PAPIDIR@,$PAPIDIR,;t t
23779 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23784 cat >>$CONFIG_STATUS <<\_ACEOF
23785 # Split the substitutions into bite-sized pieces for seds with
23786 # small command number limits, like on Digital OSF/1 and HP-UX.
23787 ac_max_sed_lines=48
23788 ac_sed_frag=1 # Number of current file.
23789 ac_beg=1 # First line for current file.
23790 ac_end=$ac_max_sed_lines # Line after last line for current file.
23793 while $ac_more_lines; do
23794 if test $ac_beg -gt 1; then
23795 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23797 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23799 if test ! -s $tmp/subs.frag; then
23800 ac_more_lines=false
23802 # The purpose of the label and of the branching condition is to
23803 # speed up the sed processing (if there are no `@' at all, there
23804 # is no need to browse any of the substitutions).
23805 # These are the two extra sed commands mentioned above.
23807 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23808 if test -z "$ac_sed_cmds"; then
23809 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23811 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23813 ac_sed_frag=`expr $ac_sed_frag + 1`
23815 ac_end=`expr $ac_end + $ac_max_sed_lines`
23818 if test -z "$ac_sed_cmds"; then
23821 fi # test -n "$CONFIG_FILES"
23824 cat >>$CONFIG_STATUS <<\_ACEOF
23825 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23826 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23828 - | *:- | *:-:* ) # input from stdin
23830 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23831 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23832 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23833 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23834 * ) ac_file_in=$ac_file.in ;;
23837 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23838 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23839 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23840 X"$ac_file" : 'X\(//\)[^/]' \| \
23841 X"$ac_file" : 'X\(//\)$' \| \
23842 X"$ac_file" : 'X\(/\)' \| \
23843 . : '\(.\)' 2>/dev/null ||
23845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23846 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23847 /^X\(\/\/\)$/{ s//\1/; q; }
23848 /^X\(\/\).*/{ s//\1/; q; }
23850 { if $as_mkdir_p; then
23855 while test ! -d "$as_dir"; do
23856 as_dirs="$as_dir $as_dirs"
23857 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23858 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23859 X"$as_dir" : 'X\(//\)[^/]' \| \
23860 X"$as_dir" : 'X\(//\)$' \| \
23861 X"$as_dir" : 'X\(/\)' \| \
23862 . : '\(.\)' 2>/dev/null ||
23864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23865 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23866 /^X\(\/\/\)$/{ s//\1/; q; }
23867 /^X\(\/\).*/{ s//\1/; q; }
23870 test ! -n "$as_dirs" || mkdir $as_dirs
23871 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23872 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23873 { (exit 1); exit 1; }; }; }
23877 if test "$ac_dir" != .; then
23878 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23879 # A "../" for each directory in $ac_dir_suffix.
23880 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23882 ac_dir_suffix= ac_top_builddir=
23886 .) # No --srcdir option. We are building in place.
23888 if test -z "$ac_top_builddir"; then
23891 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23893 [\\/]* | ?:[\\/]* ) # Absolute path.
23894 ac_srcdir=$srcdir$ac_dir_suffix;
23895 ac_top_srcdir=$srcdir ;;
23896 *) # Relative path.
23897 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23898 ac_top_srcdir=$ac_top_builddir$srcdir ;;
23900 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
23902 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
23903 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
23904 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
23905 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
23909 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23910 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23913 if test x"$ac_file" != x-; then
23914 { echo "$as_me:$LINENO: creating $ac_file" >&5
23915 echo "$as_me: creating $ac_file" >&6;}
23918 # Let's still pretend it is `configure' which instantiates (i.e., don't
23919 # use $as_me), people would be surprised to read:
23920 # /* config.h. Generated by config.status. */
23921 if test x"$ac_file" = x-; then
23924 configure_input="$ac_file. "
23926 configure_input=$configure_input"Generated from `echo $ac_file_in |
23927 sed 's,.*/,,'` by configure."
23929 # First look for the input files in the build tree, otherwise in the
23931 ac_file_inputs=`IFS=:
23932 for f in $ac_file_in; do
23934 -) echo $tmp/stdin ;;
23936 # Absolute (can't be DOS-style, as IFS=:)
23937 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23938 echo "$as_me: error: cannot find input file: $f" >&2;}
23939 { (exit 1); exit 1; }; }
23942 if test -f "$f"; then
23945 elif test -f "$srcdir/$f"; then
23950 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23951 echo "$as_me: error: cannot find input file: $f" >&2;}
23952 { (exit 1); exit 1; }; }
23955 done` || { (exit 1); exit 1; }
23957 cat >>$CONFIG_STATUS <<_ACEOF
23961 cat >>$CONFIG_STATUS <<\_ACEOF
23963 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23964 s,@configure_input@,$configure_input,;t t
23965 s,@srcdir@,$ac_srcdir,;t t
23966 s,@abs_srcdir@,$ac_abs_srcdir,;t t
23967 s,@top_srcdir@,$ac_top_srcdir,;t t
23968 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23969 s,@builddir@,$ac_builddir,;t t
23970 s,@abs_builddir@,$ac_abs_builddir,;t t
23971 s,@top_builddir@,$ac_top_builddir,;t t
23972 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23973 s,@INSTALL@,$ac_INSTALL,;t t
23974 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23976 if test x"$ac_file" != x-; then
23977 mv $tmp/out $ac_file
23985 cat >>$CONFIG_STATUS <<\_ACEOF
23988 # CONFIG_HEADER section.
23991 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
23992 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23994 # ac_d sets the value in "#define NAME VALUE" lines.
23995 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23996 ac_dB='[ ].*$,\1#\2'
23999 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24000 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24001 ac_uB='$,\1#\2define\3'
24005 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24006 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24008 - | *:- | *:-:* ) # input from stdin
24010 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24011 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24012 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24013 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24014 * ) ac_file_in=$ac_file.in ;;
24017 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24018 echo "$as_me: creating $ac_file" >&6;}
24020 # First look for the input files in the build tree, otherwise in the
24022 ac_file_inputs=`IFS=:
24023 for f in $ac_file_in; do
24025 -) echo $tmp/stdin ;;
24027 # Absolute (can't be DOS-style, as IFS=:)
24028 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24029 echo "$as_me: error: cannot find input file: $f" >&2;}
24030 { (exit 1); exit 1; }; }
24033 if test -f "$f"; then
24036 elif test -f "$srcdir/$f"; then
24041 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24042 echo "$as_me: error: cannot find input file: $f" >&2;}
24043 { (exit 1); exit 1; }; }
24046 done` || { (exit 1); exit 1; }
24047 # Remove the trailing spaces.
24048 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24052 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24053 # `conftest.undefs', that substitutes the proper values into
24054 # config.h.in to produce config.h. The first handles `#define'
24055 # templates, and the second `#undef' templates.
24056 # And first: Protect against being on the right side of a sed subst in
24057 # config.status. Protect against being in an unquoted here document
24058 # in config.status.
24059 rm -f conftest.defines conftest.undefs
24060 # Using a here document instead of a string reduces the quoting nightmare.
24061 # Putting comments in sed scripts is not portable.
24063 # `end' is used to avoid that the second main sed command (meant for
24064 # 0-ary CPP macros) applies to n-ary macro definitions.
24065 # See the Autoconf documentation for `clear'.
24066 cat >confdef2sed.sed <<\_ACEOF
24071 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24073 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24076 # If some macros were called several times there might be several times
24077 # the same #defines, which is useless. Nevertheless, we may not want to
24078 # sort them, since we want the *last* AC-DEFINE to be honored.
24079 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24080 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24081 rm -f confdef2sed.sed
24083 # This sed command replaces #undef with comments. This is necessary, for
24084 # example, in the case of _POSIX_SOURCE, which is predefined and required
24085 # on some systems where configure will not decide to define it.
24086 cat >>conftest.undefs <<\_ACEOF
24087 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24090 # Break up conftest.defines because some shells have a limit on the size
24091 # of here documents, and old seds have small limits too (100 cmds).
24092 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24093 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24094 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24095 echo ' :' >>$CONFIG_STATUS
24096 rm -f conftest.tail
24097 while grep . conftest.defines >/dev/null
24099 # Write a limited-size here document to $tmp/defines.sed.
24100 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24101 # Speed up: don't consider the non `#define' lines.
24102 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24103 # Work around the forget-to-reset-the-flag bug.
24104 echo 't clr' >>$CONFIG_STATUS
24105 echo ': clr' >>$CONFIG_STATUS
24106 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24108 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24110 mv $tmp/out $tmp/in
24112 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24113 rm -f conftest.defines
24114 mv conftest.tail conftest.defines
24116 rm -f conftest.defines
24117 echo ' fi # grep' >>$CONFIG_STATUS
24118 echo >>$CONFIG_STATUS
24120 # Break up conftest.undefs because some shells have a limit on the size
24121 # of here documents, and old seds have small limits too (100 cmds).
24122 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24123 rm -f conftest.tail
24124 while grep . conftest.undefs >/dev/null
24126 # Write a limited-size here document to $tmp/undefs.sed.
24127 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24128 # Speed up: don't consider the non `#undef'
24129 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24130 # Work around the forget-to-reset-the-flag bug.
24131 echo 't clr' >>$CONFIG_STATUS
24132 echo ': clr' >>$CONFIG_STATUS
24133 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24135 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24137 mv $tmp/out $tmp/in
24139 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24140 rm -f conftest.undefs
24141 mv conftest.tail conftest.undefs
24143 rm -f conftest.undefs
24145 cat >>$CONFIG_STATUS <<\_ACEOF
24146 # Let's still pretend it is `configure' which instantiates (i.e., don't
24147 # use $as_me), people would be surprised to read:
24148 # /* config.h. Generated by config.status. */
24149 if test x"$ac_file" = x-; then
24150 echo "/* Generated by configure. */" >$tmp/config.h
24152 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24154 cat $tmp/in >>$tmp/config.h
24156 if test x"$ac_file" != x-; then
24157 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24158 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24159 echo "$as_me: $ac_file is unchanged" >&6;}
24161 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24162 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24163 X"$ac_file" : 'X\(//\)[^/]' \| \
24164 X"$ac_file" : 'X\(//\)$' \| \
24165 X"$ac_file" : 'X\(/\)' \| \
24166 . : '\(.\)' 2>/dev/null ||
24168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24169 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24170 /^X\(\/\/\)$/{ s//\1/; q; }
24171 /^X\(\/\).*/{ s//\1/; q; }
24173 { if $as_mkdir_p; then
24178 while test ! -d "$as_dir"; do
24179 as_dirs="$as_dir $as_dirs"
24180 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24181 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24182 X"$as_dir" : 'X\(//\)[^/]' \| \
24183 X"$as_dir" : 'X\(//\)$' \| \
24184 X"$as_dir" : 'X\(/\)' \| \
24185 . : '\(.\)' 2>/dev/null ||
24187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24188 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24189 /^X\(\/\/\)$/{ s//\1/; q; }
24190 /^X\(\/\).*/{ s//\1/; q; }
24193 test ! -n "$as_dirs" || mkdir $as_dirs
24194 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24195 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24196 { (exit 1); exit 1; }; }; }
24199 mv $tmp/config.h $ac_file
24203 rm -f $tmp/config.h
24207 cat >>$CONFIG_STATUS <<\_ACEOF
24210 # CONFIG_COMMANDS section.
24212 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24213 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24214 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24215 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24216 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24217 X"$ac_dest" : 'X\(//\)[^/]' \| \
24218 X"$ac_dest" : 'X\(//\)$' \| \
24219 X"$ac_dest" : 'X\(/\)' \| \
24220 . : '\(.\)' 2>/dev/null ||
24222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24223 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24224 /^X\(\/\/\)$/{ s//\1/; q; }
24225 /^X\(\/\).*/{ s//\1/; q; }
24229 if test "$ac_dir" != .; then
24230 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24231 # A "../" for each directory in $ac_dir_suffix.
24232 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24234 ac_dir_suffix= ac_top_builddir=
24238 .) # No --srcdir option. We are building in place.
24240 if test -z "$ac_top_builddir"; then
24243 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24245 [\\/]* | ?:[\\/]* ) # Absolute path.
24246 ac_srcdir=$srcdir$ac_dir_suffix;
24247 ac_top_srcdir=$srcdir ;;
24248 *) # Relative path.
24249 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24250 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24252 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24254 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24255 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24256 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24257 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24260 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24261 echo "$as_me: executing $ac_dest commands" >&6;}
24263 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24264 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24265 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24266 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24267 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24268 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24269 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24270 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24271 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24272 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24273 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24274 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24275 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24276 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24277 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24278 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24279 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24280 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24281 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24282 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24283 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24284 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24285 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24286 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24287 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24288 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24289 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24290 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24291 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24292 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24293 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24294 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24295 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24296 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24297 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24298 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24299 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24300 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24301 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24302 runtime/GCCLibraries/libexception/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libexception/Makefile runtime/GCCLibraries/libexception/Makefile ;;
24303 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24304 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24305 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24306 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24307 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24308 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24309 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24310 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24311 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24312 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24313 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24314 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24315 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24316 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24317 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24318 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24319 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24320 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24321 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24322 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24323 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24324 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24325 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24326 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24327 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24328 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24329 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24330 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24331 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24332 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24333 test/Programs/External/SPEC/Makefile.spec ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile.spec test/Programs/External/SPEC/Makefile.spec ;;
24334 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 ;;
24335 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 ;;
24336 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 ;;
24337 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 ;;
24338 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 ;;
24339 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 ;;
24340 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 ;;
24341 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 ;;
24342 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 ;;
24343 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 ;;
24344 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 ;;
24345 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 ;;
24346 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 ;;
24347 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 ;;
24348 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 ;;
24349 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24350 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24351 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24352 test/Programs/MultiSource/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Burg/Makefile test/Programs/MultiSource/Burg/Makefile ;;
24353 test/Programs/MultiSource/Fhourstones/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Fhourstones/Makefile test/Programs/MultiSource/Fhourstones/Makefile ;;
24354 test/Programs/MultiSource/McCat/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/McCat/Makefile test/Programs/MultiSource/McCat/Makefile ;;
24355 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 ;;
24356 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 ;;
24357 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 ;;
24358 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 ;;
24359 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 ;;
24360 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 ;;
24361 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 ;;
24362 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 ;;
24363 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 ;;
24364 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 ;;
24365 test/Programs/MultiSource/Olden/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Olden/Makefile test/Programs/MultiSource/Olden/Makefile ;;
24366 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 ;;
24367 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 ;;
24368 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 ;;
24369 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 ;;
24370 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 ;;
24371 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 ;;
24372 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 ;;
24373 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 ;;
24374 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 ;;
24375 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 ;;
24376 test/Programs/MultiSource/OptimizerEval/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/OptimizerEval/Makefile test/Programs/MultiSource/OptimizerEval/Makefile ;;
24377 test/Programs/MultiSource/Ptrdist/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Ptrdist/Makefile test/Programs/MultiSource/Ptrdist/Makefile ;;
24378 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 ;;
24379 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 ;;
24380 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 ;;
24381 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 ;;
24382 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 ;;
24383 test/Programs/MultiSource/aha/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/aha/Makefile test/Programs/MultiSource/aha/Makefile ;;
24384 test/Programs/MultiSource/llubenchmark/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/llubenchmark/Makefile test/Programs/MultiSource/llubenchmark/Makefile ;;
24385 test/Programs/MultiSource/sgefa/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/sgefa/Makefile test/Programs/MultiSource/sgefa/Makefile ;;
24386 test/Programs/MultiSource/sim/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/sim/Makefile test/Programs/MultiSource/sim/Makefile ;;
24387 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24388 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24389 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24390 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 ;;
24391 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24392 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24393 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24394 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24395 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24396 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24397 test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile ;;
24398 test/Programs/SingleSource/Benchmarks/Shootout/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Shootout/Makefile test/Programs/SingleSource/Benchmarks/Shootout/Makefile ;;
24399 test/Programs/SingleSource/Benchmarks/Stanford/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Stanford/Makefile test/Programs/SingleSource/Benchmarks/Stanford/Makefile ;;
24400 test/Programs/SingleSource/Benchmarks/Misc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Misc/Makefile test/Programs/SingleSource/Benchmarks/Misc/Makefile ;;
24401 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24402 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24403 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24404 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24405 tools/as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/as/Makefile tools/as/Makefile ;;
24406 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24407 tools/dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/dis/Makefile tools/dis/Makefile ;;
24408 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24409 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24410 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24411 tools/link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/link/Makefile tools/link/Makefile ;;
24412 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24413 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24414 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24415 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24416 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24417 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24418 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24419 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24420 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24421 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24422 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24423 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24424 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24425 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24426 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24427 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24428 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24429 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24430 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24431 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24432 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24433 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24434 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24439 cat >>$CONFIG_STATUS <<\_ACEOF
24441 { (exit 0); exit 0; }
24443 chmod +x $CONFIG_STATUS
24444 ac_clean_files=$ac_clean_files_save
24447 # configure is writing to config.log, and then calls config.status.
24448 # config.status does its own redirection, appending to config.log.
24449 # Unfortunately, on DOS this fails, as config.log is still kept open
24450 # by configure, so config.status won't be able to write to it; its
24451 # output is simply discarded. So we exec the FD to /dev/null,
24452 # effectively closing config.log, so it can be properly (re)opened and
24453 # appended to by config.status. When coming back to configure, we
24454 # need to make the FD available again.
24455 if test "$no_create" != yes; then
24457 ac_config_status_args=
24458 test "$silent" = yes &&
24459 ac_config_status_args="$ac_config_status_args --quiet"
24461 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24463 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24464 # would make configure fail if this is the last instruction.
24465 $ac_cs_success || { (exit 1); exit 1; }