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/254.gap/Makefile"
1796 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1799 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1802 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1805 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1808 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1811 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1814 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1817 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1820 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1823 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1826 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1829 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1832 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1835 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1838 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1841 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1844 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1847 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1850 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1853 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1856 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1859 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1862 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1865 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1868 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1871 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1874 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1877 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1880 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1883 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1886 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1889 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1892 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1895 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1898 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1901 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1904 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1907 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1910 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1913 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1916 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1919 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1922 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1925 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1928 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1931 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1934 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1937 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1940 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1943 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1946 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1949 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1952 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1955 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
1958 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/Makefile"
1961 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C/Makefile"
1964 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/Makefile"
1967 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/EH/Makefile"
1970 ac_config_commands="$ac_config_commands tools/Makefile"
1973 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1976 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1979 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1982 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1985 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1988 ac_config_commands="$ac_config_commands tools/llc/Makefile"
1991 ac_config_commands="$ac_config_commands tools/llee/Makefile"
1994 ac_config_commands="$ac_config_commands tools/lli/Makefile"
1997 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
2000 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
2003 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
2006 ac_config_commands="$ac_config_commands tools/llvm-link/Makefile"
2009 ac_config_commands="$ac_config_commands tools/opt/Makefile"
2012 ac_config_commands="$ac_config_commands utils/Makefile"
2015 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
2018 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
2021 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
2024 ac_config_commands="$ac_config_commands projects/Makefile"
2027 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2030 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2033 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2036 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2039 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2042 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2045 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2048 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2051 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2054 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2057 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2062 # Find a good install program. We prefer a C program (faster),
2063 # so one script is as good as another. But avoid the broken or
2064 # incompatible versions:
2065 # SysV /etc/install, /usr/sbin/install
2066 # SunOS /usr/etc/install
2067 # IRIX /sbin/install
2069 # AmigaOS /C/install, which installs bootblocks on floppy discs
2070 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2071 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2072 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2073 # ./install, which can be erroneously created by make from ./install.sh.
2074 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2075 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2076 if test -z "$INSTALL"; then
2077 if test "${ac_cv_path_install+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2084 test -z "$as_dir" && as_dir=.
2085 # Account for people who put trailing slashes in PATH elements.
2087 ./ | .// | /cC/* | \
2088 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2091 # OSF1 and SCO ODT 3.0 have their own names for install.
2092 # Don't use installbsd from OSF since it installs stuff as root
2094 for ac_prog in ginstall scoinst install; do
2095 for ac_exec_ext in '' $ac_executable_extensions; do
2096 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2097 if test $ac_prog = install &&
2098 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2099 # AIX install. It has an incompatible calling convention.
2101 elif test $ac_prog = install &&
2102 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2103 # program-specific install script used by HP pwplus--don't use.
2106 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2118 if test "${ac_cv_path_install+set}" = set; then
2119 INSTALL=$ac_cv_path_install
2121 # As a last resort, use the slow shell script. We don't cache a
2122 # path for INSTALL within a source directory, because that will
2123 # break other packages using the cache if that directory is
2124 # removed, or if the path is relative.
2125 INSTALL=$ac_install_sh
2128 echo "$as_me:$LINENO: result: $INSTALL" >&5
2129 echo "${ECHO_T}$INSTALL" >&6
2131 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2132 # It thinks the first close brace ends the variable substitution.
2133 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2135 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2137 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2140 # Make sure we can run config.sub.
2141 $ac_config_sub sun4 >/dev/null 2>&1 ||
2142 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2143 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2144 { (exit 1); exit 1; }; }
2146 echo "$as_me:$LINENO: checking build system type" >&5
2147 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2148 if test "${ac_cv_build+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 ac_cv_build_alias=$build_alias
2152 test -z "$ac_cv_build_alias" &&
2153 ac_cv_build_alias=`$ac_config_guess`
2154 test -z "$ac_cv_build_alias" &&
2155 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2156 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2157 { (exit 1); exit 1; }; }
2158 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2159 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2160 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2161 { (exit 1); exit 1; }; }
2164 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2165 echo "${ECHO_T}$ac_cv_build" >&6
2167 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2168 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2169 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2172 echo "$as_me:$LINENO: checking host system type" >&5
2173 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2174 if test "${ac_cv_host+set}" = set; then
2175 echo $ECHO_N "(cached) $ECHO_C" >&6
2177 ac_cv_host_alias=$host_alias
2178 test -z "$ac_cv_host_alias" &&
2179 ac_cv_host_alias=$ac_cv_build_alias
2180 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2181 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2182 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2183 { (exit 1); exit 1; }; }
2186 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2187 echo "${ECHO_T}$ac_cv_host" >&6
2189 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2190 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2191 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2194 echo "$as_me:$LINENO: checking target system type" >&5
2195 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2196 if test "${ac_cv_target+set}" = set; then
2197 echo $ECHO_N "(cached) $ECHO_C" >&6
2199 ac_cv_target_alias=$target_alias
2200 test "x$ac_cv_target_alias" = "x" &&
2201 ac_cv_target_alias=$ac_cv_host_alias
2202 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2203 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2204 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2205 { (exit 1); exit 1; }; }
2208 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2209 echo "${ECHO_T}$ac_cv_target" >&6
2210 target=$ac_cv_target
2211 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2212 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2213 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2216 # The aliases save the names the user supplied, while $host etc.
2217 # will get canonicalized.
2218 test -n "$target_alias" &&
2219 test "$program_prefix$program_suffix$program_transform_name" = \
2221 program_prefix=${target_alias}-
2226 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2232 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2242 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2251 *sparc*solaris*) ARCH=Sparc
2258 ac_cpp='$CXXCPP $CPPFLAGS'
2259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2262 if test -n "$ac_tool_prefix"; then
2263 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2265 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2266 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2267 echo "$as_me:$LINENO: checking for $ac_word" >&5
2268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2269 if test "${ac_cv_prog_CXX+set}" = set; then
2270 echo $ECHO_N "(cached) $ECHO_C" >&6
2272 if test -n "$CXX"; then
2273 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279 test -z "$as_dir" && as_dir=.
2280 for ac_exec_ext in '' $ac_executable_extensions; do
2281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2282 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2292 if test -n "$CXX"; then
2293 echo "$as_me:$LINENO: result: $CXX" >&5
2294 echo "${ECHO_T}$CXX" >&6
2296 echo "$as_me:$LINENO: result: no" >&5
2297 echo "${ECHO_T}no" >&6
2300 test -n "$CXX" && break
2303 if test -z "$CXX"; then
2305 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2307 # Extract the first word of "$ac_prog", so it can be a program name with args.
2308 set dummy $ac_prog; ac_word=$2
2309 echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2311 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
2314 if test -n "$ac_ct_CXX"; then
2315 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir=.
2322 for ac_exec_ext in '' $ac_executable_extensions; do
2323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2324 ac_cv_prog_ac_ct_CXX="$ac_prog"
2325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2333 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2334 if test -n "$ac_ct_CXX"; then
2335 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2336 echo "${ECHO_T}$ac_ct_CXX" >&6
2338 echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6
2342 test -n "$ac_ct_CXX" && break
2344 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2350 # Provide some information about the compiler.
2351 echo "$as_me:$LINENO:" \
2352 "checking for C++ compiler version" >&5
2353 ac_compiler=`set X $ac_compile; echo $2`
2354 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2355 (eval $ac_compiler --version </dev/null >&5) 2>&5
2357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358 (exit $ac_status); }
2359 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2360 (eval $ac_compiler -v </dev/null >&5) 2>&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }
2364 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2365 (eval $ac_compiler -V </dev/null >&5) 2>&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }
2370 cat >conftest.$ac_ext <<_ACEOF
2371 #line $LINENO "configure"
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2386 ac_clean_files_save=$ac_clean_files
2387 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2388 # Try to create an executable without -o first, disregard a.out.
2389 # It will help us diagnose broken compilers, and finding out an intuition
2391 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2392 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2393 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2394 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2395 (eval $ac_link_default) 2>&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); }; then
2399 # Find the output, starting from the most likely. This scheme is
2400 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2403 # Be careful to initialize this variable, since it used to be cached.
2404 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2406 # b.out is created by i960 compilers.
2407 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2409 test -f "$ac_file" || continue
2411 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2414 # This is the source file.
2417 # We found the default executable, but exeext='' is most
2421 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2422 # FIXME: I believe we export ac_cv_exeext for Libtool,
2423 # but it would be cool to find out if it's true. Does anybody
2424 # maintain Libtool? --akim.
2432 echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.$ac_ext >&5
2435 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2436 See \`config.log' for more details." >&5
2437 echo "$as_me: error: C++ compiler cannot create executables
2438 See \`config.log' for more details." >&2;}
2439 { (exit 77); exit 77; }; }
2442 ac_exeext=$ac_cv_exeext
2443 echo "$as_me:$LINENO: result: $ac_file" >&5
2444 echo "${ECHO_T}$ac_file" >&6
2446 # Check the compiler produces executables we can run. If not, either
2447 # the compiler is broken, or we cross compile.
2448 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2449 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2450 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2451 # If not cross compiling, check that we can run a simple program.
2452 if test "$cross_compiling" != yes; then
2453 if { ac_try='./$ac_file'
2454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); }; }; then
2461 if test "$cross_compiling" = maybe; then
2464 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2465 If you meant to cross compile, use \`--host'.
2466 See \`config.log' for more details." >&5
2467 echo "$as_me: error: cannot run C++ compiled programs.
2468 If you meant to cross compile, use \`--host'.
2469 See \`config.log' for more details." >&2;}
2470 { (exit 1); exit 1; }; }
2474 echo "$as_me:$LINENO: result: yes" >&5
2475 echo "${ECHO_T}yes" >&6
2477 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2478 ac_clean_files=$ac_clean_files_save
2479 # Check the compiler produces executables we can run. If not, either
2480 # the compiler is broken, or we cross compile.
2481 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2482 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2483 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2484 echo "${ECHO_T}$cross_compiling" >&6
2486 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2487 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2489 (eval $ac_link) 2>&5
2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 (exit $ac_status); }; then
2493 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2494 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2495 # work properly (i.e., refer to `conftest.exe'), while it won't with
2497 for ac_file in conftest.exe conftest conftest.*; do
2498 test -f "$ac_file" || continue
2500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2501 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2508 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2509 See \`config.log' for more details." >&5
2510 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2511 See \`config.log' for more details." >&2;}
2512 { (exit 1); exit 1; }; }
2515 rm -f conftest$ac_cv_exeext
2516 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2517 echo "${ECHO_T}$ac_cv_exeext" >&6
2519 rm -f conftest.$ac_ext
2520 EXEEXT=$ac_cv_exeext
2522 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2523 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2524 if test "${ac_cv_objext+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 cat >conftest.$ac_ext <<_ACEOF
2528 #line $LINENO "configure"
2531 cat confdefs.h >>conftest.$ac_ext
2532 cat >>conftest.$ac_ext <<_ACEOF
2533 /* end confdefs.h. */
2543 rm -f conftest.o conftest.obj
2544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2545 (eval $ac_compile) 2>&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }; then
2549 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2552 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2557 echo "$as_me: failed program was:" >&5
2558 sed 's/^/| /' conftest.$ac_ext >&5
2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2561 See \`config.log' for more details." >&5
2562 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2563 See \`config.log' for more details." >&2;}
2564 { (exit 1); exit 1; }; }
2567 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2569 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2570 echo "${ECHO_T}$ac_cv_objext" >&6
2571 OBJEXT=$ac_cv_objext
2573 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2574 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2575 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 cat >conftest.$ac_ext <<_ACEOF
2579 #line $LINENO "configure"
2582 cat confdefs.h >>conftest.$ac_ext
2583 cat >>conftest.$ac_ext <<_ACEOF
2584 /* end confdefs.h. */
2597 rm -f conftest.$ac_objext
2598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2599 (eval $ac_compile) 2>&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); } &&
2603 { ac_try='test -s conftest.$ac_objext'
2604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }; }; then
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2616 rm -f conftest.$ac_objext conftest.$ac_ext
2617 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2620 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2621 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2622 GXX=`test $ac_compiler_gnu = yes && echo yes`
2623 ac_test_CXXFLAGS=${CXXFLAGS+set}
2624 ac_save_CXXFLAGS=$CXXFLAGS
2626 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2627 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2628 if test "${ac_cv_prog_cxx_g+set}" = set; then
2629 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 cat >conftest.$ac_ext <<_ACEOF
2632 #line $LINENO "configure"
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2647 rm -f conftest.$ac_objext
2648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2649 (eval $ac_compile) 2>&5
2651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652 (exit $ac_status); } &&
2653 { ac_try='test -s conftest.$ac_objext'
2654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); }; }; then
2659 ac_cv_prog_cxx_g=yes
2661 echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.$ac_ext >&5
2666 rm -f conftest.$ac_objext conftest.$ac_ext
2668 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2669 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2670 if test "$ac_test_CXXFLAGS" = set; then
2671 CXXFLAGS=$ac_save_CXXFLAGS
2672 elif test $ac_cv_prog_cxx_g = yes; then
2673 if test "$GXX" = yes; then
2679 if test "$GXX" = yes; then
2685 for ac_declaration in \
2687 '#include <stdlib.h>' \
2688 'extern "C" void std::exit (int) throw (); using std::exit;' \
2689 'extern "C" void std::exit (int); using std::exit;' \
2690 'extern "C" void exit (int) throw ();' \
2691 'extern "C" void exit (int);' \
2694 cat >conftest.$ac_ext <<_ACEOF
2695 #line $LINENO "configure"
2698 cat confdefs.h >>conftest.$ac_ext
2699 cat >>conftest.$ac_ext <<_ACEOF
2700 /* end confdefs.h. */
2711 rm -f conftest.$ac_objext
2712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2713 (eval $ac_compile) 2>&5
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); } &&
2717 { ac_try='test -s conftest.$ac_objext'
2718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); }; }; then
2725 echo "$as_me: failed program was:" >&5
2726 sed 's/^/| /' conftest.$ac_ext >&5
2730 rm -f conftest.$ac_objext conftest.$ac_ext
2731 cat >conftest.$ac_ext <<_ACEOF
2732 #line $LINENO "configure"
2735 cat confdefs.h >>conftest.$ac_ext
2736 cat >>conftest.$ac_ext <<_ACEOF
2737 /* end confdefs.h. */
2747 rm -f conftest.$ac_objext
2748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2749 (eval $ac_compile) 2>&5
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); } &&
2753 { ac_try='test -s conftest.$ac_objext'
2754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); }; }; then
2761 echo "$as_me: failed program was:" >&5
2762 sed 's/^/| /' conftest.$ac_ext >&5
2765 rm -f conftest.$ac_objext conftest.$ac_ext
2768 if test -n "$ac_declaration"; then
2769 echo '#ifdef __cplusplus' >>confdefs.h
2770 echo $ac_declaration >>confdefs.h
2771 echo '#endif' >>confdefs.h
2775 ac_cpp='$CPP $CPPFLAGS'
2776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
2785 if test -n "$ac_tool_prefix"; then
2788 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2789 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2790 echo "$as_me:$LINENO: checking for $ac_word" >&5
2791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2792 if test "${ac_cv_prog_CC+set}" = set; then
2793 echo $ECHO_N "(cached) $ECHO_C" >&6
2795 if test -n "$CC"; then
2796 ac_cv_prog_CC="$CC" # Let the user override the test.
2798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802 test -z "$as_dir" && as_dir=.
2803 for ac_exec_ext in '' $ac_executable_extensions; do
2804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2805 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2815 if test -n "$CC"; then
2816 echo "$as_me:$LINENO: result: $CC" >&5
2817 echo "${ECHO_T}$CC" >&6
2819 echo "$as_me:$LINENO: result: no" >&5
2820 echo "${ECHO_T}no" >&6
2823 test -n "$CC" && break
2826 if test -z "$CC"; then
2830 # Extract the first word of "$ac_prog", so it can be a program name with args.
2831 set dummy $ac_prog; ac_word=$2
2832 echo "$as_me:$LINENO: checking for $ac_word" >&5
2833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2834 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2835 echo $ECHO_N "(cached) $ECHO_C" >&6
2837 if test -n "$ac_ct_CC"; then
2838 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2844 test -z "$as_dir" && as_dir=.
2845 for ac_exec_ext in '' $ac_executable_extensions; do
2846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2847 ac_cv_prog_ac_ct_CC="$ac_prog"
2848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2856 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2857 if test -n "$ac_ct_CC"; then
2858 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2859 echo "${ECHO_T}$ac_ct_CC" >&6
2861 echo "$as_me:$LINENO: result: no" >&5
2862 echo "${ECHO_T}no" >&6
2865 test -n "$ac_ct_CC" && break
2872 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2873 See \`config.log' for more details." >&5
2874 echo "$as_me: error: no acceptable C compiler found in \$PATH
2875 See \`config.log' for more details." >&2;}
2876 { (exit 1); exit 1; }; }
2878 # Provide some information about the compiler.
2879 echo "$as_me:$LINENO:" \
2880 "checking for C compiler version" >&5
2881 ac_compiler=`set X $ac_compile; echo $2`
2882 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2883 (eval $ac_compiler --version </dev/null >&5) 2>&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); }
2887 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2888 (eval $ac_compiler -v </dev/null >&5) 2>&5
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); }
2892 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2893 (eval $ac_compiler -V </dev/null >&5) 2>&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }
2898 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2899 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2900 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2901 echo $ECHO_N "(cached) $ECHO_C" >&6
2903 cat >conftest.$ac_ext <<_ACEOF
2904 #line $LINENO "configure"
2907 cat confdefs.h >>conftest.$ac_ext
2908 cat >>conftest.$ac_ext <<_ACEOF
2909 /* end confdefs.h. */
2922 rm -f conftest.$ac_objext
2923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2924 (eval $ac_compile) 2>&5
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); } &&
2928 { ac_try='test -s conftest.$ac_objext'
2929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; }; then
2936 echo "$as_me: failed program was:" >&5
2937 sed 's/^/| /' conftest.$ac_ext >&5
2941 rm -f conftest.$ac_objext conftest.$ac_ext
2942 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2945 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2946 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2947 GCC=`test $ac_compiler_gnu = yes && echo yes`
2948 ac_test_CFLAGS=${CFLAGS+set}
2949 ac_save_CFLAGS=$CFLAGS
2951 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2952 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2953 if test "${ac_cv_prog_cc_g+set}" = set; then
2954 echo $ECHO_N "(cached) $ECHO_C" >&6
2956 cat >conftest.$ac_ext <<_ACEOF
2957 #line $LINENO "configure"
2960 cat confdefs.h >>conftest.$ac_ext
2961 cat >>conftest.$ac_ext <<_ACEOF
2962 /* end confdefs.h. */
2972 rm -f conftest.$ac_objext
2973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2974 (eval $ac_compile) 2>&5
2976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977 (exit $ac_status); } &&
2978 { ac_try='test -s conftest.$ac_objext'
2979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); }; }; then
2986 echo "$as_me: failed program was:" >&5
2987 sed 's/^/| /' conftest.$ac_ext >&5
2991 rm -f conftest.$ac_objext conftest.$ac_ext
2993 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2994 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2995 if test "$ac_test_CFLAGS" = set; then
2996 CFLAGS=$ac_save_CFLAGS
2997 elif test $ac_cv_prog_cc_g = yes; then
2998 if test "$GCC" = yes; then
3004 if test "$GCC" = yes; then
3010 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3011 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3012 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3013 echo $ECHO_N "(cached) $ECHO_C" >&6
3015 ac_cv_prog_cc_stdc=no
3017 cat >conftest.$ac_ext <<_ACEOF
3018 #line $LINENO "configure"
3021 cat confdefs.h >>conftest.$ac_ext
3022 cat >>conftest.$ac_ext <<_ACEOF
3023 /* end confdefs.h. */
3026 #include <sys/types.h>
3027 #include <sys/stat.h>
3028 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3029 struct buf { int x; };
3030 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3031 static char *e (p, i)
3037 static char *f (char * (*g) (char **, int), char **p, ...)
3042 s = g (p, va_arg (v,int));
3046 int test (int i, double x);
3047 struct s1 {int (*f) (int a);};
3048 struct s2 {int (*f) (double a);};
3049 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3055 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3060 # Don't try gcc -ansi; that turns off useful extensions and
3061 # breaks some systems' header files.
3062 # AIX -qlanglvl=ansi
3063 # Ultrix and OSF/1 -std1
3064 # HP-UX 10.20 and later -Ae
3065 # HP-UX older versions -Aa -D_HPUX_SOURCE
3066 # SVR4 -Xc -D__EXTENSIONS__
3067 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3069 CC="$ac_save_CC $ac_arg"
3070 rm -f conftest.$ac_objext
3071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3072 (eval $ac_compile) 2>&5
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); } &&
3076 { ac_try='test -s conftest.$ac_objext'
3077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); }; }; then
3082 ac_cv_prog_cc_stdc=$ac_arg
3085 echo "$as_me: failed program was:" >&5
3086 sed 's/^/| /' conftest.$ac_ext >&5
3089 rm -f conftest.$ac_objext
3091 rm -f conftest.$ac_ext conftest.$ac_objext
3096 case "x$ac_cv_prog_cc_stdc" in
3098 echo "$as_me:$LINENO: result: none needed" >&5
3099 echo "${ECHO_T}none needed" >&6 ;;
3101 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3102 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3103 CC="$CC $ac_cv_prog_cc_stdc" ;;
3106 # Some people use a C++ compiler to compile C. Since we use `exit',
3107 # in C++ we need to declare it. In case someone uses the same compiler
3108 # for both compiling C and C++ we need to have the C++ compiler decide
3109 # the declaration of exit, since it's the most demanding environment.
3110 cat >conftest.$ac_ext <<_ACEOF
3115 rm -f conftest.$ac_objext
3116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3117 (eval $ac_compile) 2>&5
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); } &&
3121 { ac_try='test -s conftest.$ac_objext'
3122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); }; }; then
3127 for ac_declaration in \
3129 '#include <stdlib.h>' \
3130 'extern "C" void std::exit (int) throw (); using std::exit;' \
3131 'extern "C" void std::exit (int); using std::exit;' \
3132 'extern "C" void exit (int) throw ();' \
3133 'extern "C" void exit (int);' \
3136 cat >conftest.$ac_ext <<_ACEOF
3137 #line $LINENO "configure"
3140 cat confdefs.h >>conftest.$ac_ext
3141 cat >>conftest.$ac_ext <<_ACEOF
3142 /* end confdefs.h. */
3153 rm -f conftest.$ac_objext
3154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3155 (eval $ac_compile) 2>&5
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); } &&
3159 { ac_try='test -s conftest.$ac_objext'
3160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); }; }; then
3167 echo "$as_me: failed program was:" >&5
3168 sed 's/^/| /' conftest.$ac_ext >&5
3172 rm -f conftest.$ac_objext conftest.$ac_ext
3173 cat >conftest.$ac_ext <<_ACEOF
3174 #line $LINENO "configure"
3177 cat confdefs.h >>conftest.$ac_ext
3178 cat >>conftest.$ac_ext <<_ACEOF
3179 /* end confdefs.h. */
3189 rm -f conftest.$ac_objext
3190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3191 (eval $ac_compile) 2>&5
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); } &&
3195 { ac_try='test -s conftest.$ac_objext'
3196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); }; }; then
3203 echo "$as_me: failed program was:" >&5
3204 sed 's/^/| /' conftest.$ac_ext >&5
3207 rm -f conftest.$ac_objext conftest.$ac_ext
3210 if test -n "$ac_declaration"; then
3211 echo '#ifdef __cplusplus' >>confdefs.h
3212 echo $ac_declaration >>confdefs.h
3213 echo '#endif' >>confdefs.h
3217 echo "$as_me: failed program was:" >&5
3218 sed 's/^/| /' conftest.$ac_ext >&5
3221 rm -f conftest.$ac_objext conftest.$ac_ext
3223 ac_cpp='$CPP $CPPFLAGS'
3224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
3233 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3234 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3235 # On Suns, sometimes $CPP names a directory.
3236 if test -n "$CPP" && test -d "$CPP"; then
3239 if test -z "$CPP"; then
3240 if test "${ac_cv_prog_CPP+set}" = set; then
3241 echo $ECHO_N "(cached) $ECHO_C" >&6
3243 # Double quotes because CPP needs to be expanded
3244 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3247 for ac_c_preproc_warn_flag in '' yes
3249 # Use a header file that comes with gcc, so configuring glibc
3250 # with a fresh cross-compiler works.
3251 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3252 # <limits.h> exists even on freestanding compilers.
3253 # On the NeXT, cc -E runs the code through the compiler's parser,
3254 # not just through cpp. "Syntax error" is here to catch this case.
3255 cat >conftest.$ac_ext <<_ACEOF
3256 #line $LINENO "configure"
3259 cat confdefs.h >>conftest.$ac_ext
3260 cat >>conftest.$ac_ext <<_ACEOF
3261 /* end confdefs.h. */
3263 # include <limits.h>
3265 # include <assert.h>
3269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3272 grep -v '^ *+' conftest.er1 >conftest.err
3274 cat conftest.err >&5
3275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276 (exit $ac_status); } >/dev/null; then
3277 if test -s conftest.err; then
3278 ac_cpp_err=$ac_c_preproc_warn_flag
3285 if test -z "$ac_cpp_err"; then
3288 echo "$as_me: failed program was:" >&5
3289 sed 's/^/| /' conftest.$ac_ext >&5
3291 # Broken: fails on valid input.
3294 rm -f conftest.err conftest.$ac_ext
3296 # OK, works on sane cases. Now check whether non-existent headers
3297 # can be detected and how.
3298 cat >conftest.$ac_ext <<_ACEOF
3299 #line $LINENO "configure"
3302 cat confdefs.h >>conftest.$ac_ext
3303 cat >>conftest.$ac_ext <<_ACEOF
3304 /* end confdefs.h. */
3305 #include <ac_nonexistent.h>
3307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3308 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3310 grep -v '^ *+' conftest.er1 >conftest.err
3312 cat conftest.err >&5
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); } >/dev/null; then
3315 if test -s conftest.err; then
3316 ac_cpp_err=$ac_c_preproc_warn_flag
3323 if test -z "$ac_cpp_err"; then
3324 # Broken: success on invalid input.
3327 echo "$as_me: failed program was:" >&5
3328 sed 's/^/| /' conftest.$ac_ext >&5
3330 # Passes both tests.
3334 rm -f conftest.err conftest.$ac_ext
3337 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3338 rm -f conftest.err conftest.$ac_ext
3339 if $ac_preproc_ok; then
3351 echo "$as_me:$LINENO: result: $CPP" >&5
3352 echo "${ECHO_T}$CPP" >&6
3354 for ac_c_preproc_warn_flag in '' yes
3356 # Use a header file that comes with gcc, so configuring glibc
3357 # with a fresh cross-compiler works.
3358 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3359 # <limits.h> exists even on freestanding compilers.
3360 # On the NeXT, cc -E runs the code through the compiler's parser,
3361 # not just through cpp. "Syntax error" is here to catch this case.
3362 cat >conftest.$ac_ext <<_ACEOF
3363 #line $LINENO "configure"
3366 cat confdefs.h >>conftest.$ac_ext
3367 cat >>conftest.$ac_ext <<_ACEOF
3368 /* end confdefs.h. */
3370 # include <limits.h>
3372 # include <assert.h>
3376 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3377 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3379 grep -v '^ *+' conftest.er1 >conftest.err
3381 cat conftest.err >&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); } >/dev/null; then
3384 if test -s conftest.err; then
3385 ac_cpp_err=$ac_c_preproc_warn_flag
3392 if test -z "$ac_cpp_err"; then
3395 echo "$as_me: failed program was:" >&5
3396 sed 's/^/| /' conftest.$ac_ext >&5
3398 # Broken: fails on valid input.
3401 rm -f conftest.err conftest.$ac_ext
3403 # OK, works on sane cases. Now check whether non-existent headers
3404 # can be detected and how.
3405 cat >conftest.$ac_ext <<_ACEOF
3406 #line $LINENO "configure"
3409 cat confdefs.h >>conftest.$ac_ext
3410 cat >>conftest.$ac_ext <<_ACEOF
3411 /* end confdefs.h. */
3412 #include <ac_nonexistent.h>
3414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3415 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3417 grep -v '^ *+' conftest.er1 >conftest.err
3419 cat conftest.err >&5
3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421 (exit $ac_status); } >/dev/null; then
3422 if test -s conftest.err; then
3423 ac_cpp_err=$ac_c_preproc_warn_flag
3430 if test -z "$ac_cpp_err"; then
3431 # Broken: success on invalid input.
3434 echo "$as_me: failed program was:" >&5
3435 sed 's/^/| /' conftest.$ac_ext >&5
3437 # Passes both tests.
3441 rm -f conftest.err conftest.$ac_ext
3444 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3445 rm -f conftest.err conftest.$ac_ext
3446 if $ac_preproc_ok; then
3449 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3450 See \`config.log' for more details." >&5
3451 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3452 See \`config.log' for more details." >&2;}
3453 { (exit 1); exit 1; }; }
3457 ac_cpp='$CPP $CPPFLAGS'
3458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3463 if test "$GCC" != "yes"
3465 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3466 echo "$as_me: error: gcc required but not found" >&2;}
3467 { (exit 1); exit 1; }; }
3470 if test "$GXX" != "yes"
3472 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3473 echo "$as_me: error: g++ required but not found" >&2;}
3474 { (exit 1); exit 1; }; }
3477 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3478 if test "$gccmajor" -lt "3"
3480 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3481 echo "$as_me: error: gcc 3.x required" >&2;}
3482 { (exit 1); exit 1; }; }
3485 echo "$as_me:$LINENO: checking for GNU make" >&5
3486 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3487 if test "${_cv_gnu_make_command+set}" = set; then
3488 echo $ECHO_N "(cached) $ECHO_C" >&6
3490 _cv_gnu_make_command='' ;
3491 for a in "$MAKE" make gmake gnumake ; do
3492 if test -z "$a" ; then continue ; fi ;
3493 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3494 _cv_gnu_make_command=$a ;
3500 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3501 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3502 if test "x$_cv_gnu_make_command" != "x" ; then
3506 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3507 echo "${ECHO_T}\"Not found\"" >&6;
3511 if test -z "$_cv_gnu_make_command"
3513 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3514 echo "$as_me: error: GNU Make required but not found" >&2;}
3515 { (exit 1); exit 1; }; }
3519 echo "$as_me:$LINENO: checking " >&5
3520 echo $ECHO_N "checking ... $ECHO_C" >&6
3521 if test "${ac_cv_has_flex+set}" = set; then
3522 echo $ECHO_N "(cached) $ECHO_C" >&6
3524 for ac_prog in flex lex
3526 # Extract the first word of "$ac_prog", so it can be a program name with args.
3527 set dummy $ac_prog; ac_word=$2
3528 echo "$as_me:$LINENO: checking for $ac_word" >&5
3529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3530 if test "${ac_cv_prog_LEX+set}" = set; then
3531 echo $ECHO_N "(cached) $ECHO_C" >&6
3533 if test -n "$LEX"; then
3534 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3540 test -z "$as_dir" && as_dir=.
3541 for ac_exec_ext in '' $ac_executable_extensions; do
3542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3543 ac_cv_prog_LEX="$ac_prog"
3544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3553 if test -n "$LEX"; then
3554 echo "$as_me:$LINENO: result: $LEX" >&5
3555 echo "${ECHO_T}$LEX" >&6
3557 echo "$as_me:$LINENO: result: no" >&5
3558 echo "${ECHO_T}no" >&6
3561 test -n "$LEX" && break
3563 test -n "$LEX" || LEX=":"
3565 if test -z "$LEXLIB"
3567 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3568 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3569 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3570 echo $ECHO_N "(cached) $ECHO_C" >&6
3572 ac_check_lib_save_LIBS=$LIBS
3574 cat >conftest.$ac_ext <<_ACEOF
3575 #line $LINENO "configure"
3578 cat confdefs.h >>conftest.$ac_ext
3579 cat >>conftest.$ac_ext <<_ACEOF
3580 /* end confdefs.h. */
3582 /* Override any gcc2 internal prototype to avoid an error. */
3586 /* We use char because int might match the return type of a gcc2
3587 builtin and then its argument prototype would still apply. */
3597 rm -f conftest.$ac_objext conftest$ac_exeext
3598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3599 (eval $ac_link) 2>&5
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); } &&
3603 { ac_try='test -s conftest$ac_exeext'
3604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); }; }; then
3609 ac_cv_lib_fl_yywrap=yes
3611 echo "$as_me: failed program was:" >&5
3612 sed 's/^/| /' conftest.$ac_ext >&5
3614 ac_cv_lib_fl_yywrap=no
3616 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3617 LIBS=$ac_check_lib_save_LIBS
3619 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3620 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3621 if test $ac_cv_lib_fl_yywrap = yes; then
3624 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3625 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3626 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3627 echo $ECHO_N "(cached) $ECHO_C" >&6
3629 ac_check_lib_save_LIBS=$LIBS
3631 cat >conftest.$ac_ext <<_ACEOF
3632 #line $LINENO "configure"
3635 cat confdefs.h >>conftest.$ac_ext
3636 cat >>conftest.$ac_ext <<_ACEOF
3637 /* end confdefs.h. */
3639 /* Override any gcc2 internal prototype to avoid an error. */
3643 /* We use char because int might match the return type of a gcc2
3644 builtin and then its argument prototype would still apply. */
3654 rm -f conftest.$ac_objext conftest$ac_exeext
3655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3656 (eval $ac_link) 2>&5
3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); } &&
3660 { ac_try='test -s conftest$ac_exeext'
3661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); }; }; then
3666 ac_cv_lib_l_yywrap=yes
3668 echo "$as_me: failed program was:" >&5
3669 sed 's/^/| /' conftest.$ac_ext >&5
3671 ac_cv_lib_l_yywrap=no
3673 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3674 LIBS=$ac_check_lib_save_LIBS
3676 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3677 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3678 if test $ac_cv_lib_l_yywrap = yes; then
3686 if test "x$LEX" != "x:"; then
3687 echo "$as_me:$LINENO: checking lex output file root" >&5
3688 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3689 if test "${ac_cv_prog_lex_root+set}" = set; then
3690 echo $ECHO_N "(cached) $ECHO_C" >&6
3692 # The minimal lex program is just a single line: %%. But some broken lexes
3693 # (Solaris, I think it was) want two %% lines, so accommodate them.
3694 cat >conftest.l <<_ACEOF
3698 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3699 (eval $LEX conftest.l) 2>&5
3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 (exit $ac_status); }
3703 if test -f lex.yy.c; then
3704 ac_cv_prog_lex_root=lex.yy
3705 elif test -f lexyy.c; then
3706 ac_cv_prog_lex_root=lexyy
3708 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3709 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3710 { (exit 1); exit 1; }; }
3713 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3714 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3716 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3718 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3719 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3720 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3721 echo $ECHO_N "(cached) $ECHO_C" >&6
3723 # POSIX says lex can declare yytext either as a pointer or an array; the
3724 # default is implementation-dependent. Figure out which it is, since
3725 # not all implementations provide the %pointer and %array declarations.
3726 ac_cv_prog_lex_yytext_pointer=no
3727 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3729 LIBS="$LIBS $LEXLIB"
3730 cat >conftest.$ac_ext <<_ACEOF
3731 `cat $LEX_OUTPUT_ROOT.c`
3733 rm -f conftest.$ac_objext conftest$ac_exeext
3734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3735 (eval $ac_link) 2>&5
3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738 (exit $ac_status); } &&
3739 { ac_try='test -s conftest$ac_exeext'
3740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); }; }; then
3745 ac_cv_prog_lex_yytext_pointer=yes
3747 echo "$as_me: failed program was:" >&5
3748 sed 's/^/| /' conftest.$ac_ext >&5
3751 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3753 rm -f "${LEX_OUTPUT_ROOT}.c"
3756 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3757 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3758 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3760 cat >>confdefs.h <<\_ACEOF
3761 #define YYTEXT_POINTER 1
3769 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3770 echo "${ECHO_T}$ac_cv_has_flex" >&6
3771 if test "$LEX" != "flex"; then
3772 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3773 echo "$as_me: error: flex not found but required" >&2;}
3774 { (exit 1); exit 1; }; }
3777 echo "$as_me:$LINENO: checking " >&5
3778 echo $ECHO_N "checking ... $ECHO_C" >&6
3779 if test "${ac_cv_has_bison+set}" = set; then
3780 echo $ECHO_N "(cached) $ECHO_C" >&6
3782 for ac_prog in 'bison -y' byacc
3784 # Extract the first word of "$ac_prog", so it can be a program name with args.
3785 set dummy $ac_prog; ac_word=$2
3786 echo "$as_me:$LINENO: checking for $ac_word" >&5
3787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3788 if test "${ac_cv_prog_YACC+set}" = set; then
3789 echo $ECHO_N "(cached) $ECHO_C" >&6
3791 if test -n "$YACC"; then
3792 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3798 test -z "$as_dir" && as_dir=.
3799 for ac_exec_ext in '' $ac_executable_extensions; do
3800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3801 ac_cv_prog_YACC="$ac_prog"
3802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3810 YACC=$ac_cv_prog_YACC
3811 if test -n "$YACC"; then
3812 echo "$as_me:$LINENO: result: $YACC" >&5
3813 echo "${ECHO_T}$YACC" >&6
3815 echo "$as_me:$LINENO: result: no" >&5
3816 echo "${ECHO_T}no" >&6
3819 test -n "$YACC" && break
3821 test -n "$YACC" || YACC="yacc"
3825 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3826 echo "${ECHO_T}$ac_cv_has_bison" >&6
3827 if test "$YACC" != "bison -y"; then
3828 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3829 echo "$as_me: error: bison not found but required" >&2;}
3830 { (exit 1); exit 1; }; }
3837 # Check whether --enable-shared or --disable-shared was given.
3838 if test "${enable_shared+set}" = set; then
3839 enableval="$enable_shared"
3840 p=${PACKAGE-default}
3842 yes) enable_shared=yes ;;
3843 no) enable_shared=no ;;
3846 # Look at the argument we got. We use all the common list separators.
3847 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3848 for pkg in $enableval; do
3850 if test "X$pkg" = "X$p"; then
3861 # Check whether --enable-static or --disable-static was given.
3862 if test "${enable_static+set}" = set; then
3863 enableval="$enable_static"
3864 p=${PACKAGE-default}
3866 yes) enable_static=yes ;;
3867 no) enable_static=no ;;
3870 # Look at the argument we got. We use all the common list separators.
3871 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3872 for pkg in $enableval; do
3874 if test "X$pkg" = "X$p"; then
3885 # Check whether --enable-fast-install or --disable-fast-install was given.
3886 if test "${enable_fast_install+set}" = set; then
3887 enableval="$enable_fast_install"
3888 p=${PACKAGE-default}
3890 yes) enable_fast_install=yes ;;
3891 no) enable_fast_install=no ;;
3893 enable_fast_install=no
3894 # Look at the argument we got. We use all the common list separators.
3895 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3896 for pkg in $enableval; do
3898 if test "X$pkg" = "X$p"; then
3899 enable_fast_install=yes
3906 enable_fast_install=yes
3909 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3910 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3911 if test "${lt_cv_path_SED+set}" = set; then
3912 echo $ECHO_N "(cached) $ECHO_C" >&6
3914 # Loop through the user's path and test for sed and gsed.
3915 # Then use that list of sed's as ones to test for truncation.
3916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3920 test -z "$as_dir" && as_dir=.
3921 for lt_ac_prog in sed gsed; do
3922 for ac_exec_ext in '' $ac_executable_extensions; do
3923 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3924 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3931 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3932 # along with /bin/sed that truncates output.
3933 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3934 test ! -f $lt_ac_sed && break
3935 cat /dev/null > conftest.in
3937 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3938 # Check for GNU sed and select it if it is found.
3939 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3940 lt_cv_path_SED=$lt_ac_sed
3944 cat conftest.in conftest.in >conftest.tmp
3945 mv conftest.tmp conftest.in
3946 cp conftest.in conftest.nl
3948 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3949 cmp -s conftest.out conftest.nl || break
3950 # 10000 chars as input seems more than enough
3951 test $lt_ac_count -gt 10 && break
3952 lt_ac_count=`expr $lt_ac_count + 1`
3953 if test $lt_ac_count -gt $lt_ac_max; then
3954 lt_ac_max=$lt_ac_count
3955 lt_cv_path_SED=$lt_ac_sed
3963 echo "$as_me:$LINENO: result: $SED" >&5
3964 echo "${ECHO_T}$SED" >&6
3966 echo "$as_me:$LINENO: checking for egrep" >&5
3967 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3968 if test "${ac_cv_prog_egrep+set}" = set; then
3969 echo $ECHO_N "(cached) $ECHO_C" >&6
3971 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3972 then ac_cv_prog_egrep='grep -E'
3973 else ac_cv_prog_egrep='egrep'
3976 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3977 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3978 EGREP=$ac_cv_prog_egrep
3982 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3983 if test "${with_gnu_ld+set}" = set; then
3984 withval="$with_gnu_ld"
3985 test "$withval" = no || with_gnu_ld=yes
3990 if test "$GCC" = yes; then
3991 # Check if gcc -print-prog-name=ld gives a path.
3992 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3993 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3996 # gcc leaves a trailing carriage return which upsets mingw
3997 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3999 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4002 # Accept absolute paths.
4004 re_direlt='/[^/][^/]*/\.\./'
4005 # Canonicalize the path of ld
4006 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4007 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4008 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4010 test -z "$LD" && LD="$ac_prog"
4013 # If it fails, then pretend we aren't using GCC.
4017 # If it is relative, then search for the first ld in PATH.
4021 elif test "$with_gnu_ld" = yes; then
4022 echo "$as_me:$LINENO: checking for GNU ld" >&5
4023 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4025 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4026 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4028 if test "${lt_cv_path_LD+set}" = set; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4031 if test -z "$LD"; then
4032 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4033 for ac_dir in $PATH; do
4035 test -z "$ac_dir" && ac_dir=.
4036 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4037 lt_cv_path_LD="$ac_dir/$ac_prog"
4038 # Check to see if the program is GNU ld. I'd rather use --version,
4039 # but apparently some GNU ld's only accept -v.
4040 # Break only if it was the GNU/non-GNU ld that we prefer.
4041 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4042 *GNU* | *'with BFD'*)
4043 test "$with_gnu_ld" != no && break
4046 test "$with_gnu_ld" != yes && break
4053 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4058 if test -n "$LD"; then
4059 echo "$as_me:$LINENO: result: $LD" >&5
4060 echo "${ECHO_T}$LD" >&6
4062 echo "$as_me:$LINENO: result: no" >&5
4063 echo "${ECHO_T}no" >&6
4065 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4066 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4067 { (exit 1); exit 1; }; }
4068 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4069 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4070 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4071 echo $ECHO_N "(cached) $ECHO_C" >&6
4073 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4074 case `"$LD" -v 2>&1 </dev/null` in
4075 *GNU* | *'with BFD'*)
4076 lt_cv_prog_gnu_ld=yes
4079 lt_cv_prog_gnu_ld=no
4083 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4084 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4085 with_gnu_ld=$lt_cv_prog_gnu_ld
4088 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4089 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4090 if test "${lt_cv_ld_reload_flag+set}" = set; then
4091 echo $ECHO_N "(cached) $ECHO_C" >&6
4093 lt_cv_ld_reload_flag='-r'
4095 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4096 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4097 reload_flag=$lt_cv_ld_reload_flag
4098 case $reload_flag in
4100 *) reload_flag=" $reload_flag" ;;
4102 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4104 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4105 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4106 if test "${lt_cv_path_NM+set}" = set; then
4107 echo $ECHO_N "(cached) $ECHO_C" >&6
4109 if test -n "$NM"; then
4110 # Let the user override the test.
4113 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4114 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4116 test -z "$ac_dir" && ac_dir=.
4117 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4118 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4119 # Check to see if the nm accepts a BSD-compat flag.
4120 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4121 # nm: unknown option "B" ignored
4122 # Tru64's nm complains that /dev/null is an invalid object file
4123 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4124 */dev/null* | *'Invalid file or object type'*)
4125 lt_cv_path_NM="$tmp_nm -B"
4129 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4131 lt_cv_path_NM="$tmp_nm -p"
4135 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4136 continue # so that we can try to find one that supports BSD flags
4143 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4146 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4147 echo "${ECHO_T}$lt_cv_path_NM" >&6
4150 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4151 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4153 if test "$LN_S" = "ln -s"; then
4154 echo "$as_me:$LINENO: result: yes" >&5
4155 echo "${ECHO_T}yes" >&6
4157 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4158 echo "${ECHO_T}no, using $LN_S" >&6
4161 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4162 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4163 if test "${lt_cv_deplibs_check_method+set}" = set; then
4164 echo $ECHO_N "(cached) $ECHO_C" >&6
4166 lt_cv_file_magic_cmd='$MAGIC_CMD'
4167 lt_cv_file_magic_test_file=
4168 lt_cv_deplibs_check_method='unknown'
4169 # Need to set the preceding variable on all platforms that support
4170 # interlibrary dependencies.
4171 # 'none' -- dependencies not supported.
4172 # `unknown' -- same as none, but documents that we really don't know.
4173 # 'pass_all' -- all dependencies passed with no checks.
4174 # 'test_compile' -- check by making test program.
4175 # 'file_magic [[regex]]' -- check by looking for files in library path
4176 # which responds to the $file_magic_cmd with a given extended regex.
4177 # If you have `file' or equivalent on your system and you're not sure
4178 # whether `pass_all' will *always* work, you probably want this one.
4182 lt_cv_deplibs_check_method=pass_all
4186 lt_cv_deplibs_check_method=pass_all
4190 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4191 lt_cv_file_magic_cmd='/usr/bin/file -L'
4192 lt_cv_file_magic_test_file=/shlib/libc.so
4195 cygwin* | mingw* | pw32*)
4196 # win32_libid is a shell function defined in ltmain.sh
4197 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4198 lt_cv_file_magic_cmd='win32_libid'
4201 darwin* | rhapsody*)
4202 # this will be overwritten by pass_all, but leave it in just in case
4203 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4204 lt_cv_file_magic_cmd='/usr/bin/file -L'
4206 rhapsody* | darwin1.[012])
4207 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4210 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4213 lt_cv_deplibs_check_method=pass_all
4217 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4220 # Not sure whether the presence of OpenBSD here was a mistake.
4221 # Let's accept both of them until this is cleared up.
4222 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4223 lt_cv_file_magic_cmd=/usr/bin/file
4224 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4228 lt_cv_deplibs_check_method=pass_all
4233 lt_cv_deplibs_check_method=pass_all
4236 hpux10.20* | hpux11*)
4237 lt_cv_file_magic_cmd=/usr/bin/file
4240 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4241 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4244 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]'
4245 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4248 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4249 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4254 irix5* | irix6* | nonstopux*)
4256 irix5* | nonstopux*)
4257 # this will be overridden with pass_all, but let us keep it just in case
4258 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4262 *-32|*"-32 ") libmagic=32-bit;;
4263 *-n32|*"-n32 ") libmagic=N32;;
4264 *-64|*"-64 ") libmagic=64-bit;;
4265 *) libmagic=never-match;;
4267 # this will be overridden with pass_all, but let us keep it just in case
4268 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4271 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4272 lt_cv_deplibs_check_method=pass_all
4275 # This must be Linux ELF.
4278 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4279 lt_cv_deplibs_check_method=pass_all ;;
4281 # glibc up to 2.1.1 does not perform some relocations on ARM
4282 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4284 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4288 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4289 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4291 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4296 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4297 lt_cv_file_magic_cmd=/usr/bin/file
4298 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4302 lt_cv_deplibs_check_method=unknown
4306 lt_cv_file_magic_cmd=/usr/bin/file
4307 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4308 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4309 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4311 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4315 osf3* | osf4* | osf5*)
4316 # this will be overridden with pass_all, but let us keep it just in case
4317 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4318 lt_cv_file_magic_test_file=/shlib/libc.so
4319 lt_cv_deplibs_check_method=pass_all
4323 lt_cv_deplibs_check_method=pass_all
4327 lt_cv_deplibs_check_method=pass_all
4328 lt_cv_file_magic_test_file=/lib/libc.so
4331 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4332 case $host_vendor in
4334 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]'
4335 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4338 lt_cv_deplibs_check_method=pass_all
4341 lt_cv_file_magic_cmd='/bin/file'
4342 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4345 lt_cv_file_magic_cmd='/bin/file'
4346 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4347 lt_cv_file_magic_test_file=/lib/libc.so
4350 lt_cv_deplibs_check_method=pass_all
4355 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4356 lt_cv_deplibs_check_method=pass_all
4361 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4362 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4363 file_magic_cmd=$lt_cv_file_magic_cmd
4364 deplibs_check_method=$lt_cv_deplibs_check_method
4365 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4370 # If no C compiler was specified, use CC.
4373 # Allow CC to be a program name with arguments.
4376 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4377 if test "${enable_libtool_lock+set}" = set; then
4378 enableval="$enable_libtool_lock"
4381 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4383 # Some flags need to be propagated to the compiler or linker for good
4387 # Find out which ABI we are using.
4388 echo 'int i;' > conftest.$ac_ext
4389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4390 (eval $ac_compile) 2>&5
4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393 (exit $ac_status); }; then
4394 case `/usr/bin/file conftest.$ac_objext` in
4406 # Find out which ABI we are using.
4407 echo '#line 4407 "configure"' > conftest.$ac_ext
4408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4409 (eval $ac_compile) 2>&5
4411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412 (exit $ac_status); }; then
4413 if test "$lt_cv_prog_gnu_ld" = yes; then
4414 case `/usr/bin/file conftest.$ac_objext` in
4416 LD="${LD-ld} -melf32bsmip"
4419 LD="${LD-ld} -melf32bmipn32"
4422 LD="${LD-ld} -melf64bmip"
4426 case `/usr/bin/file conftest.$ac_objext` in
4442 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4443 # Find out which ABI we are using.
4444 echo 'int i;' > conftest.$ac_ext
4445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4446 (eval $ac_compile) 2>&5
4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449 (exit $ac_status); }; then
4450 case "`/usr/bin/file conftest.o`" in
4454 LD="${LD-ld} -m elf_i386"
4457 LD="${LD-ld} -m elf32ppclinux"
4460 LD="${LD-ld} -m elf_s390"
4463 LD="${LD-ld} -m elf32_sparc"
4470 LD="${LD-ld} -m elf_x86_64"
4472 ppc*-*linux*|powerpc*-*linux*)
4473 LD="${LD-ld} -m elf64ppc"
4476 LD="${LD-ld} -m elf64_s390"
4479 LD="${LD-ld} -m elf64_sparc"
4489 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4490 SAVE_CFLAGS="$CFLAGS"
4491 CFLAGS="$CFLAGS -belf"
4492 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4493 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4494 if test "${lt_cv_cc_needs_belf+set}" = set; then
4495 echo $ECHO_N "(cached) $ECHO_C" >&6
4498 ac_cpp='$CPP $CPPFLAGS'
4499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4503 cat >conftest.$ac_ext <<_ACEOF
4504 #line $LINENO "configure"
4507 cat confdefs.h >>conftest.$ac_ext
4508 cat >>conftest.$ac_ext <<_ACEOF
4509 /* end confdefs.h. */
4519 rm -f conftest.$ac_objext conftest$ac_exeext
4520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4521 (eval $ac_link) 2>&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); } &&
4525 { ac_try='test -s conftest$ac_exeext'
4526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); }; }; then
4531 lt_cv_cc_needs_belf=yes
4533 echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4536 lt_cv_cc_needs_belf=no
4538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4540 ac_cpp='$CPP $CPPFLAGS'
4541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4546 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4547 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4548 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4549 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4550 CFLAGS="$SAVE_CFLAGS"
4556 need_locks="$enable_libtool_lock"
4560 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4561 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4562 if test "${ac_cv_header_stdc+set}" = set; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 cat >conftest.$ac_ext <<_ACEOF
4566 #line $LINENO "configure"
4569 cat confdefs.h >>conftest.$ac_ext
4570 cat >>conftest.$ac_ext <<_ACEOF
4571 /* end confdefs.h. */
4585 rm -f conftest.$ac_objext
4586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4587 (eval $ac_compile) 2>&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); } &&
4591 { ac_try='test -s conftest.$ac_objext'
4592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); }; }; then
4597 ac_cv_header_stdc=yes
4599 echo "$as_me: failed program was:" >&5
4600 sed 's/^/| /' conftest.$ac_ext >&5
4602 ac_cv_header_stdc=no
4604 rm -f conftest.$ac_objext conftest.$ac_ext
4606 if test $ac_cv_header_stdc = yes; then
4607 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4608 cat >conftest.$ac_ext <<_ACEOF
4609 #line $LINENO "configure"
4612 cat confdefs.h >>conftest.$ac_ext
4613 cat >>conftest.$ac_ext <<_ACEOF
4614 /* end confdefs.h. */
4618 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4619 $EGREP "memchr" >/dev/null 2>&1; then
4622 ac_cv_header_stdc=no
4628 if test $ac_cv_header_stdc = yes; then
4629 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4630 cat >conftest.$ac_ext <<_ACEOF
4631 #line $LINENO "configure"
4634 cat confdefs.h >>conftest.$ac_ext
4635 cat >>conftest.$ac_ext <<_ACEOF
4636 /* end confdefs.h. */
4640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4641 $EGREP "free" >/dev/null 2>&1; then
4644 ac_cv_header_stdc=no
4650 if test $ac_cv_header_stdc = yes; then
4651 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4652 if test "$cross_compiling" = yes; then
4655 cat >conftest.$ac_ext <<_ACEOF
4656 #line $LINENO "configure"
4659 cat confdefs.h >>conftest.$ac_ext
4660 cat >>conftest.$ac_ext <<_ACEOF
4661 /* end confdefs.h. */
4663 #if ((' ' & 0x0FF) == 0x020)
4664 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4665 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4667 # define ISLOWER(c) \
4668 (('a' <= (c) && (c) <= 'i') \
4669 || ('j' <= (c) && (c) <= 'r') \
4670 || ('s' <= (c) && (c) <= 'z'))
4671 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4674 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4679 for (i = 0; i < 256; i++)
4680 if (XOR (islower (i), ISLOWER (i))
4681 || toupper (i) != TOUPPER (i))
4686 rm -f conftest$ac_exeext
4687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4688 (eval $ac_link) 2>&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); }; }; then
4699 echo "$as_me: program exited with status $ac_status" >&5
4700 echo "$as_me: failed program was:" >&5
4701 sed 's/^/| /' conftest.$ac_ext >&5
4704 ac_cv_header_stdc=no
4706 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4710 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4711 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4712 if test $ac_cv_header_stdc = yes; then
4714 cat >>confdefs.h <<\_ACEOF
4715 #define STDC_HEADERS 1
4720 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4730 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4731 inttypes.h stdint.h unistd.h
4733 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4734 echo "$as_me:$LINENO: checking for $ac_header" >&5
4735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4737 echo $ECHO_N "(cached) $ECHO_C" >&6
4739 cat >conftest.$ac_ext <<_ACEOF
4740 #line $LINENO "configure"
4743 cat confdefs.h >>conftest.$ac_ext
4744 cat >>conftest.$ac_ext <<_ACEOF
4745 /* end confdefs.h. */
4746 $ac_includes_default
4748 #include <$ac_header>
4750 rm -f conftest.$ac_objext
4751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4752 (eval $ac_compile) 2>&5
4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); } &&
4756 { ac_try='test -s conftest.$ac_objext'
4757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761 (exit $ac_status); }; }; then
4762 eval "$as_ac_Header=yes"
4764 echo "$as_me: failed program was:" >&5
4765 sed 's/^/| /' conftest.$ac_ext >&5
4767 eval "$as_ac_Header=no"
4769 rm -f conftest.$ac_objext conftest.$ac_ext
4771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4774 cat >>confdefs.h <<_ACEOF
4775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4784 for ac_header in dlfcn.h
4786 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4788 echo "$as_me:$LINENO: checking for $ac_header" >&5
4789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4791 echo $ECHO_N "(cached) $ECHO_C" >&6
4793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4796 # Is the header compilable?
4797 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4798 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4799 cat >conftest.$ac_ext <<_ACEOF
4800 #line $LINENO "configure"
4803 cat confdefs.h >>conftest.$ac_ext
4804 cat >>conftest.$ac_ext <<_ACEOF
4805 /* end confdefs.h. */
4806 $ac_includes_default
4807 #include <$ac_header>
4809 rm -f conftest.$ac_objext
4810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4811 (eval $ac_compile) 2>&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); } &&
4815 { ac_try='test -s conftest.$ac_objext'
4816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820 (exit $ac_status); }; }; then
4821 ac_header_compiler=yes
4823 echo "$as_me: failed program was:" >&5
4824 sed 's/^/| /' conftest.$ac_ext >&5
4826 ac_header_compiler=no
4828 rm -f conftest.$ac_objext conftest.$ac_ext
4829 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4830 echo "${ECHO_T}$ac_header_compiler" >&6
4832 # Is the header present?
4833 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4834 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4835 cat >conftest.$ac_ext <<_ACEOF
4836 #line $LINENO "configure"
4839 cat confdefs.h >>conftest.$ac_ext
4840 cat >>conftest.$ac_ext <<_ACEOF
4841 /* end confdefs.h. */
4842 #include <$ac_header>
4844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4845 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4847 grep -v '^ *+' conftest.er1 >conftest.err
4849 cat conftest.err >&5
4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 (exit $ac_status); } >/dev/null; then
4852 if test -s conftest.err; then
4853 ac_cpp_err=$ac_c_preproc_warn_flag
4860 if test -z "$ac_cpp_err"; then
4861 ac_header_preproc=yes
4863 echo "$as_me: failed program was:" >&5
4864 sed 's/^/| /' conftest.$ac_ext >&5
4866 ac_header_preproc=no
4868 rm -f conftest.err conftest.$ac_ext
4869 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4870 echo "${ECHO_T}$ac_header_preproc" >&6
4872 # So? What about this header?
4873 case $ac_header_compiler:$ac_header_preproc in
4875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4878 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4881 ## ------------------------------------ ##
4882 ## Report this to bug-autoconf@gnu.org. ##
4883 ## ------------------------------------ ##
4886 sed "s/^/$as_me: WARNING: /" >&2
4889 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4890 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4891 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4892 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4897 ## ------------------------------------ ##
4898 ## Report this to bug-autoconf@gnu.org. ##
4899 ## ------------------------------------ ##
4902 sed "s/^/$as_me: WARNING: /" >&2
4905 echo "$as_me:$LINENO: checking for $ac_header" >&5
4906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4908 echo $ECHO_N "(cached) $ECHO_C" >&6
4910 eval "$as_ac_Header=$ac_header_preproc"
4912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4917 cat >>confdefs.h <<_ACEOF
4918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4926 ac_cpp='$CXXCPP $CPPFLAGS'
4927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4930 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4931 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4932 if test -z "$CXXCPP"; then
4933 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4934 echo $ECHO_N "(cached) $ECHO_C" >&6
4936 # Double quotes because CXXCPP needs to be expanded
4937 for CXXCPP in "$CXX -E" "/lib/cpp"
4940 for ac_cxx_preproc_warn_flag in '' yes
4942 # Use a header file that comes with gcc, so configuring glibc
4943 # with a fresh cross-compiler works.
4944 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4945 # <limits.h> exists even on freestanding compilers.
4946 # On the NeXT, cc -E runs the code through the compiler's parser,
4947 # not just through cpp. "Syntax error" is here to catch this case.
4948 cat >conftest.$ac_ext <<_ACEOF
4949 #line $LINENO "configure"
4952 cat confdefs.h >>conftest.$ac_ext
4953 cat >>conftest.$ac_ext <<_ACEOF
4954 /* end confdefs.h. */
4956 # include <limits.h>
4958 # include <assert.h>
4962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4963 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4965 grep -v '^ *+' conftest.er1 >conftest.err
4967 cat conftest.err >&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); } >/dev/null; then
4970 if test -s conftest.err; then
4971 ac_cpp_err=$ac_cxx_preproc_warn_flag
4978 if test -z "$ac_cpp_err"; then
4981 echo "$as_me: failed program was:" >&5
4982 sed 's/^/| /' conftest.$ac_ext >&5
4984 # Broken: fails on valid input.
4987 rm -f conftest.err conftest.$ac_ext
4989 # OK, works on sane cases. Now check whether non-existent headers
4990 # can be detected and how.
4991 cat >conftest.$ac_ext <<_ACEOF
4992 #line $LINENO "configure"
4995 cat confdefs.h >>conftest.$ac_ext
4996 cat >>conftest.$ac_ext <<_ACEOF
4997 /* end confdefs.h. */
4998 #include <ac_nonexistent.h>
5000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5003 grep -v '^ *+' conftest.er1 >conftest.err
5005 cat conftest.err >&5
5006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5007 (exit $ac_status); } >/dev/null; then
5008 if test -s conftest.err; then
5009 ac_cpp_err=$ac_cxx_preproc_warn_flag
5016 if test -z "$ac_cpp_err"; then
5017 # Broken: success on invalid input.
5020 echo "$as_me: failed program was:" >&5
5021 sed 's/^/| /' conftest.$ac_ext >&5
5023 # Passes both tests.
5027 rm -f conftest.err conftest.$ac_ext
5030 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5031 rm -f conftest.err conftest.$ac_ext
5032 if $ac_preproc_ok; then
5037 ac_cv_prog_CXXCPP=$CXXCPP
5040 CXXCPP=$ac_cv_prog_CXXCPP
5042 ac_cv_prog_CXXCPP=$CXXCPP
5044 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5045 echo "${ECHO_T}$CXXCPP" >&6
5047 for ac_cxx_preproc_warn_flag in '' yes
5049 # Use a header file that comes with gcc, so configuring glibc
5050 # with a fresh cross-compiler works.
5051 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5052 # <limits.h> exists even on freestanding compilers.
5053 # On the NeXT, cc -E runs the code through the compiler's parser,
5054 # not just through cpp. "Syntax error" is here to catch this case.
5055 cat >conftest.$ac_ext <<_ACEOF
5056 #line $LINENO "configure"
5059 cat confdefs.h >>conftest.$ac_ext
5060 cat >>conftest.$ac_ext <<_ACEOF
5061 /* end confdefs.h. */
5063 # include <limits.h>
5065 # include <assert.h>
5069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5070 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5072 grep -v '^ *+' conftest.er1 >conftest.err
5074 cat conftest.err >&5
5075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076 (exit $ac_status); } >/dev/null; then
5077 if test -s conftest.err; then
5078 ac_cpp_err=$ac_cxx_preproc_warn_flag
5085 if test -z "$ac_cpp_err"; then
5088 echo "$as_me: failed program was:" >&5
5089 sed 's/^/| /' conftest.$ac_ext >&5
5091 # Broken: fails on valid input.
5094 rm -f conftest.err conftest.$ac_ext
5096 # OK, works on sane cases. Now check whether non-existent headers
5097 # can be detected and how.
5098 cat >conftest.$ac_ext <<_ACEOF
5099 #line $LINENO "configure"
5102 cat confdefs.h >>conftest.$ac_ext
5103 cat >>conftest.$ac_ext <<_ACEOF
5104 /* end confdefs.h. */
5105 #include <ac_nonexistent.h>
5107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5110 grep -v '^ *+' conftest.er1 >conftest.err
5112 cat conftest.err >&5
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); } >/dev/null; then
5115 if test -s conftest.err; then
5116 ac_cpp_err=$ac_cxx_preproc_warn_flag
5123 if test -z "$ac_cpp_err"; then
5124 # Broken: success on invalid input.
5127 echo "$as_me: failed program was:" >&5
5128 sed 's/^/| /' conftest.$ac_ext >&5
5130 # Passes both tests.
5134 rm -f conftest.err conftest.$ac_ext
5137 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5138 rm -f conftest.err conftest.$ac_ext
5139 if $ac_preproc_ok; then
5142 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5143 See \`config.log' for more details." >&5
5144 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5145 See \`config.log' for more details." >&2;}
5146 { (exit 1); exit 1; }; }
5150 ac_cpp='$CXXCPP $CPPFLAGS'
5151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5157 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5158 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5159 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5160 if test -n "$ac_tool_prefix"; then
5161 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5163 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5164 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5165 echo "$as_me:$LINENO: checking for $ac_word" >&5
5166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5167 if test "${ac_cv_prog_F77+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5170 if test -n "$F77"; then
5171 ac_cv_prog_F77="$F77" # Let the user override the test.
5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5177 test -z "$as_dir" && as_dir=.
5178 for ac_exec_ext in '' $ac_executable_extensions; do
5179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5180 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5190 if test -n "$F77"; then
5191 echo "$as_me:$LINENO: result: $F77" >&5
5192 echo "${ECHO_T}$F77" >&6
5194 echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6
5198 test -n "$F77" && break
5201 if test -z "$F77"; then
5203 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5205 # Extract the first word of "$ac_prog", so it can be a program name with args.
5206 set dummy $ac_prog; ac_word=$2
5207 echo "$as_me:$LINENO: checking for $ac_word" >&5
5208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5209 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5210 echo $ECHO_N "(cached) $ECHO_C" >&6
5212 if test -n "$ac_ct_F77"; then
5213 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5219 test -z "$as_dir" && as_dir=.
5220 for ac_exec_ext in '' $ac_executable_extensions; do
5221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222 ac_cv_prog_ac_ct_F77="$ac_prog"
5223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5232 if test -n "$ac_ct_F77"; then
5233 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5234 echo "${ECHO_T}$ac_ct_F77" >&6
5236 echo "$as_me:$LINENO: result: no" >&5
5237 echo "${ECHO_T}no" >&6
5240 test -n "$ac_ct_F77" && break
5247 # Provide some information about the compiler.
5248 echo "$as_me:5248:" \
5249 "checking for Fortran 77 compiler version" >&5
5250 ac_compiler=`set X $ac_compile; echo $2`
5251 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5252 (eval $ac_compiler --version </dev/null >&5) 2>&5
5254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255 (exit $ac_status); }
5256 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5257 (eval $ac_compiler -v </dev/null >&5) 2>&5
5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260 (exit $ac_status); }
5261 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5262 (eval $ac_compiler -V </dev/null >&5) 2>&5
5264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5265 (exit $ac_status); }
5267 # If we don't use `.F' as extension, the preprocessor is not run on the
5271 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5272 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5273 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5274 echo $ECHO_N "(cached) $ECHO_C" >&6
5276 cat >conftest.$ac_ext <<_ACEOF
5284 rm -f conftest.$ac_objext
5285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5286 (eval $ac_compile) 2>&5
5288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289 (exit $ac_status); } &&
5290 { ac_try='test -s conftest.$ac_objext'
5291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295 (exit $ac_status); }; }; then
5298 echo "$as_me: failed program was:" >&5
5299 sed 's/^/| /' conftest.$ac_ext >&5
5303 rm -f conftest.$ac_objext conftest.$ac_ext
5304 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5307 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5308 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5310 G77=`test $ac_compiler_gnu = yes && echo yes`
5311 ac_test_FFLAGS=${FFLAGS+set}
5312 ac_save_FFLAGS=$FFLAGS
5314 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5315 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5316 if test "${ac_cv_prog_f77_g+set}" = set; then
5317 echo $ECHO_N "(cached) $ECHO_C" >&6
5320 cat >conftest.$ac_ext <<_ACEOF
5325 rm -f conftest.$ac_objext
5326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5327 (eval $ac_compile) 2>&5
5329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330 (exit $ac_status); } &&
5331 { ac_try='test -s conftest.$ac_objext'
5332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5336 (exit $ac_status); }; }; then
5337 ac_cv_prog_f77_g=yes
5339 echo "$as_me: failed program was:" >&5
5340 sed 's/^/| /' conftest.$ac_ext >&5
5344 rm -f conftest.$ac_objext conftest.$ac_ext
5347 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5348 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5349 if test "$ac_test_FFLAGS" = set; then
5350 FFLAGS=$ac_save_FFLAGS
5351 elif test $ac_cv_prog_f77_g = yes; then
5352 if test "$G77" = yes; then
5358 if test "$G77" = yes; then
5365 ac_cpp='$CPP $CPPFLAGS'
5366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5372 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5374 # find the maximum length of command line arguments
5375 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5376 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5377 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5378 echo $ECHO_N "(cached) $ECHO_C" >&6
5385 # On DJGPP, this test can blow up pretty badly due to problems in libc
5386 # (any single argument exceeding 2000 bytes causes a buffer overrun
5387 # during glob expansion). Even if it were fixed, the result of this
5388 # check would be larger than it should be.
5389 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5393 # Under GNU Hurd, this test is not required because there is
5394 # no limit to the length of command line arguments.
5395 # Libtool will interpret -1 as no limit whatsoever
5396 lt_cv_sys_max_cmd_len=-1;
5400 # On Win9x/ME, this test blows up -- it succeeds, but takes
5401 # about 5 minutes as the teststring grows exponentially.
5402 # Worse, since 9x/ME are not pre-emptively multitasking,
5403 # you end up with a "frozen" computer, even though with patience
5404 # the test eventually succeeds (with a max line length of 256k).
5405 # Instead, let's just punt: use the minimum linelength reported by
5406 # all of the supported platforms: 8192 (on NT/2K/XP).
5407 lt_cv_sys_max_cmd_len=8192;
5411 # If test is not a shell built-in, we'll probably end up computing a
5412 # maximum length that is only half of the actual maximum length, but
5414 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5415 = "XX$testring") >/dev/null 2>&1 &&
5416 new_result=`expr "X$testring" : ".*" 2>&1` &&
5417 lt_cv_sys_max_cmd_len=$new_result &&
5418 test $i != 17 # 1/2 MB should be enough
5421 testring=$testring$testring
5424 # Add a significant safety factor because C++ compilers can tack on massive
5425 # amounts of additional arguments before passing them to the linker.
5426 # It appears as though 1/2 is a usable value.
5427 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5433 if test -n $lt_cv_sys_max_cmd_len ; then
5434 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5435 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5437 echo "$as_me:$LINENO: result: none" >&5
5438 echo "${ECHO_T}none" >&6
5444 # Check for command to grab the raw symbol name followed by C symbol from nm.
5445 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5446 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5447 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5448 echo $ECHO_N "(cached) $ECHO_C" >&6
5451 # These are sane defaults that work on at least a few old systems.
5452 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5454 # Character class describing NM global symbol codes.
5455 symcode='[BCDEGRST]'
5457 # Regexp to match symbols that can be accessed directly from C.
5458 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5460 # Transform the above into a raw symbol and a C symbol.
5461 symxfrm='\1 \2\3 \3'
5463 # Transform an extracted symbol line into a proper C declaration
5464 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5466 # Transform an extracted symbol line into symbol name and symbol address
5467 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'"
5469 # Define system-specific variables.
5474 cygwin* | mingw* | pw32*)
5475 symcode='[ABCDGISTW]'
5477 hpux*) # Its linker distinguishes data from code symbols
5478 if test "$host_cpu" = ia64; then
5479 symcode='[ABCDEGRST]'
5481 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5482 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'"
5485 symcode='[BCDEGRST]'
5488 symcode='[BCDEGQRST]'
5498 # Handle CRLF in mingw tool chain
5502 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5506 # If we're using GNU nm, then use its standard symbol codes.
5507 case `$NM -V 2>&1` in
5508 *GNU* | *'with BFD'*)
5509 symcode='[ABCDGISTW]' ;;
5512 # Try without a prefix undercore, then with it.
5513 for ac_symprfx in "" "_"; do
5515 # Write the raw and C identifiers.
5516 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5518 # Check to see that the pipe works correctly.
5522 cat > conftest.$ac_ext <<EOF
5527 void nm_test_func(){}
5531 int main(){nm_test_var='a';nm_test_func();return(0);}
5534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5535 (eval $ac_compile) 2>&5
5537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5538 (exit $ac_status); }; then
5539 # Now try to grab the symbols.
5541 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5542 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545 (exit $ac_status); } && test -s "$nlist"; then
5546 # Try sorting and uniquifying the output.
5547 if sort "$nlist" | uniq > "$nlist"T; then
5548 mv -f "$nlist"T "$nlist"
5553 # Make sure that we snagged all the symbols we need.
5554 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5555 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5556 cat <<EOF > conftest.$ac_ext
5562 # Now generate the symbol file.
5563 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5565 cat <<EOF >> conftest.$ac_ext
5566 #if defined (__STDC__) && __STDC__
5567 # define lt_ptr_t void *
5569 # define lt_ptr_t char *
5573 /* The mapping between symbol names and symbols. */
5578 lt_preloaded_symbols[] =
5581 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5582 cat <<\EOF >> conftest.$ac_ext
5590 # Now try linking the two files.
5591 mv conftest.$ac_objext conftstm.$ac_objext
5592 lt_save_LIBS="$LIBS"
5593 lt_save_CFLAGS="$CFLAGS"
5594 LIBS="conftstm.$ac_objext"
5595 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5597 (eval $ac_link) 2>&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5603 LIBS="$lt_save_LIBS"
5604 CFLAGS="$lt_save_CFLAGS"
5606 echo "cannot find nm_test_func in $nlist" >&5
5609 echo "cannot find nm_test_var in $nlist" >&5
5612 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5615 echo "$progname: failed program was:" >&5
5616 cat conftest.$ac_ext >&5
5618 rm -f conftest* conftst*
5620 # Do not use the global_symbol_pipe unless it works.
5621 if test "$pipe_works" = yes; then
5624 lt_cv_sys_global_symbol_pipe=
5630 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5631 lt_cv_sys_global_symbol_to_cdecl=
5633 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5634 echo "$as_me:$LINENO: result: failed" >&5
5635 echo "${ECHO_T}failed" >&6
5637 echo "$as_me:$LINENO: result: ok" >&5
5638 echo "${ECHO_T}ok" >&6
5641 echo "$as_me:$LINENO: checking for objdir" >&5
5642 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5643 if test "${lt_cv_objdir+set}" = set; then
5644 echo $ECHO_N "(cached) $ECHO_C" >&6
5646 rm -f .libs 2>/dev/null
5647 mkdir .libs 2>/dev/null
5648 if test -d .libs; then
5651 # MS-DOS does not allow filenames that begin with a dot.
5654 rmdir .libs 2>/dev/null
5656 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5657 echo "${ECHO_T}$lt_cv_objdir" >&6
5658 objdir=$lt_cv_objdir
5666 # AIX sometimes has problems with the GCC collect2 program. For some
5667 # reason, if we set the COLLECT_NAMES environment variable, the problems
5668 # vanish in a puff of smoke.
5669 if test "X${COLLECT_NAMES+set}" != Xset; then
5671 export COLLECT_NAMES
5676 # Sed substitution that helps us do robust quoting. It backslashifies
5677 # metacharacters that are still active within double-quoted strings.
5678 Xsed='sed -e s/^X//'
5679 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5681 # Same as above, but do not quote variable references.
5682 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5684 # Sed substitution to delay expansion of an escaped shell variable in a
5685 # double_quote_subst'ed string.
5686 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5688 # Sed substitution to avoid accidental globbing in evaled expressions
5689 no_glob_subst='s/\*/\\\*/g'
5696 can_build_shared=yes
5698 # All known linkers require a `.a' archive for static linking (except M$VC,
5699 # which needs '.lib').
5701 ltmain="$ac_aux_dir/ltmain.sh"
5702 ofile="$default_ofile"
5703 with_gnu_ld="$lt_cv_prog_gnu_ld"
5705 if test -n "$ac_tool_prefix"; then
5706 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5707 set dummy ${ac_tool_prefix}ar; ac_word=$2
5708 echo "$as_me:$LINENO: checking for $ac_word" >&5
5709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5710 if test "${ac_cv_prog_AR+set}" = set; then
5711 echo $ECHO_N "(cached) $ECHO_C" >&6
5713 if test -n "$AR"; then
5714 ac_cv_prog_AR="$AR" # Let the user override the test.
5716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 test -z "$as_dir" && as_dir=.
5721 for ac_exec_ext in '' $ac_executable_extensions; do
5722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5723 ac_cv_prog_AR="${ac_tool_prefix}ar"
5724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 if test -n "$AR"; then
5734 echo "$as_me:$LINENO: result: $AR" >&5
5735 echo "${ECHO_T}$AR" >&6
5737 echo "$as_me:$LINENO: result: no" >&5
5738 echo "${ECHO_T}no" >&6
5742 if test -z "$ac_cv_prog_AR"; then
5744 # Extract the first word of "ar", so it can be a program name with args.
5745 set dummy ar; ac_word=$2
5746 echo "$as_me:$LINENO: checking for $ac_word" >&5
5747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5748 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5749 echo $ECHO_N "(cached) $ECHO_C" >&6
5751 if test -n "$ac_ct_AR"; then
5752 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5758 test -z "$as_dir" && as_dir=.
5759 for ac_exec_ext in '' $ac_executable_extensions; do
5760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5761 ac_cv_prog_ac_ct_AR="ar"
5762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5768 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5771 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5772 if test -n "$ac_ct_AR"; then
5773 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5774 echo "${ECHO_T}$ac_ct_AR" >&6
5776 echo "$as_me:$LINENO: result: no" >&5
5777 echo "${ECHO_T}no" >&6
5785 if test -n "$ac_tool_prefix"; then
5786 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5787 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5788 echo "$as_me:$LINENO: checking for $ac_word" >&5
5789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5790 if test "${ac_cv_prog_RANLIB+set}" = set; then
5791 echo $ECHO_N "(cached) $ECHO_C" >&6
5793 if test -n "$RANLIB"; then
5794 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800 test -z "$as_dir" && as_dir=.
5801 for ac_exec_ext in '' $ac_executable_extensions; do
5802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5803 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5812 RANLIB=$ac_cv_prog_RANLIB
5813 if test -n "$RANLIB"; then
5814 echo "$as_me:$LINENO: result: $RANLIB" >&5
5815 echo "${ECHO_T}$RANLIB" >&6
5817 echo "$as_me:$LINENO: result: no" >&5
5818 echo "${ECHO_T}no" >&6
5822 if test -z "$ac_cv_prog_RANLIB"; then
5823 ac_ct_RANLIB=$RANLIB
5824 # Extract the first word of "ranlib", so it can be a program name with args.
5825 set dummy ranlib; ac_word=$2
5826 echo "$as_me:$LINENO: checking for $ac_word" >&5
5827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5828 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5829 echo $ECHO_N "(cached) $ECHO_C" >&6
5831 if test -n "$ac_ct_RANLIB"; then
5832 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5838 test -z "$as_dir" && as_dir=.
5839 for ac_exec_ext in '' $ac_executable_extensions; do
5840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5841 ac_cv_prog_ac_ct_RANLIB="ranlib"
5842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5848 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5851 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5852 if test -n "$ac_ct_RANLIB"; then
5853 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5854 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5856 echo "$as_me:$LINENO: result: no" >&5
5857 echo "${ECHO_T}no" >&6
5860 RANLIB=$ac_ct_RANLIB
5862 RANLIB="$ac_cv_prog_RANLIB"
5865 if test -n "$ac_tool_prefix"; then
5866 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5867 set dummy ${ac_tool_prefix}strip; ac_word=$2
5868 echo "$as_me:$LINENO: checking for $ac_word" >&5
5869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5870 if test "${ac_cv_prog_STRIP+set}" = set; then
5871 echo $ECHO_N "(cached) $ECHO_C" >&6
5873 if test -n "$STRIP"; then
5874 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5883 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5892 STRIP=$ac_cv_prog_STRIP
5893 if test -n "$STRIP"; then
5894 echo "$as_me:$LINENO: result: $STRIP" >&5
5895 echo "${ECHO_T}$STRIP" >&6
5897 echo "$as_me:$LINENO: result: no" >&5
5898 echo "${ECHO_T}no" >&6
5902 if test -z "$ac_cv_prog_STRIP"; then
5904 # Extract the first word of "strip", so it can be a program name with args.
5905 set dummy strip; ac_word=$2
5906 echo "$as_me:$LINENO: checking for $ac_word" >&5
5907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5908 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5909 echo $ECHO_N "(cached) $ECHO_C" >&6
5911 if test -n "$ac_ct_STRIP"; then
5912 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5918 test -z "$as_dir" && as_dir=.
5919 for ac_exec_ext in '' $ac_executable_extensions; do
5920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5921 ac_cv_prog_ac_ct_STRIP="strip"
5922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5928 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5931 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5932 if test -n "$ac_ct_STRIP"; then
5933 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5934 echo "${ECHO_T}$ac_ct_STRIP" >&6
5936 echo "$as_me:$LINENO: result: no" >&5
5937 echo "${ECHO_T}no" >&6
5942 STRIP="$ac_cv_prog_STRIP"
5947 old_CFLAGS="$CFLAGS"
5949 # Set sane defaults for various variables
5950 test -z "$AR" && AR=ar
5951 test -z "$AR_FLAGS" && AR_FLAGS=cru
5952 test -z "$AS" && AS=as
5953 test -z "$CC" && CC=cc
5954 test -z "$LTCC" && LTCC=$CC
5955 test -z "$DLLTOOL" && DLLTOOL=dlltool
5956 test -z "$LD" && LD=ld
5957 test -z "$LN_S" && LN_S="ln -s"
5958 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5959 test -z "$NM" && NM=nm
5960 test -z "$SED" && SED=sed
5961 test -z "$OBJDUMP" && OBJDUMP=objdump
5962 test -z "$RANLIB" && RANLIB=:
5963 test -z "$STRIP" && STRIP=:
5964 test -z "$ac_objext" && ac_objext=o
5966 # Determine commands to create old-style static archives.
5967 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5968 old_postinstall_cmds='chmod 644 $oldlib'
5969 old_postuninstall_cmds=
5971 if test -n "$RANLIB"; then
5974 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5977 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5980 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5983 # Only perform the check for file, if the check method requires it
5984 case $deplibs_check_method in
5986 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5987 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5988 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5989 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5990 echo $ECHO_N "(cached) $ECHO_C" >&6
5994 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5997 lt_save_MAGIC_CMD="$MAGIC_CMD"
5998 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5999 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6000 for ac_dir in $ac_dummy; do
6002 test -z "$ac_dir" && ac_dir=.
6003 if test -f $ac_dir/${ac_tool_prefix}file; then
6004 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6005 if test -n "$file_magic_test_file"; then
6006 case $deplibs_check_method in
6008 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6009 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6010 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6011 $EGREP "$file_magic_regex" > /dev/null; then
6016 *** Warning: the command libtool uses to detect shared libraries,
6017 *** $file_magic_cmd, produces output that libtool cannot recognize.
6018 *** The result is that libtool may fail to recognize shared libraries
6019 *** as such. This will affect the creation of libtool libraries that
6020 *** depend on shared libraries, but programs linked with such libtool
6021 *** libraries will work regardless of this problem. Nevertheless, you
6022 *** may want to report the problem to your system manager and/or to
6023 *** bug-libtool@gnu.org
6033 MAGIC_CMD="$lt_save_MAGIC_CMD"
6038 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6039 if test -n "$MAGIC_CMD"; then
6040 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6041 echo "${ECHO_T}$MAGIC_CMD" >&6
6043 echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6
6047 if test -z "$lt_cv_path_MAGIC_CMD"; then
6048 if test -n "$ac_tool_prefix"; then
6049 echo "$as_me:$LINENO: checking for file" >&5
6050 echo $ECHO_N "checking for file... $ECHO_C" >&6
6051 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6052 echo $ECHO_N "(cached) $ECHO_C" >&6
6056 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6059 lt_save_MAGIC_CMD="$MAGIC_CMD"
6060 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6061 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6062 for ac_dir in $ac_dummy; do
6064 test -z "$ac_dir" && ac_dir=.
6065 if test -f $ac_dir/file; then
6066 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6067 if test -n "$file_magic_test_file"; then
6068 case $deplibs_check_method in
6070 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6071 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6072 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6073 $EGREP "$file_magic_regex" > /dev/null; then
6078 *** Warning: the command libtool uses to detect shared libraries,
6079 *** $file_magic_cmd, produces output that libtool cannot recognize.
6080 *** The result is that libtool may fail to recognize shared libraries
6081 *** as such. This will affect the creation of libtool libraries that
6082 *** depend on shared libraries, but programs linked with such libtool
6083 *** libraries will work regardless of this problem. Nevertheless, you
6084 *** may want to report the problem to your system manager and/or to
6085 *** bug-libtool@gnu.org
6095 MAGIC_CMD="$lt_save_MAGIC_CMD"
6100 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6101 if test -n "$MAGIC_CMD"; then
6102 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6103 echo "${ECHO_T}$MAGIC_CMD" >&6
6105 echo "$as_me:$LINENO: result: no" >&5
6106 echo "${ECHO_T}no" >&6
6121 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6122 if test "${enable_libtool_lock+set}" = set; then
6123 enableval="$enable_libtool_lock"
6126 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6129 # Check whether --with-pic or --without-pic was given.
6130 if test "${with_pic+set}" = set; then
6136 test -z "$pic_mode" && pic_mode=default
6138 # Use C for the default configuration in the libtool script
6142 ac_cpp='$CPP $CPPFLAGS'
6143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6148 # Source file extension for C test sources.
6151 # Object file extension for compiled C test sources.
6155 # Code to be used in simple compile tests
6156 lt_simple_compile_test_code="int some_variable = 0;\n"
6158 # Code to be used in simple link tests
6159 lt_simple_link_test_code='int main(){return(0);}\n'
6162 # If no C compiler was specified, use CC.
6165 # Allow CC to be a program name with arguments.
6170 # Check for any special shared library compilation flags.
6173 if test "$GCC" = no; then
6176 lt_prog_cc_shlib='-belf'
6180 if test -n "$lt_prog_cc_shlib"; then
6181 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6182 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6183 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6185 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6186 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6187 lt_cv_prog_cc_can_build_shared=no
6193 # Check to make sure the static flag actually works.
6195 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6196 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6197 if test "${lt_prog_compiler_static_works+set}" = set; then
6198 echo $ECHO_N "(cached) $ECHO_C" >&6
6200 lt_prog_compiler_static_works=no
6201 save_LDFLAGS="$LDFLAGS"
6202 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6203 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6204 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6205 # The compiler can only warn and ignore the option if not recognized
6206 # So say no if there are warnings
6207 if test -s conftest.err; then
6208 # Append any errors to the config.log.
6209 cat conftest.err 1>&5
6211 lt_prog_compiler_static_works=yes
6215 LDFLAGS="$save_LDFLAGS"
6218 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6219 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6221 if test x"$lt_prog_compiler_static_works" = xyes; then
6224 lt_prog_compiler_static=
6230 ## There is no encapsulation within the following macros, do not change
6231 ## the running order or otherwise move them around unless you know exactly
6232 ## what you are doing...
6234 lt_prog_compiler_no_builtin_flag=
6236 if test "$GCC" = yes; then
6237 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6239 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6240 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6241 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6242 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 lt_cv_prog_compiler_rtti_exceptions=no
6245 ac_outfile=conftest.$ac_objext
6246 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6247 lt_compiler_flag="-fno-rtti -fno-exceptions"
6248 # Insert the option either (1) after the last *FLAGS variable, or
6249 # (2) before a word containing "conftest.", or (3) at the end.
6250 # Note that $ac_compile itself does not contain backslashes and begins
6251 # with a dollar sign (not a hyphen), so the echo should work correctly.
6252 # The option is referenced via a variable to avoid confusing sed.
6253 lt_compile=`echo "$ac_compile" | $SED \
6254 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6255 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6256 -e 's:$: $lt_compiler_flag:'`
6257 (eval echo "\"\$as_me:6257: $lt_compile\"" >&5)
6258 (eval "$lt_compile" 2>conftest.err)
6260 cat conftest.err >&5
6261 echo "$as_me:6261: \$? = $ac_status" >&5
6262 if (exit $ac_status) && test -s "$ac_outfile"; then
6263 # The compiler can only warn and ignore the option if not recognized
6264 # So say no if there are warnings
6265 if test ! -s conftest.err; then
6266 lt_cv_prog_compiler_rtti_exceptions=yes
6272 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6273 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6275 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6276 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6283 lt_prog_compiler_wl=
6284 lt_prog_compiler_pic=
6285 lt_prog_compiler_static=
6287 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6288 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6290 if test "$GCC" = yes; then
6291 lt_prog_compiler_wl='-Wl,'
6292 lt_prog_compiler_static='-static'
6296 # All AIX code is PIC.
6297 if test "$host_cpu" = ia64; then
6298 # AIX 5 now supports IA64 processor
6299 lt_prog_compiler_static='-Bstatic'
6304 # FIXME: we need at least 68020 code to build shared libraries, but
6305 # adding the `-m68020' flag to GCC prevents building anything better,
6307 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6310 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6311 # PIC is the default for these OSes.
6314 mingw* | pw32* | os2*)
6315 # This hack is so that the source file can tell whether it is being
6316 # built for inclusion in a dll (and should export symbols for example).
6317 lt_prog_compiler_pic='-DDLL_EXPORT'
6320 darwin* | rhapsody*)
6321 # PIC is the default on this platform
6322 # Common symbols not allowed in MH_DYLIB files
6323 lt_prog_compiler_pic='-fno-common'
6327 # Just because we use GCC doesn't mean we suddenly get shared libraries
6328 # on systems that don't support them.
6329 lt_prog_compiler_can_build_shared=no
6334 if test -d /usr/nec; then
6335 lt_prog_compiler_pic=-Kconform_pic
6340 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6347 lt_prog_compiler_pic='-fPIC'
6353 lt_prog_compiler_pic='-fPIC'
6357 # PORTME Check for flag to pass linker flags through the system compiler.
6360 lt_prog_compiler_wl='-Wl,'
6361 if test "$host_cpu" = ia64; then
6362 # AIX 5 now supports IA64 processor
6363 lt_prog_compiler_static='-Bstatic'
6365 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6369 mingw* | pw32* | os2*)
6370 # This hack is so that the source file can tell whether it is being
6371 # built for inclusion in a dll (and should export symbols for example).
6372 lt_prog_compiler_pic='-DDLL_EXPORT'
6375 hpux9* | hpux10* | hpux11*)
6376 lt_prog_compiler_wl='-Wl,'
6377 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6384 lt_prog_compiler_pic='+Z'
6387 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6388 lt_prog_compiler_static='${wl}-a ${wl}archive'
6391 irix5* | irix6* | nonstopux*)
6392 lt_prog_compiler_wl='-Wl,'
6393 # PIC (with -KPIC) is the default.
6394 lt_prog_compiler_static='-non_shared'
6398 lt_prog_compiler_pic='-KPIC'
6399 lt_prog_compiler_static='-Bstatic'
6405 lt_prog_compiler_wl='-Wl,'
6406 lt_prog_compiler_pic='-KPIC'
6407 lt_prog_compiler_static='-static'
6410 lt_prog_compiler_wl='-Wl,'
6411 # All Alpha code is PIC.
6412 lt_prog_compiler_static='-non_shared'
6417 osf3* | osf4* | osf5*)
6418 lt_prog_compiler_wl='-Wl,'
6419 # All OSF/1 code is PIC.
6420 lt_prog_compiler_static='-non_shared'
6424 lt_prog_compiler_pic='-Kpic'
6425 lt_prog_compiler_static='-dn'
6429 lt_prog_compiler_wl='-Wl,'
6430 lt_prog_compiler_pic='-KPIC'
6431 lt_prog_compiler_static='-Bstatic'
6435 lt_prog_compiler_wl='-Qoption ld '
6436 lt_prog_compiler_pic='-PIC'
6437 lt_prog_compiler_static='-Bstatic'
6440 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6441 lt_prog_compiler_wl='-Wl,'
6442 lt_prog_compiler_pic='-KPIC'
6443 lt_prog_compiler_static='-Bstatic'
6447 if test -d /usr/nec ;then
6448 lt_prog_compiler_pic='-Kconform_pic'
6449 lt_prog_compiler_static='-Bstatic'
6454 lt_prog_compiler_pic='-pic'
6455 lt_prog_compiler_static='-Bstatic'
6459 lt_prog_compiler_can_build_shared=no
6464 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6465 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6468 # Check to make sure the PIC flag actually works.
6470 if test -n "$lt_prog_compiler_pic"; then
6471 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6472 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6473 if test "${lt_prog_compiler_pic_works+set}" = set; then
6474 echo $ECHO_N "(cached) $ECHO_C" >&6
6476 lt_prog_compiler_pic_works=no
6477 ac_outfile=conftest.$ac_objext
6478 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6479 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6480 # Insert the option either (1) after the last *FLAGS variable, or
6481 # (2) before a word containing "conftest.", or (3) at the end.
6482 # Note that $ac_compile itself does not contain backslashes and begins
6483 # with a dollar sign (not a hyphen), so the echo should work correctly.
6484 # The option is referenced via a variable to avoid confusing sed.
6485 lt_compile=`echo "$ac_compile" | $SED \
6486 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6487 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6488 -e 's:$: $lt_compiler_flag:'`
6489 (eval echo "\"\$as_me:6489: $lt_compile\"" >&5)
6490 (eval "$lt_compile" 2>conftest.err)
6492 cat conftest.err >&5
6493 echo "$as_me:6493: \$? = $ac_status" >&5
6494 if (exit $ac_status) && test -s "$ac_outfile"; then
6495 # The compiler can only warn and ignore the option if not recognized
6496 # So say no if there are warnings
6497 if test ! -s conftest.err; then
6498 lt_prog_compiler_pic_works=yes
6504 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6505 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6507 if test x"$lt_prog_compiler_pic_works" = xyes; then
6508 case $lt_prog_compiler_pic in
6510 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6513 lt_prog_compiler_pic=
6514 lt_prog_compiler_can_build_shared=no
6519 # For platforms which do not support PIC, -DPIC is meaningless:
6521 lt_prog_compiler_pic=
6524 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6528 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6529 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6530 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6531 echo $ECHO_N "(cached) $ECHO_C" >&6
6533 lt_cv_prog_compiler_c_o=no
6534 $rm -r conftest 2>/dev/null
6538 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6540 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6541 # that will create temporary files in the current directory regardless of
6542 # the output directory. Thus, making CWD read-only will cause this test
6543 # to fail, enabling locking or at least warning the user not to do parallel
6547 lt_compiler_flag="-o out/conftest2.$ac_objext"
6548 # Insert the option either (1) after the last *FLAGS variable, or
6549 # (2) before a word containing "conftest.", or (3) at the end.
6550 # Note that $ac_compile itself does not contain backslashes and begins
6551 # with a dollar sign (not a hyphen), so the echo should work correctly.
6552 lt_compile=`echo "$ac_compile" | $SED \
6553 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6554 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6555 -e 's:$: $lt_compiler_flag:'`
6556 (eval echo "\"\$as_me:6556: $lt_compile\"" >&5)
6557 (eval "$lt_compile" 2>out/conftest.err)
6559 cat out/conftest.err >&5
6560 echo "$as_me:6560: \$? = $ac_status" >&5
6561 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6563 # The compiler can only warn and ignore the option if not recognized
6564 # So say no if there are warnings
6565 if test ! -s out/conftest.err; then
6566 lt_cv_prog_compiler_c_o=yes
6577 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6578 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6581 hard_links="nottested"
6582 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6583 # do not overwrite the value of need_locks provided by the user
6584 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6585 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6588 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6590 ln conftest.a conftest.b 2>&5 || hard_links=no
6591 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6592 echo "$as_me:$LINENO: result: $hard_links" >&5
6593 echo "${ECHO_T}$hard_links" >&6
6594 if test "$hard_links" = no; then
6595 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6596 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6603 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6604 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6607 allow_undefined_flag=
6608 enable_shared_with_static_runtimes=no
6610 archive_expsym_cmds=
6611 old_archive_From_new_cmds=
6612 old_archive_from_expsyms_cmds=
6613 export_dynamic_flag_spec=
6614 whole_archive_flag_spec=
6615 thread_safe_flag_spec=
6616 hardcode_libdir_flag_spec=
6617 hardcode_libdir_flag_spec_ld=
6618 hardcode_libdir_separator=
6621 hardcode_shlibpath_var=unsupported
6622 link_all_deplibs=unknown
6623 hardcode_automatic=no
6626 always_export_symbols=no
6627 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6628 # include_expsyms should be a list of space-separated symbols to be *always*
6629 # included in the symbol list
6631 # exclude_expsyms can be an extended regexp of symbols to exclude
6632 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6633 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6634 # as well as any symbol that contains `d'.
6635 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6636 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6637 # platforms (ab)use it in PIC code, but their linkers get confused if
6638 # the symbol is explicitly referenced. Since portable code cannot
6639 # rely on this symbol name, it's probably fine to never include it in
6640 # preloaded symbol tables.
6641 extract_expsyms_cmds=
6644 cygwin* | mingw* | pw32*)
6645 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6646 # When not using gcc, we currently assume that we are using
6647 # Microsoft Visual C++.
6648 if test "$GCC" != yes; then
6658 if test "$with_gnu_ld" = yes; then
6659 # If archive_cmds runs LD, not CC, wlarc should be empty
6662 # See if GNU ld supports shared libraries.
6664 aix3* | aix4* | aix5*)
6665 # On AIX/PPC, the GNU linker is very broken
6666 if test "$host_cpu" != ia64; then
6670 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6671 *** to be unable to reliably create shared libraries on AIX.
6672 *** Therefore, libtool is disabling shared libraries support. If you
6673 *** really care for shared libraries, you may want to modify your PATH
6674 *** so that a non-GNU linker is found, and then restart.
6681 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)'
6682 hardcode_libdir_flag_spec='-L$libdir'
6683 hardcode_minus_L=yes
6685 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6686 # that the semantics of dynamic libraries on AmigaOS, at least up
6687 # to version 4, is to share data among multiple programs linked
6688 # with the same dynamic library. Since this doesn't match the
6689 # behavior of shared libraries on other platforms, we can't use
6695 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6696 allow_undefined_flag=unsupported
6697 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6698 # support --undefined. This deserves some investigation. FIXME
6699 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6705 cygwin* | mingw* | pw32*)
6706 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6707 # as there is no search path for DLLs.
6708 hardcode_libdir_flag_spec='-L$libdir'
6709 allow_undefined_flag=unsupported
6710 always_export_symbols=no
6711 enable_shared_with_static_runtimes=yes
6712 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6714 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6715 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6716 # If the export-symbols file already is a .def file (1st line
6717 # is EXPORTS), use it as is; otherwise, prepend...
6718 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6719 cp $export_symbols $output_objdir/$soname.def;
6721 echo EXPORTS > $output_objdir/$soname.def;
6722 cat $export_symbols >> $output_objdir/$soname.def;
6724 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6731 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6732 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6735 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6736 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6741 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6745 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6746 *** create shared libraries on Solaris systems. Therefore, libtool
6747 *** is disabling shared libraries support. We urge you to upgrade GNU
6748 *** binutils to release 2.9.1 or newer. Another option is to modify
6749 *** your PATH or compiler configuration so that the native linker is
6750 *** used, and then restart.
6753 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6754 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6755 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6762 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6765 hardcode_shlibpath_var=no
6769 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6770 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6771 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6778 if test "$ld_shlibs" = yes; then
6779 runpath_var=LD_RUN_PATH
6780 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6781 export_dynamic_flag_spec='${wl}--export-dynamic'
6782 # ancient GNU ld didn't support --whole-archive et. al.
6783 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6784 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6786 whole_archive_flag_spec=
6790 # PORTME fill in a description of your system's linker (not GNU ld)
6793 allow_undefined_flag=unsupported
6794 always_export_symbols=yes
6795 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'
6796 # Note: this linker hardcodes the directories in LIBPATH if there
6797 # are no directories specified by -L.
6798 hardcode_minus_L=yes
6799 if test "$GCC" = yes && test -z "$link_static_flag"; then
6800 # Neither direct hardcoding nor static linking is supported with a
6802 hardcode_direct=unsupported
6807 if test "$host_cpu" = ia64; then
6808 # On IA64, the linker does run time linking by default, so we don't
6809 # have to do anything special.
6810 aix_use_runtimelinking=no
6811 exp_sym_flag='-Bexport'
6814 # If we're using GNU nm, then we don't want the "-C" option.
6815 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6816 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6817 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'
6819 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'
6821 aix_use_runtimelinking=no
6823 # Test if we are trying to use run time linking or normal
6824 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6825 # need to do runtime linking.
6826 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6827 for ld_flag in $LDFLAGS; do
6828 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6829 aix_use_runtimelinking=yes
6835 exp_sym_flag='-bexport'
6836 no_entry_flag='-bnoentry'
6839 # When large executables or shared objects are built, AIX ld can
6840 # have problems creating the table of contents. If linking a library
6841 # or program results in "error TOC overflow" add -mminimal-toc to
6842 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6843 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6847 hardcode_libdir_separator=':'
6848 link_all_deplibs=yes
6850 if test "$GCC" = yes; then
6851 case $host_os in aix4.012|aix4.012.*)
6852 # We only want to do this on AIX 4.2 and lower, the check
6853 # below for broken collect2 doesn't work under 4.3+
6854 collect2name=`${CC} -print-prog-name=collect2`
6855 if test -f "$collect2name" && \
6856 strings "$collect2name" | grep resolve_lib_name >/dev/null
6858 # We have reworked collect2
6861 # We have old collect2
6862 hardcode_direct=unsupported
6863 # It fails to find uninstalled libraries when the uninstalled
6864 # path is not listed in the libpath. Setting hardcode_minus_L
6865 # to unsupported forces relinking
6866 hardcode_minus_L=yes
6867 hardcode_libdir_flag_spec='-L$libdir'
6868 hardcode_libdir_separator=
6871 shared_flag='-shared'
6874 if test "$host_cpu" = ia64; then
6875 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6876 # chokes on -Wl,-G. The following line is correct:
6879 if test "$aix_use_runtimelinking" = yes; then
6880 shared_flag='${wl}-G'
6882 shared_flag='${wl}-bM:SRE'
6887 # It seems that -bexpall does not export symbols beginning with
6888 # underscore (_), so it is better to generate a list of symbols to export.
6889 always_export_symbols=yes
6890 if test "$aix_use_runtimelinking" = yes; then
6891 # Warning - without using the other runtime loading flags (-brtl),
6892 # -berok will link without error, but may produce a broken library.
6893 allow_undefined_flag='-berok'
6894 # Determine the default libpath from the value encoded in an empty executable.
6895 cat >conftest.$ac_ext <<_ACEOF
6896 #line $LINENO "configure"
6899 cat confdefs.h >>conftest.$ac_ext
6900 cat >>conftest.$ac_ext <<_ACEOF
6901 /* end confdefs.h. */
6911 rm -f conftest.$ac_objext conftest$ac_exeext
6912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6913 (eval $ac_link) 2>&5
6915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6916 (exit $ac_status); } &&
6917 { ac_try='test -s conftest$ac_exeext'
6918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922 (exit $ac_status); }; }; then
6924 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6926 # Check for a 64-bit object if we didn't find anything.
6927 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; }
6930 echo "$as_me: failed program was:" >&5
6931 sed 's/^/| /' conftest.$ac_ext >&5
6934 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6935 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6937 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6938 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"
6940 if test "$host_cpu" = ia64; then
6941 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6942 allow_undefined_flag="-z nodefs"
6943 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"
6945 # Determine the default libpath from the value encoded in an empty executable.
6946 cat >conftest.$ac_ext <<_ACEOF
6947 #line $LINENO "configure"
6950 cat confdefs.h >>conftest.$ac_ext
6951 cat >>conftest.$ac_ext <<_ACEOF
6952 /* end confdefs.h. */
6962 rm -f conftest.$ac_objext conftest$ac_exeext
6963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6964 (eval $ac_link) 2>&5
6966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967 (exit $ac_status); } &&
6968 { ac_try='test -s conftest$ac_exeext'
6969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); }; }; then
6975 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6977 # Check for a 64-bit object if we didn't find anything.
6978 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; }
6981 echo "$as_me: failed program was:" >&5
6982 sed 's/^/| /' conftest.$ac_ext >&5
6985 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6986 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6988 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6989 # Warning - without using the other run time loading flags,
6990 # -berok will link without error, but may produce a broken library.
6991 no_undefined_flag=' ${wl}-bernotok'
6992 allow_undefined_flag=' ${wl}-berok'
6993 # -bexpall does not export symbols beginning with underscore (_)
6994 always_export_symbols=yes
6995 # Exported symbols can be pulled into shared objects from archives
6996 whole_archive_flag_spec=' '
6997 archive_cmds_need_lc=yes
6998 # This is similar to how AIX traditionally builds it's shared libraries.
6999 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'
7005 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)'
7006 hardcode_libdir_flag_spec='-L$libdir'
7007 hardcode_minus_L=yes
7008 # see comment about different semantics on the GNU ld section
7013 export_dynamic_flag_spec=-rdynamic
7016 cygwin* | mingw* | pw32*)
7017 # When not using gcc, we currently assume that we are using
7018 # Microsoft Visual C++.
7019 # hardcode_libdir_flag_spec is actually meaningless, as there is
7020 # no search path for DLLs.
7021 hardcode_libdir_flag_spec=' '
7022 allow_undefined_flag=unsupported
7023 # Tell ltmain to make .lib files, not .a files.
7025 # Tell ltmain to make .dll files, not .so files.
7027 # FIXME: Setting linknames here is a bad hack.
7028 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7029 # The linker will automatically build a .lib file if we build a DLL.
7030 old_archive_From_new_cmds='true'
7031 # FIXME: Should let the user specify the lib program.
7032 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7033 fix_srcfile_path='`cygpath -w "$srcfile"`'
7034 enable_shared_with_static_runtimes=yes
7037 darwin* | rhapsody*)
7038 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7039 archive_cmds_need_lc=no
7041 rhapsody* | darwin1.[012])
7042 allow_undefined_flag='-undefined suppress'
7045 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7048 # FIXME: Relying on posixy $() will cause problems for
7049 # cross-compilation, but unfortunately the echo tests do not
7050 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7051 # `"' quotes if we put them in here... so don't!
7052 lt_int_apple_cc_single_mod=no
7053 output_verbose_link_cmd='echo'
7054 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7055 lt_int_apple_cc_single_mod=yes
7057 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7058 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7060 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'
7062 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7063 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7064 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7065 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}'
7067 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}'
7069 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}'
7071 hardcode_automatic=yes
7072 hardcode_shlibpath_var=unsupported
7073 whole_archive_flag_spec='-all_load $convenience'
7074 link_all_deplibs=yes
7079 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7080 hardcode_libdir_flag_spec='-L$libdir'
7081 hardcode_shlibpath_var=no
7088 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7089 # support. Future versions do this automatically, but an explicit c++rt0.o
7090 # does not break anything, and helps significantly (at the cost of a little
7093 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7094 hardcode_libdir_flag_spec='-R$libdir'
7096 hardcode_shlibpath_var=no
7099 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7101 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7103 hardcode_minus_L=yes
7104 hardcode_shlibpath_var=no
7107 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7109 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7110 hardcode_libdir_flag_spec='-R$libdir'
7112 hardcode_shlibpath_var=no
7116 if test "$GCC" = yes; then
7117 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'
7119 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'
7121 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7122 hardcode_libdir_separator=:
7125 # hardcode_minus_L: Not really in the search PATH,
7126 # but as the default location of the library.
7127 hardcode_minus_L=yes
7128 export_dynamic_flag_spec='${wl}-E'
7132 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7135 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7138 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7144 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7147 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7151 if test "$with_gnu_ld" = no; then
7154 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7155 hardcode_libdir_flag_spec_ld='+b $libdir'
7156 hardcode_libdir_separator=:
7158 hardcode_shlibpath_var=no
7161 hardcode_libdir_flag_spec='-L$libdir'
7163 hardcode_shlibpath_var=no
7165 # hardcode_minus_L: Not really in the search PATH,
7166 # but as the default location of the library.
7167 hardcode_minus_L=yes
7170 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7171 hardcode_libdir_separator=:
7173 export_dynamic_flag_spec='${wl}-E'
7175 # hardcode_minus_L: Not really in the search PATH,
7176 # but as the default location of the library.
7177 hardcode_minus_L=yes
7183 irix5* | irix6* | nonstopux*)
7184 if test "$GCC" = yes; then
7185 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'
7187 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'
7188 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7190 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7191 hardcode_libdir_separator=:
7192 link_all_deplibs=yes
7196 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7197 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7199 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7201 hardcode_libdir_flag_spec='-R$libdir'
7203 hardcode_shlibpath_var=no
7207 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7209 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7210 hardcode_libdir_separator=:
7211 hardcode_shlibpath_var=no
7216 hardcode_shlibpath_var=no
7217 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7218 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7219 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7220 export_dynamic_flag_spec='${wl}-E'
7223 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7224 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7225 hardcode_libdir_flag_spec='-R$libdir'
7228 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7229 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7236 hardcode_libdir_flag_spec='-L$libdir'
7237 hardcode_minus_L=yes
7238 allow_undefined_flag=unsupported
7239 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'
7240 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7244 if test "$GCC" = yes; then
7245 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7246 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'
7248 allow_undefined_flag=' -expect_unresolved \*'
7249 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'
7251 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7252 hardcode_libdir_separator=:
7255 osf4* | osf5*) # as osf3* with the addition of -msym flag
7256 if test "$GCC" = yes; then
7257 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7258 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'
7259 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7261 allow_undefined_flag=' -expect_unresolved \*'
7262 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'
7263 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7264 $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'
7266 # Both c and cxx compiler support -rpath directly
7267 hardcode_libdir_flag_spec='-rpath $libdir'
7269 hardcode_libdir_separator=:
7273 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7274 hardcode_shlibpath_var=no
7275 export_dynamic_flag_spec='${wl}-Bexport'
7276 runpath_var=LD_RUN_PATH
7277 hardcode_runpath_var=yes
7281 no_undefined_flag=' -z text'
7282 if test "$GCC" = yes; then
7283 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7284 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7285 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7287 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7288 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7289 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7291 hardcode_libdir_flag_spec='-R$libdir'
7292 hardcode_shlibpath_var=no
7294 solaris2.[0-5] | solaris2.[0-5].*) ;;
7295 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7296 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7298 link_all_deplibs=yes
7302 if test "x$host_vendor" = xsequent; then
7303 # Use $CC to link under sequent, because it throws in some extra .o
7304 # files that make .init and .fini sections work.
7305 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7307 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7309 hardcode_libdir_flag_spec='-L$libdir'
7311 hardcode_minus_L=yes
7312 hardcode_shlibpath_var=no
7316 case $host_vendor in
7318 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7319 hardcode_direct=yes # is this really true???
7322 ## LD is ld it makes a PLAMLIB
7323 ## CC just makes a GrossModule.
7324 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7325 reload_cmds='$CC -r -o $output$reload_objs'
7329 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7330 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7333 runpath_var='LD_RUN_PATH'
7334 hardcode_shlibpath_var=no
7338 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7339 hardcode_shlibpath_var=no
7340 export_dynamic_flag_spec='-Bexport'
7344 if test -d /usr/nec; then
7345 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7346 hardcode_shlibpath_var=no
7347 runpath_var=LD_RUN_PATH
7348 hardcode_runpath_var=yes
7354 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7357 hardcode_shlibpath_var=no
7358 hardcode_runpath_var=yes
7359 runpath_var=LD_RUN_PATH
7362 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7363 no_undefined_flag='${wl}-z ${wl}text'
7364 if test "$GCC" = yes; then
7365 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7367 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7369 runpath_var='LD_RUN_PATH'
7370 hardcode_shlibpath_var=no
7374 no_undefined_flag=' -z text'
7375 # $CC -shared without GNU ld will not create a library from C++
7376 # object files and a static libstdc++, better avoid it by now
7377 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7378 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7379 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7380 hardcode_libdir_flag_spec=
7381 hardcode_shlibpath_var=no
7382 runpath_var='LD_RUN_PATH'
7386 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7387 hardcode_libdir_flag_spec='-L$libdir'
7388 hardcode_shlibpath_var=no
7397 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7398 echo "${ECHO_T}$ld_shlibs" >&6
7399 test "$ld_shlibs" = no && can_build_shared=no
7401 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7402 if test "$GCC" = yes; then
7403 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7407 # Do we need to explicitly link libc?
7409 case "x$archive_cmds_need_lc" in
7411 # Assume -lc should be added
7412 archive_cmds_need_lc=yes
7414 if test "$enable_shared" = yes && test "$GCC" = yes; then
7415 case $archive_cmds in
7417 # FIXME: we may have to deal with multi-command sequences.
7420 # Test whether the compiler implicitly links with -lc since on some
7421 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7422 # to ld, don't add -lc before -lgcc.
7423 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7424 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7426 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7429 (eval $ac_compile) 2>&5
7431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7432 (exit $ac_status); } 2>conftest.err; then
7435 libobjs=conftest.$ac_objext
7437 wl=$lt_prog_compiler_wl
7443 lt_save_allow_undefined_flag=$allow_undefined_flag
7444 allow_undefined_flag=
7445 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7446 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449 (exit $ac_status); }
7451 archive_cmds_need_lc=no
7453 archive_cmds_need_lc=yes
7455 allow_undefined_flag=$lt_save_allow_undefined_flag
7457 cat conftest.err 1>&5
7460 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7461 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7468 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7469 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7471 if test -n "$hardcode_libdir_flag_spec" || \
7472 test -n "$runpath_var " || \
7473 test "X$hardcode_automatic"="Xyes" ; then
7475 # We can hardcode non-existant directories.
7476 if test "$hardcode_direct" != no &&
7477 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7478 # have to relink, otherwise we might link with an installed library
7479 # when we should be linking with a yet-to-be-installed one
7480 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7481 test "$hardcode_minus_L" != no; then
7482 # Linking always hardcodes the temporary library directory.
7483 hardcode_action=relink
7485 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7486 hardcode_action=immediate
7489 # We cannot hardcode anything, or else we can only hardcode existing
7491 hardcode_action=unsupported
7493 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7494 echo "${ECHO_T}$hardcode_action" >&6
7496 if test "$hardcode_action" = relink; then
7497 # Fast installation is not supported
7498 enable_fast_install=no
7499 elif test "$shlibpath_overrides_runpath" = yes ||
7500 test "$enable_shared" = no; then
7501 # Fast installation is not necessary
7502 enable_fast_install=needless
7507 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7508 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7509 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7510 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7511 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7512 echo "$as_me:$LINENO: result: yes" >&5
7513 echo "${ECHO_T}yes" >&6
7515 # FIXME - insert some real tests, host_os isn't really good enough
7518 if test -n "$STRIP" ; then
7519 striplib="$STRIP -x"
7520 echo "$as_me:$LINENO: result: yes" >&5
7521 echo "${ECHO_T}yes" >&6
7523 echo "$as_me:$LINENO: result: no" >&5
7524 echo "${ECHO_T}no" >&6
7528 echo "$as_me:$LINENO: result: no" >&5
7529 echo "${ECHO_T}no" >&6
7534 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7535 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7537 libname_spec='lib$name'
7545 shlibpath_overrides_runpath=unknown
7547 dynamic_linker="$host_os ld.so"
7548 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7549 if test "$GCC" = yes; then
7550 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7551 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7552 # if the path contains ";" then we assume it to be the separator
7553 # otherwise default to the standard path separator (i.e. ":") - it is
7554 # assumed that no part of a normal pathname contains ";" but that should
7555 # okay in the real world where ";" in dirpaths is itself problematic.
7556 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7558 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7561 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7563 need_lib_prefix=unknown
7564 hardcode_into_libs=no
7566 # when you set need_version to no, make sure it does not cause -set_version
7567 # flags to be left without arguments
7568 need_version=unknown
7573 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7574 shlibpath_var=LIBPATH
7576 # AIX 3 has no versioning support, so we append a major version to the name.
7577 soname_spec='${libname}${release}${shared_ext}$major'
7584 hardcode_into_libs=yes
7585 if test "$host_cpu" = ia64; then
7586 # AIX 5 supports IA64
7587 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7588 shlibpath_var=LD_LIBRARY_PATH
7590 # With GCC up to 2.95.x, collect2 would create an import file
7591 # for dependence libraries. The import file would start with
7592 # the line `#! .'. This would cause the generated library to
7593 # depend on `.', always an invalid library. This was fixed in
7594 # development snapshots of GCC prior to 3.0.
7596 aix4 | aix4.[01] | aix4.[01].*)
7597 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7599 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7606 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7607 # soname into executable. Probably we can add versioning support to
7608 # collect2, so additional links can be useful in future.
7609 if test "$aix_use_runtimelinking" = yes; then
7610 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7611 # instead of lib<name>.a to let people know that these are not
7612 # typical AIX shared libraries.
7613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7615 # We preserve .a as extension for shared libraries through AIX4.2
7616 # and later when we are not doing run time linking.
7617 library_names_spec='${libname}${release}.a $libname.a'
7618 soname_spec='${libname}${release}${shared_ext}$major'
7620 shlibpath_var=LIBPATH
7625 library_names_spec='$libname.ixlibrary $libname.a'
7626 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7627 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'
7631 library_names_spec='${libname}${shared_ext}'
7632 dynamic_linker="$host_os ld.so"
7633 shlibpath_var=LIBRARY_PATH
7639 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7640 soname_spec='${libname}${release}${shared_ext}$major'
7641 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7642 shlibpath_var=LD_LIBRARY_PATH
7643 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7644 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7645 # the default ld.so.conf also contains /usr/contrib/lib and
7646 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7647 # libtool to hard-code these into programs
7650 cygwin* | mingw* | pw32*)
7651 version_type=windows
7656 case $GCC,$host_os in
7657 yes,cygwin* | yes,mingw* | yes,pw32*)
7658 library_names_spec='$libname.dll.a'
7659 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7660 postinstall_cmds='base_file=`basename \${file}`~
7661 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7662 dldir=$destdir/`dirname \$dlpath`~
7663 test -d \$dldir || mkdir -p \$dldir~
7664 $install_prog $dir/$dlname \$dldir/$dlname'
7665 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7666 dlpath=$dir/\$dldll~
7668 shlibpath_overrides_runpath=yes
7672 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7673 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7674 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7677 # MinGW DLLs use traditional 'lib' prefix
7678 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7679 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7680 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7681 # It is most probably a Windows format PATH printed by
7682 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7683 # path with ; separators, and with drive letters. We can handle the
7684 # drive letters (cygwin fileutils understands them), so leave them,
7685 # especially as we might pass files found there to a mingw objdump,
7686 # which wouldn't understand a cygwinified path. Ahh.
7687 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7689 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7693 # pw32 DLLs use 'pw' prefix rather than 'lib'
7694 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7700 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7703 dynamic_linker='Win32 ld.exe'
7704 # FIXME: first we should search . and the directory the executable is in
7708 darwin* | rhapsody*)
7709 dynamic_linker="$host_os dyld"
7713 # FIXME: Relying on posixy $() will cause problems for
7714 # cross-compilation, but unfortunately the echo tests do not
7715 # yet detect zsh echo's removal of \ escapes.
7716 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7717 soname_spec='${libname}${release}${major}$shared_ext'
7718 shlibpath_overrides_runpath=yes
7719 shlibpath_var=DYLD_LIBRARY_PATH
7720 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7721 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7722 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7723 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"`
7725 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7733 soname_spec='${libname}${release}${shared_ext}$major'
7734 shlibpath_var=LD_LIBRARY_PATH
7742 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7743 version_type=freebsd-$objformat
7744 case $version_type in
7746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7751 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7755 shlibpath_var=LD_LIBRARY_PATH
7758 shlibpath_overrides_runpath=yes
7760 freebsd3.01* | freebsdelf3.01*)
7761 shlibpath_overrides_runpath=yes
7762 hardcode_into_libs=yes
7765 shlibpath_overrides_runpath=no
7766 hardcode_into_libs=yes
7775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7776 soname_spec='${libname}${release}${shared_ext}$major'
7777 shlibpath_var=LD_LIBRARY_PATH
7778 hardcode_into_libs=yes
7781 hpux9* | hpux10* | hpux11*)
7782 # Give a soname corresponding to the major version so that dld.sl refuses to
7783 # link against other versions.
7790 hardcode_into_libs=yes
7791 dynamic_linker="$host_os dld.so"
7792 shlibpath_var=LD_LIBRARY_PATH
7793 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7795 soname_spec='${libname}${release}${shared_ext}$major'
7796 if test "X$HPUX_IA64_MODE" = X32; then
7797 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7799 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7801 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7805 hardcode_into_libs=yes
7806 dynamic_linker="$host_os dld.sl"
7807 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7808 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7810 soname_spec='${libname}${release}${shared_ext}$major'
7811 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7812 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7816 dynamic_linker="$host_os dld.sl"
7817 shlibpath_var=SHLIB_PATH
7818 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7820 soname_spec='${libname}${release}${shared_ext}$major'
7823 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7824 postinstall_cmds='chmod 555 $lib'
7827 irix5* | irix6* | nonstopux*)
7829 nonstopux*) version_type=nonstopux ;;
7831 if test "$lt_cv_prog_gnu_ld" = yes; then
7839 soname_spec='${libname}${release}${shared_ext}$major'
7840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7842 irix5* | nonstopux*)
7846 case $LD in # libtool.m4 will add one of these switches to LD
7847 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7848 libsuff= shlibsuff= libmagic=32-bit;;
7849 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7850 libsuff=32 shlibsuff=N32 libmagic=N32;;
7851 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7852 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7853 *) libsuff= shlibsuff= libmagic=never-match;;
7857 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7858 shlibpath_overrides_runpath=no
7859 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7860 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7861 hardcode_into_libs=yes
7864 # No shared lib support for Linux oldld, aout, or coff.
7865 linux*oldld* | linux*aout* | linux*coff*)
7869 # This must be Linux ELF.
7874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7875 soname_spec='${libname}${release}${shared_ext}$major'
7876 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7877 shlibpath_var=LD_LIBRARY_PATH
7878 shlibpath_overrides_runpath=no
7879 # This implies no fast_install, which is unacceptable.
7880 # Some rework will be needed to allow for fast_install
7881 # before this can be enabled.
7882 hardcode_into_libs=yes
7884 # We used to test for /lib/ld.so.1 and disable shared libraries on
7885 # powerpc, because MkLinux only supported shared libraries with the
7886 # GNU dynamic linker. Since this was broken with cross compilers,
7887 # most powerpc-linux boxes support dynamic linking these days and
7888 # people can always --disable-shared, the test was removed, and we
7889 # assume the GNU/Linux dynamic linker is in use.
7890 dynamic_linker='GNU/Linux ld.so'
7897 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7899 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7900 dynamic_linker='NetBSD (a.out) ld.so'
7902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7903 soname_spec='${libname}${release}${shared_ext}$major'
7904 dynamic_linker='NetBSD ld.elf_so'
7906 shlibpath_var=LD_LIBRARY_PATH
7907 shlibpath_overrides_runpath=yes
7908 hardcode_into_libs=yes
7913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7914 shlibpath_var=LD_LIBRARY_PATH
7915 shlibpath_overrides_runpath=yes
7922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7923 soname_spec='${libname}${release}${shared_ext}$major'
7924 shlibpath_var=LD_LIBRARY_PATH
7925 shlibpath_overrides_runpath=yes
7932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7933 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7934 shlibpath_var=LD_LIBRARY_PATH
7935 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7937 openbsd2.[89] | openbsd2.[89].*)
7938 shlibpath_overrides_runpath=no
7941 shlibpath_overrides_runpath=yes
7945 shlibpath_overrides_runpath=yes
7950 libname_spec='$name'
7953 library_names_spec='$libname${shared_ext} $libname.a'
7954 dynamic_linker='OS/2 ld.exe'
7955 shlibpath_var=LIBPATH
7958 osf3* | osf4* | osf5*)
7962 soname_spec='${libname}${release}${shared_ext}$major'
7963 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7964 shlibpath_var=LD_LIBRARY_PATH
7965 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7966 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7971 soname_spec='${libname}${release}${shared_ext}$major'
7972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7973 shlibpath_var=LD_LIBRARY_PATH
7980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7981 soname_spec='${libname}${release}${shared_ext}$major'
7982 shlibpath_var=LD_LIBRARY_PATH
7983 shlibpath_overrides_runpath=yes
7984 hardcode_into_libs=yes
7985 # ldd complains unless libraries are executable
7986 postinstall_cmds='chmod +x $lib'
7991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7992 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7993 shlibpath_var=LD_LIBRARY_PATH
7994 shlibpath_overrides_runpath=yes
7995 if test "$with_gnu_ld" = yes; then
8001 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8004 soname_spec='${libname}${release}${shared_ext}$major'
8005 shlibpath_var=LD_LIBRARY_PATH
8006 case $host_vendor in
8008 shlibpath_overrides_runpath=no
8010 export_dynamic_flag_spec='${wl}-Blargedynsym'
8011 runpath_var=LD_RUN_PATH
8019 shlibpath_overrides_runpath=no
8020 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8026 if test -d /usr/nec ;then
8028 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8029 soname_spec='$libname${shared_ext}.$major'
8030 shlibpath_var=LD_LIBRARY_PATH
8036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8037 soname_spec='${libname}${release}${shared_ext}$major'
8038 shlibpath_var=LD_LIBRARY_PATH
8045 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8046 echo "${ECHO_T}$dynamic_linker" >&6
8047 test "$dynamic_linker" = no && can_build_shared=no
8049 if test "x$enable_dlopen" != xyes; then
8050 enable_dlopen=unknown
8051 enable_dlopen_self=unknown
8052 enable_dlopen_self_static=unknown
8059 lt_cv_dlopen="load_add_on"
8061 lt_cv_dlopen_self=yes
8065 lt_cv_dlopen="LoadLibrary"
8070 lt_cv_dlopen="dlopen"
8075 # if libdl is installed we need to link against it
8076 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8077 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8078 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8079 echo $ECHO_N "(cached) $ECHO_C" >&6
8081 ac_check_lib_save_LIBS=$LIBS
8083 cat >conftest.$ac_ext <<_ACEOF
8084 #line $LINENO "configure"
8087 cat confdefs.h >>conftest.$ac_ext
8088 cat >>conftest.$ac_ext <<_ACEOF
8089 /* end confdefs.h. */
8091 /* Override any gcc2 internal prototype to avoid an error. */
8095 /* We use char because int might match the return type of a gcc2
8096 builtin and then its argument prototype would still apply. */
8106 rm -f conftest.$ac_objext conftest$ac_exeext
8107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8108 (eval $ac_link) 2>&5
8110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8111 (exit $ac_status); } &&
8112 { ac_try='test -s conftest$ac_exeext'
8113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8117 (exit $ac_status); }; }; then
8118 ac_cv_lib_dl_dlopen=yes
8120 echo "$as_me: failed program was:" >&5
8121 sed 's/^/| /' conftest.$ac_ext >&5
8123 ac_cv_lib_dl_dlopen=no
8125 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8126 LIBS=$ac_check_lib_save_LIBS
8128 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8129 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8130 if test $ac_cv_lib_dl_dlopen = yes; then
8131 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8136 lt_cv_dlopen_self=yes
8143 echo "$as_me:$LINENO: checking for shl_load" >&5
8144 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8145 if test "${ac_cv_func_shl_load+set}" = set; then
8146 echo $ECHO_N "(cached) $ECHO_C" >&6
8148 cat >conftest.$ac_ext <<_ACEOF
8149 #line $LINENO "configure"
8152 cat confdefs.h >>conftest.$ac_ext
8153 cat >>conftest.$ac_ext <<_ACEOF
8154 /* end confdefs.h. */
8155 /* System header to define __stub macros and hopefully few prototypes,
8156 which can conflict with char shl_load (); below.
8157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8158 <limits.h> exists even on freestanding compilers. */
8160 # include <limits.h>
8162 # include <assert.h>
8164 /* Override any gcc2 internal prototype to avoid an error. */
8169 /* We use char because int might match the return type of a gcc2
8170 builtin and then its argument prototype would still apply. */
8172 /* The GNU C library defines this for functions which it implements
8173 to always fail with ENOSYS. Some functions are actually named
8174 something starting with __ and the normal name is an alias. */
8175 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8178 char (*f) () = shl_load;
8187 return f != shl_load;
8192 rm -f conftest.$ac_objext conftest$ac_exeext
8193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8194 (eval $ac_link) 2>&5
8196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 (exit $ac_status); } &&
8198 { ac_try='test -s conftest$ac_exeext'
8199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8203 (exit $ac_status); }; }; then
8204 ac_cv_func_shl_load=yes
8206 echo "$as_me: failed program was:" >&5
8207 sed 's/^/| /' conftest.$ac_ext >&5
8209 ac_cv_func_shl_load=no
8211 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8213 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8214 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8215 if test $ac_cv_func_shl_load = yes; then
8216 lt_cv_dlopen="shl_load"
8218 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8219 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8220 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8221 echo $ECHO_N "(cached) $ECHO_C" >&6
8223 ac_check_lib_save_LIBS=$LIBS
8225 cat >conftest.$ac_ext <<_ACEOF
8226 #line $LINENO "configure"
8229 cat confdefs.h >>conftest.$ac_ext
8230 cat >>conftest.$ac_ext <<_ACEOF
8231 /* end confdefs.h. */
8233 /* Override any gcc2 internal prototype to avoid an error. */
8237 /* We use char because int might match the return type of a gcc2
8238 builtin and then its argument prototype would still apply. */
8248 rm -f conftest.$ac_objext conftest$ac_exeext
8249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8250 (eval $ac_link) 2>&5
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); } &&
8254 { ac_try='test -s conftest$ac_exeext'
8255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 (exit $ac_status); }; }; then
8260 ac_cv_lib_dld_shl_load=yes
8262 echo "$as_me: failed program was:" >&5
8263 sed 's/^/| /' conftest.$ac_ext >&5
8265 ac_cv_lib_dld_shl_load=no
8267 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8268 LIBS=$ac_check_lib_save_LIBS
8270 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8271 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8272 if test $ac_cv_lib_dld_shl_load = yes; then
8273 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8275 echo "$as_me:$LINENO: checking for dlopen" >&5
8276 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8277 if test "${ac_cv_func_dlopen+set}" = set; then
8278 echo $ECHO_N "(cached) $ECHO_C" >&6
8280 cat >conftest.$ac_ext <<_ACEOF
8281 #line $LINENO "configure"
8284 cat confdefs.h >>conftest.$ac_ext
8285 cat >>conftest.$ac_ext <<_ACEOF
8286 /* end confdefs.h. */
8287 /* System header to define __stub macros and hopefully few prototypes,
8288 which can conflict with char dlopen (); below.
8289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8290 <limits.h> exists even on freestanding compilers. */
8292 # include <limits.h>
8294 # include <assert.h>
8296 /* Override any gcc2 internal prototype to avoid an error. */
8301 /* We use char because int might match the return type of a gcc2
8302 builtin and then its argument prototype would still apply. */
8304 /* The GNU C library defines this for functions which it implements
8305 to always fail with ENOSYS. Some functions are actually named
8306 something starting with __ and the normal name is an alias. */
8307 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8310 char (*f) () = dlopen;
8324 rm -f conftest.$ac_objext conftest$ac_exeext
8325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8326 (eval $ac_link) 2>&5
8328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8329 (exit $ac_status); } &&
8330 { ac_try='test -s conftest$ac_exeext'
8331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335 (exit $ac_status); }; }; then
8336 ac_cv_func_dlopen=yes
8338 echo "$as_me: failed program was:" >&5
8339 sed 's/^/| /' conftest.$ac_ext >&5
8341 ac_cv_func_dlopen=no
8343 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8345 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8346 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8347 if test $ac_cv_func_dlopen = yes; then
8348 lt_cv_dlopen="dlopen"
8350 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8351 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8352 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8353 echo $ECHO_N "(cached) $ECHO_C" >&6
8355 ac_check_lib_save_LIBS=$LIBS
8357 cat >conftest.$ac_ext <<_ACEOF
8358 #line $LINENO "configure"
8361 cat confdefs.h >>conftest.$ac_ext
8362 cat >>conftest.$ac_ext <<_ACEOF
8363 /* end confdefs.h. */
8365 /* Override any gcc2 internal prototype to avoid an error. */
8369 /* We use char because int might match the return type of a gcc2
8370 builtin and then its argument prototype would still apply. */
8380 rm -f conftest.$ac_objext conftest$ac_exeext
8381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8382 (eval $ac_link) 2>&5
8384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8385 (exit $ac_status); } &&
8386 { ac_try='test -s conftest$ac_exeext'
8387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8391 (exit $ac_status); }; }; then
8392 ac_cv_lib_dl_dlopen=yes
8394 echo "$as_me: failed program was:" >&5
8395 sed 's/^/| /' conftest.$ac_ext >&5
8397 ac_cv_lib_dl_dlopen=no
8399 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8400 LIBS=$ac_check_lib_save_LIBS
8402 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8403 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8404 if test $ac_cv_lib_dl_dlopen = yes; then
8405 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8407 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8408 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8409 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8410 echo $ECHO_N "(cached) $ECHO_C" >&6
8412 ac_check_lib_save_LIBS=$LIBS
8414 cat >conftest.$ac_ext <<_ACEOF
8415 #line $LINENO "configure"
8418 cat confdefs.h >>conftest.$ac_ext
8419 cat >>conftest.$ac_ext <<_ACEOF
8420 /* end confdefs.h. */
8422 /* Override any gcc2 internal prototype to avoid an error. */
8426 /* We use char because int might match the return type of a gcc2
8427 builtin and then its argument prototype would still apply. */
8437 rm -f conftest.$ac_objext conftest$ac_exeext
8438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8439 (eval $ac_link) 2>&5
8441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442 (exit $ac_status); } &&
8443 { ac_try='test -s conftest$ac_exeext'
8444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448 (exit $ac_status); }; }; then
8449 ac_cv_lib_svld_dlopen=yes
8451 echo "$as_me: failed program was:" >&5
8452 sed 's/^/| /' conftest.$ac_ext >&5
8454 ac_cv_lib_svld_dlopen=no
8456 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8457 LIBS=$ac_check_lib_save_LIBS
8459 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8460 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8461 if test $ac_cv_lib_svld_dlopen = yes; then
8462 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8464 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8465 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8466 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8467 echo $ECHO_N "(cached) $ECHO_C" >&6
8469 ac_check_lib_save_LIBS=$LIBS
8471 cat >conftest.$ac_ext <<_ACEOF
8472 #line $LINENO "configure"
8475 cat confdefs.h >>conftest.$ac_ext
8476 cat >>conftest.$ac_ext <<_ACEOF
8477 /* end confdefs.h. */
8479 /* Override any gcc2 internal prototype to avoid an error. */
8483 /* We use char because int might match the return type of a gcc2
8484 builtin and then its argument prototype would still apply. */
8494 rm -f conftest.$ac_objext conftest$ac_exeext
8495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8496 (eval $ac_link) 2>&5
8498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8499 (exit $ac_status); } &&
8500 { ac_try='test -s conftest$ac_exeext'
8501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505 (exit $ac_status); }; }; then
8506 ac_cv_lib_dld_dld_link=yes
8508 echo "$as_me: failed program was:" >&5
8509 sed 's/^/| /' conftest.$ac_ext >&5
8511 ac_cv_lib_dld_dld_link=no
8513 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8514 LIBS=$ac_check_lib_save_LIBS
8516 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8517 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8518 if test $ac_cv_lib_dld_dld_link = yes; then
8519 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8540 if test "x$lt_cv_dlopen" != xno; then
8546 case $lt_cv_dlopen in
8548 save_CPPFLAGS="$CPPFLAGS"
8549 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8551 save_LDFLAGS="$LDFLAGS"
8552 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8555 LIBS="$lt_cv_dlopen_libs $LIBS"
8557 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8558 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8559 if test "${lt_cv_dlopen_self+set}" = set; then
8560 echo $ECHO_N "(cached) $ECHO_C" >&6
8562 if test "$cross_compiling" = yes; then :
8563 lt_cv_dlopen_self=cross
8565 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8566 lt_status=$lt_dlunknown
8567 cat > conftest.$ac_ext <<EOF
8568 #line 8568 "configure"
8569 #include "confdefs.h"
8578 # define LT_DLGLOBAL RTLD_GLOBAL
8581 # define LT_DLGLOBAL DL_GLOBAL
8583 # define LT_DLGLOBAL 0
8587 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8588 find out it does not work in some platform. */
8589 #ifndef LT_DLLAZY_OR_NOW
8591 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8594 # define LT_DLLAZY_OR_NOW DL_LAZY
8597 # define LT_DLLAZY_OR_NOW RTLD_NOW
8600 # define LT_DLLAZY_OR_NOW DL_NOW
8602 # define LT_DLLAZY_OR_NOW 0
8610 extern "C" void exit (int);
8613 void fnord() { int i=42;}
8616 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8617 int status = $lt_dlunknown;
8621 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8622 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8623 /* dlclose (self); */
8629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8630 (eval $ac_link) 2>&5
8632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8634 (./conftest; exit; ) 2>/dev/null
8637 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8638 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8639 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8642 # compilation failed
8643 lt_cv_dlopen_self=no
8650 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8651 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8653 if test "x$lt_cv_dlopen_self" = xyes; then
8654 LDFLAGS="$LDFLAGS $link_static_flag"
8655 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8656 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8657 if test "${lt_cv_dlopen_self_static+set}" = set; then
8658 echo $ECHO_N "(cached) $ECHO_C" >&6
8660 if test "$cross_compiling" = yes; then :
8661 lt_cv_dlopen_self_static=cross
8663 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8664 lt_status=$lt_dlunknown
8665 cat > conftest.$ac_ext <<EOF
8666 #line 8666 "configure"
8667 #include "confdefs.h"
8676 # define LT_DLGLOBAL RTLD_GLOBAL
8679 # define LT_DLGLOBAL DL_GLOBAL
8681 # define LT_DLGLOBAL 0
8685 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8686 find out it does not work in some platform. */
8687 #ifndef LT_DLLAZY_OR_NOW
8689 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8692 # define LT_DLLAZY_OR_NOW DL_LAZY
8695 # define LT_DLLAZY_OR_NOW RTLD_NOW
8698 # define LT_DLLAZY_OR_NOW DL_NOW
8700 # define LT_DLLAZY_OR_NOW 0
8708 extern "C" void exit (int);
8711 void fnord() { int i=42;}
8714 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8715 int status = $lt_dlunknown;
8719 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8720 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8721 /* dlclose (self); */
8727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8728 (eval $ac_link) 2>&5
8730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8731 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8732 (./conftest; exit; ) 2>/dev/null
8735 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8736 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8737 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8740 # compilation failed
8741 lt_cv_dlopen_self_static=no
8748 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8749 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8752 CPPFLAGS="$save_CPPFLAGS"
8753 LDFLAGS="$save_LDFLAGS"
8758 case $lt_cv_dlopen_self in
8759 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8760 *) enable_dlopen_self=unknown ;;
8763 case $lt_cv_dlopen_self_static in
8764 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8765 *) enable_dlopen_self_static=unknown ;;
8770 # Report which librarie types wil actually be built
8771 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8772 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8773 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8774 echo "${ECHO_T}$can_build_shared" >&6
8776 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8777 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8778 test "$can_build_shared" = "no" && enable_shared=no
8780 # On AIX, shared libraries and static libraries use the same namespace, and
8781 # are all built from PIC.
8784 test "$enable_shared" = yes && enable_static=no
8785 if test -n "$RANLIB"; then
8786 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8787 postinstall_cmds='$RANLIB $lib'
8792 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8793 test "$enable_shared" = yes && enable_static=no
8796 darwin* | rhapsody*)
8797 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8798 archive_cmds_need_lc=no
8800 rhapsody* | darwin1.[012])
8801 allow_undefined_flag='-undefined suppress'
8804 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8807 # FIXME: Relying on posixy $() will cause problems for
8808 # cross-compilation, but unfortunately the echo tests do not
8809 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8810 # `"' quotes if we put them in here... so don't!
8811 output_verbose_link_cmd='echo'
8812 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8813 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8814 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8815 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}'
8816 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}'
8818 hardcode_automatic=yes
8819 hardcode_shlibpath_var=unsupported
8820 whole_archive_flag_spec='-all_load $convenience'
8821 link_all_deplibs=yes
8825 echo "$as_me:$LINENO: result: $enable_shared" >&5
8826 echo "${ECHO_T}$enable_shared" >&6
8828 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8829 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8830 # Make sure either enable_shared or enable_static is yes.
8831 test "$enable_shared" = yes || enable_static=yes
8832 echo "$as_me:$LINENO: result: $enable_static" >&5
8833 echo "${ECHO_T}$enable_static" >&6
8835 # The else clause should only fire when bootstrapping the
8836 # libtool distribution, otherwise you forgot to ship ltmain.sh
8837 # with your package, and you will get complaints that there are
8838 # no rules to generate ltmain.sh.
8839 if test -f "$ltmain"; then
8840 # See if we are running on zsh, and set the options which allow our commands through
8841 # without removal of \ escapes.
8842 if test -n "${ZSH_VERSION+set}" ; then
8843 setopt NO_GLOB_SUBST
8845 # Now quote all the things that may contain metacharacters while being
8846 # careful not to overquote the AC_SUBSTed values. We take copies of the
8847 # variables and quote the copies for generation of the libtool script.
8848 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8849 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8850 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8851 deplibs_check_method reload_flag reload_cmds need_locks \
8852 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8853 lt_cv_sys_global_symbol_to_c_name_address \
8854 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8855 old_postinstall_cmds old_postuninstall_cmds \
8859 lt_prog_compiler_wl \
8860 lt_prog_compiler_pic \
8861 lt_prog_compiler_static \
8862 lt_prog_compiler_no_builtin_flag \
8863 export_dynamic_flag_spec \
8864 thread_safe_flag_spec \
8865 whole_archive_flag_spec \
8866 enable_shared_with_static_runtimes \
8868 old_archive_from_new_cmds \
8873 compiler_lib_search_path \
8875 archive_expsym_cmds \
8877 postuninstall_cmds \
8878 old_archive_from_expsyms_cmds \
8879 allow_undefined_flag \
8881 export_symbols_cmds \
8882 hardcode_libdir_flag_spec \
8883 hardcode_libdir_flag_spec_ld \
8884 hardcode_libdir_separator \
8885 hardcode_automatic \
8887 module_expsym_cmds \
8888 lt_cv_prog_compiler_c_o \
8893 old_archive_cmds | \
8894 old_archive_from_new_cmds | \
8896 archive_expsym_cmds | \
8898 module_expsym_cmds | \
8899 old_archive_from_expsyms_cmds | \
8900 export_symbols_cmds | \
8901 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8902 postinstall_cmds | postuninstall_cmds | \
8903 old_postinstall_cmds | old_postuninstall_cmds | \
8904 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8905 # Double-quote double-evaled strings.
8906 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8909 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8915 *'\$0 --fallback-echo"')
8916 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8921 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8923 { echo "$as_me:$LINENO: creating $ofile" >&5
8924 echo "$as_me: creating $ofile" >&6;}
8926 cat <<__EOF__ >> "$cfgfile"
8929 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8930 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8931 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8933 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8934 # Free Software Foundation, Inc.
8936 # This file is part of GNU Libtool:
8937 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8939 # This program is free software; you can redistribute it and/or modify
8940 # it under the terms of the GNU General Public License as published by
8941 # the Free Software Foundation; either version 2 of the License, or
8942 # (at your option) any later version.
8944 # This program is distributed in the hope that it will be useful, but
8945 # WITHOUT ANY WARRANTY; without even the implied warranty of
8946 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8947 # General Public License for more details.
8949 # You should have received a copy of the GNU General Public License
8950 # along with this program; if not, write to the Free Software
8951 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8953 # As a special exception to the GNU General Public License, if you
8954 # distribute this file as part of a program that contains a
8955 # configuration script generated by Autoconf, you may include it under
8956 # the same distribution terms that you use for the rest of that program.
8958 # A sed program that does not truncate output.
8961 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8962 Xsed="$SED -e s/^X//"
8964 # The HP-UX ksh and POSIX shell print the target directory to stdout
8966 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8968 # The names of the tagged configurations supported by this script.
8971 # ### BEGIN LIBTOOL CONFIG
8973 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8975 # Shell to use when invoking shell scripts.
8978 # Whether or not to build shared libraries.
8979 build_libtool_libs=$enable_shared
8981 # Whether or not to build static libraries.
8982 build_old_libs=$enable_static
8984 # Whether or not to add -lc for building shared libraries.
8985 build_libtool_need_lc=$archive_cmds_need_lc
8987 # Whether or not to disallow shared libs when runtime libs are static
8988 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8990 # Whether or not to optimize for fast installation.
8991 fast_install=$enable_fast_install
8994 host_alias=$host_alias
8997 # An echo program that does not interpret backslashes.
9002 AR_FLAGS=$lt_AR_FLAGS
9007 # A language-specific compiler.
9010 # Is the compiler the GNU C compiler?
9016 # The linker used to build libraries.
9019 # Whether we need hard or soft links.
9022 # A BSD-compatible nm program.
9025 # A symbol stripping program
9028 # Used to examine libraries when file_magic_cmd begins "file"
9029 MAGIC_CMD=$MAGIC_CMD
9031 # Used on cygwin: DLL creation program.
9034 # Used on cygwin: object dumper.
9037 # Used on cygwin: assembler.
9040 # The name of the directory that contains temporary libtool files.
9043 # How to create reloadable object files.
9044 reload_flag=$lt_reload_flag
9045 reload_cmds=$lt_reload_cmds
9047 # How to pass a linker flag through the compiler.
9048 wl=$lt_lt_prog_compiler_wl
9050 # Object file suffix (normally "o").
9053 # Old archive suffix (normally "a").
9056 # Shared library suffix (normally ".so").
9059 # Executable file suffix (normally "").
9062 # Additional compiler flags for building library objects.
9063 pic_flag=$lt_lt_prog_compiler_pic
9066 # What is the maximum length of a command?
9067 max_cmd_len=$lt_cv_sys_max_cmd_len
9069 # Does compiler simultaneously support -c and -o options?
9070 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9072 # Must we lock files when doing compilation ?
9073 need_locks=$lt_need_locks
9075 # Do we need the lib prefix for modules?
9076 need_lib_prefix=$need_lib_prefix
9078 # Do we need a version for libraries?
9079 need_version=$need_version
9081 # Whether dlopen is supported.
9082 dlopen_support=$enable_dlopen
9084 # Whether dlopen of programs is supported.
9085 dlopen_self=$enable_dlopen_self
9087 # Whether dlopen of statically linked programs is supported.
9088 dlopen_self_static=$enable_dlopen_self_static
9090 # Compiler flag to prevent dynamic linking.
9091 link_static_flag=$lt_lt_prog_compiler_static
9093 # Compiler flag to turn off builtin functions.
9094 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9096 # Compiler flag to allow reflexive dlopens.
9097 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9099 # Compiler flag to generate shared objects directly from archives.
9100 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9102 # Compiler flag to generate thread-safe objects.
9103 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9105 # Library versioning type.
9106 version_type=$version_type
9108 # Format of library name prefix.
9109 libname_spec=$lt_libname_spec
9111 # List of archive names. First name is the real one, the rest are links.
9112 # The last name is the one that the linker finds with -lNAME.
9113 library_names_spec=$lt_library_names_spec
9115 # The coded name of the library, if different from the real name.
9116 soname_spec=$lt_soname_spec
9118 # Commands used to build and install an old-style archive.
9120 old_archive_cmds=$lt_old_archive_cmds
9121 old_postinstall_cmds=$lt_old_postinstall_cmds
9122 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9124 # Create an old-style archive from a shared archive.
9125 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9127 # Create a temporary old-style archive to link instead of a shared archive.
9128 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9130 # Commands used to build and install a shared archive.
9131 archive_cmds=$lt_archive_cmds
9132 archive_expsym_cmds=$lt_archive_expsym_cmds
9133 postinstall_cmds=$lt_postinstall_cmds
9134 postuninstall_cmds=$lt_postuninstall_cmds
9136 # Commands used to build a loadable module (assumed same as above if empty)
9137 module_cmds=$lt_module_cmds
9138 module_expsym_cmds=$lt_module_expsym_cmds
9140 # Commands to strip libraries.
9141 old_striplib=$lt_old_striplib
9142 striplib=$lt_striplib
9144 # Dependencies to place before the objects being linked to create a
9146 predep_objects=$lt_predep_objects
9148 # Dependencies to place after the objects being linked to create a
9150 postdep_objects=$lt_postdep_objects
9152 # Dependencies to place before the objects being linked to create a
9156 # Dependencies to place after the objects being linked to create a
9158 postdeps=$lt_postdeps
9160 # The library search path used internally by the compiler when linking
9162 compiler_lib_search_path=$lt_compiler_lib_search_path
9164 # Method to check whether dependent libraries are shared objects.
9165 deplibs_check_method=$lt_deplibs_check_method
9167 # Command to use when deplibs_check_method == file_magic.
9168 file_magic_cmd=$lt_file_magic_cmd
9170 # Flag that allows shared libraries with undefined symbols to be built.
9171 allow_undefined_flag=$lt_allow_undefined_flag
9173 # Flag that forces no undefined symbols.
9174 no_undefined_flag=$lt_no_undefined_flag
9176 # Commands used to finish a libtool library installation in a directory.
9177 finish_cmds=$lt_finish_cmds
9179 # Same as above, but a single script fragment to be evaled but not shown.
9180 finish_eval=$lt_finish_eval
9182 # Take the output of nm and produce a listing of raw symbols and C names.
9183 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9185 # Transform the output of nm in a proper C declaration
9186 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9188 # Transform the output of nm in a C name address pair
9189 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9191 # This is the shared library runtime path variable.
9192 runpath_var=$runpath_var
9194 # This is the shared library path variable.
9195 shlibpath_var=$shlibpath_var
9197 # Is shlibpath searched before the hard-coded library search path?
9198 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9200 # How to hardcode a shared library path into an executable.
9201 hardcode_action=$hardcode_action
9203 # Whether we should hardcode library paths into libraries.
9204 hardcode_into_libs=$hardcode_into_libs
9206 # Flag to hardcode \$libdir into a binary during linking.
9207 # This must work even if \$libdir does not exist.
9208 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9210 # If ld is used when linking, flag to hardcode \$libdir into
9211 # a binary during linking. This must work even if \$libdir does
9213 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9215 # Whether we need a single -rpath flag with a separated argument.
9216 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9218 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9220 hardcode_direct=$hardcode_direct
9222 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9224 hardcode_minus_L=$hardcode_minus_L
9226 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9227 # the resulting binary.
9228 hardcode_shlibpath_var=$hardcode_shlibpath_var
9230 # Set to yes if building a shared library automatically hardcodes DIR into the library
9231 # and all subsequent libraries and executables linked against it.
9232 hardcode_automatic=$hardcode_automatic
9234 # Variables whose values should be saved in libtool wrapper scripts and
9235 # restored at relink time.
9236 variables_saved_for_relink="$variables_saved_for_relink"
9238 # Whether libtool must link a program against all its dependency libraries.
9239 link_all_deplibs=$link_all_deplibs
9241 # Compile-time system search path for libraries
9242 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9244 # Run-time system search path for libraries
9245 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9247 # Fix the shell variable \$srcfile for the compiler.
9248 fix_srcfile_path="$fix_srcfile_path"
9250 # Set to yes if exported symbols are required.
9251 always_export_symbols=$always_export_symbols
9253 # The commands to list exported symbols.
9254 export_symbols_cmds=$lt_export_symbols_cmds
9256 # The commands to extract the exported symbol list from a shared archive.
9257 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9259 # Symbols that should not be listed in the preloaded symbols.
9260 exclude_expsyms=$lt_exclude_expsyms
9262 # Symbols that must always be exported.
9263 include_expsyms=$lt_include_expsyms
9265 # ### END LIBTOOL CONFIG
9272 cat <<\EOF >> "$cfgfile"
9274 # AIX sometimes has problems with the GCC collect2 program. For some
9275 # reason, if we set the COLLECT_NAMES environment variable, the problems
9276 # vanish in a puff of smoke.
9277 if test "X${COLLECT_NAMES+set}" != Xset; then
9279 export COLLECT_NAMES
9285 # We use sed instead of cat because bash on DJGPP gets confused if
9286 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9287 # text mode, it properly converts lines to CR/LF. This bash problem
9288 # is reportedly fixed, but why not run on old versions too?
9289 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9291 mv -f "$cfgfile" "$ofile" || \
9292 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9296 # If there is no Makefile yet, we rely on a make rule to execute
9297 # `config.status --recheck' to rerun these tests and create the
9298 # libtool script then.
9299 test -f Makefile && make "$ltmain"
9304 ac_cpp='$CPP $CPPFLAGS'
9305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9312 # Check whether --with-tags or --without-tags was given.
9313 if test "${with_tags+set}" = set; then
9314 withval="$with_tags"
9318 if test -f "$ltmain" && test -n "$tagnames"; then
9319 if test ! -f "${ofile}"; then
9320 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9321 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9324 if test -z "$LTCC"; then
9325 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9326 if test -z "$LTCC"; then
9327 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9328 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9330 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9331 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9335 # Extract list of available tagged configurations in $ofile.
9336 # Note that this assumes the entire list is on one line.
9337 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9339 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9340 for tagname in $tagnames; do
9342 # Check whether tagname contains only valid characters
9343 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9345 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9346 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9347 { (exit 1); exit 1; }; }
9351 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9353 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9354 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9355 { (exit 1); exit 1; }; }
9358 # Update the list of available tags.
9359 if test -n "$tagname"; then
9360 echo appending configuration tag \"$tagname\" to $ofile
9364 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9366 ac_cpp='$CXXCPP $CPPFLAGS'
9367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9374 archive_cmds_need_lc_CXX=no
9375 allow_undefined_flag_CXX=
9376 always_export_symbols_CXX=no
9377 archive_expsym_cmds_CXX=
9378 export_dynamic_flag_spec_CXX=
9379 hardcode_direct_CXX=no
9380 hardcode_libdir_flag_spec_CXX=
9381 hardcode_libdir_flag_spec_ld_CXX=
9382 hardcode_libdir_separator_CXX=
9383 hardcode_minus_L_CXX=no
9384 hardcode_automatic_CXX=no
9386 module_expsym_cmds_CXX=
9387 link_all_deplibs_CXX=unknown
9388 old_archive_cmds_CXX=$old_archive_cmds
9389 no_undefined_flag_CXX=
9390 whole_archive_flag_spec_CXX=
9391 enable_shared_with_static_runtimes_CXX=no
9393 # Dependencies to place before and after the object being linked:
9395 postdep_objects_CXX=
9398 compiler_lib_search_path_CXX=
9400 # Source file extension for C++ test sources.
9403 # Object file extension for compiled C++ test sources.
9407 # Code to be used in simple compile tests
9408 lt_simple_compile_test_code="int some_variable = 0;\n"
9410 # Code to be used in simple link tests
9411 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9413 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9415 # If no C compiler was specified, use CC.
9418 # Allow CC to be a program name with arguments.
9422 # Allow CC to be a program name with arguments.
9427 lt_save_with_gnu_ld=$with_gnu_ld
9428 lt_save_path_LD=$lt_cv_path_LD
9429 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9430 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9432 unset lt_cv_prog_gnu_ld
9434 if test -n "${lt_cv_path_LDCXX+set}"; then
9435 lt_cv_path_LD=$lt_cv_path_LDCXX
9439 test -z "${LDCXX+set}" || LD=$LDCXX
9443 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9445 # We don't want -fno-exception wen compiling C++ code, so set the
9446 # no_builtin_flag separately
9447 if test "$GXX" = yes; then
9448 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9450 lt_prog_compiler_no_builtin_flag_CXX=
9453 if test "$GXX" = yes; then
9454 # Set up default GNU C++ configuration
9457 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9458 if test "${with_gnu_ld+set}" = set; then
9459 withval="$with_gnu_ld"
9460 test "$withval" = no || with_gnu_ld=yes
9465 if test "$GCC" = yes; then
9466 # Check if gcc -print-prog-name=ld gives a path.
9467 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9468 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9471 # gcc leaves a trailing carriage return which upsets mingw
9472 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9474 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9477 # Accept absolute paths.
9479 re_direlt='/[^/][^/]*/\.\./'
9480 # Canonicalize the path of ld
9481 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9482 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9483 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9485 test -z "$LD" && LD="$ac_prog"
9488 # If it fails, then pretend we aren't using GCC.
9492 # If it is relative, then search for the first ld in PATH.
9496 elif test "$with_gnu_ld" = yes; then
9497 echo "$as_me:$LINENO: checking for GNU ld" >&5
9498 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9500 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9501 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9503 if test "${lt_cv_path_LD+set}" = set; then
9504 echo $ECHO_N "(cached) $ECHO_C" >&6
9506 if test -z "$LD"; then
9507 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9508 for ac_dir in $PATH; do
9510 test -z "$ac_dir" && ac_dir=.
9511 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9512 lt_cv_path_LD="$ac_dir/$ac_prog"
9513 # Check to see if the program is GNU ld. I'd rather use --version,
9514 # but apparently some GNU ld's only accept -v.
9515 # Break only if it was the GNU/non-GNU ld that we prefer.
9516 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9517 *GNU* | *'with BFD'*)
9518 test "$with_gnu_ld" != no && break
9521 test "$with_gnu_ld" != yes && break
9528 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9533 if test -n "$LD"; then
9534 echo "$as_me:$LINENO: result: $LD" >&5
9535 echo "${ECHO_T}$LD" >&6
9537 echo "$as_me:$LINENO: result: no" >&5
9538 echo "${ECHO_T}no" >&6
9540 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9541 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9542 { (exit 1); exit 1; }; }
9543 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9544 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9545 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9546 echo $ECHO_N "(cached) $ECHO_C" >&6
9548 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9549 case `"$LD" -v 2>&1 </dev/null` in
9550 *GNU* | *'with BFD'*)
9551 lt_cv_prog_gnu_ld=yes
9554 lt_cv_prog_gnu_ld=no
9558 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9559 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9560 with_gnu_ld=$lt_cv_prog_gnu_ld
9564 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9565 # archiving commands below assume that GNU ld is being used.
9566 if test "$with_gnu_ld" = yes; then
9567 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9568 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'
9570 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9571 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9573 # If archive_cmds runs LD, not CC, wlarc should be empty
9574 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9575 # investigate it a little bit more. (MM)
9578 # ancient GNU ld didn't support --whole-archive et. al.
9579 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9580 grep 'no-whole-archive' > /dev/null; then
9581 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9583 whole_archive_flag_spec_CXX=
9589 # A generic and very simple default shared library creation
9590 # command for GNU C++ for the case where it uses the native
9591 # linker, instead of GNU ld. If possible, this setting should
9592 # overridden to take advantage of the native linker features on
9593 # the platform it is being used on.
9594 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9597 # Commands to make compiler produce verbose output that lists
9598 # what "hidden" libraries, object files and flags are used when
9599 # linking a shared library.
9600 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9608 # PORTME: fill in a description of your system's C++ link characteristics
9609 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9610 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9614 # FIXME: insert proper C++ library support
9618 if test "$host_cpu" = ia64; then
9619 # On IA64, the linker does run time linking by default, so we don't
9620 # have to do anything special.
9621 aix_use_runtimelinking=no
9622 exp_sym_flag='-Bexport'
9625 aix_use_runtimelinking=no
9627 # Test if we are trying to use run time linking or normal
9628 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9629 # need to do runtime linking.
9630 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9631 for ld_flag in $LDFLAGS; do
9634 aix_use_runtimelinking=yes
9641 exp_sym_flag='-bexport'
9642 no_entry_flag='-bnoentry'
9645 # When large executables or shared objects are built, AIX ld can
9646 # have problems creating the table of contents. If linking a library
9647 # or program results in "error TOC overflow" add -mminimal-toc to
9648 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9649 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9652 hardcode_direct_CXX=yes
9653 hardcode_libdir_separator_CXX=':'
9654 link_all_deplibs_CXX=yes
9656 if test "$GXX" = yes; then
9657 case $host_os in aix4.012|aix4.012.*)
9658 # We only want to do this on AIX 4.2 and lower, the check
9659 # below for broken collect2 doesn't work under 4.3+
9660 collect2name=`${CC} -print-prog-name=collect2`
9661 if test -f "$collect2name" && \
9662 strings "$collect2name" | grep resolve_lib_name >/dev/null
9664 # We have reworked collect2
9665 hardcode_direct_CXX=yes
9667 # We have old collect2
9668 hardcode_direct_CXX=unsupported
9669 # It fails to find uninstalled libraries when the uninstalled
9670 # path is not listed in the libpath. Setting hardcode_minus_L
9671 # to unsupported forces relinking
9672 hardcode_minus_L_CXX=yes
9673 hardcode_libdir_flag_spec_CXX='-L$libdir'
9674 hardcode_libdir_separator_CXX=
9677 shared_flag='-shared'
9680 if test "$host_cpu" = ia64; then
9681 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9682 # chokes on -Wl,-G. The following line is correct:
9685 if test "$aix_use_runtimelinking" = yes; then
9686 shared_flag='${wl}-G'
9688 shared_flag='${wl}-bM:SRE'
9693 # It seems that -bexpall does not export symbols beginning with
9694 # underscore (_), so it is better to generate a list of symbols to export.
9695 always_export_symbols_CXX=yes
9696 if test "$aix_use_runtimelinking" = yes; then
9697 # Warning - without using the other runtime loading flags (-brtl),
9698 # -berok will link without error, but may produce a broken library.
9699 allow_undefined_flag_CXX='-berok'
9700 # Determine the default libpath from the value encoded in an empty executable.
9701 cat >conftest.$ac_ext <<_ACEOF
9702 #line $LINENO "configure"
9705 cat confdefs.h >>conftest.$ac_ext
9706 cat >>conftest.$ac_ext <<_ACEOF
9707 /* end confdefs.h. */
9717 rm -f conftest.$ac_objext conftest$ac_exeext
9718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9719 (eval $ac_link) 2>&5
9721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9722 (exit $ac_status); } &&
9723 { ac_try='test -s conftest$ac_exeext'
9724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728 (exit $ac_status); }; }; then
9730 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9732 # Check for a 64-bit object if we didn't find anything.
9733 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; }
9736 echo "$as_me: failed program was:" >&5
9737 sed 's/^/| /' conftest.$ac_ext >&5
9740 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9741 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9743 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9745 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"
9747 if test "$host_cpu" = ia64; then
9748 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9749 allow_undefined_flag_CXX="-z nodefs"
9750 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"
9752 # Determine the default libpath from the value encoded in an empty executable.
9753 cat >conftest.$ac_ext <<_ACEOF
9754 #line $LINENO "configure"
9757 cat confdefs.h >>conftest.$ac_ext
9758 cat >>conftest.$ac_ext <<_ACEOF
9759 /* end confdefs.h. */
9769 rm -f conftest.$ac_objext conftest$ac_exeext
9770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9771 (eval $ac_link) 2>&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); } &&
9775 { ac_try='test -s conftest$ac_exeext'
9776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 (exit $ac_status); }; }; then
9782 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9784 # Check for a 64-bit object if we didn't find anything.
9785 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; }
9788 echo "$as_me: failed program was:" >&5
9789 sed 's/^/| /' conftest.$ac_ext >&5
9792 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9793 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9795 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9796 # Warning - without using the other run time loading flags,
9797 # -berok will link without error, but may produce a broken library.
9798 no_undefined_flag_CXX=' ${wl}-bernotok'
9799 allow_undefined_flag_CXX=' ${wl}-berok'
9800 # -bexpall does not export symbols beginning with underscore (_)
9801 always_export_symbols_CXX=yes
9802 # Exported symbols can be pulled into shared objects from archives
9803 whole_archive_flag_spec_CXX=' '
9804 archive_cmds_need_lc_CXX=yes
9805 # This is similar to how AIX traditionally builds it's shared libraries.
9806 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'
9811 case $cc_basename in
9813 # FIXME: insert proper C++ library support
9819 cygwin* | mingw* | pw32*)
9820 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9821 # as there is no search path for DLLs.
9822 hardcode_libdir_flag_spec_CXX='-L$libdir'
9823 allow_undefined_flag_CXX=unsupported
9824 always_export_symbols_CXX=no
9825 enable_shared_with_static_runtimes_CXX=yes
9827 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9828 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'
9829 # If the export-symbols file already is a .def file (1st line
9830 # is EXPORTS), use it as is; otherwise, prepend...
9831 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9832 cp $export_symbols $output_objdir/$soname.def;
9834 echo EXPORTS > $output_objdir/$soname.def;
9835 cat $export_symbols >> $output_objdir/$soname.def;
9837 $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'
9843 darwin* | rhapsody*)
9844 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9845 archive_cmds_need_lc_CXX=no
9847 rhapsody* | darwin1.[012])
9848 allow_undefined_flag_CXX='-undefined suppress'
9851 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9854 lt_int_apple_cc_single_mod=no
9855 output_verbose_link_cmd='echo'
9856 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9857 lt_int_apple_cc_single_mod=yes
9859 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9860 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9862 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'
9864 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9866 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9867 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9868 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}'
9870 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}'
9872 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}'
9873 hardcode_direct_CXX=no
9874 hardcode_automatic_CXX=yes
9875 hardcode_shlibpath_var_CXX=unsupported
9876 whole_archive_flag_spec_CXX='-all_load $convenience'
9877 link_all_deplibs_CXX=yes
9882 case $cc_basename in
9884 # FIXME: insert proper C++ library support
9888 # Green Hills C++ Compiler
9889 # FIXME: insert proper C++ library support
9893 # FIXME: insert proper C++ library support
9899 # C++ shared libraries reported to be fairly broken before switch to ELF
9903 archive_cmds_need_lc_CXX=no
9906 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9913 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9914 hardcode_libdir_separator_CXX=:
9915 export_dynamic_flag_spec_CXX='${wl}-E'
9916 hardcode_direct_CXX=yes
9917 hardcode_minus_L_CXX=yes # Not in the search PATH,
9918 # but as the default
9919 # location of the library.
9921 case $cc_basename in
9923 # FIXME: insert proper C++ library support
9927 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'
9928 # Commands to make compiler produce verbose output that lists
9929 # what "hidden" libraries, object files and flags are used when
9930 # linking a shared library.
9932 # There doesn't appear to be a way to prevent this compiler from
9933 # explicitly linking system object files so we need to strip them
9934 # from the output so that they don't get included in the library
9936 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'
9939 if test "$GXX" = yes; then
9940 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'
9942 # FIXME: insert proper C++ library support
9949 if test $with_gnu_ld = no; then
9952 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9953 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9954 hardcode_libdir_separator_CXX=:
9957 hardcode_libdir_flag_spec_CXX='-L$libdir'
9960 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9961 hardcode_libdir_separator_CXX=:
9962 export_dynamic_flag_spec_CXX='${wl}-E'
9968 hardcode_direct_CXX=no
9969 hardcode_shlibpath_var_CXX=no
9972 hardcode_direct_CXX=no
9973 hardcode_shlibpath_var_CXX=no
9974 hardcode_minus_L_CXX=yes # Not in the search PATH,
9975 # but as the default
9976 # location of the library.
9979 hardcode_direct_CXX=yes
9980 hardcode_minus_L_CXX=yes # Not in the search PATH,
9981 # but as the default
9982 # location of the library.
9986 case $cc_basename in
9988 # FIXME: insert proper C++ library support
9994 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9997 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10000 # Commands to make compiler produce verbose output that lists
10001 # what "hidden" libraries, object files and flags are used when
10002 # linking a shared library.
10004 # There doesn't appear to be a way to prevent this compiler from
10005 # explicitly linking system object files so we need to strip them
10006 # from the output so that they don't get included in the library
10008 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'
10011 if test "$GXX" = yes; then
10012 if test $with_gnu_ld = no; then
10013 case "$host_cpu" in
10015 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10018 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'
10023 # FIXME: insert proper C++ library support
10030 case $cc_basename in
10033 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'
10035 # Archives containing C++ object files must be created using
10036 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10037 # necessary to make sure instantiated templates are included
10039 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10042 if test "$GXX" = yes; then
10043 if test "$with_gnu_ld" = no; then
10044 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'
10046 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'
10049 link_all_deplibs_CXX=yes
10052 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10053 hardcode_libdir_separator_CXX=:
10056 case $cc_basename in
10058 # Kuck and Associates, Inc. (KAI) C++ Compiler
10060 # KCC will only create a shared library if the output file
10061 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10062 # to its proper name (with version) after linking.
10063 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'
10064 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'
10065 # Commands to make compiler produce verbose output that lists
10066 # what "hidden" libraries, object files and flags are used when
10067 # linking a shared library.
10069 # There doesn't appear to be a way to prevent this compiler from
10070 # explicitly linking system object files so we need to strip them
10071 # from the output so that they don't get included in the library
10073 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'
10075 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10076 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10078 # Archives containing C++ object files must be created using
10079 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10080 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10085 archive_cmds_need_lc_CXX=no
10086 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10087 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'
10088 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10089 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10090 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10094 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10095 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'
10097 runpath_var=LD_RUN_PATH
10098 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10099 hardcode_libdir_separator_CXX=:
10101 # Commands to make compiler produce verbose output that lists
10102 # what "hidden" libraries, object files and flags are used when
10103 # linking a shared library.
10105 # There doesn't appear to be a way to prevent this compiler from
10106 # explicitly linking system object files so we need to strip them
10107 # from the output so that they don't get included in the library
10109 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'
10114 # FIXME: insert proper C++ library support
10118 # FIXME: insert proper C++ library support
10122 case $cc_basename in
10124 # FIXME: insert proper C++ library support
10128 # FIXME: insert proper C++ library support
10134 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10135 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10137 hardcode_libdir_flag_spec_CXX='-R$libdir'
10138 hardcode_direct_CXX=yes
10139 hardcode_shlibpath_var_CXX=no
10141 # Workaround some broken pre-1.5 toolchains
10142 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10145 case $cc_basename in
10147 # Kuck and Associates, Inc. (KAI) C++ Compiler
10149 # KCC will only create a shared library if the output file
10150 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10151 # to its proper name (with version) after linking.
10152 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
10154 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10155 hardcode_libdir_separator_CXX=:
10157 # Archives containing C++ object files must be created using
10158 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10159 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10163 # Rational C++ 2.4.1
10164 # FIXME: insert proper C++ library support
10168 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10169 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'
10171 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10172 hardcode_libdir_separator_CXX=:
10174 # Commands to make compiler produce verbose output that lists
10175 # what "hidden" libraries, object files and flags are used when
10176 # linking a shared library.
10178 # There doesn't appear to be a way to prevent this compiler from
10179 # explicitly linking system object files so we need to strip them
10180 # from the output so that they don't get included in the library
10182 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'
10185 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10186 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10187 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'
10189 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10190 hardcode_libdir_separator_CXX=:
10192 # Commands to make compiler produce verbose output that lists
10193 # what "hidden" libraries, object files and flags are used when
10194 # linking a shared library.
10195 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10198 # FIXME: insert proper C++ library support
10205 case $cc_basename in
10207 # Kuck and Associates, Inc. (KAI) C++ Compiler
10209 # KCC will only create a shared library if the output file
10210 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10211 # to its proper name (with version) after linking.
10212 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'
10214 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10215 hardcode_libdir_separator_CXX=:
10217 # Archives containing C++ object files must be created using
10218 # the KAI C++ compiler.
10219 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10222 # Rational C++ 2.4.1
10223 # FIXME: insert proper C++ library support
10227 allow_undefined_flag_CXX=' -expect_unresolved \*'
10228 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'
10229 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10230 echo "-hidden">> $lib.exp~
10231 $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~
10234 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10235 hardcode_libdir_separator_CXX=:
10237 # Commands to make compiler produce verbose output that lists
10238 # what "hidden" libraries, object files and flags are used when
10239 # linking a shared library.
10241 # There doesn't appear to be a way to prevent this compiler from
10242 # explicitly linking system object files so we need to strip them
10243 # from the output so that they don't get included in the library
10245 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'
10248 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10249 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10250 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'
10252 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10253 hardcode_libdir_separator_CXX=:
10255 # Commands to make compiler produce verbose output that lists
10256 # what "hidden" libraries, object files and flags are used when
10257 # linking a shared library.
10258 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10261 # FIXME: insert proper C++ library support
10268 # FIXME: insert proper C++ library support
10272 archive_cmds_need_lc_CXX=no
10273 case $cc_basename in
10275 # FIXME: insert proper C++ library support
10279 # FIXME: insert proper C++ library support
10285 case $cc_basename in
10288 # FIXME: insert proper C++ library support
10293 # FIXME: insert proper C++ library support
10297 # FIXME: insert proper C++ library support
10303 case $cc_basename in
10305 # Sun C++ 4.2, 5.x and Centerline C++
10306 no_undefined_flag_CXX=' -zdefs'
10307 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10308 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10309 $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'
10311 hardcode_libdir_flag_spec_CXX='-R$libdir'
10312 hardcode_shlibpath_var_CXX=no
10314 solaris2.0-5 | solaris2.0-5.*) ;;
10316 # The C++ compiler is used as linker so we must use $wl
10317 # flag to pass the commands to the underlying system
10319 # Supported since Solaris 2.6 (maybe 2.5.1?)
10320 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10323 link_all_deplibs_CXX=yes
10325 # Commands to make compiler produce verbose output that lists
10326 # what "hidden" libraries, object files and flags are used when
10327 # linking a shared library.
10329 # There doesn't appear to be a way to prevent this compiler from
10330 # explicitly linking system object files so we need to strip them
10331 # from the output so that they don't get included in the library
10333 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'
10335 # Archives containing C++ object files must be created using
10336 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10337 # necessary to make sure instantiated templates are included
10339 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10342 # Green Hills C++ Compiler
10343 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10345 # The C++ compiler must be used to create the archive.
10346 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10349 # GNU C++ compiler with Solaris linker
10350 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10351 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10352 if $CC --version | grep -v '^2\.7' > /dev/null; then
10353 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10354 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10355 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10357 # Commands to make compiler produce verbose output that lists
10358 # what "hidden" libraries, object files and flags are used when
10359 # linking a shared library.
10360 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10362 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10364 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10365 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10366 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10368 # Commands to make compiler produce verbose output that lists
10369 # what "hidden" libraries, object files and flags are used when
10370 # linking a shared library.
10371 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10374 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10379 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10380 archive_cmds_need_lc_CXX=no
10383 case $cc_basename in
10385 # NonStop-UX NCC 3.20
10386 # FIXME: insert proper C++ library support
10390 # FIXME: insert proper C++ library support
10396 # FIXME: insert proper C++ library support
10400 # FIXME: insert proper C++ library support
10404 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10405 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10406 test "$ld_shlibs_CXX" = no && can_build_shared=no
10412 ## There is no encapsulation within the following macros, do not change
10413 ## the running order or otherwise move them around unless you know exactly
10414 ## what you are doing...
10416 cat > conftest.$ac_ext <<EOF
10420 Foo (void) { a = 0; }
10426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10427 (eval $ac_compile) 2>&5
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); }; then
10431 # Parse the compiler output and extract the necessary
10432 # objects, libraries and library flags.
10434 # Sentinel used to keep track of whether or not we are before
10435 # the conftest object file.
10436 pre_test_object_deps_done=no
10438 # The `*' in the case matches for architectures that use `case' in
10439 # $output_verbose_cmd can trigger glob expansion during the loop
10440 # eval without this substitution.
10441 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10443 for p in `eval $output_verbose_link_cmd`; do
10447 # Some compilers place space between "-{L,R}" and the path.
10448 # Remove the space.
10449 if test $p = "-L" \
10450 || test $p = "-R"; then
10457 if test "$pre_test_object_deps_done" = no; then
10460 # Internal compiler library paths should come after those
10461 # provided the user. The postdeps already come after the
10462 # user supplied libs so there is no need to process them.
10463 if test -z "$compiler_lib_search_path_CXX"; then
10464 compiler_lib_search_path_CXX="${prev}${p}"
10466 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10469 # The "-l" case would never come before the object being
10470 # linked, so don't bother handling this case.
10473 if test -z "$postdeps_CXX"; then
10474 postdeps_CXX="${prev}${p}"
10476 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10482 # This assumes that the test object file only shows up
10483 # once in the compiler output.
10484 if test "$p" = "conftest.$objext"; then
10485 pre_test_object_deps_done=yes
10489 if test "$pre_test_object_deps_done" = no; then
10490 if test -z "$predep_objects_CXX"; then
10491 predep_objects_CXX="$p"
10493 predep_objects_CXX="$predep_objects_CXX $p"
10496 if test -z "$postdep_objects_CXX"; then
10497 postdep_objects_CXX="$p"
10499 postdep_objects_CXX="$postdep_objects_CXX $p"
10504 *) ;; # Ignore the rest.
10512 echo "libtool.m4: error: problem compiling CXX test program"
10515 $rm -f confest.$objext
10517 case " $postdeps_CXX " in
10518 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10521 lt_prog_compiler_wl_CXX=
10522 lt_prog_compiler_pic_CXX=
10523 lt_prog_compiler_static_CXX=
10525 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10526 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10528 # C++ specific cases for pic, static, wl, etc.
10529 if test "$GXX" = yes; then
10530 lt_prog_compiler_wl_CXX='-Wl,'
10531 lt_prog_compiler_static_CXX='-static'
10535 # All AIX code is PIC.
10536 if test "$host_cpu" = ia64; then
10537 # AIX 5 now supports IA64 processor
10538 lt_prog_compiler_static_CXX='-Bstatic'
10542 # FIXME: we need at least 68020 code to build shared libraries, but
10543 # adding the `-m68020' flag to GCC prevents building anything better,
10545 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10547 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10548 # PIC is the default for these OSes.
10550 mingw* | os2* | pw32*)
10551 # This hack is so that the source file can tell whether it is being
10552 # built for inclusion in a dll (and should export symbols for example).
10553 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10555 darwin* | rhapsody*)
10556 # PIC is the default on this platform
10557 # Common symbols not allowed in MH_DYLIB files
10558 lt_prog_compiler_pic_CXX='-fno-common'
10561 # DJGPP does not support shared libraries at all
10562 lt_prog_compiler_pic_CXX=
10565 if test -d /usr/nec; then
10566 lt_prog_compiler_pic_CXX=-Kconform_pic
10570 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10571 # not for PA HP-UX.
10572 case "$host_cpu" in
10576 lt_prog_compiler_pic_CXX='-fPIC'
10581 lt_prog_compiler_pic_CXX='-fPIC'
10587 # All AIX code is PIC.
10588 if test "$host_cpu" = ia64; then
10589 # AIX 5 now supports IA64 processor
10590 lt_prog_compiler_static_CXX='-Bstatic'
10592 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10596 case $cc_basename in
10598 # Green Hills C++ Compiler
10599 # _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"
10604 case $cc_basename in
10606 lt_prog_compiler_pic_CXX='-KPIC'
10609 # Green Hills C++ Compiler
10610 lt_prog_compiler_pic_CXX='-pic'
10617 # FreeBSD uses GNU C++
10619 hpux9* | hpux10* | hpux11*)
10620 case $cc_basename in
10622 lt_prog_compiler_wl_CXX='-Wl,'
10623 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10624 if test "$host_cpu" != ia64; then
10625 lt_prog_compiler_pic_CXX='+Z'
10629 lt_prog_compiler_wl_CXX='-Wl,'
10630 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10631 case "$host_cpu" in
10636 lt_prog_compiler_pic_CXX='+Z'
10644 irix5* | irix6* | nonstopux*)
10645 case $cc_basename in
10647 lt_prog_compiler_wl_CXX='-Wl,'
10648 lt_prog_compiler_static_CXX='-non_shared'
10649 # CC pic flag -KPIC is the default.
10656 case $cc_basename in
10659 lt_prog_compiler_wl_CXX='--backend -Wl,'
10660 lt_prog_compiler_pic_CXX='-fPIC'
10664 lt_prog_compiler_wl_CXX='-Wl,'
10665 lt_prog_compiler_pic_CXX='-KPIC'
10666 lt_prog_compiler_static_CXX='-static'
10670 # Make sure the PIC flag is empty. It appears that all Alpha
10671 # Linux and Compaq Tru64 Unix objects are PIC.
10672 lt_prog_compiler_pic_CXX=
10673 lt_prog_compiler_static_CXX='-non_shared'
10684 case $cc_basename in
10686 lt_prog_compiler_pic_CXX='-W c,exportall'
10694 osf3* | osf4* | osf5*)
10695 case $cc_basename in
10697 lt_prog_compiler_wl_CXX='--backend -Wl,'
10700 # Rational C++ 2.4.1
10701 lt_prog_compiler_pic_CXX='-pic'
10704 # Digital/Compaq C++
10705 lt_prog_compiler_wl_CXX='-Wl,'
10706 # Make sure the PIC flag is empty. It appears that all Alpha
10707 # Linux and Compaq Tru64 Unix objects are PIC.
10708 lt_prog_compiler_pic_CXX=
10709 lt_prog_compiler_static_CXX='-non_shared'
10718 case $cc_basename in
10720 lt_prog_compiler_pic_CXX='-fPIC'
10727 case $cc_basename in
10729 # Sun C++ 4.2, 5.x and Centerline C++
10730 lt_prog_compiler_pic_CXX='-KPIC'
10731 lt_prog_compiler_static_CXX='-Bstatic'
10732 lt_prog_compiler_wl_CXX='-Qoption ld '
10735 # Green Hills C++ Compiler
10736 lt_prog_compiler_pic_CXX='-PIC'
10743 case $cc_basename in
10746 lt_prog_compiler_pic_CXX='-pic'
10747 lt_prog_compiler_static_CXX='-Bstatic'
10751 lt_prog_compiler_pic_CXX='-pic'
10758 case $cc_basename in
10760 # NonStop-UX NCC 3.20
10761 lt_prog_compiler_pic_CXX='-KPIC'
10772 lt_prog_compiler_can_build_shared_CXX=no
10777 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10778 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10781 # Check to make sure the PIC flag actually works.
10783 if test -n "$lt_prog_compiler_pic_CXX"; then
10784 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10785 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10786 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10787 echo $ECHO_N "(cached) $ECHO_C" >&6
10789 lt_prog_compiler_pic_works_CXX=no
10790 ac_outfile=conftest.$ac_objext
10791 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10792 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10793 # Insert the option either (1) after the last *FLAGS variable, or
10794 # (2) before a word containing "conftest.", or (3) at the end.
10795 # Note that $ac_compile itself does not contain backslashes and begins
10796 # with a dollar sign (not a hyphen), so the echo should work correctly.
10797 # The option is referenced via a variable to avoid confusing sed.
10798 lt_compile=`echo "$ac_compile" | $SED \
10799 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10800 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10801 -e 's:$: $lt_compiler_flag:'`
10802 (eval echo "\"\$as_me:10802: $lt_compile\"" >&5)
10803 (eval "$lt_compile" 2>conftest.err)
10805 cat conftest.err >&5
10806 echo "$as_me:10806: \$? = $ac_status" >&5
10807 if (exit $ac_status) && test -s "$ac_outfile"; then
10808 # The compiler can only warn and ignore the option if not recognized
10809 # So say no if there are warnings
10810 if test ! -s conftest.err; then
10811 lt_prog_compiler_pic_works_CXX=yes
10817 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10818 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10820 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10821 case $lt_prog_compiler_pic_CXX in
10823 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10826 lt_prog_compiler_pic_CXX=
10827 lt_prog_compiler_can_build_shared_CXX=no
10832 # For platforms which do not support PIC, -DPIC is meaningless:
10834 lt_prog_compiler_pic_CXX=
10837 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10841 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10842 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10843 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10844 echo $ECHO_N "(cached) $ECHO_C" >&6
10846 lt_cv_prog_compiler_c_o_CXX=no
10847 $rm -r conftest 2>/dev/null
10851 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10853 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10854 # that will create temporary files in the current directory regardless of
10855 # the output directory. Thus, making CWD read-only will cause this test
10856 # to fail, enabling locking or at least warning the user not to do parallel
10860 lt_compiler_flag="-o out/conftest2.$ac_objext"
10861 # Insert the option either (1) after the last *FLAGS variable, or
10862 # (2) before a word containing "conftest.", or (3) at the end.
10863 # Note that $ac_compile itself does not contain backslashes and begins
10864 # with a dollar sign (not a hyphen), so the echo should work correctly.
10865 lt_compile=`echo "$ac_compile" | $SED \
10866 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10867 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10868 -e 's:$: $lt_compiler_flag:'`
10869 (eval echo "\"\$as_me:10869: $lt_compile\"" >&5)
10870 (eval "$lt_compile" 2>out/conftest.err)
10872 cat out/conftest.err >&5
10873 echo "$as_me:10873: \$? = $ac_status" >&5
10874 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10876 # The compiler can only warn and ignore the option if not recognized
10877 # So say no if there are warnings
10878 if test ! -s out/conftest.err; then
10879 lt_cv_prog_compiler_c_o_CXX=yes
10883 $rm conftest* out/*
10890 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10891 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10894 hard_links="nottested"
10895 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10896 # do not overwrite the value of need_locks provided by the user
10897 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10898 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10901 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10903 ln conftest.a conftest.b 2>&5 || hard_links=no
10904 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10905 echo "$as_me:$LINENO: result: $hard_links" >&5
10906 echo "${ECHO_T}$hard_links" >&6
10907 if test "$hard_links" = no; then
10908 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10909 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10916 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10917 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10919 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10922 # If we're using GNU nm, then we don't want the "-C" option.
10923 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10924 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10925 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'
10927 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'
10931 export_symbols_cmds_CXX="$ltdll_cmds"
10934 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10937 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10941 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10942 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10943 test "$ld_shlibs_CXX" = no && can_build_shared=no
10945 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10946 if test "$GCC" = yes; then
10947 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10951 # Do we need to explicitly link libc?
10953 case "x$archive_cmds_need_lc_CXX" in
10955 # Assume -lc should be added
10956 archive_cmds_need_lc_CXX=yes
10958 if test "$enable_shared" = yes && test "$GCC" = yes; then
10959 case $archive_cmds_CXX in
10961 # FIXME: we may have to deal with multi-command sequences.
10964 # Test whether the compiler implicitly links with -lc since on some
10965 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10966 # to ld, don't add -lc before -lgcc.
10967 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10968 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10970 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10973 (eval $ac_compile) 2>&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); } 2>conftest.err; then
10979 libobjs=conftest.$ac_objext
10981 wl=$lt_prog_compiler_wl_CXX
10987 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10988 allow_undefined_flag_CXX=
10989 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10990 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); }
10995 archive_cmds_need_lc_CXX=no
10997 archive_cmds_need_lc_CXX=yes
10999 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11001 cat conftest.err 1>&5
11004 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11005 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11012 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11013 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11014 hardcode_action_CXX=
11015 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11016 test -n "$runpath_var CXX" || \
11017 test "X$hardcode_automatic_CXX"="Xyes" ; then
11019 # We can hardcode non-existant directories.
11020 if test "$hardcode_direct_CXX" != no &&
11021 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11022 # have to relink, otherwise we might link with an installed library
11023 # when we should be linking with a yet-to-be-installed one
11024 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11025 test "$hardcode_minus_L_CXX" != no; then
11026 # Linking always hardcodes the temporary library directory.
11027 hardcode_action_CXX=relink
11029 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11030 hardcode_action_CXX=immediate
11033 # We cannot hardcode anything, or else we can only hardcode existing
11035 hardcode_action_CXX=unsupported
11037 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11038 echo "${ECHO_T}$hardcode_action_CXX" >&6
11040 if test "$hardcode_action_CXX" = relink; then
11041 # Fast installation is not supported
11042 enable_fast_install=no
11043 elif test "$shlibpath_overrides_runpath" = yes ||
11044 test "$enable_shared" = no; then
11045 # Fast installation is not necessary
11046 enable_fast_install=needless
11051 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11052 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11053 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11054 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11055 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11056 echo "$as_me:$LINENO: result: yes" >&5
11057 echo "${ECHO_T}yes" >&6
11059 # FIXME - insert some real tests, host_os isn't really good enough
11062 if test -n "$STRIP" ; then
11063 striplib="$STRIP -x"
11064 echo "$as_me:$LINENO: result: yes" >&5
11065 echo "${ECHO_T}yes" >&6
11067 echo "$as_me:$LINENO: result: no" >&5
11068 echo "${ECHO_T}no" >&6
11072 echo "$as_me:$LINENO: result: no" >&5
11073 echo "${ECHO_T}no" >&6
11078 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11079 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11080 library_names_spec=
11081 libname_spec='lib$name'
11085 postuninstall_cmds=
11089 shlibpath_overrides_runpath=unknown
11091 dynamic_linker="$host_os ld.so"
11092 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11093 if test "$GCC" = yes; then
11094 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11095 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11096 # if the path contains ";" then we assume it to be the separator
11097 # otherwise default to the standard path separator (i.e. ":") - it is
11098 # assumed that no part of a normal pathname contains ";" but that should
11099 # okay in the real world where ";" in dirpaths is itself problematic.
11100 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11102 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11105 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11107 need_lib_prefix=unknown
11108 hardcode_into_libs=no
11110 # when you set need_version to no, make sure it does not cause -set_version
11111 # flags to be left without arguments
11112 need_version=unknown
11117 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11118 shlibpath_var=LIBPATH
11120 # AIX 3 has no versioning support, so we append a major version to the name.
11121 soname_spec='${libname}${release}${shared_ext}$major'
11128 hardcode_into_libs=yes
11129 if test "$host_cpu" = ia64; then
11130 # AIX 5 supports IA64
11131 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11132 shlibpath_var=LD_LIBRARY_PATH
11134 # With GCC up to 2.95.x, collect2 would create an import file
11135 # for dependence libraries. The import file would start with
11136 # the line `#! .'. This would cause the generated library to
11137 # depend on `.', always an invalid library. This was fixed in
11138 # development snapshots of GCC prior to 3.0.
11140 aix4 | aix4.[01] | aix4.[01].*)
11141 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11143 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11146 can_build_shared=no
11150 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11151 # soname into executable. Probably we can add versioning support to
11152 # collect2, so additional links can be useful in future.
11153 if test "$aix_use_runtimelinking" = yes; then
11154 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11155 # instead of lib<name>.a to let people know that these are not
11156 # typical AIX shared libraries.
11157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11159 # We preserve .a as extension for shared libraries through AIX4.2
11160 # and later when we are not doing run time linking.
11161 library_names_spec='${libname}${release}.a $libname.a'
11162 soname_spec='${libname}${release}${shared_ext}$major'
11164 shlibpath_var=LIBPATH
11169 library_names_spec='$libname.ixlibrary $libname.a'
11170 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11171 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'
11175 library_names_spec='${libname}${shared_ext}'
11176 dynamic_linker="$host_os ld.so"
11177 shlibpath_var=LIBRARY_PATH
11183 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11184 soname_spec='${libname}${release}${shared_ext}$major'
11185 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11186 shlibpath_var=LD_LIBRARY_PATH
11187 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11188 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11189 # the default ld.so.conf also contains /usr/contrib/lib and
11190 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11191 # libtool to hard-code these into programs
11194 cygwin* | mingw* | pw32*)
11195 version_type=windows
11200 case $GCC,$host_os in
11201 yes,cygwin* | yes,mingw* | yes,pw32*)
11202 library_names_spec='$libname.dll.a'
11203 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11204 postinstall_cmds='base_file=`basename \${file}`~
11205 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11206 dldir=$destdir/`dirname \$dlpath`~
11207 test -d \$dldir || mkdir -p \$dldir~
11208 $install_prog $dir/$dlname \$dldir/$dlname'
11209 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11210 dlpath=$dir/\$dldll~
11212 shlibpath_overrides_runpath=yes
11216 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11217 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11218 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11221 # MinGW DLLs use traditional 'lib' prefix
11222 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11223 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11224 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11225 # It is most probably a Windows format PATH printed by
11226 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11227 # path with ; separators, and with drive letters. We can handle the
11228 # drive letters (cygwin fileutils understands them), so leave them,
11229 # especially as we might pass files found there to a mingw objdump,
11230 # which wouldn't understand a cygwinified path. Ahh.
11231 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11233 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11237 # pw32 DLLs use 'pw' prefix rather than 'lib'
11238 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11244 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11247 dynamic_linker='Win32 ld.exe'
11248 # FIXME: first we should search . and the directory the executable is in
11252 darwin* | rhapsody*)
11253 dynamic_linker="$host_os dyld"
11254 version_type=darwin
11257 # FIXME: Relying on posixy $() will cause problems for
11258 # cross-compilation, but unfortunately the echo tests do not
11259 # yet detect zsh echo's removal of \ escapes.
11260 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11261 soname_spec='${libname}${release}${major}$shared_ext'
11262 shlibpath_overrides_runpath=yes
11263 shlibpath_var=DYLD_LIBRARY_PATH
11264 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11265 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11266 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11267 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"`
11269 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11277 soname_spec='${libname}${release}${shared_ext}$major'
11278 shlibpath_var=LD_LIBRARY_PATH
11286 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11287 version_type=freebsd-$objformat
11288 case $version_type in
11290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11295 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11299 shlibpath_var=LD_LIBRARY_PATH
11302 shlibpath_overrides_runpath=yes
11304 freebsd3.01* | freebsdelf3.01*)
11305 shlibpath_overrides_runpath=yes
11306 hardcode_into_libs=yes
11309 shlibpath_overrides_runpath=no
11310 hardcode_into_libs=yes
11319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11320 soname_spec='${libname}${release}${shared_ext}$major'
11321 shlibpath_var=LD_LIBRARY_PATH
11322 hardcode_into_libs=yes
11325 hpux9* | hpux10* | hpux11*)
11326 # Give a soname corresponding to the major version so that dld.sl refuses to
11327 # link against other versions.
11331 case "$host_cpu" in
11334 hardcode_into_libs=yes
11335 dynamic_linker="$host_os dld.so"
11336 shlibpath_var=LD_LIBRARY_PATH
11337 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11338 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11339 soname_spec='${libname}${release}${shared_ext}$major'
11340 if test "X$HPUX_IA64_MODE" = X32; then
11341 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11343 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11345 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11349 hardcode_into_libs=yes
11350 dynamic_linker="$host_os dld.sl"
11351 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11352 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11354 soname_spec='${libname}${release}${shared_ext}$major'
11355 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11356 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11360 dynamic_linker="$host_os dld.sl"
11361 shlibpath_var=SHLIB_PATH
11362 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11364 soname_spec='${libname}${release}${shared_ext}$major'
11367 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11368 postinstall_cmds='chmod 555 $lib'
11371 irix5* | irix6* | nonstopux*)
11373 nonstopux*) version_type=nonstopux ;;
11375 if test "$lt_cv_prog_gnu_ld" = yes; then
11383 soname_spec='${libname}${release}${shared_ext}$major'
11384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11386 irix5* | nonstopux*)
11387 libsuff= shlibsuff=
11390 case $LD in # libtool.m4 will add one of these switches to LD
11391 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11392 libsuff= shlibsuff= libmagic=32-bit;;
11393 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11394 libsuff=32 shlibsuff=N32 libmagic=N32;;
11395 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11396 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11397 *) libsuff= shlibsuff= libmagic=never-match;;
11401 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11402 shlibpath_overrides_runpath=no
11403 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11404 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11405 hardcode_into_libs=yes
11408 # No shared lib support for Linux oldld, aout, or coff.
11409 linux*oldld* | linux*aout* | linux*coff*)
11413 # This must be Linux ELF.
11418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11419 soname_spec='${libname}${release}${shared_ext}$major'
11420 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11421 shlibpath_var=LD_LIBRARY_PATH
11422 shlibpath_overrides_runpath=no
11423 # This implies no fast_install, which is unacceptable.
11424 # Some rework will be needed to allow for fast_install
11425 # before this can be enabled.
11426 hardcode_into_libs=yes
11428 # We used to test for /lib/ld.so.1 and disable shared libraries on
11429 # powerpc, because MkLinux only supported shared libraries with the
11430 # GNU dynamic linker. Since this was broken with cross compilers,
11431 # most powerpc-linux boxes support dynamic linking these days and
11432 # people can always --disable-shared, the test was removed, and we
11433 # assume the GNU/Linux dynamic linker is in use.
11434 dynamic_linker='GNU/Linux ld.so'
11441 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11443 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11444 dynamic_linker='NetBSD (a.out) ld.so'
11446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11447 soname_spec='${libname}${release}${shared_ext}$major'
11448 dynamic_linker='NetBSD ld.elf_so'
11450 shlibpath_var=LD_LIBRARY_PATH
11451 shlibpath_overrides_runpath=yes
11452 hardcode_into_libs=yes
11457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11458 shlibpath_var=LD_LIBRARY_PATH
11459 shlibpath_overrides_runpath=yes
11466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11467 soname_spec='${libname}${release}${shared_ext}$major'
11468 shlibpath_var=LD_LIBRARY_PATH
11469 shlibpath_overrides_runpath=yes
11476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11477 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11478 shlibpath_var=LD_LIBRARY_PATH
11479 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11481 openbsd2.[89] | openbsd2.[89].*)
11482 shlibpath_overrides_runpath=no
11485 shlibpath_overrides_runpath=yes
11489 shlibpath_overrides_runpath=yes
11494 libname_spec='$name'
11497 library_names_spec='$libname${shared_ext} $libname.a'
11498 dynamic_linker='OS/2 ld.exe'
11499 shlibpath_var=LIBPATH
11502 osf3* | osf4* | osf5*)
11506 soname_spec='${libname}${release}${shared_ext}$major'
11507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11508 shlibpath_var=LD_LIBRARY_PATH
11509 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11510 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11515 soname_spec='${libname}${release}${shared_ext}$major'
11516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11517 shlibpath_var=LD_LIBRARY_PATH
11524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11525 soname_spec='${libname}${release}${shared_ext}$major'
11526 shlibpath_var=LD_LIBRARY_PATH
11527 shlibpath_overrides_runpath=yes
11528 hardcode_into_libs=yes
11529 # ldd complains unless libraries are executable
11530 postinstall_cmds='chmod +x $lib'
11535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11536 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11537 shlibpath_var=LD_LIBRARY_PATH
11538 shlibpath_overrides_runpath=yes
11539 if test "$with_gnu_ld" = yes; then
11545 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11548 soname_spec='${libname}${release}${shared_ext}$major'
11549 shlibpath_var=LD_LIBRARY_PATH
11550 case $host_vendor in
11552 shlibpath_overrides_runpath=no
11554 export_dynamic_flag_spec='${wl}-Blargedynsym'
11555 runpath_var=LD_RUN_PATH
11563 shlibpath_overrides_runpath=no
11564 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11570 if test -d /usr/nec ;then
11572 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11573 soname_spec='$libname${shared_ext}.$major'
11574 shlibpath_var=LD_LIBRARY_PATH
11580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11581 soname_spec='${libname}${release}${shared_ext}$major'
11582 shlibpath_var=LD_LIBRARY_PATH
11589 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11590 echo "${ECHO_T}$dynamic_linker" >&6
11591 test "$dynamic_linker" = no && can_build_shared=no
11593 if test "x$enable_dlopen" != xyes; then
11594 enable_dlopen=unknown
11595 enable_dlopen_self=unknown
11596 enable_dlopen_self_static=unknown
11603 lt_cv_dlopen="load_add_on"
11605 lt_cv_dlopen_self=yes
11609 lt_cv_dlopen="LoadLibrary"
11614 lt_cv_dlopen="dlopen"
11619 # if libdl is installed we need to link against it
11620 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11621 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11622 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11623 echo $ECHO_N "(cached) $ECHO_C" >&6
11625 ac_check_lib_save_LIBS=$LIBS
11627 cat >conftest.$ac_ext <<_ACEOF
11628 #line $LINENO "configure"
11631 cat confdefs.h >>conftest.$ac_ext
11632 cat >>conftest.$ac_ext <<_ACEOF
11633 /* end confdefs.h. */
11635 /* Override any gcc2 internal prototype to avoid an error. */
11639 /* We use char because int might match the return type of a gcc2
11640 builtin and then its argument prototype would still apply. */
11650 rm -f conftest.$ac_objext conftest$ac_exeext
11651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11652 (eval $ac_link) 2>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); } &&
11656 { ac_try='test -s conftest$ac_exeext'
11657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11658 (eval $ac_try) 2>&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); }; }; then
11662 ac_cv_lib_dl_dlopen=yes
11664 echo "$as_me: failed program was:" >&5
11665 sed 's/^/| /' conftest.$ac_ext >&5
11667 ac_cv_lib_dl_dlopen=no
11669 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11670 LIBS=$ac_check_lib_save_LIBS
11672 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11673 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11674 if test $ac_cv_lib_dl_dlopen = yes; then
11675 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11678 lt_cv_dlopen="dyld"
11680 lt_cv_dlopen_self=yes
11687 echo "$as_me:$LINENO: checking for shl_load" >&5
11688 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11689 if test "${ac_cv_func_shl_load+set}" = set; then
11690 echo $ECHO_N "(cached) $ECHO_C" >&6
11692 cat >conftest.$ac_ext <<_ACEOF
11693 #line $LINENO "configure"
11696 cat confdefs.h >>conftest.$ac_ext
11697 cat >>conftest.$ac_ext <<_ACEOF
11698 /* end confdefs.h. */
11699 /* System header to define __stub macros and hopefully few prototypes,
11700 which can conflict with char shl_load (); below.
11701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11702 <limits.h> exists even on freestanding compilers. */
11704 # include <limits.h>
11706 # include <assert.h>
11708 /* Override any gcc2 internal prototype to avoid an error. */
11713 /* We use char because int might match the return type of a gcc2
11714 builtin and then its argument prototype would still apply. */
11716 /* The GNU C library defines this for functions which it implements
11717 to always fail with ENOSYS. Some functions are actually named
11718 something starting with __ and the normal name is an alias. */
11719 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11722 char (*f) () = shl_load;
11731 return f != shl_load;
11736 rm -f conftest.$ac_objext conftest$ac_exeext
11737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11738 (eval $ac_link) 2>&5
11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); } &&
11742 { ac_try='test -s conftest$ac_exeext'
11743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11744 (eval $ac_try) 2>&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); }; }; then
11748 ac_cv_func_shl_load=yes
11750 echo "$as_me: failed program was:" >&5
11751 sed 's/^/| /' conftest.$ac_ext >&5
11753 ac_cv_func_shl_load=no
11755 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11757 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11758 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11759 if test $ac_cv_func_shl_load = yes; then
11760 lt_cv_dlopen="shl_load"
11762 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11763 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11764 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11765 echo $ECHO_N "(cached) $ECHO_C" >&6
11767 ac_check_lib_save_LIBS=$LIBS
11769 cat >conftest.$ac_ext <<_ACEOF
11770 #line $LINENO "configure"
11773 cat confdefs.h >>conftest.$ac_ext
11774 cat >>conftest.$ac_ext <<_ACEOF
11775 /* end confdefs.h. */
11777 /* Override any gcc2 internal prototype to avoid an error. */
11781 /* We use char because int might match the return type of a gcc2
11782 builtin and then its argument prototype would still apply. */
11792 rm -f conftest.$ac_objext conftest$ac_exeext
11793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11794 (eval $ac_link) 2>&5
11796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11797 (exit $ac_status); } &&
11798 { ac_try='test -s conftest$ac_exeext'
11799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11800 (eval $ac_try) 2>&5
11802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 (exit $ac_status); }; }; then
11804 ac_cv_lib_dld_shl_load=yes
11806 echo "$as_me: failed program was:" >&5
11807 sed 's/^/| /' conftest.$ac_ext >&5
11809 ac_cv_lib_dld_shl_load=no
11811 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11812 LIBS=$ac_check_lib_save_LIBS
11814 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11815 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11816 if test $ac_cv_lib_dld_shl_load = yes; then
11817 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11819 echo "$as_me:$LINENO: checking for dlopen" >&5
11820 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11821 if test "${ac_cv_func_dlopen+set}" = set; then
11822 echo $ECHO_N "(cached) $ECHO_C" >&6
11824 cat >conftest.$ac_ext <<_ACEOF
11825 #line $LINENO "configure"
11828 cat confdefs.h >>conftest.$ac_ext
11829 cat >>conftest.$ac_ext <<_ACEOF
11830 /* end confdefs.h. */
11831 /* System header to define __stub macros and hopefully few prototypes,
11832 which can conflict with char dlopen (); below.
11833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11834 <limits.h> exists even on freestanding compilers. */
11836 # include <limits.h>
11838 # include <assert.h>
11840 /* Override any gcc2 internal prototype to avoid an error. */
11845 /* We use char because int might match the return type of a gcc2
11846 builtin and then its argument prototype would still apply. */
11848 /* The GNU C library defines this for functions which it implements
11849 to always fail with ENOSYS. Some functions are actually named
11850 something starting with __ and the normal name is an alias. */
11851 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11854 char (*f) () = dlopen;
11863 return f != dlopen;
11868 rm -f conftest.$ac_objext conftest$ac_exeext
11869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11870 (eval $ac_link) 2>&5
11872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11873 (exit $ac_status); } &&
11874 { ac_try='test -s conftest$ac_exeext'
11875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11876 (eval $ac_try) 2>&5
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); }; }; then
11880 ac_cv_func_dlopen=yes
11882 echo "$as_me: failed program was:" >&5
11883 sed 's/^/| /' conftest.$ac_ext >&5
11885 ac_cv_func_dlopen=no
11887 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11889 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11890 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11891 if test $ac_cv_func_dlopen = yes; then
11892 lt_cv_dlopen="dlopen"
11894 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11895 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11896 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11897 echo $ECHO_N "(cached) $ECHO_C" >&6
11899 ac_check_lib_save_LIBS=$LIBS
11901 cat >conftest.$ac_ext <<_ACEOF
11902 #line $LINENO "configure"
11905 cat confdefs.h >>conftest.$ac_ext
11906 cat >>conftest.$ac_ext <<_ACEOF
11907 /* end confdefs.h. */
11909 /* Override any gcc2 internal prototype to avoid an error. */
11913 /* We use char because int might match the return type of a gcc2
11914 builtin and then its argument prototype would still apply. */
11924 rm -f conftest.$ac_objext conftest$ac_exeext
11925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11926 (eval $ac_link) 2>&5
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); } &&
11930 { ac_try='test -s conftest$ac_exeext'
11931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11932 (eval $ac_try) 2>&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); }; }; then
11936 ac_cv_lib_dl_dlopen=yes
11938 echo "$as_me: failed program was:" >&5
11939 sed 's/^/| /' conftest.$ac_ext >&5
11941 ac_cv_lib_dl_dlopen=no
11943 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11944 LIBS=$ac_check_lib_save_LIBS
11946 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11947 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11948 if test $ac_cv_lib_dl_dlopen = yes; then
11949 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11951 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11952 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11953 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11954 echo $ECHO_N "(cached) $ECHO_C" >&6
11956 ac_check_lib_save_LIBS=$LIBS
11957 LIBS="-lsvld $LIBS"
11958 cat >conftest.$ac_ext <<_ACEOF
11959 #line $LINENO "configure"
11962 cat confdefs.h >>conftest.$ac_ext
11963 cat >>conftest.$ac_ext <<_ACEOF
11964 /* end confdefs.h. */
11966 /* Override any gcc2 internal prototype to avoid an error. */
11970 /* We use char because int might match the return type of a gcc2
11971 builtin and then its argument prototype would still apply. */
11981 rm -f conftest.$ac_objext conftest$ac_exeext
11982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11983 (eval $ac_link) 2>&5
11985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11986 (exit $ac_status); } &&
11987 { ac_try='test -s conftest$ac_exeext'
11988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11989 (eval $ac_try) 2>&5
11991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992 (exit $ac_status); }; }; then
11993 ac_cv_lib_svld_dlopen=yes
11995 echo "$as_me: failed program was:" >&5
11996 sed 's/^/| /' conftest.$ac_ext >&5
11998 ac_cv_lib_svld_dlopen=no
12000 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12001 LIBS=$ac_check_lib_save_LIBS
12003 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12004 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12005 if test $ac_cv_lib_svld_dlopen = yes; then
12006 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12008 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12009 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12010 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12011 echo $ECHO_N "(cached) $ECHO_C" >&6
12013 ac_check_lib_save_LIBS=$LIBS
12015 cat >conftest.$ac_ext <<_ACEOF
12016 #line $LINENO "configure"
12019 cat confdefs.h >>conftest.$ac_ext
12020 cat >>conftest.$ac_ext <<_ACEOF
12021 /* end confdefs.h. */
12023 /* Override any gcc2 internal prototype to avoid an error. */
12027 /* We use char because int might match the return type of a gcc2
12028 builtin and then its argument prototype would still apply. */
12038 rm -f conftest.$ac_objext conftest$ac_exeext
12039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12040 (eval $ac_link) 2>&5
12042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12043 (exit $ac_status); } &&
12044 { ac_try='test -s conftest$ac_exeext'
12045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12046 (eval $ac_try) 2>&5
12048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12049 (exit $ac_status); }; }; then
12050 ac_cv_lib_dld_dld_link=yes
12052 echo "$as_me: failed program was:" >&5
12053 sed 's/^/| /' conftest.$ac_ext >&5
12055 ac_cv_lib_dld_dld_link=no
12057 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12058 LIBS=$ac_check_lib_save_LIBS
12060 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12061 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12062 if test $ac_cv_lib_dld_dld_link = yes; then
12063 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12084 if test "x$lt_cv_dlopen" != xno; then
12090 case $lt_cv_dlopen in
12092 save_CPPFLAGS="$CPPFLAGS"
12093 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12095 save_LDFLAGS="$LDFLAGS"
12096 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12099 LIBS="$lt_cv_dlopen_libs $LIBS"
12101 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12102 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12103 if test "${lt_cv_dlopen_self+set}" = set; then
12104 echo $ECHO_N "(cached) $ECHO_C" >&6
12106 if test "$cross_compiling" = yes; then :
12107 lt_cv_dlopen_self=cross
12109 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12110 lt_status=$lt_dlunknown
12111 cat > conftest.$ac_ext <<EOF
12112 #line 12112 "configure"
12113 #include "confdefs.h"
12122 # define LT_DLGLOBAL RTLD_GLOBAL
12125 # define LT_DLGLOBAL DL_GLOBAL
12127 # define LT_DLGLOBAL 0
12131 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12132 find out it does not work in some platform. */
12133 #ifndef LT_DLLAZY_OR_NOW
12135 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12138 # define LT_DLLAZY_OR_NOW DL_LAZY
12141 # define LT_DLLAZY_OR_NOW RTLD_NOW
12144 # define LT_DLLAZY_OR_NOW DL_NOW
12146 # define LT_DLLAZY_OR_NOW 0
12154 extern "C" void exit (int);
12157 void fnord() { int i=42;}
12160 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12161 int status = $lt_dlunknown;
12165 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12166 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12167 /* dlclose (self); */
12173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12174 (eval $ac_link) 2>&5
12176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12178 (./conftest; exit; ) 2>/dev/null
12180 case x$lt_status in
12181 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12182 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12183 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12186 # compilation failed
12187 lt_cv_dlopen_self=no
12194 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12195 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12197 if test "x$lt_cv_dlopen_self" = xyes; then
12198 LDFLAGS="$LDFLAGS $link_static_flag"
12199 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12200 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12201 if test "${lt_cv_dlopen_self_static+set}" = set; then
12202 echo $ECHO_N "(cached) $ECHO_C" >&6
12204 if test "$cross_compiling" = yes; then :
12205 lt_cv_dlopen_self_static=cross
12207 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12208 lt_status=$lt_dlunknown
12209 cat > conftest.$ac_ext <<EOF
12210 #line 12210 "configure"
12211 #include "confdefs.h"
12220 # define LT_DLGLOBAL RTLD_GLOBAL
12223 # define LT_DLGLOBAL DL_GLOBAL
12225 # define LT_DLGLOBAL 0
12229 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12230 find out it does not work in some platform. */
12231 #ifndef LT_DLLAZY_OR_NOW
12233 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12236 # define LT_DLLAZY_OR_NOW DL_LAZY
12239 # define LT_DLLAZY_OR_NOW RTLD_NOW
12242 # define LT_DLLAZY_OR_NOW DL_NOW
12244 # define LT_DLLAZY_OR_NOW 0
12252 extern "C" void exit (int);
12255 void fnord() { int i=42;}
12258 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12259 int status = $lt_dlunknown;
12263 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12264 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12265 /* dlclose (self); */
12271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12272 (eval $ac_link) 2>&5
12274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12275 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12276 (./conftest; exit; ) 2>/dev/null
12278 case x$lt_status in
12279 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12280 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12281 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12284 # compilation failed
12285 lt_cv_dlopen_self_static=no
12292 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12293 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12296 CPPFLAGS="$save_CPPFLAGS"
12297 LDFLAGS="$save_LDFLAGS"
12302 case $lt_cv_dlopen_self in
12303 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12304 *) enable_dlopen_self=unknown ;;
12307 case $lt_cv_dlopen_self_static in
12308 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12309 *) enable_dlopen_self_static=unknown ;;
12314 # The else clause should only fire when bootstrapping the
12315 # libtool distribution, otherwise you forgot to ship ltmain.sh
12316 # with your package, and you will get complaints that there are
12317 # no rules to generate ltmain.sh.
12318 if test -f "$ltmain"; then
12319 # See if we are running on zsh, and set the options which allow our commands through
12320 # without removal of \ escapes.
12321 if test -n "${ZSH_VERSION+set}" ; then
12322 setopt NO_GLOB_SUBST
12324 # Now quote all the things that may contain metacharacters while being
12325 # careful not to overquote the AC_SUBSTed values. We take copies of the
12326 # variables and quote the copies for generation of the libtool script.
12327 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12328 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12329 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12330 deplibs_check_method reload_flag reload_cmds need_locks \
12331 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12332 lt_cv_sys_global_symbol_to_c_name_address \
12333 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12334 old_postinstall_cmds old_postuninstall_cmds \
12338 lt_prog_compiler_wl_CXX \
12339 lt_prog_compiler_pic_CXX \
12340 lt_prog_compiler_static_CXX \
12341 lt_prog_compiler_no_builtin_flag_CXX \
12342 export_dynamic_flag_spec_CXX \
12343 thread_safe_flag_spec_CXX \
12344 whole_archive_flag_spec_CXX \
12345 enable_shared_with_static_runtimes_CXX \
12346 old_archive_cmds_CXX \
12347 old_archive_from_new_cmds_CXX \
12348 predep_objects_CXX \
12349 postdep_objects_CXX \
12352 compiler_lib_search_path_CXX \
12354 archive_expsym_cmds_CXX \
12355 postinstall_cmds_CXX \
12356 postuninstall_cmds_CXX \
12357 old_archive_from_expsyms_cmds_CXX \
12358 allow_undefined_flag_CXX \
12359 no_undefined_flag_CXX \
12360 export_symbols_cmds_CXX \
12361 hardcode_libdir_flag_spec_CXX \
12362 hardcode_libdir_flag_spec_ld_CXX \
12363 hardcode_libdir_separator_CXX \
12364 hardcode_automatic_CXX \
12366 module_expsym_cmds_CXX \
12367 lt_cv_prog_compiler_c_o_CXX \
12368 exclude_expsyms_CXX \
12369 include_expsyms_CXX; do
12372 old_archive_cmds_CXX | \
12373 old_archive_from_new_cmds_CXX | \
12374 archive_cmds_CXX | \
12375 archive_expsym_cmds_CXX | \
12376 module_cmds_CXX | \
12377 module_expsym_cmds_CXX | \
12378 old_archive_from_expsyms_cmds_CXX | \
12379 export_symbols_cmds_CXX | \
12380 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12381 postinstall_cmds | postuninstall_cmds | \
12382 old_postinstall_cmds | old_postuninstall_cmds | \
12383 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12384 # Double-quote double-evaled strings.
12385 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12388 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12394 *'\$0 --fallback-echo"')
12395 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12401 cat <<__EOF__ >> "$cfgfile"
12402 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12404 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12406 # Shell to use when invoking shell scripts.
12409 # Whether or not to build shared libraries.
12410 build_libtool_libs=$enable_shared
12412 # Whether or not to build static libraries.
12413 build_old_libs=$enable_static
12415 # Whether or not to add -lc for building shared libraries.
12416 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12418 # Whether or not to disallow shared libs when runtime libs are static
12419 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12421 # Whether or not to optimize for fast installation.
12422 fast_install=$enable_fast_install
12425 host_alias=$host_alias
12428 # An echo program that does not interpret backslashes.
12433 AR_FLAGS=$lt_AR_FLAGS
12438 # A language-specific compiler.
12439 CC=$lt_compiler_CXX
12441 # Is the compiler the GNU C compiler?
12447 # The linker used to build libraries.
12450 # Whether we need hard or soft links.
12453 # A BSD-compatible nm program.
12456 # A symbol stripping program
12459 # Used to examine libraries when file_magic_cmd begins "file"
12460 MAGIC_CMD=$MAGIC_CMD
12462 # Used on cygwin: DLL creation program.
12465 # Used on cygwin: object dumper.
12468 # Used on cygwin: assembler.
12471 # The name of the directory that contains temporary libtool files.
12474 # How to create reloadable object files.
12475 reload_flag=$lt_reload_flag
12476 reload_cmds=$lt_reload_cmds
12478 # How to pass a linker flag through the compiler.
12479 wl=$lt_lt_prog_compiler_wl_CXX
12481 # Object file suffix (normally "o").
12482 objext="$ac_objext"
12484 # Old archive suffix (normally "a").
12487 # Shared library suffix (normally ".so").
12490 # Executable file suffix (normally "").
12493 # Additional compiler flags for building library objects.
12494 pic_flag=$lt_lt_prog_compiler_pic_CXX
12497 # What is the maximum length of a command?
12498 max_cmd_len=$lt_cv_sys_max_cmd_len
12500 # Does compiler simultaneously support -c and -o options?
12501 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12503 # Must we lock files when doing compilation ?
12504 need_locks=$lt_need_locks
12506 # Do we need the lib prefix for modules?
12507 need_lib_prefix=$need_lib_prefix
12509 # Do we need a version for libraries?
12510 need_version=$need_version
12512 # Whether dlopen is supported.
12513 dlopen_support=$enable_dlopen
12515 # Whether dlopen of programs is supported.
12516 dlopen_self=$enable_dlopen_self
12518 # Whether dlopen of statically linked programs is supported.
12519 dlopen_self_static=$enable_dlopen_self_static
12521 # Compiler flag to prevent dynamic linking.
12522 link_static_flag=$lt_lt_prog_compiler_static_CXX
12524 # Compiler flag to turn off builtin functions.
12525 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12527 # Compiler flag to allow reflexive dlopens.
12528 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12530 # Compiler flag to generate shared objects directly from archives.
12531 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12533 # Compiler flag to generate thread-safe objects.
12534 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12536 # Library versioning type.
12537 version_type=$version_type
12539 # Format of library name prefix.
12540 libname_spec=$lt_libname_spec
12542 # List of archive names. First name is the real one, the rest are links.
12543 # The last name is the one that the linker finds with -lNAME.
12544 library_names_spec=$lt_library_names_spec
12546 # The coded name of the library, if different from the real name.
12547 soname_spec=$lt_soname_spec
12549 # Commands used to build and install an old-style archive.
12551 old_archive_cmds=$lt_old_archive_cmds_CXX
12552 old_postinstall_cmds=$lt_old_postinstall_cmds
12553 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12555 # Create an old-style archive from a shared archive.
12556 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12558 # Create a temporary old-style archive to link instead of a shared archive.
12559 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12561 # Commands used to build and install a shared archive.
12562 archive_cmds=$lt_archive_cmds_CXX
12563 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12564 postinstall_cmds=$lt_postinstall_cmds
12565 postuninstall_cmds=$lt_postuninstall_cmds
12567 # Commands used to build a loadable module (assumed same as above if empty)
12568 module_cmds=$lt_module_cmds_CXX
12569 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12571 # Commands to strip libraries.
12572 old_striplib=$lt_old_striplib
12573 striplib=$lt_striplib
12575 # Dependencies to place before the objects being linked to create a
12577 predep_objects=$lt_predep_objects_CXX
12579 # Dependencies to place after the objects being linked to create a
12581 postdep_objects=$lt_postdep_objects_CXX
12583 # Dependencies to place before the objects being linked to create a
12585 predeps=$lt_predeps_CXX
12587 # Dependencies to place after the objects being linked to create a
12589 postdeps=$lt_postdeps_CXX
12591 # The library search path used internally by the compiler when linking
12592 # a shared library.
12593 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12595 # Method to check whether dependent libraries are shared objects.
12596 deplibs_check_method=$lt_deplibs_check_method
12598 # Command to use when deplibs_check_method == file_magic.
12599 file_magic_cmd=$lt_file_magic_cmd
12601 # Flag that allows shared libraries with undefined symbols to be built.
12602 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12604 # Flag that forces no undefined symbols.
12605 no_undefined_flag=$lt_no_undefined_flag_CXX
12607 # Commands used to finish a libtool library installation in a directory.
12608 finish_cmds=$lt_finish_cmds
12610 # Same as above, but a single script fragment to be evaled but not shown.
12611 finish_eval=$lt_finish_eval
12613 # Take the output of nm and produce a listing of raw symbols and C names.
12614 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12616 # Transform the output of nm in a proper C declaration
12617 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12619 # Transform the output of nm in a C name address pair
12620 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12622 # This is the shared library runtime path variable.
12623 runpath_var=$runpath_var
12625 # This is the shared library path variable.
12626 shlibpath_var=$shlibpath_var
12628 # Is shlibpath searched before the hard-coded library search path?
12629 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12631 # How to hardcode a shared library path into an executable.
12632 hardcode_action=$hardcode_action_CXX
12634 # Whether we should hardcode library paths into libraries.
12635 hardcode_into_libs=$hardcode_into_libs
12637 # Flag to hardcode \$libdir into a binary during linking.
12638 # This must work even if \$libdir does not exist.
12639 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12641 # If ld is used when linking, flag to hardcode \$libdir into
12642 # a binary during linking. This must work even if \$libdir does
12644 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12646 # Whether we need a single -rpath flag with a separated argument.
12647 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12649 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12650 # resulting binary.
12651 hardcode_direct=$hardcode_direct_CXX
12653 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12654 # resulting binary.
12655 hardcode_minus_L=$hardcode_minus_L_CXX
12657 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12658 # the resulting binary.
12659 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12661 # Set to yes if building a shared library automatically hardcodes DIR into the library
12662 # and all subsequent libraries and executables linked against it.
12663 hardcode_automatic=$hardcode_automatic_CXX
12665 # Variables whose values should be saved in libtool wrapper scripts and
12666 # restored at relink time.
12667 variables_saved_for_relink="$variables_saved_for_relink"
12669 # Whether libtool must link a program against all its dependency libraries.
12670 link_all_deplibs=$link_all_deplibs_CXX
12672 # Compile-time system search path for libraries
12673 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12675 # Run-time system search path for libraries
12676 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12678 # Fix the shell variable \$srcfile for the compiler.
12679 fix_srcfile_path="$fix_srcfile_path_CXX"
12681 # Set to yes if exported symbols are required.
12682 always_export_symbols=$always_export_symbols_CXX
12684 # The commands to list exported symbols.
12685 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12687 # The commands to extract the exported symbol list from a shared archive.
12688 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12690 # Symbols that should not be listed in the preloaded symbols.
12691 exclude_expsyms=$lt_exclude_expsyms_CXX
12693 # Symbols that must always be exported.
12694 include_expsyms=$lt_include_expsyms_CXX
12696 # ### END LIBTOOL TAG CONFIG: $tagname
12702 # If there is no Makefile yet, we rely on a make rule to execute
12703 # `config.status --recheck' to rerun these tests and create the
12704 # libtool script then.
12705 test -f Makefile && make "$ltmain"
12710 ac_cpp='$CPP $CPPFLAGS'
12711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12719 with_gnu_ldcxx=$with_gnu_ld
12720 with_gnu_ld=$lt_save_with_gnu_ld
12721 lt_cv_path_LDCXX=$lt_cv_path_LD
12722 lt_cv_path_LD=$lt_save_path_LD
12723 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12724 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12732 if test -n "$F77" && test "X$F77" != "Xno"; then
12735 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12736 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12737 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12740 archive_cmds_need_lc_F77=no
12741 allow_undefined_flag_F77=
12742 always_export_symbols_F77=no
12743 archive_expsym_cmds_F77=
12744 export_dynamic_flag_spec_F77=
12745 hardcode_direct_F77=no
12746 hardcode_libdir_flag_spec_F77=
12747 hardcode_libdir_flag_spec_ld_F77=
12748 hardcode_libdir_separator_F77=
12749 hardcode_minus_L_F77=no
12750 hardcode_automatic_F77=no
12752 module_expsym_cmds_F77=
12753 link_all_deplibs_F77=unknown
12754 old_archive_cmds_F77=$old_archive_cmds
12755 no_undefined_flag_F77=
12756 whole_archive_flag_spec_F77=
12757 enable_shared_with_static_runtimes_F77=no
12759 # Source file extension for f77 test sources.
12762 # Object file extension for compiled f77 test sources.
12766 # Code to be used in simple compile tests
12767 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12769 # Code to be used in simple link tests
12770 lt_simple_link_test_code=" program t\n end\n"
12772 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12774 # If no C compiler was specified, use CC.
12777 # Allow CC to be a program name with arguments.
12781 # Allow CC to be a program name with arguments.
12786 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12788 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12789 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12790 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12791 echo "${ECHO_T}$can_build_shared" >&6
12793 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12794 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12795 test "$can_build_shared" = "no" && enable_shared=no
12797 # On AIX, shared libraries and static libraries use the same namespace, and
12798 # are all built from PIC.
12801 test "$enable_shared" = yes && enable_static=no
12802 if test -n "$RANLIB"; then
12803 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12804 postinstall_cmds='$RANLIB $lib'
12808 test "$enable_shared" = yes && enable_static=no
12811 echo "$as_me:$LINENO: result: $enable_shared" >&5
12812 echo "${ECHO_T}$enable_shared" >&6
12814 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12815 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12816 # Make sure either enable_shared or enable_static is yes.
12817 test "$enable_shared" = yes || enable_static=yes
12818 echo "$as_me:$LINENO: result: $enable_static" >&5
12819 echo "${ECHO_T}$enable_static" >&6
12821 test "$ld_shlibs_F77" = no && can_build_shared=no
12826 lt_prog_compiler_wl_F77=
12827 lt_prog_compiler_pic_F77=
12828 lt_prog_compiler_static_F77=
12830 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12831 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12833 if test "$GCC" = yes; then
12834 lt_prog_compiler_wl_F77='-Wl,'
12835 lt_prog_compiler_static_F77='-static'
12839 # All AIX code is PIC.
12840 if test "$host_cpu" = ia64; then
12841 # AIX 5 now supports IA64 processor
12842 lt_prog_compiler_static_F77='-Bstatic'
12847 # FIXME: we need at least 68020 code to build shared libraries, but
12848 # adding the `-m68020' flag to GCC prevents building anything better,
12850 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12853 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12854 # PIC is the default for these OSes.
12857 mingw* | pw32* | os2*)
12858 # This hack is so that the source file can tell whether it is being
12859 # built for inclusion in a dll (and should export symbols for example).
12860 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12863 darwin* | rhapsody*)
12864 # PIC is the default on this platform
12865 # Common symbols not allowed in MH_DYLIB files
12866 lt_prog_compiler_pic_F77='-fno-common'
12870 # Just because we use GCC doesn't mean we suddenly get shared libraries
12871 # on systems that don't support them.
12872 lt_prog_compiler_can_build_shared_F77=no
12877 if test -d /usr/nec; then
12878 lt_prog_compiler_pic_F77=-Kconform_pic
12883 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12884 # not for PA HP-UX.
12885 case "$host_cpu" in
12890 lt_prog_compiler_pic_F77='-fPIC'
12896 lt_prog_compiler_pic_F77='-fPIC'
12900 # PORTME Check for flag to pass linker flags through the system compiler.
12903 lt_prog_compiler_wl_F77='-Wl,'
12904 if test "$host_cpu" = ia64; then
12905 # AIX 5 now supports IA64 processor
12906 lt_prog_compiler_static_F77='-Bstatic'
12908 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12912 mingw* | pw32* | os2*)
12913 # This hack is so that the source file can tell whether it is being
12914 # built for inclusion in a dll (and should export symbols for example).
12915 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12918 hpux9* | hpux10* | hpux11*)
12919 lt_prog_compiler_wl_F77='-Wl,'
12920 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12921 # not for PA HP-UX.
12922 case "$host_cpu" in
12927 lt_prog_compiler_pic_F77='+Z'
12930 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12931 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12934 irix5* | irix6* | nonstopux*)
12935 lt_prog_compiler_wl_F77='-Wl,'
12936 # PIC (with -KPIC) is the default.
12937 lt_prog_compiler_static_F77='-non_shared'
12941 lt_prog_compiler_pic_F77='-KPIC'
12942 lt_prog_compiler_static_F77='-Bstatic'
12948 lt_prog_compiler_wl_F77='-Wl,'
12949 lt_prog_compiler_pic_F77='-KPIC'
12950 lt_prog_compiler_static_F77='-static'
12953 lt_prog_compiler_wl_F77='-Wl,'
12954 # All Alpha code is PIC.
12955 lt_prog_compiler_static_F77='-non_shared'
12960 osf3* | osf4* | osf5*)
12961 lt_prog_compiler_wl_F77='-Wl,'
12962 # All OSF/1 code is PIC.
12963 lt_prog_compiler_static_F77='-non_shared'
12967 lt_prog_compiler_pic_F77='-Kpic'
12968 lt_prog_compiler_static_F77='-dn'
12972 lt_prog_compiler_wl_F77='-Wl,'
12973 lt_prog_compiler_pic_F77='-KPIC'
12974 lt_prog_compiler_static_F77='-Bstatic'
12978 lt_prog_compiler_wl_F77='-Qoption ld '
12979 lt_prog_compiler_pic_F77='-PIC'
12980 lt_prog_compiler_static_F77='-Bstatic'
12983 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12984 lt_prog_compiler_wl_F77='-Wl,'
12985 lt_prog_compiler_pic_F77='-KPIC'
12986 lt_prog_compiler_static_F77='-Bstatic'
12990 if test -d /usr/nec ;then
12991 lt_prog_compiler_pic_F77='-Kconform_pic'
12992 lt_prog_compiler_static_F77='-Bstatic'
12997 lt_prog_compiler_pic_F77='-pic'
12998 lt_prog_compiler_static_F77='-Bstatic'
13002 lt_prog_compiler_can_build_shared_F77=no
13007 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13008 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13011 # Check to make sure the PIC flag actually works.
13013 if test -n "$lt_prog_compiler_pic_F77"; then
13014 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13015 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13016 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13017 echo $ECHO_N "(cached) $ECHO_C" >&6
13019 lt_prog_compiler_pic_works_F77=no
13020 ac_outfile=conftest.$ac_objext
13021 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13022 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13023 # Insert the option either (1) after the last *FLAGS variable, or
13024 # (2) before a word containing "conftest.", or (3) at the end.
13025 # Note that $ac_compile itself does not contain backslashes and begins
13026 # with a dollar sign (not a hyphen), so the echo should work correctly.
13027 # The option is referenced via a variable to avoid confusing sed.
13028 lt_compile=`echo "$ac_compile" | $SED \
13029 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13030 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13031 -e 's:$: $lt_compiler_flag:'`
13032 (eval echo "\"\$as_me:13032: $lt_compile\"" >&5)
13033 (eval "$lt_compile" 2>conftest.err)
13035 cat conftest.err >&5
13036 echo "$as_me:13036: \$? = $ac_status" >&5
13037 if (exit $ac_status) && test -s "$ac_outfile"; then
13038 # The compiler can only warn and ignore the option if not recognized
13039 # So say no if there are warnings
13040 if test ! -s conftest.err; then
13041 lt_prog_compiler_pic_works_F77=yes
13047 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13048 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13050 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13051 case $lt_prog_compiler_pic_F77 in
13053 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13056 lt_prog_compiler_pic_F77=
13057 lt_prog_compiler_can_build_shared_F77=no
13062 # For platforms which do not support PIC, -DPIC is meaningless:
13064 lt_prog_compiler_pic_F77=
13067 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13071 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13072 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13073 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13074 echo $ECHO_N "(cached) $ECHO_C" >&6
13076 lt_cv_prog_compiler_c_o_F77=no
13077 $rm -r conftest 2>/dev/null
13081 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13083 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13084 # that will create temporary files in the current directory regardless of
13085 # the output directory. Thus, making CWD read-only will cause this test
13086 # to fail, enabling locking or at least warning the user not to do parallel
13090 lt_compiler_flag="-o out/conftest2.$ac_objext"
13091 # Insert the option either (1) after the last *FLAGS variable, or
13092 # (2) before a word containing "conftest.", or (3) at the end.
13093 # Note that $ac_compile itself does not contain backslashes and begins
13094 # with a dollar sign (not a hyphen), so the echo should work correctly.
13095 lt_compile=`echo "$ac_compile" | $SED \
13096 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13097 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13098 -e 's:$: $lt_compiler_flag:'`
13099 (eval echo "\"\$as_me:13099: $lt_compile\"" >&5)
13100 (eval "$lt_compile" 2>out/conftest.err)
13102 cat out/conftest.err >&5
13103 echo "$as_me:13103: \$? = $ac_status" >&5
13104 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13106 # The compiler can only warn and ignore the option if not recognized
13107 # So say no if there are warnings
13108 if test ! -s out/conftest.err; then
13109 lt_cv_prog_compiler_c_o_F77=yes
13113 $rm conftest* out/*
13120 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13121 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13124 hard_links="nottested"
13125 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13126 # do not overwrite the value of need_locks provided by the user
13127 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13128 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13131 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13133 ln conftest.a conftest.b 2>&5 || hard_links=no
13134 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13135 echo "$as_me:$LINENO: result: $hard_links" >&5
13136 echo "${ECHO_T}$hard_links" >&6
13137 if test "$hard_links" = no; then
13138 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13139 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13146 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13147 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13150 allow_undefined_flag_F77=
13151 enable_shared_with_static_runtimes_F77=no
13153 archive_expsym_cmds_F77=
13154 old_archive_From_new_cmds_F77=
13155 old_archive_from_expsyms_cmds_F77=
13156 export_dynamic_flag_spec_F77=
13157 whole_archive_flag_spec_F77=
13158 thread_safe_flag_spec_F77=
13159 hardcode_libdir_flag_spec_F77=
13160 hardcode_libdir_flag_spec_ld_F77=
13161 hardcode_libdir_separator_F77=
13162 hardcode_direct_F77=no
13163 hardcode_minus_L_F77=no
13164 hardcode_shlibpath_var_F77=unsupported
13165 link_all_deplibs_F77=unknown
13166 hardcode_automatic_F77=no
13168 module_expsym_cmds_F77=
13169 always_export_symbols_F77=no
13170 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13171 # include_expsyms should be a list of space-separated symbols to be *always*
13172 # included in the symbol list
13173 include_expsyms_F77=
13174 # exclude_expsyms can be an extended regexp of symbols to exclude
13175 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13176 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13177 # as well as any symbol that contains `d'.
13178 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13179 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13180 # platforms (ab)use it in PIC code, but their linkers get confused if
13181 # the symbol is explicitly referenced. Since portable code cannot
13182 # rely on this symbol name, it's probably fine to never include it in
13183 # preloaded symbol tables.
13184 extract_expsyms_cmds=
13187 cygwin* | mingw* | pw32*)
13188 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13189 # When not using gcc, we currently assume that we are using
13190 # Microsoft Visual C++.
13191 if test "$GCC" != yes; then
13201 if test "$with_gnu_ld" = yes; then
13202 # If archive_cmds runs LD, not CC, wlarc should be empty
13205 # See if GNU ld supports shared libraries.
13207 aix3* | aix4* | aix5*)
13208 # On AIX/PPC, the GNU linker is very broken
13209 if test "$host_cpu" != ia64; then
13213 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13214 *** to be unable to reliably create shared libraries on AIX.
13215 *** Therefore, libtool is disabling shared libraries support. If you
13216 *** really care for shared libraries, you may want to modify your PATH
13217 *** so that a non-GNU linker is found, and then restart.
13224 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)'
13225 hardcode_libdir_flag_spec_F77='-L$libdir'
13226 hardcode_minus_L_F77=yes
13228 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13229 # that the semantics of dynamic libraries on AmigaOS, at least up
13230 # to version 4, is to share data among multiple programs linked
13231 # with the same dynamic library. Since this doesn't match the
13232 # behavior of shared libraries on other platforms, we can't use
13238 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13239 allow_undefined_flag_F77=unsupported
13240 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13241 # support --undefined. This deserves some investigation. FIXME
13242 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13248 cygwin* | mingw* | pw32*)
13249 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13250 # as there is no search path for DLLs.
13251 hardcode_libdir_flag_spec_F77='-L$libdir'
13252 allow_undefined_flag_F77=unsupported
13253 always_export_symbols_F77=no
13254 enable_shared_with_static_runtimes_F77=yes
13255 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13257 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13258 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13259 # If the export-symbols file already is a .def file (1st line
13260 # is EXPORTS), use it as is; otherwise, prepend...
13261 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13262 cp $export_symbols $output_objdir/$soname.def;
13264 echo EXPORTS > $output_objdir/$soname.def;
13265 cat $export_symbols >> $output_objdir/$soname.def;
13267 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13274 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13275 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13278 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13279 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13284 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13288 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13289 *** create shared libraries on Solaris systems. Therefore, libtool
13290 *** is disabling shared libraries support. We urge you to upgrade GNU
13291 *** binutils to release 2.9.1 or newer. Another option is to modify
13292 *** your PATH or compiler configuration so that the native linker is
13293 *** used, and then restart.
13296 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13297 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13298 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13305 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13307 hardcode_direct_F77=yes
13308 hardcode_shlibpath_var_F77=no
13312 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13313 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13314 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13321 if test "$ld_shlibs_F77" = yes; then
13322 runpath_var=LD_RUN_PATH
13323 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13324 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13325 # ancient GNU ld didn't support --whole-archive et. al.
13326 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13327 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13329 whole_archive_flag_spec_F77=
13333 # PORTME fill in a description of your system's linker (not GNU ld)
13336 allow_undefined_flag_F77=unsupported
13337 always_export_symbols_F77=yes
13338 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'
13339 # Note: this linker hardcodes the directories in LIBPATH if there
13340 # are no directories specified by -L.
13341 hardcode_minus_L_F77=yes
13342 if test "$GCC" = yes && test -z "$link_static_flag"; then
13343 # Neither direct hardcoding nor static linking is supported with a
13345 hardcode_direct_F77=unsupported
13350 if test "$host_cpu" = ia64; then
13351 # On IA64, the linker does run time linking by default, so we don't
13352 # have to do anything special.
13353 aix_use_runtimelinking=no
13354 exp_sym_flag='-Bexport'
13357 # If we're using GNU nm, then we don't want the "-C" option.
13358 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13359 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13360 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'
13362 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'
13364 aix_use_runtimelinking=no
13366 # Test if we are trying to use run time linking or normal
13367 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13368 # need to do runtime linking.
13369 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13370 for ld_flag in $LDFLAGS; do
13371 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13372 aix_use_runtimelinking=yes
13378 exp_sym_flag='-bexport'
13379 no_entry_flag='-bnoentry'
13382 # When large executables or shared objects are built, AIX ld can
13383 # have problems creating the table of contents. If linking a library
13384 # or program results in "error TOC overflow" add -mminimal-toc to
13385 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13386 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13388 archive_cmds_F77=''
13389 hardcode_direct_F77=yes
13390 hardcode_libdir_separator_F77=':'
13391 link_all_deplibs_F77=yes
13393 if test "$GCC" = yes; then
13394 case $host_os in aix4.012|aix4.012.*)
13395 # We only want to do this on AIX 4.2 and lower, the check
13396 # below for broken collect2 doesn't work under 4.3+
13397 collect2name=`${CC} -print-prog-name=collect2`
13398 if test -f "$collect2name" && \
13399 strings "$collect2name" | grep resolve_lib_name >/dev/null
13401 # We have reworked collect2
13402 hardcode_direct_F77=yes
13404 # We have old collect2
13405 hardcode_direct_F77=unsupported
13406 # It fails to find uninstalled libraries when the uninstalled
13407 # path is not listed in the libpath. Setting hardcode_minus_L
13408 # to unsupported forces relinking
13409 hardcode_minus_L_F77=yes
13410 hardcode_libdir_flag_spec_F77='-L$libdir'
13411 hardcode_libdir_separator_F77=
13414 shared_flag='-shared'
13417 if test "$host_cpu" = ia64; then
13418 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13419 # chokes on -Wl,-G. The following line is correct:
13422 if test "$aix_use_runtimelinking" = yes; then
13423 shared_flag='${wl}-G'
13425 shared_flag='${wl}-bM:SRE'
13430 # It seems that -bexpall does not export symbols beginning with
13431 # underscore (_), so it is better to generate a list of symbols to export.
13432 always_export_symbols_F77=yes
13433 if test "$aix_use_runtimelinking" = yes; then
13434 # Warning - without using the other runtime loading flags (-brtl),
13435 # -berok will link without error, but may produce a broken library.
13436 allow_undefined_flag_F77='-berok'
13437 # Determine the default libpath from the value encoded in an empty executable.
13438 cat >conftest.$ac_ext <<_ACEOF
13443 rm -f conftest.$ac_objext conftest$ac_exeext
13444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13445 (eval $ac_link) 2>&5
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); } &&
13449 { ac_try='test -s conftest$ac_exeext'
13450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13451 (eval $ac_try) 2>&5
13453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13454 (exit $ac_status); }; }; then
13456 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13458 # Check for a 64-bit object if we didn't find anything.
13459 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; }
13462 echo "$as_me: failed program was:" >&5
13463 sed 's/^/| /' conftest.$ac_ext >&5
13466 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13467 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13469 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13470 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"
13472 if test "$host_cpu" = ia64; then
13473 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13474 allow_undefined_flag_F77="-z nodefs"
13475 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"
13477 # Determine the default libpath from the value encoded in an empty executable.
13478 cat >conftest.$ac_ext <<_ACEOF
13483 rm -f conftest.$ac_objext conftest$ac_exeext
13484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13485 (eval $ac_link) 2>&5
13487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13488 (exit $ac_status); } &&
13489 { ac_try='test -s conftest$ac_exeext'
13490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13491 (eval $ac_try) 2>&5
13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); }; }; then
13496 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13498 # Check for a 64-bit object if we didn't find anything.
13499 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; }
13502 echo "$as_me: failed program was:" >&5
13503 sed 's/^/| /' conftest.$ac_ext >&5
13506 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13507 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13509 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13510 # Warning - without using the other run time loading flags,
13511 # -berok will link without error, but may produce a broken library.
13512 no_undefined_flag_F77=' ${wl}-bernotok'
13513 allow_undefined_flag_F77=' ${wl}-berok'
13514 # -bexpall does not export symbols beginning with underscore (_)
13515 always_export_symbols_F77=yes
13516 # Exported symbols can be pulled into shared objects from archives
13517 whole_archive_flag_spec_F77=' '
13518 archive_cmds_need_lc_F77=yes
13519 # This is similar to how AIX traditionally builds it's shared libraries.
13520 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'
13526 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)'
13527 hardcode_libdir_flag_spec_F77='-L$libdir'
13528 hardcode_minus_L_F77=yes
13529 # see comment about different semantics on the GNU ld section
13534 export_dynamic_flag_spec_F77=-rdynamic
13537 cygwin* | mingw* | pw32*)
13538 # When not using gcc, we currently assume that we are using
13539 # Microsoft Visual C++.
13540 # hardcode_libdir_flag_spec is actually meaningless, as there is
13541 # no search path for DLLs.
13542 hardcode_libdir_flag_spec_F77=' '
13543 allow_undefined_flag_F77=unsupported
13544 # Tell ltmain to make .lib files, not .a files.
13546 # Tell ltmain to make .dll files, not .so files.
13548 # FIXME: Setting linknames here is a bad hack.
13549 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13550 # The linker will automatically build a .lib file if we build a DLL.
13551 old_archive_From_new_cmds_F77='true'
13552 # FIXME: Should let the user specify the lib program.
13553 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13554 fix_srcfile_path='`cygpath -w "$srcfile"`'
13555 enable_shared_with_static_runtimes_F77=yes
13558 darwin* | rhapsody*)
13559 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13560 archive_cmds_need_lc_F77=no
13562 rhapsody* | darwin1.[012])
13563 allow_undefined_flag_F77='-undefined suppress'
13566 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13569 # FIXME: Relying on posixy $() will cause problems for
13570 # cross-compilation, but unfortunately the echo tests do not
13571 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13572 # `"' quotes if we put them in here... so don't!
13573 lt_int_apple_cc_single_mod=no
13574 output_verbose_link_cmd='echo'
13575 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13576 lt_int_apple_cc_single_mod=yes
13578 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13579 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13581 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'
13583 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13584 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13585 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13586 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}'
13588 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}'
13590 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}'
13591 hardcode_direct_F77=no
13592 hardcode_automatic_F77=yes
13593 hardcode_shlibpath_var_F77=unsupported
13594 whole_archive_flag_spec_F77='-all_load $convenience'
13595 link_all_deplibs_F77=yes
13600 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13601 hardcode_libdir_flag_spec_F77='-L$libdir'
13602 hardcode_shlibpath_var_F77=no
13609 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13610 # support. Future versions do this automatically, but an explicit c++rt0.o
13611 # does not break anything, and helps significantly (at the cost of a little
13614 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13615 hardcode_libdir_flag_spec_F77='-R$libdir'
13616 hardcode_direct_F77=yes
13617 hardcode_shlibpath_var_F77=no
13620 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13622 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13623 hardcode_direct_F77=yes
13624 hardcode_minus_L_F77=yes
13625 hardcode_shlibpath_var_F77=no
13628 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13630 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13631 hardcode_libdir_flag_spec_F77='-R$libdir'
13632 hardcode_direct_F77=yes
13633 hardcode_shlibpath_var_F77=no
13637 if test "$GCC" = yes; then
13638 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'
13640 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'
13642 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13643 hardcode_libdir_separator_F77=:
13644 hardcode_direct_F77=yes
13646 # hardcode_minus_L: Not really in the search PATH,
13647 # but as the default location of the library.
13648 hardcode_minus_L_F77=yes
13649 export_dynamic_flag_spec_F77='${wl}-E'
13653 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13654 case "$host_cpu" in
13656 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13659 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13663 case "$host_cpu" in
13665 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13668 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13672 if test "$with_gnu_ld" = no; then
13673 case "$host_cpu" in
13675 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13676 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13677 hardcode_libdir_separator_F77=:
13678 hardcode_direct_F77=no
13679 hardcode_shlibpath_var_F77=no
13682 hardcode_libdir_flag_spec_F77='-L$libdir'
13683 hardcode_direct_F77=no
13684 hardcode_shlibpath_var_F77=no
13686 # hardcode_minus_L: Not really in the search PATH,
13687 # but as the default location of the library.
13688 hardcode_minus_L_F77=yes
13691 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13692 hardcode_libdir_separator_F77=:
13693 hardcode_direct_F77=yes
13694 export_dynamic_flag_spec_F77='${wl}-E'
13696 # hardcode_minus_L: Not really in the search PATH,
13697 # but as the default location of the library.
13698 hardcode_minus_L_F77=yes
13704 irix5* | irix6* | nonstopux*)
13705 if test "$GCC" = yes; then
13706 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'
13708 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'
13709 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13711 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13712 hardcode_libdir_separator_F77=:
13713 link_all_deplibs_F77=yes
13717 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13718 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13720 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13722 hardcode_libdir_flag_spec_F77='-R$libdir'
13723 hardcode_direct_F77=yes
13724 hardcode_shlibpath_var_F77=no
13728 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13729 hardcode_direct_F77=yes
13730 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13731 hardcode_libdir_separator_F77=:
13732 hardcode_shlibpath_var_F77=no
13736 hardcode_direct_F77=yes
13737 hardcode_shlibpath_var_F77=no
13738 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13739 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13740 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13741 export_dynamic_flag_spec_F77='${wl}-E'
13744 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13745 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13746 hardcode_libdir_flag_spec_F77='-R$libdir'
13749 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13750 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13757 hardcode_libdir_flag_spec_F77='-L$libdir'
13758 hardcode_minus_L_F77=yes
13759 allow_undefined_flag_F77=unsupported
13760 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'
13761 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13765 if test "$GCC" = yes; then
13766 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13767 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'
13769 allow_undefined_flag_F77=' -expect_unresolved \*'
13770 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'
13772 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13773 hardcode_libdir_separator_F77=:
13776 osf4* | osf5*) # as osf3* with the addition of -msym flag
13777 if test "$GCC" = yes; then
13778 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13779 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'
13780 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13782 allow_undefined_flag_F77=' -expect_unresolved \*'
13783 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'
13784 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~
13785 $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'
13787 # Both c and cxx compiler support -rpath directly
13788 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13790 hardcode_libdir_separator_F77=:
13794 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13795 hardcode_shlibpath_var_F77=no
13796 export_dynamic_flag_spec_F77='${wl}-Bexport'
13797 runpath_var=LD_RUN_PATH
13798 hardcode_runpath_var=yes
13802 no_undefined_flag_F77=' -z text'
13803 if test "$GCC" = yes; then
13804 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13805 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13806 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13808 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13809 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13810 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13812 hardcode_libdir_flag_spec_F77='-R$libdir'
13813 hardcode_shlibpath_var_F77=no
13815 solaris2.[0-5] | solaris2.[0-5].*) ;;
13816 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13817 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13819 link_all_deplibs_F77=yes
13823 if test "x$host_vendor" = xsequent; then
13824 # Use $CC to link under sequent, because it throws in some extra .o
13825 # files that make .init and .fini sections work.
13826 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13828 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13830 hardcode_libdir_flag_spec_F77='-L$libdir'
13831 hardcode_direct_F77=yes
13832 hardcode_minus_L_F77=yes
13833 hardcode_shlibpath_var_F77=no
13837 case $host_vendor in
13839 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13840 hardcode_direct_F77=yes # is this really true???
13843 ## LD is ld it makes a PLAMLIB
13844 ## CC just makes a GrossModule.
13845 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13846 reload_cmds_F77='$CC -r -o $output$reload_objs'
13847 hardcode_direct_F77=no
13850 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13851 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13854 runpath_var='LD_RUN_PATH'
13855 hardcode_shlibpath_var_F77=no
13859 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13860 hardcode_shlibpath_var_F77=no
13861 export_dynamic_flag_spec_F77='-Bexport'
13865 if test -d /usr/nec; then
13866 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13867 hardcode_shlibpath_var_F77=no
13868 runpath_var=LD_RUN_PATH
13869 hardcode_runpath_var=yes
13875 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13876 hardcode_direct_F77=yes
13877 hardcode_minus_L_F77=no
13878 hardcode_shlibpath_var_F77=no
13879 hardcode_runpath_var=yes
13880 runpath_var=LD_RUN_PATH
13883 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13884 no_undefined_flag_F77='${wl}-z ${wl}text'
13885 if test "$GCC" = yes; then
13886 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13888 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13890 runpath_var='LD_RUN_PATH'
13891 hardcode_shlibpath_var_F77=no
13895 no_undefined_flag_F77=' -z text'
13896 # $CC -shared without GNU ld will not create a library from C++
13897 # object files and a static libstdc++, better avoid it by now
13898 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13899 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13900 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13901 hardcode_libdir_flag_spec_F77=
13902 hardcode_shlibpath_var_F77=no
13903 runpath_var='LD_RUN_PATH'
13907 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13908 hardcode_libdir_flag_spec_F77='-L$libdir'
13909 hardcode_shlibpath_var_F77=no
13918 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13919 echo "${ECHO_T}$ld_shlibs_F77" >&6
13920 test "$ld_shlibs_F77" = no && can_build_shared=no
13922 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13923 if test "$GCC" = yes; then
13924 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13928 # Do we need to explicitly link libc?
13930 case "x$archive_cmds_need_lc_F77" in
13932 # Assume -lc should be added
13933 archive_cmds_need_lc_F77=yes
13935 if test "$enable_shared" = yes && test "$GCC" = yes; then
13936 case $archive_cmds_F77 in
13938 # FIXME: we may have to deal with multi-command sequences.
13941 # Test whether the compiler implicitly links with -lc since on some
13942 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13943 # to ld, don't add -lc before -lgcc.
13944 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13945 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13947 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13950 (eval $ac_compile) 2>&5
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); } 2>conftest.err; then
13956 libobjs=conftest.$ac_objext
13958 wl=$lt_prog_compiler_wl_F77
13964 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13965 allow_undefined_flag_F77=
13966 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13967 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); }
13972 archive_cmds_need_lc_F77=no
13974 archive_cmds_need_lc_F77=yes
13976 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13978 cat conftest.err 1>&5
13981 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13982 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13989 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13990 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13991 hardcode_action_F77=
13992 if test -n "$hardcode_libdir_flag_spec_F77" || \
13993 test -n "$runpath_var F77" || \
13994 test "X$hardcode_automatic_F77"="Xyes" ; then
13996 # We can hardcode non-existant directories.
13997 if test "$hardcode_direct_F77" != no &&
13998 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13999 # have to relink, otherwise we might link with an installed library
14000 # when we should be linking with a yet-to-be-installed one
14001 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14002 test "$hardcode_minus_L_F77" != no; then
14003 # Linking always hardcodes the temporary library directory.
14004 hardcode_action_F77=relink
14006 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14007 hardcode_action_F77=immediate
14010 # We cannot hardcode anything, or else we can only hardcode existing
14012 hardcode_action_F77=unsupported
14014 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14015 echo "${ECHO_T}$hardcode_action_F77" >&6
14017 if test "$hardcode_action_F77" = relink; then
14018 # Fast installation is not supported
14019 enable_fast_install=no
14020 elif test "$shlibpath_overrides_runpath" = yes ||
14021 test "$enable_shared" = no; then
14022 # Fast installation is not necessary
14023 enable_fast_install=needless
14028 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14029 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14030 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14031 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14032 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14033 echo "$as_me:$LINENO: result: yes" >&5
14034 echo "${ECHO_T}yes" >&6
14036 # FIXME - insert some real tests, host_os isn't really good enough
14039 if test -n "$STRIP" ; then
14040 striplib="$STRIP -x"
14041 echo "$as_me:$LINENO: result: yes" >&5
14042 echo "${ECHO_T}yes" >&6
14044 echo "$as_me:$LINENO: result: no" >&5
14045 echo "${ECHO_T}no" >&6
14049 echo "$as_me:$LINENO: result: no" >&5
14050 echo "${ECHO_T}no" >&6
14055 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14056 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14057 library_names_spec=
14058 libname_spec='lib$name'
14062 postuninstall_cmds=
14066 shlibpath_overrides_runpath=unknown
14068 dynamic_linker="$host_os ld.so"
14069 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14070 if test "$GCC" = yes; then
14071 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14072 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14073 # if the path contains ";" then we assume it to be the separator
14074 # otherwise default to the standard path separator (i.e. ":") - it is
14075 # assumed that no part of a normal pathname contains ";" but that should
14076 # okay in the real world where ";" in dirpaths is itself problematic.
14077 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14079 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14082 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14084 need_lib_prefix=unknown
14085 hardcode_into_libs=no
14087 # when you set need_version to no, make sure it does not cause -set_version
14088 # flags to be left without arguments
14089 need_version=unknown
14094 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14095 shlibpath_var=LIBPATH
14097 # AIX 3 has no versioning support, so we append a major version to the name.
14098 soname_spec='${libname}${release}${shared_ext}$major'
14105 hardcode_into_libs=yes
14106 if test "$host_cpu" = ia64; then
14107 # AIX 5 supports IA64
14108 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14109 shlibpath_var=LD_LIBRARY_PATH
14111 # With GCC up to 2.95.x, collect2 would create an import file
14112 # for dependence libraries. The import file would start with
14113 # the line `#! .'. This would cause the generated library to
14114 # depend on `.', always an invalid library. This was fixed in
14115 # development snapshots of GCC prior to 3.0.
14117 aix4 | aix4.[01] | aix4.[01].*)
14118 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14120 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14123 can_build_shared=no
14127 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14128 # soname into executable. Probably we can add versioning support to
14129 # collect2, so additional links can be useful in future.
14130 if test "$aix_use_runtimelinking" = yes; then
14131 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14132 # instead of lib<name>.a to let people know that these are not
14133 # typical AIX shared libraries.
14134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14136 # We preserve .a as extension for shared libraries through AIX4.2
14137 # and later when we are not doing run time linking.
14138 library_names_spec='${libname}${release}.a $libname.a'
14139 soname_spec='${libname}${release}${shared_ext}$major'
14141 shlibpath_var=LIBPATH
14146 library_names_spec='$libname.ixlibrary $libname.a'
14147 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14148 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'
14152 library_names_spec='${libname}${shared_ext}'
14153 dynamic_linker="$host_os ld.so"
14154 shlibpath_var=LIBRARY_PATH
14160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14161 soname_spec='${libname}${release}${shared_ext}$major'
14162 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14163 shlibpath_var=LD_LIBRARY_PATH
14164 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14165 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14166 # the default ld.so.conf also contains /usr/contrib/lib and
14167 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14168 # libtool to hard-code these into programs
14171 cygwin* | mingw* | pw32*)
14172 version_type=windows
14177 case $GCC,$host_os in
14178 yes,cygwin* | yes,mingw* | yes,pw32*)
14179 library_names_spec='$libname.dll.a'
14180 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14181 postinstall_cmds='base_file=`basename \${file}`~
14182 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14183 dldir=$destdir/`dirname \$dlpath`~
14184 test -d \$dldir || mkdir -p \$dldir~
14185 $install_prog $dir/$dlname \$dldir/$dlname'
14186 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14187 dlpath=$dir/\$dldll~
14189 shlibpath_overrides_runpath=yes
14193 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14194 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14195 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14198 # MinGW DLLs use traditional 'lib' prefix
14199 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14200 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14201 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14202 # It is most probably a Windows format PATH printed by
14203 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14204 # path with ; separators, and with drive letters. We can handle the
14205 # drive letters (cygwin fileutils understands them), so leave them,
14206 # especially as we might pass files found there to a mingw objdump,
14207 # which wouldn't understand a cygwinified path. Ahh.
14208 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14210 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14214 # pw32 DLLs use 'pw' prefix rather than 'lib'
14215 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14221 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14224 dynamic_linker='Win32 ld.exe'
14225 # FIXME: first we should search . and the directory the executable is in
14229 darwin* | rhapsody*)
14230 dynamic_linker="$host_os dyld"
14231 version_type=darwin
14234 # FIXME: Relying on posixy $() will cause problems for
14235 # cross-compilation, but unfortunately the echo tests do not
14236 # yet detect zsh echo's removal of \ escapes.
14237 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14238 soname_spec='${libname}${release}${major}$shared_ext'
14239 shlibpath_overrides_runpath=yes
14240 shlibpath_var=DYLD_LIBRARY_PATH
14241 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14242 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14243 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14244 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"`
14246 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14254 soname_spec='${libname}${release}${shared_ext}$major'
14255 shlibpath_var=LD_LIBRARY_PATH
14263 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14264 version_type=freebsd-$objformat
14265 case $version_type in
14267 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14272 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14276 shlibpath_var=LD_LIBRARY_PATH
14279 shlibpath_overrides_runpath=yes
14281 freebsd3.01* | freebsdelf3.01*)
14282 shlibpath_overrides_runpath=yes
14283 hardcode_into_libs=yes
14286 shlibpath_overrides_runpath=no
14287 hardcode_into_libs=yes
14296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14297 soname_spec='${libname}${release}${shared_ext}$major'
14298 shlibpath_var=LD_LIBRARY_PATH
14299 hardcode_into_libs=yes
14302 hpux9* | hpux10* | hpux11*)
14303 # Give a soname corresponding to the major version so that dld.sl refuses to
14304 # link against other versions.
14308 case "$host_cpu" in
14311 hardcode_into_libs=yes
14312 dynamic_linker="$host_os dld.so"
14313 shlibpath_var=LD_LIBRARY_PATH
14314 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14316 soname_spec='${libname}${release}${shared_ext}$major'
14317 if test "X$HPUX_IA64_MODE" = X32; then
14318 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14320 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14322 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14326 hardcode_into_libs=yes
14327 dynamic_linker="$host_os dld.sl"
14328 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14329 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14331 soname_spec='${libname}${release}${shared_ext}$major'
14332 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14333 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14337 dynamic_linker="$host_os dld.sl"
14338 shlibpath_var=SHLIB_PATH
14339 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14341 soname_spec='${libname}${release}${shared_ext}$major'
14344 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14345 postinstall_cmds='chmod 555 $lib'
14348 irix5* | irix6* | nonstopux*)
14350 nonstopux*) version_type=nonstopux ;;
14352 if test "$lt_cv_prog_gnu_ld" = yes; then
14360 soname_spec='${libname}${release}${shared_ext}$major'
14361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14363 irix5* | nonstopux*)
14364 libsuff= shlibsuff=
14367 case $LD in # libtool.m4 will add one of these switches to LD
14368 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14369 libsuff= shlibsuff= libmagic=32-bit;;
14370 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14371 libsuff=32 shlibsuff=N32 libmagic=N32;;
14372 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14373 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14374 *) libsuff= shlibsuff= libmagic=never-match;;
14378 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14379 shlibpath_overrides_runpath=no
14380 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14381 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14382 hardcode_into_libs=yes
14385 # No shared lib support for Linux oldld, aout, or coff.
14386 linux*oldld* | linux*aout* | linux*coff*)
14390 # This must be Linux ELF.
14395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14396 soname_spec='${libname}${release}${shared_ext}$major'
14397 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14398 shlibpath_var=LD_LIBRARY_PATH
14399 shlibpath_overrides_runpath=no
14400 # This implies no fast_install, which is unacceptable.
14401 # Some rework will be needed to allow for fast_install
14402 # before this can be enabled.
14403 hardcode_into_libs=yes
14405 # We used to test for /lib/ld.so.1 and disable shared libraries on
14406 # powerpc, because MkLinux only supported shared libraries with the
14407 # GNU dynamic linker. Since this was broken with cross compilers,
14408 # most powerpc-linux boxes support dynamic linking these days and
14409 # people can always --disable-shared, the test was removed, and we
14410 # assume the GNU/Linux dynamic linker is in use.
14411 dynamic_linker='GNU/Linux ld.so'
14418 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14420 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14421 dynamic_linker='NetBSD (a.out) ld.so'
14423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14424 soname_spec='${libname}${release}${shared_ext}$major'
14425 dynamic_linker='NetBSD ld.elf_so'
14427 shlibpath_var=LD_LIBRARY_PATH
14428 shlibpath_overrides_runpath=yes
14429 hardcode_into_libs=yes
14434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14435 shlibpath_var=LD_LIBRARY_PATH
14436 shlibpath_overrides_runpath=yes
14443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14444 soname_spec='${libname}${release}${shared_ext}$major'
14445 shlibpath_var=LD_LIBRARY_PATH
14446 shlibpath_overrides_runpath=yes
14453 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14454 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14455 shlibpath_var=LD_LIBRARY_PATH
14456 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14458 openbsd2.[89] | openbsd2.[89].*)
14459 shlibpath_overrides_runpath=no
14462 shlibpath_overrides_runpath=yes
14466 shlibpath_overrides_runpath=yes
14471 libname_spec='$name'
14474 library_names_spec='$libname${shared_ext} $libname.a'
14475 dynamic_linker='OS/2 ld.exe'
14476 shlibpath_var=LIBPATH
14479 osf3* | osf4* | osf5*)
14483 soname_spec='${libname}${release}${shared_ext}$major'
14484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14485 shlibpath_var=LD_LIBRARY_PATH
14486 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14487 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14492 soname_spec='${libname}${release}${shared_ext}$major'
14493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14494 shlibpath_var=LD_LIBRARY_PATH
14501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14502 soname_spec='${libname}${release}${shared_ext}$major'
14503 shlibpath_var=LD_LIBRARY_PATH
14504 shlibpath_overrides_runpath=yes
14505 hardcode_into_libs=yes
14506 # ldd complains unless libraries are executable
14507 postinstall_cmds='chmod +x $lib'
14512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14513 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14514 shlibpath_var=LD_LIBRARY_PATH
14515 shlibpath_overrides_runpath=yes
14516 if test "$with_gnu_ld" = yes; then
14522 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14525 soname_spec='${libname}${release}${shared_ext}$major'
14526 shlibpath_var=LD_LIBRARY_PATH
14527 case $host_vendor in
14529 shlibpath_overrides_runpath=no
14531 export_dynamic_flag_spec='${wl}-Blargedynsym'
14532 runpath_var=LD_RUN_PATH
14540 shlibpath_overrides_runpath=no
14541 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14547 if test -d /usr/nec ;then
14549 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14550 soname_spec='$libname${shared_ext}.$major'
14551 shlibpath_var=LD_LIBRARY_PATH
14557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14558 soname_spec='${libname}${release}${shared_ext}$major'
14559 shlibpath_var=LD_LIBRARY_PATH
14566 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14567 echo "${ECHO_T}$dynamic_linker" >&6
14568 test "$dynamic_linker" = no && can_build_shared=no
14571 # The else clause should only fire when bootstrapping the
14572 # libtool distribution, otherwise you forgot to ship ltmain.sh
14573 # with your package, and you will get complaints that there are
14574 # no rules to generate ltmain.sh.
14575 if test -f "$ltmain"; then
14576 # See if we are running on zsh, and set the options which allow our commands through
14577 # without removal of \ escapes.
14578 if test -n "${ZSH_VERSION+set}" ; then
14579 setopt NO_GLOB_SUBST
14581 # Now quote all the things that may contain metacharacters while being
14582 # careful not to overquote the AC_SUBSTed values. We take copies of the
14583 # variables and quote the copies for generation of the libtool script.
14584 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14585 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14586 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14587 deplibs_check_method reload_flag reload_cmds need_locks \
14588 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14589 lt_cv_sys_global_symbol_to_c_name_address \
14590 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14591 old_postinstall_cmds old_postuninstall_cmds \
14595 lt_prog_compiler_wl_F77 \
14596 lt_prog_compiler_pic_F77 \
14597 lt_prog_compiler_static_F77 \
14598 lt_prog_compiler_no_builtin_flag_F77 \
14599 export_dynamic_flag_spec_F77 \
14600 thread_safe_flag_spec_F77 \
14601 whole_archive_flag_spec_F77 \
14602 enable_shared_with_static_runtimes_F77 \
14603 old_archive_cmds_F77 \
14604 old_archive_from_new_cmds_F77 \
14605 predep_objects_F77 \
14606 postdep_objects_F77 \
14609 compiler_lib_search_path_F77 \
14611 archive_expsym_cmds_F77 \
14612 postinstall_cmds_F77 \
14613 postuninstall_cmds_F77 \
14614 old_archive_from_expsyms_cmds_F77 \
14615 allow_undefined_flag_F77 \
14616 no_undefined_flag_F77 \
14617 export_symbols_cmds_F77 \
14618 hardcode_libdir_flag_spec_F77 \
14619 hardcode_libdir_flag_spec_ld_F77 \
14620 hardcode_libdir_separator_F77 \
14621 hardcode_automatic_F77 \
14623 module_expsym_cmds_F77 \
14624 lt_cv_prog_compiler_c_o_F77 \
14625 exclude_expsyms_F77 \
14626 include_expsyms_F77; do
14629 old_archive_cmds_F77 | \
14630 old_archive_from_new_cmds_F77 | \
14631 archive_cmds_F77 | \
14632 archive_expsym_cmds_F77 | \
14633 module_cmds_F77 | \
14634 module_expsym_cmds_F77 | \
14635 old_archive_from_expsyms_cmds_F77 | \
14636 export_symbols_cmds_F77 | \
14637 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14638 postinstall_cmds | postuninstall_cmds | \
14639 old_postinstall_cmds | old_postuninstall_cmds | \
14640 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14641 # Double-quote double-evaled strings.
14642 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14645 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14651 *'\$0 --fallback-echo"')
14652 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14658 cat <<__EOF__ >> "$cfgfile"
14659 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14661 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14663 # Shell to use when invoking shell scripts.
14666 # Whether or not to build shared libraries.
14667 build_libtool_libs=$enable_shared
14669 # Whether or not to build static libraries.
14670 build_old_libs=$enable_static
14672 # Whether or not to add -lc for building shared libraries.
14673 build_libtool_need_lc=$archive_cmds_need_lc_F77
14675 # Whether or not to disallow shared libs when runtime libs are static
14676 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14678 # Whether or not to optimize for fast installation.
14679 fast_install=$enable_fast_install
14682 host_alias=$host_alias
14685 # An echo program that does not interpret backslashes.
14690 AR_FLAGS=$lt_AR_FLAGS
14695 # A language-specific compiler.
14696 CC=$lt_compiler_F77
14698 # Is the compiler the GNU C compiler?
14704 # The linker used to build libraries.
14707 # Whether we need hard or soft links.
14710 # A BSD-compatible nm program.
14713 # A symbol stripping program
14716 # Used to examine libraries when file_magic_cmd begins "file"
14717 MAGIC_CMD=$MAGIC_CMD
14719 # Used on cygwin: DLL creation program.
14722 # Used on cygwin: object dumper.
14725 # Used on cygwin: assembler.
14728 # The name of the directory that contains temporary libtool files.
14731 # How to create reloadable object files.
14732 reload_flag=$lt_reload_flag
14733 reload_cmds=$lt_reload_cmds
14735 # How to pass a linker flag through the compiler.
14736 wl=$lt_lt_prog_compiler_wl_F77
14738 # Object file suffix (normally "o").
14739 objext="$ac_objext"
14741 # Old archive suffix (normally "a").
14744 # Shared library suffix (normally ".so").
14747 # Executable file suffix (normally "").
14750 # Additional compiler flags for building library objects.
14751 pic_flag=$lt_lt_prog_compiler_pic_F77
14754 # What is the maximum length of a command?
14755 max_cmd_len=$lt_cv_sys_max_cmd_len
14757 # Does compiler simultaneously support -c and -o options?
14758 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14760 # Must we lock files when doing compilation ?
14761 need_locks=$lt_need_locks
14763 # Do we need the lib prefix for modules?
14764 need_lib_prefix=$need_lib_prefix
14766 # Do we need a version for libraries?
14767 need_version=$need_version
14769 # Whether dlopen is supported.
14770 dlopen_support=$enable_dlopen
14772 # Whether dlopen of programs is supported.
14773 dlopen_self=$enable_dlopen_self
14775 # Whether dlopen of statically linked programs is supported.
14776 dlopen_self_static=$enable_dlopen_self_static
14778 # Compiler flag to prevent dynamic linking.
14779 link_static_flag=$lt_lt_prog_compiler_static_F77
14781 # Compiler flag to turn off builtin functions.
14782 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14784 # Compiler flag to allow reflexive dlopens.
14785 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14787 # Compiler flag to generate shared objects directly from archives.
14788 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14790 # Compiler flag to generate thread-safe objects.
14791 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14793 # Library versioning type.
14794 version_type=$version_type
14796 # Format of library name prefix.
14797 libname_spec=$lt_libname_spec
14799 # List of archive names. First name is the real one, the rest are links.
14800 # The last name is the one that the linker finds with -lNAME.
14801 library_names_spec=$lt_library_names_spec
14803 # The coded name of the library, if different from the real name.
14804 soname_spec=$lt_soname_spec
14806 # Commands used to build and install an old-style archive.
14808 old_archive_cmds=$lt_old_archive_cmds_F77
14809 old_postinstall_cmds=$lt_old_postinstall_cmds
14810 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14812 # Create an old-style archive from a shared archive.
14813 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14815 # Create a temporary old-style archive to link instead of a shared archive.
14816 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14818 # Commands used to build and install a shared archive.
14819 archive_cmds=$lt_archive_cmds_F77
14820 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14821 postinstall_cmds=$lt_postinstall_cmds
14822 postuninstall_cmds=$lt_postuninstall_cmds
14824 # Commands used to build a loadable module (assumed same as above if empty)
14825 module_cmds=$lt_module_cmds_F77
14826 module_expsym_cmds=$lt_module_expsym_cmds_F77
14828 # Commands to strip libraries.
14829 old_striplib=$lt_old_striplib
14830 striplib=$lt_striplib
14832 # Dependencies to place before the objects being linked to create a
14834 predep_objects=$lt_predep_objects_F77
14836 # Dependencies to place after the objects being linked to create a
14838 postdep_objects=$lt_postdep_objects_F77
14840 # Dependencies to place before the objects being linked to create a
14842 predeps=$lt_predeps_F77
14844 # Dependencies to place after the objects being linked to create a
14846 postdeps=$lt_postdeps_F77
14848 # The library search path used internally by the compiler when linking
14849 # a shared library.
14850 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14852 # Method to check whether dependent libraries are shared objects.
14853 deplibs_check_method=$lt_deplibs_check_method
14855 # Command to use when deplibs_check_method == file_magic.
14856 file_magic_cmd=$lt_file_magic_cmd
14858 # Flag that allows shared libraries with undefined symbols to be built.
14859 allow_undefined_flag=$lt_allow_undefined_flag_F77
14861 # Flag that forces no undefined symbols.
14862 no_undefined_flag=$lt_no_undefined_flag_F77
14864 # Commands used to finish a libtool library installation in a directory.
14865 finish_cmds=$lt_finish_cmds
14867 # Same as above, but a single script fragment to be evaled but not shown.
14868 finish_eval=$lt_finish_eval
14870 # Take the output of nm and produce a listing of raw symbols and C names.
14871 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14873 # Transform the output of nm in a proper C declaration
14874 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14876 # Transform the output of nm in a C name address pair
14877 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14879 # This is the shared library runtime path variable.
14880 runpath_var=$runpath_var
14882 # This is the shared library path variable.
14883 shlibpath_var=$shlibpath_var
14885 # Is shlibpath searched before the hard-coded library search path?
14886 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14888 # How to hardcode a shared library path into an executable.
14889 hardcode_action=$hardcode_action_F77
14891 # Whether we should hardcode library paths into libraries.
14892 hardcode_into_libs=$hardcode_into_libs
14894 # Flag to hardcode \$libdir into a binary during linking.
14895 # This must work even if \$libdir does not exist.
14896 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14898 # If ld is used when linking, flag to hardcode \$libdir into
14899 # a binary during linking. This must work even if \$libdir does
14901 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14903 # Whether we need a single -rpath flag with a separated argument.
14904 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14906 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14907 # resulting binary.
14908 hardcode_direct=$hardcode_direct_F77
14910 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14911 # resulting binary.
14912 hardcode_minus_L=$hardcode_minus_L_F77
14914 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14915 # the resulting binary.
14916 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14918 # Set to yes if building a shared library automatically hardcodes DIR into the library
14919 # and all subsequent libraries and executables linked against it.
14920 hardcode_automatic=$hardcode_automatic_F77
14922 # Variables whose values should be saved in libtool wrapper scripts and
14923 # restored at relink time.
14924 variables_saved_for_relink="$variables_saved_for_relink"
14926 # Whether libtool must link a program against all its dependency libraries.
14927 link_all_deplibs=$link_all_deplibs_F77
14929 # Compile-time system search path for libraries
14930 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14932 # Run-time system search path for libraries
14933 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14935 # Fix the shell variable \$srcfile for the compiler.
14936 fix_srcfile_path="$fix_srcfile_path_F77"
14938 # Set to yes if exported symbols are required.
14939 always_export_symbols=$always_export_symbols_F77
14941 # The commands to list exported symbols.
14942 export_symbols_cmds=$lt_export_symbols_cmds_F77
14944 # The commands to extract the exported symbol list from a shared archive.
14945 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14947 # Symbols that should not be listed in the preloaded symbols.
14948 exclude_expsyms=$lt_exclude_expsyms_F77
14950 # Symbols that must always be exported.
14951 include_expsyms=$lt_include_expsyms_F77
14953 # ### END LIBTOOL TAG CONFIG: $tagname
14959 # If there is no Makefile yet, we rely on a make rule to execute
14960 # `config.status --recheck' to rerun these tests and create the
14961 # libtool script then.
14962 test -f Makefile && make "$ltmain"
14967 ac_cpp='$CPP $CPPFLAGS'
14968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14980 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14984 # Source file extension for Java test sources.
14987 # Object file extension for compiled Java test sources.
14991 # Code to be used in simple compile tests
14992 lt_simple_compile_test_code="class foo {}\n"
14994 # Code to be used in simple link tests
14995 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
14997 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14999 # If no C compiler was specified, use CC.
15002 # Allow CC to be a program name with arguments.
15006 # Allow CC to be a program name with arguments.
15012 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15013 archive_cmds_need_lc_GCJ=no
15016 ## There is no encapsulation within the following macros, do not change
15017 ## the running order or otherwise move them around unless you know exactly
15018 ## what you are doing...
15020 lt_prog_compiler_no_builtin_flag_GCJ=
15022 if test "$GCC" = yes; then
15023 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15025 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15026 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15027 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15028 echo $ECHO_N "(cached) $ECHO_C" >&6
15030 lt_cv_prog_compiler_rtti_exceptions=no
15031 ac_outfile=conftest.$ac_objext
15032 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15033 lt_compiler_flag="-fno-rtti -fno-exceptions"
15034 # Insert the option either (1) after the last *FLAGS variable, or
15035 # (2) before a word containing "conftest.", or (3) at the end.
15036 # Note that $ac_compile itself does not contain backslashes and begins
15037 # with a dollar sign (not a hyphen), so the echo should work correctly.
15038 # The option is referenced via a variable to avoid confusing sed.
15039 lt_compile=`echo "$ac_compile" | $SED \
15040 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15041 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15042 -e 's:$: $lt_compiler_flag:'`
15043 (eval echo "\"\$as_me:15043: $lt_compile\"" >&5)
15044 (eval "$lt_compile" 2>conftest.err)
15046 cat conftest.err >&5
15047 echo "$as_me:15047: \$? = $ac_status" >&5
15048 if (exit $ac_status) && test -s "$ac_outfile"; then
15049 # The compiler can only warn and ignore the option if not recognized
15050 # So say no if there are warnings
15051 if test ! -s conftest.err; then
15052 lt_cv_prog_compiler_rtti_exceptions=yes
15058 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15059 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15061 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15062 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15069 lt_prog_compiler_wl_GCJ=
15070 lt_prog_compiler_pic_GCJ=
15071 lt_prog_compiler_static_GCJ=
15073 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15074 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15076 if test "$GCC" = yes; then
15077 lt_prog_compiler_wl_GCJ='-Wl,'
15078 lt_prog_compiler_static_GCJ='-static'
15082 # All AIX code is PIC.
15083 if test "$host_cpu" = ia64; then
15084 # AIX 5 now supports IA64 processor
15085 lt_prog_compiler_static_GCJ='-Bstatic'
15090 # FIXME: we need at least 68020 code to build shared libraries, but
15091 # adding the `-m68020' flag to GCC prevents building anything better,
15093 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15096 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15097 # PIC is the default for these OSes.
15100 mingw* | pw32* | os2*)
15101 # This hack is so that the source file can tell whether it is being
15102 # built for inclusion in a dll (and should export symbols for example).
15103 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15106 darwin* | rhapsody*)
15107 # PIC is the default on this platform
15108 # Common symbols not allowed in MH_DYLIB files
15109 lt_prog_compiler_pic_GCJ='-fno-common'
15113 # Just because we use GCC doesn't mean we suddenly get shared libraries
15114 # on systems that don't support them.
15115 lt_prog_compiler_can_build_shared_GCJ=no
15120 if test -d /usr/nec; then
15121 lt_prog_compiler_pic_GCJ=-Kconform_pic
15126 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15127 # not for PA HP-UX.
15128 case "$host_cpu" in
15133 lt_prog_compiler_pic_GCJ='-fPIC'
15139 lt_prog_compiler_pic_GCJ='-fPIC'
15143 # PORTME Check for flag to pass linker flags through the system compiler.
15146 lt_prog_compiler_wl_GCJ='-Wl,'
15147 if test "$host_cpu" = ia64; then
15148 # AIX 5 now supports IA64 processor
15149 lt_prog_compiler_static_GCJ='-Bstatic'
15151 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15155 mingw* | pw32* | os2*)
15156 # This hack is so that the source file can tell whether it is being
15157 # built for inclusion in a dll (and should export symbols for example).
15158 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15161 hpux9* | hpux10* | hpux11*)
15162 lt_prog_compiler_wl_GCJ='-Wl,'
15163 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15164 # not for PA HP-UX.
15165 case "$host_cpu" in
15170 lt_prog_compiler_pic_GCJ='+Z'
15173 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15174 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15177 irix5* | irix6* | nonstopux*)
15178 lt_prog_compiler_wl_GCJ='-Wl,'
15179 # PIC (with -KPIC) is the default.
15180 lt_prog_compiler_static_GCJ='-non_shared'
15184 lt_prog_compiler_pic_GCJ='-KPIC'
15185 lt_prog_compiler_static_GCJ='-Bstatic'
15191 lt_prog_compiler_wl_GCJ='-Wl,'
15192 lt_prog_compiler_pic_GCJ='-KPIC'
15193 lt_prog_compiler_static_GCJ='-static'
15196 lt_prog_compiler_wl_GCJ='-Wl,'
15197 # All Alpha code is PIC.
15198 lt_prog_compiler_static_GCJ='-non_shared'
15203 osf3* | osf4* | osf5*)
15204 lt_prog_compiler_wl_GCJ='-Wl,'
15205 # All OSF/1 code is PIC.
15206 lt_prog_compiler_static_GCJ='-non_shared'
15210 lt_prog_compiler_pic_GCJ='-Kpic'
15211 lt_prog_compiler_static_GCJ='-dn'
15215 lt_prog_compiler_wl_GCJ='-Wl,'
15216 lt_prog_compiler_pic_GCJ='-KPIC'
15217 lt_prog_compiler_static_GCJ='-Bstatic'
15221 lt_prog_compiler_wl_GCJ='-Qoption ld '
15222 lt_prog_compiler_pic_GCJ='-PIC'
15223 lt_prog_compiler_static_GCJ='-Bstatic'
15226 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15227 lt_prog_compiler_wl_GCJ='-Wl,'
15228 lt_prog_compiler_pic_GCJ='-KPIC'
15229 lt_prog_compiler_static_GCJ='-Bstatic'
15233 if test -d /usr/nec ;then
15234 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15235 lt_prog_compiler_static_GCJ='-Bstatic'
15240 lt_prog_compiler_pic_GCJ='-pic'
15241 lt_prog_compiler_static_GCJ='-Bstatic'
15245 lt_prog_compiler_can_build_shared_GCJ=no
15250 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15251 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15254 # Check to make sure the PIC flag actually works.
15256 if test -n "$lt_prog_compiler_pic_GCJ"; then
15257 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15258 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15259 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15260 echo $ECHO_N "(cached) $ECHO_C" >&6
15262 lt_prog_compiler_pic_works_GCJ=no
15263 ac_outfile=conftest.$ac_objext
15264 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15265 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15266 # Insert the option either (1) after the last *FLAGS variable, or
15267 # (2) before a word containing "conftest.", or (3) at the end.
15268 # Note that $ac_compile itself does not contain backslashes and begins
15269 # with a dollar sign (not a hyphen), so the echo should work correctly.
15270 # The option is referenced via a variable to avoid confusing sed.
15271 lt_compile=`echo "$ac_compile" | $SED \
15272 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15273 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15274 -e 's:$: $lt_compiler_flag:'`
15275 (eval echo "\"\$as_me:15275: $lt_compile\"" >&5)
15276 (eval "$lt_compile" 2>conftest.err)
15278 cat conftest.err >&5
15279 echo "$as_me:15279: \$? = $ac_status" >&5
15280 if (exit $ac_status) && test -s "$ac_outfile"; then
15281 # The compiler can only warn and ignore the option if not recognized
15282 # So say no if there are warnings
15283 if test ! -s conftest.err; then
15284 lt_prog_compiler_pic_works_GCJ=yes
15290 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15291 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15293 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15294 case $lt_prog_compiler_pic_GCJ in
15296 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15299 lt_prog_compiler_pic_GCJ=
15300 lt_prog_compiler_can_build_shared_GCJ=no
15305 # For platforms which do not support PIC, -DPIC is meaningless:
15307 lt_prog_compiler_pic_GCJ=
15310 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15314 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15315 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15316 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15317 echo $ECHO_N "(cached) $ECHO_C" >&6
15319 lt_cv_prog_compiler_c_o_GCJ=no
15320 $rm -r conftest 2>/dev/null
15324 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15326 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15327 # that will create temporary files in the current directory regardless of
15328 # the output directory. Thus, making CWD read-only will cause this test
15329 # to fail, enabling locking or at least warning the user not to do parallel
15333 lt_compiler_flag="-o out/conftest2.$ac_objext"
15334 # Insert the option either (1) after the last *FLAGS variable, or
15335 # (2) before a word containing "conftest.", or (3) at the end.
15336 # Note that $ac_compile itself does not contain backslashes and begins
15337 # with a dollar sign (not a hyphen), so the echo should work correctly.
15338 lt_compile=`echo "$ac_compile" | $SED \
15339 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15340 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15341 -e 's:$: $lt_compiler_flag:'`
15342 (eval echo "\"\$as_me:15342: $lt_compile\"" >&5)
15343 (eval "$lt_compile" 2>out/conftest.err)
15345 cat out/conftest.err >&5
15346 echo "$as_me:15346: \$? = $ac_status" >&5
15347 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15349 # The compiler can only warn and ignore the option if not recognized
15350 # So say no if there are warnings
15351 if test ! -s out/conftest.err; then
15352 lt_cv_prog_compiler_c_o_GCJ=yes
15356 $rm conftest* out/*
15363 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15364 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15367 hard_links="nottested"
15368 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15369 # do not overwrite the value of need_locks provided by the user
15370 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15371 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15374 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15376 ln conftest.a conftest.b 2>&5 || hard_links=no
15377 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15378 echo "$as_me:$LINENO: result: $hard_links" >&5
15379 echo "${ECHO_T}$hard_links" >&6
15380 if test "$hard_links" = no; then
15381 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15382 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15389 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15390 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15393 allow_undefined_flag_GCJ=
15394 enable_shared_with_static_runtimes_GCJ=no
15396 archive_expsym_cmds_GCJ=
15397 old_archive_From_new_cmds_GCJ=
15398 old_archive_from_expsyms_cmds_GCJ=
15399 export_dynamic_flag_spec_GCJ=
15400 whole_archive_flag_spec_GCJ=
15401 thread_safe_flag_spec_GCJ=
15402 hardcode_libdir_flag_spec_GCJ=
15403 hardcode_libdir_flag_spec_ld_GCJ=
15404 hardcode_libdir_separator_GCJ=
15405 hardcode_direct_GCJ=no
15406 hardcode_minus_L_GCJ=no
15407 hardcode_shlibpath_var_GCJ=unsupported
15408 link_all_deplibs_GCJ=unknown
15409 hardcode_automatic_GCJ=no
15411 module_expsym_cmds_GCJ=
15412 always_export_symbols_GCJ=no
15413 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15414 # include_expsyms should be a list of space-separated symbols to be *always*
15415 # included in the symbol list
15416 include_expsyms_GCJ=
15417 # exclude_expsyms can be an extended regexp of symbols to exclude
15418 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15419 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15420 # as well as any symbol that contains `d'.
15421 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15422 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15423 # platforms (ab)use it in PIC code, but their linkers get confused if
15424 # the symbol is explicitly referenced. Since portable code cannot
15425 # rely on this symbol name, it's probably fine to never include it in
15426 # preloaded symbol tables.
15427 extract_expsyms_cmds=
15430 cygwin* | mingw* | pw32*)
15431 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15432 # When not using gcc, we currently assume that we are using
15433 # Microsoft Visual C++.
15434 if test "$GCC" != yes; then
15444 if test "$with_gnu_ld" = yes; then
15445 # If archive_cmds runs LD, not CC, wlarc should be empty
15448 # See if GNU ld supports shared libraries.
15450 aix3* | aix4* | aix5*)
15451 # On AIX/PPC, the GNU linker is very broken
15452 if test "$host_cpu" != ia64; then
15456 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15457 *** to be unable to reliably create shared libraries on AIX.
15458 *** Therefore, libtool is disabling shared libraries support. If you
15459 *** really care for shared libraries, you may want to modify your PATH
15460 *** so that a non-GNU linker is found, and then restart.
15467 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)'
15468 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15469 hardcode_minus_L_GCJ=yes
15471 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15472 # that the semantics of dynamic libraries on AmigaOS, at least up
15473 # to version 4, is to share data among multiple programs linked
15474 # with the same dynamic library. Since this doesn't match the
15475 # behavior of shared libraries on other platforms, we can't use
15481 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15482 allow_undefined_flag_GCJ=unsupported
15483 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15484 # support --undefined. This deserves some investigation. FIXME
15485 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15491 cygwin* | mingw* | pw32*)
15492 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15493 # as there is no search path for DLLs.
15494 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15495 allow_undefined_flag_GCJ=unsupported
15496 always_export_symbols_GCJ=no
15497 enable_shared_with_static_runtimes_GCJ=yes
15498 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15500 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15501 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15502 # If the export-symbols file already is a .def file (1st line
15503 # is EXPORTS), use it as is; otherwise, prepend...
15504 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15505 cp $export_symbols $output_objdir/$soname.def;
15507 echo EXPORTS > $output_objdir/$soname.def;
15508 cat $export_symbols >> $output_objdir/$soname.def;
15510 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15517 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15518 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15521 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15522 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15527 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15531 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15532 *** create shared libraries on Solaris systems. Therefore, libtool
15533 *** is disabling shared libraries support. We urge you to upgrade GNU
15534 *** binutils to release 2.9.1 or newer. Another option is to modify
15535 *** your PATH or compiler configuration so that the native linker is
15536 *** used, and then restart.
15539 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15540 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15541 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15548 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15550 hardcode_direct_GCJ=yes
15551 hardcode_shlibpath_var_GCJ=no
15555 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15556 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15557 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15564 if test "$ld_shlibs_GCJ" = yes; then
15565 runpath_var=LD_RUN_PATH
15566 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15567 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15568 # ancient GNU ld didn't support --whole-archive et. al.
15569 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15570 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15572 whole_archive_flag_spec_GCJ=
15576 # PORTME fill in a description of your system's linker (not GNU ld)
15579 allow_undefined_flag_GCJ=unsupported
15580 always_export_symbols_GCJ=yes
15581 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'
15582 # Note: this linker hardcodes the directories in LIBPATH if there
15583 # are no directories specified by -L.
15584 hardcode_minus_L_GCJ=yes
15585 if test "$GCC" = yes && test -z "$link_static_flag"; then
15586 # Neither direct hardcoding nor static linking is supported with a
15588 hardcode_direct_GCJ=unsupported
15593 if test "$host_cpu" = ia64; then
15594 # On IA64, the linker does run time linking by default, so we don't
15595 # have to do anything special.
15596 aix_use_runtimelinking=no
15597 exp_sym_flag='-Bexport'
15600 # If we're using GNU nm, then we don't want the "-C" option.
15601 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15602 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15603 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'
15605 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'
15607 aix_use_runtimelinking=no
15609 # Test if we are trying to use run time linking or normal
15610 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15611 # need to do runtime linking.
15612 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15613 for ld_flag in $LDFLAGS; do
15614 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15615 aix_use_runtimelinking=yes
15621 exp_sym_flag='-bexport'
15622 no_entry_flag='-bnoentry'
15625 # When large executables or shared objects are built, AIX ld can
15626 # have problems creating the table of contents. If linking a library
15627 # or program results in "error TOC overflow" add -mminimal-toc to
15628 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15629 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15631 archive_cmds_GCJ=''
15632 hardcode_direct_GCJ=yes
15633 hardcode_libdir_separator_GCJ=':'
15634 link_all_deplibs_GCJ=yes
15636 if test "$GCC" = yes; then
15637 case $host_os in aix4.012|aix4.012.*)
15638 # We only want to do this on AIX 4.2 and lower, the check
15639 # below for broken collect2 doesn't work under 4.3+
15640 collect2name=`${CC} -print-prog-name=collect2`
15641 if test -f "$collect2name" && \
15642 strings "$collect2name" | grep resolve_lib_name >/dev/null
15644 # We have reworked collect2
15645 hardcode_direct_GCJ=yes
15647 # We have old collect2
15648 hardcode_direct_GCJ=unsupported
15649 # It fails to find uninstalled libraries when the uninstalled
15650 # path is not listed in the libpath. Setting hardcode_minus_L
15651 # to unsupported forces relinking
15652 hardcode_minus_L_GCJ=yes
15653 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15654 hardcode_libdir_separator_GCJ=
15657 shared_flag='-shared'
15660 if test "$host_cpu" = ia64; then
15661 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15662 # chokes on -Wl,-G. The following line is correct:
15665 if test "$aix_use_runtimelinking" = yes; then
15666 shared_flag='${wl}-G'
15668 shared_flag='${wl}-bM:SRE'
15673 # It seems that -bexpall does not export symbols beginning with
15674 # underscore (_), so it is better to generate a list of symbols to export.
15675 always_export_symbols_GCJ=yes
15676 if test "$aix_use_runtimelinking" = yes; then
15677 # Warning - without using the other runtime loading flags (-brtl),
15678 # -berok will link without error, but may produce a broken library.
15679 allow_undefined_flag_GCJ='-berok'
15680 # Determine the default libpath from the value encoded in an empty executable.
15681 cat >conftest.$ac_ext <<_ACEOF
15682 #line $LINENO "configure"
15685 cat confdefs.h >>conftest.$ac_ext
15686 cat >>conftest.$ac_ext <<_ACEOF
15687 /* end confdefs.h. */
15697 rm -f conftest.$ac_objext conftest$ac_exeext
15698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15699 (eval $ac_link) 2>&5
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); } &&
15703 { ac_try='test -s conftest$ac_exeext'
15704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15705 (eval $ac_try) 2>&5
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); }; }; then
15710 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15712 # Check for a 64-bit object if we didn't find anything.
15713 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; }
15716 echo "$as_me: failed program was:" >&5
15717 sed 's/^/| /' conftest.$ac_ext >&5
15720 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15721 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15723 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15724 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"
15726 if test "$host_cpu" = ia64; then
15727 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15728 allow_undefined_flag_GCJ="-z nodefs"
15729 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"
15731 # Determine the default libpath from the value encoded in an empty executable.
15732 cat >conftest.$ac_ext <<_ACEOF
15733 #line $LINENO "configure"
15736 cat confdefs.h >>conftest.$ac_ext
15737 cat >>conftest.$ac_ext <<_ACEOF
15738 /* end confdefs.h. */
15748 rm -f conftest.$ac_objext conftest$ac_exeext
15749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15750 (eval $ac_link) 2>&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); } &&
15754 { ac_try='test -s conftest$ac_exeext'
15755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15756 (eval $ac_try) 2>&5
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); }; }; then
15761 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15763 # Check for a 64-bit object if we didn't find anything.
15764 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; }
15767 echo "$as_me: failed program was:" >&5
15768 sed 's/^/| /' conftest.$ac_ext >&5
15771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15772 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15774 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15775 # Warning - without using the other run time loading flags,
15776 # -berok will link without error, but may produce a broken library.
15777 no_undefined_flag_GCJ=' ${wl}-bernotok'
15778 allow_undefined_flag_GCJ=' ${wl}-berok'
15779 # -bexpall does not export symbols beginning with underscore (_)
15780 always_export_symbols_GCJ=yes
15781 # Exported symbols can be pulled into shared objects from archives
15782 whole_archive_flag_spec_GCJ=' '
15783 archive_cmds_need_lc_GCJ=yes
15784 # This is similar to how AIX traditionally builds it's shared libraries.
15785 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'
15791 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)'
15792 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15793 hardcode_minus_L_GCJ=yes
15794 # see comment about different semantics on the GNU ld section
15799 export_dynamic_flag_spec_GCJ=-rdynamic
15802 cygwin* | mingw* | pw32*)
15803 # When not using gcc, we currently assume that we are using
15804 # Microsoft Visual C++.
15805 # hardcode_libdir_flag_spec is actually meaningless, as there is
15806 # no search path for DLLs.
15807 hardcode_libdir_flag_spec_GCJ=' '
15808 allow_undefined_flag_GCJ=unsupported
15809 # Tell ltmain to make .lib files, not .a files.
15811 # Tell ltmain to make .dll files, not .so files.
15813 # FIXME: Setting linknames here is a bad hack.
15814 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15815 # The linker will automatically build a .lib file if we build a DLL.
15816 old_archive_From_new_cmds_GCJ='true'
15817 # FIXME: Should let the user specify the lib program.
15818 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15819 fix_srcfile_path='`cygpath -w "$srcfile"`'
15820 enable_shared_with_static_runtimes_GCJ=yes
15823 darwin* | rhapsody*)
15824 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15825 archive_cmds_need_lc_GCJ=no
15827 rhapsody* | darwin1.[012])
15828 allow_undefined_flag_GCJ='-undefined suppress'
15831 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15834 # FIXME: Relying on posixy $() will cause problems for
15835 # cross-compilation, but unfortunately the echo tests do not
15836 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15837 # `"' quotes if we put them in here... so don't!
15838 lt_int_apple_cc_single_mod=no
15839 output_verbose_link_cmd='echo'
15840 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15841 lt_int_apple_cc_single_mod=yes
15843 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15844 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15846 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'
15848 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15849 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15850 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15851 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}'
15853 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}'
15855 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}'
15856 hardcode_direct_GCJ=no
15857 hardcode_automatic_GCJ=yes
15858 hardcode_shlibpath_var_GCJ=unsupported
15859 whole_archive_flag_spec_GCJ='-all_load $convenience'
15860 link_all_deplibs_GCJ=yes
15865 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15866 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15867 hardcode_shlibpath_var_GCJ=no
15874 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15875 # support. Future versions do this automatically, but an explicit c++rt0.o
15876 # does not break anything, and helps significantly (at the cost of a little
15879 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15880 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15881 hardcode_direct_GCJ=yes
15882 hardcode_shlibpath_var_GCJ=no
15885 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15887 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15888 hardcode_direct_GCJ=yes
15889 hardcode_minus_L_GCJ=yes
15890 hardcode_shlibpath_var_GCJ=no
15893 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15895 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15896 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15897 hardcode_direct_GCJ=yes
15898 hardcode_shlibpath_var_GCJ=no
15902 if test "$GCC" = yes; then
15903 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'
15905 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'
15907 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15908 hardcode_libdir_separator_GCJ=:
15909 hardcode_direct_GCJ=yes
15911 # hardcode_minus_L: Not really in the search PATH,
15912 # but as the default location of the library.
15913 hardcode_minus_L_GCJ=yes
15914 export_dynamic_flag_spec_GCJ='${wl}-E'
15918 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15919 case "$host_cpu" in
15921 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15924 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15928 case "$host_cpu" in
15930 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15933 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15937 if test "$with_gnu_ld" = no; then
15938 case "$host_cpu" in
15940 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15941 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15942 hardcode_libdir_separator_GCJ=:
15943 hardcode_direct_GCJ=no
15944 hardcode_shlibpath_var_GCJ=no
15947 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15948 hardcode_direct_GCJ=no
15949 hardcode_shlibpath_var_GCJ=no
15951 # hardcode_minus_L: Not really in the search PATH,
15952 # but as the default location of the library.
15953 hardcode_minus_L_GCJ=yes
15956 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15957 hardcode_libdir_separator_GCJ=:
15958 hardcode_direct_GCJ=yes
15959 export_dynamic_flag_spec_GCJ='${wl}-E'
15961 # hardcode_minus_L: Not really in the search PATH,
15962 # but as the default location of the library.
15963 hardcode_minus_L_GCJ=yes
15969 irix5* | irix6* | nonstopux*)
15970 if test "$GCC" = yes; then
15971 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'
15973 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'
15974 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15976 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15977 hardcode_libdir_separator_GCJ=:
15978 link_all_deplibs_GCJ=yes
15982 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15983 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15985 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15987 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15988 hardcode_direct_GCJ=yes
15989 hardcode_shlibpath_var_GCJ=no
15993 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15994 hardcode_direct_GCJ=yes
15995 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15996 hardcode_libdir_separator_GCJ=:
15997 hardcode_shlibpath_var_GCJ=no
16001 hardcode_direct_GCJ=yes
16002 hardcode_shlibpath_var_GCJ=no
16003 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16004 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16005 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16006 export_dynamic_flag_spec_GCJ='${wl}-E'
16009 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16010 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16011 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16014 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16015 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16022 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16023 hardcode_minus_L_GCJ=yes
16024 allow_undefined_flag_GCJ=unsupported
16025 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'
16026 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16030 if test "$GCC" = yes; then
16031 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16032 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'
16034 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16035 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'
16037 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16038 hardcode_libdir_separator_GCJ=:
16041 osf4* | osf5*) # as osf3* with the addition of -msym flag
16042 if test "$GCC" = yes; then
16043 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16044 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'
16045 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16047 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16048 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'
16049 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~
16050 $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'
16052 # Both c and cxx compiler support -rpath directly
16053 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16055 hardcode_libdir_separator_GCJ=:
16059 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16060 hardcode_shlibpath_var_GCJ=no
16061 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16062 runpath_var=LD_RUN_PATH
16063 hardcode_runpath_var=yes
16067 no_undefined_flag_GCJ=' -z text'
16068 if test "$GCC" = yes; then
16069 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16070 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16071 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16073 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16074 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16075 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16077 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16078 hardcode_shlibpath_var_GCJ=no
16080 solaris2.[0-5] | solaris2.[0-5].*) ;;
16081 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16082 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16084 link_all_deplibs_GCJ=yes
16088 if test "x$host_vendor" = xsequent; then
16089 # Use $CC to link under sequent, because it throws in some extra .o
16090 # files that make .init and .fini sections work.
16091 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16093 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16095 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16096 hardcode_direct_GCJ=yes
16097 hardcode_minus_L_GCJ=yes
16098 hardcode_shlibpath_var_GCJ=no
16102 case $host_vendor in
16104 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16105 hardcode_direct_GCJ=yes # is this really true???
16108 ## LD is ld it makes a PLAMLIB
16109 ## CC just makes a GrossModule.
16110 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16111 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16112 hardcode_direct_GCJ=no
16115 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16116 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16119 runpath_var='LD_RUN_PATH'
16120 hardcode_shlibpath_var_GCJ=no
16124 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16125 hardcode_shlibpath_var_GCJ=no
16126 export_dynamic_flag_spec_GCJ='-Bexport'
16130 if test -d /usr/nec; then
16131 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16132 hardcode_shlibpath_var_GCJ=no
16133 runpath_var=LD_RUN_PATH
16134 hardcode_runpath_var=yes
16140 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16141 hardcode_direct_GCJ=yes
16142 hardcode_minus_L_GCJ=no
16143 hardcode_shlibpath_var_GCJ=no
16144 hardcode_runpath_var=yes
16145 runpath_var=LD_RUN_PATH
16148 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16149 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16150 if test "$GCC" = yes; then
16151 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16153 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16155 runpath_var='LD_RUN_PATH'
16156 hardcode_shlibpath_var_GCJ=no
16160 no_undefined_flag_GCJ=' -z text'
16161 # $CC -shared without GNU ld will not create a library from C++
16162 # object files and a static libstdc++, better avoid it by now
16163 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16164 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16165 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16166 hardcode_libdir_flag_spec_GCJ=
16167 hardcode_shlibpath_var_GCJ=no
16168 runpath_var='LD_RUN_PATH'
16172 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16173 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16174 hardcode_shlibpath_var_GCJ=no
16183 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16184 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16185 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16187 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16188 if test "$GCC" = yes; then
16189 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16193 # Do we need to explicitly link libc?
16195 case "x$archive_cmds_need_lc_GCJ" in
16197 # Assume -lc should be added
16198 archive_cmds_need_lc_GCJ=yes
16200 if test "$enable_shared" = yes && test "$GCC" = yes; then
16201 case $archive_cmds_GCJ in
16203 # FIXME: we may have to deal with multi-command sequences.
16206 # Test whether the compiler implicitly links with -lc since on some
16207 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16208 # to ld, don't add -lc before -lgcc.
16209 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16210 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16212 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16215 (eval $ac_compile) 2>&5
16217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218 (exit $ac_status); } 2>conftest.err; then
16221 libobjs=conftest.$ac_objext
16223 wl=$lt_prog_compiler_wl_GCJ
16229 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16230 allow_undefined_flag_GCJ=
16231 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16232 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }
16237 archive_cmds_need_lc_GCJ=no
16239 archive_cmds_need_lc_GCJ=yes
16241 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16243 cat conftest.err 1>&5
16246 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16247 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16254 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16255 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16256 hardcode_action_GCJ=
16257 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16258 test -n "$runpath_var GCJ" || \
16259 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16261 # We can hardcode non-existant directories.
16262 if test "$hardcode_direct_GCJ" != no &&
16263 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16264 # have to relink, otherwise we might link with an installed library
16265 # when we should be linking with a yet-to-be-installed one
16266 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16267 test "$hardcode_minus_L_GCJ" != no; then
16268 # Linking always hardcodes the temporary library directory.
16269 hardcode_action_GCJ=relink
16271 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16272 hardcode_action_GCJ=immediate
16275 # We cannot hardcode anything, or else we can only hardcode existing
16277 hardcode_action_GCJ=unsupported
16279 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16280 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16282 if test "$hardcode_action_GCJ" = relink; then
16283 # Fast installation is not supported
16284 enable_fast_install=no
16285 elif test "$shlibpath_overrides_runpath" = yes ||
16286 test "$enable_shared" = no; then
16287 # Fast installation is not necessary
16288 enable_fast_install=needless
16293 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16294 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16295 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16296 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16297 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16298 echo "$as_me:$LINENO: result: yes" >&5
16299 echo "${ECHO_T}yes" >&6
16301 # FIXME - insert some real tests, host_os isn't really good enough
16304 if test -n "$STRIP" ; then
16305 striplib="$STRIP -x"
16306 echo "$as_me:$LINENO: result: yes" >&5
16307 echo "${ECHO_T}yes" >&6
16309 echo "$as_me:$LINENO: result: no" >&5
16310 echo "${ECHO_T}no" >&6
16314 echo "$as_me:$LINENO: result: no" >&5
16315 echo "${ECHO_T}no" >&6
16320 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16321 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16322 library_names_spec=
16323 libname_spec='lib$name'
16327 postuninstall_cmds=
16331 shlibpath_overrides_runpath=unknown
16333 dynamic_linker="$host_os ld.so"
16334 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16335 if test "$GCC" = yes; then
16336 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16337 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16338 # if the path contains ";" then we assume it to be the separator
16339 # otherwise default to the standard path separator (i.e. ":") - it is
16340 # assumed that no part of a normal pathname contains ";" but that should
16341 # okay in the real world where ";" in dirpaths is itself problematic.
16342 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16344 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16347 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16349 need_lib_prefix=unknown
16350 hardcode_into_libs=no
16352 # when you set need_version to no, make sure it does not cause -set_version
16353 # flags to be left without arguments
16354 need_version=unknown
16359 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16360 shlibpath_var=LIBPATH
16362 # AIX 3 has no versioning support, so we append a major version to the name.
16363 soname_spec='${libname}${release}${shared_ext}$major'
16370 hardcode_into_libs=yes
16371 if test "$host_cpu" = ia64; then
16372 # AIX 5 supports IA64
16373 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16374 shlibpath_var=LD_LIBRARY_PATH
16376 # With GCC up to 2.95.x, collect2 would create an import file
16377 # for dependence libraries. The import file would start with
16378 # the line `#! .'. This would cause the generated library to
16379 # depend on `.', always an invalid library. This was fixed in
16380 # development snapshots of GCC prior to 3.0.
16382 aix4 | aix4.[01] | aix4.[01].*)
16383 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16385 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16388 can_build_shared=no
16392 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16393 # soname into executable. Probably we can add versioning support to
16394 # collect2, so additional links can be useful in future.
16395 if test "$aix_use_runtimelinking" = yes; then
16396 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16397 # instead of lib<name>.a to let people know that these are not
16398 # typical AIX shared libraries.
16399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16401 # We preserve .a as extension for shared libraries through AIX4.2
16402 # and later when we are not doing run time linking.
16403 library_names_spec='${libname}${release}.a $libname.a'
16404 soname_spec='${libname}${release}${shared_ext}$major'
16406 shlibpath_var=LIBPATH
16411 library_names_spec='$libname.ixlibrary $libname.a'
16412 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16413 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'
16417 library_names_spec='${libname}${shared_ext}'
16418 dynamic_linker="$host_os ld.so"
16419 shlibpath_var=LIBRARY_PATH
16425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16426 soname_spec='${libname}${release}${shared_ext}$major'
16427 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16428 shlibpath_var=LD_LIBRARY_PATH
16429 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16430 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16431 # the default ld.so.conf also contains /usr/contrib/lib and
16432 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16433 # libtool to hard-code these into programs
16436 cygwin* | mingw* | pw32*)
16437 version_type=windows
16442 case $GCC,$host_os in
16443 yes,cygwin* | yes,mingw* | yes,pw32*)
16444 library_names_spec='$libname.dll.a'
16445 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16446 postinstall_cmds='base_file=`basename \${file}`~
16447 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16448 dldir=$destdir/`dirname \$dlpath`~
16449 test -d \$dldir || mkdir -p \$dldir~
16450 $install_prog $dir/$dlname \$dldir/$dlname'
16451 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16452 dlpath=$dir/\$dldll~
16454 shlibpath_overrides_runpath=yes
16458 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16459 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16460 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16463 # MinGW DLLs use traditional 'lib' prefix
16464 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16465 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16466 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16467 # It is most probably a Windows format PATH printed by
16468 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16469 # path with ; separators, and with drive letters. We can handle the
16470 # drive letters (cygwin fileutils understands them), so leave them,
16471 # especially as we might pass files found there to a mingw objdump,
16472 # which wouldn't understand a cygwinified path. Ahh.
16473 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16475 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16479 # pw32 DLLs use 'pw' prefix rather than 'lib'
16480 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16486 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16489 dynamic_linker='Win32 ld.exe'
16490 # FIXME: first we should search . and the directory the executable is in
16494 darwin* | rhapsody*)
16495 dynamic_linker="$host_os dyld"
16496 version_type=darwin
16499 # FIXME: Relying on posixy $() will cause problems for
16500 # cross-compilation, but unfortunately the echo tests do not
16501 # yet detect zsh echo's removal of \ escapes.
16502 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16503 soname_spec='${libname}${release}${major}$shared_ext'
16504 shlibpath_overrides_runpath=yes
16505 shlibpath_var=DYLD_LIBRARY_PATH
16506 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16507 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16508 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16509 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"`
16511 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16519 soname_spec='${libname}${release}${shared_ext}$major'
16520 shlibpath_var=LD_LIBRARY_PATH
16528 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16529 version_type=freebsd-$objformat
16530 case $version_type in
16532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16537 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16541 shlibpath_var=LD_LIBRARY_PATH
16544 shlibpath_overrides_runpath=yes
16546 freebsd3.01* | freebsdelf3.01*)
16547 shlibpath_overrides_runpath=yes
16548 hardcode_into_libs=yes
16551 shlibpath_overrides_runpath=no
16552 hardcode_into_libs=yes
16561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16562 soname_spec='${libname}${release}${shared_ext}$major'
16563 shlibpath_var=LD_LIBRARY_PATH
16564 hardcode_into_libs=yes
16567 hpux9* | hpux10* | hpux11*)
16568 # Give a soname corresponding to the major version so that dld.sl refuses to
16569 # link against other versions.
16573 case "$host_cpu" in
16576 hardcode_into_libs=yes
16577 dynamic_linker="$host_os dld.so"
16578 shlibpath_var=LD_LIBRARY_PATH
16579 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16581 soname_spec='${libname}${release}${shared_ext}$major'
16582 if test "X$HPUX_IA64_MODE" = X32; then
16583 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16585 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16587 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16591 hardcode_into_libs=yes
16592 dynamic_linker="$host_os dld.sl"
16593 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16594 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16596 soname_spec='${libname}${release}${shared_ext}$major'
16597 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16598 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16602 dynamic_linker="$host_os dld.sl"
16603 shlibpath_var=SHLIB_PATH
16604 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16606 soname_spec='${libname}${release}${shared_ext}$major'
16609 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16610 postinstall_cmds='chmod 555 $lib'
16613 irix5* | irix6* | nonstopux*)
16615 nonstopux*) version_type=nonstopux ;;
16617 if test "$lt_cv_prog_gnu_ld" = yes; then
16625 soname_spec='${libname}${release}${shared_ext}$major'
16626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16628 irix5* | nonstopux*)
16629 libsuff= shlibsuff=
16632 case $LD in # libtool.m4 will add one of these switches to LD
16633 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16634 libsuff= shlibsuff= libmagic=32-bit;;
16635 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16636 libsuff=32 shlibsuff=N32 libmagic=N32;;
16637 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16638 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16639 *) libsuff= shlibsuff= libmagic=never-match;;
16643 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16644 shlibpath_overrides_runpath=no
16645 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16646 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16647 hardcode_into_libs=yes
16650 # No shared lib support for Linux oldld, aout, or coff.
16651 linux*oldld* | linux*aout* | linux*coff*)
16655 # This must be Linux ELF.
16660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16661 soname_spec='${libname}${release}${shared_ext}$major'
16662 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16663 shlibpath_var=LD_LIBRARY_PATH
16664 shlibpath_overrides_runpath=no
16665 # This implies no fast_install, which is unacceptable.
16666 # Some rework will be needed to allow for fast_install
16667 # before this can be enabled.
16668 hardcode_into_libs=yes
16670 # We used to test for /lib/ld.so.1 and disable shared libraries on
16671 # powerpc, because MkLinux only supported shared libraries with the
16672 # GNU dynamic linker. Since this was broken with cross compilers,
16673 # most powerpc-linux boxes support dynamic linking these days and
16674 # people can always --disable-shared, the test was removed, and we
16675 # assume the GNU/Linux dynamic linker is in use.
16676 dynamic_linker='GNU/Linux ld.so'
16683 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16684 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16685 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16686 dynamic_linker='NetBSD (a.out) ld.so'
16688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16689 soname_spec='${libname}${release}${shared_ext}$major'
16690 dynamic_linker='NetBSD ld.elf_so'
16692 shlibpath_var=LD_LIBRARY_PATH
16693 shlibpath_overrides_runpath=yes
16694 hardcode_into_libs=yes
16699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16700 shlibpath_var=LD_LIBRARY_PATH
16701 shlibpath_overrides_runpath=yes
16708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16709 soname_spec='${libname}${release}${shared_ext}$major'
16710 shlibpath_var=LD_LIBRARY_PATH
16711 shlibpath_overrides_runpath=yes
16718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16719 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16720 shlibpath_var=LD_LIBRARY_PATH
16721 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16723 openbsd2.[89] | openbsd2.[89].*)
16724 shlibpath_overrides_runpath=no
16727 shlibpath_overrides_runpath=yes
16731 shlibpath_overrides_runpath=yes
16736 libname_spec='$name'
16739 library_names_spec='$libname${shared_ext} $libname.a'
16740 dynamic_linker='OS/2 ld.exe'
16741 shlibpath_var=LIBPATH
16744 osf3* | osf4* | osf5*)
16748 soname_spec='${libname}${release}${shared_ext}$major'
16749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16750 shlibpath_var=LD_LIBRARY_PATH
16751 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16752 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16757 soname_spec='${libname}${release}${shared_ext}$major'
16758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16759 shlibpath_var=LD_LIBRARY_PATH
16766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16767 soname_spec='${libname}${release}${shared_ext}$major'
16768 shlibpath_var=LD_LIBRARY_PATH
16769 shlibpath_overrides_runpath=yes
16770 hardcode_into_libs=yes
16771 # ldd complains unless libraries are executable
16772 postinstall_cmds='chmod +x $lib'
16777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16778 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16779 shlibpath_var=LD_LIBRARY_PATH
16780 shlibpath_overrides_runpath=yes
16781 if test "$with_gnu_ld" = yes; then
16787 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16790 soname_spec='${libname}${release}${shared_ext}$major'
16791 shlibpath_var=LD_LIBRARY_PATH
16792 case $host_vendor in
16794 shlibpath_overrides_runpath=no
16796 export_dynamic_flag_spec='${wl}-Blargedynsym'
16797 runpath_var=LD_RUN_PATH
16805 shlibpath_overrides_runpath=no
16806 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16812 if test -d /usr/nec ;then
16814 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16815 soname_spec='$libname${shared_ext}.$major'
16816 shlibpath_var=LD_LIBRARY_PATH
16822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16823 soname_spec='${libname}${release}${shared_ext}$major'
16824 shlibpath_var=LD_LIBRARY_PATH
16831 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16832 echo "${ECHO_T}$dynamic_linker" >&6
16833 test "$dynamic_linker" = no && can_build_shared=no
16835 if test "x$enable_dlopen" != xyes; then
16836 enable_dlopen=unknown
16837 enable_dlopen_self=unknown
16838 enable_dlopen_self_static=unknown
16845 lt_cv_dlopen="load_add_on"
16847 lt_cv_dlopen_self=yes
16851 lt_cv_dlopen="LoadLibrary"
16856 lt_cv_dlopen="dlopen"
16861 # if libdl is installed we need to link against it
16862 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16863 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16864 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16865 echo $ECHO_N "(cached) $ECHO_C" >&6
16867 ac_check_lib_save_LIBS=$LIBS
16869 cat >conftest.$ac_ext <<_ACEOF
16870 #line $LINENO "configure"
16873 cat confdefs.h >>conftest.$ac_ext
16874 cat >>conftest.$ac_ext <<_ACEOF
16875 /* end confdefs.h. */
16877 /* Override any gcc2 internal prototype to avoid an error. */
16881 /* We use char because int might match the return type of a gcc2
16882 builtin and then its argument prototype would still apply. */
16892 rm -f conftest.$ac_objext conftest$ac_exeext
16893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16894 (eval $ac_link) 2>&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); } &&
16898 { ac_try='test -s conftest$ac_exeext'
16899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16900 (eval $ac_try) 2>&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); }; }; then
16904 ac_cv_lib_dl_dlopen=yes
16906 echo "$as_me: failed program was:" >&5
16907 sed 's/^/| /' conftest.$ac_ext >&5
16909 ac_cv_lib_dl_dlopen=no
16911 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16912 LIBS=$ac_check_lib_save_LIBS
16914 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16915 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16916 if test $ac_cv_lib_dl_dlopen = yes; then
16917 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16920 lt_cv_dlopen="dyld"
16922 lt_cv_dlopen_self=yes
16929 echo "$as_me:$LINENO: checking for shl_load" >&5
16930 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16931 if test "${ac_cv_func_shl_load+set}" = set; then
16932 echo $ECHO_N "(cached) $ECHO_C" >&6
16934 cat >conftest.$ac_ext <<_ACEOF
16935 #line $LINENO "configure"
16938 cat confdefs.h >>conftest.$ac_ext
16939 cat >>conftest.$ac_ext <<_ACEOF
16940 /* end confdefs.h. */
16941 /* System header to define __stub macros and hopefully few prototypes,
16942 which can conflict with char shl_load (); below.
16943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16944 <limits.h> exists even on freestanding compilers. */
16946 # include <limits.h>
16948 # include <assert.h>
16950 /* Override any gcc2 internal prototype to avoid an error. */
16955 /* We use char because int might match the return type of a gcc2
16956 builtin and then its argument prototype would still apply. */
16958 /* The GNU C library defines this for functions which it implements
16959 to always fail with ENOSYS. Some functions are actually named
16960 something starting with __ and the normal name is an alias. */
16961 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16964 char (*f) () = shl_load;
16973 return f != shl_load;
16978 rm -f conftest.$ac_objext conftest$ac_exeext
16979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16980 (eval $ac_link) 2>&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); } &&
16984 { ac_try='test -s conftest$ac_exeext'
16985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16986 (eval $ac_try) 2>&5
16988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16989 (exit $ac_status); }; }; then
16990 ac_cv_func_shl_load=yes
16992 echo "$as_me: failed program was:" >&5
16993 sed 's/^/| /' conftest.$ac_ext >&5
16995 ac_cv_func_shl_load=no
16997 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16999 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17000 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17001 if test $ac_cv_func_shl_load = yes; then
17002 lt_cv_dlopen="shl_load"
17004 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17005 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17006 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17007 echo $ECHO_N "(cached) $ECHO_C" >&6
17009 ac_check_lib_save_LIBS=$LIBS
17011 cat >conftest.$ac_ext <<_ACEOF
17012 #line $LINENO "configure"
17015 cat confdefs.h >>conftest.$ac_ext
17016 cat >>conftest.$ac_ext <<_ACEOF
17017 /* end confdefs.h. */
17019 /* Override any gcc2 internal prototype to avoid an error. */
17023 /* We use char because int might match the return type of a gcc2
17024 builtin and then its argument prototype would still apply. */
17034 rm -f conftest.$ac_objext conftest$ac_exeext
17035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17036 (eval $ac_link) 2>&5
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); } &&
17040 { ac_try='test -s conftest$ac_exeext'
17041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17042 (eval $ac_try) 2>&5
17044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17045 (exit $ac_status); }; }; then
17046 ac_cv_lib_dld_shl_load=yes
17048 echo "$as_me: failed program was:" >&5
17049 sed 's/^/| /' conftest.$ac_ext >&5
17051 ac_cv_lib_dld_shl_load=no
17053 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17054 LIBS=$ac_check_lib_save_LIBS
17056 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17057 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17058 if test $ac_cv_lib_dld_shl_load = yes; then
17059 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17061 echo "$as_me:$LINENO: checking for dlopen" >&5
17062 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17063 if test "${ac_cv_func_dlopen+set}" = set; then
17064 echo $ECHO_N "(cached) $ECHO_C" >&6
17066 cat >conftest.$ac_ext <<_ACEOF
17067 #line $LINENO "configure"
17070 cat confdefs.h >>conftest.$ac_ext
17071 cat >>conftest.$ac_ext <<_ACEOF
17072 /* end confdefs.h. */
17073 /* System header to define __stub macros and hopefully few prototypes,
17074 which can conflict with char dlopen (); below.
17075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17076 <limits.h> exists even on freestanding compilers. */
17078 # include <limits.h>
17080 # include <assert.h>
17082 /* Override any gcc2 internal prototype to avoid an error. */
17087 /* We use char because int might match the return type of a gcc2
17088 builtin and then its argument prototype would still apply. */
17090 /* The GNU C library defines this for functions which it implements
17091 to always fail with ENOSYS. Some functions are actually named
17092 something starting with __ and the normal name is an alias. */
17093 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17096 char (*f) () = dlopen;
17105 return f != dlopen;
17110 rm -f conftest.$ac_objext conftest$ac_exeext
17111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17112 (eval $ac_link) 2>&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); } &&
17116 { ac_try='test -s conftest$ac_exeext'
17117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17118 (eval $ac_try) 2>&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); }; }; then
17122 ac_cv_func_dlopen=yes
17124 echo "$as_me: failed program was:" >&5
17125 sed 's/^/| /' conftest.$ac_ext >&5
17127 ac_cv_func_dlopen=no
17129 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17131 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17132 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17133 if test $ac_cv_func_dlopen = yes; then
17134 lt_cv_dlopen="dlopen"
17136 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17137 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17138 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17139 echo $ECHO_N "(cached) $ECHO_C" >&6
17141 ac_check_lib_save_LIBS=$LIBS
17143 cat >conftest.$ac_ext <<_ACEOF
17144 #line $LINENO "configure"
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h. */
17151 /* Override any gcc2 internal prototype to avoid an error. */
17155 /* We use char because int might match the return type of a gcc2
17156 builtin and then its argument prototype would still apply. */
17166 rm -f conftest.$ac_objext conftest$ac_exeext
17167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17168 (eval $ac_link) 2>&5
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); } &&
17172 { ac_try='test -s conftest$ac_exeext'
17173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17174 (eval $ac_try) 2>&5
17176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17177 (exit $ac_status); }; }; then
17178 ac_cv_lib_dl_dlopen=yes
17180 echo "$as_me: failed program was:" >&5
17181 sed 's/^/| /' conftest.$ac_ext >&5
17183 ac_cv_lib_dl_dlopen=no
17185 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17186 LIBS=$ac_check_lib_save_LIBS
17188 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17189 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17190 if test $ac_cv_lib_dl_dlopen = yes; then
17191 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17193 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17194 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17195 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17196 echo $ECHO_N "(cached) $ECHO_C" >&6
17198 ac_check_lib_save_LIBS=$LIBS
17199 LIBS="-lsvld $LIBS"
17200 cat >conftest.$ac_ext <<_ACEOF
17201 #line $LINENO "configure"
17204 cat confdefs.h >>conftest.$ac_ext
17205 cat >>conftest.$ac_ext <<_ACEOF
17206 /* end confdefs.h. */
17208 /* Override any gcc2 internal prototype to avoid an error. */
17212 /* We use char because int might match the return type of a gcc2
17213 builtin and then its argument prototype would still apply. */
17223 rm -f conftest.$ac_objext conftest$ac_exeext
17224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17225 (eval $ac_link) 2>&5
17227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17228 (exit $ac_status); } &&
17229 { ac_try='test -s conftest$ac_exeext'
17230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17231 (eval $ac_try) 2>&5
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); }; }; then
17235 ac_cv_lib_svld_dlopen=yes
17237 echo "$as_me: failed program was:" >&5
17238 sed 's/^/| /' conftest.$ac_ext >&5
17240 ac_cv_lib_svld_dlopen=no
17242 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17243 LIBS=$ac_check_lib_save_LIBS
17245 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17246 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17247 if test $ac_cv_lib_svld_dlopen = yes; then
17248 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17250 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17251 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17252 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17253 echo $ECHO_N "(cached) $ECHO_C" >&6
17255 ac_check_lib_save_LIBS=$LIBS
17257 cat >conftest.$ac_ext <<_ACEOF
17258 #line $LINENO "configure"
17261 cat confdefs.h >>conftest.$ac_ext
17262 cat >>conftest.$ac_ext <<_ACEOF
17263 /* end confdefs.h. */
17265 /* Override any gcc2 internal prototype to avoid an error. */
17269 /* We use char because int might match the return type of a gcc2
17270 builtin and then its argument prototype would still apply. */
17280 rm -f conftest.$ac_objext conftest$ac_exeext
17281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17282 (eval $ac_link) 2>&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); } &&
17286 { ac_try='test -s conftest$ac_exeext'
17287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17288 (eval $ac_try) 2>&5
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); }; }; then
17292 ac_cv_lib_dld_dld_link=yes
17294 echo "$as_me: failed program was:" >&5
17295 sed 's/^/| /' conftest.$ac_ext >&5
17297 ac_cv_lib_dld_dld_link=no
17299 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17300 LIBS=$ac_check_lib_save_LIBS
17302 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17303 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17304 if test $ac_cv_lib_dld_dld_link = yes; then
17305 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17326 if test "x$lt_cv_dlopen" != xno; then
17332 case $lt_cv_dlopen in
17334 save_CPPFLAGS="$CPPFLAGS"
17335 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17337 save_LDFLAGS="$LDFLAGS"
17338 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17341 LIBS="$lt_cv_dlopen_libs $LIBS"
17343 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17344 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17345 if test "${lt_cv_dlopen_self+set}" = set; then
17346 echo $ECHO_N "(cached) $ECHO_C" >&6
17348 if test "$cross_compiling" = yes; then :
17349 lt_cv_dlopen_self=cross
17351 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17352 lt_status=$lt_dlunknown
17353 cat > conftest.$ac_ext <<EOF
17354 #line 17354 "configure"
17355 #include "confdefs.h"
17364 # define LT_DLGLOBAL RTLD_GLOBAL
17367 # define LT_DLGLOBAL DL_GLOBAL
17369 # define LT_DLGLOBAL 0
17373 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17374 find out it does not work in some platform. */
17375 #ifndef LT_DLLAZY_OR_NOW
17377 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17380 # define LT_DLLAZY_OR_NOW DL_LAZY
17383 # define LT_DLLAZY_OR_NOW RTLD_NOW
17386 # define LT_DLLAZY_OR_NOW DL_NOW
17388 # define LT_DLLAZY_OR_NOW 0
17396 extern "C" void exit (int);
17399 void fnord() { int i=42;}
17402 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17403 int status = $lt_dlunknown;
17407 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17408 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17409 /* dlclose (self); */
17415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17416 (eval $ac_link) 2>&5
17418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17419 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17420 (./conftest; exit; ) 2>/dev/null
17422 case x$lt_status in
17423 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17424 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17425 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17428 # compilation failed
17429 lt_cv_dlopen_self=no
17436 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17437 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17439 if test "x$lt_cv_dlopen_self" = xyes; then
17440 LDFLAGS="$LDFLAGS $link_static_flag"
17441 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17442 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17443 if test "${lt_cv_dlopen_self_static+set}" = set; then
17444 echo $ECHO_N "(cached) $ECHO_C" >&6
17446 if test "$cross_compiling" = yes; then :
17447 lt_cv_dlopen_self_static=cross
17449 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17450 lt_status=$lt_dlunknown
17451 cat > conftest.$ac_ext <<EOF
17452 #line 17452 "configure"
17453 #include "confdefs.h"
17462 # define LT_DLGLOBAL RTLD_GLOBAL
17465 # define LT_DLGLOBAL DL_GLOBAL
17467 # define LT_DLGLOBAL 0
17471 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17472 find out it does not work in some platform. */
17473 #ifndef LT_DLLAZY_OR_NOW
17475 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17478 # define LT_DLLAZY_OR_NOW DL_LAZY
17481 # define LT_DLLAZY_OR_NOW RTLD_NOW
17484 # define LT_DLLAZY_OR_NOW DL_NOW
17486 # define LT_DLLAZY_OR_NOW 0
17494 extern "C" void exit (int);
17497 void fnord() { int i=42;}
17500 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17501 int status = $lt_dlunknown;
17505 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17506 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17507 /* dlclose (self); */
17513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17514 (eval $ac_link) 2>&5
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17518 (./conftest; exit; ) 2>/dev/null
17520 case x$lt_status in
17521 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17522 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17523 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17526 # compilation failed
17527 lt_cv_dlopen_self_static=no
17534 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17535 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17538 CPPFLAGS="$save_CPPFLAGS"
17539 LDFLAGS="$save_LDFLAGS"
17544 case $lt_cv_dlopen_self in
17545 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17546 *) enable_dlopen_self=unknown ;;
17549 case $lt_cv_dlopen_self_static in
17550 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17551 *) enable_dlopen_self_static=unknown ;;
17556 # The else clause should only fire when bootstrapping the
17557 # libtool distribution, otherwise you forgot to ship ltmain.sh
17558 # with your package, and you will get complaints that there are
17559 # no rules to generate ltmain.sh.
17560 if test -f "$ltmain"; then
17561 # See if we are running on zsh, and set the options which allow our commands through
17562 # without removal of \ escapes.
17563 if test -n "${ZSH_VERSION+set}" ; then
17564 setopt NO_GLOB_SUBST
17566 # Now quote all the things that may contain metacharacters while being
17567 # careful not to overquote the AC_SUBSTed values. We take copies of the
17568 # variables and quote the copies for generation of the libtool script.
17569 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17570 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17571 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17572 deplibs_check_method reload_flag reload_cmds need_locks \
17573 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17574 lt_cv_sys_global_symbol_to_c_name_address \
17575 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17576 old_postinstall_cmds old_postuninstall_cmds \
17580 lt_prog_compiler_wl_GCJ \
17581 lt_prog_compiler_pic_GCJ \
17582 lt_prog_compiler_static_GCJ \
17583 lt_prog_compiler_no_builtin_flag_GCJ \
17584 export_dynamic_flag_spec_GCJ \
17585 thread_safe_flag_spec_GCJ \
17586 whole_archive_flag_spec_GCJ \
17587 enable_shared_with_static_runtimes_GCJ \
17588 old_archive_cmds_GCJ \
17589 old_archive_from_new_cmds_GCJ \
17590 predep_objects_GCJ \
17591 postdep_objects_GCJ \
17594 compiler_lib_search_path_GCJ \
17596 archive_expsym_cmds_GCJ \
17597 postinstall_cmds_GCJ \
17598 postuninstall_cmds_GCJ \
17599 old_archive_from_expsyms_cmds_GCJ \
17600 allow_undefined_flag_GCJ \
17601 no_undefined_flag_GCJ \
17602 export_symbols_cmds_GCJ \
17603 hardcode_libdir_flag_spec_GCJ \
17604 hardcode_libdir_flag_spec_ld_GCJ \
17605 hardcode_libdir_separator_GCJ \
17606 hardcode_automatic_GCJ \
17608 module_expsym_cmds_GCJ \
17609 lt_cv_prog_compiler_c_o_GCJ \
17610 exclude_expsyms_GCJ \
17611 include_expsyms_GCJ; do
17614 old_archive_cmds_GCJ | \
17615 old_archive_from_new_cmds_GCJ | \
17616 archive_cmds_GCJ | \
17617 archive_expsym_cmds_GCJ | \
17618 module_cmds_GCJ | \
17619 module_expsym_cmds_GCJ | \
17620 old_archive_from_expsyms_cmds_GCJ | \
17621 export_symbols_cmds_GCJ | \
17622 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17623 postinstall_cmds | postuninstall_cmds | \
17624 old_postinstall_cmds | old_postuninstall_cmds | \
17625 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17626 # Double-quote double-evaled strings.
17627 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17630 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17636 *'\$0 --fallback-echo"')
17637 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17643 cat <<__EOF__ >> "$cfgfile"
17644 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17646 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17648 # Shell to use when invoking shell scripts.
17651 # Whether or not to build shared libraries.
17652 build_libtool_libs=$enable_shared
17654 # Whether or not to build static libraries.
17655 build_old_libs=$enable_static
17657 # Whether or not to add -lc for building shared libraries.
17658 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17660 # Whether or not to disallow shared libs when runtime libs are static
17661 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17663 # Whether or not to optimize for fast installation.
17664 fast_install=$enable_fast_install
17667 host_alias=$host_alias
17670 # An echo program that does not interpret backslashes.
17675 AR_FLAGS=$lt_AR_FLAGS
17680 # A language-specific compiler.
17681 CC=$lt_compiler_GCJ
17683 # Is the compiler the GNU C compiler?
17689 # The linker used to build libraries.
17692 # Whether we need hard or soft links.
17695 # A BSD-compatible nm program.
17698 # A symbol stripping program
17701 # Used to examine libraries when file_magic_cmd begins "file"
17702 MAGIC_CMD=$MAGIC_CMD
17704 # Used on cygwin: DLL creation program.
17707 # Used on cygwin: object dumper.
17710 # Used on cygwin: assembler.
17713 # The name of the directory that contains temporary libtool files.
17716 # How to create reloadable object files.
17717 reload_flag=$lt_reload_flag
17718 reload_cmds=$lt_reload_cmds
17720 # How to pass a linker flag through the compiler.
17721 wl=$lt_lt_prog_compiler_wl_GCJ
17723 # Object file suffix (normally "o").
17724 objext="$ac_objext"
17726 # Old archive suffix (normally "a").
17729 # Shared library suffix (normally ".so").
17732 # Executable file suffix (normally "").
17735 # Additional compiler flags for building library objects.
17736 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17739 # What is the maximum length of a command?
17740 max_cmd_len=$lt_cv_sys_max_cmd_len
17742 # Does compiler simultaneously support -c and -o options?
17743 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17745 # Must we lock files when doing compilation ?
17746 need_locks=$lt_need_locks
17748 # Do we need the lib prefix for modules?
17749 need_lib_prefix=$need_lib_prefix
17751 # Do we need a version for libraries?
17752 need_version=$need_version
17754 # Whether dlopen is supported.
17755 dlopen_support=$enable_dlopen
17757 # Whether dlopen of programs is supported.
17758 dlopen_self=$enable_dlopen_self
17760 # Whether dlopen of statically linked programs is supported.
17761 dlopen_self_static=$enable_dlopen_self_static
17763 # Compiler flag to prevent dynamic linking.
17764 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17766 # Compiler flag to turn off builtin functions.
17767 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17769 # Compiler flag to allow reflexive dlopens.
17770 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17772 # Compiler flag to generate shared objects directly from archives.
17773 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17775 # Compiler flag to generate thread-safe objects.
17776 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17778 # Library versioning type.
17779 version_type=$version_type
17781 # Format of library name prefix.
17782 libname_spec=$lt_libname_spec
17784 # List of archive names. First name is the real one, the rest are links.
17785 # The last name is the one that the linker finds with -lNAME.
17786 library_names_spec=$lt_library_names_spec
17788 # The coded name of the library, if different from the real name.
17789 soname_spec=$lt_soname_spec
17791 # Commands used to build and install an old-style archive.
17793 old_archive_cmds=$lt_old_archive_cmds_GCJ
17794 old_postinstall_cmds=$lt_old_postinstall_cmds
17795 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17797 # Create an old-style archive from a shared archive.
17798 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17800 # Create a temporary old-style archive to link instead of a shared archive.
17801 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17803 # Commands used to build and install a shared archive.
17804 archive_cmds=$lt_archive_cmds_GCJ
17805 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17806 postinstall_cmds=$lt_postinstall_cmds
17807 postuninstall_cmds=$lt_postuninstall_cmds
17809 # Commands used to build a loadable module (assumed same as above if empty)
17810 module_cmds=$lt_module_cmds_GCJ
17811 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17813 # Commands to strip libraries.
17814 old_striplib=$lt_old_striplib
17815 striplib=$lt_striplib
17817 # Dependencies to place before the objects being linked to create a
17819 predep_objects=$lt_predep_objects_GCJ
17821 # Dependencies to place after the objects being linked to create a
17823 postdep_objects=$lt_postdep_objects_GCJ
17825 # Dependencies to place before the objects being linked to create a
17827 predeps=$lt_predeps_GCJ
17829 # Dependencies to place after the objects being linked to create a
17831 postdeps=$lt_postdeps_GCJ
17833 # The library search path used internally by the compiler when linking
17834 # a shared library.
17835 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17837 # Method to check whether dependent libraries are shared objects.
17838 deplibs_check_method=$lt_deplibs_check_method
17840 # Command to use when deplibs_check_method == file_magic.
17841 file_magic_cmd=$lt_file_magic_cmd
17843 # Flag that allows shared libraries with undefined symbols to be built.
17844 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17846 # Flag that forces no undefined symbols.
17847 no_undefined_flag=$lt_no_undefined_flag_GCJ
17849 # Commands used to finish a libtool library installation in a directory.
17850 finish_cmds=$lt_finish_cmds
17852 # Same as above, but a single script fragment to be evaled but not shown.
17853 finish_eval=$lt_finish_eval
17855 # Take the output of nm and produce a listing of raw symbols and C names.
17856 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17858 # Transform the output of nm in a proper C declaration
17859 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17861 # Transform the output of nm in a C name address pair
17862 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17864 # This is the shared library runtime path variable.
17865 runpath_var=$runpath_var
17867 # This is the shared library path variable.
17868 shlibpath_var=$shlibpath_var
17870 # Is shlibpath searched before the hard-coded library search path?
17871 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17873 # How to hardcode a shared library path into an executable.
17874 hardcode_action=$hardcode_action_GCJ
17876 # Whether we should hardcode library paths into libraries.
17877 hardcode_into_libs=$hardcode_into_libs
17879 # Flag to hardcode \$libdir into a binary during linking.
17880 # This must work even if \$libdir does not exist.
17881 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17883 # If ld is used when linking, flag to hardcode \$libdir into
17884 # a binary during linking. This must work even if \$libdir does
17886 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17888 # Whether we need a single -rpath flag with a separated argument.
17889 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17891 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17892 # resulting binary.
17893 hardcode_direct=$hardcode_direct_GCJ
17895 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17896 # resulting binary.
17897 hardcode_minus_L=$hardcode_minus_L_GCJ
17899 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17900 # the resulting binary.
17901 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17903 # Set to yes if building a shared library automatically hardcodes DIR into the library
17904 # and all subsequent libraries and executables linked against it.
17905 hardcode_automatic=$hardcode_automatic_GCJ
17907 # Variables whose values should be saved in libtool wrapper scripts and
17908 # restored at relink time.
17909 variables_saved_for_relink="$variables_saved_for_relink"
17911 # Whether libtool must link a program against all its dependency libraries.
17912 link_all_deplibs=$link_all_deplibs_GCJ
17914 # Compile-time system search path for libraries
17915 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17917 # Run-time system search path for libraries
17918 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17920 # Fix the shell variable \$srcfile for the compiler.
17921 fix_srcfile_path="$fix_srcfile_path_GCJ"
17923 # Set to yes if exported symbols are required.
17924 always_export_symbols=$always_export_symbols_GCJ
17926 # The commands to list exported symbols.
17927 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17929 # The commands to extract the exported symbol list from a shared archive.
17930 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17932 # Symbols that should not be listed in the preloaded symbols.
17933 exclude_expsyms=$lt_exclude_expsyms_GCJ
17935 # Symbols that must always be exported.
17936 include_expsyms=$lt_include_expsyms_GCJ
17938 # ### END LIBTOOL TAG CONFIG: $tagname
17944 # If there is no Makefile yet, we rely on a make rule to execute
17945 # `config.status --recheck' to rerun these tests and create the
17946 # libtool script then.
17947 test -f Makefile && make "$ltmain"
17952 ac_cpp='$CPP $CPPFLAGS'
17953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17968 # Source file extension for RC test sources.
17971 # Object file extension for compiled RC test sources.
17975 # Code to be used in simple compile tests
17976 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17978 # Code to be used in simple link tests
17979 lt_simple_link_test_code="$lt_simple_compile_test_code"
17981 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17983 # If no C compiler was specified, use CC.
17986 # Allow CC to be a program name with arguments.
17990 # Allow CC to be a program name with arguments.
17995 lt_cv_prog_compiler_c_o_RC=yes
17997 # The else clause should only fire when bootstrapping the
17998 # libtool distribution, otherwise you forgot to ship ltmain.sh
17999 # with your package, and you will get complaints that there are
18000 # no rules to generate ltmain.sh.
18001 if test -f "$ltmain"; then
18002 # See if we are running on zsh, and set the options which allow our commands through
18003 # without removal of \ escapes.
18004 if test -n "${ZSH_VERSION+set}" ; then
18005 setopt NO_GLOB_SUBST
18007 # Now quote all the things that may contain metacharacters while being
18008 # careful not to overquote the AC_SUBSTed values. We take copies of the
18009 # variables and quote the copies for generation of the libtool script.
18010 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18011 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18012 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18013 deplibs_check_method reload_flag reload_cmds need_locks \
18014 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18015 lt_cv_sys_global_symbol_to_c_name_address \
18016 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18017 old_postinstall_cmds old_postuninstall_cmds \
18021 lt_prog_compiler_wl_RC \
18022 lt_prog_compiler_pic_RC \
18023 lt_prog_compiler_static_RC \
18024 lt_prog_compiler_no_builtin_flag_RC \
18025 export_dynamic_flag_spec_RC \
18026 thread_safe_flag_spec_RC \
18027 whole_archive_flag_spec_RC \
18028 enable_shared_with_static_runtimes_RC \
18029 old_archive_cmds_RC \
18030 old_archive_from_new_cmds_RC \
18031 predep_objects_RC \
18032 postdep_objects_RC \
18035 compiler_lib_search_path_RC \
18037 archive_expsym_cmds_RC \
18038 postinstall_cmds_RC \
18039 postuninstall_cmds_RC \
18040 old_archive_from_expsyms_cmds_RC \
18041 allow_undefined_flag_RC \
18042 no_undefined_flag_RC \
18043 export_symbols_cmds_RC \
18044 hardcode_libdir_flag_spec_RC \
18045 hardcode_libdir_flag_spec_ld_RC \
18046 hardcode_libdir_separator_RC \
18047 hardcode_automatic_RC \
18049 module_expsym_cmds_RC \
18050 lt_cv_prog_compiler_c_o_RC \
18051 exclude_expsyms_RC \
18052 include_expsyms_RC; do
18055 old_archive_cmds_RC | \
18056 old_archive_from_new_cmds_RC | \
18057 archive_cmds_RC | \
18058 archive_expsym_cmds_RC | \
18060 module_expsym_cmds_RC | \
18061 old_archive_from_expsyms_cmds_RC | \
18062 export_symbols_cmds_RC | \
18063 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18064 postinstall_cmds | postuninstall_cmds | \
18065 old_postinstall_cmds | old_postuninstall_cmds | \
18066 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18067 # Double-quote double-evaled strings.
18068 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18071 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18077 *'\$0 --fallback-echo"')
18078 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18084 cat <<__EOF__ >> "$cfgfile"
18085 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18087 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18089 # Shell to use when invoking shell scripts.
18092 # Whether or not to build shared libraries.
18093 build_libtool_libs=$enable_shared
18095 # Whether or not to build static libraries.
18096 build_old_libs=$enable_static
18098 # Whether or not to add -lc for building shared libraries.
18099 build_libtool_need_lc=$archive_cmds_need_lc_RC
18101 # Whether or not to disallow shared libs when runtime libs are static
18102 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18104 # Whether or not to optimize for fast installation.
18105 fast_install=$enable_fast_install
18108 host_alias=$host_alias
18111 # An echo program that does not interpret backslashes.
18116 AR_FLAGS=$lt_AR_FLAGS
18121 # A language-specific compiler.
18124 # Is the compiler the GNU C compiler?
18130 # The linker used to build libraries.
18133 # Whether we need hard or soft links.
18136 # A BSD-compatible nm program.
18139 # A symbol stripping program
18142 # Used to examine libraries when file_magic_cmd begins "file"
18143 MAGIC_CMD=$MAGIC_CMD
18145 # Used on cygwin: DLL creation program.
18148 # Used on cygwin: object dumper.
18151 # Used on cygwin: assembler.
18154 # The name of the directory that contains temporary libtool files.
18157 # How to create reloadable object files.
18158 reload_flag=$lt_reload_flag
18159 reload_cmds=$lt_reload_cmds
18161 # How to pass a linker flag through the compiler.
18162 wl=$lt_lt_prog_compiler_wl_RC
18164 # Object file suffix (normally "o").
18165 objext="$ac_objext"
18167 # Old archive suffix (normally "a").
18170 # Shared library suffix (normally ".so").
18173 # Executable file suffix (normally "").
18176 # Additional compiler flags for building library objects.
18177 pic_flag=$lt_lt_prog_compiler_pic_RC
18180 # What is the maximum length of a command?
18181 max_cmd_len=$lt_cv_sys_max_cmd_len
18183 # Does compiler simultaneously support -c and -o options?
18184 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18186 # Must we lock files when doing compilation ?
18187 need_locks=$lt_need_locks
18189 # Do we need the lib prefix for modules?
18190 need_lib_prefix=$need_lib_prefix
18192 # Do we need a version for libraries?
18193 need_version=$need_version
18195 # Whether dlopen is supported.
18196 dlopen_support=$enable_dlopen
18198 # Whether dlopen of programs is supported.
18199 dlopen_self=$enable_dlopen_self
18201 # Whether dlopen of statically linked programs is supported.
18202 dlopen_self_static=$enable_dlopen_self_static
18204 # Compiler flag to prevent dynamic linking.
18205 link_static_flag=$lt_lt_prog_compiler_static_RC
18207 # Compiler flag to turn off builtin functions.
18208 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18210 # Compiler flag to allow reflexive dlopens.
18211 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18213 # Compiler flag to generate shared objects directly from archives.
18214 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18216 # Compiler flag to generate thread-safe objects.
18217 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18219 # Library versioning type.
18220 version_type=$version_type
18222 # Format of library name prefix.
18223 libname_spec=$lt_libname_spec
18225 # List of archive names. First name is the real one, the rest are links.
18226 # The last name is the one that the linker finds with -lNAME.
18227 library_names_spec=$lt_library_names_spec
18229 # The coded name of the library, if different from the real name.
18230 soname_spec=$lt_soname_spec
18232 # Commands used to build and install an old-style archive.
18234 old_archive_cmds=$lt_old_archive_cmds_RC
18235 old_postinstall_cmds=$lt_old_postinstall_cmds
18236 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18238 # Create an old-style archive from a shared archive.
18239 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18241 # Create a temporary old-style archive to link instead of a shared archive.
18242 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18244 # Commands used to build and install a shared archive.
18245 archive_cmds=$lt_archive_cmds_RC
18246 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18247 postinstall_cmds=$lt_postinstall_cmds
18248 postuninstall_cmds=$lt_postuninstall_cmds
18250 # Commands used to build a loadable module (assumed same as above if empty)
18251 module_cmds=$lt_module_cmds_RC
18252 module_expsym_cmds=$lt_module_expsym_cmds_RC
18254 # Commands to strip libraries.
18255 old_striplib=$lt_old_striplib
18256 striplib=$lt_striplib
18258 # Dependencies to place before the objects being linked to create a
18260 predep_objects=$lt_predep_objects_RC
18262 # Dependencies to place after the objects being linked to create a
18264 postdep_objects=$lt_postdep_objects_RC
18266 # Dependencies to place before the objects being linked to create a
18268 predeps=$lt_predeps_RC
18270 # Dependencies to place after the objects being linked to create a
18272 postdeps=$lt_postdeps_RC
18274 # The library search path used internally by the compiler when linking
18275 # a shared library.
18276 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18278 # Method to check whether dependent libraries are shared objects.
18279 deplibs_check_method=$lt_deplibs_check_method
18281 # Command to use when deplibs_check_method == file_magic.
18282 file_magic_cmd=$lt_file_magic_cmd
18284 # Flag that allows shared libraries with undefined symbols to be built.
18285 allow_undefined_flag=$lt_allow_undefined_flag_RC
18287 # Flag that forces no undefined symbols.
18288 no_undefined_flag=$lt_no_undefined_flag_RC
18290 # Commands used to finish a libtool library installation in a directory.
18291 finish_cmds=$lt_finish_cmds
18293 # Same as above, but a single script fragment to be evaled but not shown.
18294 finish_eval=$lt_finish_eval
18296 # Take the output of nm and produce a listing of raw symbols and C names.
18297 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18299 # Transform the output of nm in a proper C declaration
18300 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18302 # Transform the output of nm in a C name address pair
18303 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18305 # This is the shared library runtime path variable.
18306 runpath_var=$runpath_var
18308 # This is the shared library path variable.
18309 shlibpath_var=$shlibpath_var
18311 # Is shlibpath searched before the hard-coded library search path?
18312 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18314 # How to hardcode a shared library path into an executable.
18315 hardcode_action=$hardcode_action_RC
18317 # Whether we should hardcode library paths into libraries.
18318 hardcode_into_libs=$hardcode_into_libs
18320 # Flag to hardcode \$libdir into a binary during linking.
18321 # This must work even if \$libdir does not exist.
18322 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18324 # If ld is used when linking, flag to hardcode \$libdir into
18325 # a binary during linking. This must work even if \$libdir does
18327 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18329 # Whether we need a single -rpath flag with a separated argument.
18330 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18332 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18333 # resulting binary.
18334 hardcode_direct=$hardcode_direct_RC
18336 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18337 # resulting binary.
18338 hardcode_minus_L=$hardcode_minus_L_RC
18340 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18341 # the resulting binary.
18342 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18344 # Set to yes if building a shared library automatically hardcodes DIR into the library
18345 # and all subsequent libraries and executables linked against it.
18346 hardcode_automatic=$hardcode_automatic_RC
18348 # Variables whose values should be saved in libtool wrapper scripts and
18349 # restored at relink time.
18350 variables_saved_for_relink="$variables_saved_for_relink"
18352 # Whether libtool must link a program against all its dependency libraries.
18353 link_all_deplibs=$link_all_deplibs_RC
18355 # Compile-time system search path for libraries
18356 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18358 # Run-time system search path for libraries
18359 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18361 # Fix the shell variable \$srcfile for the compiler.
18362 fix_srcfile_path="$fix_srcfile_path_RC"
18364 # Set to yes if exported symbols are required.
18365 always_export_symbols=$always_export_symbols_RC
18367 # The commands to list exported symbols.
18368 export_symbols_cmds=$lt_export_symbols_cmds_RC
18370 # The commands to extract the exported symbol list from a shared archive.
18371 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18373 # Symbols that should not be listed in the preloaded symbols.
18374 exclude_expsyms=$lt_exclude_expsyms_RC
18376 # Symbols that must always be exported.
18377 include_expsyms=$lt_include_expsyms_RC
18379 # ### END LIBTOOL TAG CONFIG: $tagname
18385 # If there is no Makefile yet, we rely on a make rule to execute
18386 # `config.status --recheck' to rerun these tests and create the
18387 # libtool script then.
18388 test -f Makefile && make "$ltmain"
18393 ac_cpp='$CPP $CPPFLAGS'
18394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18403 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18404 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18405 { (exit 1); exit 1; }; }
18409 # Append the new tag name to the list of available tags.
18410 if test -n "$tagname" ; then
18411 available_tags="$available_tags $tagname"
18417 # Now substitute the updated list of available tags.
18418 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18419 mv "${ofile}T" "$ofile"
18423 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18424 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18425 { (exit 1); exit 1; }; }
18431 # This can be used to rebuild libtool when needed
18432 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18434 # Always use our own libtool.
18435 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18437 # Prevent multiple expansion
18459 # Extract the first word of "pwd", so it can be a program name with args.
18460 set dummy pwd; ac_word=$2
18461 echo "$as_me:$LINENO: checking for $ac_word" >&5
18462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18463 if test "${ac_cv_path_RPWD+set}" = set; then
18464 echo $ECHO_N "(cached) $ECHO_C" >&6
18468 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18472 for as_dir in $PATH
18475 test -z "$as_dir" && as_dir=.
18476 for ac_exec_ext in '' $ac_executable_extensions; do
18477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18478 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18485 test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false"
18489 RPWD=$ac_cv_path_RPWD
18491 if test -n "$RPWD"; then
18492 echo "$as_me:$LINENO: result: $RPWD" >&5
18493 echo "${ECHO_T}$RPWD" >&6
18495 echo "$as_me:$LINENO: result: no" >&5
18496 echo "${ECHO_T}no" >&6
18499 if test ${RPWD} = "false"
18501 { { echo "$as_me:$LINENO: error: pwd required but not found" >&5
18502 echo "$as_me: error: pwd required but not found" >&2;}
18503 { (exit 1); exit 1; }; }
18506 # Extract the first word of "ar", so it can be a program name with args.
18507 set dummy ar; ac_word=$2
18508 echo "$as_me:$LINENO: checking for $ac_word" >&5
18509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18510 if test "${ac_cv_path_AR+set}" = set; then
18511 echo $ECHO_N "(cached) $ECHO_C" >&6
18515 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18519 for as_dir in $PATH
18522 test -z "$as_dir" && as_dir=.
18523 for ac_exec_ext in '' $ac_executable_extensions; do
18524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18525 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18532 test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
18538 if test -n "$AR"; then
18539 echo "$as_me:$LINENO: result: $AR" >&5
18540 echo "${ECHO_T}$AR" >&6
18542 echo "$as_me:$LINENO: result: no" >&5
18543 echo "${ECHO_T}no" >&6
18546 if test ${AR} = "false"
18548 { { echo "$as_me:$LINENO: error: ar required but not found" >&5
18549 echo "$as_me: error: ar required but not found" >&2;}
18550 { (exit 1); exit 1; }; }
18553 # Extract the first word of "sed", so it can be a program name with args.
18554 set dummy sed; ac_word=$2
18555 echo "$as_me:$LINENO: checking for $ac_word" >&5
18556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18557 if test "${ac_cv_path_SED+set}" = set; then
18558 echo $ECHO_N "(cached) $ECHO_C" >&6
18562 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18566 for as_dir in $PATH
18569 test -z "$as_dir" && as_dir=.
18570 for ac_exec_ext in '' $ac_executable_extensions; do
18571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18572 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18579 test -z "$ac_cv_path_SED" && ac_cv_path_SED="false"
18583 SED=$ac_cv_path_SED
18585 if test -n "$SED"; then
18586 echo "$as_me:$LINENO: result: $SED" >&5
18587 echo "${ECHO_T}$SED" >&6
18589 echo "$as_me:$LINENO: result: no" >&5
18590 echo "${ECHO_T}no" >&6
18593 if test ${SED} = "false"
18595 { { echo "$as_me:$LINENO: error: sed required but not found" >&5
18596 echo "$as_me: error: sed required but not found" >&2;}
18597 { (exit 1); exit 1; }; }
18600 # Extract the first word of "rm", so it can be a program name with args.
18601 set dummy rm; ac_word=$2
18602 echo "$as_me:$LINENO: checking for $ac_word" >&5
18603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18604 if test "${ac_cv_path_RM+set}" = set; then
18605 echo $ECHO_N "(cached) $ECHO_C" >&6
18609 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18613 for as_dir in $PATH
18616 test -z "$as_dir" && as_dir=.
18617 for ac_exec_ext in '' $ac_executable_extensions; do
18618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18619 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18626 test -z "$ac_cv_path_RM" && ac_cv_path_RM="false"
18632 if test -n "$RM"; then
18633 echo "$as_me:$LINENO: result: $RM" >&5
18634 echo "${ECHO_T}$RM" >&6
18636 echo "$as_me:$LINENO: result: no" >&5
18637 echo "${ECHO_T}no" >&6
18640 if test ${RM} = "false"
18642 { { echo "$as_me:$LINENO: error: rm required but not found" >&5
18643 echo "$as_me: error: rm required but not found" >&2;}
18644 { (exit 1); exit 1; }; }
18647 # Extract the first word of "echo", so it can be a program name with args.
18648 set dummy echo; ac_word=$2
18649 echo "$as_me:$LINENO: checking for $ac_word" >&5
18650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18651 if test "${ac_cv_path_ECHO+set}" = set; then
18652 echo $ECHO_N "(cached) $ECHO_C" >&6
18656 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18660 for as_dir in $PATH
18663 test -z "$as_dir" && as_dir=.
18664 for ac_exec_ext in '' $ac_executable_extensions; do
18665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18666 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18673 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false"
18677 ECHO=$ac_cv_path_ECHO
18679 if test -n "$ECHO"; then
18680 echo "$as_me:$LINENO: result: $ECHO" >&5
18681 echo "${ECHO_T}$ECHO" >&6
18683 echo "$as_me:$LINENO: result: no" >&5
18684 echo "${ECHO_T}no" >&6
18687 if test ${ECHO} = "false"
18689 { { echo "$as_me:$LINENO: error: echo required but not found" >&5
18690 echo "$as_me: error: echo required but not found" >&2;}
18691 { (exit 1); exit 1; }; }
18694 # Extract the first word of "mkdir", so it can be a program name with args.
18695 set dummy mkdir; ac_word=$2
18696 echo "$as_me:$LINENO: checking for $ac_word" >&5
18697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18698 if test "${ac_cv_path_MKDIR+set}" = set; then
18699 echo $ECHO_N "(cached) $ECHO_C" >&6
18703 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18707 for as_dir in $PATH
18710 test -z "$as_dir" && as_dir=.
18711 for ac_exec_ext in '' $ac_executable_extensions; do
18712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18713 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18720 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false"
18724 MKDIR=$ac_cv_path_MKDIR
18726 if test -n "$MKDIR"; then
18727 echo "$as_me:$LINENO: result: $MKDIR" >&5
18728 echo "${ECHO_T}$MKDIR" >&6
18730 echo "$as_me:$LINENO: result: no" >&5
18731 echo "${ECHO_T}no" >&6
18734 if test ${MKDIR} = "false"
18736 { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5
18737 echo "$as_me: error: mkdir required but not found" >&2;}
18738 { (exit 1); exit 1; }; }
18741 # Extract the first word of "date", so it can be a program name with args.
18742 set dummy date; ac_word=$2
18743 echo "$as_me:$LINENO: checking for $ac_word" >&5
18744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18745 if test "${ac_cv_path_DATE+set}" = set; then
18746 echo $ECHO_N "(cached) $ECHO_C" >&6
18750 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18754 for as_dir in $PATH
18757 test -z "$as_dir" && as_dir=.
18758 for ac_exec_ext in '' $ac_executable_extensions; do
18759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18760 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18767 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false"
18771 DATE=$ac_cv_path_DATE
18773 if test -n "$DATE"; then
18774 echo "$as_me:$LINENO: result: $DATE" >&5
18775 echo "${ECHO_T}$DATE" >&6
18777 echo "$as_me:$LINENO: result: no" >&5
18778 echo "${ECHO_T}no" >&6
18781 if test ${DATE} = "false"
18783 { { echo "$as_me:$LINENO: error: date required but not found" >&5
18784 echo "$as_me: error: date required but not found" >&2;}
18785 { (exit 1); exit 1; }; }
18788 # Extract the first word of "mv", so it can be a program name with args.
18789 set dummy mv; ac_word=$2
18790 echo "$as_me:$LINENO: checking for $ac_word" >&5
18791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18792 if test "${ac_cv_path_MV+set}" = set; then
18793 echo $ECHO_N "(cached) $ECHO_C" >&6
18797 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18801 for as_dir in $PATH
18804 test -z "$as_dir" && as_dir=.
18805 for ac_exec_ext in '' $ac_executable_extensions; do
18806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18807 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18814 test -z "$ac_cv_path_MV" && ac_cv_path_MV="false"
18820 if test -n "$MV"; then
18821 echo "$as_me:$LINENO: result: $MV" >&5
18822 echo "${ECHO_T}$MV" >&6
18824 echo "$as_me:$LINENO: result: no" >&5
18825 echo "${ECHO_T}no" >&6
18828 if test ${MV} = "false"
18830 { { echo "$as_me:$LINENO: error: mv required but not found" >&5
18831 echo "$as_me: error: mv required but not found" >&2;}
18832 { (exit 1); exit 1; }; }
18835 # Extract the first word of "dot", so it can be a program name with args.
18836 set dummy dot; ac_word=$2
18837 echo "$as_me:$LINENO: checking for $ac_word" >&5
18838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18839 if test "${ac_cv_path_DOT+set}" = set; then
18840 echo $ECHO_N "(cached) $ECHO_C" >&6
18844 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18848 for as_dir in $PATH
18851 test -z "$as_dir" && as_dir=.
18852 for ac_exec_ext in '' $ac_executable_extensions; do
18853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18854 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18861 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
18865 DOT=$ac_cv_path_DOT
18867 if test -n "$DOT"; then
18868 echo "$as_me:$LINENO: result: $DOT" >&5
18869 echo "${ECHO_T}$DOT" >&6
18871 echo "$as_me:$LINENO: result: no" >&5
18872 echo "${ECHO_T}no" >&6
18876 # Extract the first word of "etags", so it can be a program name with args.
18877 set dummy etags; ac_word=$2
18878 echo "$as_me:$LINENO: checking for $ac_word" >&5
18879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18880 if test "${ac_cv_path_ETAGS+set}" = set; then
18881 echo $ECHO_N "(cached) $ECHO_C" >&6
18885 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18889 for as_dir in $PATH
18892 test -z "$as_dir" && as_dir=.
18893 for ac_exec_ext in '' $ac_executable_extensions; do
18894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18895 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18902 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false"
18906 ETAGS=$ac_cv_path_ETAGS
18908 if test -n "$ETAGS"; then
18909 echo "$as_me:$LINENO: result: $ETAGS" >&5
18910 echo "${ECHO_T}$ETAGS" >&6
18912 echo "$as_me:$LINENO: result: no" >&5
18913 echo "${ECHO_T}no" >&6
18917 # Extract the first word of "python", so it can be a program name with args.
18918 set dummy python; ac_word=$2
18919 echo "$as_me:$LINENO: checking for $ac_word" >&5
18920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18921 if test "${ac_cv_path_PYTHON+set}" = set; then
18922 echo $ECHO_N "(cached) $ECHO_C" >&6
18926 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18930 for as_dir in $PATH
18933 test -z "$as_dir" && as_dir=.
18934 for ac_exec_ext in '' $ac_executable_extensions; do
18935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18936 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18943 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false"
18947 PYTHON=$ac_cv_path_PYTHON
18949 if test -n "$PYTHON"; then
18950 echo "$as_me:$LINENO: result: $PYTHON" >&5
18951 echo "${ECHO_T}$PYTHON" >&6
18953 echo "$as_me:$LINENO: result: no" >&5
18954 echo "${ECHO_T}no" >&6
18957 if test ${PYTHON} = "false"
18959 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
18960 echo "$as_me: WARNING: python required but not found" >&2;}
18963 # Extract the first word of "qmtest", so it can be a program name with args.
18964 set dummy qmtest; ac_word=$2
18965 echo "$as_me:$LINENO: checking for $ac_word" >&5
18966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18967 if test "${ac_cv_path_QMTEST+set}" = set; then
18968 echo $ECHO_N "(cached) $ECHO_C" >&6
18972 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18976 for as_dir in $PATH
18979 test -z "$as_dir" && as_dir=.
18980 for ac_exec_ext in '' $ac_executable_extensions; do
18981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18982 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
18983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18989 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false"
18993 QMTEST=$ac_cv_path_QMTEST
18995 if test -n "$QMTEST"; then
18996 echo "$as_me:$LINENO: result: $QMTEST" >&5
18997 echo "${ECHO_T}$QMTEST" >&6
18999 echo "$as_me:$LINENO: result: no" >&5
19000 echo "${ECHO_T}no" >&6
19003 if test ${QMTEST} = "false"
19005 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19006 echo "$as_me: WARNING: qmtest required but not found" >&2;}
19009 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
19010 pymajor=`echo $pyversion | cut -d. -f1`
19011 pyminor=`echo $pyversion | cut -d. -f2`
19013 if test "$pymajor" -ge "2"
19015 if test "$pymajor" -eq "2"
19017 if test "$pyminor" -lt "2"
19019 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19020 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19021 { (exit 1); exit 1; }; }
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; }; }
19034 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
19035 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
19036 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
19037 echo $ECHO_N "(cached) $ECHO_C" >&6
19039 ac_check_lib_save_LIBS=$LIBS
19041 cat >conftest.$ac_ext <<_ACEOF
19042 #line $LINENO "configure"
19045 cat confdefs.h >>conftest.$ac_ext
19046 cat >>conftest.$ac_ext <<_ACEOF
19047 /* end confdefs.h. */
19049 /* Override any gcc2 internal prototype to avoid an error. */
19053 /* We use char because int might match the return type of a gcc2
19054 builtin and then its argument prototype would still apply. */
19064 rm -f conftest.$ac_objext conftest$ac_exeext
19065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19066 (eval $ac_link) 2>&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } &&
19070 { ac_try='test -s conftest$ac_exeext'
19071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19072 (eval $ac_try) 2>&5
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); }; }; then
19076 ac_cv_lib_elf_elf_begin=yes
19078 echo "$as_me: failed program was:" >&5
19079 sed 's/^/| /' conftest.$ac_ext >&5
19081 ac_cv_lib_elf_elf_begin=no
19083 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19084 LIBS=$ac_check_lib_save_LIBS
19086 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19087 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19088 if test $ac_cv_lib_elf_elf_begin = yes; then
19089 cat >>confdefs.h <<_ACEOF
19090 #define HAVE_LIBELF 1
19098 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19099 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19100 if test "${ac_cv_search_dlopen+set}" = set; then
19101 echo $ECHO_N "(cached) $ECHO_C" >&6
19103 ac_func_search_save_LIBS=$LIBS
19104 ac_cv_search_dlopen=no
19105 cat >conftest.$ac_ext <<_ACEOF
19106 #line $LINENO "configure"
19109 cat confdefs.h >>conftest.$ac_ext
19110 cat >>conftest.$ac_ext <<_ACEOF
19111 /* end confdefs.h. */
19113 /* Override any gcc2 internal prototype to avoid an error. */
19117 /* We use char because int might match the return type of a gcc2
19118 builtin and then its argument prototype would still apply. */
19128 rm -f conftest.$ac_objext conftest$ac_exeext
19129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19130 (eval $ac_link) 2>&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); } &&
19134 { ac_try='test -s conftest$ac_exeext'
19135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19136 (eval $ac_try) 2>&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); }; }; then
19140 ac_cv_search_dlopen="none required"
19142 echo "$as_me: failed program was:" >&5
19143 sed 's/^/| /' conftest.$ac_ext >&5
19146 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19147 if test "$ac_cv_search_dlopen" = no; then
19148 for ac_lib in dl; do
19149 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19150 cat >conftest.$ac_ext <<_ACEOF
19151 #line $LINENO "configure"
19154 cat confdefs.h >>conftest.$ac_ext
19155 cat >>conftest.$ac_ext <<_ACEOF
19156 /* end confdefs.h. */
19158 /* Override any gcc2 internal prototype to avoid an error. */
19162 /* We use char because int might match the return type of a gcc2
19163 builtin and then its argument prototype would still apply. */
19173 rm -f conftest.$ac_objext conftest$ac_exeext
19174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19175 (eval $ac_link) 2>&5
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); } &&
19179 { ac_try='test -s conftest$ac_exeext'
19180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19181 (eval $ac_try) 2>&5
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); }; }; then
19185 ac_cv_search_dlopen="-l$ac_lib"
19188 echo "$as_me: failed program was:" >&5
19189 sed 's/^/| /' conftest.$ac_ext >&5
19192 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19195 LIBS=$ac_func_search_save_LIBS
19197 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19198 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19199 if test "$ac_cv_search_dlopen" != no; then
19200 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19202 cat >>confdefs.h <<\_ACEOF
19203 #define HAVE_DLOPEN 1
19207 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
19208 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
19212 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19213 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19214 if test "${ac_cv_search_mallinfo+set}" = set; then
19215 echo $ECHO_N "(cached) $ECHO_C" >&6
19217 ac_func_search_save_LIBS=$LIBS
19218 ac_cv_search_mallinfo=no
19219 cat >conftest.$ac_ext <<_ACEOF
19220 #line $LINENO "configure"
19223 cat confdefs.h >>conftest.$ac_ext
19224 cat >>conftest.$ac_ext <<_ACEOF
19225 /* end confdefs.h. */
19227 /* Override any gcc2 internal prototype to avoid an error. */
19231 /* We use char because int might match the return type of a gcc2
19232 builtin and then its argument prototype would still apply. */
19242 rm -f conftest.$ac_objext conftest$ac_exeext
19243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19244 (eval $ac_link) 2>&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); } &&
19248 { ac_try='test -s conftest$ac_exeext'
19249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19250 (eval $ac_try) 2>&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); }; }; then
19254 ac_cv_search_mallinfo="none required"
19256 echo "$as_me: failed program was:" >&5
19257 sed 's/^/| /' conftest.$ac_ext >&5
19260 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19261 if test "$ac_cv_search_mallinfo" = no; then
19262 for ac_lib in malloc; do
19263 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19264 cat >conftest.$ac_ext <<_ACEOF
19265 #line $LINENO "configure"
19268 cat confdefs.h >>conftest.$ac_ext
19269 cat >>conftest.$ac_ext <<_ACEOF
19270 /* end confdefs.h. */
19272 /* Override any gcc2 internal prototype to avoid an error. */
19276 /* We use char because int might match the return type of a gcc2
19277 builtin and then its argument prototype would still apply. */
19287 rm -f conftest.$ac_objext conftest$ac_exeext
19288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19289 (eval $ac_link) 2>&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); } &&
19293 { ac_try='test -s conftest$ac_exeext'
19294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19295 (eval $ac_try) 2>&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); }; }; then
19299 ac_cv_search_mallinfo="-l$ac_lib"
19302 echo "$as_me: failed program was:" >&5
19303 sed 's/^/| /' conftest.$ac_ext >&5
19306 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19309 LIBS=$ac_func_search_save_LIBS
19311 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19312 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19313 if test "$ac_cv_search_mallinfo" != no; then
19314 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19316 cat >>confdefs.h <<\_ACEOF
19317 #define HAVE_MALLINFO 1
19324 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19325 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19326 if test "${ac_cv_header_stdc+set}" = set; then
19327 echo $ECHO_N "(cached) $ECHO_C" >&6
19329 cat >conftest.$ac_ext <<_ACEOF
19330 #line $LINENO "configure"
19333 cat confdefs.h >>conftest.$ac_ext
19334 cat >>conftest.$ac_ext <<_ACEOF
19335 /* end confdefs.h. */
19336 #include <stdlib.h>
19337 #include <stdarg.h>
19338 #include <string.h>
19349 rm -f conftest.$ac_objext
19350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19351 (eval $ac_compile) 2>&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); } &&
19355 { ac_try='test -s conftest.$ac_objext'
19356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19357 (eval $ac_try) 2>&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); }; }; then
19361 ac_cv_header_stdc=yes
19363 echo "$as_me: failed program was:" >&5
19364 sed 's/^/| /' conftest.$ac_ext >&5
19366 ac_cv_header_stdc=no
19368 rm -f conftest.$ac_objext conftest.$ac_ext
19370 if test $ac_cv_header_stdc = yes; then
19371 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19372 cat >conftest.$ac_ext <<_ACEOF
19373 #line $LINENO "configure"
19376 cat confdefs.h >>conftest.$ac_ext
19377 cat >>conftest.$ac_ext <<_ACEOF
19378 /* end confdefs.h. */
19379 #include <string.h>
19382 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19383 $EGREP "memchr" >/dev/null 2>&1; then
19386 ac_cv_header_stdc=no
19392 if test $ac_cv_header_stdc = yes; then
19393 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19394 cat >conftest.$ac_ext <<_ACEOF
19395 #line $LINENO "configure"
19398 cat confdefs.h >>conftest.$ac_ext
19399 cat >>conftest.$ac_ext <<_ACEOF
19400 /* end confdefs.h. */
19401 #include <stdlib.h>
19404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19405 $EGREP "free" >/dev/null 2>&1; then
19408 ac_cv_header_stdc=no
19414 if test $ac_cv_header_stdc = yes; then
19415 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19416 if test "$cross_compiling" = yes; then
19419 cat >conftest.$ac_ext <<_ACEOF
19420 #line $LINENO "configure"
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19427 #if ((' ' & 0x0FF) == 0x020)
19428 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19429 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19431 # define ISLOWER(c) \
19432 (('a' <= (c) && (c) <= 'i') \
19433 || ('j' <= (c) && (c) <= 'r') \
19434 || ('s' <= (c) && (c) <= 'z'))
19435 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19438 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19443 for (i = 0; i < 256; i++)
19444 if (XOR (islower (i), ISLOWER (i))
19445 || toupper (i) != TOUPPER (i))
19450 rm -f conftest$ac_exeext
19451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19452 (eval $ac_link) 2>&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19457 (eval $ac_try) 2>&5
19459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19460 (exit $ac_status); }; }; then
19463 echo "$as_me: program exited with status $ac_status" >&5
19464 echo "$as_me: failed program was:" >&5
19465 sed 's/^/| /' conftest.$ac_ext >&5
19467 ( exit $ac_status )
19468 ac_cv_header_stdc=no
19470 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19474 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19475 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19476 if test $ac_cv_header_stdc = yes; then
19478 cat >>confdefs.h <<\_ACEOF
19479 #define STDC_HEADERS 1
19484 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19485 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19486 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19487 echo $ECHO_N "(cached) $ECHO_C" >&6
19489 cat >conftest.$ac_ext <<_ACEOF
19490 #line $LINENO "configure"
19493 cat confdefs.h >>conftest.$ac_ext
19494 cat >>conftest.$ac_ext <<_ACEOF
19495 /* end confdefs.h. */
19496 #include <sys/types.h>
19497 #include <sys/wait.h>
19498 #ifndef WEXITSTATUS
19499 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19502 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19510 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19515 rm -f conftest.$ac_objext
19516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19517 (eval $ac_compile) 2>&5
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); } &&
19521 { ac_try='test -s conftest.$ac_objext'
19522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19523 (eval $ac_try) 2>&5
19525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526 (exit $ac_status); }; }; then
19527 ac_cv_header_sys_wait_h=yes
19529 echo "$as_me: failed program was:" >&5
19530 sed 's/^/| /' conftest.$ac_ext >&5
19532 ac_cv_header_sys_wait_h=no
19534 rm -f conftest.$ac_objext conftest.$ac_ext
19536 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19537 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19538 if test $ac_cv_header_sys_wait_h = yes; then
19540 cat >>confdefs.h <<\_ACEOF
19541 #define HAVE_SYS_WAIT_H 1
19555 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19559 echo "$as_me:$LINENO: checking for $ac_header" >&5
19560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19562 echo $ECHO_N "(cached) $ECHO_C" >&6
19564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19567 # Is the header compilable?
19568 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19569 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19570 cat >conftest.$ac_ext <<_ACEOF
19571 #line $LINENO "configure"
19574 cat confdefs.h >>conftest.$ac_ext
19575 cat >>conftest.$ac_ext <<_ACEOF
19576 /* end confdefs.h. */
19577 $ac_includes_default
19578 #include <$ac_header>
19580 rm -f conftest.$ac_objext
19581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19582 (eval $ac_compile) 2>&5
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); } &&
19586 { ac_try='test -s conftest.$ac_objext'
19587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19588 (eval $ac_try) 2>&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); }; }; then
19592 ac_header_compiler=yes
19594 echo "$as_me: failed program was:" >&5
19595 sed 's/^/| /' conftest.$ac_ext >&5
19597 ac_header_compiler=no
19599 rm -f conftest.$ac_objext conftest.$ac_ext
19600 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19601 echo "${ECHO_T}$ac_header_compiler" >&6
19603 # Is the header present?
19604 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19605 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19606 cat >conftest.$ac_ext <<_ACEOF
19607 #line $LINENO "configure"
19610 cat confdefs.h >>conftest.$ac_ext
19611 cat >>conftest.$ac_ext <<_ACEOF
19612 /* end confdefs.h. */
19613 #include <$ac_header>
19615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19616 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19618 grep -v '^ *+' conftest.er1 >conftest.err
19620 cat conftest.err >&5
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); } >/dev/null; then
19623 if test -s conftest.err; then
19624 ac_cpp_err=$ac_c_preproc_warn_flag
19631 if test -z "$ac_cpp_err"; then
19632 ac_header_preproc=yes
19634 echo "$as_me: failed program was:" >&5
19635 sed 's/^/| /' conftest.$ac_ext >&5
19637 ac_header_preproc=no
19639 rm -f conftest.err conftest.$ac_ext
19640 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19641 echo "${ECHO_T}$ac_header_preproc" >&6
19643 # So? What about this header?
19644 case $ac_header_compiler:$ac_header_preproc in
19646 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19647 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19649 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19652 ## ------------------------------------ ##
19653 ## Report this to bug-autoconf@gnu.org. ##
19654 ## ------------------------------------ ##
19657 sed "s/^/$as_me: WARNING: /" >&2
19660 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19661 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19662 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19663 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19664 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19665 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19668 ## ------------------------------------ ##
19669 ## Report this to bug-autoconf@gnu.org. ##
19670 ## ------------------------------------ ##
19673 sed "s/^/$as_me: WARNING: /" >&2
19676 echo "$as_me:$LINENO: checking for $ac_header" >&5
19677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19679 echo $ECHO_N "(cached) $ECHO_C" >&6
19681 eval "$as_ac_Header=$ac_header_preproc"
19683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19688 cat >>confdefs.h <<_ACEOF
19689 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19701 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19703 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19704 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19705 echo "$as_me:$LINENO: checking for $ac_header" >&5
19706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19708 echo $ECHO_N "(cached) $ECHO_C" >&6
19710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19713 # Is the header compilable?
19714 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19715 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19716 cat >conftest.$ac_ext <<_ACEOF
19717 #line $LINENO "configure"
19720 cat confdefs.h >>conftest.$ac_ext
19721 cat >>conftest.$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19723 $ac_includes_default
19724 #include <$ac_header>
19726 rm -f conftest.$ac_objext
19727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19728 (eval $ac_compile) 2>&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); } &&
19732 { ac_try='test -s conftest.$ac_objext'
19733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19734 (eval $ac_try) 2>&5
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); }; }; then
19738 ac_header_compiler=yes
19740 echo "$as_me: failed program was:" >&5
19741 sed 's/^/| /' conftest.$ac_ext >&5
19743 ac_header_compiler=no
19745 rm -f conftest.$ac_objext conftest.$ac_ext
19746 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19747 echo "${ECHO_T}$ac_header_compiler" >&6
19749 # Is the header present?
19750 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19751 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19752 cat >conftest.$ac_ext <<_ACEOF
19753 #line $LINENO "configure"
19756 cat confdefs.h >>conftest.$ac_ext
19757 cat >>conftest.$ac_ext <<_ACEOF
19758 /* end confdefs.h. */
19759 #include <$ac_header>
19761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19762 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19764 grep -v '^ *+' conftest.er1 >conftest.err
19766 cat conftest.err >&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); } >/dev/null; then
19769 if test -s conftest.err; then
19770 ac_cpp_err=$ac_c_preproc_warn_flag
19777 if test -z "$ac_cpp_err"; then
19778 ac_header_preproc=yes
19780 echo "$as_me: failed program was:" >&5
19781 sed 's/^/| /' conftest.$ac_ext >&5
19783 ac_header_preproc=no
19785 rm -f conftest.err conftest.$ac_ext
19786 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19787 echo "${ECHO_T}$ac_header_preproc" >&6
19789 # So? What about this header?
19790 case $ac_header_compiler:$ac_header_preproc in
19792 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19793 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19794 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19795 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19798 ## ------------------------------------ ##
19799 ## Report this to bug-autoconf@gnu.org. ##
19800 ## ------------------------------------ ##
19803 sed "s/^/$as_me: WARNING: /" >&2
19806 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19807 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19808 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19809 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19810 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19811 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19814 ## ------------------------------------ ##
19815 ## Report this to bug-autoconf@gnu.org. ##
19816 ## ------------------------------------ ##
19819 sed "s/^/$as_me: WARNING: /" >&2
19822 echo "$as_me:$LINENO: checking for $ac_header" >&5
19823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19825 echo $ECHO_N "(cached) $ECHO_C" >&6
19827 eval "$as_ac_Header=$ac_header_preproc"
19829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19833 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19834 cat >>confdefs.h <<_ACEOF
19835 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19845 for ac_header in dlfcn.h link.h
19847 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19849 echo "$as_me:$LINENO: checking for $ac_header" >&5
19850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19852 echo $ECHO_N "(cached) $ECHO_C" >&6
19854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19857 # Is the header compilable?
19858 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19860 cat >conftest.$ac_ext <<_ACEOF
19861 #line $LINENO "configure"
19864 cat confdefs.h >>conftest.$ac_ext
19865 cat >>conftest.$ac_ext <<_ACEOF
19866 /* end confdefs.h. */
19867 $ac_includes_default
19868 #include <$ac_header>
19870 rm -f conftest.$ac_objext
19871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19872 (eval $ac_compile) 2>&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); } &&
19876 { ac_try='test -s conftest.$ac_objext'
19877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19878 (eval $ac_try) 2>&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); }; }; then
19882 ac_header_compiler=yes
19884 echo "$as_me: failed program was:" >&5
19885 sed 's/^/| /' conftest.$ac_ext >&5
19887 ac_header_compiler=no
19889 rm -f conftest.$ac_objext conftest.$ac_ext
19890 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19891 echo "${ECHO_T}$ac_header_compiler" >&6
19893 # Is the header present?
19894 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19895 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19896 cat >conftest.$ac_ext <<_ACEOF
19897 #line $LINENO "configure"
19900 cat confdefs.h >>conftest.$ac_ext
19901 cat >>conftest.$ac_ext <<_ACEOF
19902 /* end confdefs.h. */
19903 #include <$ac_header>
19905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19906 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19908 grep -v '^ *+' conftest.er1 >conftest.err
19910 cat conftest.err >&5
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); } >/dev/null; then
19913 if test -s conftest.err; then
19914 ac_cpp_err=$ac_c_preproc_warn_flag
19921 if test -z "$ac_cpp_err"; then
19922 ac_header_preproc=yes
19924 echo "$as_me: failed program was:" >&5
19925 sed 's/^/| /' conftest.$ac_ext >&5
19927 ac_header_preproc=no
19929 rm -f conftest.err conftest.$ac_ext
19930 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19931 echo "${ECHO_T}$ac_header_preproc" >&6
19933 # So? What about this header?
19934 case $ac_header_compiler:$ac_header_preproc in
19936 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19937 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19938 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19939 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19942 ## ------------------------------------ ##
19943 ## Report this to bug-autoconf@gnu.org. ##
19944 ## ------------------------------------ ##
19947 sed "s/^/$as_me: WARNING: /" >&2
19950 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19951 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19952 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19953 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19958 ## ------------------------------------ ##
19959 ## Report this to bug-autoconf@gnu.org. ##
19960 ## ------------------------------------ ##
19963 sed "s/^/$as_me: WARNING: /" >&2
19966 echo "$as_me:$LINENO: checking for $ac_header" >&5
19967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19969 echo $ECHO_N "(cached) $ECHO_C" >&6
19971 eval "$as_ac_Header=$ac_header_preproc"
19973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19977 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19978 cat >>confdefs.h <<_ACEOF
19979 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19988 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19989 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19990 if test "${ac_cv_c_const+set}" = set; then
19991 echo $ECHO_N "(cached) $ECHO_C" >&6
19993 cat >conftest.$ac_ext <<_ACEOF
19994 #line $LINENO "configure"
19997 cat confdefs.h >>conftest.$ac_ext
19998 cat >>conftest.$ac_ext <<_ACEOF
19999 /* end confdefs.h. */
20004 /* FIXME: Include the comments suggested by Paul. */
20005 #ifndef __cplusplus
20006 /* Ultrix mips cc rejects this. */
20007 typedef int charset[2];
20009 /* SunOS 4.1.1 cc rejects this. */
20010 char const *const *ccp;
20012 /* NEC SVR4.0.2 mips cc rejects this. */
20013 struct point {int x, y;};
20014 static struct point const zero = {0,0};
20015 /* AIX XL C 1.02.0.0 rejects this.
20016 It does not let you subtract one const X* pointer from another in
20017 an arm of an if-expression whose if-part is not a constant
20019 const char *g = "string";
20020 ccp = &g + (g ? g-g : 0);
20021 /* HPUX 7.0 cc rejects these. */
20024 ccp = (char const *const *) p;
20025 { /* SCO 3.2v4 cc rejects this. */
20027 char const *s = 0 ? (char *) 0 : (char const *) 0;
20031 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20032 int x[] = {25, 17};
20033 const int *foo = &x[0];
20036 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20037 typedef const int *iptr;
20041 { /* AIX XL C 1.02.0.0 rejects this saying
20042 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20043 struct s { int j; const int *ap[3]; };
20044 struct s *b; b->j = 5;
20046 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20047 const int foo = 10;
20055 rm -f conftest.$ac_objext
20056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20057 (eval $ac_compile) 2>&5
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); } &&
20061 { ac_try='test -s conftest.$ac_objext'
20062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20063 (eval $ac_try) 2>&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); }; }; then
20069 echo "$as_me: failed program was:" >&5
20070 sed 's/^/| /' conftest.$ac_ext >&5
20074 rm -f conftest.$ac_objext conftest.$ac_ext
20076 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20077 echo "${ECHO_T}$ac_cv_c_const" >&6
20078 if test $ac_cv_c_const = no; then
20080 cat >>confdefs.h <<\_ACEOF
20086 echo "$as_me:$LINENO: checking for inline" >&5
20087 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20088 if test "${ac_cv_c_inline+set}" = set; then
20089 echo $ECHO_N "(cached) $ECHO_C" >&6
20092 for ac_kw in inline __inline__ __inline; do
20093 cat >conftest.$ac_ext <<_ACEOF
20094 #line $LINENO "configure"
20097 cat confdefs.h >>conftest.$ac_ext
20098 cat >>conftest.$ac_ext <<_ACEOF
20099 /* end confdefs.h. */
20100 #ifndef __cplusplus
20102 static $ac_kw foo_t static_foo () {return 0; }
20103 $ac_kw foo_t foo () {return 0; }
20107 rm -f conftest.$ac_objext
20108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20109 (eval $ac_compile) 2>&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } &&
20113 { ac_try='test -s conftest.$ac_objext'
20114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20115 (eval $ac_try) 2>&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); }; }; then
20119 ac_cv_c_inline=$ac_kw; break
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.$ac_ext >&5
20125 rm -f conftest.$ac_objext conftest.$ac_ext
20129 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20130 echo "${ECHO_T}$ac_cv_c_inline" >&6
20131 case $ac_cv_c_inline in
20134 cat >>confdefs.h <<\_ACEOF
20138 *) cat >>confdefs.h <<_ACEOF
20139 #define inline $ac_cv_c_inline
20145 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20146 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20147 if test "${ac_cv_c_bigendian+set}" = set; then
20148 echo $ECHO_N "(cached) $ECHO_C" >&6
20150 # See if sys/param.h defines the BYTE_ORDER macro.
20151 cat >conftest.$ac_ext <<_ACEOF
20152 #line $LINENO "configure"
20155 cat confdefs.h >>conftest.$ac_ext
20156 cat >>conftest.$ac_ext <<_ACEOF
20157 /* end confdefs.h. */
20158 #include <sys/types.h>
20159 #include <sys/param.h>
20164 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20165 bogus endian macros
20172 rm -f conftest.$ac_objext
20173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20174 (eval $ac_compile) 2>&5
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); } &&
20178 { ac_try='test -s conftest.$ac_objext'
20179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20180 (eval $ac_try) 2>&5
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); }; }; then
20184 # It does; now see whether it defined to BIG_ENDIAN or not.
20185 cat >conftest.$ac_ext <<_ACEOF
20186 #line $LINENO "configure"
20189 cat confdefs.h >>conftest.$ac_ext
20190 cat >>conftest.$ac_ext <<_ACEOF
20191 /* end confdefs.h. */
20192 #include <sys/types.h>
20193 #include <sys/param.h>
20198 #if BYTE_ORDER != BIG_ENDIAN
20206 rm -f conftest.$ac_objext
20207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20208 (eval $ac_compile) 2>&5
20210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20211 (exit $ac_status); } &&
20212 { ac_try='test -s conftest.$ac_objext'
20213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20214 (eval $ac_try) 2>&5
20216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20217 (exit $ac_status); }; }; then
20218 ac_cv_c_bigendian=yes
20220 echo "$as_me: failed program was:" >&5
20221 sed 's/^/| /' conftest.$ac_ext >&5
20223 ac_cv_c_bigendian=no
20225 rm -f conftest.$ac_objext conftest.$ac_ext
20227 echo "$as_me: failed program was:" >&5
20228 sed 's/^/| /' conftest.$ac_ext >&5
20230 # It does not; compile a test program.
20231 if test "$cross_compiling" = yes; then
20232 # try to guess the endianness by grepping values into an object file
20233 ac_cv_c_bigendian=unknown
20234 cat >conftest.$ac_ext <<_ACEOF
20235 #line $LINENO "configure"
20238 cat confdefs.h >>conftest.$ac_ext
20239 cat >>conftest.$ac_ext <<_ACEOF
20240 /* end confdefs.h. */
20241 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20242 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20243 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20244 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20245 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20246 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20250 _ascii (); _ebcdic ();
20255 rm -f conftest.$ac_objext
20256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20257 (eval $ac_compile) 2>&5
20259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20260 (exit $ac_status); } &&
20261 { ac_try='test -s conftest.$ac_objext'
20262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20263 (eval $ac_try) 2>&5
20265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20266 (exit $ac_status); }; }; then
20267 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20268 ac_cv_c_bigendian=yes
20270 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20271 if test "$ac_cv_c_bigendian" = unknown; then
20272 ac_cv_c_bigendian=no
20274 # finding both strings is unlikely to happen, but who knows?
20275 ac_cv_c_bigendian=unknown
20279 echo "$as_me: failed program was:" >&5
20280 sed 's/^/| /' conftest.$ac_ext >&5
20283 rm -f conftest.$ac_objext conftest.$ac_ext
20285 cat >conftest.$ac_ext <<_ACEOF
20286 #line $LINENO "configure"
20289 cat confdefs.h >>conftest.$ac_ext
20290 cat >>conftest.$ac_ext <<_ACEOF
20291 /* end confdefs.h. */
20295 /* Are we little or big endian? From Harbison&Steele. */
20299 char c[sizeof (long)];
20302 exit (u.c[sizeof (long) - 1] == 1);
20305 rm -f conftest$ac_exeext
20306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20307 (eval $ac_link) 2>&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20312 (eval $ac_try) 2>&5
20314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315 (exit $ac_status); }; }; then
20316 ac_cv_c_bigendian=no
20318 echo "$as_me: program exited with status $ac_status" >&5
20319 echo "$as_me: failed program was:" >&5
20320 sed 's/^/| /' conftest.$ac_ext >&5
20322 ( exit $ac_status )
20323 ac_cv_c_bigendian=yes
20325 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20328 rm -f conftest.$ac_objext conftest.$ac_ext
20330 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20331 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20332 case $ac_cv_c_bigendian in
20335 cat >>confdefs.h <<\_ACEOF
20341 cat >>confdefs.h <<\_ACEOF
20342 #define ENDIAN_LITTLE
20346 { { echo "$as_me:$LINENO: error: unknown endianness
20347 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20348 echo "$as_me: error: unknown endianness
20349 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20350 { (exit 1); exit 1; }; } ;;
20354 echo "$as_me:$LINENO: checking for pid_t" >&5
20355 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20356 if test "${ac_cv_type_pid_t+set}" = set; then
20357 echo $ECHO_N "(cached) $ECHO_C" >&6
20359 cat >conftest.$ac_ext <<_ACEOF
20360 #line $LINENO "configure"
20363 cat confdefs.h >>conftest.$ac_ext
20364 cat >>conftest.$ac_ext <<_ACEOF
20365 /* end confdefs.h. */
20366 $ac_includes_default
20372 if (sizeof (pid_t))
20378 rm -f conftest.$ac_objext
20379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20380 (eval $ac_compile) 2>&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); } &&
20384 { ac_try='test -s conftest.$ac_objext'
20385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20386 (eval $ac_try) 2>&5
20388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389 (exit $ac_status); }; }; then
20390 ac_cv_type_pid_t=yes
20392 echo "$as_me: failed program was:" >&5
20393 sed 's/^/| /' conftest.$ac_ext >&5
20395 ac_cv_type_pid_t=no
20397 rm -f conftest.$ac_objext conftest.$ac_ext
20399 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20400 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20401 if test $ac_cv_type_pid_t = yes; then
20405 cat >>confdefs.h <<_ACEOF
20411 echo "$as_me:$LINENO: checking for size_t" >&5
20412 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20413 if test "${ac_cv_type_size_t+set}" = set; then
20414 echo $ECHO_N "(cached) $ECHO_C" >&6
20416 cat >conftest.$ac_ext <<_ACEOF
20417 #line $LINENO "configure"
20420 cat confdefs.h >>conftest.$ac_ext
20421 cat >>conftest.$ac_ext <<_ACEOF
20422 /* end confdefs.h. */
20423 $ac_includes_default
20429 if (sizeof (size_t))
20435 rm -f conftest.$ac_objext
20436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20437 (eval $ac_compile) 2>&5
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); } &&
20441 { ac_try='test -s conftest.$ac_objext'
20442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20443 (eval $ac_try) 2>&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); }; }; then
20447 ac_cv_type_size_t=yes
20449 echo "$as_me: failed program was:" >&5
20450 sed 's/^/| /' conftest.$ac_ext >&5
20452 ac_cv_type_size_t=no
20454 rm -f conftest.$ac_objext conftest.$ac_ext
20456 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20457 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20458 if test $ac_cv_type_size_t = yes; then
20462 cat >>confdefs.h <<_ACEOF
20463 #define size_t unsigned
20468 echo "$as_me:$LINENO: checking for int64_t" >&5
20469 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20470 if test "${ac_cv_type_int64_t+set}" = set; then
20471 echo $ECHO_N "(cached) $ECHO_C" >&6
20473 cat >conftest.$ac_ext <<_ACEOF
20474 #line $LINENO "configure"
20477 cat confdefs.h >>conftest.$ac_ext
20478 cat >>conftest.$ac_ext <<_ACEOF
20479 /* end confdefs.h. */
20480 $ac_includes_default
20486 if (sizeof (int64_t))
20492 rm -f conftest.$ac_objext
20493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20494 (eval $ac_compile) 2>&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); } &&
20498 { ac_try='test -s conftest.$ac_objext'
20499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20500 (eval $ac_try) 2>&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); }; }; then
20504 ac_cv_type_int64_t=yes
20506 echo "$as_me: failed program was:" >&5
20507 sed 's/^/| /' conftest.$ac_ext >&5
20509 ac_cv_type_int64_t=no
20511 rm -f conftest.$ac_objext conftest.$ac_ext
20513 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20514 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20515 if test $ac_cv_type_int64_t = yes; then
20517 cat >>confdefs.h <<_ACEOF
20518 #define HAVE_INT64_T 1
20523 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20524 echo "$as_me: error: Type int64_t required but not found" >&2;}
20525 { (exit 1); exit 1; }; }
20528 echo "$as_me:$LINENO: checking for uint64_t" >&5
20529 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20530 if test "${ac_cv_type_uint64_t+set}" = set; then
20531 echo $ECHO_N "(cached) $ECHO_C" >&6
20533 cat >conftest.$ac_ext <<_ACEOF
20534 #line $LINENO "configure"
20537 cat confdefs.h >>conftest.$ac_ext
20538 cat >>conftest.$ac_ext <<_ACEOF
20539 /* end confdefs.h. */
20540 $ac_includes_default
20544 if ((uint64_t *) 0)
20546 if (sizeof (uint64_t))
20552 rm -f conftest.$ac_objext
20553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20554 (eval $ac_compile) 2>&5
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); } &&
20558 { ac_try='test -s conftest.$ac_objext'
20559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20560 (eval $ac_try) 2>&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); }; }; then
20564 ac_cv_type_uint64_t=yes
20566 echo "$as_me: failed program was:" >&5
20567 sed 's/^/| /' conftest.$ac_ext >&5
20569 ac_cv_type_uint64_t=no
20571 rm -f conftest.$ac_objext conftest.$ac_ext
20573 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20574 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20575 if test $ac_cv_type_uint64_t = yes; then
20577 cat >>confdefs.h <<_ACEOF
20578 #define HAVE_UINT64_T 1
20583 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20584 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20585 { (exit 1); exit 1; }; }
20588 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20589 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20590 if test "${ac_cv_header_time+set}" = set; then
20591 echo $ECHO_N "(cached) $ECHO_C" >&6
20593 cat >conftest.$ac_ext <<_ACEOF
20594 #line $LINENO "configure"
20597 cat confdefs.h >>conftest.$ac_ext
20598 cat >>conftest.$ac_ext <<_ACEOF
20599 /* end confdefs.h. */
20600 #include <sys/types.h>
20601 #include <sys/time.h>
20607 if ((struct tm *) 0)
20613 rm -f conftest.$ac_objext
20614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20615 (eval $ac_compile) 2>&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); } &&
20619 { ac_try='test -s conftest.$ac_objext'
20620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20621 (eval $ac_try) 2>&5
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); }; }; then
20625 ac_cv_header_time=yes
20627 echo "$as_me: failed program was:" >&5
20628 sed 's/^/| /' conftest.$ac_ext >&5
20630 ac_cv_header_time=no
20632 rm -f conftest.$ac_objext conftest.$ac_ext
20634 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20635 echo "${ECHO_T}$ac_cv_header_time" >&6
20636 if test $ac_cv_header_time = yes; then
20638 cat >>confdefs.h <<\_ACEOF
20639 #define TIME_WITH_SYS_TIME 1
20644 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20645 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20646 if test "${ac_cv_struct_tm+set}" = set; then
20647 echo $ECHO_N "(cached) $ECHO_C" >&6
20649 cat >conftest.$ac_ext <<_ACEOF
20650 #line $LINENO "configure"
20653 cat confdefs.h >>conftest.$ac_ext
20654 cat >>conftest.$ac_ext <<_ACEOF
20655 /* end confdefs.h. */
20656 #include <sys/types.h>
20662 struct tm *tp; tp->tm_sec;
20667 rm -f conftest.$ac_objext
20668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20669 (eval $ac_compile) 2>&5
20671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20672 (exit $ac_status); } &&
20673 { ac_try='test -s conftest.$ac_objext'
20674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20675 (eval $ac_try) 2>&5
20677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678 (exit $ac_status); }; }; then
20679 ac_cv_struct_tm=time.h
20681 echo "$as_me: failed program was:" >&5
20682 sed 's/^/| /' conftest.$ac_ext >&5
20684 ac_cv_struct_tm=sys/time.h
20686 rm -f conftest.$ac_objext conftest.$ac_ext
20688 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20689 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20690 if test $ac_cv_struct_tm = sys/time.h; then
20692 cat >>confdefs.h <<\_ACEOF
20693 #define TM_IN_SYS_TIME 1
20699 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20700 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20701 if test "${ac_cv_cxx_namespaces+set}" = set; then
20702 echo $ECHO_N "(cached) $ECHO_C" >&6
20707 ac_cpp='$CXXCPP $CPPFLAGS'
20708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20712 cat >conftest.$ac_ext <<_ACEOF
20713 #line $LINENO "configure"
20716 cat confdefs.h >>conftest.$ac_ext
20717 cat >>conftest.$ac_ext <<_ACEOF
20718 /* end confdefs.h. */
20719 namespace Outer { namespace Inner { int i = 0; }}
20723 using namespace Outer::Inner; return i;
20728 rm -f conftest.$ac_objext
20729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20730 (eval $ac_compile) 2>&5
20732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20733 (exit $ac_status); } &&
20734 { ac_try='test -s conftest.$ac_objext'
20735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20736 (eval $ac_try) 2>&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); }; }; then
20740 ac_cv_cxx_namespaces=yes
20742 echo "$as_me: failed program was:" >&5
20743 sed 's/^/| /' conftest.$ac_ext >&5
20745 ac_cv_cxx_namespaces=no
20747 rm -f conftest.$ac_objext conftest.$ac_ext
20749 ac_cpp='$CPP $CPPFLAGS'
20750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20756 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20757 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20758 if test "$ac_cv_cxx_namespaces" = yes; then
20760 cat >>confdefs.h <<\_ACEOF
20761 #define HAVE_NAMESPACES
20766 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20767 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20768 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20769 echo $ECHO_N "(cached) $ECHO_C" >&6
20775 ac_cpp='$CXXCPP $CPPFLAGS'
20776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20780 cat >conftest.$ac_ext <<_ACEOF
20781 #line $LINENO "configure"
20784 cat confdefs.h >>conftest.$ac_ext
20785 cat >>conftest.$ac_ext <<_ACEOF
20786 /* end confdefs.h. */
20787 #include <ext/hash_map>
20788 #ifdef HAVE_NAMESPACES
20789 using namespace std;
20794 hash_map<int, int> t; return 0;
20799 rm -f conftest.$ac_objext
20800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20801 (eval $ac_compile) 2>&5
20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); } &&
20805 { ac_try='test -s conftest.$ac_objext'
20806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20807 (eval $ac_try) 2>&5
20809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20810 (exit $ac_status); }; }; then
20811 ac_cv_cxx_have_ext_hash_map=std
20813 echo "$as_me: failed program was:" >&5
20814 sed 's/^/| /' conftest.$ac_ext >&5
20816 ac_cv_cxx_have_ext_hash_map=no
20818 rm -f conftest.$ac_objext conftest.$ac_ext
20819 cat >conftest.$ac_ext <<_ACEOF
20820 #line $LINENO "configure"
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 #include <ext/hash_map>
20827 #ifdef HAVE_NAMESPACES
20828 using namespace __gnu_cxx;
20833 hash_map<int, int> t; return 0;
20838 rm -f conftest.$ac_objext
20839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20840 (eval $ac_compile) 2>&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); } &&
20844 { ac_try='test -s conftest.$ac_objext'
20845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20846 (eval $ac_try) 2>&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); }; }; then
20850 ac_cv_cxx_have_ext_hash_map=gnu
20852 echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.$ac_ext >&5
20855 ac_cv_cxx_have_ext_hash_map=no
20857 rm -f conftest.$ac_objext conftest.$ac_ext
20859 ac_cpp='$CPP $CPPFLAGS'
20860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20866 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20867 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20868 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20870 cat >>confdefs.h <<\_ACEOF
20871 #define HAVE_STD_EXT_HASH_MAP
20875 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20877 cat >>confdefs.h <<\_ACEOF
20878 #define HAVE_GNU_EXT_HASH_MAP
20883 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20884 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20885 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20886 echo $ECHO_N "(cached) $ECHO_C" >&6
20892 ac_cpp='$CXXCPP $CPPFLAGS'
20893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20897 cat >conftest.$ac_ext <<_ACEOF
20898 #line $LINENO "configure"
20901 cat confdefs.h >>conftest.$ac_ext
20902 cat >>conftest.$ac_ext <<_ACEOF
20903 /* end confdefs.h. */
20904 #include <ext/hash_set>
20905 #ifdef HAVE_NAMESPACES
20906 using namespace std;
20911 hash_set<int> t; return 0;
20916 rm -f conftest.$ac_objext
20917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20918 (eval $ac_compile) 2>&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); } &&
20922 { ac_try='test -s conftest.$ac_objext'
20923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20924 (eval $ac_try) 2>&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); }; }; then
20928 ac_cv_cxx_have_ext_hash_set=std
20930 echo "$as_me: failed program was:" >&5
20931 sed 's/^/| /' conftest.$ac_ext >&5
20933 ac_cv_cxx_have_ext_hash_set=no
20935 rm -f conftest.$ac_objext conftest.$ac_ext
20936 cat >conftest.$ac_ext <<_ACEOF
20937 #line $LINENO "configure"
20940 cat confdefs.h >>conftest.$ac_ext
20941 cat >>conftest.$ac_ext <<_ACEOF
20942 /* end confdefs.h. */
20943 #include <ext/hash_set>
20944 #ifdef HAVE_NAMESPACES
20945 using namespace __gnu_cxx;
20950 hash_set<int> t; return 0;
20955 rm -f conftest.$ac_objext
20956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20957 (eval $ac_compile) 2>&5
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); } &&
20961 { ac_try='test -s conftest.$ac_objext'
20962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963 (eval $ac_try) 2>&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; }; then
20967 ac_cv_cxx_have_ext_hash_set=gnu
20969 echo "$as_me: failed program was:" >&5
20970 sed 's/^/| /' conftest.$ac_ext >&5
20972 ac_cv_cxx_have_ext_hash_set=no
20974 rm -f conftest.$ac_objext conftest.$ac_ext
20976 ac_cpp='$CPP $CPPFLAGS'
20977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20983 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
20984 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
20985 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
20987 cat >>confdefs.h <<\_ACEOF
20988 #define HAVE_STD_EXT_HASH_SET
20992 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
20994 cat >>confdefs.h <<\_ACEOF
20995 #define HAVE_GNU_EXT_HASH_SET
21000 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
21001 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
21002 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
21003 echo $ECHO_N "(cached) $ECHO_C" >&6
21009 ac_cpp='$CXXCPP $CPPFLAGS'
21010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21014 cat >conftest.$ac_ext <<_ACEOF
21015 #line $LINENO "configure"
21018 cat confdefs.h >>conftest.$ac_ext
21019 cat >>conftest.$ac_ext <<_ACEOF
21020 /* end confdefs.h. */
21021 #include <ext/slist>
21022 #ifdef HAVE_NAMESPACES
21023 using namespace std;
21028 slist<int> s; return 0;
21033 rm -f conftest.$ac_objext
21034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21035 (eval $ac_compile) 2>&5
21037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038 (exit $ac_status); } &&
21039 { ac_try='test -s conftest.$ac_objext'
21040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21041 (eval $ac_try) 2>&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); }; }; then
21045 ac_cv_cxx_have_ext_slist=std
21047 echo "$as_me: failed program was:" >&5
21048 sed 's/^/| /' conftest.$ac_ext >&5
21050 ac_cv_cxx_have_ext_slist=no
21052 rm -f conftest.$ac_objext conftest.$ac_ext
21053 cat >conftest.$ac_ext <<_ACEOF
21054 #line $LINENO "configure"
21057 cat confdefs.h >>conftest.$ac_ext
21058 cat >>conftest.$ac_ext <<_ACEOF
21059 /* end confdefs.h. */
21060 #include <ext/slist>
21061 #ifdef HAVE_NAMESPACES
21062 using namespace __gnu_cxx;
21067 slist<int> s; return 0;
21072 rm -f conftest.$ac_objext
21073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21074 (eval $ac_compile) 2>&5
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); } &&
21078 { ac_try='test -s conftest.$ac_objext'
21079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21080 (eval $ac_try) 2>&5
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); }; }; then
21084 ac_cv_cxx_have_ext_slist=gnu
21086 echo "$as_me: failed program was:" >&5
21087 sed 's/^/| /' conftest.$ac_ext >&5
21089 ac_cv_cxx_have_ext_slist=no
21091 rm -f conftest.$ac_objext conftest.$ac_ext
21094 ac_cpp='$CPP $CPPFLAGS'
21095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21101 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21102 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21103 if test "$ac_cv_cxx_have_ext_slist" = std; then
21105 cat >>confdefs.h <<\_ACEOF
21106 #define HAVE_EXT_SLIST std
21110 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21112 cat >>confdefs.h <<\_ACEOF
21113 #define HAVE_EXT_SLIST gnu
21118 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21119 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21120 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21121 echo $ECHO_N "(cached) $ECHO_C" >&6
21127 ac_cpp='$CXXCPP $CPPFLAGS'
21128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21132 cat >conftest.$ac_ext <<_ACEOF
21133 #line $LINENO "configure"
21136 cat confdefs.h >>conftest.$ac_ext
21137 cat >>conftest.$ac_ext <<_ACEOF
21138 /* end confdefs.h. */
21139 #include <iterator>
21140 #ifdef HAVE_NAMESPACES
21141 using namespace std;
21146 iterator<int,int,int> t; return 0;
21151 rm -f conftest.$ac_objext
21152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21153 (eval $ac_compile) 2>&5
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); } &&
21157 { ac_try='test -s conftest.$ac_objext'
21158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21159 (eval $ac_try) 2>&5
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); }; }; then
21163 ac_cv_cxx_have_std_iterator=yes
21165 echo "$as_me: failed program was:" >&5
21166 sed 's/^/| /' conftest.$ac_ext >&5
21168 ac_cv_cxx_have_std_iterator=no
21170 rm -f conftest.$ac_objext conftest.$ac_ext
21172 ac_cpp='$CPP $CPPFLAGS'
21173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21179 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21180 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21181 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21183 cat >>confdefs.h <<\_ACEOF
21184 #define HAVE_STD_ITERATOR
21189 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21190 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21191 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21192 echo $ECHO_N "(cached) $ECHO_C" >&6
21198 ac_cpp='$CXXCPP $CPPFLAGS'
21199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21203 cat >conftest.$ac_ext <<_ACEOF
21204 #line $LINENO "configure"
21207 cat confdefs.h >>conftest.$ac_ext
21208 cat >>conftest.$ac_ext <<_ACEOF
21209 /* end confdefs.h. */
21210 #include <iterator>
21211 #ifdef HAVE_NAMESPACES
21212 using namespace std;
21217 bidirectional_iterator<int,int> t; return 0;
21222 rm -f conftest.$ac_objext
21223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21224 (eval $ac_compile) 2>&5
21226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21227 (exit $ac_status); } &&
21228 { ac_try='test -s conftest.$ac_objext'
21229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21230 (eval $ac_try) 2>&5
21232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 (exit $ac_status); }; }; then
21234 ac_cv_cxx_have_bi_iterator=yes
21236 echo "$as_me: failed program was:" >&5
21237 sed 's/^/| /' conftest.$ac_ext >&5
21239 ac_cv_cxx_have_bi_iterator=no
21241 rm -f conftest.$ac_objext conftest.$ac_ext
21243 ac_cpp='$CPP $CPPFLAGS'
21244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21250 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21251 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21252 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21254 cat >>confdefs.h <<\_ACEOF
21255 #define HAVE_BI_ITERATOR
21260 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21261 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21262 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21263 echo $ECHO_N "(cached) $ECHO_C" >&6
21269 ac_cpp='$CXXCPP $CPPFLAGS'
21270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21274 cat >conftest.$ac_ext <<_ACEOF
21275 #line $LINENO "configure"
21278 cat confdefs.h >>conftest.$ac_ext
21279 cat >>conftest.$ac_ext <<_ACEOF
21280 /* end confdefs.h. */
21281 #include <iterator>
21282 #ifdef HAVE_NAMESPACES
21283 using namespace std;
21288 forward_iterator<int,int> t; return 0;
21293 rm -f conftest.$ac_objext
21294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21295 (eval $ac_compile) 2>&5
21297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21298 (exit $ac_status); } &&
21299 { ac_try='test -s conftest.$ac_objext'
21300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21301 (eval $ac_try) 2>&5
21303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21304 (exit $ac_status); }; }; then
21305 ac_cv_cxx_have_fwd_iterator=yes
21307 echo "$as_me: failed program was:" >&5
21308 sed 's/^/| /' conftest.$ac_ext >&5
21310 ac_cv_cxx_have_fwd_iterator=no
21312 rm -f conftest.$ac_objext conftest.$ac_ext
21314 ac_cpp='$CPP $CPPFLAGS'
21315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21321 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21322 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21323 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21325 cat >>confdefs.h <<\_ACEOF
21326 #define HAVE_FWD_ITERATOR
21332 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21333 # for constant arguments. Useless!
21334 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21335 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21336 if test "${ac_cv_working_alloca_h+set}" = set; then
21337 echo $ECHO_N "(cached) $ECHO_C" >&6
21339 cat >conftest.$ac_ext <<_ACEOF
21340 #line $LINENO "configure"
21343 cat confdefs.h >>conftest.$ac_ext
21344 cat >>conftest.$ac_ext <<_ACEOF
21345 /* end confdefs.h. */
21346 #include <alloca.h>
21350 char *p = (char *) alloca (2 * sizeof (int));
21355 rm -f conftest.$ac_objext conftest$ac_exeext
21356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21357 (eval $ac_link) 2>&5
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); } &&
21361 { ac_try='test -s conftest$ac_exeext'
21362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21363 (eval $ac_try) 2>&5
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); }; }; then
21367 ac_cv_working_alloca_h=yes
21369 echo "$as_me: failed program was:" >&5
21370 sed 's/^/| /' conftest.$ac_ext >&5
21372 ac_cv_working_alloca_h=no
21374 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21376 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21377 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21378 if test $ac_cv_working_alloca_h = yes; then
21380 cat >>confdefs.h <<\_ACEOF
21381 #define HAVE_ALLOCA_H 1
21386 echo "$as_me:$LINENO: checking for alloca" >&5
21387 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21388 if test "${ac_cv_func_alloca_works+set}" = set; then
21389 echo $ECHO_N "(cached) $ECHO_C" >&6
21391 cat >conftest.$ac_ext <<_ACEOF
21392 #line $LINENO "configure"
21395 cat confdefs.h >>conftest.$ac_ext
21396 cat >>conftest.$ac_ext <<_ACEOF
21397 /* end confdefs.h. */
21399 # define alloca __builtin_alloca
21402 # include <malloc.h>
21403 # define alloca _alloca
21406 # include <alloca.h>
21411 # ifndef alloca /* predefined by HP cc +Olibcalls */
21422 char *p = (char *) alloca (1);
21427 rm -f conftest.$ac_objext conftest$ac_exeext
21428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21429 (eval $ac_link) 2>&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); } &&
21433 { ac_try='test -s conftest$ac_exeext'
21434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21435 (eval $ac_try) 2>&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); }; }; then
21439 ac_cv_func_alloca_works=yes
21441 echo "$as_me: failed program was:" >&5
21442 sed 's/^/| /' conftest.$ac_ext >&5
21444 ac_cv_func_alloca_works=no
21446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21448 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21449 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21451 if test $ac_cv_func_alloca_works = yes; then
21453 cat >>confdefs.h <<\_ACEOF
21454 #define HAVE_ALLOCA 1
21458 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21459 # that cause trouble. Some versions do not even contain alloca or
21460 # contain a buggy version. If you still want to use their alloca,
21461 # use ar to extract alloca.o from them instead of compiling alloca.c.
21463 ALLOCA=alloca.$ac_objext
21465 cat >>confdefs.h <<\_ACEOF
21470 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21471 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21472 if test "${ac_cv_os_cray+set}" = set; then
21473 echo $ECHO_N "(cached) $ECHO_C" >&6
21475 cat >conftest.$ac_ext <<_ACEOF
21476 #line $LINENO "configure"
21479 cat confdefs.h >>conftest.$ac_ext
21480 cat >>conftest.$ac_ext <<_ACEOF
21481 /* end confdefs.h. */
21482 #if defined(CRAY) && ! defined(CRAY2)
21489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21490 $EGREP "webecray" >/dev/null 2>&1; then
21498 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21499 echo "${ECHO_T}$ac_cv_os_cray" >&6
21500 if test $ac_cv_os_cray = yes; then
21501 for ac_func in _getb67 GETB67 getb67; do
21502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21503 echo "$as_me:$LINENO: checking for $ac_func" >&5
21504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21505 if eval "test \"\${$as_ac_var+set}\" = set"; then
21506 echo $ECHO_N "(cached) $ECHO_C" >&6
21508 cat >conftest.$ac_ext <<_ACEOF
21509 #line $LINENO "configure"
21512 cat confdefs.h >>conftest.$ac_ext
21513 cat >>conftest.$ac_ext <<_ACEOF
21514 /* end confdefs.h. */
21515 /* System header to define __stub macros and hopefully few prototypes,
21516 which can conflict with char $ac_func (); below.
21517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21518 <limits.h> exists even on freestanding compilers. */
21520 # include <limits.h>
21522 # include <assert.h>
21524 /* Override any gcc2 internal prototype to avoid an error. */
21529 /* We use char because int might match the return type of a gcc2
21530 builtin and then its argument prototype would still apply. */
21532 /* The GNU C library defines this for functions which it implements
21533 to always fail with ENOSYS. Some functions are actually named
21534 something starting with __ and the normal name is an alias. */
21535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21538 char (*f) () = $ac_func;
21547 return f != $ac_func;
21552 rm -f conftest.$ac_objext conftest$ac_exeext
21553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21554 (eval $ac_link) 2>&5
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); } &&
21558 { ac_try='test -s conftest$ac_exeext'
21559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21560 (eval $ac_try) 2>&5
21562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563 (exit $ac_status); }; }; then
21564 eval "$as_ac_var=yes"
21566 echo "$as_me: failed program was:" >&5
21567 sed 's/^/| /' conftest.$ac_ext >&5
21569 eval "$as_ac_var=no"
21571 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21575 if test `eval echo '${'$as_ac_var'}'` = yes; then
21577 cat >>confdefs.h <<_ACEOF
21578 #define CRAY_STACKSEG_END $ac_func
21587 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21588 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21589 if test "${ac_cv_c_stack_direction+set}" = set; then
21590 echo $ECHO_N "(cached) $ECHO_C" >&6
21592 if test "$cross_compiling" = yes; then
21593 ac_cv_c_stack_direction=0
21595 cat >conftest.$ac_ext <<_ACEOF
21596 #line $LINENO "configure"
21599 cat confdefs.h >>conftest.$ac_ext
21600 cat >>conftest.$ac_ext <<_ACEOF
21601 /* end confdefs.h. */
21603 find_stack_direction ()
21605 static char *addr = 0;
21610 return find_stack_direction ();
21613 return (&dummy > addr) ? 1 : -1;
21619 exit (find_stack_direction () < 0);
21622 rm -f conftest$ac_exeext
21623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21624 (eval $ac_link) 2>&5
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21629 (eval $ac_try) 2>&5
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); }; }; then
21633 ac_cv_c_stack_direction=1
21635 echo "$as_me: program exited with status $ac_status" >&5
21636 echo "$as_me: failed program was:" >&5
21637 sed 's/^/| /' conftest.$ac_ext >&5
21639 ( exit $ac_status )
21640 ac_cv_c_stack_direction=-1
21642 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21645 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21646 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21648 cat >>confdefs.h <<_ACEOF
21649 #define STACK_DIRECTION $ac_cv_c_stack_direction
21655 if test $ac_cv_c_compiler_gnu = yes; then
21656 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21657 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21658 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21659 echo $ECHO_N "(cached) $ECHO_C" >&6
21661 ac_pattern="Autoconf.*'x'"
21662 cat >conftest.$ac_ext <<_ACEOF
21663 #line $LINENO "configure"
21666 cat confdefs.h >>conftest.$ac_ext
21667 cat >>conftest.$ac_ext <<_ACEOF
21668 /* end confdefs.h. */
21672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21673 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21674 ac_cv_prog_gcc_traditional=yes
21676 ac_cv_prog_gcc_traditional=no
21681 if test $ac_cv_prog_gcc_traditional = no; then
21682 cat >conftest.$ac_ext <<_ACEOF
21683 #line $LINENO "configure"
21686 cat confdefs.h >>conftest.$ac_ext
21687 cat >>conftest.$ac_ext <<_ACEOF
21688 /* end confdefs.h. */
21689 #include <termio.h>
21692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21693 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21694 ac_cv_prog_gcc_traditional=yes
21700 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21701 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21702 if test $ac_cv_prog_gcc_traditional = yes; then
21703 CC="$CC -traditional"
21707 echo "$as_me:$LINENO: checking for working memcmp" >&5
21708 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21709 if test "${ac_cv_func_memcmp_working+set}" = set; then
21710 echo $ECHO_N "(cached) $ECHO_C" >&6
21712 if test "$cross_compiling" = yes; then
21713 ac_cv_func_memcmp_working=no
21715 cat >conftest.$ac_ext <<_ACEOF
21716 #line $LINENO "configure"
21719 cat confdefs.h >>conftest.$ac_ext
21720 cat >>conftest.$ac_ext <<_ACEOF
21721 /* end confdefs.h. */
21727 /* Some versions of memcmp are not 8-bit clean. */
21728 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21729 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21732 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21733 or more and with at least one buffer not starting on a 4-byte boundary.
21734 William Lewis provided this test program. */
21739 for (i = 0; i < 4; i++)
21743 strcpy (a, "--------01111111");
21744 strcpy (b, "--------10000000");
21745 if (memcmp (a, b, 16) >= 0)
21755 rm -f conftest$ac_exeext
21756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21757 (eval $ac_link) 2>&5
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21762 (eval $ac_try) 2>&5
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); }; }; then
21766 ac_cv_func_memcmp_working=yes
21768 echo "$as_me: program exited with status $ac_status" >&5
21769 echo "$as_me: failed program was:" >&5
21770 sed 's/^/| /' conftest.$ac_ext >&5
21772 ( exit $ac_status )
21773 ac_cv_func_memcmp_working=no
21775 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21778 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21779 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21780 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21784 for ac_header in stdlib.h unistd.h
21786 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21788 echo "$as_me:$LINENO: checking for $ac_header" >&5
21789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21791 echo $ECHO_N "(cached) $ECHO_C" >&6
21793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21796 # Is the header compilable?
21797 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21798 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21799 cat >conftest.$ac_ext <<_ACEOF
21800 #line $LINENO "configure"
21803 cat confdefs.h >>conftest.$ac_ext
21804 cat >>conftest.$ac_ext <<_ACEOF
21805 /* end confdefs.h. */
21806 $ac_includes_default
21807 #include <$ac_header>
21809 rm -f conftest.$ac_objext
21810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21811 (eval $ac_compile) 2>&5
21813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21814 (exit $ac_status); } &&
21815 { ac_try='test -s conftest.$ac_objext'
21816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21817 (eval $ac_try) 2>&5
21819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21820 (exit $ac_status); }; }; then
21821 ac_header_compiler=yes
21823 echo "$as_me: failed program was:" >&5
21824 sed 's/^/| /' conftest.$ac_ext >&5
21826 ac_header_compiler=no
21828 rm -f conftest.$ac_objext conftest.$ac_ext
21829 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21830 echo "${ECHO_T}$ac_header_compiler" >&6
21832 # Is the header present?
21833 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21834 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21835 cat >conftest.$ac_ext <<_ACEOF
21836 #line $LINENO "configure"
21839 cat confdefs.h >>conftest.$ac_ext
21840 cat >>conftest.$ac_ext <<_ACEOF
21841 /* end confdefs.h. */
21842 #include <$ac_header>
21844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21845 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21847 grep -v '^ *+' conftest.er1 >conftest.err
21849 cat conftest.err >&5
21850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21851 (exit $ac_status); } >/dev/null; then
21852 if test -s conftest.err; then
21853 ac_cpp_err=$ac_c_preproc_warn_flag
21860 if test -z "$ac_cpp_err"; then
21861 ac_header_preproc=yes
21863 echo "$as_me: failed program was:" >&5
21864 sed 's/^/| /' conftest.$ac_ext >&5
21866 ac_header_preproc=no
21868 rm -f conftest.err conftest.$ac_ext
21869 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21870 echo "${ECHO_T}$ac_header_preproc" >&6
21872 # So? What about this header?
21873 case $ac_header_compiler:$ac_header_preproc in
21875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21878 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21881 ## ------------------------------------ ##
21882 ## Report this to bug-autoconf@gnu.org. ##
21883 ## ------------------------------------ ##
21886 sed "s/^/$as_me: WARNING: /" >&2
21889 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21890 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21891 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21892 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21897 ## ------------------------------------ ##
21898 ## Report this to bug-autoconf@gnu.org. ##
21899 ## ------------------------------------ ##
21902 sed "s/^/$as_me: WARNING: /" >&2
21905 echo "$as_me:$LINENO: checking for $ac_header" >&5
21906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21908 echo $ECHO_N "(cached) $ECHO_C" >&6
21910 eval "$as_ac_Header=$ac_header_preproc"
21912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21917 cat >>confdefs.h <<_ACEOF
21918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21926 for ac_func in getpagesize
21928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21929 echo "$as_me:$LINENO: checking for $ac_func" >&5
21930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21931 if eval "test \"\${$as_ac_var+set}\" = set"; then
21932 echo $ECHO_N "(cached) $ECHO_C" >&6
21934 cat >conftest.$ac_ext <<_ACEOF
21935 #line $LINENO "configure"
21938 cat confdefs.h >>conftest.$ac_ext
21939 cat >>conftest.$ac_ext <<_ACEOF
21940 /* end confdefs.h. */
21941 /* System header to define __stub macros and hopefully few prototypes,
21942 which can conflict with char $ac_func (); below.
21943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21944 <limits.h> exists even on freestanding compilers. */
21946 # include <limits.h>
21948 # include <assert.h>
21950 /* Override any gcc2 internal prototype to avoid an error. */
21955 /* We use char because int might match the return type of a gcc2
21956 builtin and then its argument prototype would still apply. */
21958 /* The GNU C library defines this for functions which it implements
21959 to always fail with ENOSYS. Some functions are actually named
21960 something starting with __ and the normal name is an alias. */
21961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21964 char (*f) () = $ac_func;
21973 return f != $ac_func;
21978 rm -f conftest.$ac_objext conftest$ac_exeext
21979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21980 (eval $ac_link) 2>&5
21982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983 (exit $ac_status); } &&
21984 { ac_try='test -s conftest$ac_exeext'
21985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21986 (eval $ac_try) 2>&5
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); }; }; then
21990 eval "$as_ac_var=yes"
21992 echo "$as_me: failed program was:" >&5
21993 sed 's/^/| /' conftest.$ac_ext >&5
21995 eval "$as_ac_var=no"
21997 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22001 if test `eval echo '${'$as_ac_var'}'` = yes; then
22002 cat >>confdefs.h <<_ACEOF
22003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22009 echo "$as_me:$LINENO: checking for working mmap" >&5
22010 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22011 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22012 echo $ECHO_N "(cached) $ECHO_C" >&6
22014 if test "$cross_compiling" = yes; then
22015 ac_cv_func_mmap_fixed_mapped=no
22017 cat >conftest.$ac_ext <<_ACEOF
22018 #line $LINENO "configure"
22021 cat confdefs.h >>conftest.$ac_ext
22022 cat >>conftest.$ac_ext <<_ACEOF
22023 /* end confdefs.h. */
22024 $ac_includes_default
22025 /* malloc might have been renamed as rpl_malloc. */
22028 /* Thanks to Mike Haertel and Jim Avera for this test.
22029 Here is a matrix of mmap possibilities:
22030 mmap private not fixed
22031 mmap private fixed at somewhere currently unmapped
22032 mmap private fixed at somewhere already mapped
22033 mmap shared not fixed
22034 mmap shared fixed at somewhere currently unmapped
22035 mmap shared fixed at somewhere already mapped
22036 For private mappings, we should verify that changes cannot be read()
22037 back from the file, nor mmap's back from the file at a different
22038 address. (There have been systems where private was not correctly
22039 implemented like the infamous i386 svr4.0, and systems where the
22040 VM page cache was not coherent with the file system buffer cache
22041 like early versions of FreeBSD and possibly contemporary NetBSD.)
22042 For shared mappings, we should conversely verify that changes get
22043 propagated back to all the places they're supposed to be.
22045 Grep wants private fixed already mapped.
22046 The main things grep needs to know about mmap are:
22047 * does it exist and is it safe to write into the mmap'd area
22048 * how to use it (BSD variants) */
22051 #include <sys/mman.h>
22053 #if !STDC_HEADERS && !HAVE_STDLIB_H
22057 /* This mess was copied from the GNU getpagesize.h. */
22058 #if !HAVE_GETPAGESIZE
22059 /* Assume that all systems that can run configure have sys/param.h. */
22060 # if !HAVE_SYS_PARAM_H
22061 # define HAVE_SYS_PARAM_H 1
22064 # ifdef _SC_PAGESIZE
22065 # define getpagesize() sysconf(_SC_PAGESIZE)
22066 # else /* no _SC_PAGESIZE */
22067 # if HAVE_SYS_PARAM_H
22068 # include <sys/param.h>
22069 # ifdef EXEC_PAGESIZE
22070 # define getpagesize() EXEC_PAGESIZE
22071 # else /* no EXEC_PAGESIZE */
22073 # define getpagesize() NBPG * CLSIZE
22076 # endif /* no CLSIZE */
22077 # else /* no NBPG */
22079 # define getpagesize() NBPC
22080 # else /* no NBPC */
22082 # define getpagesize() PAGESIZE
22083 # endif /* PAGESIZE */
22084 # endif /* no NBPC */
22085 # endif /* no NBPG */
22086 # endif /* no EXEC_PAGESIZE */
22087 # else /* no HAVE_SYS_PARAM_H */
22088 # define getpagesize() 8192 /* punt totally */
22089 # endif /* no HAVE_SYS_PARAM_H */
22090 # endif /* no _SC_PAGESIZE */
22092 #endif /* no HAVE_GETPAGESIZE */
22097 char *data, *data2, *data3;
22101 pagesize = getpagesize ();
22103 /* First, make a file with some known garbage in it. */
22104 data = (char *) malloc (pagesize);
22107 for (i = 0; i < pagesize; ++i)
22108 *(data + i) = rand ();
22110 fd = creat ("conftest.mmap", 0600);
22113 if (write (fd, data, pagesize) != pagesize)
22117 /* Next, try to mmap the file at a fixed address which already has
22118 something else allocated at it. If we can, also make sure that
22119 we see the same garbage. */
22120 fd = open ("conftest.mmap", O_RDWR);
22123 data2 = (char *) malloc (2 * pagesize);
22126 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22127 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22128 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22130 for (i = 0; i < pagesize; ++i)
22131 if (*(data + i) != *(data2 + i))
22134 /* Finally, make sure that changes to the mapped area do not
22135 percolate back to the file as seen by read(). (This is a bug on
22136 some variants of i386 svr4.0.) */
22137 for (i = 0; i < pagesize; ++i)
22138 *(data2 + i) = *(data2 + i) + 1;
22139 data3 = (char *) malloc (pagesize);
22142 if (read (fd, data3, pagesize) != pagesize)
22144 for (i = 0; i < pagesize; ++i)
22145 if (*(data + i) != *(data3 + i))
22151 rm -f conftest$ac_exeext
22152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22153 (eval $ac_link) 2>&5
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22158 (eval $ac_try) 2>&5
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); }; }; then
22162 ac_cv_func_mmap_fixed_mapped=yes
22164 echo "$as_me: program exited with status $ac_status" >&5
22165 echo "$as_me: failed program was:" >&5
22166 sed 's/^/| /' conftest.$ac_ext >&5
22168 ( exit $ac_status )
22169 ac_cv_func_mmap_fixed_mapped=no
22171 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22174 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22175 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22176 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22178 cat >>confdefs.h <<\_ACEOF
22179 #define HAVE_MMAP 1
22183 rm -f conftest.mmap
22185 echo "$as_me:$LINENO: checking for mmap of files" >&5
22186 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22187 if test "${ac_cv_func_mmap_file+set}" = set; then
22188 echo $ECHO_N "(cached) $ECHO_C" >&6
22193 ac_cpp='$CPP $CPPFLAGS'
22194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22198 if test "$cross_compiling" = yes; then
22199 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22200 See \`config.log' for more details." >&5
22201 echo "$as_me: error: cannot run test program while cross compiling
22202 See \`config.log' for more details." >&2;}
22203 { (exit 1); exit 1; }; }
22205 cat >conftest.$ac_ext <<_ACEOF
22206 #line $LINENO "configure"
22209 cat confdefs.h >>conftest.$ac_ext
22210 cat >>conftest.$ac_ext <<_ACEOF
22211 /* end confdefs.h. */
22213 #ifdef HAVE_SYS_TYPES_H
22214 #include <sys/types.h>
22217 #ifdef HAVE_SYS_MMAN_H
22218 #include <sys/mman.h>
22221 #ifdef HAVE_FCNTL_H
22227 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != (int) MAP_FAILED);}
22229 rm -f conftest$ac_exeext
22230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22231 (eval $ac_link) 2>&5
22233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22234 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22236 (eval $ac_try) 2>&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); }; }; then
22240 ac_cv_func_mmap_file=yes
22242 echo "$as_me: program exited with status $ac_status" >&5
22243 echo "$as_me: failed program was:" >&5
22244 sed 's/^/| /' conftest.$ac_ext >&5
22246 ( exit $ac_status )
22247 ac_cv_func_mmap_file=no
22249 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22252 ac_cpp='$CPP $CPPFLAGS'
22253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22259 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22260 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22261 if test "$ac_cv_func_mmap_file" = yes; then
22263 cat >>confdefs.h <<\_ACEOF
22264 #define HAVE_MMAP_FILE
22271 if test ${ac_cv_func_mmap_file} = "no"
22273 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22274 echo "$as_me: error: mmap() of files required but not found" >&2;}
22275 { (exit 1); exit 1; }; }
22277 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22278 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22279 if test "${ac_cv_header_mmap_anon+set}" = set; then
22280 echo $ECHO_N "(cached) $ECHO_C" >&6
22285 ac_cpp='$CPP $CPPFLAGS'
22286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22290 cat >conftest.$ac_ext <<_ACEOF
22291 #line $LINENO "configure"
22294 cat confdefs.h >>conftest.$ac_ext
22295 cat >>conftest.$ac_ext <<_ACEOF
22296 /* end confdefs.h. */
22297 #include <sys/mman.h>
22298 #include <unistd.h>
22303 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22308 rm -f conftest.$ac_objext
22309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22310 (eval $ac_compile) 2>&5
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); } &&
22314 { ac_try='test -s conftest.$ac_objext'
22315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22316 (eval $ac_try) 2>&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); }; }; then
22320 ac_cv_header_mmap_anon=yes
22322 echo "$as_me: failed program was:" >&5
22323 sed 's/^/| /' conftest.$ac_ext >&5
22325 ac_cv_header_mmap_anon=no
22327 rm -f conftest.$ac_objext conftest.$ac_ext
22329 ac_cpp='$CPP $CPPFLAGS'
22330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22336 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22337 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22338 if test "$ac_cv_header_mmap_anon" = yes; then
22340 cat >>confdefs.h <<\_ACEOF
22341 #define HAVE_MMAP_ANONYMOUS
22346 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22347 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22348 if test "${ac_cv_type_signal+set}" = set; then
22349 echo $ECHO_N "(cached) $ECHO_C" >&6
22351 cat >conftest.$ac_ext <<_ACEOF
22352 #line $LINENO "configure"
22355 cat confdefs.h >>conftest.$ac_ext
22356 cat >>conftest.$ac_ext <<_ACEOF
22357 /* end confdefs.h. */
22358 #include <sys/types.h>
22359 #include <signal.h>
22364 extern "C" void (*signal (int, void (*)(int)))(int);
22366 void (*signal ()) ();
22377 rm -f conftest.$ac_objext
22378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22379 (eval $ac_compile) 2>&5
22381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22382 (exit $ac_status); } &&
22383 { ac_try='test -s conftest.$ac_objext'
22384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22385 (eval $ac_try) 2>&5
22387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22388 (exit $ac_status); }; }; then
22389 ac_cv_type_signal=void
22391 echo "$as_me: failed program was:" >&5
22392 sed 's/^/| /' conftest.$ac_ext >&5
22394 ac_cv_type_signal=int
22396 rm -f conftest.$ac_objext conftest.$ac_ext
22398 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22399 echo "${ECHO_T}$ac_cv_type_signal" >&6
22401 cat >>confdefs.h <<_ACEOF
22402 #define RETSIGTYPE $ac_cv_type_signal
22418 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol strtoq strtoll strsignal
22420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22421 echo "$as_me:$LINENO: checking for $ac_func" >&5
22422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22423 if eval "test \"\${$as_ac_var+set}\" = set"; then
22424 echo $ECHO_N "(cached) $ECHO_C" >&6
22426 cat >conftest.$ac_ext <<_ACEOF
22427 #line $LINENO "configure"
22430 cat confdefs.h >>conftest.$ac_ext
22431 cat >>conftest.$ac_ext <<_ACEOF
22432 /* end confdefs.h. */
22433 /* System header to define __stub macros and hopefully few prototypes,
22434 which can conflict with char $ac_func (); below.
22435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22436 <limits.h> exists even on freestanding compilers. */
22438 # include <limits.h>
22440 # include <assert.h>
22442 /* Override any gcc2 internal prototype to avoid an error. */
22447 /* We use char because int might match the return type of a gcc2
22448 builtin and then its argument prototype would still apply. */
22450 /* The GNU C library defines this for functions which it implements
22451 to always fail with ENOSYS. Some functions are actually named
22452 something starting with __ and the normal name is an alias. */
22453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22456 char (*f) () = $ac_func;
22465 return f != $ac_func;
22470 rm -f conftest.$ac_objext conftest$ac_exeext
22471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22472 (eval $ac_link) 2>&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); } &&
22476 { ac_try='test -s conftest$ac_exeext'
22477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22478 (eval $ac_try) 2>&5
22480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481 (exit $ac_status); }; }; then
22482 eval "$as_ac_var=yes"
22484 echo "$as_me: failed program was:" >&5
22485 sed 's/^/| /' conftest.$ac_ext >&5
22487 eval "$as_ac_var=no"
22489 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22493 if test `eval echo '${'$as_ac_var'}'` = yes; then
22494 cat >>confdefs.h <<_ACEOF
22495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22501 echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
22502 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6
22503 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
22504 echo $ECHO_N "(cached) $ECHO_C" >&6
22506 cat >conftest.$ac_ext <<_ACEOF
22507 #line $LINENO "configure"
22510 cat confdefs.h >>conftest.$ac_ext
22511 cat >>conftest.$ac_ext <<_ACEOF
22512 /* end confdefs.h. */
22515 #include <signal.h>
22521 #ifndef sys_siglist
22522 char *p = (char *) sys_siglist;
22529 rm -f conftest.$ac_objext
22530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22531 (eval $ac_compile) 2>&5
22533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22534 (exit $ac_status); } &&
22535 { ac_try='test -s conftest.$ac_objext'
22536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22537 (eval $ac_try) 2>&5
22539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 (exit $ac_status); }; }; then
22541 ac_cv_have_decl_sys_siglist=yes
22543 echo "$as_me: failed program was:" >&5
22544 sed 's/^/| /' conftest.$ac_ext >&5
22546 ac_cv_have_decl_sys_siglist=no
22548 rm -f conftest.$ac_objext conftest.$ac_ext
22550 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
22551 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6
22552 if test $ac_cv_have_decl_sys_siglist = yes; then
22554 cat >>confdefs.h <<_ACEOF
22555 #define HAVE_DECL_SYS_SIGLIST 1
22560 cat >>confdefs.h <<_ACEOF
22561 #define HAVE_DECL_SYS_SIGLIST 0
22570 echo "$as_me:$LINENO: checking for mmap" >&5
22571 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22572 if test "${ac_cv_func_mmap+set}" = set; then
22573 echo $ECHO_N "(cached) $ECHO_C" >&6
22575 cat >conftest.$ac_ext <<_ACEOF
22576 #line $LINENO "configure"
22579 cat confdefs.h >>conftest.$ac_ext
22580 cat >>conftest.$ac_ext <<_ACEOF
22581 /* end confdefs.h. */
22582 /* System header to define __stub macros and hopefully few prototypes,
22583 which can conflict with char mmap (); below.
22584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22585 <limits.h> exists even on freestanding compilers. */
22587 # include <limits.h>
22589 # include <assert.h>
22591 /* Override any gcc2 internal prototype to avoid an error. */
22596 /* We use char because int might match the return type of a gcc2
22597 builtin and then its argument prototype would still apply. */
22599 /* The GNU C library defines this for functions which it implements
22600 to always fail with ENOSYS. Some functions are actually named
22601 something starting with __ and the normal name is an alias. */
22602 #if defined (__stub_mmap) || defined (__stub___mmap)
22605 char (*f) () = mmap;
22619 rm -f conftest.$ac_objext conftest$ac_exeext
22620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22621 (eval $ac_link) 2>&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } &&
22625 { ac_try='test -s conftest$ac_exeext'
22626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22627 (eval $ac_try) 2>&5
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); }; }; then
22631 ac_cv_func_mmap=yes
22633 echo "$as_me: failed program was:" >&5
22634 sed 's/^/| /' conftest.$ac_ext >&5
22638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22640 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22641 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22642 if test $ac_cv_func_mmap = yes; then
22645 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22646 echo "$as_me: error: Function mmap() required but not found" >&2;}
22647 { (exit 1); exit 1; }; }
22650 echo "$as_me:$LINENO: checking for mprotect" >&5
22651 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22652 if test "${ac_cv_func_mprotect+set}" = set; then
22653 echo $ECHO_N "(cached) $ECHO_C" >&6
22655 cat >conftest.$ac_ext <<_ACEOF
22656 #line $LINENO "configure"
22659 cat confdefs.h >>conftest.$ac_ext
22660 cat >>conftest.$ac_ext <<_ACEOF
22661 /* end confdefs.h. */
22662 /* System header to define __stub macros and hopefully few prototypes,
22663 which can conflict with char mprotect (); below.
22664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22665 <limits.h> exists even on freestanding compilers. */
22667 # include <limits.h>
22669 # include <assert.h>
22671 /* Override any gcc2 internal prototype to avoid an error. */
22676 /* We use char because int might match the return type of a gcc2
22677 builtin and then its argument prototype would still apply. */
22679 /* The GNU C library defines this for functions which it implements
22680 to always fail with ENOSYS. Some functions are actually named
22681 something starting with __ and the normal name is an alias. */
22682 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22685 char (*f) () = mprotect;
22694 return f != mprotect;
22699 rm -f conftest.$ac_objext conftest$ac_exeext
22700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22701 (eval $ac_link) 2>&5
22703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22704 (exit $ac_status); } &&
22705 { ac_try='test -s conftest$ac_exeext'
22706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22707 (eval $ac_try) 2>&5
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); }; }; then
22711 ac_cv_func_mprotect=yes
22713 echo "$as_me: failed program was:" >&5
22714 sed 's/^/| /' conftest.$ac_ext >&5
22716 ac_cv_func_mprotect=no
22718 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22720 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22721 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22722 if test $ac_cv_func_mprotect = yes; then
22725 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22726 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22727 { (exit 1); exit 1; }; }
22732 # Check whether --enable-purify or --disable-purify was given.
22733 if test "${enable_purify+set}" = set; then
22734 enableval="$enable_purify"
22739 if test ${enableval} = "no"
22744 ENABLE_PURIFY=ENABLE_PURIFY=1
22748 # Check whether --enable-optimized or --disable-optimized was given.
22749 if test "${enable_optimized+set}" = set; then
22750 enableval="$enable_optimized"
22755 if test ${enableval} = "no"
22760 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22764 # Check whether --enable-spec2000 or --disable-spec2000 was given.
22765 if test "${enable_spec2000+set}" = set; then
22766 enableval="$enable_spec2000"
22771 if test ${enableval} = "no"
22773 if test -d /home/vadve/shared/benchmarks/speccpu2000/benchspec
22775 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22777 USE_SPEC=USE_SPEC=1
22785 if test ${enableval} = ""
22787 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22790 SPEC_ROOT=${enableval}
22793 USE_SPEC=USE_SPEC=1
22797 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22798 if test "${enable_precompiled_bytecode+set}" = set; then
22799 enableval="$enable_precompiled_bytecode"
22804 if test ${enableval} = "no"
22809 UPB=USE_PRECOMPILED_BYTECODE=1
22814 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22815 if test "${enable_llc_diffs+set}" = set; then
22816 enableval="$enable_llc_diffs"
22821 if test ${enableval} = "no"
22823 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22830 # Check whether --enable-jit or --disable-jit was given.
22831 if test "${enable_jit+set}" = set; then
22832 enableval="$enable_jit"
22838 if test ${enableval} = "no"
22845 JIT=TARGET_HAS_JIT=1
22849 JIT=TARGET_HAS_JIT=1
22861 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22862 if test "${with_llvmgccdir+set}" = set; then
22863 withval="$with_llvmgccdir"
22864 LLVMGCCDIR=$withval
22869 # Check whether --with-bcrepos or --without-bcrepos was given.
22870 if test "${with_bcrepos+set}" = set; then
22871 withval="$with_bcrepos"
22875 BCR=/home/vadve/lattner/LLVMPrograms
22880 # Check whether --with-papi or --without-papi was given.
22881 if test "${with_papi+set}" = set; then
22882 withval="$with_papi"
22886 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22891 # Check whether --with-purify or --without-purify was given.
22892 if test "${with_purify+set}" = set; then
22893 withval="$with_purify"
22899 ac_config_files="$ac_config_files Makefile.config"
22900 cat >confcache <<\_ACEOF
22901 # This file is a shell script that caches the results of configure
22902 # tests run on this system so they can be shared between configure
22903 # scripts and configure runs, see configure's option --config-cache.
22904 # It is not useful on other systems. If it contains results you don't
22905 # want to keep, you may remove or edit it.
22907 # config.status only pays attention to the cache file if you give it
22908 # the --recheck option to rerun configure.
22910 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22911 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22912 # following values.
22916 # The following way of writing the cache mishandles newlines in values,
22917 # but we know of no workaround that is simple, portable, and efficient.
22918 # So, don't put newlines in cache variables' values.
22919 # Ultrix sh set writes to stderr and can't be redirected directly,
22920 # and sets the high bit in the cache file unless we assign to the vars.
22923 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22925 # `set' does not quote correctly, so add quotes (double-quote
22926 # substitution turns \\\\ into \\, and sed turns \\ into \).
22929 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22932 # `set' quotes correctly as required by POSIX, so do not add quotes.
22934 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22941 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22943 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22945 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22946 if test -w $cache_file; then
22947 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22948 cat confcache >$cache_file
22950 echo "not updating unwritable cache $cache_file"
22955 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22956 # Let make expand exec_prefix.
22957 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22959 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22960 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22961 # trailing colons and then remove the whole line if VPATH becomes empty
22962 # (actually we leave an empty line to preserve line numbers).
22963 if test "x$srcdir" = x.; then
22964 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22965 s/:*\$(srcdir):*/:/;
22966 s/:*\${srcdir}:*/:/;
22968 s/^\([^=]*=[ ]*\):*/\1/;
22974 DEFS=-DHAVE_CONFIG_H
22978 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22979 # 1. Remove the extension, and $U if already installed.
22980 ac_i=`echo "$ac_i" |
22981 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22983 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22984 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22986 LIBOBJS=$ac_libobjs
22988 LTLIBOBJS=$ac_ltlibobjs
22992 : ${CONFIG_STATUS=./config.status}
22993 ac_clean_files_save=$ac_clean_files
22994 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22995 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22996 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22997 cat >$CONFIG_STATUS <<_ACEOF
22999 # Generated by $as_me.
23000 # Run this file to recreate the current configuration.
23001 # Compiler output produced by configure, useful for debugging
23002 # configure, is in config.log if it exists.
23005 ac_cs_recheck=false
23007 SHELL=\${CONFIG_SHELL-$SHELL}
23010 cat >>$CONFIG_STATUS <<\_ACEOF
23011 ## --------------------- ##
23012 ## M4sh Initialization. ##
23013 ## --------------------- ##
23015 # Be Bourne compatible
23016 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23019 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23020 # is contrary to our usage. Disable this feature.
23021 alias -g '${1+"$@"}'='"$@"'
23022 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23026 # Support unset when possible.
23027 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
23034 # Work around bugs in pre-3.0 UWIN ksh.
23035 $as_unset ENV MAIL MAILPATH
23042 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23043 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23044 LC_TELEPHONE LC_TIME
23046 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
23047 eval $as_var=C; export $as_var
23053 # Required to use basename.
23054 if expr a : '\(a\)' >/dev/null 2>&1; then
23060 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23061 as_basename=basename
23067 # Name of the executable.
23068 as_me=`$as_basename "$0" ||
23069 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23070 X"$0" : 'X\(//\)$' \| \
23071 X"$0" : 'X\(/\)$' \| \
23072 . : '\(.\)' 2>/dev/null ||
23074 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23075 /^X\/\(\/\/\)$/{ s//\1/; q; }
23076 /^X\/\(\/\).*/{ s//\1/; q; }
23080 # PATH needs CR, and LINENO needs CR and PATH.
23081 # Avoid depending upon Character Ranges.
23082 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23083 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23084 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23085 as_cr_digits='0123456789'
23086 as_cr_alnum=$as_cr_Letters$as_cr_digits
23088 # The user is always right.
23089 if test "${PATH_SEPARATOR+set}" != set; then
23090 echo "#! /bin/sh" >conf$$.sh
23091 echo "exit 0" >>conf$$.sh
23093 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23102 as_lineno_1=$LINENO
23103 as_lineno_2=$LINENO
23104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23105 test "x$as_lineno_1" != "x$as_lineno_2" &&
23106 test "x$as_lineno_3" = "x$as_lineno_2" || {
23107 # Find who we are. Look in the path if we contain no path at all
23110 *[\\/]* ) as_myself=$0 ;;
23111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23112 for as_dir in $PATH
23115 test -z "$as_dir" && as_dir=.
23116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23121 # We did not find ourselves, most probably we were run as `sh COMMAND'
23122 # in which case we are not to be found in the path.
23123 if test "x$as_myself" = x; then
23126 if test ! -f "$as_myself"; then
23127 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23128 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23129 { (exit 1); exit 1; }; }
23131 case $CONFIG_SHELL in
23133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23137 test -z "$as_dir" && as_dir=.
23138 for as_base in sh bash ksh sh5; do
23141 if ("$as_dir/$as_base" -c '
23142 as_lineno_1=$LINENO
23143 as_lineno_2=$LINENO
23144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23145 test "x$as_lineno_1" != "x$as_lineno_2" &&
23146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23149 CONFIG_SHELL=$as_dir/$as_base
23150 export CONFIG_SHELL
23151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23160 # uniformly replaced by the line number. The first 'sed' inserts a
23161 # line-number line before each line; the second 'sed' does the real
23162 # work. The second script uses 'N' to pair each line-number line
23163 # with the numbered line, and appends trailing '-' during
23164 # substitution so that $LINENO is not a special case at line end.
23165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23167 sed '=' <$as_myself |
23172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23175 s,^['$as_cr_digits']*\n,,
23176 ' >$as_me.lineno &&
23177 chmod +x $as_me.lineno ||
23178 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23179 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23180 { (exit 1); exit 1; }; }
23182 # Don't try to exec as it changes $[0], causing all sort of problems
23183 # (the dirname of $[0] is not the place where we might find the
23184 # original and so on. Autoconf is especially sensible to this).
23186 # Exit status is that of the last command.
23191 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23192 *c*,-n*) ECHO_N= ECHO_C='
23194 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23195 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23198 if expr a : '\(a\)' >/dev/null 2>&1; then
23204 rm -f conf$$ conf$$.exe conf$$.file
23206 if ln -s conf$$.file conf$$ 2>/dev/null; then
23207 # We could just check for DJGPP; but this test a) works b) is more generic
23208 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23209 if test -f conf$$.exe; then
23210 # Don't use ln at all; we don't have any links
23215 elif ln conf$$.file conf$$ 2>/dev/null; then
23220 rm -f conf$$ conf$$.exe conf$$.file
23222 if mkdir -p . 2>/dev/null; then
23228 as_executable_p="test -f"
23230 # Sed expression to map a string onto a valid CPP name.
23231 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23233 # Sed expression to map a string onto a valid variable name.
23234 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23238 # We need space, tab and new line, in precisely that order.
23248 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23249 # report actual input values of CONFIG_FILES etc. instead of their
23250 # values after options handling. Logging --version etc. is OK.
23254 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23255 ## Running $as_me. ##
23260 This file was extended by [LLVM] $as_me [1.0], which was
23261 generated by GNU Autoconf 2.57. Invocation command line was
23263 CONFIG_FILES = $CONFIG_FILES
23264 CONFIG_HEADERS = $CONFIG_HEADERS
23265 CONFIG_LINKS = $CONFIG_LINKS
23266 CONFIG_COMMANDS = $CONFIG_COMMANDS
23270 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23274 # Files that config.status was made for.
23275 if test -n "$ac_config_files"; then
23276 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23279 if test -n "$ac_config_headers"; then
23280 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23283 if test -n "$ac_config_links"; then
23284 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23287 if test -n "$ac_config_commands"; then
23288 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23291 cat >>$CONFIG_STATUS <<\_ACEOF
23294 \`$as_me' instantiates files from templates according to the
23295 current configuration.
23297 Usage: $0 [OPTIONS] [FILE]...
23299 -h, --help print this help, then exit
23300 -V, --version print version number, then exit
23301 -q, --quiet do not print progress messages
23302 -d, --debug don't remove temporary files
23303 --recheck update $as_me by reconfiguring in the same conditions
23304 --file=FILE[:TEMPLATE]
23305 instantiate the configuration file FILE
23306 --header=FILE[:TEMPLATE]
23307 instantiate the configuration header FILE
23309 Configuration files:
23312 Configuration headers:
23315 Configuration commands:
23318 Report bugs to <bug-autoconf@gnu.org>."
23321 cat >>$CONFIG_STATUS <<_ACEOF
23323 [LLVM] config.status [1.0]
23324 configured by $0, generated by GNU Autoconf 2.57,
23325 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23327 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23328 Free Software Foundation, Inc.
23329 This config.status script is free software; the Free Software Foundation
23330 gives unlimited permission to copy, distribute and modify it."
23335 cat >>$CONFIG_STATUS <<\_ACEOF
23336 # If no file are specified by the user, then we need to provide default
23337 # value. By we need to know if files were specified by the user.
23343 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23344 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23352 *) # This is not an option, so the user has probably given explicit
23355 ac_need_defaults=false;;
23359 # Handling of the options.
23361 cat >>$CONFIG_STATUS <<\_ACEOF
23362 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23364 --version | --vers* | -V )
23365 echo "$ac_cs_version"; exit 0 ;;
23367 # Conflict between --help and --header
23368 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23369 Try \`$0 --help' for more information." >&5
23370 echo "$as_me: error: ambiguous option: $1
23371 Try \`$0 --help' for more information." >&2;}
23372 { (exit 1); exit 1; }; };;
23373 --help | --hel | -h )
23374 echo "$ac_cs_usage"; exit 0 ;;
23375 --debug | --d* | -d )
23377 --file | --fil | --fi | --f )
23379 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23380 ac_need_defaults=false;;
23381 --header | --heade | --head | --hea )
23383 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23384 ac_need_defaults=false;;
23385 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23386 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23389 # This is an error.
23390 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23391 Try \`$0 --help' for more information." >&5
23392 echo "$as_me: error: unrecognized option: $1
23393 Try \`$0 --help' for more information." >&2;}
23394 { (exit 1); exit 1; }; } ;;
23396 *) ac_config_targets="$ac_config_targets $1" ;;
23402 ac_configure_extra_args=
23404 if $ac_cs_silent; then
23406 ac_configure_extra_args="$ac_configure_extra_args --silent"
23410 cat >>$CONFIG_STATUS <<_ACEOF
23411 if \$ac_cs_recheck; then
23412 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23413 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23418 cat >>$CONFIG_STATUS <<_ACEOF
23420 # INIT-COMMANDS section.
23423 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23453 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23454 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23455 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23456 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23457 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23458 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23459 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23460 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23461 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23462 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23463 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23464 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23465 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23466 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23467 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23468 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23469 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23470 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23471 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23472 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23473 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23474 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvm.py`
23475 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvmdb.py`
23476 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23477 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23478 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23479 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23480 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23481 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23482 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23483 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23484 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23485 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23486 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23487 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23488 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23489 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23490 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23491 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23492 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23493 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23494 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23495 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23496 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/177.mesa/Makefile`
23497 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23498 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23499 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23500 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23501 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23502 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23503 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23504 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23505 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23506 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23507 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23508 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23509 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23510 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23511 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23512 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23513 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23514 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23515 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23516 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23517 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23518 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23519 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23520 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23521 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23522 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23523 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23524 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23525 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23526 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23527 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23528 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23529 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23530 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23531 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23532 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23533 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23534 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23535 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23536 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23537 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23538 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23539 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23540 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23541 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23542 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23543 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23544 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23545 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23546 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23547 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23548 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23549 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23550 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23551 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23552 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23553 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23554 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23555 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23556 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23557 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23558 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23559 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23560 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23561 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23562 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile`
23563 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile`
23564 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile`
23565 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/EH/Makefile`
23566 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23567 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23568 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23569 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23570 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23571 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23572 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23573 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23574 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23575 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23576 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23577 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23578 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23579 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23580 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23581 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23582 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23583 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23584 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23585 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23586 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23587 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23588 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23589 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23590 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23591 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23592 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23593 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23594 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23595 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23601 cat >>$CONFIG_STATUS <<\_ACEOF
23602 for ac_config_target in $ac_config_targets
23604 case "$ac_config_target" in
23605 # Handling of arguments.
23606 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23607 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23608 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23609 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23610 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23611 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23612 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23613 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23614 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23615 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23616 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23617 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23618 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23619 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23620 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23621 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23622 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23623 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23624 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23625 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23626 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23627 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23628 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23629 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23630 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23631 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23632 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23633 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23634 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23635 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23636 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23637 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23638 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23639 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23640 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23641 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23642 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23643 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23644 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23645 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23646 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23647 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23648 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23649 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23650 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23651 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23652 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23653 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23654 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23655 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23656 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23657 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23658 "test/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvm.py" ;;
23659 "test/QMTest/llvmdb.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvmdb.py" ;;
23660 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23661 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23662 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23663 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23664 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23665 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23666 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23667 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23668 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23669 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23670 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23671 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23672 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23673 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23674 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23675 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23676 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23677 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23678 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23679 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23680 "test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ;;
23681 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23682 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23683 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23684 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23685 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23686 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23687 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23688 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23689 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23690 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23691 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23692 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23693 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23694 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23695 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23696 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23697 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23698 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23699 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23700 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23701 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23702 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23703 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23704 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23705 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23706 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23707 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23708 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23709 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23710 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23711 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23712 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23713 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23714 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23715 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23716 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23717 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23718 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23719 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23720 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23721 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23722 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23723 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23724 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23725 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23726 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23727 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23728 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23729 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23730 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23731 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23732 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23733 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23734 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23735 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23736 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23737 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23738 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23739 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23740 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23741 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23742 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23743 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23744 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23745 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23746 "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;;
23747 "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;;
23748 "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;;
23749 "test/Programs/SingleSource/Regression/C++/EH/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/EH/Makefile" ;;
23750 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23751 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23752 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23753 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23754 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23755 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23756 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23757 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23758 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23759 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23760 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23761 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23762 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
23763 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23764 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23765 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23766 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23767 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23768 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23769 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23770 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23771 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23772 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23773 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23774 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23775 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23776 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23777 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23778 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23779 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23780 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23781 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23782 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23783 { (exit 1); exit 1; }; };;
23787 # If the user did not use the arguments to specify the items to instantiate,
23788 # then the envvar interface is used. Set only those that are not.
23789 # We use the long form for the default assignment because of an extremely
23790 # bizarre bug on SunOS 4.1.3.
23791 if $ac_need_defaults; then
23792 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23793 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23794 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23797 # Have a temporary directory for convenience. Make it in the build tree
23798 # simply because there is no reason to put it here, and in addition,
23799 # creating and moving files from /tmp can sometimes cause problems.
23800 # Create a temporary directory, and hook for its removal unless debugging.
23803 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23804 trap '{ (exit 1); exit 1; }' 1 2 13 15
23807 # Create a (secure) tmp directory for tmp files.
23810 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23811 test -n "$tmp" && test -d "$tmp"
23814 tmp=./confstat$$-$RANDOM
23815 (umask 077 && mkdir $tmp)
23818 echo "$me: cannot create a temporary directory in ." >&2
23819 { (exit 1); exit 1; }
23824 cat >>$CONFIG_STATUS <<_ACEOF
23827 # CONFIG_FILES section.
23830 # No need to generate the scripts if there are no CONFIG_FILES.
23831 # This happens for instance when ./config.status config.h
23832 if test -n "\$CONFIG_FILES"; then
23833 # Protect against being on the right side of a sed subst in config.status.
23834 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23835 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23836 s,@SHELL@,$SHELL,;t t
23837 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23838 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23839 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23840 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23841 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23842 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23843 s,@exec_prefix@,$exec_prefix,;t t
23844 s,@prefix@,$prefix,;t t
23845 s,@program_transform_name@,$program_transform_name,;t t
23846 s,@bindir@,$bindir,;t t
23847 s,@sbindir@,$sbindir,;t t
23848 s,@libexecdir@,$libexecdir,;t t
23849 s,@datadir@,$datadir,;t t
23850 s,@sysconfdir@,$sysconfdir,;t t
23851 s,@sharedstatedir@,$sharedstatedir,;t t
23852 s,@localstatedir@,$localstatedir,;t t
23853 s,@libdir@,$libdir,;t t
23854 s,@includedir@,$includedir,;t t
23855 s,@oldincludedir@,$oldincludedir,;t t
23856 s,@infodir@,$infodir,;t t
23857 s,@mandir@,$mandir,;t t
23858 s,@build_alias@,$build_alias,;t t
23859 s,@host_alias@,$host_alias,;t t
23860 s,@target_alias@,$target_alias,;t t
23861 s,@DEFS@,$DEFS,;t t
23862 s,@ECHO_C@,$ECHO_C,;t t
23863 s,@ECHO_N@,$ECHO_N,;t t
23864 s,@ECHO_T@,$ECHO_T,;t t
23865 s,@LIBS@,$LIBS,;t t
23866 s,@subdirs@,$subdirs,;t t
23867 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23868 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23869 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23870 s,@build@,$build,;t t
23871 s,@build_cpu@,$build_cpu,;t t
23872 s,@build_vendor@,$build_vendor,;t t
23873 s,@build_os@,$build_os,;t t
23874 s,@host@,$host,;t t
23875 s,@host_cpu@,$host_cpu,;t t
23876 s,@host_vendor@,$host_vendor,;t t
23877 s,@host_os@,$host_os,;t t
23878 s,@target@,$target,;t t
23879 s,@target_cpu@,$target_cpu,;t t
23880 s,@target_vendor@,$target_vendor,;t t
23881 s,@target_os@,$target_os,;t t
23883 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23884 s,@ARCH@,$ARCH,;t t
23886 s,@CXXFLAGS@,$CXXFLAGS,;t t
23887 s,@LDFLAGS@,$LDFLAGS,;t t
23888 s,@CPPFLAGS@,$CPPFLAGS,;t t
23889 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23890 s,@EXEEXT@,$EXEEXT,;t t
23891 s,@OBJEXT@,$OBJEXT,;t t
23893 s,@CFLAGS@,$CFLAGS,;t t
23894 s,@ac_ct_CC@,$ac_ct_CC,;t t
23896 s,@ifGNUmake@,$ifGNUmake,;t t
23898 s,@LEXLIB@,$LEXLIB,;t t
23899 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23900 s,@YACC@,$YACC,;t t
23901 s,@EGREP@,$EGREP,;t t
23902 s,@LN_S@,$LN_S,;t t
23903 s,@ECHO@,$ECHO,;t t
23905 s,@ac_ct_AR@,$ac_ct_AR,;t t
23906 s,@RANLIB@,$RANLIB,;t t
23907 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23908 s,@STRIP@,$STRIP,;t t
23909 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23910 s,@CXXCPP@,$CXXCPP,;t t
23912 s,@FFLAGS@,$FFLAGS,;t t
23913 s,@ac_ct_F77@,$ac_ct_F77,;t t
23914 s,@LIBTOOL@,$LIBTOOL,;t t
23915 s,@RPWD@,$RPWD,;t t
23918 s,@MKDIR@,$MKDIR,;t t
23919 s,@DATE@,$DATE,;t t
23922 s,@ETAGS@,$ETAGS,;t t
23923 s,@PYTHON@,$PYTHON,;t t
23924 s,@QMTEST@,$QMTEST,;t t
23925 s,@ALLOCA@,$ALLOCA,;t t
23926 s,@LIBOBJS@,$LIBOBJS,;t t
23927 s,@MMAP_FILE@,$MMAP_FILE,;t t
23928 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23929 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23930 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23931 s,@USE_SPEC@,$USE_SPEC,;t t
23933 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23936 s,@PAPIDIR@,$PAPIDIR,;t t
23937 s,@PURIFY@,$PURIFY,;t t
23938 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23943 cat >>$CONFIG_STATUS <<\_ACEOF
23944 # Split the substitutions into bite-sized pieces for seds with
23945 # small command number limits, like on Digital OSF/1 and HP-UX.
23946 ac_max_sed_lines=48
23947 ac_sed_frag=1 # Number of current file.
23948 ac_beg=1 # First line for current file.
23949 ac_end=$ac_max_sed_lines # Line after last line for current file.
23952 while $ac_more_lines; do
23953 if test $ac_beg -gt 1; then
23954 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23956 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23958 if test ! -s $tmp/subs.frag; then
23959 ac_more_lines=false
23961 # The purpose of the label and of the branching condition is to
23962 # speed up the sed processing (if there are no `@' at all, there
23963 # is no need to browse any of the substitutions).
23964 # These are the two extra sed commands mentioned above.
23966 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23967 if test -z "$ac_sed_cmds"; then
23968 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23970 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23972 ac_sed_frag=`expr $ac_sed_frag + 1`
23974 ac_end=`expr $ac_end + $ac_max_sed_lines`
23977 if test -z "$ac_sed_cmds"; then
23980 fi # test -n "$CONFIG_FILES"
23983 cat >>$CONFIG_STATUS <<\_ACEOF
23984 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23985 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23987 - | *:- | *:-:* ) # input from stdin
23989 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23990 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23991 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23992 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23993 * ) ac_file_in=$ac_file.in ;;
23996 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23997 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23998 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23999 X"$ac_file" : 'X\(//\)[^/]' \| \
24000 X"$ac_file" : 'X\(//\)$' \| \
24001 X"$ac_file" : 'X\(/\)' \| \
24002 . : '\(.\)' 2>/dev/null ||
24004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24005 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24006 /^X\(\/\/\)$/{ s//\1/; q; }
24007 /^X\(\/\).*/{ s//\1/; q; }
24009 { if $as_mkdir_p; then
24014 while test ! -d "$as_dir"; do
24015 as_dirs="$as_dir $as_dirs"
24016 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24017 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24018 X"$as_dir" : 'X\(//\)[^/]' \| \
24019 X"$as_dir" : 'X\(//\)$' \| \
24020 X"$as_dir" : 'X\(/\)' \| \
24021 . : '\(.\)' 2>/dev/null ||
24023 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24024 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24025 /^X\(\/\/\)$/{ s//\1/; q; }
24026 /^X\(\/\).*/{ s//\1/; q; }
24029 test ! -n "$as_dirs" || mkdir $as_dirs
24030 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24031 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24032 { (exit 1); exit 1; }; }; }
24036 if test "$ac_dir" != .; then
24037 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24038 # A "../" for each directory in $ac_dir_suffix.
24039 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24041 ac_dir_suffix= ac_top_builddir=
24045 .) # No --srcdir option. We are building in place.
24047 if test -z "$ac_top_builddir"; then
24050 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24052 [\\/]* | ?:[\\/]* ) # Absolute path.
24053 ac_srcdir=$srcdir$ac_dir_suffix;
24054 ac_top_srcdir=$srcdir ;;
24055 *) # Relative path.
24056 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24057 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24059 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24061 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24062 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24063 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24064 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24068 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24069 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24072 if test x"$ac_file" != x-; then
24073 { echo "$as_me:$LINENO: creating $ac_file" >&5
24074 echo "$as_me: creating $ac_file" >&6;}
24077 # Let's still pretend it is `configure' which instantiates (i.e., don't
24078 # use $as_me), people would be surprised to read:
24079 # /* config.h. Generated by config.status. */
24080 if test x"$ac_file" = x-; then
24083 configure_input="$ac_file. "
24085 configure_input=$configure_input"Generated from `echo $ac_file_in |
24086 sed 's,.*/,,'` by configure."
24088 # First look for the input files in the build tree, otherwise in the
24090 ac_file_inputs=`IFS=:
24091 for f in $ac_file_in; do
24093 -) echo $tmp/stdin ;;
24095 # Absolute (can't be DOS-style, as IFS=:)
24096 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24097 echo "$as_me: error: cannot find input file: $f" >&2;}
24098 { (exit 1); exit 1; }; }
24101 if test -f "$f"; then
24104 elif test -f "$srcdir/$f"; then
24109 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24110 echo "$as_me: error: cannot find input file: $f" >&2;}
24111 { (exit 1); exit 1; }; }
24114 done` || { (exit 1); exit 1; }
24116 cat >>$CONFIG_STATUS <<_ACEOF
24120 cat >>$CONFIG_STATUS <<\_ACEOF
24122 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24123 s,@configure_input@,$configure_input,;t t
24124 s,@srcdir@,$ac_srcdir,;t t
24125 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24126 s,@top_srcdir@,$ac_top_srcdir,;t t
24127 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24128 s,@builddir@,$ac_builddir,;t t
24129 s,@abs_builddir@,$ac_abs_builddir,;t t
24130 s,@top_builddir@,$ac_top_builddir,;t t
24131 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24132 s,@INSTALL@,$ac_INSTALL,;t t
24133 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24135 if test x"$ac_file" != x-; then
24136 mv $tmp/out $ac_file
24144 cat >>$CONFIG_STATUS <<\_ACEOF
24147 # CONFIG_HEADER section.
24150 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24151 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24153 # ac_d sets the value in "#define NAME VALUE" lines.
24154 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24155 ac_dB='[ ].*$,\1#\2'
24158 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24159 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24160 ac_uB='$,\1#\2define\3'
24164 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24165 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24167 - | *:- | *:-:* ) # input from stdin
24169 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24170 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24171 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24172 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24173 * ) ac_file_in=$ac_file.in ;;
24176 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24177 echo "$as_me: creating $ac_file" >&6;}
24179 # First look for the input files in the build tree, otherwise in the
24181 ac_file_inputs=`IFS=:
24182 for f in $ac_file_in; do
24184 -) echo $tmp/stdin ;;
24186 # Absolute (can't be DOS-style, as IFS=:)
24187 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24188 echo "$as_me: error: cannot find input file: $f" >&2;}
24189 { (exit 1); exit 1; }; }
24192 if test -f "$f"; then
24195 elif test -f "$srcdir/$f"; then
24200 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24201 echo "$as_me: error: cannot find input file: $f" >&2;}
24202 { (exit 1); exit 1; }; }
24205 done` || { (exit 1); exit 1; }
24206 # Remove the trailing spaces.
24207 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24211 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24212 # `conftest.undefs', that substitutes the proper values into
24213 # config.h.in to produce config.h. The first handles `#define'
24214 # templates, and the second `#undef' templates.
24215 # And first: Protect against being on the right side of a sed subst in
24216 # config.status. Protect against being in an unquoted here document
24217 # in config.status.
24218 rm -f conftest.defines conftest.undefs
24219 # Using a here document instead of a string reduces the quoting nightmare.
24220 # Putting comments in sed scripts is not portable.
24222 # `end' is used to avoid that the second main sed command (meant for
24223 # 0-ary CPP macros) applies to n-ary macro definitions.
24224 # See the Autoconf documentation for `clear'.
24225 cat >confdef2sed.sed <<\_ACEOF
24230 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24232 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24235 # If some macros were called several times there might be several times
24236 # the same #defines, which is useless. Nevertheless, we may not want to
24237 # sort them, since we want the *last* AC-DEFINE to be honored.
24238 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24239 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24240 rm -f confdef2sed.sed
24242 # This sed command replaces #undef with comments. This is necessary, for
24243 # example, in the case of _POSIX_SOURCE, which is predefined and required
24244 # on some systems where configure will not decide to define it.
24245 cat >>conftest.undefs <<\_ACEOF
24246 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24249 # Break up conftest.defines because some shells have a limit on the size
24250 # of here documents, and old seds have small limits too (100 cmds).
24251 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24252 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24253 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24254 echo ' :' >>$CONFIG_STATUS
24255 rm -f conftest.tail
24256 while grep . conftest.defines >/dev/null
24258 # Write a limited-size here document to $tmp/defines.sed.
24259 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24260 # Speed up: don't consider the non `#define' lines.
24261 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24262 # Work around the forget-to-reset-the-flag bug.
24263 echo 't clr' >>$CONFIG_STATUS
24264 echo ': clr' >>$CONFIG_STATUS
24265 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24267 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24269 mv $tmp/out $tmp/in
24271 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24272 rm -f conftest.defines
24273 mv conftest.tail conftest.defines
24275 rm -f conftest.defines
24276 echo ' fi # grep' >>$CONFIG_STATUS
24277 echo >>$CONFIG_STATUS
24279 # Break up conftest.undefs because some shells have a limit on the size
24280 # of here documents, and old seds have small limits too (100 cmds).
24281 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24282 rm -f conftest.tail
24283 while grep . conftest.undefs >/dev/null
24285 # Write a limited-size here document to $tmp/undefs.sed.
24286 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24287 # Speed up: don't consider the non `#undef'
24288 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24289 # Work around the forget-to-reset-the-flag bug.
24290 echo 't clr' >>$CONFIG_STATUS
24291 echo ': clr' >>$CONFIG_STATUS
24292 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24294 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24296 mv $tmp/out $tmp/in
24298 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24299 rm -f conftest.undefs
24300 mv conftest.tail conftest.undefs
24302 rm -f conftest.undefs
24304 cat >>$CONFIG_STATUS <<\_ACEOF
24305 # Let's still pretend it is `configure' which instantiates (i.e., don't
24306 # use $as_me), people would be surprised to read:
24307 # /* config.h. Generated by config.status. */
24308 if test x"$ac_file" = x-; then
24309 echo "/* Generated by configure. */" >$tmp/config.h
24311 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24313 cat $tmp/in >>$tmp/config.h
24315 if test x"$ac_file" != x-; then
24316 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24317 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24318 echo "$as_me: $ac_file is unchanged" >&6;}
24320 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24321 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24322 X"$ac_file" : 'X\(//\)[^/]' \| \
24323 X"$ac_file" : 'X\(//\)$' \| \
24324 X"$ac_file" : 'X\(/\)' \| \
24325 . : '\(.\)' 2>/dev/null ||
24327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24328 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24329 /^X\(\/\/\)$/{ s//\1/; q; }
24330 /^X\(\/\).*/{ s//\1/; q; }
24332 { if $as_mkdir_p; then
24337 while test ! -d "$as_dir"; do
24338 as_dirs="$as_dir $as_dirs"
24339 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24341 X"$as_dir" : 'X\(//\)[^/]' \| \
24342 X"$as_dir" : 'X\(//\)$' \| \
24343 X"$as_dir" : 'X\(/\)' \| \
24344 . : '\(.\)' 2>/dev/null ||
24346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24347 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24348 /^X\(\/\/\)$/{ s//\1/; q; }
24349 /^X\(\/\).*/{ s//\1/; q; }
24352 test ! -n "$as_dirs" || mkdir $as_dirs
24353 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24354 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24355 { (exit 1); exit 1; }; }; }
24358 mv $tmp/config.h $ac_file
24362 rm -f $tmp/config.h
24366 cat >>$CONFIG_STATUS <<\_ACEOF
24369 # CONFIG_COMMANDS section.
24371 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24372 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24373 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24374 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24375 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24376 X"$ac_dest" : 'X\(//\)[^/]' \| \
24377 X"$ac_dest" : 'X\(//\)$' \| \
24378 X"$ac_dest" : 'X\(/\)' \| \
24379 . : '\(.\)' 2>/dev/null ||
24381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24382 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24383 /^X\(\/\/\)$/{ s//\1/; q; }
24384 /^X\(\/\).*/{ s//\1/; q; }
24388 if test "$ac_dir" != .; then
24389 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24390 # A "../" for each directory in $ac_dir_suffix.
24391 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24393 ac_dir_suffix= ac_top_builddir=
24397 .) # No --srcdir option. We are building in place.
24399 if test -z "$ac_top_builddir"; then
24402 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24404 [\\/]* | ?:[\\/]* ) # Absolute path.
24405 ac_srcdir=$srcdir$ac_dir_suffix;
24406 ac_top_srcdir=$srcdir ;;
24407 *) # Relative path.
24408 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24409 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24411 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24413 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24414 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24415 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24416 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24419 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24420 echo "$as_me: executing $ac_dest commands" >&6;}
24422 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24423 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24424 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24425 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24426 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24427 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24428 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24429 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24430 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24431 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24432 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24433 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24434 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24435 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24436 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24437 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24438 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24439 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24440 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24441 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24442 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24443 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24444 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24445 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24446 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24447 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24448 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24449 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24450 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24451 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24452 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24453 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24454 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24455 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24456 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24457 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24458 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24459 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24460 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24461 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24462 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24463 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24464 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24465 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24466 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24467 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24468 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24469 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24470 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24471 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24472 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24473 test/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvm.py test/QMTest/llvm.py ;;
24474 test/QMTest/llvmdb.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvmdb.py test/QMTest/llvmdb.py ;;
24475 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24476 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24477 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24478 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24479 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24480 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24481 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24482 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24483 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24484 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24485 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24486 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24487 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24488 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24489 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24490 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24491 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24492 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24493 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 ;;
24494 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 ;;
24495 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 ;;
24496 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 ;;
24497 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 ;;
24498 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 ;;
24499 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 ;;
24500 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 ;;
24501 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 ;;
24502 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 ;;
24503 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 ;;
24504 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 ;;
24505 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 ;;
24506 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 ;;
24507 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 ;;
24508 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 ;;
24509 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 ;;
24510 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24511 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24512 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24513 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24514 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 ;;
24515 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 ;;
24516 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 ;;
24517 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24518 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 ;;
24519 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 ;;
24520 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 ;;
24521 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 ;;
24522 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 ;;
24523 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 ;;
24524 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 ;;
24525 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 ;;
24526 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 ;;
24527 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 ;;
24528 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 ;;
24529 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 ;;
24530 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 ;;
24531 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 ;;
24532 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 ;;
24533 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 ;;
24534 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 ;;
24535 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 ;;
24536 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 ;;
24537 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 ;;
24538 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 ;;
24539 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 ;;
24540 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 ;;
24541 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 ;;
24542 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 ;;
24543 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 ;;
24544 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 ;;
24545 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 ;;
24546 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 ;;
24547 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 ;;
24548 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 ;;
24549 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 ;;
24550 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24551 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24552 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24553 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24554 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 ;;
24555 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 ;;
24556 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 ;;
24557 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 ;;
24558 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24559 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24560 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 ;;
24561 test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;;
24562 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 ;;
24563 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 ;;
24564 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 ;;
24565 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24566 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24567 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24568 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24569 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24570 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24571 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24572 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24573 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24574 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24575 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24576 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24577 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
24578 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24579 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24580 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24581 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24582 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24583 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24584 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24585 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24586 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24587 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24588 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24589 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24590 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24591 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24592 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24593 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24594 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24599 cat >>$CONFIG_STATUS <<\_ACEOF
24601 { (exit 0); exit 0; }
24603 chmod +x $CONFIG_STATUS
24604 ac_clean_files=$ac_clean_files_save
24607 # configure is writing to config.log, and then calls config.status.
24608 # config.status does its own redirection, appending to config.log.
24609 # Unfortunately, on DOS this fails, as config.log is still kept open
24610 # by configure, so config.status won't be able to write to it; its
24611 # output is simply discarded. So we exec the FD to /dev/null,
24612 # effectively closing config.log, so it can be properly (re)opened and
24613 # appended to by config.status. When coming back to configure, we
24614 # need to make the FD available again.
24615 if test "$no_create" != yes; then
24617 ac_config_status_args=
24618 test "$silent" = yes &&
24619 ac_config_status_args="$ac_config_status_args --quiet"
24621 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24623 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24624 # would make configure fail if this is the last instruction.
24625 $ac_cs_success || { (exit 1); exit 1; }
24629 # CONFIG_SUBDIRS section.
24631 if test "$no_recursion" != yes; then
24633 # Remove --cache-file and --srcdir arguments so they do not pile up.
24634 ac_sub_configure_args=
24636 for ac_arg in $ac_configure_args; do
24637 if test -n "$ac_prev"; then
24642 -cache-file | --cache-file | --cache-fil | --cache-fi \
24643 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
24644 ac_prev=cache_file ;;
24645 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
24646 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
24649 --config-cache | -C)
24651 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
24653 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
24655 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
24657 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
24659 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
24663 # Always prepend --prefix to ensure using the same prefix
24664 # in subdir configurations.
24665 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
24668 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
24670 # Do not complain, so a configure script can configure whichever
24671 # parts of a large source tree are present.
24672 test -d $srcdir/$ac_dir || continue
24674 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
24675 echo "$as_me: configuring in $ac_dir" >&6;}
24676 { if $as_mkdir_p; then
24681 while test ! -d "$as_dir"; do
24682 as_dirs="$as_dir $as_dirs"
24683 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24684 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24685 X"$as_dir" : 'X\(//\)[^/]' \| \
24686 X"$as_dir" : 'X\(//\)$' \| \
24687 X"$as_dir" : 'X\(/\)' \| \
24688 . : '\(.\)' 2>/dev/null ||
24690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24691 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24692 /^X\(\/\/\)$/{ s//\1/; q; }
24693 /^X\(\/\).*/{ s//\1/; q; }
24696 test ! -n "$as_dirs" || mkdir $as_dirs
24697 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24698 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24699 { (exit 1); exit 1; }; }; }
24703 if test "$ac_dir" != .; then
24704 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24705 # A "../" for each directory in $ac_dir_suffix.
24706 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24708 ac_dir_suffix= ac_top_builddir=
24712 .) # No --srcdir option. We are building in place.
24714 if test -z "$ac_top_builddir"; then
24717 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24719 [\\/]* | ?:[\\/]* ) # Absolute path.
24720 ac_srcdir=$srcdir$ac_dir_suffix;
24721 ac_top_srcdir=$srcdir ;;
24722 *) # Relative path.
24723 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24724 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24726 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24728 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24729 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24730 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24731 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24736 # Check for guested configure; otherwise get Cygnus style configure.
24737 if test -f $ac_srcdir/configure.gnu; then
24738 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
24739 elif test -f $ac_srcdir/configure; then
24740 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
24741 elif test -f $ac_srcdir/configure.in; then
24742 ac_sub_configure=$ac_configure
24744 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
24745 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
24749 # The recursion is here.
24750 if test -n "$ac_sub_configure"; then
24751 # Make the cache file name correct relative to the subdirectory.
24752 case $cache_file in
24753 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
24754 *) # Relative path.
24755 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
24758 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
24759 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
24760 # The eval makes quoting arguments work.
24761 eval $ac_sub_configure $ac_sub_configure_args \
24762 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
24763 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
24764 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
24765 { (exit 1); exit 1; }; }