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/sample"
430 ac_subdirs_all="$ac_subdirs_all projects/reopt"
431 ac_subdirs_all="$ac_subdirs_all projects/poolalloc"
432 # Factoring default headers for most tests.
433 ac_includes_default="\
436 # include <sys/types.h>
439 # include <sys/stat.h>
450 # if !STDC_HEADERS && HAVE_MEMORY_H
456 # include <strings.h>
459 # include <inttypes.h>
469 ac_unique_file=""Makefile.config.in""
470 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'
473 # Initialize some variables set by options.
475 ac_init_version=false
476 # The variables have the same names as the options, with
477 # dashes changed to underlines.
485 program_transform_name=s,x,x,
493 # Installation directory options.
494 # These are left unexpanded so users can "make install exec_prefix=/foo"
495 # and all the variables that are supposed to be based on exec_prefix
496 # by default will actually change.
497 # Use braces instead of parens because sh, perl, etc. also accept them.
498 bindir='${exec_prefix}/bin'
499 sbindir='${exec_prefix}/sbin'
500 libexecdir='${exec_prefix}/libexec'
501 datadir='${prefix}/share'
502 sysconfdir='${prefix}/etc'
503 sharedstatedir='${prefix}/com'
504 localstatedir='${prefix}/var'
505 libdir='${exec_prefix}/lib'
506 includedir='${prefix}/include'
507 oldincludedir='/usr/include'
508 infodir='${prefix}/info'
509 mandir='${prefix}/man'
514 # If the previous option needs an argument, assign it.
515 if test -n "$ac_prev"; then
516 eval "$ac_prev=\$ac_option"
521 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
523 # Accept the important Cygnus configure options, so we can diagnose typos.
527 -bindir | --bindir | --bindi | --bind | --bin | --bi)
529 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
532 -build | --build | --buil | --bui | --bu)
533 ac_prev=build_alias ;;
534 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
535 build_alias=$ac_optarg ;;
537 -cache-file | --cache-file | --cache-fil | --cache-fi \
538 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
539 ac_prev=cache_file ;;
540 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
541 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
542 cache_file=$ac_optarg ;;
545 cache_file=config.cache ;;
547 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
549 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
551 datadir=$ac_optarg ;;
553 -disable-* | --disable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 eval "enable_$ac_feature=no" ;;
562 -enable-* | --enable-*)
563 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
567 { (exit 1); exit 1; }; }
568 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
570 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
573 eval "enable_$ac_feature='$ac_optarg'" ;;
575 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
576 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
577 | --exec | --exe | --ex)
578 ac_prev=exec_prefix ;;
579 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
580 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
581 | --exec=* | --exe=* | --ex=*)
582 exec_prefix=$ac_optarg ;;
584 -gas | --gas | --ga | --g)
585 # Obsolete; use --with-gas.
588 -help | --help | --hel | --he | -h)
590 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
591 ac_init_help=recursive ;;
592 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
593 ac_init_help=short ;;
595 -host | --host | --hos | --ho)
596 ac_prev=host_alias ;;
597 -host=* | --host=* | --hos=* | --ho=*)
598 host_alias=$ac_optarg ;;
600 -includedir | --includedir | --includedi | --included | --include \
601 | --includ | --inclu | --incl | --inc)
602 ac_prev=includedir ;;
603 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
604 | --includ=* | --inclu=* | --incl=* | --inc=*)
605 includedir=$ac_optarg ;;
607 -infodir | --infodir | --infodi | --infod | --info | --inf)
609 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
610 infodir=$ac_optarg ;;
612 -libdir | --libdir | --libdi | --libd)
614 -libdir=* | --libdir=* | --libdi=* | --libd=*)
617 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
618 | --libexe | --libex | --libe)
619 ac_prev=libexecdir ;;
620 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
621 | --libexe=* | --libex=* | --libe=*)
622 libexecdir=$ac_optarg ;;
624 -localstatedir | --localstatedir | --localstatedi | --localstated \
625 | --localstate | --localstat | --localsta | --localst \
626 | --locals | --local | --loca | --loc | --lo)
627 ac_prev=localstatedir ;;
628 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
629 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
630 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
631 localstatedir=$ac_optarg ;;
633 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
635 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
639 # Obsolete; use --without-fp.
642 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
643 | --no-cr | --no-c | -n)
646 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
647 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
650 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
651 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
652 | --oldin | --oldi | --old | --ol | --o)
653 ac_prev=oldincludedir ;;
654 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
655 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
656 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
657 oldincludedir=$ac_optarg ;;
659 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
661 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
664 -program-prefix | --program-prefix | --program-prefi | --program-pref \
665 | --program-pre | --program-pr | --program-p)
666 ac_prev=program_prefix ;;
667 -program-prefix=* | --program-prefix=* | --program-prefi=* \
668 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
669 program_prefix=$ac_optarg ;;
671 -program-suffix | --program-suffix | --program-suffi | --program-suff \
672 | --program-suf | --program-su | --program-s)
673 ac_prev=program_suffix ;;
674 -program-suffix=* | --program-suffix=* | --program-suffi=* \
675 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
676 program_suffix=$ac_optarg ;;
678 -program-transform-name | --program-transform-name \
679 | --program-transform-nam | --program-transform-na \
680 | --program-transform-n | --program-transform- \
681 | --program-transform | --program-transfor \
682 | --program-transfo | --program-transf \
683 | --program-trans | --program-tran \
684 | --progr-tra | --program-tr | --program-t)
685 ac_prev=program_transform_name ;;
686 -program-transform-name=* | --program-transform-name=* \
687 | --program-transform-nam=* | --program-transform-na=* \
688 | --program-transform-n=* | --program-transform-=* \
689 | --program-transform=* | --program-transfor=* \
690 | --program-transfo=* | --program-transf=* \
691 | --program-trans=* | --program-tran=* \
692 | --progr-tra=* | --program-tr=* | --program-t=*)
693 program_transform_name=$ac_optarg ;;
695 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
696 | -silent | --silent | --silen | --sile | --sil)
699 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
701 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
703 sbindir=$ac_optarg ;;
705 -sharedstatedir | --sharedstatedir | --sharedstatedi \
706 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
707 | --sharedst | --shareds | --shared | --share | --shar \
709 ac_prev=sharedstatedir ;;
710 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
711 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
712 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
714 sharedstatedir=$ac_optarg ;;
716 -site | --site | --sit)
718 -site=* | --site=* | --sit=*)
721 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
723 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
726 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
727 | --syscon | --sysco | --sysc | --sys | --sy)
728 ac_prev=sysconfdir ;;
729 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
730 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
731 sysconfdir=$ac_optarg ;;
733 -target | --target | --targe | --targ | --tar | --ta | --t)
734 ac_prev=target_alias ;;
735 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
736 target_alias=$ac_optarg ;;
738 -v | -verbose | --verbose | --verbos | --verbo | --verb)
741 -version | --version | --versio | --versi | --vers | -V)
745 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
746 # Reject names that are not valid shell variable names.
747 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
748 { echo "$as_me: error: invalid package name: $ac_package" >&2
749 { (exit 1); exit 1; }; }
750 ac_package=`echo $ac_package| sed 's/-/_/g'`
752 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
755 eval "with_$ac_package='$ac_optarg'" ;;
757 -without-* | --without-*)
758 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
759 # Reject names that are not valid shell variable names.
760 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
761 { echo "$as_me: error: invalid package name: $ac_package" >&2
762 { (exit 1); exit 1; }; }
763 ac_package=`echo $ac_package | sed 's/-/_/g'`
764 eval "with_$ac_package=no" ;;
767 # Obsolete; use --with-x.
770 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
771 | --x-incl | --x-inc | --x-in | --x-i)
772 ac_prev=x_includes ;;
773 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
774 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
775 x_includes=$ac_optarg ;;
777 -x-libraries | --x-libraries | --x-librarie | --x-librari \
778 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
779 ac_prev=x_libraries ;;
780 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
781 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
782 x_libraries=$ac_optarg ;;
784 -*) { echo "$as_me: error: unrecognized option: $ac_option
785 Try \`$0 --help' for more information." >&2
786 { (exit 1); exit 1; }; }
790 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
791 # Reject names that are not valid shell variable names.
792 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
793 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
794 { (exit 1); exit 1; }; }
795 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
796 eval "$ac_envvar='$ac_optarg'"
800 # FIXME: should be removed in autoconf 3.0.
801 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
802 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
803 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
804 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
810 if test -n "$ac_prev"; then
811 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
812 { echo "$as_me: error: missing argument to $ac_option" >&2
813 { (exit 1); exit 1; }; }
816 # Be sure to have absolute paths.
817 for ac_var in exec_prefix prefix
819 eval ac_val=$`echo $ac_var`
821 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
822 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
823 { (exit 1); exit 1; }; };;
827 # Be sure to have absolute paths.
828 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
829 localstatedir libdir includedir oldincludedir infodir mandir
831 eval ac_val=$`echo $ac_var`
833 [\\/$]* | ?:[\\/]* ) ;;
834 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
835 { (exit 1); exit 1; }; };;
839 # There might be people who depend on the old broken behavior: `$host'
840 # used to hold the argument of --host etc.
841 # FIXME: To remove some day.
846 # FIXME: To remove some day.
847 if test "x$host_alias" != x; then
848 if test "x$build_alias" = x; then
849 cross_compiling=maybe
850 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
851 If a cross compiler is detected then cross compile mode will be used." >&2
852 elif test "x$build_alias" != "x$host_alias"; then
858 test -n "$host_alias" && ac_tool_prefix=$host_alias-
860 test "$silent" = yes && exec 6>/dev/null
863 # Find the source files, if location was not specified.
864 if test -z "$srcdir"; then
865 ac_srcdir_defaulted=yes
866 # Try the directory containing this script, then its parent.
867 ac_confdir=`(dirname "$0") 2>/dev/null ||
868 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
869 X"$0" : 'X\(//\)[^/]' \| \
870 X"$0" : 'X\(//\)$' \| \
871 X"$0" : 'X\(/\)' \| \
872 . : '\(.\)' 2>/dev/null ||
874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
875 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
876 /^X\(\/\/\)$/{ s//\1/; q; }
877 /^X\(\/\).*/{ s//\1/; q; }
880 if test ! -r $srcdir/$ac_unique_file; then
884 ac_srcdir_defaulted=no
886 if test ! -r $srcdir/$ac_unique_file; then
887 if test "$ac_srcdir_defaulted" = yes; then
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
889 { (exit 1); exit 1; }; }
891 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
892 { (exit 1); exit 1; }; }
895 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
896 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
897 { (exit 1); exit 1; }; }
898 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
899 ac_env_build_alias_set=${build_alias+set}
900 ac_env_build_alias_value=$build_alias
901 ac_cv_env_build_alias_set=${build_alias+set}
902 ac_cv_env_build_alias_value=$build_alias
903 ac_env_host_alias_set=${host_alias+set}
904 ac_env_host_alias_value=$host_alias
905 ac_cv_env_host_alias_set=${host_alias+set}
906 ac_cv_env_host_alias_value=$host_alias
907 ac_env_target_alias_set=${target_alias+set}
908 ac_env_target_alias_value=$target_alias
909 ac_cv_env_target_alias_set=${target_alias+set}
910 ac_cv_env_target_alias_value=$target_alias
911 ac_env_CXX_set=${CXX+set}
912 ac_env_CXX_value=$CXX
913 ac_cv_env_CXX_set=${CXX+set}
914 ac_cv_env_CXX_value=$CXX
915 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
916 ac_env_CXXFLAGS_value=$CXXFLAGS
917 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
918 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
919 ac_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_env_LDFLAGS_value=$LDFLAGS
921 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
924 ac_env_CPPFLAGS_value=$CPPFLAGS
925 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
926 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
927 ac_env_CC_set=${CC+set}
929 ac_cv_env_CC_set=${CC+set}
930 ac_cv_env_CC_value=$CC
931 ac_env_CFLAGS_set=${CFLAGS+set}
932 ac_env_CFLAGS_value=$CFLAGS
933 ac_cv_env_CFLAGS_set=${CFLAGS+set}
934 ac_cv_env_CFLAGS_value=$CFLAGS
935 ac_env_CPP_set=${CPP+set}
936 ac_env_CPP_value=$CPP
937 ac_cv_env_CPP_set=${CPP+set}
938 ac_cv_env_CPP_value=$CPP
939 ac_env_CXXCPP_set=${CXXCPP+set}
940 ac_env_CXXCPP_value=$CXXCPP
941 ac_cv_env_CXXCPP_set=${CXXCPP+set}
942 ac_cv_env_CXXCPP_value=$CXXCPP
943 ac_env_F77_set=${F77+set}
944 ac_env_F77_value=$F77
945 ac_cv_env_F77_set=${F77+set}
946 ac_cv_env_F77_value=$F77
947 ac_env_FFLAGS_set=${FFLAGS+set}
948 ac_env_FFLAGS_value=$FFLAGS
949 ac_cv_env_FFLAGS_set=${FFLAGS+set}
950 ac_cv_env_FFLAGS_value=$FFLAGS
953 # Report the --help message.
955 if test "$ac_init_help" = "long"; then
956 # Omit some internal or obsolete options to make the list less imposing.
957 # This message is too long to be a string in the A/UX 3.1 sh.
959 \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems.
961 Usage: $0 [OPTION]... [VAR=VALUE]...
963 To assign environment variables (e.g., CC, CFLAGS...), specify them as
964 VAR=VALUE. See below for descriptions of some of the useful variables.
966 Defaults for the options are specified in brackets.
969 -h, --help display this help and exit
970 --help=short display options specific to this package
971 --help=recursive display the short help of all the included packages
972 -V, --version display version information and exit
973 -q, --quiet, --silent do not print \`checking...' messages
974 --cache-file=FILE cache test results in FILE [disabled]
975 -C, --config-cache alias for \`--cache-file=config.cache'
976 -n, --no-create do not create output files
977 --srcdir=DIR find the sources in DIR [configure dir or \`..']
982 Installation directories:
983 --prefix=PREFIX install architecture-independent files in PREFIX
985 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
988 By default, \`make install' will install all the files in
989 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
990 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
991 for instance \`--prefix=\$HOME'.
993 For better control, use the options below.
995 Fine tuning of the installation directories:
996 --bindir=DIR user executables [EPREFIX/bin]
997 --sbindir=DIR system admin executables [EPREFIX/sbin]
998 --libexecdir=DIR program executables [EPREFIX/libexec]
999 --datadir=DIR read-only architecture-independent data [PREFIX/share]
1000 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1001 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1002 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1003 --libdir=DIR object code libraries [EPREFIX/lib]
1004 --includedir=DIR C header files [PREFIX/include]
1005 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1006 --infodir=DIR info documentation [PREFIX/info]
1007 --mandir=DIR man documentation [PREFIX/man]
1013 --build=BUILD configure for building on BUILD [guessed]
1014 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1015 --target=TARGET configure for building compilers for TARGET [HOST]
1019 if test -n "$ac_init_help"; then
1020 case $ac_init_help in
1021 short | recursive ) echo "Configuration of [LLVM] [1.0]:";;
1026 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1027 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1028 --enable-shared[=PKGS]
1029 build shared libraries [default=yes]
1030 --enable-static[=PKGS]
1031 build static libraries [default=yes]
1032 --enable-fast-install[=PKGS]
1033 optimize for fast installation [default=yes]
1034 --disable-libtool-lock avoid locking (might break parallel builds)
1035 --enable-purify Compile with purify (default is NO)
1036 --enable-optimized Compile with optimizations enabled (default is NO)
1037 --enable-spec Compile SPEC 2000 benchmarks (default is NO)
1038 --enable-precompiled_bytecode
1039 Use pre-compiled bytecode (default is NO)
1040 --enable-llc_diffs Enable LLC Diffs when testing (default is YES)
1041 --enable-jit Enable Just In Time Compiling (default is YES)
1044 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1045 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1046 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1047 --with-pic try to use only PIC/non-PIC objects [default=use
1050 include additional configurations [automatic]
1051 --with-llvmgccdir Location of LLVM GCC front-end
1052 --with-bcrepos Location of Bytecode Repository
1053 --with-papi Location of PAPI
1054 --with-purify Location of purify program
1056 Some influential environment variables:
1057 CXX C++ compiler command
1058 CXXFLAGS C++ compiler flags
1059 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1060 nonstandard directory <lib dir>
1061 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1062 headers in a nonstandard directory <include dir>
1063 CC C compiler command
1064 CFLAGS C compiler flags
1066 CXXCPP C++ preprocessor
1067 F77 Fortran 77 compiler command
1068 FFLAGS Fortran 77 compiler flags
1070 Use these variables to override the choices made by `configure' or to help
1071 it to find libraries and programs with nonstandard names/locations.
1073 Report bugs to <llvmbugs@cs.uiuc.edu>.
1077 if test "$ac_init_help" = "recursive"; then
1078 # If there are subdirs, report their specific --help.
1080 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1081 test -d $ac_dir || continue
1084 if test "$ac_dir" != .; then
1085 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1086 # A "../" for each directory in $ac_dir_suffix.
1087 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1089 ac_dir_suffix= ac_top_builddir=
1093 .) # No --srcdir option. We are building in place.
1095 if test -z "$ac_top_builddir"; then
1098 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1100 [\\/]* | ?:[\\/]* ) # Absolute path.
1101 ac_srcdir=$srcdir$ac_dir_suffix;
1102 ac_top_srcdir=$srcdir ;;
1104 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1105 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1107 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1109 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1110 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1111 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1112 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1115 # Check for guested configure; otherwise get Cygnus style configure.
1116 if test -f $ac_srcdir/configure.gnu; then
1118 $SHELL $ac_srcdir/configure.gnu --help=recursive
1119 elif test -f $ac_srcdir/configure; then
1121 $SHELL $ac_srcdir/configure --help=recursive
1122 elif test -f $ac_srcdir/configure.ac ||
1123 test -f $ac_srcdir/configure.in; then
1125 $ac_configure --help
1127 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1133 test -n "$ac_init_help" && exit 0
1134 if $ac_init_version; then
1136 [LLVM] configure [1.0]
1137 generated by GNU Autoconf 2.57
1139 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1140 Free Software Foundation, Inc.
1141 This configure script is free software; the Free Software Foundation
1142 gives unlimited permission to copy, distribute and modify it.
1148 This file contains any messages produced by compilers while
1149 running configure, to aid debugging if configure makes a mistake.
1151 It was created by [LLVM] $as_me [1.0], which was
1152 generated by GNU Autoconf 2.57. Invocation command line was
1163 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1164 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1165 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1166 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1167 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1169 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1170 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1172 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1173 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1174 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1175 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1176 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1177 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1178 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1186 test -z "$as_dir" && as_dir=.
1187 echo "PATH: $as_dir"
1202 # Keep a trace of the command line.
1203 # Strip out --no-create and --no-recursion so they do not pile up.
1204 # Strip out --silent because we don't want to record it for future runs.
1205 # Also quote any args containing shell meta-characters.
1206 # Make two passes to allow for proper duplicate-argument suppression.
1211 ac_must_keep_next=false
1217 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1218 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1219 | -silent | --silent | --silen | --sile | --sil)
1221 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1222 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1225 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1227 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1228 if test $ac_must_keep_next = true; then
1229 ac_must_keep_next=false # Got value, back to normal.
1232 *=* | --config-cache | -C | -disable-* | --disable-* \
1233 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1234 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1235 | -with-* | --with-* | -without-* | --without-* | --x)
1236 case "$ac_configure_args0 " in
1237 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1240 -* ) ac_must_keep_next=true ;;
1243 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1244 # Get rid of the leading space.
1250 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1251 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1253 # When interrupted or exit'd, cleanup temporary files, and complete
1254 # config.log. We remove comments because anyway the quotes in there
1255 # would cause problems or look ugly.
1256 # WARNING: Be sure not to use single quotes in there, as some shells,
1257 # such as our DU 5.0 friend, will then `close' the trap.
1258 trap 'exit_status=$?
1259 # Save into config.log some information that might help in debugging.
1264 ## ---------------- ##
1265 ## Cache variables. ##
1266 ## ---------------- ##
1269 # The following way of writing the cache mishandles newlines in values,
1272 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1275 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1280 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1287 ## ----------------- ##
1288 ## Output variables. ##
1289 ## ----------------- ##
1292 for ac_var in $ac_subst_vars
1294 eval ac_val=$`echo $ac_var`
1295 echo "$ac_var='"'"'$ac_val'"'"'"
1299 if test -n "$ac_subst_files"; then
1306 for ac_var in $ac_subst_files
1308 eval ac_val=$`echo $ac_var`
1309 echo "$ac_var='"'"'$ac_val'"'"'"
1314 if test -s confdefs.h; then
1321 sed "/^$/d" confdefs.h | sort
1324 test "$ac_signal" != 0 &&
1325 echo "$as_me: caught signal $ac_signal"
1326 echo "$as_me: exit $exit_status"
1328 rm -f core core.* *.core &&
1329 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1332 for ac_signal in 1 2 13 15; do
1333 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1338 rm -rf conftest* confdefs.h
1339 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1342 # Predefined preprocessor variables.
1344 cat >>confdefs.h <<_ACEOF
1345 #define PACKAGE_NAME "$PACKAGE_NAME"
1349 cat >>confdefs.h <<_ACEOF
1350 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1354 cat >>confdefs.h <<_ACEOF
1355 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1359 cat >>confdefs.h <<_ACEOF
1360 #define PACKAGE_STRING "$PACKAGE_STRING"
1364 cat >>confdefs.h <<_ACEOF
1365 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1369 # Let the site file select an alternate cache file if it wants to.
1370 # Prefer explicitly selected file to automatically selected ones.
1371 if test -z "$CONFIG_SITE"; then
1372 if test "x$prefix" != xNONE; then
1373 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1375 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1378 for ac_site_file in $CONFIG_SITE; do
1379 if test -r "$ac_site_file"; then
1380 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1381 echo "$as_me: loading site script $ac_site_file" >&6;}
1382 sed 's/^/| /' "$ac_site_file" >&5
1387 if test -r "$cache_file"; then
1388 # Some versions of bash will fail to source /dev/null (special
1389 # files actually), so we avoid doing that.
1390 if test -f "$cache_file"; then
1391 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1392 echo "$as_me: loading cache $cache_file" >&6;}
1394 [\\/]* | ?:[\\/]* ) . $cache_file;;
1395 *) . ./$cache_file;;
1399 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1400 echo "$as_me: creating cache $cache_file" >&6;}
1404 # Check that the precious variables saved in the cache have kept the same
1406 ac_cache_corrupted=false
1407 for ac_var in `(set) 2>&1 |
1408 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1409 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1410 eval ac_new_set=\$ac_env_${ac_var}_set
1411 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1412 eval ac_new_val="\$ac_env_${ac_var}_value"
1413 case $ac_old_set,$ac_new_set in
1415 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1416 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1417 ac_cache_corrupted=: ;;
1419 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1420 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1421 ac_cache_corrupted=: ;;
1424 if test "x$ac_old_val" != "x$ac_new_val"; then
1425 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1426 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1427 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1428 echo "$as_me: former value: $ac_old_val" >&2;}
1429 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1430 echo "$as_me: current value: $ac_new_val" >&2;}
1431 ac_cache_corrupted=:
1434 # Pass precious variables to config.status.
1435 if test "$ac_new_set" = set; then
1437 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1438 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1439 *) ac_arg=$ac_var=$ac_new_val ;;
1441 case " $ac_configure_args " in
1442 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1443 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1447 if $ac_cache_corrupted; then
1448 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1449 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1450 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1451 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1452 { (exit 1); exit 1; }; }
1456 ac_cpp='$CPP $CPPFLAGS'
1457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1489 for ac_dir in autoconf $srcdir/autoconf; do
1490 if test -f $ac_dir/install-sh; then
1492 ac_install_sh="$ac_aux_dir/install-sh -c"
1494 elif test -f $ac_dir/install.sh; then
1496 ac_install_sh="$ac_aux_dir/install.sh -c"
1498 elif test -f $ac_dir/shtool; then
1500 ac_install_sh="$ac_aux_dir/shtool install -c"
1504 if test -z "$ac_aux_dir"; then
1505 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1506 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1507 { (exit 1); exit 1; }; }
1509 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1510 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1511 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1514 if test ${srcdir} != "."
1516 if test -f ${srcdir}/include/Config/config.h
1518 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1519 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1520 { (exit 1); exit 1; }; }
1524 if test -d ${srcdir}/projects/sample
1528 subdirs="$subdirs projects/sample"
1532 if test -d ${srcdir}/projects/reopt
1536 subdirs="$subdirs projects/reopt"
1540 if test -d ${srcdir}/projects/poolalloc
1544 subdirs="$subdirs projects/poolalloc"
1548 ac_config_headers="$ac_config_headers include/Config/config.h"
1550 ac_config_commands="$ac_config_commands Makefile"
1553 ac_config_commands="$ac_config_commands Makefile.common"
1556 ac_config_commands="$ac_config_commands Makefile.rules"
1559 ac_config_commands="$ac_config_commands lib/Makefile"
1562 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1565 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1568 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1571 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1574 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1577 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1580 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1583 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1586 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1589 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1592 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1595 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1598 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1601 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1604 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1607 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1610 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1613 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1616 ac_config_commands="$ac_config_commands lib/Support/Makefile"
1619 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1622 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1625 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1628 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1631 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1634 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1637 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1640 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1643 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1646 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1649 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1652 ac_config_commands="$ac_config_commands runtime/Makefile"
1655 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1658 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1661 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1664 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1667 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1670 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1673 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1676 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1679 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1682 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1685 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1688 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1691 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1694 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1697 ac_config_commands="$ac_config_commands test/Makefile"
1700 ac_config_commands="$ac_config_commands test/Makefile.tests"
1703 ac_config_commands="$ac_config_commands test/QMTest/llvm.py"
1706 ac_config_commands="$ac_config_commands test/QMTest/llvmdb.py"
1709 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1712 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1715 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1718 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1721 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1724 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1727 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1730 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1733 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1736 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1739 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1742 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1745 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1748 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1751 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1754 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1757 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1760 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1763 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1766 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1769 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/177.mesa/Makefile"
1772 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1775 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1778 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1781 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1784 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1787 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1790 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1793 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1796 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1799 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1802 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/252.eon/Makefile"
1805 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile"
1808 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1811 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1814 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1817 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1820 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1823 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1826 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1829 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1832 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1835 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1838 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1841 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1844 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1847 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1850 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1853 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1856 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1859 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1862 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1865 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1868 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1871 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1874 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1877 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1880 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1883 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1886 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1889 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1892 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1895 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1898 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1901 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1904 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1907 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1910 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1913 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1916 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1919 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1922 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1925 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1928 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1931 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1934 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1937 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1940 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1943 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1946 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1949 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1952 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1955 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1958 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1961 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1964 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1967 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1970 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
1973 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/Makefile"
1976 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C/Makefile"
1979 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/Makefile"
1982 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/EH/Makefile"
1985 ac_config_commands="$ac_config_commands tools/Makefile"
1988 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1991 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1994 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1997 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
2000 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
2003 ac_config_commands="$ac_config_commands tools/llc/Makefile"
2006 ac_config_commands="$ac_config_commands tools/llee/Makefile"
2009 ac_config_commands="$ac_config_commands tools/lli/Makefile"
2012 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
2015 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
2018 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
2021 ac_config_commands="$ac_config_commands tools/llvm-link/Makefile"
2024 ac_config_commands="$ac_config_commands tools/opt/Makefile"
2027 ac_config_commands="$ac_config_commands utils/Makefile"
2030 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
2033 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
2036 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
2039 ac_config_commands="$ac_config_commands projects/Makefile"
2042 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2045 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2048 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2051 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2056 # Find a good install program. We prefer a C program (faster),
2057 # so one script is as good as another. But avoid the broken or
2058 # incompatible versions:
2059 # SysV /etc/install, /usr/sbin/install
2060 # SunOS /usr/etc/install
2061 # IRIX /sbin/install
2063 # AmigaOS /C/install, which installs bootblocks on floppy discs
2064 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2065 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2066 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2067 # ./install, which can be erroneously created by make from ./install.sh.
2068 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2069 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2070 if test -z "$INSTALL"; then
2071 if test "${ac_cv_path_install+set}" = set; then
2072 echo $ECHO_N "(cached) $ECHO_C" >&6
2074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078 test -z "$as_dir" && as_dir=.
2079 # Account for people who put trailing slashes in PATH elements.
2081 ./ | .// | /cC/* | \
2082 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2085 # OSF1 and SCO ODT 3.0 have their own names for install.
2086 # Don't use installbsd from OSF since it installs stuff as root
2088 for ac_prog in ginstall scoinst install; do
2089 for ac_exec_ext in '' $ac_executable_extensions; do
2090 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2091 if test $ac_prog = install &&
2092 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2093 # AIX install. It has an incompatible calling convention.
2095 elif test $ac_prog = install &&
2096 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2097 # program-specific install script used by HP pwplus--don't use.
2100 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2112 if test "${ac_cv_path_install+set}" = set; then
2113 INSTALL=$ac_cv_path_install
2115 # As a last resort, use the slow shell script. We don't cache a
2116 # path for INSTALL within a source directory, because that will
2117 # break other packages using the cache if that directory is
2118 # removed, or if the path is relative.
2119 INSTALL=$ac_install_sh
2122 echo "$as_me:$LINENO: result: $INSTALL" >&5
2123 echo "${ECHO_T}$INSTALL" >&6
2125 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2126 # It thinks the first close brace ends the variable substitution.
2127 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2129 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2131 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2134 # Make sure we can run config.sub.
2135 $ac_config_sub sun4 >/dev/null 2>&1 ||
2136 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2137 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2138 { (exit 1); exit 1; }; }
2140 echo "$as_me:$LINENO: checking build system type" >&5
2141 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2142 if test "${ac_cv_build+set}" = set; then
2143 echo $ECHO_N "(cached) $ECHO_C" >&6
2145 ac_cv_build_alias=$build_alias
2146 test -z "$ac_cv_build_alias" &&
2147 ac_cv_build_alias=`$ac_config_guess`
2148 test -z "$ac_cv_build_alias" &&
2149 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2150 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2151 { (exit 1); exit 1; }; }
2152 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2153 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2154 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2155 { (exit 1); exit 1; }; }
2158 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2159 echo "${ECHO_T}$ac_cv_build" >&6
2161 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2162 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2163 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2166 echo "$as_me:$LINENO: checking host system type" >&5
2167 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2168 if test "${ac_cv_host+set}" = set; then
2169 echo $ECHO_N "(cached) $ECHO_C" >&6
2171 ac_cv_host_alias=$host_alias
2172 test -z "$ac_cv_host_alias" &&
2173 ac_cv_host_alias=$ac_cv_build_alias
2174 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2175 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2176 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2177 { (exit 1); exit 1; }; }
2180 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2181 echo "${ECHO_T}$ac_cv_host" >&6
2183 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2184 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2185 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2188 echo "$as_me:$LINENO: checking target system type" >&5
2189 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2190 if test "${ac_cv_target+set}" = set; then
2191 echo $ECHO_N "(cached) $ECHO_C" >&6
2193 ac_cv_target_alias=$target_alias
2194 test "x$ac_cv_target_alias" = "x" &&
2195 ac_cv_target_alias=$ac_cv_host_alias
2196 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2197 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2198 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2199 { (exit 1); exit 1; }; }
2202 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2203 echo "${ECHO_T}$ac_cv_target" >&6
2204 target=$ac_cv_target
2205 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2206 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2207 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2210 # The aliases save the names the user supplied, while $host etc.
2211 # will get canonicalized.
2212 test -n "$target_alias" &&
2213 test "$program_prefix$program_suffix$program_transform_name" = \
2215 program_prefix=${target_alias}-
2220 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2226 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2236 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2245 *sparc*solaris*) ARCH=Sparc
2252 ac_cpp='$CXXCPP $CPPFLAGS'
2253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2256 if test -n "$ac_tool_prefix"; then
2257 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2259 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2260 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2261 echo "$as_me:$LINENO: checking for $ac_word" >&5
2262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2263 if test "${ac_cv_prog_CXX+set}" = set; then
2264 echo $ECHO_N "(cached) $ECHO_C" >&6
2266 if test -n "$CXX"; then
2267 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2273 test -z "$as_dir" && as_dir=.
2274 for ac_exec_ext in '' $ac_executable_extensions; do
2275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2276 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2286 if test -n "$CXX"; then
2287 echo "$as_me:$LINENO: result: $CXX" >&5
2288 echo "${ECHO_T}$CXX" >&6
2290 echo "$as_me:$LINENO: result: no" >&5
2291 echo "${ECHO_T}no" >&6
2294 test -n "$CXX" && break
2297 if test -z "$CXX"; then
2299 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2301 # Extract the first word of "$ac_prog", so it can be a program name with args.
2302 set dummy $ac_prog; ac_word=$2
2303 echo "$as_me:$LINENO: checking for $ac_word" >&5
2304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2305 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2306 echo $ECHO_N "(cached) $ECHO_C" >&6
2308 if test -n "$ac_ct_CXX"; then
2309 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 test -z "$as_dir" && as_dir=.
2316 for ac_exec_ext in '' $ac_executable_extensions; do
2317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2318 ac_cv_prog_ac_ct_CXX="$ac_prog"
2319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2327 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2328 if test -n "$ac_ct_CXX"; then
2329 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2330 echo "${ECHO_T}$ac_ct_CXX" >&6
2332 echo "$as_me:$LINENO: result: no" >&5
2333 echo "${ECHO_T}no" >&6
2336 test -n "$ac_ct_CXX" && break
2338 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2344 # Provide some information about the compiler.
2345 echo "$as_me:$LINENO:" \
2346 "checking for C++ compiler version" >&5
2347 ac_compiler=`set X $ac_compile; echo $2`
2348 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2349 (eval $ac_compiler --version </dev/null >&5) 2>&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); }
2353 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2354 (eval $ac_compiler -v </dev/null >&5) 2>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }
2358 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2359 (eval $ac_compiler -V </dev/null >&5) 2>&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }
2364 cat >conftest.$ac_ext <<_ACEOF
2365 #line $LINENO "configure"
2368 cat confdefs.h >>conftest.$ac_ext
2369 cat >>conftest.$ac_ext <<_ACEOF
2370 /* end confdefs.h. */
2380 ac_clean_files_save=$ac_clean_files
2381 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2382 # Try to create an executable without -o first, disregard a.out.
2383 # It will help us diagnose broken compilers, and finding out an intuition
2385 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2386 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2387 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2388 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2389 (eval $ac_link_default) 2>&5
2391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2392 (exit $ac_status); }; then
2393 # Find the output, starting from the most likely. This scheme is
2394 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2397 # Be careful to initialize this variable, since it used to be cached.
2398 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2400 # b.out is created by i960 compilers.
2401 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2403 test -f "$ac_file" || continue
2405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2408 # This is the source file.
2411 # We found the default executable, but exeext='' is most
2415 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2416 # FIXME: I believe we export ac_cv_exeext for Libtool,
2417 # but it would be cool to find out if it's true. Does anybody
2418 # maintain Libtool? --akim.
2426 echo "$as_me: failed program was:" >&5
2427 sed 's/^/| /' conftest.$ac_ext >&5
2429 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2430 See \`config.log' for more details." >&5
2431 echo "$as_me: error: C++ compiler cannot create executables
2432 See \`config.log' for more details." >&2;}
2433 { (exit 77); exit 77; }; }
2436 ac_exeext=$ac_cv_exeext
2437 echo "$as_me:$LINENO: result: $ac_file" >&5
2438 echo "${ECHO_T}$ac_file" >&6
2440 # Check the compiler produces executables we can run. If not, either
2441 # the compiler is broken, or we cross compile.
2442 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2443 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2444 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2445 # If not cross compiling, check that we can run a simple program.
2446 if test "$cross_compiling" != yes; then
2447 if { ac_try='./$ac_file'
2448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452 (exit $ac_status); }; }; then
2455 if test "$cross_compiling" = maybe; then
2458 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2459 If you meant to cross compile, use \`--host'.
2460 See \`config.log' for more details." >&5
2461 echo "$as_me: error: cannot run C++ compiled programs.
2462 If you meant to cross compile, use \`--host'.
2463 See \`config.log' for more details." >&2;}
2464 { (exit 1); exit 1; }; }
2468 echo "$as_me:$LINENO: result: yes" >&5
2469 echo "${ECHO_T}yes" >&6
2471 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2472 ac_clean_files=$ac_clean_files_save
2473 # Check the compiler produces executables we can run. If not, either
2474 # the compiler is broken, or we cross compile.
2475 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2476 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2477 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2478 echo "${ECHO_T}$cross_compiling" >&6
2480 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2481 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2483 (eval $ac_link) 2>&5
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); }; then
2487 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2488 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2489 # work properly (i.e., refer to `conftest.exe'), while it won't with
2491 for ac_file in conftest.exe conftest conftest.*; do
2492 test -f "$ac_file" || continue
2494 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2495 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2502 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2503 See \`config.log' for more details." >&5
2504 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2505 See \`config.log' for more details." >&2;}
2506 { (exit 1); exit 1; }; }
2509 rm -f conftest$ac_cv_exeext
2510 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2511 echo "${ECHO_T}$ac_cv_exeext" >&6
2513 rm -f conftest.$ac_ext
2514 EXEEXT=$ac_cv_exeext
2516 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2517 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2518 if test "${ac_cv_objext+set}" = set; then
2519 echo $ECHO_N "(cached) $ECHO_C" >&6
2521 cat >conftest.$ac_ext <<_ACEOF
2522 #line $LINENO "configure"
2525 cat confdefs.h >>conftest.$ac_ext
2526 cat >>conftest.$ac_ext <<_ACEOF
2527 /* end confdefs.h. */
2537 rm -f conftest.o conftest.obj
2538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2539 (eval $ac_compile) 2>&5
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }; then
2543 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2545 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2546 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2551 echo "$as_me: failed program was:" >&5
2552 sed 's/^/| /' conftest.$ac_ext >&5
2554 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2555 See \`config.log' for more details." >&5
2556 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2557 See \`config.log' for more details." >&2;}
2558 { (exit 1); exit 1; }; }
2561 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2563 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2564 echo "${ECHO_T}$ac_cv_objext" >&6
2565 OBJEXT=$ac_cv_objext
2567 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2568 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2569 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2570 echo $ECHO_N "(cached) $ECHO_C" >&6
2572 cat >conftest.$ac_ext <<_ACEOF
2573 #line $LINENO "configure"
2576 cat confdefs.h >>conftest.$ac_ext
2577 cat >>conftest.$ac_ext <<_ACEOF
2578 /* end confdefs.h. */
2591 rm -f conftest.$ac_objext
2592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2593 (eval $ac_compile) 2>&5
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); } &&
2597 { ac_try='test -s conftest.$ac_objext'
2598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; }; then
2605 echo "$as_me: failed program was:" >&5
2606 sed 's/^/| /' conftest.$ac_ext >&5
2610 rm -f conftest.$ac_objext conftest.$ac_ext
2611 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2614 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2615 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2616 GXX=`test $ac_compiler_gnu = yes && echo yes`
2617 ac_test_CXXFLAGS=${CXXFLAGS+set}
2618 ac_save_CXXFLAGS=$CXXFLAGS
2620 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2621 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2622 if test "${ac_cv_prog_cxx_g+set}" = set; then
2623 echo $ECHO_N "(cached) $ECHO_C" >&6
2625 cat >conftest.$ac_ext <<_ACEOF
2626 #line $LINENO "configure"
2629 cat confdefs.h >>conftest.$ac_ext
2630 cat >>conftest.$ac_ext <<_ACEOF
2631 /* end confdefs.h. */
2641 rm -f conftest.$ac_objext
2642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2643 (eval $ac_compile) 2>&5
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); } &&
2647 { ac_try='test -s conftest.$ac_objext'
2648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652 (exit $ac_status); }; }; then
2653 ac_cv_prog_cxx_g=yes
2655 echo "$as_me: failed program was:" >&5
2656 sed 's/^/| /' conftest.$ac_ext >&5
2660 rm -f conftest.$ac_objext conftest.$ac_ext
2662 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2663 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2664 if test "$ac_test_CXXFLAGS" = set; then
2665 CXXFLAGS=$ac_save_CXXFLAGS
2666 elif test $ac_cv_prog_cxx_g = yes; then
2667 if test "$GXX" = yes; then
2673 if test "$GXX" = yes; then
2679 for ac_declaration in \
2681 '#include <stdlib.h>' \
2682 'extern "C" void std::exit (int) throw (); using std::exit;' \
2683 'extern "C" void std::exit (int); using std::exit;' \
2684 'extern "C" void exit (int) throw ();' \
2685 'extern "C" void exit (int);' \
2688 cat >conftest.$ac_ext <<_ACEOF
2689 #line $LINENO "configure"
2692 cat confdefs.h >>conftest.$ac_ext
2693 cat >>conftest.$ac_ext <<_ACEOF
2694 /* end confdefs.h. */
2705 rm -f conftest.$ac_objext
2706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2707 (eval $ac_compile) 2>&5
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710 (exit $ac_status); } &&
2711 { ac_try='test -s conftest.$ac_objext'
2712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); }; }; then
2719 echo "$as_me: failed program was:" >&5
2720 sed 's/^/| /' conftest.$ac_ext >&5
2724 rm -f conftest.$ac_objext conftest.$ac_ext
2725 cat >conftest.$ac_ext <<_ACEOF
2726 #line $LINENO "configure"
2729 cat confdefs.h >>conftest.$ac_ext
2730 cat >>conftest.$ac_ext <<_ACEOF
2731 /* end confdefs.h. */
2741 rm -f conftest.$ac_objext
2742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2743 (eval $ac_compile) 2>&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); } &&
2747 { ac_try='test -s conftest.$ac_objext'
2748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); }; }; then
2755 echo "$as_me: failed program was:" >&5
2756 sed 's/^/| /' conftest.$ac_ext >&5
2759 rm -f conftest.$ac_objext conftest.$ac_ext
2762 if test -n "$ac_declaration"; then
2763 echo '#ifdef __cplusplus' >>confdefs.h
2764 echo $ac_declaration >>confdefs.h
2765 echo '#endif' >>confdefs.h
2769 ac_cpp='$CPP $CPPFLAGS'
2770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
2779 if test -n "$ac_tool_prefix"; then
2782 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2783 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2784 echo "$as_me:$LINENO: checking for $ac_word" >&5
2785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2786 if test "${ac_cv_prog_CC+set}" = set; then
2787 echo $ECHO_N "(cached) $ECHO_C" >&6
2789 if test -n "$CC"; then
2790 ac_cv_prog_CC="$CC" # Let the user override the test.
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796 test -z "$as_dir" && as_dir=.
2797 for ac_exec_ext in '' $ac_executable_extensions; do
2798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2799 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2809 if test -n "$CC"; then
2810 echo "$as_me:$LINENO: result: $CC" >&5
2811 echo "${ECHO_T}$CC" >&6
2813 echo "$as_me:$LINENO: result: no" >&5
2814 echo "${ECHO_T}no" >&6
2817 test -n "$CC" && break
2820 if test -z "$CC"; then
2824 # Extract the first word of "$ac_prog", so it can be a program name with args.
2825 set dummy $ac_prog; ac_word=$2
2826 echo "$as_me:$LINENO: checking for $ac_word" >&5
2827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2828 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2829 echo $ECHO_N "(cached) $ECHO_C" >&6
2831 if test -n "$ac_ct_CC"; then
2832 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir=.
2839 for ac_exec_ext in '' $ac_executable_extensions; do
2840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_prog_ac_ct_CC="$ac_prog"
2842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2850 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2851 if test -n "$ac_ct_CC"; then
2852 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2853 echo "${ECHO_T}$ac_ct_CC" >&6
2855 echo "$as_me:$LINENO: result: no" >&5
2856 echo "${ECHO_T}no" >&6
2859 test -n "$ac_ct_CC" && break
2866 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2867 See \`config.log' for more details." >&5
2868 echo "$as_me: error: no acceptable C compiler found in \$PATH
2869 See \`config.log' for more details." >&2;}
2870 { (exit 1); exit 1; }; }
2872 # Provide some information about the compiler.
2873 echo "$as_me:$LINENO:" \
2874 "checking for C compiler version" >&5
2875 ac_compiler=`set X $ac_compile; echo $2`
2876 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2877 (eval $ac_compiler --version </dev/null >&5) 2>&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); }
2881 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2882 (eval $ac_compiler -v </dev/null >&5) 2>&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); }
2886 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2887 (eval $ac_compiler -V </dev/null >&5) 2>&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }
2892 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2893 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2894 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2895 echo $ECHO_N "(cached) $ECHO_C" >&6
2897 cat >conftest.$ac_ext <<_ACEOF
2898 #line $LINENO "configure"
2901 cat confdefs.h >>conftest.$ac_ext
2902 cat >>conftest.$ac_ext <<_ACEOF
2903 /* end confdefs.h. */
2916 rm -f conftest.$ac_objext
2917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2918 (eval $ac_compile) 2>&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); } &&
2922 { ac_try='test -s conftest.$ac_objext'
2923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; }; then
2930 echo "$as_me: failed program was:" >&5
2931 sed 's/^/| /' conftest.$ac_ext >&5
2935 rm -f conftest.$ac_objext conftest.$ac_ext
2936 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2939 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2940 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2941 GCC=`test $ac_compiler_gnu = yes && echo yes`
2942 ac_test_CFLAGS=${CFLAGS+set}
2943 ac_save_CFLAGS=$CFLAGS
2945 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2946 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2947 if test "${ac_cv_prog_cc_g+set}" = set; then
2948 echo $ECHO_N "(cached) $ECHO_C" >&6
2950 cat >conftest.$ac_ext <<_ACEOF
2951 #line $LINENO "configure"
2954 cat confdefs.h >>conftest.$ac_ext
2955 cat >>conftest.$ac_ext <<_ACEOF
2956 /* end confdefs.h. */
2966 rm -f conftest.$ac_objext
2967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2968 (eval $ac_compile) 2>&5
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); } &&
2972 { ac_try='test -s conftest.$ac_objext'
2973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977 (exit $ac_status); }; }; then
2980 echo "$as_me: failed program was:" >&5
2981 sed 's/^/| /' conftest.$ac_ext >&5
2985 rm -f conftest.$ac_objext conftest.$ac_ext
2987 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2988 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2989 if test "$ac_test_CFLAGS" = set; then
2990 CFLAGS=$ac_save_CFLAGS
2991 elif test $ac_cv_prog_cc_g = yes; then
2992 if test "$GCC" = yes; then
2998 if test "$GCC" = yes; then
3004 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3005 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3006 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3007 echo $ECHO_N "(cached) $ECHO_C" >&6
3009 ac_cv_prog_cc_stdc=no
3011 cat >conftest.$ac_ext <<_ACEOF
3012 #line $LINENO "configure"
3015 cat confdefs.h >>conftest.$ac_ext
3016 cat >>conftest.$ac_ext <<_ACEOF
3017 /* end confdefs.h. */
3020 #include <sys/types.h>
3021 #include <sys/stat.h>
3022 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3023 struct buf { int x; };
3024 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3025 static char *e (p, i)
3031 static char *f (char * (*g) (char **, int), char **p, ...)
3036 s = g (p, va_arg (v,int));
3040 int test (int i, double x);
3041 struct s1 {int (*f) (int a);};
3042 struct s2 {int (*f) (double a);};
3043 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3049 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3054 # Don't try gcc -ansi; that turns off useful extensions and
3055 # breaks some systems' header files.
3056 # AIX -qlanglvl=ansi
3057 # Ultrix and OSF/1 -std1
3058 # HP-UX 10.20 and later -Ae
3059 # HP-UX older versions -Aa -D_HPUX_SOURCE
3060 # SVR4 -Xc -D__EXTENSIONS__
3061 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3063 CC="$ac_save_CC $ac_arg"
3064 rm -f conftest.$ac_objext
3065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3066 (eval $ac_compile) 2>&5
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); } &&
3070 { ac_try='test -s conftest.$ac_objext'
3071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); }; }; then
3076 ac_cv_prog_cc_stdc=$ac_arg
3079 echo "$as_me: failed program was:" >&5
3080 sed 's/^/| /' conftest.$ac_ext >&5
3083 rm -f conftest.$ac_objext
3085 rm -f conftest.$ac_ext conftest.$ac_objext
3090 case "x$ac_cv_prog_cc_stdc" in
3092 echo "$as_me:$LINENO: result: none needed" >&5
3093 echo "${ECHO_T}none needed" >&6 ;;
3095 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3096 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3097 CC="$CC $ac_cv_prog_cc_stdc" ;;
3100 # Some people use a C++ compiler to compile C. Since we use `exit',
3101 # in C++ we need to declare it. In case someone uses the same compiler
3102 # for both compiling C and C++ we need to have the C++ compiler decide
3103 # the declaration of exit, since it's the most demanding environment.
3104 cat >conftest.$ac_ext <<_ACEOF
3109 rm -f conftest.$ac_objext
3110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3111 (eval $ac_compile) 2>&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); } &&
3115 { ac_try='test -s conftest.$ac_objext'
3116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); }; }; then
3121 for ac_declaration in \
3123 '#include <stdlib.h>' \
3124 'extern "C" void std::exit (int) throw (); using std::exit;' \
3125 'extern "C" void std::exit (int); using std::exit;' \
3126 'extern "C" void exit (int) throw ();' \
3127 'extern "C" void exit (int);' \
3130 cat >conftest.$ac_ext <<_ACEOF
3131 #line $LINENO "configure"
3134 cat confdefs.h >>conftest.$ac_ext
3135 cat >>conftest.$ac_ext <<_ACEOF
3136 /* end confdefs.h. */
3147 rm -f conftest.$ac_objext
3148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3149 (eval $ac_compile) 2>&5
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); } &&
3153 { ac_try='test -s conftest.$ac_objext'
3154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); }; }; then
3161 echo "$as_me: failed program was:" >&5
3162 sed 's/^/| /' conftest.$ac_ext >&5
3166 rm -f conftest.$ac_objext conftest.$ac_ext
3167 cat >conftest.$ac_ext <<_ACEOF
3168 #line $LINENO "configure"
3171 cat confdefs.h >>conftest.$ac_ext
3172 cat >>conftest.$ac_ext <<_ACEOF
3173 /* end confdefs.h. */
3183 rm -f conftest.$ac_objext
3184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3185 (eval $ac_compile) 2>&5
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); } &&
3189 { ac_try='test -s conftest.$ac_objext'
3190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); }; }; then
3197 echo "$as_me: failed program was:" >&5
3198 sed 's/^/| /' conftest.$ac_ext >&5
3201 rm -f conftest.$ac_objext conftest.$ac_ext
3204 if test -n "$ac_declaration"; then
3205 echo '#ifdef __cplusplus' >>confdefs.h
3206 echo $ac_declaration >>confdefs.h
3207 echo '#endif' >>confdefs.h
3211 echo "$as_me: failed program was:" >&5
3212 sed 's/^/| /' conftest.$ac_ext >&5
3215 rm -f conftest.$ac_objext conftest.$ac_ext
3217 ac_cpp='$CPP $CPPFLAGS'
3218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
3227 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3228 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3229 # On Suns, sometimes $CPP names a directory.
3230 if test -n "$CPP" && test -d "$CPP"; then
3233 if test -z "$CPP"; then
3234 if test "${ac_cv_prog_CPP+set}" = set; then
3235 echo $ECHO_N "(cached) $ECHO_C" >&6
3237 # Double quotes because CPP needs to be expanded
3238 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3241 for ac_c_preproc_warn_flag in '' yes
3243 # Use a header file that comes with gcc, so configuring glibc
3244 # with a fresh cross-compiler works.
3245 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3246 # <limits.h> exists even on freestanding compilers.
3247 # On the NeXT, cc -E runs the code through the compiler's parser,
3248 # not just through cpp. "Syntax error" is here to catch this case.
3249 cat >conftest.$ac_ext <<_ACEOF
3250 #line $LINENO "configure"
3253 cat confdefs.h >>conftest.$ac_ext
3254 cat >>conftest.$ac_ext <<_ACEOF
3255 /* end confdefs.h. */
3257 # include <limits.h>
3259 # include <assert.h>
3263 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3264 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3266 grep -v '^ *+' conftest.er1 >conftest.err
3268 cat conftest.err >&5
3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270 (exit $ac_status); } >/dev/null; then
3271 if test -s conftest.err; then
3272 ac_cpp_err=$ac_c_preproc_warn_flag
3279 if test -z "$ac_cpp_err"; then
3282 echo "$as_me: failed program was:" >&5
3283 sed 's/^/| /' conftest.$ac_ext >&5
3285 # Broken: fails on valid input.
3288 rm -f conftest.err conftest.$ac_ext
3290 # OK, works on sane cases. Now check whether non-existent headers
3291 # can be detected and how.
3292 cat >conftest.$ac_ext <<_ACEOF
3293 #line $LINENO "configure"
3296 cat confdefs.h >>conftest.$ac_ext
3297 cat >>conftest.$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3299 #include <ac_nonexistent.h>
3301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3304 grep -v '^ *+' conftest.er1 >conftest.err
3306 cat conftest.err >&5
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); } >/dev/null; then
3309 if test -s conftest.err; then
3310 ac_cpp_err=$ac_c_preproc_warn_flag
3317 if test -z "$ac_cpp_err"; then
3318 # Broken: success on invalid input.
3321 echo "$as_me: failed program was:" >&5
3322 sed 's/^/| /' conftest.$ac_ext >&5
3324 # Passes both tests.
3328 rm -f conftest.err conftest.$ac_ext
3331 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3332 rm -f conftest.err conftest.$ac_ext
3333 if $ac_preproc_ok; then
3345 echo "$as_me:$LINENO: result: $CPP" >&5
3346 echo "${ECHO_T}$CPP" >&6
3348 for ac_c_preproc_warn_flag in '' yes
3350 # Use a header file that comes with gcc, so configuring glibc
3351 # with a fresh cross-compiler works.
3352 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3353 # <limits.h> exists even on freestanding compilers.
3354 # On the NeXT, cc -E runs the code through the compiler's parser,
3355 # not just through cpp. "Syntax error" is here to catch this case.
3356 cat >conftest.$ac_ext <<_ACEOF
3357 #line $LINENO "configure"
3360 cat confdefs.h >>conftest.$ac_ext
3361 cat >>conftest.$ac_ext <<_ACEOF
3362 /* end confdefs.h. */
3364 # include <limits.h>
3366 # include <assert.h>
3370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3371 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3373 grep -v '^ *+' conftest.er1 >conftest.err
3375 cat conftest.err >&5
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); } >/dev/null; then
3378 if test -s conftest.err; then
3379 ac_cpp_err=$ac_c_preproc_warn_flag
3386 if test -z "$ac_cpp_err"; then
3389 echo "$as_me: failed program was:" >&5
3390 sed 's/^/| /' conftest.$ac_ext >&5
3392 # Broken: fails on valid input.
3395 rm -f conftest.err conftest.$ac_ext
3397 # OK, works on sane cases. Now check whether non-existent headers
3398 # can be detected and how.
3399 cat >conftest.$ac_ext <<_ACEOF
3400 #line $LINENO "configure"
3403 cat confdefs.h >>conftest.$ac_ext
3404 cat >>conftest.$ac_ext <<_ACEOF
3405 /* end confdefs.h. */
3406 #include <ac_nonexistent.h>
3408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3409 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3411 grep -v '^ *+' conftest.er1 >conftest.err
3413 cat conftest.err >&5
3414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415 (exit $ac_status); } >/dev/null; then
3416 if test -s conftest.err; then
3417 ac_cpp_err=$ac_c_preproc_warn_flag
3424 if test -z "$ac_cpp_err"; then
3425 # Broken: success on invalid input.
3428 echo "$as_me: failed program was:" >&5
3429 sed 's/^/| /' conftest.$ac_ext >&5
3431 # Passes both tests.
3435 rm -f conftest.err conftest.$ac_ext
3438 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3439 rm -f conftest.err conftest.$ac_ext
3440 if $ac_preproc_ok; then
3443 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3444 See \`config.log' for more details." >&5
3445 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3446 See \`config.log' for more details." >&2;}
3447 { (exit 1); exit 1; }; }
3451 ac_cpp='$CPP $CPPFLAGS'
3452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3457 if test "$GCC" != "yes"
3459 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3460 echo "$as_me: error: gcc required but not found" >&2;}
3461 { (exit 1); exit 1; }; }
3464 if test "$GXX" != "yes"
3466 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3467 echo "$as_me: error: g++ required but not found" >&2;}
3468 { (exit 1); exit 1; }; }
3471 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3472 if test "$gccmajor" -lt "3"
3474 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3475 echo "$as_me: error: gcc 3.x required" >&2;}
3476 { (exit 1); exit 1; }; }
3479 echo "$as_me:$LINENO: checking for GNU make" >&5
3480 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3481 if test "${_cv_gnu_make_command+set}" = set; then
3482 echo $ECHO_N "(cached) $ECHO_C" >&6
3484 _cv_gnu_make_command='' ;
3485 for a in "$MAKE" make gmake gnumake ; do
3486 if test -z "$a" ; then continue ; fi ;
3487 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3488 _cv_gnu_make_command=$a ;
3494 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3495 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3496 if test "x$_cv_gnu_make_command" != "x" ; then
3500 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3501 echo "${ECHO_T}\"Not found\"" >&6;
3505 if test -z "$_cv_gnu_make_command"
3507 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3508 echo "$as_me: error: GNU Make required but not found" >&2;}
3509 { (exit 1); exit 1; }; }
3513 echo "$as_me:$LINENO: checking " >&5
3514 echo $ECHO_N "checking ... $ECHO_C" >&6
3515 if test "${ac_cv_has_flex+set}" = set; then
3516 echo $ECHO_N "(cached) $ECHO_C" >&6
3518 for ac_prog in flex lex
3520 # Extract the first word of "$ac_prog", so it can be a program name with args.
3521 set dummy $ac_prog; ac_word=$2
3522 echo "$as_me:$LINENO: checking for $ac_word" >&5
3523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3524 if test "${ac_cv_prog_LEX+set}" = set; then
3525 echo $ECHO_N "(cached) $ECHO_C" >&6
3527 if test -n "$LEX"; then
3528 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3534 test -z "$as_dir" && as_dir=.
3535 for ac_exec_ext in '' $ac_executable_extensions; do
3536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3537 ac_cv_prog_LEX="$ac_prog"
3538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3547 if test -n "$LEX"; then
3548 echo "$as_me:$LINENO: result: $LEX" >&5
3549 echo "${ECHO_T}$LEX" >&6
3551 echo "$as_me:$LINENO: result: no" >&5
3552 echo "${ECHO_T}no" >&6
3555 test -n "$LEX" && break
3557 test -n "$LEX" || LEX=":"
3559 if test -z "$LEXLIB"
3561 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3562 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3563 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3564 echo $ECHO_N "(cached) $ECHO_C" >&6
3566 ac_check_lib_save_LIBS=$LIBS
3568 cat >conftest.$ac_ext <<_ACEOF
3569 #line $LINENO "configure"
3572 cat confdefs.h >>conftest.$ac_ext
3573 cat >>conftest.$ac_ext <<_ACEOF
3574 /* end confdefs.h. */
3576 /* Override any gcc2 internal prototype to avoid an error. */
3580 /* We use char because int might match the return type of a gcc2
3581 builtin and then its argument prototype would still apply. */
3591 rm -f conftest.$ac_objext conftest$ac_exeext
3592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3593 (eval $ac_link) 2>&5
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); } &&
3597 { ac_try='test -s conftest$ac_exeext'
3598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); }; }; then
3603 ac_cv_lib_fl_yywrap=yes
3605 echo "$as_me: failed program was:" >&5
3606 sed 's/^/| /' conftest.$ac_ext >&5
3608 ac_cv_lib_fl_yywrap=no
3610 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3611 LIBS=$ac_check_lib_save_LIBS
3613 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3614 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3615 if test $ac_cv_lib_fl_yywrap = yes; then
3618 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3619 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3620 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3621 echo $ECHO_N "(cached) $ECHO_C" >&6
3623 ac_check_lib_save_LIBS=$LIBS
3625 cat >conftest.$ac_ext <<_ACEOF
3626 #line $LINENO "configure"
3629 cat confdefs.h >>conftest.$ac_ext
3630 cat >>conftest.$ac_ext <<_ACEOF
3631 /* end confdefs.h. */
3633 /* Override any gcc2 internal prototype to avoid an error. */
3637 /* We use char because int might match the return type of a gcc2
3638 builtin and then its argument prototype would still apply. */
3648 rm -f conftest.$ac_objext conftest$ac_exeext
3649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3650 (eval $ac_link) 2>&5
3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653 (exit $ac_status); } &&
3654 { ac_try='test -s conftest$ac_exeext'
3655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); }; }; then
3660 ac_cv_lib_l_yywrap=yes
3662 echo "$as_me: failed program was:" >&5
3663 sed 's/^/| /' conftest.$ac_ext >&5
3665 ac_cv_lib_l_yywrap=no
3667 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3668 LIBS=$ac_check_lib_save_LIBS
3670 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3671 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3672 if test $ac_cv_lib_l_yywrap = yes; then
3680 if test "x$LEX" != "x:"; then
3681 echo "$as_me:$LINENO: checking lex output file root" >&5
3682 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3683 if test "${ac_cv_prog_lex_root+set}" = set; then
3684 echo $ECHO_N "(cached) $ECHO_C" >&6
3686 # The minimal lex program is just a single line: %%. But some broken lexes
3687 # (Solaris, I think it was) want two %% lines, so accommodate them.
3688 cat >conftest.l <<_ACEOF
3692 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3693 (eval $LEX conftest.l) 2>&5
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); }
3697 if test -f lex.yy.c; then
3698 ac_cv_prog_lex_root=lex.yy
3699 elif test -f lexyy.c; then
3700 ac_cv_prog_lex_root=lexyy
3702 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3703 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3704 { (exit 1); exit 1; }; }
3707 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3708 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3710 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3712 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3713 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3714 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3715 echo $ECHO_N "(cached) $ECHO_C" >&6
3717 # POSIX says lex can declare yytext either as a pointer or an array; the
3718 # default is implementation-dependent. Figure out which it is, since
3719 # not all implementations provide the %pointer and %array declarations.
3720 ac_cv_prog_lex_yytext_pointer=no
3721 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3723 LIBS="$LIBS $LEXLIB"
3724 cat >conftest.$ac_ext <<_ACEOF
3725 `cat $LEX_OUTPUT_ROOT.c`
3727 rm -f conftest.$ac_objext conftest$ac_exeext
3728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3729 (eval $ac_link) 2>&5
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); } &&
3733 { ac_try='test -s conftest$ac_exeext'
3734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738 (exit $ac_status); }; }; then
3739 ac_cv_prog_lex_yytext_pointer=yes
3741 echo "$as_me: failed program was:" >&5
3742 sed 's/^/| /' conftest.$ac_ext >&5
3745 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3747 rm -f "${LEX_OUTPUT_ROOT}.c"
3750 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3751 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3752 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3754 cat >>confdefs.h <<\_ACEOF
3755 #define YYTEXT_POINTER 1
3763 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3764 echo "${ECHO_T}$ac_cv_has_flex" >&6
3765 if test "$LEX" != "flex"; then
3766 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3767 echo "$as_me: error: flex not found but required" >&2;}
3768 { (exit 1); exit 1; }; }
3771 echo "$as_me:$LINENO: checking " >&5
3772 echo $ECHO_N "checking ... $ECHO_C" >&6
3773 if test "${ac_cv_has_bison+set}" = set; then
3774 echo $ECHO_N "(cached) $ECHO_C" >&6
3776 for ac_prog in 'bison -y' byacc
3778 # Extract the first word of "$ac_prog", so it can be a program name with args.
3779 set dummy $ac_prog; ac_word=$2
3780 echo "$as_me:$LINENO: checking for $ac_word" >&5
3781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3782 if test "${ac_cv_prog_YACC+set}" = set; then
3783 echo $ECHO_N "(cached) $ECHO_C" >&6
3785 if test -n "$YACC"; then
3786 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3792 test -z "$as_dir" && as_dir=.
3793 for ac_exec_ext in '' $ac_executable_extensions; do
3794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3795 ac_cv_prog_YACC="$ac_prog"
3796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3804 YACC=$ac_cv_prog_YACC
3805 if test -n "$YACC"; then
3806 echo "$as_me:$LINENO: result: $YACC" >&5
3807 echo "${ECHO_T}$YACC" >&6
3809 echo "$as_me:$LINENO: result: no" >&5
3810 echo "${ECHO_T}no" >&6
3813 test -n "$YACC" && break
3815 test -n "$YACC" || YACC="yacc"
3819 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3820 echo "${ECHO_T}$ac_cv_has_bison" >&6
3821 if test "$YACC" != "bison -y"; then
3822 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3823 echo "$as_me: error: bison not found but required" >&2;}
3824 { (exit 1); exit 1; }; }
3831 # Check whether --enable-shared or --disable-shared was given.
3832 if test "${enable_shared+set}" = set; then
3833 enableval="$enable_shared"
3834 p=${PACKAGE-default}
3836 yes) enable_shared=yes ;;
3837 no) enable_shared=no ;;
3840 # Look at the argument we got. We use all the common list separators.
3841 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3842 for pkg in $enableval; do
3844 if test "X$pkg" = "X$p"; then
3855 # Check whether --enable-static or --disable-static was given.
3856 if test "${enable_static+set}" = set; then
3857 enableval="$enable_static"
3858 p=${PACKAGE-default}
3860 yes) enable_static=yes ;;
3861 no) enable_static=no ;;
3864 # Look at the argument we got. We use all the common list separators.
3865 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3866 for pkg in $enableval; do
3868 if test "X$pkg" = "X$p"; then
3879 # Check whether --enable-fast-install or --disable-fast-install was given.
3880 if test "${enable_fast_install+set}" = set; then
3881 enableval="$enable_fast_install"
3882 p=${PACKAGE-default}
3884 yes) enable_fast_install=yes ;;
3885 no) enable_fast_install=no ;;
3887 enable_fast_install=no
3888 # Look at the argument we got. We use all the common list separators.
3889 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3890 for pkg in $enableval; do
3892 if test "X$pkg" = "X$p"; then
3893 enable_fast_install=yes
3900 enable_fast_install=yes
3903 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3904 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3905 if test "${lt_cv_path_SED+set}" = set; then
3906 echo $ECHO_N "(cached) $ECHO_C" >&6
3908 # Loop through the user's path and test for sed and gsed.
3909 # Then use that list of sed's as ones to test for truncation.
3910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3914 test -z "$as_dir" && as_dir=.
3915 for lt_ac_prog in sed gsed; do
3916 for ac_exec_ext in '' $ac_executable_extensions; do
3917 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3918 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3925 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3926 # along with /bin/sed that truncates output.
3927 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3928 test ! -f $lt_ac_sed && break
3929 cat /dev/null > conftest.in
3931 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3932 # Check for GNU sed and select it if it is found.
3933 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3934 lt_cv_path_SED=$lt_ac_sed
3938 cat conftest.in conftest.in >conftest.tmp
3939 mv conftest.tmp conftest.in
3940 cp conftest.in conftest.nl
3942 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3943 cmp -s conftest.out conftest.nl || break
3944 # 10000 chars as input seems more than enough
3945 test $lt_ac_count -gt 10 && break
3946 lt_ac_count=`expr $lt_ac_count + 1`
3947 if test $lt_ac_count -gt $lt_ac_max; then
3948 lt_ac_max=$lt_ac_count
3949 lt_cv_path_SED=$lt_ac_sed
3957 echo "$as_me:$LINENO: result: $SED" >&5
3958 echo "${ECHO_T}$SED" >&6
3960 echo "$as_me:$LINENO: checking for egrep" >&5
3961 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3962 if test "${ac_cv_prog_egrep+set}" = set; then
3963 echo $ECHO_N "(cached) $ECHO_C" >&6
3965 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3966 then ac_cv_prog_egrep='grep -E'
3967 else ac_cv_prog_egrep='egrep'
3970 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3971 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3972 EGREP=$ac_cv_prog_egrep
3976 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3977 if test "${with_gnu_ld+set}" = set; then
3978 withval="$with_gnu_ld"
3979 test "$withval" = no || with_gnu_ld=yes
3984 if test "$GCC" = yes; then
3985 # Check if gcc -print-prog-name=ld gives a path.
3986 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3987 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3990 # gcc leaves a trailing carriage return which upsets mingw
3991 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3993 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3996 # Accept absolute paths.
3998 re_direlt='/[^/][^/]*/\.\./'
3999 # Canonicalize the path of ld
4000 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4001 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4002 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4004 test -z "$LD" && LD="$ac_prog"
4007 # If it fails, then pretend we aren't using GCC.
4011 # If it is relative, then search for the first ld in PATH.
4015 elif test "$with_gnu_ld" = yes; then
4016 echo "$as_me:$LINENO: checking for GNU ld" >&5
4017 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4019 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4020 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4022 if test "${lt_cv_path_LD+set}" = set; then
4023 echo $ECHO_N "(cached) $ECHO_C" >&6
4025 if test -z "$LD"; then
4026 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4027 for ac_dir in $PATH; do
4029 test -z "$ac_dir" && ac_dir=.
4030 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4031 lt_cv_path_LD="$ac_dir/$ac_prog"
4032 # Check to see if the program is GNU ld. I'd rather use --version,
4033 # but apparently some GNU ld's only accept -v.
4034 # Break only if it was the GNU/non-GNU ld that we prefer.
4035 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4036 *GNU* | *'with BFD'*)
4037 test "$with_gnu_ld" != no && break
4040 test "$with_gnu_ld" != yes && break
4047 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4052 if test -n "$LD"; then
4053 echo "$as_me:$LINENO: result: $LD" >&5
4054 echo "${ECHO_T}$LD" >&6
4056 echo "$as_me:$LINENO: result: no" >&5
4057 echo "${ECHO_T}no" >&6
4059 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4060 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4061 { (exit 1); exit 1; }; }
4062 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4063 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4064 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4068 case `"$LD" -v 2>&1 </dev/null` in
4069 *GNU* | *'with BFD'*)
4070 lt_cv_prog_gnu_ld=yes
4073 lt_cv_prog_gnu_ld=no
4077 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4078 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4079 with_gnu_ld=$lt_cv_prog_gnu_ld
4082 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4083 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4084 if test "${lt_cv_ld_reload_flag+set}" = set; then
4085 echo $ECHO_N "(cached) $ECHO_C" >&6
4087 lt_cv_ld_reload_flag='-r'
4089 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4090 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4091 reload_flag=$lt_cv_ld_reload_flag
4092 case $reload_flag in
4094 *) reload_flag=" $reload_flag" ;;
4096 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4098 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4099 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4100 if test "${lt_cv_path_NM+set}" = set; then
4101 echo $ECHO_N "(cached) $ECHO_C" >&6
4103 if test -n "$NM"; then
4104 # Let the user override the test.
4107 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4108 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4110 test -z "$ac_dir" && ac_dir=.
4111 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4112 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4113 # Check to see if the nm accepts a BSD-compat flag.
4114 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4115 # nm: unknown option "B" ignored
4116 # Tru64's nm complains that /dev/null is an invalid object file
4117 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4118 */dev/null* | *'Invalid file or object type'*)
4119 lt_cv_path_NM="$tmp_nm -B"
4123 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4125 lt_cv_path_NM="$tmp_nm -p"
4129 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4130 continue # so that we can try to find one that supports BSD flags
4137 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4140 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4141 echo "${ECHO_T}$lt_cv_path_NM" >&6
4144 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4145 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4147 if test "$LN_S" = "ln -s"; then
4148 echo "$as_me:$LINENO: result: yes" >&5
4149 echo "${ECHO_T}yes" >&6
4151 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4152 echo "${ECHO_T}no, using $LN_S" >&6
4155 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4156 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4157 if test "${lt_cv_deplibs_check_method+set}" = set; then
4158 echo $ECHO_N "(cached) $ECHO_C" >&6
4160 lt_cv_file_magic_cmd='$MAGIC_CMD'
4161 lt_cv_file_magic_test_file=
4162 lt_cv_deplibs_check_method='unknown'
4163 # Need to set the preceding variable on all platforms that support
4164 # interlibrary dependencies.
4165 # 'none' -- dependencies not supported.
4166 # `unknown' -- same as none, but documents that we really don't know.
4167 # 'pass_all' -- all dependencies passed with no checks.
4168 # 'test_compile' -- check by making test program.
4169 # 'file_magic [[regex]]' -- check by looking for files in library path
4170 # which responds to the $file_magic_cmd with a given extended regex.
4171 # If you have `file' or equivalent on your system and you're not sure
4172 # whether `pass_all' will *always* work, you probably want this one.
4176 lt_cv_deplibs_check_method=pass_all
4180 lt_cv_deplibs_check_method=pass_all
4184 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4185 lt_cv_file_magic_cmd='/usr/bin/file -L'
4186 lt_cv_file_magic_test_file=/shlib/libc.so
4189 cygwin* | mingw* | pw32*)
4190 # win32_libid is a shell function defined in ltmain.sh
4191 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4192 lt_cv_file_magic_cmd='win32_libid'
4195 darwin* | rhapsody*)
4196 # this will be overwritten by pass_all, but leave it in just in case
4197 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4198 lt_cv_file_magic_cmd='/usr/bin/file -L'
4200 rhapsody* | darwin1.[012])
4201 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4204 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4207 lt_cv_deplibs_check_method=pass_all
4211 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4214 # Not sure whether the presence of OpenBSD here was a mistake.
4215 # Let's accept both of them until this is cleared up.
4216 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4217 lt_cv_file_magic_cmd=/usr/bin/file
4218 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4222 lt_cv_deplibs_check_method=pass_all
4227 lt_cv_deplibs_check_method=pass_all
4230 hpux10.20* | hpux11*)
4231 lt_cv_file_magic_cmd=/usr/bin/file
4234 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4235 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4238 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]'
4239 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4242 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4243 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4248 irix5* | irix6* | nonstopux*)
4250 irix5* | nonstopux*)
4251 # this will be overridden with pass_all, but let us keep it just in case
4252 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4256 *-32|*"-32 ") libmagic=32-bit;;
4257 *-n32|*"-n32 ") libmagic=N32;;
4258 *-64|*"-64 ") libmagic=64-bit;;
4259 *) libmagic=never-match;;
4261 # this will be overridden with pass_all, but let us keep it just in case
4262 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4265 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4266 lt_cv_deplibs_check_method=pass_all
4269 # This must be Linux ELF.
4272 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4273 lt_cv_deplibs_check_method=pass_all ;;
4275 # glibc up to 2.1.1 does not perform some relocations on ARM
4276 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4278 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4282 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4283 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4285 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4290 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4291 lt_cv_file_magic_cmd=/usr/bin/file
4292 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4296 lt_cv_deplibs_check_method=unknown
4300 lt_cv_file_magic_cmd=/usr/bin/file
4301 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4302 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4303 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4305 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4309 osf3* | osf4* | osf5*)
4310 # this will be overridden with pass_all, but let us keep it just in case
4311 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4312 lt_cv_file_magic_test_file=/shlib/libc.so
4313 lt_cv_deplibs_check_method=pass_all
4317 lt_cv_deplibs_check_method=pass_all
4321 lt_cv_deplibs_check_method=pass_all
4322 lt_cv_file_magic_test_file=/lib/libc.so
4325 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4326 case $host_vendor in
4328 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]'
4329 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4332 lt_cv_deplibs_check_method=pass_all
4335 lt_cv_file_magic_cmd='/bin/file'
4336 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4339 lt_cv_file_magic_cmd='/bin/file'
4340 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4341 lt_cv_file_magic_test_file=/lib/libc.so
4344 lt_cv_deplibs_check_method=pass_all
4349 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4350 lt_cv_deplibs_check_method=pass_all
4355 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4356 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4357 file_magic_cmd=$lt_cv_file_magic_cmd
4358 deplibs_check_method=$lt_cv_deplibs_check_method
4359 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4364 # If no C compiler was specified, use CC.
4367 # Allow CC to be a program name with arguments.
4370 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4371 if test "${enable_libtool_lock+set}" = set; then
4372 enableval="$enable_libtool_lock"
4375 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4377 # Some flags need to be propagated to the compiler or linker for good
4381 # Find out which ABI we are using.
4382 echo 'int i;' > conftest.$ac_ext
4383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4384 (eval $ac_compile) 2>&5
4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387 (exit $ac_status); }; then
4388 case `/usr/bin/file conftest.$ac_objext` in
4400 # Find out which ABI we are using.
4401 echo '#line 4401 "configure"' > conftest.$ac_ext
4402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4403 (eval $ac_compile) 2>&5
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4406 (exit $ac_status); }; then
4407 if test "$lt_cv_prog_gnu_ld" = yes; then
4408 case `/usr/bin/file conftest.$ac_objext` in
4410 LD="${LD-ld} -melf32bsmip"
4413 LD="${LD-ld} -melf32bmipn32"
4416 LD="${LD-ld} -melf64bmip"
4420 case `/usr/bin/file conftest.$ac_objext` in
4436 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4437 # Find out which ABI we are using.
4438 echo 'int i;' > conftest.$ac_ext
4439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4440 (eval $ac_compile) 2>&5
4442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443 (exit $ac_status); }; then
4444 case "`/usr/bin/file conftest.o`" in
4448 LD="${LD-ld} -m elf_i386"
4451 LD="${LD-ld} -m elf32ppclinux"
4454 LD="${LD-ld} -m elf_s390"
4457 LD="${LD-ld} -m elf32_sparc"
4464 LD="${LD-ld} -m elf_x86_64"
4466 ppc*-*linux*|powerpc*-*linux*)
4467 LD="${LD-ld} -m elf64ppc"
4470 LD="${LD-ld} -m elf64_s390"
4473 LD="${LD-ld} -m elf64_sparc"
4483 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4484 SAVE_CFLAGS="$CFLAGS"
4485 CFLAGS="$CFLAGS -belf"
4486 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4487 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4488 if test "${lt_cv_cc_needs_belf+set}" = set; then
4489 echo $ECHO_N "(cached) $ECHO_C" >&6
4492 ac_cpp='$CPP $CPPFLAGS'
4493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4497 cat >conftest.$ac_ext <<_ACEOF
4498 #line $LINENO "configure"
4501 cat confdefs.h >>conftest.$ac_ext
4502 cat >>conftest.$ac_ext <<_ACEOF
4503 /* end confdefs.h. */
4513 rm -f conftest.$ac_objext conftest$ac_exeext
4514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4515 (eval $ac_link) 2>&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 (exit $ac_status); } &&
4519 { ac_try='test -s conftest$ac_exeext'
4520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); }; }; then
4525 lt_cv_cc_needs_belf=yes
4527 echo "$as_me: failed program was:" >&5
4528 sed 's/^/| /' conftest.$ac_ext >&5
4530 lt_cv_cc_needs_belf=no
4532 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4534 ac_cpp='$CPP $CPPFLAGS'
4535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4540 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4541 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4542 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4543 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4544 CFLAGS="$SAVE_CFLAGS"
4550 need_locks="$enable_libtool_lock"
4554 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4555 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4556 if test "${ac_cv_header_stdc+set}" = set; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4559 cat >conftest.$ac_ext <<_ACEOF
4560 #line $LINENO "configure"
4563 cat confdefs.h >>conftest.$ac_ext
4564 cat >>conftest.$ac_ext <<_ACEOF
4565 /* end confdefs.h. */
4579 rm -f conftest.$ac_objext
4580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4581 (eval $ac_compile) 2>&5
4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); } &&
4585 { ac_try='test -s conftest.$ac_objext'
4586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); }; }; then
4591 ac_cv_header_stdc=yes
4593 echo "$as_me: failed program was:" >&5
4594 sed 's/^/| /' conftest.$ac_ext >&5
4596 ac_cv_header_stdc=no
4598 rm -f conftest.$ac_objext conftest.$ac_ext
4600 if test $ac_cv_header_stdc = yes; then
4601 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4602 cat >conftest.$ac_ext <<_ACEOF
4603 #line $LINENO "configure"
4606 cat confdefs.h >>conftest.$ac_ext
4607 cat >>conftest.$ac_ext <<_ACEOF
4608 /* end confdefs.h. */
4612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4613 $EGREP "memchr" >/dev/null 2>&1; then
4616 ac_cv_header_stdc=no
4622 if test $ac_cv_header_stdc = yes; then
4623 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4624 cat >conftest.$ac_ext <<_ACEOF
4625 #line $LINENO "configure"
4628 cat confdefs.h >>conftest.$ac_ext
4629 cat >>conftest.$ac_ext <<_ACEOF
4630 /* end confdefs.h. */
4634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4635 $EGREP "free" >/dev/null 2>&1; then
4638 ac_cv_header_stdc=no
4644 if test $ac_cv_header_stdc = yes; then
4645 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4646 if test "$cross_compiling" = yes; then
4649 cat >conftest.$ac_ext <<_ACEOF
4650 #line $LINENO "configure"
4653 cat confdefs.h >>conftest.$ac_ext
4654 cat >>conftest.$ac_ext <<_ACEOF
4655 /* end confdefs.h. */
4657 #if ((' ' & 0x0FF) == 0x020)
4658 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4659 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4661 # define ISLOWER(c) \
4662 (('a' <= (c) && (c) <= 'i') \
4663 || ('j' <= (c) && (c) <= 'r') \
4664 || ('s' <= (c) && (c) <= 'z'))
4665 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4668 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4673 for (i = 0; i < 256; i++)
4674 if (XOR (islower (i), ISLOWER (i))
4675 || toupper (i) != TOUPPER (i))
4680 rm -f conftest$ac_exeext
4681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4682 (eval $ac_link) 2>&5
4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); }; }; then
4693 echo "$as_me: program exited with status $ac_status" >&5
4694 echo "$as_me: failed program was:" >&5
4695 sed 's/^/| /' conftest.$ac_ext >&5
4698 ac_cv_header_stdc=no
4700 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4704 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4705 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4706 if test $ac_cv_header_stdc = yes; then
4708 cat >>confdefs.h <<\_ACEOF
4709 #define STDC_HEADERS 1
4714 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4724 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4725 inttypes.h stdint.h unistd.h
4727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4728 echo "$as_me:$LINENO: checking for $ac_header" >&5
4729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4731 echo $ECHO_N "(cached) $ECHO_C" >&6
4733 cat >conftest.$ac_ext <<_ACEOF
4734 #line $LINENO "configure"
4737 cat confdefs.h >>conftest.$ac_ext
4738 cat >>conftest.$ac_ext <<_ACEOF
4739 /* end confdefs.h. */
4740 $ac_includes_default
4742 #include <$ac_header>
4744 rm -f conftest.$ac_objext
4745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4746 (eval $ac_compile) 2>&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); } &&
4750 { ac_try='test -s conftest.$ac_objext'
4751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); }; }; then
4756 eval "$as_ac_Header=yes"
4758 echo "$as_me: failed program was:" >&5
4759 sed 's/^/| /' conftest.$ac_ext >&5
4761 eval "$as_ac_Header=no"
4763 rm -f conftest.$ac_objext conftest.$ac_ext
4765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4767 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4768 cat >>confdefs.h <<_ACEOF
4769 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4778 for ac_header in dlfcn.h
4780 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4782 echo "$as_me:$LINENO: checking for $ac_header" >&5
4783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4785 echo $ECHO_N "(cached) $ECHO_C" >&6
4787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4790 # Is the header compilable?
4791 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4792 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4793 cat >conftest.$ac_ext <<_ACEOF
4794 #line $LINENO "configure"
4797 cat confdefs.h >>conftest.$ac_ext
4798 cat >>conftest.$ac_ext <<_ACEOF
4799 /* end confdefs.h. */
4800 $ac_includes_default
4801 #include <$ac_header>
4803 rm -f conftest.$ac_objext
4804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4805 (eval $ac_compile) 2>&5
4807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808 (exit $ac_status); } &&
4809 { ac_try='test -s conftest.$ac_objext'
4810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); }; }; then
4815 ac_header_compiler=yes
4817 echo "$as_me: failed program was:" >&5
4818 sed 's/^/| /' conftest.$ac_ext >&5
4820 ac_header_compiler=no
4822 rm -f conftest.$ac_objext conftest.$ac_ext
4823 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4824 echo "${ECHO_T}$ac_header_compiler" >&6
4826 # Is the header present?
4827 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4828 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4829 cat >conftest.$ac_ext <<_ACEOF
4830 #line $LINENO "configure"
4833 cat confdefs.h >>conftest.$ac_ext
4834 cat >>conftest.$ac_ext <<_ACEOF
4835 /* end confdefs.h. */
4836 #include <$ac_header>
4838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4839 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4841 grep -v '^ *+' conftest.er1 >conftest.err
4843 cat conftest.err >&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); } >/dev/null; then
4846 if test -s conftest.err; then
4847 ac_cpp_err=$ac_c_preproc_warn_flag
4854 if test -z "$ac_cpp_err"; then
4855 ac_header_preproc=yes
4857 echo "$as_me: failed program was:" >&5
4858 sed 's/^/| /' conftest.$ac_ext >&5
4860 ac_header_preproc=no
4862 rm -f conftest.err conftest.$ac_ext
4863 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4864 echo "${ECHO_T}$ac_header_preproc" >&6
4866 # So? What about this header?
4867 case $ac_header_compiler:$ac_header_preproc in
4869 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4870 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4872 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4875 ## ------------------------------------ ##
4876 ## Report this to bug-autoconf@gnu.org. ##
4877 ## ------------------------------------ ##
4880 sed "s/^/$as_me: WARNING: /" >&2
4883 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4884 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4885 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4886 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4887 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4888 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4891 ## ------------------------------------ ##
4892 ## Report this to bug-autoconf@gnu.org. ##
4893 ## ------------------------------------ ##
4896 sed "s/^/$as_me: WARNING: /" >&2
4899 echo "$as_me:$LINENO: checking for $ac_header" >&5
4900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4902 echo $ECHO_N "(cached) $ECHO_C" >&6
4904 eval "$as_ac_Header=$ac_header_preproc"
4906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4911 cat >>confdefs.h <<_ACEOF
4912 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4920 ac_cpp='$CXXCPP $CPPFLAGS'
4921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4924 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4925 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4926 if test -z "$CXXCPP"; then
4927 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4928 echo $ECHO_N "(cached) $ECHO_C" >&6
4930 # Double quotes because CXXCPP needs to be expanded
4931 for CXXCPP in "$CXX -E" "/lib/cpp"
4934 for ac_cxx_preproc_warn_flag in '' yes
4936 # Use a header file that comes with gcc, so configuring glibc
4937 # with a fresh cross-compiler works.
4938 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4939 # <limits.h> exists even on freestanding compilers.
4940 # On the NeXT, cc -E runs the code through the compiler's parser,
4941 # not just through cpp. "Syntax error" is here to catch this case.
4942 cat >conftest.$ac_ext <<_ACEOF
4943 #line $LINENO "configure"
4946 cat confdefs.h >>conftest.$ac_ext
4947 cat >>conftest.$ac_ext <<_ACEOF
4948 /* end confdefs.h. */
4950 # include <limits.h>
4952 # include <assert.h>
4956 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4957 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4959 grep -v '^ *+' conftest.er1 >conftest.err
4961 cat conftest.err >&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); } >/dev/null; then
4964 if test -s conftest.err; then
4965 ac_cpp_err=$ac_cxx_preproc_warn_flag
4972 if test -z "$ac_cpp_err"; then
4975 echo "$as_me: failed program was:" >&5
4976 sed 's/^/| /' conftest.$ac_ext >&5
4978 # Broken: fails on valid input.
4981 rm -f conftest.err conftest.$ac_ext
4983 # OK, works on sane cases. Now check whether non-existent headers
4984 # can be detected and how.
4985 cat >conftest.$ac_ext <<_ACEOF
4986 #line $LINENO "configure"
4989 cat confdefs.h >>conftest.$ac_ext
4990 cat >>conftest.$ac_ext <<_ACEOF
4991 /* end confdefs.h. */
4992 #include <ac_nonexistent.h>
4994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4995 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4997 grep -v '^ *+' conftest.er1 >conftest.err
4999 cat conftest.err >&5
5000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5001 (exit $ac_status); } >/dev/null; then
5002 if test -s conftest.err; then
5003 ac_cpp_err=$ac_cxx_preproc_warn_flag
5010 if test -z "$ac_cpp_err"; then
5011 # Broken: success on invalid input.
5014 echo "$as_me: failed program was:" >&5
5015 sed 's/^/| /' conftest.$ac_ext >&5
5017 # Passes both tests.
5021 rm -f conftest.err conftest.$ac_ext
5024 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5025 rm -f conftest.err conftest.$ac_ext
5026 if $ac_preproc_ok; then
5031 ac_cv_prog_CXXCPP=$CXXCPP
5034 CXXCPP=$ac_cv_prog_CXXCPP
5036 ac_cv_prog_CXXCPP=$CXXCPP
5038 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5039 echo "${ECHO_T}$CXXCPP" >&6
5041 for ac_cxx_preproc_warn_flag in '' yes
5043 # Use a header file that comes with gcc, so configuring glibc
5044 # with a fresh cross-compiler works.
5045 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5046 # <limits.h> exists even on freestanding compilers.
5047 # On the NeXT, cc -E runs the code through the compiler's parser,
5048 # not just through cpp. "Syntax error" is here to catch this case.
5049 cat >conftest.$ac_ext <<_ACEOF
5050 #line $LINENO "configure"
5053 cat confdefs.h >>conftest.$ac_ext
5054 cat >>conftest.$ac_ext <<_ACEOF
5055 /* end confdefs.h. */
5057 # include <limits.h>
5059 # include <assert.h>
5063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5064 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5066 grep -v '^ *+' conftest.er1 >conftest.err
5068 cat conftest.err >&5
5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); } >/dev/null; then
5071 if test -s conftest.err; then
5072 ac_cpp_err=$ac_cxx_preproc_warn_flag
5079 if test -z "$ac_cpp_err"; then
5082 echo "$as_me: failed program was:" >&5
5083 sed 's/^/| /' conftest.$ac_ext >&5
5085 # Broken: fails on valid input.
5088 rm -f conftest.err conftest.$ac_ext
5090 # OK, works on sane cases. Now check whether non-existent headers
5091 # can be detected and how.
5092 cat >conftest.$ac_ext <<_ACEOF
5093 #line $LINENO "configure"
5096 cat confdefs.h >>conftest.$ac_ext
5097 cat >>conftest.$ac_ext <<_ACEOF
5098 /* end confdefs.h. */
5099 #include <ac_nonexistent.h>
5101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5102 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5104 grep -v '^ *+' conftest.er1 >conftest.err
5106 cat conftest.err >&5
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); } >/dev/null; then
5109 if test -s conftest.err; then
5110 ac_cpp_err=$ac_cxx_preproc_warn_flag
5117 if test -z "$ac_cpp_err"; then
5118 # Broken: success on invalid input.
5121 echo "$as_me: failed program was:" >&5
5122 sed 's/^/| /' conftest.$ac_ext >&5
5124 # Passes both tests.
5128 rm -f conftest.err conftest.$ac_ext
5131 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5132 rm -f conftest.err conftest.$ac_ext
5133 if $ac_preproc_ok; then
5136 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5137 See \`config.log' for more details." >&5
5138 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5139 See \`config.log' for more details." >&2;}
5140 { (exit 1); exit 1; }; }
5144 ac_cpp='$CXXCPP $CPPFLAGS'
5145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5151 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5152 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5153 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5154 if test -n "$ac_tool_prefix"; then
5155 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5157 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5158 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5159 echo "$as_me:$LINENO: checking for $ac_word" >&5
5160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5161 if test "${ac_cv_prog_F77+set}" = set; then
5162 echo $ECHO_N "(cached) $ECHO_C" >&6
5164 if test -n "$F77"; then
5165 ac_cv_prog_F77="$F77" # Let the user override the test.
5167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 test -z "$as_dir" && as_dir=.
5172 for ac_exec_ext in '' $ac_executable_extensions; do
5173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5174 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 if test -n "$F77"; then
5185 echo "$as_me:$LINENO: result: $F77" >&5
5186 echo "${ECHO_T}$F77" >&6
5188 echo "$as_me:$LINENO: result: no" >&5
5189 echo "${ECHO_T}no" >&6
5192 test -n "$F77" && break
5195 if test -z "$F77"; then
5197 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5199 # Extract the first word of "$ac_prog", so it can be a program name with args.
5200 set dummy $ac_prog; ac_word=$2
5201 echo "$as_me:$LINENO: checking for $ac_word" >&5
5202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5203 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 if test -n "$ac_ct_F77"; then
5207 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 test -z "$as_dir" && as_dir=.
5214 for ac_exec_ext in '' $ac_executable_extensions; do
5215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5216 ac_cv_prog_ac_ct_F77="$ac_prog"
5217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5225 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5226 if test -n "$ac_ct_F77"; then
5227 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5228 echo "${ECHO_T}$ac_ct_F77" >&6
5230 echo "$as_me:$LINENO: result: no" >&5
5231 echo "${ECHO_T}no" >&6
5234 test -n "$ac_ct_F77" && break
5241 # Provide some information about the compiler.
5242 echo "$as_me:5242:" \
5243 "checking for Fortran 77 compiler version" >&5
5244 ac_compiler=`set X $ac_compile; echo $2`
5245 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5246 (eval $ac_compiler --version </dev/null >&5) 2>&5
5248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249 (exit $ac_status); }
5250 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5251 (eval $ac_compiler -v </dev/null >&5) 2>&5
5253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254 (exit $ac_status); }
5255 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5256 (eval $ac_compiler -V </dev/null >&5) 2>&5
5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5259 (exit $ac_status); }
5261 # If we don't use `.F' as extension, the preprocessor is not run on the
5265 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5266 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5267 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5268 echo $ECHO_N "(cached) $ECHO_C" >&6
5270 cat >conftest.$ac_ext <<_ACEOF
5278 rm -f conftest.$ac_objext
5279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5280 (eval $ac_compile) 2>&5
5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283 (exit $ac_status); } &&
5284 { ac_try='test -s conftest.$ac_objext'
5285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289 (exit $ac_status); }; }; then
5292 echo "$as_me: failed program was:" >&5
5293 sed 's/^/| /' conftest.$ac_ext >&5
5297 rm -f conftest.$ac_objext conftest.$ac_ext
5298 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5301 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5302 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5304 G77=`test $ac_compiler_gnu = yes && echo yes`
5305 ac_test_FFLAGS=${FFLAGS+set}
5306 ac_save_FFLAGS=$FFLAGS
5308 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5309 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5310 if test "${ac_cv_prog_f77_g+set}" = set; then
5311 echo $ECHO_N "(cached) $ECHO_C" >&6
5314 cat >conftest.$ac_ext <<_ACEOF
5319 rm -f conftest.$ac_objext
5320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5321 (eval $ac_compile) 2>&5
5323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5324 (exit $ac_status); } &&
5325 { ac_try='test -s conftest.$ac_objext'
5326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330 (exit $ac_status); }; }; then
5331 ac_cv_prog_f77_g=yes
5333 echo "$as_me: failed program was:" >&5
5334 sed 's/^/| /' conftest.$ac_ext >&5
5338 rm -f conftest.$ac_objext conftest.$ac_ext
5341 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5342 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5343 if test "$ac_test_FFLAGS" = set; then
5344 FFLAGS=$ac_save_FFLAGS
5345 elif test $ac_cv_prog_f77_g = yes; then
5346 if test "$G77" = yes; then
5352 if test "$G77" = yes; then
5359 ac_cpp='$CPP $CPPFLAGS'
5360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5366 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5368 # find the maximum length of command line arguments
5369 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5370 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5371 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5372 echo $ECHO_N "(cached) $ECHO_C" >&6
5379 # On DJGPP, this test can blow up pretty badly due to problems in libc
5380 # (any single argument exceeding 2000 bytes causes a buffer overrun
5381 # during glob expansion). Even if it were fixed, the result of this
5382 # check would be larger than it should be.
5383 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5387 # Under GNU Hurd, this test is not required because there is
5388 # no limit to the length of command line arguments.
5389 # Libtool will interpret -1 as no limit whatsoever
5390 lt_cv_sys_max_cmd_len=-1;
5394 # On Win9x/ME, this test blows up -- it succeeds, but takes
5395 # about 5 minutes as the teststring grows exponentially.
5396 # Worse, since 9x/ME are not pre-emptively multitasking,
5397 # you end up with a "frozen" computer, even though with patience
5398 # the test eventually succeeds (with a max line length of 256k).
5399 # Instead, let's just punt: use the minimum linelength reported by
5400 # all of the supported platforms: 8192 (on NT/2K/XP).
5401 lt_cv_sys_max_cmd_len=8192;
5405 # If test is not a shell built-in, we'll probably end up computing a
5406 # maximum length that is only half of the actual maximum length, but
5408 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5409 = "XX$testring") >/dev/null 2>&1 &&
5410 new_result=`expr "X$testring" : ".*" 2>&1` &&
5411 lt_cv_sys_max_cmd_len=$new_result &&
5412 test $i != 17 # 1/2 MB should be enough
5415 testring=$testring$testring
5418 # Add a significant safety factor because C++ compilers can tack on massive
5419 # amounts of additional arguments before passing them to the linker.
5420 # It appears as though 1/2 is a usable value.
5421 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5427 if test -n $lt_cv_sys_max_cmd_len ; then
5428 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5429 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5431 echo "$as_me:$LINENO: result: none" >&5
5432 echo "${ECHO_T}none" >&6
5438 # Check for command to grab the raw symbol name followed by C symbol from nm.
5439 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5440 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5441 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5442 echo $ECHO_N "(cached) $ECHO_C" >&6
5445 # These are sane defaults that work on at least a few old systems.
5446 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5448 # Character class describing NM global symbol codes.
5449 symcode='[BCDEGRST]'
5451 # Regexp to match symbols that can be accessed directly from C.
5452 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5454 # Transform the above into a raw symbol and a C symbol.
5455 symxfrm='\1 \2\3 \3'
5457 # Transform an extracted symbol line into a proper C declaration
5458 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5460 # Transform an extracted symbol line into symbol name and symbol address
5461 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'"
5463 # Define system-specific variables.
5468 cygwin* | mingw* | pw32*)
5469 symcode='[ABCDGISTW]'
5471 hpux*) # Its linker distinguishes data from code symbols
5472 if test "$host_cpu" = ia64; then
5473 symcode='[ABCDEGRST]'
5475 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5476 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'"
5479 symcode='[BCDEGRST]'
5482 symcode='[BCDEGQRST]'
5492 # Handle CRLF in mingw tool chain
5496 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5500 # If we're using GNU nm, then use its standard symbol codes.
5501 case `$NM -V 2>&1` in
5502 *GNU* | *'with BFD'*)
5503 symcode='[ABCDGISTW]' ;;
5506 # Try without a prefix undercore, then with it.
5507 for ac_symprfx in "" "_"; do
5509 # Write the raw and C identifiers.
5510 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5512 # Check to see that the pipe works correctly.
5516 cat > conftest.$ac_ext <<EOF
5521 void nm_test_func(){}
5525 int main(){nm_test_var='a';nm_test_func();return(0);}
5528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5529 (eval $ac_compile) 2>&5
5531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5532 (exit $ac_status); }; then
5533 # Now try to grab the symbols.
5535 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5536 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539 (exit $ac_status); } && test -s "$nlist"; then
5540 # Try sorting and uniquifying the output.
5541 if sort "$nlist" | uniq > "$nlist"T; then
5542 mv -f "$nlist"T "$nlist"
5547 # Make sure that we snagged all the symbols we need.
5548 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5549 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5550 cat <<EOF > conftest.$ac_ext
5556 # Now generate the symbol file.
5557 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5559 cat <<EOF >> conftest.$ac_ext
5560 #if defined (__STDC__) && __STDC__
5561 # define lt_ptr_t void *
5563 # define lt_ptr_t char *
5567 /* The mapping between symbol names and symbols. */
5572 lt_preloaded_symbols[] =
5575 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5576 cat <<\EOF >> conftest.$ac_ext
5584 # Now try linking the two files.
5585 mv conftest.$ac_objext conftstm.$ac_objext
5586 lt_save_LIBS="$LIBS"
5587 lt_save_CFLAGS="$CFLAGS"
5588 LIBS="conftstm.$ac_objext"
5589 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5591 (eval $ac_link) 2>&5
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5597 LIBS="$lt_save_LIBS"
5598 CFLAGS="$lt_save_CFLAGS"
5600 echo "cannot find nm_test_func in $nlist" >&5
5603 echo "cannot find nm_test_var in $nlist" >&5
5606 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5609 echo "$progname: failed program was:" >&5
5610 cat conftest.$ac_ext >&5
5612 rm -f conftest* conftst*
5614 # Do not use the global_symbol_pipe unless it works.
5615 if test "$pipe_works" = yes; then
5618 lt_cv_sys_global_symbol_pipe=
5624 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5625 lt_cv_sys_global_symbol_to_cdecl=
5627 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5628 echo "$as_me:$LINENO: result: failed" >&5
5629 echo "${ECHO_T}failed" >&6
5631 echo "$as_me:$LINENO: result: ok" >&5
5632 echo "${ECHO_T}ok" >&6
5635 echo "$as_me:$LINENO: checking for objdir" >&5
5636 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5637 if test "${lt_cv_objdir+set}" = set; then
5638 echo $ECHO_N "(cached) $ECHO_C" >&6
5640 rm -f .libs 2>/dev/null
5641 mkdir .libs 2>/dev/null
5642 if test -d .libs; then
5645 # MS-DOS does not allow filenames that begin with a dot.
5648 rmdir .libs 2>/dev/null
5650 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5651 echo "${ECHO_T}$lt_cv_objdir" >&6
5652 objdir=$lt_cv_objdir
5660 # AIX sometimes has problems with the GCC collect2 program. For some
5661 # reason, if we set the COLLECT_NAMES environment variable, the problems
5662 # vanish in a puff of smoke.
5663 if test "X${COLLECT_NAMES+set}" != Xset; then
5665 export COLLECT_NAMES
5670 # Sed substitution that helps us do robust quoting. It backslashifies
5671 # metacharacters that are still active within double-quoted strings.
5672 Xsed='sed -e s/^X//'
5673 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5675 # Same as above, but do not quote variable references.
5676 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5678 # Sed substitution to delay expansion of an escaped shell variable in a
5679 # double_quote_subst'ed string.
5680 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5682 # Sed substitution to avoid accidental globbing in evaled expressions
5683 no_glob_subst='s/\*/\\\*/g'
5690 can_build_shared=yes
5692 # All known linkers require a `.a' archive for static linking (except M$VC,
5693 # which needs '.lib').
5695 ltmain="$ac_aux_dir/ltmain.sh"
5696 ofile="$default_ofile"
5697 with_gnu_ld="$lt_cv_prog_gnu_ld"
5699 if test -n "$ac_tool_prefix"; then
5700 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5701 set dummy ${ac_tool_prefix}ar; ac_word=$2
5702 echo "$as_me:$LINENO: checking for $ac_word" >&5
5703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5704 if test "${ac_cv_prog_AR+set}" = set; then
5705 echo $ECHO_N "(cached) $ECHO_C" >&6
5707 if test -n "$AR"; then
5708 ac_cv_prog_AR="$AR" # Let the user override the test.
5710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714 test -z "$as_dir" && as_dir=.
5715 for ac_exec_ext in '' $ac_executable_extensions; do
5716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5717 ac_cv_prog_AR="${ac_tool_prefix}ar"
5718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5727 if test -n "$AR"; then
5728 echo "$as_me:$LINENO: result: $AR" >&5
5729 echo "${ECHO_T}$AR" >&6
5731 echo "$as_me:$LINENO: result: no" >&5
5732 echo "${ECHO_T}no" >&6
5736 if test -z "$ac_cv_prog_AR"; then
5738 # Extract the first word of "ar", so it can be a program name with args.
5739 set dummy ar; ac_word=$2
5740 echo "$as_me:$LINENO: checking for $ac_word" >&5
5741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5742 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5743 echo $ECHO_N "(cached) $ECHO_C" >&6
5745 if test -n "$ac_ct_AR"; then
5746 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 test -z "$as_dir" && as_dir=.
5753 for ac_exec_ext in '' $ac_executable_extensions; do
5754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5755 ac_cv_prog_ac_ct_AR="ar"
5756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5762 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5765 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5766 if test -n "$ac_ct_AR"; then
5767 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5768 echo "${ECHO_T}$ac_ct_AR" >&6
5770 echo "$as_me:$LINENO: result: no" >&5
5771 echo "${ECHO_T}no" >&6
5779 if test -n "$ac_tool_prefix"; then
5780 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5781 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5782 echo "$as_me:$LINENO: checking for $ac_word" >&5
5783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5784 if test "${ac_cv_prog_RANLIB+set}" = set; then
5785 echo $ECHO_N "(cached) $ECHO_C" >&6
5787 if test -n "$RANLIB"; then
5788 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 test -z "$as_dir" && as_dir=.
5795 for ac_exec_ext in '' $ac_executable_extensions; do
5796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5797 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5806 RANLIB=$ac_cv_prog_RANLIB
5807 if test -n "$RANLIB"; then
5808 echo "$as_me:$LINENO: result: $RANLIB" >&5
5809 echo "${ECHO_T}$RANLIB" >&6
5811 echo "$as_me:$LINENO: result: no" >&5
5812 echo "${ECHO_T}no" >&6
5816 if test -z "$ac_cv_prog_RANLIB"; then
5817 ac_ct_RANLIB=$RANLIB
5818 # Extract the first word of "ranlib", so it can be a program name with args.
5819 set dummy ranlib; ac_word=$2
5820 echo "$as_me:$LINENO: checking for $ac_word" >&5
5821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5822 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5823 echo $ECHO_N "(cached) $ECHO_C" >&6
5825 if test -n "$ac_ct_RANLIB"; then
5826 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5832 test -z "$as_dir" && as_dir=.
5833 for ac_exec_ext in '' $ac_executable_extensions; do
5834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5835 ac_cv_prog_ac_ct_RANLIB="ranlib"
5836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5842 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5845 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5846 if test -n "$ac_ct_RANLIB"; then
5847 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5848 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5850 echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6
5854 RANLIB=$ac_ct_RANLIB
5856 RANLIB="$ac_cv_prog_RANLIB"
5859 if test -n "$ac_tool_prefix"; then
5860 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5861 set dummy ${ac_tool_prefix}strip; ac_word=$2
5862 echo "$as_me:$LINENO: checking for $ac_word" >&5
5863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5864 if test "${ac_cv_prog_STRIP+set}" = set; then
5865 echo $ECHO_N "(cached) $ECHO_C" >&6
5867 if test -n "$STRIP"; then
5868 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5874 test -z "$as_dir" && as_dir=.
5875 for ac_exec_ext in '' $ac_executable_extensions; do
5876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5877 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5886 STRIP=$ac_cv_prog_STRIP
5887 if test -n "$STRIP"; then
5888 echo "$as_me:$LINENO: result: $STRIP" >&5
5889 echo "${ECHO_T}$STRIP" >&6
5891 echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6
5896 if test -z "$ac_cv_prog_STRIP"; then
5898 # Extract the first word of "strip", so it can be a program name with args.
5899 set dummy strip; ac_word=$2
5900 echo "$as_me:$LINENO: checking for $ac_word" >&5
5901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5902 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5903 echo $ECHO_N "(cached) $ECHO_C" >&6
5905 if test -n "$ac_ct_STRIP"; then
5906 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5912 test -z "$as_dir" && as_dir=.
5913 for ac_exec_ext in '' $ac_executable_extensions; do
5914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5915 ac_cv_prog_ac_ct_STRIP="strip"
5916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5922 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5925 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5926 if test -n "$ac_ct_STRIP"; then
5927 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5928 echo "${ECHO_T}$ac_ct_STRIP" >&6
5930 echo "$as_me:$LINENO: result: no" >&5
5931 echo "${ECHO_T}no" >&6
5936 STRIP="$ac_cv_prog_STRIP"
5941 old_CFLAGS="$CFLAGS"
5943 # Set sane defaults for various variables
5944 test -z "$AR" && AR=ar
5945 test -z "$AR_FLAGS" && AR_FLAGS=cru
5946 test -z "$AS" && AS=as
5947 test -z "$CC" && CC=cc
5948 test -z "$LTCC" && LTCC=$CC
5949 test -z "$DLLTOOL" && DLLTOOL=dlltool
5950 test -z "$LD" && LD=ld
5951 test -z "$LN_S" && LN_S="ln -s"
5952 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5953 test -z "$NM" && NM=nm
5954 test -z "$SED" && SED=sed
5955 test -z "$OBJDUMP" && OBJDUMP=objdump
5956 test -z "$RANLIB" && RANLIB=:
5957 test -z "$STRIP" && STRIP=:
5958 test -z "$ac_objext" && ac_objext=o
5960 # Determine commands to create old-style static archives.
5961 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5962 old_postinstall_cmds='chmod 644 $oldlib'
5963 old_postuninstall_cmds=
5965 if test -n "$RANLIB"; then
5968 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5971 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5974 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5977 # Only perform the check for file, if the check method requires it
5978 case $deplibs_check_method in
5980 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5981 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5982 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5983 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5984 echo $ECHO_N "(cached) $ECHO_C" >&6
5988 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5991 lt_save_MAGIC_CMD="$MAGIC_CMD"
5992 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5993 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5994 for ac_dir in $ac_dummy; do
5996 test -z "$ac_dir" && ac_dir=.
5997 if test -f $ac_dir/${ac_tool_prefix}file; then
5998 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5999 if test -n "$file_magic_test_file"; then
6000 case $deplibs_check_method in
6002 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6003 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6004 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6005 $EGREP "$file_magic_regex" > /dev/null; then
6010 *** Warning: the command libtool uses to detect shared libraries,
6011 *** $file_magic_cmd, produces output that libtool cannot recognize.
6012 *** The result is that libtool may fail to recognize shared libraries
6013 *** as such. This will affect the creation of libtool libraries that
6014 *** depend on shared libraries, but programs linked with such libtool
6015 *** libraries will work regardless of this problem. Nevertheless, you
6016 *** may want to report the problem to your system manager and/or to
6017 *** bug-libtool@gnu.org
6027 MAGIC_CMD="$lt_save_MAGIC_CMD"
6032 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6033 if test -n "$MAGIC_CMD"; then
6034 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6035 echo "${ECHO_T}$MAGIC_CMD" >&6
6037 echo "$as_me:$LINENO: result: no" >&5
6038 echo "${ECHO_T}no" >&6
6041 if test -z "$lt_cv_path_MAGIC_CMD"; then
6042 if test -n "$ac_tool_prefix"; then
6043 echo "$as_me:$LINENO: checking for file" >&5
6044 echo $ECHO_N "checking for file... $ECHO_C" >&6
6045 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6046 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6053 lt_save_MAGIC_CMD="$MAGIC_CMD"
6054 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6055 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6056 for ac_dir in $ac_dummy; do
6058 test -z "$ac_dir" && ac_dir=.
6059 if test -f $ac_dir/file; then
6060 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6061 if test -n "$file_magic_test_file"; then
6062 case $deplibs_check_method in
6064 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6065 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6066 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6067 $EGREP "$file_magic_regex" > /dev/null; then
6072 *** Warning: the command libtool uses to detect shared libraries,
6073 *** $file_magic_cmd, produces output that libtool cannot recognize.
6074 *** The result is that libtool may fail to recognize shared libraries
6075 *** as such. This will affect the creation of libtool libraries that
6076 *** depend on shared libraries, but programs linked with such libtool
6077 *** libraries will work regardless of this problem. Nevertheless, you
6078 *** may want to report the problem to your system manager and/or to
6079 *** bug-libtool@gnu.org
6089 MAGIC_CMD="$lt_save_MAGIC_CMD"
6094 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6095 if test -n "$MAGIC_CMD"; then
6096 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6097 echo "${ECHO_T}$MAGIC_CMD" >&6
6099 echo "$as_me:$LINENO: result: no" >&5
6100 echo "${ECHO_T}no" >&6
6115 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6116 if test "${enable_libtool_lock+set}" = set; then
6117 enableval="$enable_libtool_lock"
6120 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6123 # Check whether --with-pic or --without-pic was given.
6124 if test "${with_pic+set}" = set; then
6130 test -z "$pic_mode" && pic_mode=default
6132 # Use C for the default configuration in the libtool script
6136 ac_cpp='$CPP $CPPFLAGS'
6137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6142 # Source file extension for C test sources.
6145 # Object file extension for compiled C test sources.
6149 # Code to be used in simple compile tests
6150 lt_simple_compile_test_code="int some_variable = 0;\n"
6152 # Code to be used in simple link tests
6153 lt_simple_link_test_code='int main(){return(0);}\n'
6156 # If no C compiler was specified, use CC.
6159 # Allow CC to be a program name with arguments.
6164 # Check for any special shared library compilation flags.
6167 if test "$GCC" = no; then
6170 lt_prog_cc_shlib='-belf'
6174 if test -n "$lt_prog_cc_shlib"; then
6175 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6176 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6177 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6179 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6180 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6181 lt_cv_prog_cc_can_build_shared=no
6187 # Check to make sure the static flag actually works.
6189 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6190 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6191 if test "${lt_prog_compiler_static_works+set}" = set; then
6192 echo $ECHO_N "(cached) $ECHO_C" >&6
6194 lt_prog_compiler_static_works=no
6195 save_LDFLAGS="$LDFLAGS"
6196 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6197 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6198 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6199 # The compiler can only warn and ignore the option if not recognized
6200 # So say no if there are warnings
6201 if test -s conftest.err; then
6202 # Append any errors to the config.log.
6203 cat conftest.err 1>&5
6205 lt_prog_compiler_static_works=yes
6209 LDFLAGS="$save_LDFLAGS"
6212 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6213 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6215 if test x"$lt_prog_compiler_static_works" = xyes; then
6218 lt_prog_compiler_static=
6224 ## There is no encapsulation within the following macros, do not change
6225 ## the running order or otherwise move them around unless you know exactly
6226 ## what you are doing...
6228 lt_prog_compiler_no_builtin_flag=
6230 if test "$GCC" = yes; then
6231 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6233 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6234 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6235 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6236 echo $ECHO_N "(cached) $ECHO_C" >&6
6238 lt_cv_prog_compiler_rtti_exceptions=no
6239 ac_outfile=conftest.$ac_objext
6240 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6241 lt_compiler_flag="-fno-rtti -fno-exceptions"
6242 # Insert the option either (1) after the last *FLAGS variable, or
6243 # (2) before a word containing "conftest.", or (3) at the end.
6244 # Note that $ac_compile itself does not contain backslashes and begins
6245 # with a dollar sign (not a hyphen), so the echo should work correctly.
6246 # The option is referenced via a variable to avoid confusing sed.
6247 lt_compile=`echo "$ac_compile" | $SED \
6248 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6249 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6250 -e 's:$: $lt_compiler_flag:'`
6251 (eval echo "\"\$as_me:6251: $lt_compile\"" >&5)
6252 (eval "$lt_compile" 2>conftest.err)
6254 cat conftest.err >&5
6255 echo "$as_me:6255: \$? = $ac_status" >&5
6256 if (exit $ac_status) && test -s "$ac_outfile"; then
6257 # The compiler can only warn and ignore the option if not recognized
6258 # So say no if there are warnings
6259 if test ! -s conftest.err; then
6260 lt_cv_prog_compiler_rtti_exceptions=yes
6266 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6267 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6269 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6270 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6277 lt_prog_compiler_wl=
6278 lt_prog_compiler_pic=
6279 lt_prog_compiler_static=
6281 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6282 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6284 if test "$GCC" = yes; then
6285 lt_prog_compiler_wl='-Wl,'
6286 lt_prog_compiler_static='-static'
6290 # All AIX code is PIC.
6291 if test "$host_cpu" = ia64; then
6292 # AIX 5 now supports IA64 processor
6293 lt_prog_compiler_static='-Bstatic'
6298 # FIXME: we need at least 68020 code to build shared libraries, but
6299 # adding the `-m68020' flag to GCC prevents building anything better,
6301 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6304 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6305 # PIC is the default for these OSes.
6308 mingw* | pw32* | os2*)
6309 # This hack is so that the source file can tell whether it is being
6310 # built for inclusion in a dll (and should export symbols for example).
6311 lt_prog_compiler_pic='-DDLL_EXPORT'
6314 darwin* | rhapsody*)
6315 # PIC is the default on this platform
6316 # Common symbols not allowed in MH_DYLIB files
6317 lt_prog_compiler_pic='-fno-common'
6321 # Just because we use GCC doesn't mean we suddenly get shared libraries
6322 # on systems that don't support them.
6323 lt_prog_compiler_can_build_shared=no
6328 if test -d /usr/nec; then
6329 lt_prog_compiler_pic=-Kconform_pic
6334 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6341 lt_prog_compiler_pic='-fPIC'
6347 lt_prog_compiler_pic='-fPIC'
6351 # PORTME Check for flag to pass linker flags through the system compiler.
6354 lt_prog_compiler_wl='-Wl,'
6355 if test "$host_cpu" = ia64; then
6356 # AIX 5 now supports IA64 processor
6357 lt_prog_compiler_static='-Bstatic'
6359 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6363 mingw* | pw32* | os2*)
6364 # This hack is so that the source file can tell whether it is being
6365 # built for inclusion in a dll (and should export symbols for example).
6366 lt_prog_compiler_pic='-DDLL_EXPORT'
6369 hpux9* | hpux10* | hpux11*)
6370 lt_prog_compiler_wl='-Wl,'
6371 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6378 lt_prog_compiler_pic='+Z'
6381 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6382 lt_prog_compiler_static='${wl}-a ${wl}archive'
6385 irix5* | irix6* | nonstopux*)
6386 lt_prog_compiler_wl='-Wl,'
6387 # PIC (with -KPIC) is the default.
6388 lt_prog_compiler_static='-non_shared'
6392 lt_prog_compiler_pic='-KPIC'
6393 lt_prog_compiler_static='-Bstatic'
6399 lt_prog_compiler_wl='-Wl,'
6400 lt_prog_compiler_pic='-KPIC'
6401 lt_prog_compiler_static='-static'
6404 lt_prog_compiler_wl='-Wl,'
6405 # All Alpha code is PIC.
6406 lt_prog_compiler_static='-non_shared'
6411 osf3* | osf4* | osf5*)
6412 lt_prog_compiler_wl='-Wl,'
6413 # All OSF/1 code is PIC.
6414 lt_prog_compiler_static='-non_shared'
6418 lt_prog_compiler_pic='-Kpic'
6419 lt_prog_compiler_static='-dn'
6423 lt_prog_compiler_wl='-Wl,'
6424 lt_prog_compiler_pic='-KPIC'
6425 lt_prog_compiler_static='-Bstatic'
6429 lt_prog_compiler_wl='-Qoption ld '
6430 lt_prog_compiler_pic='-PIC'
6431 lt_prog_compiler_static='-Bstatic'
6434 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6435 lt_prog_compiler_wl='-Wl,'
6436 lt_prog_compiler_pic='-KPIC'
6437 lt_prog_compiler_static='-Bstatic'
6441 if test -d /usr/nec ;then
6442 lt_prog_compiler_pic='-Kconform_pic'
6443 lt_prog_compiler_static='-Bstatic'
6448 lt_prog_compiler_pic='-pic'
6449 lt_prog_compiler_static='-Bstatic'
6453 lt_prog_compiler_can_build_shared=no
6458 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6459 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6462 # Check to make sure the PIC flag actually works.
6464 if test -n "$lt_prog_compiler_pic"; then
6465 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6466 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6467 if test "${lt_prog_compiler_pic_works+set}" = set; then
6468 echo $ECHO_N "(cached) $ECHO_C" >&6
6470 lt_prog_compiler_pic_works=no
6471 ac_outfile=conftest.$ac_objext
6472 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6473 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6474 # Insert the option either (1) after the last *FLAGS variable, or
6475 # (2) before a word containing "conftest.", or (3) at the end.
6476 # Note that $ac_compile itself does not contain backslashes and begins
6477 # with a dollar sign (not a hyphen), so the echo should work correctly.
6478 # The option is referenced via a variable to avoid confusing sed.
6479 lt_compile=`echo "$ac_compile" | $SED \
6480 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6481 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6482 -e 's:$: $lt_compiler_flag:'`
6483 (eval echo "\"\$as_me:6483: $lt_compile\"" >&5)
6484 (eval "$lt_compile" 2>conftest.err)
6486 cat conftest.err >&5
6487 echo "$as_me:6487: \$? = $ac_status" >&5
6488 if (exit $ac_status) && test -s "$ac_outfile"; then
6489 # The compiler can only warn and ignore the option if not recognized
6490 # So say no if there are warnings
6491 if test ! -s conftest.err; then
6492 lt_prog_compiler_pic_works=yes
6498 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6499 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6501 if test x"$lt_prog_compiler_pic_works" = xyes; then
6502 case $lt_prog_compiler_pic in
6504 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6507 lt_prog_compiler_pic=
6508 lt_prog_compiler_can_build_shared=no
6513 # For platforms which do not support PIC, -DPIC is meaningless:
6515 lt_prog_compiler_pic=
6518 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6522 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6523 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6524 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6525 echo $ECHO_N "(cached) $ECHO_C" >&6
6527 lt_cv_prog_compiler_c_o=no
6528 $rm -r conftest 2>/dev/null
6532 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6534 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6535 # that will create temporary files in the current directory regardless of
6536 # the output directory. Thus, making CWD read-only will cause this test
6537 # to fail, enabling locking or at least warning the user not to do parallel
6541 lt_compiler_flag="-o out/conftest2.$ac_objext"
6542 # Insert the option either (1) after the last *FLAGS variable, or
6543 # (2) before a word containing "conftest.", or (3) at the end.
6544 # Note that $ac_compile itself does not contain backslashes and begins
6545 # with a dollar sign (not a hyphen), so the echo should work correctly.
6546 lt_compile=`echo "$ac_compile" | $SED \
6547 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6548 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6549 -e 's:$: $lt_compiler_flag:'`
6550 (eval echo "\"\$as_me:6550: $lt_compile\"" >&5)
6551 (eval "$lt_compile" 2>out/conftest.err)
6553 cat out/conftest.err >&5
6554 echo "$as_me:6554: \$? = $ac_status" >&5
6555 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6557 # The compiler can only warn and ignore the option if not recognized
6558 # So say no if there are warnings
6559 if test ! -s out/conftest.err; then
6560 lt_cv_prog_compiler_c_o=yes
6571 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6572 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6575 hard_links="nottested"
6576 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6577 # do not overwrite the value of need_locks provided by the user
6578 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6579 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6582 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6584 ln conftest.a conftest.b 2>&5 || hard_links=no
6585 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6586 echo "$as_me:$LINENO: result: $hard_links" >&5
6587 echo "${ECHO_T}$hard_links" >&6
6588 if test "$hard_links" = no; then
6589 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6590 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6597 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6598 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6601 allow_undefined_flag=
6602 enable_shared_with_static_runtimes=no
6604 archive_expsym_cmds=
6605 old_archive_From_new_cmds=
6606 old_archive_from_expsyms_cmds=
6607 export_dynamic_flag_spec=
6608 whole_archive_flag_spec=
6609 thread_safe_flag_spec=
6610 hardcode_libdir_flag_spec=
6611 hardcode_libdir_flag_spec_ld=
6612 hardcode_libdir_separator=
6615 hardcode_shlibpath_var=unsupported
6616 link_all_deplibs=unknown
6617 hardcode_automatic=no
6620 always_export_symbols=no
6621 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6622 # include_expsyms should be a list of space-separated symbols to be *always*
6623 # included in the symbol list
6625 # exclude_expsyms can be an extended regexp of symbols to exclude
6626 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6627 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6628 # as well as any symbol that contains `d'.
6629 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6630 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6631 # platforms (ab)use it in PIC code, but their linkers get confused if
6632 # the symbol is explicitly referenced. Since portable code cannot
6633 # rely on this symbol name, it's probably fine to never include it in
6634 # preloaded symbol tables.
6635 extract_expsyms_cmds=
6638 cygwin* | mingw* | pw32*)
6639 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6640 # When not using gcc, we currently assume that we are using
6641 # Microsoft Visual C++.
6642 if test "$GCC" != yes; then
6652 if test "$with_gnu_ld" = yes; then
6653 # If archive_cmds runs LD, not CC, wlarc should be empty
6656 # See if GNU ld supports shared libraries.
6658 aix3* | aix4* | aix5*)
6659 # On AIX/PPC, the GNU linker is very broken
6660 if test "$host_cpu" != ia64; then
6664 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6665 *** to be unable to reliably create shared libraries on AIX.
6666 *** Therefore, libtool is disabling shared libraries support. If you
6667 *** really care for shared libraries, you may want to modify your PATH
6668 *** so that a non-GNU linker is found, and then restart.
6675 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)'
6676 hardcode_libdir_flag_spec='-L$libdir'
6677 hardcode_minus_L=yes
6679 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6680 # that the semantics of dynamic libraries on AmigaOS, at least up
6681 # to version 4, is to share data among multiple programs linked
6682 # with the same dynamic library. Since this doesn't match the
6683 # behavior of shared libraries on other platforms, we can't use
6689 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6690 allow_undefined_flag=unsupported
6691 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6692 # support --undefined. This deserves some investigation. FIXME
6693 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6699 cygwin* | mingw* | pw32*)
6700 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6701 # as there is no search path for DLLs.
6702 hardcode_libdir_flag_spec='-L$libdir'
6703 allow_undefined_flag=unsupported
6704 always_export_symbols=no
6705 enable_shared_with_static_runtimes=yes
6706 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6708 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6709 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6710 # If the export-symbols file already is a .def file (1st line
6711 # is EXPORTS), use it as is; otherwise, prepend...
6712 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6713 cp $export_symbols $output_objdir/$soname.def;
6715 echo EXPORTS > $output_objdir/$soname.def;
6716 cat $export_symbols >> $output_objdir/$soname.def;
6718 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6725 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6726 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6729 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6730 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6735 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6739 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6740 *** create shared libraries on Solaris systems. Therefore, libtool
6741 *** is disabling shared libraries support. We urge you to upgrade GNU
6742 *** binutils to release 2.9.1 or newer. Another option is to modify
6743 *** your PATH or compiler configuration so that the native linker is
6744 *** used, and then restart.
6747 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6748 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6749 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6756 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6759 hardcode_shlibpath_var=no
6763 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6764 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6765 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6772 if test "$ld_shlibs" = yes; then
6773 runpath_var=LD_RUN_PATH
6774 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6775 export_dynamic_flag_spec='${wl}--export-dynamic'
6776 # ancient GNU ld didn't support --whole-archive et. al.
6777 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6778 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6780 whole_archive_flag_spec=
6784 # PORTME fill in a description of your system's linker (not GNU ld)
6787 allow_undefined_flag=unsupported
6788 always_export_symbols=yes
6789 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'
6790 # Note: this linker hardcodes the directories in LIBPATH if there
6791 # are no directories specified by -L.
6792 hardcode_minus_L=yes
6793 if test "$GCC" = yes && test -z "$link_static_flag"; then
6794 # Neither direct hardcoding nor static linking is supported with a
6796 hardcode_direct=unsupported
6801 if test "$host_cpu" = ia64; then
6802 # On IA64, the linker does run time linking by default, so we don't
6803 # have to do anything special.
6804 aix_use_runtimelinking=no
6805 exp_sym_flag='-Bexport'
6808 # If we're using GNU nm, then we don't want the "-C" option.
6809 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6810 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6811 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'
6813 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'
6815 aix_use_runtimelinking=no
6817 # Test if we are trying to use run time linking or normal
6818 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6819 # need to do runtime linking.
6820 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6821 for ld_flag in $LDFLAGS; do
6822 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6823 aix_use_runtimelinking=yes
6829 exp_sym_flag='-bexport'
6830 no_entry_flag='-bnoentry'
6833 # When large executables or shared objects are built, AIX ld can
6834 # have problems creating the table of contents. If linking a library
6835 # or program results in "error TOC overflow" add -mminimal-toc to
6836 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6837 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6841 hardcode_libdir_separator=':'
6842 link_all_deplibs=yes
6844 if test "$GCC" = yes; then
6845 case $host_os in aix4.012|aix4.012.*)
6846 # We only want to do this on AIX 4.2 and lower, the check
6847 # below for broken collect2 doesn't work under 4.3+
6848 collect2name=`${CC} -print-prog-name=collect2`
6849 if test -f "$collect2name" && \
6850 strings "$collect2name" | grep resolve_lib_name >/dev/null
6852 # We have reworked collect2
6855 # We have old collect2
6856 hardcode_direct=unsupported
6857 # It fails to find uninstalled libraries when the uninstalled
6858 # path is not listed in the libpath. Setting hardcode_minus_L
6859 # to unsupported forces relinking
6860 hardcode_minus_L=yes
6861 hardcode_libdir_flag_spec='-L$libdir'
6862 hardcode_libdir_separator=
6865 shared_flag='-shared'
6868 if test "$host_cpu" = ia64; then
6869 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6870 # chokes on -Wl,-G. The following line is correct:
6873 if test "$aix_use_runtimelinking" = yes; then
6874 shared_flag='${wl}-G'
6876 shared_flag='${wl}-bM:SRE'
6881 # It seems that -bexpall does not export symbols beginning with
6882 # underscore (_), so it is better to generate a list of symbols to export.
6883 always_export_symbols=yes
6884 if test "$aix_use_runtimelinking" = yes; then
6885 # Warning - without using the other runtime loading flags (-brtl),
6886 # -berok will link without error, but may produce a broken library.
6887 allow_undefined_flag='-berok'
6888 # Determine the default libpath from the value encoded in an empty executable.
6889 cat >conftest.$ac_ext <<_ACEOF
6890 #line $LINENO "configure"
6893 cat confdefs.h >>conftest.$ac_ext
6894 cat >>conftest.$ac_ext <<_ACEOF
6895 /* end confdefs.h. */
6905 rm -f conftest.$ac_objext conftest$ac_exeext
6906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6907 (eval $ac_link) 2>&5
6909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 (exit $ac_status); } &&
6911 { ac_try='test -s conftest$ac_exeext'
6912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6916 (exit $ac_status); }; }; then
6918 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6920 # Check for a 64-bit object if we didn't find anything.
6921 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; }
6924 echo "$as_me: failed program was:" >&5
6925 sed 's/^/| /' conftest.$ac_ext >&5
6928 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6929 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6931 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6932 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"
6934 if test "$host_cpu" = ia64; then
6935 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6936 allow_undefined_flag="-z nodefs"
6937 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"
6939 # Determine the default libpath from the value encoded in an empty executable.
6940 cat >conftest.$ac_ext <<_ACEOF
6941 #line $LINENO "configure"
6944 cat confdefs.h >>conftest.$ac_ext
6945 cat >>conftest.$ac_ext <<_ACEOF
6946 /* end confdefs.h. */
6956 rm -f conftest.$ac_objext conftest$ac_exeext
6957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6958 (eval $ac_link) 2>&5
6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961 (exit $ac_status); } &&
6962 { ac_try='test -s conftest$ac_exeext'
6963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967 (exit $ac_status); }; }; then
6969 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6971 # Check for a 64-bit object if we didn't find anything.
6972 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; }
6975 echo "$as_me: failed program was:" >&5
6976 sed 's/^/| /' conftest.$ac_ext >&5
6979 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6980 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6982 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6983 # Warning - without using the other run time loading flags,
6984 # -berok will link without error, but may produce a broken library.
6985 no_undefined_flag=' ${wl}-bernotok'
6986 allow_undefined_flag=' ${wl}-berok'
6987 # -bexpall does not export symbols beginning with underscore (_)
6988 always_export_symbols=yes
6989 # Exported symbols can be pulled into shared objects from archives
6990 whole_archive_flag_spec=' '
6991 archive_cmds_need_lc=yes
6992 # This is similar to how AIX traditionally builds it's shared libraries.
6993 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'
6999 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)'
7000 hardcode_libdir_flag_spec='-L$libdir'
7001 hardcode_minus_L=yes
7002 # see comment about different semantics on the GNU ld section
7007 export_dynamic_flag_spec=-rdynamic
7010 cygwin* | mingw* | pw32*)
7011 # When not using gcc, we currently assume that we are using
7012 # Microsoft Visual C++.
7013 # hardcode_libdir_flag_spec is actually meaningless, as there is
7014 # no search path for DLLs.
7015 hardcode_libdir_flag_spec=' '
7016 allow_undefined_flag=unsupported
7017 # Tell ltmain to make .lib files, not .a files.
7019 # Tell ltmain to make .dll files, not .so files.
7021 # FIXME: Setting linknames here is a bad hack.
7022 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7023 # The linker will automatically build a .lib file if we build a DLL.
7024 old_archive_From_new_cmds='true'
7025 # FIXME: Should let the user specify the lib program.
7026 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7027 fix_srcfile_path='`cygpath -w "$srcfile"`'
7028 enable_shared_with_static_runtimes=yes
7031 darwin* | rhapsody*)
7032 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7033 archive_cmds_need_lc=no
7035 rhapsody* | darwin1.[012])
7036 allow_undefined_flag='-undefined suppress'
7039 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7042 # FIXME: Relying on posixy $() will cause problems for
7043 # cross-compilation, but unfortunately the echo tests do not
7044 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7045 # `"' quotes if we put them in here... so don't!
7046 lt_int_apple_cc_single_mod=no
7047 output_verbose_link_cmd='echo'
7048 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7049 lt_int_apple_cc_single_mod=yes
7051 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7052 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7054 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'
7056 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7057 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7058 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7059 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}'
7061 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}'
7063 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}'
7065 hardcode_automatic=yes
7066 hardcode_shlibpath_var=unsupported
7067 whole_archive_flag_spec='-all_load $convenience'
7068 link_all_deplibs=yes
7073 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7074 hardcode_libdir_flag_spec='-L$libdir'
7075 hardcode_shlibpath_var=no
7082 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7083 # support. Future versions do this automatically, but an explicit c++rt0.o
7084 # does not break anything, and helps significantly (at the cost of a little
7087 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7088 hardcode_libdir_flag_spec='-R$libdir'
7090 hardcode_shlibpath_var=no
7093 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7095 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7097 hardcode_minus_L=yes
7098 hardcode_shlibpath_var=no
7101 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7103 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7104 hardcode_libdir_flag_spec='-R$libdir'
7106 hardcode_shlibpath_var=no
7110 if test "$GCC" = yes; then
7111 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'
7113 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'
7115 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7116 hardcode_libdir_separator=:
7119 # hardcode_minus_L: Not really in the search PATH,
7120 # but as the default location of the library.
7121 hardcode_minus_L=yes
7122 export_dynamic_flag_spec='${wl}-E'
7126 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7129 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7132 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7138 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7141 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7145 if test "$with_gnu_ld" = no; then
7148 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7149 hardcode_libdir_flag_spec_ld='+b $libdir'
7150 hardcode_libdir_separator=:
7152 hardcode_shlibpath_var=no
7155 hardcode_libdir_flag_spec='-L$libdir'
7157 hardcode_shlibpath_var=no
7159 # hardcode_minus_L: Not really in the search PATH,
7160 # but as the default location of the library.
7161 hardcode_minus_L=yes
7164 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7165 hardcode_libdir_separator=:
7167 export_dynamic_flag_spec='${wl}-E'
7169 # hardcode_minus_L: Not really in the search PATH,
7170 # but as the default location of the library.
7171 hardcode_minus_L=yes
7177 irix5* | irix6* | nonstopux*)
7178 if test "$GCC" = yes; then
7179 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'
7181 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'
7182 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7184 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7185 hardcode_libdir_separator=:
7186 link_all_deplibs=yes
7190 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7191 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7193 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7195 hardcode_libdir_flag_spec='-R$libdir'
7197 hardcode_shlibpath_var=no
7201 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7203 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7204 hardcode_libdir_separator=:
7205 hardcode_shlibpath_var=no
7210 hardcode_shlibpath_var=no
7211 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7212 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7213 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7214 export_dynamic_flag_spec='${wl}-E'
7217 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7218 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7219 hardcode_libdir_flag_spec='-R$libdir'
7222 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7223 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7230 hardcode_libdir_flag_spec='-L$libdir'
7231 hardcode_minus_L=yes
7232 allow_undefined_flag=unsupported
7233 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'
7234 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7238 if test "$GCC" = yes; then
7239 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7240 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'
7242 allow_undefined_flag=' -expect_unresolved \*'
7243 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'
7245 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7246 hardcode_libdir_separator=:
7249 osf4* | osf5*) # as osf3* with the addition of -msym flag
7250 if test "$GCC" = yes; then
7251 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7252 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7253 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7255 allow_undefined_flag=' -expect_unresolved \*'
7256 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'
7257 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7258 $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'
7260 # Both c and cxx compiler support -rpath directly
7261 hardcode_libdir_flag_spec='-rpath $libdir'
7263 hardcode_libdir_separator=:
7267 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7268 hardcode_shlibpath_var=no
7269 export_dynamic_flag_spec='${wl}-Bexport'
7270 runpath_var=LD_RUN_PATH
7271 hardcode_runpath_var=yes
7275 no_undefined_flag=' -z text'
7276 if test "$GCC" = yes; then
7277 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7278 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7279 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7281 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7282 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7283 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7285 hardcode_libdir_flag_spec='-R$libdir'
7286 hardcode_shlibpath_var=no
7288 solaris2.[0-5] | solaris2.[0-5].*) ;;
7289 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7290 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7292 link_all_deplibs=yes
7296 if test "x$host_vendor" = xsequent; then
7297 # Use $CC to link under sequent, because it throws in some extra .o
7298 # files that make .init and .fini sections work.
7299 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7301 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7303 hardcode_libdir_flag_spec='-L$libdir'
7305 hardcode_minus_L=yes
7306 hardcode_shlibpath_var=no
7310 case $host_vendor in
7312 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7313 hardcode_direct=yes # is this really true???
7316 ## LD is ld it makes a PLAMLIB
7317 ## CC just makes a GrossModule.
7318 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7319 reload_cmds='$CC -r -o $output$reload_objs'
7323 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7324 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7327 runpath_var='LD_RUN_PATH'
7328 hardcode_shlibpath_var=no
7332 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7333 hardcode_shlibpath_var=no
7334 export_dynamic_flag_spec='-Bexport'
7338 if test -d /usr/nec; then
7339 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7340 hardcode_shlibpath_var=no
7341 runpath_var=LD_RUN_PATH
7342 hardcode_runpath_var=yes
7348 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7351 hardcode_shlibpath_var=no
7352 hardcode_runpath_var=yes
7353 runpath_var=LD_RUN_PATH
7356 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7357 no_undefined_flag='${wl}-z ${wl}text'
7358 if test "$GCC" = yes; then
7359 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7361 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7363 runpath_var='LD_RUN_PATH'
7364 hardcode_shlibpath_var=no
7368 no_undefined_flag=' -z text'
7369 # $CC -shared without GNU ld will not create a library from C++
7370 # object files and a static libstdc++, better avoid it by now
7371 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7372 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7373 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7374 hardcode_libdir_flag_spec=
7375 hardcode_shlibpath_var=no
7376 runpath_var='LD_RUN_PATH'
7380 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7381 hardcode_libdir_flag_spec='-L$libdir'
7382 hardcode_shlibpath_var=no
7391 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7392 echo "${ECHO_T}$ld_shlibs" >&6
7393 test "$ld_shlibs" = no && can_build_shared=no
7395 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7396 if test "$GCC" = yes; then
7397 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7401 # Do we need to explicitly link libc?
7403 case "x$archive_cmds_need_lc" in
7405 # Assume -lc should be added
7406 archive_cmds_need_lc=yes
7408 if test "$enable_shared" = yes && test "$GCC" = yes; then
7409 case $archive_cmds in
7411 # FIXME: we may have to deal with multi-command sequences.
7414 # Test whether the compiler implicitly links with -lc since on some
7415 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7416 # to ld, don't add -lc before -lgcc.
7417 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7418 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7420 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7423 (eval $ac_compile) 2>&5
7425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7426 (exit $ac_status); } 2>conftest.err; then
7429 libobjs=conftest.$ac_objext
7431 wl=$lt_prog_compiler_wl
7437 lt_save_allow_undefined_flag=$allow_undefined_flag
7438 allow_undefined_flag=
7439 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7440 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 (exit $ac_status); }
7445 archive_cmds_need_lc=no
7447 archive_cmds_need_lc=yes
7449 allow_undefined_flag=$lt_save_allow_undefined_flag
7451 cat conftest.err 1>&5
7454 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7455 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7462 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7463 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7465 if test -n "$hardcode_libdir_flag_spec" || \
7466 test -n "$runpath_var " || \
7467 test "X$hardcode_automatic"="Xyes" ; then
7469 # We can hardcode non-existant directories.
7470 if test "$hardcode_direct" != no &&
7471 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7472 # have to relink, otherwise we might link with an installed library
7473 # when we should be linking with a yet-to-be-installed one
7474 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7475 test "$hardcode_minus_L" != no; then
7476 # Linking always hardcodes the temporary library directory.
7477 hardcode_action=relink
7479 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7480 hardcode_action=immediate
7483 # We cannot hardcode anything, or else we can only hardcode existing
7485 hardcode_action=unsupported
7487 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7488 echo "${ECHO_T}$hardcode_action" >&6
7490 if test "$hardcode_action" = relink; then
7491 # Fast installation is not supported
7492 enable_fast_install=no
7493 elif test "$shlibpath_overrides_runpath" = yes ||
7494 test "$enable_shared" = no; then
7495 # Fast installation is not necessary
7496 enable_fast_install=needless
7501 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7502 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7503 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7504 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7505 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7506 echo "$as_me:$LINENO: result: yes" >&5
7507 echo "${ECHO_T}yes" >&6
7509 # FIXME - insert some real tests, host_os isn't really good enough
7512 if test -n "$STRIP" ; then
7513 striplib="$STRIP -x"
7514 echo "$as_me:$LINENO: result: yes" >&5
7515 echo "${ECHO_T}yes" >&6
7517 echo "$as_me:$LINENO: result: no" >&5
7518 echo "${ECHO_T}no" >&6
7522 echo "$as_me:$LINENO: result: no" >&5
7523 echo "${ECHO_T}no" >&6
7528 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7529 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7531 libname_spec='lib$name'
7539 shlibpath_overrides_runpath=unknown
7541 dynamic_linker="$host_os ld.so"
7542 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7543 if test "$GCC" = yes; then
7544 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7545 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7546 # if the path contains ";" then we assume it to be the separator
7547 # otherwise default to the standard path separator (i.e. ":") - it is
7548 # assumed that no part of a normal pathname contains ";" but that should
7549 # okay in the real world where ";" in dirpaths is itself problematic.
7550 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7552 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7555 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7557 need_lib_prefix=unknown
7558 hardcode_into_libs=no
7560 # when you set need_version to no, make sure it does not cause -set_version
7561 # flags to be left without arguments
7562 need_version=unknown
7567 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7568 shlibpath_var=LIBPATH
7570 # AIX 3 has no versioning support, so we append a major version to the name.
7571 soname_spec='${libname}${release}${shared_ext}$major'
7578 hardcode_into_libs=yes
7579 if test "$host_cpu" = ia64; then
7580 # AIX 5 supports IA64
7581 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7582 shlibpath_var=LD_LIBRARY_PATH
7584 # With GCC up to 2.95.x, collect2 would create an import file
7585 # for dependence libraries. The import file would start with
7586 # the line `#! .'. This would cause the generated library to
7587 # depend on `.', always an invalid library. This was fixed in
7588 # development snapshots of GCC prior to 3.0.
7590 aix4 | aix4.[01] | aix4.[01].*)
7591 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7593 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7600 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7601 # soname into executable. Probably we can add versioning support to
7602 # collect2, so additional links can be useful in future.
7603 if test "$aix_use_runtimelinking" = yes; then
7604 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7605 # instead of lib<name>.a to let people know that these are not
7606 # typical AIX shared libraries.
7607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7609 # We preserve .a as extension for shared libraries through AIX4.2
7610 # and later when we are not doing run time linking.
7611 library_names_spec='${libname}${release}.a $libname.a'
7612 soname_spec='${libname}${release}${shared_ext}$major'
7614 shlibpath_var=LIBPATH
7619 library_names_spec='$libname.ixlibrary $libname.a'
7620 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7621 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'
7625 library_names_spec='${libname}${shared_ext}'
7626 dynamic_linker="$host_os ld.so"
7627 shlibpath_var=LIBRARY_PATH
7633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7634 soname_spec='${libname}${release}${shared_ext}$major'
7635 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7636 shlibpath_var=LD_LIBRARY_PATH
7637 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7638 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7639 # the default ld.so.conf also contains /usr/contrib/lib and
7640 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7641 # libtool to hard-code these into programs
7644 cygwin* | mingw* | pw32*)
7645 version_type=windows
7650 case $GCC,$host_os in
7651 yes,cygwin* | yes,mingw* | yes,pw32*)
7652 library_names_spec='$libname.dll.a'
7653 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7654 postinstall_cmds='base_file=`basename \${file}`~
7655 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7656 dldir=$destdir/`dirname \$dlpath`~
7657 test -d \$dldir || mkdir -p \$dldir~
7658 $install_prog $dir/$dlname \$dldir/$dlname'
7659 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7660 dlpath=$dir/\$dldll~
7662 shlibpath_overrides_runpath=yes
7666 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7667 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7668 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7671 # MinGW DLLs use traditional 'lib' prefix
7672 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7673 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7674 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7675 # It is most probably a Windows format PATH printed by
7676 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7677 # path with ; separators, and with drive letters. We can handle the
7678 # drive letters (cygwin fileutils understands them), so leave them,
7679 # especially as we might pass files found there to a mingw objdump,
7680 # which wouldn't understand a cygwinified path. Ahh.
7681 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7683 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7687 # pw32 DLLs use 'pw' prefix rather than 'lib'
7688 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7694 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7697 dynamic_linker='Win32 ld.exe'
7698 # FIXME: first we should search . and the directory the executable is in
7702 darwin* | rhapsody*)
7703 dynamic_linker="$host_os dyld"
7707 # FIXME: Relying on posixy $() will cause problems for
7708 # cross-compilation, but unfortunately the echo tests do not
7709 # yet detect zsh echo's removal of \ escapes.
7710 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7711 soname_spec='${libname}${release}${major}$shared_ext'
7712 shlibpath_overrides_runpath=yes
7713 shlibpath_var=DYLD_LIBRARY_PATH
7714 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7715 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7716 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7717 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"`
7719 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7727 soname_spec='${libname}${release}${shared_ext}$major'
7728 shlibpath_var=LD_LIBRARY_PATH
7736 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7737 version_type=freebsd-$objformat
7738 case $version_type in
7740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7745 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7749 shlibpath_var=LD_LIBRARY_PATH
7752 shlibpath_overrides_runpath=yes
7754 freebsd3.01* | freebsdelf3.01*)
7755 shlibpath_overrides_runpath=yes
7756 hardcode_into_libs=yes
7759 shlibpath_overrides_runpath=no
7760 hardcode_into_libs=yes
7769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7770 soname_spec='${libname}${release}${shared_ext}$major'
7771 shlibpath_var=LD_LIBRARY_PATH
7772 hardcode_into_libs=yes
7775 hpux9* | hpux10* | hpux11*)
7776 # Give a soname corresponding to the major version so that dld.sl refuses to
7777 # link against other versions.
7784 hardcode_into_libs=yes
7785 dynamic_linker="$host_os dld.so"
7786 shlibpath_var=LD_LIBRARY_PATH
7787 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7789 soname_spec='${libname}${release}${shared_ext}$major'
7790 if test "X$HPUX_IA64_MODE" = X32; then
7791 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7793 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7795 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7799 hardcode_into_libs=yes
7800 dynamic_linker="$host_os dld.sl"
7801 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7802 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7804 soname_spec='${libname}${release}${shared_ext}$major'
7805 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7806 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7810 dynamic_linker="$host_os dld.sl"
7811 shlibpath_var=SHLIB_PATH
7812 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7814 soname_spec='${libname}${release}${shared_ext}$major'
7817 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7818 postinstall_cmds='chmod 555 $lib'
7821 irix5* | irix6* | nonstopux*)
7823 nonstopux*) version_type=nonstopux ;;
7825 if test "$lt_cv_prog_gnu_ld" = yes; then
7833 soname_spec='${libname}${release}${shared_ext}$major'
7834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7836 irix5* | nonstopux*)
7840 case $LD in # libtool.m4 will add one of these switches to LD
7841 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7842 libsuff= shlibsuff= libmagic=32-bit;;
7843 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7844 libsuff=32 shlibsuff=N32 libmagic=N32;;
7845 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7846 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7847 *) libsuff= shlibsuff= libmagic=never-match;;
7851 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7852 shlibpath_overrides_runpath=no
7853 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7854 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7855 hardcode_into_libs=yes
7858 # No shared lib support for Linux oldld, aout, or coff.
7859 linux*oldld* | linux*aout* | linux*coff*)
7863 # This must be Linux ELF.
7868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7869 soname_spec='${libname}${release}${shared_ext}$major'
7870 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7871 shlibpath_var=LD_LIBRARY_PATH
7872 shlibpath_overrides_runpath=no
7873 # This implies no fast_install, which is unacceptable.
7874 # Some rework will be needed to allow for fast_install
7875 # before this can be enabled.
7876 hardcode_into_libs=yes
7878 # We used to test for /lib/ld.so.1 and disable shared libraries on
7879 # powerpc, because MkLinux only supported shared libraries with the
7880 # GNU dynamic linker. Since this was broken with cross compilers,
7881 # most powerpc-linux boxes support dynamic linking these days and
7882 # people can always --disable-shared, the test was removed, and we
7883 # assume the GNU/Linux dynamic linker is in use.
7884 dynamic_linker='GNU/Linux ld.so'
7891 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7893 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7894 dynamic_linker='NetBSD (a.out) ld.so'
7896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7897 soname_spec='${libname}${release}${shared_ext}$major'
7898 dynamic_linker='NetBSD ld.elf_so'
7900 shlibpath_var=LD_LIBRARY_PATH
7901 shlibpath_overrides_runpath=yes
7902 hardcode_into_libs=yes
7907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7908 shlibpath_var=LD_LIBRARY_PATH
7909 shlibpath_overrides_runpath=yes
7916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7917 soname_spec='${libname}${release}${shared_ext}$major'
7918 shlibpath_var=LD_LIBRARY_PATH
7919 shlibpath_overrides_runpath=yes
7926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7927 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7928 shlibpath_var=LD_LIBRARY_PATH
7929 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7931 openbsd2.[89] | openbsd2.[89].*)
7932 shlibpath_overrides_runpath=no
7935 shlibpath_overrides_runpath=yes
7939 shlibpath_overrides_runpath=yes
7944 libname_spec='$name'
7947 library_names_spec='$libname${shared_ext} $libname.a'
7948 dynamic_linker='OS/2 ld.exe'
7949 shlibpath_var=LIBPATH
7952 osf3* | osf4* | osf5*)
7956 soname_spec='${libname}${release}${shared_ext}$major'
7957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7958 shlibpath_var=LD_LIBRARY_PATH
7959 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7960 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7965 soname_spec='${libname}${release}${shared_ext}$major'
7966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7967 shlibpath_var=LD_LIBRARY_PATH
7974 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7975 soname_spec='${libname}${release}${shared_ext}$major'
7976 shlibpath_var=LD_LIBRARY_PATH
7977 shlibpath_overrides_runpath=yes
7978 hardcode_into_libs=yes
7979 # ldd complains unless libraries are executable
7980 postinstall_cmds='chmod +x $lib'
7985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7986 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7987 shlibpath_var=LD_LIBRARY_PATH
7988 shlibpath_overrides_runpath=yes
7989 if test "$with_gnu_ld" = yes; then
7995 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7998 soname_spec='${libname}${release}${shared_ext}$major'
7999 shlibpath_var=LD_LIBRARY_PATH
8000 case $host_vendor in
8002 shlibpath_overrides_runpath=no
8004 export_dynamic_flag_spec='${wl}-Blargedynsym'
8005 runpath_var=LD_RUN_PATH
8013 shlibpath_overrides_runpath=no
8014 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8020 if test -d /usr/nec ;then
8022 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8023 soname_spec='$libname${shared_ext}.$major'
8024 shlibpath_var=LD_LIBRARY_PATH
8030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8031 soname_spec='${libname}${release}${shared_ext}$major'
8032 shlibpath_var=LD_LIBRARY_PATH
8039 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8040 echo "${ECHO_T}$dynamic_linker" >&6
8041 test "$dynamic_linker" = no && can_build_shared=no
8043 if test "x$enable_dlopen" != xyes; then
8044 enable_dlopen=unknown
8045 enable_dlopen_self=unknown
8046 enable_dlopen_self_static=unknown
8053 lt_cv_dlopen="load_add_on"
8055 lt_cv_dlopen_self=yes
8059 lt_cv_dlopen="LoadLibrary"
8064 lt_cv_dlopen="dlopen"
8069 # if libdl is installed we need to link against it
8070 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8071 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8072 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8073 echo $ECHO_N "(cached) $ECHO_C" >&6
8075 ac_check_lib_save_LIBS=$LIBS
8077 cat >conftest.$ac_ext <<_ACEOF
8078 #line $LINENO "configure"
8081 cat confdefs.h >>conftest.$ac_ext
8082 cat >>conftest.$ac_ext <<_ACEOF
8083 /* end confdefs.h. */
8085 /* Override any gcc2 internal prototype to avoid an error. */
8089 /* We use char because int might match the return type of a gcc2
8090 builtin and then its argument prototype would still apply. */
8100 rm -f conftest.$ac_objext conftest$ac_exeext
8101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8102 (eval $ac_link) 2>&5
8104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8105 (exit $ac_status); } &&
8106 { ac_try='test -s conftest$ac_exeext'
8107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8111 (exit $ac_status); }; }; then
8112 ac_cv_lib_dl_dlopen=yes
8114 echo "$as_me: failed program was:" >&5
8115 sed 's/^/| /' conftest.$ac_ext >&5
8117 ac_cv_lib_dl_dlopen=no
8119 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8120 LIBS=$ac_check_lib_save_LIBS
8122 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8123 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8124 if test $ac_cv_lib_dl_dlopen = yes; then
8125 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8130 lt_cv_dlopen_self=yes
8137 echo "$as_me:$LINENO: checking for shl_load" >&5
8138 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8139 if test "${ac_cv_func_shl_load+set}" = set; then
8140 echo $ECHO_N "(cached) $ECHO_C" >&6
8142 cat >conftest.$ac_ext <<_ACEOF
8143 #line $LINENO "configure"
8146 cat confdefs.h >>conftest.$ac_ext
8147 cat >>conftest.$ac_ext <<_ACEOF
8148 /* end confdefs.h. */
8149 /* System header to define __stub macros and hopefully few prototypes,
8150 which can conflict with char shl_load (); below.
8151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8152 <limits.h> exists even on freestanding compilers. */
8154 # include <limits.h>
8156 # include <assert.h>
8158 /* Override any gcc2 internal prototype to avoid an error. */
8163 /* We use char because int might match the return type of a gcc2
8164 builtin and then its argument prototype would still apply. */
8166 /* The GNU C library defines this for functions which it implements
8167 to always fail with ENOSYS. Some functions are actually named
8168 something starting with __ and the normal name is an alias. */
8169 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8172 char (*f) () = shl_load;
8181 return f != shl_load;
8186 rm -f conftest.$ac_objext conftest$ac_exeext
8187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8188 (eval $ac_link) 2>&5
8190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8191 (exit $ac_status); } &&
8192 { ac_try='test -s conftest$ac_exeext'
8193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 (exit $ac_status); }; }; then
8198 ac_cv_func_shl_load=yes
8200 echo "$as_me: failed program was:" >&5
8201 sed 's/^/| /' conftest.$ac_ext >&5
8203 ac_cv_func_shl_load=no
8205 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8207 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8208 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8209 if test $ac_cv_func_shl_load = yes; then
8210 lt_cv_dlopen="shl_load"
8212 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8213 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8214 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8215 echo $ECHO_N "(cached) $ECHO_C" >&6
8217 ac_check_lib_save_LIBS=$LIBS
8219 cat >conftest.$ac_ext <<_ACEOF
8220 #line $LINENO "configure"
8223 cat confdefs.h >>conftest.$ac_ext
8224 cat >>conftest.$ac_ext <<_ACEOF
8225 /* end confdefs.h. */
8227 /* Override any gcc2 internal prototype to avoid an error. */
8231 /* We use char because int might match the return type of a gcc2
8232 builtin and then its argument prototype would still apply. */
8242 rm -f conftest.$ac_objext conftest$ac_exeext
8243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8244 (eval $ac_link) 2>&5
8246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8247 (exit $ac_status); } &&
8248 { ac_try='test -s conftest$ac_exeext'
8249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); }; }; then
8254 ac_cv_lib_dld_shl_load=yes
8256 echo "$as_me: failed program was:" >&5
8257 sed 's/^/| /' conftest.$ac_ext >&5
8259 ac_cv_lib_dld_shl_load=no
8261 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8262 LIBS=$ac_check_lib_save_LIBS
8264 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8265 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8266 if test $ac_cv_lib_dld_shl_load = yes; then
8267 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8269 echo "$as_me:$LINENO: checking for dlopen" >&5
8270 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8271 if test "${ac_cv_func_dlopen+set}" = set; then
8272 echo $ECHO_N "(cached) $ECHO_C" >&6
8274 cat >conftest.$ac_ext <<_ACEOF
8275 #line $LINENO "configure"
8278 cat confdefs.h >>conftest.$ac_ext
8279 cat >>conftest.$ac_ext <<_ACEOF
8280 /* end confdefs.h. */
8281 /* System header to define __stub macros and hopefully few prototypes,
8282 which can conflict with char dlopen (); below.
8283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8284 <limits.h> exists even on freestanding compilers. */
8286 # include <limits.h>
8288 # include <assert.h>
8290 /* Override any gcc2 internal prototype to avoid an error. */
8295 /* We use char because int might match the return type of a gcc2
8296 builtin and then its argument prototype would still apply. */
8298 /* The GNU C library defines this for functions which it implements
8299 to always fail with ENOSYS. Some functions are actually named
8300 something starting with __ and the normal name is an alias. */
8301 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8304 char (*f) () = dlopen;
8318 rm -f conftest.$ac_objext conftest$ac_exeext
8319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8320 (eval $ac_link) 2>&5
8322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8323 (exit $ac_status); } &&
8324 { ac_try='test -s conftest$ac_exeext'
8325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8329 (exit $ac_status); }; }; then
8330 ac_cv_func_dlopen=yes
8332 echo "$as_me: failed program was:" >&5
8333 sed 's/^/| /' conftest.$ac_ext >&5
8335 ac_cv_func_dlopen=no
8337 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8339 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8340 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8341 if test $ac_cv_func_dlopen = yes; then
8342 lt_cv_dlopen="dlopen"
8344 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8345 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8346 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8347 echo $ECHO_N "(cached) $ECHO_C" >&6
8349 ac_check_lib_save_LIBS=$LIBS
8351 cat >conftest.$ac_ext <<_ACEOF
8352 #line $LINENO "configure"
8355 cat confdefs.h >>conftest.$ac_ext
8356 cat >>conftest.$ac_ext <<_ACEOF
8357 /* end confdefs.h. */
8359 /* Override any gcc2 internal prototype to avoid an error. */
8363 /* We use char because int might match the return type of a gcc2
8364 builtin and then its argument prototype would still apply. */
8374 rm -f conftest.$ac_objext conftest$ac_exeext
8375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8376 (eval $ac_link) 2>&5
8378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8379 (exit $ac_status); } &&
8380 { ac_try='test -s conftest$ac_exeext'
8381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8385 (exit $ac_status); }; }; then
8386 ac_cv_lib_dl_dlopen=yes
8388 echo "$as_me: failed program was:" >&5
8389 sed 's/^/| /' conftest.$ac_ext >&5
8391 ac_cv_lib_dl_dlopen=no
8393 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8394 LIBS=$ac_check_lib_save_LIBS
8396 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8397 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8398 if test $ac_cv_lib_dl_dlopen = yes; then
8399 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8401 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8402 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8403 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8404 echo $ECHO_N "(cached) $ECHO_C" >&6
8406 ac_check_lib_save_LIBS=$LIBS
8408 cat >conftest.$ac_ext <<_ACEOF
8409 #line $LINENO "configure"
8412 cat confdefs.h >>conftest.$ac_ext
8413 cat >>conftest.$ac_ext <<_ACEOF
8414 /* end confdefs.h. */
8416 /* Override any gcc2 internal prototype to avoid an error. */
8420 /* We use char because int might match the return type of a gcc2
8421 builtin and then its argument prototype would still apply. */
8431 rm -f conftest.$ac_objext conftest$ac_exeext
8432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8433 (eval $ac_link) 2>&5
8435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436 (exit $ac_status); } &&
8437 { ac_try='test -s conftest$ac_exeext'
8438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442 (exit $ac_status); }; }; then
8443 ac_cv_lib_svld_dlopen=yes
8445 echo "$as_me: failed program was:" >&5
8446 sed 's/^/| /' conftest.$ac_ext >&5
8448 ac_cv_lib_svld_dlopen=no
8450 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8451 LIBS=$ac_check_lib_save_LIBS
8453 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8454 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8455 if test $ac_cv_lib_svld_dlopen = yes; then
8456 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8458 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8459 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8460 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8461 echo $ECHO_N "(cached) $ECHO_C" >&6
8463 ac_check_lib_save_LIBS=$LIBS
8465 cat >conftest.$ac_ext <<_ACEOF
8466 #line $LINENO "configure"
8469 cat confdefs.h >>conftest.$ac_ext
8470 cat >>conftest.$ac_ext <<_ACEOF
8471 /* end confdefs.h. */
8473 /* Override any gcc2 internal prototype to avoid an error. */
8477 /* We use char because int might match the return type of a gcc2
8478 builtin and then its argument prototype would still apply. */
8488 rm -f conftest.$ac_objext conftest$ac_exeext
8489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8490 (eval $ac_link) 2>&5
8492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493 (exit $ac_status); } &&
8494 { ac_try='test -s conftest$ac_exeext'
8495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8499 (exit $ac_status); }; }; then
8500 ac_cv_lib_dld_dld_link=yes
8502 echo "$as_me: failed program was:" >&5
8503 sed 's/^/| /' conftest.$ac_ext >&5
8505 ac_cv_lib_dld_dld_link=no
8507 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8508 LIBS=$ac_check_lib_save_LIBS
8510 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8511 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8512 if test $ac_cv_lib_dld_dld_link = yes; then
8513 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8534 if test "x$lt_cv_dlopen" != xno; then
8540 case $lt_cv_dlopen in
8542 save_CPPFLAGS="$CPPFLAGS"
8543 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8545 save_LDFLAGS="$LDFLAGS"
8546 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8549 LIBS="$lt_cv_dlopen_libs $LIBS"
8551 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8552 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8553 if test "${lt_cv_dlopen_self+set}" = set; then
8554 echo $ECHO_N "(cached) $ECHO_C" >&6
8556 if test "$cross_compiling" = yes; then :
8557 lt_cv_dlopen_self=cross
8559 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8560 lt_status=$lt_dlunknown
8561 cat > conftest.$ac_ext <<EOF
8562 #line 8562 "configure"
8563 #include "confdefs.h"
8572 # define LT_DLGLOBAL RTLD_GLOBAL
8575 # define LT_DLGLOBAL DL_GLOBAL
8577 # define LT_DLGLOBAL 0
8581 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8582 find out it does not work in some platform. */
8583 #ifndef LT_DLLAZY_OR_NOW
8585 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8588 # define LT_DLLAZY_OR_NOW DL_LAZY
8591 # define LT_DLLAZY_OR_NOW RTLD_NOW
8594 # define LT_DLLAZY_OR_NOW DL_NOW
8596 # define LT_DLLAZY_OR_NOW 0
8604 extern "C" void exit (int);
8607 void fnord() { int i=42;}
8610 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8611 int status = $lt_dlunknown;
8615 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8616 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8617 /* dlclose (self); */
8623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8624 (eval $ac_link) 2>&5
8626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8628 (./conftest; exit; ) 2>/dev/null
8631 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8632 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8633 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8636 # compilation failed
8637 lt_cv_dlopen_self=no
8644 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8645 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8647 if test "x$lt_cv_dlopen_self" = xyes; then
8648 LDFLAGS="$LDFLAGS $link_static_flag"
8649 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8650 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8651 if test "${lt_cv_dlopen_self_static+set}" = set; then
8652 echo $ECHO_N "(cached) $ECHO_C" >&6
8654 if test "$cross_compiling" = yes; then :
8655 lt_cv_dlopen_self_static=cross
8657 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8658 lt_status=$lt_dlunknown
8659 cat > conftest.$ac_ext <<EOF
8660 #line 8660 "configure"
8661 #include "confdefs.h"
8670 # define LT_DLGLOBAL RTLD_GLOBAL
8673 # define LT_DLGLOBAL DL_GLOBAL
8675 # define LT_DLGLOBAL 0
8679 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8680 find out it does not work in some platform. */
8681 #ifndef LT_DLLAZY_OR_NOW
8683 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8686 # define LT_DLLAZY_OR_NOW DL_LAZY
8689 # define LT_DLLAZY_OR_NOW RTLD_NOW
8692 # define LT_DLLAZY_OR_NOW DL_NOW
8694 # define LT_DLLAZY_OR_NOW 0
8702 extern "C" void exit (int);
8705 void fnord() { int i=42;}
8708 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8709 int status = $lt_dlunknown;
8713 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8714 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8715 /* dlclose (self); */
8721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8722 (eval $ac_link) 2>&5
8724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8726 (./conftest; exit; ) 2>/dev/null
8729 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8730 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8731 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8734 # compilation failed
8735 lt_cv_dlopen_self_static=no
8742 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8743 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8746 CPPFLAGS="$save_CPPFLAGS"
8747 LDFLAGS="$save_LDFLAGS"
8752 case $lt_cv_dlopen_self in
8753 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8754 *) enable_dlopen_self=unknown ;;
8757 case $lt_cv_dlopen_self_static in
8758 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8759 *) enable_dlopen_self_static=unknown ;;
8764 # Report which librarie types wil actually be built
8765 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8766 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8767 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8768 echo "${ECHO_T}$can_build_shared" >&6
8770 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8771 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8772 test "$can_build_shared" = "no" && enable_shared=no
8774 # On AIX, shared libraries and static libraries use the same namespace, and
8775 # are all built from PIC.
8778 test "$enable_shared" = yes && enable_static=no
8779 if test -n "$RANLIB"; then
8780 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8781 postinstall_cmds='$RANLIB $lib'
8786 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8787 test "$enable_shared" = yes && enable_static=no
8790 darwin* | rhapsody*)
8791 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8792 archive_cmds_need_lc=no
8794 rhapsody* | darwin1.[012])
8795 allow_undefined_flag='-undefined suppress'
8798 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8801 # FIXME: Relying on posixy $() will cause problems for
8802 # cross-compilation, but unfortunately the echo tests do not
8803 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8804 # `"' quotes if we put them in here... so don't!
8805 output_verbose_link_cmd='echo'
8806 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8807 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8808 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8809 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}'
8810 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}'
8812 hardcode_automatic=yes
8813 hardcode_shlibpath_var=unsupported
8814 whole_archive_flag_spec='-all_load $convenience'
8815 link_all_deplibs=yes
8819 echo "$as_me:$LINENO: result: $enable_shared" >&5
8820 echo "${ECHO_T}$enable_shared" >&6
8822 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8823 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8824 # Make sure either enable_shared or enable_static is yes.
8825 test "$enable_shared" = yes || enable_static=yes
8826 echo "$as_me:$LINENO: result: $enable_static" >&5
8827 echo "${ECHO_T}$enable_static" >&6
8829 # The else clause should only fire when bootstrapping the
8830 # libtool distribution, otherwise you forgot to ship ltmain.sh
8831 # with your package, and you will get complaints that there are
8832 # no rules to generate ltmain.sh.
8833 if test -f "$ltmain"; then
8834 # See if we are running on zsh, and set the options which allow our commands through
8835 # without removal of \ escapes.
8836 if test -n "${ZSH_VERSION+set}" ; then
8837 setopt NO_GLOB_SUBST
8839 # Now quote all the things that may contain metacharacters while being
8840 # careful not to overquote the AC_SUBSTed values. We take copies of the
8841 # variables and quote the copies for generation of the libtool script.
8842 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8843 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8844 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8845 deplibs_check_method reload_flag reload_cmds need_locks \
8846 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8847 lt_cv_sys_global_symbol_to_c_name_address \
8848 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8849 old_postinstall_cmds old_postuninstall_cmds \
8853 lt_prog_compiler_wl \
8854 lt_prog_compiler_pic \
8855 lt_prog_compiler_static \
8856 lt_prog_compiler_no_builtin_flag \
8857 export_dynamic_flag_spec \
8858 thread_safe_flag_spec \
8859 whole_archive_flag_spec \
8860 enable_shared_with_static_runtimes \
8862 old_archive_from_new_cmds \
8867 compiler_lib_search_path \
8869 archive_expsym_cmds \
8871 postuninstall_cmds \
8872 old_archive_from_expsyms_cmds \
8873 allow_undefined_flag \
8875 export_symbols_cmds \
8876 hardcode_libdir_flag_spec \
8877 hardcode_libdir_flag_spec_ld \
8878 hardcode_libdir_separator \
8879 hardcode_automatic \
8881 module_expsym_cmds \
8882 lt_cv_prog_compiler_c_o \
8887 old_archive_cmds | \
8888 old_archive_from_new_cmds | \
8890 archive_expsym_cmds | \
8892 module_expsym_cmds | \
8893 old_archive_from_expsyms_cmds | \
8894 export_symbols_cmds | \
8895 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8896 postinstall_cmds | postuninstall_cmds | \
8897 old_postinstall_cmds | old_postuninstall_cmds | \
8898 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8899 # Double-quote double-evaled strings.
8900 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8903 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8909 *'\$0 --fallback-echo"')
8910 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8915 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8917 { echo "$as_me:$LINENO: creating $ofile" >&5
8918 echo "$as_me: creating $ofile" >&6;}
8920 cat <<__EOF__ >> "$cfgfile"
8923 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8924 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8925 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8927 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8928 # Free Software Foundation, Inc.
8930 # This file is part of GNU Libtool:
8931 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8933 # This program is free software; you can redistribute it and/or modify
8934 # it under the terms of the GNU General Public License as published by
8935 # the Free Software Foundation; either version 2 of the License, or
8936 # (at your option) any later version.
8938 # This program is distributed in the hope that it will be useful, but
8939 # WITHOUT ANY WARRANTY; without even the implied warranty of
8940 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8941 # General Public License for more details.
8943 # You should have received a copy of the GNU General Public License
8944 # along with this program; if not, write to the Free Software
8945 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8947 # As a special exception to the GNU General Public License, if you
8948 # distribute this file as part of a program that contains a
8949 # configuration script generated by Autoconf, you may include it under
8950 # the same distribution terms that you use for the rest of that program.
8952 # A sed program that does not truncate output.
8955 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8956 Xsed="$SED -e s/^X//"
8958 # The HP-UX ksh and POSIX shell print the target directory to stdout
8960 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8962 # The names of the tagged configurations supported by this script.
8965 # ### BEGIN LIBTOOL CONFIG
8967 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8969 # Shell to use when invoking shell scripts.
8972 # Whether or not to build shared libraries.
8973 build_libtool_libs=$enable_shared
8975 # Whether or not to build static libraries.
8976 build_old_libs=$enable_static
8978 # Whether or not to add -lc for building shared libraries.
8979 build_libtool_need_lc=$archive_cmds_need_lc
8981 # Whether or not to disallow shared libs when runtime libs are static
8982 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8984 # Whether or not to optimize for fast installation.
8985 fast_install=$enable_fast_install
8988 host_alias=$host_alias
8991 # An echo program that does not interpret backslashes.
8996 AR_FLAGS=$lt_AR_FLAGS
9001 # A language-specific compiler.
9004 # Is the compiler the GNU C compiler?
9010 # The linker used to build libraries.
9013 # Whether we need hard or soft links.
9016 # A BSD-compatible nm program.
9019 # A symbol stripping program
9022 # Used to examine libraries when file_magic_cmd begins "file"
9023 MAGIC_CMD=$MAGIC_CMD
9025 # Used on cygwin: DLL creation program.
9028 # Used on cygwin: object dumper.
9031 # Used on cygwin: assembler.
9034 # The name of the directory that contains temporary libtool files.
9037 # How to create reloadable object files.
9038 reload_flag=$lt_reload_flag
9039 reload_cmds=$lt_reload_cmds
9041 # How to pass a linker flag through the compiler.
9042 wl=$lt_lt_prog_compiler_wl
9044 # Object file suffix (normally "o").
9047 # Old archive suffix (normally "a").
9050 # Shared library suffix (normally ".so").
9053 # Executable file suffix (normally "").
9056 # Additional compiler flags for building library objects.
9057 pic_flag=$lt_lt_prog_compiler_pic
9060 # What is the maximum length of a command?
9061 max_cmd_len=$lt_cv_sys_max_cmd_len
9063 # Does compiler simultaneously support -c and -o options?
9064 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9066 # Must we lock files when doing compilation ?
9067 need_locks=$lt_need_locks
9069 # Do we need the lib prefix for modules?
9070 need_lib_prefix=$need_lib_prefix
9072 # Do we need a version for libraries?
9073 need_version=$need_version
9075 # Whether dlopen is supported.
9076 dlopen_support=$enable_dlopen
9078 # Whether dlopen of programs is supported.
9079 dlopen_self=$enable_dlopen_self
9081 # Whether dlopen of statically linked programs is supported.
9082 dlopen_self_static=$enable_dlopen_self_static
9084 # Compiler flag to prevent dynamic linking.
9085 link_static_flag=$lt_lt_prog_compiler_static
9087 # Compiler flag to turn off builtin functions.
9088 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9090 # Compiler flag to allow reflexive dlopens.
9091 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9093 # Compiler flag to generate shared objects directly from archives.
9094 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9096 # Compiler flag to generate thread-safe objects.
9097 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9099 # Library versioning type.
9100 version_type=$version_type
9102 # Format of library name prefix.
9103 libname_spec=$lt_libname_spec
9105 # List of archive names. First name is the real one, the rest are links.
9106 # The last name is the one that the linker finds with -lNAME.
9107 library_names_spec=$lt_library_names_spec
9109 # The coded name of the library, if different from the real name.
9110 soname_spec=$lt_soname_spec
9112 # Commands used to build and install an old-style archive.
9114 old_archive_cmds=$lt_old_archive_cmds
9115 old_postinstall_cmds=$lt_old_postinstall_cmds
9116 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9118 # Create an old-style archive from a shared archive.
9119 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9121 # Create a temporary old-style archive to link instead of a shared archive.
9122 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9124 # Commands used to build and install a shared archive.
9125 archive_cmds=$lt_archive_cmds
9126 archive_expsym_cmds=$lt_archive_expsym_cmds
9127 postinstall_cmds=$lt_postinstall_cmds
9128 postuninstall_cmds=$lt_postuninstall_cmds
9130 # Commands used to build a loadable module (assumed same as above if empty)
9131 module_cmds=$lt_module_cmds
9132 module_expsym_cmds=$lt_module_expsym_cmds
9134 # Commands to strip libraries.
9135 old_striplib=$lt_old_striplib
9136 striplib=$lt_striplib
9138 # Dependencies to place before the objects being linked to create a
9140 predep_objects=$lt_predep_objects
9142 # Dependencies to place after the objects being linked to create a
9144 postdep_objects=$lt_postdep_objects
9146 # Dependencies to place before the objects being linked to create a
9150 # Dependencies to place after the objects being linked to create a
9152 postdeps=$lt_postdeps
9154 # The library search path used internally by the compiler when linking
9156 compiler_lib_search_path=$lt_compiler_lib_search_path
9158 # Method to check whether dependent libraries are shared objects.
9159 deplibs_check_method=$lt_deplibs_check_method
9161 # Command to use when deplibs_check_method == file_magic.
9162 file_magic_cmd=$lt_file_magic_cmd
9164 # Flag that allows shared libraries with undefined symbols to be built.
9165 allow_undefined_flag=$lt_allow_undefined_flag
9167 # Flag that forces no undefined symbols.
9168 no_undefined_flag=$lt_no_undefined_flag
9170 # Commands used to finish a libtool library installation in a directory.
9171 finish_cmds=$lt_finish_cmds
9173 # Same as above, but a single script fragment to be evaled but not shown.
9174 finish_eval=$lt_finish_eval
9176 # Take the output of nm and produce a listing of raw symbols and C names.
9177 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9179 # Transform the output of nm in a proper C declaration
9180 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9182 # Transform the output of nm in a C name address pair
9183 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9185 # This is the shared library runtime path variable.
9186 runpath_var=$runpath_var
9188 # This is the shared library path variable.
9189 shlibpath_var=$shlibpath_var
9191 # Is shlibpath searched before the hard-coded library search path?
9192 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9194 # How to hardcode a shared library path into an executable.
9195 hardcode_action=$hardcode_action
9197 # Whether we should hardcode library paths into libraries.
9198 hardcode_into_libs=$hardcode_into_libs
9200 # Flag to hardcode \$libdir into a binary during linking.
9201 # This must work even if \$libdir does not exist.
9202 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9204 # If ld is used when linking, flag to hardcode \$libdir into
9205 # a binary during linking. This must work even if \$libdir does
9207 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9209 # Whether we need a single -rpath flag with a separated argument.
9210 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9212 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9214 hardcode_direct=$hardcode_direct
9216 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9218 hardcode_minus_L=$hardcode_minus_L
9220 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9221 # the resulting binary.
9222 hardcode_shlibpath_var=$hardcode_shlibpath_var
9224 # Set to yes if building a shared library automatically hardcodes DIR into the library
9225 # and all subsequent libraries and executables linked against it.
9226 hardcode_automatic=$hardcode_automatic
9228 # Variables whose values should be saved in libtool wrapper scripts and
9229 # restored at relink time.
9230 variables_saved_for_relink="$variables_saved_for_relink"
9232 # Whether libtool must link a program against all its dependency libraries.
9233 link_all_deplibs=$link_all_deplibs
9235 # Compile-time system search path for libraries
9236 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9238 # Run-time system search path for libraries
9239 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9241 # Fix the shell variable \$srcfile for the compiler.
9242 fix_srcfile_path="$fix_srcfile_path"
9244 # Set to yes if exported symbols are required.
9245 always_export_symbols=$always_export_symbols
9247 # The commands to list exported symbols.
9248 export_symbols_cmds=$lt_export_symbols_cmds
9250 # The commands to extract the exported symbol list from a shared archive.
9251 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9253 # Symbols that should not be listed in the preloaded symbols.
9254 exclude_expsyms=$lt_exclude_expsyms
9256 # Symbols that must always be exported.
9257 include_expsyms=$lt_include_expsyms
9259 # ### END LIBTOOL CONFIG
9266 cat <<\EOF >> "$cfgfile"
9268 # AIX sometimes has problems with the GCC collect2 program. For some
9269 # reason, if we set the COLLECT_NAMES environment variable, the problems
9270 # vanish in a puff of smoke.
9271 if test "X${COLLECT_NAMES+set}" != Xset; then
9273 export COLLECT_NAMES
9279 # We use sed instead of cat because bash on DJGPP gets confused if
9280 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9281 # text mode, it properly converts lines to CR/LF. This bash problem
9282 # is reportedly fixed, but why not run on old versions too?
9283 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9285 mv -f "$cfgfile" "$ofile" || \
9286 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9290 # If there is no Makefile yet, we rely on a make rule to execute
9291 # `config.status --recheck' to rerun these tests and create the
9292 # libtool script then.
9293 test -f Makefile && make "$ltmain"
9298 ac_cpp='$CPP $CPPFLAGS'
9299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9306 # Check whether --with-tags or --without-tags was given.
9307 if test "${with_tags+set}" = set; then
9308 withval="$with_tags"
9312 if test -f "$ltmain" && test -n "$tagnames"; then
9313 if test ! -f "${ofile}"; then
9314 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9315 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9318 if test -z "$LTCC"; then
9319 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9320 if test -z "$LTCC"; then
9321 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9322 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9324 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9325 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9329 # Extract list of available tagged configurations in $ofile.
9330 # Note that this assumes the entire list is on one line.
9331 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9333 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9334 for tagname in $tagnames; do
9336 # Check whether tagname contains only valid characters
9337 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9339 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9340 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9341 { (exit 1); exit 1; }; }
9345 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9347 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9348 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9349 { (exit 1); exit 1; }; }
9352 # Update the list of available tags.
9353 if test -n "$tagname"; then
9354 echo appending configuration tag \"$tagname\" to $ofile
9358 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9360 ac_cpp='$CXXCPP $CPPFLAGS'
9361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9368 archive_cmds_need_lc_CXX=no
9369 allow_undefined_flag_CXX=
9370 always_export_symbols_CXX=no
9371 archive_expsym_cmds_CXX=
9372 export_dynamic_flag_spec_CXX=
9373 hardcode_direct_CXX=no
9374 hardcode_libdir_flag_spec_CXX=
9375 hardcode_libdir_flag_spec_ld_CXX=
9376 hardcode_libdir_separator_CXX=
9377 hardcode_minus_L_CXX=no
9378 hardcode_automatic_CXX=no
9380 module_expsym_cmds_CXX=
9381 link_all_deplibs_CXX=unknown
9382 old_archive_cmds_CXX=$old_archive_cmds
9383 no_undefined_flag_CXX=
9384 whole_archive_flag_spec_CXX=
9385 enable_shared_with_static_runtimes_CXX=no
9387 # Dependencies to place before and after the object being linked:
9389 postdep_objects_CXX=
9392 compiler_lib_search_path_CXX=
9394 # Source file extension for C++ test sources.
9397 # Object file extension for compiled C++ test sources.
9401 # Code to be used in simple compile tests
9402 lt_simple_compile_test_code="int some_variable = 0;\n"
9404 # Code to be used in simple link tests
9405 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9407 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9409 # If no C compiler was specified, use CC.
9412 # Allow CC to be a program name with arguments.
9416 # Allow CC to be a program name with arguments.
9421 lt_save_with_gnu_ld=$with_gnu_ld
9422 lt_save_path_LD=$lt_cv_path_LD
9423 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9424 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9426 unset lt_cv_prog_gnu_ld
9428 if test -n "${lt_cv_path_LDCXX+set}"; then
9429 lt_cv_path_LD=$lt_cv_path_LDCXX
9433 test -z "${LDCXX+set}" || LD=$LDCXX
9437 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9439 # We don't want -fno-exception wen compiling C++ code, so set the
9440 # no_builtin_flag separately
9441 if test "$GXX" = yes; then
9442 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9444 lt_prog_compiler_no_builtin_flag_CXX=
9447 if test "$GXX" = yes; then
9448 # Set up default GNU C++ configuration
9451 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9452 if test "${with_gnu_ld+set}" = set; then
9453 withval="$with_gnu_ld"
9454 test "$withval" = no || with_gnu_ld=yes
9459 if test "$GCC" = yes; then
9460 # Check if gcc -print-prog-name=ld gives a path.
9461 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9462 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9465 # gcc leaves a trailing carriage return which upsets mingw
9466 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9468 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9471 # Accept absolute paths.
9473 re_direlt='/[^/][^/]*/\.\./'
9474 # Canonicalize the path of ld
9475 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9476 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9477 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9479 test -z "$LD" && LD="$ac_prog"
9482 # If it fails, then pretend we aren't using GCC.
9486 # If it is relative, then search for the first ld in PATH.
9490 elif test "$with_gnu_ld" = yes; then
9491 echo "$as_me:$LINENO: checking for GNU ld" >&5
9492 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9494 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9495 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9497 if test "${lt_cv_path_LD+set}" = set; then
9498 echo $ECHO_N "(cached) $ECHO_C" >&6
9500 if test -z "$LD"; then
9501 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9502 for ac_dir in $PATH; do
9504 test -z "$ac_dir" && ac_dir=.
9505 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9506 lt_cv_path_LD="$ac_dir/$ac_prog"
9507 # Check to see if the program is GNU ld. I'd rather use --version,
9508 # but apparently some GNU ld's only accept -v.
9509 # Break only if it was the GNU/non-GNU ld that we prefer.
9510 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9511 *GNU* | *'with BFD'*)
9512 test "$with_gnu_ld" != no && break
9515 test "$with_gnu_ld" != yes && break
9522 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9527 if test -n "$LD"; then
9528 echo "$as_me:$LINENO: result: $LD" >&5
9529 echo "${ECHO_T}$LD" >&6
9531 echo "$as_me:$LINENO: result: no" >&5
9532 echo "${ECHO_T}no" >&6
9534 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9535 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9536 { (exit 1); exit 1; }; }
9537 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9538 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9539 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9540 echo $ECHO_N "(cached) $ECHO_C" >&6
9542 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9543 case `"$LD" -v 2>&1 </dev/null` in
9544 *GNU* | *'with BFD'*)
9545 lt_cv_prog_gnu_ld=yes
9548 lt_cv_prog_gnu_ld=no
9552 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9553 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9554 with_gnu_ld=$lt_cv_prog_gnu_ld
9558 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9559 # archiving commands below assume that GNU ld is being used.
9560 if test "$with_gnu_ld" = yes; then
9561 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9562 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'
9564 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9565 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9567 # If archive_cmds runs LD, not CC, wlarc should be empty
9568 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9569 # investigate it a little bit more. (MM)
9572 # ancient GNU ld didn't support --whole-archive et. al.
9573 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9574 grep 'no-whole-archive' > /dev/null; then
9575 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9577 whole_archive_flag_spec_CXX=
9583 # A generic and very simple default shared library creation
9584 # command for GNU C++ for the case where it uses the native
9585 # linker, instead of GNU ld. If possible, this setting should
9586 # overridden to take advantage of the native linker features on
9587 # the platform it is being used on.
9588 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9591 # Commands to make compiler produce verbose output that lists
9592 # what "hidden" libraries, object files and flags are used when
9593 # linking a shared library.
9594 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9602 # PORTME: fill in a description of your system's C++ link characteristics
9603 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9604 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9608 # FIXME: insert proper C++ library support
9612 if test "$host_cpu" = ia64; then
9613 # On IA64, the linker does run time linking by default, so we don't
9614 # have to do anything special.
9615 aix_use_runtimelinking=no
9616 exp_sym_flag='-Bexport'
9619 aix_use_runtimelinking=no
9621 # Test if we are trying to use run time linking or normal
9622 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9623 # need to do runtime linking.
9624 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9625 for ld_flag in $LDFLAGS; do
9628 aix_use_runtimelinking=yes
9635 exp_sym_flag='-bexport'
9636 no_entry_flag='-bnoentry'
9639 # When large executables or shared objects are built, AIX ld can
9640 # have problems creating the table of contents. If linking a library
9641 # or program results in "error TOC overflow" add -mminimal-toc to
9642 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9643 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9646 hardcode_direct_CXX=yes
9647 hardcode_libdir_separator_CXX=':'
9648 link_all_deplibs_CXX=yes
9650 if test "$GXX" = yes; then
9651 case $host_os in aix4.012|aix4.012.*)
9652 # We only want to do this on AIX 4.2 and lower, the check
9653 # below for broken collect2 doesn't work under 4.3+
9654 collect2name=`${CC} -print-prog-name=collect2`
9655 if test -f "$collect2name" && \
9656 strings "$collect2name" | grep resolve_lib_name >/dev/null
9658 # We have reworked collect2
9659 hardcode_direct_CXX=yes
9661 # We have old collect2
9662 hardcode_direct_CXX=unsupported
9663 # It fails to find uninstalled libraries when the uninstalled
9664 # path is not listed in the libpath. Setting hardcode_minus_L
9665 # to unsupported forces relinking
9666 hardcode_minus_L_CXX=yes
9667 hardcode_libdir_flag_spec_CXX='-L$libdir'
9668 hardcode_libdir_separator_CXX=
9671 shared_flag='-shared'
9674 if test "$host_cpu" = ia64; then
9675 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9676 # chokes on -Wl,-G. The following line is correct:
9679 if test "$aix_use_runtimelinking" = yes; then
9680 shared_flag='${wl}-G'
9682 shared_flag='${wl}-bM:SRE'
9687 # It seems that -bexpall does not export symbols beginning with
9688 # underscore (_), so it is better to generate a list of symbols to export.
9689 always_export_symbols_CXX=yes
9690 if test "$aix_use_runtimelinking" = yes; then
9691 # Warning - without using the other runtime loading flags (-brtl),
9692 # -berok will link without error, but may produce a broken library.
9693 allow_undefined_flag_CXX='-berok'
9694 # Determine the default libpath from the value encoded in an empty executable.
9695 cat >conftest.$ac_ext <<_ACEOF
9696 #line $LINENO "configure"
9699 cat confdefs.h >>conftest.$ac_ext
9700 cat >>conftest.$ac_ext <<_ACEOF
9701 /* end confdefs.h. */
9711 rm -f conftest.$ac_objext conftest$ac_exeext
9712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9713 (eval $ac_link) 2>&5
9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716 (exit $ac_status); } &&
9717 { ac_try='test -s conftest$ac_exeext'
9718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9722 (exit $ac_status); }; }; then
9724 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9726 # Check for a 64-bit object if we didn't find anything.
9727 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; }
9730 echo "$as_me: failed program was:" >&5
9731 sed 's/^/| /' conftest.$ac_ext >&5
9734 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9735 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9737 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9739 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"
9741 if test "$host_cpu" = ia64; then
9742 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9743 allow_undefined_flag_CXX="-z nodefs"
9744 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"
9746 # Determine the default libpath from the value encoded in an empty executable.
9747 cat >conftest.$ac_ext <<_ACEOF
9748 #line $LINENO "configure"
9751 cat confdefs.h >>conftest.$ac_ext
9752 cat >>conftest.$ac_ext <<_ACEOF
9753 /* end confdefs.h. */
9763 rm -f conftest.$ac_objext conftest$ac_exeext
9764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9765 (eval $ac_link) 2>&5
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 (exit $ac_status); } &&
9769 { ac_try='test -s conftest$ac_exeext'
9770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); }; }; then
9776 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9778 # Check for a 64-bit object if we didn't find anything.
9779 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; }
9782 echo "$as_me: failed program was:" >&5
9783 sed 's/^/| /' conftest.$ac_ext >&5
9786 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9787 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9789 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9790 # Warning - without using the other run time loading flags,
9791 # -berok will link without error, but may produce a broken library.
9792 no_undefined_flag_CXX=' ${wl}-bernotok'
9793 allow_undefined_flag_CXX=' ${wl}-berok'
9794 # -bexpall does not export symbols beginning with underscore (_)
9795 always_export_symbols_CXX=yes
9796 # Exported symbols can be pulled into shared objects from archives
9797 whole_archive_flag_spec_CXX=' '
9798 archive_cmds_need_lc_CXX=yes
9799 # This is similar to how AIX traditionally builds it's shared libraries.
9800 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'
9805 case $cc_basename in
9807 # FIXME: insert proper C++ library support
9813 cygwin* | mingw* | pw32*)
9814 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9815 # as there is no search path for DLLs.
9816 hardcode_libdir_flag_spec_CXX='-L$libdir'
9817 allow_undefined_flag_CXX=unsupported
9818 always_export_symbols_CXX=no
9819 enable_shared_with_static_runtimes_CXX=yes
9821 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9822 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'
9823 # If the export-symbols file already is a .def file (1st line
9824 # is EXPORTS), use it as is; otherwise, prepend...
9825 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9826 cp $export_symbols $output_objdir/$soname.def;
9828 echo EXPORTS > $output_objdir/$soname.def;
9829 cat $export_symbols >> $output_objdir/$soname.def;
9831 $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'
9837 darwin* | rhapsody*)
9838 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9839 archive_cmds_need_lc_CXX=no
9841 rhapsody* | darwin1.[012])
9842 allow_undefined_flag_CXX='-undefined suppress'
9845 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9848 lt_int_apple_cc_single_mod=no
9849 output_verbose_link_cmd='echo'
9850 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9851 lt_int_apple_cc_single_mod=yes
9853 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9854 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9856 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'
9858 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9860 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9861 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9862 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}'
9864 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}'
9866 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}'
9867 hardcode_direct_CXX=no
9868 hardcode_automatic_CXX=yes
9869 hardcode_shlibpath_var_CXX=unsupported
9870 whole_archive_flag_spec_CXX='-all_load $convenience'
9871 link_all_deplibs_CXX=yes
9876 case $cc_basename in
9878 # FIXME: insert proper C++ library support
9882 # Green Hills C++ Compiler
9883 # FIXME: insert proper C++ library support
9887 # FIXME: insert proper C++ library support
9893 # C++ shared libraries reported to be fairly broken before switch to ELF
9897 archive_cmds_need_lc_CXX=no
9900 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9907 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9908 hardcode_libdir_separator_CXX=:
9909 export_dynamic_flag_spec_CXX='${wl}-E'
9910 hardcode_direct_CXX=yes
9911 hardcode_minus_L_CXX=yes # Not in the search PATH,
9912 # but as the default
9913 # location of the library.
9915 case $cc_basename in
9917 # FIXME: insert proper C++ library support
9921 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'
9922 # Commands to make compiler produce verbose output that lists
9923 # what "hidden" libraries, object files and flags are used when
9924 # linking a shared library.
9926 # There doesn't appear to be a way to prevent this compiler from
9927 # explicitly linking system object files so we need to strip them
9928 # from the output so that they don't get included in the library
9930 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'
9933 if test "$GXX" = yes; then
9934 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'
9936 # FIXME: insert proper C++ library support
9943 if test $with_gnu_ld = no; then
9946 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9947 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9948 hardcode_libdir_separator_CXX=:
9951 hardcode_libdir_flag_spec_CXX='-L$libdir'
9954 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9955 hardcode_libdir_separator_CXX=:
9956 export_dynamic_flag_spec_CXX='${wl}-E'
9962 hardcode_direct_CXX=no
9963 hardcode_shlibpath_var_CXX=no
9966 hardcode_direct_CXX=no
9967 hardcode_shlibpath_var_CXX=no
9968 hardcode_minus_L_CXX=yes # Not in the search PATH,
9969 # but as the default
9970 # location of the library.
9973 hardcode_direct_CXX=yes
9974 hardcode_minus_L_CXX=yes # Not in the search PATH,
9975 # but as the default
9976 # location of the library.
9980 case $cc_basename in
9982 # FIXME: insert proper C++ library support
9988 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9991 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9994 # Commands to make compiler produce verbose output that lists
9995 # what "hidden" libraries, object files and flags are used when
9996 # linking a shared library.
9998 # There doesn't appear to be a way to prevent this compiler from
9999 # explicitly linking system object files so we need to strip them
10000 # from the output so that they don't get included in the library
10002 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'
10005 if test "$GXX" = yes; then
10006 if test $with_gnu_ld = no; then
10007 case "$host_cpu" in
10009 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10012 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'
10017 # FIXME: insert proper C++ library support
10024 case $cc_basename in
10027 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'
10029 # Archives containing C++ object files must be created using
10030 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10031 # necessary to make sure instantiated templates are included
10033 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10036 if test "$GXX" = yes; then
10037 if test "$with_gnu_ld" = no; then
10038 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'
10040 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'
10043 link_all_deplibs_CXX=yes
10046 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10047 hardcode_libdir_separator_CXX=:
10050 case $cc_basename in
10052 # Kuck and Associates, Inc. (KAI) C++ Compiler
10054 # KCC will only create a shared library if the output file
10055 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10056 # to its proper name (with version) after linking.
10057 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'
10058 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'
10059 # Commands to make compiler produce verbose output that lists
10060 # what "hidden" libraries, object files and flags are used when
10061 # linking a shared library.
10063 # There doesn't appear to be a way to prevent this compiler from
10064 # explicitly linking system object files so we need to strip them
10065 # from the output so that they don't get included in the library
10067 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'
10069 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10070 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10072 # Archives containing C++ object files must be created using
10073 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10074 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10079 archive_cmds_need_lc_CXX=no
10080 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10081 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'
10082 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10083 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10084 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10088 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10089 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'
10091 runpath_var=LD_RUN_PATH
10092 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10093 hardcode_libdir_separator_CXX=:
10095 # Commands to make compiler produce verbose output that lists
10096 # what "hidden" libraries, object files and flags are used when
10097 # linking a shared library.
10099 # There doesn't appear to be a way to prevent this compiler from
10100 # explicitly linking system object files so we need to strip them
10101 # from the output so that they don't get included in the library
10103 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'
10108 # FIXME: insert proper C++ library support
10112 # FIXME: insert proper C++ library support
10116 case $cc_basename in
10118 # FIXME: insert proper C++ library support
10122 # FIXME: insert proper C++ library support
10128 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10129 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10131 hardcode_libdir_flag_spec_CXX='-R$libdir'
10132 hardcode_direct_CXX=yes
10133 hardcode_shlibpath_var_CXX=no
10135 # Workaround some broken pre-1.5 toolchains
10136 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10139 case $cc_basename in
10141 # Kuck and Associates, Inc. (KAI) C++ Compiler
10143 # KCC will only create a shared library if the output file
10144 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10145 # to its proper name (with version) after linking.
10146 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'
10148 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10149 hardcode_libdir_separator_CXX=:
10151 # Archives containing C++ object files must be created using
10152 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10153 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10157 # Rational C++ 2.4.1
10158 # FIXME: insert proper C++ library support
10162 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10163 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'
10165 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10166 hardcode_libdir_separator_CXX=:
10168 # Commands to make compiler produce verbose output that lists
10169 # what "hidden" libraries, object files and flags are used when
10170 # linking a shared library.
10172 # There doesn't appear to be a way to prevent this compiler from
10173 # explicitly linking system object files so we need to strip them
10174 # from the output so that they don't get included in the library
10176 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'
10179 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10180 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10181 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'
10183 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10184 hardcode_libdir_separator_CXX=:
10186 # Commands to make compiler produce verbose output that lists
10187 # what "hidden" libraries, object files and flags are used when
10188 # linking a shared library.
10189 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10192 # FIXME: insert proper C++ library support
10199 case $cc_basename in
10201 # Kuck and Associates, Inc. (KAI) C++ Compiler
10203 # KCC will only create a shared library if the output file
10204 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10205 # to its proper name (with version) after linking.
10206 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'
10208 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10209 hardcode_libdir_separator_CXX=:
10211 # Archives containing C++ object files must be created using
10212 # the KAI C++ compiler.
10213 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10216 # Rational C++ 2.4.1
10217 # FIXME: insert proper C++ library support
10221 allow_undefined_flag_CXX=' -expect_unresolved \*'
10222 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'
10223 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10224 echo "-hidden">> $lib.exp~
10225 $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~
10228 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10229 hardcode_libdir_separator_CXX=:
10231 # Commands to make compiler produce verbose output that lists
10232 # what "hidden" libraries, object files and flags are used when
10233 # linking a shared library.
10235 # There doesn't appear to be a way to prevent this compiler from
10236 # explicitly linking system object files so we need to strip them
10237 # from the output so that they don't get included in the library
10239 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'
10242 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10243 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10244 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'
10246 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10247 hardcode_libdir_separator_CXX=:
10249 # Commands to make compiler produce verbose output that lists
10250 # what "hidden" libraries, object files and flags are used when
10251 # linking a shared library.
10252 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10255 # FIXME: insert proper C++ library support
10262 # FIXME: insert proper C++ library support
10266 archive_cmds_need_lc_CXX=no
10267 case $cc_basename in
10269 # FIXME: insert proper C++ library support
10273 # FIXME: insert proper C++ library support
10279 case $cc_basename in
10282 # FIXME: insert proper C++ library support
10287 # FIXME: insert proper C++ library support
10291 # FIXME: insert proper C++ library support
10297 case $cc_basename in
10299 # Sun C++ 4.2, 5.x and Centerline C++
10300 no_undefined_flag_CXX=' -zdefs'
10301 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10302 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10303 $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'
10305 hardcode_libdir_flag_spec_CXX='-R$libdir'
10306 hardcode_shlibpath_var_CXX=no
10308 solaris2.0-5 | solaris2.0-5.*) ;;
10310 # The C++ compiler is used as linker so we must use $wl
10311 # flag to pass the commands to the underlying system
10313 # Supported since Solaris 2.6 (maybe 2.5.1?)
10314 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10317 link_all_deplibs_CXX=yes
10319 # Commands to make compiler produce verbose output that lists
10320 # what "hidden" libraries, object files and flags are used when
10321 # linking a shared library.
10323 # There doesn't appear to be a way to prevent this compiler from
10324 # explicitly linking system object files so we need to strip them
10325 # from the output so that they don't get included in the library
10327 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'
10329 # Archives containing C++ object files must be created using
10330 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10331 # necessary to make sure instantiated templates are included
10333 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10336 # Green Hills C++ Compiler
10337 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10339 # The C++ compiler must be used to create the archive.
10340 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10343 # GNU C++ compiler with Solaris linker
10344 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10345 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10346 if $CC --version | grep -v '^2\.7' > /dev/null; then
10347 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10348 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10349 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10351 # Commands to make compiler produce verbose output that lists
10352 # what "hidden" libraries, object files and flags are used when
10353 # linking a shared library.
10354 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10356 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10358 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10359 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10360 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10362 # Commands to make compiler produce verbose output that lists
10363 # what "hidden" libraries, object files and flags are used when
10364 # linking a shared library.
10365 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10368 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10373 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10374 archive_cmds_need_lc_CXX=no
10377 case $cc_basename in
10379 # NonStop-UX NCC 3.20
10380 # FIXME: insert proper C++ library support
10384 # FIXME: insert proper C++ library support
10390 # FIXME: insert proper C++ library support
10394 # FIXME: insert proper C++ library support
10398 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10399 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10400 test "$ld_shlibs_CXX" = no && can_build_shared=no
10406 ## There is no encapsulation within the following macros, do not change
10407 ## the running order or otherwise move them around unless you know exactly
10408 ## what you are doing...
10410 cat > conftest.$ac_ext <<EOF
10414 Foo (void) { a = 0; }
10420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10421 (eval $ac_compile) 2>&5
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); }; then
10425 # Parse the compiler output and extract the necessary
10426 # objects, libraries and library flags.
10428 # Sentinel used to keep track of whether or not we are before
10429 # the conftest object file.
10430 pre_test_object_deps_done=no
10432 # The `*' in the case matches for architectures that use `case' in
10433 # $output_verbose_cmd can trigger glob expansion during the loop
10434 # eval without this substitution.
10435 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10437 for p in `eval $output_verbose_link_cmd`; do
10441 # Some compilers place space between "-{L,R}" and the path.
10442 # Remove the space.
10443 if test $p = "-L" \
10444 || test $p = "-R"; then
10451 if test "$pre_test_object_deps_done" = no; then
10454 # Internal compiler library paths should come after those
10455 # provided the user. The postdeps already come after the
10456 # user supplied libs so there is no need to process them.
10457 if test -z "$compiler_lib_search_path_CXX"; then
10458 compiler_lib_search_path_CXX="${prev}${p}"
10460 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10463 # The "-l" case would never come before the object being
10464 # linked, so don't bother handling this case.
10467 if test -z "$postdeps_CXX"; then
10468 postdeps_CXX="${prev}${p}"
10470 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10476 # This assumes that the test object file only shows up
10477 # once in the compiler output.
10478 if test "$p" = "conftest.$objext"; then
10479 pre_test_object_deps_done=yes
10483 if test "$pre_test_object_deps_done" = no; then
10484 if test -z "$predep_objects_CXX"; then
10485 predep_objects_CXX="$p"
10487 predep_objects_CXX="$predep_objects_CXX $p"
10490 if test -z "$postdep_objects_CXX"; then
10491 postdep_objects_CXX="$p"
10493 postdep_objects_CXX="$postdep_objects_CXX $p"
10498 *) ;; # Ignore the rest.
10506 echo "libtool.m4: error: problem compiling CXX test program"
10509 $rm -f confest.$objext
10511 case " $postdeps_CXX " in
10512 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10515 lt_prog_compiler_wl_CXX=
10516 lt_prog_compiler_pic_CXX=
10517 lt_prog_compiler_static_CXX=
10519 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10520 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10522 # C++ specific cases for pic, static, wl, etc.
10523 if test "$GXX" = yes; then
10524 lt_prog_compiler_wl_CXX='-Wl,'
10525 lt_prog_compiler_static_CXX='-static'
10529 # All AIX code is PIC.
10530 if test "$host_cpu" = ia64; then
10531 # AIX 5 now supports IA64 processor
10532 lt_prog_compiler_static_CXX='-Bstatic'
10536 # FIXME: we need at least 68020 code to build shared libraries, but
10537 # adding the `-m68020' flag to GCC prevents building anything better,
10539 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10541 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10542 # PIC is the default for these OSes.
10544 mingw* | os2* | pw32*)
10545 # This hack is so that the source file can tell whether it is being
10546 # built for inclusion in a dll (and should export symbols for example).
10547 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10549 darwin* | rhapsody*)
10550 # PIC is the default on this platform
10551 # Common symbols not allowed in MH_DYLIB files
10552 lt_prog_compiler_pic_CXX='-fno-common'
10555 # DJGPP does not support shared libraries at all
10556 lt_prog_compiler_pic_CXX=
10559 if test -d /usr/nec; then
10560 lt_prog_compiler_pic_CXX=-Kconform_pic
10564 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10565 # not for PA HP-UX.
10566 case "$host_cpu" in
10570 lt_prog_compiler_pic_CXX='-fPIC'
10575 lt_prog_compiler_pic_CXX='-fPIC'
10581 # All AIX code is PIC.
10582 if test "$host_cpu" = ia64; then
10583 # AIX 5 now supports IA64 processor
10584 lt_prog_compiler_static_CXX='-Bstatic'
10586 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10590 case $cc_basename in
10592 # Green Hills C++ Compiler
10593 # _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"
10598 case $cc_basename in
10600 lt_prog_compiler_pic_CXX='-KPIC'
10603 # Green Hills C++ Compiler
10604 lt_prog_compiler_pic_CXX='-pic'
10611 # FreeBSD uses GNU C++
10613 hpux9* | hpux10* | hpux11*)
10614 case $cc_basename in
10616 lt_prog_compiler_wl_CXX='-Wl,'
10617 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10618 if test "$host_cpu" != ia64; then
10619 lt_prog_compiler_pic_CXX='+Z'
10623 lt_prog_compiler_wl_CXX='-Wl,'
10624 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10625 case "$host_cpu" in
10630 lt_prog_compiler_pic_CXX='+Z'
10638 irix5* | irix6* | nonstopux*)
10639 case $cc_basename in
10641 lt_prog_compiler_wl_CXX='-Wl,'
10642 lt_prog_compiler_static_CXX='-non_shared'
10643 # CC pic flag -KPIC is the default.
10650 case $cc_basename in
10653 lt_prog_compiler_wl_CXX='--backend -Wl,'
10654 lt_prog_compiler_pic_CXX='-fPIC'
10658 lt_prog_compiler_wl_CXX='-Wl,'
10659 lt_prog_compiler_pic_CXX='-KPIC'
10660 lt_prog_compiler_static_CXX='-static'
10664 # Make sure the PIC flag is empty. It appears that all Alpha
10665 # Linux and Compaq Tru64 Unix objects are PIC.
10666 lt_prog_compiler_pic_CXX=
10667 lt_prog_compiler_static_CXX='-non_shared'
10678 case $cc_basename in
10680 lt_prog_compiler_pic_CXX='-W c,exportall'
10688 osf3* | osf4* | osf5*)
10689 case $cc_basename in
10691 lt_prog_compiler_wl_CXX='--backend -Wl,'
10694 # Rational C++ 2.4.1
10695 lt_prog_compiler_pic_CXX='-pic'
10698 # Digital/Compaq C++
10699 lt_prog_compiler_wl_CXX='-Wl,'
10700 # Make sure the PIC flag is empty. It appears that all Alpha
10701 # Linux and Compaq Tru64 Unix objects are PIC.
10702 lt_prog_compiler_pic_CXX=
10703 lt_prog_compiler_static_CXX='-non_shared'
10712 case $cc_basename in
10714 lt_prog_compiler_pic_CXX='-fPIC'
10721 case $cc_basename in
10723 # Sun C++ 4.2, 5.x and Centerline C++
10724 lt_prog_compiler_pic_CXX='-KPIC'
10725 lt_prog_compiler_static_CXX='-Bstatic'
10726 lt_prog_compiler_wl_CXX='-Qoption ld '
10729 # Green Hills C++ Compiler
10730 lt_prog_compiler_pic_CXX='-PIC'
10737 case $cc_basename in
10740 lt_prog_compiler_pic_CXX='-pic'
10741 lt_prog_compiler_static_CXX='-Bstatic'
10745 lt_prog_compiler_pic_CXX='-pic'
10752 case $cc_basename in
10754 # NonStop-UX NCC 3.20
10755 lt_prog_compiler_pic_CXX='-KPIC'
10766 lt_prog_compiler_can_build_shared_CXX=no
10771 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10772 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10775 # Check to make sure the PIC flag actually works.
10777 if test -n "$lt_prog_compiler_pic_CXX"; then
10778 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10779 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10780 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10781 echo $ECHO_N "(cached) $ECHO_C" >&6
10783 lt_prog_compiler_pic_works_CXX=no
10784 ac_outfile=conftest.$ac_objext
10785 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10786 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10787 # Insert the option either (1) after the last *FLAGS variable, or
10788 # (2) before a word containing "conftest.", or (3) at the end.
10789 # Note that $ac_compile itself does not contain backslashes and begins
10790 # with a dollar sign (not a hyphen), so the echo should work correctly.
10791 # The option is referenced via a variable to avoid confusing sed.
10792 lt_compile=`echo "$ac_compile" | $SED \
10793 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10794 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10795 -e 's:$: $lt_compiler_flag:'`
10796 (eval echo "\"\$as_me:10796: $lt_compile\"" >&5)
10797 (eval "$lt_compile" 2>conftest.err)
10799 cat conftest.err >&5
10800 echo "$as_me:10800: \$? = $ac_status" >&5
10801 if (exit $ac_status) && test -s "$ac_outfile"; then
10802 # The compiler can only warn and ignore the option if not recognized
10803 # So say no if there are warnings
10804 if test ! -s conftest.err; then
10805 lt_prog_compiler_pic_works_CXX=yes
10811 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10812 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10814 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10815 case $lt_prog_compiler_pic_CXX in
10817 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10820 lt_prog_compiler_pic_CXX=
10821 lt_prog_compiler_can_build_shared_CXX=no
10826 # For platforms which do not support PIC, -DPIC is meaningless:
10828 lt_prog_compiler_pic_CXX=
10831 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10835 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10836 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10837 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10838 echo $ECHO_N "(cached) $ECHO_C" >&6
10840 lt_cv_prog_compiler_c_o_CXX=no
10841 $rm -r conftest 2>/dev/null
10845 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10847 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10848 # that will create temporary files in the current directory regardless of
10849 # the output directory. Thus, making CWD read-only will cause this test
10850 # to fail, enabling locking or at least warning the user not to do parallel
10854 lt_compiler_flag="-o out/conftest2.$ac_objext"
10855 # Insert the option either (1) after the last *FLAGS variable, or
10856 # (2) before a word containing "conftest.", or (3) at the end.
10857 # Note that $ac_compile itself does not contain backslashes and begins
10858 # with a dollar sign (not a hyphen), so the echo should work correctly.
10859 lt_compile=`echo "$ac_compile" | $SED \
10860 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10861 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10862 -e 's:$: $lt_compiler_flag:'`
10863 (eval echo "\"\$as_me:10863: $lt_compile\"" >&5)
10864 (eval "$lt_compile" 2>out/conftest.err)
10866 cat out/conftest.err >&5
10867 echo "$as_me:10867: \$? = $ac_status" >&5
10868 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10870 # The compiler can only warn and ignore the option if not recognized
10871 # So say no if there are warnings
10872 if test ! -s out/conftest.err; then
10873 lt_cv_prog_compiler_c_o_CXX=yes
10877 $rm conftest* out/*
10884 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10885 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10888 hard_links="nottested"
10889 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10890 # do not overwrite the value of need_locks provided by the user
10891 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10892 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10895 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10897 ln conftest.a conftest.b 2>&5 || hard_links=no
10898 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10899 echo "$as_me:$LINENO: result: $hard_links" >&5
10900 echo "${ECHO_T}$hard_links" >&6
10901 if test "$hard_links" = no; then
10902 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10903 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10910 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10911 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10913 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10916 # If we're using GNU nm, then we don't want the "-C" option.
10917 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10918 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10919 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'
10921 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'
10925 export_symbols_cmds_CXX="$ltdll_cmds"
10928 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10931 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10935 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10936 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10937 test "$ld_shlibs_CXX" = no && can_build_shared=no
10939 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10940 if test "$GCC" = yes; then
10941 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10945 # Do we need to explicitly link libc?
10947 case "x$archive_cmds_need_lc_CXX" in
10949 # Assume -lc should be added
10950 archive_cmds_need_lc_CXX=yes
10952 if test "$enable_shared" = yes && test "$GCC" = yes; then
10953 case $archive_cmds_CXX in
10955 # FIXME: we may have to deal with multi-command sequences.
10958 # Test whether the compiler implicitly links with -lc since on some
10959 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10960 # to ld, don't add -lc before -lgcc.
10961 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10962 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10964 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10967 (eval $ac_compile) 2>&5
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); } 2>conftest.err; then
10973 libobjs=conftest.$ac_objext
10975 wl=$lt_prog_compiler_wl_CXX
10981 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10982 allow_undefined_flag_CXX=
10983 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10984 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); }
10989 archive_cmds_need_lc_CXX=no
10991 archive_cmds_need_lc_CXX=yes
10993 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
10995 cat conftest.err 1>&5
10998 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
10999 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11006 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11007 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11008 hardcode_action_CXX=
11009 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11010 test -n "$runpath_var CXX" || \
11011 test "X$hardcode_automatic_CXX"="Xyes" ; then
11013 # We can hardcode non-existant directories.
11014 if test "$hardcode_direct_CXX" != no &&
11015 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11016 # have to relink, otherwise we might link with an installed library
11017 # when we should be linking with a yet-to-be-installed one
11018 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11019 test "$hardcode_minus_L_CXX" != no; then
11020 # Linking always hardcodes the temporary library directory.
11021 hardcode_action_CXX=relink
11023 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11024 hardcode_action_CXX=immediate
11027 # We cannot hardcode anything, or else we can only hardcode existing
11029 hardcode_action_CXX=unsupported
11031 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11032 echo "${ECHO_T}$hardcode_action_CXX" >&6
11034 if test "$hardcode_action_CXX" = relink; then
11035 # Fast installation is not supported
11036 enable_fast_install=no
11037 elif test "$shlibpath_overrides_runpath" = yes ||
11038 test "$enable_shared" = no; then
11039 # Fast installation is not necessary
11040 enable_fast_install=needless
11045 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11046 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11047 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11048 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11049 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11050 echo "$as_me:$LINENO: result: yes" >&5
11051 echo "${ECHO_T}yes" >&6
11053 # FIXME - insert some real tests, host_os isn't really good enough
11056 if test -n "$STRIP" ; then
11057 striplib="$STRIP -x"
11058 echo "$as_me:$LINENO: result: yes" >&5
11059 echo "${ECHO_T}yes" >&6
11061 echo "$as_me:$LINENO: result: no" >&5
11062 echo "${ECHO_T}no" >&6
11066 echo "$as_me:$LINENO: result: no" >&5
11067 echo "${ECHO_T}no" >&6
11072 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11073 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11074 library_names_spec=
11075 libname_spec='lib$name'
11079 postuninstall_cmds=
11083 shlibpath_overrides_runpath=unknown
11085 dynamic_linker="$host_os ld.so"
11086 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11087 if test "$GCC" = yes; then
11088 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11089 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11090 # if the path contains ";" then we assume it to be the separator
11091 # otherwise default to the standard path separator (i.e. ":") - it is
11092 # assumed that no part of a normal pathname contains ";" but that should
11093 # okay in the real world where ";" in dirpaths is itself problematic.
11094 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11096 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11099 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11101 need_lib_prefix=unknown
11102 hardcode_into_libs=no
11104 # when you set need_version to no, make sure it does not cause -set_version
11105 # flags to be left without arguments
11106 need_version=unknown
11111 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11112 shlibpath_var=LIBPATH
11114 # AIX 3 has no versioning support, so we append a major version to the name.
11115 soname_spec='${libname}${release}${shared_ext}$major'
11122 hardcode_into_libs=yes
11123 if test "$host_cpu" = ia64; then
11124 # AIX 5 supports IA64
11125 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11126 shlibpath_var=LD_LIBRARY_PATH
11128 # With GCC up to 2.95.x, collect2 would create an import file
11129 # for dependence libraries. The import file would start with
11130 # the line `#! .'. This would cause the generated library to
11131 # depend on `.', always an invalid library. This was fixed in
11132 # development snapshots of GCC prior to 3.0.
11134 aix4 | aix4.[01] | aix4.[01].*)
11135 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11137 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11140 can_build_shared=no
11144 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11145 # soname into executable. Probably we can add versioning support to
11146 # collect2, so additional links can be useful in future.
11147 if test "$aix_use_runtimelinking" = yes; then
11148 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11149 # instead of lib<name>.a to let people know that these are not
11150 # typical AIX shared libraries.
11151 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11153 # We preserve .a as extension for shared libraries through AIX4.2
11154 # and later when we are not doing run time linking.
11155 library_names_spec='${libname}${release}.a $libname.a'
11156 soname_spec='${libname}${release}${shared_ext}$major'
11158 shlibpath_var=LIBPATH
11163 library_names_spec='$libname.ixlibrary $libname.a'
11164 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11165 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'
11169 library_names_spec='${libname}${shared_ext}'
11170 dynamic_linker="$host_os ld.so"
11171 shlibpath_var=LIBRARY_PATH
11177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11178 soname_spec='${libname}${release}${shared_ext}$major'
11179 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11180 shlibpath_var=LD_LIBRARY_PATH
11181 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11182 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11183 # the default ld.so.conf also contains /usr/contrib/lib and
11184 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11185 # libtool to hard-code these into programs
11188 cygwin* | mingw* | pw32*)
11189 version_type=windows
11194 case $GCC,$host_os in
11195 yes,cygwin* | yes,mingw* | yes,pw32*)
11196 library_names_spec='$libname.dll.a'
11197 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11198 postinstall_cmds='base_file=`basename \${file}`~
11199 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11200 dldir=$destdir/`dirname \$dlpath`~
11201 test -d \$dldir || mkdir -p \$dldir~
11202 $install_prog $dir/$dlname \$dldir/$dlname'
11203 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11204 dlpath=$dir/\$dldll~
11206 shlibpath_overrides_runpath=yes
11210 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11211 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11212 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11215 # MinGW DLLs use traditional 'lib' prefix
11216 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11217 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11218 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11219 # It is most probably a Windows format PATH printed by
11220 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11221 # path with ; separators, and with drive letters. We can handle the
11222 # drive letters (cygwin fileutils understands them), so leave them,
11223 # especially as we might pass files found there to a mingw objdump,
11224 # which wouldn't understand a cygwinified path. Ahh.
11225 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11227 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11231 # pw32 DLLs use 'pw' prefix rather than 'lib'
11232 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11238 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11241 dynamic_linker='Win32 ld.exe'
11242 # FIXME: first we should search . and the directory the executable is in
11246 darwin* | rhapsody*)
11247 dynamic_linker="$host_os dyld"
11248 version_type=darwin
11251 # FIXME: Relying on posixy $() will cause problems for
11252 # cross-compilation, but unfortunately the echo tests do not
11253 # yet detect zsh echo's removal of \ escapes.
11254 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11255 soname_spec='${libname}${release}${major}$shared_ext'
11256 shlibpath_overrides_runpath=yes
11257 shlibpath_var=DYLD_LIBRARY_PATH
11258 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11259 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11260 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11261 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"`
11263 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11270 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11271 soname_spec='${libname}${release}${shared_ext}$major'
11272 shlibpath_var=LD_LIBRARY_PATH
11280 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11281 version_type=freebsd-$objformat
11282 case $version_type in
11284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11289 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11293 shlibpath_var=LD_LIBRARY_PATH
11296 shlibpath_overrides_runpath=yes
11298 freebsd3.01* | freebsdelf3.01*)
11299 shlibpath_overrides_runpath=yes
11300 hardcode_into_libs=yes
11303 shlibpath_overrides_runpath=no
11304 hardcode_into_libs=yes
11313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11314 soname_spec='${libname}${release}${shared_ext}$major'
11315 shlibpath_var=LD_LIBRARY_PATH
11316 hardcode_into_libs=yes
11319 hpux9* | hpux10* | hpux11*)
11320 # Give a soname corresponding to the major version so that dld.sl refuses to
11321 # link against other versions.
11325 case "$host_cpu" in
11328 hardcode_into_libs=yes
11329 dynamic_linker="$host_os dld.so"
11330 shlibpath_var=LD_LIBRARY_PATH
11331 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11333 soname_spec='${libname}${release}${shared_ext}$major'
11334 if test "X$HPUX_IA64_MODE" = X32; then
11335 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11337 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11339 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11343 hardcode_into_libs=yes
11344 dynamic_linker="$host_os dld.sl"
11345 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11346 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11348 soname_spec='${libname}${release}${shared_ext}$major'
11349 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11350 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11354 dynamic_linker="$host_os dld.sl"
11355 shlibpath_var=SHLIB_PATH
11356 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11358 soname_spec='${libname}${release}${shared_ext}$major'
11361 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11362 postinstall_cmds='chmod 555 $lib'
11365 irix5* | irix6* | nonstopux*)
11367 nonstopux*) version_type=nonstopux ;;
11369 if test "$lt_cv_prog_gnu_ld" = yes; then
11377 soname_spec='${libname}${release}${shared_ext}$major'
11378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11380 irix5* | nonstopux*)
11381 libsuff= shlibsuff=
11384 case $LD in # libtool.m4 will add one of these switches to LD
11385 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11386 libsuff= shlibsuff= libmagic=32-bit;;
11387 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11388 libsuff=32 shlibsuff=N32 libmagic=N32;;
11389 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11390 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11391 *) libsuff= shlibsuff= libmagic=never-match;;
11395 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11396 shlibpath_overrides_runpath=no
11397 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11398 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11399 hardcode_into_libs=yes
11402 # No shared lib support for Linux oldld, aout, or coff.
11403 linux*oldld* | linux*aout* | linux*coff*)
11407 # This must be Linux ELF.
11412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11413 soname_spec='${libname}${release}${shared_ext}$major'
11414 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11415 shlibpath_var=LD_LIBRARY_PATH
11416 shlibpath_overrides_runpath=no
11417 # This implies no fast_install, which is unacceptable.
11418 # Some rework will be needed to allow for fast_install
11419 # before this can be enabled.
11420 hardcode_into_libs=yes
11422 # We used to test for /lib/ld.so.1 and disable shared libraries on
11423 # powerpc, because MkLinux only supported shared libraries with the
11424 # GNU dynamic linker. Since this was broken with cross compilers,
11425 # most powerpc-linux boxes support dynamic linking these days and
11426 # people can always --disable-shared, the test was removed, and we
11427 # assume the GNU/Linux dynamic linker is in use.
11428 dynamic_linker='GNU/Linux ld.so'
11435 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11437 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11438 dynamic_linker='NetBSD (a.out) ld.so'
11440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11441 soname_spec='${libname}${release}${shared_ext}$major'
11442 dynamic_linker='NetBSD ld.elf_so'
11444 shlibpath_var=LD_LIBRARY_PATH
11445 shlibpath_overrides_runpath=yes
11446 hardcode_into_libs=yes
11451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11452 shlibpath_var=LD_LIBRARY_PATH
11453 shlibpath_overrides_runpath=yes
11460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11461 soname_spec='${libname}${release}${shared_ext}$major'
11462 shlibpath_var=LD_LIBRARY_PATH
11463 shlibpath_overrides_runpath=yes
11470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11471 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11472 shlibpath_var=LD_LIBRARY_PATH
11473 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11475 openbsd2.[89] | openbsd2.[89].*)
11476 shlibpath_overrides_runpath=no
11479 shlibpath_overrides_runpath=yes
11483 shlibpath_overrides_runpath=yes
11488 libname_spec='$name'
11491 library_names_spec='$libname${shared_ext} $libname.a'
11492 dynamic_linker='OS/2 ld.exe'
11493 shlibpath_var=LIBPATH
11496 osf3* | osf4* | osf5*)
11500 soname_spec='${libname}${release}${shared_ext}$major'
11501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11502 shlibpath_var=LD_LIBRARY_PATH
11503 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11504 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11509 soname_spec='${libname}${release}${shared_ext}$major'
11510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11511 shlibpath_var=LD_LIBRARY_PATH
11518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11519 soname_spec='${libname}${release}${shared_ext}$major'
11520 shlibpath_var=LD_LIBRARY_PATH
11521 shlibpath_overrides_runpath=yes
11522 hardcode_into_libs=yes
11523 # ldd complains unless libraries are executable
11524 postinstall_cmds='chmod +x $lib'
11529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11530 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11531 shlibpath_var=LD_LIBRARY_PATH
11532 shlibpath_overrides_runpath=yes
11533 if test "$with_gnu_ld" = yes; then
11539 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11542 soname_spec='${libname}${release}${shared_ext}$major'
11543 shlibpath_var=LD_LIBRARY_PATH
11544 case $host_vendor in
11546 shlibpath_overrides_runpath=no
11548 export_dynamic_flag_spec='${wl}-Blargedynsym'
11549 runpath_var=LD_RUN_PATH
11557 shlibpath_overrides_runpath=no
11558 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11564 if test -d /usr/nec ;then
11566 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11567 soname_spec='$libname${shared_ext}.$major'
11568 shlibpath_var=LD_LIBRARY_PATH
11574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11575 soname_spec='${libname}${release}${shared_ext}$major'
11576 shlibpath_var=LD_LIBRARY_PATH
11583 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11584 echo "${ECHO_T}$dynamic_linker" >&6
11585 test "$dynamic_linker" = no && can_build_shared=no
11587 if test "x$enable_dlopen" != xyes; then
11588 enable_dlopen=unknown
11589 enable_dlopen_self=unknown
11590 enable_dlopen_self_static=unknown
11597 lt_cv_dlopen="load_add_on"
11599 lt_cv_dlopen_self=yes
11603 lt_cv_dlopen="LoadLibrary"
11608 lt_cv_dlopen="dlopen"
11613 # if libdl is installed we need to link against it
11614 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11615 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11616 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11617 echo $ECHO_N "(cached) $ECHO_C" >&6
11619 ac_check_lib_save_LIBS=$LIBS
11621 cat >conftest.$ac_ext <<_ACEOF
11622 #line $LINENO "configure"
11625 cat confdefs.h >>conftest.$ac_ext
11626 cat >>conftest.$ac_ext <<_ACEOF
11627 /* end confdefs.h. */
11629 /* Override any gcc2 internal prototype to avoid an error. */
11633 /* We use char because int might match the return type of a gcc2
11634 builtin and then its argument prototype would still apply. */
11644 rm -f conftest.$ac_objext conftest$ac_exeext
11645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11646 (eval $ac_link) 2>&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); } &&
11650 { ac_try='test -s conftest$ac_exeext'
11651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11652 (eval $ac_try) 2>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); }; }; then
11656 ac_cv_lib_dl_dlopen=yes
11658 echo "$as_me: failed program was:" >&5
11659 sed 's/^/| /' conftest.$ac_ext >&5
11661 ac_cv_lib_dl_dlopen=no
11663 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11664 LIBS=$ac_check_lib_save_LIBS
11666 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11667 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11668 if test $ac_cv_lib_dl_dlopen = yes; then
11669 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11672 lt_cv_dlopen="dyld"
11674 lt_cv_dlopen_self=yes
11681 echo "$as_me:$LINENO: checking for shl_load" >&5
11682 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11683 if test "${ac_cv_func_shl_load+set}" = set; then
11684 echo $ECHO_N "(cached) $ECHO_C" >&6
11686 cat >conftest.$ac_ext <<_ACEOF
11687 #line $LINENO "configure"
11690 cat confdefs.h >>conftest.$ac_ext
11691 cat >>conftest.$ac_ext <<_ACEOF
11692 /* end confdefs.h. */
11693 /* System header to define __stub macros and hopefully few prototypes,
11694 which can conflict with char shl_load (); below.
11695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11696 <limits.h> exists even on freestanding compilers. */
11698 # include <limits.h>
11700 # include <assert.h>
11702 /* Override any gcc2 internal prototype to avoid an error. */
11707 /* We use char because int might match the return type of a gcc2
11708 builtin and then its argument prototype would still apply. */
11710 /* The GNU C library defines this for functions which it implements
11711 to always fail with ENOSYS. Some functions are actually named
11712 something starting with __ and the normal name is an alias. */
11713 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11716 char (*f) () = shl_load;
11725 return f != shl_load;
11730 rm -f conftest.$ac_objext conftest$ac_exeext
11731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11732 (eval $ac_link) 2>&5
11734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735 (exit $ac_status); } &&
11736 { ac_try='test -s conftest$ac_exeext'
11737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11738 (eval $ac_try) 2>&5
11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); }; }; then
11742 ac_cv_func_shl_load=yes
11744 echo "$as_me: failed program was:" >&5
11745 sed 's/^/| /' conftest.$ac_ext >&5
11747 ac_cv_func_shl_load=no
11749 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11751 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11752 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11753 if test $ac_cv_func_shl_load = yes; then
11754 lt_cv_dlopen="shl_load"
11756 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11757 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11758 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11759 echo $ECHO_N "(cached) $ECHO_C" >&6
11761 ac_check_lib_save_LIBS=$LIBS
11763 cat >conftest.$ac_ext <<_ACEOF
11764 #line $LINENO "configure"
11767 cat confdefs.h >>conftest.$ac_ext
11768 cat >>conftest.$ac_ext <<_ACEOF
11769 /* end confdefs.h. */
11771 /* Override any gcc2 internal prototype to avoid an error. */
11775 /* We use char because int might match the return type of a gcc2
11776 builtin and then its argument prototype would still apply. */
11786 rm -f conftest.$ac_objext conftest$ac_exeext
11787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11788 (eval $ac_link) 2>&5
11790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11791 (exit $ac_status); } &&
11792 { ac_try='test -s conftest$ac_exeext'
11793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11794 (eval $ac_try) 2>&5
11796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11797 (exit $ac_status); }; }; then
11798 ac_cv_lib_dld_shl_load=yes
11800 echo "$as_me: failed program was:" >&5
11801 sed 's/^/| /' conftest.$ac_ext >&5
11803 ac_cv_lib_dld_shl_load=no
11805 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11806 LIBS=$ac_check_lib_save_LIBS
11808 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11809 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11810 if test $ac_cv_lib_dld_shl_load = yes; then
11811 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11813 echo "$as_me:$LINENO: checking for dlopen" >&5
11814 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11815 if test "${ac_cv_func_dlopen+set}" = set; then
11816 echo $ECHO_N "(cached) $ECHO_C" >&6
11818 cat >conftest.$ac_ext <<_ACEOF
11819 #line $LINENO "configure"
11822 cat confdefs.h >>conftest.$ac_ext
11823 cat >>conftest.$ac_ext <<_ACEOF
11824 /* end confdefs.h. */
11825 /* System header to define __stub macros and hopefully few prototypes,
11826 which can conflict with char dlopen (); below.
11827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11828 <limits.h> exists even on freestanding compilers. */
11830 # include <limits.h>
11832 # include <assert.h>
11834 /* Override any gcc2 internal prototype to avoid an error. */
11839 /* We use char because int might match the return type of a gcc2
11840 builtin and then its argument prototype would still apply. */
11842 /* The GNU C library defines this for functions which it implements
11843 to always fail with ENOSYS. Some functions are actually named
11844 something starting with __ and the normal name is an alias. */
11845 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11848 char (*f) () = dlopen;
11857 return f != dlopen;
11862 rm -f conftest.$ac_objext conftest$ac_exeext
11863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11864 (eval $ac_link) 2>&5
11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); } &&
11868 { ac_try='test -s conftest$ac_exeext'
11869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11870 (eval $ac_try) 2>&5
11872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11873 (exit $ac_status); }; }; then
11874 ac_cv_func_dlopen=yes
11876 echo "$as_me: failed program was:" >&5
11877 sed 's/^/| /' conftest.$ac_ext >&5
11879 ac_cv_func_dlopen=no
11881 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11883 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11884 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11885 if test $ac_cv_func_dlopen = yes; then
11886 lt_cv_dlopen="dlopen"
11888 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11889 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11890 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11891 echo $ECHO_N "(cached) $ECHO_C" >&6
11893 ac_check_lib_save_LIBS=$LIBS
11895 cat >conftest.$ac_ext <<_ACEOF
11896 #line $LINENO "configure"
11899 cat confdefs.h >>conftest.$ac_ext
11900 cat >>conftest.$ac_ext <<_ACEOF
11901 /* end confdefs.h. */
11903 /* Override any gcc2 internal prototype to avoid an error. */
11907 /* We use char because int might match the return type of a gcc2
11908 builtin and then its argument prototype would still apply. */
11918 rm -f conftest.$ac_objext conftest$ac_exeext
11919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11920 (eval $ac_link) 2>&5
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); } &&
11924 { ac_try='test -s conftest$ac_exeext'
11925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11926 (eval $ac_try) 2>&5
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); }; }; then
11930 ac_cv_lib_dl_dlopen=yes
11932 echo "$as_me: failed program was:" >&5
11933 sed 's/^/| /' conftest.$ac_ext >&5
11935 ac_cv_lib_dl_dlopen=no
11937 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11938 LIBS=$ac_check_lib_save_LIBS
11940 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11941 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11942 if test $ac_cv_lib_dl_dlopen = yes; then
11943 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11945 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11946 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11947 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11948 echo $ECHO_N "(cached) $ECHO_C" >&6
11950 ac_check_lib_save_LIBS=$LIBS
11951 LIBS="-lsvld $LIBS"
11952 cat >conftest.$ac_ext <<_ACEOF
11953 #line $LINENO "configure"
11956 cat confdefs.h >>conftest.$ac_ext
11957 cat >>conftest.$ac_ext <<_ACEOF
11958 /* end confdefs.h. */
11960 /* Override any gcc2 internal prototype to avoid an error. */
11964 /* We use char because int might match the return type of a gcc2
11965 builtin and then its argument prototype would still apply. */
11975 rm -f conftest.$ac_objext conftest$ac_exeext
11976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11977 (eval $ac_link) 2>&5
11979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980 (exit $ac_status); } &&
11981 { ac_try='test -s conftest$ac_exeext'
11982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11983 (eval $ac_try) 2>&5
11985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11986 (exit $ac_status); }; }; then
11987 ac_cv_lib_svld_dlopen=yes
11989 echo "$as_me: failed program was:" >&5
11990 sed 's/^/| /' conftest.$ac_ext >&5
11992 ac_cv_lib_svld_dlopen=no
11994 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11995 LIBS=$ac_check_lib_save_LIBS
11997 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11998 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11999 if test $ac_cv_lib_svld_dlopen = yes; then
12000 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12002 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12003 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12004 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12005 echo $ECHO_N "(cached) $ECHO_C" >&6
12007 ac_check_lib_save_LIBS=$LIBS
12009 cat >conftest.$ac_ext <<_ACEOF
12010 #line $LINENO "configure"
12013 cat confdefs.h >>conftest.$ac_ext
12014 cat >>conftest.$ac_ext <<_ACEOF
12015 /* end confdefs.h. */
12017 /* Override any gcc2 internal prototype to avoid an error. */
12021 /* We use char because int might match the return type of a gcc2
12022 builtin and then its argument prototype would still apply. */
12032 rm -f conftest.$ac_objext conftest$ac_exeext
12033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12034 (eval $ac_link) 2>&5
12036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12037 (exit $ac_status); } &&
12038 { ac_try='test -s conftest$ac_exeext'
12039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12040 (eval $ac_try) 2>&5
12042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12043 (exit $ac_status); }; }; then
12044 ac_cv_lib_dld_dld_link=yes
12046 echo "$as_me: failed program was:" >&5
12047 sed 's/^/| /' conftest.$ac_ext >&5
12049 ac_cv_lib_dld_dld_link=no
12051 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12052 LIBS=$ac_check_lib_save_LIBS
12054 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12055 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12056 if test $ac_cv_lib_dld_dld_link = yes; then
12057 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12078 if test "x$lt_cv_dlopen" != xno; then
12084 case $lt_cv_dlopen in
12086 save_CPPFLAGS="$CPPFLAGS"
12087 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12089 save_LDFLAGS="$LDFLAGS"
12090 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12093 LIBS="$lt_cv_dlopen_libs $LIBS"
12095 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12096 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12097 if test "${lt_cv_dlopen_self+set}" = set; then
12098 echo $ECHO_N "(cached) $ECHO_C" >&6
12100 if test "$cross_compiling" = yes; then :
12101 lt_cv_dlopen_self=cross
12103 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12104 lt_status=$lt_dlunknown
12105 cat > conftest.$ac_ext <<EOF
12106 #line 12106 "configure"
12107 #include "confdefs.h"
12116 # define LT_DLGLOBAL RTLD_GLOBAL
12119 # define LT_DLGLOBAL DL_GLOBAL
12121 # define LT_DLGLOBAL 0
12125 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12126 find out it does not work in some platform. */
12127 #ifndef LT_DLLAZY_OR_NOW
12129 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12132 # define LT_DLLAZY_OR_NOW DL_LAZY
12135 # define LT_DLLAZY_OR_NOW RTLD_NOW
12138 # define LT_DLLAZY_OR_NOW DL_NOW
12140 # define LT_DLLAZY_OR_NOW 0
12148 extern "C" void exit (int);
12151 void fnord() { int i=42;}
12154 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12155 int status = $lt_dlunknown;
12159 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12160 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12161 /* dlclose (self); */
12167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12168 (eval $ac_link) 2>&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12172 (./conftest; exit; ) 2>/dev/null
12174 case x$lt_status in
12175 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12176 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12177 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12180 # compilation failed
12181 lt_cv_dlopen_self=no
12188 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12189 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12191 if test "x$lt_cv_dlopen_self" = xyes; then
12192 LDFLAGS="$LDFLAGS $link_static_flag"
12193 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12194 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12195 if test "${lt_cv_dlopen_self_static+set}" = set; then
12196 echo $ECHO_N "(cached) $ECHO_C" >&6
12198 if test "$cross_compiling" = yes; then :
12199 lt_cv_dlopen_self_static=cross
12201 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12202 lt_status=$lt_dlunknown
12203 cat > conftest.$ac_ext <<EOF
12204 #line 12204 "configure"
12205 #include "confdefs.h"
12214 # define LT_DLGLOBAL RTLD_GLOBAL
12217 # define LT_DLGLOBAL DL_GLOBAL
12219 # define LT_DLGLOBAL 0
12223 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12224 find out it does not work in some platform. */
12225 #ifndef LT_DLLAZY_OR_NOW
12227 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12230 # define LT_DLLAZY_OR_NOW DL_LAZY
12233 # define LT_DLLAZY_OR_NOW RTLD_NOW
12236 # define LT_DLLAZY_OR_NOW DL_NOW
12238 # define LT_DLLAZY_OR_NOW 0
12246 extern "C" void exit (int);
12249 void fnord() { int i=42;}
12252 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12253 int status = $lt_dlunknown;
12257 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12258 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12259 /* dlclose (self); */
12265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12266 (eval $ac_link) 2>&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12270 (./conftest; exit; ) 2>/dev/null
12272 case x$lt_status in
12273 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12274 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12275 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12278 # compilation failed
12279 lt_cv_dlopen_self_static=no
12286 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12287 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12290 CPPFLAGS="$save_CPPFLAGS"
12291 LDFLAGS="$save_LDFLAGS"
12296 case $lt_cv_dlopen_self in
12297 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12298 *) enable_dlopen_self=unknown ;;
12301 case $lt_cv_dlopen_self_static in
12302 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12303 *) enable_dlopen_self_static=unknown ;;
12308 # The else clause should only fire when bootstrapping the
12309 # libtool distribution, otherwise you forgot to ship ltmain.sh
12310 # with your package, and you will get complaints that there are
12311 # no rules to generate ltmain.sh.
12312 if test -f "$ltmain"; then
12313 # See if we are running on zsh, and set the options which allow our commands through
12314 # without removal of \ escapes.
12315 if test -n "${ZSH_VERSION+set}" ; then
12316 setopt NO_GLOB_SUBST
12318 # Now quote all the things that may contain metacharacters while being
12319 # careful not to overquote the AC_SUBSTed values. We take copies of the
12320 # variables and quote the copies for generation of the libtool script.
12321 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12322 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12323 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12324 deplibs_check_method reload_flag reload_cmds need_locks \
12325 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12326 lt_cv_sys_global_symbol_to_c_name_address \
12327 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12328 old_postinstall_cmds old_postuninstall_cmds \
12332 lt_prog_compiler_wl_CXX \
12333 lt_prog_compiler_pic_CXX \
12334 lt_prog_compiler_static_CXX \
12335 lt_prog_compiler_no_builtin_flag_CXX \
12336 export_dynamic_flag_spec_CXX \
12337 thread_safe_flag_spec_CXX \
12338 whole_archive_flag_spec_CXX \
12339 enable_shared_with_static_runtimes_CXX \
12340 old_archive_cmds_CXX \
12341 old_archive_from_new_cmds_CXX \
12342 predep_objects_CXX \
12343 postdep_objects_CXX \
12346 compiler_lib_search_path_CXX \
12348 archive_expsym_cmds_CXX \
12349 postinstall_cmds_CXX \
12350 postuninstall_cmds_CXX \
12351 old_archive_from_expsyms_cmds_CXX \
12352 allow_undefined_flag_CXX \
12353 no_undefined_flag_CXX \
12354 export_symbols_cmds_CXX \
12355 hardcode_libdir_flag_spec_CXX \
12356 hardcode_libdir_flag_spec_ld_CXX \
12357 hardcode_libdir_separator_CXX \
12358 hardcode_automatic_CXX \
12360 module_expsym_cmds_CXX \
12361 lt_cv_prog_compiler_c_o_CXX \
12362 exclude_expsyms_CXX \
12363 include_expsyms_CXX; do
12366 old_archive_cmds_CXX | \
12367 old_archive_from_new_cmds_CXX | \
12368 archive_cmds_CXX | \
12369 archive_expsym_cmds_CXX | \
12370 module_cmds_CXX | \
12371 module_expsym_cmds_CXX | \
12372 old_archive_from_expsyms_cmds_CXX | \
12373 export_symbols_cmds_CXX | \
12374 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12375 postinstall_cmds | postuninstall_cmds | \
12376 old_postinstall_cmds | old_postuninstall_cmds | \
12377 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12378 # Double-quote double-evaled strings.
12379 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12382 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12388 *'\$0 --fallback-echo"')
12389 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12395 cat <<__EOF__ >> "$cfgfile"
12396 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12398 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12400 # Shell to use when invoking shell scripts.
12403 # Whether or not to build shared libraries.
12404 build_libtool_libs=$enable_shared
12406 # Whether or not to build static libraries.
12407 build_old_libs=$enable_static
12409 # Whether or not to add -lc for building shared libraries.
12410 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12412 # Whether or not to disallow shared libs when runtime libs are static
12413 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12415 # Whether or not to optimize for fast installation.
12416 fast_install=$enable_fast_install
12419 host_alias=$host_alias
12422 # An echo program that does not interpret backslashes.
12427 AR_FLAGS=$lt_AR_FLAGS
12432 # A language-specific compiler.
12433 CC=$lt_compiler_CXX
12435 # Is the compiler the GNU C compiler?
12441 # The linker used to build libraries.
12444 # Whether we need hard or soft links.
12447 # A BSD-compatible nm program.
12450 # A symbol stripping program
12453 # Used to examine libraries when file_magic_cmd begins "file"
12454 MAGIC_CMD=$MAGIC_CMD
12456 # Used on cygwin: DLL creation program.
12459 # Used on cygwin: object dumper.
12462 # Used on cygwin: assembler.
12465 # The name of the directory that contains temporary libtool files.
12468 # How to create reloadable object files.
12469 reload_flag=$lt_reload_flag
12470 reload_cmds=$lt_reload_cmds
12472 # How to pass a linker flag through the compiler.
12473 wl=$lt_lt_prog_compiler_wl_CXX
12475 # Object file suffix (normally "o").
12476 objext="$ac_objext"
12478 # Old archive suffix (normally "a").
12481 # Shared library suffix (normally ".so").
12484 # Executable file suffix (normally "").
12487 # Additional compiler flags for building library objects.
12488 pic_flag=$lt_lt_prog_compiler_pic_CXX
12491 # What is the maximum length of a command?
12492 max_cmd_len=$lt_cv_sys_max_cmd_len
12494 # Does compiler simultaneously support -c and -o options?
12495 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12497 # Must we lock files when doing compilation ?
12498 need_locks=$lt_need_locks
12500 # Do we need the lib prefix for modules?
12501 need_lib_prefix=$need_lib_prefix
12503 # Do we need a version for libraries?
12504 need_version=$need_version
12506 # Whether dlopen is supported.
12507 dlopen_support=$enable_dlopen
12509 # Whether dlopen of programs is supported.
12510 dlopen_self=$enable_dlopen_self
12512 # Whether dlopen of statically linked programs is supported.
12513 dlopen_self_static=$enable_dlopen_self_static
12515 # Compiler flag to prevent dynamic linking.
12516 link_static_flag=$lt_lt_prog_compiler_static_CXX
12518 # Compiler flag to turn off builtin functions.
12519 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12521 # Compiler flag to allow reflexive dlopens.
12522 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12524 # Compiler flag to generate shared objects directly from archives.
12525 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12527 # Compiler flag to generate thread-safe objects.
12528 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12530 # Library versioning type.
12531 version_type=$version_type
12533 # Format of library name prefix.
12534 libname_spec=$lt_libname_spec
12536 # List of archive names. First name is the real one, the rest are links.
12537 # The last name is the one that the linker finds with -lNAME.
12538 library_names_spec=$lt_library_names_spec
12540 # The coded name of the library, if different from the real name.
12541 soname_spec=$lt_soname_spec
12543 # Commands used to build and install an old-style archive.
12545 old_archive_cmds=$lt_old_archive_cmds_CXX
12546 old_postinstall_cmds=$lt_old_postinstall_cmds
12547 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12549 # Create an old-style archive from a shared archive.
12550 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12552 # Create a temporary old-style archive to link instead of a shared archive.
12553 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12555 # Commands used to build and install a shared archive.
12556 archive_cmds=$lt_archive_cmds_CXX
12557 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12558 postinstall_cmds=$lt_postinstall_cmds
12559 postuninstall_cmds=$lt_postuninstall_cmds
12561 # Commands used to build a loadable module (assumed same as above if empty)
12562 module_cmds=$lt_module_cmds_CXX
12563 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12565 # Commands to strip libraries.
12566 old_striplib=$lt_old_striplib
12567 striplib=$lt_striplib
12569 # Dependencies to place before the objects being linked to create a
12571 predep_objects=$lt_predep_objects_CXX
12573 # Dependencies to place after the objects being linked to create a
12575 postdep_objects=$lt_postdep_objects_CXX
12577 # Dependencies to place before the objects being linked to create a
12579 predeps=$lt_predeps_CXX
12581 # Dependencies to place after the objects being linked to create a
12583 postdeps=$lt_postdeps_CXX
12585 # The library search path used internally by the compiler when linking
12586 # a shared library.
12587 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12589 # Method to check whether dependent libraries are shared objects.
12590 deplibs_check_method=$lt_deplibs_check_method
12592 # Command to use when deplibs_check_method == file_magic.
12593 file_magic_cmd=$lt_file_magic_cmd
12595 # Flag that allows shared libraries with undefined symbols to be built.
12596 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12598 # Flag that forces no undefined symbols.
12599 no_undefined_flag=$lt_no_undefined_flag_CXX
12601 # Commands used to finish a libtool library installation in a directory.
12602 finish_cmds=$lt_finish_cmds
12604 # Same as above, but a single script fragment to be evaled but not shown.
12605 finish_eval=$lt_finish_eval
12607 # Take the output of nm and produce a listing of raw symbols and C names.
12608 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12610 # Transform the output of nm in a proper C declaration
12611 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12613 # Transform the output of nm in a C name address pair
12614 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12616 # This is the shared library runtime path variable.
12617 runpath_var=$runpath_var
12619 # This is the shared library path variable.
12620 shlibpath_var=$shlibpath_var
12622 # Is shlibpath searched before the hard-coded library search path?
12623 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12625 # How to hardcode a shared library path into an executable.
12626 hardcode_action=$hardcode_action_CXX
12628 # Whether we should hardcode library paths into libraries.
12629 hardcode_into_libs=$hardcode_into_libs
12631 # Flag to hardcode \$libdir into a binary during linking.
12632 # This must work even if \$libdir does not exist.
12633 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12635 # If ld is used when linking, flag to hardcode \$libdir into
12636 # a binary during linking. This must work even if \$libdir does
12638 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12640 # Whether we need a single -rpath flag with a separated argument.
12641 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12643 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12644 # resulting binary.
12645 hardcode_direct=$hardcode_direct_CXX
12647 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12648 # resulting binary.
12649 hardcode_minus_L=$hardcode_minus_L_CXX
12651 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12652 # the resulting binary.
12653 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12655 # Set to yes if building a shared library automatically hardcodes DIR into the library
12656 # and all subsequent libraries and executables linked against it.
12657 hardcode_automatic=$hardcode_automatic_CXX
12659 # Variables whose values should be saved in libtool wrapper scripts and
12660 # restored at relink time.
12661 variables_saved_for_relink="$variables_saved_for_relink"
12663 # Whether libtool must link a program against all its dependency libraries.
12664 link_all_deplibs=$link_all_deplibs_CXX
12666 # Compile-time system search path for libraries
12667 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12669 # Run-time system search path for libraries
12670 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12672 # Fix the shell variable \$srcfile for the compiler.
12673 fix_srcfile_path="$fix_srcfile_path_CXX"
12675 # Set to yes if exported symbols are required.
12676 always_export_symbols=$always_export_symbols_CXX
12678 # The commands to list exported symbols.
12679 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12681 # The commands to extract the exported symbol list from a shared archive.
12682 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12684 # Symbols that should not be listed in the preloaded symbols.
12685 exclude_expsyms=$lt_exclude_expsyms_CXX
12687 # Symbols that must always be exported.
12688 include_expsyms=$lt_include_expsyms_CXX
12690 # ### END LIBTOOL TAG CONFIG: $tagname
12696 # If there is no Makefile yet, we rely on a make rule to execute
12697 # `config.status --recheck' to rerun these tests and create the
12698 # libtool script then.
12699 test -f Makefile && make "$ltmain"
12704 ac_cpp='$CPP $CPPFLAGS'
12705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12713 with_gnu_ldcxx=$with_gnu_ld
12714 with_gnu_ld=$lt_save_with_gnu_ld
12715 lt_cv_path_LDCXX=$lt_cv_path_LD
12716 lt_cv_path_LD=$lt_save_path_LD
12717 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12718 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12726 if test -n "$F77" && test "X$F77" != "Xno"; then
12729 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12730 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12731 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12734 archive_cmds_need_lc_F77=no
12735 allow_undefined_flag_F77=
12736 always_export_symbols_F77=no
12737 archive_expsym_cmds_F77=
12738 export_dynamic_flag_spec_F77=
12739 hardcode_direct_F77=no
12740 hardcode_libdir_flag_spec_F77=
12741 hardcode_libdir_flag_spec_ld_F77=
12742 hardcode_libdir_separator_F77=
12743 hardcode_minus_L_F77=no
12744 hardcode_automatic_F77=no
12746 module_expsym_cmds_F77=
12747 link_all_deplibs_F77=unknown
12748 old_archive_cmds_F77=$old_archive_cmds
12749 no_undefined_flag_F77=
12750 whole_archive_flag_spec_F77=
12751 enable_shared_with_static_runtimes_F77=no
12753 # Source file extension for f77 test sources.
12756 # Object file extension for compiled f77 test sources.
12760 # Code to be used in simple compile tests
12761 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12763 # Code to be used in simple link tests
12764 lt_simple_link_test_code=" program t\n end\n"
12766 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12768 # If no C compiler was specified, use CC.
12771 # Allow CC to be a program name with arguments.
12775 # Allow CC to be a program name with arguments.
12780 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12782 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12783 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12784 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12785 echo "${ECHO_T}$can_build_shared" >&6
12787 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12788 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12789 test "$can_build_shared" = "no" && enable_shared=no
12791 # On AIX, shared libraries and static libraries use the same namespace, and
12792 # are all built from PIC.
12795 test "$enable_shared" = yes && enable_static=no
12796 if test -n "$RANLIB"; then
12797 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12798 postinstall_cmds='$RANLIB $lib'
12802 test "$enable_shared" = yes && enable_static=no
12805 echo "$as_me:$LINENO: result: $enable_shared" >&5
12806 echo "${ECHO_T}$enable_shared" >&6
12808 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12809 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12810 # Make sure either enable_shared or enable_static is yes.
12811 test "$enable_shared" = yes || enable_static=yes
12812 echo "$as_me:$LINENO: result: $enable_static" >&5
12813 echo "${ECHO_T}$enable_static" >&6
12815 test "$ld_shlibs_F77" = no && can_build_shared=no
12820 lt_prog_compiler_wl_F77=
12821 lt_prog_compiler_pic_F77=
12822 lt_prog_compiler_static_F77=
12824 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12825 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12827 if test "$GCC" = yes; then
12828 lt_prog_compiler_wl_F77='-Wl,'
12829 lt_prog_compiler_static_F77='-static'
12833 # All AIX code is PIC.
12834 if test "$host_cpu" = ia64; then
12835 # AIX 5 now supports IA64 processor
12836 lt_prog_compiler_static_F77='-Bstatic'
12841 # FIXME: we need at least 68020 code to build shared libraries, but
12842 # adding the `-m68020' flag to GCC prevents building anything better,
12844 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12847 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12848 # PIC is the default for these OSes.
12851 mingw* | pw32* | os2*)
12852 # This hack is so that the source file can tell whether it is being
12853 # built for inclusion in a dll (and should export symbols for example).
12854 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12857 darwin* | rhapsody*)
12858 # PIC is the default on this platform
12859 # Common symbols not allowed in MH_DYLIB files
12860 lt_prog_compiler_pic_F77='-fno-common'
12864 # Just because we use GCC doesn't mean we suddenly get shared libraries
12865 # on systems that don't support them.
12866 lt_prog_compiler_can_build_shared_F77=no
12871 if test -d /usr/nec; then
12872 lt_prog_compiler_pic_F77=-Kconform_pic
12877 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12878 # not for PA HP-UX.
12879 case "$host_cpu" in
12884 lt_prog_compiler_pic_F77='-fPIC'
12890 lt_prog_compiler_pic_F77='-fPIC'
12894 # PORTME Check for flag to pass linker flags through the system compiler.
12897 lt_prog_compiler_wl_F77='-Wl,'
12898 if test "$host_cpu" = ia64; then
12899 # AIX 5 now supports IA64 processor
12900 lt_prog_compiler_static_F77='-Bstatic'
12902 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12906 mingw* | pw32* | os2*)
12907 # This hack is so that the source file can tell whether it is being
12908 # built for inclusion in a dll (and should export symbols for example).
12909 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12912 hpux9* | hpux10* | hpux11*)
12913 lt_prog_compiler_wl_F77='-Wl,'
12914 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12915 # not for PA HP-UX.
12916 case "$host_cpu" in
12921 lt_prog_compiler_pic_F77='+Z'
12924 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12925 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12928 irix5* | irix6* | nonstopux*)
12929 lt_prog_compiler_wl_F77='-Wl,'
12930 # PIC (with -KPIC) is the default.
12931 lt_prog_compiler_static_F77='-non_shared'
12935 lt_prog_compiler_pic_F77='-KPIC'
12936 lt_prog_compiler_static_F77='-Bstatic'
12942 lt_prog_compiler_wl_F77='-Wl,'
12943 lt_prog_compiler_pic_F77='-KPIC'
12944 lt_prog_compiler_static_F77='-static'
12947 lt_prog_compiler_wl_F77='-Wl,'
12948 # All Alpha code is PIC.
12949 lt_prog_compiler_static_F77='-non_shared'
12954 osf3* | osf4* | osf5*)
12955 lt_prog_compiler_wl_F77='-Wl,'
12956 # All OSF/1 code is PIC.
12957 lt_prog_compiler_static_F77='-non_shared'
12961 lt_prog_compiler_pic_F77='-Kpic'
12962 lt_prog_compiler_static_F77='-dn'
12966 lt_prog_compiler_wl_F77='-Wl,'
12967 lt_prog_compiler_pic_F77='-KPIC'
12968 lt_prog_compiler_static_F77='-Bstatic'
12972 lt_prog_compiler_wl_F77='-Qoption ld '
12973 lt_prog_compiler_pic_F77='-PIC'
12974 lt_prog_compiler_static_F77='-Bstatic'
12977 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12978 lt_prog_compiler_wl_F77='-Wl,'
12979 lt_prog_compiler_pic_F77='-KPIC'
12980 lt_prog_compiler_static_F77='-Bstatic'
12984 if test -d /usr/nec ;then
12985 lt_prog_compiler_pic_F77='-Kconform_pic'
12986 lt_prog_compiler_static_F77='-Bstatic'
12991 lt_prog_compiler_pic_F77='-pic'
12992 lt_prog_compiler_static_F77='-Bstatic'
12996 lt_prog_compiler_can_build_shared_F77=no
13001 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13002 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13005 # Check to make sure the PIC flag actually works.
13007 if test -n "$lt_prog_compiler_pic_F77"; then
13008 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13009 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13010 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13011 echo $ECHO_N "(cached) $ECHO_C" >&6
13013 lt_prog_compiler_pic_works_F77=no
13014 ac_outfile=conftest.$ac_objext
13015 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13016 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13017 # Insert the option either (1) after the last *FLAGS variable, or
13018 # (2) before a word containing "conftest.", or (3) at the end.
13019 # Note that $ac_compile itself does not contain backslashes and begins
13020 # with a dollar sign (not a hyphen), so the echo should work correctly.
13021 # The option is referenced via a variable to avoid confusing sed.
13022 lt_compile=`echo "$ac_compile" | $SED \
13023 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13024 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13025 -e 's:$: $lt_compiler_flag:'`
13026 (eval echo "\"\$as_me:13026: $lt_compile\"" >&5)
13027 (eval "$lt_compile" 2>conftest.err)
13029 cat conftest.err >&5
13030 echo "$as_me:13030: \$? = $ac_status" >&5
13031 if (exit $ac_status) && test -s "$ac_outfile"; then
13032 # The compiler can only warn and ignore the option if not recognized
13033 # So say no if there are warnings
13034 if test ! -s conftest.err; then
13035 lt_prog_compiler_pic_works_F77=yes
13041 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13042 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13044 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13045 case $lt_prog_compiler_pic_F77 in
13047 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13050 lt_prog_compiler_pic_F77=
13051 lt_prog_compiler_can_build_shared_F77=no
13056 # For platforms which do not support PIC, -DPIC is meaningless:
13058 lt_prog_compiler_pic_F77=
13061 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13065 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13066 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13067 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13068 echo $ECHO_N "(cached) $ECHO_C" >&6
13070 lt_cv_prog_compiler_c_o_F77=no
13071 $rm -r conftest 2>/dev/null
13075 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13077 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13078 # that will create temporary files in the current directory regardless of
13079 # the output directory. Thus, making CWD read-only will cause this test
13080 # to fail, enabling locking or at least warning the user not to do parallel
13084 lt_compiler_flag="-o out/conftest2.$ac_objext"
13085 # Insert the option either (1) after the last *FLAGS variable, or
13086 # (2) before a word containing "conftest.", or (3) at the end.
13087 # Note that $ac_compile itself does not contain backslashes and begins
13088 # with a dollar sign (not a hyphen), so the echo should work correctly.
13089 lt_compile=`echo "$ac_compile" | $SED \
13090 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13091 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13092 -e 's:$: $lt_compiler_flag:'`
13093 (eval echo "\"\$as_me:13093: $lt_compile\"" >&5)
13094 (eval "$lt_compile" 2>out/conftest.err)
13096 cat out/conftest.err >&5
13097 echo "$as_me:13097: \$? = $ac_status" >&5
13098 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13100 # The compiler can only warn and ignore the option if not recognized
13101 # So say no if there are warnings
13102 if test ! -s out/conftest.err; then
13103 lt_cv_prog_compiler_c_o_F77=yes
13107 $rm conftest* out/*
13114 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13115 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13118 hard_links="nottested"
13119 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13120 # do not overwrite the value of need_locks provided by the user
13121 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13122 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13125 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13127 ln conftest.a conftest.b 2>&5 || hard_links=no
13128 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13129 echo "$as_me:$LINENO: result: $hard_links" >&5
13130 echo "${ECHO_T}$hard_links" >&6
13131 if test "$hard_links" = no; then
13132 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13133 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13140 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13141 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13144 allow_undefined_flag_F77=
13145 enable_shared_with_static_runtimes_F77=no
13147 archive_expsym_cmds_F77=
13148 old_archive_From_new_cmds_F77=
13149 old_archive_from_expsyms_cmds_F77=
13150 export_dynamic_flag_spec_F77=
13151 whole_archive_flag_spec_F77=
13152 thread_safe_flag_spec_F77=
13153 hardcode_libdir_flag_spec_F77=
13154 hardcode_libdir_flag_spec_ld_F77=
13155 hardcode_libdir_separator_F77=
13156 hardcode_direct_F77=no
13157 hardcode_minus_L_F77=no
13158 hardcode_shlibpath_var_F77=unsupported
13159 link_all_deplibs_F77=unknown
13160 hardcode_automatic_F77=no
13162 module_expsym_cmds_F77=
13163 always_export_symbols_F77=no
13164 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13165 # include_expsyms should be a list of space-separated symbols to be *always*
13166 # included in the symbol list
13167 include_expsyms_F77=
13168 # exclude_expsyms can be an extended regexp of symbols to exclude
13169 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13170 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13171 # as well as any symbol that contains `d'.
13172 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13173 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13174 # platforms (ab)use it in PIC code, but their linkers get confused if
13175 # the symbol is explicitly referenced. Since portable code cannot
13176 # rely on this symbol name, it's probably fine to never include it in
13177 # preloaded symbol tables.
13178 extract_expsyms_cmds=
13181 cygwin* | mingw* | pw32*)
13182 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13183 # When not using gcc, we currently assume that we are using
13184 # Microsoft Visual C++.
13185 if test "$GCC" != yes; then
13195 if test "$with_gnu_ld" = yes; then
13196 # If archive_cmds runs LD, not CC, wlarc should be empty
13199 # See if GNU ld supports shared libraries.
13201 aix3* | aix4* | aix5*)
13202 # On AIX/PPC, the GNU linker is very broken
13203 if test "$host_cpu" != ia64; then
13207 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13208 *** to be unable to reliably create shared libraries on AIX.
13209 *** Therefore, libtool is disabling shared libraries support. If you
13210 *** really care for shared libraries, you may want to modify your PATH
13211 *** so that a non-GNU linker is found, and then restart.
13218 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)'
13219 hardcode_libdir_flag_spec_F77='-L$libdir'
13220 hardcode_minus_L_F77=yes
13222 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13223 # that the semantics of dynamic libraries on AmigaOS, at least up
13224 # to version 4, is to share data among multiple programs linked
13225 # with the same dynamic library. Since this doesn't match the
13226 # behavior of shared libraries on other platforms, we can't use
13232 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13233 allow_undefined_flag_F77=unsupported
13234 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13235 # support --undefined. This deserves some investigation. FIXME
13236 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13242 cygwin* | mingw* | pw32*)
13243 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13244 # as there is no search path for DLLs.
13245 hardcode_libdir_flag_spec_F77='-L$libdir'
13246 allow_undefined_flag_F77=unsupported
13247 always_export_symbols_F77=no
13248 enable_shared_with_static_runtimes_F77=yes
13249 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13251 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13252 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13253 # If the export-symbols file already is a .def file (1st line
13254 # is EXPORTS), use it as is; otherwise, prepend...
13255 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13256 cp $export_symbols $output_objdir/$soname.def;
13258 echo EXPORTS > $output_objdir/$soname.def;
13259 cat $export_symbols >> $output_objdir/$soname.def;
13261 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13268 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13269 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13272 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13273 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13278 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13282 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13283 *** create shared libraries on Solaris systems. Therefore, libtool
13284 *** is disabling shared libraries support. We urge you to upgrade GNU
13285 *** binutils to release 2.9.1 or newer. Another option is to modify
13286 *** your PATH or compiler configuration so that the native linker is
13287 *** used, and then restart.
13290 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13291 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13292 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13299 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13301 hardcode_direct_F77=yes
13302 hardcode_shlibpath_var_F77=no
13306 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13307 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13308 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13315 if test "$ld_shlibs_F77" = yes; then
13316 runpath_var=LD_RUN_PATH
13317 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13318 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13319 # ancient GNU ld didn't support --whole-archive et. al.
13320 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13321 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13323 whole_archive_flag_spec_F77=
13327 # PORTME fill in a description of your system's linker (not GNU ld)
13330 allow_undefined_flag_F77=unsupported
13331 always_export_symbols_F77=yes
13332 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'
13333 # Note: this linker hardcodes the directories in LIBPATH if there
13334 # are no directories specified by -L.
13335 hardcode_minus_L_F77=yes
13336 if test "$GCC" = yes && test -z "$link_static_flag"; then
13337 # Neither direct hardcoding nor static linking is supported with a
13339 hardcode_direct_F77=unsupported
13344 if test "$host_cpu" = ia64; then
13345 # On IA64, the linker does run time linking by default, so we don't
13346 # have to do anything special.
13347 aix_use_runtimelinking=no
13348 exp_sym_flag='-Bexport'
13351 # If we're using GNU nm, then we don't want the "-C" option.
13352 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13353 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13354 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'
13356 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'
13358 aix_use_runtimelinking=no
13360 # Test if we are trying to use run time linking or normal
13361 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13362 # need to do runtime linking.
13363 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13364 for ld_flag in $LDFLAGS; do
13365 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13366 aix_use_runtimelinking=yes
13372 exp_sym_flag='-bexport'
13373 no_entry_flag='-bnoentry'
13376 # When large executables or shared objects are built, AIX ld can
13377 # have problems creating the table of contents. If linking a library
13378 # or program results in "error TOC overflow" add -mminimal-toc to
13379 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13380 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13382 archive_cmds_F77=''
13383 hardcode_direct_F77=yes
13384 hardcode_libdir_separator_F77=':'
13385 link_all_deplibs_F77=yes
13387 if test "$GCC" = yes; then
13388 case $host_os in aix4.012|aix4.012.*)
13389 # We only want to do this on AIX 4.2 and lower, the check
13390 # below for broken collect2 doesn't work under 4.3+
13391 collect2name=`${CC} -print-prog-name=collect2`
13392 if test -f "$collect2name" && \
13393 strings "$collect2name" | grep resolve_lib_name >/dev/null
13395 # We have reworked collect2
13396 hardcode_direct_F77=yes
13398 # We have old collect2
13399 hardcode_direct_F77=unsupported
13400 # It fails to find uninstalled libraries when the uninstalled
13401 # path is not listed in the libpath. Setting hardcode_minus_L
13402 # to unsupported forces relinking
13403 hardcode_minus_L_F77=yes
13404 hardcode_libdir_flag_spec_F77='-L$libdir'
13405 hardcode_libdir_separator_F77=
13408 shared_flag='-shared'
13411 if test "$host_cpu" = ia64; then
13412 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13413 # chokes on -Wl,-G. The following line is correct:
13416 if test "$aix_use_runtimelinking" = yes; then
13417 shared_flag='${wl}-G'
13419 shared_flag='${wl}-bM:SRE'
13424 # It seems that -bexpall does not export symbols beginning with
13425 # underscore (_), so it is better to generate a list of symbols to export.
13426 always_export_symbols_F77=yes
13427 if test "$aix_use_runtimelinking" = yes; then
13428 # Warning - without using the other runtime loading flags (-brtl),
13429 # -berok will link without error, but may produce a broken library.
13430 allow_undefined_flag_F77='-berok'
13431 # Determine the default libpath from the value encoded in an empty executable.
13432 cat >conftest.$ac_ext <<_ACEOF
13437 rm -f conftest.$ac_objext conftest$ac_exeext
13438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13439 (eval $ac_link) 2>&5
13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); } &&
13443 { ac_try='test -s conftest$ac_exeext'
13444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13445 (eval $ac_try) 2>&5
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); }; }; then
13450 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13452 # Check for a 64-bit object if we didn't find anything.
13453 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; }
13456 echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.$ac_ext >&5
13460 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13461 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13463 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13464 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"
13466 if test "$host_cpu" = ia64; then
13467 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13468 allow_undefined_flag_F77="-z nodefs"
13469 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"
13471 # Determine the default libpath from the value encoded in an empty executable.
13472 cat >conftest.$ac_ext <<_ACEOF
13477 rm -f conftest.$ac_objext conftest$ac_exeext
13478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13479 (eval $ac_link) 2>&5
13481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13482 (exit $ac_status); } &&
13483 { ac_try='test -s conftest$ac_exeext'
13484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13485 (eval $ac_try) 2>&5
13487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13488 (exit $ac_status); }; }; then
13490 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13492 # Check for a 64-bit object if we didn't find anything.
13493 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; }
13496 echo "$as_me: failed program was:" >&5
13497 sed 's/^/| /' conftest.$ac_ext >&5
13500 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13501 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13503 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13504 # Warning - without using the other run time loading flags,
13505 # -berok will link without error, but may produce a broken library.
13506 no_undefined_flag_F77=' ${wl}-bernotok'
13507 allow_undefined_flag_F77=' ${wl}-berok'
13508 # -bexpall does not export symbols beginning with underscore (_)
13509 always_export_symbols_F77=yes
13510 # Exported symbols can be pulled into shared objects from archives
13511 whole_archive_flag_spec_F77=' '
13512 archive_cmds_need_lc_F77=yes
13513 # This is similar to how AIX traditionally builds it's shared libraries.
13514 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'
13520 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)'
13521 hardcode_libdir_flag_spec_F77='-L$libdir'
13522 hardcode_minus_L_F77=yes
13523 # see comment about different semantics on the GNU ld section
13528 export_dynamic_flag_spec_F77=-rdynamic
13531 cygwin* | mingw* | pw32*)
13532 # When not using gcc, we currently assume that we are using
13533 # Microsoft Visual C++.
13534 # hardcode_libdir_flag_spec is actually meaningless, as there is
13535 # no search path for DLLs.
13536 hardcode_libdir_flag_spec_F77=' '
13537 allow_undefined_flag_F77=unsupported
13538 # Tell ltmain to make .lib files, not .a files.
13540 # Tell ltmain to make .dll files, not .so files.
13542 # FIXME: Setting linknames here is a bad hack.
13543 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13544 # The linker will automatically build a .lib file if we build a DLL.
13545 old_archive_From_new_cmds_F77='true'
13546 # FIXME: Should let the user specify the lib program.
13547 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13548 fix_srcfile_path='`cygpath -w "$srcfile"`'
13549 enable_shared_with_static_runtimes_F77=yes
13552 darwin* | rhapsody*)
13553 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13554 archive_cmds_need_lc_F77=no
13556 rhapsody* | darwin1.[012])
13557 allow_undefined_flag_F77='-undefined suppress'
13560 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13563 # FIXME: Relying on posixy $() will cause problems for
13564 # cross-compilation, but unfortunately the echo tests do not
13565 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13566 # `"' quotes if we put them in here... so don't!
13567 lt_int_apple_cc_single_mod=no
13568 output_verbose_link_cmd='echo'
13569 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13570 lt_int_apple_cc_single_mod=yes
13572 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13573 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13575 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'
13577 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13578 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13579 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13580 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}'
13582 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}'
13584 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}'
13585 hardcode_direct_F77=no
13586 hardcode_automatic_F77=yes
13587 hardcode_shlibpath_var_F77=unsupported
13588 whole_archive_flag_spec_F77='-all_load $convenience'
13589 link_all_deplibs_F77=yes
13594 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13595 hardcode_libdir_flag_spec_F77='-L$libdir'
13596 hardcode_shlibpath_var_F77=no
13603 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13604 # support. Future versions do this automatically, but an explicit c++rt0.o
13605 # does not break anything, and helps significantly (at the cost of a little
13608 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13609 hardcode_libdir_flag_spec_F77='-R$libdir'
13610 hardcode_direct_F77=yes
13611 hardcode_shlibpath_var_F77=no
13614 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13616 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13617 hardcode_direct_F77=yes
13618 hardcode_minus_L_F77=yes
13619 hardcode_shlibpath_var_F77=no
13622 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13624 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13625 hardcode_libdir_flag_spec_F77='-R$libdir'
13626 hardcode_direct_F77=yes
13627 hardcode_shlibpath_var_F77=no
13631 if test "$GCC" = yes; then
13632 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'
13634 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'
13636 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13637 hardcode_libdir_separator_F77=:
13638 hardcode_direct_F77=yes
13640 # hardcode_minus_L: Not really in the search PATH,
13641 # but as the default location of the library.
13642 hardcode_minus_L_F77=yes
13643 export_dynamic_flag_spec_F77='${wl}-E'
13647 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13648 case "$host_cpu" in
13650 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13653 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13657 case "$host_cpu" in
13659 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13662 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13666 if test "$with_gnu_ld" = no; then
13667 case "$host_cpu" in
13669 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13670 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13671 hardcode_libdir_separator_F77=:
13672 hardcode_direct_F77=no
13673 hardcode_shlibpath_var_F77=no
13676 hardcode_libdir_flag_spec_F77='-L$libdir'
13677 hardcode_direct_F77=no
13678 hardcode_shlibpath_var_F77=no
13680 # hardcode_minus_L: Not really in the search PATH,
13681 # but as the default location of the library.
13682 hardcode_minus_L_F77=yes
13685 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13686 hardcode_libdir_separator_F77=:
13687 hardcode_direct_F77=yes
13688 export_dynamic_flag_spec_F77='${wl}-E'
13690 # hardcode_minus_L: Not really in the search PATH,
13691 # but as the default location of the library.
13692 hardcode_minus_L_F77=yes
13698 irix5* | irix6* | nonstopux*)
13699 if test "$GCC" = yes; then
13700 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'
13702 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'
13703 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13705 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13706 hardcode_libdir_separator_F77=:
13707 link_all_deplibs_F77=yes
13711 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13712 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13714 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13716 hardcode_libdir_flag_spec_F77='-R$libdir'
13717 hardcode_direct_F77=yes
13718 hardcode_shlibpath_var_F77=no
13722 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13723 hardcode_direct_F77=yes
13724 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13725 hardcode_libdir_separator_F77=:
13726 hardcode_shlibpath_var_F77=no
13730 hardcode_direct_F77=yes
13731 hardcode_shlibpath_var_F77=no
13732 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13733 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13734 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13735 export_dynamic_flag_spec_F77='${wl}-E'
13738 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13739 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13740 hardcode_libdir_flag_spec_F77='-R$libdir'
13743 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13744 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13751 hardcode_libdir_flag_spec_F77='-L$libdir'
13752 hardcode_minus_L_F77=yes
13753 allow_undefined_flag_F77=unsupported
13754 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'
13755 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13759 if test "$GCC" = yes; then
13760 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13761 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'
13763 allow_undefined_flag_F77=' -expect_unresolved \*'
13764 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'
13766 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13767 hardcode_libdir_separator_F77=:
13770 osf4* | osf5*) # as osf3* with the addition of -msym flag
13771 if test "$GCC" = yes; then
13772 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13773 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13774 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13776 allow_undefined_flag_F77=' -expect_unresolved \*'
13777 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'
13778 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~
13779 $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'
13781 # Both c and cxx compiler support -rpath directly
13782 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13784 hardcode_libdir_separator_F77=:
13788 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13789 hardcode_shlibpath_var_F77=no
13790 export_dynamic_flag_spec_F77='${wl}-Bexport'
13791 runpath_var=LD_RUN_PATH
13792 hardcode_runpath_var=yes
13796 no_undefined_flag_F77=' -z text'
13797 if test "$GCC" = yes; then
13798 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13799 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13800 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13802 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13803 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13804 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13806 hardcode_libdir_flag_spec_F77='-R$libdir'
13807 hardcode_shlibpath_var_F77=no
13809 solaris2.[0-5] | solaris2.[0-5].*) ;;
13810 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13811 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13813 link_all_deplibs_F77=yes
13817 if test "x$host_vendor" = xsequent; then
13818 # Use $CC to link under sequent, because it throws in some extra .o
13819 # files that make .init and .fini sections work.
13820 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13822 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13824 hardcode_libdir_flag_spec_F77='-L$libdir'
13825 hardcode_direct_F77=yes
13826 hardcode_minus_L_F77=yes
13827 hardcode_shlibpath_var_F77=no
13831 case $host_vendor in
13833 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13834 hardcode_direct_F77=yes # is this really true???
13837 ## LD is ld it makes a PLAMLIB
13838 ## CC just makes a GrossModule.
13839 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13840 reload_cmds_F77='$CC -r -o $output$reload_objs'
13841 hardcode_direct_F77=no
13844 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13845 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13848 runpath_var='LD_RUN_PATH'
13849 hardcode_shlibpath_var_F77=no
13853 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13854 hardcode_shlibpath_var_F77=no
13855 export_dynamic_flag_spec_F77='-Bexport'
13859 if test -d /usr/nec; then
13860 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13861 hardcode_shlibpath_var_F77=no
13862 runpath_var=LD_RUN_PATH
13863 hardcode_runpath_var=yes
13869 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13870 hardcode_direct_F77=yes
13871 hardcode_minus_L_F77=no
13872 hardcode_shlibpath_var_F77=no
13873 hardcode_runpath_var=yes
13874 runpath_var=LD_RUN_PATH
13877 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13878 no_undefined_flag_F77='${wl}-z ${wl}text'
13879 if test "$GCC" = yes; then
13880 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13882 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13884 runpath_var='LD_RUN_PATH'
13885 hardcode_shlibpath_var_F77=no
13889 no_undefined_flag_F77=' -z text'
13890 # $CC -shared without GNU ld will not create a library from C++
13891 # object files and a static libstdc++, better avoid it by now
13892 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13893 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13894 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13895 hardcode_libdir_flag_spec_F77=
13896 hardcode_shlibpath_var_F77=no
13897 runpath_var='LD_RUN_PATH'
13901 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13902 hardcode_libdir_flag_spec_F77='-L$libdir'
13903 hardcode_shlibpath_var_F77=no
13912 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13913 echo "${ECHO_T}$ld_shlibs_F77" >&6
13914 test "$ld_shlibs_F77" = no && can_build_shared=no
13916 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13917 if test "$GCC" = yes; then
13918 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13922 # Do we need to explicitly link libc?
13924 case "x$archive_cmds_need_lc_F77" in
13926 # Assume -lc should be added
13927 archive_cmds_need_lc_F77=yes
13929 if test "$enable_shared" = yes && test "$GCC" = yes; then
13930 case $archive_cmds_F77 in
13932 # FIXME: we may have to deal with multi-command sequences.
13935 # Test whether the compiler implicitly links with -lc since on some
13936 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13937 # to ld, don't add -lc before -lgcc.
13938 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13939 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13941 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13944 (eval $ac_compile) 2>&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); } 2>conftest.err; then
13950 libobjs=conftest.$ac_objext
13952 wl=$lt_prog_compiler_wl_F77
13958 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13959 allow_undefined_flag_F77=
13960 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13961 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); }
13966 archive_cmds_need_lc_F77=no
13968 archive_cmds_need_lc_F77=yes
13970 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13972 cat conftest.err 1>&5
13975 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13976 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13983 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13984 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13985 hardcode_action_F77=
13986 if test -n "$hardcode_libdir_flag_spec_F77" || \
13987 test -n "$runpath_var F77" || \
13988 test "X$hardcode_automatic_F77"="Xyes" ; then
13990 # We can hardcode non-existant directories.
13991 if test "$hardcode_direct_F77" != no &&
13992 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13993 # have to relink, otherwise we might link with an installed library
13994 # when we should be linking with a yet-to-be-installed one
13995 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
13996 test "$hardcode_minus_L_F77" != no; then
13997 # Linking always hardcodes the temporary library directory.
13998 hardcode_action_F77=relink
14000 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14001 hardcode_action_F77=immediate
14004 # We cannot hardcode anything, or else we can only hardcode existing
14006 hardcode_action_F77=unsupported
14008 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14009 echo "${ECHO_T}$hardcode_action_F77" >&6
14011 if test "$hardcode_action_F77" = relink; then
14012 # Fast installation is not supported
14013 enable_fast_install=no
14014 elif test "$shlibpath_overrides_runpath" = yes ||
14015 test "$enable_shared" = no; then
14016 # Fast installation is not necessary
14017 enable_fast_install=needless
14022 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14023 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14024 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14025 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14026 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14027 echo "$as_me:$LINENO: result: yes" >&5
14028 echo "${ECHO_T}yes" >&6
14030 # FIXME - insert some real tests, host_os isn't really good enough
14033 if test -n "$STRIP" ; then
14034 striplib="$STRIP -x"
14035 echo "$as_me:$LINENO: result: yes" >&5
14036 echo "${ECHO_T}yes" >&6
14038 echo "$as_me:$LINENO: result: no" >&5
14039 echo "${ECHO_T}no" >&6
14043 echo "$as_me:$LINENO: result: no" >&5
14044 echo "${ECHO_T}no" >&6
14049 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14050 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14051 library_names_spec=
14052 libname_spec='lib$name'
14056 postuninstall_cmds=
14060 shlibpath_overrides_runpath=unknown
14062 dynamic_linker="$host_os ld.so"
14063 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14064 if test "$GCC" = yes; then
14065 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14066 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14067 # if the path contains ";" then we assume it to be the separator
14068 # otherwise default to the standard path separator (i.e. ":") - it is
14069 # assumed that no part of a normal pathname contains ";" but that should
14070 # okay in the real world where ";" in dirpaths is itself problematic.
14071 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14073 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14076 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14078 need_lib_prefix=unknown
14079 hardcode_into_libs=no
14081 # when you set need_version to no, make sure it does not cause -set_version
14082 # flags to be left without arguments
14083 need_version=unknown
14088 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14089 shlibpath_var=LIBPATH
14091 # AIX 3 has no versioning support, so we append a major version to the name.
14092 soname_spec='${libname}${release}${shared_ext}$major'
14099 hardcode_into_libs=yes
14100 if test "$host_cpu" = ia64; then
14101 # AIX 5 supports IA64
14102 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14103 shlibpath_var=LD_LIBRARY_PATH
14105 # With GCC up to 2.95.x, collect2 would create an import file
14106 # for dependence libraries. The import file would start with
14107 # the line `#! .'. This would cause the generated library to
14108 # depend on `.', always an invalid library. This was fixed in
14109 # development snapshots of GCC prior to 3.0.
14111 aix4 | aix4.[01] | aix4.[01].*)
14112 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14114 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14117 can_build_shared=no
14121 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14122 # soname into executable. Probably we can add versioning support to
14123 # collect2, so additional links can be useful in future.
14124 if test "$aix_use_runtimelinking" = yes; then
14125 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14126 # instead of lib<name>.a to let people know that these are not
14127 # typical AIX shared libraries.
14128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14130 # We preserve .a as extension for shared libraries through AIX4.2
14131 # and later when we are not doing run time linking.
14132 library_names_spec='${libname}${release}.a $libname.a'
14133 soname_spec='${libname}${release}${shared_ext}$major'
14135 shlibpath_var=LIBPATH
14140 library_names_spec='$libname.ixlibrary $libname.a'
14141 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14142 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'
14146 library_names_spec='${libname}${shared_ext}'
14147 dynamic_linker="$host_os ld.so"
14148 shlibpath_var=LIBRARY_PATH
14154 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14155 soname_spec='${libname}${release}${shared_ext}$major'
14156 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14157 shlibpath_var=LD_LIBRARY_PATH
14158 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14159 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14160 # the default ld.so.conf also contains /usr/contrib/lib and
14161 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14162 # libtool to hard-code these into programs
14165 cygwin* | mingw* | pw32*)
14166 version_type=windows
14171 case $GCC,$host_os in
14172 yes,cygwin* | yes,mingw* | yes,pw32*)
14173 library_names_spec='$libname.dll.a'
14174 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14175 postinstall_cmds='base_file=`basename \${file}`~
14176 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14177 dldir=$destdir/`dirname \$dlpath`~
14178 test -d \$dldir || mkdir -p \$dldir~
14179 $install_prog $dir/$dlname \$dldir/$dlname'
14180 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14181 dlpath=$dir/\$dldll~
14183 shlibpath_overrides_runpath=yes
14187 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14188 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14189 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14192 # MinGW DLLs use traditional 'lib' prefix
14193 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14194 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14195 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14196 # It is most probably a Windows format PATH printed by
14197 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14198 # path with ; separators, and with drive letters. We can handle the
14199 # drive letters (cygwin fileutils understands them), so leave them,
14200 # especially as we might pass files found there to a mingw objdump,
14201 # which wouldn't understand a cygwinified path. Ahh.
14202 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14204 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14208 # pw32 DLLs use 'pw' prefix rather than 'lib'
14209 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14215 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14218 dynamic_linker='Win32 ld.exe'
14219 # FIXME: first we should search . and the directory the executable is in
14223 darwin* | rhapsody*)
14224 dynamic_linker="$host_os dyld"
14225 version_type=darwin
14228 # FIXME: Relying on posixy $() will cause problems for
14229 # cross-compilation, but unfortunately the echo tests do not
14230 # yet detect zsh echo's removal of \ escapes.
14231 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14232 soname_spec='${libname}${release}${major}$shared_ext'
14233 shlibpath_overrides_runpath=yes
14234 shlibpath_var=DYLD_LIBRARY_PATH
14235 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14236 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14237 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14238 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"`
14240 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14247 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14248 soname_spec='${libname}${release}${shared_ext}$major'
14249 shlibpath_var=LD_LIBRARY_PATH
14257 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14258 version_type=freebsd-$objformat
14259 case $version_type in
14261 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14266 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14270 shlibpath_var=LD_LIBRARY_PATH
14273 shlibpath_overrides_runpath=yes
14275 freebsd3.01* | freebsdelf3.01*)
14276 shlibpath_overrides_runpath=yes
14277 hardcode_into_libs=yes
14280 shlibpath_overrides_runpath=no
14281 hardcode_into_libs=yes
14290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14291 soname_spec='${libname}${release}${shared_ext}$major'
14292 shlibpath_var=LD_LIBRARY_PATH
14293 hardcode_into_libs=yes
14296 hpux9* | hpux10* | hpux11*)
14297 # Give a soname corresponding to the major version so that dld.sl refuses to
14298 # link against other versions.
14302 case "$host_cpu" in
14305 hardcode_into_libs=yes
14306 dynamic_linker="$host_os dld.so"
14307 shlibpath_var=LD_LIBRARY_PATH
14308 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14310 soname_spec='${libname}${release}${shared_ext}$major'
14311 if test "X$HPUX_IA64_MODE" = X32; then
14312 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14314 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14316 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14320 hardcode_into_libs=yes
14321 dynamic_linker="$host_os dld.sl"
14322 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14323 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14325 soname_spec='${libname}${release}${shared_ext}$major'
14326 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14327 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14331 dynamic_linker="$host_os dld.sl"
14332 shlibpath_var=SHLIB_PATH
14333 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14335 soname_spec='${libname}${release}${shared_ext}$major'
14338 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14339 postinstall_cmds='chmod 555 $lib'
14342 irix5* | irix6* | nonstopux*)
14344 nonstopux*) version_type=nonstopux ;;
14346 if test "$lt_cv_prog_gnu_ld" = yes; then
14354 soname_spec='${libname}${release}${shared_ext}$major'
14355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14357 irix5* | nonstopux*)
14358 libsuff= shlibsuff=
14361 case $LD in # libtool.m4 will add one of these switches to LD
14362 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14363 libsuff= shlibsuff= libmagic=32-bit;;
14364 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14365 libsuff=32 shlibsuff=N32 libmagic=N32;;
14366 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14367 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14368 *) libsuff= shlibsuff= libmagic=never-match;;
14372 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14373 shlibpath_overrides_runpath=no
14374 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14375 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14376 hardcode_into_libs=yes
14379 # No shared lib support for Linux oldld, aout, or coff.
14380 linux*oldld* | linux*aout* | linux*coff*)
14384 # This must be Linux ELF.
14389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14390 soname_spec='${libname}${release}${shared_ext}$major'
14391 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14392 shlibpath_var=LD_LIBRARY_PATH
14393 shlibpath_overrides_runpath=no
14394 # This implies no fast_install, which is unacceptable.
14395 # Some rework will be needed to allow for fast_install
14396 # before this can be enabled.
14397 hardcode_into_libs=yes
14399 # We used to test for /lib/ld.so.1 and disable shared libraries on
14400 # powerpc, because MkLinux only supported shared libraries with the
14401 # GNU dynamic linker. Since this was broken with cross compilers,
14402 # most powerpc-linux boxes support dynamic linking these days and
14403 # people can always --disable-shared, the test was removed, and we
14404 # assume the GNU/Linux dynamic linker is in use.
14405 dynamic_linker='GNU/Linux ld.so'
14412 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14414 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14415 dynamic_linker='NetBSD (a.out) ld.so'
14417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14418 soname_spec='${libname}${release}${shared_ext}$major'
14419 dynamic_linker='NetBSD ld.elf_so'
14421 shlibpath_var=LD_LIBRARY_PATH
14422 shlibpath_overrides_runpath=yes
14423 hardcode_into_libs=yes
14428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14429 shlibpath_var=LD_LIBRARY_PATH
14430 shlibpath_overrides_runpath=yes
14437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14438 soname_spec='${libname}${release}${shared_ext}$major'
14439 shlibpath_var=LD_LIBRARY_PATH
14440 shlibpath_overrides_runpath=yes
14447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14448 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14449 shlibpath_var=LD_LIBRARY_PATH
14450 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14452 openbsd2.[89] | openbsd2.[89].*)
14453 shlibpath_overrides_runpath=no
14456 shlibpath_overrides_runpath=yes
14460 shlibpath_overrides_runpath=yes
14465 libname_spec='$name'
14468 library_names_spec='$libname${shared_ext} $libname.a'
14469 dynamic_linker='OS/2 ld.exe'
14470 shlibpath_var=LIBPATH
14473 osf3* | osf4* | osf5*)
14477 soname_spec='${libname}${release}${shared_ext}$major'
14478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14479 shlibpath_var=LD_LIBRARY_PATH
14480 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14481 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14486 soname_spec='${libname}${release}${shared_ext}$major'
14487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14488 shlibpath_var=LD_LIBRARY_PATH
14495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14496 soname_spec='${libname}${release}${shared_ext}$major'
14497 shlibpath_var=LD_LIBRARY_PATH
14498 shlibpath_overrides_runpath=yes
14499 hardcode_into_libs=yes
14500 # ldd complains unless libraries are executable
14501 postinstall_cmds='chmod +x $lib'
14506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14507 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14508 shlibpath_var=LD_LIBRARY_PATH
14509 shlibpath_overrides_runpath=yes
14510 if test "$with_gnu_ld" = yes; then
14516 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14519 soname_spec='${libname}${release}${shared_ext}$major'
14520 shlibpath_var=LD_LIBRARY_PATH
14521 case $host_vendor in
14523 shlibpath_overrides_runpath=no
14525 export_dynamic_flag_spec='${wl}-Blargedynsym'
14526 runpath_var=LD_RUN_PATH
14534 shlibpath_overrides_runpath=no
14535 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14541 if test -d /usr/nec ;then
14543 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14544 soname_spec='$libname${shared_ext}.$major'
14545 shlibpath_var=LD_LIBRARY_PATH
14551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14552 soname_spec='${libname}${release}${shared_ext}$major'
14553 shlibpath_var=LD_LIBRARY_PATH
14560 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14561 echo "${ECHO_T}$dynamic_linker" >&6
14562 test "$dynamic_linker" = no && can_build_shared=no
14565 # The else clause should only fire when bootstrapping the
14566 # libtool distribution, otherwise you forgot to ship ltmain.sh
14567 # with your package, and you will get complaints that there are
14568 # no rules to generate ltmain.sh.
14569 if test -f "$ltmain"; then
14570 # See if we are running on zsh, and set the options which allow our commands through
14571 # without removal of \ escapes.
14572 if test -n "${ZSH_VERSION+set}" ; then
14573 setopt NO_GLOB_SUBST
14575 # Now quote all the things that may contain metacharacters while being
14576 # careful not to overquote the AC_SUBSTed values. We take copies of the
14577 # variables and quote the copies for generation of the libtool script.
14578 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14579 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14580 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14581 deplibs_check_method reload_flag reload_cmds need_locks \
14582 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14583 lt_cv_sys_global_symbol_to_c_name_address \
14584 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14585 old_postinstall_cmds old_postuninstall_cmds \
14589 lt_prog_compiler_wl_F77 \
14590 lt_prog_compiler_pic_F77 \
14591 lt_prog_compiler_static_F77 \
14592 lt_prog_compiler_no_builtin_flag_F77 \
14593 export_dynamic_flag_spec_F77 \
14594 thread_safe_flag_spec_F77 \
14595 whole_archive_flag_spec_F77 \
14596 enable_shared_with_static_runtimes_F77 \
14597 old_archive_cmds_F77 \
14598 old_archive_from_new_cmds_F77 \
14599 predep_objects_F77 \
14600 postdep_objects_F77 \
14603 compiler_lib_search_path_F77 \
14605 archive_expsym_cmds_F77 \
14606 postinstall_cmds_F77 \
14607 postuninstall_cmds_F77 \
14608 old_archive_from_expsyms_cmds_F77 \
14609 allow_undefined_flag_F77 \
14610 no_undefined_flag_F77 \
14611 export_symbols_cmds_F77 \
14612 hardcode_libdir_flag_spec_F77 \
14613 hardcode_libdir_flag_spec_ld_F77 \
14614 hardcode_libdir_separator_F77 \
14615 hardcode_automatic_F77 \
14617 module_expsym_cmds_F77 \
14618 lt_cv_prog_compiler_c_o_F77 \
14619 exclude_expsyms_F77 \
14620 include_expsyms_F77; do
14623 old_archive_cmds_F77 | \
14624 old_archive_from_new_cmds_F77 | \
14625 archive_cmds_F77 | \
14626 archive_expsym_cmds_F77 | \
14627 module_cmds_F77 | \
14628 module_expsym_cmds_F77 | \
14629 old_archive_from_expsyms_cmds_F77 | \
14630 export_symbols_cmds_F77 | \
14631 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14632 postinstall_cmds | postuninstall_cmds | \
14633 old_postinstall_cmds | old_postuninstall_cmds | \
14634 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14635 # Double-quote double-evaled strings.
14636 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14639 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14645 *'\$0 --fallback-echo"')
14646 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14652 cat <<__EOF__ >> "$cfgfile"
14653 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14655 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14657 # Shell to use when invoking shell scripts.
14660 # Whether or not to build shared libraries.
14661 build_libtool_libs=$enable_shared
14663 # Whether or not to build static libraries.
14664 build_old_libs=$enable_static
14666 # Whether or not to add -lc for building shared libraries.
14667 build_libtool_need_lc=$archive_cmds_need_lc_F77
14669 # Whether or not to disallow shared libs when runtime libs are static
14670 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14672 # Whether or not to optimize for fast installation.
14673 fast_install=$enable_fast_install
14676 host_alias=$host_alias
14679 # An echo program that does not interpret backslashes.
14684 AR_FLAGS=$lt_AR_FLAGS
14689 # A language-specific compiler.
14690 CC=$lt_compiler_F77
14692 # Is the compiler the GNU C compiler?
14698 # The linker used to build libraries.
14701 # Whether we need hard or soft links.
14704 # A BSD-compatible nm program.
14707 # A symbol stripping program
14710 # Used to examine libraries when file_magic_cmd begins "file"
14711 MAGIC_CMD=$MAGIC_CMD
14713 # Used on cygwin: DLL creation program.
14716 # Used on cygwin: object dumper.
14719 # Used on cygwin: assembler.
14722 # The name of the directory that contains temporary libtool files.
14725 # How to create reloadable object files.
14726 reload_flag=$lt_reload_flag
14727 reload_cmds=$lt_reload_cmds
14729 # How to pass a linker flag through the compiler.
14730 wl=$lt_lt_prog_compiler_wl_F77
14732 # Object file suffix (normally "o").
14733 objext="$ac_objext"
14735 # Old archive suffix (normally "a").
14738 # Shared library suffix (normally ".so").
14741 # Executable file suffix (normally "").
14744 # Additional compiler flags for building library objects.
14745 pic_flag=$lt_lt_prog_compiler_pic_F77
14748 # What is the maximum length of a command?
14749 max_cmd_len=$lt_cv_sys_max_cmd_len
14751 # Does compiler simultaneously support -c and -o options?
14752 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14754 # Must we lock files when doing compilation ?
14755 need_locks=$lt_need_locks
14757 # Do we need the lib prefix for modules?
14758 need_lib_prefix=$need_lib_prefix
14760 # Do we need a version for libraries?
14761 need_version=$need_version
14763 # Whether dlopen is supported.
14764 dlopen_support=$enable_dlopen
14766 # Whether dlopen of programs is supported.
14767 dlopen_self=$enable_dlopen_self
14769 # Whether dlopen of statically linked programs is supported.
14770 dlopen_self_static=$enable_dlopen_self_static
14772 # Compiler flag to prevent dynamic linking.
14773 link_static_flag=$lt_lt_prog_compiler_static_F77
14775 # Compiler flag to turn off builtin functions.
14776 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14778 # Compiler flag to allow reflexive dlopens.
14779 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14781 # Compiler flag to generate shared objects directly from archives.
14782 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14784 # Compiler flag to generate thread-safe objects.
14785 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14787 # Library versioning type.
14788 version_type=$version_type
14790 # Format of library name prefix.
14791 libname_spec=$lt_libname_spec
14793 # List of archive names. First name is the real one, the rest are links.
14794 # The last name is the one that the linker finds with -lNAME.
14795 library_names_spec=$lt_library_names_spec
14797 # The coded name of the library, if different from the real name.
14798 soname_spec=$lt_soname_spec
14800 # Commands used to build and install an old-style archive.
14802 old_archive_cmds=$lt_old_archive_cmds_F77
14803 old_postinstall_cmds=$lt_old_postinstall_cmds
14804 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14806 # Create an old-style archive from a shared archive.
14807 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14809 # Create a temporary old-style archive to link instead of a shared archive.
14810 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14812 # Commands used to build and install a shared archive.
14813 archive_cmds=$lt_archive_cmds_F77
14814 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14815 postinstall_cmds=$lt_postinstall_cmds
14816 postuninstall_cmds=$lt_postuninstall_cmds
14818 # Commands used to build a loadable module (assumed same as above if empty)
14819 module_cmds=$lt_module_cmds_F77
14820 module_expsym_cmds=$lt_module_expsym_cmds_F77
14822 # Commands to strip libraries.
14823 old_striplib=$lt_old_striplib
14824 striplib=$lt_striplib
14826 # Dependencies to place before the objects being linked to create a
14828 predep_objects=$lt_predep_objects_F77
14830 # Dependencies to place after the objects being linked to create a
14832 postdep_objects=$lt_postdep_objects_F77
14834 # Dependencies to place before the objects being linked to create a
14836 predeps=$lt_predeps_F77
14838 # Dependencies to place after the objects being linked to create a
14840 postdeps=$lt_postdeps_F77
14842 # The library search path used internally by the compiler when linking
14843 # a shared library.
14844 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14846 # Method to check whether dependent libraries are shared objects.
14847 deplibs_check_method=$lt_deplibs_check_method
14849 # Command to use when deplibs_check_method == file_magic.
14850 file_magic_cmd=$lt_file_magic_cmd
14852 # Flag that allows shared libraries with undefined symbols to be built.
14853 allow_undefined_flag=$lt_allow_undefined_flag_F77
14855 # Flag that forces no undefined symbols.
14856 no_undefined_flag=$lt_no_undefined_flag_F77
14858 # Commands used to finish a libtool library installation in a directory.
14859 finish_cmds=$lt_finish_cmds
14861 # Same as above, but a single script fragment to be evaled but not shown.
14862 finish_eval=$lt_finish_eval
14864 # Take the output of nm and produce a listing of raw symbols and C names.
14865 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14867 # Transform the output of nm in a proper C declaration
14868 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14870 # Transform the output of nm in a C name address pair
14871 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14873 # This is the shared library runtime path variable.
14874 runpath_var=$runpath_var
14876 # This is the shared library path variable.
14877 shlibpath_var=$shlibpath_var
14879 # Is shlibpath searched before the hard-coded library search path?
14880 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14882 # How to hardcode a shared library path into an executable.
14883 hardcode_action=$hardcode_action_F77
14885 # Whether we should hardcode library paths into libraries.
14886 hardcode_into_libs=$hardcode_into_libs
14888 # Flag to hardcode \$libdir into a binary during linking.
14889 # This must work even if \$libdir does not exist.
14890 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14892 # If ld is used when linking, flag to hardcode \$libdir into
14893 # a binary during linking. This must work even if \$libdir does
14895 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14897 # Whether we need a single -rpath flag with a separated argument.
14898 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14900 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14901 # resulting binary.
14902 hardcode_direct=$hardcode_direct_F77
14904 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14905 # resulting binary.
14906 hardcode_minus_L=$hardcode_minus_L_F77
14908 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14909 # the resulting binary.
14910 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14912 # Set to yes if building a shared library automatically hardcodes DIR into the library
14913 # and all subsequent libraries and executables linked against it.
14914 hardcode_automatic=$hardcode_automatic_F77
14916 # Variables whose values should be saved in libtool wrapper scripts and
14917 # restored at relink time.
14918 variables_saved_for_relink="$variables_saved_for_relink"
14920 # Whether libtool must link a program against all its dependency libraries.
14921 link_all_deplibs=$link_all_deplibs_F77
14923 # Compile-time system search path for libraries
14924 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14926 # Run-time system search path for libraries
14927 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14929 # Fix the shell variable \$srcfile for the compiler.
14930 fix_srcfile_path="$fix_srcfile_path_F77"
14932 # Set to yes if exported symbols are required.
14933 always_export_symbols=$always_export_symbols_F77
14935 # The commands to list exported symbols.
14936 export_symbols_cmds=$lt_export_symbols_cmds_F77
14938 # The commands to extract the exported symbol list from a shared archive.
14939 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14941 # Symbols that should not be listed in the preloaded symbols.
14942 exclude_expsyms=$lt_exclude_expsyms_F77
14944 # Symbols that must always be exported.
14945 include_expsyms=$lt_include_expsyms_F77
14947 # ### END LIBTOOL TAG CONFIG: $tagname
14953 # If there is no Makefile yet, we rely on a make rule to execute
14954 # `config.status --recheck' to rerun these tests and create the
14955 # libtool script then.
14956 test -f Makefile && make "$ltmain"
14961 ac_cpp='$CPP $CPPFLAGS'
14962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14974 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14978 # Source file extension for Java test sources.
14981 # Object file extension for compiled Java test sources.
14985 # Code to be used in simple compile tests
14986 lt_simple_compile_test_code="class foo {}\n"
14988 # Code to be used in simple link tests
14989 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
14991 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14993 # If no C compiler was specified, use CC.
14996 # Allow CC to be a program name with arguments.
15000 # Allow CC to be a program name with arguments.
15006 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15007 archive_cmds_need_lc_GCJ=no
15010 ## There is no encapsulation within the following macros, do not change
15011 ## the running order or otherwise move them around unless you know exactly
15012 ## what you are doing...
15014 lt_prog_compiler_no_builtin_flag_GCJ=
15016 if test "$GCC" = yes; then
15017 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15019 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15020 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15021 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15022 echo $ECHO_N "(cached) $ECHO_C" >&6
15024 lt_cv_prog_compiler_rtti_exceptions=no
15025 ac_outfile=conftest.$ac_objext
15026 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15027 lt_compiler_flag="-fno-rtti -fno-exceptions"
15028 # Insert the option either (1) after the last *FLAGS variable, or
15029 # (2) before a word containing "conftest.", or (3) at the end.
15030 # Note that $ac_compile itself does not contain backslashes and begins
15031 # with a dollar sign (not a hyphen), so the echo should work correctly.
15032 # The option is referenced via a variable to avoid confusing sed.
15033 lt_compile=`echo "$ac_compile" | $SED \
15034 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15035 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15036 -e 's:$: $lt_compiler_flag:'`
15037 (eval echo "\"\$as_me:15037: $lt_compile\"" >&5)
15038 (eval "$lt_compile" 2>conftest.err)
15040 cat conftest.err >&5
15041 echo "$as_me:15041: \$? = $ac_status" >&5
15042 if (exit $ac_status) && test -s "$ac_outfile"; then
15043 # The compiler can only warn and ignore the option if not recognized
15044 # So say no if there are warnings
15045 if test ! -s conftest.err; then
15046 lt_cv_prog_compiler_rtti_exceptions=yes
15052 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15053 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15055 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15056 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15063 lt_prog_compiler_wl_GCJ=
15064 lt_prog_compiler_pic_GCJ=
15065 lt_prog_compiler_static_GCJ=
15067 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15068 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15070 if test "$GCC" = yes; then
15071 lt_prog_compiler_wl_GCJ='-Wl,'
15072 lt_prog_compiler_static_GCJ='-static'
15076 # All AIX code is PIC.
15077 if test "$host_cpu" = ia64; then
15078 # AIX 5 now supports IA64 processor
15079 lt_prog_compiler_static_GCJ='-Bstatic'
15084 # FIXME: we need at least 68020 code to build shared libraries, but
15085 # adding the `-m68020' flag to GCC prevents building anything better,
15087 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15090 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15091 # PIC is the default for these OSes.
15094 mingw* | pw32* | os2*)
15095 # This hack is so that the source file can tell whether it is being
15096 # built for inclusion in a dll (and should export symbols for example).
15097 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15100 darwin* | rhapsody*)
15101 # PIC is the default on this platform
15102 # Common symbols not allowed in MH_DYLIB files
15103 lt_prog_compiler_pic_GCJ='-fno-common'
15107 # Just because we use GCC doesn't mean we suddenly get shared libraries
15108 # on systems that don't support them.
15109 lt_prog_compiler_can_build_shared_GCJ=no
15114 if test -d /usr/nec; then
15115 lt_prog_compiler_pic_GCJ=-Kconform_pic
15120 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15121 # not for PA HP-UX.
15122 case "$host_cpu" in
15127 lt_prog_compiler_pic_GCJ='-fPIC'
15133 lt_prog_compiler_pic_GCJ='-fPIC'
15137 # PORTME Check for flag to pass linker flags through the system compiler.
15140 lt_prog_compiler_wl_GCJ='-Wl,'
15141 if test "$host_cpu" = ia64; then
15142 # AIX 5 now supports IA64 processor
15143 lt_prog_compiler_static_GCJ='-Bstatic'
15145 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15149 mingw* | pw32* | os2*)
15150 # This hack is so that the source file can tell whether it is being
15151 # built for inclusion in a dll (and should export symbols for example).
15152 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15155 hpux9* | hpux10* | hpux11*)
15156 lt_prog_compiler_wl_GCJ='-Wl,'
15157 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15158 # not for PA HP-UX.
15159 case "$host_cpu" in
15164 lt_prog_compiler_pic_GCJ='+Z'
15167 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15168 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15171 irix5* | irix6* | nonstopux*)
15172 lt_prog_compiler_wl_GCJ='-Wl,'
15173 # PIC (with -KPIC) is the default.
15174 lt_prog_compiler_static_GCJ='-non_shared'
15178 lt_prog_compiler_pic_GCJ='-KPIC'
15179 lt_prog_compiler_static_GCJ='-Bstatic'
15185 lt_prog_compiler_wl_GCJ='-Wl,'
15186 lt_prog_compiler_pic_GCJ='-KPIC'
15187 lt_prog_compiler_static_GCJ='-static'
15190 lt_prog_compiler_wl_GCJ='-Wl,'
15191 # All Alpha code is PIC.
15192 lt_prog_compiler_static_GCJ='-non_shared'
15197 osf3* | osf4* | osf5*)
15198 lt_prog_compiler_wl_GCJ='-Wl,'
15199 # All OSF/1 code is PIC.
15200 lt_prog_compiler_static_GCJ='-non_shared'
15204 lt_prog_compiler_pic_GCJ='-Kpic'
15205 lt_prog_compiler_static_GCJ='-dn'
15209 lt_prog_compiler_wl_GCJ='-Wl,'
15210 lt_prog_compiler_pic_GCJ='-KPIC'
15211 lt_prog_compiler_static_GCJ='-Bstatic'
15215 lt_prog_compiler_wl_GCJ='-Qoption ld '
15216 lt_prog_compiler_pic_GCJ='-PIC'
15217 lt_prog_compiler_static_GCJ='-Bstatic'
15220 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15221 lt_prog_compiler_wl_GCJ='-Wl,'
15222 lt_prog_compiler_pic_GCJ='-KPIC'
15223 lt_prog_compiler_static_GCJ='-Bstatic'
15227 if test -d /usr/nec ;then
15228 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15229 lt_prog_compiler_static_GCJ='-Bstatic'
15234 lt_prog_compiler_pic_GCJ='-pic'
15235 lt_prog_compiler_static_GCJ='-Bstatic'
15239 lt_prog_compiler_can_build_shared_GCJ=no
15244 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15245 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15248 # Check to make sure the PIC flag actually works.
15250 if test -n "$lt_prog_compiler_pic_GCJ"; then
15251 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15252 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15253 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15254 echo $ECHO_N "(cached) $ECHO_C" >&6
15256 lt_prog_compiler_pic_works_GCJ=no
15257 ac_outfile=conftest.$ac_objext
15258 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15259 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15260 # Insert the option either (1) after the last *FLAGS variable, or
15261 # (2) before a word containing "conftest.", or (3) at the end.
15262 # Note that $ac_compile itself does not contain backslashes and begins
15263 # with a dollar sign (not a hyphen), so the echo should work correctly.
15264 # The option is referenced via a variable to avoid confusing sed.
15265 lt_compile=`echo "$ac_compile" | $SED \
15266 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15267 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15268 -e 's:$: $lt_compiler_flag:'`
15269 (eval echo "\"\$as_me:15269: $lt_compile\"" >&5)
15270 (eval "$lt_compile" 2>conftest.err)
15272 cat conftest.err >&5
15273 echo "$as_me:15273: \$? = $ac_status" >&5
15274 if (exit $ac_status) && test -s "$ac_outfile"; then
15275 # The compiler can only warn and ignore the option if not recognized
15276 # So say no if there are warnings
15277 if test ! -s conftest.err; then
15278 lt_prog_compiler_pic_works_GCJ=yes
15284 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15285 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15287 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15288 case $lt_prog_compiler_pic_GCJ in
15290 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15293 lt_prog_compiler_pic_GCJ=
15294 lt_prog_compiler_can_build_shared_GCJ=no
15299 # For platforms which do not support PIC, -DPIC is meaningless:
15301 lt_prog_compiler_pic_GCJ=
15304 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15308 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15309 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15310 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15311 echo $ECHO_N "(cached) $ECHO_C" >&6
15313 lt_cv_prog_compiler_c_o_GCJ=no
15314 $rm -r conftest 2>/dev/null
15318 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15320 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15321 # that will create temporary files in the current directory regardless of
15322 # the output directory. Thus, making CWD read-only will cause this test
15323 # to fail, enabling locking or at least warning the user not to do parallel
15327 lt_compiler_flag="-o out/conftest2.$ac_objext"
15328 # Insert the option either (1) after the last *FLAGS variable, or
15329 # (2) before a word containing "conftest.", or (3) at the end.
15330 # Note that $ac_compile itself does not contain backslashes and begins
15331 # with a dollar sign (not a hyphen), so the echo should work correctly.
15332 lt_compile=`echo "$ac_compile" | $SED \
15333 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15334 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15335 -e 's:$: $lt_compiler_flag:'`
15336 (eval echo "\"\$as_me:15336: $lt_compile\"" >&5)
15337 (eval "$lt_compile" 2>out/conftest.err)
15339 cat out/conftest.err >&5
15340 echo "$as_me:15340: \$? = $ac_status" >&5
15341 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15343 # The compiler can only warn and ignore the option if not recognized
15344 # So say no if there are warnings
15345 if test ! -s out/conftest.err; then
15346 lt_cv_prog_compiler_c_o_GCJ=yes
15350 $rm conftest* out/*
15357 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15358 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15361 hard_links="nottested"
15362 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15363 # do not overwrite the value of need_locks provided by the user
15364 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15365 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15368 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15370 ln conftest.a conftest.b 2>&5 || hard_links=no
15371 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15372 echo "$as_me:$LINENO: result: $hard_links" >&5
15373 echo "${ECHO_T}$hard_links" >&6
15374 if test "$hard_links" = no; then
15375 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15376 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15383 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15384 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15387 allow_undefined_flag_GCJ=
15388 enable_shared_with_static_runtimes_GCJ=no
15390 archive_expsym_cmds_GCJ=
15391 old_archive_From_new_cmds_GCJ=
15392 old_archive_from_expsyms_cmds_GCJ=
15393 export_dynamic_flag_spec_GCJ=
15394 whole_archive_flag_spec_GCJ=
15395 thread_safe_flag_spec_GCJ=
15396 hardcode_libdir_flag_spec_GCJ=
15397 hardcode_libdir_flag_spec_ld_GCJ=
15398 hardcode_libdir_separator_GCJ=
15399 hardcode_direct_GCJ=no
15400 hardcode_minus_L_GCJ=no
15401 hardcode_shlibpath_var_GCJ=unsupported
15402 link_all_deplibs_GCJ=unknown
15403 hardcode_automatic_GCJ=no
15405 module_expsym_cmds_GCJ=
15406 always_export_symbols_GCJ=no
15407 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15408 # include_expsyms should be a list of space-separated symbols to be *always*
15409 # included in the symbol list
15410 include_expsyms_GCJ=
15411 # exclude_expsyms can be an extended regexp of symbols to exclude
15412 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15413 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15414 # as well as any symbol that contains `d'.
15415 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15416 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15417 # platforms (ab)use it in PIC code, but their linkers get confused if
15418 # the symbol is explicitly referenced. Since portable code cannot
15419 # rely on this symbol name, it's probably fine to never include it in
15420 # preloaded symbol tables.
15421 extract_expsyms_cmds=
15424 cygwin* | mingw* | pw32*)
15425 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15426 # When not using gcc, we currently assume that we are using
15427 # Microsoft Visual C++.
15428 if test "$GCC" != yes; then
15438 if test "$with_gnu_ld" = yes; then
15439 # If archive_cmds runs LD, not CC, wlarc should be empty
15442 # See if GNU ld supports shared libraries.
15444 aix3* | aix4* | aix5*)
15445 # On AIX/PPC, the GNU linker is very broken
15446 if test "$host_cpu" != ia64; then
15450 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15451 *** to be unable to reliably create shared libraries on AIX.
15452 *** Therefore, libtool is disabling shared libraries support. If you
15453 *** really care for shared libraries, you may want to modify your PATH
15454 *** so that a non-GNU linker is found, and then restart.
15461 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)'
15462 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15463 hardcode_minus_L_GCJ=yes
15465 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15466 # that the semantics of dynamic libraries on AmigaOS, at least up
15467 # to version 4, is to share data among multiple programs linked
15468 # with the same dynamic library. Since this doesn't match the
15469 # behavior of shared libraries on other platforms, we can't use
15475 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15476 allow_undefined_flag_GCJ=unsupported
15477 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15478 # support --undefined. This deserves some investigation. FIXME
15479 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15485 cygwin* | mingw* | pw32*)
15486 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15487 # as there is no search path for DLLs.
15488 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15489 allow_undefined_flag_GCJ=unsupported
15490 always_export_symbols_GCJ=no
15491 enable_shared_with_static_runtimes_GCJ=yes
15492 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15494 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15495 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15496 # If the export-symbols file already is a .def file (1st line
15497 # is EXPORTS), use it as is; otherwise, prepend...
15498 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15499 cp $export_symbols $output_objdir/$soname.def;
15501 echo EXPORTS > $output_objdir/$soname.def;
15502 cat $export_symbols >> $output_objdir/$soname.def;
15504 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15511 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15512 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15515 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15516 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15521 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15525 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15526 *** create shared libraries on Solaris systems. Therefore, libtool
15527 *** is disabling shared libraries support. We urge you to upgrade GNU
15528 *** binutils to release 2.9.1 or newer. Another option is to modify
15529 *** your PATH or compiler configuration so that the native linker is
15530 *** used, and then restart.
15533 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15534 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15535 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15542 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15544 hardcode_direct_GCJ=yes
15545 hardcode_shlibpath_var_GCJ=no
15549 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15550 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15551 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15558 if test "$ld_shlibs_GCJ" = yes; then
15559 runpath_var=LD_RUN_PATH
15560 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15561 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15562 # ancient GNU ld didn't support --whole-archive et. al.
15563 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15564 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15566 whole_archive_flag_spec_GCJ=
15570 # PORTME fill in a description of your system's linker (not GNU ld)
15573 allow_undefined_flag_GCJ=unsupported
15574 always_export_symbols_GCJ=yes
15575 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'
15576 # Note: this linker hardcodes the directories in LIBPATH if there
15577 # are no directories specified by -L.
15578 hardcode_minus_L_GCJ=yes
15579 if test "$GCC" = yes && test -z "$link_static_flag"; then
15580 # Neither direct hardcoding nor static linking is supported with a
15582 hardcode_direct_GCJ=unsupported
15587 if test "$host_cpu" = ia64; then
15588 # On IA64, the linker does run time linking by default, so we don't
15589 # have to do anything special.
15590 aix_use_runtimelinking=no
15591 exp_sym_flag='-Bexport'
15594 # If we're using GNU nm, then we don't want the "-C" option.
15595 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15596 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15597 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'
15599 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'
15601 aix_use_runtimelinking=no
15603 # Test if we are trying to use run time linking or normal
15604 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15605 # need to do runtime linking.
15606 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15607 for ld_flag in $LDFLAGS; do
15608 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15609 aix_use_runtimelinking=yes
15615 exp_sym_flag='-bexport'
15616 no_entry_flag='-bnoentry'
15619 # When large executables or shared objects are built, AIX ld can
15620 # have problems creating the table of contents. If linking a library
15621 # or program results in "error TOC overflow" add -mminimal-toc to
15622 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15623 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15625 archive_cmds_GCJ=''
15626 hardcode_direct_GCJ=yes
15627 hardcode_libdir_separator_GCJ=':'
15628 link_all_deplibs_GCJ=yes
15630 if test "$GCC" = yes; then
15631 case $host_os in aix4.012|aix4.012.*)
15632 # We only want to do this on AIX 4.2 and lower, the check
15633 # below for broken collect2 doesn't work under 4.3+
15634 collect2name=`${CC} -print-prog-name=collect2`
15635 if test -f "$collect2name" && \
15636 strings "$collect2name" | grep resolve_lib_name >/dev/null
15638 # We have reworked collect2
15639 hardcode_direct_GCJ=yes
15641 # We have old collect2
15642 hardcode_direct_GCJ=unsupported
15643 # It fails to find uninstalled libraries when the uninstalled
15644 # path is not listed in the libpath. Setting hardcode_minus_L
15645 # to unsupported forces relinking
15646 hardcode_minus_L_GCJ=yes
15647 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15648 hardcode_libdir_separator_GCJ=
15651 shared_flag='-shared'
15654 if test "$host_cpu" = ia64; then
15655 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15656 # chokes on -Wl,-G. The following line is correct:
15659 if test "$aix_use_runtimelinking" = yes; then
15660 shared_flag='${wl}-G'
15662 shared_flag='${wl}-bM:SRE'
15667 # It seems that -bexpall does not export symbols beginning with
15668 # underscore (_), so it is better to generate a list of symbols to export.
15669 always_export_symbols_GCJ=yes
15670 if test "$aix_use_runtimelinking" = yes; then
15671 # Warning - without using the other runtime loading flags (-brtl),
15672 # -berok will link without error, but may produce a broken library.
15673 allow_undefined_flag_GCJ='-berok'
15674 # Determine the default libpath from the value encoded in an empty executable.
15675 cat >conftest.$ac_ext <<_ACEOF
15676 #line $LINENO "configure"
15679 cat confdefs.h >>conftest.$ac_ext
15680 cat >>conftest.$ac_ext <<_ACEOF
15681 /* end confdefs.h. */
15691 rm -f conftest.$ac_objext conftest$ac_exeext
15692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15693 (eval $ac_link) 2>&5
15695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15696 (exit $ac_status); } &&
15697 { ac_try='test -s conftest$ac_exeext'
15698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15699 (eval $ac_try) 2>&5
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); }; }; then
15704 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15706 # Check for a 64-bit object if we didn't find anything.
15707 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; }
15710 echo "$as_me: failed program was:" >&5
15711 sed 's/^/| /' conftest.$ac_ext >&5
15714 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15715 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15717 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15718 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"
15720 if test "$host_cpu" = ia64; then
15721 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15722 allow_undefined_flag_GCJ="-z nodefs"
15723 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"
15725 # Determine the default libpath from the value encoded in an empty executable.
15726 cat >conftest.$ac_ext <<_ACEOF
15727 #line $LINENO "configure"
15730 cat confdefs.h >>conftest.$ac_ext
15731 cat >>conftest.$ac_ext <<_ACEOF
15732 /* end confdefs.h. */
15742 rm -f conftest.$ac_objext conftest$ac_exeext
15743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15744 (eval $ac_link) 2>&5
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); } &&
15748 { ac_try='test -s conftest$ac_exeext'
15749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15750 (eval $ac_try) 2>&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); }; }; then
15755 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15757 # Check for a 64-bit object if we didn't find anything.
15758 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; }
15761 echo "$as_me: failed program was:" >&5
15762 sed 's/^/| /' conftest.$ac_ext >&5
15765 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15766 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15768 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15769 # Warning - without using the other run time loading flags,
15770 # -berok will link without error, but may produce a broken library.
15771 no_undefined_flag_GCJ=' ${wl}-bernotok'
15772 allow_undefined_flag_GCJ=' ${wl}-berok'
15773 # -bexpall does not export symbols beginning with underscore (_)
15774 always_export_symbols_GCJ=yes
15775 # Exported symbols can be pulled into shared objects from archives
15776 whole_archive_flag_spec_GCJ=' '
15777 archive_cmds_need_lc_GCJ=yes
15778 # This is similar to how AIX traditionally builds it's shared libraries.
15779 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'
15785 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)'
15786 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15787 hardcode_minus_L_GCJ=yes
15788 # see comment about different semantics on the GNU ld section
15793 export_dynamic_flag_spec_GCJ=-rdynamic
15796 cygwin* | mingw* | pw32*)
15797 # When not using gcc, we currently assume that we are using
15798 # Microsoft Visual C++.
15799 # hardcode_libdir_flag_spec is actually meaningless, as there is
15800 # no search path for DLLs.
15801 hardcode_libdir_flag_spec_GCJ=' '
15802 allow_undefined_flag_GCJ=unsupported
15803 # Tell ltmain to make .lib files, not .a files.
15805 # Tell ltmain to make .dll files, not .so files.
15807 # FIXME: Setting linknames here is a bad hack.
15808 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15809 # The linker will automatically build a .lib file if we build a DLL.
15810 old_archive_From_new_cmds_GCJ='true'
15811 # FIXME: Should let the user specify the lib program.
15812 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15813 fix_srcfile_path='`cygpath -w "$srcfile"`'
15814 enable_shared_with_static_runtimes_GCJ=yes
15817 darwin* | rhapsody*)
15818 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15819 archive_cmds_need_lc_GCJ=no
15821 rhapsody* | darwin1.[012])
15822 allow_undefined_flag_GCJ='-undefined suppress'
15825 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15828 # FIXME: Relying on posixy $() will cause problems for
15829 # cross-compilation, but unfortunately the echo tests do not
15830 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15831 # `"' quotes if we put them in here... so don't!
15832 lt_int_apple_cc_single_mod=no
15833 output_verbose_link_cmd='echo'
15834 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15835 lt_int_apple_cc_single_mod=yes
15837 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15838 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15840 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'
15842 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15843 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15844 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15845 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}'
15847 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}'
15849 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}'
15850 hardcode_direct_GCJ=no
15851 hardcode_automatic_GCJ=yes
15852 hardcode_shlibpath_var_GCJ=unsupported
15853 whole_archive_flag_spec_GCJ='-all_load $convenience'
15854 link_all_deplibs_GCJ=yes
15859 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15860 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15861 hardcode_shlibpath_var_GCJ=no
15868 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15869 # support. Future versions do this automatically, but an explicit c++rt0.o
15870 # does not break anything, and helps significantly (at the cost of a little
15873 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15874 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15875 hardcode_direct_GCJ=yes
15876 hardcode_shlibpath_var_GCJ=no
15879 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15881 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15882 hardcode_direct_GCJ=yes
15883 hardcode_minus_L_GCJ=yes
15884 hardcode_shlibpath_var_GCJ=no
15887 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15889 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15890 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15891 hardcode_direct_GCJ=yes
15892 hardcode_shlibpath_var_GCJ=no
15896 if test "$GCC" = yes; then
15897 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'
15899 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'
15901 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15902 hardcode_libdir_separator_GCJ=:
15903 hardcode_direct_GCJ=yes
15905 # hardcode_minus_L: Not really in the search PATH,
15906 # but as the default location of the library.
15907 hardcode_minus_L_GCJ=yes
15908 export_dynamic_flag_spec_GCJ='${wl}-E'
15912 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15913 case "$host_cpu" in
15915 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15918 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15922 case "$host_cpu" in
15924 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15927 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15931 if test "$with_gnu_ld" = no; then
15932 case "$host_cpu" in
15934 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15935 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15936 hardcode_libdir_separator_GCJ=:
15937 hardcode_direct_GCJ=no
15938 hardcode_shlibpath_var_GCJ=no
15941 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15942 hardcode_direct_GCJ=no
15943 hardcode_shlibpath_var_GCJ=no
15945 # hardcode_minus_L: Not really in the search PATH,
15946 # but as the default location of the library.
15947 hardcode_minus_L_GCJ=yes
15950 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15951 hardcode_libdir_separator_GCJ=:
15952 hardcode_direct_GCJ=yes
15953 export_dynamic_flag_spec_GCJ='${wl}-E'
15955 # hardcode_minus_L: Not really in the search PATH,
15956 # but as the default location of the library.
15957 hardcode_minus_L_GCJ=yes
15963 irix5* | irix6* | nonstopux*)
15964 if test "$GCC" = yes; then
15965 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'
15967 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'
15968 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15970 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15971 hardcode_libdir_separator_GCJ=:
15972 link_all_deplibs_GCJ=yes
15976 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15977 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15979 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15981 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15982 hardcode_direct_GCJ=yes
15983 hardcode_shlibpath_var_GCJ=no
15987 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15988 hardcode_direct_GCJ=yes
15989 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15990 hardcode_libdir_separator_GCJ=:
15991 hardcode_shlibpath_var_GCJ=no
15995 hardcode_direct_GCJ=yes
15996 hardcode_shlibpath_var_GCJ=no
15997 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15998 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15999 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16000 export_dynamic_flag_spec_GCJ='${wl}-E'
16003 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16004 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16005 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16008 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16009 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16016 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16017 hardcode_minus_L_GCJ=yes
16018 allow_undefined_flag_GCJ=unsupported
16019 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'
16020 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16024 if test "$GCC" = yes; then
16025 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16026 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'
16028 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16029 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'
16031 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16032 hardcode_libdir_separator_GCJ=:
16035 osf4* | osf5*) # as osf3* with the addition of -msym flag
16036 if test "$GCC" = yes; then
16037 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16038 archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16039 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16041 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16042 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'
16043 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~
16044 $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'
16046 # Both c and cxx compiler support -rpath directly
16047 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16049 hardcode_libdir_separator_GCJ=:
16053 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16054 hardcode_shlibpath_var_GCJ=no
16055 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16056 runpath_var=LD_RUN_PATH
16057 hardcode_runpath_var=yes
16061 no_undefined_flag_GCJ=' -z text'
16062 if test "$GCC" = yes; then
16063 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16064 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16065 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16067 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16068 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16069 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16071 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16072 hardcode_shlibpath_var_GCJ=no
16074 solaris2.[0-5] | solaris2.[0-5].*) ;;
16075 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16076 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16078 link_all_deplibs_GCJ=yes
16082 if test "x$host_vendor" = xsequent; then
16083 # Use $CC to link under sequent, because it throws in some extra .o
16084 # files that make .init and .fini sections work.
16085 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16087 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16089 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16090 hardcode_direct_GCJ=yes
16091 hardcode_minus_L_GCJ=yes
16092 hardcode_shlibpath_var_GCJ=no
16096 case $host_vendor in
16098 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16099 hardcode_direct_GCJ=yes # is this really true???
16102 ## LD is ld it makes a PLAMLIB
16103 ## CC just makes a GrossModule.
16104 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16105 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16106 hardcode_direct_GCJ=no
16109 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16110 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16113 runpath_var='LD_RUN_PATH'
16114 hardcode_shlibpath_var_GCJ=no
16118 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16119 hardcode_shlibpath_var_GCJ=no
16120 export_dynamic_flag_spec_GCJ='-Bexport'
16124 if test -d /usr/nec; then
16125 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16126 hardcode_shlibpath_var_GCJ=no
16127 runpath_var=LD_RUN_PATH
16128 hardcode_runpath_var=yes
16134 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16135 hardcode_direct_GCJ=yes
16136 hardcode_minus_L_GCJ=no
16137 hardcode_shlibpath_var_GCJ=no
16138 hardcode_runpath_var=yes
16139 runpath_var=LD_RUN_PATH
16142 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16143 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16144 if test "$GCC" = yes; then
16145 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16147 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16149 runpath_var='LD_RUN_PATH'
16150 hardcode_shlibpath_var_GCJ=no
16154 no_undefined_flag_GCJ=' -z text'
16155 # $CC -shared without GNU ld will not create a library from C++
16156 # object files and a static libstdc++, better avoid it by now
16157 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16158 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16159 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16160 hardcode_libdir_flag_spec_GCJ=
16161 hardcode_shlibpath_var_GCJ=no
16162 runpath_var='LD_RUN_PATH'
16166 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16167 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16168 hardcode_shlibpath_var_GCJ=no
16177 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16178 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16179 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16181 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16182 if test "$GCC" = yes; then
16183 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16187 # Do we need to explicitly link libc?
16189 case "x$archive_cmds_need_lc_GCJ" in
16191 # Assume -lc should be added
16192 archive_cmds_need_lc_GCJ=yes
16194 if test "$enable_shared" = yes && test "$GCC" = yes; then
16195 case $archive_cmds_GCJ in
16197 # FIXME: we may have to deal with multi-command sequences.
16200 # Test whether the compiler implicitly links with -lc since on some
16201 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16202 # to ld, don't add -lc before -lgcc.
16203 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16204 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16206 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16209 (eval $ac_compile) 2>&5
16211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); } 2>conftest.err; then
16215 libobjs=conftest.$ac_objext
16217 wl=$lt_prog_compiler_wl_GCJ
16223 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16224 allow_undefined_flag_GCJ=
16225 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16226 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); }
16231 archive_cmds_need_lc_GCJ=no
16233 archive_cmds_need_lc_GCJ=yes
16235 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16237 cat conftest.err 1>&5
16240 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16241 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16248 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16249 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16250 hardcode_action_GCJ=
16251 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16252 test -n "$runpath_var GCJ" || \
16253 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16255 # We can hardcode non-existant directories.
16256 if test "$hardcode_direct_GCJ" != no &&
16257 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16258 # have to relink, otherwise we might link with an installed library
16259 # when we should be linking with a yet-to-be-installed one
16260 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16261 test "$hardcode_minus_L_GCJ" != no; then
16262 # Linking always hardcodes the temporary library directory.
16263 hardcode_action_GCJ=relink
16265 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16266 hardcode_action_GCJ=immediate
16269 # We cannot hardcode anything, or else we can only hardcode existing
16271 hardcode_action_GCJ=unsupported
16273 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16274 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16276 if test "$hardcode_action_GCJ" = relink; then
16277 # Fast installation is not supported
16278 enable_fast_install=no
16279 elif test "$shlibpath_overrides_runpath" = yes ||
16280 test "$enable_shared" = no; then
16281 # Fast installation is not necessary
16282 enable_fast_install=needless
16287 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16288 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16289 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16290 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16291 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16292 echo "$as_me:$LINENO: result: yes" >&5
16293 echo "${ECHO_T}yes" >&6
16295 # FIXME - insert some real tests, host_os isn't really good enough
16298 if test -n "$STRIP" ; then
16299 striplib="$STRIP -x"
16300 echo "$as_me:$LINENO: result: yes" >&5
16301 echo "${ECHO_T}yes" >&6
16303 echo "$as_me:$LINENO: result: no" >&5
16304 echo "${ECHO_T}no" >&6
16308 echo "$as_me:$LINENO: result: no" >&5
16309 echo "${ECHO_T}no" >&6
16314 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16315 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16316 library_names_spec=
16317 libname_spec='lib$name'
16321 postuninstall_cmds=
16325 shlibpath_overrides_runpath=unknown
16327 dynamic_linker="$host_os ld.so"
16328 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16329 if test "$GCC" = yes; then
16330 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16331 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16332 # if the path contains ";" then we assume it to be the separator
16333 # otherwise default to the standard path separator (i.e. ":") - it is
16334 # assumed that no part of a normal pathname contains ";" but that should
16335 # okay in the real world where ";" in dirpaths is itself problematic.
16336 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16338 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16341 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16343 need_lib_prefix=unknown
16344 hardcode_into_libs=no
16346 # when you set need_version to no, make sure it does not cause -set_version
16347 # flags to be left without arguments
16348 need_version=unknown
16353 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16354 shlibpath_var=LIBPATH
16356 # AIX 3 has no versioning support, so we append a major version to the name.
16357 soname_spec='${libname}${release}${shared_ext}$major'
16364 hardcode_into_libs=yes
16365 if test "$host_cpu" = ia64; then
16366 # AIX 5 supports IA64
16367 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16368 shlibpath_var=LD_LIBRARY_PATH
16370 # With GCC up to 2.95.x, collect2 would create an import file
16371 # for dependence libraries. The import file would start with
16372 # the line `#! .'. This would cause the generated library to
16373 # depend on `.', always an invalid library. This was fixed in
16374 # development snapshots of GCC prior to 3.0.
16376 aix4 | aix4.[01] | aix4.[01].*)
16377 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16379 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16382 can_build_shared=no
16386 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16387 # soname into executable. Probably we can add versioning support to
16388 # collect2, so additional links can be useful in future.
16389 if test "$aix_use_runtimelinking" = yes; then
16390 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16391 # instead of lib<name>.a to let people know that these are not
16392 # typical AIX shared libraries.
16393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16395 # We preserve .a as extension for shared libraries through AIX4.2
16396 # and later when we are not doing run time linking.
16397 library_names_spec='${libname}${release}.a $libname.a'
16398 soname_spec='${libname}${release}${shared_ext}$major'
16400 shlibpath_var=LIBPATH
16405 library_names_spec='$libname.ixlibrary $libname.a'
16406 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16407 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'
16411 library_names_spec='${libname}${shared_ext}'
16412 dynamic_linker="$host_os ld.so"
16413 shlibpath_var=LIBRARY_PATH
16419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16420 soname_spec='${libname}${release}${shared_ext}$major'
16421 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16422 shlibpath_var=LD_LIBRARY_PATH
16423 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16424 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16425 # the default ld.so.conf also contains /usr/contrib/lib and
16426 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16427 # libtool to hard-code these into programs
16430 cygwin* | mingw* | pw32*)
16431 version_type=windows
16436 case $GCC,$host_os in
16437 yes,cygwin* | yes,mingw* | yes,pw32*)
16438 library_names_spec='$libname.dll.a'
16439 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16440 postinstall_cmds='base_file=`basename \${file}`~
16441 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16442 dldir=$destdir/`dirname \$dlpath`~
16443 test -d \$dldir || mkdir -p \$dldir~
16444 $install_prog $dir/$dlname \$dldir/$dlname'
16445 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16446 dlpath=$dir/\$dldll~
16448 shlibpath_overrides_runpath=yes
16452 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16453 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16454 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16457 # MinGW DLLs use traditional 'lib' prefix
16458 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16459 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16460 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16461 # It is most probably a Windows format PATH printed by
16462 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16463 # path with ; separators, and with drive letters. We can handle the
16464 # drive letters (cygwin fileutils understands them), so leave them,
16465 # especially as we might pass files found there to a mingw objdump,
16466 # which wouldn't understand a cygwinified path. Ahh.
16467 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16469 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16473 # pw32 DLLs use 'pw' prefix rather than 'lib'
16474 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16480 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16483 dynamic_linker='Win32 ld.exe'
16484 # FIXME: first we should search . and the directory the executable is in
16488 darwin* | rhapsody*)
16489 dynamic_linker="$host_os dyld"
16490 version_type=darwin
16493 # FIXME: Relying on posixy $() will cause problems for
16494 # cross-compilation, but unfortunately the echo tests do not
16495 # yet detect zsh echo's removal of \ escapes.
16496 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16497 soname_spec='${libname}${release}${major}$shared_ext'
16498 shlibpath_overrides_runpath=yes
16499 shlibpath_var=DYLD_LIBRARY_PATH
16500 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16501 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16502 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16503 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"`
16505 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16513 soname_spec='${libname}${release}${shared_ext}$major'
16514 shlibpath_var=LD_LIBRARY_PATH
16522 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16523 version_type=freebsd-$objformat
16524 case $version_type in
16526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16531 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16535 shlibpath_var=LD_LIBRARY_PATH
16538 shlibpath_overrides_runpath=yes
16540 freebsd3.01* | freebsdelf3.01*)
16541 shlibpath_overrides_runpath=yes
16542 hardcode_into_libs=yes
16545 shlibpath_overrides_runpath=no
16546 hardcode_into_libs=yes
16555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16556 soname_spec='${libname}${release}${shared_ext}$major'
16557 shlibpath_var=LD_LIBRARY_PATH
16558 hardcode_into_libs=yes
16561 hpux9* | hpux10* | hpux11*)
16562 # Give a soname corresponding to the major version so that dld.sl refuses to
16563 # link against other versions.
16567 case "$host_cpu" in
16570 hardcode_into_libs=yes
16571 dynamic_linker="$host_os dld.so"
16572 shlibpath_var=LD_LIBRARY_PATH
16573 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16575 soname_spec='${libname}${release}${shared_ext}$major'
16576 if test "X$HPUX_IA64_MODE" = X32; then
16577 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16579 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16581 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16585 hardcode_into_libs=yes
16586 dynamic_linker="$host_os dld.sl"
16587 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16588 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16590 soname_spec='${libname}${release}${shared_ext}$major'
16591 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16592 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16596 dynamic_linker="$host_os dld.sl"
16597 shlibpath_var=SHLIB_PATH
16598 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16600 soname_spec='${libname}${release}${shared_ext}$major'
16603 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16604 postinstall_cmds='chmod 555 $lib'
16607 irix5* | irix6* | nonstopux*)
16609 nonstopux*) version_type=nonstopux ;;
16611 if test "$lt_cv_prog_gnu_ld" = yes; then
16619 soname_spec='${libname}${release}${shared_ext}$major'
16620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16622 irix5* | nonstopux*)
16623 libsuff= shlibsuff=
16626 case $LD in # libtool.m4 will add one of these switches to LD
16627 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16628 libsuff= shlibsuff= libmagic=32-bit;;
16629 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16630 libsuff=32 shlibsuff=N32 libmagic=N32;;
16631 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16632 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16633 *) libsuff= shlibsuff= libmagic=never-match;;
16637 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16638 shlibpath_overrides_runpath=no
16639 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16640 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16641 hardcode_into_libs=yes
16644 # No shared lib support for Linux oldld, aout, or coff.
16645 linux*oldld* | linux*aout* | linux*coff*)
16649 # This must be Linux ELF.
16654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16655 soname_spec='${libname}${release}${shared_ext}$major'
16656 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16657 shlibpath_var=LD_LIBRARY_PATH
16658 shlibpath_overrides_runpath=no
16659 # This implies no fast_install, which is unacceptable.
16660 # Some rework will be needed to allow for fast_install
16661 # before this can be enabled.
16662 hardcode_into_libs=yes
16664 # We used to test for /lib/ld.so.1 and disable shared libraries on
16665 # powerpc, because MkLinux only supported shared libraries with the
16666 # GNU dynamic linker. Since this was broken with cross compilers,
16667 # most powerpc-linux boxes support dynamic linking these days and
16668 # people can always --disable-shared, the test was removed, and we
16669 # assume the GNU/Linux dynamic linker is in use.
16670 dynamic_linker='GNU/Linux ld.so'
16677 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16679 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16680 dynamic_linker='NetBSD (a.out) ld.so'
16682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16683 soname_spec='${libname}${release}${shared_ext}$major'
16684 dynamic_linker='NetBSD ld.elf_so'
16686 shlibpath_var=LD_LIBRARY_PATH
16687 shlibpath_overrides_runpath=yes
16688 hardcode_into_libs=yes
16693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16694 shlibpath_var=LD_LIBRARY_PATH
16695 shlibpath_overrides_runpath=yes
16702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16703 soname_spec='${libname}${release}${shared_ext}$major'
16704 shlibpath_var=LD_LIBRARY_PATH
16705 shlibpath_overrides_runpath=yes
16712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16713 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16714 shlibpath_var=LD_LIBRARY_PATH
16715 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16717 openbsd2.[89] | openbsd2.[89].*)
16718 shlibpath_overrides_runpath=no
16721 shlibpath_overrides_runpath=yes
16725 shlibpath_overrides_runpath=yes
16730 libname_spec='$name'
16733 library_names_spec='$libname${shared_ext} $libname.a'
16734 dynamic_linker='OS/2 ld.exe'
16735 shlibpath_var=LIBPATH
16738 osf3* | osf4* | osf5*)
16742 soname_spec='${libname}${release}${shared_ext}$major'
16743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16744 shlibpath_var=LD_LIBRARY_PATH
16745 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16746 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16751 soname_spec='${libname}${release}${shared_ext}$major'
16752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16753 shlibpath_var=LD_LIBRARY_PATH
16760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16761 soname_spec='${libname}${release}${shared_ext}$major'
16762 shlibpath_var=LD_LIBRARY_PATH
16763 shlibpath_overrides_runpath=yes
16764 hardcode_into_libs=yes
16765 # ldd complains unless libraries are executable
16766 postinstall_cmds='chmod +x $lib'
16771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16772 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16773 shlibpath_var=LD_LIBRARY_PATH
16774 shlibpath_overrides_runpath=yes
16775 if test "$with_gnu_ld" = yes; then
16781 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16784 soname_spec='${libname}${release}${shared_ext}$major'
16785 shlibpath_var=LD_LIBRARY_PATH
16786 case $host_vendor in
16788 shlibpath_overrides_runpath=no
16790 export_dynamic_flag_spec='${wl}-Blargedynsym'
16791 runpath_var=LD_RUN_PATH
16799 shlibpath_overrides_runpath=no
16800 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16806 if test -d /usr/nec ;then
16808 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16809 soname_spec='$libname${shared_ext}.$major'
16810 shlibpath_var=LD_LIBRARY_PATH
16816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16817 soname_spec='${libname}${release}${shared_ext}$major'
16818 shlibpath_var=LD_LIBRARY_PATH
16825 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16826 echo "${ECHO_T}$dynamic_linker" >&6
16827 test "$dynamic_linker" = no && can_build_shared=no
16829 if test "x$enable_dlopen" != xyes; then
16830 enable_dlopen=unknown
16831 enable_dlopen_self=unknown
16832 enable_dlopen_self_static=unknown
16839 lt_cv_dlopen="load_add_on"
16841 lt_cv_dlopen_self=yes
16845 lt_cv_dlopen="LoadLibrary"
16850 lt_cv_dlopen="dlopen"
16855 # if libdl is installed we need to link against it
16856 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16857 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16858 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16859 echo $ECHO_N "(cached) $ECHO_C" >&6
16861 ac_check_lib_save_LIBS=$LIBS
16863 cat >conftest.$ac_ext <<_ACEOF
16864 #line $LINENO "configure"
16867 cat confdefs.h >>conftest.$ac_ext
16868 cat >>conftest.$ac_ext <<_ACEOF
16869 /* end confdefs.h. */
16871 /* Override any gcc2 internal prototype to avoid an error. */
16875 /* We use char because int might match the return type of a gcc2
16876 builtin and then its argument prototype would still apply. */
16886 rm -f conftest.$ac_objext conftest$ac_exeext
16887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16888 (eval $ac_link) 2>&5
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); } &&
16892 { ac_try='test -s conftest$ac_exeext'
16893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16894 (eval $ac_try) 2>&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); }; }; then
16898 ac_cv_lib_dl_dlopen=yes
16900 echo "$as_me: failed program was:" >&5
16901 sed 's/^/| /' conftest.$ac_ext >&5
16903 ac_cv_lib_dl_dlopen=no
16905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16906 LIBS=$ac_check_lib_save_LIBS
16908 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16909 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16910 if test $ac_cv_lib_dl_dlopen = yes; then
16911 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16914 lt_cv_dlopen="dyld"
16916 lt_cv_dlopen_self=yes
16923 echo "$as_me:$LINENO: checking for shl_load" >&5
16924 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16925 if test "${ac_cv_func_shl_load+set}" = set; then
16926 echo $ECHO_N "(cached) $ECHO_C" >&6
16928 cat >conftest.$ac_ext <<_ACEOF
16929 #line $LINENO "configure"
16932 cat confdefs.h >>conftest.$ac_ext
16933 cat >>conftest.$ac_ext <<_ACEOF
16934 /* end confdefs.h. */
16935 /* System header to define __stub macros and hopefully few prototypes,
16936 which can conflict with char shl_load (); below.
16937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16938 <limits.h> exists even on freestanding compilers. */
16940 # include <limits.h>
16942 # include <assert.h>
16944 /* Override any gcc2 internal prototype to avoid an error. */
16949 /* We use char because int might match the return type of a gcc2
16950 builtin and then its argument prototype would still apply. */
16952 /* The GNU C library defines this for functions which it implements
16953 to always fail with ENOSYS. Some functions are actually named
16954 something starting with __ and the normal name is an alias. */
16955 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16958 char (*f) () = shl_load;
16967 return f != shl_load;
16972 rm -f conftest.$ac_objext conftest$ac_exeext
16973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16974 (eval $ac_link) 2>&5
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); } &&
16978 { ac_try='test -s conftest$ac_exeext'
16979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16980 (eval $ac_try) 2>&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); }; }; then
16984 ac_cv_func_shl_load=yes
16986 echo "$as_me: failed program was:" >&5
16987 sed 's/^/| /' conftest.$ac_ext >&5
16989 ac_cv_func_shl_load=no
16991 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16993 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16994 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
16995 if test $ac_cv_func_shl_load = yes; then
16996 lt_cv_dlopen="shl_load"
16998 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16999 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17000 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17001 echo $ECHO_N "(cached) $ECHO_C" >&6
17003 ac_check_lib_save_LIBS=$LIBS
17005 cat >conftest.$ac_ext <<_ACEOF
17006 #line $LINENO "configure"
17009 cat confdefs.h >>conftest.$ac_ext
17010 cat >>conftest.$ac_ext <<_ACEOF
17011 /* end confdefs.h. */
17013 /* Override any gcc2 internal prototype to avoid an error. */
17017 /* We use char because int might match the return type of a gcc2
17018 builtin and then its argument prototype would still apply. */
17028 rm -f conftest.$ac_objext conftest$ac_exeext
17029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17030 (eval $ac_link) 2>&5
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); } &&
17034 { ac_try='test -s conftest$ac_exeext'
17035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17036 (eval $ac_try) 2>&5
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); }; }; then
17040 ac_cv_lib_dld_shl_load=yes
17042 echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.$ac_ext >&5
17045 ac_cv_lib_dld_shl_load=no
17047 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17048 LIBS=$ac_check_lib_save_LIBS
17050 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17051 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17052 if test $ac_cv_lib_dld_shl_load = yes; then
17053 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17055 echo "$as_me:$LINENO: checking for dlopen" >&5
17056 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17057 if test "${ac_cv_func_dlopen+set}" = set; then
17058 echo $ECHO_N "(cached) $ECHO_C" >&6
17060 cat >conftest.$ac_ext <<_ACEOF
17061 #line $LINENO "configure"
17064 cat confdefs.h >>conftest.$ac_ext
17065 cat >>conftest.$ac_ext <<_ACEOF
17066 /* end confdefs.h. */
17067 /* System header to define __stub macros and hopefully few prototypes,
17068 which can conflict with char dlopen (); below.
17069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17070 <limits.h> exists even on freestanding compilers. */
17072 # include <limits.h>
17074 # include <assert.h>
17076 /* Override any gcc2 internal prototype to avoid an error. */
17081 /* We use char because int might match the return type of a gcc2
17082 builtin and then its argument prototype would still apply. */
17084 /* The GNU C library defines this for functions which it implements
17085 to always fail with ENOSYS. Some functions are actually named
17086 something starting with __ and the normal name is an alias. */
17087 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17090 char (*f) () = dlopen;
17099 return f != dlopen;
17104 rm -f conftest.$ac_objext conftest$ac_exeext
17105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17106 (eval $ac_link) 2>&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); } &&
17110 { ac_try='test -s conftest$ac_exeext'
17111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17112 (eval $ac_try) 2>&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); }; }; then
17116 ac_cv_func_dlopen=yes
17118 echo "$as_me: failed program was:" >&5
17119 sed 's/^/| /' conftest.$ac_ext >&5
17121 ac_cv_func_dlopen=no
17123 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17125 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17126 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17127 if test $ac_cv_func_dlopen = yes; then
17128 lt_cv_dlopen="dlopen"
17130 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17131 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17132 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17133 echo $ECHO_N "(cached) $ECHO_C" >&6
17135 ac_check_lib_save_LIBS=$LIBS
17137 cat >conftest.$ac_ext <<_ACEOF
17138 #line $LINENO "configure"
17141 cat confdefs.h >>conftest.$ac_ext
17142 cat >>conftest.$ac_ext <<_ACEOF
17143 /* end confdefs.h. */
17145 /* Override any gcc2 internal prototype to avoid an error. */
17149 /* We use char because int might match the return type of a gcc2
17150 builtin and then its argument prototype would still apply. */
17160 rm -f conftest.$ac_objext conftest$ac_exeext
17161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17162 (eval $ac_link) 2>&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } &&
17166 { ac_try='test -s conftest$ac_exeext'
17167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17168 (eval $ac_try) 2>&5
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); }; }; then
17172 ac_cv_lib_dl_dlopen=yes
17174 echo "$as_me: failed program was:" >&5
17175 sed 's/^/| /' conftest.$ac_ext >&5
17177 ac_cv_lib_dl_dlopen=no
17179 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17180 LIBS=$ac_check_lib_save_LIBS
17182 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17183 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17184 if test $ac_cv_lib_dl_dlopen = yes; then
17185 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17187 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17188 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17189 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17190 echo $ECHO_N "(cached) $ECHO_C" >&6
17192 ac_check_lib_save_LIBS=$LIBS
17193 LIBS="-lsvld $LIBS"
17194 cat >conftest.$ac_ext <<_ACEOF
17195 #line $LINENO "configure"
17198 cat confdefs.h >>conftest.$ac_ext
17199 cat >>conftest.$ac_ext <<_ACEOF
17200 /* end confdefs.h. */
17202 /* Override any gcc2 internal prototype to avoid an error. */
17206 /* We use char because int might match the return type of a gcc2
17207 builtin and then its argument prototype would still apply. */
17217 rm -f conftest.$ac_objext conftest$ac_exeext
17218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17219 (eval $ac_link) 2>&5
17221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17222 (exit $ac_status); } &&
17223 { ac_try='test -s conftest$ac_exeext'
17224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17225 (eval $ac_try) 2>&5
17227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17228 (exit $ac_status); }; }; then
17229 ac_cv_lib_svld_dlopen=yes
17231 echo "$as_me: failed program was:" >&5
17232 sed 's/^/| /' conftest.$ac_ext >&5
17234 ac_cv_lib_svld_dlopen=no
17236 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17237 LIBS=$ac_check_lib_save_LIBS
17239 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17240 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17241 if test $ac_cv_lib_svld_dlopen = yes; then
17242 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17244 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17245 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17246 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17247 echo $ECHO_N "(cached) $ECHO_C" >&6
17249 ac_check_lib_save_LIBS=$LIBS
17251 cat >conftest.$ac_ext <<_ACEOF
17252 #line $LINENO "configure"
17255 cat confdefs.h >>conftest.$ac_ext
17256 cat >>conftest.$ac_ext <<_ACEOF
17257 /* end confdefs.h. */
17259 /* Override any gcc2 internal prototype to avoid an error. */
17263 /* We use char because int might match the return type of a gcc2
17264 builtin and then its argument prototype would still apply. */
17274 rm -f conftest.$ac_objext conftest$ac_exeext
17275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17276 (eval $ac_link) 2>&5
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); } &&
17280 { ac_try='test -s conftest$ac_exeext'
17281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17282 (eval $ac_try) 2>&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); }; }; then
17286 ac_cv_lib_dld_dld_link=yes
17288 echo "$as_me: failed program was:" >&5
17289 sed 's/^/| /' conftest.$ac_ext >&5
17291 ac_cv_lib_dld_dld_link=no
17293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17294 LIBS=$ac_check_lib_save_LIBS
17296 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17297 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17298 if test $ac_cv_lib_dld_dld_link = yes; then
17299 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17320 if test "x$lt_cv_dlopen" != xno; then
17326 case $lt_cv_dlopen in
17328 save_CPPFLAGS="$CPPFLAGS"
17329 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17331 save_LDFLAGS="$LDFLAGS"
17332 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17335 LIBS="$lt_cv_dlopen_libs $LIBS"
17337 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17338 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17339 if test "${lt_cv_dlopen_self+set}" = set; then
17340 echo $ECHO_N "(cached) $ECHO_C" >&6
17342 if test "$cross_compiling" = yes; then :
17343 lt_cv_dlopen_self=cross
17345 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17346 lt_status=$lt_dlunknown
17347 cat > conftest.$ac_ext <<EOF
17348 #line 17348 "configure"
17349 #include "confdefs.h"
17358 # define LT_DLGLOBAL RTLD_GLOBAL
17361 # define LT_DLGLOBAL DL_GLOBAL
17363 # define LT_DLGLOBAL 0
17367 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17368 find out it does not work in some platform. */
17369 #ifndef LT_DLLAZY_OR_NOW
17371 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17374 # define LT_DLLAZY_OR_NOW DL_LAZY
17377 # define LT_DLLAZY_OR_NOW RTLD_NOW
17380 # define LT_DLLAZY_OR_NOW DL_NOW
17382 # define LT_DLLAZY_OR_NOW 0
17390 extern "C" void exit (int);
17393 void fnord() { int i=42;}
17396 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17397 int status = $lt_dlunknown;
17401 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17402 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17403 /* dlclose (self); */
17409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17410 (eval $ac_link) 2>&5
17412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17413 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17414 (./conftest; exit; ) 2>/dev/null
17416 case x$lt_status in
17417 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17418 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17419 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17422 # compilation failed
17423 lt_cv_dlopen_self=no
17430 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17431 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17433 if test "x$lt_cv_dlopen_self" = xyes; then
17434 LDFLAGS="$LDFLAGS $link_static_flag"
17435 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17436 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17437 if test "${lt_cv_dlopen_self_static+set}" = set; then
17438 echo $ECHO_N "(cached) $ECHO_C" >&6
17440 if test "$cross_compiling" = yes; then :
17441 lt_cv_dlopen_self_static=cross
17443 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17444 lt_status=$lt_dlunknown
17445 cat > conftest.$ac_ext <<EOF
17446 #line 17446 "configure"
17447 #include "confdefs.h"
17456 # define LT_DLGLOBAL RTLD_GLOBAL
17459 # define LT_DLGLOBAL DL_GLOBAL
17461 # define LT_DLGLOBAL 0
17465 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17466 find out it does not work in some platform. */
17467 #ifndef LT_DLLAZY_OR_NOW
17469 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17472 # define LT_DLLAZY_OR_NOW DL_LAZY
17475 # define LT_DLLAZY_OR_NOW RTLD_NOW
17478 # define LT_DLLAZY_OR_NOW DL_NOW
17480 # define LT_DLLAZY_OR_NOW 0
17488 extern "C" void exit (int);
17491 void fnord() { int i=42;}
17494 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17495 int status = $lt_dlunknown;
17499 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17500 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17501 /* dlclose (self); */
17507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17508 (eval $ac_link) 2>&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17512 (./conftest; exit; ) 2>/dev/null
17514 case x$lt_status in
17515 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17516 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17517 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17520 # compilation failed
17521 lt_cv_dlopen_self_static=no
17528 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17529 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17532 CPPFLAGS="$save_CPPFLAGS"
17533 LDFLAGS="$save_LDFLAGS"
17538 case $lt_cv_dlopen_self in
17539 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17540 *) enable_dlopen_self=unknown ;;
17543 case $lt_cv_dlopen_self_static in
17544 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17545 *) enable_dlopen_self_static=unknown ;;
17550 # The else clause should only fire when bootstrapping the
17551 # libtool distribution, otherwise you forgot to ship ltmain.sh
17552 # with your package, and you will get complaints that there are
17553 # no rules to generate ltmain.sh.
17554 if test -f "$ltmain"; then
17555 # See if we are running on zsh, and set the options which allow our commands through
17556 # without removal of \ escapes.
17557 if test -n "${ZSH_VERSION+set}" ; then
17558 setopt NO_GLOB_SUBST
17560 # Now quote all the things that may contain metacharacters while being
17561 # careful not to overquote the AC_SUBSTed values. We take copies of the
17562 # variables and quote the copies for generation of the libtool script.
17563 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17564 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17565 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17566 deplibs_check_method reload_flag reload_cmds need_locks \
17567 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17568 lt_cv_sys_global_symbol_to_c_name_address \
17569 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17570 old_postinstall_cmds old_postuninstall_cmds \
17574 lt_prog_compiler_wl_GCJ \
17575 lt_prog_compiler_pic_GCJ \
17576 lt_prog_compiler_static_GCJ \
17577 lt_prog_compiler_no_builtin_flag_GCJ \
17578 export_dynamic_flag_spec_GCJ \
17579 thread_safe_flag_spec_GCJ \
17580 whole_archive_flag_spec_GCJ \
17581 enable_shared_with_static_runtimes_GCJ \
17582 old_archive_cmds_GCJ \
17583 old_archive_from_new_cmds_GCJ \
17584 predep_objects_GCJ \
17585 postdep_objects_GCJ \
17588 compiler_lib_search_path_GCJ \
17590 archive_expsym_cmds_GCJ \
17591 postinstall_cmds_GCJ \
17592 postuninstall_cmds_GCJ \
17593 old_archive_from_expsyms_cmds_GCJ \
17594 allow_undefined_flag_GCJ \
17595 no_undefined_flag_GCJ \
17596 export_symbols_cmds_GCJ \
17597 hardcode_libdir_flag_spec_GCJ \
17598 hardcode_libdir_flag_spec_ld_GCJ \
17599 hardcode_libdir_separator_GCJ \
17600 hardcode_automatic_GCJ \
17602 module_expsym_cmds_GCJ \
17603 lt_cv_prog_compiler_c_o_GCJ \
17604 exclude_expsyms_GCJ \
17605 include_expsyms_GCJ; do
17608 old_archive_cmds_GCJ | \
17609 old_archive_from_new_cmds_GCJ | \
17610 archive_cmds_GCJ | \
17611 archive_expsym_cmds_GCJ | \
17612 module_cmds_GCJ | \
17613 module_expsym_cmds_GCJ | \
17614 old_archive_from_expsyms_cmds_GCJ | \
17615 export_symbols_cmds_GCJ | \
17616 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17617 postinstall_cmds | postuninstall_cmds | \
17618 old_postinstall_cmds | old_postuninstall_cmds | \
17619 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17620 # Double-quote double-evaled strings.
17621 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17624 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17630 *'\$0 --fallback-echo"')
17631 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17637 cat <<__EOF__ >> "$cfgfile"
17638 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17640 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17642 # Shell to use when invoking shell scripts.
17645 # Whether or not to build shared libraries.
17646 build_libtool_libs=$enable_shared
17648 # Whether or not to build static libraries.
17649 build_old_libs=$enable_static
17651 # Whether or not to add -lc for building shared libraries.
17652 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17654 # Whether or not to disallow shared libs when runtime libs are static
17655 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17657 # Whether or not to optimize for fast installation.
17658 fast_install=$enable_fast_install
17661 host_alias=$host_alias
17664 # An echo program that does not interpret backslashes.
17669 AR_FLAGS=$lt_AR_FLAGS
17674 # A language-specific compiler.
17675 CC=$lt_compiler_GCJ
17677 # Is the compiler the GNU C compiler?
17683 # The linker used to build libraries.
17686 # Whether we need hard or soft links.
17689 # A BSD-compatible nm program.
17692 # A symbol stripping program
17695 # Used to examine libraries when file_magic_cmd begins "file"
17696 MAGIC_CMD=$MAGIC_CMD
17698 # Used on cygwin: DLL creation program.
17701 # Used on cygwin: object dumper.
17704 # Used on cygwin: assembler.
17707 # The name of the directory that contains temporary libtool files.
17710 # How to create reloadable object files.
17711 reload_flag=$lt_reload_flag
17712 reload_cmds=$lt_reload_cmds
17714 # How to pass a linker flag through the compiler.
17715 wl=$lt_lt_prog_compiler_wl_GCJ
17717 # Object file suffix (normally "o").
17718 objext="$ac_objext"
17720 # Old archive suffix (normally "a").
17723 # Shared library suffix (normally ".so").
17726 # Executable file suffix (normally "").
17729 # Additional compiler flags for building library objects.
17730 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17733 # What is the maximum length of a command?
17734 max_cmd_len=$lt_cv_sys_max_cmd_len
17736 # Does compiler simultaneously support -c and -o options?
17737 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17739 # Must we lock files when doing compilation ?
17740 need_locks=$lt_need_locks
17742 # Do we need the lib prefix for modules?
17743 need_lib_prefix=$need_lib_prefix
17745 # Do we need a version for libraries?
17746 need_version=$need_version
17748 # Whether dlopen is supported.
17749 dlopen_support=$enable_dlopen
17751 # Whether dlopen of programs is supported.
17752 dlopen_self=$enable_dlopen_self
17754 # Whether dlopen of statically linked programs is supported.
17755 dlopen_self_static=$enable_dlopen_self_static
17757 # Compiler flag to prevent dynamic linking.
17758 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17760 # Compiler flag to turn off builtin functions.
17761 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17763 # Compiler flag to allow reflexive dlopens.
17764 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17766 # Compiler flag to generate shared objects directly from archives.
17767 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17769 # Compiler flag to generate thread-safe objects.
17770 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17772 # Library versioning type.
17773 version_type=$version_type
17775 # Format of library name prefix.
17776 libname_spec=$lt_libname_spec
17778 # List of archive names. First name is the real one, the rest are links.
17779 # The last name is the one that the linker finds with -lNAME.
17780 library_names_spec=$lt_library_names_spec
17782 # The coded name of the library, if different from the real name.
17783 soname_spec=$lt_soname_spec
17785 # Commands used to build and install an old-style archive.
17787 old_archive_cmds=$lt_old_archive_cmds_GCJ
17788 old_postinstall_cmds=$lt_old_postinstall_cmds
17789 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17791 # Create an old-style archive from a shared archive.
17792 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17794 # Create a temporary old-style archive to link instead of a shared archive.
17795 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17797 # Commands used to build and install a shared archive.
17798 archive_cmds=$lt_archive_cmds_GCJ
17799 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17800 postinstall_cmds=$lt_postinstall_cmds
17801 postuninstall_cmds=$lt_postuninstall_cmds
17803 # Commands used to build a loadable module (assumed same as above if empty)
17804 module_cmds=$lt_module_cmds_GCJ
17805 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17807 # Commands to strip libraries.
17808 old_striplib=$lt_old_striplib
17809 striplib=$lt_striplib
17811 # Dependencies to place before the objects being linked to create a
17813 predep_objects=$lt_predep_objects_GCJ
17815 # Dependencies to place after the objects being linked to create a
17817 postdep_objects=$lt_postdep_objects_GCJ
17819 # Dependencies to place before the objects being linked to create a
17821 predeps=$lt_predeps_GCJ
17823 # Dependencies to place after the objects being linked to create a
17825 postdeps=$lt_postdeps_GCJ
17827 # The library search path used internally by the compiler when linking
17828 # a shared library.
17829 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17831 # Method to check whether dependent libraries are shared objects.
17832 deplibs_check_method=$lt_deplibs_check_method
17834 # Command to use when deplibs_check_method == file_magic.
17835 file_magic_cmd=$lt_file_magic_cmd
17837 # Flag that allows shared libraries with undefined symbols to be built.
17838 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17840 # Flag that forces no undefined symbols.
17841 no_undefined_flag=$lt_no_undefined_flag_GCJ
17843 # Commands used to finish a libtool library installation in a directory.
17844 finish_cmds=$lt_finish_cmds
17846 # Same as above, but a single script fragment to be evaled but not shown.
17847 finish_eval=$lt_finish_eval
17849 # Take the output of nm and produce a listing of raw symbols and C names.
17850 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17852 # Transform the output of nm in a proper C declaration
17853 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17855 # Transform the output of nm in a C name address pair
17856 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17858 # This is the shared library runtime path variable.
17859 runpath_var=$runpath_var
17861 # This is the shared library path variable.
17862 shlibpath_var=$shlibpath_var
17864 # Is shlibpath searched before the hard-coded library search path?
17865 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17867 # How to hardcode a shared library path into an executable.
17868 hardcode_action=$hardcode_action_GCJ
17870 # Whether we should hardcode library paths into libraries.
17871 hardcode_into_libs=$hardcode_into_libs
17873 # Flag to hardcode \$libdir into a binary during linking.
17874 # This must work even if \$libdir does not exist.
17875 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17877 # If ld is used when linking, flag to hardcode \$libdir into
17878 # a binary during linking. This must work even if \$libdir does
17880 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17882 # Whether we need a single -rpath flag with a separated argument.
17883 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17885 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17886 # resulting binary.
17887 hardcode_direct=$hardcode_direct_GCJ
17889 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17890 # resulting binary.
17891 hardcode_minus_L=$hardcode_minus_L_GCJ
17893 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17894 # the resulting binary.
17895 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17897 # Set to yes if building a shared library automatically hardcodes DIR into the library
17898 # and all subsequent libraries and executables linked against it.
17899 hardcode_automatic=$hardcode_automatic_GCJ
17901 # Variables whose values should be saved in libtool wrapper scripts and
17902 # restored at relink time.
17903 variables_saved_for_relink="$variables_saved_for_relink"
17905 # Whether libtool must link a program against all its dependency libraries.
17906 link_all_deplibs=$link_all_deplibs_GCJ
17908 # Compile-time system search path for libraries
17909 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17911 # Run-time system search path for libraries
17912 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17914 # Fix the shell variable \$srcfile for the compiler.
17915 fix_srcfile_path="$fix_srcfile_path_GCJ"
17917 # Set to yes if exported symbols are required.
17918 always_export_symbols=$always_export_symbols_GCJ
17920 # The commands to list exported symbols.
17921 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17923 # The commands to extract the exported symbol list from a shared archive.
17924 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17926 # Symbols that should not be listed in the preloaded symbols.
17927 exclude_expsyms=$lt_exclude_expsyms_GCJ
17929 # Symbols that must always be exported.
17930 include_expsyms=$lt_include_expsyms_GCJ
17932 # ### END LIBTOOL TAG CONFIG: $tagname
17938 # If there is no Makefile yet, we rely on a make rule to execute
17939 # `config.status --recheck' to rerun these tests and create the
17940 # libtool script then.
17941 test -f Makefile && make "$ltmain"
17946 ac_cpp='$CPP $CPPFLAGS'
17947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17962 # Source file extension for RC test sources.
17965 # Object file extension for compiled RC test sources.
17969 # Code to be used in simple compile tests
17970 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17972 # Code to be used in simple link tests
17973 lt_simple_link_test_code="$lt_simple_compile_test_code"
17975 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17977 # If no C compiler was specified, use CC.
17980 # Allow CC to be a program name with arguments.
17984 # Allow CC to be a program name with arguments.
17989 lt_cv_prog_compiler_c_o_RC=yes
17991 # The else clause should only fire when bootstrapping the
17992 # libtool distribution, otherwise you forgot to ship ltmain.sh
17993 # with your package, and you will get complaints that there are
17994 # no rules to generate ltmain.sh.
17995 if test -f "$ltmain"; then
17996 # See if we are running on zsh, and set the options which allow our commands through
17997 # without removal of \ escapes.
17998 if test -n "${ZSH_VERSION+set}" ; then
17999 setopt NO_GLOB_SUBST
18001 # Now quote all the things that may contain metacharacters while being
18002 # careful not to overquote the AC_SUBSTed values. We take copies of the
18003 # variables and quote the copies for generation of the libtool script.
18004 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18005 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18006 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18007 deplibs_check_method reload_flag reload_cmds need_locks \
18008 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18009 lt_cv_sys_global_symbol_to_c_name_address \
18010 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18011 old_postinstall_cmds old_postuninstall_cmds \
18015 lt_prog_compiler_wl_RC \
18016 lt_prog_compiler_pic_RC \
18017 lt_prog_compiler_static_RC \
18018 lt_prog_compiler_no_builtin_flag_RC \
18019 export_dynamic_flag_spec_RC \
18020 thread_safe_flag_spec_RC \
18021 whole_archive_flag_spec_RC \
18022 enable_shared_with_static_runtimes_RC \
18023 old_archive_cmds_RC \
18024 old_archive_from_new_cmds_RC \
18025 predep_objects_RC \
18026 postdep_objects_RC \
18029 compiler_lib_search_path_RC \
18031 archive_expsym_cmds_RC \
18032 postinstall_cmds_RC \
18033 postuninstall_cmds_RC \
18034 old_archive_from_expsyms_cmds_RC \
18035 allow_undefined_flag_RC \
18036 no_undefined_flag_RC \
18037 export_symbols_cmds_RC \
18038 hardcode_libdir_flag_spec_RC \
18039 hardcode_libdir_flag_spec_ld_RC \
18040 hardcode_libdir_separator_RC \
18041 hardcode_automatic_RC \
18043 module_expsym_cmds_RC \
18044 lt_cv_prog_compiler_c_o_RC \
18045 exclude_expsyms_RC \
18046 include_expsyms_RC; do
18049 old_archive_cmds_RC | \
18050 old_archive_from_new_cmds_RC | \
18051 archive_cmds_RC | \
18052 archive_expsym_cmds_RC | \
18054 module_expsym_cmds_RC | \
18055 old_archive_from_expsyms_cmds_RC | \
18056 export_symbols_cmds_RC | \
18057 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18058 postinstall_cmds | postuninstall_cmds | \
18059 old_postinstall_cmds | old_postuninstall_cmds | \
18060 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18061 # Double-quote double-evaled strings.
18062 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18065 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18071 *'\$0 --fallback-echo"')
18072 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18078 cat <<__EOF__ >> "$cfgfile"
18079 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18081 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18083 # Shell to use when invoking shell scripts.
18086 # Whether or not to build shared libraries.
18087 build_libtool_libs=$enable_shared
18089 # Whether or not to build static libraries.
18090 build_old_libs=$enable_static
18092 # Whether or not to add -lc for building shared libraries.
18093 build_libtool_need_lc=$archive_cmds_need_lc_RC
18095 # Whether or not to disallow shared libs when runtime libs are static
18096 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18098 # Whether or not to optimize for fast installation.
18099 fast_install=$enable_fast_install
18102 host_alias=$host_alias
18105 # An echo program that does not interpret backslashes.
18110 AR_FLAGS=$lt_AR_FLAGS
18115 # A language-specific compiler.
18118 # Is the compiler the GNU C compiler?
18124 # The linker used to build libraries.
18127 # Whether we need hard or soft links.
18130 # A BSD-compatible nm program.
18133 # A symbol stripping program
18136 # Used to examine libraries when file_magic_cmd begins "file"
18137 MAGIC_CMD=$MAGIC_CMD
18139 # Used on cygwin: DLL creation program.
18142 # Used on cygwin: object dumper.
18145 # Used on cygwin: assembler.
18148 # The name of the directory that contains temporary libtool files.
18151 # How to create reloadable object files.
18152 reload_flag=$lt_reload_flag
18153 reload_cmds=$lt_reload_cmds
18155 # How to pass a linker flag through the compiler.
18156 wl=$lt_lt_prog_compiler_wl_RC
18158 # Object file suffix (normally "o").
18159 objext="$ac_objext"
18161 # Old archive suffix (normally "a").
18164 # Shared library suffix (normally ".so").
18167 # Executable file suffix (normally "").
18170 # Additional compiler flags for building library objects.
18171 pic_flag=$lt_lt_prog_compiler_pic_RC
18174 # What is the maximum length of a command?
18175 max_cmd_len=$lt_cv_sys_max_cmd_len
18177 # Does compiler simultaneously support -c and -o options?
18178 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18180 # Must we lock files when doing compilation ?
18181 need_locks=$lt_need_locks
18183 # Do we need the lib prefix for modules?
18184 need_lib_prefix=$need_lib_prefix
18186 # Do we need a version for libraries?
18187 need_version=$need_version
18189 # Whether dlopen is supported.
18190 dlopen_support=$enable_dlopen
18192 # Whether dlopen of programs is supported.
18193 dlopen_self=$enable_dlopen_self
18195 # Whether dlopen of statically linked programs is supported.
18196 dlopen_self_static=$enable_dlopen_self_static
18198 # Compiler flag to prevent dynamic linking.
18199 link_static_flag=$lt_lt_prog_compiler_static_RC
18201 # Compiler flag to turn off builtin functions.
18202 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18204 # Compiler flag to allow reflexive dlopens.
18205 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18207 # Compiler flag to generate shared objects directly from archives.
18208 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18210 # Compiler flag to generate thread-safe objects.
18211 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18213 # Library versioning type.
18214 version_type=$version_type
18216 # Format of library name prefix.
18217 libname_spec=$lt_libname_spec
18219 # List of archive names. First name is the real one, the rest are links.
18220 # The last name is the one that the linker finds with -lNAME.
18221 library_names_spec=$lt_library_names_spec
18223 # The coded name of the library, if different from the real name.
18224 soname_spec=$lt_soname_spec
18226 # Commands used to build and install an old-style archive.
18228 old_archive_cmds=$lt_old_archive_cmds_RC
18229 old_postinstall_cmds=$lt_old_postinstall_cmds
18230 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18232 # Create an old-style archive from a shared archive.
18233 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18235 # Create a temporary old-style archive to link instead of a shared archive.
18236 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18238 # Commands used to build and install a shared archive.
18239 archive_cmds=$lt_archive_cmds_RC
18240 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18241 postinstall_cmds=$lt_postinstall_cmds
18242 postuninstall_cmds=$lt_postuninstall_cmds
18244 # Commands used to build a loadable module (assumed same as above if empty)
18245 module_cmds=$lt_module_cmds_RC
18246 module_expsym_cmds=$lt_module_expsym_cmds_RC
18248 # Commands to strip libraries.
18249 old_striplib=$lt_old_striplib
18250 striplib=$lt_striplib
18252 # Dependencies to place before the objects being linked to create a
18254 predep_objects=$lt_predep_objects_RC
18256 # Dependencies to place after the objects being linked to create a
18258 postdep_objects=$lt_postdep_objects_RC
18260 # Dependencies to place before the objects being linked to create a
18262 predeps=$lt_predeps_RC
18264 # Dependencies to place after the objects being linked to create a
18266 postdeps=$lt_postdeps_RC
18268 # The library search path used internally by the compiler when linking
18269 # a shared library.
18270 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18272 # Method to check whether dependent libraries are shared objects.
18273 deplibs_check_method=$lt_deplibs_check_method
18275 # Command to use when deplibs_check_method == file_magic.
18276 file_magic_cmd=$lt_file_magic_cmd
18278 # Flag that allows shared libraries with undefined symbols to be built.
18279 allow_undefined_flag=$lt_allow_undefined_flag_RC
18281 # Flag that forces no undefined symbols.
18282 no_undefined_flag=$lt_no_undefined_flag_RC
18284 # Commands used to finish a libtool library installation in a directory.
18285 finish_cmds=$lt_finish_cmds
18287 # Same as above, but a single script fragment to be evaled but not shown.
18288 finish_eval=$lt_finish_eval
18290 # Take the output of nm and produce a listing of raw symbols and C names.
18291 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18293 # Transform the output of nm in a proper C declaration
18294 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18296 # Transform the output of nm in a C name address pair
18297 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18299 # This is the shared library runtime path variable.
18300 runpath_var=$runpath_var
18302 # This is the shared library path variable.
18303 shlibpath_var=$shlibpath_var
18305 # Is shlibpath searched before the hard-coded library search path?
18306 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18308 # How to hardcode a shared library path into an executable.
18309 hardcode_action=$hardcode_action_RC
18311 # Whether we should hardcode library paths into libraries.
18312 hardcode_into_libs=$hardcode_into_libs
18314 # Flag to hardcode \$libdir into a binary during linking.
18315 # This must work even if \$libdir does not exist.
18316 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18318 # If ld is used when linking, flag to hardcode \$libdir into
18319 # a binary during linking. This must work even if \$libdir does
18321 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18323 # Whether we need a single -rpath flag with a separated argument.
18324 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18326 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18327 # resulting binary.
18328 hardcode_direct=$hardcode_direct_RC
18330 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18331 # resulting binary.
18332 hardcode_minus_L=$hardcode_minus_L_RC
18334 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18335 # the resulting binary.
18336 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18338 # Set to yes if building a shared library automatically hardcodes DIR into the library
18339 # and all subsequent libraries and executables linked against it.
18340 hardcode_automatic=$hardcode_automatic_RC
18342 # Variables whose values should be saved in libtool wrapper scripts and
18343 # restored at relink time.
18344 variables_saved_for_relink="$variables_saved_for_relink"
18346 # Whether libtool must link a program against all its dependency libraries.
18347 link_all_deplibs=$link_all_deplibs_RC
18349 # Compile-time system search path for libraries
18350 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18352 # Run-time system search path for libraries
18353 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18355 # Fix the shell variable \$srcfile for the compiler.
18356 fix_srcfile_path="$fix_srcfile_path_RC"
18358 # Set to yes if exported symbols are required.
18359 always_export_symbols=$always_export_symbols_RC
18361 # The commands to list exported symbols.
18362 export_symbols_cmds=$lt_export_symbols_cmds_RC
18364 # The commands to extract the exported symbol list from a shared archive.
18365 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18367 # Symbols that should not be listed in the preloaded symbols.
18368 exclude_expsyms=$lt_exclude_expsyms_RC
18370 # Symbols that must always be exported.
18371 include_expsyms=$lt_include_expsyms_RC
18373 # ### END LIBTOOL TAG CONFIG: $tagname
18379 # If there is no Makefile yet, we rely on a make rule to execute
18380 # `config.status --recheck' to rerun these tests and create the
18381 # libtool script then.
18382 test -f Makefile && make "$ltmain"
18387 ac_cpp='$CPP $CPPFLAGS'
18388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18397 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18398 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18399 { (exit 1); exit 1; }; }
18403 # Append the new tag name to the list of available tags.
18404 if test -n "$tagname" ; then
18405 available_tags="$available_tags $tagname"
18411 # Now substitute the updated list of available tags.
18412 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18413 mv "${ofile}T" "$ofile"
18417 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18418 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18419 { (exit 1); exit 1; }; }
18425 # This can be used to rebuild libtool when needed
18426 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18428 # Always use our own libtool.
18429 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18431 # Prevent multiple expansion
18453 # Extract the first word of "pwd", so it can be a program name with args.
18454 set dummy pwd; ac_word=$2
18455 echo "$as_me:$LINENO: checking for $ac_word" >&5
18456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18457 if test "${ac_cv_path_RPWD+set}" = set; then
18458 echo $ECHO_N "(cached) $ECHO_C" >&6
18462 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18466 for as_dir in $PATH
18469 test -z "$as_dir" && as_dir=.
18470 for ac_exec_ext in '' $ac_executable_extensions; do
18471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18472 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18479 test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false"
18483 RPWD=$ac_cv_path_RPWD
18485 if test -n "$RPWD"; then
18486 echo "$as_me:$LINENO: result: $RPWD" >&5
18487 echo "${ECHO_T}$RPWD" >&6
18489 echo "$as_me:$LINENO: result: no" >&5
18490 echo "${ECHO_T}no" >&6
18493 if test ${RPWD} = "false"
18495 { { echo "$as_me:$LINENO: error: pwd required but not found" >&5
18496 echo "$as_me: error: pwd required but not found" >&2;}
18497 { (exit 1); exit 1; }; }
18500 # Extract the first word of "ar", so it can be a program name with args.
18501 set dummy ar; ac_word=$2
18502 echo "$as_me:$LINENO: checking for $ac_word" >&5
18503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18504 if test "${ac_cv_path_AR+set}" = set; then
18505 echo $ECHO_N "(cached) $ECHO_C" >&6
18509 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18513 for as_dir in $PATH
18516 test -z "$as_dir" && as_dir=.
18517 for ac_exec_ext in '' $ac_executable_extensions; do
18518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18519 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18526 test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
18532 if test -n "$AR"; then
18533 echo "$as_me:$LINENO: result: $AR" >&5
18534 echo "${ECHO_T}$AR" >&6
18536 echo "$as_me:$LINENO: result: no" >&5
18537 echo "${ECHO_T}no" >&6
18540 if test ${AR} = "false"
18542 { { echo "$as_me:$LINENO: error: ar required but not found" >&5
18543 echo "$as_me: error: ar required but not found" >&2;}
18544 { (exit 1); exit 1; }; }
18547 # Extract the first word of "sed", so it can be a program name with args.
18548 set dummy sed; ac_word=$2
18549 echo "$as_me:$LINENO: checking for $ac_word" >&5
18550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18551 if test "${ac_cv_path_SED+set}" = set; then
18552 echo $ECHO_N "(cached) $ECHO_C" >&6
18556 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18560 for as_dir in $PATH
18563 test -z "$as_dir" && as_dir=.
18564 for ac_exec_ext in '' $ac_executable_extensions; do
18565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18566 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18573 test -z "$ac_cv_path_SED" && ac_cv_path_SED="false"
18577 SED=$ac_cv_path_SED
18579 if test -n "$SED"; then
18580 echo "$as_me:$LINENO: result: $SED" >&5
18581 echo "${ECHO_T}$SED" >&6
18583 echo "$as_me:$LINENO: result: no" >&5
18584 echo "${ECHO_T}no" >&6
18587 if test ${SED} = "false"
18589 { { echo "$as_me:$LINENO: error: sed required but not found" >&5
18590 echo "$as_me: error: sed required but not found" >&2;}
18591 { (exit 1); exit 1; }; }
18594 # Extract the first word of "rm", so it can be a program name with args.
18595 set dummy rm; ac_word=$2
18596 echo "$as_me:$LINENO: checking for $ac_word" >&5
18597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18598 if test "${ac_cv_path_RM+set}" = set; then
18599 echo $ECHO_N "(cached) $ECHO_C" >&6
18603 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18607 for as_dir in $PATH
18610 test -z "$as_dir" && as_dir=.
18611 for ac_exec_ext in '' $ac_executable_extensions; do
18612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18613 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18620 test -z "$ac_cv_path_RM" && ac_cv_path_RM="false"
18626 if test -n "$RM"; then
18627 echo "$as_me:$LINENO: result: $RM" >&5
18628 echo "${ECHO_T}$RM" >&6
18630 echo "$as_me:$LINENO: result: no" >&5
18631 echo "${ECHO_T}no" >&6
18634 if test ${RM} = "false"
18636 { { echo "$as_me:$LINENO: error: rm required but not found" >&5
18637 echo "$as_me: error: rm required but not found" >&2;}
18638 { (exit 1); exit 1; }; }
18641 # Extract the first word of "echo", so it can be a program name with args.
18642 set dummy echo; ac_word=$2
18643 echo "$as_me:$LINENO: checking for $ac_word" >&5
18644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18645 if test "${ac_cv_path_ECHO+set}" = set; then
18646 echo $ECHO_N "(cached) $ECHO_C" >&6
18650 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18654 for as_dir in $PATH
18657 test -z "$as_dir" && as_dir=.
18658 for ac_exec_ext in '' $ac_executable_extensions; do
18659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18660 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18667 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false"
18671 ECHO=$ac_cv_path_ECHO
18673 if test -n "$ECHO"; then
18674 echo "$as_me:$LINENO: result: $ECHO" >&5
18675 echo "${ECHO_T}$ECHO" >&6
18677 echo "$as_me:$LINENO: result: no" >&5
18678 echo "${ECHO_T}no" >&6
18681 if test ${ECHO} = "false"
18683 { { echo "$as_me:$LINENO: error: echo required but not found" >&5
18684 echo "$as_me: error: echo required but not found" >&2;}
18685 { (exit 1); exit 1; }; }
18688 # Extract the first word of "mkdir", so it can be a program name with args.
18689 set dummy mkdir; ac_word=$2
18690 echo "$as_me:$LINENO: checking for $ac_word" >&5
18691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18692 if test "${ac_cv_path_MKDIR+set}" = set; then
18693 echo $ECHO_N "(cached) $ECHO_C" >&6
18697 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18701 for as_dir in $PATH
18704 test -z "$as_dir" && as_dir=.
18705 for ac_exec_ext in '' $ac_executable_extensions; do
18706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18707 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18714 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false"
18718 MKDIR=$ac_cv_path_MKDIR
18720 if test -n "$MKDIR"; then
18721 echo "$as_me:$LINENO: result: $MKDIR" >&5
18722 echo "${ECHO_T}$MKDIR" >&6
18724 echo "$as_me:$LINENO: result: no" >&5
18725 echo "${ECHO_T}no" >&6
18728 if test ${MKDIR} = "false"
18730 { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5
18731 echo "$as_me: error: mkdir required but not found" >&2;}
18732 { (exit 1); exit 1; }; }
18735 # Extract the first word of "date", so it can be a program name with args.
18736 set dummy date; ac_word=$2
18737 echo "$as_me:$LINENO: checking for $ac_word" >&5
18738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18739 if test "${ac_cv_path_DATE+set}" = set; then
18740 echo $ECHO_N "(cached) $ECHO_C" >&6
18744 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18748 for as_dir in $PATH
18751 test -z "$as_dir" && as_dir=.
18752 for ac_exec_ext in '' $ac_executable_extensions; do
18753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18754 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18761 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false"
18765 DATE=$ac_cv_path_DATE
18767 if test -n "$DATE"; then
18768 echo "$as_me:$LINENO: result: $DATE" >&5
18769 echo "${ECHO_T}$DATE" >&6
18771 echo "$as_me:$LINENO: result: no" >&5
18772 echo "${ECHO_T}no" >&6
18775 if test ${DATE} = "false"
18777 { { echo "$as_me:$LINENO: error: date required but not found" >&5
18778 echo "$as_me: error: date required but not found" >&2;}
18779 { (exit 1); exit 1; }; }
18782 # Extract the first word of "mv", so it can be a program name with args.
18783 set dummy mv; ac_word=$2
18784 echo "$as_me:$LINENO: checking for $ac_word" >&5
18785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18786 if test "${ac_cv_path_MV+set}" = set; then
18787 echo $ECHO_N "(cached) $ECHO_C" >&6
18791 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18795 for as_dir in $PATH
18798 test -z "$as_dir" && as_dir=.
18799 for ac_exec_ext in '' $ac_executable_extensions; do
18800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18801 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18808 test -z "$ac_cv_path_MV" && ac_cv_path_MV="false"
18814 if test -n "$MV"; then
18815 echo "$as_me:$LINENO: result: $MV" >&5
18816 echo "${ECHO_T}$MV" >&6
18818 echo "$as_me:$LINENO: result: no" >&5
18819 echo "${ECHO_T}no" >&6
18822 if test ${MV} = "false"
18824 { { echo "$as_me:$LINENO: error: mv required but not found" >&5
18825 echo "$as_me: error: mv required but not found" >&2;}
18826 { (exit 1); exit 1; }; }
18829 # Extract the first word of "dot", so it can be a program name with args.
18830 set dummy dot; ac_word=$2
18831 echo "$as_me:$LINENO: checking for $ac_word" >&5
18832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18833 if test "${ac_cv_path_DOT+set}" = set; then
18834 echo $ECHO_N "(cached) $ECHO_C" >&6
18838 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18842 for as_dir in $PATH
18845 test -z "$as_dir" && as_dir=.
18846 for ac_exec_ext in '' $ac_executable_extensions; do
18847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18848 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18855 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
18859 DOT=$ac_cv_path_DOT
18861 if test -n "$DOT"; then
18862 echo "$as_me:$LINENO: result: $DOT" >&5
18863 echo "${ECHO_T}$DOT" >&6
18865 echo "$as_me:$LINENO: result: no" >&5
18866 echo "${ECHO_T}no" >&6
18870 # Extract the first word of "etags", so it can be a program name with args.
18871 set dummy etags; ac_word=$2
18872 echo "$as_me:$LINENO: checking for $ac_word" >&5
18873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18874 if test "${ac_cv_path_ETAGS+set}" = set; then
18875 echo $ECHO_N "(cached) $ECHO_C" >&6
18879 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18883 for as_dir in $PATH
18886 test -z "$as_dir" && as_dir=.
18887 for ac_exec_ext in '' $ac_executable_extensions; do
18888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18889 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18896 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false"
18900 ETAGS=$ac_cv_path_ETAGS
18902 if test -n "$ETAGS"; then
18903 echo "$as_me:$LINENO: result: $ETAGS" >&5
18904 echo "${ECHO_T}$ETAGS" >&6
18906 echo "$as_me:$LINENO: result: no" >&5
18907 echo "${ECHO_T}no" >&6
18911 # Extract the first word of "python", so it can be a program name with args.
18912 set dummy python; ac_word=$2
18913 echo "$as_me:$LINENO: checking for $ac_word" >&5
18914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18915 if test "${ac_cv_path_PYTHON+set}" = set; then
18916 echo $ECHO_N "(cached) $ECHO_C" >&6
18920 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18924 for as_dir in $PATH
18927 test -z "$as_dir" && as_dir=.
18928 for ac_exec_ext in '' $ac_executable_extensions; do
18929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18930 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18937 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false"
18941 PYTHON=$ac_cv_path_PYTHON
18943 if test -n "$PYTHON"; then
18944 echo "$as_me:$LINENO: result: $PYTHON" >&5
18945 echo "${ECHO_T}$PYTHON" >&6
18947 echo "$as_me:$LINENO: result: no" >&5
18948 echo "${ECHO_T}no" >&6
18951 if test ${PYTHON} = "false"
18953 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
18954 echo "$as_me: WARNING: python required but not found" >&2;}
18957 # Extract the first word of "qmtest", so it can be a program name with args.
18958 set dummy qmtest; ac_word=$2
18959 echo "$as_me:$LINENO: checking for $ac_word" >&5
18960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18961 if test "${ac_cv_path_QMTEST+set}" = set; then
18962 echo $ECHO_N "(cached) $ECHO_C" >&6
18966 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18970 for as_dir in $PATH
18973 test -z "$as_dir" && as_dir=.
18974 for ac_exec_ext in '' $ac_executable_extensions; do
18975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18976 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
18977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18983 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false"
18987 QMTEST=$ac_cv_path_QMTEST
18989 if test -n "$QMTEST"; then
18990 echo "$as_me:$LINENO: result: $QMTEST" >&5
18991 echo "${ECHO_T}$QMTEST" >&6
18993 echo "$as_me:$LINENO: result: no" >&5
18994 echo "${ECHO_T}no" >&6
18997 if test ${QMTEST} = "false"
18999 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19000 echo "$as_me: WARNING: qmtest required but not found" >&2;}
19003 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
19004 pymajor=`echo $pyversion | cut -d. -f1`
19005 pyminor=`echo $pyversion | cut -d. -f2`
19007 if test "$pymajor" -ge "2"
19009 if test "$pymajor" -eq "2"
19011 if test "$pyminor" -lt "2"
19013 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19014 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19015 { (exit 1); exit 1; }; }
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; }; }
19028 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
19029 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
19030 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
19031 echo $ECHO_N "(cached) $ECHO_C" >&6
19033 ac_check_lib_save_LIBS=$LIBS
19035 cat >conftest.$ac_ext <<_ACEOF
19036 #line $LINENO "configure"
19039 cat confdefs.h >>conftest.$ac_ext
19040 cat >>conftest.$ac_ext <<_ACEOF
19041 /* end confdefs.h. */
19043 /* Override any gcc2 internal prototype to avoid an error. */
19047 /* We use char because int might match the return type of a gcc2
19048 builtin and then its argument prototype would still apply. */
19058 rm -f conftest.$ac_objext conftest$ac_exeext
19059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19060 (eval $ac_link) 2>&5
19062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19063 (exit $ac_status); } &&
19064 { ac_try='test -s conftest$ac_exeext'
19065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19066 (eval $ac_try) 2>&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); }; }; then
19070 ac_cv_lib_elf_elf_begin=yes
19072 echo "$as_me: failed program was:" >&5
19073 sed 's/^/| /' conftest.$ac_ext >&5
19075 ac_cv_lib_elf_elf_begin=no
19077 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19078 LIBS=$ac_check_lib_save_LIBS
19080 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19081 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19082 if test $ac_cv_lib_elf_elf_begin = yes; then
19083 cat >>confdefs.h <<_ACEOF
19084 #define HAVE_LIBELF 1
19092 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19093 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19094 if test "${ac_cv_search_dlopen+set}" = set; then
19095 echo $ECHO_N "(cached) $ECHO_C" >&6
19097 ac_func_search_save_LIBS=$LIBS
19098 ac_cv_search_dlopen=no
19099 cat >conftest.$ac_ext <<_ACEOF
19100 #line $LINENO "configure"
19103 cat confdefs.h >>conftest.$ac_ext
19104 cat >>conftest.$ac_ext <<_ACEOF
19105 /* end confdefs.h. */
19107 /* Override any gcc2 internal prototype to avoid an error. */
19111 /* We use char because int might match the return type of a gcc2
19112 builtin and then its argument prototype would still apply. */
19122 rm -f conftest.$ac_objext conftest$ac_exeext
19123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19124 (eval $ac_link) 2>&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); } &&
19128 { ac_try='test -s conftest$ac_exeext'
19129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19130 (eval $ac_try) 2>&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); }; }; then
19134 ac_cv_search_dlopen="none required"
19136 echo "$as_me: failed program was:" >&5
19137 sed 's/^/| /' conftest.$ac_ext >&5
19140 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19141 if test "$ac_cv_search_dlopen" = no; then
19142 for ac_lib in dl; do
19143 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19144 cat >conftest.$ac_ext <<_ACEOF
19145 #line $LINENO "configure"
19148 cat confdefs.h >>conftest.$ac_ext
19149 cat >>conftest.$ac_ext <<_ACEOF
19150 /* end confdefs.h. */
19152 /* Override any gcc2 internal prototype to avoid an error. */
19156 /* We use char because int might match the return type of a gcc2
19157 builtin and then its argument prototype would still apply. */
19167 rm -f conftest.$ac_objext conftest$ac_exeext
19168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19169 (eval $ac_link) 2>&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); } &&
19173 { ac_try='test -s conftest$ac_exeext'
19174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 (eval $ac_try) 2>&5
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); }; }; then
19179 ac_cv_search_dlopen="-l$ac_lib"
19182 echo "$as_me: failed program was:" >&5
19183 sed 's/^/| /' conftest.$ac_ext >&5
19186 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19189 LIBS=$ac_func_search_save_LIBS
19191 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19192 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19193 if test "$ac_cv_search_dlopen" != no; then
19194 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19196 cat >>confdefs.h <<\_ACEOF
19197 #define HAVE_DLOPEN 1
19201 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
19202 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
19206 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19207 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19208 if test "${ac_cv_search_mallinfo+set}" = set; then
19209 echo $ECHO_N "(cached) $ECHO_C" >&6
19211 ac_func_search_save_LIBS=$LIBS
19212 ac_cv_search_mallinfo=no
19213 cat >conftest.$ac_ext <<_ACEOF
19214 #line $LINENO "configure"
19217 cat confdefs.h >>conftest.$ac_ext
19218 cat >>conftest.$ac_ext <<_ACEOF
19219 /* end confdefs.h. */
19221 /* Override any gcc2 internal prototype to avoid an error. */
19225 /* We use char because int might match the return type of a gcc2
19226 builtin and then its argument prototype would still apply. */
19236 rm -f conftest.$ac_objext conftest$ac_exeext
19237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19238 (eval $ac_link) 2>&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); } &&
19242 { ac_try='test -s conftest$ac_exeext'
19243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19244 (eval $ac_try) 2>&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); }; }; then
19248 ac_cv_search_mallinfo="none required"
19250 echo "$as_me: failed program was:" >&5
19251 sed 's/^/| /' conftest.$ac_ext >&5
19254 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19255 if test "$ac_cv_search_mallinfo" = no; then
19256 for ac_lib in malloc; do
19257 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19258 cat >conftest.$ac_ext <<_ACEOF
19259 #line $LINENO "configure"
19262 cat confdefs.h >>conftest.$ac_ext
19263 cat >>conftest.$ac_ext <<_ACEOF
19264 /* end confdefs.h. */
19266 /* Override any gcc2 internal prototype to avoid an error. */
19270 /* We use char because int might match the return type of a gcc2
19271 builtin and then its argument prototype would still apply. */
19281 rm -f conftest.$ac_objext conftest$ac_exeext
19282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19283 (eval $ac_link) 2>&5
19285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19286 (exit $ac_status); } &&
19287 { ac_try='test -s conftest$ac_exeext'
19288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19289 (eval $ac_try) 2>&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); }; }; then
19293 ac_cv_search_mallinfo="-l$ac_lib"
19296 echo "$as_me: failed program was:" >&5
19297 sed 's/^/| /' conftest.$ac_ext >&5
19300 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19303 LIBS=$ac_func_search_save_LIBS
19305 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19306 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19307 if test "$ac_cv_search_mallinfo" != no; then
19308 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19310 cat >>confdefs.h <<\_ACEOF
19311 #define HAVE_MALLINFO 1
19318 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19319 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19320 if test "${ac_cv_header_stdc+set}" = set; then
19321 echo $ECHO_N "(cached) $ECHO_C" >&6
19323 cat >conftest.$ac_ext <<_ACEOF
19324 #line $LINENO "configure"
19327 cat confdefs.h >>conftest.$ac_ext
19328 cat >>conftest.$ac_ext <<_ACEOF
19329 /* end confdefs.h. */
19330 #include <stdlib.h>
19331 #include <stdarg.h>
19332 #include <string.h>
19343 rm -f conftest.$ac_objext
19344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19345 (eval $ac_compile) 2>&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } &&
19349 { ac_try='test -s conftest.$ac_objext'
19350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19351 (eval $ac_try) 2>&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; }; then
19355 ac_cv_header_stdc=yes
19357 echo "$as_me: failed program was:" >&5
19358 sed 's/^/| /' conftest.$ac_ext >&5
19360 ac_cv_header_stdc=no
19362 rm -f conftest.$ac_objext conftest.$ac_ext
19364 if test $ac_cv_header_stdc = yes; then
19365 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19366 cat >conftest.$ac_ext <<_ACEOF
19367 #line $LINENO "configure"
19370 cat confdefs.h >>conftest.$ac_ext
19371 cat >>conftest.$ac_ext <<_ACEOF
19372 /* end confdefs.h. */
19373 #include <string.h>
19376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19377 $EGREP "memchr" >/dev/null 2>&1; then
19380 ac_cv_header_stdc=no
19386 if test $ac_cv_header_stdc = yes; then
19387 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19388 cat >conftest.$ac_ext <<_ACEOF
19389 #line $LINENO "configure"
19392 cat confdefs.h >>conftest.$ac_ext
19393 cat >>conftest.$ac_ext <<_ACEOF
19394 /* end confdefs.h. */
19395 #include <stdlib.h>
19398 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19399 $EGREP "free" >/dev/null 2>&1; then
19402 ac_cv_header_stdc=no
19408 if test $ac_cv_header_stdc = yes; then
19409 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19410 if test "$cross_compiling" = yes; then
19413 cat >conftest.$ac_ext <<_ACEOF
19414 #line $LINENO "configure"
19417 cat confdefs.h >>conftest.$ac_ext
19418 cat >>conftest.$ac_ext <<_ACEOF
19419 /* end confdefs.h. */
19421 #if ((' ' & 0x0FF) == 0x020)
19422 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19423 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19425 # define ISLOWER(c) \
19426 (('a' <= (c) && (c) <= 'i') \
19427 || ('j' <= (c) && (c) <= 'r') \
19428 || ('s' <= (c) && (c) <= 'z'))
19429 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19432 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19437 for (i = 0; i < 256; i++)
19438 if (XOR (islower (i), ISLOWER (i))
19439 || toupper (i) != TOUPPER (i))
19444 rm -f conftest$ac_exeext
19445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19446 (eval $ac_link) 2>&5
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19451 (eval $ac_try) 2>&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); }; }; then
19457 echo "$as_me: program exited with status $ac_status" >&5
19458 echo "$as_me: failed program was:" >&5
19459 sed 's/^/| /' conftest.$ac_ext >&5
19461 ( exit $ac_status )
19462 ac_cv_header_stdc=no
19464 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19468 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19469 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19470 if test $ac_cv_header_stdc = yes; then
19472 cat >>confdefs.h <<\_ACEOF
19473 #define STDC_HEADERS 1
19478 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19479 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19480 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19481 echo $ECHO_N "(cached) $ECHO_C" >&6
19483 cat >conftest.$ac_ext <<_ACEOF
19484 #line $LINENO "configure"
19487 cat confdefs.h >>conftest.$ac_ext
19488 cat >>conftest.$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 #include <sys/types.h>
19491 #include <sys/wait.h>
19492 #ifndef WEXITSTATUS
19493 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19496 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19504 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19509 rm -f conftest.$ac_objext
19510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19511 (eval $ac_compile) 2>&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); } &&
19515 { ac_try='test -s conftest.$ac_objext'
19516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19517 (eval $ac_try) 2>&5
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); }; }; then
19521 ac_cv_header_sys_wait_h=yes
19523 echo "$as_me: failed program was:" >&5
19524 sed 's/^/| /' conftest.$ac_ext >&5
19526 ac_cv_header_sys_wait_h=no
19528 rm -f conftest.$ac_objext conftest.$ac_ext
19530 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19531 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19532 if test $ac_cv_header_sys_wait_h = yes; then
19534 cat >>confdefs.h <<\_ACEOF
19535 #define HAVE_SYS_WAIT_H 1
19549 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19551 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19553 echo "$as_me:$LINENO: checking for $ac_header" >&5
19554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19556 echo $ECHO_N "(cached) $ECHO_C" >&6
19558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19559 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19561 # Is the header compilable?
19562 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19563 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19564 cat >conftest.$ac_ext <<_ACEOF
19565 #line $LINENO "configure"
19568 cat confdefs.h >>conftest.$ac_ext
19569 cat >>conftest.$ac_ext <<_ACEOF
19570 /* end confdefs.h. */
19571 $ac_includes_default
19572 #include <$ac_header>
19574 rm -f conftest.$ac_objext
19575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19576 (eval $ac_compile) 2>&5
19578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579 (exit $ac_status); } &&
19580 { ac_try='test -s conftest.$ac_objext'
19581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19582 (eval $ac_try) 2>&5
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); }; }; then
19586 ac_header_compiler=yes
19588 echo "$as_me: failed program was:" >&5
19589 sed 's/^/| /' conftest.$ac_ext >&5
19591 ac_header_compiler=no
19593 rm -f conftest.$ac_objext conftest.$ac_ext
19594 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19595 echo "${ECHO_T}$ac_header_compiler" >&6
19597 # Is the header present?
19598 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19599 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19600 cat >conftest.$ac_ext <<_ACEOF
19601 #line $LINENO "configure"
19604 cat confdefs.h >>conftest.$ac_ext
19605 cat >>conftest.$ac_ext <<_ACEOF
19606 /* end confdefs.h. */
19607 #include <$ac_header>
19609 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19610 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19612 grep -v '^ *+' conftest.er1 >conftest.err
19614 cat conftest.err >&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); } >/dev/null; then
19617 if test -s conftest.err; then
19618 ac_cpp_err=$ac_c_preproc_warn_flag
19625 if test -z "$ac_cpp_err"; then
19626 ac_header_preproc=yes
19628 echo "$as_me: failed program was:" >&5
19629 sed 's/^/| /' conftest.$ac_ext >&5
19631 ac_header_preproc=no
19633 rm -f conftest.err conftest.$ac_ext
19634 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19635 echo "${ECHO_T}$ac_header_preproc" >&6
19637 # So? What about this header?
19638 case $ac_header_compiler:$ac_header_preproc in
19640 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19641 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19646 ## ------------------------------------ ##
19647 ## Report this to bug-autoconf@gnu.org. ##
19648 ## ------------------------------------ ##
19651 sed "s/^/$as_me: WARNING: /" >&2
19654 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19655 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19656 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19657 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19658 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19659 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19662 ## ------------------------------------ ##
19663 ## Report this to bug-autoconf@gnu.org. ##
19664 ## ------------------------------------ ##
19667 sed "s/^/$as_me: WARNING: /" >&2
19670 echo "$as_me:$LINENO: checking for $ac_header" >&5
19671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19673 echo $ECHO_N "(cached) $ECHO_C" >&6
19675 eval "$as_ac_Header=$ac_header_preproc"
19677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19678 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19681 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19682 cat >>confdefs.h <<_ACEOF
19683 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19695 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19697 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19699 echo "$as_me:$LINENO: checking for $ac_header" >&5
19700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19701 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19702 echo $ECHO_N "(cached) $ECHO_C" >&6
19704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19707 # Is the header compilable?
19708 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19709 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19710 cat >conftest.$ac_ext <<_ACEOF
19711 #line $LINENO "configure"
19714 cat confdefs.h >>conftest.$ac_ext
19715 cat >>conftest.$ac_ext <<_ACEOF
19716 /* end confdefs.h. */
19717 $ac_includes_default
19718 #include <$ac_header>
19720 rm -f conftest.$ac_objext
19721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19722 (eval $ac_compile) 2>&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); } &&
19726 { ac_try='test -s conftest.$ac_objext'
19727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19728 (eval $ac_try) 2>&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); }; }; then
19732 ac_header_compiler=yes
19734 echo "$as_me: failed program was:" >&5
19735 sed 's/^/| /' conftest.$ac_ext >&5
19737 ac_header_compiler=no
19739 rm -f conftest.$ac_objext conftest.$ac_ext
19740 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19741 echo "${ECHO_T}$ac_header_compiler" >&6
19743 # Is the header present?
19744 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19745 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19746 cat >conftest.$ac_ext <<_ACEOF
19747 #line $LINENO "configure"
19750 cat confdefs.h >>conftest.$ac_ext
19751 cat >>conftest.$ac_ext <<_ACEOF
19752 /* end confdefs.h. */
19753 #include <$ac_header>
19755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19756 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19758 grep -v '^ *+' conftest.er1 >conftest.err
19760 cat conftest.err >&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } >/dev/null; then
19763 if test -s conftest.err; then
19764 ac_cpp_err=$ac_c_preproc_warn_flag
19771 if test -z "$ac_cpp_err"; then
19772 ac_header_preproc=yes
19774 echo "$as_me: failed program was:" >&5
19775 sed 's/^/| /' conftest.$ac_ext >&5
19777 ac_header_preproc=no
19779 rm -f conftest.err conftest.$ac_ext
19780 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19781 echo "${ECHO_T}$ac_header_preproc" >&6
19783 # So? What about this header?
19784 case $ac_header_compiler:$ac_header_preproc in
19786 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19787 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19789 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19792 ## ------------------------------------ ##
19793 ## Report this to bug-autoconf@gnu.org. ##
19794 ## ------------------------------------ ##
19797 sed "s/^/$as_me: WARNING: /" >&2
19800 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19801 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19802 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19803 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19805 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19808 ## ------------------------------------ ##
19809 ## Report this to bug-autoconf@gnu.org. ##
19810 ## ------------------------------------ ##
19813 sed "s/^/$as_me: WARNING: /" >&2
19816 echo "$as_me:$LINENO: checking for $ac_header" >&5
19817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19819 echo $ECHO_N "(cached) $ECHO_C" >&6
19821 eval "$as_ac_Header=$ac_header_preproc"
19823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19828 cat >>confdefs.h <<_ACEOF
19829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19839 for ac_header in dlfcn.h link.h
19841 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19843 echo "$as_me:$LINENO: checking for $ac_header" >&5
19844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19846 echo $ECHO_N "(cached) $ECHO_C" >&6
19848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19851 # Is the header compilable?
19852 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19853 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19854 cat >conftest.$ac_ext <<_ACEOF
19855 #line $LINENO "configure"
19858 cat confdefs.h >>conftest.$ac_ext
19859 cat >>conftest.$ac_ext <<_ACEOF
19860 /* end confdefs.h. */
19861 $ac_includes_default
19862 #include <$ac_header>
19864 rm -f conftest.$ac_objext
19865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19866 (eval $ac_compile) 2>&5
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); } &&
19870 { ac_try='test -s conftest.$ac_objext'
19871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19872 (eval $ac_try) 2>&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); }; }; then
19876 ac_header_compiler=yes
19878 echo "$as_me: failed program was:" >&5
19879 sed 's/^/| /' conftest.$ac_ext >&5
19881 ac_header_compiler=no
19883 rm -f conftest.$ac_objext conftest.$ac_ext
19884 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19885 echo "${ECHO_T}$ac_header_compiler" >&6
19887 # Is the header present?
19888 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19889 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19890 cat >conftest.$ac_ext <<_ACEOF
19891 #line $LINENO "configure"
19894 cat confdefs.h >>conftest.$ac_ext
19895 cat >>conftest.$ac_ext <<_ACEOF
19896 /* end confdefs.h. */
19897 #include <$ac_header>
19899 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19900 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19902 grep -v '^ *+' conftest.er1 >conftest.err
19904 cat conftest.err >&5
19905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 (exit $ac_status); } >/dev/null; then
19907 if test -s conftest.err; then
19908 ac_cpp_err=$ac_c_preproc_warn_flag
19915 if test -z "$ac_cpp_err"; then
19916 ac_header_preproc=yes
19918 echo "$as_me: failed program was:" >&5
19919 sed 's/^/| /' conftest.$ac_ext >&5
19921 ac_header_preproc=no
19923 rm -f conftest.err conftest.$ac_ext
19924 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19925 echo "${ECHO_T}$ac_header_preproc" >&6
19927 # So? What about this header?
19928 case $ac_header_compiler:$ac_header_preproc in
19930 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19931 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19933 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19936 ## ------------------------------------ ##
19937 ## Report this to bug-autoconf@gnu.org. ##
19938 ## ------------------------------------ ##
19941 sed "s/^/$as_me: WARNING: /" >&2
19944 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19945 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19946 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19947 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19949 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19952 ## ------------------------------------ ##
19953 ## Report this to bug-autoconf@gnu.org. ##
19954 ## ------------------------------------ ##
19957 sed "s/^/$as_me: WARNING: /" >&2
19960 echo "$as_me:$LINENO: checking for $ac_header" >&5
19961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19963 echo $ECHO_N "(cached) $ECHO_C" >&6
19965 eval "$as_ac_Header=$ac_header_preproc"
19967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19971 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19972 cat >>confdefs.h <<_ACEOF
19973 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19982 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19983 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19984 if test "${ac_cv_c_const+set}" = set; then
19985 echo $ECHO_N "(cached) $ECHO_C" >&6
19987 cat >conftest.$ac_ext <<_ACEOF
19988 #line $LINENO "configure"
19991 cat confdefs.h >>conftest.$ac_ext
19992 cat >>conftest.$ac_ext <<_ACEOF
19993 /* end confdefs.h. */
19998 /* FIXME: Include the comments suggested by Paul. */
19999 #ifndef __cplusplus
20000 /* Ultrix mips cc rejects this. */
20001 typedef int charset[2];
20003 /* SunOS 4.1.1 cc rejects this. */
20004 char const *const *ccp;
20006 /* NEC SVR4.0.2 mips cc rejects this. */
20007 struct point {int x, y;};
20008 static struct point const zero = {0,0};
20009 /* AIX XL C 1.02.0.0 rejects this.
20010 It does not let you subtract one const X* pointer from another in
20011 an arm of an if-expression whose if-part is not a constant
20013 const char *g = "string";
20014 ccp = &g + (g ? g-g : 0);
20015 /* HPUX 7.0 cc rejects these. */
20018 ccp = (char const *const *) p;
20019 { /* SCO 3.2v4 cc rejects this. */
20021 char const *s = 0 ? (char *) 0 : (char const *) 0;
20025 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20026 int x[] = {25, 17};
20027 const int *foo = &x[0];
20030 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20031 typedef const int *iptr;
20035 { /* AIX XL C 1.02.0.0 rejects this saying
20036 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20037 struct s { int j; const int *ap[3]; };
20038 struct s *b; b->j = 5;
20040 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20041 const int foo = 10;
20049 rm -f conftest.$ac_objext
20050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20051 (eval $ac_compile) 2>&5
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); } &&
20055 { ac_try='test -s conftest.$ac_objext'
20056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20057 (eval $ac_try) 2>&5
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); }; }; then
20063 echo "$as_me: failed program was:" >&5
20064 sed 's/^/| /' conftest.$ac_ext >&5
20068 rm -f conftest.$ac_objext conftest.$ac_ext
20070 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20071 echo "${ECHO_T}$ac_cv_c_const" >&6
20072 if test $ac_cv_c_const = no; then
20074 cat >>confdefs.h <<\_ACEOF
20080 echo "$as_me:$LINENO: checking for inline" >&5
20081 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20082 if test "${ac_cv_c_inline+set}" = set; then
20083 echo $ECHO_N "(cached) $ECHO_C" >&6
20086 for ac_kw in inline __inline__ __inline; do
20087 cat >conftest.$ac_ext <<_ACEOF
20088 #line $LINENO "configure"
20091 cat confdefs.h >>conftest.$ac_ext
20092 cat >>conftest.$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20094 #ifndef __cplusplus
20096 static $ac_kw foo_t static_foo () {return 0; }
20097 $ac_kw foo_t foo () {return 0; }
20101 rm -f conftest.$ac_objext
20102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20103 (eval $ac_compile) 2>&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); } &&
20107 { ac_try='test -s conftest.$ac_objext'
20108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20109 (eval $ac_try) 2>&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); }; }; then
20113 ac_cv_c_inline=$ac_kw; break
20115 echo "$as_me: failed program was:" >&5
20116 sed 's/^/| /' conftest.$ac_ext >&5
20119 rm -f conftest.$ac_objext conftest.$ac_ext
20123 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20124 echo "${ECHO_T}$ac_cv_c_inline" >&6
20125 case $ac_cv_c_inline in
20128 cat >>confdefs.h <<\_ACEOF
20132 *) cat >>confdefs.h <<_ACEOF
20133 #define inline $ac_cv_c_inline
20139 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20140 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20141 if test "${ac_cv_c_bigendian+set}" = set; then
20142 echo $ECHO_N "(cached) $ECHO_C" >&6
20144 # See if sys/param.h defines the BYTE_ORDER macro.
20145 cat >conftest.$ac_ext <<_ACEOF
20146 #line $LINENO "configure"
20149 cat confdefs.h >>conftest.$ac_ext
20150 cat >>conftest.$ac_ext <<_ACEOF
20151 /* end confdefs.h. */
20152 #include <sys/types.h>
20153 #include <sys/param.h>
20158 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20159 bogus endian macros
20166 rm -f conftest.$ac_objext
20167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20168 (eval $ac_compile) 2>&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); } &&
20172 { ac_try='test -s conftest.$ac_objext'
20173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20174 (eval $ac_try) 2>&5
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); }; }; then
20178 # It does; now see whether it defined to BIG_ENDIAN or not.
20179 cat >conftest.$ac_ext <<_ACEOF
20180 #line $LINENO "configure"
20183 cat confdefs.h >>conftest.$ac_ext
20184 cat >>conftest.$ac_ext <<_ACEOF
20185 /* end confdefs.h. */
20186 #include <sys/types.h>
20187 #include <sys/param.h>
20192 #if BYTE_ORDER != BIG_ENDIAN
20200 rm -f conftest.$ac_objext
20201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20202 (eval $ac_compile) 2>&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); } &&
20206 { ac_try='test -s conftest.$ac_objext'
20207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20208 (eval $ac_try) 2>&5
20210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20211 (exit $ac_status); }; }; then
20212 ac_cv_c_bigendian=yes
20214 echo "$as_me: failed program was:" >&5
20215 sed 's/^/| /' conftest.$ac_ext >&5
20217 ac_cv_c_bigendian=no
20219 rm -f conftest.$ac_objext conftest.$ac_ext
20221 echo "$as_me: failed program was:" >&5
20222 sed 's/^/| /' conftest.$ac_ext >&5
20224 # It does not; compile a test program.
20225 if test "$cross_compiling" = yes; then
20226 # try to guess the endianness by grepping values into an object file
20227 ac_cv_c_bigendian=unknown
20228 cat >conftest.$ac_ext <<_ACEOF
20229 #line $LINENO "configure"
20232 cat confdefs.h >>conftest.$ac_ext
20233 cat >>conftest.$ac_ext <<_ACEOF
20234 /* end confdefs.h. */
20235 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20236 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20237 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20238 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20239 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20240 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20244 _ascii (); _ebcdic ();
20249 rm -f conftest.$ac_objext
20250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20251 (eval $ac_compile) 2>&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); } &&
20255 { ac_try='test -s conftest.$ac_objext'
20256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20257 (eval $ac_try) 2>&5
20259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20260 (exit $ac_status); }; }; then
20261 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20262 ac_cv_c_bigendian=yes
20264 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20265 if test "$ac_cv_c_bigendian" = unknown; then
20266 ac_cv_c_bigendian=no
20268 # finding both strings is unlikely to happen, but who knows?
20269 ac_cv_c_bigendian=unknown
20273 echo "$as_me: failed program was:" >&5
20274 sed 's/^/| /' conftest.$ac_ext >&5
20277 rm -f conftest.$ac_objext conftest.$ac_ext
20279 cat >conftest.$ac_ext <<_ACEOF
20280 #line $LINENO "configure"
20283 cat confdefs.h >>conftest.$ac_ext
20284 cat >>conftest.$ac_ext <<_ACEOF
20285 /* end confdefs.h. */
20289 /* Are we little or big endian? From Harbison&Steele. */
20293 char c[sizeof (long)];
20296 exit (u.c[sizeof (long) - 1] == 1);
20299 rm -f conftest$ac_exeext
20300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20301 (eval $ac_link) 2>&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20306 (eval $ac_try) 2>&5
20308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309 (exit $ac_status); }; }; then
20310 ac_cv_c_bigendian=no
20312 echo "$as_me: program exited with status $ac_status" >&5
20313 echo "$as_me: failed program was:" >&5
20314 sed 's/^/| /' conftest.$ac_ext >&5
20316 ( exit $ac_status )
20317 ac_cv_c_bigendian=yes
20319 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20322 rm -f conftest.$ac_objext conftest.$ac_ext
20324 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20325 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20326 case $ac_cv_c_bigendian in
20329 cat >>confdefs.h <<\_ACEOF
20335 cat >>confdefs.h <<\_ACEOF
20336 #define ENDIAN_LITTLE
20340 { { echo "$as_me:$LINENO: error: unknown endianness
20341 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20342 echo "$as_me: error: unknown endianness
20343 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20344 { (exit 1); exit 1; }; } ;;
20348 echo "$as_me:$LINENO: checking for pid_t" >&5
20349 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20350 if test "${ac_cv_type_pid_t+set}" = set; then
20351 echo $ECHO_N "(cached) $ECHO_C" >&6
20353 cat >conftest.$ac_ext <<_ACEOF
20354 #line $LINENO "configure"
20357 cat confdefs.h >>conftest.$ac_ext
20358 cat >>conftest.$ac_ext <<_ACEOF
20359 /* end confdefs.h. */
20360 $ac_includes_default
20366 if (sizeof (pid_t))
20372 rm -f conftest.$ac_objext
20373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20374 (eval $ac_compile) 2>&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); } &&
20378 { ac_try='test -s conftest.$ac_objext'
20379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20380 (eval $ac_try) 2>&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); }; }; then
20384 ac_cv_type_pid_t=yes
20386 echo "$as_me: failed program was:" >&5
20387 sed 's/^/| /' conftest.$ac_ext >&5
20389 ac_cv_type_pid_t=no
20391 rm -f conftest.$ac_objext conftest.$ac_ext
20393 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20394 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20395 if test $ac_cv_type_pid_t = yes; then
20399 cat >>confdefs.h <<_ACEOF
20405 echo "$as_me:$LINENO: checking for size_t" >&5
20406 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20407 if test "${ac_cv_type_size_t+set}" = set; then
20408 echo $ECHO_N "(cached) $ECHO_C" >&6
20410 cat >conftest.$ac_ext <<_ACEOF
20411 #line $LINENO "configure"
20414 cat confdefs.h >>conftest.$ac_ext
20415 cat >>conftest.$ac_ext <<_ACEOF
20416 /* end confdefs.h. */
20417 $ac_includes_default
20423 if (sizeof (size_t))
20429 rm -f conftest.$ac_objext
20430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20431 (eval $ac_compile) 2>&5
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); } &&
20435 { ac_try='test -s conftest.$ac_objext'
20436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20437 (eval $ac_try) 2>&5
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); }; }; then
20441 ac_cv_type_size_t=yes
20443 echo "$as_me: failed program was:" >&5
20444 sed 's/^/| /' conftest.$ac_ext >&5
20446 ac_cv_type_size_t=no
20448 rm -f conftest.$ac_objext conftest.$ac_ext
20450 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20451 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20452 if test $ac_cv_type_size_t = yes; then
20456 cat >>confdefs.h <<_ACEOF
20457 #define size_t unsigned
20462 echo "$as_me:$LINENO: checking for int64_t" >&5
20463 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20464 if test "${ac_cv_type_int64_t+set}" = set; then
20465 echo $ECHO_N "(cached) $ECHO_C" >&6
20467 cat >conftest.$ac_ext <<_ACEOF
20468 #line $LINENO "configure"
20471 cat confdefs.h >>conftest.$ac_ext
20472 cat >>conftest.$ac_ext <<_ACEOF
20473 /* end confdefs.h. */
20474 $ac_includes_default
20480 if (sizeof (int64_t))
20486 rm -f conftest.$ac_objext
20487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20488 (eval $ac_compile) 2>&5
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); } &&
20492 { ac_try='test -s conftest.$ac_objext'
20493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20494 (eval $ac_try) 2>&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); }; }; then
20498 ac_cv_type_int64_t=yes
20500 echo "$as_me: failed program was:" >&5
20501 sed 's/^/| /' conftest.$ac_ext >&5
20503 ac_cv_type_int64_t=no
20505 rm -f conftest.$ac_objext conftest.$ac_ext
20507 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20508 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20509 if test $ac_cv_type_int64_t = yes; then
20511 cat >>confdefs.h <<_ACEOF
20512 #define HAVE_INT64_T 1
20517 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20518 echo "$as_me: error: Type int64_t required but not found" >&2;}
20519 { (exit 1); exit 1; }; }
20522 echo "$as_me:$LINENO: checking for uint64_t" >&5
20523 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20524 if test "${ac_cv_type_uint64_t+set}" = set; then
20525 echo $ECHO_N "(cached) $ECHO_C" >&6
20527 cat >conftest.$ac_ext <<_ACEOF
20528 #line $LINENO "configure"
20531 cat confdefs.h >>conftest.$ac_ext
20532 cat >>conftest.$ac_ext <<_ACEOF
20533 /* end confdefs.h. */
20534 $ac_includes_default
20538 if ((uint64_t *) 0)
20540 if (sizeof (uint64_t))
20546 rm -f conftest.$ac_objext
20547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20548 (eval $ac_compile) 2>&5
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); } &&
20552 { ac_try='test -s conftest.$ac_objext'
20553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20554 (eval $ac_try) 2>&5
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); }; }; then
20558 ac_cv_type_uint64_t=yes
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.$ac_ext >&5
20563 ac_cv_type_uint64_t=no
20565 rm -f conftest.$ac_objext conftest.$ac_ext
20567 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20568 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20569 if test $ac_cv_type_uint64_t = yes; then
20571 cat >>confdefs.h <<_ACEOF
20572 #define HAVE_UINT64_T 1
20577 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20578 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20579 { (exit 1); exit 1; }; }
20582 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20583 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20584 if test "${ac_cv_header_time+set}" = set; then
20585 echo $ECHO_N "(cached) $ECHO_C" >&6
20587 cat >conftest.$ac_ext <<_ACEOF
20588 #line $LINENO "configure"
20591 cat confdefs.h >>conftest.$ac_ext
20592 cat >>conftest.$ac_ext <<_ACEOF
20593 /* end confdefs.h. */
20594 #include <sys/types.h>
20595 #include <sys/time.h>
20601 if ((struct tm *) 0)
20607 rm -f conftest.$ac_objext
20608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20609 (eval $ac_compile) 2>&5
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); } &&
20613 { ac_try='test -s conftest.$ac_objext'
20614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20615 (eval $ac_try) 2>&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); }; }; then
20619 ac_cv_header_time=yes
20621 echo "$as_me: failed program was:" >&5
20622 sed 's/^/| /' conftest.$ac_ext >&5
20624 ac_cv_header_time=no
20626 rm -f conftest.$ac_objext conftest.$ac_ext
20628 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20629 echo "${ECHO_T}$ac_cv_header_time" >&6
20630 if test $ac_cv_header_time = yes; then
20632 cat >>confdefs.h <<\_ACEOF
20633 #define TIME_WITH_SYS_TIME 1
20638 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20639 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20640 if test "${ac_cv_struct_tm+set}" = set; then
20641 echo $ECHO_N "(cached) $ECHO_C" >&6
20643 cat >conftest.$ac_ext <<_ACEOF
20644 #line $LINENO "configure"
20647 cat confdefs.h >>conftest.$ac_ext
20648 cat >>conftest.$ac_ext <<_ACEOF
20649 /* end confdefs.h. */
20650 #include <sys/types.h>
20656 struct tm *tp; tp->tm_sec;
20661 rm -f conftest.$ac_objext
20662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20663 (eval $ac_compile) 2>&5
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 (exit $ac_status); } &&
20667 { ac_try='test -s conftest.$ac_objext'
20668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20669 (eval $ac_try) 2>&5
20671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20672 (exit $ac_status); }; }; then
20673 ac_cv_struct_tm=time.h
20675 echo "$as_me: failed program was:" >&5
20676 sed 's/^/| /' conftest.$ac_ext >&5
20678 ac_cv_struct_tm=sys/time.h
20680 rm -f conftest.$ac_objext conftest.$ac_ext
20682 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20683 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20684 if test $ac_cv_struct_tm = sys/time.h; then
20686 cat >>confdefs.h <<\_ACEOF
20687 #define TM_IN_SYS_TIME 1
20697 ac_cpp='$CPP $CPPFLAGS'
20698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20702 if test "$cross_compiling" = yes; then
20703 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20704 See \`config.log' for more details." >&5
20705 echo "$as_me: error: cannot run test program while cross compiling
20706 See \`config.log' for more details." >&2;}
20707 { (exit 1); exit 1; }; }
20709 cat >conftest.$ac_ext <<_ACEOF
20710 #line $LINENO "configure"
20713 cat confdefs.h >>conftest.$ac_ext
20714 cat >>conftest.$ac_ext <<_ACEOF
20715 /* end confdefs.h. */
20717 #include <stdlib.h>
20722 volatile double A, B;
20726 sprintf(Buffer, "%a", A);
20730 if (A != 0x1.999999999999ap-4)
20737 rm -f conftest$ac_exeext
20738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20739 (eval $ac_link) 2>&5
20741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20744 (eval $ac_try) 2>&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); }; }; then
20750 echo "$as_me: program exited with status $ac_status" >&5
20751 echo "$as_me: failed program was:" >&5
20752 sed 's/^/| /' conftest.$ac_ext >&5
20754 ( exit $ac_status )
20757 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20760 ac_cpp='$CPP $CPPFLAGS'
20761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20765 if test "$ac_c_printf_a" = "yes"; then
20767 cat >>confdefs.h <<\_ACEOF
20768 #define HAVE_PRINTF_A 1
20774 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20775 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20776 if test "${ac_cv_cxx_namespaces+set}" = set; then
20777 echo $ECHO_N "(cached) $ECHO_C" >&6
20782 ac_cpp='$CXXCPP $CPPFLAGS'
20783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20787 cat >conftest.$ac_ext <<_ACEOF
20788 #line $LINENO "configure"
20791 cat confdefs.h >>conftest.$ac_ext
20792 cat >>conftest.$ac_ext <<_ACEOF
20793 /* end confdefs.h. */
20794 namespace Outer { namespace Inner { int i = 0; }}
20798 using namespace Outer::Inner; return i;
20803 rm -f conftest.$ac_objext
20804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20805 (eval $ac_compile) 2>&5
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); } &&
20809 { ac_try='test -s conftest.$ac_objext'
20810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20811 (eval $ac_try) 2>&5
20813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814 (exit $ac_status); }; }; then
20815 ac_cv_cxx_namespaces=yes
20817 echo "$as_me: failed program was:" >&5
20818 sed 's/^/| /' conftest.$ac_ext >&5
20820 ac_cv_cxx_namespaces=no
20822 rm -f conftest.$ac_objext conftest.$ac_ext
20824 ac_cpp='$CPP $CPPFLAGS'
20825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20831 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20832 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20833 if test "$ac_cv_cxx_namespaces" = yes; then
20835 cat >>confdefs.h <<\_ACEOF
20836 #define HAVE_NAMESPACES
20841 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20842 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20843 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20844 echo $ECHO_N "(cached) $ECHO_C" >&6
20850 ac_cpp='$CXXCPP $CPPFLAGS'
20851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20855 cat >conftest.$ac_ext <<_ACEOF
20856 #line $LINENO "configure"
20859 cat confdefs.h >>conftest.$ac_ext
20860 cat >>conftest.$ac_ext <<_ACEOF
20861 /* end confdefs.h. */
20862 #include <ext/hash_map>
20863 #ifdef HAVE_NAMESPACES
20864 using namespace std;
20869 hash_map<int, int> t; return 0;
20874 rm -f conftest.$ac_objext
20875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20876 (eval $ac_compile) 2>&5
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); } &&
20880 { ac_try='test -s conftest.$ac_objext'
20881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20882 (eval $ac_try) 2>&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); }; }; then
20886 ac_cv_cxx_have_ext_hash_map=std
20888 echo "$as_me: failed program was:" >&5
20889 sed 's/^/| /' conftest.$ac_ext >&5
20891 ac_cv_cxx_have_ext_hash_map=no
20893 rm -f conftest.$ac_objext conftest.$ac_ext
20894 cat >conftest.$ac_ext <<_ACEOF
20895 #line $LINENO "configure"
20898 cat confdefs.h >>conftest.$ac_ext
20899 cat >>conftest.$ac_ext <<_ACEOF
20900 /* end confdefs.h. */
20901 #include <ext/hash_map>
20902 #ifdef HAVE_NAMESPACES
20903 using namespace __gnu_cxx;
20908 hash_map<int, int> t; return 0;
20913 rm -f conftest.$ac_objext
20914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20915 (eval $ac_compile) 2>&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); } &&
20919 { ac_try='test -s conftest.$ac_objext'
20920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20921 (eval $ac_try) 2>&5
20923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924 (exit $ac_status); }; }; then
20925 ac_cv_cxx_have_ext_hash_map=gnu
20927 echo "$as_me: failed program was:" >&5
20928 sed 's/^/| /' conftest.$ac_ext >&5
20930 ac_cv_cxx_have_ext_hash_map=no
20932 rm -f conftest.$ac_objext conftest.$ac_ext
20934 ac_cpp='$CPP $CPPFLAGS'
20935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20941 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20942 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20943 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20945 cat >>confdefs.h <<\_ACEOF
20946 #define HAVE_STD_EXT_HASH_MAP
20950 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20952 cat >>confdefs.h <<\_ACEOF
20953 #define HAVE_GNU_EXT_HASH_MAP
20958 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20959 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20960 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20961 echo $ECHO_N "(cached) $ECHO_C" >&6
20967 ac_cpp='$CXXCPP $CPPFLAGS'
20968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20972 cat >conftest.$ac_ext <<_ACEOF
20973 #line $LINENO "configure"
20976 cat confdefs.h >>conftest.$ac_ext
20977 cat >>conftest.$ac_ext <<_ACEOF
20978 /* end confdefs.h. */
20979 #include <ext/hash_set>
20980 #ifdef HAVE_NAMESPACES
20981 using namespace std;
20986 hash_set<int> t; return 0;
20991 rm -f conftest.$ac_objext
20992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20993 (eval $ac_compile) 2>&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); } &&
20997 { ac_try='test -s conftest.$ac_objext'
20998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20999 (eval $ac_try) 2>&5
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); }; }; then
21003 ac_cv_cxx_have_ext_hash_set=std
21005 echo "$as_me: failed program was:" >&5
21006 sed 's/^/| /' conftest.$ac_ext >&5
21008 ac_cv_cxx_have_ext_hash_set=no
21010 rm -f conftest.$ac_objext conftest.$ac_ext
21011 cat >conftest.$ac_ext <<_ACEOF
21012 #line $LINENO "configure"
21015 cat confdefs.h >>conftest.$ac_ext
21016 cat >>conftest.$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21018 #include <ext/hash_set>
21019 #ifdef HAVE_NAMESPACES
21020 using namespace __gnu_cxx;
21025 hash_set<int> t; return 0;
21030 rm -f conftest.$ac_objext
21031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21032 (eval $ac_compile) 2>&5
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); } &&
21036 { ac_try='test -s conftest.$ac_objext'
21037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21038 (eval $ac_try) 2>&5
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); }; }; then
21042 ac_cv_cxx_have_ext_hash_set=gnu
21044 echo "$as_me: failed program was:" >&5
21045 sed 's/^/| /' conftest.$ac_ext >&5
21047 ac_cv_cxx_have_ext_hash_set=no
21049 rm -f conftest.$ac_objext conftest.$ac_ext
21051 ac_cpp='$CPP $CPPFLAGS'
21052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21058 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
21059 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
21060 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
21062 cat >>confdefs.h <<\_ACEOF
21063 #define HAVE_STD_EXT_HASH_SET
21067 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
21069 cat >>confdefs.h <<\_ACEOF
21070 #define HAVE_GNU_EXT_HASH_SET
21075 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
21076 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
21077 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
21078 echo $ECHO_N "(cached) $ECHO_C" >&6
21084 ac_cpp='$CXXCPP $CPPFLAGS'
21085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21089 cat >conftest.$ac_ext <<_ACEOF
21090 #line $LINENO "configure"
21093 cat confdefs.h >>conftest.$ac_ext
21094 cat >>conftest.$ac_ext <<_ACEOF
21095 /* end confdefs.h. */
21096 #include <ext/slist>
21097 #ifdef HAVE_NAMESPACES
21098 using namespace std;
21103 slist<int> s; return 0;
21108 rm -f conftest.$ac_objext
21109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21110 (eval $ac_compile) 2>&5
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); } &&
21114 { ac_try='test -s conftest.$ac_objext'
21115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21116 (eval $ac_try) 2>&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); }; }; then
21120 ac_cv_cxx_have_ext_slist=std
21122 echo "$as_me: failed program was:" >&5
21123 sed 's/^/| /' conftest.$ac_ext >&5
21125 ac_cv_cxx_have_ext_slist=no
21127 rm -f conftest.$ac_objext conftest.$ac_ext
21128 cat >conftest.$ac_ext <<_ACEOF
21129 #line $LINENO "configure"
21132 cat confdefs.h >>conftest.$ac_ext
21133 cat >>conftest.$ac_ext <<_ACEOF
21134 /* end confdefs.h. */
21135 #include <ext/slist>
21136 #ifdef HAVE_NAMESPACES
21137 using namespace __gnu_cxx;
21142 slist<int> s; return 0;
21147 rm -f conftest.$ac_objext
21148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21149 (eval $ac_compile) 2>&5
21151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152 (exit $ac_status); } &&
21153 { ac_try='test -s conftest.$ac_objext'
21154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21155 (eval $ac_try) 2>&5
21157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158 (exit $ac_status); }; }; then
21159 ac_cv_cxx_have_ext_slist=gnu
21161 echo "$as_me: failed program was:" >&5
21162 sed 's/^/| /' conftest.$ac_ext >&5
21164 ac_cv_cxx_have_ext_slist=no
21166 rm -f conftest.$ac_objext conftest.$ac_ext
21169 ac_cpp='$CPP $CPPFLAGS'
21170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21176 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21177 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21178 if test "$ac_cv_cxx_have_ext_slist" = std; then
21180 cat >>confdefs.h <<\_ACEOF
21181 #define HAVE_EXT_SLIST std
21185 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21187 cat >>confdefs.h <<\_ACEOF
21188 #define HAVE_EXT_SLIST gnu
21193 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21194 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21195 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21196 echo $ECHO_N "(cached) $ECHO_C" >&6
21202 ac_cpp='$CXXCPP $CPPFLAGS'
21203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21207 cat >conftest.$ac_ext <<_ACEOF
21208 #line $LINENO "configure"
21211 cat confdefs.h >>conftest.$ac_ext
21212 cat >>conftest.$ac_ext <<_ACEOF
21213 /* end confdefs.h. */
21214 #include <iterator>
21215 #ifdef HAVE_NAMESPACES
21216 using namespace std;
21221 iterator<int,int,int> t; return 0;
21226 rm -f conftest.$ac_objext
21227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21228 (eval $ac_compile) 2>&5
21230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21231 (exit $ac_status); } &&
21232 { ac_try='test -s conftest.$ac_objext'
21233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21234 (eval $ac_try) 2>&5
21236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237 (exit $ac_status); }; }; then
21238 ac_cv_cxx_have_std_iterator=yes
21240 echo "$as_me: failed program was:" >&5
21241 sed 's/^/| /' conftest.$ac_ext >&5
21243 ac_cv_cxx_have_std_iterator=no
21245 rm -f conftest.$ac_objext conftest.$ac_ext
21247 ac_cpp='$CPP $CPPFLAGS'
21248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21254 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21255 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21256 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21258 cat >>confdefs.h <<\_ACEOF
21259 #define HAVE_STD_ITERATOR
21264 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21265 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21266 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21267 echo $ECHO_N "(cached) $ECHO_C" >&6
21273 ac_cpp='$CXXCPP $CPPFLAGS'
21274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21278 cat >conftest.$ac_ext <<_ACEOF
21279 #line $LINENO "configure"
21282 cat confdefs.h >>conftest.$ac_ext
21283 cat >>conftest.$ac_ext <<_ACEOF
21284 /* end confdefs.h. */
21285 #include <iterator>
21286 #ifdef HAVE_NAMESPACES
21287 using namespace std;
21292 bidirectional_iterator<int,int> t; return 0;
21297 rm -f conftest.$ac_objext
21298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21299 (eval $ac_compile) 2>&5
21301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21302 (exit $ac_status); } &&
21303 { ac_try='test -s conftest.$ac_objext'
21304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21305 (eval $ac_try) 2>&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); }; }; then
21309 ac_cv_cxx_have_bi_iterator=yes
21311 echo "$as_me: failed program was:" >&5
21312 sed 's/^/| /' conftest.$ac_ext >&5
21314 ac_cv_cxx_have_bi_iterator=no
21316 rm -f conftest.$ac_objext conftest.$ac_ext
21318 ac_cpp='$CPP $CPPFLAGS'
21319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21325 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21326 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21327 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21329 cat >>confdefs.h <<\_ACEOF
21330 #define HAVE_BI_ITERATOR
21335 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21336 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21337 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21338 echo $ECHO_N "(cached) $ECHO_C" >&6
21344 ac_cpp='$CXXCPP $CPPFLAGS'
21345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21349 cat >conftest.$ac_ext <<_ACEOF
21350 #line $LINENO "configure"
21353 cat confdefs.h >>conftest.$ac_ext
21354 cat >>conftest.$ac_ext <<_ACEOF
21355 /* end confdefs.h. */
21356 #include <iterator>
21357 #ifdef HAVE_NAMESPACES
21358 using namespace std;
21363 forward_iterator<int,int> t; return 0;
21368 rm -f conftest.$ac_objext
21369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21370 (eval $ac_compile) 2>&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); } &&
21374 { ac_try='test -s conftest.$ac_objext'
21375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21376 (eval $ac_try) 2>&5
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); }; }; then
21380 ac_cv_cxx_have_fwd_iterator=yes
21382 echo "$as_me: failed program was:" >&5
21383 sed 's/^/| /' conftest.$ac_ext >&5
21385 ac_cv_cxx_have_fwd_iterator=no
21387 rm -f conftest.$ac_objext conftest.$ac_ext
21389 ac_cpp='$CPP $CPPFLAGS'
21390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21396 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21397 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21398 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21400 cat >>confdefs.h <<\_ACEOF
21401 #define HAVE_FWD_ITERATOR
21407 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21408 # for constant arguments. Useless!
21409 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21410 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21411 if test "${ac_cv_working_alloca_h+set}" = set; then
21412 echo $ECHO_N "(cached) $ECHO_C" >&6
21414 cat >conftest.$ac_ext <<_ACEOF
21415 #line $LINENO "configure"
21418 cat confdefs.h >>conftest.$ac_ext
21419 cat >>conftest.$ac_ext <<_ACEOF
21420 /* end confdefs.h. */
21421 #include <alloca.h>
21425 char *p = (char *) alloca (2 * sizeof (int));
21430 rm -f conftest.$ac_objext conftest$ac_exeext
21431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21432 (eval $ac_link) 2>&5
21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435 (exit $ac_status); } &&
21436 { ac_try='test -s conftest$ac_exeext'
21437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21438 (eval $ac_try) 2>&5
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); }; }; then
21442 ac_cv_working_alloca_h=yes
21444 echo "$as_me: failed program was:" >&5
21445 sed 's/^/| /' conftest.$ac_ext >&5
21447 ac_cv_working_alloca_h=no
21449 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21451 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21452 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21453 if test $ac_cv_working_alloca_h = yes; then
21455 cat >>confdefs.h <<\_ACEOF
21456 #define HAVE_ALLOCA_H 1
21461 echo "$as_me:$LINENO: checking for alloca" >&5
21462 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21463 if test "${ac_cv_func_alloca_works+set}" = set; then
21464 echo $ECHO_N "(cached) $ECHO_C" >&6
21466 cat >conftest.$ac_ext <<_ACEOF
21467 #line $LINENO "configure"
21470 cat confdefs.h >>conftest.$ac_ext
21471 cat >>conftest.$ac_ext <<_ACEOF
21472 /* end confdefs.h. */
21474 # define alloca __builtin_alloca
21477 # include <malloc.h>
21478 # define alloca _alloca
21481 # include <alloca.h>
21486 # ifndef alloca /* predefined by HP cc +Olibcalls */
21497 char *p = (char *) alloca (1);
21502 rm -f conftest.$ac_objext conftest$ac_exeext
21503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21504 (eval $ac_link) 2>&5
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); } &&
21508 { ac_try='test -s conftest$ac_exeext'
21509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21510 (eval $ac_try) 2>&5
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); }; }; then
21514 ac_cv_func_alloca_works=yes
21516 echo "$as_me: failed program was:" >&5
21517 sed 's/^/| /' conftest.$ac_ext >&5
21519 ac_cv_func_alloca_works=no
21521 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21523 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21524 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21526 if test $ac_cv_func_alloca_works = yes; then
21528 cat >>confdefs.h <<\_ACEOF
21529 #define HAVE_ALLOCA 1
21533 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21534 # that cause trouble. Some versions do not even contain alloca or
21535 # contain a buggy version. If you still want to use their alloca,
21536 # use ar to extract alloca.o from them instead of compiling alloca.c.
21538 ALLOCA=alloca.$ac_objext
21540 cat >>confdefs.h <<\_ACEOF
21545 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21546 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21547 if test "${ac_cv_os_cray+set}" = set; then
21548 echo $ECHO_N "(cached) $ECHO_C" >&6
21550 cat >conftest.$ac_ext <<_ACEOF
21551 #line $LINENO "configure"
21554 cat confdefs.h >>conftest.$ac_ext
21555 cat >>conftest.$ac_ext <<_ACEOF
21556 /* end confdefs.h. */
21557 #if defined(CRAY) && ! defined(CRAY2)
21564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21565 $EGREP "webecray" >/dev/null 2>&1; then
21573 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21574 echo "${ECHO_T}$ac_cv_os_cray" >&6
21575 if test $ac_cv_os_cray = yes; then
21576 for ac_func in _getb67 GETB67 getb67; do
21577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21578 echo "$as_me:$LINENO: checking for $ac_func" >&5
21579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21580 if eval "test \"\${$as_ac_var+set}\" = set"; then
21581 echo $ECHO_N "(cached) $ECHO_C" >&6
21583 cat >conftest.$ac_ext <<_ACEOF
21584 #line $LINENO "configure"
21587 cat confdefs.h >>conftest.$ac_ext
21588 cat >>conftest.$ac_ext <<_ACEOF
21589 /* end confdefs.h. */
21590 /* System header to define __stub macros and hopefully few prototypes,
21591 which can conflict with char $ac_func (); below.
21592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21593 <limits.h> exists even on freestanding compilers. */
21595 # include <limits.h>
21597 # include <assert.h>
21599 /* Override any gcc2 internal prototype to avoid an error. */
21604 /* We use char because int might match the return type of a gcc2
21605 builtin and then its argument prototype would still apply. */
21607 /* The GNU C library defines this for functions which it implements
21608 to always fail with ENOSYS. Some functions are actually named
21609 something starting with __ and the normal name is an alias. */
21610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21613 char (*f) () = $ac_func;
21622 return f != $ac_func;
21627 rm -f conftest.$ac_objext conftest$ac_exeext
21628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21629 (eval $ac_link) 2>&5
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); } &&
21633 { ac_try='test -s conftest$ac_exeext'
21634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21635 (eval $ac_try) 2>&5
21637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638 (exit $ac_status); }; }; then
21639 eval "$as_ac_var=yes"
21641 echo "$as_me: failed program was:" >&5
21642 sed 's/^/| /' conftest.$ac_ext >&5
21644 eval "$as_ac_var=no"
21646 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21650 if test `eval echo '${'$as_ac_var'}'` = yes; then
21652 cat >>confdefs.h <<_ACEOF
21653 #define CRAY_STACKSEG_END $ac_func
21662 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21663 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21664 if test "${ac_cv_c_stack_direction+set}" = set; then
21665 echo $ECHO_N "(cached) $ECHO_C" >&6
21667 if test "$cross_compiling" = yes; then
21668 ac_cv_c_stack_direction=0
21670 cat >conftest.$ac_ext <<_ACEOF
21671 #line $LINENO "configure"
21674 cat confdefs.h >>conftest.$ac_ext
21675 cat >>conftest.$ac_ext <<_ACEOF
21676 /* end confdefs.h. */
21678 find_stack_direction ()
21680 static char *addr = 0;
21685 return find_stack_direction ();
21688 return (&dummy > addr) ? 1 : -1;
21694 exit (find_stack_direction () < 0);
21697 rm -f conftest$ac_exeext
21698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21699 (eval $ac_link) 2>&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21704 (eval $ac_try) 2>&5
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); }; }; then
21708 ac_cv_c_stack_direction=1
21710 echo "$as_me: program exited with status $ac_status" >&5
21711 echo "$as_me: failed program was:" >&5
21712 sed 's/^/| /' conftest.$ac_ext >&5
21714 ( exit $ac_status )
21715 ac_cv_c_stack_direction=-1
21717 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21720 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21721 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21723 cat >>confdefs.h <<_ACEOF
21724 #define STACK_DIRECTION $ac_cv_c_stack_direction
21730 if test $ac_cv_c_compiler_gnu = yes; then
21731 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21732 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21733 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21734 echo $ECHO_N "(cached) $ECHO_C" >&6
21736 ac_pattern="Autoconf.*'x'"
21737 cat >conftest.$ac_ext <<_ACEOF
21738 #line $LINENO "configure"
21741 cat confdefs.h >>conftest.$ac_ext
21742 cat >>conftest.$ac_ext <<_ACEOF
21743 /* end confdefs.h. */
21747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21748 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21749 ac_cv_prog_gcc_traditional=yes
21751 ac_cv_prog_gcc_traditional=no
21756 if test $ac_cv_prog_gcc_traditional = no; then
21757 cat >conftest.$ac_ext <<_ACEOF
21758 #line $LINENO "configure"
21761 cat confdefs.h >>conftest.$ac_ext
21762 cat >>conftest.$ac_ext <<_ACEOF
21763 /* end confdefs.h. */
21764 #include <termio.h>
21767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21768 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21769 ac_cv_prog_gcc_traditional=yes
21775 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21776 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21777 if test $ac_cv_prog_gcc_traditional = yes; then
21778 CC="$CC -traditional"
21782 echo "$as_me:$LINENO: checking for working memcmp" >&5
21783 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21784 if test "${ac_cv_func_memcmp_working+set}" = set; then
21785 echo $ECHO_N "(cached) $ECHO_C" >&6
21787 if test "$cross_compiling" = yes; then
21788 ac_cv_func_memcmp_working=no
21790 cat >conftest.$ac_ext <<_ACEOF
21791 #line $LINENO "configure"
21794 cat confdefs.h >>conftest.$ac_ext
21795 cat >>conftest.$ac_ext <<_ACEOF
21796 /* end confdefs.h. */
21802 /* Some versions of memcmp are not 8-bit clean. */
21803 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21804 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21807 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21808 or more and with at least one buffer not starting on a 4-byte boundary.
21809 William Lewis provided this test program. */
21814 for (i = 0; i < 4; i++)
21818 strcpy (a, "--------01111111");
21819 strcpy (b, "--------10000000");
21820 if (memcmp (a, b, 16) >= 0)
21830 rm -f conftest$ac_exeext
21831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21832 (eval $ac_link) 2>&5
21834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21835 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21837 (eval $ac_try) 2>&5
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); }; }; then
21841 ac_cv_func_memcmp_working=yes
21843 echo "$as_me: program exited with status $ac_status" >&5
21844 echo "$as_me: failed program was:" >&5
21845 sed 's/^/| /' conftest.$ac_ext >&5
21847 ( exit $ac_status )
21848 ac_cv_func_memcmp_working=no
21850 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21853 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21854 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21855 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21859 for ac_header in stdlib.h unistd.h
21861 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21863 echo "$as_me:$LINENO: checking for $ac_header" >&5
21864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21866 echo $ECHO_N "(cached) $ECHO_C" >&6
21868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21871 # Is the header compilable?
21872 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21873 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21874 cat >conftest.$ac_ext <<_ACEOF
21875 #line $LINENO "configure"
21878 cat confdefs.h >>conftest.$ac_ext
21879 cat >>conftest.$ac_ext <<_ACEOF
21880 /* end confdefs.h. */
21881 $ac_includes_default
21882 #include <$ac_header>
21884 rm -f conftest.$ac_objext
21885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21886 (eval $ac_compile) 2>&5
21888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889 (exit $ac_status); } &&
21890 { ac_try='test -s conftest.$ac_objext'
21891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21892 (eval $ac_try) 2>&5
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); }; }; then
21896 ac_header_compiler=yes
21898 echo "$as_me: failed program was:" >&5
21899 sed 's/^/| /' conftest.$ac_ext >&5
21901 ac_header_compiler=no
21903 rm -f conftest.$ac_objext conftest.$ac_ext
21904 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21905 echo "${ECHO_T}$ac_header_compiler" >&6
21907 # Is the header present?
21908 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21909 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21910 cat >conftest.$ac_ext <<_ACEOF
21911 #line $LINENO "configure"
21914 cat confdefs.h >>conftest.$ac_ext
21915 cat >>conftest.$ac_ext <<_ACEOF
21916 /* end confdefs.h. */
21917 #include <$ac_header>
21919 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21920 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21922 grep -v '^ *+' conftest.er1 >conftest.err
21924 cat conftest.err >&5
21925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21926 (exit $ac_status); } >/dev/null; then
21927 if test -s conftest.err; then
21928 ac_cpp_err=$ac_c_preproc_warn_flag
21935 if test -z "$ac_cpp_err"; then
21936 ac_header_preproc=yes
21938 echo "$as_me: failed program was:" >&5
21939 sed 's/^/| /' conftest.$ac_ext >&5
21941 ac_header_preproc=no
21943 rm -f conftest.err conftest.$ac_ext
21944 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21945 echo "${ECHO_T}$ac_header_preproc" >&6
21947 # So? What about this header?
21948 case $ac_header_compiler:$ac_header_preproc in
21950 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21951 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21953 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21956 ## ------------------------------------ ##
21957 ## Report this to bug-autoconf@gnu.org. ##
21958 ## ------------------------------------ ##
21961 sed "s/^/$as_me: WARNING: /" >&2
21964 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21965 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21966 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21967 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21969 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21972 ## ------------------------------------ ##
21973 ## Report this to bug-autoconf@gnu.org. ##
21974 ## ------------------------------------ ##
21977 sed "s/^/$as_me: WARNING: /" >&2
21980 echo "$as_me:$LINENO: checking for $ac_header" >&5
21981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21983 echo $ECHO_N "(cached) $ECHO_C" >&6
21985 eval "$as_ac_Header=$ac_header_preproc"
21987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21988 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21991 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21992 cat >>confdefs.h <<_ACEOF
21993 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22001 for ac_func in getpagesize
22003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22004 echo "$as_me:$LINENO: checking for $ac_func" >&5
22005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22006 if eval "test \"\${$as_ac_var+set}\" = set"; then
22007 echo $ECHO_N "(cached) $ECHO_C" >&6
22009 cat >conftest.$ac_ext <<_ACEOF
22010 #line $LINENO "configure"
22013 cat confdefs.h >>conftest.$ac_ext
22014 cat >>conftest.$ac_ext <<_ACEOF
22015 /* end confdefs.h. */
22016 /* System header to define __stub macros and hopefully few prototypes,
22017 which can conflict with char $ac_func (); below.
22018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22019 <limits.h> exists even on freestanding compilers. */
22021 # include <limits.h>
22023 # include <assert.h>
22025 /* Override any gcc2 internal prototype to avoid an error. */
22030 /* We use char because int might match the return type of a gcc2
22031 builtin and then its argument prototype would still apply. */
22033 /* The GNU C library defines this for functions which it implements
22034 to always fail with ENOSYS. Some functions are actually named
22035 something starting with __ and the normal name is an alias. */
22036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22039 char (*f) () = $ac_func;
22048 return f != $ac_func;
22053 rm -f conftest.$ac_objext conftest$ac_exeext
22054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22055 (eval $ac_link) 2>&5
22057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22058 (exit $ac_status); } &&
22059 { ac_try='test -s conftest$ac_exeext'
22060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22061 (eval $ac_try) 2>&5
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); }; }; then
22065 eval "$as_ac_var=yes"
22067 echo "$as_me: failed program was:" >&5
22068 sed 's/^/| /' conftest.$ac_ext >&5
22070 eval "$as_ac_var=no"
22072 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22076 if test `eval echo '${'$as_ac_var'}'` = yes; then
22077 cat >>confdefs.h <<_ACEOF
22078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22084 echo "$as_me:$LINENO: checking for working mmap" >&5
22085 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22086 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22087 echo $ECHO_N "(cached) $ECHO_C" >&6
22089 if test "$cross_compiling" = yes; then
22090 ac_cv_func_mmap_fixed_mapped=no
22092 cat >conftest.$ac_ext <<_ACEOF
22093 #line $LINENO "configure"
22096 cat confdefs.h >>conftest.$ac_ext
22097 cat >>conftest.$ac_ext <<_ACEOF
22098 /* end confdefs.h. */
22099 $ac_includes_default
22100 /* malloc might have been renamed as rpl_malloc. */
22103 /* Thanks to Mike Haertel and Jim Avera for this test.
22104 Here is a matrix of mmap possibilities:
22105 mmap private not fixed
22106 mmap private fixed at somewhere currently unmapped
22107 mmap private fixed at somewhere already mapped
22108 mmap shared not fixed
22109 mmap shared fixed at somewhere currently unmapped
22110 mmap shared fixed at somewhere already mapped
22111 For private mappings, we should verify that changes cannot be read()
22112 back from the file, nor mmap's back from the file at a different
22113 address. (There have been systems where private was not correctly
22114 implemented like the infamous i386 svr4.0, and systems where the
22115 VM page cache was not coherent with the file system buffer cache
22116 like early versions of FreeBSD and possibly contemporary NetBSD.)
22117 For shared mappings, we should conversely verify that changes get
22118 propagated back to all the places they're supposed to be.
22120 Grep wants private fixed already mapped.
22121 The main things grep needs to know about mmap are:
22122 * does it exist and is it safe to write into the mmap'd area
22123 * how to use it (BSD variants) */
22126 #include <sys/mman.h>
22128 #if !STDC_HEADERS && !HAVE_STDLIB_H
22132 /* This mess was copied from the GNU getpagesize.h. */
22133 #if !HAVE_GETPAGESIZE
22134 /* Assume that all systems that can run configure have sys/param.h. */
22135 # if !HAVE_SYS_PARAM_H
22136 # define HAVE_SYS_PARAM_H 1
22139 # ifdef _SC_PAGESIZE
22140 # define getpagesize() sysconf(_SC_PAGESIZE)
22141 # else /* no _SC_PAGESIZE */
22142 # if HAVE_SYS_PARAM_H
22143 # include <sys/param.h>
22144 # ifdef EXEC_PAGESIZE
22145 # define getpagesize() EXEC_PAGESIZE
22146 # else /* no EXEC_PAGESIZE */
22148 # define getpagesize() NBPG * CLSIZE
22151 # endif /* no CLSIZE */
22152 # else /* no NBPG */
22154 # define getpagesize() NBPC
22155 # else /* no NBPC */
22157 # define getpagesize() PAGESIZE
22158 # endif /* PAGESIZE */
22159 # endif /* no NBPC */
22160 # endif /* no NBPG */
22161 # endif /* no EXEC_PAGESIZE */
22162 # else /* no HAVE_SYS_PARAM_H */
22163 # define getpagesize() 8192 /* punt totally */
22164 # endif /* no HAVE_SYS_PARAM_H */
22165 # endif /* no _SC_PAGESIZE */
22167 #endif /* no HAVE_GETPAGESIZE */
22172 char *data, *data2, *data3;
22176 pagesize = getpagesize ();
22178 /* First, make a file with some known garbage in it. */
22179 data = (char *) malloc (pagesize);
22182 for (i = 0; i < pagesize; ++i)
22183 *(data + i) = rand ();
22185 fd = creat ("conftest.mmap", 0600);
22188 if (write (fd, data, pagesize) != pagesize)
22192 /* Next, try to mmap the file at a fixed address which already has
22193 something else allocated at it. If we can, also make sure that
22194 we see the same garbage. */
22195 fd = open ("conftest.mmap", O_RDWR);
22198 data2 = (char *) malloc (2 * pagesize);
22201 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22202 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22203 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22205 for (i = 0; i < pagesize; ++i)
22206 if (*(data + i) != *(data2 + i))
22209 /* Finally, make sure that changes to the mapped area do not
22210 percolate back to the file as seen by read(). (This is a bug on
22211 some variants of i386 svr4.0.) */
22212 for (i = 0; i < pagesize; ++i)
22213 *(data2 + i) = *(data2 + i) + 1;
22214 data3 = (char *) malloc (pagesize);
22217 if (read (fd, data3, pagesize) != pagesize)
22219 for (i = 0; i < pagesize; ++i)
22220 if (*(data + i) != *(data3 + i))
22226 rm -f conftest$ac_exeext
22227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22228 (eval $ac_link) 2>&5
22230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22231 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22233 (eval $ac_try) 2>&5
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); }; }; then
22237 ac_cv_func_mmap_fixed_mapped=yes
22239 echo "$as_me: program exited with status $ac_status" >&5
22240 echo "$as_me: failed program was:" >&5
22241 sed 's/^/| /' conftest.$ac_ext >&5
22243 ( exit $ac_status )
22244 ac_cv_func_mmap_fixed_mapped=no
22246 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22249 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22250 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22251 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22253 cat >>confdefs.h <<\_ACEOF
22254 #define HAVE_MMAP 1
22258 rm -f conftest.mmap
22260 echo "$as_me:$LINENO: checking for mmap of files" >&5
22261 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22262 if test "${ac_cv_func_mmap_file+set}" = set; then
22263 echo $ECHO_N "(cached) $ECHO_C" >&6
22268 ac_cpp='$CPP $CPPFLAGS'
22269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22273 if test "$cross_compiling" = yes; then
22274 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22275 See \`config.log' for more details." >&5
22276 echo "$as_me: error: cannot run test program while cross compiling
22277 See \`config.log' for more details." >&2;}
22278 { (exit 1); exit 1; }; }
22280 cat >conftest.$ac_ext <<_ACEOF
22281 #line $LINENO "configure"
22284 cat confdefs.h >>conftest.$ac_ext
22285 cat >>conftest.$ac_ext <<_ACEOF
22286 /* end confdefs.h. */
22288 #ifdef HAVE_SYS_TYPES_H
22289 #include <sys/types.h>
22292 #ifdef HAVE_SYS_MMAN_H
22293 #include <sys/mman.h>
22296 #ifdef HAVE_FCNTL_H
22302 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != (int) MAP_FAILED);}
22304 rm -f conftest$ac_exeext
22305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22306 (eval $ac_link) 2>&5
22308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22311 (eval $ac_try) 2>&5
22313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314 (exit $ac_status); }; }; then
22315 ac_cv_func_mmap_file=yes
22317 echo "$as_me: program exited with status $ac_status" >&5
22318 echo "$as_me: failed program was:" >&5
22319 sed 's/^/| /' conftest.$ac_ext >&5
22321 ( exit $ac_status )
22322 ac_cv_func_mmap_file=no
22324 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22327 ac_cpp='$CPP $CPPFLAGS'
22328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22334 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22335 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22336 if test "$ac_cv_func_mmap_file" = yes; then
22338 cat >>confdefs.h <<\_ACEOF
22339 #define HAVE_MMAP_FILE
22346 if test ${ac_cv_func_mmap_file} = "no"
22348 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22349 echo "$as_me: error: mmap() of files required but not found" >&2;}
22350 { (exit 1); exit 1; }; }
22352 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22353 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22354 if test "${ac_cv_header_mmap_anon+set}" = set; then
22355 echo $ECHO_N "(cached) $ECHO_C" >&6
22360 ac_cpp='$CPP $CPPFLAGS'
22361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22365 cat >conftest.$ac_ext <<_ACEOF
22366 #line $LINENO "configure"
22369 cat confdefs.h >>conftest.$ac_ext
22370 cat >>conftest.$ac_ext <<_ACEOF
22371 /* end confdefs.h. */
22372 #include <sys/mman.h>
22373 #include <unistd.h>
22378 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22383 rm -f conftest.$ac_objext
22384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22385 (eval $ac_compile) 2>&5
22387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22388 (exit $ac_status); } &&
22389 { ac_try='test -s conftest.$ac_objext'
22390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22391 (eval $ac_try) 2>&5
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22394 (exit $ac_status); }; }; then
22395 ac_cv_header_mmap_anon=yes
22397 echo "$as_me: failed program was:" >&5
22398 sed 's/^/| /' conftest.$ac_ext >&5
22400 ac_cv_header_mmap_anon=no
22402 rm -f conftest.$ac_objext conftest.$ac_ext
22404 ac_cpp='$CPP $CPPFLAGS'
22405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22411 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22412 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22413 if test "$ac_cv_header_mmap_anon" = yes; then
22415 cat >>confdefs.h <<\_ACEOF
22416 #define HAVE_MMAP_ANONYMOUS
22421 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22422 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22423 if test "${ac_cv_type_signal+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 #include <sys/types.h>
22434 #include <signal.h>
22439 extern "C" void (*signal (int, void (*)(int)))(int);
22441 void (*signal ()) ();
22452 rm -f conftest.$ac_objext
22453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22454 (eval $ac_compile) 2>&5
22456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22457 (exit $ac_status); } &&
22458 { ac_try='test -s conftest.$ac_objext'
22459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22460 (eval $ac_try) 2>&5
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); }; }; then
22464 ac_cv_type_signal=void
22466 echo "$as_me: failed program was:" >&5
22467 sed 's/^/| /' conftest.$ac_ext >&5
22469 ac_cv_type_signal=int
22471 rm -f conftest.$ac_objext conftest.$ac_ext
22473 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22474 echo "${ECHO_T}$ac_cv_type_signal" >&6
22476 cat >>confdefs.h <<_ACEOF
22477 #define RETSIGTYPE $ac_cv_type_signal
22492 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol strtoq strtoll
22494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22495 echo "$as_me:$LINENO: checking for $ac_func" >&5
22496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22497 if eval "test \"\${$as_ac_var+set}\" = set"; then
22498 echo $ECHO_N "(cached) $ECHO_C" >&6
22500 cat >conftest.$ac_ext <<_ACEOF
22501 #line $LINENO "configure"
22504 cat confdefs.h >>conftest.$ac_ext
22505 cat >>conftest.$ac_ext <<_ACEOF
22506 /* end confdefs.h. */
22507 /* System header to define __stub macros and hopefully few prototypes,
22508 which can conflict with char $ac_func (); below.
22509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22510 <limits.h> exists even on freestanding compilers. */
22512 # include <limits.h>
22514 # include <assert.h>
22516 /* Override any gcc2 internal prototype to avoid an error. */
22521 /* We use char because int might match the return type of a gcc2
22522 builtin and then its argument prototype would still apply. */
22524 /* The GNU C library defines this for functions which it implements
22525 to always fail with ENOSYS. Some functions are actually named
22526 something starting with __ and the normal name is an alias. */
22527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22530 char (*f) () = $ac_func;
22539 return f != $ac_func;
22544 rm -f conftest.$ac_objext conftest$ac_exeext
22545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22546 (eval $ac_link) 2>&5
22548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22549 (exit $ac_status); } &&
22550 { ac_try='test -s conftest$ac_exeext'
22551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22552 (eval $ac_try) 2>&5
22554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22555 (exit $ac_status); }; }; then
22556 eval "$as_ac_var=yes"
22558 echo "$as_me: failed program was:" >&5
22559 sed 's/^/| /' conftest.$ac_ext >&5
22561 eval "$as_ac_var=no"
22563 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22567 if test `eval echo '${'$as_ac_var'}'` = yes; then
22568 cat >>confdefs.h <<_ACEOF
22569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22577 echo "$as_me:$LINENO: checking for mmap" >&5
22578 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22579 if test "${ac_cv_func_mmap+set}" = set; then
22580 echo $ECHO_N "(cached) $ECHO_C" >&6
22582 cat >conftest.$ac_ext <<_ACEOF
22583 #line $LINENO "configure"
22586 cat confdefs.h >>conftest.$ac_ext
22587 cat >>conftest.$ac_ext <<_ACEOF
22588 /* end confdefs.h. */
22589 /* System header to define __stub macros and hopefully few prototypes,
22590 which can conflict with char mmap (); below.
22591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22592 <limits.h> exists even on freestanding compilers. */
22594 # include <limits.h>
22596 # include <assert.h>
22598 /* Override any gcc2 internal prototype to avoid an error. */
22603 /* We use char because int might match the return type of a gcc2
22604 builtin and then its argument prototype would still apply. */
22606 /* The GNU C library defines this for functions which it implements
22607 to always fail with ENOSYS. Some functions are actually named
22608 something starting with __ and the normal name is an alias. */
22609 #if defined (__stub_mmap) || defined (__stub___mmap)
22612 char (*f) () = mmap;
22626 rm -f conftest.$ac_objext conftest$ac_exeext
22627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22628 (eval $ac_link) 2>&5
22630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631 (exit $ac_status); } &&
22632 { ac_try='test -s conftest$ac_exeext'
22633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22634 (eval $ac_try) 2>&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); }; }; then
22638 ac_cv_func_mmap=yes
22640 echo "$as_me: failed program was:" >&5
22641 sed 's/^/| /' conftest.$ac_ext >&5
22645 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22647 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22648 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22649 if test $ac_cv_func_mmap = yes; then
22652 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22653 echo "$as_me: error: Function mmap() required but not found" >&2;}
22654 { (exit 1); exit 1; }; }
22657 echo "$as_me:$LINENO: checking for mprotect" >&5
22658 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22659 if test "${ac_cv_func_mprotect+set}" = set; then
22660 echo $ECHO_N "(cached) $ECHO_C" >&6
22662 cat >conftest.$ac_ext <<_ACEOF
22663 #line $LINENO "configure"
22666 cat confdefs.h >>conftest.$ac_ext
22667 cat >>conftest.$ac_ext <<_ACEOF
22668 /* end confdefs.h. */
22669 /* System header to define __stub macros and hopefully few prototypes,
22670 which can conflict with char mprotect (); below.
22671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22672 <limits.h> exists even on freestanding compilers. */
22674 # include <limits.h>
22676 # include <assert.h>
22678 /* Override any gcc2 internal prototype to avoid an error. */
22683 /* We use char because int might match the return type of a gcc2
22684 builtin and then its argument prototype would still apply. */
22686 /* The GNU C library defines this for functions which it implements
22687 to always fail with ENOSYS. Some functions are actually named
22688 something starting with __ and the normal name is an alias. */
22689 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22692 char (*f) () = mprotect;
22701 return f != mprotect;
22706 rm -f conftest.$ac_objext conftest$ac_exeext
22707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22708 (eval $ac_link) 2>&5
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); } &&
22712 { ac_try='test -s conftest$ac_exeext'
22713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22714 (eval $ac_try) 2>&5
22716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22717 (exit $ac_status); }; }; then
22718 ac_cv_func_mprotect=yes
22720 echo "$as_me: failed program was:" >&5
22721 sed 's/^/| /' conftest.$ac_ext >&5
22723 ac_cv_func_mprotect=no
22725 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22727 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22728 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22729 if test $ac_cv_func_mprotect = yes; then
22732 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22733 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22734 { (exit 1); exit 1; }; }
22739 # Check whether --enable-purify or --disable-purify was given.
22740 if test "${enable_purify+set}" = set; then
22741 enableval="$enable_purify"
22746 if test ${enableval} = "no"
22751 ENABLE_PURIFY=ENABLE_PURIFY=1
22755 # Check whether --enable-optimized or --disable-optimized was given.
22756 if test "${enable_optimized+set}" = set; then
22757 enableval="$enable_optimized"
22762 if test ${enableval} = "no"
22767 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22771 # Check whether --enable-spec2000 or --disable-spec2000 was given.
22772 if test "${enable_spec2000+set}" = set; then
22773 enableval="$enable_spec2000"
22778 if test ${enableval} = "no"
22780 if test -d /home/vadve/shared/benchmarks/speccpu2000/benchspec
22782 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22784 USE_SPEC=USE_SPEC=1
22792 if test ${enableval} = ""
22794 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22797 SPEC_ROOT=${enableval}
22800 USE_SPEC=USE_SPEC=1
22804 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22805 if test "${enable_precompiled_bytecode+set}" = set; then
22806 enableval="$enable_precompiled_bytecode"
22811 if test ${enableval} = "no"
22816 UPB=USE_PRECOMPILED_BYTECODE=1
22821 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22822 if test "${enable_llc_diffs+set}" = set; then
22823 enableval="$enable_llc_diffs"
22828 if test ${enableval} = "no"
22830 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22837 # Check whether --enable-jit or --disable-jit was given.
22838 if test "${enable_jit+set}" = set; then
22839 enableval="$enable_jit"
22845 if test ${enableval} = "no"
22852 JIT=TARGET_HAS_JIT=1
22856 JIT=TARGET_HAS_JIT=1
22868 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22869 if test "${with_llvmgccdir+set}" = set; then
22870 withval="$with_llvmgccdir"
22871 LLVMGCCDIR=$withval
22876 # Check whether --with-bcrepos or --without-bcrepos was given.
22877 if test "${with_bcrepos+set}" = set; then
22878 withval="$with_bcrepos"
22882 BCR=/home/vadve/lattner/LLVMPrograms
22887 # Check whether --with-papi or --without-papi was given.
22888 if test "${with_papi+set}" = set; then
22889 withval="$with_papi"
22893 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22898 # Check whether --with-purify or --without-purify was given.
22899 if test "${with_purify+set}" = set; then
22900 withval="$with_purify"
22906 ac_config_files="$ac_config_files Makefile.config"
22907 cat >confcache <<\_ACEOF
22908 # This file is a shell script that caches the results of configure
22909 # tests run on this system so they can be shared between configure
22910 # scripts and configure runs, see configure's option --config-cache.
22911 # It is not useful on other systems. If it contains results you don't
22912 # want to keep, you may remove or edit it.
22914 # config.status only pays attention to the cache file if you give it
22915 # the --recheck option to rerun configure.
22917 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22918 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22919 # following values.
22923 # The following way of writing the cache mishandles newlines in values,
22924 # but we know of no workaround that is simple, portable, and efficient.
22925 # So, don't put newlines in cache variables' values.
22926 # Ultrix sh set writes to stderr and can't be redirected directly,
22927 # and sets the high bit in the cache file unless we assign to the vars.
22930 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22932 # `set' does not quote correctly, so add quotes (double-quote
22933 # substitution turns \\\\ into \\, and sed turns \\ into \).
22936 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22939 # `set' quotes correctly as required by POSIX, so do not add quotes.
22941 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22948 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22950 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22952 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22953 if test -w $cache_file; then
22954 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22955 cat confcache >$cache_file
22957 echo "not updating unwritable cache $cache_file"
22962 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22963 # Let make expand exec_prefix.
22964 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22966 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22967 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22968 # trailing colons and then remove the whole line if VPATH becomes empty
22969 # (actually we leave an empty line to preserve line numbers).
22970 if test "x$srcdir" = x.; then
22971 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22972 s/:*\$(srcdir):*/:/;
22973 s/:*\${srcdir}:*/:/;
22975 s/^\([^=]*=[ ]*\):*/\1/;
22981 DEFS=-DHAVE_CONFIG_H
22985 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22986 # 1. Remove the extension, and $U if already installed.
22987 ac_i=`echo "$ac_i" |
22988 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22990 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22991 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22993 LIBOBJS=$ac_libobjs
22995 LTLIBOBJS=$ac_ltlibobjs
22999 : ${CONFIG_STATUS=./config.status}
23000 ac_clean_files_save=$ac_clean_files
23001 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23002 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23003 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23004 cat >$CONFIG_STATUS <<_ACEOF
23006 # Generated by $as_me.
23007 # Run this file to recreate the current configuration.
23008 # Compiler output produced by configure, useful for debugging
23009 # configure, is in config.log if it exists.
23012 ac_cs_recheck=false
23014 SHELL=\${CONFIG_SHELL-$SHELL}
23017 cat >>$CONFIG_STATUS <<\_ACEOF
23018 ## --------------------- ##
23019 ## M4sh Initialization. ##
23020 ## --------------------- ##
23022 # Be Bourne compatible
23023 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23026 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23027 # is contrary to our usage. Disable this feature.
23028 alias -g '${1+"$@"}'='"$@"'
23029 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23033 # Support unset when possible.
23034 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
23041 # Work around bugs in pre-3.0 UWIN ksh.
23042 $as_unset ENV MAIL MAILPATH
23049 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23050 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23051 LC_TELEPHONE LC_TIME
23053 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
23054 eval $as_var=C; export $as_var
23060 # Required to use basename.
23061 if expr a : '\(a\)' >/dev/null 2>&1; then
23067 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23068 as_basename=basename
23074 # Name of the executable.
23075 as_me=`$as_basename "$0" ||
23076 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23077 X"$0" : 'X\(//\)$' \| \
23078 X"$0" : 'X\(/\)$' \| \
23079 . : '\(.\)' 2>/dev/null ||
23081 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23082 /^X\/\(\/\/\)$/{ s//\1/; q; }
23083 /^X\/\(\/\).*/{ s//\1/; q; }
23087 # PATH needs CR, and LINENO needs CR and PATH.
23088 # Avoid depending upon Character Ranges.
23089 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23090 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23091 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23092 as_cr_digits='0123456789'
23093 as_cr_alnum=$as_cr_Letters$as_cr_digits
23095 # The user is always right.
23096 if test "${PATH_SEPARATOR+set}" != set; then
23097 echo "#! /bin/sh" >conf$$.sh
23098 echo "exit 0" >>conf$$.sh
23100 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23109 as_lineno_1=$LINENO
23110 as_lineno_2=$LINENO
23111 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23112 test "x$as_lineno_1" != "x$as_lineno_2" &&
23113 test "x$as_lineno_3" = "x$as_lineno_2" || {
23114 # Find who we are. Look in the path if we contain no path at all
23117 *[\\/]* ) as_myself=$0 ;;
23118 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23119 for as_dir in $PATH
23122 test -z "$as_dir" && as_dir=.
23123 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23128 # We did not find ourselves, most probably we were run as `sh COMMAND'
23129 # in which case we are not to be found in the path.
23130 if test "x$as_myself" = x; then
23133 if test ! -f "$as_myself"; then
23134 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23135 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23136 { (exit 1); exit 1; }; }
23138 case $CONFIG_SHELL in
23140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23141 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23144 test -z "$as_dir" && as_dir=.
23145 for as_base in sh bash ksh sh5; do
23148 if ("$as_dir/$as_base" -c '
23149 as_lineno_1=$LINENO
23150 as_lineno_2=$LINENO
23151 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23152 test "x$as_lineno_1" != "x$as_lineno_2" &&
23153 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23154 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23155 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23156 CONFIG_SHELL=$as_dir/$as_base
23157 export CONFIG_SHELL
23158 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23166 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23167 # uniformly replaced by the line number. The first 'sed' inserts a
23168 # line-number line before each line; the second 'sed' does the real
23169 # work. The second script uses 'N' to pair each line-number line
23170 # with the numbered line, and appends trailing '-' during
23171 # substitution so that $LINENO is not a special case at line end.
23172 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23173 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23174 sed '=' <$as_myself |
23179 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23182 s,^['$as_cr_digits']*\n,,
23183 ' >$as_me.lineno &&
23184 chmod +x $as_me.lineno ||
23185 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23186 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23187 { (exit 1); exit 1; }; }
23189 # Don't try to exec as it changes $[0], causing all sort of problems
23190 # (the dirname of $[0] is not the place where we might find the
23191 # original and so on. Autoconf is especially sensible to this).
23193 # Exit status is that of the last command.
23198 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23199 *c*,-n*) ECHO_N= ECHO_C='
23201 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23202 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23205 if expr a : '\(a\)' >/dev/null 2>&1; then
23211 rm -f conf$$ conf$$.exe conf$$.file
23213 if ln -s conf$$.file conf$$ 2>/dev/null; then
23214 # We could just check for DJGPP; but this test a) works b) is more generic
23215 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23216 if test -f conf$$.exe; then
23217 # Don't use ln at all; we don't have any links
23222 elif ln conf$$.file conf$$ 2>/dev/null; then
23227 rm -f conf$$ conf$$.exe conf$$.file
23229 if mkdir -p . 2>/dev/null; then
23235 as_executable_p="test -f"
23237 # Sed expression to map a string onto a valid CPP name.
23238 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23240 # Sed expression to map a string onto a valid variable name.
23241 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23245 # We need space, tab and new line, in precisely that order.
23255 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23256 # report actual input values of CONFIG_FILES etc. instead of their
23257 # values after options handling. Logging --version etc. is OK.
23261 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23262 ## Running $as_me. ##
23267 This file was extended by [LLVM] $as_me [1.0], which was
23268 generated by GNU Autoconf 2.57. Invocation command line was
23270 CONFIG_FILES = $CONFIG_FILES
23271 CONFIG_HEADERS = $CONFIG_HEADERS
23272 CONFIG_LINKS = $CONFIG_LINKS
23273 CONFIG_COMMANDS = $CONFIG_COMMANDS
23277 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23281 # Files that config.status was made for.
23282 if test -n "$ac_config_files"; then
23283 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23286 if test -n "$ac_config_headers"; then
23287 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23290 if test -n "$ac_config_links"; then
23291 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23294 if test -n "$ac_config_commands"; then
23295 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23298 cat >>$CONFIG_STATUS <<\_ACEOF
23301 \`$as_me' instantiates files from templates according to the
23302 current configuration.
23304 Usage: $0 [OPTIONS] [FILE]...
23306 -h, --help print this help, then exit
23307 -V, --version print version number, then exit
23308 -q, --quiet do not print progress messages
23309 -d, --debug don't remove temporary files
23310 --recheck update $as_me by reconfiguring in the same conditions
23311 --file=FILE[:TEMPLATE]
23312 instantiate the configuration file FILE
23313 --header=FILE[:TEMPLATE]
23314 instantiate the configuration header FILE
23316 Configuration files:
23319 Configuration headers:
23322 Configuration commands:
23325 Report bugs to <bug-autoconf@gnu.org>."
23328 cat >>$CONFIG_STATUS <<_ACEOF
23330 [LLVM] config.status [1.0]
23331 configured by $0, generated by GNU Autoconf 2.57,
23332 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23334 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23335 Free Software Foundation, Inc.
23336 This config.status script is free software; the Free Software Foundation
23337 gives unlimited permission to copy, distribute and modify it."
23342 cat >>$CONFIG_STATUS <<\_ACEOF
23343 # If no file are specified by the user, then we need to provide default
23344 # value. By we need to know if files were specified by the user.
23350 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23351 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23359 *) # This is not an option, so the user has probably given explicit
23362 ac_need_defaults=false;;
23366 # Handling of the options.
23368 cat >>$CONFIG_STATUS <<\_ACEOF
23369 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23371 --version | --vers* | -V )
23372 echo "$ac_cs_version"; exit 0 ;;
23374 # Conflict between --help and --header
23375 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23376 Try \`$0 --help' for more information." >&5
23377 echo "$as_me: error: ambiguous option: $1
23378 Try \`$0 --help' for more information." >&2;}
23379 { (exit 1); exit 1; }; };;
23380 --help | --hel | -h )
23381 echo "$ac_cs_usage"; exit 0 ;;
23382 --debug | --d* | -d )
23384 --file | --fil | --fi | --f )
23386 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23387 ac_need_defaults=false;;
23388 --header | --heade | --head | --hea )
23390 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23391 ac_need_defaults=false;;
23392 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23393 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23396 # This is an error.
23397 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23398 Try \`$0 --help' for more information." >&5
23399 echo "$as_me: error: unrecognized option: $1
23400 Try \`$0 --help' for more information." >&2;}
23401 { (exit 1); exit 1; }; } ;;
23403 *) ac_config_targets="$ac_config_targets $1" ;;
23409 ac_configure_extra_args=
23411 if $ac_cs_silent; then
23413 ac_configure_extra_args="$ac_configure_extra_args --silent"
23417 cat >>$CONFIG_STATUS <<_ACEOF
23418 if \$ac_cs_recheck; then
23419 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23420 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23425 cat >>$CONFIG_STATUS <<_ACEOF
23427 # INIT-COMMANDS section.
23430 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23453 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23454 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23455 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23456 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23457 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23458 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23459 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23460 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23461 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23462 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23463 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23464 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23465 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23466 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23467 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23468 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23469 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23470 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23471 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23472 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23473 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23474 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23475 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23476 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23477 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23478 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23479 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23480 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23481 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvm.py`
23482 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvmdb.py`
23483 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23484 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23485 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23486 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23487 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23488 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23489 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23490 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23491 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23492 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23493 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23494 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23495 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23496 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23497 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23498 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23499 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23500 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23501 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23502 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23503 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/177.mesa/Makefile`
23504 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23505 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23506 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23507 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23508 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23509 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23510 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23511 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23512 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23513 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23514 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/252.eon/Makefile`
23515 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile`
23516 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23517 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23518 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23519 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23520 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23521 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23522 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23523 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23524 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23525 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23526 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23527 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23528 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23529 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23530 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23531 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23532 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23533 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23534 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23535 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23536 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23537 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23538 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23539 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23540 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23541 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23542 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23543 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23544 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23545 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23546 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23547 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23548 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23549 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23550 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23551 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23552 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23553 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23554 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23555 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23556 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23557 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23558 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23559 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23560 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23561 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23562 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23563 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23564 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23565 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23566 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23567 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23568 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23569 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23570 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23571 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile`
23572 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile`
23573 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile`
23574 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/EH/Makefile`
23575 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23576 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23577 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23578 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23579 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23580 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23581 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23582 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23583 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23584 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23585 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23586 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23587 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23588 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23589 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23590 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23591 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23592 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23593 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23594 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23595 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23596 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23597 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23603 cat >>$CONFIG_STATUS <<\_ACEOF
23604 for ac_config_target in $ac_config_targets
23606 case "$ac_config_target" in
23607 # Handling of arguments.
23608 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23609 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23610 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23611 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23612 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23613 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23614 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23615 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23616 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23617 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23618 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23619 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23620 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23621 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23622 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23623 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23624 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23625 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23626 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23627 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23628 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23629 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23630 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23631 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23632 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23633 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23634 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23635 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23636 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23637 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23638 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23639 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23640 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23641 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23642 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23643 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23644 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23645 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23646 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23647 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23648 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23649 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23650 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23651 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23652 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23653 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23654 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23655 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23656 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23657 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23658 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23659 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23660 "test/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvm.py" ;;
23661 "test/QMTest/llvmdb.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvmdb.py" ;;
23662 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23663 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23664 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23665 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23666 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23667 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23668 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23669 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23670 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23671 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23672 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23673 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23674 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23675 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23676 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23677 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23678 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23679 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23680 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23681 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23682 "test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ;;
23683 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23684 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23685 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23686 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23687 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23688 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23689 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23690 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23691 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23692 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23693 "test/Programs/External/SPEC/CINT2000/252.eon/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/252.eon/Makefile" ;;
23694 "test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile" ;;
23695 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23696 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23697 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23698 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23699 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23700 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23701 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23702 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23703 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23704 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23705 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23706 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23707 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23708 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23709 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23710 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23711 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23712 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23713 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23714 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23715 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23716 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23717 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23718 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23719 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23720 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23721 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23722 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23723 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23724 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23725 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23726 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23727 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23728 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23729 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23730 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23731 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23732 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23733 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23734 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23735 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23736 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23737 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23738 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23739 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23740 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23741 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23742 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23743 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23744 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23745 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23746 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23747 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23748 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23749 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23750 "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;;
23751 "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;;
23752 "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;;
23753 "test/Programs/SingleSource/Regression/C++/EH/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/EH/Makefile" ;;
23754 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23755 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23756 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23757 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23758 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23759 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23760 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23761 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23762 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23763 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23764 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23765 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23766 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
23767 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23768 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23769 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23770 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23771 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23772 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23773 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23774 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23775 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23776 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23777 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23778 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23779 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23780 { (exit 1); exit 1; }; };;
23784 # If the user did not use the arguments to specify the items to instantiate,
23785 # then the envvar interface is used. Set only those that are not.
23786 # We use the long form for the default assignment because of an extremely
23787 # bizarre bug on SunOS 4.1.3.
23788 if $ac_need_defaults; then
23789 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23790 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23791 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23794 # Have a temporary directory for convenience. Make it in the build tree
23795 # simply because there is no reason to put it here, and in addition,
23796 # creating and moving files from /tmp can sometimes cause problems.
23797 # Create a temporary directory, and hook for its removal unless debugging.
23800 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23801 trap '{ (exit 1); exit 1; }' 1 2 13 15
23804 # Create a (secure) tmp directory for tmp files.
23807 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23808 test -n "$tmp" && test -d "$tmp"
23811 tmp=./confstat$$-$RANDOM
23812 (umask 077 && mkdir $tmp)
23815 echo "$me: cannot create a temporary directory in ." >&2
23816 { (exit 1); exit 1; }
23821 cat >>$CONFIG_STATUS <<_ACEOF
23824 # CONFIG_FILES section.
23827 # No need to generate the scripts if there are no CONFIG_FILES.
23828 # This happens for instance when ./config.status config.h
23829 if test -n "\$CONFIG_FILES"; then
23830 # Protect against being on the right side of a sed subst in config.status.
23831 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23832 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23833 s,@SHELL@,$SHELL,;t t
23834 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23835 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23836 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23837 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23838 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23839 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23840 s,@exec_prefix@,$exec_prefix,;t t
23841 s,@prefix@,$prefix,;t t
23842 s,@program_transform_name@,$program_transform_name,;t t
23843 s,@bindir@,$bindir,;t t
23844 s,@sbindir@,$sbindir,;t t
23845 s,@libexecdir@,$libexecdir,;t t
23846 s,@datadir@,$datadir,;t t
23847 s,@sysconfdir@,$sysconfdir,;t t
23848 s,@sharedstatedir@,$sharedstatedir,;t t
23849 s,@localstatedir@,$localstatedir,;t t
23850 s,@libdir@,$libdir,;t t
23851 s,@includedir@,$includedir,;t t
23852 s,@oldincludedir@,$oldincludedir,;t t
23853 s,@infodir@,$infodir,;t t
23854 s,@mandir@,$mandir,;t t
23855 s,@build_alias@,$build_alias,;t t
23856 s,@host_alias@,$host_alias,;t t
23857 s,@target_alias@,$target_alias,;t t
23858 s,@DEFS@,$DEFS,;t t
23859 s,@ECHO_C@,$ECHO_C,;t t
23860 s,@ECHO_N@,$ECHO_N,;t t
23861 s,@ECHO_T@,$ECHO_T,;t t
23862 s,@LIBS@,$LIBS,;t t
23863 s,@subdirs@,$subdirs,;t t
23864 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23865 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23866 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23867 s,@build@,$build,;t t
23868 s,@build_cpu@,$build_cpu,;t t
23869 s,@build_vendor@,$build_vendor,;t t
23870 s,@build_os@,$build_os,;t t
23871 s,@host@,$host,;t t
23872 s,@host_cpu@,$host_cpu,;t t
23873 s,@host_vendor@,$host_vendor,;t t
23874 s,@host_os@,$host_os,;t t
23875 s,@target@,$target,;t t
23876 s,@target_cpu@,$target_cpu,;t t
23877 s,@target_vendor@,$target_vendor,;t t
23878 s,@target_os@,$target_os,;t t
23880 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23881 s,@ARCH@,$ARCH,;t t
23883 s,@CXXFLAGS@,$CXXFLAGS,;t t
23884 s,@LDFLAGS@,$LDFLAGS,;t t
23885 s,@CPPFLAGS@,$CPPFLAGS,;t t
23886 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23887 s,@EXEEXT@,$EXEEXT,;t t
23888 s,@OBJEXT@,$OBJEXT,;t t
23890 s,@CFLAGS@,$CFLAGS,;t t
23891 s,@ac_ct_CC@,$ac_ct_CC,;t t
23893 s,@ifGNUmake@,$ifGNUmake,;t t
23895 s,@LEXLIB@,$LEXLIB,;t t
23896 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23897 s,@YACC@,$YACC,;t t
23898 s,@EGREP@,$EGREP,;t t
23899 s,@LN_S@,$LN_S,;t t
23900 s,@ECHO@,$ECHO,;t t
23902 s,@ac_ct_AR@,$ac_ct_AR,;t t
23903 s,@RANLIB@,$RANLIB,;t t
23904 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23905 s,@STRIP@,$STRIP,;t t
23906 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23907 s,@CXXCPP@,$CXXCPP,;t t
23909 s,@FFLAGS@,$FFLAGS,;t t
23910 s,@ac_ct_F77@,$ac_ct_F77,;t t
23911 s,@LIBTOOL@,$LIBTOOL,;t t
23912 s,@RPWD@,$RPWD,;t t
23915 s,@MKDIR@,$MKDIR,;t t
23916 s,@DATE@,$DATE,;t t
23919 s,@ETAGS@,$ETAGS,;t t
23920 s,@PYTHON@,$PYTHON,;t t
23921 s,@QMTEST@,$QMTEST,;t t
23922 s,@ALLOCA@,$ALLOCA,;t t
23923 s,@LIBOBJS@,$LIBOBJS,;t t
23924 s,@MMAP_FILE@,$MMAP_FILE,;t t
23925 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23926 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23927 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23928 s,@USE_SPEC@,$USE_SPEC,;t t
23930 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23933 s,@PAPIDIR@,$PAPIDIR,;t t
23934 s,@PURIFY@,$PURIFY,;t t
23935 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23940 cat >>$CONFIG_STATUS <<\_ACEOF
23941 # Split the substitutions into bite-sized pieces for seds with
23942 # small command number limits, like on Digital OSF/1 and HP-UX.
23943 ac_max_sed_lines=48
23944 ac_sed_frag=1 # Number of current file.
23945 ac_beg=1 # First line for current file.
23946 ac_end=$ac_max_sed_lines # Line after last line for current file.
23949 while $ac_more_lines; do
23950 if test $ac_beg -gt 1; then
23951 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23953 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23955 if test ! -s $tmp/subs.frag; then
23956 ac_more_lines=false
23958 # The purpose of the label and of the branching condition is to
23959 # speed up the sed processing (if there are no `@' at all, there
23960 # is no need to browse any of the substitutions).
23961 # These are the two extra sed commands mentioned above.
23963 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23964 if test -z "$ac_sed_cmds"; then
23965 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23967 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23969 ac_sed_frag=`expr $ac_sed_frag + 1`
23971 ac_end=`expr $ac_end + $ac_max_sed_lines`
23974 if test -z "$ac_sed_cmds"; then
23977 fi # test -n "$CONFIG_FILES"
23980 cat >>$CONFIG_STATUS <<\_ACEOF
23981 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23982 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23984 - | *:- | *:-:* ) # input from stdin
23986 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23987 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23988 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23989 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23990 * ) ac_file_in=$ac_file.in ;;
23993 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23994 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23995 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23996 X"$ac_file" : 'X\(//\)[^/]' \| \
23997 X"$ac_file" : 'X\(//\)$' \| \
23998 X"$ac_file" : 'X\(/\)' \| \
23999 . : '\(.\)' 2>/dev/null ||
24001 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24002 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24003 /^X\(\/\/\)$/{ s//\1/; q; }
24004 /^X\(\/\).*/{ s//\1/; q; }
24006 { if $as_mkdir_p; then
24011 while test ! -d "$as_dir"; do
24012 as_dirs="$as_dir $as_dirs"
24013 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24014 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24015 X"$as_dir" : 'X\(//\)[^/]' \| \
24016 X"$as_dir" : 'X\(//\)$' \| \
24017 X"$as_dir" : 'X\(/\)' \| \
24018 . : '\(.\)' 2>/dev/null ||
24020 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24021 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24022 /^X\(\/\/\)$/{ s//\1/; q; }
24023 /^X\(\/\).*/{ s//\1/; q; }
24026 test ! -n "$as_dirs" || mkdir $as_dirs
24027 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24028 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24029 { (exit 1); exit 1; }; }; }
24033 if test "$ac_dir" != .; then
24034 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24035 # A "../" for each directory in $ac_dir_suffix.
24036 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24038 ac_dir_suffix= ac_top_builddir=
24042 .) # No --srcdir option. We are building in place.
24044 if test -z "$ac_top_builddir"; then
24047 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24049 [\\/]* | ?:[\\/]* ) # Absolute path.
24050 ac_srcdir=$srcdir$ac_dir_suffix;
24051 ac_top_srcdir=$srcdir ;;
24052 *) # Relative path.
24053 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24054 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24056 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24058 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24059 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24060 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24061 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24065 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24066 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24069 if test x"$ac_file" != x-; then
24070 { echo "$as_me:$LINENO: creating $ac_file" >&5
24071 echo "$as_me: creating $ac_file" >&6;}
24074 # Let's still pretend it is `configure' which instantiates (i.e., don't
24075 # use $as_me), people would be surprised to read:
24076 # /* config.h. Generated by config.status. */
24077 if test x"$ac_file" = x-; then
24080 configure_input="$ac_file. "
24082 configure_input=$configure_input"Generated from `echo $ac_file_in |
24083 sed 's,.*/,,'` by configure."
24085 # First look for the input files in the build tree, otherwise in the
24087 ac_file_inputs=`IFS=:
24088 for f in $ac_file_in; do
24090 -) echo $tmp/stdin ;;
24092 # Absolute (can't be DOS-style, as IFS=:)
24093 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24094 echo "$as_me: error: cannot find input file: $f" >&2;}
24095 { (exit 1); exit 1; }; }
24098 if test -f "$f"; then
24101 elif test -f "$srcdir/$f"; then
24106 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24107 echo "$as_me: error: cannot find input file: $f" >&2;}
24108 { (exit 1); exit 1; }; }
24111 done` || { (exit 1); exit 1; }
24113 cat >>$CONFIG_STATUS <<_ACEOF
24117 cat >>$CONFIG_STATUS <<\_ACEOF
24119 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24120 s,@configure_input@,$configure_input,;t t
24121 s,@srcdir@,$ac_srcdir,;t t
24122 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24123 s,@top_srcdir@,$ac_top_srcdir,;t t
24124 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24125 s,@builddir@,$ac_builddir,;t t
24126 s,@abs_builddir@,$ac_abs_builddir,;t t
24127 s,@top_builddir@,$ac_top_builddir,;t t
24128 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24129 s,@INSTALL@,$ac_INSTALL,;t t
24130 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24132 if test x"$ac_file" != x-; then
24133 mv $tmp/out $ac_file
24141 cat >>$CONFIG_STATUS <<\_ACEOF
24144 # CONFIG_HEADER section.
24147 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24148 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24150 # ac_d sets the value in "#define NAME VALUE" lines.
24151 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24152 ac_dB='[ ].*$,\1#\2'
24155 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24156 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24157 ac_uB='$,\1#\2define\3'
24161 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24162 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24164 - | *:- | *:-:* ) # input from stdin
24166 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24167 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24168 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24169 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24170 * ) ac_file_in=$ac_file.in ;;
24173 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24174 echo "$as_me: creating $ac_file" >&6;}
24176 # First look for the input files in the build tree, otherwise in the
24178 ac_file_inputs=`IFS=:
24179 for f in $ac_file_in; do
24181 -) echo $tmp/stdin ;;
24183 # Absolute (can't be DOS-style, as IFS=:)
24184 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24185 echo "$as_me: error: cannot find input file: $f" >&2;}
24186 { (exit 1); exit 1; }; }
24189 if test -f "$f"; then
24192 elif test -f "$srcdir/$f"; then
24197 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24198 echo "$as_me: error: cannot find input file: $f" >&2;}
24199 { (exit 1); exit 1; }; }
24202 done` || { (exit 1); exit 1; }
24203 # Remove the trailing spaces.
24204 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24208 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24209 # `conftest.undefs', that substitutes the proper values into
24210 # config.h.in to produce config.h. The first handles `#define'
24211 # templates, and the second `#undef' templates.
24212 # And first: Protect against being on the right side of a sed subst in
24213 # config.status. Protect against being in an unquoted here document
24214 # in config.status.
24215 rm -f conftest.defines conftest.undefs
24216 # Using a here document instead of a string reduces the quoting nightmare.
24217 # Putting comments in sed scripts is not portable.
24219 # `end' is used to avoid that the second main sed command (meant for
24220 # 0-ary CPP macros) applies to n-ary macro definitions.
24221 # See the Autoconf documentation for `clear'.
24222 cat >confdef2sed.sed <<\_ACEOF
24227 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24229 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24232 # If some macros were called several times there might be several times
24233 # the same #defines, which is useless. Nevertheless, we may not want to
24234 # sort them, since we want the *last* AC-DEFINE to be honored.
24235 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24236 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24237 rm -f confdef2sed.sed
24239 # This sed command replaces #undef with comments. This is necessary, for
24240 # example, in the case of _POSIX_SOURCE, which is predefined and required
24241 # on some systems where configure will not decide to define it.
24242 cat >>conftest.undefs <<\_ACEOF
24243 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24246 # Break up conftest.defines because some shells have a limit on the size
24247 # of here documents, and old seds have small limits too (100 cmds).
24248 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24249 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24250 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24251 echo ' :' >>$CONFIG_STATUS
24252 rm -f conftest.tail
24253 while grep . conftest.defines >/dev/null
24255 # Write a limited-size here document to $tmp/defines.sed.
24256 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24257 # Speed up: don't consider the non `#define' lines.
24258 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24259 # Work around the forget-to-reset-the-flag bug.
24260 echo 't clr' >>$CONFIG_STATUS
24261 echo ': clr' >>$CONFIG_STATUS
24262 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24264 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24266 mv $tmp/out $tmp/in
24268 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24269 rm -f conftest.defines
24270 mv conftest.tail conftest.defines
24272 rm -f conftest.defines
24273 echo ' fi # grep' >>$CONFIG_STATUS
24274 echo >>$CONFIG_STATUS
24276 # Break up conftest.undefs because some shells have a limit on the size
24277 # of here documents, and old seds have small limits too (100 cmds).
24278 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24279 rm -f conftest.tail
24280 while grep . conftest.undefs >/dev/null
24282 # Write a limited-size here document to $tmp/undefs.sed.
24283 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24284 # Speed up: don't consider the non `#undef'
24285 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24286 # Work around the forget-to-reset-the-flag bug.
24287 echo 't clr' >>$CONFIG_STATUS
24288 echo ': clr' >>$CONFIG_STATUS
24289 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24291 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24293 mv $tmp/out $tmp/in
24295 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24296 rm -f conftest.undefs
24297 mv conftest.tail conftest.undefs
24299 rm -f conftest.undefs
24301 cat >>$CONFIG_STATUS <<\_ACEOF
24302 # Let's still pretend it is `configure' which instantiates (i.e., don't
24303 # use $as_me), people would be surprised to read:
24304 # /* config.h. Generated by config.status. */
24305 if test x"$ac_file" = x-; then
24306 echo "/* Generated by configure. */" >$tmp/config.h
24308 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24310 cat $tmp/in >>$tmp/config.h
24312 if test x"$ac_file" != x-; then
24313 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24314 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24315 echo "$as_me: $ac_file is unchanged" >&6;}
24317 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24318 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24319 X"$ac_file" : 'X\(//\)[^/]' \| \
24320 X"$ac_file" : 'X\(//\)$' \| \
24321 X"$ac_file" : 'X\(/\)' \| \
24322 . : '\(.\)' 2>/dev/null ||
24324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24325 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24326 /^X\(\/\/\)$/{ s//\1/; q; }
24327 /^X\(\/\).*/{ s//\1/; q; }
24329 { if $as_mkdir_p; then
24334 while test ! -d "$as_dir"; do
24335 as_dirs="$as_dir $as_dirs"
24336 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24337 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24338 X"$as_dir" : 'X\(//\)[^/]' \| \
24339 X"$as_dir" : 'X\(//\)$' \| \
24340 X"$as_dir" : 'X\(/\)' \| \
24341 . : '\(.\)' 2>/dev/null ||
24343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24344 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24345 /^X\(\/\/\)$/{ s//\1/; q; }
24346 /^X\(\/\).*/{ s//\1/; q; }
24349 test ! -n "$as_dirs" || mkdir $as_dirs
24350 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24351 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24352 { (exit 1); exit 1; }; }; }
24355 mv $tmp/config.h $ac_file
24359 rm -f $tmp/config.h
24363 cat >>$CONFIG_STATUS <<\_ACEOF
24366 # CONFIG_COMMANDS section.
24368 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24369 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24370 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24371 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24372 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24373 X"$ac_dest" : 'X\(//\)[^/]' \| \
24374 X"$ac_dest" : 'X\(//\)$' \| \
24375 X"$ac_dest" : 'X\(/\)' \| \
24376 . : '\(.\)' 2>/dev/null ||
24378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24379 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24380 /^X\(\/\/\)$/{ s//\1/; q; }
24381 /^X\(\/\).*/{ s//\1/; q; }
24385 if test "$ac_dir" != .; then
24386 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24387 # A "../" for each directory in $ac_dir_suffix.
24388 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24390 ac_dir_suffix= ac_top_builddir=
24394 .) # No --srcdir option. We are building in place.
24396 if test -z "$ac_top_builddir"; then
24399 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24401 [\\/]* | ?:[\\/]* ) # Absolute path.
24402 ac_srcdir=$srcdir$ac_dir_suffix;
24403 ac_top_srcdir=$srcdir ;;
24404 *) # Relative path.
24405 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24406 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24408 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24410 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24411 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24412 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24413 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24416 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24417 echo "$as_me: executing $ac_dest commands" >&6;}
24419 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24420 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24421 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24422 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24423 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24424 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24425 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24426 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24427 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24428 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24429 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24430 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24431 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24432 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24433 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24434 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24435 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24436 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24437 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24438 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24439 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24440 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24441 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24442 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24443 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24444 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24445 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24446 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24447 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24448 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24449 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24450 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24451 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24452 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24453 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24454 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24455 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24456 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24457 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24458 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24459 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24460 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24461 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24462 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24463 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24464 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24465 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24466 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24467 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24468 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24469 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24470 test/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvm.py test/QMTest/llvm.py ;;
24471 test/QMTest/llvmdb.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvmdb.py test/QMTest/llvmdb.py ;;
24472 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24473 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24474 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24475 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24476 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24477 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24478 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24479 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24480 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24481 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24482 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24483 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24484 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24485 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24486 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24487 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24488 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24489 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24490 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 ;;
24491 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 ;;
24492 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 ;;
24493 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 ;;
24494 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 ;;
24495 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 ;;
24496 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 ;;
24497 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 ;;
24498 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 ;;
24499 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 ;;
24500 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 ;;
24501 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 ;;
24502 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 ;;
24503 test/Programs/External/SPEC/CINT2000/252.eon/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/252.eon/Makefile test/Programs/External/SPEC/CINT2000/252.eon/Makefile ;;
24504 test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile ;;
24505 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 ;;
24506 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 ;;
24507 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 ;;
24508 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 ;;
24509 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24510 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24511 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24512 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24513 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 ;;
24514 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 ;;
24515 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 ;;
24516 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24517 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 ;;
24518 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 ;;
24519 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 ;;
24520 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 ;;
24521 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 ;;
24522 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 ;;
24523 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 ;;
24524 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 ;;
24525 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 ;;
24526 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 ;;
24527 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 ;;
24528 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 ;;
24529 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 ;;
24530 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 ;;
24531 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 ;;
24532 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 ;;
24533 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 ;;
24534 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 ;;
24535 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 ;;
24536 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 ;;
24537 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 ;;
24538 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 ;;
24539 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 ;;
24540 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 ;;
24541 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 ;;
24542 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 ;;
24543 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 ;;
24544 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 ;;
24545 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 ;;
24546 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 ;;
24547 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 ;;
24548 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 ;;
24549 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24550 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24551 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24552 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24553 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 ;;
24554 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 ;;
24555 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 ;;
24556 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 ;;
24557 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24558 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24559 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 ;;
24560 test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;;
24561 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 ;;
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++/EH/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C++/EH/Makefile test/Programs/SingleSource/Regression/C++/EH/Makefile ;;
24564 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24565 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24566 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24567 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24568 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24569 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24570 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24571 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24572 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24573 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24574 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24575 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24576 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
24577 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24578 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24579 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24580 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24581 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24582 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24583 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24584 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24585 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24586 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24591 cat >>$CONFIG_STATUS <<\_ACEOF
24593 { (exit 0); exit 0; }
24595 chmod +x $CONFIG_STATUS
24596 ac_clean_files=$ac_clean_files_save
24599 # configure is writing to config.log, and then calls config.status.
24600 # config.status does its own redirection, appending to config.log.
24601 # Unfortunately, on DOS this fails, as config.log is still kept open
24602 # by configure, so config.status won't be able to write to it; its
24603 # output is simply discarded. So we exec the FD to /dev/null,
24604 # effectively closing config.log, so it can be properly (re)opened and
24605 # appended to by config.status. When coming back to configure, we
24606 # need to make the FD available again.
24607 if test "$no_create" != yes; then
24609 ac_config_status_args=
24610 test "$silent" = yes &&
24611 ac_config_status_args="$ac_config_status_args --quiet"
24613 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24615 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24616 # would make configure fail if this is the last instruction.
24617 $ac_cs_success || { (exit 1); exit 1; }
24621 # CONFIG_SUBDIRS section.
24623 if test "$no_recursion" != yes; then
24625 # Remove --cache-file and --srcdir arguments so they do not pile up.
24626 ac_sub_configure_args=
24628 for ac_arg in $ac_configure_args; do
24629 if test -n "$ac_prev"; then
24634 -cache-file | --cache-file | --cache-fil | --cache-fi \
24635 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
24636 ac_prev=cache_file ;;
24637 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
24638 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
24641 --config-cache | -C)
24643 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
24645 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
24647 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
24649 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
24651 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
24655 # Always prepend --prefix to ensure using the same prefix
24656 # in subdir configurations.
24657 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
24660 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
24662 # Do not complain, so a configure script can configure whichever
24663 # parts of a large source tree are present.
24664 test -d $srcdir/$ac_dir || continue
24666 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
24667 echo "$as_me: configuring in $ac_dir" >&6;}
24668 { if $as_mkdir_p; then
24673 while test ! -d "$as_dir"; do
24674 as_dirs="$as_dir $as_dirs"
24675 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24676 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24677 X"$as_dir" : 'X\(//\)[^/]' \| \
24678 X"$as_dir" : 'X\(//\)$' \| \
24679 X"$as_dir" : 'X\(/\)' \| \
24680 . : '\(.\)' 2>/dev/null ||
24682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24683 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24684 /^X\(\/\/\)$/{ s//\1/; q; }
24685 /^X\(\/\).*/{ s//\1/; q; }
24688 test ! -n "$as_dirs" || mkdir $as_dirs
24689 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24690 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24691 { (exit 1); exit 1; }; }; }
24695 if test "$ac_dir" != .; then
24696 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24697 # A "../" for each directory in $ac_dir_suffix.
24698 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24700 ac_dir_suffix= ac_top_builddir=
24704 .) # No --srcdir option. We are building in place.
24706 if test -z "$ac_top_builddir"; then
24709 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24711 [\\/]* | ?:[\\/]* ) # Absolute path.
24712 ac_srcdir=$srcdir$ac_dir_suffix;
24713 ac_top_srcdir=$srcdir ;;
24714 *) # Relative path.
24715 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24716 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24718 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24720 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24721 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24722 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24723 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24728 # Check for guested configure; otherwise get Cygnus style configure.
24729 if test -f $ac_srcdir/configure.gnu; then
24730 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
24731 elif test -f $ac_srcdir/configure; then
24732 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
24733 elif test -f $ac_srcdir/configure.in; then
24734 ac_sub_configure=$ac_configure
24736 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
24737 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
24741 # The recursion is here.
24742 if test -n "$ac_sub_configure"; then
24743 # Make the cache file name correct relative to the subdirectory.
24744 case $cache_file in
24745 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
24746 *) # Relative path.
24747 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
24750 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
24751 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
24752 # The eval makes quoting arguments work.
24753 eval $ac_sub_configure $ac_sub_configure_args \
24754 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
24755 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
24756 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
24757 { (exit 1); exit 1; }; }