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 ac_subdirs_all="$ac_subdirs_all projects/reopt"
430 ac_subdirs_all="$ac_subdirs_all projects/poolalloc"
431 # Factoring default headers for most tests.
432 ac_includes_default="\
435 # include <sys/types.h>
438 # include <sys/stat.h>
449 # if !STDC_HEADERS && HAVE_MEMORY_H
455 # include <strings.h>
458 # include <inttypes.h>
468 ac_unique_file=""Makefile.config.in""
469 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 subdirs 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 PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED SPEC_ROOT USE_SPEC UPB DISABLE_LLC_DIFFS JIT BCR PAPIDIR PURIFY LTLIBOBJS'
472 # Initialize some variables set by options.
474 ac_init_version=false
475 # The variables have the same names as the options, with
476 # dashes changed to underlines.
484 program_transform_name=s,x,x,
492 # Installation directory options.
493 # These are left unexpanded so users can "make install exec_prefix=/foo"
494 # and all the variables that are supposed to be based on exec_prefix
495 # by default will actually change.
496 # Use braces instead of parens because sh, perl, etc. also accept them.
497 bindir='${exec_prefix}/bin'
498 sbindir='${exec_prefix}/sbin'
499 libexecdir='${exec_prefix}/libexec'
500 datadir='${prefix}/share'
501 sysconfdir='${prefix}/etc'
502 sharedstatedir='${prefix}/com'
503 localstatedir='${prefix}/var'
504 libdir='${exec_prefix}/lib'
505 includedir='${prefix}/include'
506 oldincludedir='/usr/include'
507 infodir='${prefix}/info'
508 mandir='${prefix}/man'
513 # If the previous option needs an argument, assign it.
514 if test -n "$ac_prev"; then
515 eval "$ac_prev=\$ac_option"
520 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
522 # Accept the important Cygnus configure options, so we can diagnose typos.
526 -bindir | --bindir | --bindi | --bind | --bin | --bi)
528 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
531 -build | --build | --buil | --bui | --bu)
532 ac_prev=build_alias ;;
533 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
534 build_alias=$ac_optarg ;;
536 -cache-file | --cache-file | --cache-fil | --cache-fi \
537 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
538 ac_prev=cache_file ;;
539 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
540 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
541 cache_file=$ac_optarg ;;
544 cache_file=config.cache ;;
546 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
548 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
550 datadir=$ac_optarg ;;
552 -disable-* | --disable-*)
553 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
554 # Reject names that are not valid shell variable names.
555 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
556 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
557 { (exit 1); exit 1; }; }
558 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
559 eval "enable_$ac_feature=no" ;;
561 -enable-* | --enable-*)
562 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
565 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
566 { (exit 1); exit 1; }; }
567 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
569 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
572 eval "enable_$ac_feature='$ac_optarg'" ;;
574 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
575 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
576 | --exec | --exe | --ex)
577 ac_prev=exec_prefix ;;
578 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
579 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
580 | --exec=* | --exe=* | --ex=*)
581 exec_prefix=$ac_optarg ;;
583 -gas | --gas | --ga | --g)
584 # Obsolete; use --with-gas.
587 -help | --help | --hel | --he | -h)
589 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
590 ac_init_help=recursive ;;
591 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
592 ac_init_help=short ;;
594 -host | --host | --hos | --ho)
595 ac_prev=host_alias ;;
596 -host=* | --host=* | --hos=* | --ho=*)
597 host_alias=$ac_optarg ;;
599 -includedir | --includedir | --includedi | --included | --include \
600 | --includ | --inclu | --incl | --inc)
601 ac_prev=includedir ;;
602 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
603 | --includ=* | --inclu=* | --incl=* | --inc=*)
604 includedir=$ac_optarg ;;
606 -infodir | --infodir | --infodi | --infod | --info | --inf)
608 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
609 infodir=$ac_optarg ;;
611 -libdir | --libdir | --libdi | --libd)
613 -libdir=* | --libdir=* | --libdi=* | --libd=*)
616 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
617 | --libexe | --libex | --libe)
618 ac_prev=libexecdir ;;
619 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
620 | --libexe=* | --libex=* | --libe=*)
621 libexecdir=$ac_optarg ;;
623 -localstatedir | --localstatedir | --localstatedi | --localstated \
624 | --localstate | --localstat | --localsta | --localst \
625 | --locals | --local | --loca | --loc | --lo)
626 ac_prev=localstatedir ;;
627 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
628 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
629 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
630 localstatedir=$ac_optarg ;;
632 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
634 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
638 # Obsolete; use --without-fp.
641 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
642 | --no-cr | --no-c | -n)
645 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
646 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
649 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
650 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
651 | --oldin | --oldi | --old | --ol | --o)
652 ac_prev=oldincludedir ;;
653 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
654 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
655 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
656 oldincludedir=$ac_optarg ;;
658 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
660 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
663 -program-prefix | --program-prefix | --program-prefi | --program-pref \
664 | --program-pre | --program-pr | --program-p)
665 ac_prev=program_prefix ;;
666 -program-prefix=* | --program-prefix=* | --program-prefi=* \
667 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
668 program_prefix=$ac_optarg ;;
670 -program-suffix | --program-suffix | --program-suffi | --program-suff \
671 | --program-suf | --program-su | --program-s)
672 ac_prev=program_suffix ;;
673 -program-suffix=* | --program-suffix=* | --program-suffi=* \
674 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
675 program_suffix=$ac_optarg ;;
677 -program-transform-name | --program-transform-name \
678 | --program-transform-nam | --program-transform-na \
679 | --program-transform-n | --program-transform- \
680 | --program-transform | --program-transfor \
681 | --program-transfo | --program-transf \
682 | --program-trans | --program-tran \
683 | --progr-tra | --program-tr | --program-t)
684 ac_prev=program_transform_name ;;
685 -program-transform-name=* | --program-transform-name=* \
686 | --program-transform-nam=* | --program-transform-na=* \
687 | --program-transform-n=* | --program-transform-=* \
688 | --program-transform=* | --program-transfor=* \
689 | --program-transfo=* | --program-transf=* \
690 | --program-trans=* | --program-tran=* \
691 | --progr-tra=* | --program-tr=* | --program-t=*)
692 program_transform_name=$ac_optarg ;;
694 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
695 | -silent | --silent | --silen | --sile | --sil)
698 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
700 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
702 sbindir=$ac_optarg ;;
704 -sharedstatedir | --sharedstatedir | --sharedstatedi \
705 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
706 | --sharedst | --shareds | --shared | --share | --shar \
708 ac_prev=sharedstatedir ;;
709 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
710 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
711 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
713 sharedstatedir=$ac_optarg ;;
715 -site | --site | --sit)
717 -site=* | --site=* | --sit=*)
720 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
722 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
725 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
726 | --syscon | --sysco | --sysc | --sys | --sy)
727 ac_prev=sysconfdir ;;
728 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
729 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
730 sysconfdir=$ac_optarg ;;
732 -target | --target | --targe | --targ | --tar | --ta | --t)
733 ac_prev=target_alias ;;
734 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
735 target_alias=$ac_optarg ;;
737 -v | -verbose | --verbose | --verbos | --verbo | --verb)
740 -version | --version | --versio | --versi | --vers | -V)
744 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
745 # Reject names that are not valid shell variable names.
746 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
747 { echo "$as_me: error: invalid package name: $ac_package" >&2
748 { (exit 1); exit 1; }; }
749 ac_package=`echo $ac_package| sed 's/-/_/g'`
751 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
754 eval "with_$ac_package='$ac_optarg'" ;;
756 -without-* | --without-*)
757 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
758 # Reject names that are not valid shell variable names.
759 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
760 { echo "$as_me: error: invalid package name: $ac_package" >&2
761 { (exit 1); exit 1; }; }
762 ac_package=`echo $ac_package | sed 's/-/_/g'`
763 eval "with_$ac_package=no" ;;
766 # Obsolete; use --with-x.
769 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
770 | --x-incl | --x-inc | --x-in | --x-i)
771 ac_prev=x_includes ;;
772 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
773 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
774 x_includes=$ac_optarg ;;
776 -x-libraries | --x-libraries | --x-librarie | --x-librari \
777 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
778 ac_prev=x_libraries ;;
779 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
780 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
781 x_libraries=$ac_optarg ;;
783 -*) { echo "$as_me: error: unrecognized option: $ac_option
784 Try \`$0 --help' for more information." >&2
785 { (exit 1); exit 1; }; }
789 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
792 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
793 { (exit 1); exit 1; }; }
794 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
795 eval "$ac_envvar='$ac_optarg'"
799 # FIXME: should be removed in autoconf 3.0.
800 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
801 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
802 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
803 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
809 if test -n "$ac_prev"; then
810 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
811 { echo "$as_me: error: missing argument to $ac_option" >&2
812 { (exit 1); exit 1; }; }
815 # Be sure to have absolute paths.
816 for ac_var in exec_prefix prefix
818 eval ac_val=$`echo $ac_var`
820 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
821 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
822 { (exit 1); exit 1; }; };;
826 # Be sure to have absolute paths.
827 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
828 localstatedir libdir includedir oldincludedir infodir mandir
830 eval ac_val=$`echo $ac_var`
832 [\\/$]* | ?:[\\/]* ) ;;
833 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
834 { (exit 1); exit 1; }; };;
838 # There might be people who depend on the old broken behavior: `$host'
839 # used to hold the argument of --host etc.
840 # FIXME: To remove some day.
845 # FIXME: To remove some day.
846 if test "x$host_alias" != x; then
847 if test "x$build_alias" = x; then
848 cross_compiling=maybe
849 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
850 If a cross compiler is detected then cross compile mode will be used." >&2
851 elif test "x$build_alias" != "x$host_alias"; then
857 test -n "$host_alias" && ac_tool_prefix=$host_alias-
859 test "$silent" = yes && exec 6>/dev/null
862 # Find the source files, if location was not specified.
863 if test -z "$srcdir"; then
864 ac_srcdir_defaulted=yes
865 # Try the directory containing this script, then its parent.
866 ac_confdir=`(dirname "$0") 2>/dev/null ||
867 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
868 X"$0" : 'X\(//\)[^/]' \| \
869 X"$0" : 'X\(//\)$' \| \
870 X"$0" : 'X\(/\)' \| \
871 . : '\(.\)' 2>/dev/null ||
873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
874 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
875 /^X\(\/\/\)$/{ s//\1/; q; }
876 /^X\(\/\).*/{ s//\1/; q; }
879 if test ! -r $srcdir/$ac_unique_file; then
883 ac_srcdir_defaulted=no
885 if test ! -r $srcdir/$ac_unique_file; then
886 if test "$ac_srcdir_defaulted" = yes; then
887 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
888 { (exit 1); exit 1; }; }
890 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
891 { (exit 1); exit 1; }; }
894 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
895 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
896 { (exit 1); exit 1; }; }
897 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
898 ac_env_build_alias_set=${build_alias+set}
899 ac_env_build_alias_value=$build_alias
900 ac_cv_env_build_alias_set=${build_alias+set}
901 ac_cv_env_build_alias_value=$build_alias
902 ac_env_host_alias_set=${host_alias+set}
903 ac_env_host_alias_value=$host_alias
904 ac_cv_env_host_alias_set=${host_alias+set}
905 ac_cv_env_host_alias_value=$host_alias
906 ac_env_target_alias_set=${target_alias+set}
907 ac_env_target_alias_value=$target_alias
908 ac_cv_env_target_alias_set=${target_alias+set}
909 ac_cv_env_target_alias_value=$target_alias
910 ac_env_CXX_set=${CXX+set}
911 ac_env_CXX_value=$CXX
912 ac_cv_env_CXX_set=${CXX+set}
913 ac_cv_env_CXX_value=$CXX
914 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_env_CXXFLAGS_value=$CXXFLAGS
916 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
917 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
923 ac_env_CPPFLAGS_value=$CPPFLAGS
924 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
925 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
926 ac_env_CC_set=${CC+set}
928 ac_cv_env_CC_set=${CC+set}
929 ac_cv_env_CC_value=$CC
930 ac_env_CFLAGS_set=${CFLAGS+set}
931 ac_env_CFLAGS_value=$CFLAGS
932 ac_cv_env_CFLAGS_set=${CFLAGS+set}
933 ac_cv_env_CFLAGS_value=$CFLAGS
934 ac_env_CPP_set=${CPP+set}
935 ac_env_CPP_value=$CPP
936 ac_cv_env_CPP_set=${CPP+set}
937 ac_cv_env_CPP_value=$CPP
938 ac_env_CXXCPP_set=${CXXCPP+set}
939 ac_env_CXXCPP_value=$CXXCPP
940 ac_cv_env_CXXCPP_set=${CXXCPP+set}
941 ac_cv_env_CXXCPP_value=$CXXCPP
942 ac_env_F77_set=${F77+set}
943 ac_env_F77_value=$F77
944 ac_cv_env_F77_set=${F77+set}
945 ac_cv_env_F77_value=$F77
946 ac_env_FFLAGS_set=${FFLAGS+set}
947 ac_env_FFLAGS_value=$FFLAGS
948 ac_cv_env_FFLAGS_set=${FFLAGS+set}
949 ac_cv_env_FFLAGS_value=$FFLAGS
952 # Report the --help message.
954 if test "$ac_init_help" = "long"; then
955 # Omit some internal or obsolete options to make the list less imposing.
956 # This message is too long to be a string in the A/UX 3.1 sh.
958 \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems.
960 Usage: $0 [OPTION]... [VAR=VALUE]...
962 To assign environment variables (e.g., CC, CFLAGS...), specify them as
963 VAR=VALUE. See below for descriptions of some of the useful variables.
965 Defaults for the options are specified in brackets.
968 -h, --help display this help and exit
969 --help=short display options specific to this package
970 --help=recursive display the short help of all the included packages
971 -V, --version display version information and exit
972 -q, --quiet, --silent do not print \`checking...' messages
973 --cache-file=FILE cache test results in FILE [disabled]
974 -C, --config-cache alias for \`--cache-file=config.cache'
975 -n, --no-create do not create output files
976 --srcdir=DIR find the sources in DIR [configure dir or \`..']
981 Installation directories:
982 --prefix=PREFIX install architecture-independent files in PREFIX
984 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
987 By default, \`make install' will install all the files in
988 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
989 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
990 for instance \`--prefix=\$HOME'.
992 For better control, use the options below.
994 Fine tuning of the installation directories:
995 --bindir=DIR user executables [EPREFIX/bin]
996 --sbindir=DIR system admin executables [EPREFIX/sbin]
997 --libexecdir=DIR program executables [EPREFIX/libexec]
998 --datadir=DIR read-only architecture-independent data [PREFIX/share]
999 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1000 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1001 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1002 --libdir=DIR object code libraries [EPREFIX/lib]
1003 --includedir=DIR C header files [PREFIX/include]
1004 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1005 --infodir=DIR info documentation [PREFIX/info]
1006 --mandir=DIR man documentation [PREFIX/man]
1012 --build=BUILD configure for building on BUILD [guessed]
1013 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1014 --target=TARGET configure for building compilers for TARGET [HOST]
1018 if test -n "$ac_init_help"; then
1019 case $ac_init_help in
1020 short | recursive ) echo "Configuration of [LLVM] [1.0]:";;
1025 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1026 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1027 --enable-shared[=PKGS]
1028 build shared libraries [default=yes]
1029 --enable-static[=PKGS]
1030 build static libraries [default=yes]
1031 --enable-fast-install[=PKGS]
1032 optimize for fast installation [default=yes]
1033 --disable-libtool-lock avoid locking (might break parallel builds)
1034 --enable-purify Compile with purify (default is NO)
1035 --enable-optimized Compile with optimizations enabled (default is NO)
1036 --enable-spec Compile SPEC 2000 benchmarks (default is NO)
1037 --enable-precompiled_bytecode
1038 Use pre-compiled bytecode (default is NO)
1039 --enable-llc_diffs Enable LLC Diffs when testing (default is YES)
1040 --enable-jit Enable Just In Time Compiling (default is YES)
1043 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1044 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1045 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1046 --with-pic try to use only PIC/non-PIC objects [default=use
1049 include additional configurations [automatic]
1050 --with-llvmgccdir Location of LLVM GCC front-end
1051 --with-bcrepos Location of Bytecode Repository
1052 --with-papi Location of PAPI
1053 --with-purify Location of purify program
1055 Some influential environment variables:
1056 CXX C++ compiler command
1057 CXXFLAGS C++ compiler flags
1058 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1059 nonstandard directory <lib dir>
1060 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1061 headers in a nonstandard directory <include dir>
1062 CC C compiler command
1063 CFLAGS C compiler flags
1065 CXXCPP C++ preprocessor
1066 F77 Fortran 77 compiler command
1067 FFLAGS Fortran 77 compiler flags
1069 Use these variables to override the choices made by `configure' or to help
1070 it to find libraries and programs with nonstandard names/locations.
1072 Report bugs to <llvmbugs@cs.uiuc.edu>.
1076 if test "$ac_init_help" = "recursive"; then
1077 # If there are subdirs, report their specific --help.
1079 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1080 test -d $ac_dir || continue
1083 if test "$ac_dir" != .; then
1084 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1085 # A "../" for each directory in $ac_dir_suffix.
1086 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1088 ac_dir_suffix= ac_top_builddir=
1092 .) # No --srcdir option. We are building in place.
1094 if test -z "$ac_top_builddir"; then
1097 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1099 [\\/]* | ?:[\\/]* ) # Absolute path.
1100 ac_srcdir=$srcdir$ac_dir_suffix;
1101 ac_top_srcdir=$srcdir ;;
1103 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1104 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1106 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1108 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1109 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1110 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1111 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1114 # Check for guested configure; otherwise get Cygnus style configure.
1115 if test -f $ac_srcdir/configure.gnu; then
1117 $SHELL $ac_srcdir/configure.gnu --help=recursive
1118 elif test -f $ac_srcdir/configure; then
1120 $SHELL $ac_srcdir/configure --help=recursive
1121 elif test -f $ac_srcdir/configure.ac ||
1122 test -f $ac_srcdir/configure.in; then
1124 $ac_configure --help
1126 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1132 test -n "$ac_init_help" && exit 0
1133 if $ac_init_version; then
1135 [LLVM] configure [1.0]
1136 generated by GNU Autoconf 2.57
1138 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1139 Free Software Foundation, Inc.
1140 This configure script is free software; the Free Software Foundation
1141 gives unlimited permission to copy, distribute and modify it.
1147 This file contains any messages produced by compilers while
1148 running configure, to aid debugging if configure makes a mistake.
1150 It was created by [LLVM] $as_me [1.0], which was
1151 generated by GNU Autoconf 2.57. Invocation command line was
1162 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1163 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1164 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1165 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1166 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1168 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1169 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1171 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1172 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1173 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1174 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1175 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1176 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1177 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1185 test -z "$as_dir" && as_dir=.
1186 echo "PATH: $as_dir"
1201 # Keep a trace of the command line.
1202 # Strip out --no-create and --no-recursion so they do not pile up.
1203 # Strip out --silent because we don't want to record it for future runs.
1204 # Also quote any args containing shell meta-characters.
1205 # Make two passes to allow for proper duplicate-argument suppression.
1210 ac_must_keep_next=false
1216 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1217 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1218 | -silent | --silent | --silen | --sile | --sil)
1220 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1221 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1224 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1226 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1227 if test $ac_must_keep_next = true; then
1228 ac_must_keep_next=false # Got value, back to normal.
1231 *=* | --config-cache | -C | -disable-* | --disable-* \
1232 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1233 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1234 | -with-* | --with-* | -without-* | --without-* | --x)
1235 case "$ac_configure_args0 " in
1236 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1239 -* ) ac_must_keep_next=true ;;
1242 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1243 # Get rid of the leading space.
1249 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1250 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1252 # When interrupted or exit'd, cleanup temporary files, and complete
1253 # config.log. We remove comments because anyway the quotes in there
1254 # would cause problems or look ugly.
1255 # WARNING: Be sure not to use single quotes in there, as some shells,
1256 # such as our DU 5.0 friend, will then `close' the trap.
1257 trap 'exit_status=$?
1258 # Save into config.log some information that might help in debugging.
1263 ## ---------------- ##
1264 ## Cache variables. ##
1265 ## ---------------- ##
1268 # The following way of writing the cache mishandles newlines in values,
1271 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1274 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1275 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1279 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1286 ## ----------------- ##
1287 ## Output variables. ##
1288 ## ----------------- ##
1291 for ac_var in $ac_subst_vars
1293 eval ac_val=$`echo $ac_var`
1294 echo "$ac_var='"'"'$ac_val'"'"'"
1298 if test -n "$ac_subst_files"; then
1305 for ac_var in $ac_subst_files
1307 eval ac_val=$`echo $ac_var`
1308 echo "$ac_var='"'"'$ac_val'"'"'"
1313 if test -s confdefs.h; then
1320 sed "/^$/d" confdefs.h | sort
1323 test "$ac_signal" != 0 &&
1324 echo "$as_me: caught signal $ac_signal"
1325 echo "$as_me: exit $exit_status"
1327 rm -f core core.* *.core &&
1328 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1331 for ac_signal in 1 2 13 15; do
1332 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1336 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1337 rm -rf conftest* confdefs.h
1338 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1341 # Predefined preprocessor variables.
1343 cat >>confdefs.h <<_ACEOF
1344 #define PACKAGE_NAME "$PACKAGE_NAME"
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1353 cat >>confdefs.h <<_ACEOF
1354 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1358 cat >>confdefs.h <<_ACEOF
1359 #define PACKAGE_STRING "$PACKAGE_STRING"
1363 cat >>confdefs.h <<_ACEOF
1364 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1368 # Let the site file select an alternate cache file if it wants to.
1369 # Prefer explicitly selected file to automatically selected ones.
1370 if test -z "$CONFIG_SITE"; then
1371 if test "x$prefix" != xNONE; then
1372 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1374 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1377 for ac_site_file in $CONFIG_SITE; do
1378 if test -r "$ac_site_file"; then
1379 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1380 echo "$as_me: loading site script $ac_site_file" >&6;}
1381 sed 's/^/| /' "$ac_site_file" >&5
1386 if test -r "$cache_file"; then
1387 # Some versions of bash will fail to source /dev/null (special
1388 # files actually), so we avoid doing that.
1389 if test -f "$cache_file"; then
1390 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1391 echo "$as_me: loading cache $cache_file" >&6;}
1393 [\\/]* | ?:[\\/]* ) . $cache_file;;
1394 *) . ./$cache_file;;
1398 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1399 echo "$as_me: creating cache $cache_file" >&6;}
1403 # Check that the precious variables saved in the cache have kept the same
1405 ac_cache_corrupted=false
1406 for ac_var in `(set) 2>&1 |
1407 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1408 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1409 eval ac_new_set=\$ac_env_${ac_var}_set
1410 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1411 eval ac_new_val="\$ac_env_${ac_var}_value"
1412 case $ac_old_set,$ac_new_set in
1414 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1415 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1416 ac_cache_corrupted=: ;;
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1420 ac_cache_corrupted=: ;;
1423 if test "x$ac_old_val" != "x$ac_new_val"; then
1424 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1425 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1426 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1427 echo "$as_me: former value: $ac_old_val" >&2;}
1428 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1429 echo "$as_me: current value: $ac_new_val" >&2;}
1430 ac_cache_corrupted=:
1433 # Pass precious variables to config.status.
1434 if test "$ac_new_set" = set; then
1436 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1437 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1438 *) ac_arg=$ac_var=$ac_new_val ;;
1440 case " $ac_configure_args " in
1441 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1442 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1446 if $ac_cache_corrupted; then
1447 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1448 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1449 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1450 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1451 { (exit 1); exit 1; }; }
1455 ac_cpp='$CPP $CPPFLAGS'
1456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1488 for ac_dir in autoconf $srcdir/autoconf; do
1489 if test -f $ac_dir/install-sh; then
1491 ac_install_sh="$ac_aux_dir/install-sh -c"
1493 elif test -f $ac_dir/install.sh; then
1495 ac_install_sh="$ac_aux_dir/install.sh -c"
1497 elif test -f $ac_dir/shtool; then
1499 ac_install_sh="$ac_aux_dir/shtool install -c"
1503 if test -z "$ac_aux_dir"; then
1504 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1505 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1506 { (exit 1); exit 1; }; }
1508 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1509 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1510 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1513 if test ${srcdir} != "."
1515 if test -f ${srcdir}/include/Config/config.h
1517 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1518 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1519 { (exit 1); exit 1; }; }
1523 if test -d ${srcdir}/projects/reopt
1527 subdirs="$subdirs projects/reopt"
1531 if test -d ${srcdir}/projects/poolalloc
1535 subdirs="$subdirs projects/poolalloc"
1539 ac_config_headers="$ac_config_headers include/Config/config.h"
1541 ac_config_commands="$ac_config_commands Makefile"
1544 ac_config_commands="$ac_config_commands Makefile.common"
1547 ac_config_commands="$ac_config_commands Makefile.rules"
1550 ac_config_commands="$ac_config_commands lib/Makefile"
1553 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1556 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1559 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1562 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1565 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1568 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1571 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1574 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1577 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1580 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1583 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1586 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1589 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1592 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1595 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1598 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1601 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1604 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1607 ac_config_commands="$ac_config_commands lib/Support/Makefile"
1610 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1613 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1616 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1619 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1622 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1625 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1628 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1631 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1634 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1637 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1640 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1643 ac_config_commands="$ac_config_commands runtime/Makefile"
1646 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1649 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1652 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1655 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1658 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1661 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1664 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1667 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1670 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1673 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1676 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1679 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1682 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1685 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1688 ac_config_commands="$ac_config_commands test/Makefile"
1691 ac_config_commands="$ac_config_commands test/Makefile.tests"
1694 ac_config_commands="$ac_config_commands test/QMTest/llvm.py"
1697 ac_config_commands="$ac_config_commands test/QMTest/llvmdb.py"
1700 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1703 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1706 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1709 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1712 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1715 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1718 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1721 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1724 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1727 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1730 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1733 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1736 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1739 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1742 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1745 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1748 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1751 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1754 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1757 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1760 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/177.mesa/Makefile"
1763 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1766 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1769 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1772 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1775 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1778 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1781 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1784 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1787 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1790 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1793 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/252.eon/Makefile"
1796 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile"
1799 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1802 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1805 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1808 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1811 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1814 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1817 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1820 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1823 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1826 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1829 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1832 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1835 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1838 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1841 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1844 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1847 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1850 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1853 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1856 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1859 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1862 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1865 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1868 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1871 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1874 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1877 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1880 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1883 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1886 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1889 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1892 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1895 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1898 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1901 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1904 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1907 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1910 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1913 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1916 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1919 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1922 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1925 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1928 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1931 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1934 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1937 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1940 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1943 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1946 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1949 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1952 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1955 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1958 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1961 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
1964 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/Makefile"
1967 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C/Makefile"
1970 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/Makefile"
1973 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/EH/Makefile"
1976 ac_config_commands="$ac_config_commands tools/Makefile"
1979 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1982 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1985 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1988 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1991 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1994 ac_config_commands="$ac_config_commands tools/llc/Makefile"
1997 ac_config_commands="$ac_config_commands tools/llee/Makefile"
2000 ac_config_commands="$ac_config_commands tools/lli/Makefile"
2003 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
2006 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
2009 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
2012 ac_config_commands="$ac_config_commands tools/llvm-link/Makefile"
2015 ac_config_commands="$ac_config_commands tools/opt/Makefile"
2018 ac_config_commands="$ac_config_commands utils/Makefile"
2021 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
2024 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
2027 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
2030 ac_config_commands="$ac_config_commands projects/Makefile"
2033 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2036 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2039 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2042 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2045 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2048 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2051 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2054 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2057 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2060 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2063 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2068 # Find a good install program. We prefer a C program (faster),
2069 # so one script is as good as another. But avoid the broken or
2070 # incompatible versions:
2071 # SysV /etc/install, /usr/sbin/install
2072 # SunOS /usr/etc/install
2073 # IRIX /sbin/install
2075 # AmigaOS /C/install, which installs bootblocks on floppy discs
2076 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2077 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2078 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2079 # ./install, which can be erroneously created by make from ./install.sh.
2080 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2081 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2082 if test -z "$INSTALL"; then
2083 if test "${ac_cv_path_install+set}" = set; then
2084 echo $ECHO_N "(cached) $ECHO_C" >&6
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090 test -z "$as_dir" && as_dir=.
2091 # Account for people who put trailing slashes in PATH elements.
2093 ./ | .// | /cC/* | \
2094 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2097 # OSF1 and SCO ODT 3.0 have their own names for install.
2098 # Don't use installbsd from OSF since it installs stuff as root
2100 for ac_prog in ginstall scoinst install; do
2101 for ac_exec_ext in '' $ac_executable_extensions; do
2102 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2103 if test $ac_prog = install &&
2104 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2105 # AIX install. It has an incompatible calling convention.
2107 elif test $ac_prog = install &&
2108 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2109 # program-specific install script used by HP pwplus--don't use.
2112 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2124 if test "${ac_cv_path_install+set}" = set; then
2125 INSTALL=$ac_cv_path_install
2127 # As a last resort, use the slow shell script. We don't cache a
2128 # path for INSTALL within a source directory, because that will
2129 # break other packages using the cache if that directory is
2130 # removed, or if the path is relative.
2131 INSTALL=$ac_install_sh
2134 echo "$as_me:$LINENO: result: $INSTALL" >&5
2135 echo "${ECHO_T}$INSTALL" >&6
2137 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2138 # It thinks the first close brace ends the variable substitution.
2139 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2141 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2143 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2146 # Make sure we can run config.sub.
2147 $ac_config_sub sun4 >/dev/null 2>&1 ||
2148 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2149 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2150 { (exit 1); exit 1; }; }
2152 echo "$as_me:$LINENO: checking build system type" >&5
2153 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2154 if test "${ac_cv_build+set}" = set; then
2155 echo $ECHO_N "(cached) $ECHO_C" >&6
2157 ac_cv_build_alias=$build_alias
2158 test -z "$ac_cv_build_alias" &&
2159 ac_cv_build_alias=`$ac_config_guess`
2160 test -z "$ac_cv_build_alias" &&
2161 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2162 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2163 { (exit 1); exit 1; }; }
2164 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2165 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2166 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2167 { (exit 1); exit 1; }; }
2170 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2171 echo "${ECHO_T}$ac_cv_build" >&6
2173 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2174 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2175 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2178 echo "$as_me:$LINENO: checking host system type" >&5
2179 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2180 if test "${ac_cv_host+set}" = set; then
2181 echo $ECHO_N "(cached) $ECHO_C" >&6
2183 ac_cv_host_alias=$host_alias
2184 test -z "$ac_cv_host_alias" &&
2185 ac_cv_host_alias=$ac_cv_build_alias
2186 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2187 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2188 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2189 { (exit 1); exit 1; }; }
2192 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2193 echo "${ECHO_T}$ac_cv_host" >&6
2195 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2196 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2197 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2200 echo "$as_me:$LINENO: checking target system type" >&5
2201 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2202 if test "${ac_cv_target+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2205 ac_cv_target_alias=$target_alias
2206 test "x$ac_cv_target_alias" = "x" &&
2207 ac_cv_target_alias=$ac_cv_host_alias
2208 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2209 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2210 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2211 { (exit 1); exit 1; }; }
2214 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2215 echo "${ECHO_T}$ac_cv_target" >&6
2216 target=$ac_cv_target
2217 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2218 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2219 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2222 # The aliases save the names the user supplied, while $host etc.
2223 # will get canonicalized.
2224 test -n "$target_alias" &&
2225 test "$program_prefix$program_suffix$program_transform_name" = \
2227 program_prefix=${target_alias}-
2232 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2238 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2248 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2257 *sparc*solaris*) ARCH=Sparc
2264 ac_cpp='$CXXCPP $CPPFLAGS'
2265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2268 if test -n "$ac_tool_prefix"; then
2269 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2271 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2272 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2273 echo "$as_me:$LINENO: checking for $ac_word" >&5
2274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2275 if test "${ac_cv_prog_CXX+set}" = set; then
2276 echo $ECHO_N "(cached) $ECHO_C" >&6
2278 if test -n "$CXX"; then
2279 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2285 test -z "$as_dir" && as_dir=.
2286 for ac_exec_ext in '' $ac_executable_extensions; do
2287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2288 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2298 if test -n "$CXX"; then
2299 echo "$as_me:$LINENO: result: $CXX" >&5
2300 echo "${ECHO_T}$CXX" >&6
2302 echo "$as_me:$LINENO: result: no" >&5
2303 echo "${ECHO_T}no" >&6
2306 test -n "$CXX" && break
2309 if test -z "$CXX"; then
2311 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2313 # Extract the first word of "$ac_prog", so it can be a program name with args.
2314 set dummy $ac_prog; ac_word=$2
2315 echo "$as_me:$LINENO: checking for $ac_word" >&5
2316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2317 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2318 echo $ECHO_N "(cached) $ECHO_C" >&6
2320 if test -n "$ac_ct_CXX"; then
2321 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2327 test -z "$as_dir" && as_dir=.
2328 for ac_exec_ext in '' $ac_executable_extensions; do
2329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2330 ac_cv_prog_ac_ct_CXX="$ac_prog"
2331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2340 if test -n "$ac_ct_CXX"; then
2341 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2342 echo "${ECHO_T}$ac_ct_CXX" >&6
2344 echo "$as_me:$LINENO: result: no" >&5
2345 echo "${ECHO_T}no" >&6
2348 test -n "$ac_ct_CXX" && break
2350 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2356 # Provide some information about the compiler.
2357 echo "$as_me:$LINENO:" \
2358 "checking for C++ compiler version" >&5
2359 ac_compiler=`set X $ac_compile; echo $2`
2360 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2361 (eval $ac_compiler --version </dev/null >&5) 2>&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); }
2365 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2366 (eval $ac_compiler -v </dev/null >&5) 2>&5
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }
2370 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2371 (eval $ac_compiler -V </dev/null >&5) 2>&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }
2376 cat >conftest.$ac_ext <<_ACEOF
2377 #line $LINENO "configure"
2380 cat confdefs.h >>conftest.$ac_ext
2381 cat >>conftest.$ac_ext <<_ACEOF
2382 /* end confdefs.h. */
2392 ac_clean_files_save=$ac_clean_files
2393 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2394 # Try to create an executable without -o first, disregard a.out.
2395 # It will help us diagnose broken compilers, and finding out an intuition
2397 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2398 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2399 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2400 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2401 (eval $ac_link_default) 2>&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }; then
2405 # Find the output, starting from the most likely. This scheme is
2406 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2409 # Be careful to initialize this variable, since it used to be cached.
2410 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2412 # b.out is created by i960 compilers.
2413 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2415 test -f "$ac_file" || continue
2417 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2420 # This is the source file.
2423 # We found the default executable, but exeext='' is most
2427 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2428 # FIXME: I believe we export ac_cv_exeext for Libtool,
2429 # but it would be cool to find out if it's true. Does anybody
2430 # maintain Libtool? --akim.
2438 echo "$as_me: failed program was:" >&5
2439 sed 's/^/| /' conftest.$ac_ext >&5
2441 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2442 See \`config.log' for more details." >&5
2443 echo "$as_me: error: C++ compiler cannot create executables
2444 See \`config.log' for more details." >&2;}
2445 { (exit 77); exit 77; }; }
2448 ac_exeext=$ac_cv_exeext
2449 echo "$as_me:$LINENO: result: $ac_file" >&5
2450 echo "${ECHO_T}$ac_file" >&6
2452 # Check the compiler produces executables we can run. If not, either
2453 # the compiler is broken, or we cross compile.
2454 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2455 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2456 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2457 # If not cross compiling, check that we can run a simple program.
2458 if test "$cross_compiling" != yes; then
2459 if { ac_try='./$ac_file'
2460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); }; }; then
2467 if test "$cross_compiling" = maybe; then
2470 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2471 If you meant to cross compile, use \`--host'.
2472 See \`config.log' for more details." >&5
2473 echo "$as_me: error: cannot run C++ compiled programs.
2474 If you meant to cross compile, use \`--host'.
2475 See \`config.log' for more details." >&2;}
2476 { (exit 1); exit 1; }; }
2480 echo "$as_me:$LINENO: result: yes" >&5
2481 echo "${ECHO_T}yes" >&6
2483 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2484 ac_clean_files=$ac_clean_files_save
2485 # Check the compiler produces executables we can run. If not, either
2486 # the compiler is broken, or we cross compile.
2487 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2488 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2489 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2490 echo "${ECHO_T}$cross_compiling" >&6
2492 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2493 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2495 (eval $ac_link) 2>&5
2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498 (exit $ac_status); }; then
2499 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2500 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2501 # work properly (i.e., refer to `conftest.exe'), while it won't with
2503 for ac_file in conftest.exe conftest conftest.*; do
2504 test -f "$ac_file" || continue
2506 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2507 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2514 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2515 See \`config.log' for more details." >&5
2516 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2517 See \`config.log' for more details." >&2;}
2518 { (exit 1); exit 1; }; }
2521 rm -f conftest$ac_cv_exeext
2522 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2523 echo "${ECHO_T}$ac_cv_exeext" >&6
2525 rm -f conftest.$ac_ext
2526 EXEEXT=$ac_cv_exeext
2528 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2529 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2530 if test "${ac_cv_objext+set}" = set; then
2531 echo $ECHO_N "(cached) $ECHO_C" >&6
2533 cat >conftest.$ac_ext <<_ACEOF
2534 #line $LINENO "configure"
2537 cat confdefs.h >>conftest.$ac_ext
2538 cat >>conftest.$ac_ext <<_ACEOF
2539 /* end confdefs.h. */
2549 rm -f conftest.o conftest.obj
2550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2551 (eval $ac_compile) 2>&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); }; then
2555 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2557 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2558 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2563 echo "$as_me: failed program was:" >&5
2564 sed 's/^/| /' conftest.$ac_ext >&5
2566 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2567 See \`config.log' for more details." >&5
2568 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2569 See \`config.log' for more details." >&2;}
2570 { (exit 1); exit 1; }; }
2573 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2575 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2576 echo "${ECHO_T}$ac_cv_objext" >&6
2577 OBJEXT=$ac_cv_objext
2579 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2580 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2581 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2582 echo $ECHO_N "(cached) $ECHO_C" >&6
2584 cat >conftest.$ac_ext <<_ACEOF
2585 #line $LINENO "configure"
2588 cat confdefs.h >>conftest.$ac_ext
2589 cat >>conftest.$ac_ext <<_ACEOF
2590 /* end confdefs.h. */
2603 rm -f conftest.$ac_objext
2604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2605 (eval $ac_compile) 2>&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); } &&
2609 { ac_try='test -s conftest.$ac_objext'
2610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 (exit $ac_status); }; }; then
2617 echo "$as_me: failed program was:" >&5
2618 sed 's/^/| /' conftest.$ac_ext >&5
2622 rm -f conftest.$ac_objext conftest.$ac_ext
2623 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2626 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2627 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2628 GXX=`test $ac_compiler_gnu = yes && echo yes`
2629 ac_test_CXXFLAGS=${CXXFLAGS+set}
2630 ac_save_CXXFLAGS=$CXXFLAGS
2632 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2633 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2634 if test "${ac_cv_prog_cxx_g+set}" = set; then
2635 echo $ECHO_N "(cached) $ECHO_C" >&6
2637 cat >conftest.$ac_ext <<_ACEOF
2638 #line $LINENO "configure"
2641 cat confdefs.h >>conftest.$ac_ext
2642 cat >>conftest.$ac_ext <<_ACEOF
2643 /* end confdefs.h. */
2653 rm -f conftest.$ac_objext
2654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2655 (eval $ac_compile) 2>&5
2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); } &&
2659 { ac_try='test -s conftest.$ac_objext'
2660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }; }; then
2665 ac_cv_prog_cxx_g=yes
2667 echo "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.$ac_ext >&5
2672 rm -f conftest.$ac_objext conftest.$ac_ext
2674 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2675 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2676 if test "$ac_test_CXXFLAGS" = set; then
2677 CXXFLAGS=$ac_save_CXXFLAGS
2678 elif test $ac_cv_prog_cxx_g = yes; then
2679 if test "$GXX" = yes; then
2685 if test "$GXX" = yes; then
2691 for ac_declaration in \
2693 '#include <stdlib.h>' \
2694 'extern "C" void std::exit (int) throw (); using std::exit;' \
2695 'extern "C" void std::exit (int); using std::exit;' \
2696 'extern "C" void exit (int) throw ();' \
2697 'extern "C" void exit (int);' \
2700 cat >conftest.$ac_ext <<_ACEOF
2701 #line $LINENO "configure"
2704 cat confdefs.h >>conftest.$ac_ext
2705 cat >>conftest.$ac_ext <<_ACEOF
2706 /* 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
2736 rm -f conftest.$ac_objext conftest.$ac_ext
2737 cat >conftest.$ac_ext <<_ACEOF
2738 #line $LINENO "configure"
2741 cat confdefs.h >>conftest.$ac_ext
2742 cat >>conftest.$ac_ext <<_ACEOF
2743 /* end confdefs.h. */
2753 rm -f conftest.$ac_objext
2754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2755 (eval $ac_compile) 2>&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); } &&
2759 { ac_try='test -s conftest.$ac_objext'
2760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); }; }; then
2767 echo "$as_me: failed program was:" >&5
2768 sed 's/^/| /' conftest.$ac_ext >&5
2771 rm -f conftest.$ac_objext conftest.$ac_ext
2774 if test -n "$ac_declaration"; then
2775 echo '#ifdef __cplusplus' >>confdefs.h
2776 echo $ac_declaration >>confdefs.h
2777 echo '#endif' >>confdefs.h
2781 ac_cpp='$CPP $CPPFLAGS'
2782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2787 ac_cpp='$CPP $CPPFLAGS'
2788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2791 if test -n "$ac_tool_prefix"; then
2794 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2795 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2796 echo "$as_me:$LINENO: checking for $ac_word" >&5
2797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2798 if test "${ac_cv_prog_CC+set}" = set; then
2799 echo $ECHO_N "(cached) $ECHO_C" >&6
2801 if test -n "$CC"; then
2802 ac_cv_prog_CC="$CC" # Let the user override the test.
2804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2808 test -z "$as_dir" && as_dir=.
2809 for ac_exec_ext in '' $ac_executable_extensions; do
2810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2811 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2821 if test -n "$CC"; then
2822 echo "$as_me:$LINENO: result: $CC" >&5
2823 echo "${ECHO_T}$CC" >&6
2825 echo "$as_me:$LINENO: result: no" >&5
2826 echo "${ECHO_T}no" >&6
2829 test -n "$CC" && break
2832 if test -z "$CC"; then
2836 # Extract the first word of "$ac_prog", so it can be a program name with args.
2837 set dummy $ac_prog; ac_word=$2
2838 echo "$as_me:$LINENO: checking for $ac_word" >&5
2839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2840 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2841 echo $ECHO_N "(cached) $ECHO_C" >&6
2843 if test -n "$ac_ct_CC"; then
2844 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850 test -z "$as_dir" && as_dir=.
2851 for ac_exec_ext in '' $ac_executable_extensions; do
2852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2853 ac_cv_prog_ac_ct_CC="$ac_prog"
2854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2862 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2863 if test -n "$ac_ct_CC"; then
2864 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2865 echo "${ECHO_T}$ac_ct_CC" >&6
2867 echo "$as_me:$LINENO: result: no" >&5
2868 echo "${ECHO_T}no" >&6
2871 test -n "$ac_ct_CC" && break
2878 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2879 See \`config.log' for more details." >&5
2880 echo "$as_me: error: no acceptable C compiler found in \$PATH
2881 See \`config.log' for more details." >&2;}
2882 { (exit 1); exit 1; }; }
2884 # Provide some information about the compiler.
2885 echo "$as_me:$LINENO:" \
2886 "checking for C compiler version" >&5
2887 ac_compiler=`set X $ac_compile; echo $2`
2888 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2889 (eval $ac_compiler --version </dev/null >&5) 2>&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }
2893 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2894 (eval $ac_compiler -v </dev/null >&5) 2>&5
2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); }
2898 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2899 (eval $ac_compiler -V </dev/null >&5) 2>&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); }
2904 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2905 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2906 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2907 echo $ECHO_N "(cached) $ECHO_C" >&6
2909 cat >conftest.$ac_ext <<_ACEOF
2910 #line $LINENO "configure"
2913 cat confdefs.h >>conftest.$ac_ext
2914 cat >>conftest.$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2928 rm -f conftest.$ac_objext
2929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2930 (eval $ac_compile) 2>&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } &&
2934 { ac_try='test -s conftest.$ac_objext'
2935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; }; then
2942 echo "$as_me: failed program was:" >&5
2943 sed 's/^/| /' conftest.$ac_ext >&5
2947 rm -f conftest.$ac_objext conftest.$ac_ext
2948 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2951 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2952 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2953 GCC=`test $ac_compiler_gnu = yes && echo yes`
2954 ac_test_CFLAGS=${CFLAGS+set}
2955 ac_save_CFLAGS=$CFLAGS
2957 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2958 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2959 if test "${ac_cv_prog_cc_g+set}" = set; then
2960 echo $ECHO_N "(cached) $ECHO_C" >&6
2962 cat >conftest.$ac_ext <<_ACEOF
2963 #line $LINENO "configure"
2966 cat confdefs.h >>conftest.$ac_ext
2967 cat >>conftest.$ac_ext <<_ACEOF
2968 /* end confdefs.h. */
2978 rm -f conftest.$ac_objext
2979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2980 (eval $ac_compile) 2>&5
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); } &&
2984 { ac_try='test -s conftest.$ac_objext'
2985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; }; then
2992 echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2997 rm -f conftest.$ac_objext conftest.$ac_ext
2999 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3000 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3001 if test "$ac_test_CFLAGS" = set; then
3002 CFLAGS=$ac_save_CFLAGS
3003 elif test $ac_cv_prog_cc_g = yes; then
3004 if test "$GCC" = yes; then
3010 if test "$GCC" = yes; then
3016 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3017 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3018 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3021 ac_cv_prog_cc_stdc=no
3023 cat >conftest.$ac_ext <<_ACEOF
3024 #line $LINENO "configure"
3027 cat confdefs.h >>conftest.$ac_ext
3028 cat >>conftest.$ac_ext <<_ACEOF
3029 /* end confdefs.h. */
3032 #include <sys/types.h>
3033 #include <sys/stat.h>
3034 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3035 struct buf { int x; };
3036 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3037 static char *e (p, i)
3043 static char *f (char * (*g) (char **, int), char **p, ...)
3048 s = g (p, va_arg (v,int));
3052 int test (int i, double x);
3053 struct s1 {int (*f) (int a);};
3054 struct s2 {int (*f) (double a);};
3055 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3061 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3066 # Don't try gcc -ansi; that turns off useful extensions and
3067 # breaks some systems' header files.
3068 # AIX -qlanglvl=ansi
3069 # Ultrix and OSF/1 -std1
3070 # HP-UX 10.20 and later -Ae
3071 # HP-UX older versions -Aa -D_HPUX_SOURCE
3072 # SVR4 -Xc -D__EXTENSIONS__
3073 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3075 CC="$ac_save_CC $ac_arg"
3076 rm -f conftest.$ac_objext
3077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3078 (eval $ac_compile) 2>&5
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); } &&
3082 { ac_try='test -s conftest.$ac_objext'
3083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }; }; then
3088 ac_cv_prog_cc_stdc=$ac_arg
3091 echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.$ac_ext >&5
3095 rm -f conftest.$ac_objext
3097 rm -f conftest.$ac_ext conftest.$ac_objext
3102 case "x$ac_cv_prog_cc_stdc" in
3104 echo "$as_me:$LINENO: result: none needed" >&5
3105 echo "${ECHO_T}none needed" >&6 ;;
3107 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3108 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3109 CC="$CC $ac_cv_prog_cc_stdc" ;;
3112 # Some people use a C++ compiler to compile C. Since we use `exit',
3113 # in C++ we need to declare it. In case someone uses the same compiler
3114 # for both compiling C and C++ we need to have the C++ compiler decide
3115 # the declaration of exit, since it's the most demanding environment.
3116 cat >conftest.$ac_ext <<_ACEOF
3121 rm -f conftest.$ac_objext
3122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3123 (eval $ac_compile) 2>&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); } &&
3127 { ac_try='test -s conftest.$ac_objext'
3128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); }; }; then
3133 for ac_declaration in \
3135 '#include <stdlib.h>' \
3136 'extern "C" void std::exit (int) throw (); using std::exit;' \
3137 'extern "C" void std::exit (int); using std::exit;' \
3138 'extern "C" void exit (int) throw ();' \
3139 'extern "C" void exit (int);' \
3142 cat >conftest.$ac_ext <<_ACEOF
3143 #line $LINENO "configure"
3146 cat confdefs.h >>conftest.$ac_ext
3147 cat >>conftest.$ac_ext <<_ACEOF
3148 /* 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
3178 rm -f conftest.$ac_objext conftest.$ac_ext
3179 cat >conftest.$ac_ext <<_ACEOF
3180 #line $LINENO "configure"
3183 cat confdefs.h >>conftest.$ac_ext
3184 cat >>conftest.$ac_ext <<_ACEOF
3185 /* end confdefs.h. */
3195 rm -f conftest.$ac_objext
3196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3197 (eval $ac_compile) 2>&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); } &&
3201 { ac_try='test -s conftest.$ac_objext'
3202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206 (exit $ac_status); }; }; then
3209 echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.$ac_ext >&5
3213 rm -f conftest.$ac_objext conftest.$ac_ext
3216 if test -n "$ac_declaration"; then
3217 echo '#ifdef __cplusplus' >>confdefs.h
3218 echo $ac_declaration >>confdefs.h
3219 echo '#endif' >>confdefs.h
3223 echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3227 rm -f conftest.$ac_objext conftest.$ac_ext
3229 ac_cpp='$CPP $CPPFLAGS'
3230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3235 ac_cpp='$CPP $CPPFLAGS'
3236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3239 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3240 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3241 # On Suns, sometimes $CPP names a directory.
3242 if test -n "$CPP" && test -d "$CPP"; then
3245 if test -z "$CPP"; then
3246 if test "${ac_cv_prog_CPP+set}" = set; then
3247 echo $ECHO_N "(cached) $ECHO_C" >&6
3249 # Double quotes because CPP needs to be expanded
3250 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3253 for ac_c_preproc_warn_flag in '' yes
3255 # Use a header file that comes with gcc, so configuring glibc
3256 # with a fresh cross-compiler works.
3257 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3258 # <limits.h> exists even on freestanding compilers.
3259 # On the NeXT, cc -E runs the code through the compiler's parser,
3260 # not just through cpp. "Syntax error" is here to catch this case.
3261 cat >conftest.$ac_ext <<_ACEOF
3262 #line $LINENO "configure"
3265 cat confdefs.h >>conftest.$ac_ext
3266 cat >>conftest.$ac_ext <<_ACEOF
3267 /* end confdefs.h. */
3269 # include <limits.h>
3271 # include <assert.h>
3275 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3276 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3278 grep -v '^ *+' conftest.er1 >conftest.err
3280 cat conftest.err >&5
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); } >/dev/null; then
3283 if test -s conftest.err; then
3284 ac_cpp_err=$ac_c_preproc_warn_flag
3291 if test -z "$ac_cpp_err"; then
3294 echo "$as_me: failed program was:" >&5
3295 sed 's/^/| /' conftest.$ac_ext >&5
3297 # Broken: fails on valid input.
3300 rm -f conftest.err conftest.$ac_ext
3302 # OK, works on sane cases. Now check whether non-existent headers
3303 # can be detected and how.
3304 cat >conftest.$ac_ext <<_ACEOF
3305 #line $LINENO "configure"
3308 cat confdefs.h >>conftest.$ac_ext
3309 cat >>conftest.$ac_ext <<_ACEOF
3310 /* end confdefs.h. */
3311 #include <ac_nonexistent.h>
3313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3314 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3316 grep -v '^ *+' conftest.er1 >conftest.err
3318 cat conftest.err >&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); } >/dev/null; then
3321 if test -s conftest.err; then
3322 ac_cpp_err=$ac_c_preproc_warn_flag
3329 if test -z "$ac_cpp_err"; then
3330 # Broken: success on invalid input.
3333 echo "$as_me: failed program was:" >&5
3334 sed 's/^/| /' conftest.$ac_ext >&5
3336 # Passes both tests.
3340 rm -f conftest.err conftest.$ac_ext
3343 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3344 rm -f conftest.err conftest.$ac_ext
3345 if $ac_preproc_ok; then
3357 echo "$as_me:$LINENO: result: $CPP" >&5
3358 echo "${ECHO_T}$CPP" >&6
3360 for ac_c_preproc_warn_flag in '' yes
3362 # Use a header file that comes with gcc, so configuring glibc
3363 # with a fresh cross-compiler works.
3364 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3365 # <limits.h> exists even on freestanding compilers.
3366 # On the NeXT, cc -E runs the code through the compiler's parser,
3367 # not just through cpp. "Syntax error" is here to catch this case.
3368 cat >conftest.$ac_ext <<_ACEOF
3369 #line $LINENO "configure"
3372 cat confdefs.h >>conftest.$ac_ext
3373 cat >>conftest.$ac_ext <<_ACEOF
3374 /* end confdefs.h. */
3376 # include <limits.h>
3378 # include <assert.h>
3382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3383 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3385 grep -v '^ *+' conftest.er1 >conftest.err
3387 cat conftest.err >&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } >/dev/null; then
3390 if test -s conftest.err; then
3391 ac_cpp_err=$ac_c_preproc_warn_flag
3398 if test -z "$ac_cpp_err"; then
3401 echo "$as_me: failed program was:" >&5
3402 sed 's/^/| /' conftest.$ac_ext >&5
3404 # Broken: fails on valid input.
3407 rm -f conftest.err conftest.$ac_ext
3409 # OK, works on sane cases. Now check whether non-existent headers
3410 # can be detected and how.
3411 cat >conftest.$ac_ext <<_ACEOF
3412 #line $LINENO "configure"
3415 cat confdefs.h >>conftest.$ac_ext
3416 cat >>conftest.$ac_ext <<_ACEOF
3417 /* end confdefs.h. */
3418 #include <ac_nonexistent.h>
3420 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3421 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3423 grep -v '^ *+' conftest.er1 >conftest.err
3425 cat conftest.err >&5
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); } >/dev/null; then
3428 if test -s conftest.err; then
3429 ac_cpp_err=$ac_c_preproc_warn_flag
3436 if test -z "$ac_cpp_err"; then
3437 # Broken: success on invalid input.
3440 echo "$as_me: failed program was:" >&5
3441 sed 's/^/| /' conftest.$ac_ext >&5
3443 # Passes both tests.
3447 rm -f conftest.err conftest.$ac_ext
3450 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3451 rm -f conftest.err conftest.$ac_ext
3452 if $ac_preproc_ok; then
3455 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3456 See \`config.log' for more details." >&5
3457 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3458 See \`config.log' for more details." >&2;}
3459 { (exit 1); exit 1; }; }
3463 ac_cpp='$CPP $CPPFLAGS'
3464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3469 if test "$GCC" != "yes"
3471 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3472 echo "$as_me: error: gcc required but not found" >&2;}
3473 { (exit 1); exit 1; }; }
3476 if test "$GXX" != "yes"
3478 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3479 echo "$as_me: error: g++ required but not found" >&2;}
3480 { (exit 1); exit 1; }; }
3483 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3484 if test "$gccmajor" -lt "3"
3486 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3487 echo "$as_me: error: gcc 3.x required" >&2;}
3488 { (exit 1); exit 1; }; }
3491 echo "$as_me:$LINENO: checking for GNU make" >&5
3492 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3493 if test "${_cv_gnu_make_command+set}" = set; then
3494 echo $ECHO_N "(cached) $ECHO_C" >&6
3496 _cv_gnu_make_command='' ;
3497 for a in "$MAKE" make gmake gnumake ; do
3498 if test -z "$a" ; then continue ; fi ;
3499 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3500 _cv_gnu_make_command=$a ;
3506 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3507 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3508 if test "x$_cv_gnu_make_command" != "x" ; then
3512 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3513 echo "${ECHO_T}\"Not found\"" >&6;
3517 if test -z "$_cv_gnu_make_command"
3519 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3520 echo "$as_me: error: GNU Make required but not found" >&2;}
3521 { (exit 1); exit 1; }; }
3525 echo "$as_me:$LINENO: checking " >&5
3526 echo $ECHO_N "checking ... $ECHO_C" >&6
3527 if test "${ac_cv_has_flex+set}" = set; then
3528 echo $ECHO_N "(cached) $ECHO_C" >&6
3530 for ac_prog in flex lex
3532 # Extract the first word of "$ac_prog", so it can be a program name with args.
3533 set dummy $ac_prog; ac_word=$2
3534 echo "$as_me:$LINENO: checking for $ac_word" >&5
3535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3536 if test "${ac_cv_prog_LEX+set}" = set; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3539 if test -n "$LEX"; then
3540 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3546 test -z "$as_dir" && as_dir=.
3547 for ac_exec_ext in '' $ac_executable_extensions; do
3548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3549 ac_cv_prog_LEX="$ac_prog"
3550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3559 if test -n "$LEX"; then
3560 echo "$as_me:$LINENO: result: $LEX" >&5
3561 echo "${ECHO_T}$LEX" >&6
3563 echo "$as_me:$LINENO: result: no" >&5
3564 echo "${ECHO_T}no" >&6
3567 test -n "$LEX" && break
3569 test -n "$LEX" || LEX=":"
3571 if test -z "$LEXLIB"
3573 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3574 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3575 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3576 echo $ECHO_N "(cached) $ECHO_C" >&6
3578 ac_check_lib_save_LIBS=$LIBS
3580 cat >conftest.$ac_ext <<_ACEOF
3581 #line $LINENO "configure"
3584 cat confdefs.h >>conftest.$ac_ext
3585 cat >>conftest.$ac_ext <<_ACEOF
3586 /* end confdefs.h. */
3588 /* Override any gcc2 internal prototype to avoid an error. */
3592 /* We use char because int might match the return type of a gcc2
3593 builtin and then its argument prototype would still apply. */
3603 rm -f conftest.$ac_objext conftest$ac_exeext
3604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3605 (eval $ac_link) 2>&5
3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); } &&
3609 { ac_try='test -s conftest$ac_exeext'
3610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614 (exit $ac_status); }; }; then
3615 ac_cv_lib_fl_yywrap=yes
3617 echo "$as_me: failed program was:" >&5
3618 sed 's/^/| /' conftest.$ac_ext >&5
3620 ac_cv_lib_fl_yywrap=no
3622 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3623 LIBS=$ac_check_lib_save_LIBS
3625 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3626 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3627 if test $ac_cv_lib_fl_yywrap = yes; then
3630 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3631 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3632 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3633 echo $ECHO_N "(cached) $ECHO_C" >&6
3635 ac_check_lib_save_LIBS=$LIBS
3637 cat >conftest.$ac_ext <<_ACEOF
3638 #line $LINENO "configure"
3641 cat confdefs.h >>conftest.$ac_ext
3642 cat >>conftest.$ac_ext <<_ACEOF
3643 /* end confdefs.h. */
3645 /* Override any gcc2 internal prototype to avoid an error. */
3649 /* We use char because int might match the return type of a gcc2
3650 builtin and then its argument prototype would still apply. */
3660 rm -f conftest.$ac_objext conftest$ac_exeext
3661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3662 (eval $ac_link) 2>&5
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); } &&
3666 { ac_try='test -s conftest$ac_exeext'
3667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); }; }; then
3672 ac_cv_lib_l_yywrap=yes
3674 echo "$as_me: failed program was:" >&5
3675 sed 's/^/| /' conftest.$ac_ext >&5
3677 ac_cv_lib_l_yywrap=no
3679 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3680 LIBS=$ac_check_lib_save_LIBS
3682 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3683 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3684 if test $ac_cv_lib_l_yywrap = yes; then
3692 if test "x$LEX" != "x:"; then
3693 echo "$as_me:$LINENO: checking lex output file root" >&5
3694 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3695 if test "${ac_cv_prog_lex_root+set}" = set; then
3696 echo $ECHO_N "(cached) $ECHO_C" >&6
3698 # The minimal lex program is just a single line: %%. But some broken lexes
3699 # (Solaris, I think it was) want two %% lines, so accommodate them.
3700 cat >conftest.l <<_ACEOF
3704 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3705 (eval $LEX conftest.l) 2>&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); }
3709 if test -f lex.yy.c; then
3710 ac_cv_prog_lex_root=lex.yy
3711 elif test -f lexyy.c; then
3712 ac_cv_prog_lex_root=lexyy
3714 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3715 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3716 { (exit 1); exit 1; }; }
3719 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3720 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3722 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3724 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3725 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3726 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3727 echo $ECHO_N "(cached) $ECHO_C" >&6
3729 # POSIX says lex can declare yytext either as a pointer or an array; the
3730 # default is implementation-dependent. Figure out which it is, since
3731 # not all implementations provide the %pointer and %array declarations.
3732 ac_cv_prog_lex_yytext_pointer=no
3733 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3735 LIBS="$LIBS $LEXLIB"
3736 cat >conftest.$ac_ext <<_ACEOF
3737 `cat $LEX_OUTPUT_ROOT.c`
3739 rm -f conftest.$ac_objext conftest$ac_exeext
3740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3741 (eval $ac_link) 2>&5
3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); } &&
3745 { ac_try='test -s conftest$ac_exeext'
3746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750 (exit $ac_status); }; }; then
3751 ac_cv_prog_lex_yytext_pointer=yes
3753 echo "$as_me: failed program was:" >&5
3754 sed 's/^/| /' conftest.$ac_ext >&5
3757 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3759 rm -f "${LEX_OUTPUT_ROOT}.c"
3762 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3763 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3764 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3766 cat >>confdefs.h <<\_ACEOF
3767 #define YYTEXT_POINTER 1
3775 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3776 echo "${ECHO_T}$ac_cv_has_flex" >&6
3777 if test "$LEX" != "flex"; then
3778 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3779 echo "$as_me: error: flex not found but required" >&2;}
3780 { (exit 1); exit 1; }; }
3783 echo "$as_me:$LINENO: checking " >&5
3784 echo $ECHO_N "checking ... $ECHO_C" >&6
3785 if test "${ac_cv_has_bison+set}" = set; then
3786 echo $ECHO_N "(cached) $ECHO_C" >&6
3788 for ac_prog in 'bison -y' byacc
3790 # Extract the first word of "$ac_prog", so it can be a program name with args.
3791 set dummy $ac_prog; ac_word=$2
3792 echo "$as_me:$LINENO: checking for $ac_word" >&5
3793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3794 if test "${ac_cv_prog_YACC+set}" = set; then
3795 echo $ECHO_N "(cached) $ECHO_C" >&6
3797 if test -n "$YACC"; then
3798 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 test -z "$as_dir" && as_dir=.
3805 for ac_exec_ext in '' $ac_executable_extensions; do
3806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3807 ac_cv_prog_YACC="$ac_prog"
3808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3816 YACC=$ac_cv_prog_YACC
3817 if test -n "$YACC"; then
3818 echo "$as_me:$LINENO: result: $YACC" >&5
3819 echo "${ECHO_T}$YACC" >&6
3821 echo "$as_me:$LINENO: result: no" >&5
3822 echo "${ECHO_T}no" >&6
3825 test -n "$YACC" && break
3827 test -n "$YACC" || YACC="yacc"
3831 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3832 echo "${ECHO_T}$ac_cv_has_bison" >&6
3833 if test "$YACC" != "bison -y"; then
3834 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3835 echo "$as_me: error: bison not found but required" >&2;}
3836 { (exit 1); exit 1; }; }
3843 # Check whether --enable-shared or --disable-shared was given.
3844 if test "${enable_shared+set}" = set; then
3845 enableval="$enable_shared"
3846 p=${PACKAGE-default}
3848 yes) enable_shared=yes ;;
3849 no) enable_shared=no ;;
3852 # Look at the argument we got. We use all the common list separators.
3853 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3854 for pkg in $enableval; do
3856 if test "X$pkg" = "X$p"; then
3867 # Check whether --enable-static or --disable-static was given.
3868 if test "${enable_static+set}" = set; then
3869 enableval="$enable_static"
3870 p=${PACKAGE-default}
3872 yes) enable_static=yes ;;
3873 no) enable_static=no ;;
3876 # Look at the argument we got. We use all the common list separators.
3877 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3878 for pkg in $enableval; do
3880 if test "X$pkg" = "X$p"; then
3891 # Check whether --enable-fast-install or --disable-fast-install was given.
3892 if test "${enable_fast_install+set}" = set; then
3893 enableval="$enable_fast_install"
3894 p=${PACKAGE-default}
3896 yes) enable_fast_install=yes ;;
3897 no) enable_fast_install=no ;;
3899 enable_fast_install=no
3900 # Look at the argument we got. We use all the common list separators.
3901 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3902 for pkg in $enableval; do
3904 if test "X$pkg" = "X$p"; then
3905 enable_fast_install=yes
3912 enable_fast_install=yes
3915 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3916 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3917 if test "${lt_cv_path_SED+set}" = set; then
3918 echo $ECHO_N "(cached) $ECHO_C" >&6
3920 # Loop through the user's path and test for sed and gsed.
3921 # Then use that list of sed's as ones to test for truncation.
3922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3926 test -z "$as_dir" && as_dir=.
3927 for lt_ac_prog in sed gsed; do
3928 for ac_exec_ext in '' $ac_executable_extensions; do
3929 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3930 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3937 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3938 # along with /bin/sed that truncates output.
3939 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3940 test ! -f $lt_ac_sed && break
3941 cat /dev/null > conftest.in
3943 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3944 # Check for GNU sed and select it if it is found.
3945 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3946 lt_cv_path_SED=$lt_ac_sed
3950 cat conftest.in conftest.in >conftest.tmp
3951 mv conftest.tmp conftest.in
3952 cp conftest.in conftest.nl
3954 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3955 cmp -s conftest.out conftest.nl || break
3956 # 10000 chars as input seems more than enough
3957 test $lt_ac_count -gt 10 && break
3958 lt_ac_count=`expr $lt_ac_count + 1`
3959 if test $lt_ac_count -gt $lt_ac_max; then
3960 lt_ac_max=$lt_ac_count
3961 lt_cv_path_SED=$lt_ac_sed
3969 echo "$as_me:$LINENO: result: $SED" >&5
3970 echo "${ECHO_T}$SED" >&6
3972 echo "$as_me:$LINENO: checking for egrep" >&5
3973 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3974 if test "${ac_cv_prog_egrep+set}" = set; then
3975 echo $ECHO_N "(cached) $ECHO_C" >&6
3977 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3978 then ac_cv_prog_egrep='grep -E'
3979 else ac_cv_prog_egrep='egrep'
3982 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3983 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3984 EGREP=$ac_cv_prog_egrep
3988 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3989 if test "${with_gnu_ld+set}" = set; then
3990 withval="$with_gnu_ld"
3991 test "$withval" = no || with_gnu_ld=yes
3996 if test "$GCC" = yes; then
3997 # Check if gcc -print-prog-name=ld gives a path.
3998 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3999 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4002 # gcc leaves a trailing carriage return which upsets mingw
4003 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4005 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4008 # Accept absolute paths.
4010 re_direlt='/[^/][^/]*/\.\./'
4011 # Canonicalize the path of ld
4012 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4013 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4014 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4016 test -z "$LD" && LD="$ac_prog"
4019 # If it fails, then pretend we aren't using GCC.
4023 # If it is relative, then search for the first ld in PATH.
4027 elif test "$with_gnu_ld" = yes; then
4028 echo "$as_me:$LINENO: checking for GNU ld" >&5
4029 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4031 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4032 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4034 if test "${lt_cv_path_LD+set}" = set; then
4035 echo $ECHO_N "(cached) $ECHO_C" >&6
4037 if test -z "$LD"; then
4038 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4039 for ac_dir in $PATH; do
4041 test -z "$ac_dir" && ac_dir=.
4042 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4043 lt_cv_path_LD="$ac_dir/$ac_prog"
4044 # Check to see if the program is GNU ld. I'd rather use --version,
4045 # but apparently some GNU ld's only accept -v.
4046 # Break only if it was the GNU/non-GNU ld that we prefer.
4047 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4048 *GNU* | *'with BFD'*)
4049 test "$with_gnu_ld" != no && break
4052 test "$with_gnu_ld" != yes && break
4059 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4064 if test -n "$LD"; then
4065 echo "$as_me:$LINENO: result: $LD" >&5
4066 echo "${ECHO_T}$LD" >&6
4068 echo "$as_me:$LINENO: result: no" >&5
4069 echo "${ECHO_T}no" >&6
4071 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4072 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4073 { (exit 1); exit 1; }; }
4074 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4075 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4076 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4077 echo $ECHO_N "(cached) $ECHO_C" >&6
4079 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4080 case `"$LD" -v 2>&1 </dev/null` in
4081 *GNU* | *'with BFD'*)
4082 lt_cv_prog_gnu_ld=yes
4085 lt_cv_prog_gnu_ld=no
4089 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4090 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4091 with_gnu_ld=$lt_cv_prog_gnu_ld
4094 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4095 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4096 if test "${lt_cv_ld_reload_flag+set}" = set; then
4097 echo $ECHO_N "(cached) $ECHO_C" >&6
4099 lt_cv_ld_reload_flag='-r'
4101 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4102 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4103 reload_flag=$lt_cv_ld_reload_flag
4104 case $reload_flag in
4106 *) reload_flag=" $reload_flag" ;;
4108 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4110 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4111 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4112 if test "${lt_cv_path_NM+set}" = set; then
4113 echo $ECHO_N "(cached) $ECHO_C" >&6
4115 if test -n "$NM"; then
4116 # Let the user override the test.
4119 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4120 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4122 test -z "$ac_dir" && ac_dir=.
4123 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4124 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4125 # Check to see if the nm accepts a BSD-compat flag.
4126 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4127 # nm: unknown option "B" ignored
4128 # Tru64's nm complains that /dev/null is an invalid object file
4129 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4130 */dev/null* | *'Invalid file or object type'*)
4131 lt_cv_path_NM="$tmp_nm -B"
4135 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4137 lt_cv_path_NM="$tmp_nm -p"
4141 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4142 continue # so that we can try to find one that supports BSD flags
4149 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4152 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4153 echo "${ECHO_T}$lt_cv_path_NM" >&6
4156 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4157 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4159 if test "$LN_S" = "ln -s"; then
4160 echo "$as_me:$LINENO: result: yes" >&5
4161 echo "${ECHO_T}yes" >&6
4163 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4164 echo "${ECHO_T}no, using $LN_S" >&6
4167 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4168 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4169 if test "${lt_cv_deplibs_check_method+set}" = set; then
4170 echo $ECHO_N "(cached) $ECHO_C" >&6
4172 lt_cv_file_magic_cmd='$MAGIC_CMD'
4173 lt_cv_file_magic_test_file=
4174 lt_cv_deplibs_check_method='unknown'
4175 # Need to set the preceding variable on all platforms that support
4176 # interlibrary dependencies.
4177 # 'none' -- dependencies not supported.
4178 # `unknown' -- same as none, but documents that we really don't know.
4179 # 'pass_all' -- all dependencies passed with no checks.
4180 # 'test_compile' -- check by making test program.
4181 # 'file_magic [[regex]]' -- check by looking for files in library path
4182 # which responds to the $file_magic_cmd with a given extended regex.
4183 # If you have `file' or equivalent on your system and you're not sure
4184 # whether `pass_all' will *always* work, you probably want this one.
4188 lt_cv_deplibs_check_method=pass_all
4192 lt_cv_deplibs_check_method=pass_all
4196 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4197 lt_cv_file_magic_cmd='/usr/bin/file -L'
4198 lt_cv_file_magic_test_file=/shlib/libc.so
4201 cygwin* | mingw* | pw32*)
4202 # win32_libid is a shell function defined in ltmain.sh
4203 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4204 lt_cv_file_magic_cmd='win32_libid'
4207 darwin* | rhapsody*)
4208 # this will be overwritten by pass_all, but leave it in just in case
4209 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4210 lt_cv_file_magic_cmd='/usr/bin/file -L'
4212 rhapsody* | darwin1.[012])
4213 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4216 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4219 lt_cv_deplibs_check_method=pass_all
4223 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4226 # Not sure whether the presence of OpenBSD here was a mistake.
4227 # Let's accept both of them until this is cleared up.
4228 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4229 lt_cv_file_magic_cmd=/usr/bin/file
4230 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4234 lt_cv_deplibs_check_method=pass_all
4239 lt_cv_deplibs_check_method=pass_all
4242 hpux10.20* | hpux11*)
4243 lt_cv_file_magic_cmd=/usr/bin/file
4246 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4247 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4250 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]'
4251 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4254 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4255 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4260 irix5* | irix6* | nonstopux*)
4262 irix5* | nonstopux*)
4263 # this will be overridden with pass_all, but let us keep it just in case
4264 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4268 *-32|*"-32 ") libmagic=32-bit;;
4269 *-n32|*"-n32 ") libmagic=N32;;
4270 *-64|*"-64 ") libmagic=64-bit;;
4271 *) libmagic=never-match;;
4273 # this will be overridden with pass_all, but let us keep it just in case
4274 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4277 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4278 lt_cv_deplibs_check_method=pass_all
4281 # This must be Linux ELF.
4284 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4285 lt_cv_deplibs_check_method=pass_all ;;
4287 # glibc up to 2.1.1 does not perform some relocations on ARM
4288 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4290 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4294 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4295 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4297 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4302 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4303 lt_cv_file_magic_cmd=/usr/bin/file
4304 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4308 lt_cv_deplibs_check_method=unknown
4312 lt_cv_file_magic_cmd=/usr/bin/file
4313 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4314 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4315 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4317 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4321 osf3* | osf4* | osf5*)
4322 # this will be overridden with pass_all, but let us keep it just in case
4323 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4324 lt_cv_file_magic_test_file=/shlib/libc.so
4325 lt_cv_deplibs_check_method=pass_all
4329 lt_cv_deplibs_check_method=pass_all
4333 lt_cv_deplibs_check_method=pass_all
4334 lt_cv_file_magic_test_file=/lib/libc.so
4337 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4338 case $host_vendor in
4340 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]'
4341 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4344 lt_cv_deplibs_check_method=pass_all
4347 lt_cv_file_magic_cmd='/bin/file'
4348 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4351 lt_cv_file_magic_cmd='/bin/file'
4352 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4353 lt_cv_file_magic_test_file=/lib/libc.so
4356 lt_cv_deplibs_check_method=pass_all
4361 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4362 lt_cv_deplibs_check_method=pass_all
4367 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4368 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4369 file_magic_cmd=$lt_cv_file_magic_cmd
4370 deplibs_check_method=$lt_cv_deplibs_check_method
4371 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4376 # If no C compiler was specified, use CC.
4379 # Allow CC to be a program name with arguments.
4382 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4383 if test "${enable_libtool_lock+set}" = set; then
4384 enableval="$enable_libtool_lock"
4387 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4389 # Some flags need to be propagated to the compiler or linker for good
4393 # Find out which ABI we are using.
4394 echo 'int i;' > conftest.$ac_ext
4395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4396 (eval $ac_compile) 2>&5
4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399 (exit $ac_status); }; then
4400 case `/usr/bin/file conftest.$ac_objext` in
4412 # Find out which ABI we are using.
4413 echo '#line 4413 "configure"' > conftest.$ac_ext
4414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4415 (eval $ac_compile) 2>&5
4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418 (exit $ac_status); }; then
4419 if test "$lt_cv_prog_gnu_ld" = yes; then
4420 case `/usr/bin/file conftest.$ac_objext` in
4422 LD="${LD-ld} -melf32bsmip"
4425 LD="${LD-ld} -melf32bmipn32"
4428 LD="${LD-ld} -melf64bmip"
4432 case `/usr/bin/file conftest.$ac_objext` in
4448 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4449 # Find out which ABI we are using.
4450 echo 'int i;' > conftest.$ac_ext
4451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4452 (eval $ac_compile) 2>&5
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); }; then
4456 case "`/usr/bin/file conftest.o`" in
4460 LD="${LD-ld} -m elf_i386"
4463 LD="${LD-ld} -m elf32ppclinux"
4466 LD="${LD-ld} -m elf_s390"
4469 LD="${LD-ld} -m elf32_sparc"
4476 LD="${LD-ld} -m elf_x86_64"
4478 ppc*-*linux*|powerpc*-*linux*)
4479 LD="${LD-ld} -m elf64ppc"
4482 LD="${LD-ld} -m elf64_s390"
4485 LD="${LD-ld} -m elf64_sparc"
4495 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4496 SAVE_CFLAGS="$CFLAGS"
4497 CFLAGS="$CFLAGS -belf"
4498 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4499 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4500 if test "${lt_cv_cc_needs_belf+set}" = set; then
4501 echo $ECHO_N "(cached) $ECHO_C" >&6
4504 ac_cpp='$CPP $CPPFLAGS'
4505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4509 cat >conftest.$ac_ext <<_ACEOF
4510 #line $LINENO "configure"
4513 cat confdefs.h >>conftest.$ac_ext
4514 cat >>conftest.$ac_ext <<_ACEOF
4515 /* end confdefs.h. */
4525 rm -f conftest.$ac_objext conftest$ac_exeext
4526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4527 (eval $ac_link) 2>&5
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); } &&
4531 { ac_try='test -s conftest$ac_exeext'
4532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); }; }; then
4537 lt_cv_cc_needs_belf=yes
4539 echo "$as_me: failed program was:" >&5
4540 sed 's/^/| /' conftest.$ac_ext >&5
4542 lt_cv_cc_needs_belf=no
4544 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4546 ac_cpp='$CPP $CPPFLAGS'
4547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4552 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4553 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4554 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4555 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4556 CFLAGS="$SAVE_CFLAGS"
4562 need_locks="$enable_libtool_lock"
4566 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4567 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4568 if test "${ac_cv_header_stdc+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 cat >conftest.$ac_ext <<_ACEOF
4572 #line $LINENO "configure"
4575 cat confdefs.h >>conftest.$ac_ext
4576 cat >>conftest.$ac_ext <<_ACEOF
4577 /* end confdefs.h. */
4591 rm -f conftest.$ac_objext
4592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4593 (eval $ac_compile) 2>&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); } &&
4597 { ac_try='test -s conftest.$ac_objext'
4598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602 (exit $ac_status); }; }; then
4603 ac_cv_header_stdc=yes
4605 echo "$as_me: failed program was:" >&5
4606 sed 's/^/| /' conftest.$ac_ext >&5
4608 ac_cv_header_stdc=no
4610 rm -f conftest.$ac_objext conftest.$ac_ext
4612 if test $ac_cv_header_stdc = yes; then
4613 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4614 cat >conftest.$ac_ext <<_ACEOF
4615 #line $LINENO "configure"
4618 cat confdefs.h >>conftest.$ac_ext
4619 cat >>conftest.$ac_ext <<_ACEOF
4620 /* end confdefs.h. */
4624 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4625 $EGREP "memchr" >/dev/null 2>&1; then
4628 ac_cv_header_stdc=no
4634 if test $ac_cv_header_stdc = yes; then
4635 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4636 cat >conftest.$ac_ext <<_ACEOF
4637 #line $LINENO "configure"
4640 cat confdefs.h >>conftest.$ac_ext
4641 cat >>conftest.$ac_ext <<_ACEOF
4642 /* end confdefs.h. */
4646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4647 $EGREP "free" >/dev/null 2>&1; then
4650 ac_cv_header_stdc=no
4656 if test $ac_cv_header_stdc = yes; then
4657 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4658 if test "$cross_compiling" = yes; then
4661 cat >conftest.$ac_ext <<_ACEOF
4662 #line $LINENO "configure"
4665 cat confdefs.h >>conftest.$ac_ext
4666 cat >>conftest.$ac_ext <<_ACEOF
4667 /* end confdefs.h. */
4669 #if ((' ' & 0x0FF) == 0x020)
4670 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4671 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4673 # define ISLOWER(c) \
4674 (('a' <= (c) && (c) <= 'i') \
4675 || ('j' <= (c) && (c) <= 'r') \
4676 || ('s' <= (c) && (c) <= 'z'))
4677 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4680 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4685 for (i = 0; i < 256; i++)
4686 if (XOR (islower (i), ISLOWER (i))
4687 || toupper (i) != TOUPPER (i))
4692 rm -f conftest$ac_exeext
4693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4694 (eval $ac_link) 2>&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4702 (exit $ac_status); }; }; then
4705 echo "$as_me: program exited with status $ac_status" >&5
4706 echo "$as_me: failed program was:" >&5
4707 sed 's/^/| /' conftest.$ac_ext >&5
4710 ac_cv_header_stdc=no
4712 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4716 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4717 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4718 if test $ac_cv_header_stdc = yes; then
4720 cat >>confdefs.h <<\_ACEOF
4721 #define STDC_HEADERS 1
4726 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4736 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4737 inttypes.h stdint.h unistd.h
4739 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4740 echo "$as_me:$LINENO: checking for $ac_header" >&5
4741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4743 echo $ECHO_N "(cached) $ECHO_C" >&6
4745 cat >conftest.$ac_ext <<_ACEOF
4746 #line $LINENO "configure"
4749 cat confdefs.h >>conftest.$ac_ext
4750 cat >>conftest.$ac_ext <<_ACEOF
4751 /* end confdefs.h. */
4752 $ac_includes_default
4754 #include <$ac_header>
4756 rm -f conftest.$ac_objext
4757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4758 (eval $ac_compile) 2>&5
4760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761 (exit $ac_status); } &&
4762 { ac_try='test -s conftest.$ac_objext'
4763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); }; }; then
4768 eval "$as_ac_Header=yes"
4770 echo "$as_me: failed program was:" >&5
4771 sed 's/^/| /' conftest.$ac_ext >&5
4773 eval "$as_ac_Header=no"
4775 rm -f conftest.$ac_objext conftest.$ac_ext
4777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4780 cat >>confdefs.h <<_ACEOF
4781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4790 for ac_header in dlfcn.h
4792 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4794 echo "$as_me:$LINENO: checking for $ac_header" >&5
4795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4797 echo $ECHO_N "(cached) $ECHO_C" >&6
4799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4802 # Is the header compilable?
4803 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4804 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
4813 #include <$ac_header>
4815 rm -f conftest.$ac_objext
4816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4817 (eval $ac_compile) 2>&5
4819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820 (exit $ac_status); } &&
4821 { ac_try='test -s conftest.$ac_objext'
4822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 (exit $ac_status); }; }; then
4827 ac_header_compiler=yes
4829 echo "$as_me: failed program was:" >&5
4830 sed 's/^/| /' conftest.$ac_ext >&5
4832 ac_header_compiler=no
4834 rm -f conftest.$ac_objext conftest.$ac_ext
4835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4836 echo "${ECHO_T}$ac_header_compiler" >&6
4838 # Is the header present?
4839 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4840 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4841 cat >conftest.$ac_ext <<_ACEOF
4842 #line $LINENO "configure"
4845 cat confdefs.h >>conftest.$ac_ext
4846 cat >>conftest.$ac_ext <<_ACEOF
4847 /* end confdefs.h. */
4848 #include <$ac_header>
4850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4851 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4853 grep -v '^ *+' conftest.er1 >conftest.err
4855 cat conftest.err >&5
4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857 (exit $ac_status); } >/dev/null; then
4858 if test -s conftest.err; then
4859 ac_cpp_err=$ac_c_preproc_warn_flag
4866 if test -z "$ac_cpp_err"; then
4867 ac_header_preproc=yes
4869 echo "$as_me: failed program was:" >&5
4870 sed 's/^/| /' conftest.$ac_ext >&5
4872 ac_header_preproc=no
4874 rm -f conftest.err conftest.$ac_ext
4875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4876 echo "${ECHO_T}$ac_header_preproc" >&6
4878 # So? What about this header?
4879 case $ac_header_compiler:$ac_header_preproc in
4881 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4882 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4883 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4884 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4887 ## ------------------------------------ ##
4888 ## Report this to bug-autoconf@gnu.org. ##
4889 ## ------------------------------------ ##
4892 sed "s/^/$as_me: WARNING: /" >&2
4895 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4896 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4897 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4898 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4899 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4900 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4903 ## ------------------------------------ ##
4904 ## Report this to bug-autoconf@gnu.org. ##
4905 ## ------------------------------------ ##
4908 sed "s/^/$as_me: WARNING: /" >&2
4911 echo "$as_me:$LINENO: checking for $ac_header" >&5
4912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4914 echo $ECHO_N "(cached) $ECHO_C" >&6
4916 eval "$as_ac_Header=$ac_header_preproc"
4918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4923 cat >>confdefs.h <<_ACEOF
4924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4932 ac_cpp='$CXXCPP $CPPFLAGS'
4933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4936 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4937 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4938 if test -z "$CXXCPP"; then
4939 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4940 echo $ECHO_N "(cached) $ECHO_C" >&6
4942 # Double quotes because CXXCPP needs to be expanded
4943 for CXXCPP in "$CXX -E" "/lib/cpp"
4946 for ac_cxx_preproc_warn_flag in '' yes
4948 # Use a header file that comes with gcc, so configuring glibc
4949 # with a fresh cross-compiler works.
4950 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4951 # <limits.h> exists even on freestanding compilers.
4952 # On the NeXT, cc -E runs the code through the compiler's parser,
4953 # not just through cpp. "Syntax error" is here to catch this case.
4954 cat >conftest.$ac_ext <<_ACEOF
4955 #line $LINENO "configure"
4958 cat confdefs.h >>conftest.$ac_ext
4959 cat >>conftest.$ac_ext <<_ACEOF
4960 /* end confdefs.h. */
4962 # include <limits.h>
4964 # include <assert.h>
4968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4969 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4971 grep -v '^ *+' conftest.er1 >conftest.err
4973 cat conftest.err >&5
4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); } >/dev/null; then
4976 if test -s conftest.err; then
4977 ac_cpp_err=$ac_cxx_preproc_warn_flag
4984 if test -z "$ac_cpp_err"; then
4987 echo "$as_me: failed program was:" >&5
4988 sed 's/^/| /' conftest.$ac_ext >&5
4990 # Broken: fails on valid input.
4993 rm -f conftest.err conftest.$ac_ext
4995 # OK, works on sane cases. Now check whether non-existent headers
4996 # can be detected and how.
4997 cat >conftest.$ac_ext <<_ACEOF
4998 #line $LINENO "configure"
5001 cat confdefs.h >>conftest.$ac_ext
5002 cat >>conftest.$ac_ext <<_ACEOF
5003 /* end confdefs.h. */
5004 #include <ac_nonexistent.h>
5006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5007 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5009 grep -v '^ *+' conftest.er1 >conftest.err
5011 cat conftest.err >&5
5012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013 (exit $ac_status); } >/dev/null; then
5014 if test -s conftest.err; then
5015 ac_cpp_err=$ac_cxx_preproc_warn_flag
5022 if test -z "$ac_cpp_err"; then
5023 # Broken: success on invalid input.
5026 echo "$as_me: failed program was:" >&5
5027 sed 's/^/| /' conftest.$ac_ext >&5
5029 # Passes both tests.
5033 rm -f conftest.err conftest.$ac_ext
5036 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5037 rm -f conftest.err conftest.$ac_ext
5038 if $ac_preproc_ok; then
5043 ac_cv_prog_CXXCPP=$CXXCPP
5046 CXXCPP=$ac_cv_prog_CXXCPP
5048 ac_cv_prog_CXXCPP=$CXXCPP
5050 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5051 echo "${ECHO_T}$CXXCPP" >&6
5053 for ac_cxx_preproc_warn_flag in '' yes
5055 # Use a header file that comes with gcc, so configuring glibc
5056 # with a fresh cross-compiler works.
5057 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5058 # <limits.h> exists even on freestanding compilers.
5059 # On the NeXT, cc -E runs the code through the compiler's parser,
5060 # not just through cpp. "Syntax error" is here to catch this case.
5061 cat >conftest.$ac_ext <<_ACEOF
5062 #line $LINENO "configure"
5065 cat confdefs.h >>conftest.$ac_ext
5066 cat >>conftest.$ac_ext <<_ACEOF
5067 /* end confdefs.h. */
5069 # include <limits.h>
5071 # include <assert.h>
5075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5076 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5078 grep -v '^ *+' conftest.er1 >conftest.err
5080 cat conftest.err >&5
5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); } >/dev/null; then
5083 if test -s conftest.err; then
5084 ac_cpp_err=$ac_cxx_preproc_warn_flag
5091 if test -z "$ac_cpp_err"; then
5094 echo "$as_me: failed program was:" >&5
5095 sed 's/^/| /' conftest.$ac_ext >&5
5097 # Broken: fails on valid input.
5100 rm -f conftest.err conftest.$ac_ext
5102 # OK, works on sane cases. Now check whether non-existent headers
5103 # can be detected and how.
5104 cat >conftest.$ac_ext <<_ACEOF
5105 #line $LINENO "configure"
5108 cat confdefs.h >>conftest.$ac_ext
5109 cat >>conftest.$ac_ext <<_ACEOF
5110 /* end confdefs.h. */
5111 #include <ac_nonexistent.h>
5113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5114 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5116 grep -v '^ *+' conftest.er1 >conftest.err
5118 cat conftest.err >&5
5119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5120 (exit $ac_status); } >/dev/null; then
5121 if test -s conftest.err; then
5122 ac_cpp_err=$ac_cxx_preproc_warn_flag
5129 if test -z "$ac_cpp_err"; then
5130 # Broken: success on invalid input.
5133 echo "$as_me: failed program was:" >&5
5134 sed 's/^/| /' conftest.$ac_ext >&5
5136 # Passes both tests.
5140 rm -f conftest.err conftest.$ac_ext
5143 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5144 rm -f conftest.err conftest.$ac_ext
5145 if $ac_preproc_ok; then
5148 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5149 See \`config.log' for more details." >&5
5150 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5151 See \`config.log' for more details." >&2;}
5152 { (exit 1); exit 1; }; }
5156 ac_cpp='$CXXCPP $CPPFLAGS'
5157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5163 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5164 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5165 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5166 if test -n "$ac_tool_prefix"; then
5167 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5169 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5170 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5171 echo "$as_me:$LINENO: checking for $ac_word" >&5
5172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5173 if test "${ac_cv_prog_F77+set}" = set; then
5174 echo $ECHO_N "(cached) $ECHO_C" >&6
5176 if test -n "$F77"; then
5177 ac_cv_prog_F77="$F77" # Let the user override the test.
5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 test -z "$as_dir" && as_dir=.
5184 for ac_exec_ext in '' $ac_executable_extensions; do
5185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5186 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5196 if test -n "$F77"; then
5197 echo "$as_me:$LINENO: result: $F77" >&5
5198 echo "${ECHO_T}$F77" >&6
5200 echo "$as_me:$LINENO: result: no" >&5
5201 echo "${ECHO_T}no" >&6
5204 test -n "$F77" && break
5207 if test -z "$F77"; then
5209 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5211 # Extract the first word of "$ac_prog", so it can be a program name with args.
5212 set dummy $ac_prog; ac_word=$2
5213 echo "$as_me:$LINENO: checking for $ac_word" >&5
5214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5215 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5216 echo $ECHO_N "(cached) $ECHO_C" >&6
5218 if test -n "$ac_ct_F77"; then
5219 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5225 test -z "$as_dir" && as_dir=.
5226 for ac_exec_ext in '' $ac_executable_extensions; do
5227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5228 ac_cv_prog_ac_ct_F77="$ac_prog"
5229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5237 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5238 if test -n "$ac_ct_F77"; then
5239 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5240 echo "${ECHO_T}$ac_ct_F77" >&6
5242 echo "$as_me:$LINENO: result: no" >&5
5243 echo "${ECHO_T}no" >&6
5246 test -n "$ac_ct_F77" && break
5253 # Provide some information about the compiler.
5254 echo "$as_me:5254:" \
5255 "checking for Fortran 77 compiler version" >&5
5256 ac_compiler=`set X $ac_compile; echo $2`
5257 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5258 (eval $ac_compiler --version </dev/null >&5) 2>&5
5260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5261 (exit $ac_status); }
5262 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5263 (eval $ac_compiler -v </dev/null >&5) 2>&5
5265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266 (exit $ac_status); }
5267 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5268 (eval $ac_compiler -V </dev/null >&5) 2>&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); }
5273 # If we don't use `.F' as extension, the preprocessor is not run on the
5277 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5278 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5279 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5280 echo $ECHO_N "(cached) $ECHO_C" >&6
5282 cat >conftest.$ac_ext <<_ACEOF
5290 rm -f conftest.$ac_objext
5291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5292 (eval $ac_compile) 2>&5
5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295 (exit $ac_status); } &&
5296 { ac_try='test -s conftest.$ac_objext'
5297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); }; }; then
5304 echo "$as_me: failed program was:" >&5
5305 sed 's/^/| /' conftest.$ac_ext >&5
5309 rm -f conftest.$ac_objext conftest.$ac_ext
5310 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5313 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5314 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5316 G77=`test $ac_compiler_gnu = yes && echo yes`
5317 ac_test_FFLAGS=${FFLAGS+set}
5318 ac_save_FFLAGS=$FFLAGS
5320 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5321 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5322 if test "${ac_cv_prog_f77_g+set}" = set; then
5323 echo $ECHO_N "(cached) $ECHO_C" >&6
5326 cat >conftest.$ac_ext <<_ACEOF
5331 rm -f conftest.$ac_objext
5332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5333 (eval $ac_compile) 2>&5
5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5336 (exit $ac_status); } &&
5337 { ac_try='test -s conftest.$ac_objext'
5338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5342 (exit $ac_status); }; }; then
5343 ac_cv_prog_f77_g=yes
5345 echo "$as_me: failed program was:" >&5
5346 sed 's/^/| /' conftest.$ac_ext >&5
5350 rm -f conftest.$ac_objext conftest.$ac_ext
5353 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5354 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5355 if test "$ac_test_FFLAGS" = set; then
5356 FFLAGS=$ac_save_FFLAGS
5357 elif test $ac_cv_prog_f77_g = yes; then
5358 if test "$G77" = yes; then
5364 if test "$G77" = yes; then
5371 ac_cpp='$CPP $CPPFLAGS'
5372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5378 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5380 # find the maximum length of command line arguments
5381 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5382 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5383 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5384 echo $ECHO_N "(cached) $ECHO_C" >&6
5391 # On DJGPP, this test can blow up pretty badly due to problems in libc
5392 # (any single argument exceeding 2000 bytes causes a buffer overrun
5393 # during glob expansion). Even if it were fixed, the result of this
5394 # check would be larger than it should be.
5395 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5399 # Under GNU Hurd, this test is not required because there is
5400 # no limit to the length of command line arguments.
5401 # Libtool will interpret -1 as no limit whatsoever
5402 lt_cv_sys_max_cmd_len=-1;
5406 # On Win9x/ME, this test blows up -- it succeeds, but takes
5407 # about 5 minutes as the teststring grows exponentially.
5408 # Worse, since 9x/ME are not pre-emptively multitasking,
5409 # you end up with a "frozen" computer, even though with patience
5410 # the test eventually succeeds (with a max line length of 256k).
5411 # Instead, let's just punt: use the minimum linelength reported by
5412 # all of the supported platforms: 8192 (on NT/2K/XP).
5413 lt_cv_sys_max_cmd_len=8192;
5417 # If test is not a shell built-in, we'll probably end up computing a
5418 # maximum length that is only half of the actual maximum length, but
5420 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5421 = "XX$testring") >/dev/null 2>&1 &&
5422 new_result=`expr "X$testring" : ".*" 2>&1` &&
5423 lt_cv_sys_max_cmd_len=$new_result &&
5424 test $i != 17 # 1/2 MB should be enough
5427 testring=$testring$testring
5430 # Add a significant safety factor because C++ compilers can tack on massive
5431 # amounts of additional arguments before passing them to the linker.
5432 # It appears as though 1/2 is a usable value.
5433 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5439 if test -n $lt_cv_sys_max_cmd_len ; then
5440 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5441 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5443 echo "$as_me:$LINENO: result: none" >&5
5444 echo "${ECHO_T}none" >&6
5450 # Check for command to grab the raw symbol name followed by C symbol from nm.
5451 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5452 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5453 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5454 echo $ECHO_N "(cached) $ECHO_C" >&6
5457 # These are sane defaults that work on at least a few old systems.
5458 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5460 # Character class describing NM global symbol codes.
5461 symcode='[BCDEGRST]'
5463 # Regexp to match symbols that can be accessed directly from C.
5464 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5466 # Transform the above into a raw symbol and a C symbol.
5467 symxfrm='\1 \2\3 \3'
5469 # Transform an extracted symbol line into a proper C declaration
5470 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5472 # Transform an extracted symbol line into symbol name and symbol address
5473 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'"
5475 # Define system-specific variables.
5480 cygwin* | mingw* | pw32*)
5481 symcode='[ABCDGISTW]'
5483 hpux*) # Its linker distinguishes data from code symbols
5484 if test "$host_cpu" = ia64; then
5485 symcode='[ABCDEGRST]'
5487 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5488 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'"
5491 symcode='[BCDEGRST]'
5494 symcode='[BCDEGQRST]'
5504 # Handle CRLF in mingw tool chain
5508 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5512 # If we're using GNU nm, then use its standard symbol codes.
5513 case `$NM -V 2>&1` in
5514 *GNU* | *'with BFD'*)
5515 symcode='[ABCDGISTW]' ;;
5518 # Try without a prefix undercore, then with it.
5519 for ac_symprfx in "" "_"; do
5521 # Write the raw and C identifiers.
5522 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5524 # Check to see that the pipe works correctly.
5528 cat > conftest.$ac_ext <<EOF
5533 void nm_test_func(){}
5537 int main(){nm_test_var='a';nm_test_func();return(0);}
5540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5541 (eval $ac_compile) 2>&5
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); }; then
5545 # Now try to grab the symbols.
5547 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5548 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); } && test -s "$nlist"; then
5552 # Try sorting and uniquifying the output.
5553 if sort "$nlist" | uniq > "$nlist"T; then
5554 mv -f "$nlist"T "$nlist"
5559 # Make sure that we snagged all the symbols we need.
5560 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5561 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5562 cat <<EOF > conftest.$ac_ext
5568 # Now generate the symbol file.
5569 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5571 cat <<EOF >> conftest.$ac_ext
5572 #if defined (__STDC__) && __STDC__
5573 # define lt_ptr_t void *
5575 # define lt_ptr_t char *
5579 /* The mapping between symbol names and symbols. */
5584 lt_preloaded_symbols[] =
5587 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5588 cat <<\EOF >> conftest.$ac_ext
5596 # Now try linking the two files.
5597 mv conftest.$ac_objext conftstm.$ac_objext
5598 lt_save_LIBS="$LIBS"
5599 lt_save_CFLAGS="$CFLAGS"
5600 LIBS="conftstm.$ac_objext"
5601 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5603 (eval $ac_link) 2>&5
5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5609 LIBS="$lt_save_LIBS"
5610 CFLAGS="$lt_save_CFLAGS"
5612 echo "cannot find nm_test_func in $nlist" >&5
5615 echo "cannot find nm_test_var in $nlist" >&5
5618 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5621 echo "$progname: failed program was:" >&5
5622 cat conftest.$ac_ext >&5
5624 rm -f conftest* conftst*
5626 # Do not use the global_symbol_pipe unless it works.
5627 if test "$pipe_works" = yes; then
5630 lt_cv_sys_global_symbol_pipe=
5636 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5637 lt_cv_sys_global_symbol_to_cdecl=
5639 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5640 echo "$as_me:$LINENO: result: failed" >&5
5641 echo "${ECHO_T}failed" >&6
5643 echo "$as_me:$LINENO: result: ok" >&5
5644 echo "${ECHO_T}ok" >&6
5647 echo "$as_me:$LINENO: checking for objdir" >&5
5648 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5649 if test "${lt_cv_objdir+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 rm -f .libs 2>/dev/null
5653 mkdir .libs 2>/dev/null
5654 if test -d .libs; then
5657 # MS-DOS does not allow filenames that begin with a dot.
5660 rmdir .libs 2>/dev/null
5662 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5663 echo "${ECHO_T}$lt_cv_objdir" >&6
5664 objdir=$lt_cv_objdir
5672 # AIX sometimes has problems with the GCC collect2 program. For some
5673 # reason, if we set the COLLECT_NAMES environment variable, the problems
5674 # vanish in a puff of smoke.
5675 if test "X${COLLECT_NAMES+set}" != Xset; then
5677 export COLLECT_NAMES
5682 # Sed substitution that helps us do robust quoting. It backslashifies
5683 # metacharacters that are still active within double-quoted strings.
5684 Xsed='sed -e s/^X//'
5685 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5687 # Same as above, but do not quote variable references.
5688 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5690 # Sed substitution to delay expansion of an escaped shell variable in a
5691 # double_quote_subst'ed string.
5692 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5694 # Sed substitution to avoid accidental globbing in evaled expressions
5695 no_glob_subst='s/\*/\\\*/g'
5702 can_build_shared=yes
5704 # All known linkers require a `.a' archive for static linking (except M$VC,
5705 # which needs '.lib').
5707 ltmain="$ac_aux_dir/ltmain.sh"
5708 ofile="$default_ofile"
5709 with_gnu_ld="$lt_cv_prog_gnu_ld"
5711 if test -n "$ac_tool_prefix"; then
5712 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5713 set dummy ${ac_tool_prefix}ar; ac_word=$2
5714 echo "$as_me:$LINENO: checking for $ac_word" >&5
5715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5716 if test "${ac_cv_prog_AR+set}" = set; then
5717 echo $ECHO_N "(cached) $ECHO_C" >&6
5719 if test -n "$AR"; then
5720 ac_cv_prog_AR="$AR" # Let the user override the test.
5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726 test -z "$as_dir" && as_dir=.
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5729 ac_cv_prog_AR="${ac_tool_prefix}ar"
5730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5739 if test -n "$AR"; then
5740 echo "$as_me:$LINENO: result: $AR" >&5
5741 echo "${ECHO_T}$AR" >&6
5743 echo "$as_me:$LINENO: result: no" >&5
5744 echo "${ECHO_T}no" >&6
5748 if test -z "$ac_cv_prog_AR"; then
5750 # Extract the first word of "ar", so it can be a program name with args.
5751 set dummy ar; ac_word=$2
5752 echo "$as_me:$LINENO: checking for $ac_word" >&5
5753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5754 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5755 echo $ECHO_N "(cached) $ECHO_C" >&6
5757 if test -n "$ac_ct_AR"; then
5758 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764 test -z "$as_dir" && as_dir=.
5765 for ac_exec_ext in '' $ac_executable_extensions; do
5766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5767 ac_cv_prog_ac_ct_AR="ar"
5768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5774 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5777 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5778 if test -n "$ac_ct_AR"; then
5779 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5780 echo "${ECHO_T}$ac_ct_AR" >&6
5782 echo "$as_me:$LINENO: result: no" >&5
5783 echo "${ECHO_T}no" >&6
5791 if test -n "$ac_tool_prefix"; then
5792 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5793 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5794 echo "$as_me:$LINENO: checking for $ac_word" >&5
5795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5796 if test "${ac_cv_prog_RANLIB+set}" = set; then
5797 echo $ECHO_N "(cached) $ECHO_C" >&6
5799 if test -n "$RANLIB"; then
5800 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806 test -z "$as_dir" && as_dir=.
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5809 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5818 RANLIB=$ac_cv_prog_RANLIB
5819 if test -n "$RANLIB"; then
5820 echo "$as_me:$LINENO: result: $RANLIB" >&5
5821 echo "${ECHO_T}$RANLIB" >&6
5823 echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6
5828 if test -z "$ac_cv_prog_RANLIB"; then
5829 ac_ct_RANLIB=$RANLIB
5830 # Extract the first word of "ranlib", so it can be a program name with args.
5831 set dummy ranlib; ac_word=$2
5832 echo "$as_me:$LINENO: checking for $ac_word" >&5
5833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5834 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5835 echo $ECHO_N "(cached) $ECHO_C" >&6
5837 if test -n "$ac_ct_RANLIB"; then
5838 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5844 test -z "$as_dir" && as_dir=.
5845 for ac_exec_ext in '' $ac_executable_extensions; do
5846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5847 ac_cv_prog_ac_ct_RANLIB="ranlib"
5848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5854 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5857 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5858 if test -n "$ac_ct_RANLIB"; then
5859 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5860 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5862 echo "$as_me:$LINENO: result: no" >&5
5863 echo "${ECHO_T}no" >&6
5866 RANLIB=$ac_ct_RANLIB
5868 RANLIB="$ac_cv_prog_RANLIB"
5871 if test -n "$ac_tool_prefix"; then
5872 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5873 set dummy ${ac_tool_prefix}strip; ac_word=$2
5874 echo "$as_me:$LINENO: checking for $ac_word" >&5
5875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5876 if test "${ac_cv_prog_STRIP+set}" = set; then
5877 echo $ECHO_N "(cached) $ECHO_C" >&6
5879 if test -n "$STRIP"; then
5880 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5886 test -z "$as_dir" && as_dir=.
5887 for ac_exec_ext in '' $ac_executable_extensions; do
5888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5889 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5898 STRIP=$ac_cv_prog_STRIP
5899 if test -n "$STRIP"; then
5900 echo "$as_me:$LINENO: result: $STRIP" >&5
5901 echo "${ECHO_T}$STRIP" >&6
5903 echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6
5908 if test -z "$ac_cv_prog_STRIP"; then
5910 # Extract the first word of "strip", so it can be a program name with args.
5911 set dummy strip; ac_word=$2
5912 echo "$as_me:$LINENO: checking for $ac_word" >&5
5913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5914 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5915 echo $ECHO_N "(cached) $ECHO_C" >&6
5917 if test -n "$ac_ct_STRIP"; then
5918 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5924 test -z "$as_dir" && as_dir=.
5925 for ac_exec_ext in '' $ac_executable_extensions; do
5926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5927 ac_cv_prog_ac_ct_STRIP="strip"
5928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5934 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5937 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5938 if test -n "$ac_ct_STRIP"; then
5939 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5940 echo "${ECHO_T}$ac_ct_STRIP" >&6
5942 echo "$as_me:$LINENO: result: no" >&5
5943 echo "${ECHO_T}no" >&6
5948 STRIP="$ac_cv_prog_STRIP"
5953 old_CFLAGS="$CFLAGS"
5955 # Set sane defaults for various variables
5956 test -z "$AR" && AR=ar
5957 test -z "$AR_FLAGS" && AR_FLAGS=cru
5958 test -z "$AS" && AS=as
5959 test -z "$CC" && CC=cc
5960 test -z "$LTCC" && LTCC=$CC
5961 test -z "$DLLTOOL" && DLLTOOL=dlltool
5962 test -z "$LD" && LD=ld
5963 test -z "$LN_S" && LN_S="ln -s"
5964 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5965 test -z "$NM" && NM=nm
5966 test -z "$SED" && SED=sed
5967 test -z "$OBJDUMP" && OBJDUMP=objdump
5968 test -z "$RANLIB" && RANLIB=:
5969 test -z "$STRIP" && STRIP=:
5970 test -z "$ac_objext" && ac_objext=o
5972 # Determine commands to create old-style static archives.
5973 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5974 old_postinstall_cmds='chmod 644 $oldlib'
5975 old_postuninstall_cmds=
5977 if test -n "$RANLIB"; then
5980 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5983 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5986 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5989 # Only perform the check for file, if the check method requires it
5990 case $deplibs_check_method in
5992 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5993 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5994 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5995 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5996 echo $ECHO_N "(cached) $ECHO_C" >&6
6000 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6003 lt_save_MAGIC_CMD="$MAGIC_CMD"
6004 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6005 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6006 for ac_dir in $ac_dummy; do
6008 test -z "$ac_dir" && ac_dir=.
6009 if test -f $ac_dir/${ac_tool_prefix}file; then
6010 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6011 if test -n "$file_magic_test_file"; then
6012 case $deplibs_check_method in
6014 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6015 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6016 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6017 $EGREP "$file_magic_regex" > /dev/null; then
6022 *** Warning: the command libtool uses to detect shared libraries,
6023 *** $file_magic_cmd, produces output that libtool cannot recognize.
6024 *** The result is that libtool may fail to recognize shared libraries
6025 *** as such. This will affect the creation of libtool libraries that
6026 *** depend on shared libraries, but programs linked with such libtool
6027 *** libraries will work regardless of this problem. Nevertheless, you
6028 *** may want to report the problem to your system manager and/or to
6029 *** bug-libtool@gnu.org
6039 MAGIC_CMD="$lt_save_MAGIC_CMD"
6044 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6045 if test -n "$MAGIC_CMD"; then
6046 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6047 echo "${ECHO_T}$MAGIC_CMD" >&6
6049 echo "$as_me:$LINENO: result: no" >&5
6050 echo "${ECHO_T}no" >&6
6053 if test -z "$lt_cv_path_MAGIC_CMD"; then
6054 if test -n "$ac_tool_prefix"; then
6055 echo "$as_me:$LINENO: checking for file" >&5
6056 echo $ECHO_N "checking for file... $ECHO_C" >&6
6057 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6058 echo $ECHO_N "(cached) $ECHO_C" >&6
6062 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6065 lt_save_MAGIC_CMD="$MAGIC_CMD"
6066 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6067 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6068 for ac_dir in $ac_dummy; do
6070 test -z "$ac_dir" && ac_dir=.
6071 if test -f $ac_dir/file; then
6072 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6073 if test -n "$file_magic_test_file"; then
6074 case $deplibs_check_method in
6076 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6077 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6078 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6079 $EGREP "$file_magic_regex" > /dev/null; then
6084 *** Warning: the command libtool uses to detect shared libraries,
6085 *** $file_magic_cmd, produces output that libtool cannot recognize.
6086 *** The result is that libtool may fail to recognize shared libraries
6087 *** as such. This will affect the creation of libtool libraries that
6088 *** depend on shared libraries, but programs linked with such libtool
6089 *** libraries will work regardless of this problem. Nevertheless, you
6090 *** may want to report the problem to your system manager and/or to
6091 *** bug-libtool@gnu.org
6101 MAGIC_CMD="$lt_save_MAGIC_CMD"
6106 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6107 if test -n "$MAGIC_CMD"; then
6108 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6109 echo "${ECHO_T}$MAGIC_CMD" >&6
6111 echo "$as_me:$LINENO: result: no" >&5
6112 echo "${ECHO_T}no" >&6
6127 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6128 if test "${enable_libtool_lock+set}" = set; then
6129 enableval="$enable_libtool_lock"
6132 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6135 # Check whether --with-pic or --without-pic was given.
6136 if test "${with_pic+set}" = set; then
6142 test -z "$pic_mode" && pic_mode=default
6144 # Use C for the default configuration in the libtool script
6148 ac_cpp='$CPP $CPPFLAGS'
6149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6154 # Source file extension for C test sources.
6157 # Object file extension for compiled C test sources.
6161 # Code to be used in simple compile tests
6162 lt_simple_compile_test_code="int some_variable = 0;\n"
6164 # Code to be used in simple link tests
6165 lt_simple_link_test_code='int main(){return(0);}\n'
6168 # If no C compiler was specified, use CC.
6171 # Allow CC to be a program name with arguments.
6176 # Check for any special shared library compilation flags.
6179 if test "$GCC" = no; then
6182 lt_prog_cc_shlib='-belf'
6186 if test -n "$lt_prog_cc_shlib"; then
6187 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6188 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6189 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6191 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6192 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6193 lt_cv_prog_cc_can_build_shared=no
6199 # Check to make sure the static flag actually works.
6201 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6202 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6203 if test "${lt_prog_compiler_static_works+set}" = set; then
6204 echo $ECHO_N "(cached) $ECHO_C" >&6
6206 lt_prog_compiler_static_works=no
6207 save_LDFLAGS="$LDFLAGS"
6208 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6209 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6210 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6211 # The compiler can only warn and ignore the option if not recognized
6212 # So say no if there are warnings
6213 if test -s conftest.err; then
6214 # Append any errors to the config.log.
6215 cat conftest.err 1>&5
6217 lt_prog_compiler_static_works=yes
6221 LDFLAGS="$save_LDFLAGS"
6224 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6225 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6227 if test x"$lt_prog_compiler_static_works" = xyes; then
6230 lt_prog_compiler_static=
6236 ## There is no encapsulation within the following macros, do not change
6237 ## the running order or otherwise move them around unless you know exactly
6238 ## what you are doing...
6240 lt_prog_compiler_no_builtin_flag=
6242 if test "$GCC" = yes; then
6243 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6245 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6246 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6247 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6248 echo $ECHO_N "(cached) $ECHO_C" >&6
6250 lt_cv_prog_compiler_rtti_exceptions=no
6251 ac_outfile=conftest.$ac_objext
6252 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6253 lt_compiler_flag="-fno-rtti -fno-exceptions"
6254 # Insert the option either (1) after the last *FLAGS variable, or
6255 # (2) before a word containing "conftest.", or (3) at the end.
6256 # Note that $ac_compile itself does not contain backslashes and begins
6257 # with a dollar sign (not a hyphen), so the echo should work correctly.
6258 # The option is referenced via a variable to avoid confusing sed.
6259 lt_compile=`echo "$ac_compile" | $SED \
6260 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6261 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6262 -e 's:$: $lt_compiler_flag:'`
6263 (eval echo "\"\$as_me:6263: $lt_compile\"" >&5)
6264 (eval "$lt_compile" 2>conftest.err)
6266 cat conftest.err >&5
6267 echo "$as_me:6267: \$? = $ac_status" >&5
6268 if (exit $ac_status) && test -s "$ac_outfile"; then
6269 # The compiler can only warn and ignore the option if not recognized
6270 # So say no if there are warnings
6271 if test ! -s conftest.err; then
6272 lt_cv_prog_compiler_rtti_exceptions=yes
6278 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6279 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6281 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6282 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6289 lt_prog_compiler_wl=
6290 lt_prog_compiler_pic=
6291 lt_prog_compiler_static=
6293 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6294 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6296 if test "$GCC" = yes; then
6297 lt_prog_compiler_wl='-Wl,'
6298 lt_prog_compiler_static='-static'
6302 # All AIX code is PIC.
6303 if test "$host_cpu" = ia64; then
6304 # AIX 5 now supports IA64 processor
6305 lt_prog_compiler_static='-Bstatic'
6310 # FIXME: we need at least 68020 code to build shared libraries, but
6311 # adding the `-m68020' flag to GCC prevents building anything better,
6313 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6316 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6317 # PIC is the default for these OSes.
6320 mingw* | pw32* | os2*)
6321 # This hack is so that the source file can tell whether it is being
6322 # built for inclusion in a dll (and should export symbols for example).
6323 lt_prog_compiler_pic='-DDLL_EXPORT'
6326 darwin* | rhapsody*)
6327 # PIC is the default on this platform
6328 # Common symbols not allowed in MH_DYLIB files
6329 lt_prog_compiler_pic='-fno-common'
6333 # Just because we use GCC doesn't mean we suddenly get shared libraries
6334 # on systems that don't support them.
6335 lt_prog_compiler_can_build_shared=no
6340 if test -d /usr/nec; then
6341 lt_prog_compiler_pic=-Kconform_pic
6346 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6353 lt_prog_compiler_pic='-fPIC'
6359 lt_prog_compiler_pic='-fPIC'
6363 # PORTME Check for flag to pass linker flags through the system compiler.
6366 lt_prog_compiler_wl='-Wl,'
6367 if test "$host_cpu" = ia64; then
6368 # AIX 5 now supports IA64 processor
6369 lt_prog_compiler_static='-Bstatic'
6371 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6375 mingw* | pw32* | os2*)
6376 # This hack is so that the source file can tell whether it is being
6377 # built for inclusion in a dll (and should export symbols for example).
6378 lt_prog_compiler_pic='-DDLL_EXPORT'
6381 hpux9* | hpux10* | hpux11*)
6382 lt_prog_compiler_wl='-Wl,'
6383 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6390 lt_prog_compiler_pic='+Z'
6393 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6394 lt_prog_compiler_static='${wl}-a ${wl}archive'
6397 irix5* | irix6* | nonstopux*)
6398 lt_prog_compiler_wl='-Wl,'
6399 # PIC (with -KPIC) is the default.
6400 lt_prog_compiler_static='-non_shared'
6404 lt_prog_compiler_pic='-KPIC'
6405 lt_prog_compiler_static='-Bstatic'
6411 lt_prog_compiler_wl='-Wl,'
6412 lt_prog_compiler_pic='-KPIC'
6413 lt_prog_compiler_static='-static'
6416 lt_prog_compiler_wl='-Wl,'
6417 # All Alpha code is PIC.
6418 lt_prog_compiler_static='-non_shared'
6423 osf3* | osf4* | osf5*)
6424 lt_prog_compiler_wl='-Wl,'
6425 # All OSF/1 code is PIC.
6426 lt_prog_compiler_static='-non_shared'
6430 lt_prog_compiler_pic='-Kpic'
6431 lt_prog_compiler_static='-dn'
6435 lt_prog_compiler_wl='-Wl,'
6436 lt_prog_compiler_pic='-KPIC'
6437 lt_prog_compiler_static='-Bstatic'
6441 lt_prog_compiler_wl='-Qoption ld '
6442 lt_prog_compiler_pic='-PIC'
6443 lt_prog_compiler_static='-Bstatic'
6446 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6447 lt_prog_compiler_wl='-Wl,'
6448 lt_prog_compiler_pic='-KPIC'
6449 lt_prog_compiler_static='-Bstatic'
6453 if test -d /usr/nec ;then
6454 lt_prog_compiler_pic='-Kconform_pic'
6455 lt_prog_compiler_static='-Bstatic'
6460 lt_prog_compiler_pic='-pic'
6461 lt_prog_compiler_static='-Bstatic'
6465 lt_prog_compiler_can_build_shared=no
6470 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6471 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6474 # Check to make sure the PIC flag actually works.
6476 if test -n "$lt_prog_compiler_pic"; then
6477 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6478 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6479 if test "${lt_prog_compiler_pic_works+set}" = set; then
6480 echo $ECHO_N "(cached) $ECHO_C" >&6
6482 lt_prog_compiler_pic_works=no
6483 ac_outfile=conftest.$ac_objext
6484 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6485 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6486 # Insert the option either (1) after the last *FLAGS variable, or
6487 # (2) before a word containing "conftest.", or (3) at the end.
6488 # Note that $ac_compile itself does not contain backslashes and begins
6489 # with a dollar sign (not a hyphen), so the echo should work correctly.
6490 # The option is referenced via a variable to avoid confusing sed.
6491 lt_compile=`echo "$ac_compile" | $SED \
6492 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6493 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6494 -e 's:$: $lt_compiler_flag:'`
6495 (eval echo "\"\$as_me:6495: $lt_compile\"" >&5)
6496 (eval "$lt_compile" 2>conftest.err)
6498 cat conftest.err >&5
6499 echo "$as_me:6499: \$? = $ac_status" >&5
6500 if (exit $ac_status) && test -s "$ac_outfile"; then
6501 # The compiler can only warn and ignore the option if not recognized
6502 # So say no if there are warnings
6503 if test ! -s conftest.err; then
6504 lt_prog_compiler_pic_works=yes
6510 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6511 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6513 if test x"$lt_prog_compiler_pic_works" = xyes; then
6514 case $lt_prog_compiler_pic in
6516 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6519 lt_prog_compiler_pic=
6520 lt_prog_compiler_can_build_shared=no
6525 # For platforms which do not support PIC, -DPIC is meaningless:
6527 lt_prog_compiler_pic=
6530 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6534 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6535 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6536 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6537 echo $ECHO_N "(cached) $ECHO_C" >&6
6539 lt_cv_prog_compiler_c_o=no
6540 $rm -r conftest 2>/dev/null
6544 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6546 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6547 # that will create temporary files in the current directory regardless of
6548 # the output directory. Thus, making CWD read-only will cause this test
6549 # to fail, enabling locking or at least warning the user not to do parallel
6553 lt_compiler_flag="-o out/conftest2.$ac_objext"
6554 # Insert the option either (1) after the last *FLAGS variable, or
6555 # (2) before a word containing "conftest.", or (3) at the end.
6556 # Note that $ac_compile itself does not contain backslashes and begins
6557 # with a dollar sign (not a hyphen), so the echo should work correctly.
6558 lt_compile=`echo "$ac_compile" | $SED \
6559 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6560 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6561 -e 's:$: $lt_compiler_flag:'`
6562 (eval echo "\"\$as_me:6562: $lt_compile\"" >&5)
6563 (eval "$lt_compile" 2>out/conftest.err)
6565 cat out/conftest.err >&5
6566 echo "$as_me:6566: \$? = $ac_status" >&5
6567 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6569 # The compiler can only warn and ignore the option if not recognized
6570 # So say no if there are warnings
6571 if test ! -s out/conftest.err; then
6572 lt_cv_prog_compiler_c_o=yes
6583 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6584 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6587 hard_links="nottested"
6588 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6589 # do not overwrite the value of need_locks provided by the user
6590 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6591 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6594 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6596 ln conftest.a conftest.b 2>&5 || hard_links=no
6597 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6598 echo "$as_me:$LINENO: result: $hard_links" >&5
6599 echo "${ECHO_T}$hard_links" >&6
6600 if test "$hard_links" = no; then
6601 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6602 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6609 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6610 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6613 allow_undefined_flag=
6614 enable_shared_with_static_runtimes=no
6616 archive_expsym_cmds=
6617 old_archive_From_new_cmds=
6618 old_archive_from_expsyms_cmds=
6619 export_dynamic_flag_spec=
6620 whole_archive_flag_spec=
6621 thread_safe_flag_spec=
6622 hardcode_libdir_flag_spec=
6623 hardcode_libdir_flag_spec_ld=
6624 hardcode_libdir_separator=
6627 hardcode_shlibpath_var=unsupported
6628 link_all_deplibs=unknown
6629 hardcode_automatic=no
6632 always_export_symbols=no
6633 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6634 # include_expsyms should be a list of space-separated symbols to be *always*
6635 # included in the symbol list
6637 # exclude_expsyms can be an extended regexp of symbols to exclude
6638 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6639 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6640 # as well as any symbol that contains `d'.
6641 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6642 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6643 # platforms (ab)use it in PIC code, but their linkers get confused if
6644 # the symbol is explicitly referenced. Since portable code cannot
6645 # rely on this symbol name, it's probably fine to never include it in
6646 # preloaded symbol tables.
6647 extract_expsyms_cmds=
6650 cygwin* | mingw* | pw32*)
6651 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6652 # When not using gcc, we currently assume that we are using
6653 # Microsoft Visual C++.
6654 if test "$GCC" != yes; then
6664 if test "$with_gnu_ld" = yes; then
6665 # If archive_cmds runs LD, not CC, wlarc should be empty
6668 # See if GNU ld supports shared libraries.
6670 aix3* | aix4* | aix5*)
6671 # On AIX/PPC, the GNU linker is very broken
6672 if test "$host_cpu" != ia64; then
6676 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6677 *** to be unable to reliably create shared libraries on AIX.
6678 *** Therefore, libtool is disabling shared libraries support. If you
6679 *** really care for shared libraries, you may want to modify your PATH
6680 *** so that a non-GNU linker is found, and then restart.
6687 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)'
6688 hardcode_libdir_flag_spec='-L$libdir'
6689 hardcode_minus_L=yes
6691 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6692 # that the semantics of dynamic libraries on AmigaOS, at least up
6693 # to version 4, is to share data among multiple programs linked
6694 # with the same dynamic library. Since this doesn't match the
6695 # behavior of shared libraries on other platforms, we can't use
6701 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6702 allow_undefined_flag=unsupported
6703 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6704 # support --undefined. This deserves some investigation. FIXME
6705 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6711 cygwin* | mingw* | pw32*)
6712 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6713 # as there is no search path for DLLs.
6714 hardcode_libdir_flag_spec='-L$libdir'
6715 allow_undefined_flag=unsupported
6716 always_export_symbols=no
6717 enable_shared_with_static_runtimes=yes
6718 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6720 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6721 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6722 # If the export-symbols file already is a .def file (1st line
6723 # is EXPORTS), use it as is; otherwise, prepend...
6724 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6725 cp $export_symbols $output_objdir/$soname.def;
6727 echo EXPORTS > $output_objdir/$soname.def;
6728 cat $export_symbols >> $output_objdir/$soname.def;
6730 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6737 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6738 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6741 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6742 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6747 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6751 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6752 *** create shared libraries on Solaris systems. Therefore, libtool
6753 *** is disabling shared libraries support. We urge you to upgrade GNU
6754 *** binutils to release 2.9.1 or newer. Another option is to modify
6755 *** your PATH or compiler configuration so that the native linker is
6756 *** used, and then restart.
6759 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6760 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6761 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6768 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6771 hardcode_shlibpath_var=no
6775 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6776 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6777 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6784 if test "$ld_shlibs" = yes; then
6785 runpath_var=LD_RUN_PATH
6786 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6787 export_dynamic_flag_spec='${wl}--export-dynamic'
6788 # ancient GNU ld didn't support --whole-archive et. al.
6789 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6790 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6792 whole_archive_flag_spec=
6796 # PORTME fill in a description of your system's linker (not GNU ld)
6799 allow_undefined_flag=unsupported
6800 always_export_symbols=yes
6801 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'
6802 # Note: this linker hardcodes the directories in LIBPATH if there
6803 # are no directories specified by -L.
6804 hardcode_minus_L=yes
6805 if test "$GCC" = yes && test -z "$link_static_flag"; then
6806 # Neither direct hardcoding nor static linking is supported with a
6808 hardcode_direct=unsupported
6813 if test "$host_cpu" = ia64; then
6814 # On IA64, the linker does run time linking by default, so we don't
6815 # have to do anything special.
6816 aix_use_runtimelinking=no
6817 exp_sym_flag='-Bexport'
6820 # If we're using GNU nm, then we don't want the "-C" option.
6821 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6822 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6823 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'
6825 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'
6827 aix_use_runtimelinking=no
6829 # Test if we are trying to use run time linking or normal
6830 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6831 # need to do runtime linking.
6832 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6833 for ld_flag in $LDFLAGS; do
6834 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6835 aix_use_runtimelinking=yes
6841 exp_sym_flag='-bexport'
6842 no_entry_flag='-bnoentry'
6845 # When large executables or shared objects are built, AIX ld can
6846 # have problems creating the table of contents. If linking a library
6847 # or program results in "error TOC overflow" add -mminimal-toc to
6848 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6849 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6853 hardcode_libdir_separator=':'
6854 link_all_deplibs=yes
6856 if test "$GCC" = yes; then
6857 case $host_os in aix4.012|aix4.012.*)
6858 # We only want to do this on AIX 4.2 and lower, the check
6859 # below for broken collect2 doesn't work under 4.3+
6860 collect2name=`${CC} -print-prog-name=collect2`
6861 if test -f "$collect2name" && \
6862 strings "$collect2name" | grep resolve_lib_name >/dev/null
6864 # We have reworked collect2
6867 # We have old collect2
6868 hardcode_direct=unsupported
6869 # It fails to find uninstalled libraries when the uninstalled
6870 # path is not listed in the libpath. Setting hardcode_minus_L
6871 # to unsupported forces relinking
6872 hardcode_minus_L=yes
6873 hardcode_libdir_flag_spec='-L$libdir'
6874 hardcode_libdir_separator=
6877 shared_flag='-shared'
6880 if test "$host_cpu" = ia64; then
6881 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6882 # chokes on -Wl,-G. The following line is correct:
6885 if test "$aix_use_runtimelinking" = yes; then
6886 shared_flag='${wl}-G'
6888 shared_flag='${wl}-bM:SRE'
6893 # It seems that -bexpall does not export symbols beginning with
6894 # underscore (_), so it is better to generate a list of symbols to export.
6895 always_export_symbols=yes
6896 if test "$aix_use_runtimelinking" = yes; then
6897 # Warning - without using the other runtime loading flags (-brtl),
6898 # -berok will link without error, but may produce a broken library.
6899 allow_undefined_flag='-berok'
6900 # Determine the default libpath from the value encoded in an empty executable.
6901 cat >conftest.$ac_ext <<_ACEOF
6902 #line $LINENO "configure"
6905 cat confdefs.h >>conftest.$ac_ext
6906 cat >>conftest.$ac_ext <<_ACEOF
6907 /* end confdefs.h. */
6917 rm -f conftest.$ac_objext conftest$ac_exeext
6918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6919 (eval $ac_link) 2>&5
6921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922 (exit $ac_status); } &&
6923 { ac_try='test -s conftest$ac_exeext'
6924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6928 (exit $ac_status); }; }; then
6930 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6932 # Check for a 64-bit object if we didn't find anything.
6933 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; }
6936 echo "$as_me: failed program was:" >&5
6937 sed 's/^/| /' conftest.$ac_ext >&5
6940 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6941 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6943 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6944 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"
6946 if test "$host_cpu" = ia64; then
6947 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6948 allow_undefined_flag="-z nodefs"
6949 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"
6951 # Determine the default libpath from the value encoded in an empty executable.
6952 cat >conftest.$ac_ext <<_ACEOF
6953 #line $LINENO "configure"
6956 cat confdefs.h >>conftest.$ac_ext
6957 cat >>conftest.$ac_ext <<_ACEOF
6958 /* end confdefs.h. */
6968 rm -f conftest.$ac_objext conftest$ac_exeext
6969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6970 (eval $ac_link) 2>&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } &&
6974 { ac_try='test -s conftest$ac_exeext'
6975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 (exit $ac_status); }; }; then
6981 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6983 # Check for a 64-bit object if we didn't find anything.
6984 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; }
6987 echo "$as_me: failed program was:" >&5
6988 sed 's/^/| /' conftest.$ac_ext >&5
6991 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6992 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6994 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6995 # Warning - without using the other run time loading flags,
6996 # -berok will link without error, but may produce a broken library.
6997 no_undefined_flag=' ${wl}-bernotok'
6998 allow_undefined_flag=' ${wl}-berok'
6999 # -bexpall does not export symbols beginning with underscore (_)
7000 always_export_symbols=yes
7001 # Exported symbols can be pulled into shared objects from archives
7002 whole_archive_flag_spec=' '
7003 archive_cmds_need_lc=yes
7004 # This is similar to how AIX traditionally builds it's shared libraries.
7005 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'
7011 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)'
7012 hardcode_libdir_flag_spec='-L$libdir'
7013 hardcode_minus_L=yes
7014 # see comment about different semantics on the GNU ld section
7019 export_dynamic_flag_spec=-rdynamic
7022 cygwin* | mingw* | pw32*)
7023 # When not using gcc, we currently assume that we are using
7024 # Microsoft Visual C++.
7025 # hardcode_libdir_flag_spec is actually meaningless, as there is
7026 # no search path for DLLs.
7027 hardcode_libdir_flag_spec=' '
7028 allow_undefined_flag=unsupported
7029 # Tell ltmain to make .lib files, not .a files.
7031 # Tell ltmain to make .dll files, not .so files.
7033 # FIXME: Setting linknames here is a bad hack.
7034 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7035 # The linker will automatically build a .lib file if we build a DLL.
7036 old_archive_From_new_cmds='true'
7037 # FIXME: Should let the user specify the lib program.
7038 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7039 fix_srcfile_path='`cygpath -w "$srcfile"`'
7040 enable_shared_with_static_runtimes=yes
7043 darwin* | rhapsody*)
7044 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7045 archive_cmds_need_lc=no
7047 rhapsody* | darwin1.[012])
7048 allow_undefined_flag='-undefined suppress'
7051 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7054 # FIXME: Relying on posixy $() will cause problems for
7055 # cross-compilation, but unfortunately the echo tests do not
7056 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7057 # `"' quotes if we put them in here... so don't!
7058 lt_int_apple_cc_single_mod=no
7059 output_verbose_link_cmd='echo'
7060 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7061 lt_int_apple_cc_single_mod=yes
7063 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7064 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7066 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'
7068 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7069 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7070 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7071 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}'
7073 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}'
7075 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}'
7077 hardcode_automatic=yes
7078 hardcode_shlibpath_var=unsupported
7079 whole_archive_flag_spec='-all_load $convenience'
7080 link_all_deplibs=yes
7085 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7086 hardcode_libdir_flag_spec='-L$libdir'
7087 hardcode_shlibpath_var=no
7094 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7095 # support. Future versions do this automatically, but an explicit c++rt0.o
7096 # does not break anything, and helps significantly (at the cost of a little
7099 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7100 hardcode_libdir_flag_spec='-R$libdir'
7102 hardcode_shlibpath_var=no
7105 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7107 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7109 hardcode_minus_L=yes
7110 hardcode_shlibpath_var=no
7113 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7115 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7116 hardcode_libdir_flag_spec='-R$libdir'
7118 hardcode_shlibpath_var=no
7122 if test "$GCC" = yes; then
7123 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'
7125 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'
7127 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7128 hardcode_libdir_separator=:
7131 # hardcode_minus_L: Not really in the search PATH,
7132 # but as the default location of the library.
7133 hardcode_minus_L=yes
7134 export_dynamic_flag_spec='${wl}-E'
7138 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7141 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7144 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7150 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7153 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7157 if test "$with_gnu_ld" = no; then
7160 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7161 hardcode_libdir_flag_spec_ld='+b $libdir'
7162 hardcode_libdir_separator=:
7164 hardcode_shlibpath_var=no
7167 hardcode_libdir_flag_spec='-L$libdir'
7169 hardcode_shlibpath_var=no
7171 # hardcode_minus_L: Not really in the search PATH,
7172 # but as the default location of the library.
7173 hardcode_minus_L=yes
7176 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7177 hardcode_libdir_separator=:
7179 export_dynamic_flag_spec='${wl}-E'
7181 # hardcode_minus_L: Not really in the search PATH,
7182 # but as the default location of the library.
7183 hardcode_minus_L=yes
7189 irix5* | irix6* | nonstopux*)
7190 if test "$GCC" = yes; then
7191 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'
7193 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'
7194 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7196 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7197 hardcode_libdir_separator=:
7198 link_all_deplibs=yes
7202 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7203 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7205 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7207 hardcode_libdir_flag_spec='-R$libdir'
7209 hardcode_shlibpath_var=no
7213 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7215 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7216 hardcode_libdir_separator=:
7217 hardcode_shlibpath_var=no
7222 hardcode_shlibpath_var=no
7223 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7224 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7225 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7226 export_dynamic_flag_spec='${wl}-E'
7229 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7230 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7231 hardcode_libdir_flag_spec='-R$libdir'
7234 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7235 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7242 hardcode_libdir_flag_spec='-L$libdir'
7243 hardcode_minus_L=yes
7244 allow_undefined_flag=unsupported
7245 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'
7246 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7250 if test "$GCC" = yes; then
7251 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7252 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'
7254 allow_undefined_flag=' -expect_unresolved \*'
7255 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'
7257 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7258 hardcode_libdir_separator=:
7261 osf4* | osf5*) # as osf3* with the addition of -msym flag
7262 if test "$GCC" = yes; then
7263 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7264 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'
7265 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7267 allow_undefined_flag=' -expect_unresolved \*'
7268 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'
7269 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7270 $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'
7272 # Both c and cxx compiler support -rpath directly
7273 hardcode_libdir_flag_spec='-rpath $libdir'
7275 hardcode_libdir_separator=:
7279 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7280 hardcode_shlibpath_var=no
7281 export_dynamic_flag_spec='${wl}-Bexport'
7282 runpath_var=LD_RUN_PATH
7283 hardcode_runpath_var=yes
7287 no_undefined_flag=' -z text'
7288 if test "$GCC" = yes; then
7289 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7290 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7291 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7293 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7294 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7295 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7297 hardcode_libdir_flag_spec='-R$libdir'
7298 hardcode_shlibpath_var=no
7300 solaris2.[0-5] | solaris2.[0-5].*) ;;
7301 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7302 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7304 link_all_deplibs=yes
7308 if test "x$host_vendor" = xsequent; then
7309 # Use $CC to link under sequent, because it throws in some extra .o
7310 # files that make .init and .fini sections work.
7311 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7313 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7315 hardcode_libdir_flag_spec='-L$libdir'
7317 hardcode_minus_L=yes
7318 hardcode_shlibpath_var=no
7322 case $host_vendor in
7324 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7325 hardcode_direct=yes # is this really true???
7328 ## LD is ld it makes a PLAMLIB
7329 ## CC just makes a GrossModule.
7330 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7331 reload_cmds='$CC -r -o $output$reload_objs'
7335 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7336 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7339 runpath_var='LD_RUN_PATH'
7340 hardcode_shlibpath_var=no
7344 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7345 hardcode_shlibpath_var=no
7346 export_dynamic_flag_spec='-Bexport'
7350 if test -d /usr/nec; then
7351 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7352 hardcode_shlibpath_var=no
7353 runpath_var=LD_RUN_PATH
7354 hardcode_runpath_var=yes
7360 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7363 hardcode_shlibpath_var=no
7364 hardcode_runpath_var=yes
7365 runpath_var=LD_RUN_PATH
7368 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7369 no_undefined_flag='${wl}-z ${wl}text'
7370 if test "$GCC" = yes; then
7371 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7373 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7375 runpath_var='LD_RUN_PATH'
7376 hardcode_shlibpath_var=no
7380 no_undefined_flag=' -z text'
7381 # $CC -shared without GNU ld will not create a library from C++
7382 # object files and a static libstdc++, better avoid it by now
7383 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7384 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7385 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7386 hardcode_libdir_flag_spec=
7387 hardcode_shlibpath_var=no
7388 runpath_var='LD_RUN_PATH'
7392 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7393 hardcode_libdir_flag_spec='-L$libdir'
7394 hardcode_shlibpath_var=no
7403 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7404 echo "${ECHO_T}$ld_shlibs" >&6
7405 test "$ld_shlibs" = no && can_build_shared=no
7407 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7408 if test "$GCC" = yes; then
7409 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7413 # Do we need to explicitly link libc?
7415 case "x$archive_cmds_need_lc" in
7417 # Assume -lc should be added
7418 archive_cmds_need_lc=yes
7420 if test "$enable_shared" = yes && test "$GCC" = yes; then
7421 case $archive_cmds in
7423 # FIXME: we may have to deal with multi-command sequences.
7426 # Test whether the compiler implicitly links with -lc since on some
7427 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7428 # to ld, don't add -lc before -lgcc.
7429 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7430 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7432 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7435 (eval $ac_compile) 2>&5
7437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7438 (exit $ac_status); } 2>conftest.err; then
7441 libobjs=conftest.$ac_objext
7443 wl=$lt_prog_compiler_wl
7449 lt_save_allow_undefined_flag=$allow_undefined_flag
7450 allow_undefined_flag=
7451 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7452 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); }
7457 archive_cmds_need_lc=no
7459 archive_cmds_need_lc=yes
7461 allow_undefined_flag=$lt_save_allow_undefined_flag
7463 cat conftest.err 1>&5
7466 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7467 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7474 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7475 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7477 if test -n "$hardcode_libdir_flag_spec" || \
7478 test -n "$runpath_var " || \
7479 test "X$hardcode_automatic"="Xyes" ; then
7481 # We can hardcode non-existant directories.
7482 if test "$hardcode_direct" != no &&
7483 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7484 # have to relink, otherwise we might link with an installed library
7485 # when we should be linking with a yet-to-be-installed one
7486 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7487 test "$hardcode_minus_L" != no; then
7488 # Linking always hardcodes the temporary library directory.
7489 hardcode_action=relink
7491 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7492 hardcode_action=immediate
7495 # We cannot hardcode anything, or else we can only hardcode existing
7497 hardcode_action=unsupported
7499 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7500 echo "${ECHO_T}$hardcode_action" >&6
7502 if test "$hardcode_action" = relink; then
7503 # Fast installation is not supported
7504 enable_fast_install=no
7505 elif test "$shlibpath_overrides_runpath" = yes ||
7506 test "$enable_shared" = no; then
7507 # Fast installation is not necessary
7508 enable_fast_install=needless
7513 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7514 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7515 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7516 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7517 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7518 echo "$as_me:$LINENO: result: yes" >&5
7519 echo "${ECHO_T}yes" >&6
7521 # FIXME - insert some real tests, host_os isn't really good enough
7524 if test -n "$STRIP" ; then
7525 striplib="$STRIP -x"
7526 echo "$as_me:$LINENO: result: yes" >&5
7527 echo "${ECHO_T}yes" >&6
7529 echo "$as_me:$LINENO: result: no" >&5
7530 echo "${ECHO_T}no" >&6
7534 echo "$as_me:$LINENO: result: no" >&5
7535 echo "${ECHO_T}no" >&6
7540 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7541 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7543 libname_spec='lib$name'
7551 shlibpath_overrides_runpath=unknown
7553 dynamic_linker="$host_os ld.so"
7554 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7555 if test "$GCC" = yes; then
7556 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7557 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7558 # if the path contains ";" then we assume it to be the separator
7559 # otherwise default to the standard path separator (i.e. ":") - it is
7560 # assumed that no part of a normal pathname contains ";" but that should
7561 # okay in the real world where ";" in dirpaths is itself problematic.
7562 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7564 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7567 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7569 need_lib_prefix=unknown
7570 hardcode_into_libs=no
7572 # when you set need_version to no, make sure it does not cause -set_version
7573 # flags to be left without arguments
7574 need_version=unknown
7579 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7580 shlibpath_var=LIBPATH
7582 # AIX 3 has no versioning support, so we append a major version to the name.
7583 soname_spec='${libname}${release}${shared_ext}$major'
7590 hardcode_into_libs=yes
7591 if test "$host_cpu" = ia64; then
7592 # AIX 5 supports IA64
7593 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7594 shlibpath_var=LD_LIBRARY_PATH
7596 # With GCC up to 2.95.x, collect2 would create an import file
7597 # for dependence libraries. The import file would start with
7598 # the line `#! .'. This would cause the generated library to
7599 # depend on `.', always an invalid library. This was fixed in
7600 # development snapshots of GCC prior to 3.0.
7602 aix4 | aix4.[01] | aix4.[01].*)
7603 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7605 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7612 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7613 # soname into executable. Probably we can add versioning support to
7614 # collect2, so additional links can be useful in future.
7615 if test "$aix_use_runtimelinking" = yes; then
7616 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7617 # instead of lib<name>.a to let people know that these are not
7618 # typical AIX shared libraries.
7619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7621 # We preserve .a as extension for shared libraries through AIX4.2
7622 # and later when we are not doing run time linking.
7623 library_names_spec='${libname}${release}.a $libname.a'
7624 soname_spec='${libname}${release}${shared_ext}$major'
7626 shlibpath_var=LIBPATH
7631 library_names_spec='$libname.ixlibrary $libname.a'
7632 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7633 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'
7637 library_names_spec='${libname}${shared_ext}'
7638 dynamic_linker="$host_os ld.so"
7639 shlibpath_var=LIBRARY_PATH
7645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7646 soname_spec='${libname}${release}${shared_ext}$major'
7647 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7648 shlibpath_var=LD_LIBRARY_PATH
7649 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7650 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7651 # the default ld.so.conf also contains /usr/contrib/lib and
7652 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7653 # libtool to hard-code these into programs
7656 cygwin* | mingw* | pw32*)
7657 version_type=windows
7662 case $GCC,$host_os in
7663 yes,cygwin* | yes,mingw* | yes,pw32*)
7664 library_names_spec='$libname.dll.a'
7665 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7666 postinstall_cmds='base_file=`basename \${file}`~
7667 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7668 dldir=$destdir/`dirname \$dlpath`~
7669 test -d \$dldir || mkdir -p \$dldir~
7670 $install_prog $dir/$dlname \$dldir/$dlname'
7671 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7672 dlpath=$dir/\$dldll~
7674 shlibpath_overrides_runpath=yes
7678 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7679 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7680 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7683 # MinGW DLLs use traditional 'lib' prefix
7684 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7685 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7686 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7687 # It is most probably a Windows format PATH printed by
7688 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7689 # path with ; separators, and with drive letters. We can handle the
7690 # drive letters (cygwin fileutils understands them), so leave them,
7691 # especially as we might pass files found there to a mingw objdump,
7692 # which wouldn't understand a cygwinified path. Ahh.
7693 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7695 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7699 # pw32 DLLs use 'pw' prefix rather than 'lib'
7700 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7706 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7709 dynamic_linker='Win32 ld.exe'
7710 # FIXME: first we should search . and the directory the executable is in
7714 darwin* | rhapsody*)
7715 dynamic_linker="$host_os dyld"
7719 # FIXME: Relying on posixy $() will cause problems for
7720 # cross-compilation, but unfortunately the echo tests do not
7721 # yet detect zsh echo's removal of \ escapes.
7722 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7723 soname_spec='${libname}${release}${major}$shared_ext'
7724 shlibpath_overrides_runpath=yes
7725 shlibpath_var=DYLD_LIBRARY_PATH
7726 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7727 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7728 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7729 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"`
7731 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7739 soname_spec='${libname}${release}${shared_ext}$major'
7740 shlibpath_var=LD_LIBRARY_PATH
7748 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7749 version_type=freebsd-$objformat
7750 case $version_type in
7752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7757 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7761 shlibpath_var=LD_LIBRARY_PATH
7764 shlibpath_overrides_runpath=yes
7766 freebsd3.01* | freebsdelf3.01*)
7767 shlibpath_overrides_runpath=yes
7768 hardcode_into_libs=yes
7771 shlibpath_overrides_runpath=no
7772 hardcode_into_libs=yes
7781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7782 soname_spec='${libname}${release}${shared_ext}$major'
7783 shlibpath_var=LD_LIBRARY_PATH
7784 hardcode_into_libs=yes
7787 hpux9* | hpux10* | hpux11*)
7788 # Give a soname corresponding to the major version so that dld.sl refuses to
7789 # link against other versions.
7796 hardcode_into_libs=yes
7797 dynamic_linker="$host_os dld.so"
7798 shlibpath_var=LD_LIBRARY_PATH
7799 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7801 soname_spec='${libname}${release}${shared_ext}$major'
7802 if test "X$HPUX_IA64_MODE" = X32; then
7803 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7805 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7807 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7811 hardcode_into_libs=yes
7812 dynamic_linker="$host_os dld.sl"
7813 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7814 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7816 soname_spec='${libname}${release}${shared_ext}$major'
7817 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7818 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7822 dynamic_linker="$host_os dld.sl"
7823 shlibpath_var=SHLIB_PATH
7824 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7826 soname_spec='${libname}${release}${shared_ext}$major'
7829 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7830 postinstall_cmds='chmod 555 $lib'
7833 irix5* | irix6* | nonstopux*)
7835 nonstopux*) version_type=nonstopux ;;
7837 if test "$lt_cv_prog_gnu_ld" = yes; then
7845 soname_spec='${libname}${release}${shared_ext}$major'
7846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7848 irix5* | nonstopux*)
7852 case $LD in # libtool.m4 will add one of these switches to LD
7853 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7854 libsuff= shlibsuff= libmagic=32-bit;;
7855 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7856 libsuff=32 shlibsuff=N32 libmagic=N32;;
7857 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7858 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7859 *) libsuff= shlibsuff= libmagic=never-match;;
7863 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7864 shlibpath_overrides_runpath=no
7865 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7866 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7867 hardcode_into_libs=yes
7870 # No shared lib support for Linux oldld, aout, or coff.
7871 linux*oldld* | linux*aout* | linux*coff*)
7875 # This must be Linux ELF.
7880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7881 soname_spec='${libname}${release}${shared_ext}$major'
7882 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7883 shlibpath_var=LD_LIBRARY_PATH
7884 shlibpath_overrides_runpath=no
7885 # This implies no fast_install, which is unacceptable.
7886 # Some rework will be needed to allow for fast_install
7887 # before this can be enabled.
7888 hardcode_into_libs=yes
7890 # We used to test for /lib/ld.so.1 and disable shared libraries on
7891 # powerpc, because MkLinux only supported shared libraries with the
7892 # GNU dynamic linker. Since this was broken with cross compilers,
7893 # most powerpc-linux boxes support dynamic linking these days and
7894 # people can always --disable-shared, the test was removed, and we
7895 # assume the GNU/Linux dynamic linker is in use.
7896 dynamic_linker='GNU/Linux ld.so'
7903 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7904 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7905 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7906 dynamic_linker='NetBSD (a.out) ld.so'
7908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7909 soname_spec='${libname}${release}${shared_ext}$major'
7910 dynamic_linker='NetBSD ld.elf_so'
7912 shlibpath_var=LD_LIBRARY_PATH
7913 shlibpath_overrides_runpath=yes
7914 hardcode_into_libs=yes
7919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7920 shlibpath_var=LD_LIBRARY_PATH
7921 shlibpath_overrides_runpath=yes
7928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7929 soname_spec='${libname}${release}${shared_ext}$major'
7930 shlibpath_var=LD_LIBRARY_PATH
7931 shlibpath_overrides_runpath=yes
7938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7939 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7940 shlibpath_var=LD_LIBRARY_PATH
7941 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7943 openbsd2.[89] | openbsd2.[89].*)
7944 shlibpath_overrides_runpath=no
7947 shlibpath_overrides_runpath=yes
7951 shlibpath_overrides_runpath=yes
7956 libname_spec='$name'
7959 library_names_spec='$libname${shared_ext} $libname.a'
7960 dynamic_linker='OS/2 ld.exe'
7961 shlibpath_var=LIBPATH
7964 osf3* | osf4* | osf5*)
7968 soname_spec='${libname}${release}${shared_ext}$major'
7969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7970 shlibpath_var=LD_LIBRARY_PATH
7971 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7972 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7977 soname_spec='${libname}${release}${shared_ext}$major'
7978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7979 shlibpath_var=LD_LIBRARY_PATH
7986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7987 soname_spec='${libname}${release}${shared_ext}$major'
7988 shlibpath_var=LD_LIBRARY_PATH
7989 shlibpath_overrides_runpath=yes
7990 hardcode_into_libs=yes
7991 # ldd complains unless libraries are executable
7992 postinstall_cmds='chmod +x $lib'
7997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7998 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7999 shlibpath_var=LD_LIBRARY_PATH
8000 shlibpath_overrides_runpath=yes
8001 if test "$with_gnu_ld" = yes; then
8007 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8010 soname_spec='${libname}${release}${shared_ext}$major'
8011 shlibpath_var=LD_LIBRARY_PATH
8012 case $host_vendor in
8014 shlibpath_overrides_runpath=no
8016 export_dynamic_flag_spec='${wl}-Blargedynsym'
8017 runpath_var=LD_RUN_PATH
8025 shlibpath_overrides_runpath=no
8026 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8032 if test -d /usr/nec ;then
8034 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8035 soname_spec='$libname${shared_ext}.$major'
8036 shlibpath_var=LD_LIBRARY_PATH
8042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8043 soname_spec='${libname}${release}${shared_ext}$major'
8044 shlibpath_var=LD_LIBRARY_PATH
8051 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8052 echo "${ECHO_T}$dynamic_linker" >&6
8053 test "$dynamic_linker" = no && can_build_shared=no
8055 if test "x$enable_dlopen" != xyes; then
8056 enable_dlopen=unknown
8057 enable_dlopen_self=unknown
8058 enable_dlopen_self_static=unknown
8065 lt_cv_dlopen="load_add_on"
8067 lt_cv_dlopen_self=yes
8071 lt_cv_dlopen="LoadLibrary"
8076 lt_cv_dlopen="dlopen"
8081 # if libdl is installed we need to link against it
8082 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8083 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8084 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8085 echo $ECHO_N "(cached) $ECHO_C" >&6
8087 ac_check_lib_save_LIBS=$LIBS
8089 cat >conftest.$ac_ext <<_ACEOF
8090 #line $LINENO "configure"
8093 cat confdefs.h >>conftest.$ac_ext
8094 cat >>conftest.$ac_ext <<_ACEOF
8095 /* end confdefs.h. */
8097 /* Override any gcc2 internal prototype to avoid an error. */
8101 /* We use char because int might match the return type of a gcc2
8102 builtin and then its argument prototype would still apply. */
8112 rm -f conftest.$ac_objext conftest$ac_exeext
8113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8114 (eval $ac_link) 2>&5
8116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8117 (exit $ac_status); } &&
8118 { ac_try='test -s conftest$ac_exeext'
8119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); }; }; then
8124 ac_cv_lib_dl_dlopen=yes
8126 echo "$as_me: failed program was:" >&5
8127 sed 's/^/| /' conftest.$ac_ext >&5
8129 ac_cv_lib_dl_dlopen=no
8131 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8132 LIBS=$ac_check_lib_save_LIBS
8134 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8135 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8136 if test $ac_cv_lib_dl_dlopen = yes; then
8137 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8142 lt_cv_dlopen_self=yes
8149 echo "$as_me:$LINENO: checking for shl_load" >&5
8150 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8151 if test "${ac_cv_func_shl_load+set}" = set; then
8152 echo $ECHO_N "(cached) $ECHO_C" >&6
8154 cat >conftest.$ac_ext <<_ACEOF
8155 #line $LINENO "configure"
8158 cat confdefs.h >>conftest.$ac_ext
8159 cat >>conftest.$ac_ext <<_ACEOF
8160 /* end confdefs.h. */
8161 /* System header to define __stub macros and hopefully few prototypes,
8162 which can conflict with char shl_load (); below.
8163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8164 <limits.h> exists even on freestanding compilers. */
8166 # include <limits.h>
8168 # include <assert.h>
8170 /* Override any gcc2 internal prototype to avoid an error. */
8175 /* We use char because int might match the return type of a gcc2
8176 builtin and then its argument prototype would still apply. */
8178 /* The GNU C library defines this for functions which it implements
8179 to always fail with ENOSYS. Some functions are actually named
8180 something starting with __ and the normal name is an alias. */
8181 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8184 char (*f) () = shl_load;
8193 return f != shl_load;
8198 rm -f conftest.$ac_objext conftest$ac_exeext
8199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8200 (eval $ac_link) 2>&5
8202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8203 (exit $ac_status); } &&
8204 { ac_try='test -s conftest$ac_exeext'
8205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209 (exit $ac_status); }; }; then
8210 ac_cv_func_shl_load=yes
8212 echo "$as_me: failed program was:" >&5
8213 sed 's/^/| /' conftest.$ac_ext >&5
8215 ac_cv_func_shl_load=no
8217 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8219 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8220 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8221 if test $ac_cv_func_shl_load = yes; then
8222 lt_cv_dlopen="shl_load"
8224 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8225 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8226 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8227 echo $ECHO_N "(cached) $ECHO_C" >&6
8229 ac_check_lib_save_LIBS=$LIBS
8231 cat >conftest.$ac_ext <<_ACEOF
8232 #line $LINENO "configure"
8235 cat confdefs.h >>conftest.$ac_ext
8236 cat >>conftest.$ac_ext <<_ACEOF
8237 /* end confdefs.h. */
8239 /* Override any gcc2 internal prototype to avoid an error. */
8243 /* We use char because int might match the return type of a gcc2
8244 builtin and then its argument prototype would still apply. */
8254 rm -f conftest.$ac_objext conftest$ac_exeext
8255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8256 (eval $ac_link) 2>&5
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 (exit $ac_status); } &&
8260 { ac_try='test -s conftest$ac_exeext'
8261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8265 (exit $ac_status); }; }; then
8266 ac_cv_lib_dld_shl_load=yes
8268 echo "$as_me: failed program was:" >&5
8269 sed 's/^/| /' conftest.$ac_ext >&5
8271 ac_cv_lib_dld_shl_load=no
8273 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8274 LIBS=$ac_check_lib_save_LIBS
8276 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8277 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8278 if test $ac_cv_lib_dld_shl_load = yes; then
8279 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8281 echo "$as_me:$LINENO: checking for dlopen" >&5
8282 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8283 if test "${ac_cv_func_dlopen+set}" = set; then
8284 echo $ECHO_N "(cached) $ECHO_C" >&6
8286 cat >conftest.$ac_ext <<_ACEOF
8287 #line $LINENO "configure"
8290 cat confdefs.h >>conftest.$ac_ext
8291 cat >>conftest.$ac_ext <<_ACEOF
8292 /* end confdefs.h. */
8293 /* System header to define __stub macros and hopefully few prototypes,
8294 which can conflict with char dlopen (); below.
8295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8296 <limits.h> exists even on freestanding compilers. */
8298 # include <limits.h>
8300 # include <assert.h>
8302 /* Override any gcc2 internal prototype to avoid an error. */
8307 /* We use char because int might match the return type of a gcc2
8308 builtin and then its argument prototype would still apply. */
8310 /* The GNU C library defines this for functions which it implements
8311 to always fail with ENOSYS. Some functions are actually named
8312 something starting with __ and the normal name is an alias. */
8313 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8316 char (*f) () = dlopen;
8330 rm -f conftest.$ac_objext conftest$ac_exeext
8331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8332 (eval $ac_link) 2>&5
8334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335 (exit $ac_status); } &&
8336 { ac_try='test -s conftest$ac_exeext'
8337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8341 (exit $ac_status); }; }; then
8342 ac_cv_func_dlopen=yes
8344 echo "$as_me: failed program was:" >&5
8345 sed 's/^/| /' conftest.$ac_ext >&5
8347 ac_cv_func_dlopen=no
8349 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8351 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8352 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8353 if test $ac_cv_func_dlopen = yes; then
8354 lt_cv_dlopen="dlopen"
8356 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8357 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8358 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8359 echo $ECHO_N "(cached) $ECHO_C" >&6
8361 ac_check_lib_save_LIBS=$LIBS
8363 cat >conftest.$ac_ext <<_ACEOF
8364 #line $LINENO "configure"
8367 cat confdefs.h >>conftest.$ac_ext
8368 cat >>conftest.$ac_ext <<_ACEOF
8369 /* end confdefs.h. */
8371 /* Override any gcc2 internal prototype to avoid an error. */
8375 /* We use char because int might match the return type of a gcc2
8376 builtin and then its argument prototype would still apply. */
8386 rm -f conftest.$ac_objext conftest$ac_exeext
8387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8388 (eval $ac_link) 2>&5
8390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8391 (exit $ac_status); } &&
8392 { ac_try='test -s conftest$ac_exeext'
8393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8397 (exit $ac_status); }; }; then
8398 ac_cv_lib_dl_dlopen=yes
8400 echo "$as_me: failed program was:" >&5
8401 sed 's/^/| /' conftest.$ac_ext >&5
8403 ac_cv_lib_dl_dlopen=no
8405 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8406 LIBS=$ac_check_lib_save_LIBS
8408 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8409 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8410 if test $ac_cv_lib_dl_dlopen = yes; then
8411 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8413 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8414 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8415 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8416 echo $ECHO_N "(cached) $ECHO_C" >&6
8418 ac_check_lib_save_LIBS=$LIBS
8420 cat >conftest.$ac_ext <<_ACEOF
8421 #line $LINENO "configure"
8424 cat confdefs.h >>conftest.$ac_ext
8425 cat >>conftest.$ac_ext <<_ACEOF
8426 /* end confdefs.h. */
8428 /* Override any gcc2 internal prototype to avoid an error. */
8432 /* We use char because int might match the return type of a gcc2
8433 builtin and then its argument prototype would still apply. */
8443 rm -f conftest.$ac_objext conftest$ac_exeext
8444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8445 (eval $ac_link) 2>&5
8447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448 (exit $ac_status); } &&
8449 { ac_try='test -s conftest$ac_exeext'
8450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454 (exit $ac_status); }; }; then
8455 ac_cv_lib_svld_dlopen=yes
8457 echo "$as_me: failed program was:" >&5
8458 sed 's/^/| /' conftest.$ac_ext >&5
8460 ac_cv_lib_svld_dlopen=no
8462 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8463 LIBS=$ac_check_lib_save_LIBS
8465 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8466 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8467 if test $ac_cv_lib_svld_dlopen = yes; then
8468 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8470 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8471 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8472 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8473 echo $ECHO_N "(cached) $ECHO_C" >&6
8475 ac_check_lib_save_LIBS=$LIBS
8477 cat >conftest.$ac_ext <<_ACEOF
8478 #line $LINENO "configure"
8481 cat confdefs.h >>conftest.$ac_ext
8482 cat >>conftest.$ac_ext <<_ACEOF
8483 /* end confdefs.h. */
8485 /* Override any gcc2 internal prototype to avoid an error. */
8489 /* We use char because int might match the return type of a gcc2
8490 builtin and then its argument prototype would still apply. */
8500 rm -f conftest.$ac_objext conftest$ac_exeext
8501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8502 (eval $ac_link) 2>&5
8504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505 (exit $ac_status); } &&
8506 { ac_try='test -s conftest$ac_exeext'
8507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511 (exit $ac_status); }; }; then
8512 ac_cv_lib_dld_dld_link=yes
8514 echo "$as_me: failed program was:" >&5
8515 sed 's/^/| /' conftest.$ac_ext >&5
8517 ac_cv_lib_dld_dld_link=no
8519 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8520 LIBS=$ac_check_lib_save_LIBS
8522 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8523 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8524 if test $ac_cv_lib_dld_dld_link = yes; then
8525 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8546 if test "x$lt_cv_dlopen" != xno; then
8552 case $lt_cv_dlopen in
8554 save_CPPFLAGS="$CPPFLAGS"
8555 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8557 save_LDFLAGS="$LDFLAGS"
8558 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8561 LIBS="$lt_cv_dlopen_libs $LIBS"
8563 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8564 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8565 if test "${lt_cv_dlopen_self+set}" = set; then
8566 echo $ECHO_N "(cached) $ECHO_C" >&6
8568 if test "$cross_compiling" = yes; then :
8569 lt_cv_dlopen_self=cross
8571 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8572 lt_status=$lt_dlunknown
8573 cat > conftest.$ac_ext <<EOF
8574 #line 8574 "configure"
8575 #include "confdefs.h"
8584 # define LT_DLGLOBAL RTLD_GLOBAL
8587 # define LT_DLGLOBAL DL_GLOBAL
8589 # define LT_DLGLOBAL 0
8593 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8594 find out it does not work in some platform. */
8595 #ifndef LT_DLLAZY_OR_NOW
8597 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8600 # define LT_DLLAZY_OR_NOW DL_LAZY
8603 # define LT_DLLAZY_OR_NOW RTLD_NOW
8606 # define LT_DLLAZY_OR_NOW DL_NOW
8608 # define LT_DLLAZY_OR_NOW 0
8616 extern "C" void exit (int);
8619 void fnord() { int i=42;}
8622 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8623 int status = $lt_dlunknown;
8627 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8628 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8629 /* dlclose (self); */
8635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8636 (eval $ac_link) 2>&5
8638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8639 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8640 (./conftest; exit; ) 2>/dev/null
8643 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8644 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8645 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8648 # compilation failed
8649 lt_cv_dlopen_self=no
8656 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8657 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8659 if test "x$lt_cv_dlopen_self" = xyes; then
8660 LDFLAGS="$LDFLAGS $link_static_flag"
8661 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8662 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8663 if test "${lt_cv_dlopen_self_static+set}" = set; then
8664 echo $ECHO_N "(cached) $ECHO_C" >&6
8666 if test "$cross_compiling" = yes; then :
8667 lt_cv_dlopen_self_static=cross
8669 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8670 lt_status=$lt_dlunknown
8671 cat > conftest.$ac_ext <<EOF
8672 #line 8672 "configure"
8673 #include "confdefs.h"
8682 # define LT_DLGLOBAL RTLD_GLOBAL
8685 # define LT_DLGLOBAL DL_GLOBAL
8687 # define LT_DLGLOBAL 0
8691 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8692 find out it does not work in some platform. */
8693 #ifndef LT_DLLAZY_OR_NOW
8695 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8698 # define LT_DLLAZY_OR_NOW DL_LAZY
8701 # define LT_DLLAZY_OR_NOW RTLD_NOW
8704 # define LT_DLLAZY_OR_NOW DL_NOW
8706 # define LT_DLLAZY_OR_NOW 0
8714 extern "C" void exit (int);
8717 void fnord() { int i=42;}
8720 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8721 int status = $lt_dlunknown;
8725 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8726 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8727 /* dlclose (self); */
8733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8734 (eval $ac_link) 2>&5
8736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8737 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8738 (./conftest; exit; ) 2>/dev/null
8741 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8742 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8743 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8746 # compilation failed
8747 lt_cv_dlopen_self_static=no
8754 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8755 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8758 CPPFLAGS="$save_CPPFLAGS"
8759 LDFLAGS="$save_LDFLAGS"
8764 case $lt_cv_dlopen_self in
8765 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8766 *) enable_dlopen_self=unknown ;;
8769 case $lt_cv_dlopen_self_static in
8770 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8771 *) enable_dlopen_self_static=unknown ;;
8776 # Report which librarie types wil actually be built
8777 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8778 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8779 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8780 echo "${ECHO_T}$can_build_shared" >&6
8782 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8783 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8784 test "$can_build_shared" = "no" && enable_shared=no
8786 # On AIX, shared libraries and static libraries use the same namespace, and
8787 # are all built from PIC.
8790 test "$enable_shared" = yes && enable_static=no
8791 if test -n "$RANLIB"; then
8792 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8793 postinstall_cmds='$RANLIB $lib'
8798 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8799 test "$enable_shared" = yes && enable_static=no
8802 darwin* | rhapsody*)
8803 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8804 archive_cmds_need_lc=no
8806 rhapsody* | darwin1.[012])
8807 allow_undefined_flag='-undefined suppress'
8810 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8813 # FIXME: Relying on posixy $() will cause problems for
8814 # cross-compilation, but unfortunately the echo tests do not
8815 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8816 # `"' quotes if we put them in here... so don't!
8817 output_verbose_link_cmd='echo'
8818 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8819 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8820 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8821 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}'
8822 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}'
8824 hardcode_automatic=yes
8825 hardcode_shlibpath_var=unsupported
8826 whole_archive_flag_spec='-all_load $convenience'
8827 link_all_deplibs=yes
8831 echo "$as_me:$LINENO: result: $enable_shared" >&5
8832 echo "${ECHO_T}$enable_shared" >&6
8834 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8835 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8836 # Make sure either enable_shared or enable_static is yes.
8837 test "$enable_shared" = yes || enable_static=yes
8838 echo "$as_me:$LINENO: result: $enable_static" >&5
8839 echo "${ECHO_T}$enable_static" >&6
8841 # The else clause should only fire when bootstrapping the
8842 # libtool distribution, otherwise you forgot to ship ltmain.sh
8843 # with your package, and you will get complaints that there are
8844 # no rules to generate ltmain.sh.
8845 if test -f "$ltmain"; then
8846 # See if we are running on zsh, and set the options which allow our commands through
8847 # without removal of \ escapes.
8848 if test -n "${ZSH_VERSION+set}" ; then
8849 setopt NO_GLOB_SUBST
8851 # Now quote all the things that may contain metacharacters while being
8852 # careful not to overquote the AC_SUBSTed values. We take copies of the
8853 # variables and quote the copies for generation of the libtool script.
8854 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8855 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8856 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8857 deplibs_check_method reload_flag reload_cmds need_locks \
8858 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8859 lt_cv_sys_global_symbol_to_c_name_address \
8860 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8861 old_postinstall_cmds old_postuninstall_cmds \
8865 lt_prog_compiler_wl \
8866 lt_prog_compiler_pic \
8867 lt_prog_compiler_static \
8868 lt_prog_compiler_no_builtin_flag \
8869 export_dynamic_flag_spec \
8870 thread_safe_flag_spec \
8871 whole_archive_flag_spec \
8872 enable_shared_with_static_runtimes \
8874 old_archive_from_new_cmds \
8879 compiler_lib_search_path \
8881 archive_expsym_cmds \
8883 postuninstall_cmds \
8884 old_archive_from_expsyms_cmds \
8885 allow_undefined_flag \
8887 export_symbols_cmds \
8888 hardcode_libdir_flag_spec \
8889 hardcode_libdir_flag_spec_ld \
8890 hardcode_libdir_separator \
8891 hardcode_automatic \
8893 module_expsym_cmds \
8894 lt_cv_prog_compiler_c_o \
8899 old_archive_cmds | \
8900 old_archive_from_new_cmds | \
8902 archive_expsym_cmds | \
8904 module_expsym_cmds | \
8905 old_archive_from_expsyms_cmds | \
8906 export_symbols_cmds | \
8907 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8908 postinstall_cmds | postuninstall_cmds | \
8909 old_postinstall_cmds | old_postuninstall_cmds | \
8910 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8911 # Double-quote double-evaled strings.
8912 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8915 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8921 *'\$0 --fallback-echo"')
8922 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8927 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8929 { echo "$as_me:$LINENO: creating $ofile" >&5
8930 echo "$as_me: creating $ofile" >&6;}
8932 cat <<__EOF__ >> "$cfgfile"
8935 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8936 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8937 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8939 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8940 # Free Software Foundation, Inc.
8942 # This file is part of GNU Libtool:
8943 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8945 # This program is free software; you can redistribute it and/or modify
8946 # it under the terms of the GNU General Public License as published by
8947 # the Free Software Foundation; either version 2 of the License, or
8948 # (at your option) any later version.
8950 # This program is distributed in the hope that it will be useful, but
8951 # WITHOUT ANY WARRANTY; without even the implied warranty of
8952 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8953 # General Public License for more details.
8955 # You should have received a copy of the GNU General Public License
8956 # along with this program; if not, write to the Free Software
8957 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8959 # As a special exception to the GNU General Public License, if you
8960 # distribute this file as part of a program that contains a
8961 # configuration script generated by Autoconf, you may include it under
8962 # the same distribution terms that you use for the rest of that program.
8964 # A sed program that does not truncate output.
8967 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8968 Xsed="$SED -e s/^X//"
8970 # The HP-UX ksh and POSIX shell print the target directory to stdout
8972 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8974 # The names of the tagged configurations supported by this script.
8977 # ### BEGIN LIBTOOL CONFIG
8979 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8981 # Shell to use when invoking shell scripts.
8984 # Whether or not to build shared libraries.
8985 build_libtool_libs=$enable_shared
8987 # Whether or not to build static libraries.
8988 build_old_libs=$enable_static
8990 # Whether or not to add -lc for building shared libraries.
8991 build_libtool_need_lc=$archive_cmds_need_lc
8993 # Whether or not to disallow shared libs when runtime libs are static
8994 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8996 # Whether or not to optimize for fast installation.
8997 fast_install=$enable_fast_install
9000 host_alias=$host_alias
9003 # An echo program that does not interpret backslashes.
9008 AR_FLAGS=$lt_AR_FLAGS
9013 # A language-specific compiler.
9016 # Is the compiler the GNU C compiler?
9022 # The linker used to build libraries.
9025 # Whether we need hard or soft links.
9028 # A BSD-compatible nm program.
9031 # A symbol stripping program
9034 # Used to examine libraries when file_magic_cmd begins "file"
9035 MAGIC_CMD=$MAGIC_CMD
9037 # Used on cygwin: DLL creation program.
9040 # Used on cygwin: object dumper.
9043 # Used on cygwin: assembler.
9046 # The name of the directory that contains temporary libtool files.
9049 # How to create reloadable object files.
9050 reload_flag=$lt_reload_flag
9051 reload_cmds=$lt_reload_cmds
9053 # How to pass a linker flag through the compiler.
9054 wl=$lt_lt_prog_compiler_wl
9056 # Object file suffix (normally "o").
9059 # Old archive suffix (normally "a").
9062 # Shared library suffix (normally ".so").
9065 # Executable file suffix (normally "").
9068 # Additional compiler flags for building library objects.
9069 pic_flag=$lt_lt_prog_compiler_pic
9072 # What is the maximum length of a command?
9073 max_cmd_len=$lt_cv_sys_max_cmd_len
9075 # Does compiler simultaneously support -c and -o options?
9076 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9078 # Must we lock files when doing compilation ?
9079 need_locks=$lt_need_locks
9081 # Do we need the lib prefix for modules?
9082 need_lib_prefix=$need_lib_prefix
9084 # Do we need a version for libraries?
9085 need_version=$need_version
9087 # Whether dlopen is supported.
9088 dlopen_support=$enable_dlopen
9090 # Whether dlopen of programs is supported.
9091 dlopen_self=$enable_dlopen_self
9093 # Whether dlopen of statically linked programs is supported.
9094 dlopen_self_static=$enable_dlopen_self_static
9096 # Compiler flag to prevent dynamic linking.
9097 link_static_flag=$lt_lt_prog_compiler_static
9099 # Compiler flag to turn off builtin functions.
9100 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9102 # Compiler flag to allow reflexive dlopens.
9103 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9105 # Compiler flag to generate shared objects directly from archives.
9106 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9108 # Compiler flag to generate thread-safe objects.
9109 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9111 # Library versioning type.
9112 version_type=$version_type
9114 # Format of library name prefix.
9115 libname_spec=$lt_libname_spec
9117 # List of archive names. First name is the real one, the rest are links.
9118 # The last name is the one that the linker finds with -lNAME.
9119 library_names_spec=$lt_library_names_spec
9121 # The coded name of the library, if different from the real name.
9122 soname_spec=$lt_soname_spec
9124 # Commands used to build and install an old-style archive.
9126 old_archive_cmds=$lt_old_archive_cmds
9127 old_postinstall_cmds=$lt_old_postinstall_cmds
9128 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9130 # Create an old-style archive from a shared archive.
9131 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9133 # Create a temporary old-style archive to link instead of a shared archive.
9134 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9136 # Commands used to build and install a shared archive.
9137 archive_cmds=$lt_archive_cmds
9138 archive_expsym_cmds=$lt_archive_expsym_cmds
9139 postinstall_cmds=$lt_postinstall_cmds
9140 postuninstall_cmds=$lt_postuninstall_cmds
9142 # Commands used to build a loadable module (assumed same as above if empty)
9143 module_cmds=$lt_module_cmds
9144 module_expsym_cmds=$lt_module_expsym_cmds
9146 # Commands to strip libraries.
9147 old_striplib=$lt_old_striplib
9148 striplib=$lt_striplib
9150 # Dependencies to place before the objects being linked to create a
9152 predep_objects=$lt_predep_objects
9154 # Dependencies to place after the objects being linked to create a
9156 postdep_objects=$lt_postdep_objects
9158 # Dependencies to place before the objects being linked to create a
9162 # Dependencies to place after the objects being linked to create a
9164 postdeps=$lt_postdeps
9166 # The library search path used internally by the compiler when linking
9168 compiler_lib_search_path=$lt_compiler_lib_search_path
9170 # Method to check whether dependent libraries are shared objects.
9171 deplibs_check_method=$lt_deplibs_check_method
9173 # Command to use when deplibs_check_method == file_magic.
9174 file_magic_cmd=$lt_file_magic_cmd
9176 # Flag that allows shared libraries with undefined symbols to be built.
9177 allow_undefined_flag=$lt_allow_undefined_flag
9179 # Flag that forces no undefined symbols.
9180 no_undefined_flag=$lt_no_undefined_flag
9182 # Commands used to finish a libtool library installation in a directory.
9183 finish_cmds=$lt_finish_cmds
9185 # Same as above, but a single script fragment to be evaled but not shown.
9186 finish_eval=$lt_finish_eval
9188 # Take the output of nm and produce a listing of raw symbols and C names.
9189 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9191 # Transform the output of nm in a proper C declaration
9192 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9194 # Transform the output of nm in a C name address pair
9195 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9197 # This is the shared library runtime path variable.
9198 runpath_var=$runpath_var
9200 # This is the shared library path variable.
9201 shlibpath_var=$shlibpath_var
9203 # Is shlibpath searched before the hard-coded library search path?
9204 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9206 # How to hardcode a shared library path into an executable.
9207 hardcode_action=$hardcode_action
9209 # Whether we should hardcode library paths into libraries.
9210 hardcode_into_libs=$hardcode_into_libs
9212 # Flag to hardcode \$libdir into a binary during linking.
9213 # This must work even if \$libdir does not exist.
9214 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9216 # If ld is used when linking, flag to hardcode \$libdir into
9217 # a binary during linking. This must work even if \$libdir does
9219 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9221 # Whether we need a single -rpath flag with a separated argument.
9222 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9224 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9226 hardcode_direct=$hardcode_direct
9228 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9230 hardcode_minus_L=$hardcode_minus_L
9232 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9233 # the resulting binary.
9234 hardcode_shlibpath_var=$hardcode_shlibpath_var
9236 # Set to yes if building a shared library automatically hardcodes DIR into the library
9237 # and all subsequent libraries and executables linked against it.
9238 hardcode_automatic=$hardcode_automatic
9240 # Variables whose values should be saved in libtool wrapper scripts and
9241 # restored at relink time.
9242 variables_saved_for_relink="$variables_saved_for_relink"
9244 # Whether libtool must link a program against all its dependency libraries.
9245 link_all_deplibs=$link_all_deplibs
9247 # Compile-time system search path for libraries
9248 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9250 # Run-time system search path for libraries
9251 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9253 # Fix the shell variable \$srcfile for the compiler.
9254 fix_srcfile_path="$fix_srcfile_path"
9256 # Set to yes if exported symbols are required.
9257 always_export_symbols=$always_export_symbols
9259 # The commands to list exported symbols.
9260 export_symbols_cmds=$lt_export_symbols_cmds
9262 # The commands to extract the exported symbol list from a shared archive.
9263 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9265 # Symbols that should not be listed in the preloaded symbols.
9266 exclude_expsyms=$lt_exclude_expsyms
9268 # Symbols that must always be exported.
9269 include_expsyms=$lt_include_expsyms
9271 # ### END LIBTOOL CONFIG
9278 cat <<\EOF >> "$cfgfile"
9280 # AIX sometimes has problems with the GCC collect2 program. For some
9281 # reason, if we set the COLLECT_NAMES environment variable, the problems
9282 # vanish in a puff of smoke.
9283 if test "X${COLLECT_NAMES+set}" != Xset; then
9285 export COLLECT_NAMES
9291 # We use sed instead of cat because bash on DJGPP gets confused if
9292 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9293 # text mode, it properly converts lines to CR/LF. This bash problem
9294 # is reportedly fixed, but why not run on old versions too?
9295 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9297 mv -f "$cfgfile" "$ofile" || \
9298 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9302 # If there is no Makefile yet, we rely on a make rule to execute
9303 # `config.status --recheck' to rerun these tests and create the
9304 # libtool script then.
9305 test -f Makefile && make "$ltmain"
9310 ac_cpp='$CPP $CPPFLAGS'
9311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9318 # Check whether --with-tags or --without-tags was given.
9319 if test "${with_tags+set}" = set; then
9320 withval="$with_tags"
9324 if test -f "$ltmain" && test -n "$tagnames"; then
9325 if test ! -f "${ofile}"; then
9326 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9327 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9330 if test -z "$LTCC"; then
9331 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9332 if test -z "$LTCC"; then
9333 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9334 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9336 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9337 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9341 # Extract list of available tagged configurations in $ofile.
9342 # Note that this assumes the entire list is on one line.
9343 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9345 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9346 for tagname in $tagnames; do
9348 # Check whether tagname contains only valid characters
9349 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9351 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9352 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9353 { (exit 1); exit 1; }; }
9357 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9359 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9360 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9361 { (exit 1); exit 1; }; }
9364 # Update the list of available tags.
9365 if test -n "$tagname"; then
9366 echo appending configuration tag \"$tagname\" to $ofile
9370 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9372 ac_cpp='$CXXCPP $CPPFLAGS'
9373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9380 archive_cmds_need_lc_CXX=no
9381 allow_undefined_flag_CXX=
9382 always_export_symbols_CXX=no
9383 archive_expsym_cmds_CXX=
9384 export_dynamic_flag_spec_CXX=
9385 hardcode_direct_CXX=no
9386 hardcode_libdir_flag_spec_CXX=
9387 hardcode_libdir_flag_spec_ld_CXX=
9388 hardcode_libdir_separator_CXX=
9389 hardcode_minus_L_CXX=no
9390 hardcode_automatic_CXX=no
9392 module_expsym_cmds_CXX=
9393 link_all_deplibs_CXX=unknown
9394 old_archive_cmds_CXX=$old_archive_cmds
9395 no_undefined_flag_CXX=
9396 whole_archive_flag_spec_CXX=
9397 enable_shared_with_static_runtimes_CXX=no
9399 # Dependencies to place before and after the object being linked:
9401 postdep_objects_CXX=
9404 compiler_lib_search_path_CXX=
9406 # Source file extension for C++ test sources.
9409 # Object file extension for compiled C++ test sources.
9413 # Code to be used in simple compile tests
9414 lt_simple_compile_test_code="int some_variable = 0;\n"
9416 # Code to be used in simple link tests
9417 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9419 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9421 # If no C compiler was specified, use CC.
9424 # Allow CC to be a program name with arguments.
9428 # Allow CC to be a program name with arguments.
9433 lt_save_with_gnu_ld=$with_gnu_ld
9434 lt_save_path_LD=$lt_cv_path_LD
9435 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9436 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9438 unset lt_cv_prog_gnu_ld
9440 if test -n "${lt_cv_path_LDCXX+set}"; then
9441 lt_cv_path_LD=$lt_cv_path_LDCXX
9445 test -z "${LDCXX+set}" || LD=$LDCXX
9449 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9451 # We don't want -fno-exception wen compiling C++ code, so set the
9452 # no_builtin_flag separately
9453 if test "$GXX" = yes; then
9454 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9456 lt_prog_compiler_no_builtin_flag_CXX=
9459 if test "$GXX" = yes; then
9460 # Set up default GNU C++ configuration
9463 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9464 if test "${with_gnu_ld+set}" = set; then
9465 withval="$with_gnu_ld"
9466 test "$withval" = no || with_gnu_ld=yes
9471 if test "$GCC" = yes; then
9472 # Check if gcc -print-prog-name=ld gives a path.
9473 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9474 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9477 # gcc leaves a trailing carriage return which upsets mingw
9478 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9480 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9483 # Accept absolute paths.
9485 re_direlt='/[^/][^/]*/\.\./'
9486 # Canonicalize the path of ld
9487 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9488 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9489 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9491 test -z "$LD" && LD="$ac_prog"
9494 # If it fails, then pretend we aren't using GCC.
9498 # If it is relative, then search for the first ld in PATH.
9502 elif test "$with_gnu_ld" = yes; then
9503 echo "$as_me:$LINENO: checking for GNU ld" >&5
9504 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9506 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9507 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9509 if test "${lt_cv_path_LD+set}" = set; then
9510 echo $ECHO_N "(cached) $ECHO_C" >&6
9512 if test -z "$LD"; then
9513 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9514 for ac_dir in $PATH; do
9516 test -z "$ac_dir" && ac_dir=.
9517 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9518 lt_cv_path_LD="$ac_dir/$ac_prog"
9519 # Check to see if the program is GNU ld. I'd rather use --version,
9520 # but apparently some GNU ld's only accept -v.
9521 # Break only if it was the GNU/non-GNU ld that we prefer.
9522 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9523 *GNU* | *'with BFD'*)
9524 test "$with_gnu_ld" != no && break
9527 test "$with_gnu_ld" != yes && break
9534 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9539 if test -n "$LD"; then
9540 echo "$as_me:$LINENO: result: $LD" >&5
9541 echo "${ECHO_T}$LD" >&6
9543 echo "$as_me:$LINENO: result: no" >&5
9544 echo "${ECHO_T}no" >&6
9546 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9547 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9548 { (exit 1); exit 1; }; }
9549 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9550 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9551 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9552 echo $ECHO_N "(cached) $ECHO_C" >&6
9554 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9555 case `"$LD" -v 2>&1 </dev/null` in
9556 *GNU* | *'with BFD'*)
9557 lt_cv_prog_gnu_ld=yes
9560 lt_cv_prog_gnu_ld=no
9564 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9565 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9566 with_gnu_ld=$lt_cv_prog_gnu_ld
9570 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9571 # archiving commands below assume that GNU ld is being used.
9572 if test "$with_gnu_ld" = yes; then
9573 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9574 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'
9576 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9577 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9579 # If archive_cmds runs LD, not CC, wlarc should be empty
9580 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9581 # investigate it a little bit more. (MM)
9584 # ancient GNU ld didn't support --whole-archive et. al.
9585 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9586 grep 'no-whole-archive' > /dev/null; then
9587 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9589 whole_archive_flag_spec_CXX=
9595 # A generic and very simple default shared library creation
9596 # command for GNU C++ for the case where it uses the native
9597 # linker, instead of GNU ld. If possible, this setting should
9598 # overridden to take advantage of the native linker features on
9599 # the platform it is being used on.
9600 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9603 # Commands to make compiler produce verbose output that lists
9604 # what "hidden" libraries, object files and flags are used when
9605 # linking a shared library.
9606 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9614 # PORTME: fill in a description of your system's C++ link characteristics
9615 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9616 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9620 # FIXME: insert proper C++ library support
9624 if test "$host_cpu" = ia64; then
9625 # On IA64, the linker does run time linking by default, so we don't
9626 # have to do anything special.
9627 aix_use_runtimelinking=no
9628 exp_sym_flag='-Bexport'
9631 aix_use_runtimelinking=no
9633 # Test if we are trying to use run time linking or normal
9634 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9635 # need to do runtime linking.
9636 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9637 for ld_flag in $LDFLAGS; do
9640 aix_use_runtimelinking=yes
9647 exp_sym_flag='-bexport'
9648 no_entry_flag='-bnoentry'
9651 # When large executables or shared objects are built, AIX ld can
9652 # have problems creating the table of contents. If linking a library
9653 # or program results in "error TOC overflow" add -mminimal-toc to
9654 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9655 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9658 hardcode_direct_CXX=yes
9659 hardcode_libdir_separator_CXX=':'
9660 link_all_deplibs_CXX=yes
9662 if test "$GXX" = yes; then
9663 case $host_os in aix4.012|aix4.012.*)
9664 # We only want to do this on AIX 4.2 and lower, the check
9665 # below for broken collect2 doesn't work under 4.3+
9666 collect2name=`${CC} -print-prog-name=collect2`
9667 if test -f "$collect2name" && \
9668 strings "$collect2name" | grep resolve_lib_name >/dev/null
9670 # We have reworked collect2
9671 hardcode_direct_CXX=yes
9673 # We have old collect2
9674 hardcode_direct_CXX=unsupported
9675 # It fails to find uninstalled libraries when the uninstalled
9676 # path is not listed in the libpath. Setting hardcode_minus_L
9677 # to unsupported forces relinking
9678 hardcode_minus_L_CXX=yes
9679 hardcode_libdir_flag_spec_CXX='-L$libdir'
9680 hardcode_libdir_separator_CXX=
9683 shared_flag='-shared'
9686 if test "$host_cpu" = ia64; then
9687 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9688 # chokes on -Wl,-G. The following line is correct:
9691 if test "$aix_use_runtimelinking" = yes; then
9692 shared_flag='${wl}-G'
9694 shared_flag='${wl}-bM:SRE'
9699 # It seems that -bexpall does not export symbols beginning with
9700 # underscore (_), so it is better to generate a list of symbols to export.
9701 always_export_symbols_CXX=yes
9702 if test "$aix_use_runtimelinking" = yes; then
9703 # Warning - without using the other runtime loading flags (-brtl),
9704 # -berok will link without error, but may produce a broken library.
9705 allow_undefined_flag_CXX='-berok'
9706 # Determine the default libpath from the value encoded in an empty executable.
9707 cat >conftest.$ac_ext <<_ACEOF
9708 #line $LINENO "configure"
9711 cat confdefs.h >>conftest.$ac_ext
9712 cat >>conftest.$ac_ext <<_ACEOF
9713 /* end confdefs.h. */
9723 rm -f conftest.$ac_objext conftest$ac_exeext
9724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9725 (eval $ac_link) 2>&5
9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728 (exit $ac_status); } &&
9729 { ac_try='test -s conftest$ac_exeext'
9730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9734 (exit $ac_status); }; }; then
9736 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9738 # Check for a 64-bit object if we didn't find anything.
9739 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; }
9742 echo "$as_me: failed program was:" >&5
9743 sed 's/^/| /' conftest.$ac_ext >&5
9746 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9747 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9749 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9751 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"
9753 if test "$host_cpu" = ia64; then
9754 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9755 allow_undefined_flag_CXX="-z nodefs"
9756 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"
9758 # Determine the default libpath from the value encoded in an empty executable.
9759 cat >conftest.$ac_ext <<_ACEOF
9760 #line $LINENO "configure"
9763 cat confdefs.h >>conftest.$ac_ext
9764 cat >>conftest.$ac_ext <<_ACEOF
9765 /* end confdefs.h. */
9775 rm -f conftest.$ac_objext conftest$ac_exeext
9776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9777 (eval $ac_link) 2>&5
9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 (exit $ac_status); } &&
9781 { ac_try='test -s conftest$ac_exeext'
9782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9786 (exit $ac_status); }; }; then
9788 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9790 # Check for a 64-bit object if we didn't find anything.
9791 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; }
9794 echo "$as_me: failed program was:" >&5
9795 sed 's/^/| /' conftest.$ac_ext >&5
9798 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9799 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9801 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9802 # Warning - without using the other run time loading flags,
9803 # -berok will link without error, but may produce a broken library.
9804 no_undefined_flag_CXX=' ${wl}-bernotok'
9805 allow_undefined_flag_CXX=' ${wl}-berok'
9806 # -bexpall does not export symbols beginning with underscore (_)
9807 always_export_symbols_CXX=yes
9808 # Exported symbols can be pulled into shared objects from archives
9809 whole_archive_flag_spec_CXX=' '
9810 archive_cmds_need_lc_CXX=yes
9811 # This is similar to how AIX traditionally builds it's shared libraries.
9812 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'
9817 case $cc_basename in
9819 # FIXME: insert proper C++ library support
9825 cygwin* | mingw* | pw32*)
9826 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9827 # as there is no search path for DLLs.
9828 hardcode_libdir_flag_spec_CXX='-L$libdir'
9829 allow_undefined_flag_CXX=unsupported
9830 always_export_symbols_CXX=no
9831 enable_shared_with_static_runtimes_CXX=yes
9833 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9834 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'
9835 # If the export-symbols file already is a .def file (1st line
9836 # is EXPORTS), use it as is; otherwise, prepend...
9837 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9838 cp $export_symbols $output_objdir/$soname.def;
9840 echo EXPORTS > $output_objdir/$soname.def;
9841 cat $export_symbols >> $output_objdir/$soname.def;
9843 $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'
9849 darwin* | rhapsody*)
9850 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9851 archive_cmds_need_lc_CXX=no
9853 rhapsody* | darwin1.[012])
9854 allow_undefined_flag_CXX='-undefined suppress'
9857 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9860 lt_int_apple_cc_single_mod=no
9861 output_verbose_link_cmd='echo'
9862 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9863 lt_int_apple_cc_single_mod=yes
9865 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9866 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9868 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'
9870 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9872 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9873 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9874 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}'
9876 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}'
9878 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}'
9879 hardcode_direct_CXX=no
9880 hardcode_automatic_CXX=yes
9881 hardcode_shlibpath_var_CXX=unsupported
9882 whole_archive_flag_spec_CXX='-all_load $convenience'
9883 link_all_deplibs_CXX=yes
9888 case $cc_basename in
9890 # FIXME: insert proper C++ library support
9894 # Green Hills C++ Compiler
9895 # FIXME: insert proper C++ library support
9899 # FIXME: insert proper C++ library support
9905 # C++ shared libraries reported to be fairly broken before switch to ELF
9909 archive_cmds_need_lc_CXX=no
9912 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9919 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9920 hardcode_libdir_separator_CXX=:
9921 export_dynamic_flag_spec_CXX='${wl}-E'
9922 hardcode_direct_CXX=yes
9923 hardcode_minus_L_CXX=yes # Not in the search PATH,
9924 # but as the default
9925 # location of the library.
9927 case $cc_basename in
9929 # FIXME: insert proper C++ library support
9933 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'
9934 # Commands to make compiler produce verbose output that lists
9935 # what "hidden" libraries, object files and flags are used when
9936 # linking a shared library.
9938 # There doesn't appear to be a way to prevent this compiler from
9939 # explicitly linking system object files so we need to strip them
9940 # from the output so that they don't get included in the library
9942 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'
9945 if test "$GXX" = yes; then
9946 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'
9948 # FIXME: insert proper C++ library support
9955 if test $with_gnu_ld = no; then
9958 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9959 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9960 hardcode_libdir_separator_CXX=:
9963 hardcode_libdir_flag_spec_CXX='-L$libdir'
9966 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9967 hardcode_libdir_separator_CXX=:
9968 export_dynamic_flag_spec_CXX='${wl}-E'
9974 hardcode_direct_CXX=no
9975 hardcode_shlibpath_var_CXX=no
9978 hardcode_direct_CXX=no
9979 hardcode_shlibpath_var_CXX=no
9980 hardcode_minus_L_CXX=yes # Not in the search PATH,
9981 # but as the default
9982 # location of the library.
9985 hardcode_direct_CXX=yes
9986 hardcode_minus_L_CXX=yes # Not in the search PATH,
9987 # but as the default
9988 # location of the library.
9992 case $cc_basename in
9994 # FIXME: insert proper C++ library support
10000 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10003 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10006 # Commands to make compiler produce verbose output that lists
10007 # what "hidden" libraries, object files and flags are used when
10008 # linking a shared library.
10010 # There doesn't appear to be a way to prevent this compiler from
10011 # explicitly linking system object files so we need to strip them
10012 # from the output so that they don't get included in the library
10014 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'
10017 if test "$GXX" = yes; then
10018 if test $with_gnu_ld = no; then
10019 case "$host_cpu" in
10021 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10024 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'
10029 # FIXME: insert proper C++ library support
10036 case $cc_basename in
10039 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'
10041 # Archives containing C++ object files must be created using
10042 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10043 # necessary to make sure instantiated templates are included
10045 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10048 if test "$GXX" = yes; then
10049 if test "$with_gnu_ld" = no; then
10050 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'
10052 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'
10055 link_all_deplibs_CXX=yes
10058 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10059 hardcode_libdir_separator_CXX=:
10062 case $cc_basename in
10064 # Kuck and Associates, Inc. (KAI) C++ Compiler
10066 # KCC will only create a shared library if the output file
10067 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10068 # to its proper name (with version) after linking.
10069 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'
10070 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'
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 $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'
10081 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10082 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10084 # Archives containing C++ object files must be created using
10085 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10086 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10091 archive_cmds_need_lc_CXX=no
10092 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10093 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'
10094 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10095 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10096 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10100 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10101 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'
10103 runpath_var=LD_RUN_PATH
10104 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10105 hardcode_libdir_separator_CXX=:
10107 # Commands to make compiler produce verbose output that lists
10108 # what "hidden" libraries, object files and flags are used when
10109 # linking a shared library.
10111 # There doesn't appear to be a way to prevent this compiler from
10112 # explicitly linking system object files so we need to strip them
10113 # from the output so that they don't get included in the library
10115 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'
10120 # FIXME: insert proper C++ library support
10124 # FIXME: insert proper C++ library support
10128 case $cc_basename in
10130 # FIXME: insert proper C++ library support
10134 # FIXME: insert proper C++ library support
10140 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10141 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10143 hardcode_libdir_flag_spec_CXX='-R$libdir'
10144 hardcode_direct_CXX=yes
10145 hardcode_shlibpath_var_CXX=no
10147 # Workaround some broken pre-1.5 toolchains
10148 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10151 case $cc_basename in
10153 # Kuck and Associates, Inc. (KAI) C++ Compiler
10155 # KCC will only create a shared library if the output file
10156 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10157 # to its proper name (with version) after linking.
10158 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'
10160 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10161 hardcode_libdir_separator_CXX=:
10163 # Archives containing C++ object files must be created using
10164 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10165 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10169 # Rational C++ 2.4.1
10170 # FIXME: insert proper C++ library support
10174 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10175 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'
10177 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10178 hardcode_libdir_separator_CXX=:
10180 # Commands to make compiler produce verbose output that lists
10181 # what "hidden" libraries, object files and flags are used when
10182 # linking a shared library.
10184 # There doesn't appear to be a way to prevent this compiler from
10185 # explicitly linking system object files so we need to strip them
10186 # from the output so that they don't get included in the library
10188 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'
10191 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10192 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10193 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'
10195 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10196 hardcode_libdir_separator_CXX=:
10198 # Commands to make compiler produce verbose output that lists
10199 # what "hidden" libraries, object files and flags are used when
10200 # linking a shared library.
10201 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10204 # FIXME: insert proper C++ library support
10211 case $cc_basename in
10213 # Kuck and Associates, Inc. (KAI) C++ Compiler
10215 # KCC will only create a shared library if the output file
10216 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10217 # to its proper name (with version) after linking.
10218 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'
10220 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10221 hardcode_libdir_separator_CXX=:
10223 # Archives containing C++ object files must be created using
10224 # the KAI C++ compiler.
10225 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10228 # Rational C++ 2.4.1
10229 # FIXME: insert proper C++ library support
10233 allow_undefined_flag_CXX=' -expect_unresolved \*'
10234 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'
10235 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10236 echo "-hidden">> $lib.exp~
10237 $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~
10240 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10241 hardcode_libdir_separator_CXX=:
10243 # Commands to make compiler produce verbose output that lists
10244 # what "hidden" libraries, object files and flags are used when
10245 # linking a shared library.
10247 # There doesn't appear to be a way to prevent this compiler from
10248 # explicitly linking system object files so we need to strip them
10249 # from the output so that they don't get included in the library
10251 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'
10254 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10255 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10256 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'
10258 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10259 hardcode_libdir_separator_CXX=:
10261 # Commands to make compiler produce verbose output that lists
10262 # what "hidden" libraries, object files and flags are used when
10263 # linking a shared library.
10264 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10267 # FIXME: insert proper C++ library support
10274 # FIXME: insert proper C++ library support
10278 archive_cmds_need_lc_CXX=no
10279 case $cc_basename in
10281 # FIXME: insert proper C++ library support
10285 # FIXME: insert proper C++ library support
10291 case $cc_basename in
10294 # FIXME: insert proper C++ library support
10299 # FIXME: insert proper C++ library support
10303 # FIXME: insert proper C++ library support
10309 case $cc_basename in
10311 # Sun C++ 4.2, 5.x and Centerline C++
10312 no_undefined_flag_CXX=' -zdefs'
10313 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10314 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10315 $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'
10317 hardcode_libdir_flag_spec_CXX='-R$libdir'
10318 hardcode_shlibpath_var_CXX=no
10320 solaris2.0-5 | solaris2.0-5.*) ;;
10322 # The C++ compiler is used as linker so we must use $wl
10323 # flag to pass the commands to the underlying system
10325 # Supported since Solaris 2.6 (maybe 2.5.1?)
10326 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10329 link_all_deplibs_CXX=yes
10331 # Commands to make compiler produce verbose output that lists
10332 # what "hidden" libraries, object files and flags are used when
10333 # linking a shared library.
10335 # There doesn't appear to be a way to prevent this compiler from
10336 # explicitly linking system object files so we need to strip them
10337 # from the output so that they don't get included in the library
10339 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'
10341 # Archives containing C++ object files must be created using
10342 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10343 # necessary to make sure instantiated templates are included
10345 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10348 # Green Hills C++ Compiler
10349 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10351 # The C++ compiler must be used to create the archive.
10352 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10355 # GNU C++ compiler with Solaris linker
10356 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10357 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10358 if $CC --version | grep -v '^2\.7' > /dev/null; then
10359 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10360 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10361 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10363 # Commands to make compiler produce verbose output that lists
10364 # what "hidden" libraries, object files and flags are used when
10365 # linking a shared library.
10366 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10368 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10370 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10371 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10372 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10374 # Commands to make compiler produce verbose output that lists
10375 # what "hidden" libraries, object files and flags are used when
10376 # linking a shared library.
10377 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10380 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10385 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10386 archive_cmds_need_lc_CXX=no
10389 case $cc_basename in
10391 # NonStop-UX NCC 3.20
10392 # FIXME: insert proper C++ library support
10396 # FIXME: insert proper C++ library support
10402 # FIXME: insert proper C++ library support
10406 # FIXME: insert proper C++ library support
10410 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10411 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10412 test "$ld_shlibs_CXX" = no && can_build_shared=no
10418 ## There is no encapsulation within the following macros, do not change
10419 ## the running order or otherwise move them around unless you know exactly
10420 ## what you are doing...
10422 cat > conftest.$ac_ext <<EOF
10426 Foo (void) { a = 0; }
10432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10433 (eval $ac_compile) 2>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; then
10437 # Parse the compiler output and extract the necessary
10438 # objects, libraries and library flags.
10440 # Sentinel used to keep track of whether or not we are before
10441 # the conftest object file.
10442 pre_test_object_deps_done=no
10444 # The `*' in the case matches for architectures that use `case' in
10445 # $output_verbose_cmd can trigger glob expansion during the loop
10446 # eval without this substitution.
10447 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10449 for p in `eval $output_verbose_link_cmd`; do
10453 # Some compilers place space between "-{L,R}" and the path.
10454 # Remove the space.
10455 if test $p = "-L" \
10456 || test $p = "-R"; then
10463 if test "$pre_test_object_deps_done" = no; then
10466 # Internal compiler library paths should come after those
10467 # provided the user. The postdeps already come after the
10468 # user supplied libs so there is no need to process them.
10469 if test -z "$compiler_lib_search_path_CXX"; then
10470 compiler_lib_search_path_CXX="${prev}${p}"
10472 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10475 # The "-l" case would never come before the object being
10476 # linked, so don't bother handling this case.
10479 if test -z "$postdeps_CXX"; then
10480 postdeps_CXX="${prev}${p}"
10482 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10488 # This assumes that the test object file only shows up
10489 # once in the compiler output.
10490 if test "$p" = "conftest.$objext"; then
10491 pre_test_object_deps_done=yes
10495 if test "$pre_test_object_deps_done" = no; then
10496 if test -z "$predep_objects_CXX"; then
10497 predep_objects_CXX="$p"
10499 predep_objects_CXX="$predep_objects_CXX $p"
10502 if test -z "$postdep_objects_CXX"; then
10503 postdep_objects_CXX="$p"
10505 postdep_objects_CXX="$postdep_objects_CXX $p"
10510 *) ;; # Ignore the rest.
10518 echo "libtool.m4: error: problem compiling CXX test program"
10521 $rm -f confest.$objext
10523 case " $postdeps_CXX " in
10524 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10527 lt_prog_compiler_wl_CXX=
10528 lt_prog_compiler_pic_CXX=
10529 lt_prog_compiler_static_CXX=
10531 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10532 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10534 # C++ specific cases for pic, static, wl, etc.
10535 if test "$GXX" = yes; then
10536 lt_prog_compiler_wl_CXX='-Wl,'
10537 lt_prog_compiler_static_CXX='-static'
10541 # All AIX code is PIC.
10542 if test "$host_cpu" = ia64; then
10543 # AIX 5 now supports IA64 processor
10544 lt_prog_compiler_static_CXX='-Bstatic'
10548 # FIXME: we need at least 68020 code to build shared libraries, but
10549 # adding the `-m68020' flag to GCC prevents building anything better,
10551 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10553 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10554 # PIC is the default for these OSes.
10556 mingw* | os2* | pw32*)
10557 # This hack is so that the source file can tell whether it is being
10558 # built for inclusion in a dll (and should export symbols for example).
10559 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10561 darwin* | rhapsody*)
10562 # PIC is the default on this platform
10563 # Common symbols not allowed in MH_DYLIB files
10564 lt_prog_compiler_pic_CXX='-fno-common'
10567 # DJGPP does not support shared libraries at all
10568 lt_prog_compiler_pic_CXX=
10571 if test -d /usr/nec; then
10572 lt_prog_compiler_pic_CXX=-Kconform_pic
10576 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10577 # not for PA HP-UX.
10578 case "$host_cpu" in
10582 lt_prog_compiler_pic_CXX='-fPIC'
10587 lt_prog_compiler_pic_CXX='-fPIC'
10593 # All AIX code is PIC.
10594 if test "$host_cpu" = ia64; then
10595 # AIX 5 now supports IA64 processor
10596 lt_prog_compiler_static_CXX='-Bstatic'
10598 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10602 case $cc_basename in
10604 # Green Hills C++ Compiler
10605 # _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"
10610 case $cc_basename in
10612 lt_prog_compiler_pic_CXX='-KPIC'
10615 # Green Hills C++ Compiler
10616 lt_prog_compiler_pic_CXX='-pic'
10623 # FreeBSD uses GNU C++
10625 hpux9* | hpux10* | hpux11*)
10626 case $cc_basename in
10628 lt_prog_compiler_wl_CXX='-Wl,'
10629 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10630 if test "$host_cpu" != ia64; then
10631 lt_prog_compiler_pic_CXX='+Z'
10635 lt_prog_compiler_wl_CXX='-Wl,'
10636 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10637 case "$host_cpu" in
10642 lt_prog_compiler_pic_CXX='+Z'
10650 irix5* | irix6* | nonstopux*)
10651 case $cc_basename in
10653 lt_prog_compiler_wl_CXX='-Wl,'
10654 lt_prog_compiler_static_CXX='-non_shared'
10655 # CC pic flag -KPIC is the default.
10662 case $cc_basename in
10665 lt_prog_compiler_wl_CXX='--backend -Wl,'
10666 lt_prog_compiler_pic_CXX='-fPIC'
10670 lt_prog_compiler_wl_CXX='-Wl,'
10671 lt_prog_compiler_pic_CXX='-KPIC'
10672 lt_prog_compiler_static_CXX='-static'
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'
10690 case $cc_basename in
10692 lt_prog_compiler_pic_CXX='-W c,exportall'
10700 osf3* | osf4* | osf5*)
10701 case $cc_basename in
10703 lt_prog_compiler_wl_CXX='--backend -Wl,'
10706 # Rational C++ 2.4.1
10707 lt_prog_compiler_pic_CXX='-pic'
10710 # Digital/Compaq C++
10711 lt_prog_compiler_wl_CXX='-Wl,'
10712 # Make sure the PIC flag is empty. It appears that all Alpha
10713 # Linux and Compaq Tru64 Unix objects are PIC.
10714 lt_prog_compiler_pic_CXX=
10715 lt_prog_compiler_static_CXX='-non_shared'
10724 case $cc_basename in
10726 lt_prog_compiler_pic_CXX='-fPIC'
10733 case $cc_basename in
10735 # Sun C++ 4.2, 5.x and Centerline C++
10736 lt_prog_compiler_pic_CXX='-KPIC'
10737 lt_prog_compiler_static_CXX='-Bstatic'
10738 lt_prog_compiler_wl_CXX='-Qoption ld '
10741 # Green Hills C++ Compiler
10742 lt_prog_compiler_pic_CXX='-PIC'
10749 case $cc_basename in
10752 lt_prog_compiler_pic_CXX='-pic'
10753 lt_prog_compiler_static_CXX='-Bstatic'
10757 lt_prog_compiler_pic_CXX='-pic'
10764 case $cc_basename in
10766 # NonStop-UX NCC 3.20
10767 lt_prog_compiler_pic_CXX='-KPIC'
10778 lt_prog_compiler_can_build_shared_CXX=no
10783 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10784 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10787 # Check to make sure the PIC flag actually works.
10789 if test -n "$lt_prog_compiler_pic_CXX"; then
10790 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10791 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10792 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10793 echo $ECHO_N "(cached) $ECHO_C" >&6
10795 lt_prog_compiler_pic_works_CXX=no
10796 ac_outfile=conftest.$ac_objext
10797 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10798 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10799 # Insert the option either (1) after the last *FLAGS variable, or
10800 # (2) before a word containing "conftest.", or (3) at the end.
10801 # Note that $ac_compile itself does not contain backslashes and begins
10802 # with a dollar sign (not a hyphen), so the echo should work correctly.
10803 # The option is referenced via a variable to avoid confusing sed.
10804 lt_compile=`echo "$ac_compile" | $SED \
10805 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10806 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10807 -e 's:$: $lt_compiler_flag:'`
10808 (eval echo "\"\$as_me:10808: $lt_compile\"" >&5)
10809 (eval "$lt_compile" 2>conftest.err)
10811 cat conftest.err >&5
10812 echo "$as_me:10812: \$? = $ac_status" >&5
10813 if (exit $ac_status) && test -s "$ac_outfile"; then
10814 # The compiler can only warn and ignore the option if not recognized
10815 # So say no if there are warnings
10816 if test ! -s conftest.err; then
10817 lt_prog_compiler_pic_works_CXX=yes
10823 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10824 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10826 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10827 case $lt_prog_compiler_pic_CXX in
10829 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10832 lt_prog_compiler_pic_CXX=
10833 lt_prog_compiler_can_build_shared_CXX=no
10838 # For platforms which do not support PIC, -DPIC is meaningless:
10840 lt_prog_compiler_pic_CXX=
10843 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10847 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10848 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10849 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10850 echo $ECHO_N "(cached) $ECHO_C" >&6
10852 lt_cv_prog_compiler_c_o_CXX=no
10853 $rm -r conftest 2>/dev/null
10857 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10859 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10860 # that will create temporary files in the current directory regardless of
10861 # the output directory. Thus, making CWD read-only will cause this test
10862 # to fail, enabling locking or at least warning the user not to do parallel
10866 lt_compiler_flag="-o out/conftest2.$ac_objext"
10867 # Insert the option either (1) after the last *FLAGS variable, or
10868 # (2) before a word containing "conftest.", or (3) at the end.
10869 # Note that $ac_compile itself does not contain backslashes and begins
10870 # with a dollar sign (not a hyphen), so the echo should work correctly.
10871 lt_compile=`echo "$ac_compile" | $SED \
10872 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10873 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10874 -e 's:$: $lt_compiler_flag:'`
10875 (eval echo "\"\$as_me:10875: $lt_compile\"" >&5)
10876 (eval "$lt_compile" 2>out/conftest.err)
10878 cat out/conftest.err >&5
10879 echo "$as_me:10879: \$? = $ac_status" >&5
10880 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10882 # The compiler can only warn and ignore the option if not recognized
10883 # So say no if there are warnings
10884 if test ! -s out/conftest.err; then
10885 lt_cv_prog_compiler_c_o_CXX=yes
10889 $rm conftest* out/*
10896 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10897 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10900 hard_links="nottested"
10901 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10902 # do not overwrite the value of need_locks provided by the user
10903 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10904 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10907 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10909 ln conftest.a conftest.b 2>&5 || hard_links=no
10910 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10911 echo "$as_me:$LINENO: result: $hard_links" >&5
10912 echo "${ECHO_T}$hard_links" >&6
10913 if test "$hard_links" = no; then
10914 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10915 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10922 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10923 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10925 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10928 # If we're using GNU nm, then we don't want the "-C" option.
10929 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10930 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10931 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'
10933 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'
10937 export_symbols_cmds_CXX="$ltdll_cmds"
10940 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10943 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10947 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10948 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10949 test "$ld_shlibs_CXX" = no && can_build_shared=no
10951 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10952 if test "$GCC" = yes; then
10953 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10957 # Do we need to explicitly link libc?
10959 case "x$archive_cmds_need_lc_CXX" in
10961 # Assume -lc should be added
10962 archive_cmds_need_lc_CXX=yes
10964 if test "$enable_shared" = yes && test "$GCC" = yes; then
10965 case $archive_cmds_CXX in
10967 # FIXME: we may have to deal with multi-command sequences.
10970 # Test whether the compiler implicitly links with -lc since on some
10971 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10972 # to ld, don't add -lc before -lgcc.
10973 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10974 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10976 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10979 (eval $ac_compile) 2>&5
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); } 2>conftest.err; then
10985 libobjs=conftest.$ac_objext
10987 wl=$lt_prog_compiler_wl_CXX
10993 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10994 allow_undefined_flag_CXX=
10995 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10996 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10999 (exit $ac_status); }
11001 archive_cmds_need_lc_CXX=no
11003 archive_cmds_need_lc_CXX=yes
11005 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11007 cat conftest.err 1>&5
11010 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11011 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11018 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11019 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11020 hardcode_action_CXX=
11021 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11022 test -n "$runpath_var CXX" || \
11023 test "X$hardcode_automatic_CXX"="Xyes" ; then
11025 # We can hardcode non-existant directories.
11026 if test "$hardcode_direct_CXX" != no &&
11027 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11028 # have to relink, otherwise we might link with an installed library
11029 # when we should be linking with a yet-to-be-installed one
11030 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11031 test "$hardcode_minus_L_CXX" != no; then
11032 # Linking always hardcodes the temporary library directory.
11033 hardcode_action_CXX=relink
11035 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11036 hardcode_action_CXX=immediate
11039 # We cannot hardcode anything, or else we can only hardcode existing
11041 hardcode_action_CXX=unsupported
11043 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11044 echo "${ECHO_T}$hardcode_action_CXX" >&6
11046 if test "$hardcode_action_CXX" = relink; then
11047 # Fast installation is not supported
11048 enable_fast_install=no
11049 elif test "$shlibpath_overrides_runpath" = yes ||
11050 test "$enable_shared" = no; then
11051 # Fast installation is not necessary
11052 enable_fast_install=needless
11057 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11058 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11059 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11060 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11061 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11062 echo "$as_me:$LINENO: result: yes" >&5
11063 echo "${ECHO_T}yes" >&6
11065 # FIXME - insert some real tests, host_os isn't really good enough
11068 if test -n "$STRIP" ; then
11069 striplib="$STRIP -x"
11070 echo "$as_me:$LINENO: result: yes" >&5
11071 echo "${ECHO_T}yes" >&6
11073 echo "$as_me:$LINENO: result: no" >&5
11074 echo "${ECHO_T}no" >&6
11078 echo "$as_me:$LINENO: result: no" >&5
11079 echo "${ECHO_T}no" >&6
11084 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11085 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11086 library_names_spec=
11087 libname_spec='lib$name'
11091 postuninstall_cmds=
11095 shlibpath_overrides_runpath=unknown
11097 dynamic_linker="$host_os ld.so"
11098 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11099 if test "$GCC" = yes; then
11100 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11101 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11102 # if the path contains ";" then we assume it to be the separator
11103 # otherwise default to the standard path separator (i.e. ":") - it is
11104 # assumed that no part of a normal pathname contains ";" but that should
11105 # okay in the real world where ";" in dirpaths is itself problematic.
11106 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11108 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11111 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11113 need_lib_prefix=unknown
11114 hardcode_into_libs=no
11116 # when you set need_version to no, make sure it does not cause -set_version
11117 # flags to be left without arguments
11118 need_version=unknown
11123 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11124 shlibpath_var=LIBPATH
11126 # AIX 3 has no versioning support, so we append a major version to the name.
11127 soname_spec='${libname}${release}${shared_ext}$major'
11134 hardcode_into_libs=yes
11135 if test "$host_cpu" = ia64; then
11136 # AIX 5 supports IA64
11137 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11138 shlibpath_var=LD_LIBRARY_PATH
11140 # With GCC up to 2.95.x, collect2 would create an import file
11141 # for dependence libraries. The import file would start with
11142 # the line `#! .'. This would cause the generated library to
11143 # depend on `.', always an invalid library. This was fixed in
11144 # development snapshots of GCC prior to 3.0.
11146 aix4 | aix4.[01] | aix4.[01].*)
11147 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11149 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11152 can_build_shared=no
11156 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11157 # soname into executable. Probably we can add versioning support to
11158 # collect2, so additional links can be useful in future.
11159 if test "$aix_use_runtimelinking" = yes; then
11160 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11161 # instead of lib<name>.a to let people know that these are not
11162 # typical AIX shared libraries.
11163 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11165 # We preserve .a as extension for shared libraries through AIX4.2
11166 # and later when we are not doing run time linking.
11167 library_names_spec='${libname}${release}.a $libname.a'
11168 soname_spec='${libname}${release}${shared_ext}$major'
11170 shlibpath_var=LIBPATH
11175 library_names_spec='$libname.ixlibrary $libname.a'
11176 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11177 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'
11181 library_names_spec='${libname}${shared_ext}'
11182 dynamic_linker="$host_os ld.so"
11183 shlibpath_var=LIBRARY_PATH
11189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11190 soname_spec='${libname}${release}${shared_ext}$major'
11191 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11192 shlibpath_var=LD_LIBRARY_PATH
11193 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11194 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11195 # the default ld.so.conf also contains /usr/contrib/lib and
11196 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11197 # libtool to hard-code these into programs
11200 cygwin* | mingw* | pw32*)
11201 version_type=windows
11206 case $GCC,$host_os in
11207 yes,cygwin* | yes,mingw* | yes,pw32*)
11208 library_names_spec='$libname.dll.a'
11209 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11210 postinstall_cmds='base_file=`basename \${file}`~
11211 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11212 dldir=$destdir/`dirname \$dlpath`~
11213 test -d \$dldir || mkdir -p \$dldir~
11214 $install_prog $dir/$dlname \$dldir/$dlname'
11215 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11216 dlpath=$dir/\$dldll~
11218 shlibpath_overrides_runpath=yes
11222 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11223 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11224 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11227 # MinGW DLLs use traditional 'lib' prefix
11228 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11229 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11230 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11231 # It is most probably a Windows format PATH printed by
11232 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11233 # path with ; separators, and with drive letters. We can handle the
11234 # drive letters (cygwin fileutils understands them), so leave them,
11235 # especially as we might pass files found there to a mingw objdump,
11236 # which wouldn't understand a cygwinified path. Ahh.
11237 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11239 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11243 # pw32 DLLs use 'pw' prefix rather than 'lib'
11244 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11250 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11253 dynamic_linker='Win32 ld.exe'
11254 # FIXME: first we should search . and the directory the executable is in
11258 darwin* | rhapsody*)
11259 dynamic_linker="$host_os dyld"
11260 version_type=darwin
11263 # FIXME: Relying on posixy $() will cause problems for
11264 # cross-compilation, but unfortunately the echo tests do not
11265 # yet detect zsh echo's removal of \ escapes.
11266 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11267 soname_spec='${libname}${release}${major}$shared_ext'
11268 shlibpath_overrides_runpath=yes
11269 shlibpath_var=DYLD_LIBRARY_PATH
11270 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11271 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11272 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11273 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"`
11275 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11283 soname_spec='${libname}${release}${shared_ext}$major'
11284 shlibpath_var=LD_LIBRARY_PATH
11292 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11293 version_type=freebsd-$objformat
11294 case $version_type in
11296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11301 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11305 shlibpath_var=LD_LIBRARY_PATH
11308 shlibpath_overrides_runpath=yes
11310 freebsd3.01* | freebsdelf3.01*)
11311 shlibpath_overrides_runpath=yes
11312 hardcode_into_libs=yes
11315 shlibpath_overrides_runpath=no
11316 hardcode_into_libs=yes
11325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11326 soname_spec='${libname}${release}${shared_ext}$major'
11327 shlibpath_var=LD_LIBRARY_PATH
11328 hardcode_into_libs=yes
11331 hpux9* | hpux10* | hpux11*)
11332 # Give a soname corresponding to the major version so that dld.sl refuses to
11333 # link against other versions.
11337 case "$host_cpu" in
11340 hardcode_into_libs=yes
11341 dynamic_linker="$host_os dld.so"
11342 shlibpath_var=LD_LIBRARY_PATH
11343 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11345 soname_spec='${libname}${release}${shared_ext}$major'
11346 if test "X$HPUX_IA64_MODE" = X32; then
11347 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11349 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11351 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11355 hardcode_into_libs=yes
11356 dynamic_linker="$host_os dld.sl"
11357 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11358 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11360 soname_spec='${libname}${release}${shared_ext}$major'
11361 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11362 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11366 dynamic_linker="$host_os dld.sl"
11367 shlibpath_var=SHLIB_PATH
11368 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11370 soname_spec='${libname}${release}${shared_ext}$major'
11373 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11374 postinstall_cmds='chmod 555 $lib'
11377 irix5* | irix6* | nonstopux*)
11379 nonstopux*) version_type=nonstopux ;;
11381 if test "$lt_cv_prog_gnu_ld" = yes; then
11389 soname_spec='${libname}${release}${shared_ext}$major'
11390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11392 irix5* | nonstopux*)
11393 libsuff= shlibsuff=
11396 case $LD in # libtool.m4 will add one of these switches to LD
11397 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11398 libsuff= shlibsuff= libmagic=32-bit;;
11399 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11400 libsuff=32 shlibsuff=N32 libmagic=N32;;
11401 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11402 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11403 *) libsuff= shlibsuff= libmagic=never-match;;
11407 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11408 shlibpath_overrides_runpath=no
11409 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11410 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11411 hardcode_into_libs=yes
11414 # No shared lib support for Linux oldld, aout, or coff.
11415 linux*oldld* | linux*aout* | linux*coff*)
11419 # This must be Linux ELF.
11424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11425 soname_spec='${libname}${release}${shared_ext}$major'
11426 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11427 shlibpath_var=LD_LIBRARY_PATH
11428 shlibpath_overrides_runpath=no
11429 # This implies no fast_install, which is unacceptable.
11430 # Some rework will be needed to allow for fast_install
11431 # before this can be enabled.
11432 hardcode_into_libs=yes
11434 # We used to test for /lib/ld.so.1 and disable shared libraries on
11435 # powerpc, because MkLinux only supported shared libraries with the
11436 # GNU dynamic linker. Since this was broken with cross compilers,
11437 # most powerpc-linux boxes support dynamic linking these days and
11438 # people can always --disable-shared, the test was removed, and we
11439 # assume the GNU/Linux dynamic linker is in use.
11440 dynamic_linker='GNU/Linux ld.so'
11447 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11449 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11450 dynamic_linker='NetBSD (a.out) ld.so'
11452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11453 soname_spec='${libname}${release}${shared_ext}$major'
11454 dynamic_linker='NetBSD ld.elf_so'
11456 shlibpath_var=LD_LIBRARY_PATH
11457 shlibpath_overrides_runpath=yes
11458 hardcode_into_libs=yes
11463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11464 shlibpath_var=LD_LIBRARY_PATH
11465 shlibpath_overrides_runpath=yes
11472 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11473 soname_spec='${libname}${release}${shared_ext}$major'
11474 shlibpath_var=LD_LIBRARY_PATH
11475 shlibpath_overrides_runpath=yes
11482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11483 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11484 shlibpath_var=LD_LIBRARY_PATH
11485 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11487 openbsd2.[89] | openbsd2.[89].*)
11488 shlibpath_overrides_runpath=no
11491 shlibpath_overrides_runpath=yes
11495 shlibpath_overrides_runpath=yes
11500 libname_spec='$name'
11503 library_names_spec='$libname${shared_ext} $libname.a'
11504 dynamic_linker='OS/2 ld.exe'
11505 shlibpath_var=LIBPATH
11508 osf3* | osf4* | osf5*)
11512 soname_spec='${libname}${release}${shared_ext}$major'
11513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11514 shlibpath_var=LD_LIBRARY_PATH
11515 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11516 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11521 soname_spec='${libname}${release}${shared_ext}$major'
11522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11523 shlibpath_var=LD_LIBRARY_PATH
11530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11531 soname_spec='${libname}${release}${shared_ext}$major'
11532 shlibpath_var=LD_LIBRARY_PATH
11533 shlibpath_overrides_runpath=yes
11534 hardcode_into_libs=yes
11535 # ldd complains unless libraries are executable
11536 postinstall_cmds='chmod +x $lib'
11541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11542 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11543 shlibpath_var=LD_LIBRARY_PATH
11544 shlibpath_overrides_runpath=yes
11545 if test "$with_gnu_ld" = yes; then
11551 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11554 soname_spec='${libname}${release}${shared_ext}$major'
11555 shlibpath_var=LD_LIBRARY_PATH
11556 case $host_vendor in
11558 shlibpath_overrides_runpath=no
11560 export_dynamic_flag_spec='${wl}-Blargedynsym'
11561 runpath_var=LD_RUN_PATH
11569 shlibpath_overrides_runpath=no
11570 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11576 if test -d /usr/nec ;then
11578 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11579 soname_spec='$libname${shared_ext}.$major'
11580 shlibpath_var=LD_LIBRARY_PATH
11586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11587 soname_spec='${libname}${release}${shared_ext}$major'
11588 shlibpath_var=LD_LIBRARY_PATH
11595 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11596 echo "${ECHO_T}$dynamic_linker" >&6
11597 test "$dynamic_linker" = no && can_build_shared=no
11599 if test "x$enable_dlopen" != xyes; then
11600 enable_dlopen=unknown
11601 enable_dlopen_self=unknown
11602 enable_dlopen_self_static=unknown
11609 lt_cv_dlopen="load_add_on"
11611 lt_cv_dlopen_self=yes
11615 lt_cv_dlopen="LoadLibrary"
11620 lt_cv_dlopen="dlopen"
11625 # if libdl is installed we need to link against it
11626 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11627 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11628 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11629 echo $ECHO_N "(cached) $ECHO_C" >&6
11631 ac_check_lib_save_LIBS=$LIBS
11633 cat >conftest.$ac_ext <<_ACEOF
11634 #line $LINENO "configure"
11637 cat confdefs.h >>conftest.$ac_ext
11638 cat >>conftest.$ac_ext <<_ACEOF
11639 /* end confdefs.h. */
11641 /* Override any gcc2 internal prototype to avoid an error. */
11645 /* We use char because int might match the return type of a gcc2
11646 builtin and then its argument prototype would still apply. */
11656 rm -f conftest.$ac_objext conftest$ac_exeext
11657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11658 (eval $ac_link) 2>&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); } &&
11662 { ac_try='test -s conftest$ac_exeext'
11663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11664 (eval $ac_try) 2>&5
11666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667 (exit $ac_status); }; }; then
11668 ac_cv_lib_dl_dlopen=yes
11670 echo "$as_me: failed program was:" >&5
11671 sed 's/^/| /' conftest.$ac_ext >&5
11673 ac_cv_lib_dl_dlopen=no
11675 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11676 LIBS=$ac_check_lib_save_LIBS
11678 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11679 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11680 if test $ac_cv_lib_dl_dlopen = yes; then
11681 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11684 lt_cv_dlopen="dyld"
11686 lt_cv_dlopen_self=yes
11693 echo "$as_me:$LINENO: checking for shl_load" >&5
11694 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11695 if test "${ac_cv_func_shl_load+set}" = set; then
11696 echo $ECHO_N "(cached) $ECHO_C" >&6
11698 cat >conftest.$ac_ext <<_ACEOF
11699 #line $LINENO "configure"
11702 cat confdefs.h >>conftest.$ac_ext
11703 cat >>conftest.$ac_ext <<_ACEOF
11704 /* end confdefs.h. */
11705 /* System header to define __stub macros and hopefully few prototypes,
11706 which can conflict with char shl_load (); below.
11707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11708 <limits.h> exists even on freestanding compilers. */
11710 # include <limits.h>
11712 # include <assert.h>
11714 /* Override any gcc2 internal prototype to avoid an error. */
11719 /* We use char because int might match the return type of a gcc2
11720 builtin and then its argument prototype would still apply. */
11722 /* The GNU C library defines this for functions which it implements
11723 to always fail with ENOSYS. Some functions are actually named
11724 something starting with __ and the normal name is an alias. */
11725 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11728 char (*f) () = shl_load;
11737 return f != shl_load;
11742 rm -f conftest.$ac_objext conftest$ac_exeext
11743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11744 (eval $ac_link) 2>&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); } &&
11748 { ac_try='test -s conftest$ac_exeext'
11749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11750 (eval $ac_try) 2>&5
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); }; }; then
11754 ac_cv_func_shl_load=yes
11756 echo "$as_me: failed program was:" >&5
11757 sed 's/^/| /' conftest.$ac_ext >&5
11759 ac_cv_func_shl_load=no
11761 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11763 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11764 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11765 if test $ac_cv_func_shl_load = yes; then
11766 lt_cv_dlopen="shl_load"
11768 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11769 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11770 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11771 echo $ECHO_N "(cached) $ECHO_C" >&6
11773 ac_check_lib_save_LIBS=$LIBS
11775 cat >conftest.$ac_ext <<_ACEOF
11776 #line $LINENO "configure"
11779 cat confdefs.h >>conftest.$ac_ext
11780 cat >>conftest.$ac_ext <<_ACEOF
11781 /* end confdefs.h. */
11783 /* Override any gcc2 internal prototype to avoid an error. */
11787 /* We use char because int might match the return type of a gcc2
11788 builtin and then its argument prototype would still apply. */
11798 rm -f conftest.$ac_objext conftest$ac_exeext
11799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11800 (eval $ac_link) 2>&5
11802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 (exit $ac_status); } &&
11804 { ac_try='test -s conftest$ac_exeext'
11805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11806 (eval $ac_try) 2>&5
11808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11809 (exit $ac_status); }; }; then
11810 ac_cv_lib_dld_shl_load=yes
11812 echo "$as_me: failed program was:" >&5
11813 sed 's/^/| /' conftest.$ac_ext >&5
11815 ac_cv_lib_dld_shl_load=no
11817 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11818 LIBS=$ac_check_lib_save_LIBS
11820 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11821 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11822 if test $ac_cv_lib_dld_shl_load = yes; then
11823 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11825 echo "$as_me:$LINENO: checking for dlopen" >&5
11826 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11827 if test "${ac_cv_func_dlopen+set}" = set; then
11828 echo $ECHO_N "(cached) $ECHO_C" >&6
11830 cat >conftest.$ac_ext <<_ACEOF
11831 #line $LINENO "configure"
11834 cat confdefs.h >>conftest.$ac_ext
11835 cat >>conftest.$ac_ext <<_ACEOF
11836 /* end confdefs.h. */
11837 /* System header to define __stub macros and hopefully few prototypes,
11838 which can conflict with char dlopen (); below.
11839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11840 <limits.h> exists even on freestanding compilers. */
11842 # include <limits.h>
11844 # include <assert.h>
11846 /* Override any gcc2 internal prototype to avoid an error. */
11851 /* We use char because int might match the return type of a gcc2
11852 builtin and then its argument prototype would still apply. */
11854 /* The GNU C library defines this for functions which it implements
11855 to always fail with ENOSYS. Some functions are actually named
11856 something starting with __ and the normal name is an alias. */
11857 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11860 char (*f) () = dlopen;
11869 return f != dlopen;
11874 rm -f conftest.$ac_objext conftest$ac_exeext
11875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11876 (eval $ac_link) 2>&5
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); } &&
11880 { ac_try='test -s conftest$ac_exeext'
11881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11882 (eval $ac_try) 2>&5
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); }; }; then
11886 ac_cv_func_dlopen=yes
11888 echo "$as_me: failed program was:" >&5
11889 sed 's/^/| /' conftest.$ac_ext >&5
11891 ac_cv_func_dlopen=no
11893 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11895 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11896 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11897 if test $ac_cv_func_dlopen = yes; then
11898 lt_cv_dlopen="dlopen"
11900 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11901 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11902 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11903 echo $ECHO_N "(cached) $ECHO_C" >&6
11905 ac_check_lib_save_LIBS=$LIBS
11907 cat >conftest.$ac_ext <<_ACEOF
11908 #line $LINENO "configure"
11911 cat confdefs.h >>conftest.$ac_ext
11912 cat >>conftest.$ac_ext <<_ACEOF
11913 /* end confdefs.h. */
11915 /* Override any gcc2 internal prototype to avoid an error. */
11919 /* We use char because int might match the return type of a gcc2
11920 builtin and then its argument prototype would still apply. */
11930 rm -f conftest.$ac_objext conftest$ac_exeext
11931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11932 (eval $ac_link) 2>&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); } &&
11936 { ac_try='test -s conftest$ac_exeext'
11937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11938 (eval $ac_try) 2>&5
11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); }; }; then
11942 ac_cv_lib_dl_dlopen=yes
11944 echo "$as_me: failed program was:" >&5
11945 sed 's/^/| /' conftest.$ac_ext >&5
11947 ac_cv_lib_dl_dlopen=no
11949 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11950 LIBS=$ac_check_lib_save_LIBS
11952 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11953 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11954 if test $ac_cv_lib_dl_dlopen = yes; then
11955 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11957 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11958 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11959 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11960 echo $ECHO_N "(cached) $ECHO_C" >&6
11962 ac_check_lib_save_LIBS=$LIBS
11963 LIBS="-lsvld $LIBS"
11964 cat >conftest.$ac_ext <<_ACEOF
11965 #line $LINENO "configure"
11968 cat confdefs.h >>conftest.$ac_ext
11969 cat >>conftest.$ac_ext <<_ACEOF
11970 /* end confdefs.h. */
11972 /* Override any gcc2 internal prototype to avoid an error. */
11976 /* We use char because int might match the return type of a gcc2
11977 builtin and then its argument prototype would still apply. */
11987 rm -f conftest.$ac_objext conftest$ac_exeext
11988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11989 (eval $ac_link) 2>&5
11991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992 (exit $ac_status); } &&
11993 { ac_try='test -s conftest$ac_exeext'
11994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11995 (eval $ac_try) 2>&5
11997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11998 (exit $ac_status); }; }; then
11999 ac_cv_lib_svld_dlopen=yes
12001 echo "$as_me: failed program was:" >&5
12002 sed 's/^/| /' conftest.$ac_ext >&5
12004 ac_cv_lib_svld_dlopen=no
12006 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12007 LIBS=$ac_check_lib_save_LIBS
12009 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12010 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12011 if test $ac_cv_lib_svld_dlopen = yes; then
12012 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12014 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12015 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12016 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12017 echo $ECHO_N "(cached) $ECHO_C" >&6
12019 ac_check_lib_save_LIBS=$LIBS
12021 cat >conftest.$ac_ext <<_ACEOF
12022 #line $LINENO "configure"
12025 cat confdefs.h >>conftest.$ac_ext
12026 cat >>conftest.$ac_ext <<_ACEOF
12027 /* end confdefs.h. */
12029 /* Override any gcc2 internal prototype to avoid an error. */
12033 /* We use char because int might match the return type of a gcc2
12034 builtin and then its argument prototype would still apply. */
12044 rm -f conftest.$ac_objext conftest$ac_exeext
12045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12046 (eval $ac_link) 2>&5
12048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12049 (exit $ac_status); } &&
12050 { ac_try='test -s conftest$ac_exeext'
12051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12052 (eval $ac_try) 2>&5
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); }; }; then
12056 ac_cv_lib_dld_dld_link=yes
12058 echo "$as_me: failed program was:" >&5
12059 sed 's/^/| /' conftest.$ac_ext >&5
12061 ac_cv_lib_dld_dld_link=no
12063 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12064 LIBS=$ac_check_lib_save_LIBS
12066 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12067 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12068 if test $ac_cv_lib_dld_dld_link = yes; then
12069 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12090 if test "x$lt_cv_dlopen" != xno; then
12096 case $lt_cv_dlopen in
12098 save_CPPFLAGS="$CPPFLAGS"
12099 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12101 save_LDFLAGS="$LDFLAGS"
12102 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12105 LIBS="$lt_cv_dlopen_libs $LIBS"
12107 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12108 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12109 if test "${lt_cv_dlopen_self+set}" = set; then
12110 echo $ECHO_N "(cached) $ECHO_C" >&6
12112 if test "$cross_compiling" = yes; then :
12113 lt_cv_dlopen_self=cross
12115 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12116 lt_status=$lt_dlunknown
12117 cat > conftest.$ac_ext <<EOF
12118 #line 12118 "configure"
12119 #include "confdefs.h"
12128 # define LT_DLGLOBAL RTLD_GLOBAL
12131 # define LT_DLGLOBAL DL_GLOBAL
12133 # define LT_DLGLOBAL 0
12137 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12138 find out it does not work in some platform. */
12139 #ifndef LT_DLLAZY_OR_NOW
12141 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12144 # define LT_DLLAZY_OR_NOW DL_LAZY
12147 # define LT_DLLAZY_OR_NOW RTLD_NOW
12150 # define LT_DLLAZY_OR_NOW DL_NOW
12152 # define LT_DLLAZY_OR_NOW 0
12160 extern "C" void exit (int);
12163 void fnord() { int i=42;}
12166 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12167 int status = $lt_dlunknown;
12171 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12172 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12173 /* dlclose (self); */
12179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12180 (eval $ac_link) 2>&5
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12184 (./conftest; exit; ) 2>/dev/null
12186 case x$lt_status in
12187 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12188 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12189 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12192 # compilation failed
12193 lt_cv_dlopen_self=no
12200 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12201 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12203 if test "x$lt_cv_dlopen_self" = xyes; then
12204 LDFLAGS="$LDFLAGS $link_static_flag"
12205 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12206 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12207 if test "${lt_cv_dlopen_self_static+set}" = set; then
12208 echo $ECHO_N "(cached) $ECHO_C" >&6
12210 if test "$cross_compiling" = yes; then :
12211 lt_cv_dlopen_self_static=cross
12213 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12214 lt_status=$lt_dlunknown
12215 cat > conftest.$ac_ext <<EOF
12216 #line 12216 "configure"
12217 #include "confdefs.h"
12226 # define LT_DLGLOBAL RTLD_GLOBAL
12229 # define LT_DLGLOBAL DL_GLOBAL
12231 # define LT_DLGLOBAL 0
12235 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12236 find out it does not work in some platform. */
12237 #ifndef LT_DLLAZY_OR_NOW
12239 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12242 # define LT_DLLAZY_OR_NOW DL_LAZY
12245 # define LT_DLLAZY_OR_NOW RTLD_NOW
12248 # define LT_DLLAZY_OR_NOW DL_NOW
12250 # define LT_DLLAZY_OR_NOW 0
12258 extern "C" void exit (int);
12261 void fnord() { int i=42;}
12264 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12265 int status = $lt_dlunknown;
12269 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12270 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12271 /* dlclose (self); */
12277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12278 (eval $ac_link) 2>&5
12280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12282 (./conftest; exit; ) 2>/dev/null
12284 case x$lt_status in
12285 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12286 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12287 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12290 # compilation failed
12291 lt_cv_dlopen_self_static=no
12298 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12299 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12302 CPPFLAGS="$save_CPPFLAGS"
12303 LDFLAGS="$save_LDFLAGS"
12308 case $lt_cv_dlopen_self in
12309 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12310 *) enable_dlopen_self=unknown ;;
12313 case $lt_cv_dlopen_self_static in
12314 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12315 *) enable_dlopen_self_static=unknown ;;
12320 # The else clause should only fire when bootstrapping the
12321 # libtool distribution, otherwise you forgot to ship ltmain.sh
12322 # with your package, and you will get complaints that there are
12323 # no rules to generate ltmain.sh.
12324 if test -f "$ltmain"; then
12325 # See if we are running on zsh, and set the options which allow our commands through
12326 # without removal of \ escapes.
12327 if test -n "${ZSH_VERSION+set}" ; then
12328 setopt NO_GLOB_SUBST
12330 # Now quote all the things that may contain metacharacters while being
12331 # careful not to overquote the AC_SUBSTed values. We take copies of the
12332 # variables and quote the copies for generation of the libtool script.
12333 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12334 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12335 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12336 deplibs_check_method reload_flag reload_cmds need_locks \
12337 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12338 lt_cv_sys_global_symbol_to_c_name_address \
12339 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12340 old_postinstall_cmds old_postuninstall_cmds \
12344 lt_prog_compiler_wl_CXX \
12345 lt_prog_compiler_pic_CXX \
12346 lt_prog_compiler_static_CXX \
12347 lt_prog_compiler_no_builtin_flag_CXX \
12348 export_dynamic_flag_spec_CXX \
12349 thread_safe_flag_spec_CXX \
12350 whole_archive_flag_spec_CXX \
12351 enable_shared_with_static_runtimes_CXX \
12352 old_archive_cmds_CXX \
12353 old_archive_from_new_cmds_CXX \
12354 predep_objects_CXX \
12355 postdep_objects_CXX \
12358 compiler_lib_search_path_CXX \
12360 archive_expsym_cmds_CXX \
12361 postinstall_cmds_CXX \
12362 postuninstall_cmds_CXX \
12363 old_archive_from_expsyms_cmds_CXX \
12364 allow_undefined_flag_CXX \
12365 no_undefined_flag_CXX \
12366 export_symbols_cmds_CXX \
12367 hardcode_libdir_flag_spec_CXX \
12368 hardcode_libdir_flag_spec_ld_CXX \
12369 hardcode_libdir_separator_CXX \
12370 hardcode_automatic_CXX \
12372 module_expsym_cmds_CXX \
12373 lt_cv_prog_compiler_c_o_CXX \
12374 exclude_expsyms_CXX \
12375 include_expsyms_CXX; do
12378 old_archive_cmds_CXX | \
12379 old_archive_from_new_cmds_CXX | \
12380 archive_cmds_CXX | \
12381 archive_expsym_cmds_CXX | \
12382 module_cmds_CXX | \
12383 module_expsym_cmds_CXX | \
12384 old_archive_from_expsyms_cmds_CXX | \
12385 export_symbols_cmds_CXX | \
12386 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12387 postinstall_cmds | postuninstall_cmds | \
12388 old_postinstall_cmds | old_postuninstall_cmds | \
12389 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12390 # Double-quote double-evaled strings.
12391 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12394 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12400 *'\$0 --fallback-echo"')
12401 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12407 cat <<__EOF__ >> "$cfgfile"
12408 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12410 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12412 # Shell to use when invoking shell scripts.
12415 # Whether or not to build shared libraries.
12416 build_libtool_libs=$enable_shared
12418 # Whether or not to build static libraries.
12419 build_old_libs=$enable_static
12421 # Whether or not to add -lc for building shared libraries.
12422 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12424 # Whether or not to disallow shared libs when runtime libs are static
12425 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12427 # Whether or not to optimize for fast installation.
12428 fast_install=$enable_fast_install
12431 host_alias=$host_alias
12434 # An echo program that does not interpret backslashes.
12439 AR_FLAGS=$lt_AR_FLAGS
12444 # A language-specific compiler.
12445 CC=$lt_compiler_CXX
12447 # Is the compiler the GNU C compiler?
12453 # The linker used to build libraries.
12456 # Whether we need hard or soft links.
12459 # A BSD-compatible nm program.
12462 # A symbol stripping program
12465 # Used to examine libraries when file_magic_cmd begins "file"
12466 MAGIC_CMD=$MAGIC_CMD
12468 # Used on cygwin: DLL creation program.
12471 # Used on cygwin: object dumper.
12474 # Used on cygwin: assembler.
12477 # The name of the directory that contains temporary libtool files.
12480 # How to create reloadable object files.
12481 reload_flag=$lt_reload_flag
12482 reload_cmds=$lt_reload_cmds
12484 # How to pass a linker flag through the compiler.
12485 wl=$lt_lt_prog_compiler_wl_CXX
12487 # Object file suffix (normally "o").
12488 objext="$ac_objext"
12490 # Old archive suffix (normally "a").
12493 # Shared library suffix (normally ".so").
12496 # Executable file suffix (normally "").
12499 # Additional compiler flags for building library objects.
12500 pic_flag=$lt_lt_prog_compiler_pic_CXX
12503 # What is the maximum length of a command?
12504 max_cmd_len=$lt_cv_sys_max_cmd_len
12506 # Does compiler simultaneously support -c and -o options?
12507 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12509 # Must we lock files when doing compilation ?
12510 need_locks=$lt_need_locks
12512 # Do we need the lib prefix for modules?
12513 need_lib_prefix=$need_lib_prefix
12515 # Do we need a version for libraries?
12516 need_version=$need_version
12518 # Whether dlopen is supported.
12519 dlopen_support=$enable_dlopen
12521 # Whether dlopen of programs is supported.
12522 dlopen_self=$enable_dlopen_self
12524 # Whether dlopen of statically linked programs is supported.
12525 dlopen_self_static=$enable_dlopen_self_static
12527 # Compiler flag to prevent dynamic linking.
12528 link_static_flag=$lt_lt_prog_compiler_static_CXX
12530 # Compiler flag to turn off builtin functions.
12531 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12533 # Compiler flag to allow reflexive dlopens.
12534 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12536 # Compiler flag to generate shared objects directly from archives.
12537 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12539 # Compiler flag to generate thread-safe objects.
12540 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12542 # Library versioning type.
12543 version_type=$version_type
12545 # Format of library name prefix.
12546 libname_spec=$lt_libname_spec
12548 # List of archive names. First name is the real one, the rest are links.
12549 # The last name is the one that the linker finds with -lNAME.
12550 library_names_spec=$lt_library_names_spec
12552 # The coded name of the library, if different from the real name.
12553 soname_spec=$lt_soname_spec
12555 # Commands used to build and install an old-style archive.
12557 old_archive_cmds=$lt_old_archive_cmds_CXX
12558 old_postinstall_cmds=$lt_old_postinstall_cmds
12559 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12561 # Create an old-style archive from a shared archive.
12562 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12564 # Create a temporary old-style archive to link instead of a shared archive.
12565 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12567 # Commands used to build and install a shared archive.
12568 archive_cmds=$lt_archive_cmds_CXX
12569 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12570 postinstall_cmds=$lt_postinstall_cmds
12571 postuninstall_cmds=$lt_postuninstall_cmds
12573 # Commands used to build a loadable module (assumed same as above if empty)
12574 module_cmds=$lt_module_cmds_CXX
12575 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12577 # Commands to strip libraries.
12578 old_striplib=$lt_old_striplib
12579 striplib=$lt_striplib
12581 # Dependencies to place before the objects being linked to create a
12583 predep_objects=$lt_predep_objects_CXX
12585 # Dependencies to place after the objects being linked to create a
12587 postdep_objects=$lt_postdep_objects_CXX
12589 # Dependencies to place before the objects being linked to create a
12591 predeps=$lt_predeps_CXX
12593 # Dependencies to place after the objects being linked to create a
12595 postdeps=$lt_postdeps_CXX
12597 # The library search path used internally by the compiler when linking
12598 # a shared library.
12599 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12601 # Method to check whether dependent libraries are shared objects.
12602 deplibs_check_method=$lt_deplibs_check_method
12604 # Command to use when deplibs_check_method == file_magic.
12605 file_magic_cmd=$lt_file_magic_cmd
12607 # Flag that allows shared libraries with undefined symbols to be built.
12608 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12610 # Flag that forces no undefined symbols.
12611 no_undefined_flag=$lt_no_undefined_flag_CXX
12613 # Commands used to finish a libtool library installation in a directory.
12614 finish_cmds=$lt_finish_cmds
12616 # Same as above, but a single script fragment to be evaled but not shown.
12617 finish_eval=$lt_finish_eval
12619 # Take the output of nm and produce a listing of raw symbols and C names.
12620 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12622 # Transform the output of nm in a proper C declaration
12623 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12625 # Transform the output of nm in a C name address pair
12626 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12628 # This is the shared library runtime path variable.
12629 runpath_var=$runpath_var
12631 # This is the shared library path variable.
12632 shlibpath_var=$shlibpath_var
12634 # Is shlibpath searched before the hard-coded library search path?
12635 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12637 # How to hardcode a shared library path into an executable.
12638 hardcode_action=$hardcode_action_CXX
12640 # Whether we should hardcode library paths into libraries.
12641 hardcode_into_libs=$hardcode_into_libs
12643 # Flag to hardcode \$libdir into a binary during linking.
12644 # This must work even if \$libdir does not exist.
12645 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12647 # If ld is used when linking, flag to hardcode \$libdir into
12648 # a binary during linking. This must work even if \$libdir does
12650 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12652 # Whether we need a single -rpath flag with a separated argument.
12653 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12655 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12656 # resulting binary.
12657 hardcode_direct=$hardcode_direct_CXX
12659 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12660 # resulting binary.
12661 hardcode_minus_L=$hardcode_minus_L_CXX
12663 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12664 # the resulting binary.
12665 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12667 # Set to yes if building a shared library automatically hardcodes DIR into the library
12668 # and all subsequent libraries and executables linked against it.
12669 hardcode_automatic=$hardcode_automatic_CXX
12671 # Variables whose values should be saved in libtool wrapper scripts and
12672 # restored at relink time.
12673 variables_saved_for_relink="$variables_saved_for_relink"
12675 # Whether libtool must link a program against all its dependency libraries.
12676 link_all_deplibs=$link_all_deplibs_CXX
12678 # Compile-time system search path for libraries
12679 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12681 # Run-time system search path for libraries
12682 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12684 # Fix the shell variable \$srcfile for the compiler.
12685 fix_srcfile_path="$fix_srcfile_path_CXX"
12687 # Set to yes if exported symbols are required.
12688 always_export_symbols=$always_export_symbols_CXX
12690 # The commands to list exported symbols.
12691 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12693 # The commands to extract the exported symbol list from a shared archive.
12694 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12696 # Symbols that should not be listed in the preloaded symbols.
12697 exclude_expsyms=$lt_exclude_expsyms_CXX
12699 # Symbols that must always be exported.
12700 include_expsyms=$lt_include_expsyms_CXX
12702 # ### END LIBTOOL TAG CONFIG: $tagname
12708 # If there is no Makefile yet, we rely on a make rule to execute
12709 # `config.status --recheck' to rerun these tests and create the
12710 # libtool script then.
12711 test -f Makefile && make "$ltmain"
12716 ac_cpp='$CPP $CPPFLAGS'
12717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12725 with_gnu_ldcxx=$with_gnu_ld
12726 with_gnu_ld=$lt_save_with_gnu_ld
12727 lt_cv_path_LDCXX=$lt_cv_path_LD
12728 lt_cv_path_LD=$lt_save_path_LD
12729 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12730 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12738 if test -n "$F77" && test "X$F77" != "Xno"; then
12741 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12742 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12743 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12746 archive_cmds_need_lc_F77=no
12747 allow_undefined_flag_F77=
12748 always_export_symbols_F77=no
12749 archive_expsym_cmds_F77=
12750 export_dynamic_flag_spec_F77=
12751 hardcode_direct_F77=no
12752 hardcode_libdir_flag_spec_F77=
12753 hardcode_libdir_flag_spec_ld_F77=
12754 hardcode_libdir_separator_F77=
12755 hardcode_minus_L_F77=no
12756 hardcode_automatic_F77=no
12758 module_expsym_cmds_F77=
12759 link_all_deplibs_F77=unknown
12760 old_archive_cmds_F77=$old_archive_cmds
12761 no_undefined_flag_F77=
12762 whole_archive_flag_spec_F77=
12763 enable_shared_with_static_runtimes_F77=no
12765 # Source file extension for f77 test sources.
12768 # Object file extension for compiled f77 test sources.
12772 # Code to be used in simple compile tests
12773 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12775 # Code to be used in simple link tests
12776 lt_simple_link_test_code=" program t\n end\n"
12778 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12780 # If no C compiler was specified, use CC.
12783 # Allow CC to be a program name with arguments.
12787 # Allow CC to be a program name with arguments.
12792 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12794 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12795 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12796 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12797 echo "${ECHO_T}$can_build_shared" >&6
12799 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12800 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12801 test "$can_build_shared" = "no" && enable_shared=no
12803 # On AIX, shared libraries and static libraries use the same namespace, and
12804 # are all built from PIC.
12807 test "$enable_shared" = yes && enable_static=no
12808 if test -n "$RANLIB"; then
12809 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12810 postinstall_cmds='$RANLIB $lib'
12814 test "$enable_shared" = yes && enable_static=no
12817 echo "$as_me:$LINENO: result: $enable_shared" >&5
12818 echo "${ECHO_T}$enable_shared" >&6
12820 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12821 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12822 # Make sure either enable_shared or enable_static is yes.
12823 test "$enable_shared" = yes || enable_static=yes
12824 echo "$as_me:$LINENO: result: $enable_static" >&5
12825 echo "${ECHO_T}$enable_static" >&6
12827 test "$ld_shlibs_F77" = no && can_build_shared=no
12832 lt_prog_compiler_wl_F77=
12833 lt_prog_compiler_pic_F77=
12834 lt_prog_compiler_static_F77=
12836 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12837 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12839 if test "$GCC" = yes; then
12840 lt_prog_compiler_wl_F77='-Wl,'
12841 lt_prog_compiler_static_F77='-static'
12845 # All AIX code is PIC.
12846 if test "$host_cpu" = ia64; then
12847 # AIX 5 now supports IA64 processor
12848 lt_prog_compiler_static_F77='-Bstatic'
12853 # FIXME: we need at least 68020 code to build shared libraries, but
12854 # adding the `-m68020' flag to GCC prevents building anything better,
12856 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12859 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12860 # PIC is the default for these OSes.
12863 mingw* | pw32* | os2*)
12864 # This hack is so that the source file can tell whether it is being
12865 # built for inclusion in a dll (and should export symbols for example).
12866 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12869 darwin* | rhapsody*)
12870 # PIC is the default on this platform
12871 # Common symbols not allowed in MH_DYLIB files
12872 lt_prog_compiler_pic_F77='-fno-common'
12876 # Just because we use GCC doesn't mean we suddenly get shared libraries
12877 # on systems that don't support them.
12878 lt_prog_compiler_can_build_shared_F77=no
12883 if test -d /usr/nec; then
12884 lt_prog_compiler_pic_F77=-Kconform_pic
12889 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12890 # not for PA HP-UX.
12891 case "$host_cpu" in
12896 lt_prog_compiler_pic_F77='-fPIC'
12902 lt_prog_compiler_pic_F77='-fPIC'
12906 # PORTME Check for flag to pass linker flags through the system compiler.
12909 lt_prog_compiler_wl_F77='-Wl,'
12910 if test "$host_cpu" = ia64; then
12911 # AIX 5 now supports IA64 processor
12912 lt_prog_compiler_static_F77='-Bstatic'
12914 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12918 mingw* | pw32* | os2*)
12919 # This hack is so that the source file can tell whether it is being
12920 # built for inclusion in a dll (and should export symbols for example).
12921 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12924 hpux9* | hpux10* | hpux11*)
12925 lt_prog_compiler_wl_F77='-Wl,'
12926 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12927 # not for PA HP-UX.
12928 case "$host_cpu" in
12933 lt_prog_compiler_pic_F77='+Z'
12936 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12937 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12940 irix5* | irix6* | nonstopux*)
12941 lt_prog_compiler_wl_F77='-Wl,'
12942 # PIC (with -KPIC) is the default.
12943 lt_prog_compiler_static_F77='-non_shared'
12947 lt_prog_compiler_pic_F77='-KPIC'
12948 lt_prog_compiler_static_F77='-Bstatic'
12954 lt_prog_compiler_wl_F77='-Wl,'
12955 lt_prog_compiler_pic_F77='-KPIC'
12956 lt_prog_compiler_static_F77='-static'
12959 lt_prog_compiler_wl_F77='-Wl,'
12960 # All Alpha code is PIC.
12961 lt_prog_compiler_static_F77='-non_shared'
12966 osf3* | osf4* | osf5*)
12967 lt_prog_compiler_wl_F77='-Wl,'
12968 # All OSF/1 code is PIC.
12969 lt_prog_compiler_static_F77='-non_shared'
12973 lt_prog_compiler_pic_F77='-Kpic'
12974 lt_prog_compiler_static_F77='-dn'
12978 lt_prog_compiler_wl_F77='-Wl,'
12979 lt_prog_compiler_pic_F77='-KPIC'
12980 lt_prog_compiler_static_F77='-Bstatic'
12984 lt_prog_compiler_wl_F77='-Qoption ld '
12985 lt_prog_compiler_pic_F77='-PIC'
12986 lt_prog_compiler_static_F77='-Bstatic'
12989 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12990 lt_prog_compiler_wl_F77='-Wl,'
12991 lt_prog_compiler_pic_F77='-KPIC'
12992 lt_prog_compiler_static_F77='-Bstatic'
12996 if test -d /usr/nec ;then
12997 lt_prog_compiler_pic_F77='-Kconform_pic'
12998 lt_prog_compiler_static_F77='-Bstatic'
13003 lt_prog_compiler_pic_F77='-pic'
13004 lt_prog_compiler_static_F77='-Bstatic'
13008 lt_prog_compiler_can_build_shared_F77=no
13013 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13014 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13017 # Check to make sure the PIC flag actually works.
13019 if test -n "$lt_prog_compiler_pic_F77"; then
13020 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13021 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13022 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13023 echo $ECHO_N "(cached) $ECHO_C" >&6
13025 lt_prog_compiler_pic_works_F77=no
13026 ac_outfile=conftest.$ac_objext
13027 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13028 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13029 # Insert the option either (1) after the last *FLAGS variable, or
13030 # (2) before a word containing "conftest.", or (3) at the end.
13031 # Note that $ac_compile itself does not contain backslashes and begins
13032 # with a dollar sign (not a hyphen), so the echo should work correctly.
13033 # The option is referenced via a variable to avoid confusing sed.
13034 lt_compile=`echo "$ac_compile" | $SED \
13035 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13036 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13037 -e 's:$: $lt_compiler_flag:'`
13038 (eval echo "\"\$as_me:13038: $lt_compile\"" >&5)
13039 (eval "$lt_compile" 2>conftest.err)
13041 cat conftest.err >&5
13042 echo "$as_me:13042: \$? = $ac_status" >&5
13043 if (exit $ac_status) && test -s "$ac_outfile"; then
13044 # The compiler can only warn and ignore the option if not recognized
13045 # So say no if there are warnings
13046 if test ! -s conftest.err; then
13047 lt_prog_compiler_pic_works_F77=yes
13053 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13054 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13056 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13057 case $lt_prog_compiler_pic_F77 in
13059 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13062 lt_prog_compiler_pic_F77=
13063 lt_prog_compiler_can_build_shared_F77=no
13068 # For platforms which do not support PIC, -DPIC is meaningless:
13070 lt_prog_compiler_pic_F77=
13073 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13077 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13078 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13079 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13080 echo $ECHO_N "(cached) $ECHO_C" >&6
13082 lt_cv_prog_compiler_c_o_F77=no
13083 $rm -r conftest 2>/dev/null
13087 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13089 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13090 # that will create temporary files in the current directory regardless of
13091 # the output directory. Thus, making CWD read-only will cause this test
13092 # to fail, enabling locking or at least warning the user not to do parallel
13096 lt_compiler_flag="-o out/conftest2.$ac_objext"
13097 # Insert the option either (1) after the last *FLAGS variable, or
13098 # (2) before a word containing "conftest.", or (3) at the end.
13099 # Note that $ac_compile itself does not contain backslashes and begins
13100 # with a dollar sign (not a hyphen), so the echo should work correctly.
13101 lt_compile=`echo "$ac_compile" | $SED \
13102 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13103 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13104 -e 's:$: $lt_compiler_flag:'`
13105 (eval echo "\"\$as_me:13105: $lt_compile\"" >&5)
13106 (eval "$lt_compile" 2>out/conftest.err)
13108 cat out/conftest.err >&5
13109 echo "$as_me:13109: \$? = $ac_status" >&5
13110 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13112 # The compiler can only warn and ignore the option if not recognized
13113 # So say no if there are warnings
13114 if test ! -s out/conftest.err; then
13115 lt_cv_prog_compiler_c_o_F77=yes
13119 $rm conftest* out/*
13126 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13127 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13130 hard_links="nottested"
13131 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13132 # do not overwrite the value of need_locks provided by the user
13133 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13134 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13137 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13139 ln conftest.a conftest.b 2>&5 || hard_links=no
13140 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13141 echo "$as_me:$LINENO: result: $hard_links" >&5
13142 echo "${ECHO_T}$hard_links" >&6
13143 if test "$hard_links" = no; then
13144 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13145 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13152 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13153 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13156 allow_undefined_flag_F77=
13157 enable_shared_with_static_runtimes_F77=no
13159 archive_expsym_cmds_F77=
13160 old_archive_From_new_cmds_F77=
13161 old_archive_from_expsyms_cmds_F77=
13162 export_dynamic_flag_spec_F77=
13163 whole_archive_flag_spec_F77=
13164 thread_safe_flag_spec_F77=
13165 hardcode_libdir_flag_spec_F77=
13166 hardcode_libdir_flag_spec_ld_F77=
13167 hardcode_libdir_separator_F77=
13168 hardcode_direct_F77=no
13169 hardcode_minus_L_F77=no
13170 hardcode_shlibpath_var_F77=unsupported
13171 link_all_deplibs_F77=unknown
13172 hardcode_automatic_F77=no
13174 module_expsym_cmds_F77=
13175 always_export_symbols_F77=no
13176 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13177 # include_expsyms should be a list of space-separated symbols to be *always*
13178 # included in the symbol list
13179 include_expsyms_F77=
13180 # exclude_expsyms can be an extended regexp of symbols to exclude
13181 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13182 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13183 # as well as any symbol that contains `d'.
13184 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13185 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13186 # platforms (ab)use it in PIC code, but their linkers get confused if
13187 # the symbol is explicitly referenced. Since portable code cannot
13188 # rely on this symbol name, it's probably fine to never include it in
13189 # preloaded symbol tables.
13190 extract_expsyms_cmds=
13193 cygwin* | mingw* | pw32*)
13194 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13195 # When not using gcc, we currently assume that we are using
13196 # Microsoft Visual C++.
13197 if test "$GCC" != yes; then
13207 if test "$with_gnu_ld" = yes; then
13208 # If archive_cmds runs LD, not CC, wlarc should be empty
13211 # See if GNU ld supports shared libraries.
13213 aix3* | aix4* | aix5*)
13214 # On AIX/PPC, the GNU linker is very broken
13215 if test "$host_cpu" != ia64; then
13219 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13220 *** to be unable to reliably create shared libraries on AIX.
13221 *** Therefore, libtool is disabling shared libraries support. If you
13222 *** really care for shared libraries, you may want to modify your PATH
13223 *** so that a non-GNU linker is found, and then restart.
13230 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)'
13231 hardcode_libdir_flag_spec_F77='-L$libdir'
13232 hardcode_minus_L_F77=yes
13234 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13235 # that the semantics of dynamic libraries on AmigaOS, at least up
13236 # to version 4, is to share data among multiple programs linked
13237 # with the same dynamic library. Since this doesn't match the
13238 # behavior of shared libraries on other platforms, we can't use
13244 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13245 allow_undefined_flag_F77=unsupported
13246 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13247 # support --undefined. This deserves some investigation. FIXME
13248 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13254 cygwin* | mingw* | pw32*)
13255 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13256 # as there is no search path for DLLs.
13257 hardcode_libdir_flag_spec_F77='-L$libdir'
13258 allow_undefined_flag_F77=unsupported
13259 always_export_symbols_F77=no
13260 enable_shared_with_static_runtimes_F77=yes
13261 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13263 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13264 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13265 # If the export-symbols file already is a .def file (1st line
13266 # is EXPORTS), use it as is; otherwise, prepend...
13267 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13268 cp $export_symbols $output_objdir/$soname.def;
13270 echo EXPORTS > $output_objdir/$soname.def;
13271 cat $export_symbols >> $output_objdir/$soname.def;
13273 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13280 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13281 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13284 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13285 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13290 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13294 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13295 *** create shared libraries on Solaris systems. Therefore, libtool
13296 *** is disabling shared libraries support. We urge you to upgrade GNU
13297 *** binutils to release 2.9.1 or newer. Another option is to modify
13298 *** your PATH or compiler configuration so that the native linker is
13299 *** used, and then restart.
13302 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13303 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13304 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13311 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13313 hardcode_direct_F77=yes
13314 hardcode_shlibpath_var_F77=no
13318 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13319 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13320 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13327 if test "$ld_shlibs_F77" = yes; then
13328 runpath_var=LD_RUN_PATH
13329 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13330 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13331 # ancient GNU ld didn't support --whole-archive et. al.
13332 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13333 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13335 whole_archive_flag_spec_F77=
13339 # PORTME fill in a description of your system's linker (not GNU ld)
13342 allow_undefined_flag_F77=unsupported
13343 always_export_symbols_F77=yes
13344 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'
13345 # Note: this linker hardcodes the directories in LIBPATH if there
13346 # are no directories specified by -L.
13347 hardcode_minus_L_F77=yes
13348 if test "$GCC" = yes && test -z "$link_static_flag"; then
13349 # Neither direct hardcoding nor static linking is supported with a
13351 hardcode_direct_F77=unsupported
13356 if test "$host_cpu" = ia64; then
13357 # On IA64, the linker does run time linking by default, so we don't
13358 # have to do anything special.
13359 aix_use_runtimelinking=no
13360 exp_sym_flag='-Bexport'
13363 # If we're using GNU nm, then we don't want the "-C" option.
13364 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13365 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13366 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'
13368 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'
13370 aix_use_runtimelinking=no
13372 # Test if we are trying to use run time linking or normal
13373 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13374 # need to do runtime linking.
13375 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13376 for ld_flag in $LDFLAGS; do
13377 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13378 aix_use_runtimelinking=yes
13384 exp_sym_flag='-bexport'
13385 no_entry_flag='-bnoentry'
13388 # When large executables or shared objects are built, AIX ld can
13389 # have problems creating the table of contents. If linking a library
13390 # or program results in "error TOC overflow" add -mminimal-toc to
13391 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13392 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13394 archive_cmds_F77=''
13395 hardcode_direct_F77=yes
13396 hardcode_libdir_separator_F77=':'
13397 link_all_deplibs_F77=yes
13399 if test "$GCC" = yes; then
13400 case $host_os in aix4.012|aix4.012.*)
13401 # We only want to do this on AIX 4.2 and lower, the check
13402 # below for broken collect2 doesn't work under 4.3+
13403 collect2name=`${CC} -print-prog-name=collect2`
13404 if test -f "$collect2name" && \
13405 strings "$collect2name" | grep resolve_lib_name >/dev/null
13407 # We have reworked collect2
13408 hardcode_direct_F77=yes
13410 # We have old collect2
13411 hardcode_direct_F77=unsupported
13412 # It fails to find uninstalled libraries when the uninstalled
13413 # path is not listed in the libpath. Setting hardcode_minus_L
13414 # to unsupported forces relinking
13415 hardcode_minus_L_F77=yes
13416 hardcode_libdir_flag_spec_F77='-L$libdir'
13417 hardcode_libdir_separator_F77=
13420 shared_flag='-shared'
13423 if test "$host_cpu" = ia64; then
13424 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13425 # chokes on -Wl,-G. The following line is correct:
13428 if test "$aix_use_runtimelinking" = yes; then
13429 shared_flag='${wl}-G'
13431 shared_flag='${wl}-bM:SRE'
13436 # It seems that -bexpall does not export symbols beginning with
13437 # underscore (_), so it is better to generate a list of symbols to export.
13438 always_export_symbols_F77=yes
13439 if test "$aix_use_runtimelinking" = yes; then
13440 # Warning - without using the other runtime loading flags (-brtl),
13441 # -berok will link without error, but may produce a broken library.
13442 allow_undefined_flag_F77='-berok'
13443 # Determine the default libpath from the value encoded in an empty executable.
13444 cat >conftest.$ac_ext <<_ACEOF
13449 rm -f conftest.$ac_objext conftest$ac_exeext
13450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13451 (eval $ac_link) 2>&5
13453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13454 (exit $ac_status); } &&
13455 { ac_try='test -s conftest$ac_exeext'
13456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13457 (eval $ac_try) 2>&5
13459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13460 (exit $ac_status); }; }; then
13462 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13464 # Check for a 64-bit object if we didn't find anything.
13465 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; }
13468 echo "$as_me: failed program was:" >&5
13469 sed 's/^/| /' conftest.$ac_ext >&5
13472 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13473 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13475 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13476 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"
13478 if test "$host_cpu" = ia64; then
13479 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13480 allow_undefined_flag_F77="-z nodefs"
13481 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"
13483 # Determine the default libpath from the value encoded in an empty executable.
13484 cat >conftest.$ac_ext <<_ACEOF
13489 rm -f conftest.$ac_objext conftest$ac_exeext
13490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13491 (eval $ac_link) 2>&5
13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); } &&
13495 { ac_try='test -s conftest$ac_exeext'
13496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13497 (eval $ac_try) 2>&5
13499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13500 (exit $ac_status); }; }; then
13502 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13504 # Check for a 64-bit object if we didn't find anything.
13505 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; }
13508 echo "$as_me: failed program was:" >&5
13509 sed 's/^/| /' conftest.$ac_ext >&5
13512 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13513 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13515 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13516 # Warning - without using the other run time loading flags,
13517 # -berok will link without error, but may produce a broken library.
13518 no_undefined_flag_F77=' ${wl}-bernotok'
13519 allow_undefined_flag_F77=' ${wl}-berok'
13520 # -bexpall does not export symbols beginning with underscore (_)
13521 always_export_symbols_F77=yes
13522 # Exported symbols can be pulled into shared objects from archives
13523 whole_archive_flag_spec_F77=' '
13524 archive_cmds_need_lc_F77=yes
13525 # This is similar to how AIX traditionally builds it's shared libraries.
13526 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'
13532 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)'
13533 hardcode_libdir_flag_spec_F77='-L$libdir'
13534 hardcode_minus_L_F77=yes
13535 # see comment about different semantics on the GNU ld section
13540 export_dynamic_flag_spec_F77=-rdynamic
13543 cygwin* | mingw* | pw32*)
13544 # When not using gcc, we currently assume that we are using
13545 # Microsoft Visual C++.
13546 # hardcode_libdir_flag_spec is actually meaningless, as there is
13547 # no search path for DLLs.
13548 hardcode_libdir_flag_spec_F77=' '
13549 allow_undefined_flag_F77=unsupported
13550 # Tell ltmain to make .lib files, not .a files.
13552 # Tell ltmain to make .dll files, not .so files.
13554 # FIXME: Setting linknames here is a bad hack.
13555 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13556 # The linker will automatically build a .lib file if we build a DLL.
13557 old_archive_From_new_cmds_F77='true'
13558 # FIXME: Should let the user specify the lib program.
13559 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13560 fix_srcfile_path='`cygpath -w "$srcfile"`'
13561 enable_shared_with_static_runtimes_F77=yes
13564 darwin* | rhapsody*)
13565 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13566 archive_cmds_need_lc_F77=no
13568 rhapsody* | darwin1.[012])
13569 allow_undefined_flag_F77='-undefined suppress'
13572 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13575 # FIXME: Relying on posixy $() will cause problems for
13576 # cross-compilation, but unfortunately the echo tests do not
13577 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13578 # `"' quotes if we put them in here... so don't!
13579 lt_int_apple_cc_single_mod=no
13580 output_verbose_link_cmd='echo'
13581 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13582 lt_int_apple_cc_single_mod=yes
13584 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13585 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13587 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'
13589 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13590 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13591 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13592 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}'
13594 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}'
13596 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}'
13597 hardcode_direct_F77=no
13598 hardcode_automatic_F77=yes
13599 hardcode_shlibpath_var_F77=unsupported
13600 whole_archive_flag_spec_F77='-all_load $convenience'
13601 link_all_deplibs_F77=yes
13606 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13607 hardcode_libdir_flag_spec_F77='-L$libdir'
13608 hardcode_shlibpath_var_F77=no
13615 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13616 # support. Future versions do this automatically, but an explicit c++rt0.o
13617 # does not break anything, and helps significantly (at the cost of a little
13620 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13621 hardcode_libdir_flag_spec_F77='-R$libdir'
13622 hardcode_direct_F77=yes
13623 hardcode_shlibpath_var_F77=no
13626 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13628 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13629 hardcode_direct_F77=yes
13630 hardcode_minus_L_F77=yes
13631 hardcode_shlibpath_var_F77=no
13634 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13636 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13637 hardcode_libdir_flag_spec_F77='-R$libdir'
13638 hardcode_direct_F77=yes
13639 hardcode_shlibpath_var_F77=no
13643 if test "$GCC" = yes; then
13644 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'
13646 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'
13648 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13649 hardcode_libdir_separator_F77=:
13650 hardcode_direct_F77=yes
13652 # hardcode_minus_L: Not really in the search PATH,
13653 # but as the default location of the library.
13654 hardcode_minus_L_F77=yes
13655 export_dynamic_flag_spec_F77='${wl}-E'
13659 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13660 case "$host_cpu" in
13662 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13665 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13669 case "$host_cpu" in
13671 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13674 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13678 if test "$with_gnu_ld" = no; then
13679 case "$host_cpu" in
13681 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13682 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13683 hardcode_libdir_separator_F77=:
13684 hardcode_direct_F77=no
13685 hardcode_shlibpath_var_F77=no
13688 hardcode_libdir_flag_spec_F77='-L$libdir'
13689 hardcode_direct_F77=no
13690 hardcode_shlibpath_var_F77=no
13692 # hardcode_minus_L: Not really in the search PATH,
13693 # but as the default location of the library.
13694 hardcode_minus_L_F77=yes
13697 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13698 hardcode_libdir_separator_F77=:
13699 hardcode_direct_F77=yes
13700 export_dynamic_flag_spec_F77='${wl}-E'
13702 # hardcode_minus_L: Not really in the search PATH,
13703 # but as the default location of the library.
13704 hardcode_minus_L_F77=yes
13710 irix5* | irix6* | nonstopux*)
13711 if test "$GCC" = yes; then
13712 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'
13714 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'
13715 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13717 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13718 hardcode_libdir_separator_F77=:
13719 link_all_deplibs_F77=yes
13723 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13724 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13726 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13728 hardcode_libdir_flag_spec_F77='-R$libdir'
13729 hardcode_direct_F77=yes
13730 hardcode_shlibpath_var_F77=no
13734 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13735 hardcode_direct_F77=yes
13736 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13737 hardcode_libdir_separator_F77=:
13738 hardcode_shlibpath_var_F77=no
13742 hardcode_direct_F77=yes
13743 hardcode_shlibpath_var_F77=no
13744 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13745 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13746 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13747 export_dynamic_flag_spec_F77='${wl}-E'
13750 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13751 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13752 hardcode_libdir_flag_spec_F77='-R$libdir'
13755 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13756 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13763 hardcode_libdir_flag_spec_F77='-L$libdir'
13764 hardcode_minus_L_F77=yes
13765 allow_undefined_flag_F77=unsupported
13766 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'
13767 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13771 if test "$GCC" = yes; then
13772 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13773 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'
13775 allow_undefined_flag_F77=' -expect_unresolved \*'
13776 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'
13778 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13779 hardcode_libdir_separator_F77=:
13782 osf4* | osf5*) # as osf3* with the addition of -msym flag
13783 if test "$GCC" = yes; then
13784 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13785 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'
13786 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13788 allow_undefined_flag_F77=' -expect_unresolved \*'
13789 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'
13790 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~
13791 $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'
13793 # Both c and cxx compiler support -rpath directly
13794 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13796 hardcode_libdir_separator_F77=:
13800 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13801 hardcode_shlibpath_var_F77=no
13802 export_dynamic_flag_spec_F77='${wl}-Bexport'
13803 runpath_var=LD_RUN_PATH
13804 hardcode_runpath_var=yes
13808 no_undefined_flag_F77=' -z text'
13809 if test "$GCC" = yes; then
13810 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13811 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13812 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13814 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13815 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13816 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13818 hardcode_libdir_flag_spec_F77='-R$libdir'
13819 hardcode_shlibpath_var_F77=no
13821 solaris2.[0-5] | solaris2.[0-5].*) ;;
13822 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13823 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13825 link_all_deplibs_F77=yes
13829 if test "x$host_vendor" = xsequent; then
13830 # Use $CC to link under sequent, because it throws in some extra .o
13831 # files that make .init and .fini sections work.
13832 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13834 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13836 hardcode_libdir_flag_spec_F77='-L$libdir'
13837 hardcode_direct_F77=yes
13838 hardcode_minus_L_F77=yes
13839 hardcode_shlibpath_var_F77=no
13843 case $host_vendor in
13845 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13846 hardcode_direct_F77=yes # is this really true???
13849 ## LD is ld it makes a PLAMLIB
13850 ## CC just makes a GrossModule.
13851 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13852 reload_cmds_F77='$CC -r -o $output$reload_objs'
13853 hardcode_direct_F77=no
13856 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13857 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13860 runpath_var='LD_RUN_PATH'
13861 hardcode_shlibpath_var_F77=no
13865 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13866 hardcode_shlibpath_var_F77=no
13867 export_dynamic_flag_spec_F77='-Bexport'
13871 if test -d /usr/nec; then
13872 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13873 hardcode_shlibpath_var_F77=no
13874 runpath_var=LD_RUN_PATH
13875 hardcode_runpath_var=yes
13881 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13882 hardcode_direct_F77=yes
13883 hardcode_minus_L_F77=no
13884 hardcode_shlibpath_var_F77=no
13885 hardcode_runpath_var=yes
13886 runpath_var=LD_RUN_PATH
13889 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13890 no_undefined_flag_F77='${wl}-z ${wl}text'
13891 if test "$GCC" = yes; then
13892 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13894 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13896 runpath_var='LD_RUN_PATH'
13897 hardcode_shlibpath_var_F77=no
13901 no_undefined_flag_F77=' -z text'
13902 # $CC -shared without GNU ld will not create a library from C++
13903 # object files and a static libstdc++, better avoid it by now
13904 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13905 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13906 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13907 hardcode_libdir_flag_spec_F77=
13908 hardcode_shlibpath_var_F77=no
13909 runpath_var='LD_RUN_PATH'
13913 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13914 hardcode_libdir_flag_spec_F77='-L$libdir'
13915 hardcode_shlibpath_var_F77=no
13924 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13925 echo "${ECHO_T}$ld_shlibs_F77" >&6
13926 test "$ld_shlibs_F77" = no && can_build_shared=no
13928 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13929 if test "$GCC" = yes; then
13930 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13934 # Do we need to explicitly link libc?
13936 case "x$archive_cmds_need_lc_F77" in
13938 # Assume -lc should be added
13939 archive_cmds_need_lc_F77=yes
13941 if test "$enable_shared" = yes && test "$GCC" = yes; then
13942 case $archive_cmds_F77 in
13944 # FIXME: we may have to deal with multi-command sequences.
13947 # Test whether the compiler implicitly links with -lc since on some
13948 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13949 # to ld, don't add -lc before -lgcc.
13950 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13951 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13953 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13956 (eval $ac_compile) 2>&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); } 2>conftest.err; then
13962 libobjs=conftest.$ac_objext
13964 wl=$lt_prog_compiler_wl_F77
13970 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13971 allow_undefined_flag_F77=
13972 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13973 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); }
13978 archive_cmds_need_lc_F77=no
13980 archive_cmds_need_lc_F77=yes
13982 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13984 cat conftest.err 1>&5
13987 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13988 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13995 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13996 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13997 hardcode_action_F77=
13998 if test -n "$hardcode_libdir_flag_spec_F77" || \
13999 test -n "$runpath_var F77" || \
14000 test "X$hardcode_automatic_F77"="Xyes" ; then
14002 # We can hardcode non-existant directories.
14003 if test "$hardcode_direct_F77" != no &&
14004 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14005 # have to relink, otherwise we might link with an installed library
14006 # when we should be linking with a yet-to-be-installed one
14007 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14008 test "$hardcode_minus_L_F77" != no; then
14009 # Linking always hardcodes the temporary library directory.
14010 hardcode_action_F77=relink
14012 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14013 hardcode_action_F77=immediate
14016 # We cannot hardcode anything, or else we can only hardcode existing
14018 hardcode_action_F77=unsupported
14020 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14021 echo "${ECHO_T}$hardcode_action_F77" >&6
14023 if test "$hardcode_action_F77" = relink; then
14024 # Fast installation is not supported
14025 enable_fast_install=no
14026 elif test "$shlibpath_overrides_runpath" = yes ||
14027 test "$enable_shared" = no; then
14028 # Fast installation is not necessary
14029 enable_fast_install=needless
14034 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14035 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14036 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14037 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14038 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14039 echo "$as_me:$LINENO: result: yes" >&5
14040 echo "${ECHO_T}yes" >&6
14042 # FIXME - insert some real tests, host_os isn't really good enough
14045 if test -n "$STRIP" ; then
14046 striplib="$STRIP -x"
14047 echo "$as_me:$LINENO: result: yes" >&5
14048 echo "${ECHO_T}yes" >&6
14050 echo "$as_me:$LINENO: result: no" >&5
14051 echo "${ECHO_T}no" >&6
14055 echo "$as_me:$LINENO: result: no" >&5
14056 echo "${ECHO_T}no" >&6
14061 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14062 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14063 library_names_spec=
14064 libname_spec='lib$name'
14068 postuninstall_cmds=
14072 shlibpath_overrides_runpath=unknown
14074 dynamic_linker="$host_os ld.so"
14075 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14076 if test "$GCC" = yes; then
14077 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14078 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14079 # if the path contains ";" then we assume it to be the separator
14080 # otherwise default to the standard path separator (i.e. ":") - it is
14081 # assumed that no part of a normal pathname contains ";" but that should
14082 # okay in the real world where ";" in dirpaths is itself problematic.
14083 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14085 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14088 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14090 need_lib_prefix=unknown
14091 hardcode_into_libs=no
14093 # when you set need_version to no, make sure it does not cause -set_version
14094 # flags to be left without arguments
14095 need_version=unknown
14100 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14101 shlibpath_var=LIBPATH
14103 # AIX 3 has no versioning support, so we append a major version to the name.
14104 soname_spec='${libname}${release}${shared_ext}$major'
14111 hardcode_into_libs=yes
14112 if test "$host_cpu" = ia64; then
14113 # AIX 5 supports IA64
14114 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14115 shlibpath_var=LD_LIBRARY_PATH
14117 # With GCC up to 2.95.x, collect2 would create an import file
14118 # for dependence libraries. The import file would start with
14119 # the line `#! .'. This would cause the generated library to
14120 # depend on `.', always an invalid library. This was fixed in
14121 # development snapshots of GCC prior to 3.0.
14123 aix4 | aix4.[01] | aix4.[01].*)
14124 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14126 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14129 can_build_shared=no
14133 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14134 # soname into executable. Probably we can add versioning support to
14135 # collect2, so additional links can be useful in future.
14136 if test "$aix_use_runtimelinking" = yes; then
14137 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14138 # instead of lib<name>.a to let people know that these are not
14139 # typical AIX shared libraries.
14140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14142 # We preserve .a as extension for shared libraries through AIX4.2
14143 # and later when we are not doing run time linking.
14144 library_names_spec='${libname}${release}.a $libname.a'
14145 soname_spec='${libname}${release}${shared_ext}$major'
14147 shlibpath_var=LIBPATH
14152 library_names_spec='$libname.ixlibrary $libname.a'
14153 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14154 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'
14158 library_names_spec='${libname}${shared_ext}'
14159 dynamic_linker="$host_os ld.so"
14160 shlibpath_var=LIBRARY_PATH
14166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14167 soname_spec='${libname}${release}${shared_ext}$major'
14168 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14169 shlibpath_var=LD_LIBRARY_PATH
14170 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14171 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14172 # the default ld.so.conf also contains /usr/contrib/lib and
14173 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14174 # libtool to hard-code these into programs
14177 cygwin* | mingw* | pw32*)
14178 version_type=windows
14183 case $GCC,$host_os in
14184 yes,cygwin* | yes,mingw* | yes,pw32*)
14185 library_names_spec='$libname.dll.a'
14186 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14187 postinstall_cmds='base_file=`basename \${file}`~
14188 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14189 dldir=$destdir/`dirname \$dlpath`~
14190 test -d \$dldir || mkdir -p \$dldir~
14191 $install_prog $dir/$dlname \$dldir/$dlname'
14192 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14193 dlpath=$dir/\$dldll~
14195 shlibpath_overrides_runpath=yes
14199 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14200 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14201 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14204 # MinGW DLLs use traditional 'lib' prefix
14205 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14206 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14207 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14208 # It is most probably a Windows format PATH printed by
14209 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14210 # path with ; separators, and with drive letters. We can handle the
14211 # drive letters (cygwin fileutils understands them), so leave them,
14212 # especially as we might pass files found there to a mingw objdump,
14213 # which wouldn't understand a cygwinified path. Ahh.
14214 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14216 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14220 # pw32 DLLs use 'pw' prefix rather than 'lib'
14221 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14227 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14230 dynamic_linker='Win32 ld.exe'
14231 # FIXME: first we should search . and the directory the executable is in
14235 darwin* | rhapsody*)
14236 dynamic_linker="$host_os dyld"
14237 version_type=darwin
14240 # FIXME: Relying on posixy $() will cause problems for
14241 # cross-compilation, but unfortunately the echo tests do not
14242 # yet detect zsh echo's removal of \ escapes.
14243 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14244 soname_spec='${libname}${release}${major}$shared_ext'
14245 shlibpath_overrides_runpath=yes
14246 shlibpath_var=DYLD_LIBRARY_PATH
14247 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14248 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14249 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14250 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"`
14252 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14260 soname_spec='${libname}${release}${shared_ext}$major'
14261 shlibpath_var=LD_LIBRARY_PATH
14269 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14270 version_type=freebsd-$objformat
14271 case $version_type in
14273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14278 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14282 shlibpath_var=LD_LIBRARY_PATH
14285 shlibpath_overrides_runpath=yes
14287 freebsd3.01* | freebsdelf3.01*)
14288 shlibpath_overrides_runpath=yes
14289 hardcode_into_libs=yes
14292 shlibpath_overrides_runpath=no
14293 hardcode_into_libs=yes
14302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14303 soname_spec='${libname}${release}${shared_ext}$major'
14304 shlibpath_var=LD_LIBRARY_PATH
14305 hardcode_into_libs=yes
14308 hpux9* | hpux10* | hpux11*)
14309 # Give a soname corresponding to the major version so that dld.sl refuses to
14310 # link against other versions.
14314 case "$host_cpu" in
14317 hardcode_into_libs=yes
14318 dynamic_linker="$host_os dld.so"
14319 shlibpath_var=LD_LIBRARY_PATH
14320 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14322 soname_spec='${libname}${release}${shared_ext}$major'
14323 if test "X$HPUX_IA64_MODE" = X32; then
14324 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14326 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14328 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14332 hardcode_into_libs=yes
14333 dynamic_linker="$host_os dld.sl"
14334 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14335 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14337 soname_spec='${libname}${release}${shared_ext}$major'
14338 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14339 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14343 dynamic_linker="$host_os dld.sl"
14344 shlibpath_var=SHLIB_PATH
14345 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14347 soname_spec='${libname}${release}${shared_ext}$major'
14350 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14351 postinstall_cmds='chmod 555 $lib'
14354 irix5* | irix6* | nonstopux*)
14356 nonstopux*) version_type=nonstopux ;;
14358 if test "$lt_cv_prog_gnu_ld" = yes; then
14366 soname_spec='${libname}${release}${shared_ext}$major'
14367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14369 irix5* | nonstopux*)
14370 libsuff= shlibsuff=
14373 case $LD in # libtool.m4 will add one of these switches to LD
14374 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14375 libsuff= shlibsuff= libmagic=32-bit;;
14376 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14377 libsuff=32 shlibsuff=N32 libmagic=N32;;
14378 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14379 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14380 *) libsuff= shlibsuff= libmagic=never-match;;
14384 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14385 shlibpath_overrides_runpath=no
14386 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14387 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14388 hardcode_into_libs=yes
14391 # No shared lib support for Linux oldld, aout, or coff.
14392 linux*oldld* | linux*aout* | linux*coff*)
14396 # This must be Linux ELF.
14401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14402 soname_spec='${libname}${release}${shared_ext}$major'
14403 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14404 shlibpath_var=LD_LIBRARY_PATH
14405 shlibpath_overrides_runpath=no
14406 # This implies no fast_install, which is unacceptable.
14407 # Some rework will be needed to allow for fast_install
14408 # before this can be enabled.
14409 hardcode_into_libs=yes
14411 # We used to test for /lib/ld.so.1 and disable shared libraries on
14412 # powerpc, because MkLinux only supported shared libraries with the
14413 # GNU dynamic linker. Since this was broken with cross compilers,
14414 # most powerpc-linux boxes support dynamic linking these days and
14415 # people can always --disable-shared, the test was removed, and we
14416 # assume the GNU/Linux dynamic linker is in use.
14417 dynamic_linker='GNU/Linux ld.so'
14424 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14426 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14427 dynamic_linker='NetBSD (a.out) ld.so'
14429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14430 soname_spec='${libname}${release}${shared_ext}$major'
14431 dynamic_linker='NetBSD ld.elf_so'
14433 shlibpath_var=LD_LIBRARY_PATH
14434 shlibpath_overrides_runpath=yes
14435 hardcode_into_libs=yes
14440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14441 shlibpath_var=LD_LIBRARY_PATH
14442 shlibpath_overrides_runpath=yes
14449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14450 soname_spec='${libname}${release}${shared_ext}$major'
14451 shlibpath_var=LD_LIBRARY_PATH
14452 shlibpath_overrides_runpath=yes
14459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14460 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14461 shlibpath_var=LD_LIBRARY_PATH
14462 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14464 openbsd2.[89] | openbsd2.[89].*)
14465 shlibpath_overrides_runpath=no
14468 shlibpath_overrides_runpath=yes
14472 shlibpath_overrides_runpath=yes
14477 libname_spec='$name'
14480 library_names_spec='$libname${shared_ext} $libname.a'
14481 dynamic_linker='OS/2 ld.exe'
14482 shlibpath_var=LIBPATH
14485 osf3* | osf4* | osf5*)
14489 soname_spec='${libname}${release}${shared_ext}$major'
14490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14491 shlibpath_var=LD_LIBRARY_PATH
14492 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14493 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14498 soname_spec='${libname}${release}${shared_ext}$major'
14499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14500 shlibpath_var=LD_LIBRARY_PATH
14507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14508 soname_spec='${libname}${release}${shared_ext}$major'
14509 shlibpath_var=LD_LIBRARY_PATH
14510 shlibpath_overrides_runpath=yes
14511 hardcode_into_libs=yes
14512 # ldd complains unless libraries are executable
14513 postinstall_cmds='chmod +x $lib'
14518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14519 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14520 shlibpath_var=LD_LIBRARY_PATH
14521 shlibpath_overrides_runpath=yes
14522 if test "$with_gnu_ld" = yes; then
14528 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14531 soname_spec='${libname}${release}${shared_ext}$major'
14532 shlibpath_var=LD_LIBRARY_PATH
14533 case $host_vendor in
14535 shlibpath_overrides_runpath=no
14537 export_dynamic_flag_spec='${wl}-Blargedynsym'
14538 runpath_var=LD_RUN_PATH
14546 shlibpath_overrides_runpath=no
14547 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14553 if test -d /usr/nec ;then
14555 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14556 soname_spec='$libname${shared_ext}.$major'
14557 shlibpath_var=LD_LIBRARY_PATH
14563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14564 soname_spec='${libname}${release}${shared_ext}$major'
14565 shlibpath_var=LD_LIBRARY_PATH
14572 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14573 echo "${ECHO_T}$dynamic_linker" >&6
14574 test "$dynamic_linker" = no && can_build_shared=no
14577 # The else clause should only fire when bootstrapping the
14578 # libtool distribution, otherwise you forgot to ship ltmain.sh
14579 # with your package, and you will get complaints that there are
14580 # no rules to generate ltmain.sh.
14581 if test -f "$ltmain"; then
14582 # See if we are running on zsh, and set the options which allow our commands through
14583 # without removal of \ escapes.
14584 if test -n "${ZSH_VERSION+set}" ; then
14585 setopt NO_GLOB_SUBST
14587 # Now quote all the things that may contain metacharacters while being
14588 # careful not to overquote the AC_SUBSTed values. We take copies of the
14589 # variables and quote the copies for generation of the libtool script.
14590 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14591 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14592 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14593 deplibs_check_method reload_flag reload_cmds need_locks \
14594 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14595 lt_cv_sys_global_symbol_to_c_name_address \
14596 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14597 old_postinstall_cmds old_postuninstall_cmds \
14601 lt_prog_compiler_wl_F77 \
14602 lt_prog_compiler_pic_F77 \
14603 lt_prog_compiler_static_F77 \
14604 lt_prog_compiler_no_builtin_flag_F77 \
14605 export_dynamic_flag_spec_F77 \
14606 thread_safe_flag_spec_F77 \
14607 whole_archive_flag_spec_F77 \
14608 enable_shared_with_static_runtimes_F77 \
14609 old_archive_cmds_F77 \
14610 old_archive_from_new_cmds_F77 \
14611 predep_objects_F77 \
14612 postdep_objects_F77 \
14615 compiler_lib_search_path_F77 \
14617 archive_expsym_cmds_F77 \
14618 postinstall_cmds_F77 \
14619 postuninstall_cmds_F77 \
14620 old_archive_from_expsyms_cmds_F77 \
14621 allow_undefined_flag_F77 \
14622 no_undefined_flag_F77 \
14623 export_symbols_cmds_F77 \
14624 hardcode_libdir_flag_spec_F77 \
14625 hardcode_libdir_flag_spec_ld_F77 \
14626 hardcode_libdir_separator_F77 \
14627 hardcode_automatic_F77 \
14629 module_expsym_cmds_F77 \
14630 lt_cv_prog_compiler_c_o_F77 \
14631 exclude_expsyms_F77 \
14632 include_expsyms_F77; do
14635 old_archive_cmds_F77 | \
14636 old_archive_from_new_cmds_F77 | \
14637 archive_cmds_F77 | \
14638 archive_expsym_cmds_F77 | \
14639 module_cmds_F77 | \
14640 module_expsym_cmds_F77 | \
14641 old_archive_from_expsyms_cmds_F77 | \
14642 export_symbols_cmds_F77 | \
14643 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14644 postinstall_cmds | postuninstall_cmds | \
14645 old_postinstall_cmds | old_postuninstall_cmds | \
14646 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14647 # Double-quote double-evaled strings.
14648 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14651 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14657 *'\$0 --fallback-echo"')
14658 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14664 cat <<__EOF__ >> "$cfgfile"
14665 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14667 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14669 # Shell to use when invoking shell scripts.
14672 # Whether or not to build shared libraries.
14673 build_libtool_libs=$enable_shared
14675 # Whether or not to build static libraries.
14676 build_old_libs=$enable_static
14678 # Whether or not to add -lc for building shared libraries.
14679 build_libtool_need_lc=$archive_cmds_need_lc_F77
14681 # Whether or not to disallow shared libs when runtime libs are static
14682 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14684 # Whether or not to optimize for fast installation.
14685 fast_install=$enable_fast_install
14688 host_alias=$host_alias
14691 # An echo program that does not interpret backslashes.
14696 AR_FLAGS=$lt_AR_FLAGS
14701 # A language-specific compiler.
14702 CC=$lt_compiler_F77
14704 # Is the compiler the GNU C compiler?
14710 # The linker used to build libraries.
14713 # Whether we need hard or soft links.
14716 # A BSD-compatible nm program.
14719 # A symbol stripping program
14722 # Used to examine libraries when file_magic_cmd begins "file"
14723 MAGIC_CMD=$MAGIC_CMD
14725 # Used on cygwin: DLL creation program.
14728 # Used on cygwin: object dumper.
14731 # Used on cygwin: assembler.
14734 # The name of the directory that contains temporary libtool files.
14737 # How to create reloadable object files.
14738 reload_flag=$lt_reload_flag
14739 reload_cmds=$lt_reload_cmds
14741 # How to pass a linker flag through the compiler.
14742 wl=$lt_lt_prog_compiler_wl_F77
14744 # Object file suffix (normally "o").
14745 objext="$ac_objext"
14747 # Old archive suffix (normally "a").
14750 # Shared library suffix (normally ".so").
14753 # Executable file suffix (normally "").
14756 # Additional compiler flags for building library objects.
14757 pic_flag=$lt_lt_prog_compiler_pic_F77
14760 # What is the maximum length of a command?
14761 max_cmd_len=$lt_cv_sys_max_cmd_len
14763 # Does compiler simultaneously support -c and -o options?
14764 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14766 # Must we lock files when doing compilation ?
14767 need_locks=$lt_need_locks
14769 # Do we need the lib prefix for modules?
14770 need_lib_prefix=$need_lib_prefix
14772 # Do we need a version for libraries?
14773 need_version=$need_version
14775 # Whether dlopen is supported.
14776 dlopen_support=$enable_dlopen
14778 # Whether dlopen of programs is supported.
14779 dlopen_self=$enable_dlopen_self
14781 # Whether dlopen of statically linked programs is supported.
14782 dlopen_self_static=$enable_dlopen_self_static
14784 # Compiler flag to prevent dynamic linking.
14785 link_static_flag=$lt_lt_prog_compiler_static_F77
14787 # Compiler flag to turn off builtin functions.
14788 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14790 # Compiler flag to allow reflexive dlopens.
14791 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14793 # Compiler flag to generate shared objects directly from archives.
14794 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14796 # Compiler flag to generate thread-safe objects.
14797 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14799 # Library versioning type.
14800 version_type=$version_type
14802 # Format of library name prefix.
14803 libname_spec=$lt_libname_spec
14805 # List of archive names. First name is the real one, the rest are links.
14806 # The last name is the one that the linker finds with -lNAME.
14807 library_names_spec=$lt_library_names_spec
14809 # The coded name of the library, if different from the real name.
14810 soname_spec=$lt_soname_spec
14812 # Commands used to build and install an old-style archive.
14814 old_archive_cmds=$lt_old_archive_cmds_F77
14815 old_postinstall_cmds=$lt_old_postinstall_cmds
14816 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14818 # Create an old-style archive from a shared archive.
14819 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14821 # Create a temporary old-style archive to link instead of a shared archive.
14822 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14824 # Commands used to build and install a shared archive.
14825 archive_cmds=$lt_archive_cmds_F77
14826 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14827 postinstall_cmds=$lt_postinstall_cmds
14828 postuninstall_cmds=$lt_postuninstall_cmds
14830 # Commands used to build a loadable module (assumed same as above if empty)
14831 module_cmds=$lt_module_cmds_F77
14832 module_expsym_cmds=$lt_module_expsym_cmds_F77
14834 # Commands to strip libraries.
14835 old_striplib=$lt_old_striplib
14836 striplib=$lt_striplib
14838 # Dependencies to place before the objects being linked to create a
14840 predep_objects=$lt_predep_objects_F77
14842 # Dependencies to place after the objects being linked to create a
14844 postdep_objects=$lt_postdep_objects_F77
14846 # Dependencies to place before the objects being linked to create a
14848 predeps=$lt_predeps_F77
14850 # Dependencies to place after the objects being linked to create a
14852 postdeps=$lt_postdeps_F77
14854 # The library search path used internally by the compiler when linking
14855 # a shared library.
14856 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14858 # Method to check whether dependent libraries are shared objects.
14859 deplibs_check_method=$lt_deplibs_check_method
14861 # Command to use when deplibs_check_method == file_magic.
14862 file_magic_cmd=$lt_file_magic_cmd
14864 # Flag that allows shared libraries with undefined symbols to be built.
14865 allow_undefined_flag=$lt_allow_undefined_flag_F77
14867 # Flag that forces no undefined symbols.
14868 no_undefined_flag=$lt_no_undefined_flag_F77
14870 # Commands used to finish a libtool library installation in a directory.
14871 finish_cmds=$lt_finish_cmds
14873 # Same as above, but a single script fragment to be evaled but not shown.
14874 finish_eval=$lt_finish_eval
14876 # Take the output of nm and produce a listing of raw symbols and C names.
14877 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14879 # Transform the output of nm in a proper C declaration
14880 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14882 # Transform the output of nm in a C name address pair
14883 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14885 # This is the shared library runtime path variable.
14886 runpath_var=$runpath_var
14888 # This is the shared library path variable.
14889 shlibpath_var=$shlibpath_var
14891 # Is shlibpath searched before the hard-coded library search path?
14892 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14894 # How to hardcode a shared library path into an executable.
14895 hardcode_action=$hardcode_action_F77
14897 # Whether we should hardcode library paths into libraries.
14898 hardcode_into_libs=$hardcode_into_libs
14900 # Flag to hardcode \$libdir into a binary during linking.
14901 # This must work even if \$libdir does not exist.
14902 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14904 # If ld is used when linking, flag to hardcode \$libdir into
14905 # a binary during linking. This must work even if \$libdir does
14907 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14909 # Whether we need a single -rpath flag with a separated argument.
14910 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14912 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14913 # resulting binary.
14914 hardcode_direct=$hardcode_direct_F77
14916 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14917 # resulting binary.
14918 hardcode_minus_L=$hardcode_minus_L_F77
14920 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14921 # the resulting binary.
14922 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14924 # Set to yes if building a shared library automatically hardcodes DIR into the library
14925 # and all subsequent libraries and executables linked against it.
14926 hardcode_automatic=$hardcode_automatic_F77
14928 # Variables whose values should be saved in libtool wrapper scripts and
14929 # restored at relink time.
14930 variables_saved_for_relink="$variables_saved_for_relink"
14932 # Whether libtool must link a program against all its dependency libraries.
14933 link_all_deplibs=$link_all_deplibs_F77
14935 # Compile-time system search path for libraries
14936 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14938 # Run-time system search path for libraries
14939 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14941 # Fix the shell variable \$srcfile for the compiler.
14942 fix_srcfile_path="$fix_srcfile_path_F77"
14944 # Set to yes if exported symbols are required.
14945 always_export_symbols=$always_export_symbols_F77
14947 # The commands to list exported symbols.
14948 export_symbols_cmds=$lt_export_symbols_cmds_F77
14950 # The commands to extract the exported symbol list from a shared archive.
14951 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14953 # Symbols that should not be listed in the preloaded symbols.
14954 exclude_expsyms=$lt_exclude_expsyms_F77
14956 # Symbols that must always be exported.
14957 include_expsyms=$lt_include_expsyms_F77
14959 # ### END LIBTOOL TAG CONFIG: $tagname
14965 # If there is no Makefile yet, we rely on a make rule to execute
14966 # `config.status --recheck' to rerun these tests and create the
14967 # libtool script then.
14968 test -f Makefile && make "$ltmain"
14973 ac_cpp='$CPP $CPPFLAGS'
14974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14986 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14990 # Source file extension for Java test sources.
14993 # Object file extension for compiled Java test sources.
14997 # Code to be used in simple compile tests
14998 lt_simple_compile_test_code="class foo {}\n"
15000 # Code to be used in simple link tests
15001 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
15003 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15005 # If no C compiler was specified, use CC.
15008 # Allow CC to be a program name with arguments.
15012 # Allow CC to be a program name with arguments.
15018 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15019 archive_cmds_need_lc_GCJ=no
15022 ## There is no encapsulation within the following macros, do not change
15023 ## the running order or otherwise move them around unless you know exactly
15024 ## what you are doing...
15026 lt_prog_compiler_no_builtin_flag_GCJ=
15028 if test "$GCC" = yes; then
15029 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15031 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15032 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15033 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15034 echo $ECHO_N "(cached) $ECHO_C" >&6
15036 lt_cv_prog_compiler_rtti_exceptions=no
15037 ac_outfile=conftest.$ac_objext
15038 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15039 lt_compiler_flag="-fno-rtti -fno-exceptions"
15040 # Insert the option either (1) after the last *FLAGS variable, or
15041 # (2) before a word containing "conftest.", or (3) at the end.
15042 # Note that $ac_compile itself does not contain backslashes and begins
15043 # with a dollar sign (not a hyphen), so the echo should work correctly.
15044 # The option is referenced via a variable to avoid confusing sed.
15045 lt_compile=`echo "$ac_compile" | $SED \
15046 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15047 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15048 -e 's:$: $lt_compiler_flag:'`
15049 (eval echo "\"\$as_me:15049: $lt_compile\"" >&5)
15050 (eval "$lt_compile" 2>conftest.err)
15052 cat conftest.err >&5
15053 echo "$as_me:15053: \$? = $ac_status" >&5
15054 if (exit $ac_status) && test -s "$ac_outfile"; then
15055 # The compiler can only warn and ignore the option if not recognized
15056 # So say no if there are warnings
15057 if test ! -s conftest.err; then
15058 lt_cv_prog_compiler_rtti_exceptions=yes
15064 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15065 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15067 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15068 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15075 lt_prog_compiler_wl_GCJ=
15076 lt_prog_compiler_pic_GCJ=
15077 lt_prog_compiler_static_GCJ=
15079 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15080 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15082 if test "$GCC" = yes; then
15083 lt_prog_compiler_wl_GCJ='-Wl,'
15084 lt_prog_compiler_static_GCJ='-static'
15088 # All AIX code is PIC.
15089 if test "$host_cpu" = ia64; then
15090 # AIX 5 now supports IA64 processor
15091 lt_prog_compiler_static_GCJ='-Bstatic'
15096 # FIXME: we need at least 68020 code to build shared libraries, but
15097 # adding the `-m68020' flag to GCC prevents building anything better,
15099 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15102 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15103 # PIC is the default for these OSes.
15106 mingw* | pw32* | os2*)
15107 # This hack is so that the source file can tell whether it is being
15108 # built for inclusion in a dll (and should export symbols for example).
15109 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15112 darwin* | rhapsody*)
15113 # PIC is the default on this platform
15114 # Common symbols not allowed in MH_DYLIB files
15115 lt_prog_compiler_pic_GCJ='-fno-common'
15119 # Just because we use GCC doesn't mean we suddenly get shared libraries
15120 # on systems that don't support them.
15121 lt_prog_compiler_can_build_shared_GCJ=no
15126 if test -d /usr/nec; then
15127 lt_prog_compiler_pic_GCJ=-Kconform_pic
15132 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15133 # not for PA HP-UX.
15134 case "$host_cpu" in
15139 lt_prog_compiler_pic_GCJ='-fPIC'
15145 lt_prog_compiler_pic_GCJ='-fPIC'
15149 # PORTME Check for flag to pass linker flags through the system compiler.
15152 lt_prog_compiler_wl_GCJ='-Wl,'
15153 if test "$host_cpu" = ia64; then
15154 # AIX 5 now supports IA64 processor
15155 lt_prog_compiler_static_GCJ='-Bstatic'
15157 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15161 mingw* | pw32* | os2*)
15162 # This hack is so that the source file can tell whether it is being
15163 # built for inclusion in a dll (and should export symbols for example).
15164 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15167 hpux9* | hpux10* | hpux11*)
15168 lt_prog_compiler_wl_GCJ='-Wl,'
15169 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15170 # not for PA HP-UX.
15171 case "$host_cpu" in
15176 lt_prog_compiler_pic_GCJ='+Z'
15179 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15180 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15183 irix5* | irix6* | nonstopux*)
15184 lt_prog_compiler_wl_GCJ='-Wl,'
15185 # PIC (with -KPIC) is the default.
15186 lt_prog_compiler_static_GCJ='-non_shared'
15190 lt_prog_compiler_pic_GCJ='-KPIC'
15191 lt_prog_compiler_static_GCJ='-Bstatic'
15197 lt_prog_compiler_wl_GCJ='-Wl,'
15198 lt_prog_compiler_pic_GCJ='-KPIC'
15199 lt_prog_compiler_static_GCJ='-static'
15202 lt_prog_compiler_wl_GCJ='-Wl,'
15203 # All Alpha code is PIC.
15204 lt_prog_compiler_static_GCJ='-non_shared'
15209 osf3* | osf4* | osf5*)
15210 lt_prog_compiler_wl_GCJ='-Wl,'
15211 # All OSF/1 code is PIC.
15212 lt_prog_compiler_static_GCJ='-non_shared'
15216 lt_prog_compiler_pic_GCJ='-Kpic'
15217 lt_prog_compiler_static_GCJ='-dn'
15221 lt_prog_compiler_wl_GCJ='-Wl,'
15222 lt_prog_compiler_pic_GCJ='-KPIC'
15223 lt_prog_compiler_static_GCJ='-Bstatic'
15227 lt_prog_compiler_wl_GCJ='-Qoption ld '
15228 lt_prog_compiler_pic_GCJ='-PIC'
15229 lt_prog_compiler_static_GCJ='-Bstatic'
15232 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15233 lt_prog_compiler_wl_GCJ='-Wl,'
15234 lt_prog_compiler_pic_GCJ='-KPIC'
15235 lt_prog_compiler_static_GCJ='-Bstatic'
15239 if test -d /usr/nec ;then
15240 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15241 lt_prog_compiler_static_GCJ='-Bstatic'
15246 lt_prog_compiler_pic_GCJ='-pic'
15247 lt_prog_compiler_static_GCJ='-Bstatic'
15251 lt_prog_compiler_can_build_shared_GCJ=no
15256 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15257 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15260 # Check to make sure the PIC flag actually works.
15262 if test -n "$lt_prog_compiler_pic_GCJ"; then
15263 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15264 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15265 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15266 echo $ECHO_N "(cached) $ECHO_C" >&6
15268 lt_prog_compiler_pic_works_GCJ=no
15269 ac_outfile=conftest.$ac_objext
15270 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15271 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15272 # Insert the option either (1) after the last *FLAGS variable, or
15273 # (2) before a word containing "conftest.", or (3) at the end.
15274 # Note that $ac_compile itself does not contain backslashes and begins
15275 # with a dollar sign (not a hyphen), so the echo should work correctly.
15276 # The option is referenced via a variable to avoid confusing sed.
15277 lt_compile=`echo "$ac_compile" | $SED \
15278 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15280 -e 's:$: $lt_compiler_flag:'`
15281 (eval echo "\"\$as_me:15281: $lt_compile\"" >&5)
15282 (eval "$lt_compile" 2>conftest.err)
15284 cat conftest.err >&5
15285 echo "$as_me:15285: \$? = $ac_status" >&5
15286 if (exit $ac_status) && test -s "$ac_outfile"; then
15287 # The compiler can only warn and ignore the option if not recognized
15288 # So say no if there are warnings
15289 if test ! -s conftest.err; then
15290 lt_prog_compiler_pic_works_GCJ=yes
15296 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15297 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15299 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15300 case $lt_prog_compiler_pic_GCJ in
15302 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15305 lt_prog_compiler_pic_GCJ=
15306 lt_prog_compiler_can_build_shared_GCJ=no
15311 # For platforms which do not support PIC, -DPIC is meaningless:
15313 lt_prog_compiler_pic_GCJ=
15316 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15320 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15321 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15322 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15323 echo $ECHO_N "(cached) $ECHO_C" >&6
15325 lt_cv_prog_compiler_c_o_GCJ=no
15326 $rm -r conftest 2>/dev/null
15330 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15332 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15333 # that will create temporary files in the current directory regardless of
15334 # the output directory. Thus, making CWD read-only will cause this test
15335 # to fail, enabling locking or at least warning the user not to do parallel
15339 lt_compiler_flag="-o out/conftest2.$ac_objext"
15340 # Insert the option either (1) after the last *FLAGS variable, or
15341 # (2) before a word containing "conftest.", or (3) at the end.
15342 # Note that $ac_compile itself does not contain backslashes and begins
15343 # with a dollar sign (not a hyphen), so the echo should work correctly.
15344 lt_compile=`echo "$ac_compile" | $SED \
15345 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15346 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15347 -e 's:$: $lt_compiler_flag:'`
15348 (eval echo "\"\$as_me:15348: $lt_compile\"" >&5)
15349 (eval "$lt_compile" 2>out/conftest.err)
15351 cat out/conftest.err >&5
15352 echo "$as_me:15352: \$? = $ac_status" >&5
15353 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15355 # The compiler can only warn and ignore the option if not recognized
15356 # So say no if there are warnings
15357 if test ! -s out/conftest.err; then
15358 lt_cv_prog_compiler_c_o_GCJ=yes
15362 $rm conftest* out/*
15369 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15370 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15373 hard_links="nottested"
15374 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15375 # do not overwrite the value of need_locks provided by the user
15376 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15377 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15380 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15382 ln conftest.a conftest.b 2>&5 || hard_links=no
15383 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15384 echo "$as_me:$LINENO: result: $hard_links" >&5
15385 echo "${ECHO_T}$hard_links" >&6
15386 if test "$hard_links" = no; then
15387 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15388 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15395 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15396 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15399 allow_undefined_flag_GCJ=
15400 enable_shared_with_static_runtimes_GCJ=no
15402 archive_expsym_cmds_GCJ=
15403 old_archive_From_new_cmds_GCJ=
15404 old_archive_from_expsyms_cmds_GCJ=
15405 export_dynamic_flag_spec_GCJ=
15406 whole_archive_flag_spec_GCJ=
15407 thread_safe_flag_spec_GCJ=
15408 hardcode_libdir_flag_spec_GCJ=
15409 hardcode_libdir_flag_spec_ld_GCJ=
15410 hardcode_libdir_separator_GCJ=
15411 hardcode_direct_GCJ=no
15412 hardcode_minus_L_GCJ=no
15413 hardcode_shlibpath_var_GCJ=unsupported
15414 link_all_deplibs_GCJ=unknown
15415 hardcode_automatic_GCJ=no
15417 module_expsym_cmds_GCJ=
15418 always_export_symbols_GCJ=no
15419 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15420 # include_expsyms should be a list of space-separated symbols to be *always*
15421 # included in the symbol list
15422 include_expsyms_GCJ=
15423 # exclude_expsyms can be an extended regexp of symbols to exclude
15424 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15425 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15426 # as well as any symbol that contains `d'.
15427 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15428 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15429 # platforms (ab)use it in PIC code, but their linkers get confused if
15430 # the symbol is explicitly referenced. Since portable code cannot
15431 # rely on this symbol name, it's probably fine to never include it in
15432 # preloaded symbol tables.
15433 extract_expsyms_cmds=
15436 cygwin* | mingw* | pw32*)
15437 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15438 # When not using gcc, we currently assume that we are using
15439 # Microsoft Visual C++.
15440 if test "$GCC" != yes; then
15450 if test "$with_gnu_ld" = yes; then
15451 # If archive_cmds runs LD, not CC, wlarc should be empty
15454 # See if GNU ld supports shared libraries.
15456 aix3* | aix4* | aix5*)
15457 # On AIX/PPC, the GNU linker is very broken
15458 if test "$host_cpu" != ia64; then
15462 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15463 *** to be unable to reliably create shared libraries on AIX.
15464 *** Therefore, libtool is disabling shared libraries support. If you
15465 *** really care for shared libraries, you may want to modify your PATH
15466 *** so that a non-GNU linker is found, and then restart.
15473 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)'
15474 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15475 hardcode_minus_L_GCJ=yes
15477 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15478 # that the semantics of dynamic libraries on AmigaOS, at least up
15479 # to version 4, is to share data among multiple programs linked
15480 # with the same dynamic library. Since this doesn't match the
15481 # behavior of shared libraries on other platforms, we can't use
15487 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15488 allow_undefined_flag_GCJ=unsupported
15489 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15490 # support --undefined. This deserves some investigation. FIXME
15491 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15497 cygwin* | mingw* | pw32*)
15498 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15499 # as there is no search path for DLLs.
15500 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15501 allow_undefined_flag_GCJ=unsupported
15502 always_export_symbols_GCJ=no
15503 enable_shared_with_static_runtimes_GCJ=yes
15504 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15506 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15507 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15508 # If the export-symbols file already is a .def file (1st line
15509 # is EXPORTS), use it as is; otherwise, prepend...
15510 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15511 cp $export_symbols $output_objdir/$soname.def;
15513 echo EXPORTS > $output_objdir/$soname.def;
15514 cat $export_symbols >> $output_objdir/$soname.def;
15516 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15523 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15524 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15527 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15528 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15533 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15537 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15538 *** create shared libraries on Solaris systems. Therefore, libtool
15539 *** is disabling shared libraries support. We urge you to upgrade GNU
15540 *** binutils to release 2.9.1 or newer. Another option is to modify
15541 *** your PATH or compiler configuration so that the native linker is
15542 *** used, and then restart.
15545 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15546 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15547 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15554 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15556 hardcode_direct_GCJ=yes
15557 hardcode_shlibpath_var_GCJ=no
15561 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15562 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15563 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15570 if test "$ld_shlibs_GCJ" = yes; then
15571 runpath_var=LD_RUN_PATH
15572 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15573 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15574 # ancient GNU ld didn't support --whole-archive et. al.
15575 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15576 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15578 whole_archive_flag_spec_GCJ=
15582 # PORTME fill in a description of your system's linker (not GNU ld)
15585 allow_undefined_flag_GCJ=unsupported
15586 always_export_symbols_GCJ=yes
15587 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'
15588 # Note: this linker hardcodes the directories in LIBPATH if there
15589 # are no directories specified by -L.
15590 hardcode_minus_L_GCJ=yes
15591 if test "$GCC" = yes && test -z "$link_static_flag"; then
15592 # Neither direct hardcoding nor static linking is supported with a
15594 hardcode_direct_GCJ=unsupported
15599 if test "$host_cpu" = ia64; then
15600 # On IA64, the linker does run time linking by default, so we don't
15601 # have to do anything special.
15602 aix_use_runtimelinking=no
15603 exp_sym_flag='-Bexport'
15606 # If we're using GNU nm, then we don't want the "-C" option.
15607 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15608 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15609 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'
15611 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'
15613 aix_use_runtimelinking=no
15615 # Test if we are trying to use run time linking or normal
15616 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15617 # need to do runtime linking.
15618 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15619 for ld_flag in $LDFLAGS; do
15620 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15621 aix_use_runtimelinking=yes
15627 exp_sym_flag='-bexport'
15628 no_entry_flag='-bnoentry'
15631 # When large executables or shared objects are built, AIX ld can
15632 # have problems creating the table of contents. If linking a library
15633 # or program results in "error TOC overflow" add -mminimal-toc to
15634 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15635 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15637 archive_cmds_GCJ=''
15638 hardcode_direct_GCJ=yes
15639 hardcode_libdir_separator_GCJ=':'
15640 link_all_deplibs_GCJ=yes
15642 if test "$GCC" = yes; then
15643 case $host_os in aix4.012|aix4.012.*)
15644 # We only want to do this on AIX 4.2 and lower, the check
15645 # below for broken collect2 doesn't work under 4.3+
15646 collect2name=`${CC} -print-prog-name=collect2`
15647 if test -f "$collect2name" && \
15648 strings "$collect2name" | grep resolve_lib_name >/dev/null
15650 # We have reworked collect2
15651 hardcode_direct_GCJ=yes
15653 # We have old collect2
15654 hardcode_direct_GCJ=unsupported
15655 # It fails to find uninstalled libraries when the uninstalled
15656 # path is not listed in the libpath. Setting hardcode_minus_L
15657 # to unsupported forces relinking
15658 hardcode_minus_L_GCJ=yes
15659 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15660 hardcode_libdir_separator_GCJ=
15663 shared_flag='-shared'
15666 if test "$host_cpu" = ia64; then
15667 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15668 # chokes on -Wl,-G. The following line is correct:
15671 if test "$aix_use_runtimelinking" = yes; then
15672 shared_flag='${wl}-G'
15674 shared_flag='${wl}-bM:SRE'
15679 # It seems that -bexpall does not export symbols beginning with
15680 # underscore (_), so it is better to generate a list of symbols to export.
15681 always_export_symbols_GCJ=yes
15682 if test "$aix_use_runtimelinking" = yes; then
15683 # Warning - without using the other runtime loading flags (-brtl),
15684 # -berok will link without error, but may produce a broken library.
15685 allow_undefined_flag_GCJ='-berok'
15686 # Determine the default libpath from the value encoded in an empty executable.
15687 cat >conftest.$ac_ext <<_ACEOF
15688 #line $LINENO "configure"
15691 cat confdefs.h >>conftest.$ac_ext
15692 cat >>conftest.$ac_ext <<_ACEOF
15693 /* end confdefs.h. */
15703 rm -f conftest.$ac_objext conftest$ac_exeext
15704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15705 (eval $ac_link) 2>&5
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); } &&
15709 { ac_try='test -s conftest$ac_exeext'
15710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15711 (eval $ac_try) 2>&5
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); }; }; then
15716 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15718 # Check for a 64-bit object if we didn't find anything.
15719 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; }
15722 echo "$as_me: failed program was:" >&5
15723 sed 's/^/| /' conftest.$ac_ext >&5
15726 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15727 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15729 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15730 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"
15732 if test "$host_cpu" = ia64; then
15733 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15734 allow_undefined_flag_GCJ="-z nodefs"
15735 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"
15737 # Determine the default libpath from the value encoded in an empty executable.
15738 cat >conftest.$ac_ext <<_ACEOF
15739 #line $LINENO "configure"
15742 cat confdefs.h >>conftest.$ac_ext
15743 cat >>conftest.$ac_ext <<_ACEOF
15744 /* end confdefs.h. */
15754 rm -f conftest.$ac_objext conftest$ac_exeext
15755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15756 (eval $ac_link) 2>&5
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); } &&
15760 { ac_try='test -s conftest$ac_exeext'
15761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15762 (eval $ac_try) 2>&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); }; }; then
15767 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15769 # Check for a 64-bit object if we didn't find anything.
15770 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; }
15773 echo "$as_me: failed program was:" >&5
15774 sed 's/^/| /' conftest.$ac_ext >&5
15777 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15778 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15780 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15781 # Warning - without using the other run time loading flags,
15782 # -berok will link without error, but may produce a broken library.
15783 no_undefined_flag_GCJ=' ${wl}-bernotok'
15784 allow_undefined_flag_GCJ=' ${wl}-berok'
15785 # -bexpall does not export symbols beginning with underscore (_)
15786 always_export_symbols_GCJ=yes
15787 # Exported symbols can be pulled into shared objects from archives
15788 whole_archive_flag_spec_GCJ=' '
15789 archive_cmds_need_lc_GCJ=yes
15790 # This is similar to how AIX traditionally builds it's shared libraries.
15791 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'
15797 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)'
15798 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15799 hardcode_minus_L_GCJ=yes
15800 # see comment about different semantics on the GNU ld section
15805 export_dynamic_flag_spec_GCJ=-rdynamic
15808 cygwin* | mingw* | pw32*)
15809 # When not using gcc, we currently assume that we are using
15810 # Microsoft Visual C++.
15811 # hardcode_libdir_flag_spec is actually meaningless, as there is
15812 # no search path for DLLs.
15813 hardcode_libdir_flag_spec_GCJ=' '
15814 allow_undefined_flag_GCJ=unsupported
15815 # Tell ltmain to make .lib files, not .a files.
15817 # Tell ltmain to make .dll files, not .so files.
15819 # FIXME: Setting linknames here is a bad hack.
15820 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15821 # The linker will automatically build a .lib file if we build a DLL.
15822 old_archive_From_new_cmds_GCJ='true'
15823 # FIXME: Should let the user specify the lib program.
15824 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15825 fix_srcfile_path='`cygpath -w "$srcfile"`'
15826 enable_shared_with_static_runtimes_GCJ=yes
15829 darwin* | rhapsody*)
15830 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15831 archive_cmds_need_lc_GCJ=no
15833 rhapsody* | darwin1.[012])
15834 allow_undefined_flag_GCJ='-undefined suppress'
15837 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15840 # FIXME: Relying on posixy $() will cause problems for
15841 # cross-compilation, but unfortunately the echo tests do not
15842 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15843 # `"' quotes if we put them in here... so don't!
15844 lt_int_apple_cc_single_mod=no
15845 output_verbose_link_cmd='echo'
15846 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15847 lt_int_apple_cc_single_mod=yes
15849 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15850 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15852 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'
15854 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15855 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15856 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15857 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}'
15859 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}'
15861 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}'
15862 hardcode_direct_GCJ=no
15863 hardcode_automatic_GCJ=yes
15864 hardcode_shlibpath_var_GCJ=unsupported
15865 whole_archive_flag_spec_GCJ='-all_load $convenience'
15866 link_all_deplibs_GCJ=yes
15871 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15872 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15873 hardcode_shlibpath_var_GCJ=no
15880 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15881 # support. Future versions do this automatically, but an explicit c++rt0.o
15882 # does not break anything, and helps significantly (at the cost of a little
15885 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15886 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15887 hardcode_direct_GCJ=yes
15888 hardcode_shlibpath_var_GCJ=no
15891 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15893 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15894 hardcode_direct_GCJ=yes
15895 hardcode_minus_L_GCJ=yes
15896 hardcode_shlibpath_var_GCJ=no
15899 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15901 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15902 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15903 hardcode_direct_GCJ=yes
15904 hardcode_shlibpath_var_GCJ=no
15908 if test "$GCC" = yes; then
15909 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'
15911 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'
15913 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15914 hardcode_libdir_separator_GCJ=:
15915 hardcode_direct_GCJ=yes
15917 # hardcode_minus_L: Not really in the search PATH,
15918 # but as the default location of the library.
15919 hardcode_minus_L_GCJ=yes
15920 export_dynamic_flag_spec_GCJ='${wl}-E'
15924 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15925 case "$host_cpu" in
15927 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15930 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15934 case "$host_cpu" in
15936 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15939 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15943 if test "$with_gnu_ld" = no; then
15944 case "$host_cpu" in
15946 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15947 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15948 hardcode_libdir_separator_GCJ=:
15949 hardcode_direct_GCJ=no
15950 hardcode_shlibpath_var_GCJ=no
15953 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15954 hardcode_direct_GCJ=no
15955 hardcode_shlibpath_var_GCJ=no
15957 # hardcode_minus_L: Not really in the search PATH,
15958 # but as the default location of the library.
15959 hardcode_minus_L_GCJ=yes
15962 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15963 hardcode_libdir_separator_GCJ=:
15964 hardcode_direct_GCJ=yes
15965 export_dynamic_flag_spec_GCJ='${wl}-E'
15967 # hardcode_minus_L: Not really in the search PATH,
15968 # but as the default location of the library.
15969 hardcode_minus_L_GCJ=yes
15975 irix5* | irix6* | nonstopux*)
15976 if test "$GCC" = yes; then
15977 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'
15979 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'
15980 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15982 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15983 hardcode_libdir_separator_GCJ=:
15984 link_all_deplibs_GCJ=yes
15988 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15989 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15991 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15993 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15994 hardcode_direct_GCJ=yes
15995 hardcode_shlibpath_var_GCJ=no
15999 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16000 hardcode_direct_GCJ=yes
16001 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16002 hardcode_libdir_separator_GCJ=:
16003 hardcode_shlibpath_var_GCJ=no
16007 hardcode_direct_GCJ=yes
16008 hardcode_shlibpath_var_GCJ=no
16009 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16010 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16011 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16012 export_dynamic_flag_spec_GCJ='${wl}-E'
16015 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16016 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16017 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16020 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16021 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16028 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16029 hardcode_minus_L_GCJ=yes
16030 allow_undefined_flag_GCJ=unsupported
16031 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'
16032 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16036 if test "$GCC" = yes; then
16037 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16038 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'
16040 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16041 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'
16043 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16044 hardcode_libdir_separator_GCJ=:
16047 osf4* | osf5*) # as osf3* with the addition of -msym flag
16048 if test "$GCC" = yes; then
16049 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16050 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'
16051 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16053 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16054 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'
16055 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~
16056 $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'
16058 # Both c and cxx compiler support -rpath directly
16059 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16061 hardcode_libdir_separator_GCJ=:
16065 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16066 hardcode_shlibpath_var_GCJ=no
16067 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16068 runpath_var=LD_RUN_PATH
16069 hardcode_runpath_var=yes
16073 no_undefined_flag_GCJ=' -z text'
16074 if test "$GCC" = yes; then
16075 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16076 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16077 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16079 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16080 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16081 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16083 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16084 hardcode_shlibpath_var_GCJ=no
16086 solaris2.[0-5] | solaris2.[0-5].*) ;;
16087 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16088 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16090 link_all_deplibs_GCJ=yes
16094 if test "x$host_vendor" = xsequent; then
16095 # Use $CC to link under sequent, because it throws in some extra .o
16096 # files that make .init and .fini sections work.
16097 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16099 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16101 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16102 hardcode_direct_GCJ=yes
16103 hardcode_minus_L_GCJ=yes
16104 hardcode_shlibpath_var_GCJ=no
16108 case $host_vendor in
16110 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16111 hardcode_direct_GCJ=yes # is this really true???
16114 ## LD is ld it makes a PLAMLIB
16115 ## CC just makes a GrossModule.
16116 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16117 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16118 hardcode_direct_GCJ=no
16121 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16122 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16125 runpath_var='LD_RUN_PATH'
16126 hardcode_shlibpath_var_GCJ=no
16130 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16131 hardcode_shlibpath_var_GCJ=no
16132 export_dynamic_flag_spec_GCJ='-Bexport'
16136 if test -d /usr/nec; then
16137 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16138 hardcode_shlibpath_var_GCJ=no
16139 runpath_var=LD_RUN_PATH
16140 hardcode_runpath_var=yes
16146 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16147 hardcode_direct_GCJ=yes
16148 hardcode_minus_L_GCJ=no
16149 hardcode_shlibpath_var_GCJ=no
16150 hardcode_runpath_var=yes
16151 runpath_var=LD_RUN_PATH
16154 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16155 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16156 if test "$GCC" = yes; then
16157 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16159 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16161 runpath_var='LD_RUN_PATH'
16162 hardcode_shlibpath_var_GCJ=no
16166 no_undefined_flag_GCJ=' -z text'
16167 # $CC -shared without GNU ld will not create a library from C++
16168 # object files and a static libstdc++, better avoid it by now
16169 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16170 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16171 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16172 hardcode_libdir_flag_spec_GCJ=
16173 hardcode_shlibpath_var_GCJ=no
16174 runpath_var='LD_RUN_PATH'
16178 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16179 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16180 hardcode_shlibpath_var_GCJ=no
16189 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16190 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16191 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16193 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16194 if test "$GCC" = yes; then
16195 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16199 # Do we need to explicitly link libc?
16201 case "x$archive_cmds_need_lc_GCJ" in
16203 # Assume -lc should be added
16204 archive_cmds_need_lc_GCJ=yes
16206 if test "$enable_shared" = yes && test "$GCC" = yes; then
16207 case $archive_cmds_GCJ in
16209 # FIXME: we may have to deal with multi-command sequences.
16212 # Test whether the compiler implicitly links with -lc since on some
16213 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16214 # to ld, don't add -lc before -lgcc.
16215 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16216 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16218 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16221 (eval $ac_compile) 2>&5
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); } 2>conftest.err; then
16227 libobjs=conftest.$ac_objext
16229 wl=$lt_prog_compiler_wl_GCJ
16235 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16236 allow_undefined_flag_GCJ=
16237 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16238 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); }
16243 archive_cmds_need_lc_GCJ=no
16245 archive_cmds_need_lc_GCJ=yes
16247 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16249 cat conftest.err 1>&5
16252 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16253 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16260 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16261 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16262 hardcode_action_GCJ=
16263 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16264 test -n "$runpath_var GCJ" || \
16265 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16267 # We can hardcode non-existant directories.
16268 if test "$hardcode_direct_GCJ" != no &&
16269 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16270 # have to relink, otherwise we might link with an installed library
16271 # when we should be linking with a yet-to-be-installed one
16272 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16273 test "$hardcode_minus_L_GCJ" != no; then
16274 # Linking always hardcodes the temporary library directory.
16275 hardcode_action_GCJ=relink
16277 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16278 hardcode_action_GCJ=immediate
16281 # We cannot hardcode anything, or else we can only hardcode existing
16283 hardcode_action_GCJ=unsupported
16285 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16286 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16288 if test "$hardcode_action_GCJ" = relink; then
16289 # Fast installation is not supported
16290 enable_fast_install=no
16291 elif test "$shlibpath_overrides_runpath" = yes ||
16292 test "$enable_shared" = no; then
16293 # Fast installation is not necessary
16294 enable_fast_install=needless
16299 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16300 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16301 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16302 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16303 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16304 echo "$as_me:$LINENO: result: yes" >&5
16305 echo "${ECHO_T}yes" >&6
16307 # FIXME - insert some real tests, host_os isn't really good enough
16310 if test -n "$STRIP" ; then
16311 striplib="$STRIP -x"
16312 echo "$as_me:$LINENO: result: yes" >&5
16313 echo "${ECHO_T}yes" >&6
16315 echo "$as_me:$LINENO: result: no" >&5
16316 echo "${ECHO_T}no" >&6
16320 echo "$as_me:$LINENO: result: no" >&5
16321 echo "${ECHO_T}no" >&6
16326 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16327 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16328 library_names_spec=
16329 libname_spec='lib$name'
16333 postuninstall_cmds=
16337 shlibpath_overrides_runpath=unknown
16339 dynamic_linker="$host_os ld.so"
16340 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16341 if test "$GCC" = yes; then
16342 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16343 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16344 # if the path contains ";" then we assume it to be the separator
16345 # otherwise default to the standard path separator (i.e. ":") - it is
16346 # assumed that no part of a normal pathname contains ";" but that should
16347 # okay in the real world where ";" in dirpaths is itself problematic.
16348 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16350 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16353 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16355 need_lib_prefix=unknown
16356 hardcode_into_libs=no
16358 # when you set need_version to no, make sure it does not cause -set_version
16359 # flags to be left without arguments
16360 need_version=unknown
16365 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16366 shlibpath_var=LIBPATH
16368 # AIX 3 has no versioning support, so we append a major version to the name.
16369 soname_spec='${libname}${release}${shared_ext}$major'
16376 hardcode_into_libs=yes
16377 if test "$host_cpu" = ia64; then
16378 # AIX 5 supports IA64
16379 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16380 shlibpath_var=LD_LIBRARY_PATH
16382 # With GCC up to 2.95.x, collect2 would create an import file
16383 # for dependence libraries. The import file would start with
16384 # the line `#! .'. This would cause the generated library to
16385 # depend on `.', always an invalid library. This was fixed in
16386 # development snapshots of GCC prior to 3.0.
16388 aix4 | aix4.[01] | aix4.[01].*)
16389 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16391 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16394 can_build_shared=no
16398 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16399 # soname into executable. Probably we can add versioning support to
16400 # collect2, so additional links can be useful in future.
16401 if test "$aix_use_runtimelinking" = yes; then
16402 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16403 # instead of lib<name>.a to let people know that these are not
16404 # typical AIX shared libraries.
16405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16407 # We preserve .a as extension for shared libraries through AIX4.2
16408 # and later when we are not doing run time linking.
16409 library_names_spec='${libname}${release}.a $libname.a'
16410 soname_spec='${libname}${release}${shared_ext}$major'
16412 shlibpath_var=LIBPATH
16417 library_names_spec='$libname.ixlibrary $libname.a'
16418 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16419 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'
16423 library_names_spec='${libname}${shared_ext}'
16424 dynamic_linker="$host_os ld.so"
16425 shlibpath_var=LIBRARY_PATH
16431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16432 soname_spec='${libname}${release}${shared_ext}$major'
16433 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16434 shlibpath_var=LD_LIBRARY_PATH
16435 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16436 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16437 # the default ld.so.conf also contains /usr/contrib/lib and
16438 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16439 # libtool to hard-code these into programs
16442 cygwin* | mingw* | pw32*)
16443 version_type=windows
16448 case $GCC,$host_os in
16449 yes,cygwin* | yes,mingw* | yes,pw32*)
16450 library_names_spec='$libname.dll.a'
16451 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16452 postinstall_cmds='base_file=`basename \${file}`~
16453 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16454 dldir=$destdir/`dirname \$dlpath`~
16455 test -d \$dldir || mkdir -p \$dldir~
16456 $install_prog $dir/$dlname \$dldir/$dlname'
16457 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16458 dlpath=$dir/\$dldll~
16460 shlibpath_overrides_runpath=yes
16464 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16465 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16466 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16469 # MinGW DLLs use traditional 'lib' prefix
16470 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16471 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16472 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16473 # It is most probably a Windows format PATH printed by
16474 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16475 # path with ; separators, and with drive letters. We can handle the
16476 # drive letters (cygwin fileutils understands them), so leave them,
16477 # especially as we might pass files found there to a mingw objdump,
16478 # which wouldn't understand a cygwinified path. Ahh.
16479 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16481 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16485 # pw32 DLLs use 'pw' prefix rather than 'lib'
16486 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16492 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16495 dynamic_linker='Win32 ld.exe'
16496 # FIXME: first we should search . and the directory the executable is in
16500 darwin* | rhapsody*)
16501 dynamic_linker="$host_os dyld"
16502 version_type=darwin
16505 # FIXME: Relying on posixy $() will cause problems for
16506 # cross-compilation, but unfortunately the echo tests do not
16507 # yet detect zsh echo's removal of \ escapes.
16508 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16509 soname_spec='${libname}${release}${major}$shared_ext'
16510 shlibpath_overrides_runpath=yes
16511 shlibpath_var=DYLD_LIBRARY_PATH
16512 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16513 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16514 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16515 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"`
16517 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16525 soname_spec='${libname}${release}${shared_ext}$major'
16526 shlibpath_var=LD_LIBRARY_PATH
16534 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16535 version_type=freebsd-$objformat
16536 case $version_type in
16538 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16543 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16547 shlibpath_var=LD_LIBRARY_PATH
16550 shlibpath_overrides_runpath=yes
16552 freebsd3.01* | freebsdelf3.01*)
16553 shlibpath_overrides_runpath=yes
16554 hardcode_into_libs=yes
16557 shlibpath_overrides_runpath=no
16558 hardcode_into_libs=yes
16567 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16568 soname_spec='${libname}${release}${shared_ext}$major'
16569 shlibpath_var=LD_LIBRARY_PATH
16570 hardcode_into_libs=yes
16573 hpux9* | hpux10* | hpux11*)
16574 # Give a soname corresponding to the major version so that dld.sl refuses to
16575 # link against other versions.
16579 case "$host_cpu" in
16582 hardcode_into_libs=yes
16583 dynamic_linker="$host_os dld.so"
16584 shlibpath_var=LD_LIBRARY_PATH
16585 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16587 soname_spec='${libname}${release}${shared_ext}$major'
16588 if test "X$HPUX_IA64_MODE" = X32; then
16589 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16591 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16593 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16597 hardcode_into_libs=yes
16598 dynamic_linker="$host_os dld.sl"
16599 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16600 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16602 soname_spec='${libname}${release}${shared_ext}$major'
16603 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16604 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16608 dynamic_linker="$host_os dld.sl"
16609 shlibpath_var=SHLIB_PATH
16610 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16612 soname_spec='${libname}${release}${shared_ext}$major'
16615 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16616 postinstall_cmds='chmod 555 $lib'
16619 irix5* | irix6* | nonstopux*)
16621 nonstopux*) version_type=nonstopux ;;
16623 if test "$lt_cv_prog_gnu_ld" = yes; then
16631 soname_spec='${libname}${release}${shared_ext}$major'
16632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16634 irix5* | nonstopux*)
16635 libsuff= shlibsuff=
16638 case $LD in # libtool.m4 will add one of these switches to LD
16639 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16640 libsuff= shlibsuff= libmagic=32-bit;;
16641 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16642 libsuff=32 shlibsuff=N32 libmagic=N32;;
16643 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16644 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16645 *) libsuff= shlibsuff= libmagic=never-match;;
16649 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16650 shlibpath_overrides_runpath=no
16651 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16652 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16653 hardcode_into_libs=yes
16656 # No shared lib support for Linux oldld, aout, or coff.
16657 linux*oldld* | linux*aout* | linux*coff*)
16661 # This must be Linux ELF.
16666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16667 soname_spec='${libname}${release}${shared_ext}$major'
16668 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16669 shlibpath_var=LD_LIBRARY_PATH
16670 shlibpath_overrides_runpath=no
16671 # This implies no fast_install, which is unacceptable.
16672 # Some rework will be needed to allow for fast_install
16673 # before this can be enabled.
16674 hardcode_into_libs=yes
16676 # We used to test for /lib/ld.so.1 and disable shared libraries on
16677 # powerpc, because MkLinux only supported shared libraries with the
16678 # GNU dynamic linker. Since this was broken with cross compilers,
16679 # most powerpc-linux boxes support dynamic linking these days and
16680 # people can always --disable-shared, the test was removed, and we
16681 # assume the GNU/Linux dynamic linker is in use.
16682 dynamic_linker='GNU/Linux ld.so'
16689 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16691 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16692 dynamic_linker='NetBSD (a.out) ld.so'
16694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16695 soname_spec='${libname}${release}${shared_ext}$major'
16696 dynamic_linker='NetBSD ld.elf_so'
16698 shlibpath_var=LD_LIBRARY_PATH
16699 shlibpath_overrides_runpath=yes
16700 hardcode_into_libs=yes
16705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16706 shlibpath_var=LD_LIBRARY_PATH
16707 shlibpath_overrides_runpath=yes
16714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16715 soname_spec='${libname}${release}${shared_ext}$major'
16716 shlibpath_var=LD_LIBRARY_PATH
16717 shlibpath_overrides_runpath=yes
16724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16725 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16726 shlibpath_var=LD_LIBRARY_PATH
16727 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16729 openbsd2.[89] | openbsd2.[89].*)
16730 shlibpath_overrides_runpath=no
16733 shlibpath_overrides_runpath=yes
16737 shlibpath_overrides_runpath=yes
16742 libname_spec='$name'
16745 library_names_spec='$libname${shared_ext} $libname.a'
16746 dynamic_linker='OS/2 ld.exe'
16747 shlibpath_var=LIBPATH
16750 osf3* | osf4* | osf5*)
16754 soname_spec='${libname}${release}${shared_ext}$major'
16755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16756 shlibpath_var=LD_LIBRARY_PATH
16757 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16758 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16763 soname_spec='${libname}${release}${shared_ext}$major'
16764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16765 shlibpath_var=LD_LIBRARY_PATH
16772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16773 soname_spec='${libname}${release}${shared_ext}$major'
16774 shlibpath_var=LD_LIBRARY_PATH
16775 shlibpath_overrides_runpath=yes
16776 hardcode_into_libs=yes
16777 # ldd complains unless libraries are executable
16778 postinstall_cmds='chmod +x $lib'
16783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16784 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16785 shlibpath_var=LD_LIBRARY_PATH
16786 shlibpath_overrides_runpath=yes
16787 if test "$with_gnu_ld" = yes; then
16793 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16796 soname_spec='${libname}${release}${shared_ext}$major'
16797 shlibpath_var=LD_LIBRARY_PATH
16798 case $host_vendor in
16800 shlibpath_overrides_runpath=no
16802 export_dynamic_flag_spec='${wl}-Blargedynsym'
16803 runpath_var=LD_RUN_PATH
16811 shlibpath_overrides_runpath=no
16812 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16818 if test -d /usr/nec ;then
16820 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16821 soname_spec='$libname${shared_ext}.$major'
16822 shlibpath_var=LD_LIBRARY_PATH
16828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16829 soname_spec='${libname}${release}${shared_ext}$major'
16830 shlibpath_var=LD_LIBRARY_PATH
16837 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16838 echo "${ECHO_T}$dynamic_linker" >&6
16839 test "$dynamic_linker" = no && can_build_shared=no
16841 if test "x$enable_dlopen" != xyes; then
16842 enable_dlopen=unknown
16843 enable_dlopen_self=unknown
16844 enable_dlopen_self_static=unknown
16851 lt_cv_dlopen="load_add_on"
16853 lt_cv_dlopen_self=yes
16857 lt_cv_dlopen="LoadLibrary"
16862 lt_cv_dlopen="dlopen"
16867 # if libdl is installed we need to link against it
16868 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16869 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16870 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16871 echo $ECHO_N "(cached) $ECHO_C" >&6
16873 ac_check_lib_save_LIBS=$LIBS
16875 cat >conftest.$ac_ext <<_ACEOF
16876 #line $LINENO "configure"
16879 cat confdefs.h >>conftest.$ac_ext
16880 cat >>conftest.$ac_ext <<_ACEOF
16881 /* end confdefs.h. */
16883 /* Override any gcc2 internal prototype to avoid an error. */
16887 /* We use char because int might match the return type of a gcc2
16888 builtin and then its argument prototype would still apply. */
16898 rm -f conftest.$ac_objext conftest$ac_exeext
16899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16900 (eval $ac_link) 2>&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); } &&
16904 { ac_try='test -s conftest$ac_exeext'
16905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16906 (eval $ac_try) 2>&5
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); }; }; then
16910 ac_cv_lib_dl_dlopen=yes
16912 echo "$as_me: failed program was:" >&5
16913 sed 's/^/| /' conftest.$ac_ext >&5
16915 ac_cv_lib_dl_dlopen=no
16917 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16918 LIBS=$ac_check_lib_save_LIBS
16920 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16921 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16922 if test $ac_cv_lib_dl_dlopen = yes; then
16923 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16926 lt_cv_dlopen="dyld"
16928 lt_cv_dlopen_self=yes
16935 echo "$as_me:$LINENO: checking for shl_load" >&5
16936 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16937 if test "${ac_cv_func_shl_load+set}" = set; then
16938 echo $ECHO_N "(cached) $ECHO_C" >&6
16940 cat >conftest.$ac_ext <<_ACEOF
16941 #line $LINENO "configure"
16944 cat confdefs.h >>conftest.$ac_ext
16945 cat >>conftest.$ac_ext <<_ACEOF
16946 /* end confdefs.h. */
16947 /* System header to define __stub macros and hopefully few prototypes,
16948 which can conflict with char shl_load (); below.
16949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16950 <limits.h> exists even on freestanding compilers. */
16952 # include <limits.h>
16954 # include <assert.h>
16956 /* Override any gcc2 internal prototype to avoid an error. */
16961 /* We use char because int might match the return type of a gcc2
16962 builtin and then its argument prototype would still apply. */
16964 /* The GNU C library defines this for functions which it implements
16965 to always fail with ENOSYS. Some functions are actually named
16966 something starting with __ and the normal name is an alias. */
16967 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16970 char (*f) () = shl_load;
16979 return f != shl_load;
16984 rm -f conftest.$ac_objext conftest$ac_exeext
16985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16986 (eval $ac_link) 2>&5
16988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16989 (exit $ac_status); } &&
16990 { ac_try='test -s conftest$ac_exeext'
16991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16992 (eval $ac_try) 2>&5
16994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16995 (exit $ac_status); }; }; then
16996 ac_cv_func_shl_load=yes
16998 echo "$as_me: failed program was:" >&5
16999 sed 's/^/| /' conftest.$ac_ext >&5
17001 ac_cv_func_shl_load=no
17003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17005 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17006 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17007 if test $ac_cv_func_shl_load = yes; then
17008 lt_cv_dlopen="shl_load"
17010 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17011 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17012 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17013 echo $ECHO_N "(cached) $ECHO_C" >&6
17015 ac_check_lib_save_LIBS=$LIBS
17017 cat >conftest.$ac_ext <<_ACEOF
17018 #line $LINENO "configure"
17021 cat confdefs.h >>conftest.$ac_ext
17022 cat >>conftest.$ac_ext <<_ACEOF
17023 /* end confdefs.h. */
17025 /* Override any gcc2 internal prototype to avoid an error. */
17029 /* We use char because int might match the return type of a gcc2
17030 builtin and then its argument prototype would still apply. */
17040 rm -f conftest.$ac_objext conftest$ac_exeext
17041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17042 (eval $ac_link) 2>&5
17044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17045 (exit $ac_status); } &&
17046 { ac_try='test -s conftest$ac_exeext'
17047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17048 (eval $ac_try) 2>&5
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); }; }; then
17052 ac_cv_lib_dld_shl_load=yes
17054 echo "$as_me: failed program was:" >&5
17055 sed 's/^/| /' conftest.$ac_ext >&5
17057 ac_cv_lib_dld_shl_load=no
17059 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17060 LIBS=$ac_check_lib_save_LIBS
17062 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17063 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17064 if test $ac_cv_lib_dld_shl_load = yes; then
17065 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17067 echo "$as_me:$LINENO: checking for dlopen" >&5
17068 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17069 if test "${ac_cv_func_dlopen+set}" = set; then
17070 echo $ECHO_N "(cached) $ECHO_C" >&6
17072 cat >conftest.$ac_ext <<_ACEOF
17073 #line $LINENO "configure"
17076 cat confdefs.h >>conftest.$ac_ext
17077 cat >>conftest.$ac_ext <<_ACEOF
17078 /* end confdefs.h. */
17079 /* System header to define __stub macros and hopefully few prototypes,
17080 which can conflict with char dlopen (); below.
17081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17082 <limits.h> exists even on freestanding compilers. */
17084 # include <limits.h>
17086 # include <assert.h>
17088 /* Override any gcc2 internal prototype to avoid an error. */
17093 /* We use char because int might match the return type of a gcc2
17094 builtin and then its argument prototype would still apply. */
17096 /* The GNU C library defines this for functions which it implements
17097 to always fail with ENOSYS. Some functions are actually named
17098 something starting with __ and the normal name is an alias. */
17099 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17102 char (*f) () = dlopen;
17111 return f != dlopen;
17116 rm -f conftest.$ac_objext conftest$ac_exeext
17117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17118 (eval $ac_link) 2>&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); } &&
17122 { ac_try='test -s conftest$ac_exeext'
17123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17124 (eval $ac_try) 2>&5
17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17127 (exit $ac_status); }; }; then
17128 ac_cv_func_dlopen=yes
17130 echo "$as_me: failed program was:" >&5
17131 sed 's/^/| /' conftest.$ac_ext >&5
17133 ac_cv_func_dlopen=no
17135 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17137 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17138 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17139 if test $ac_cv_func_dlopen = yes; then
17140 lt_cv_dlopen="dlopen"
17142 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17143 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17144 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17145 echo $ECHO_N "(cached) $ECHO_C" >&6
17147 ac_check_lib_save_LIBS=$LIBS
17149 cat >conftest.$ac_ext <<_ACEOF
17150 #line $LINENO "configure"
17153 cat confdefs.h >>conftest.$ac_ext
17154 cat >>conftest.$ac_ext <<_ACEOF
17155 /* end confdefs.h. */
17157 /* Override any gcc2 internal prototype to avoid an error. */
17161 /* We use char because int might match the return type of a gcc2
17162 builtin and then its argument prototype would still apply. */
17172 rm -f conftest.$ac_objext conftest$ac_exeext
17173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17174 (eval $ac_link) 2>&5
17176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17177 (exit $ac_status); } &&
17178 { ac_try='test -s conftest$ac_exeext'
17179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17180 (eval $ac_try) 2>&5
17182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183 (exit $ac_status); }; }; then
17184 ac_cv_lib_dl_dlopen=yes
17186 echo "$as_me: failed program was:" >&5
17187 sed 's/^/| /' conftest.$ac_ext >&5
17189 ac_cv_lib_dl_dlopen=no
17191 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17192 LIBS=$ac_check_lib_save_LIBS
17194 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17195 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17196 if test $ac_cv_lib_dl_dlopen = yes; then
17197 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17199 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17200 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17201 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17202 echo $ECHO_N "(cached) $ECHO_C" >&6
17204 ac_check_lib_save_LIBS=$LIBS
17205 LIBS="-lsvld $LIBS"
17206 cat >conftest.$ac_ext <<_ACEOF
17207 #line $LINENO "configure"
17210 cat confdefs.h >>conftest.$ac_ext
17211 cat >>conftest.$ac_ext <<_ACEOF
17212 /* end confdefs.h. */
17214 /* Override any gcc2 internal prototype to avoid an error. */
17218 /* We use char because int might match the return type of a gcc2
17219 builtin and then its argument prototype would still apply. */
17229 rm -f conftest.$ac_objext conftest$ac_exeext
17230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17231 (eval $ac_link) 2>&5
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); } &&
17235 { ac_try='test -s conftest$ac_exeext'
17236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17237 (eval $ac_try) 2>&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); }; }; then
17241 ac_cv_lib_svld_dlopen=yes
17243 echo "$as_me: failed program was:" >&5
17244 sed 's/^/| /' conftest.$ac_ext >&5
17246 ac_cv_lib_svld_dlopen=no
17248 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17249 LIBS=$ac_check_lib_save_LIBS
17251 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17252 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17253 if test $ac_cv_lib_svld_dlopen = yes; then
17254 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17256 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17257 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17258 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17259 echo $ECHO_N "(cached) $ECHO_C" >&6
17261 ac_check_lib_save_LIBS=$LIBS
17263 cat >conftest.$ac_ext <<_ACEOF
17264 #line $LINENO "configure"
17267 cat confdefs.h >>conftest.$ac_ext
17268 cat >>conftest.$ac_ext <<_ACEOF
17269 /* end confdefs.h. */
17271 /* Override any gcc2 internal prototype to avoid an error. */
17275 /* We use char because int might match the return type of a gcc2
17276 builtin and then its argument prototype would still apply. */
17286 rm -f conftest.$ac_objext conftest$ac_exeext
17287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17288 (eval $ac_link) 2>&5
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); } &&
17292 { ac_try='test -s conftest$ac_exeext'
17293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17294 (eval $ac_try) 2>&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); }; }; then
17298 ac_cv_lib_dld_dld_link=yes
17300 echo "$as_me: failed program was:" >&5
17301 sed 's/^/| /' conftest.$ac_ext >&5
17303 ac_cv_lib_dld_dld_link=no
17305 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17306 LIBS=$ac_check_lib_save_LIBS
17308 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17309 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17310 if test $ac_cv_lib_dld_dld_link = yes; then
17311 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17332 if test "x$lt_cv_dlopen" != xno; then
17338 case $lt_cv_dlopen in
17340 save_CPPFLAGS="$CPPFLAGS"
17341 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17343 save_LDFLAGS="$LDFLAGS"
17344 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17347 LIBS="$lt_cv_dlopen_libs $LIBS"
17349 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17350 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17351 if test "${lt_cv_dlopen_self+set}" = set; then
17352 echo $ECHO_N "(cached) $ECHO_C" >&6
17354 if test "$cross_compiling" = yes; then :
17355 lt_cv_dlopen_self=cross
17357 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17358 lt_status=$lt_dlunknown
17359 cat > conftest.$ac_ext <<EOF
17360 #line 17360 "configure"
17361 #include "confdefs.h"
17370 # define LT_DLGLOBAL RTLD_GLOBAL
17373 # define LT_DLGLOBAL DL_GLOBAL
17375 # define LT_DLGLOBAL 0
17379 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17380 find out it does not work in some platform. */
17381 #ifndef LT_DLLAZY_OR_NOW
17383 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17386 # define LT_DLLAZY_OR_NOW DL_LAZY
17389 # define LT_DLLAZY_OR_NOW RTLD_NOW
17392 # define LT_DLLAZY_OR_NOW DL_NOW
17394 # define LT_DLLAZY_OR_NOW 0
17402 extern "C" void exit (int);
17405 void fnord() { int i=42;}
17408 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17409 int status = $lt_dlunknown;
17413 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17414 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17415 /* dlclose (self); */
17421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17422 (eval $ac_link) 2>&5
17424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17426 (./conftest; exit; ) 2>/dev/null
17428 case x$lt_status in
17429 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17430 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17431 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17434 # compilation failed
17435 lt_cv_dlopen_self=no
17442 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17443 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17445 if test "x$lt_cv_dlopen_self" = xyes; then
17446 LDFLAGS="$LDFLAGS $link_static_flag"
17447 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17448 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17449 if test "${lt_cv_dlopen_self_static+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17452 if test "$cross_compiling" = yes; then :
17453 lt_cv_dlopen_self_static=cross
17455 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17456 lt_status=$lt_dlunknown
17457 cat > conftest.$ac_ext <<EOF
17458 #line 17458 "configure"
17459 #include "confdefs.h"
17468 # define LT_DLGLOBAL RTLD_GLOBAL
17471 # define LT_DLGLOBAL DL_GLOBAL
17473 # define LT_DLGLOBAL 0
17477 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17478 find out it does not work in some platform. */
17479 #ifndef LT_DLLAZY_OR_NOW
17481 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17484 # define LT_DLLAZY_OR_NOW DL_LAZY
17487 # define LT_DLLAZY_OR_NOW RTLD_NOW
17490 # define LT_DLLAZY_OR_NOW DL_NOW
17492 # define LT_DLLAZY_OR_NOW 0
17500 extern "C" void exit (int);
17503 void fnord() { int i=42;}
17506 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17507 int status = $lt_dlunknown;
17511 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17512 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17513 /* dlclose (self); */
17519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17520 (eval $ac_link) 2>&5
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17524 (./conftest; exit; ) 2>/dev/null
17526 case x$lt_status in
17527 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17528 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17529 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17532 # compilation failed
17533 lt_cv_dlopen_self_static=no
17540 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17541 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17544 CPPFLAGS="$save_CPPFLAGS"
17545 LDFLAGS="$save_LDFLAGS"
17550 case $lt_cv_dlopen_self in
17551 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17552 *) enable_dlopen_self=unknown ;;
17555 case $lt_cv_dlopen_self_static in
17556 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17557 *) enable_dlopen_self_static=unknown ;;
17562 # The else clause should only fire when bootstrapping the
17563 # libtool distribution, otherwise you forgot to ship ltmain.sh
17564 # with your package, and you will get complaints that there are
17565 # no rules to generate ltmain.sh.
17566 if test -f "$ltmain"; then
17567 # See if we are running on zsh, and set the options which allow our commands through
17568 # without removal of \ escapes.
17569 if test -n "${ZSH_VERSION+set}" ; then
17570 setopt NO_GLOB_SUBST
17572 # Now quote all the things that may contain metacharacters while being
17573 # careful not to overquote the AC_SUBSTed values. We take copies of the
17574 # variables and quote the copies for generation of the libtool script.
17575 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17576 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17577 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17578 deplibs_check_method reload_flag reload_cmds need_locks \
17579 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17580 lt_cv_sys_global_symbol_to_c_name_address \
17581 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17582 old_postinstall_cmds old_postuninstall_cmds \
17586 lt_prog_compiler_wl_GCJ \
17587 lt_prog_compiler_pic_GCJ \
17588 lt_prog_compiler_static_GCJ \
17589 lt_prog_compiler_no_builtin_flag_GCJ \
17590 export_dynamic_flag_spec_GCJ \
17591 thread_safe_flag_spec_GCJ \
17592 whole_archive_flag_spec_GCJ \
17593 enable_shared_with_static_runtimes_GCJ \
17594 old_archive_cmds_GCJ \
17595 old_archive_from_new_cmds_GCJ \
17596 predep_objects_GCJ \
17597 postdep_objects_GCJ \
17600 compiler_lib_search_path_GCJ \
17602 archive_expsym_cmds_GCJ \
17603 postinstall_cmds_GCJ \
17604 postuninstall_cmds_GCJ \
17605 old_archive_from_expsyms_cmds_GCJ \
17606 allow_undefined_flag_GCJ \
17607 no_undefined_flag_GCJ \
17608 export_symbols_cmds_GCJ \
17609 hardcode_libdir_flag_spec_GCJ \
17610 hardcode_libdir_flag_spec_ld_GCJ \
17611 hardcode_libdir_separator_GCJ \
17612 hardcode_automatic_GCJ \
17614 module_expsym_cmds_GCJ \
17615 lt_cv_prog_compiler_c_o_GCJ \
17616 exclude_expsyms_GCJ \
17617 include_expsyms_GCJ; do
17620 old_archive_cmds_GCJ | \
17621 old_archive_from_new_cmds_GCJ | \
17622 archive_cmds_GCJ | \
17623 archive_expsym_cmds_GCJ | \
17624 module_cmds_GCJ | \
17625 module_expsym_cmds_GCJ | \
17626 old_archive_from_expsyms_cmds_GCJ | \
17627 export_symbols_cmds_GCJ | \
17628 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17629 postinstall_cmds | postuninstall_cmds | \
17630 old_postinstall_cmds | old_postuninstall_cmds | \
17631 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17632 # Double-quote double-evaled strings.
17633 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17636 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17642 *'\$0 --fallback-echo"')
17643 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17649 cat <<__EOF__ >> "$cfgfile"
17650 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17652 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17654 # Shell to use when invoking shell scripts.
17657 # Whether or not to build shared libraries.
17658 build_libtool_libs=$enable_shared
17660 # Whether or not to build static libraries.
17661 build_old_libs=$enable_static
17663 # Whether or not to add -lc for building shared libraries.
17664 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17666 # Whether or not to disallow shared libs when runtime libs are static
17667 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17669 # Whether or not to optimize for fast installation.
17670 fast_install=$enable_fast_install
17673 host_alias=$host_alias
17676 # An echo program that does not interpret backslashes.
17681 AR_FLAGS=$lt_AR_FLAGS
17686 # A language-specific compiler.
17687 CC=$lt_compiler_GCJ
17689 # Is the compiler the GNU C compiler?
17695 # The linker used to build libraries.
17698 # Whether we need hard or soft links.
17701 # A BSD-compatible nm program.
17704 # A symbol stripping program
17707 # Used to examine libraries when file_magic_cmd begins "file"
17708 MAGIC_CMD=$MAGIC_CMD
17710 # Used on cygwin: DLL creation program.
17713 # Used on cygwin: object dumper.
17716 # Used on cygwin: assembler.
17719 # The name of the directory that contains temporary libtool files.
17722 # How to create reloadable object files.
17723 reload_flag=$lt_reload_flag
17724 reload_cmds=$lt_reload_cmds
17726 # How to pass a linker flag through the compiler.
17727 wl=$lt_lt_prog_compiler_wl_GCJ
17729 # Object file suffix (normally "o").
17730 objext="$ac_objext"
17732 # Old archive suffix (normally "a").
17735 # Shared library suffix (normally ".so").
17738 # Executable file suffix (normally "").
17741 # Additional compiler flags for building library objects.
17742 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17745 # What is the maximum length of a command?
17746 max_cmd_len=$lt_cv_sys_max_cmd_len
17748 # Does compiler simultaneously support -c and -o options?
17749 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17751 # Must we lock files when doing compilation ?
17752 need_locks=$lt_need_locks
17754 # Do we need the lib prefix for modules?
17755 need_lib_prefix=$need_lib_prefix
17757 # Do we need a version for libraries?
17758 need_version=$need_version
17760 # Whether dlopen is supported.
17761 dlopen_support=$enable_dlopen
17763 # Whether dlopen of programs is supported.
17764 dlopen_self=$enable_dlopen_self
17766 # Whether dlopen of statically linked programs is supported.
17767 dlopen_self_static=$enable_dlopen_self_static
17769 # Compiler flag to prevent dynamic linking.
17770 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17772 # Compiler flag to turn off builtin functions.
17773 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17775 # Compiler flag to allow reflexive dlopens.
17776 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17778 # Compiler flag to generate shared objects directly from archives.
17779 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17781 # Compiler flag to generate thread-safe objects.
17782 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17784 # Library versioning type.
17785 version_type=$version_type
17787 # Format of library name prefix.
17788 libname_spec=$lt_libname_spec
17790 # List of archive names. First name is the real one, the rest are links.
17791 # The last name is the one that the linker finds with -lNAME.
17792 library_names_spec=$lt_library_names_spec
17794 # The coded name of the library, if different from the real name.
17795 soname_spec=$lt_soname_spec
17797 # Commands used to build and install an old-style archive.
17799 old_archive_cmds=$lt_old_archive_cmds_GCJ
17800 old_postinstall_cmds=$lt_old_postinstall_cmds
17801 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17803 # Create an old-style archive from a shared archive.
17804 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17806 # Create a temporary old-style archive to link instead of a shared archive.
17807 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17809 # Commands used to build and install a shared archive.
17810 archive_cmds=$lt_archive_cmds_GCJ
17811 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17812 postinstall_cmds=$lt_postinstall_cmds
17813 postuninstall_cmds=$lt_postuninstall_cmds
17815 # Commands used to build a loadable module (assumed same as above if empty)
17816 module_cmds=$lt_module_cmds_GCJ
17817 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17819 # Commands to strip libraries.
17820 old_striplib=$lt_old_striplib
17821 striplib=$lt_striplib
17823 # Dependencies to place before the objects being linked to create a
17825 predep_objects=$lt_predep_objects_GCJ
17827 # Dependencies to place after the objects being linked to create a
17829 postdep_objects=$lt_postdep_objects_GCJ
17831 # Dependencies to place before the objects being linked to create a
17833 predeps=$lt_predeps_GCJ
17835 # Dependencies to place after the objects being linked to create a
17837 postdeps=$lt_postdeps_GCJ
17839 # The library search path used internally by the compiler when linking
17840 # a shared library.
17841 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17843 # Method to check whether dependent libraries are shared objects.
17844 deplibs_check_method=$lt_deplibs_check_method
17846 # Command to use when deplibs_check_method == file_magic.
17847 file_magic_cmd=$lt_file_magic_cmd
17849 # Flag that allows shared libraries with undefined symbols to be built.
17850 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17852 # Flag that forces no undefined symbols.
17853 no_undefined_flag=$lt_no_undefined_flag_GCJ
17855 # Commands used to finish a libtool library installation in a directory.
17856 finish_cmds=$lt_finish_cmds
17858 # Same as above, but a single script fragment to be evaled but not shown.
17859 finish_eval=$lt_finish_eval
17861 # Take the output of nm and produce a listing of raw symbols and C names.
17862 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17864 # Transform the output of nm in a proper C declaration
17865 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17867 # Transform the output of nm in a C name address pair
17868 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17870 # This is the shared library runtime path variable.
17871 runpath_var=$runpath_var
17873 # This is the shared library path variable.
17874 shlibpath_var=$shlibpath_var
17876 # Is shlibpath searched before the hard-coded library search path?
17877 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17879 # How to hardcode a shared library path into an executable.
17880 hardcode_action=$hardcode_action_GCJ
17882 # Whether we should hardcode library paths into libraries.
17883 hardcode_into_libs=$hardcode_into_libs
17885 # Flag to hardcode \$libdir into a binary during linking.
17886 # This must work even if \$libdir does not exist.
17887 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17889 # If ld is used when linking, flag to hardcode \$libdir into
17890 # a binary during linking. This must work even if \$libdir does
17892 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17894 # Whether we need a single -rpath flag with a separated argument.
17895 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17897 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17898 # resulting binary.
17899 hardcode_direct=$hardcode_direct_GCJ
17901 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17902 # resulting binary.
17903 hardcode_minus_L=$hardcode_minus_L_GCJ
17905 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17906 # the resulting binary.
17907 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17909 # Set to yes if building a shared library automatically hardcodes DIR into the library
17910 # and all subsequent libraries and executables linked against it.
17911 hardcode_automatic=$hardcode_automatic_GCJ
17913 # Variables whose values should be saved in libtool wrapper scripts and
17914 # restored at relink time.
17915 variables_saved_for_relink="$variables_saved_for_relink"
17917 # Whether libtool must link a program against all its dependency libraries.
17918 link_all_deplibs=$link_all_deplibs_GCJ
17920 # Compile-time system search path for libraries
17921 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17923 # Run-time system search path for libraries
17924 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17926 # Fix the shell variable \$srcfile for the compiler.
17927 fix_srcfile_path="$fix_srcfile_path_GCJ"
17929 # Set to yes if exported symbols are required.
17930 always_export_symbols=$always_export_symbols_GCJ
17932 # The commands to list exported symbols.
17933 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17935 # The commands to extract the exported symbol list from a shared archive.
17936 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17938 # Symbols that should not be listed in the preloaded symbols.
17939 exclude_expsyms=$lt_exclude_expsyms_GCJ
17941 # Symbols that must always be exported.
17942 include_expsyms=$lt_include_expsyms_GCJ
17944 # ### END LIBTOOL TAG CONFIG: $tagname
17950 # If there is no Makefile yet, we rely on a make rule to execute
17951 # `config.status --recheck' to rerun these tests and create the
17952 # libtool script then.
17953 test -f Makefile && make "$ltmain"
17958 ac_cpp='$CPP $CPPFLAGS'
17959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17974 # Source file extension for RC test sources.
17977 # Object file extension for compiled RC test sources.
17981 # Code to be used in simple compile tests
17982 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17984 # Code to be used in simple link tests
17985 lt_simple_link_test_code="$lt_simple_compile_test_code"
17987 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17989 # If no C compiler was specified, use CC.
17992 # Allow CC to be a program name with arguments.
17996 # Allow CC to be a program name with arguments.
18001 lt_cv_prog_compiler_c_o_RC=yes
18003 # The else clause should only fire when bootstrapping the
18004 # libtool distribution, otherwise you forgot to ship ltmain.sh
18005 # with your package, and you will get complaints that there are
18006 # no rules to generate ltmain.sh.
18007 if test -f "$ltmain"; then
18008 # See if we are running on zsh, and set the options which allow our commands through
18009 # without removal of \ escapes.
18010 if test -n "${ZSH_VERSION+set}" ; then
18011 setopt NO_GLOB_SUBST
18013 # Now quote all the things that may contain metacharacters while being
18014 # careful not to overquote the AC_SUBSTed values. We take copies of the
18015 # variables and quote the copies for generation of the libtool script.
18016 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18017 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18018 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18019 deplibs_check_method reload_flag reload_cmds need_locks \
18020 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18021 lt_cv_sys_global_symbol_to_c_name_address \
18022 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18023 old_postinstall_cmds old_postuninstall_cmds \
18027 lt_prog_compiler_wl_RC \
18028 lt_prog_compiler_pic_RC \
18029 lt_prog_compiler_static_RC \
18030 lt_prog_compiler_no_builtin_flag_RC \
18031 export_dynamic_flag_spec_RC \
18032 thread_safe_flag_spec_RC \
18033 whole_archive_flag_spec_RC \
18034 enable_shared_with_static_runtimes_RC \
18035 old_archive_cmds_RC \
18036 old_archive_from_new_cmds_RC \
18037 predep_objects_RC \
18038 postdep_objects_RC \
18041 compiler_lib_search_path_RC \
18043 archive_expsym_cmds_RC \
18044 postinstall_cmds_RC \
18045 postuninstall_cmds_RC \
18046 old_archive_from_expsyms_cmds_RC \
18047 allow_undefined_flag_RC \
18048 no_undefined_flag_RC \
18049 export_symbols_cmds_RC \
18050 hardcode_libdir_flag_spec_RC \
18051 hardcode_libdir_flag_spec_ld_RC \
18052 hardcode_libdir_separator_RC \
18053 hardcode_automatic_RC \
18055 module_expsym_cmds_RC \
18056 lt_cv_prog_compiler_c_o_RC \
18057 exclude_expsyms_RC \
18058 include_expsyms_RC; do
18061 old_archive_cmds_RC | \
18062 old_archive_from_new_cmds_RC | \
18063 archive_cmds_RC | \
18064 archive_expsym_cmds_RC | \
18066 module_expsym_cmds_RC | \
18067 old_archive_from_expsyms_cmds_RC | \
18068 export_symbols_cmds_RC | \
18069 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18070 postinstall_cmds | postuninstall_cmds | \
18071 old_postinstall_cmds | old_postuninstall_cmds | \
18072 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18073 # Double-quote double-evaled strings.
18074 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18077 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18083 *'\$0 --fallback-echo"')
18084 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18090 cat <<__EOF__ >> "$cfgfile"
18091 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18093 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18095 # Shell to use when invoking shell scripts.
18098 # Whether or not to build shared libraries.
18099 build_libtool_libs=$enable_shared
18101 # Whether or not to build static libraries.
18102 build_old_libs=$enable_static
18104 # Whether or not to add -lc for building shared libraries.
18105 build_libtool_need_lc=$archive_cmds_need_lc_RC
18107 # Whether or not to disallow shared libs when runtime libs are static
18108 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18110 # Whether or not to optimize for fast installation.
18111 fast_install=$enable_fast_install
18114 host_alias=$host_alias
18117 # An echo program that does not interpret backslashes.
18122 AR_FLAGS=$lt_AR_FLAGS
18127 # A language-specific compiler.
18130 # Is the compiler the GNU C compiler?
18136 # The linker used to build libraries.
18139 # Whether we need hard or soft links.
18142 # A BSD-compatible nm program.
18145 # A symbol stripping program
18148 # Used to examine libraries when file_magic_cmd begins "file"
18149 MAGIC_CMD=$MAGIC_CMD
18151 # Used on cygwin: DLL creation program.
18154 # Used on cygwin: object dumper.
18157 # Used on cygwin: assembler.
18160 # The name of the directory that contains temporary libtool files.
18163 # How to create reloadable object files.
18164 reload_flag=$lt_reload_flag
18165 reload_cmds=$lt_reload_cmds
18167 # How to pass a linker flag through the compiler.
18168 wl=$lt_lt_prog_compiler_wl_RC
18170 # Object file suffix (normally "o").
18171 objext="$ac_objext"
18173 # Old archive suffix (normally "a").
18176 # Shared library suffix (normally ".so").
18179 # Executable file suffix (normally "").
18182 # Additional compiler flags for building library objects.
18183 pic_flag=$lt_lt_prog_compiler_pic_RC
18186 # What is the maximum length of a command?
18187 max_cmd_len=$lt_cv_sys_max_cmd_len
18189 # Does compiler simultaneously support -c and -o options?
18190 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18192 # Must we lock files when doing compilation ?
18193 need_locks=$lt_need_locks
18195 # Do we need the lib prefix for modules?
18196 need_lib_prefix=$need_lib_prefix
18198 # Do we need a version for libraries?
18199 need_version=$need_version
18201 # Whether dlopen is supported.
18202 dlopen_support=$enable_dlopen
18204 # Whether dlopen of programs is supported.
18205 dlopen_self=$enable_dlopen_self
18207 # Whether dlopen of statically linked programs is supported.
18208 dlopen_self_static=$enable_dlopen_self_static
18210 # Compiler flag to prevent dynamic linking.
18211 link_static_flag=$lt_lt_prog_compiler_static_RC
18213 # Compiler flag to turn off builtin functions.
18214 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18216 # Compiler flag to allow reflexive dlopens.
18217 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18219 # Compiler flag to generate shared objects directly from archives.
18220 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18222 # Compiler flag to generate thread-safe objects.
18223 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18225 # Library versioning type.
18226 version_type=$version_type
18228 # Format of library name prefix.
18229 libname_spec=$lt_libname_spec
18231 # List of archive names. First name is the real one, the rest are links.
18232 # The last name is the one that the linker finds with -lNAME.
18233 library_names_spec=$lt_library_names_spec
18235 # The coded name of the library, if different from the real name.
18236 soname_spec=$lt_soname_spec
18238 # Commands used to build and install an old-style archive.
18240 old_archive_cmds=$lt_old_archive_cmds_RC
18241 old_postinstall_cmds=$lt_old_postinstall_cmds
18242 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18244 # Create an old-style archive from a shared archive.
18245 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18247 # Create a temporary old-style archive to link instead of a shared archive.
18248 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18250 # Commands used to build and install a shared archive.
18251 archive_cmds=$lt_archive_cmds_RC
18252 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18253 postinstall_cmds=$lt_postinstall_cmds
18254 postuninstall_cmds=$lt_postuninstall_cmds
18256 # Commands used to build a loadable module (assumed same as above if empty)
18257 module_cmds=$lt_module_cmds_RC
18258 module_expsym_cmds=$lt_module_expsym_cmds_RC
18260 # Commands to strip libraries.
18261 old_striplib=$lt_old_striplib
18262 striplib=$lt_striplib
18264 # Dependencies to place before the objects being linked to create a
18266 predep_objects=$lt_predep_objects_RC
18268 # Dependencies to place after the objects being linked to create a
18270 postdep_objects=$lt_postdep_objects_RC
18272 # Dependencies to place before the objects being linked to create a
18274 predeps=$lt_predeps_RC
18276 # Dependencies to place after the objects being linked to create a
18278 postdeps=$lt_postdeps_RC
18280 # The library search path used internally by the compiler when linking
18281 # a shared library.
18282 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18284 # Method to check whether dependent libraries are shared objects.
18285 deplibs_check_method=$lt_deplibs_check_method
18287 # Command to use when deplibs_check_method == file_magic.
18288 file_magic_cmd=$lt_file_magic_cmd
18290 # Flag that allows shared libraries with undefined symbols to be built.
18291 allow_undefined_flag=$lt_allow_undefined_flag_RC
18293 # Flag that forces no undefined symbols.
18294 no_undefined_flag=$lt_no_undefined_flag_RC
18296 # Commands used to finish a libtool library installation in a directory.
18297 finish_cmds=$lt_finish_cmds
18299 # Same as above, but a single script fragment to be evaled but not shown.
18300 finish_eval=$lt_finish_eval
18302 # Take the output of nm and produce a listing of raw symbols and C names.
18303 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18305 # Transform the output of nm in a proper C declaration
18306 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18308 # Transform the output of nm in a C name address pair
18309 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18311 # This is the shared library runtime path variable.
18312 runpath_var=$runpath_var
18314 # This is the shared library path variable.
18315 shlibpath_var=$shlibpath_var
18317 # Is shlibpath searched before the hard-coded library search path?
18318 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18320 # How to hardcode a shared library path into an executable.
18321 hardcode_action=$hardcode_action_RC
18323 # Whether we should hardcode library paths into libraries.
18324 hardcode_into_libs=$hardcode_into_libs
18326 # Flag to hardcode \$libdir into a binary during linking.
18327 # This must work even if \$libdir does not exist.
18328 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18330 # If ld is used when linking, flag to hardcode \$libdir into
18331 # a binary during linking. This must work even if \$libdir does
18333 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18335 # Whether we need a single -rpath flag with a separated argument.
18336 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18338 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18339 # resulting binary.
18340 hardcode_direct=$hardcode_direct_RC
18342 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18343 # resulting binary.
18344 hardcode_minus_L=$hardcode_minus_L_RC
18346 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18347 # the resulting binary.
18348 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18350 # Set to yes if building a shared library automatically hardcodes DIR into the library
18351 # and all subsequent libraries and executables linked against it.
18352 hardcode_automatic=$hardcode_automatic_RC
18354 # Variables whose values should be saved in libtool wrapper scripts and
18355 # restored at relink time.
18356 variables_saved_for_relink="$variables_saved_for_relink"
18358 # Whether libtool must link a program against all its dependency libraries.
18359 link_all_deplibs=$link_all_deplibs_RC
18361 # Compile-time system search path for libraries
18362 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18364 # Run-time system search path for libraries
18365 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18367 # Fix the shell variable \$srcfile for the compiler.
18368 fix_srcfile_path="$fix_srcfile_path_RC"
18370 # Set to yes if exported symbols are required.
18371 always_export_symbols=$always_export_symbols_RC
18373 # The commands to list exported symbols.
18374 export_symbols_cmds=$lt_export_symbols_cmds_RC
18376 # The commands to extract the exported symbol list from a shared archive.
18377 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18379 # Symbols that should not be listed in the preloaded symbols.
18380 exclude_expsyms=$lt_exclude_expsyms_RC
18382 # Symbols that must always be exported.
18383 include_expsyms=$lt_include_expsyms_RC
18385 # ### END LIBTOOL TAG CONFIG: $tagname
18391 # If there is no Makefile yet, we rely on a make rule to execute
18392 # `config.status --recheck' to rerun these tests and create the
18393 # libtool script then.
18394 test -f Makefile && make "$ltmain"
18399 ac_cpp='$CPP $CPPFLAGS'
18400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18409 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18410 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18411 { (exit 1); exit 1; }; }
18415 # Append the new tag name to the list of available tags.
18416 if test -n "$tagname" ; then
18417 available_tags="$available_tags $tagname"
18423 # Now substitute the updated list of available tags.
18424 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18425 mv "${ofile}T" "$ofile"
18429 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18430 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18431 { (exit 1); exit 1; }; }
18437 # This can be used to rebuild libtool when needed
18438 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18440 # Always use our own libtool.
18441 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18443 # Prevent multiple expansion
18465 # Extract the first word of "pwd", so it can be a program name with args.
18466 set dummy pwd; ac_word=$2
18467 echo "$as_me:$LINENO: checking for $ac_word" >&5
18468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18469 if test "${ac_cv_path_RPWD+set}" = set; then
18470 echo $ECHO_N "(cached) $ECHO_C" >&6
18474 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18478 for as_dir in $PATH
18481 test -z "$as_dir" && as_dir=.
18482 for ac_exec_ext in '' $ac_executable_extensions; do
18483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18484 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18491 test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false"
18495 RPWD=$ac_cv_path_RPWD
18497 if test -n "$RPWD"; then
18498 echo "$as_me:$LINENO: result: $RPWD" >&5
18499 echo "${ECHO_T}$RPWD" >&6
18501 echo "$as_me:$LINENO: result: no" >&5
18502 echo "${ECHO_T}no" >&6
18505 if test ${RPWD} = "false"
18507 { { echo "$as_me:$LINENO: error: pwd required but not found" >&5
18508 echo "$as_me: error: pwd required but not found" >&2;}
18509 { (exit 1); exit 1; }; }
18512 # Extract the first word of "ar", so it can be a program name with args.
18513 set dummy ar; ac_word=$2
18514 echo "$as_me:$LINENO: checking for $ac_word" >&5
18515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18516 if test "${ac_cv_path_AR+set}" = set; then
18517 echo $ECHO_N "(cached) $ECHO_C" >&6
18521 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18525 for as_dir in $PATH
18528 test -z "$as_dir" && as_dir=.
18529 for ac_exec_ext in '' $ac_executable_extensions; do
18530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18531 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18538 test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
18544 if test -n "$AR"; then
18545 echo "$as_me:$LINENO: result: $AR" >&5
18546 echo "${ECHO_T}$AR" >&6
18548 echo "$as_me:$LINENO: result: no" >&5
18549 echo "${ECHO_T}no" >&6
18552 if test ${AR} = "false"
18554 { { echo "$as_me:$LINENO: error: ar required but not found" >&5
18555 echo "$as_me: error: ar required but not found" >&2;}
18556 { (exit 1); exit 1; }; }
18559 # Extract the first word of "sed", so it can be a program name with args.
18560 set dummy sed; ac_word=$2
18561 echo "$as_me:$LINENO: checking for $ac_word" >&5
18562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18563 if test "${ac_cv_path_SED+set}" = set; then
18564 echo $ECHO_N "(cached) $ECHO_C" >&6
18568 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18572 for as_dir in $PATH
18575 test -z "$as_dir" && as_dir=.
18576 for ac_exec_ext in '' $ac_executable_extensions; do
18577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18578 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18585 test -z "$ac_cv_path_SED" && ac_cv_path_SED="false"
18589 SED=$ac_cv_path_SED
18591 if test -n "$SED"; then
18592 echo "$as_me:$LINENO: result: $SED" >&5
18593 echo "${ECHO_T}$SED" >&6
18595 echo "$as_me:$LINENO: result: no" >&5
18596 echo "${ECHO_T}no" >&6
18599 if test ${SED} = "false"
18601 { { echo "$as_me:$LINENO: error: sed required but not found" >&5
18602 echo "$as_me: error: sed required but not found" >&2;}
18603 { (exit 1); exit 1; }; }
18606 # Extract the first word of "rm", so it can be a program name with args.
18607 set dummy rm; ac_word=$2
18608 echo "$as_me:$LINENO: checking for $ac_word" >&5
18609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18610 if test "${ac_cv_path_RM+set}" = set; then
18611 echo $ECHO_N "(cached) $ECHO_C" >&6
18615 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18619 for as_dir in $PATH
18622 test -z "$as_dir" && as_dir=.
18623 for ac_exec_ext in '' $ac_executable_extensions; do
18624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18625 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18632 test -z "$ac_cv_path_RM" && ac_cv_path_RM="false"
18638 if test -n "$RM"; then
18639 echo "$as_me:$LINENO: result: $RM" >&5
18640 echo "${ECHO_T}$RM" >&6
18642 echo "$as_me:$LINENO: result: no" >&5
18643 echo "${ECHO_T}no" >&6
18646 if test ${RM} = "false"
18648 { { echo "$as_me:$LINENO: error: rm required but not found" >&5
18649 echo "$as_me: error: rm required but not found" >&2;}
18650 { (exit 1); exit 1; }; }
18653 # Extract the first word of "echo", so it can be a program name with args.
18654 set dummy echo; ac_word=$2
18655 echo "$as_me:$LINENO: checking for $ac_word" >&5
18656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18657 if test "${ac_cv_path_ECHO+set}" = set; then
18658 echo $ECHO_N "(cached) $ECHO_C" >&6
18662 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18666 for as_dir in $PATH
18669 test -z "$as_dir" && as_dir=.
18670 for ac_exec_ext in '' $ac_executable_extensions; do
18671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18672 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18679 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false"
18683 ECHO=$ac_cv_path_ECHO
18685 if test -n "$ECHO"; then
18686 echo "$as_me:$LINENO: result: $ECHO" >&5
18687 echo "${ECHO_T}$ECHO" >&6
18689 echo "$as_me:$LINENO: result: no" >&5
18690 echo "${ECHO_T}no" >&6
18693 if test ${ECHO} = "false"
18695 { { echo "$as_me:$LINENO: error: echo required but not found" >&5
18696 echo "$as_me: error: echo required but not found" >&2;}
18697 { (exit 1); exit 1; }; }
18700 # Extract the first word of "mkdir", so it can be a program name with args.
18701 set dummy mkdir; ac_word=$2
18702 echo "$as_me:$LINENO: checking for $ac_word" >&5
18703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18704 if test "${ac_cv_path_MKDIR+set}" = set; then
18705 echo $ECHO_N "(cached) $ECHO_C" >&6
18709 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18713 for as_dir in $PATH
18716 test -z "$as_dir" && as_dir=.
18717 for ac_exec_ext in '' $ac_executable_extensions; do
18718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18719 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18726 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false"
18730 MKDIR=$ac_cv_path_MKDIR
18732 if test -n "$MKDIR"; then
18733 echo "$as_me:$LINENO: result: $MKDIR" >&5
18734 echo "${ECHO_T}$MKDIR" >&6
18736 echo "$as_me:$LINENO: result: no" >&5
18737 echo "${ECHO_T}no" >&6
18740 if test ${MKDIR} = "false"
18742 { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5
18743 echo "$as_me: error: mkdir required but not found" >&2;}
18744 { (exit 1); exit 1; }; }
18747 # Extract the first word of "date", so it can be a program name with args.
18748 set dummy date; ac_word=$2
18749 echo "$as_me:$LINENO: checking for $ac_word" >&5
18750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18751 if test "${ac_cv_path_DATE+set}" = set; then
18752 echo $ECHO_N "(cached) $ECHO_C" >&6
18756 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18760 for as_dir in $PATH
18763 test -z "$as_dir" && as_dir=.
18764 for ac_exec_ext in '' $ac_executable_extensions; do
18765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18766 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18773 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false"
18777 DATE=$ac_cv_path_DATE
18779 if test -n "$DATE"; then
18780 echo "$as_me:$LINENO: result: $DATE" >&5
18781 echo "${ECHO_T}$DATE" >&6
18783 echo "$as_me:$LINENO: result: no" >&5
18784 echo "${ECHO_T}no" >&6
18787 if test ${DATE} = "false"
18789 { { echo "$as_me:$LINENO: error: date required but not found" >&5
18790 echo "$as_me: error: date required but not found" >&2;}
18791 { (exit 1); exit 1; }; }
18794 # Extract the first word of "mv", so it can be a program name with args.
18795 set dummy mv; ac_word=$2
18796 echo "$as_me:$LINENO: checking for $ac_word" >&5
18797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18798 if test "${ac_cv_path_MV+set}" = set; then
18799 echo $ECHO_N "(cached) $ECHO_C" >&6
18803 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18807 for as_dir in $PATH
18810 test -z "$as_dir" && as_dir=.
18811 for ac_exec_ext in '' $ac_executable_extensions; do
18812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18813 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18820 test -z "$ac_cv_path_MV" && ac_cv_path_MV="false"
18826 if test -n "$MV"; then
18827 echo "$as_me:$LINENO: result: $MV" >&5
18828 echo "${ECHO_T}$MV" >&6
18830 echo "$as_me:$LINENO: result: no" >&5
18831 echo "${ECHO_T}no" >&6
18834 if test ${MV} = "false"
18836 { { echo "$as_me:$LINENO: error: mv required but not found" >&5
18837 echo "$as_me: error: mv required but not found" >&2;}
18838 { (exit 1); exit 1; }; }
18841 # Extract the first word of "dot", so it can be a program name with args.
18842 set dummy dot; ac_word=$2
18843 echo "$as_me:$LINENO: checking for $ac_word" >&5
18844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18845 if test "${ac_cv_path_DOT+set}" = set; then
18846 echo $ECHO_N "(cached) $ECHO_C" >&6
18850 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18854 for as_dir in $PATH
18857 test -z "$as_dir" && as_dir=.
18858 for ac_exec_ext in '' $ac_executable_extensions; do
18859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18860 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18867 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
18871 DOT=$ac_cv_path_DOT
18873 if test -n "$DOT"; then
18874 echo "$as_me:$LINENO: result: $DOT" >&5
18875 echo "${ECHO_T}$DOT" >&6
18877 echo "$as_me:$LINENO: result: no" >&5
18878 echo "${ECHO_T}no" >&6
18882 # Extract the first word of "etags", so it can be a program name with args.
18883 set dummy etags; ac_word=$2
18884 echo "$as_me:$LINENO: checking for $ac_word" >&5
18885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18886 if test "${ac_cv_path_ETAGS+set}" = set; then
18887 echo $ECHO_N "(cached) $ECHO_C" >&6
18891 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18895 for as_dir in $PATH
18898 test -z "$as_dir" && as_dir=.
18899 for ac_exec_ext in '' $ac_executable_extensions; do
18900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18901 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18908 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false"
18912 ETAGS=$ac_cv_path_ETAGS
18914 if test -n "$ETAGS"; then
18915 echo "$as_me:$LINENO: result: $ETAGS" >&5
18916 echo "${ECHO_T}$ETAGS" >&6
18918 echo "$as_me:$LINENO: result: no" >&5
18919 echo "${ECHO_T}no" >&6
18923 # Extract the first word of "python", so it can be a program name with args.
18924 set dummy python; ac_word=$2
18925 echo "$as_me:$LINENO: checking for $ac_word" >&5
18926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18927 if test "${ac_cv_path_PYTHON+set}" = set; then
18928 echo $ECHO_N "(cached) $ECHO_C" >&6
18932 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18936 for as_dir in $PATH
18939 test -z "$as_dir" && as_dir=.
18940 for ac_exec_ext in '' $ac_executable_extensions; do
18941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18942 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18949 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false"
18953 PYTHON=$ac_cv_path_PYTHON
18955 if test -n "$PYTHON"; then
18956 echo "$as_me:$LINENO: result: $PYTHON" >&5
18957 echo "${ECHO_T}$PYTHON" >&6
18959 echo "$as_me:$LINENO: result: no" >&5
18960 echo "${ECHO_T}no" >&6
18963 if test ${PYTHON} = "false"
18965 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
18966 echo "$as_me: WARNING: python required but not found" >&2;}
18969 # Extract the first word of "qmtest", so it can be a program name with args.
18970 set dummy qmtest; ac_word=$2
18971 echo "$as_me:$LINENO: checking for $ac_word" >&5
18972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18973 if test "${ac_cv_path_QMTEST+set}" = set; then
18974 echo $ECHO_N "(cached) $ECHO_C" >&6
18978 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18982 for as_dir in $PATH
18985 test -z "$as_dir" && as_dir=.
18986 for ac_exec_ext in '' $ac_executable_extensions; do
18987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18988 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
18989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18995 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false"
18999 QMTEST=$ac_cv_path_QMTEST
19001 if test -n "$QMTEST"; then
19002 echo "$as_me:$LINENO: result: $QMTEST" >&5
19003 echo "${ECHO_T}$QMTEST" >&6
19005 echo "$as_me:$LINENO: result: no" >&5
19006 echo "${ECHO_T}no" >&6
19009 if test ${QMTEST} = "false"
19011 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19012 echo "$as_me: WARNING: qmtest required but not found" >&2;}
19015 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
19016 pymajor=`echo $pyversion | cut -d. -f1`
19017 pyminor=`echo $pyversion | cut -d. -f2`
19019 if test "$pymajor" -ge "2"
19021 if test "$pymajor" -eq "2"
19023 if test "$pyminor" -lt "2"
19025 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19026 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19027 { (exit 1); exit 1; }; }
19031 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19032 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19033 { (exit 1); exit 1; }; }
19040 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
19041 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
19042 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
19043 echo $ECHO_N "(cached) $ECHO_C" >&6
19045 ac_check_lib_save_LIBS=$LIBS
19047 cat >conftest.$ac_ext <<_ACEOF
19048 #line $LINENO "configure"
19051 cat confdefs.h >>conftest.$ac_ext
19052 cat >>conftest.$ac_ext <<_ACEOF
19053 /* end confdefs.h. */
19055 /* Override any gcc2 internal prototype to avoid an error. */
19059 /* We use char because int might match the return type of a gcc2
19060 builtin and then its argument prototype would still apply. */
19070 rm -f conftest.$ac_objext conftest$ac_exeext
19071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19072 (eval $ac_link) 2>&5
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); } &&
19076 { ac_try='test -s conftest$ac_exeext'
19077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19078 (eval $ac_try) 2>&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); }; }; then
19082 ac_cv_lib_elf_elf_begin=yes
19084 echo "$as_me: failed program was:" >&5
19085 sed 's/^/| /' conftest.$ac_ext >&5
19087 ac_cv_lib_elf_elf_begin=no
19089 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19090 LIBS=$ac_check_lib_save_LIBS
19092 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19093 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19094 if test $ac_cv_lib_elf_elf_begin = yes; then
19095 cat >>confdefs.h <<_ACEOF
19096 #define HAVE_LIBELF 1
19104 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19105 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19106 if test "${ac_cv_search_dlopen+set}" = set; then
19107 echo $ECHO_N "(cached) $ECHO_C" >&6
19109 ac_func_search_save_LIBS=$LIBS
19110 ac_cv_search_dlopen=no
19111 cat >conftest.$ac_ext <<_ACEOF
19112 #line $LINENO "configure"
19115 cat confdefs.h >>conftest.$ac_ext
19116 cat >>conftest.$ac_ext <<_ACEOF
19117 /* end confdefs.h. */
19119 /* Override any gcc2 internal prototype to avoid an error. */
19123 /* We use char because int might match the return type of a gcc2
19124 builtin and then its argument prototype would still apply. */
19134 rm -f conftest.$ac_objext conftest$ac_exeext
19135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19136 (eval $ac_link) 2>&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); } &&
19140 { ac_try='test -s conftest$ac_exeext'
19141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19142 (eval $ac_try) 2>&5
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); }; }; then
19146 ac_cv_search_dlopen="none required"
19148 echo "$as_me: failed program was:" >&5
19149 sed 's/^/| /' conftest.$ac_ext >&5
19152 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19153 if test "$ac_cv_search_dlopen" = no; then
19154 for ac_lib in dl; do
19155 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19156 cat >conftest.$ac_ext <<_ACEOF
19157 #line $LINENO "configure"
19160 cat confdefs.h >>conftest.$ac_ext
19161 cat >>conftest.$ac_ext <<_ACEOF
19162 /* end confdefs.h. */
19164 /* Override any gcc2 internal prototype to avoid an error. */
19168 /* We use char because int might match the return type of a gcc2
19169 builtin and then its argument prototype would still apply. */
19179 rm -f conftest.$ac_objext conftest$ac_exeext
19180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19181 (eval $ac_link) 2>&5
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); } &&
19185 { ac_try='test -s conftest$ac_exeext'
19186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19187 (eval $ac_try) 2>&5
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); }; }; then
19191 ac_cv_search_dlopen="-l$ac_lib"
19194 echo "$as_me: failed program was:" >&5
19195 sed 's/^/| /' conftest.$ac_ext >&5
19198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19201 LIBS=$ac_func_search_save_LIBS
19203 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19204 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19205 if test "$ac_cv_search_dlopen" != no; then
19206 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19208 cat >>confdefs.h <<\_ACEOF
19209 #define HAVE_DLOPEN 1
19213 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
19214 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
19218 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19219 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19220 if test "${ac_cv_search_mallinfo+set}" = set; then
19221 echo $ECHO_N "(cached) $ECHO_C" >&6
19223 ac_func_search_save_LIBS=$LIBS
19224 ac_cv_search_mallinfo=no
19225 cat >conftest.$ac_ext <<_ACEOF
19226 #line $LINENO "configure"
19229 cat confdefs.h >>conftest.$ac_ext
19230 cat >>conftest.$ac_ext <<_ACEOF
19231 /* end confdefs.h. */
19233 /* Override any gcc2 internal prototype to avoid an error. */
19237 /* We use char because int might match the return type of a gcc2
19238 builtin and then its argument prototype would still apply. */
19248 rm -f conftest.$ac_objext conftest$ac_exeext
19249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19250 (eval $ac_link) 2>&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); } &&
19254 { ac_try='test -s conftest$ac_exeext'
19255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19256 (eval $ac_try) 2>&5
19258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259 (exit $ac_status); }; }; then
19260 ac_cv_search_mallinfo="none required"
19262 echo "$as_me: failed program was:" >&5
19263 sed 's/^/| /' conftest.$ac_ext >&5
19266 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19267 if test "$ac_cv_search_mallinfo" = no; then
19268 for ac_lib in malloc; do
19269 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19270 cat >conftest.$ac_ext <<_ACEOF
19271 #line $LINENO "configure"
19274 cat confdefs.h >>conftest.$ac_ext
19275 cat >>conftest.$ac_ext <<_ACEOF
19276 /* end confdefs.h. */
19278 /* Override any gcc2 internal prototype to avoid an error. */
19282 /* We use char because int might match the return type of a gcc2
19283 builtin and then its argument prototype would still apply. */
19293 rm -f conftest.$ac_objext conftest$ac_exeext
19294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19295 (eval $ac_link) 2>&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); } &&
19299 { ac_try='test -s conftest$ac_exeext'
19300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19301 (eval $ac_try) 2>&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); }; }; then
19305 ac_cv_search_mallinfo="-l$ac_lib"
19308 echo "$as_me: failed program was:" >&5
19309 sed 's/^/| /' conftest.$ac_ext >&5
19312 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19315 LIBS=$ac_func_search_save_LIBS
19317 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19318 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19319 if test "$ac_cv_search_mallinfo" != no; then
19320 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19322 cat >>confdefs.h <<\_ACEOF
19323 #define HAVE_MALLINFO 1
19330 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19331 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19332 if test "${ac_cv_header_stdc+set}" = set; then
19333 echo $ECHO_N "(cached) $ECHO_C" >&6
19335 cat >conftest.$ac_ext <<_ACEOF
19336 #line $LINENO "configure"
19339 cat confdefs.h >>conftest.$ac_ext
19340 cat >>conftest.$ac_ext <<_ACEOF
19341 /* end confdefs.h. */
19342 #include <stdlib.h>
19343 #include <stdarg.h>
19344 #include <string.h>
19355 rm -f conftest.$ac_objext
19356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19357 (eval $ac_compile) 2>&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } &&
19361 { ac_try='test -s conftest.$ac_objext'
19362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19363 (eval $ac_try) 2>&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); }; }; then
19367 ac_cv_header_stdc=yes
19369 echo "$as_me: failed program was:" >&5
19370 sed 's/^/| /' conftest.$ac_ext >&5
19372 ac_cv_header_stdc=no
19374 rm -f conftest.$ac_objext conftest.$ac_ext
19376 if test $ac_cv_header_stdc = yes; then
19377 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19378 cat >conftest.$ac_ext <<_ACEOF
19379 #line $LINENO "configure"
19382 cat confdefs.h >>conftest.$ac_ext
19383 cat >>conftest.$ac_ext <<_ACEOF
19384 /* end confdefs.h. */
19385 #include <string.h>
19388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19389 $EGREP "memchr" >/dev/null 2>&1; then
19392 ac_cv_header_stdc=no
19398 if test $ac_cv_header_stdc = yes; then
19399 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19400 cat >conftest.$ac_ext <<_ACEOF
19401 #line $LINENO "configure"
19404 cat confdefs.h >>conftest.$ac_ext
19405 cat >>conftest.$ac_ext <<_ACEOF
19406 /* end confdefs.h. */
19407 #include <stdlib.h>
19410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19411 $EGREP "free" >/dev/null 2>&1; then
19414 ac_cv_header_stdc=no
19420 if test $ac_cv_header_stdc = yes; then
19421 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19422 if test "$cross_compiling" = yes; then
19425 cat >conftest.$ac_ext <<_ACEOF
19426 #line $LINENO "configure"
19429 cat confdefs.h >>conftest.$ac_ext
19430 cat >>conftest.$ac_ext <<_ACEOF
19431 /* end confdefs.h. */
19433 #if ((' ' & 0x0FF) == 0x020)
19434 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19435 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19437 # define ISLOWER(c) \
19438 (('a' <= (c) && (c) <= 'i') \
19439 || ('j' <= (c) && (c) <= 'r') \
19440 || ('s' <= (c) && (c) <= 'z'))
19441 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19444 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19449 for (i = 0; i < 256; i++)
19450 if (XOR (islower (i), ISLOWER (i))
19451 || toupper (i) != TOUPPER (i))
19456 rm -f conftest$ac_exeext
19457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19458 (eval $ac_link) 2>&5
19460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19463 (eval $ac_try) 2>&5
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); }; }; then
19469 echo "$as_me: program exited with status $ac_status" >&5
19470 echo "$as_me: failed program was:" >&5
19471 sed 's/^/| /' conftest.$ac_ext >&5
19473 ( exit $ac_status )
19474 ac_cv_header_stdc=no
19476 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19480 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19481 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19482 if test $ac_cv_header_stdc = yes; then
19484 cat >>confdefs.h <<\_ACEOF
19485 #define STDC_HEADERS 1
19490 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19491 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19492 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19493 echo $ECHO_N "(cached) $ECHO_C" >&6
19495 cat >conftest.$ac_ext <<_ACEOF
19496 #line $LINENO "configure"
19499 cat confdefs.h >>conftest.$ac_ext
19500 cat >>conftest.$ac_ext <<_ACEOF
19501 /* end confdefs.h. */
19502 #include <sys/types.h>
19503 #include <sys/wait.h>
19504 #ifndef WEXITSTATUS
19505 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19508 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19516 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19521 rm -f conftest.$ac_objext
19522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19523 (eval $ac_compile) 2>&5
19525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526 (exit $ac_status); } &&
19527 { ac_try='test -s conftest.$ac_objext'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; }; then
19533 ac_cv_header_sys_wait_h=yes
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.$ac_ext >&5
19538 ac_cv_header_sys_wait_h=no
19540 rm -f conftest.$ac_objext conftest.$ac_ext
19542 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19543 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19544 if test $ac_cv_header_sys_wait_h = yes; then
19546 cat >>confdefs.h <<\_ACEOF
19547 #define HAVE_SYS_WAIT_H 1
19561 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19563 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19565 echo "$as_me:$LINENO: checking for $ac_header" >&5
19566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19568 echo $ECHO_N "(cached) $ECHO_C" >&6
19570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19573 # Is the header compilable?
19574 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19575 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19576 cat >conftest.$ac_ext <<_ACEOF
19577 #line $LINENO "configure"
19580 cat confdefs.h >>conftest.$ac_ext
19581 cat >>conftest.$ac_ext <<_ACEOF
19582 /* end confdefs.h. */
19583 $ac_includes_default
19584 #include <$ac_header>
19586 rm -f conftest.$ac_objext
19587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19588 (eval $ac_compile) 2>&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); } &&
19592 { ac_try='test -s conftest.$ac_objext'
19593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19594 (eval $ac_try) 2>&5
19596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19597 (exit $ac_status); }; }; then
19598 ac_header_compiler=yes
19600 echo "$as_me: failed program was:" >&5
19601 sed 's/^/| /' conftest.$ac_ext >&5
19603 ac_header_compiler=no
19605 rm -f conftest.$ac_objext conftest.$ac_ext
19606 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19607 echo "${ECHO_T}$ac_header_compiler" >&6
19609 # Is the header present?
19610 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19611 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19612 cat >conftest.$ac_ext <<_ACEOF
19613 #line $LINENO "configure"
19616 cat confdefs.h >>conftest.$ac_ext
19617 cat >>conftest.$ac_ext <<_ACEOF
19618 /* end confdefs.h. */
19619 #include <$ac_header>
19621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19622 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19624 grep -v '^ *+' conftest.er1 >conftest.err
19626 cat conftest.err >&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); } >/dev/null; then
19629 if test -s conftest.err; then
19630 ac_cpp_err=$ac_c_preproc_warn_flag
19637 if test -z "$ac_cpp_err"; then
19638 ac_header_preproc=yes
19640 echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.$ac_ext >&5
19643 ac_header_preproc=no
19645 rm -f conftest.err conftest.$ac_ext
19646 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19647 echo "${ECHO_T}$ac_header_preproc" >&6
19649 # So? What about this header?
19650 case $ac_header_compiler:$ac_header_preproc in
19652 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19653 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19654 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19655 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19658 ## ------------------------------------ ##
19659 ## Report this to bug-autoconf@gnu.org. ##
19660 ## ------------------------------------ ##
19663 sed "s/^/$as_me: WARNING: /" >&2
19666 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19667 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19668 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19669 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19674 ## ------------------------------------ ##
19675 ## Report this to bug-autoconf@gnu.org. ##
19676 ## ------------------------------------ ##
19679 sed "s/^/$as_me: WARNING: /" >&2
19682 echo "$as_me:$LINENO: checking for $ac_header" >&5
19683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19685 echo $ECHO_N "(cached) $ECHO_C" >&6
19687 eval "$as_ac_Header=$ac_header_preproc"
19689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19694 cat >>confdefs.h <<_ACEOF
19695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19707 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19709 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19711 echo "$as_me:$LINENO: checking for $ac_header" >&5
19712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19714 echo $ECHO_N "(cached) $ECHO_C" >&6
19716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19719 # Is the header compilable?
19720 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19721 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19722 cat >conftest.$ac_ext <<_ACEOF
19723 #line $LINENO "configure"
19726 cat confdefs.h >>conftest.$ac_ext
19727 cat >>conftest.$ac_ext <<_ACEOF
19728 /* end confdefs.h. */
19729 $ac_includes_default
19730 #include <$ac_header>
19732 rm -f conftest.$ac_objext
19733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19734 (eval $ac_compile) 2>&5
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); } &&
19738 { ac_try='test -s conftest.$ac_objext'
19739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19740 (eval $ac_try) 2>&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); }; }; then
19744 ac_header_compiler=yes
19746 echo "$as_me: failed program was:" >&5
19747 sed 's/^/| /' conftest.$ac_ext >&5
19749 ac_header_compiler=no
19751 rm -f conftest.$ac_objext conftest.$ac_ext
19752 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19753 echo "${ECHO_T}$ac_header_compiler" >&6
19755 # Is the header present?
19756 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19757 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19758 cat >conftest.$ac_ext <<_ACEOF
19759 #line $LINENO "configure"
19762 cat confdefs.h >>conftest.$ac_ext
19763 cat >>conftest.$ac_ext <<_ACEOF
19764 /* end confdefs.h. */
19765 #include <$ac_header>
19767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19768 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19770 grep -v '^ *+' conftest.er1 >conftest.err
19772 cat conftest.err >&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); } >/dev/null; then
19775 if test -s conftest.err; then
19776 ac_cpp_err=$ac_c_preproc_warn_flag
19783 if test -z "$ac_cpp_err"; then
19784 ac_header_preproc=yes
19786 echo "$as_me: failed program was:" >&5
19787 sed 's/^/| /' conftest.$ac_ext >&5
19789 ac_header_preproc=no
19791 rm -f conftest.err conftest.$ac_ext
19792 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19793 echo "${ECHO_T}$ac_header_preproc" >&6
19795 # So? What about this header?
19796 case $ac_header_compiler:$ac_header_preproc in
19798 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19799 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19801 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19804 ## ------------------------------------ ##
19805 ## Report this to bug-autoconf@gnu.org. ##
19806 ## ------------------------------------ ##
19809 sed "s/^/$as_me: WARNING: /" >&2
19812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19815 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19816 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19817 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19820 ## ------------------------------------ ##
19821 ## Report this to bug-autoconf@gnu.org. ##
19822 ## ------------------------------------ ##
19825 sed "s/^/$as_me: WARNING: /" >&2
19828 echo "$as_me:$LINENO: checking for $ac_header" >&5
19829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19831 echo $ECHO_N "(cached) $ECHO_C" >&6
19833 eval "$as_ac_Header=$ac_header_preproc"
19835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19840 cat >>confdefs.h <<_ACEOF
19841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19851 for ac_header in dlfcn.h link.h
19853 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19855 echo "$as_me:$LINENO: checking for $ac_header" >&5
19856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19858 echo $ECHO_N "(cached) $ECHO_C" >&6
19860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19863 # Is the header compilable?
19864 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19865 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19866 cat >conftest.$ac_ext <<_ACEOF
19867 #line $LINENO "configure"
19870 cat confdefs.h >>conftest.$ac_ext
19871 cat >>conftest.$ac_ext <<_ACEOF
19872 /* end confdefs.h. */
19873 $ac_includes_default
19874 #include <$ac_header>
19876 rm -f conftest.$ac_objext
19877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19878 (eval $ac_compile) 2>&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); } &&
19882 { ac_try='test -s conftest.$ac_objext'
19883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19884 (eval $ac_try) 2>&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); }; }; then
19888 ac_header_compiler=yes
19890 echo "$as_me: failed program was:" >&5
19891 sed 's/^/| /' conftest.$ac_ext >&5
19893 ac_header_compiler=no
19895 rm -f conftest.$ac_objext conftest.$ac_ext
19896 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19897 echo "${ECHO_T}$ac_header_compiler" >&6
19899 # Is the header present?
19900 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19901 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19902 cat >conftest.$ac_ext <<_ACEOF
19903 #line $LINENO "configure"
19906 cat confdefs.h >>conftest.$ac_ext
19907 cat >>conftest.$ac_ext <<_ACEOF
19908 /* end confdefs.h. */
19909 #include <$ac_header>
19911 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19912 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19914 grep -v '^ *+' conftest.er1 >conftest.err
19916 cat conftest.err >&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); } >/dev/null; then
19919 if test -s conftest.err; then
19920 ac_cpp_err=$ac_c_preproc_warn_flag
19927 if test -z "$ac_cpp_err"; then
19928 ac_header_preproc=yes
19930 echo "$as_me: failed program was:" >&5
19931 sed 's/^/| /' conftest.$ac_ext >&5
19933 ac_header_preproc=no
19935 rm -f conftest.err conftest.$ac_ext
19936 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19937 echo "${ECHO_T}$ac_header_preproc" >&6
19939 # So? What about this header?
19940 case $ac_header_compiler:$ac_header_preproc in
19942 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19943 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19944 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19945 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19948 ## ------------------------------------ ##
19949 ## Report this to bug-autoconf@gnu.org. ##
19950 ## ------------------------------------ ##
19953 sed "s/^/$as_me: WARNING: /" >&2
19956 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19957 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19958 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19959 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19961 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19964 ## ------------------------------------ ##
19965 ## Report this to bug-autoconf@gnu.org. ##
19966 ## ------------------------------------ ##
19969 sed "s/^/$as_me: WARNING: /" >&2
19972 echo "$as_me:$LINENO: checking for $ac_header" >&5
19973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19975 echo $ECHO_N "(cached) $ECHO_C" >&6
19977 eval "$as_ac_Header=$ac_header_preproc"
19979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19980 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19983 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19984 cat >>confdefs.h <<_ACEOF
19985 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19994 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19995 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19996 if test "${ac_cv_c_const+set}" = set; then
19997 echo $ECHO_N "(cached) $ECHO_C" >&6
19999 cat >conftest.$ac_ext <<_ACEOF
20000 #line $LINENO "configure"
20003 cat confdefs.h >>conftest.$ac_ext
20004 cat >>conftest.$ac_ext <<_ACEOF
20005 /* end confdefs.h. */
20010 /* FIXME: Include the comments suggested by Paul. */
20011 #ifndef __cplusplus
20012 /* Ultrix mips cc rejects this. */
20013 typedef int charset[2];
20015 /* SunOS 4.1.1 cc rejects this. */
20016 char const *const *ccp;
20018 /* NEC SVR4.0.2 mips cc rejects this. */
20019 struct point {int x, y;};
20020 static struct point const zero = {0,0};
20021 /* AIX XL C 1.02.0.0 rejects this.
20022 It does not let you subtract one const X* pointer from another in
20023 an arm of an if-expression whose if-part is not a constant
20025 const char *g = "string";
20026 ccp = &g + (g ? g-g : 0);
20027 /* HPUX 7.0 cc rejects these. */
20030 ccp = (char const *const *) p;
20031 { /* SCO 3.2v4 cc rejects this. */
20033 char const *s = 0 ? (char *) 0 : (char const *) 0;
20037 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20038 int x[] = {25, 17};
20039 const int *foo = &x[0];
20042 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20043 typedef const int *iptr;
20047 { /* AIX XL C 1.02.0.0 rejects this saying
20048 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20049 struct s { int j; const int *ap[3]; };
20050 struct s *b; b->j = 5;
20052 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20053 const int foo = 10;
20061 rm -f conftest.$ac_objext
20062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20063 (eval $ac_compile) 2>&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); } &&
20067 { ac_try='test -s conftest.$ac_objext'
20068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20069 (eval $ac_try) 2>&5
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); }; }; then
20075 echo "$as_me: failed program was:" >&5
20076 sed 's/^/| /' conftest.$ac_ext >&5
20080 rm -f conftest.$ac_objext conftest.$ac_ext
20082 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20083 echo "${ECHO_T}$ac_cv_c_const" >&6
20084 if test $ac_cv_c_const = no; then
20086 cat >>confdefs.h <<\_ACEOF
20092 echo "$as_me:$LINENO: checking for inline" >&5
20093 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20094 if test "${ac_cv_c_inline+set}" = set; then
20095 echo $ECHO_N "(cached) $ECHO_C" >&6
20098 for ac_kw in inline __inline__ __inline; do
20099 cat >conftest.$ac_ext <<_ACEOF
20100 #line $LINENO "configure"
20103 cat confdefs.h >>conftest.$ac_ext
20104 cat >>conftest.$ac_ext <<_ACEOF
20105 /* end confdefs.h. */
20106 #ifndef __cplusplus
20108 static $ac_kw foo_t static_foo () {return 0; }
20109 $ac_kw foo_t foo () {return 0; }
20113 rm -f conftest.$ac_objext
20114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20115 (eval $ac_compile) 2>&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); } &&
20119 { ac_try='test -s conftest.$ac_objext'
20120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20121 (eval $ac_try) 2>&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); }; }; then
20125 ac_cv_c_inline=$ac_kw; break
20127 echo "$as_me: failed program was:" >&5
20128 sed 's/^/| /' conftest.$ac_ext >&5
20131 rm -f conftest.$ac_objext conftest.$ac_ext
20135 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20136 echo "${ECHO_T}$ac_cv_c_inline" >&6
20137 case $ac_cv_c_inline in
20140 cat >>confdefs.h <<\_ACEOF
20144 *) cat >>confdefs.h <<_ACEOF
20145 #define inline $ac_cv_c_inline
20151 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20152 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20153 if test "${ac_cv_c_bigendian+set}" = set; then
20154 echo $ECHO_N "(cached) $ECHO_C" >&6
20156 # See if sys/param.h defines the BYTE_ORDER macro.
20157 cat >conftest.$ac_ext <<_ACEOF
20158 #line $LINENO "configure"
20161 cat confdefs.h >>conftest.$ac_ext
20162 cat >>conftest.$ac_ext <<_ACEOF
20163 /* end confdefs.h. */
20164 #include <sys/types.h>
20165 #include <sys/param.h>
20170 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20171 bogus endian macros
20178 rm -f conftest.$ac_objext
20179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20180 (eval $ac_compile) 2>&5
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); } &&
20184 { ac_try='test -s conftest.$ac_objext'
20185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20186 (eval $ac_try) 2>&5
20188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20189 (exit $ac_status); }; }; then
20190 # It does; now see whether it defined to BIG_ENDIAN or not.
20191 cat >conftest.$ac_ext <<_ACEOF
20192 #line $LINENO "configure"
20195 cat confdefs.h >>conftest.$ac_ext
20196 cat >>conftest.$ac_ext <<_ACEOF
20197 /* end confdefs.h. */
20198 #include <sys/types.h>
20199 #include <sys/param.h>
20204 #if BYTE_ORDER != BIG_ENDIAN
20212 rm -f conftest.$ac_objext
20213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20214 (eval $ac_compile) 2>&5
20216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20217 (exit $ac_status); } &&
20218 { ac_try='test -s conftest.$ac_objext'
20219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20220 (eval $ac_try) 2>&5
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); }; }; then
20224 ac_cv_c_bigendian=yes
20226 echo "$as_me: failed program was:" >&5
20227 sed 's/^/| /' conftest.$ac_ext >&5
20229 ac_cv_c_bigendian=no
20231 rm -f conftest.$ac_objext conftest.$ac_ext
20233 echo "$as_me: failed program was:" >&5
20234 sed 's/^/| /' conftest.$ac_ext >&5
20236 # It does not; compile a test program.
20237 if test "$cross_compiling" = yes; then
20238 # try to guess the endianness by grepping values into an object file
20239 ac_cv_c_bigendian=unknown
20240 cat >conftest.$ac_ext <<_ACEOF
20241 #line $LINENO "configure"
20244 cat confdefs.h >>conftest.$ac_ext
20245 cat >>conftest.$ac_ext <<_ACEOF
20246 /* end confdefs.h. */
20247 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20248 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20249 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20250 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20251 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20252 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20256 _ascii (); _ebcdic ();
20261 rm -f conftest.$ac_objext
20262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20263 (eval $ac_compile) 2>&5
20265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20266 (exit $ac_status); } &&
20267 { ac_try='test -s conftest.$ac_objext'
20268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20269 (eval $ac_try) 2>&5
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); }; }; then
20273 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20274 ac_cv_c_bigendian=yes
20276 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20277 if test "$ac_cv_c_bigendian" = unknown; then
20278 ac_cv_c_bigendian=no
20280 # finding both strings is unlikely to happen, but who knows?
20281 ac_cv_c_bigendian=unknown
20285 echo "$as_me: failed program was:" >&5
20286 sed 's/^/| /' conftest.$ac_ext >&5
20289 rm -f conftest.$ac_objext conftest.$ac_ext
20291 cat >conftest.$ac_ext <<_ACEOF
20292 #line $LINENO "configure"
20295 cat confdefs.h >>conftest.$ac_ext
20296 cat >>conftest.$ac_ext <<_ACEOF
20297 /* end confdefs.h. */
20301 /* Are we little or big endian? From Harbison&Steele. */
20305 char c[sizeof (long)];
20308 exit (u.c[sizeof (long) - 1] == 1);
20311 rm -f conftest$ac_exeext
20312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20313 (eval $ac_link) 2>&5
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20318 (eval $ac_try) 2>&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); }; }; then
20322 ac_cv_c_bigendian=no
20324 echo "$as_me: program exited with status $ac_status" >&5
20325 echo "$as_me: failed program was:" >&5
20326 sed 's/^/| /' conftest.$ac_ext >&5
20328 ( exit $ac_status )
20329 ac_cv_c_bigendian=yes
20331 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20334 rm -f conftest.$ac_objext conftest.$ac_ext
20336 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20337 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20338 case $ac_cv_c_bigendian in
20341 cat >>confdefs.h <<\_ACEOF
20347 cat >>confdefs.h <<\_ACEOF
20348 #define ENDIAN_LITTLE
20352 { { echo "$as_me:$LINENO: error: unknown endianness
20353 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20354 echo "$as_me: error: unknown endianness
20355 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20356 { (exit 1); exit 1; }; } ;;
20360 echo "$as_me:$LINENO: checking for pid_t" >&5
20361 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20362 if test "${ac_cv_type_pid_t+set}" = set; then
20363 echo $ECHO_N "(cached) $ECHO_C" >&6
20365 cat >conftest.$ac_ext <<_ACEOF
20366 #line $LINENO "configure"
20369 cat confdefs.h >>conftest.$ac_ext
20370 cat >>conftest.$ac_ext <<_ACEOF
20371 /* end confdefs.h. */
20372 $ac_includes_default
20378 if (sizeof (pid_t))
20384 rm -f conftest.$ac_objext
20385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20386 (eval $ac_compile) 2>&5
20388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389 (exit $ac_status); } &&
20390 { ac_try='test -s conftest.$ac_objext'
20391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20392 (eval $ac_try) 2>&5
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); }; }; then
20396 ac_cv_type_pid_t=yes
20398 echo "$as_me: failed program was:" >&5
20399 sed 's/^/| /' conftest.$ac_ext >&5
20401 ac_cv_type_pid_t=no
20403 rm -f conftest.$ac_objext conftest.$ac_ext
20405 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20406 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20407 if test $ac_cv_type_pid_t = yes; then
20411 cat >>confdefs.h <<_ACEOF
20417 echo "$as_me:$LINENO: checking for size_t" >&5
20418 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20419 if test "${ac_cv_type_size_t+set}" = set; then
20420 echo $ECHO_N "(cached) $ECHO_C" >&6
20422 cat >conftest.$ac_ext <<_ACEOF
20423 #line $LINENO "configure"
20426 cat confdefs.h >>conftest.$ac_ext
20427 cat >>conftest.$ac_ext <<_ACEOF
20428 /* end confdefs.h. */
20429 $ac_includes_default
20435 if (sizeof (size_t))
20441 rm -f conftest.$ac_objext
20442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20443 (eval $ac_compile) 2>&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } &&
20447 { ac_try='test -s conftest.$ac_objext'
20448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20449 (eval $ac_try) 2>&5
20451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452 (exit $ac_status); }; }; then
20453 ac_cv_type_size_t=yes
20455 echo "$as_me: failed program was:" >&5
20456 sed 's/^/| /' conftest.$ac_ext >&5
20458 ac_cv_type_size_t=no
20460 rm -f conftest.$ac_objext conftest.$ac_ext
20462 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20463 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20464 if test $ac_cv_type_size_t = yes; then
20468 cat >>confdefs.h <<_ACEOF
20469 #define size_t unsigned
20474 echo "$as_me:$LINENO: checking for int64_t" >&5
20475 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20476 if test "${ac_cv_type_int64_t+set}" = set; then
20477 echo $ECHO_N "(cached) $ECHO_C" >&6
20479 cat >conftest.$ac_ext <<_ACEOF
20480 #line $LINENO "configure"
20483 cat confdefs.h >>conftest.$ac_ext
20484 cat >>conftest.$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20486 $ac_includes_default
20492 if (sizeof (int64_t))
20498 rm -f conftest.$ac_objext
20499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20500 (eval $ac_compile) 2>&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } &&
20504 { ac_try='test -s conftest.$ac_objext'
20505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20506 (eval $ac_try) 2>&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); }; }; then
20510 ac_cv_type_int64_t=yes
20512 echo "$as_me: failed program was:" >&5
20513 sed 's/^/| /' conftest.$ac_ext >&5
20515 ac_cv_type_int64_t=no
20517 rm -f conftest.$ac_objext conftest.$ac_ext
20519 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20520 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20521 if test $ac_cv_type_int64_t = yes; then
20523 cat >>confdefs.h <<_ACEOF
20524 #define HAVE_INT64_T 1
20529 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20530 echo "$as_me: error: Type int64_t required but not found" >&2;}
20531 { (exit 1); exit 1; }; }
20534 echo "$as_me:$LINENO: checking for uint64_t" >&5
20535 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20536 if test "${ac_cv_type_uint64_t+set}" = set; then
20537 echo $ECHO_N "(cached) $ECHO_C" >&6
20539 cat >conftest.$ac_ext <<_ACEOF
20540 #line $LINENO "configure"
20543 cat confdefs.h >>conftest.$ac_ext
20544 cat >>conftest.$ac_ext <<_ACEOF
20545 /* end confdefs.h. */
20546 $ac_includes_default
20550 if ((uint64_t *) 0)
20552 if (sizeof (uint64_t))
20558 rm -f conftest.$ac_objext
20559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20560 (eval $ac_compile) 2>&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); } &&
20564 { ac_try='test -s conftest.$ac_objext'
20565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20566 (eval $ac_try) 2>&5
20568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20569 (exit $ac_status); }; }; then
20570 ac_cv_type_uint64_t=yes
20572 echo "$as_me: failed program was:" >&5
20573 sed 's/^/| /' conftest.$ac_ext >&5
20575 ac_cv_type_uint64_t=no
20577 rm -f conftest.$ac_objext conftest.$ac_ext
20579 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20580 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20581 if test $ac_cv_type_uint64_t = yes; then
20583 cat >>confdefs.h <<_ACEOF
20584 #define HAVE_UINT64_T 1
20589 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20590 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20591 { (exit 1); exit 1; }; }
20594 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20595 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20596 if test "${ac_cv_header_time+set}" = set; then
20597 echo $ECHO_N "(cached) $ECHO_C" >&6
20599 cat >conftest.$ac_ext <<_ACEOF
20600 #line $LINENO "configure"
20603 cat confdefs.h >>conftest.$ac_ext
20604 cat >>conftest.$ac_ext <<_ACEOF
20605 /* end confdefs.h. */
20606 #include <sys/types.h>
20607 #include <sys/time.h>
20613 if ((struct tm *) 0)
20619 rm -f conftest.$ac_objext
20620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20621 (eval $ac_compile) 2>&5
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); } &&
20625 { ac_try='test -s conftest.$ac_objext'
20626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20627 (eval $ac_try) 2>&5
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); }; }; then
20631 ac_cv_header_time=yes
20633 echo "$as_me: failed program was:" >&5
20634 sed 's/^/| /' conftest.$ac_ext >&5
20636 ac_cv_header_time=no
20638 rm -f conftest.$ac_objext conftest.$ac_ext
20640 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20641 echo "${ECHO_T}$ac_cv_header_time" >&6
20642 if test $ac_cv_header_time = yes; then
20644 cat >>confdefs.h <<\_ACEOF
20645 #define TIME_WITH_SYS_TIME 1
20650 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20651 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20652 if test "${ac_cv_struct_tm+set}" = set; then
20653 echo $ECHO_N "(cached) $ECHO_C" >&6
20655 cat >conftest.$ac_ext <<_ACEOF
20656 #line $LINENO "configure"
20659 cat confdefs.h >>conftest.$ac_ext
20660 cat >>conftest.$ac_ext <<_ACEOF
20661 /* end confdefs.h. */
20662 #include <sys/types.h>
20668 struct tm *tp; tp->tm_sec;
20673 rm -f conftest.$ac_objext
20674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20675 (eval $ac_compile) 2>&5
20677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678 (exit $ac_status); } &&
20679 { ac_try='test -s conftest.$ac_objext'
20680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20681 (eval $ac_try) 2>&5
20683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); }; }; then
20685 ac_cv_struct_tm=time.h
20687 echo "$as_me: failed program was:" >&5
20688 sed 's/^/| /' conftest.$ac_ext >&5
20690 ac_cv_struct_tm=sys/time.h
20692 rm -f conftest.$ac_objext conftest.$ac_ext
20694 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20695 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20696 if test $ac_cv_struct_tm = sys/time.h; then
20698 cat >>confdefs.h <<\_ACEOF
20699 #define TM_IN_SYS_TIME 1
20705 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20706 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20707 if test "${ac_cv_cxx_namespaces+set}" = set; then
20708 echo $ECHO_N "(cached) $ECHO_C" >&6
20713 ac_cpp='$CXXCPP $CPPFLAGS'
20714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20718 cat >conftest.$ac_ext <<_ACEOF
20719 #line $LINENO "configure"
20722 cat confdefs.h >>conftest.$ac_ext
20723 cat >>conftest.$ac_ext <<_ACEOF
20724 /* end confdefs.h. */
20725 namespace Outer { namespace Inner { int i = 0; }}
20729 using namespace Outer::Inner; return i;
20734 rm -f conftest.$ac_objext
20735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20736 (eval $ac_compile) 2>&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } &&
20740 { ac_try='test -s conftest.$ac_objext'
20741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20742 (eval $ac_try) 2>&5
20744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745 (exit $ac_status); }; }; then
20746 ac_cv_cxx_namespaces=yes
20748 echo "$as_me: failed program was:" >&5
20749 sed 's/^/| /' conftest.$ac_ext >&5
20751 ac_cv_cxx_namespaces=no
20753 rm -f conftest.$ac_objext conftest.$ac_ext
20755 ac_cpp='$CPP $CPPFLAGS'
20756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20762 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20763 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20764 if test "$ac_cv_cxx_namespaces" = yes; then
20766 cat >>confdefs.h <<\_ACEOF
20767 #define HAVE_NAMESPACES
20772 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20773 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20774 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20775 echo $ECHO_N "(cached) $ECHO_C" >&6
20781 ac_cpp='$CXXCPP $CPPFLAGS'
20782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20786 cat >conftest.$ac_ext <<_ACEOF
20787 #line $LINENO "configure"
20790 cat confdefs.h >>conftest.$ac_ext
20791 cat >>conftest.$ac_ext <<_ACEOF
20792 /* end confdefs.h. */
20793 #include <ext/hash_map>
20794 #ifdef HAVE_NAMESPACES
20795 using namespace std;
20800 hash_map<int, int> t; return 0;
20805 rm -f conftest.$ac_objext
20806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20807 (eval $ac_compile) 2>&5
20809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20810 (exit $ac_status); } &&
20811 { ac_try='test -s conftest.$ac_objext'
20812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20813 (eval $ac_try) 2>&5
20815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20816 (exit $ac_status); }; }; then
20817 ac_cv_cxx_have_ext_hash_map=std
20819 echo "$as_me: failed program was:" >&5
20820 sed 's/^/| /' conftest.$ac_ext >&5
20822 ac_cv_cxx_have_ext_hash_map=no
20824 rm -f conftest.$ac_objext conftest.$ac_ext
20825 cat >conftest.$ac_ext <<_ACEOF
20826 #line $LINENO "configure"
20829 cat confdefs.h >>conftest.$ac_ext
20830 cat >>conftest.$ac_ext <<_ACEOF
20831 /* end confdefs.h. */
20832 #include <ext/hash_map>
20833 #ifdef HAVE_NAMESPACES
20834 using namespace __gnu_cxx;
20839 hash_map<int, int> t; return 0;
20844 rm -f conftest.$ac_objext
20845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20846 (eval $ac_compile) 2>&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); } &&
20850 { ac_try='test -s conftest.$ac_objext'
20851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20852 (eval $ac_try) 2>&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); }; }; then
20856 ac_cv_cxx_have_ext_hash_map=gnu
20858 echo "$as_me: failed program was:" >&5
20859 sed 's/^/| /' conftest.$ac_ext >&5
20861 ac_cv_cxx_have_ext_hash_map=no
20863 rm -f conftest.$ac_objext conftest.$ac_ext
20865 ac_cpp='$CPP $CPPFLAGS'
20866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20872 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20873 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20874 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20876 cat >>confdefs.h <<\_ACEOF
20877 #define HAVE_STD_EXT_HASH_MAP
20881 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20883 cat >>confdefs.h <<\_ACEOF
20884 #define HAVE_GNU_EXT_HASH_MAP
20889 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20890 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20891 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20892 echo $ECHO_N "(cached) $ECHO_C" >&6
20898 ac_cpp='$CXXCPP $CPPFLAGS'
20899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20903 cat >conftest.$ac_ext <<_ACEOF
20904 #line $LINENO "configure"
20907 cat confdefs.h >>conftest.$ac_ext
20908 cat >>conftest.$ac_ext <<_ACEOF
20909 /* end confdefs.h. */
20910 #include <ext/hash_set>
20911 #ifdef HAVE_NAMESPACES
20912 using namespace std;
20917 hash_set<int> t; return 0;
20922 rm -f conftest.$ac_objext
20923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20924 (eval $ac_compile) 2>&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); } &&
20928 { ac_try='test -s conftest.$ac_objext'
20929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20930 (eval $ac_try) 2>&5
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933 (exit $ac_status); }; }; then
20934 ac_cv_cxx_have_ext_hash_set=std
20936 echo "$as_me: failed program was:" >&5
20937 sed 's/^/| /' conftest.$ac_ext >&5
20939 ac_cv_cxx_have_ext_hash_set=no
20941 rm -f conftest.$ac_objext conftest.$ac_ext
20942 cat >conftest.$ac_ext <<_ACEOF
20943 #line $LINENO "configure"
20946 cat confdefs.h >>conftest.$ac_ext
20947 cat >>conftest.$ac_ext <<_ACEOF
20948 /* end confdefs.h. */
20949 #include <ext/hash_set>
20950 #ifdef HAVE_NAMESPACES
20951 using namespace __gnu_cxx;
20956 hash_set<int> t; return 0;
20961 rm -f conftest.$ac_objext
20962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20963 (eval $ac_compile) 2>&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); } &&
20967 { ac_try='test -s conftest.$ac_objext'
20968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20969 (eval $ac_try) 2>&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); }; }; then
20973 ac_cv_cxx_have_ext_hash_set=gnu
20975 echo "$as_me: failed program was:" >&5
20976 sed 's/^/| /' conftest.$ac_ext >&5
20978 ac_cv_cxx_have_ext_hash_set=no
20980 rm -f conftest.$ac_objext conftest.$ac_ext
20982 ac_cpp='$CPP $CPPFLAGS'
20983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20989 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
20990 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
20991 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
20993 cat >>confdefs.h <<\_ACEOF
20994 #define HAVE_STD_EXT_HASH_SET
20998 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
21000 cat >>confdefs.h <<\_ACEOF
21001 #define HAVE_GNU_EXT_HASH_SET
21006 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
21007 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
21008 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
21009 echo $ECHO_N "(cached) $ECHO_C" >&6
21015 ac_cpp='$CXXCPP $CPPFLAGS'
21016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21020 cat >conftest.$ac_ext <<_ACEOF
21021 #line $LINENO "configure"
21024 cat confdefs.h >>conftest.$ac_ext
21025 cat >>conftest.$ac_ext <<_ACEOF
21026 /* end confdefs.h. */
21027 #include <ext/slist>
21028 #ifdef HAVE_NAMESPACES
21029 using namespace std;
21034 slist<int> s; return 0;
21039 rm -f conftest.$ac_objext
21040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21041 (eval $ac_compile) 2>&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); } &&
21045 { ac_try='test -s conftest.$ac_objext'
21046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21047 (eval $ac_try) 2>&5
21049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050 (exit $ac_status); }; }; then
21051 ac_cv_cxx_have_ext_slist=std
21053 echo "$as_me: failed program was:" >&5
21054 sed 's/^/| /' conftest.$ac_ext >&5
21056 ac_cv_cxx_have_ext_slist=no
21058 rm -f conftest.$ac_objext conftest.$ac_ext
21059 cat >conftest.$ac_ext <<_ACEOF
21060 #line $LINENO "configure"
21063 cat confdefs.h >>conftest.$ac_ext
21064 cat >>conftest.$ac_ext <<_ACEOF
21065 /* end confdefs.h. */
21066 #include <ext/slist>
21067 #ifdef HAVE_NAMESPACES
21068 using namespace __gnu_cxx;
21073 slist<int> s; return 0;
21078 rm -f conftest.$ac_objext
21079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21080 (eval $ac_compile) 2>&5
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); } &&
21084 { ac_try='test -s conftest.$ac_objext'
21085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21086 (eval $ac_try) 2>&5
21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); }; }; then
21090 ac_cv_cxx_have_ext_slist=gnu
21092 echo "$as_me: failed program was:" >&5
21093 sed 's/^/| /' conftest.$ac_ext >&5
21095 ac_cv_cxx_have_ext_slist=no
21097 rm -f conftest.$ac_objext conftest.$ac_ext
21100 ac_cpp='$CPP $CPPFLAGS'
21101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21107 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21108 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21109 if test "$ac_cv_cxx_have_ext_slist" = std; then
21111 cat >>confdefs.h <<\_ACEOF
21112 #define HAVE_EXT_SLIST std
21116 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21118 cat >>confdefs.h <<\_ACEOF
21119 #define HAVE_EXT_SLIST gnu
21124 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21125 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21126 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21127 echo $ECHO_N "(cached) $ECHO_C" >&6
21133 ac_cpp='$CXXCPP $CPPFLAGS'
21134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21138 cat >conftest.$ac_ext <<_ACEOF
21139 #line $LINENO "configure"
21142 cat confdefs.h >>conftest.$ac_ext
21143 cat >>conftest.$ac_ext <<_ACEOF
21144 /* end confdefs.h. */
21145 #include <iterator>
21146 #ifdef HAVE_NAMESPACES
21147 using namespace std;
21152 iterator<int,int,int> t; return 0;
21157 rm -f conftest.$ac_objext
21158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21159 (eval $ac_compile) 2>&5
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); } &&
21163 { ac_try='test -s conftest.$ac_objext'
21164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21165 (eval $ac_try) 2>&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); }; }; then
21169 ac_cv_cxx_have_std_iterator=yes
21171 echo "$as_me: failed program was:" >&5
21172 sed 's/^/| /' conftest.$ac_ext >&5
21174 ac_cv_cxx_have_std_iterator=no
21176 rm -f conftest.$ac_objext conftest.$ac_ext
21178 ac_cpp='$CPP $CPPFLAGS'
21179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21185 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21186 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21187 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21189 cat >>confdefs.h <<\_ACEOF
21190 #define HAVE_STD_ITERATOR
21195 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21196 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21197 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21198 echo $ECHO_N "(cached) $ECHO_C" >&6
21204 ac_cpp='$CXXCPP $CPPFLAGS'
21205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21209 cat >conftest.$ac_ext <<_ACEOF
21210 #line $LINENO "configure"
21213 cat confdefs.h >>conftest.$ac_ext
21214 cat >>conftest.$ac_ext <<_ACEOF
21215 /* end confdefs.h. */
21216 #include <iterator>
21217 #ifdef HAVE_NAMESPACES
21218 using namespace std;
21223 bidirectional_iterator<int,int> t; return 0;
21228 rm -f conftest.$ac_objext
21229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21230 (eval $ac_compile) 2>&5
21232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 (exit $ac_status); } &&
21234 { ac_try='test -s conftest.$ac_objext'
21235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21236 (eval $ac_try) 2>&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); }; }; then
21240 ac_cv_cxx_have_bi_iterator=yes
21242 echo "$as_me: failed program was:" >&5
21243 sed 's/^/| /' conftest.$ac_ext >&5
21245 ac_cv_cxx_have_bi_iterator=no
21247 rm -f conftest.$ac_objext conftest.$ac_ext
21249 ac_cpp='$CPP $CPPFLAGS'
21250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21256 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21257 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21258 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21260 cat >>confdefs.h <<\_ACEOF
21261 #define HAVE_BI_ITERATOR
21266 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21267 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21268 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21269 echo $ECHO_N "(cached) $ECHO_C" >&6
21275 ac_cpp='$CXXCPP $CPPFLAGS'
21276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21280 cat >conftest.$ac_ext <<_ACEOF
21281 #line $LINENO "configure"
21284 cat confdefs.h >>conftest.$ac_ext
21285 cat >>conftest.$ac_ext <<_ACEOF
21286 /* end confdefs.h. */
21287 #include <iterator>
21288 #ifdef HAVE_NAMESPACES
21289 using namespace std;
21294 forward_iterator<int,int> t; return 0;
21299 rm -f conftest.$ac_objext
21300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21301 (eval $ac_compile) 2>&5
21303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21304 (exit $ac_status); } &&
21305 { ac_try='test -s conftest.$ac_objext'
21306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21307 (eval $ac_try) 2>&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); }; }; then
21311 ac_cv_cxx_have_fwd_iterator=yes
21313 echo "$as_me: failed program was:" >&5
21314 sed 's/^/| /' conftest.$ac_ext >&5
21316 ac_cv_cxx_have_fwd_iterator=no
21318 rm -f conftest.$ac_objext conftest.$ac_ext
21320 ac_cpp='$CPP $CPPFLAGS'
21321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21327 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21328 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21329 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21331 cat >>confdefs.h <<\_ACEOF
21332 #define HAVE_FWD_ITERATOR
21338 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21339 # for constant arguments. Useless!
21340 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21341 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21342 if test "${ac_cv_working_alloca_h+set}" = set; then
21343 echo $ECHO_N "(cached) $ECHO_C" >&6
21345 cat >conftest.$ac_ext <<_ACEOF
21346 #line $LINENO "configure"
21349 cat confdefs.h >>conftest.$ac_ext
21350 cat >>conftest.$ac_ext <<_ACEOF
21351 /* end confdefs.h. */
21352 #include <alloca.h>
21356 char *p = (char *) alloca (2 * sizeof (int));
21361 rm -f conftest.$ac_objext conftest$ac_exeext
21362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21363 (eval $ac_link) 2>&5
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); } &&
21367 { ac_try='test -s conftest$ac_exeext'
21368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21369 (eval $ac_try) 2>&5
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); }; }; then
21373 ac_cv_working_alloca_h=yes
21375 echo "$as_me: failed program was:" >&5
21376 sed 's/^/| /' conftest.$ac_ext >&5
21378 ac_cv_working_alloca_h=no
21380 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21382 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21383 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21384 if test $ac_cv_working_alloca_h = yes; then
21386 cat >>confdefs.h <<\_ACEOF
21387 #define HAVE_ALLOCA_H 1
21392 echo "$as_me:$LINENO: checking for alloca" >&5
21393 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21394 if test "${ac_cv_func_alloca_works+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. */
21405 # define alloca __builtin_alloca
21408 # include <malloc.h>
21409 # define alloca _alloca
21412 # include <alloca.h>
21417 # ifndef alloca /* predefined by HP cc +Olibcalls */
21428 char *p = (char *) alloca (1);
21433 rm -f conftest.$ac_objext conftest$ac_exeext
21434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21435 (eval $ac_link) 2>&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); } &&
21439 { ac_try='test -s conftest$ac_exeext'
21440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441 (eval $ac_try) 2>&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); }; }; then
21445 ac_cv_func_alloca_works=yes
21447 echo "$as_me: failed program was:" >&5
21448 sed 's/^/| /' conftest.$ac_ext >&5
21450 ac_cv_func_alloca_works=no
21452 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21454 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21455 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21457 if test $ac_cv_func_alloca_works = yes; then
21459 cat >>confdefs.h <<\_ACEOF
21460 #define HAVE_ALLOCA 1
21464 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21465 # that cause trouble. Some versions do not even contain alloca or
21466 # contain a buggy version. If you still want to use their alloca,
21467 # use ar to extract alloca.o from them instead of compiling alloca.c.
21469 ALLOCA=alloca.$ac_objext
21471 cat >>confdefs.h <<\_ACEOF
21476 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21477 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21478 if test "${ac_cv_os_cray+set}" = set; then
21479 echo $ECHO_N "(cached) $ECHO_C" >&6
21481 cat >conftest.$ac_ext <<_ACEOF
21482 #line $LINENO "configure"
21485 cat confdefs.h >>conftest.$ac_ext
21486 cat >>conftest.$ac_ext <<_ACEOF
21487 /* end confdefs.h. */
21488 #if defined(CRAY) && ! defined(CRAY2)
21495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21496 $EGREP "webecray" >/dev/null 2>&1; then
21504 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21505 echo "${ECHO_T}$ac_cv_os_cray" >&6
21506 if test $ac_cv_os_cray = yes; then
21507 for ac_func in _getb67 GETB67 getb67; do
21508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21509 echo "$as_me:$LINENO: checking for $ac_func" >&5
21510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21511 if eval "test \"\${$as_ac_var+set}\" = set"; then
21512 echo $ECHO_N "(cached) $ECHO_C" >&6
21514 cat >conftest.$ac_ext <<_ACEOF
21515 #line $LINENO "configure"
21518 cat confdefs.h >>conftest.$ac_ext
21519 cat >>conftest.$ac_ext <<_ACEOF
21520 /* end confdefs.h. */
21521 /* System header to define __stub macros and hopefully few prototypes,
21522 which can conflict with char $ac_func (); below.
21523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21524 <limits.h> exists even on freestanding compilers. */
21526 # include <limits.h>
21528 # include <assert.h>
21530 /* Override any gcc2 internal prototype to avoid an error. */
21535 /* We use char because int might match the return type of a gcc2
21536 builtin and then its argument prototype would still apply. */
21538 /* The GNU C library defines this for functions which it implements
21539 to always fail with ENOSYS. Some functions are actually named
21540 something starting with __ and the normal name is an alias. */
21541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21544 char (*f) () = $ac_func;
21553 return f != $ac_func;
21558 rm -f conftest.$ac_objext conftest$ac_exeext
21559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21560 (eval $ac_link) 2>&5
21562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563 (exit $ac_status); } &&
21564 { ac_try='test -s conftest$ac_exeext'
21565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21566 (eval $ac_try) 2>&5
21568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21569 (exit $ac_status); }; }; then
21570 eval "$as_ac_var=yes"
21572 echo "$as_me: failed program was:" >&5
21573 sed 's/^/| /' conftest.$ac_ext >&5
21575 eval "$as_ac_var=no"
21577 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21581 if test `eval echo '${'$as_ac_var'}'` = yes; then
21583 cat >>confdefs.h <<_ACEOF
21584 #define CRAY_STACKSEG_END $ac_func
21593 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21594 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21595 if test "${ac_cv_c_stack_direction+set}" = set; then
21596 echo $ECHO_N "(cached) $ECHO_C" >&6
21598 if test "$cross_compiling" = yes; then
21599 ac_cv_c_stack_direction=0
21601 cat >conftest.$ac_ext <<_ACEOF
21602 #line $LINENO "configure"
21605 cat confdefs.h >>conftest.$ac_ext
21606 cat >>conftest.$ac_ext <<_ACEOF
21607 /* end confdefs.h. */
21609 find_stack_direction ()
21611 static char *addr = 0;
21616 return find_stack_direction ();
21619 return (&dummy > addr) ? 1 : -1;
21625 exit (find_stack_direction () < 0);
21628 rm -f conftest$ac_exeext
21629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21630 (eval $ac_link) 2>&5
21632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21633 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21635 (eval $ac_try) 2>&5
21637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638 (exit $ac_status); }; }; then
21639 ac_cv_c_stack_direction=1
21641 echo "$as_me: program exited with status $ac_status" >&5
21642 echo "$as_me: failed program was:" >&5
21643 sed 's/^/| /' conftest.$ac_ext >&5
21645 ( exit $ac_status )
21646 ac_cv_c_stack_direction=-1
21648 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21651 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21652 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21654 cat >>confdefs.h <<_ACEOF
21655 #define STACK_DIRECTION $ac_cv_c_stack_direction
21661 if test $ac_cv_c_compiler_gnu = yes; then
21662 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21663 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21664 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21665 echo $ECHO_N "(cached) $ECHO_C" >&6
21667 ac_pattern="Autoconf.*'x'"
21668 cat >conftest.$ac_ext <<_ACEOF
21669 #line $LINENO "configure"
21672 cat confdefs.h >>conftest.$ac_ext
21673 cat >>conftest.$ac_ext <<_ACEOF
21674 /* end confdefs.h. */
21678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21679 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21680 ac_cv_prog_gcc_traditional=yes
21682 ac_cv_prog_gcc_traditional=no
21687 if test $ac_cv_prog_gcc_traditional = no; then
21688 cat >conftest.$ac_ext <<_ACEOF
21689 #line $LINENO "configure"
21692 cat confdefs.h >>conftest.$ac_ext
21693 cat >>conftest.$ac_ext <<_ACEOF
21694 /* end confdefs.h. */
21695 #include <termio.h>
21698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21699 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21700 ac_cv_prog_gcc_traditional=yes
21706 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21707 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21708 if test $ac_cv_prog_gcc_traditional = yes; then
21709 CC="$CC -traditional"
21713 echo "$as_me:$LINENO: checking for working memcmp" >&5
21714 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21715 if test "${ac_cv_func_memcmp_working+set}" = set; then
21716 echo $ECHO_N "(cached) $ECHO_C" >&6
21718 if test "$cross_compiling" = yes; then
21719 ac_cv_func_memcmp_working=no
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. */
21733 /* Some versions of memcmp are not 8-bit clean. */
21734 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21735 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21738 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21739 or more and with at least one buffer not starting on a 4-byte boundary.
21740 William Lewis provided this test program. */
21745 for (i = 0; i < 4; i++)
21749 strcpy (a, "--------01111111");
21750 strcpy (b, "--------10000000");
21751 if (memcmp (a, b, 16) >= 0)
21761 rm -f conftest$ac_exeext
21762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21763 (eval $ac_link) 2>&5
21765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21768 (eval $ac_try) 2>&5
21770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771 (exit $ac_status); }; }; then
21772 ac_cv_func_memcmp_working=yes
21774 echo "$as_me: program exited with status $ac_status" >&5
21775 echo "$as_me: failed program was:" >&5
21776 sed 's/^/| /' conftest.$ac_ext >&5
21778 ( exit $ac_status )
21779 ac_cv_func_memcmp_working=no
21781 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21784 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21785 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21786 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21790 for ac_header in stdlib.h unistd.h
21792 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21794 echo "$as_me:$LINENO: checking for $ac_header" >&5
21795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21797 echo $ECHO_N "(cached) $ECHO_C" >&6
21799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21802 # Is the header compilable?
21803 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21804 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21805 cat >conftest.$ac_ext <<_ACEOF
21806 #line $LINENO "configure"
21809 cat confdefs.h >>conftest.$ac_ext
21810 cat >>conftest.$ac_ext <<_ACEOF
21811 /* end confdefs.h. */
21812 $ac_includes_default
21813 #include <$ac_header>
21815 rm -f conftest.$ac_objext
21816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21817 (eval $ac_compile) 2>&5
21819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21820 (exit $ac_status); } &&
21821 { ac_try='test -s conftest.$ac_objext'
21822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21823 (eval $ac_try) 2>&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); }; }; then
21827 ac_header_compiler=yes
21829 echo "$as_me: failed program was:" >&5
21830 sed 's/^/| /' conftest.$ac_ext >&5
21832 ac_header_compiler=no
21834 rm -f conftest.$ac_objext conftest.$ac_ext
21835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21836 echo "${ECHO_T}$ac_header_compiler" >&6
21838 # Is the header present?
21839 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21840 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21841 cat >conftest.$ac_ext <<_ACEOF
21842 #line $LINENO "configure"
21845 cat confdefs.h >>conftest.$ac_ext
21846 cat >>conftest.$ac_ext <<_ACEOF
21847 /* end confdefs.h. */
21848 #include <$ac_header>
21850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21851 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21853 grep -v '^ *+' conftest.er1 >conftest.err
21855 cat conftest.err >&5
21856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857 (exit $ac_status); } >/dev/null; then
21858 if test -s conftest.err; then
21859 ac_cpp_err=$ac_c_preproc_warn_flag
21866 if test -z "$ac_cpp_err"; then
21867 ac_header_preproc=yes
21869 echo "$as_me: failed program was:" >&5
21870 sed 's/^/| /' conftest.$ac_ext >&5
21872 ac_header_preproc=no
21874 rm -f conftest.err conftest.$ac_ext
21875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21876 echo "${ECHO_T}$ac_header_preproc" >&6
21878 # So? What about this header?
21879 case $ac_header_compiler:$ac_header_preproc in
21881 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21882 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21883 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21884 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21887 ## ------------------------------------ ##
21888 ## Report this to bug-autoconf@gnu.org. ##
21889 ## ------------------------------------ ##
21892 sed "s/^/$as_me: WARNING: /" >&2
21895 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21896 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21897 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21898 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21899 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21900 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21903 ## ------------------------------------ ##
21904 ## Report this to bug-autoconf@gnu.org. ##
21905 ## ------------------------------------ ##
21908 sed "s/^/$as_me: WARNING: /" >&2
21911 echo "$as_me:$LINENO: checking for $ac_header" >&5
21912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21914 echo $ECHO_N "(cached) $ECHO_C" >&6
21916 eval "$as_ac_Header=$ac_header_preproc"
21918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21923 cat >>confdefs.h <<_ACEOF
21924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21932 for ac_func in getpagesize
21934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21935 echo "$as_me:$LINENO: checking for $ac_func" >&5
21936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21937 if eval "test \"\${$as_ac_var+set}\" = set"; then
21938 echo $ECHO_N "(cached) $ECHO_C" >&6
21940 cat >conftest.$ac_ext <<_ACEOF
21941 #line $LINENO "configure"
21944 cat confdefs.h >>conftest.$ac_ext
21945 cat >>conftest.$ac_ext <<_ACEOF
21946 /* end confdefs.h. */
21947 /* System header to define __stub macros and hopefully few prototypes,
21948 which can conflict with char $ac_func (); below.
21949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21950 <limits.h> exists even on freestanding compilers. */
21952 # include <limits.h>
21954 # include <assert.h>
21956 /* Override any gcc2 internal prototype to avoid an error. */
21961 /* We use char because int might match the return type of a gcc2
21962 builtin and then its argument prototype would still apply. */
21964 /* The GNU C library defines this for functions which it implements
21965 to always fail with ENOSYS. Some functions are actually named
21966 something starting with __ and the normal name is an alias. */
21967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21970 char (*f) () = $ac_func;
21979 return f != $ac_func;
21984 rm -f conftest.$ac_objext conftest$ac_exeext
21985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21986 (eval $ac_link) 2>&5
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); } &&
21990 { ac_try='test -s conftest$ac_exeext'
21991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21992 (eval $ac_try) 2>&5
21994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21995 (exit $ac_status); }; }; then
21996 eval "$as_ac_var=yes"
21998 echo "$as_me: failed program was:" >&5
21999 sed 's/^/| /' conftest.$ac_ext >&5
22001 eval "$as_ac_var=no"
22003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22007 if test `eval echo '${'$as_ac_var'}'` = yes; then
22008 cat >>confdefs.h <<_ACEOF
22009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22015 echo "$as_me:$LINENO: checking for working mmap" >&5
22016 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22017 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22018 echo $ECHO_N "(cached) $ECHO_C" >&6
22020 if test "$cross_compiling" = yes; then
22021 ac_cv_func_mmap_fixed_mapped=no
22023 cat >conftest.$ac_ext <<_ACEOF
22024 #line $LINENO "configure"
22027 cat confdefs.h >>conftest.$ac_ext
22028 cat >>conftest.$ac_ext <<_ACEOF
22029 /* end confdefs.h. */
22030 $ac_includes_default
22031 /* malloc might have been renamed as rpl_malloc. */
22034 /* Thanks to Mike Haertel and Jim Avera for this test.
22035 Here is a matrix of mmap possibilities:
22036 mmap private not fixed
22037 mmap private fixed at somewhere currently unmapped
22038 mmap private fixed at somewhere already mapped
22039 mmap shared not fixed
22040 mmap shared fixed at somewhere currently unmapped
22041 mmap shared fixed at somewhere already mapped
22042 For private mappings, we should verify that changes cannot be read()
22043 back from the file, nor mmap's back from the file at a different
22044 address. (There have been systems where private was not correctly
22045 implemented like the infamous i386 svr4.0, and systems where the
22046 VM page cache was not coherent with the file system buffer cache
22047 like early versions of FreeBSD and possibly contemporary NetBSD.)
22048 For shared mappings, we should conversely verify that changes get
22049 propagated back to all the places they're supposed to be.
22051 Grep wants private fixed already mapped.
22052 The main things grep needs to know about mmap are:
22053 * does it exist and is it safe to write into the mmap'd area
22054 * how to use it (BSD variants) */
22057 #include <sys/mman.h>
22059 #if !STDC_HEADERS && !HAVE_STDLIB_H
22063 /* This mess was copied from the GNU getpagesize.h. */
22064 #if !HAVE_GETPAGESIZE
22065 /* Assume that all systems that can run configure have sys/param.h. */
22066 # if !HAVE_SYS_PARAM_H
22067 # define HAVE_SYS_PARAM_H 1
22070 # ifdef _SC_PAGESIZE
22071 # define getpagesize() sysconf(_SC_PAGESIZE)
22072 # else /* no _SC_PAGESIZE */
22073 # if HAVE_SYS_PARAM_H
22074 # include <sys/param.h>
22075 # ifdef EXEC_PAGESIZE
22076 # define getpagesize() EXEC_PAGESIZE
22077 # else /* no EXEC_PAGESIZE */
22079 # define getpagesize() NBPG * CLSIZE
22082 # endif /* no CLSIZE */
22083 # else /* no NBPG */
22085 # define getpagesize() NBPC
22086 # else /* no NBPC */
22088 # define getpagesize() PAGESIZE
22089 # endif /* PAGESIZE */
22090 # endif /* no NBPC */
22091 # endif /* no NBPG */
22092 # endif /* no EXEC_PAGESIZE */
22093 # else /* no HAVE_SYS_PARAM_H */
22094 # define getpagesize() 8192 /* punt totally */
22095 # endif /* no HAVE_SYS_PARAM_H */
22096 # endif /* no _SC_PAGESIZE */
22098 #endif /* no HAVE_GETPAGESIZE */
22103 char *data, *data2, *data3;
22107 pagesize = getpagesize ();
22109 /* First, make a file with some known garbage in it. */
22110 data = (char *) malloc (pagesize);
22113 for (i = 0; i < pagesize; ++i)
22114 *(data + i) = rand ();
22116 fd = creat ("conftest.mmap", 0600);
22119 if (write (fd, data, pagesize) != pagesize)
22123 /* Next, try to mmap the file at a fixed address which already has
22124 something else allocated at it. If we can, also make sure that
22125 we see the same garbage. */
22126 fd = open ("conftest.mmap", O_RDWR);
22129 data2 = (char *) malloc (2 * pagesize);
22132 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22133 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22134 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22136 for (i = 0; i < pagesize; ++i)
22137 if (*(data + i) != *(data2 + i))
22140 /* Finally, make sure that changes to the mapped area do not
22141 percolate back to the file as seen by read(). (This is a bug on
22142 some variants of i386 svr4.0.) */
22143 for (i = 0; i < pagesize; ++i)
22144 *(data2 + i) = *(data2 + i) + 1;
22145 data3 = (char *) malloc (pagesize);
22148 if (read (fd, data3, pagesize) != pagesize)
22150 for (i = 0; i < pagesize; ++i)
22151 if (*(data + i) != *(data3 + i))
22157 rm -f conftest$ac_exeext
22158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22159 (eval $ac_link) 2>&5
22161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22162 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22164 (eval $ac_try) 2>&5
22166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167 (exit $ac_status); }; }; then
22168 ac_cv_func_mmap_fixed_mapped=yes
22170 echo "$as_me: program exited with status $ac_status" >&5
22171 echo "$as_me: failed program was:" >&5
22172 sed 's/^/| /' conftest.$ac_ext >&5
22174 ( exit $ac_status )
22175 ac_cv_func_mmap_fixed_mapped=no
22177 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22180 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22181 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22182 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22184 cat >>confdefs.h <<\_ACEOF
22185 #define HAVE_MMAP 1
22189 rm -f conftest.mmap
22191 echo "$as_me:$LINENO: checking for mmap of files" >&5
22192 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22193 if test "${ac_cv_func_mmap_file+set}" = set; then
22194 echo $ECHO_N "(cached) $ECHO_C" >&6
22199 ac_cpp='$CPP $CPPFLAGS'
22200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22204 if test "$cross_compiling" = yes; then
22205 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22206 See \`config.log' for more details." >&5
22207 echo "$as_me: error: cannot run test program while cross compiling
22208 See \`config.log' for more details." >&2;}
22209 { (exit 1); exit 1; }; }
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. */
22219 #ifdef HAVE_SYS_TYPES_H
22220 #include <sys/types.h>
22223 #ifdef HAVE_SYS_MMAN_H
22224 #include <sys/mman.h>
22227 #ifdef HAVE_FCNTL_H
22233 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != (int) MAP_FAILED);}
22235 rm -f conftest$ac_exeext
22236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22237 (eval $ac_link) 2>&5
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22242 (eval $ac_try) 2>&5
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); }; }; then
22246 ac_cv_func_mmap_file=yes
22248 echo "$as_me: program exited with status $ac_status" >&5
22249 echo "$as_me: failed program was:" >&5
22250 sed 's/^/| /' conftest.$ac_ext >&5
22252 ( exit $ac_status )
22253 ac_cv_func_mmap_file=no
22255 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22258 ac_cpp='$CPP $CPPFLAGS'
22259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22265 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22266 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22267 if test "$ac_cv_func_mmap_file" = yes; then
22269 cat >>confdefs.h <<\_ACEOF
22270 #define HAVE_MMAP_FILE
22277 if test ${ac_cv_func_mmap_file} = "no"
22279 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22280 echo "$as_me: error: mmap() of files required but not found" >&2;}
22281 { (exit 1); exit 1; }; }
22283 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22284 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22285 if test "${ac_cv_header_mmap_anon+set}" = set; then
22286 echo $ECHO_N "(cached) $ECHO_C" >&6
22291 ac_cpp='$CPP $CPPFLAGS'
22292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22296 cat >conftest.$ac_ext <<_ACEOF
22297 #line $LINENO "configure"
22300 cat confdefs.h >>conftest.$ac_ext
22301 cat >>conftest.$ac_ext <<_ACEOF
22302 /* end confdefs.h. */
22303 #include <sys/mman.h>
22304 #include <unistd.h>
22309 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22314 rm -f conftest.$ac_objext
22315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22316 (eval $ac_compile) 2>&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); } &&
22320 { ac_try='test -s conftest.$ac_objext'
22321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22322 (eval $ac_try) 2>&5
22324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22325 (exit $ac_status); }; }; then
22326 ac_cv_header_mmap_anon=yes
22328 echo "$as_me: failed program was:" >&5
22329 sed 's/^/| /' conftest.$ac_ext >&5
22331 ac_cv_header_mmap_anon=no
22333 rm -f conftest.$ac_objext conftest.$ac_ext
22335 ac_cpp='$CPP $CPPFLAGS'
22336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22342 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22343 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22344 if test "$ac_cv_header_mmap_anon" = yes; then
22346 cat >>confdefs.h <<\_ACEOF
22347 #define HAVE_MMAP_ANONYMOUS
22352 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22353 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22354 if test "${ac_cv_type_signal+set}" = set; then
22355 echo $ECHO_N "(cached) $ECHO_C" >&6
22357 cat >conftest.$ac_ext <<_ACEOF
22358 #line $LINENO "configure"
22361 cat confdefs.h >>conftest.$ac_ext
22362 cat >>conftest.$ac_ext <<_ACEOF
22363 /* end confdefs.h. */
22364 #include <sys/types.h>
22365 #include <signal.h>
22370 extern "C" void (*signal (int, void (*)(int)))(int);
22372 void (*signal ()) ();
22383 rm -f conftest.$ac_objext
22384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22385 (eval $ac_compile) 2>&5
22387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22388 (exit $ac_status); } &&
22389 { ac_try='test -s conftest.$ac_objext'
22390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22391 (eval $ac_try) 2>&5
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22394 (exit $ac_status); }; }; then
22395 ac_cv_type_signal=void
22397 echo "$as_me: failed program was:" >&5
22398 sed 's/^/| /' conftest.$ac_ext >&5
22400 ac_cv_type_signal=int
22402 rm -f conftest.$ac_objext conftest.$ac_ext
22404 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22405 echo "${ECHO_T}$ac_cv_type_signal" >&6
22407 cat >>confdefs.h <<_ACEOF
22408 #define RETSIGTYPE $ac_cv_type_signal
22424 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol strtoq strtoll strsignal
22426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22427 echo "$as_me:$LINENO: checking for $ac_func" >&5
22428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22429 if eval "test \"\${$as_ac_var+set}\" = set"; then
22430 echo $ECHO_N "(cached) $ECHO_C" >&6
22432 cat >conftest.$ac_ext <<_ACEOF
22433 #line $LINENO "configure"
22436 cat confdefs.h >>conftest.$ac_ext
22437 cat >>conftest.$ac_ext <<_ACEOF
22438 /* end confdefs.h. */
22439 /* System header to define __stub macros and hopefully few prototypes,
22440 which can conflict with char $ac_func (); below.
22441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22442 <limits.h> exists even on freestanding compilers. */
22444 # include <limits.h>
22446 # include <assert.h>
22448 /* Override any gcc2 internal prototype to avoid an error. */
22453 /* We use char because int might match the return type of a gcc2
22454 builtin and then its argument prototype would still apply. */
22456 /* The GNU C library defines this for functions which it implements
22457 to always fail with ENOSYS. Some functions are actually named
22458 something starting with __ and the normal name is an alias. */
22459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22462 char (*f) () = $ac_func;
22471 return f != $ac_func;
22476 rm -f conftest.$ac_objext conftest$ac_exeext
22477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22478 (eval $ac_link) 2>&5
22480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481 (exit $ac_status); } &&
22482 { ac_try='test -s conftest$ac_exeext'
22483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22484 (eval $ac_try) 2>&5
22486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22487 (exit $ac_status); }; }; then
22488 eval "$as_ac_var=yes"
22490 echo "$as_me: failed program was:" >&5
22491 sed 's/^/| /' conftest.$ac_ext >&5
22493 eval "$as_ac_var=no"
22495 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22499 if test `eval echo '${'$as_ac_var'}'` = yes; then
22500 cat >>confdefs.h <<_ACEOF
22501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22507 echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
22508 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6
22509 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
22510 echo $ECHO_N "(cached) $ECHO_C" >&6
22512 cat >conftest.$ac_ext <<_ACEOF
22513 #line $LINENO "configure"
22516 cat confdefs.h >>conftest.$ac_ext
22517 cat >>conftest.$ac_ext <<_ACEOF
22518 /* end confdefs.h. */
22521 #include <signal.h>
22527 #ifndef sys_siglist
22528 char *p = (char *) sys_siglist;
22535 rm -f conftest.$ac_objext
22536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22537 (eval $ac_compile) 2>&5
22539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 (exit $ac_status); } &&
22541 { ac_try='test -s conftest.$ac_objext'
22542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22543 (eval $ac_try) 2>&5
22545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22546 (exit $ac_status); }; }; then
22547 ac_cv_have_decl_sys_siglist=yes
22549 echo "$as_me: failed program was:" >&5
22550 sed 's/^/| /' conftest.$ac_ext >&5
22552 ac_cv_have_decl_sys_siglist=no
22554 rm -f conftest.$ac_objext conftest.$ac_ext
22556 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
22557 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6
22558 if test $ac_cv_have_decl_sys_siglist = yes; then
22560 cat >>confdefs.h <<_ACEOF
22561 #define HAVE_DECL_SYS_SIGLIST 1
22566 cat >>confdefs.h <<_ACEOF
22567 #define HAVE_DECL_SYS_SIGLIST 0
22576 echo "$as_me:$LINENO: checking for mmap" >&5
22577 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22578 if test "${ac_cv_func_mmap+set}" = set; then
22579 echo $ECHO_N "(cached) $ECHO_C" >&6
22581 cat >conftest.$ac_ext <<_ACEOF
22582 #line $LINENO "configure"
22585 cat confdefs.h >>conftest.$ac_ext
22586 cat >>conftest.$ac_ext <<_ACEOF
22587 /* end confdefs.h. */
22588 /* System header to define __stub macros and hopefully few prototypes,
22589 which can conflict with char mmap (); below.
22590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22591 <limits.h> exists even on freestanding compilers. */
22593 # include <limits.h>
22595 # include <assert.h>
22597 /* Override any gcc2 internal prototype to avoid an error. */
22602 /* We use char because int might match the return type of a gcc2
22603 builtin and then its argument prototype would still apply. */
22605 /* The GNU C library defines this for functions which it implements
22606 to always fail with ENOSYS. Some functions are actually named
22607 something starting with __ and the normal name is an alias. */
22608 #if defined (__stub_mmap) || defined (__stub___mmap)
22611 char (*f) () = mmap;
22625 rm -f conftest.$ac_objext conftest$ac_exeext
22626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22627 (eval $ac_link) 2>&5
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); } &&
22631 { ac_try='test -s conftest$ac_exeext'
22632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22633 (eval $ac_try) 2>&5
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); }; }; then
22637 ac_cv_func_mmap=yes
22639 echo "$as_me: failed program was:" >&5
22640 sed 's/^/| /' conftest.$ac_ext >&5
22644 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22646 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22647 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22648 if test $ac_cv_func_mmap = yes; then
22651 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22652 echo "$as_me: error: Function mmap() required but not found" >&2;}
22653 { (exit 1); exit 1; }; }
22656 echo "$as_me:$LINENO: checking for mprotect" >&5
22657 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22658 if test "${ac_cv_func_mprotect+set}" = set; then
22659 echo $ECHO_N "(cached) $ECHO_C" >&6
22661 cat >conftest.$ac_ext <<_ACEOF
22662 #line $LINENO "configure"
22665 cat confdefs.h >>conftest.$ac_ext
22666 cat >>conftest.$ac_ext <<_ACEOF
22667 /* end confdefs.h. */
22668 /* System header to define __stub macros and hopefully few prototypes,
22669 which can conflict with char mprotect (); below.
22670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22671 <limits.h> exists even on freestanding compilers. */
22673 # include <limits.h>
22675 # include <assert.h>
22677 /* Override any gcc2 internal prototype to avoid an error. */
22682 /* We use char because int might match the return type of a gcc2
22683 builtin and then its argument prototype would still apply. */
22685 /* The GNU C library defines this for functions which it implements
22686 to always fail with ENOSYS. Some functions are actually named
22687 something starting with __ and the normal name is an alias. */
22688 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22691 char (*f) () = mprotect;
22700 return f != mprotect;
22705 rm -f conftest.$ac_objext conftest$ac_exeext
22706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22707 (eval $ac_link) 2>&5
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); } &&
22711 { ac_try='test -s conftest$ac_exeext'
22712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22713 (eval $ac_try) 2>&5
22715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22716 (exit $ac_status); }; }; then
22717 ac_cv_func_mprotect=yes
22719 echo "$as_me: failed program was:" >&5
22720 sed 's/^/| /' conftest.$ac_ext >&5
22722 ac_cv_func_mprotect=no
22724 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22726 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22727 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22728 if test $ac_cv_func_mprotect = yes; then
22731 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22732 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22733 { (exit 1); exit 1; }; }
22738 # Check whether --enable-purify or --disable-purify was given.
22739 if test "${enable_purify+set}" = set; then
22740 enableval="$enable_purify"
22745 if test ${enableval} = "no"
22750 ENABLE_PURIFY=ENABLE_PURIFY=1
22754 # Check whether --enable-optimized or --disable-optimized was given.
22755 if test "${enable_optimized+set}" = set; then
22756 enableval="$enable_optimized"
22761 if test ${enableval} = "no"
22766 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22770 # Check whether --enable-spec2000 or --disable-spec2000 was given.
22771 if test "${enable_spec2000+set}" = set; then
22772 enableval="$enable_spec2000"
22777 if test ${enableval} = "no"
22779 if test -d /home/vadve/shared/benchmarks/speccpu2000/benchspec
22781 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22783 USE_SPEC=USE_SPEC=1
22791 if test ${enableval} = ""
22793 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22796 SPEC_ROOT=${enableval}
22799 USE_SPEC=USE_SPEC=1
22803 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22804 if test "${enable_precompiled_bytecode+set}" = set; then
22805 enableval="$enable_precompiled_bytecode"
22810 if test ${enableval} = "no"
22815 UPB=USE_PRECOMPILED_BYTECODE=1
22820 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22821 if test "${enable_llc_diffs+set}" = set; then
22822 enableval="$enable_llc_diffs"
22827 if test ${enableval} = "no"
22829 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22836 # Check whether --enable-jit or --disable-jit was given.
22837 if test "${enable_jit+set}" = set; then
22838 enableval="$enable_jit"
22844 if test ${enableval} = "no"
22851 JIT=TARGET_HAS_JIT=1
22855 JIT=TARGET_HAS_JIT=1
22867 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22868 if test "${with_llvmgccdir+set}" = set; then
22869 withval="$with_llvmgccdir"
22870 LLVMGCCDIR=$withval
22875 # Check whether --with-bcrepos or --without-bcrepos was given.
22876 if test "${with_bcrepos+set}" = set; then
22877 withval="$with_bcrepos"
22881 BCR=/home/vadve/lattner/LLVMPrograms
22886 # Check whether --with-papi or --without-papi was given.
22887 if test "${with_papi+set}" = set; then
22888 withval="$with_papi"
22892 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22897 # Check whether --with-purify or --without-purify was given.
22898 if test "${with_purify+set}" = set; then
22899 withval="$with_purify"
22905 ac_config_files="$ac_config_files Makefile.config"
22906 cat >confcache <<\_ACEOF
22907 # This file is a shell script that caches the results of configure
22908 # tests run on this system so they can be shared between configure
22909 # scripts and configure runs, see configure's option --config-cache.
22910 # It is not useful on other systems. If it contains results you don't
22911 # want to keep, you may remove or edit it.
22913 # config.status only pays attention to the cache file if you give it
22914 # the --recheck option to rerun configure.
22916 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22917 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22918 # following values.
22922 # The following way of writing the cache mishandles newlines in values,
22923 # but we know of no workaround that is simple, portable, and efficient.
22924 # So, don't put newlines in cache variables' values.
22925 # Ultrix sh set writes to stderr and can't be redirected directly,
22926 # and sets the high bit in the cache file unless we assign to the vars.
22929 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22931 # `set' does not quote correctly, so add quotes (double-quote
22932 # substitution turns \\\\ into \\, and sed turns \\ into \).
22935 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22938 # `set' quotes correctly as required by POSIX, so do not add quotes.
22940 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22947 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22949 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22951 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22952 if test -w $cache_file; then
22953 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22954 cat confcache >$cache_file
22956 echo "not updating unwritable cache $cache_file"
22961 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22962 # Let make expand exec_prefix.
22963 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22965 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22966 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22967 # trailing colons and then remove the whole line if VPATH becomes empty
22968 # (actually we leave an empty line to preserve line numbers).
22969 if test "x$srcdir" = x.; then
22970 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22971 s/:*\$(srcdir):*/:/;
22972 s/:*\${srcdir}:*/:/;
22974 s/^\([^=]*=[ ]*\):*/\1/;
22980 DEFS=-DHAVE_CONFIG_H
22984 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22985 # 1. Remove the extension, and $U if already installed.
22986 ac_i=`echo "$ac_i" |
22987 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22989 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22990 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22992 LIBOBJS=$ac_libobjs
22994 LTLIBOBJS=$ac_ltlibobjs
22998 : ${CONFIG_STATUS=./config.status}
22999 ac_clean_files_save=$ac_clean_files
23000 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23001 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23002 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23003 cat >$CONFIG_STATUS <<_ACEOF
23005 # Generated by $as_me.
23006 # Run this file to recreate the current configuration.
23007 # Compiler output produced by configure, useful for debugging
23008 # configure, is in config.log if it exists.
23011 ac_cs_recheck=false
23013 SHELL=\${CONFIG_SHELL-$SHELL}
23016 cat >>$CONFIG_STATUS <<\_ACEOF
23017 ## --------------------- ##
23018 ## M4sh Initialization. ##
23019 ## --------------------- ##
23021 # Be Bourne compatible
23022 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23025 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23026 # is contrary to our usage. Disable this feature.
23027 alias -g '${1+"$@"}'='"$@"'
23028 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23032 # Support unset when possible.
23033 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
23040 # Work around bugs in pre-3.0 UWIN ksh.
23041 $as_unset ENV MAIL MAILPATH
23048 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23049 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23050 LC_TELEPHONE LC_TIME
23052 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
23053 eval $as_var=C; export $as_var
23059 # Required to use basename.
23060 if expr a : '\(a\)' >/dev/null 2>&1; then
23066 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23067 as_basename=basename
23073 # Name of the executable.
23074 as_me=`$as_basename "$0" ||
23075 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23076 X"$0" : 'X\(//\)$' \| \
23077 X"$0" : 'X\(/\)$' \| \
23078 . : '\(.\)' 2>/dev/null ||
23080 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23081 /^X\/\(\/\/\)$/{ s//\1/; q; }
23082 /^X\/\(\/\).*/{ s//\1/; q; }
23086 # PATH needs CR, and LINENO needs CR and PATH.
23087 # Avoid depending upon Character Ranges.
23088 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23089 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23090 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23091 as_cr_digits='0123456789'
23092 as_cr_alnum=$as_cr_Letters$as_cr_digits
23094 # The user is always right.
23095 if test "${PATH_SEPARATOR+set}" != set; then
23096 echo "#! /bin/sh" >conf$$.sh
23097 echo "exit 0" >>conf$$.sh
23099 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23108 as_lineno_1=$LINENO
23109 as_lineno_2=$LINENO
23110 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23111 test "x$as_lineno_1" != "x$as_lineno_2" &&
23112 test "x$as_lineno_3" = "x$as_lineno_2" || {
23113 # Find who we are. Look in the path if we contain no path at all
23116 *[\\/]* ) as_myself=$0 ;;
23117 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23118 for as_dir in $PATH
23121 test -z "$as_dir" && as_dir=.
23122 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23127 # We did not find ourselves, most probably we were run as `sh COMMAND'
23128 # in which case we are not to be found in the path.
23129 if test "x$as_myself" = x; then
23132 if test ! -f "$as_myself"; then
23133 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23134 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23135 { (exit 1); exit 1; }; }
23137 case $CONFIG_SHELL in
23139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23140 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23143 test -z "$as_dir" && as_dir=.
23144 for as_base in sh bash ksh sh5; do
23147 if ("$as_dir/$as_base" -c '
23148 as_lineno_1=$LINENO
23149 as_lineno_2=$LINENO
23150 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23151 test "x$as_lineno_1" != "x$as_lineno_2" &&
23152 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23153 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23154 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23155 CONFIG_SHELL=$as_dir/$as_base
23156 export CONFIG_SHELL
23157 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23165 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23166 # uniformly replaced by the line number. The first 'sed' inserts a
23167 # line-number line before each line; the second 'sed' does the real
23168 # work. The second script uses 'N' to pair each line-number line
23169 # with the numbered line, and appends trailing '-' during
23170 # substitution so that $LINENO is not a special case at line end.
23171 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23172 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23173 sed '=' <$as_myself |
23178 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23181 s,^['$as_cr_digits']*\n,,
23182 ' >$as_me.lineno &&
23183 chmod +x $as_me.lineno ||
23184 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23185 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23186 { (exit 1); exit 1; }; }
23188 # Don't try to exec as it changes $[0], causing all sort of problems
23189 # (the dirname of $[0] is not the place where we might find the
23190 # original and so on. Autoconf is especially sensible to this).
23192 # Exit status is that of the last command.
23197 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23198 *c*,-n*) ECHO_N= ECHO_C='
23200 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23201 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23204 if expr a : '\(a\)' >/dev/null 2>&1; then
23210 rm -f conf$$ conf$$.exe conf$$.file
23212 if ln -s conf$$.file conf$$ 2>/dev/null; then
23213 # We could just check for DJGPP; but this test a) works b) is more generic
23214 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23215 if test -f conf$$.exe; then
23216 # Don't use ln at all; we don't have any links
23221 elif ln conf$$.file conf$$ 2>/dev/null; then
23226 rm -f conf$$ conf$$.exe conf$$.file
23228 if mkdir -p . 2>/dev/null; then
23234 as_executable_p="test -f"
23236 # Sed expression to map a string onto a valid CPP name.
23237 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23239 # Sed expression to map a string onto a valid variable name.
23240 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23244 # We need space, tab and new line, in precisely that order.
23254 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23255 # report actual input values of CONFIG_FILES etc. instead of their
23256 # values after options handling. Logging --version etc. is OK.
23260 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23261 ## Running $as_me. ##
23266 This file was extended by [LLVM] $as_me [1.0], which was
23267 generated by GNU Autoconf 2.57. Invocation command line was
23269 CONFIG_FILES = $CONFIG_FILES
23270 CONFIG_HEADERS = $CONFIG_HEADERS
23271 CONFIG_LINKS = $CONFIG_LINKS
23272 CONFIG_COMMANDS = $CONFIG_COMMANDS
23276 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23280 # Files that config.status was made for.
23281 if test -n "$ac_config_files"; then
23282 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23285 if test -n "$ac_config_headers"; then
23286 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23289 if test -n "$ac_config_links"; then
23290 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23293 if test -n "$ac_config_commands"; then
23294 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23297 cat >>$CONFIG_STATUS <<\_ACEOF
23300 \`$as_me' instantiates files from templates according to the
23301 current configuration.
23303 Usage: $0 [OPTIONS] [FILE]...
23305 -h, --help print this help, then exit
23306 -V, --version print version number, then exit
23307 -q, --quiet do not print progress messages
23308 -d, --debug don't remove temporary files
23309 --recheck update $as_me by reconfiguring in the same conditions
23310 --file=FILE[:TEMPLATE]
23311 instantiate the configuration file FILE
23312 --header=FILE[:TEMPLATE]
23313 instantiate the configuration header FILE
23315 Configuration files:
23318 Configuration headers:
23321 Configuration commands:
23324 Report bugs to <bug-autoconf@gnu.org>."
23327 cat >>$CONFIG_STATUS <<_ACEOF
23329 [LLVM] config.status [1.0]
23330 configured by $0, generated by GNU Autoconf 2.57,
23331 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23333 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23334 Free Software Foundation, Inc.
23335 This config.status script is free software; the Free Software Foundation
23336 gives unlimited permission to copy, distribute and modify it."
23341 cat >>$CONFIG_STATUS <<\_ACEOF
23342 # If no file are specified by the user, then we need to provide default
23343 # value. By we need to know if files were specified by the user.
23349 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23350 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23358 *) # This is not an option, so the user has probably given explicit
23361 ac_need_defaults=false;;
23365 # Handling of the options.
23367 cat >>$CONFIG_STATUS <<\_ACEOF
23368 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23370 --version | --vers* | -V )
23371 echo "$ac_cs_version"; exit 0 ;;
23373 # Conflict between --help and --header
23374 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23375 Try \`$0 --help' for more information." >&5
23376 echo "$as_me: error: ambiguous option: $1
23377 Try \`$0 --help' for more information." >&2;}
23378 { (exit 1); exit 1; }; };;
23379 --help | --hel | -h )
23380 echo "$ac_cs_usage"; exit 0 ;;
23381 --debug | --d* | -d )
23383 --file | --fil | --fi | --f )
23385 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23386 ac_need_defaults=false;;
23387 --header | --heade | --head | --hea )
23389 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23390 ac_need_defaults=false;;
23391 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23392 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23395 # This is an error.
23396 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23397 Try \`$0 --help' for more information." >&5
23398 echo "$as_me: error: unrecognized option: $1
23399 Try \`$0 --help' for more information." >&2;}
23400 { (exit 1); exit 1; }; } ;;
23402 *) ac_config_targets="$ac_config_targets $1" ;;
23408 ac_configure_extra_args=
23410 if $ac_cs_silent; then
23412 ac_configure_extra_args="$ac_configure_extra_args --silent"
23416 cat >>$CONFIG_STATUS <<_ACEOF
23417 if \$ac_cs_recheck; then
23418 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23419 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23424 cat >>$CONFIG_STATUS <<_ACEOF
23426 # INIT-COMMANDS section.
23429 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23453 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23454 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23455 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23456 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23457 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23458 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23459 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23460 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23461 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23462 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23463 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23464 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23465 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23466 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23467 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23468 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23469 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23470 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23471 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23472 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23473 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23474 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23475 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23476 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23477 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23478 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23479 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23480 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvm.py`
23481 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvmdb.py`
23482 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23483 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23484 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23485 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23486 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23487 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23488 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23489 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23490 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23491 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23492 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23493 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23494 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23495 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23496 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23497 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23498 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23499 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23500 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23501 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23502 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/177.mesa/Makefile`
23503 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23504 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23505 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23506 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23507 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23508 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23509 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23510 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23511 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23512 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23513 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/252.eon/Makefile`
23514 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile`
23515 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23516 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23517 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23518 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23519 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23520 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23521 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23522 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23523 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23524 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23525 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23526 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23527 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23528 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23529 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23530 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23531 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23532 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23533 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23534 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23535 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23536 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23537 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23538 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23539 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23540 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23541 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23542 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23543 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23544 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23545 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23546 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23547 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23548 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23549 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23550 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23551 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23552 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23553 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23554 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23555 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23556 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23557 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23558 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23559 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23560 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23561 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23562 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23563 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23564 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23565 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23566 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23567 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23568 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23569 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23570 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile`
23571 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile`
23572 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile`
23573 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/EH/Makefile`
23574 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23575 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23576 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23577 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23578 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23579 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23580 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23581 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23582 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23583 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23584 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23585 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23586 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23587 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23588 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23589 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23590 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23591 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23592 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23593 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23594 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23595 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23596 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23597 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23598 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23599 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23600 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23601 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23602 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23603 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23609 cat >>$CONFIG_STATUS <<\_ACEOF
23610 for ac_config_target in $ac_config_targets
23612 case "$ac_config_target" in
23613 # Handling of arguments.
23614 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23615 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23616 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23617 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23618 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23619 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23620 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23621 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23622 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23623 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23624 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23625 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23626 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23627 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23628 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23629 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23630 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23631 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23632 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23633 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23634 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23635 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23636 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23637 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23638 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23639 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23640 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23641 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23642 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23643 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23644 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23645 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23646 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23647 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23648 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23649 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23650 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23651 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23652 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23653 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23654 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23655 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23656 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23657 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23658 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23659 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23660 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23661 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23662 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23663 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23664 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23665 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23666 "test/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvm.py" ;;
23667 "test/QMTest/llvmdb.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvmdb.py" ;;
23668 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23669 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23670 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23671 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23672 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23673 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23674 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23675 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23676 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23677 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23678 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23679 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23680 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23681 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23682 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23683 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23684 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23685 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23686 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23687 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23688 "test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ;;
23689 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23690 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23691 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23692 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23693 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23694 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23695 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23696 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23697 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23698 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23699 "test/Programs/External/SPEC/CINT2000/252.eon/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/252.eon/Makefile" ;;
23700 "test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile" ;;
23701 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23702 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23703 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23704 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23705 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23706 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23707 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23708 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23709 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23710 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23711 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23712 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23713 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23714 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23715 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23716 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23717 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23718 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23719 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23720 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23721 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23722 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23723 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23724 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23725 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23726 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23727 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23728 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23729 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23730 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23731 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23732 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23733 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23734 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23735 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23736 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23737 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23738 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23739 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23740 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23741 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23742 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23743 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23744 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23745 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23746 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23747 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23748 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23749 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23750 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23751 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23752 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23753 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23754 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23755 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23756 "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;;
23757 "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;;
23758 "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;;
23759 "test/Programs/SingleSource/Regression/C++/EH/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/EH/Makefile" ;;
23760 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23761 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23762 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23763 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23764 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23765 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23766 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23767 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23768 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23769 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23770 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23771 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23772 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
23773 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23774 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23775 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23776 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23777 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23778 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23779 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23780 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23781 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23782 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23783 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23784 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23785 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23786 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23787 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23788 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23789 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23790 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23791 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23792 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23793 { (exit 1); exit 1; }; };;
23797 # If the user did not use the arguments to specify the items to instantiate,
23798 # then the envvar interface is used. Set only those that are not.
23799 # We use the long form for the default assignment because of an extremely
23800 # bizarre bug on SunOS 4.1.3.
23801 if $ac_need_defaults; then
23802 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23803 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23804 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23807 # Have a temporary directory for convenience. Make it in the build tree
23808 # simply because there is no reason to put it here, and in addition,
23809 # creating and moving files from /tmp can sometimes cause problems.
23810 # Create a temporary directory, and hook for its removal unless debugging.
23813 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23814 trap '{ (exit 1); exit 1; }' 1 2 13 15
23817 # Create a (secure) tmp directory for tmp files.
23820 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23821 test -n "$tmp" && test -d "$tmp"
23824 tmp=./confstat$$-$RANDOM
23825 (umask 077 && mkdir $tmp)
23828 echo "$me: cannot create a temporary directory in ." >&2
23829 { (exit 1); exit 1; }
23834 cat >>$CONFIG_STATUS <<_ACEOF
23837 # CONFIG_FILES section.
23840 # No need to generate the scripts if there are no CONFIG_FILES.
23841 # This happens for instance when ./config.status config.h
23842 if test -n "\$CONFIG_FILES"; then
23843 # Protect against being on the right side of a sed subst in config.status.
23844 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23845 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23846 s,@SHELL@,$SHELL,;t t
23847 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23848 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23849 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23850 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23851 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23852 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23853 s,@exec_prefix@,$exec_prefix,;t t
23854 s,@prefix@,$prefix,;t t
23855 s,@program_transform_name@,$program_transform_name,;t t
23856 s,@bindir@,$bindir,;t t
23857 s,@sbindir@,$sbindir,;t t
23858 s,@libexecdir@,$libexecdir,;t t
23859 s,@datadir@,$datadir,;t t
23860 s,@sysconfdir@,$sysconfdir,;t t
23861 s,@sharedstatedir@,$sharedstatedir,;t t
23862 s,@localstatedir@,$localstatedir,;t t
23863 s,@libdir@,$libdir,;t t
23864 s,@includedir@,$includedir,;t t
23865 s,@oldincludedir@,$oldincludedir,;t t
23866 s,@infodir@,$infodir,;t t
23867 s,@mandir@,$mandir,;t t
23868 s,@build_alias@,$build_alias,;t t
23869 s,@host_alias@,$host_alias,;t t
23870 s,@target_alias@,$target_alias,;t t
23871 s,@DEFS@,$DEFS,;t t
23872 s,@ECHO_C@,$ECHO_C,;t t
23873 s,@ECHO_N@,$ECHO_N,;t t
23874 s,@ECHO_T@,$ECHO_T,;t t
23875 s,@LIBS@,$LIBS,;t t
23876 s,@subdirs@,$subdirs,;t t
23877 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23878 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23879 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23880 s,@build@,$build,;t t
23881 s,@build_cpu@,$build_cpu,;t t
23882 s,@build_vendor@,$build_vendor,;t t
23883 s,@build_os@,$build_os,;t t
23884 s,@host@,$host,;t t
23885 s,@host_cpu@,$host_cpu,;t t
23886 s,@host_vendor@,$host_vendor,;t t
23887 s,@host_os@,$host_os,;t t
23888 s,@target@,$target,;t t
23889 s,@target_cpu@,$target_cpu,;t t
23890 s,@target_vendor@,$target_vendor,;t t
23891 s,@target_os@,$target_os,;t t
23893 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23894 s,@ARCH@,$ARCH,;t t
23896 s,@CXXFLAGS@,$CXXFLAGS,;t t
23897 s,@LDFLAGS@,$LDFLAGS,;t t
23898 s,@CPPFLAGS@,$CPPFLAGS,;t t
23899 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23900 s,@EXEEXT@,$EXEEXT,;t t
23901 s,@OBJEXT@,$OBJEXT,;t t
23903 s,@CFLAGS@,$CFLAGS,;t t
23904 s,@ac_ct_CC@,$ac_ct_CC,;t t
23906 s,@ifGNUmake@,$ifGNUmake,;t t
23908 s,@LEXLIB@,$LEXLIB,;t t
23909 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23910 s,@YACC@,$YACC,;t t
23911 s,@EGREP@,$EGREP,;t t
23912 s,@LN_S@,$LN_S,;t t
23913 s,@ECHO@,$ECHO,;t t
23915 s,@ac_ct_AR@,$ac_ct_AR,;t t
23916 s,@RANLIB@,$RANLIB,;t t
23917 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23918 s,@STRIP@,$STRIP,;t t
23919 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23920 s,@CXXCPP@,$CXXCPP,;t t
23922 s,@FFLAGS@,$FFLAGS,;t t
23923 s,@ac_ct_F77@,$ac_ct_F77,;t t
23924 s,@LIBTOOL@,$LIBTOOL,;t t
23925 s,@RPWD@,$RPWD,;t t
23928 s,@MKDIR@,$MKDIR,;t t
23929 s,@DATE@,$DATE,;t t
23932 s,@ETAGS@,$ETAGS,;t t
23933 s,@PYTHON@,$PYTHON,;t t
23934 s,@QMTEST@,$QMTEST,;t t
23935 s,@ALLOCA@,$ALLOCA,;t t
23936 s,@LIBOBJS@,$LIBOBJS,;t t
23937 s,@MMAP_FILE@,$MMAP_FILE,;t t
23938 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23939 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23940 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23941 s,@USE_SPEC@,$USE_SPEC,;t t
23943 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23946 s,@PAPIDIR@,$PAPIDIR,;t t
23947 s,@PURIFY@,$PURIFY,;t t
23948 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23953 cat >>$CONFIG_STATUS <<\_ACEOF
23954 # Split the substitutions into bite-sized pieces for seds with
23955 # small command number limits, like on Digital OSF/1 and HP-UX.
23956 ac_max_sed_lines=48
23957 ac_sed_frag=1 # Number of current file.
23958 ac_beg=1 # First line for current file.
23959 ac_end=$ac_max_sed_lines # Line after last line for current file.
23962 while $ac_more_lines; do
23963 if test $ac_beg -gt 1; then
23964 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23966 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23968 if test ! -s $tmp/subs.frag; then
23969 ac_more_lines=false
23971 # The purpose of the label and of the branching condition is to
23972 # speed up the sed processing (if there are no `@' at all, there
23973 # is no need to browse any of the substitutions).
23974 # These are the two extra sed commands mentioned above.
23976 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23977 if test -z "$ac_sed_cmds"; then
23978 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23980 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23982 ac_sed_frag=`expr $ac_sed_frag + 1`
23984 ac_end=`expr $ac_end + $ac_max_sed_lines`
23987 if test -z "$ac_sed_cmds"; then
23990 fi # test -n "$CONFIG_FILES"
23993 cat >>$CONFIG_STATUS <<\_ACEOF
23994 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23995 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23997 - | *:- | *:-:* ) # input from stdin
23999 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24000 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24001 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24002 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24003 * ) ac_file_in=$ac_file.in ;;
24006 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24007 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24008 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24009 X"$ac_file" : 'X\(//\)[^/]' \| \
24010 X"$ac_file" : 'X\(//\)$' \| \
24011 X"$ac_file" : 'X\(/\)' \| \
24012 . : '\(.\)' 2>/dev/null ||
24014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24015 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24016 /^X\(\/\/\)$/{ s//\1/; q; }
24017 /^X\(\/\).*/{ s//\1/; q; }
24019 { if $as_mkdir_p; then
24024 while test ! -d "$as_dir"; do
24025 as_dirs="$as_dir $as_dirs"
24026 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24027 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24028 X"$as_dir" : 'X\(//\)[^/]' \| \
24029 X"$as_dir" : 'X\(//\)$' \| \
24030 X"$as_dir" : 'X\(/\)' \| \
24031 . : '\(.\)' 2>/dev/null ||
24033 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24034 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24035 /^X\(\/\/\)$/{ s//\1/; q; }
24036 /^X\(\/\).*/{ s//\1/; q; }
24039 test ! -n "$as_dirs" || mkdir $as_dirs
24040 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24041 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24042 { (exit 1); exit 1; }; }; }
24046 if test "$ac_dir" != .; then
24047 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24048 # A "../" for each directory in $ac_dir_suffix.
24049 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24051 ac_dir_suffix= ac_top_builddir=
24055 .) # No --srcdir option. We are building in place.
24057 if test -z "$ac_top_builddir"; then
24060 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24062 [\\/]* | ?:[\\/]* ) # Absolute path.
24063 ac_srcdir=$srcdir$ac_dir_suffix;
24064 ac_top_srcdir=$srcdir ;;
24065 *) # Relative path.
24066 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24067 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24069 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24071 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24072 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24073 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24074 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24078 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24079 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24082 if test x"$ac_file" != x-; then
24083 { echo "$as_me:$LINENO: creating $ac_file" >&5
24084 echo "$as_me: creating $ac_file" >&6;}
24087 # Let's still pretend it is `configure' which instantiates (i.e., don't
24088 # use $as_me), people would be surprised to read:
24089 # /* config.h. Generated by config.status. */
24090 if test x"$ac_file" = x-; then
24093 configure_input="$ac_file. "
24095 configure_input=$configure_input"Generated from `echo $ac_file_in |
24096 sed 's,.*/,,'` by configure."
24098 # First look for the input files in the build tree, otherwise in the
24100 ac_file_inputs=`IFS=:
24101 for f in $ac_file_in; do
24103 -) echo $tmp/stdin ;;
24105 # Absolute (can't be DOS-style, as IFS=:)
24106 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24107 echo "$as_me: error: cannot find input file: $f" >&2;}
24108 { (exit 1); exit 1; }; }
24111 if test -f "$f"; then
24114 elif test -f "$srcdir/$f"; then
24119 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24120 echo "$as_me: error: cannot find input file: $f" >&2;}
24121 { (exit 1); exit 1; }; }
24124 done` || { (exit 1); exit 1; }
24126 cat >>$CONFIG_STATUS <<_ACEOF
24130 cat >>$CONFIG_STATUS <<\_ACEOF
24132 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24133 s,@configure_input@,$configure_input,;t t
24134 s,@srcdir@,$ac_srcdir,;t t
24135 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24136 s,@top_srcdir@,$ac_top_srcdir,;t t
24137 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24138 s,@builddir@,$ac_builddir,;t t
24139 s,@abs_builddir@,$ac_abs_builddir,;t t
24140 s,@top_builddir@,$ac_top_builddir,;t t
24141 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24142 s,@INSTALL@,$ac_INSTALL,;t t
24143 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24145 if test x"$ac_file" != x-; then
24146 mv $tmp/out $ac_file
24154 cat >>$CONFIG_STATUS <<\_ACEOF
24157 # CONFIG_HEADER section.
24160 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24161 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24163 # ac_d sets the value in "#define NAME VALUE" lines.
24164 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24165 ac_dB='[ ].*$,\1#\2'
24168 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24169 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24170 ac_uB='$,\1#\2define\3'
24174 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24175 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24177 - | *:- | *:-:* ) # input from stdin
24179 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24180 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24181 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24182 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24183 * ) ac_file_in=$ac_file.in ;;
24186 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24187 echo "$as_me: creating $ac_file" >&6;}
24189 # First look for the input files in the build tree, otherwise in the
24191 ac_file_inputs=`IFS=:
24192 for f in $ac_file_in; do
24194 -) echo $tmp/stdin ;;
24196 # Absolute (can't be DOS-style, as IFS=:)
24197 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24198 echo "$as_me: error: cannot find input file: $f" >&2;}
24199 { (exit 1); exit 1; }; }
24202 if test -f "$f"; then
24205 elif test -f "$srcdir/$f"; then
24210 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24211 echo "$as_me: error: cannot find input file: $f" >&2;}
24212 { (exit 1); exit 1; }; }
24215 done` || { (exit 1); exit 1; }
24216 # Remove the trailing spaces.
24217 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24221 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24222 # `conftest.undefs', that substitutes the proper values into
24223 # config.h.in to produce config.h. The first handles `#define'
24224 # templates, and the second `#undef' templates.
24225 # And first: Protect against being on the right side of a sed subst in
24226 # config.status. Protect against being in an unquoted here document
24227 # in config.status.
24228 rm -f conftest.defines conftest.undefs
24229 # Using a here document instead of a string reduces the quoting nightmare.
24230 # Putting comments in sed scripts is not portable.
24232 # `end' is used to avoid that the second main sed command (meant for
24233 # 0-ary CPP macros) applies to n-ary macro definitions.
24234 # See the Autoconf documentation for `clear'.
24235 cat >confdef2sed.sed <<\_ACEOF
24240 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24242 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24245 # If some macros were called several times there might be several times
24246 # the same #defines, which is useless. Nevertheless, we may not want to
24247 # sort them, since we want the *last* AC-DEFINE to be honored.
24248 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24249 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24250 rm -f confdef2sed.sed
24252 # This sed command replaces #undef with comments. This is necessary, for
24253 # example, in the case of _POSIX_SOURCE, which is predefined and required
24254 # on some systems where configure will not decide to define it.
24255 cat >>conftest.undefs <<\_ACEOF
24256 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24259 # Break up conftest.defines because some shells have a limit on the size
24260 # of here documents, and old seds have small limits too (100 cmds).
24261 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24262 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24263 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24264 echo ' :' >>$CONFIG_STATUS
24265 rm -f conftest.tail
24266 while grep . conftest.defines >/dev/null
24268 # Write a limited-size here document to $tmp/defines.sed.
24269 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24270 # Speed up: don't consider the non `#define' lines.
24271 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24272 # Work around the forget-to-reset-the-flag bug.
24273 echo 't clr' >>$CONFIG_STATUS
24274 echo ': clr' >>$CONFIG_STATUS
24275 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24277 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24279 mv $tmp/out $tmp/in
24281 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24282 rm -f conftest.defines
24283 mv conftest.tail conftest.defines
24285 rm -f conftest.defines
24286 echo ' fi # grep' >>$CONFIG_STATUS
24287 echo >>$CONFIG_STATUS
24289 # Break up conftest.undefs because some shells have a limit on the size
24290 # of here documents, and old seds have small limits too (100 cmds).
24291 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24292 rm -f conftest.tail
24293 while grep . conftest.undefs >/dev/null
24295 # Write a limited-size here document to $tmp/undefs.sed.
24296 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24297 # Speed up: don't consider the non `#undef'
24298 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24299 # Work around the forget-to-reset-the-flag bug.
24300 echo 't clr' >>$CONFIG_STATUS
24301 echo ': clr' >>$CONFIG_STATUS
24302 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24304 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24306 mv $tmp/out $tmp/in
24308 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24309 rm -f conftest.undefs
24310 mv conftest.tail conftest.undefs
24312 rm -f conftest.undefs
24314 cat >>$CONFIG_STATUS <<\_ACEOF
24315 # Let's still pretend it is `configure' which instantiates (i.e., don't
24316 # use $as_me), people would be surprised to read:
24317 # /* config.h. Generated by config.status. */
24318 if test x"$ac_file" = x-; then
24319 echo "/* Generated by configure. */" >$tmp/config.h
24321 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24323 cat $tmp/in >>$tmp/config.h
24325 if test x"$ac_file" != x-; then
24326 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24327 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24328 echo "$as_me: $ac_file is unchanged" >&6;}
24330 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24331 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24332 X"$ac_file" : 'X\(//\)[^/]' \| \
24333 X"$ac_file" : 'X\(//\)$' \| \
24334 X"$ac_file" : 'X\(/\)' \| \
24335 . : '\(.\)' 2>/dev/null ||
24337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24338 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24339 /^X\(\/\/\)$/{ s//\1/; q; }
24340 /^X\(\/\).*/{ s//\1/; q; }
24342 { if $as_mkdir_p; then
24347 while test ! -d "$as_dir"; do
24348 as_dirs="$as_dir $as_dirs"
24349 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24350 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24351 X"$as_dir" : 'X\(//\)[^/]' \| \
24352 X"$as_dir" : 'X\(//\)$' \| \
24353 X"$as_dir" : 'X\(/\)' \| \
24354 . : '\(.\)' 2>/dev/null ||
24356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24357 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24358 /^X\(\/\/\)$/{ s//\1/; q; }
24359 /^X\(\/\).*/{ s//\1/; q; }
24362 test ! -n "$as_dirs" || mkdir $as_dirs
24363 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24364 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24365 { (exit 1); exit 1; }; }; }
24368 mv $tmp/config.h $ac_file
24372 rm -f $tmp/config.h
24376 cat >>$CONFIG_STATUS <<\_ACEOF
24379 # CONFIG_COMMANDS section.
24381 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24382 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24383 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24384 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24385 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24386 X"$ac_dest" : 'X\(//\)[^/]' \| \
24387 X"$ac_dest" : 'X\(//\)$' \| \
24388 X"$ac_dest" : 'X\(/\)' \| \
24389 . : '\(.\)' 2>/dev/null ||
24391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24392 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24393 /^X\(\/\/\)$/{ s//\1/; q; }
24394 /^X\(\/\).*/{ s//\1/; q; }
24398 if test "$ac_dir" != .; then
24399 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24400 # A "../" for each directory in $ac_dir_suffix.
24401 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24403 ac_dir_suffix= ac_top_builddir=
24407 .) # No --srcdir option. We are building in place.
24409 if test -z "$ac_top_builddir"; then
24412 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24414 [\\/]* | ?:[\\/]* ) # Absolute path.
24415 ac_srcdir=$srcdir$ac_dir_suffix;
24416 ac_top_srcdir=$srcdir ;;
24417 *) # Relative path.
24418 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24419 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24421 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24423 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24424 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24425 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24426 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24429 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24430 echo "$as_me: executing $ac_dest commands" >&6;}
24432 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24433 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24434 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24435 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24436 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24437 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24438 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24439 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24440 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24441 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24442 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24443 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24444 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24445 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24446 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24447 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24448 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24449 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24450 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24451 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24452 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24453 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24454 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24455 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24456 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24457 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24458 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24459 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24460 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24461 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24462 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24463 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24464 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24465 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24466 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24467 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24468 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24469 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24470 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24471 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24472 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24473 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24474 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24475 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24476 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24477 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24478 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24479 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24480 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24481 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24482 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24483 test/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvm.py test/QMTest/llvm.py ;;
24484 test/QMTest/llvmdb.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvmdb.py test/QMTest/llvmdb.py ;;
24485 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24486 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24487 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24488 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24489 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24490 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24491 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24492 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24493 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24494 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24495 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24496 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24497 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24498 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24499 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24500 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24501 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24502 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24503 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 ;;
24504 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 ;;
24505 test/Programs/External/SPEC/CFP2000/177.mesa/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CFP2000/177.mesa/Makefile test/Programs/External/SPEC/CFP2000/177.mesa/Makefile ;;
24506 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 ;;
24507 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 ;;
24508 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 ;;
24509 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 ;;
24510 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 ;;
24511 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 ;;
24512 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 ;;
24513 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 ;;
24514 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 ;;
24515 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 ;;
24516 test/Programs/External/SPEC/CINT2000/252.eon/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/252.eon/Makefile test/Programs/External/SPEC/CINT2000/252.eon/Makefile ;;
24517 test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile ;;
24518 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 ;;
24519 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 ;;
24520 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 ;;
24521 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 ;;
24522 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24523 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24524 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24525 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24526 test/Programs/MultiSource/Applications/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Burg/Makefile test/Programs/MultiSource/Applications/Burg/Makefile ;;
24527 test/Programs/MultiSource/Applications/aha/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/aha/Makefile test/Programs/MultiSource/Applications/aha/Makefile ;;
24528 test/Programs/MultiSource/Applications/sgefa/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/sgefa/Makefile test/Programs/MultiSource/Applications/sgefa/Makefile ;;
24529 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24530 test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile ;;
24531 test/Programs/MultiSource/Benchmarks/McCat/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/Makefile test/Programs/MultiSource/Benchmarks/McCat/Makefile ;;
24532 test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile ;;
24533 test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile ;;
24534 test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile ;;
24535 test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile ;;
24536 test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile ;;
24537 test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile ;;
24538 test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile ;;
24539 test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile ;;
24540 test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile ;;
24541 test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile ;;
24542 test/Programs/MultiSource/Benchmarks/Olden/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/Makefile test/Programs/MultiSource/Benchmarks/Olden/Makefile ;;
24543 test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile ;;
24544 test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile ;;
24545 test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile ;;
24546 test/Programs/MultiSource/Benchmarks/Olden/health/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/health/Makefile test/Programs/MultiSource/Benchmarks/Olden/health/Makefile ;;
24547 test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile ;;
24548 test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile ;;
24549 test/Programs/MultiSource/Benchmarks/Olden/power/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/power/Makefile test/Programs/MultiSource/Benchmarks/Olden/power/Makefile ;;
24550 test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile ;;
24551 test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile ;;
24552 test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile ;;
24553 test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile ;;
24554 test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile ;;
24555 test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile ;;
24556 test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile ;;
24557 test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile ;;
24558 test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile ;;
24559 test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile ;;
24560 test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile ;;
24561 test/Programs/MultiSource/Benchmarks/sim/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/sim/Makefile test/Programs/MultiSource/Benchmarks/sim/Makefile ;;
24562 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24563 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24564 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24565 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24566 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 ;;
24567 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 ;;
24568 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 ;;
24569 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 ;;
24570 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24571 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24572 test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile ;;
24573 test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;;
24574 test/Programs/SingleSource/Regression/C/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C/Makefile test/Programs/SingleSource/Regression/C/Makefile ;;
24575 test/Programs/SingleSource/Regression/C++/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C++/Makefile test/Programs/SingleSource/Regression/C++/Makefile ;;
24576 test/Programs/SingleSource/Regression/C++/EH/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C++/EH/Makefile test/Programs/SingleSource/Regression/C++/EH/Makefile ;;
24577 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24578 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24579 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24580 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24581 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24582 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24583 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24584 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24585 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24586 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24587 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24588 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24589 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
24590 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24591 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24592 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24593 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24594 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24595 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24596 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24597 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24598 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24599 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24600 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24601 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24602 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24603 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24604 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24605 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24606 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24611 cat >>$CONFIG_STATUS <<\_ACEOF
24613 { (exit 0); exit 0; }
24615 chmod +x $CONFIG_STATUS
24616 ac_clean_files=$ac_clean_files_save
24619 # configure is writing to config.log, and then calls config.status.
24620 # config.status does its own redirection, appending to config.log.
24621 # Unfortunately, on DOS this fails, as config.log is still kept open
24622 # by configure, so config.status won't be able to write to it; its
24623 # output is simply discarded. So we exec the FD to /dev/null,
24624 # effectively closing config.log, so it can be properly (re)opened and
24625 # appended to by config.status. When coming back to configure, we
24626 # need to make the FD available again.
24627 if test "$no_create" != yes; then
24629 ac_config_status_args=
24630 test "$silent" = yes &&
24631 ac_config_status_args="$ac_config_status_args --quiet"
24633 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24635 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24636 # would make configure fail if this is the last instruction.
24637 $ac_cs_success || { (exit 1); exit 1; }
24641 # CONFIG_SUBDIRS section.
24643 if test "$no_recursion" != yes; then
24645 # Remove --cache-file and --srcdir arguments so they do not pile up.
24646 ac_sub_configure_args=
24648 for ac_arg in $ac_configure_args; do
24649 if test -n "$ac_prev"; then
24654 -cache-file | --cache-file | --cache-fil | --cache-fi \
24655 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
24656 ac_prev=cache_file ;;
24657 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
24658 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
24661 --config-cache | -C)
24663 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
24665 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
24667 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
24669 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
24671 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
24675 # Always prepend --prefix to ensure using the same prefix
24676 # in subdir configurations.
24677 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
24680 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
24682 # Do not complain, so a configure script can configure whichever
24683 # parts of a large source tree are present.
24684 test -d $srcdir/$ac_dir || continue
24686 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
24687 echo "$as_me: configuring in $ac_dir" >&6;}
24688 { if $as_mkdir_p; then
24693 while test ! -d "$as_dir"; do
24694 as_dirs="$as_dir $as_dirs"
24695 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24696 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24697 X"$as_dir" : 'X\(//\)[^/]' \| \
24698 X"$as_dir" : 'X\(//\)$' \| \
24699 X"$as_dir" : 'X\(/\)' \| \
24700 . : '\(.\)' 2>/dev/null ||
24702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24703 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24704 /^X\(\/\/\)$/{ s//\1/; q; }
24705 /^X\(\/\).*/{ s//\1/; q; }
24708 test ! -n "$as_dirs" || mkdir $as_dirs
24709 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24710 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24711 { (exit 1); exit 1; }; }; }
24715 if test "$ac_dir" != .; then
24716 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24717 # A "../" for each directory in $ac_dir_suffix.
24718 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24720 ac_dir_suffix= ac_top_builddir=
24724 .) # No --srcdir option. We are building in place.
24726 if test -z "$ac_top_builddir"; then
24729 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24731 [\\/]* | ?:[\\/]* ) # Absolute path.
24732 ac_srcdir=$srcdir$ac_dir_suffix;
24733 ac_top_srcdir=$srcdir ;;
24734 *) # Relative path.
24735 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24736 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24738 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24740 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24741 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24742 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24743 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24748 # Check for guested configure; otherwise get Cygnus style configure.
24749 if test -f $ac_srcdir/configure.gnu; then
24750 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
24751 elif test -f $ac_srcdir/configure; then
24752 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
24753 elif test -f $ac_srcdir/configure.in; then
24754 ac_sub_configure=$ac_configure
24756 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
24757 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
24761 # The recursion is here.
24762 if test -n "$ac_sub_configure"; then
24763 # Make the cache file name correct relative to the subdirectory.
24764 case $cache_file in
24765 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
24766 *) # Relative path.
24767 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
24770 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
24771 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
24772 # The eval makes quoting arguments work.
24773 eval $ac_sub_configure $ac_sub_configure_args \
24774 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
24775 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
24776 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
24777 { (exit 1); exit 1; }; }