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/llvm-nm/Makefile"
2027 ac_config_commands="$ac_config_commands tools/opt/Makefile"
2030 ac_config_commands="$ac_config_commands utils/Makefile"
2033 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
2036 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
2039 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
2042 ac_config_commands="$ac_config_commands projects/Makefile"
2045 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2048 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2051 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2054 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2059 # Find a good install program. We prefer a C program (faster),
2060 # so one script is as good as another. But avoid the broken or
2061 # incompatible versions:
2062 # SysV /etc/install, /usr/sbin/install
2063 # SunOS /usr/etc/install
2064 # IRIX /sbin/install
2066 # AmigaOS /C/install, which installs bootblocks on floppy discs
2067 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2068 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2069 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2070 # ./install, which can be erroneously created by make from ./install.sh.
2071 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2072 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2073 if test -z "$INSTALL"; then
2074 if test "${ac_cv_path_install+set}" = set; then
2075 echo $ECHO_N "(cached) $ECHO_C" >&6
2077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2081 test -z "$as_dir" && as_dir=.
2082 # Account for people who put trailing slashes in PATH elements.
2084 ./ | .// | /cC/* | \
2085 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2088 # OSF1 and SCO ODT 3.0 have their own names for install.
2089 # Don't use installbsd from OSF since it installs stuff as root
2091 for ac_prog in ginstall scoinst install; do
2092 for ac_exec_ext in '' $ac_executable_extensions; do
2093 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2094 if test $ac_prog = install &&
2095 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2096 # AIX install. It has an incompatible calling convention.
2098 elif test $ac_prog = install &&
2099 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2100 # program-specific install script used by HP pwplus--don't use.
2103 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2115 if test "${ac_cv_path_install+set}" = set; then
2116 INSTALL=$ac_cv_path_install
2118 # As a last resort, use the slow shell script. We don't cache a
2119 # path for INSTALL within a source directory, because that will
2120 # break other packages using the cache if that directory is
2121 # removed, or if the path is relative.
2122 INSTALL=$ac_install_sh
2125 echo "$as_me:$LINENO: result: $INSTALL" >&5
2126 echo "${ECHO_T}$INSTALL" >&6
2128 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2129 # It thinks the first close brace ends the variable substitution.
2130 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2132 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2134 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2137 # Make sure we can run config.sub.
2138 $ac_config_sub sun4 >/dev/null 2>&1 ||
2139 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2140 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2141 { (exit 1); exit 1; }; }
2143 echo "$as_me:$LINENO: checking build system type" >&5
2144 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2145 if test "${ac_cv_build+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 ac_cv_build_alias=$build_alias
2149 test -z "$ac_cv_build_alias" &&
2150 ac_cv_build_alias=`$ac_config_guess`
2151 test -z "$ac_cv_build_alias" &&
2152 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2153 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2154 { (exit 1); exit 1; }; }
2155 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2156 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2157 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2158 { (exit 1); exit 1; }; }
2161 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2162 echo "${ECHO_T}$ac_cv_build" >&6
2164 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2165 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2166 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2169 echo "$as_me:$LINENO: checking host system type" >&5
2170 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2171 if test "${ac_cv_host+set}" = set; then
2172 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 ac_cv_host_alias=$host_alias
2175 test -z "$ac_cv_host_alias" &&
2176 ac_cv_host_alias=$ac_cv_build_alias
2177 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2178 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2179 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2180 { (exit 1); exit 1; }; }
2183 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2184 echo "${ECHO_T}$ac_cv_host" >&6
2186 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2187 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2188 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2191 echo "$as_me:$LINENO: checking target system type" >&5
2192 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2193 if test "${ac_cv_target+set}" = set; then
2194 echo $ECHO_N "(cached) $ECHO_C" >&6
2196 ac_cv_target_alias=$target_alias
2197 test "x$ac_cv_target_alias" = "x" &&
2198 ac_cv_target_alias=$ac_cv_host_alias
2199 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2200 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2201 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2202 { (exit 1); exit 1; }; }
2205 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2206 echo "${ECHO_T}$ac_cv_target" >&6
2207 target=$ac_cv_target
2208 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2209 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2210 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2213 # The aliases save the names the user supplied, while $host etc.
2214 # will get canonicalized.
2215 test -n "$target_alias" &&
2216 test "$program_prefix$program_suffix$program_transform_name" = \
2218 program_prefix=${target_alias}-
2223 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2229 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2239 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2248 *sparc*solaris*) ARCH=Sparc
2255 ac_cpp='$CXXCPP $CPPFLAGS'
2256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2259 if test -n "$ac_tool_prefix"; then
2260 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2263 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2264 echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2266 if test "${ac_cv_prog_CXX+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2269 if test -n "$CXX"; then
2270 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2276 test -z "$as_dir" && as_dir=.
2277 for ac_exec_ext in '' $ac_executable_extensions; do
2278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2279 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2289 if test -n "$CXX"; then
2290 echo "$as_me:$LINENO: result: $CXX" >&5
2291 echo "${ECHO_T}$CXX" >&6
2293 echo "$as_me:$LINENO: result: no" >&5
2294 echo "${ECHO_T}no" >&6
2297 test -n "$CXX" && break
2300 if test -z "$CXX"; then
2302 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2304 # Extract the first word of "$ac_prog", so it can be a program name with args.
2305 set dummy $ac_prog; ac_word=$2
2306 echo "$as_me:$LINENO: checking for $ac_word" >&5
2307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2308 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2309 echo $ECHO_N "(cached) $ECHO_C" >&6
2311 if test -n "$ac_ct_CXX"; then
2312 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2318 test -z "$as_dir" && as_dir=.
2319 for ac_exec_ext in '' $ac_executable_extensions; do
2320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2321 ac_cv_prog_ac_ct_CXX="$ac_prog"
2322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2330 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2331 if test -n "$ac_ct_CXX"; then
2332 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2333 echo "${ECHO_T}$ac_ct_CXX" >&6
2335 echo "$as_me:$LINENO: result: no" >&5
2336 echo "${ECHO_T}no" >&6
2339 test -n "$ac_ct_CXX" && break
2341 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2347 # Provide some information about the compiler.
2348 echo "$as_me:$LINENO:" \
2349 "checking for C++ compiler version" >&5
2350 ac_compiler=`set X $ac_compile; echo $2`
2351 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2352 (eval $ac_compiler --version </dev/null >&5) 2>&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }
2356 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2357 (eval $ac_compiler -v </dev/null >&5) 2>&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }
2361 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2362 (eval $ac_compiler -V </dev/null >&5) 2>&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }
2367 cat >conftest.$ac_ext <<_ACEOF
2368 #line $LINENO "configure"
2371 cat confdefs.h >>conftest.$ac_ext
2372 cat >>conftest.$ac_ext <<_ACEOF
2373 /* end confdefs.h. */
2383 ac_clean_files_save=$ac_clean_files
2384 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2385 # Try to create an executable without -o first, disregard a.out.
2386 # It will help us diagnose broken compilers, and finding out an intuition
2388 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2389 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2390 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2391 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2392 (eval $ac_link_default) 2>&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }; then
2396 # Find the output, starting from the most likely. This scheme is
2397 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2400 # Be careful to initialize this variable, since it used to be cached.
2401 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2403 # b.out is created by i960 compilers.
2404 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2406 test -f "$ac_file" || continue
2408 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2411 # This is the source file.
2414 # We found the default executable, but exeext='' is most
2418 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2419 # FIXME: I believe we export ac_cv_exeext for Libtool,
2420 # but it would be cool to find out if it's true. Does anybody
2421 # maintain Libtool? --akim.
2429 echo "$as_me: failed program was:" >&5
2430 sed 's/^/| /' conftest.$ac_ext >&5
2432 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2433 See \`config.log' for more details." >&5
2434 echo "$as_me: error: C++ compiler cannot create executables
2435 See \`config.log' for more details." >&2;}
2436 { (exit 77); exit 77; }; }
2439 ac_exeext=$ac_cv_exeext
2440 echo "$as_me:$LINENO: result: $ac_file" >&5
2441 echo "${ECHO_T}$ac_file" >&6
2443 # Check the compiler produces executables we can run. If not, either
2444 # the compiler is broken, or we cross compile.
2445 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2446 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2447 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2448 # If not cross compiling, check that we can run a simple program.
2449 if test "$cross_compiling" != yes; then
2450 if { ac_try='./$ac_file'
2451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); }; }; then
2458 if test "$cross_compiling" = maybe; then
2461 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2462 If you meant to cross compile, use \`--host'.
2463 See \`config.log' for more details." >&5
2464 echo "$as_me: error: cannot run C++ compiled programs.
2465 If you meant to cross compile, use \`--host'.
2466 See \`config.log' for more details." >&2;}
2467 { (exit 1); exit 1; }; }
2471 echo "$as_me:$LINENO: result: yes" >&5
2472 echo "${ECHO_T}yes" >&6
2474 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2475 ac_clean_files=$ac_clean_files_save
2476 # Check the compiler produces executables we can run. If not, either
2477 # the compiler is broken, or we cross compile.
2478 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2479 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2480 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2481 echo "${ECHO_T}$cross_compiling" >&6
2483 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2484 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2486 (eval $ac_link) 2>&5
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); }; then
2490 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2491 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2492 # work properly (i.e., refer to `conftest.exe'), while it won't with
2494 for ac_file in conftest.exe conftest conftest.*; do
2495 test -f "$ac_file" || continue
2497 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2498 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2505 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2506 See \`config.log' for more details." >&5
2507 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2508 See \`config.log' for more details." >&2;}
2509 { (exit 1); exit 1; }; }
2512 rm -f conftest$ac_cv_exeext
2513 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2514 echo "${ECHO_T}$ac_cv_exeext" >&6
2516 rm -f conftest.$ac_ext
2517 EXEEXT=$ac_cv_exeext
2519 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2520 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2521 if test "${ac_cv_objext+set}" = set; then
2522 echo $ECHO_N "(cached) $ECHO_C" >&6
2524 cat >conftest.$ac_ext <<_ACEOF
2525 #line $LINENO "configure"
2528 cat confdefs.h >>conftest.$ac_ext
2529 cat >>conftest.$ac_ext <<_ACEOF
2530 /* end confdefs.h. */
2540 rm -f conftest.o conftest.obj
2541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2542 (eval $ac_compile) 2>&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }; then
2546 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2548 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2549 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2554 echo "$as_me: failed program was:" >&5
2555 sed 's/^/| /' conftest.$ac_ext >&5
2557 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2558 See \`config.log' for more details." >&5
2559 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2560 See \`config.log' for more details." >&2;}
2561 { (exit 1); exit 1; }; }
2564 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2566 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2567 echo "${ECHO_T}$ac_cv_objext" >&6
2568 OBJEXT=$ac_cv_objext
2570 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2571 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2572 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 cat >conftest.$ac_ext <<_ACEOF
2576 #line $LINENO "configure"
2579 cat confdefs.h >>conftest.$ac_ext
2580 cat >>conftest.$ac_ext <<_ACEOF
2581 /* end confdefs.h. */
2594 rm -f conftest.$ac_objext
2595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2596 (eval $ac_compile) 2>&5
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); } &&
2600 { ac_try='test -s conftest.$ac_objext'
2601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; }; then
2608 echo "$as_me: failed program was:" >&5
2609 sed 's/^/| /' conftest.$ac_ext >&5
2613 rm -f conftest.$ac_objext conftest.$ac_ext
2614 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2617 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2618 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2619 GXX=`test $ac_compiler_gnu = yes && echo yes`
2620 ac_test_CXXFLAGS=${CXXFLAGS+set}
2621 ac_save_CXXFLAGS=$CXXFLAGS
2623 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2624 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2625 if test "${ac_cv_prog_cxx_g+set}" = set; then
2626 echo $ECHO_N "(cached) $ECHO_C" >&6
2628 cat >conftest.$ac_ext <<_ACEOF
2629 #line $LINENO "configure"
2632 cat confdefs.h >>conftest.$ac_ext
2633 cat >>conftest.$ac_ext <<_ACEOF
2634 /* end confdefs.h. */
2644 rm -f conftest.$ac_objext
2645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2646 (eval $ac_compile) 2>&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); } &&
2650 { ac_try='test -s conftest.$ac_objext'
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; }; then
2656 ac_cv_prog_cxx_g=yes
2658 echo "$as_me: failed program was:" >&5
2659 sed 's/^/| /' conftest.$ac_ext >&5
2663 rm -f conftest.$ac_objext conftest.$ac_ext
2665 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2666 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2667 if test "$ac_test_CXXFLAGS" = set; then
2668 CXXFLAGS=$ac_save_CXXFLAGS
2669 elif test $ac_cv_prog_cxx_g = yes; then
2670 if test "$GXX" = yes; then
2676 if test "$GXX" = yes; then
2682 for ac_declaration in \
2684 '#include <stdlib.h>' \
2685 'extern "C" void std::exit (int) throw (); using std::exit;' \
2686 'extern "C" void std::exit (int); using std::exit;' \
2687 'extern "C" void exit (int) throw ();' \
2688 'extern "C" void exit (int);' \
2691 cat >conftest.$ac_ext <<_ACEOF
2692 #line $LINENO "configure"
2695 cat confdefs.h >>conftest.$ac_ext
2696 cat >>conftest.$ac_ext <<_ACEOF
2697 /* end confdefs.h. */
2708 rm -f conftest.$ac_objext
2709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2710 (eval $ac_compile) 2>&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); } &&
2714 { ac_try='test -s conftest.$ac_objext'
2715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }; }; then
2722 echo "$as_me: failed program was:" >&5
2723 sed 's/^/| /' conftest.$ac_ext >&5
2727 rm -f conftest.$ac_objext conftest.$ac_ext
2728 cat >conftest.$ac_ext <<_ACEOF
2729 #line $LINENO "configure"
2732 cat confdefs.h >>conftest.$ac_ext
2733 cat >>conftest.$ac_ext <<_ACEOF
2734 /* end confdefs.h. */
2744 rm -f conftest.$ac_objext
2745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2746 (eval $ac_compile) 2>&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); } &&
2750 { ac_try='test -s conftest.$ac_objext'
2751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; }; then
2758 echo "$as_me: failed program was:" >&5
2759 sed 's/^/| /' conftest.$ac_ext >&5
2762 rm -f conftest.$ac_objext conftest.$ac_ext
2765 if test -n "$ac_declaration"; then
2766 echo '#ifdef __cplusplus' >>confdefs.h
2767 echo $ac_declaration >>confdefs.h
2768 echo '#endif' >>confdefs.h
2772 ac_cpp='$CPP $CPPFLAGS'
2773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2778 ac_cpp='$CPP $CPPFLAGS'
2779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2782 if test -n "$ac_tool_prefix"; then
2785 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2786 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2787 echo "$as_me:$LINENO: checking for $ac_word" >&5
2788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2789 if test "${ac_cv_prog_CC+set}" = set; then
2790 echo $ECHO_N "(cached) $ECHO_C" >&6
2792 if test -n "$CC"; then
2793 ac_cv_prog_CC="$CC" # Let the user override the test.
2795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2799 test -z "$as_dir" && as_dir=.
2800 for ac_exec_ext in '' $ac_executable_extensions; do
2801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2802 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2812 if test -n "$CC"; then
2813 echo "$as_me:$LINENO: result: $CC" >&5
2814 echo "${ECHO_T}$CC" >&6
2816 echo "$as_me:$LINENO: result: no" >&5
2817 echo "${ECHO_T}no" >&6
2820 test -n "$CC" && break
2823 if test -z "$CC"; then
2827 # Extract the first word of "$ac_prog", so it can be a program name with args.
2828 set dummy $ac_prog; ac_word=$2
2829 echo "$as_me:$LINENO: checking for $ac_word" >&5
2830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2831 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2832 echo $ECHO_N "(cached) $ECHO_C" >&6
2834 if test -n "$ac_ct_CC"; then
2835 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2841 test -z "$as_dir" && as_dir=.
2842 for ac_exec_ext in '' $ac_executable_extensions; do
2843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2844 ac_cv_prog_ac_ct_CC="$ac_prog"
2845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2853 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2854 if test -n "$ac_ct_CC"; then
2855 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2856 echo "${ECHO_T}$ac_ct_CC" >&6
2858 echo "$as_me:$LINENO: result: no" >&5
2859 echo "${ECHO_T}no" >&6
2862 test -n "$ac_ct_CC" && break
2869 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2870 See \`config.log' for more details." >&5
2871 echo "$as_me: error: no acceptable C compiler found in \$PATH
2872 See \`config.log' for more details." >&2;}
2873 { (exit 1); exit 1; }; }
2875 # Provide some information about the compiler.
2876 echo "$as_me:$LINENO:" \
2877 "checking for C compiler version" >&5
2878 ac_compiler=`set X $ac_compile; echo $2`
2879 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2880 (eval $ac_compiler --version </dev/null >&5) 2>&5
2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); }
2884 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2885 (eval $ac_compiler -v </dev/null >&5) 2>&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); }
2889 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2890 (eval $ac_compiler -V </dev/null >&5) 2>&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }
2895 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2896 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2897 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2898 echo $ECHO_N "(cached) $ECHO_C" >&6
2900 cat >conftest.$ac_ext <<_ACEOF
2901 #line $LINENO "configure"
2904 cat confdefs.h >>conftest.$ac_ext
2905 cat >>conftest.$ac_ext <<_ACEOF
2906 /* end confdefs.h. */
2919 rm -f conftest.$ac_objext
2920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2921 (eval $ac_compile) 2>&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); } &&
2925 { ac_try='test -s conftest.$ac_objext'
2926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; }; then
2933 echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.$ac_ext >&5
2938 rm -f conftest.$ac_objext conftest.$ac_ext
2939 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2942 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2943 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2944 GCC=`test $ac_compiler_gnu = yes && echo yes`
2945 ac_test_CFLAGS=${CFLAGS+set}
2946 ac_save_CFLAGS=$CFLAGS
2948 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2949 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2950 if test "${ac_cv_prog_cc_g+set}" = set; then
2951 echo $ECHO_N "(cached) $ECHO_C" >&6
2953 cat >conftest.$ac_ext <<_ACEOF
2954 #line $LINENO "configure"
2957 cat confdefs.h >>conftest.$ac_ext
2958 cat >>conftest.$ac_ext <<_ACEOF
2959 /* end confdefs.h. */
2969 rm -f conftest.$ac_objext
2970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2971 (eval $ac_compile) 2>&5
2973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974 (exit $ac_status); } &&
2975 { ac_try='test -s conftest.$ac_objext'
2976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }; }; then
2983 echo "$as_me: failed program was:" >&5
2984 sed 's/^/| /' conftest.$ac_ext >&5
2988 rm -f conftest.$ac_objext conftest.$ac_ext
2990 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2991 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2992 if test "$ac_test_CFLAGS" = set; then
2993 CFLAGS=$ac_save_CFLAGS
2994 elif test $ac_cv_prog_cc_g = yes; then
2995 if test "$GCC" = yes; then
3001 if test "$GCC" = yes; then
3007 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3008 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3009 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3010 echo $ECHO_N "(cached) $ECHO_C" >&6
3012 ac_cv_prog_cc_stdc=no
3014 cat >conftest.$ac_ext <<_ACEOF
3015 #line $LINENO "configure"
3018 cat confdefs.h >>conftest.$ac_ext
3019 cat >>conftest.$ac_ext <<_ACEOF
3020 /* end confdefs.h. */
3023 #include <sys/types.h>
3024 #include <sys/stat.h>
3025 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3026 struct buf { int x; };
3027 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3028 static char *e (p, i)
3034 static char *f (char * (*g) (char **, int), char **p, ...)
3039 s = g (p, va_arg (v,int));
3043 int test (int i, double x);
3044 struct s1 {int (*f) (int a);};
3045 struct s2 {int (*f) (double a);};
3046 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3052 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3057 # Don't try gcc -ansi; that turns off useful extensions and
3058 # breaks some systems' header files.
3059 # AIX -qlanglvl=ansi
3060 # Ultrix and OSF/1 -std1
3061 # HP-UX 10.20 and later -Ae
3062 # HP-UX older versions -Aa -D_HPUX_SOURCE
3063 # SVR4 -Xc -D__EXTENSIONS__
3064 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3066 CC="$ac_save_CC $ac_arg"
3067 rm -f conftest.$ac_objext
3068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3069 (eval $ac_compile) 2>&5
3071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072 (exit $ac_status); } &&
3073 { ac_try='test -s conftest.$ac_objext'
3074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078 (exit $ac_status); }; }; then
3079 ac_cv_prog_cc_stdc=$ac_arg
3082 echo "$as_me: failed program was:" >&5
3083 sed 's/^/| /' conftest.$ac_ext >&5
3086 rm -f conftest.$ac_objext
3088 rm -f conftest.$ac_ext conftest.$ac_objext
3093 case "x$ac_cv_prog_cc_stdc" in
3095 echo "$as_me:$LINENO: result: none needed" >&5
3096 echo "${ECHO_T}none needed" >&6 ;;
3098 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3099 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3100 CC="$CC $ac_cv_prog_cc_stdc" ;;
3103 # Some people use a C++ compiler to compile C. Since we use `exit',
3104 # in C++ we need to declare it. In case someone uses the same compiler
3105 # for both compiling C and C++ we need to have the C++ compiler decide
3106 # the declaration of exit, since it's the most demanding environment.
3107 cat >conftest.$ac_ext <<_ACEOF
3112 rm -f conftest.$ac_objext
3113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3114 (eval $ac_compile) 2>&5
3116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3117 (exit $ac_status); } &&
3118 { ac_try='test -s conftest.$ac_objext'
3119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); }; }; then
3124 for ac_declaration in \
3126 '#include <stdlib.h>' \
3127 'extern "C" void std::exit (int) throw (); using std::exit;' \
3128 'extern "C" void std::exit (int); using std::exit;' \
3129 'extern "C" void exit (int) throw ();' \
3130 'extern "C" void exit (int);' \
3133 cat >conftest.$ac_ext <<_ACEOF
3134 #line $LINENO "configure"
3137 cat confdefs.h >>conftest.$ac_ext
3138 cat >>conftest.$ac_ext <<_ACEOF
3139 /* end confdefs.h. */
3150 rm -f conftest.$ac_objext
3151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3152 (eval $ac_compile) 2>&5
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); } &&
3156 { ac_try='test -s conftest.$ac_objext'
3157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); }; }; then
3164 echo "$as_me: failed program was:" >&5
3165 sed 's/^/| /' conftest.$ac_ext >&5
3169 rm -f conftest.$ac_objext conftest.$ac_ext
3170 cat >conftest.$ac_ext <<_ACEOF
3171 #line $LINENO "configure"
3174 cat confdefs.h >>conftest.$ac_ext
3175 cat >>conftest.$ac_ext <<_ACEOF
3176 /* end confdefs.h. */
3186 rm -f conftest.$ac_objext
3187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3188 (eval $ac_compile) 2>&5
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); } &&
3192 { ac_try='test -s conftest.$ac_objext'
3193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); }; }; then
3200 echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.$ac_ext >&5
3204 rm -f conftest.$ac_objext conftest.$ac_ext
3207 if test -n "$ac_declaration"; then
3208 echo '#ifdef __cplusplus' >>confdefs.h
3209 echo $ac_declaration >>confdefs.h
3210 echo '#endif' >>confdefs.h
3214 echo "$as_me: failed program was:" >&5
3215 sed 's/^/| /' conftest.$ac_ext >&5
3218 rm -f conftest.$ac_objext conftest.$ac_ext
3220 ac_cpp='$CPP $CPPFLAGS'
3221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3226 ac_cpp='$CPP $CPPFLAGS'
3227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3230 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3231 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3232 # On Suns, sometimes $CPP names a directory.
3233 if test -n "$CPP" && test -d "$CPP"; then
3236 if test -z "$CPP"; then
3237 if test "${ac_cv_prog_CPP+set}" = set; then
3238 echo $ECHO_N "(cached) $ECHO_C" >&6
3240 # Double quotes because CPP needs to be expanded
3241 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3244 for ac_c_preproc_warn_flag in '' yes
3246 # Use a header file that comes with gcc, so configuring glibc
3247 # with a fresh cross-compiler works.
3248 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3249 # <limits.h> exists even on freestanding compilers.
3250 # On the NeXT, cc -E runs the code through the compiler's parser,
3251 # not just through cpp. "Syntax error" is here to catch this case.
3252 cat >conftest.$ac_ext <<_ACEOF
3253 #line $LINENO "configure"
3256 cat confdefs.h >>conftest.$ac_ext
3257 cat >>conftest.$ac_ext <<_ACEOF
3258 /* end confdefs.h. */
3260 # include <limits.h>
3262 # include <assert.h>
3266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3267 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3269 grep -v '^ *+' conftest.er1 >conftest.err
3271 cat conftest.err >&5
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); } >/dev/null; then
3274 if test -s conftest.err; then
3275 ac_cpp_err=$ac_c_preproc_warn_flag
3282 if test -z "$ac_cpp_err"; then
3285 echo "$as_me: failed program was:" >&5
3286 sed 's/^/| /' conftest.$ac_ext >&5
3288 # Broken: fails on valid input.
3291 rm -f conftest.err conftest.$ac_ext
3293 # OK, works on sane cases. Now check whether non-existent headers
3294 # can be detected and how.
3295 cat >conftest.$ac_ext <<_ACEOF
3296 #line $LINENO "configure"
3299 cat confdefs.h >>conftest.$ac_ext
3300 cat >>conftest.$ac_ext <<_ACEOF
3301 /* end confdefs.h. */
3302 #include <ac_nonexistent.h>
3304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3307 grep -v '^ *+' conftest.er1 >conftest.err
3309 cat conftest.err >&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); } >/dev/null; then
3312 if test -s conftest.err; then
3313 ac_cpp_err=$ac_c_preproc_warn_flag
3320 if test -z "$ac_cpp_err"; then
3321 # Broken: success on invalid input.
3324 echo "$as_me: failed program was:" >&5
3325 sed 's/^/| /' conftest.$ac_ext >&5
3327 # Passes both tests.
3331 rm -f conftest.err conftest.$ac_ext
3334 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3335 rm -f conftest.err conftest.$ac_ext
3336 if $ac_preproc_ok; then
3348 echo "$as_me:$LINENO: result: $CPP" >&5
3349 echo "${ECHO_T}$CPP" >&6
3351 for ac_c_preproc_warn_flag in '' yes
3353 # Use a header file that comes with gcc, so configuring glibc
3354 # with a fresh cross-compiler works.
3355 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3356 # <limits.h> exists even on freestanding compilers.
3357 # On the NeXT, cc -E runs the code through the compiler's parser,
3358 # not just through cpp. "Syntax error" is here to catch this case.
3359 cat >conftest.$ac_ext <<_ACEOF
3360 #line $LINENO "configure"
3363 cat confdefs.h >>conftest.$ac_ext
3364 cat >>conftest.$ac_ext <<_ACEOF
3365 /* end confdefs.h. */
3367 # include <limits.h>
3369 # include <assert.h>
3373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3374 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3376 grep -v '^ *+' conftest.er1 >conftest.err
3378 cat conftest.err >&5
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); } >/dev/null; then
3381 if test -s conftest.err; then
3382 ac_cpp_err=$ac_c_preproc_warn_flag
3389 if test -z "$ac_cpp_err"; then
3392 echo "$as_me: failed program was:" >&5
3393 sed 's/^/| /' conftest.$ac_ext >&5
3395 # Broken: fails on valid input.
3398 rm -f conftest.err conftest.$ac_ext
3400 # OK, works on sane cases. Now check whether non-existent headers
3401 # can be detected and how.
3402 cat >conftest.$ac_ext <<_ACEOF
3403 #line $LINENO "configure"
3406 cat confdefs.h >>conftest.$ac_ext
3407 cat >>conftest.$ac_ext <<_ACEOF
3408 /* end confdefs.h. */
3409 #include <ac_nonexistent.h>
3411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3414 grep -v '^ *+' conftest.er1 >conftest.err
3416 cat conftest.err >&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); } >/dev/null; then
3419 if test -s conftest.err; then
3420 ac_cpp_err=$ac_c_preproc_warn_flag
3427 if test -z "$ac_cpp_err"; then
3428 # Broken: success on invalid input.
3431 echo "$as_me: failed program was:" >&5
3432 sed 's/^/| /' conftest.$ac_ext >&5
3434 # Passes both tests.
3438 rm -f conftest.err conftest.$ac_ext
3441 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3442 rm -f conftest.err conftest.$ac_ext
3443 if $ac_preproc_ok; then
3446 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3447 See \`config.log' for more details." >&5
3448 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3449 See \`config.log' for more details." >&2;}
3450 { (exit 1); exit 1; }; }
3454 ac_cpp='$CPP $CPPFLAGS'
3455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3460 if test "$GCC" != "yes"
3462 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3463 echo "$as_me: error: gcc required but not found" >&2;}
3464 { (exit 1); exit 1; }; }
3467 if test "$GXX" != "yes"
3469 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3470 echo "$as_me: error: g++ required but not found" >&2;}
3471 { (exit 1); exit 1; }; }
3474 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3475 if test "$gccmajor" -lt "3"
3477 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3478 echo "$as_me: error: gcc 3.x required" >&2;}
3479 { (exit 1); exit 1; }; }
3482 echo "$as_me:$LINENO: checking for GNU make" >&5
3483 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3484 if test "${_cv_gnu_make_command+set}" = set; then
3485 echo $ECHO_N "(cached) $ECHO_C" >&6
3487 _cv_gnu_make_command='' ;
3488 for a in "$MAKE" make gmake gnumake ; do
3489 if test -z "$a" ; then continue ; fi ;
3490 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3491 _cv_gnu_make_command=$a ;
3497 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3498 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3499 if test "x$_cv_gnu_make_command" != "x" ; then
3503 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3504 echo "${ECHO_T}\"Not found\"" >&6;
3508 if test -z "$_cv_gnu_make_command"
3510 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3511 echo "$as_me: error: GNU Make required but not found" >&2;}
3512 { (exit 1); exit 1; }; }
3516 echo "$as_me:$LINENO: checking " >&5
3517 echo $ECHO_N "checking ... $ECHO_C" >&6
3518 if test "${ac_cv_has_flex+set}" = set; then
3519 echo $ECHO_N "(cached) $ECHO_C" >&6
3521 for ac_prog in flex lex
3523 # Extract the first word of "$ac_prog", so it can be a program name with args.
3524 set dummy $ac_prog; ac_word=$2
3525 echo "$as_me:$LINENO: checking for $ac_word" >&5
3526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3527 if test "${ac_cv_prog_LEX+set}" = set; then
3528 echo $ECHO_N "(cached) $ECHO_C" >&6
3530 if test -n "$LEX"; then
3531 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3537 test -z "$as_dir" && as_dir=.
3538 for ac_exec_ext in '' $ac_executable_extensions; do
3539 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3540 ac_cv_prog_LEX="$ac_prog"
3541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3550 if test -n "$LEX"; then
3551 echo "$as_me:$LINENO: result: $LEX" >&5
3552 echo "${ECHO_T}$LEX" >&6
3554 echo "$as_me:$LINENO: result: no" >&5
3555 echo "${ECHO_T}no" >&6
3558 test -n "$LEX" && break
3560 test -n "$LEX" || LEX=":"
3562 if test -z "$LEXLIB"
3564 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3565 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3566 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3567 echo $ECHO_N "(cached) $ECHO_C" >&6
3569 ac_check_lib_save_LIBS=$LIBS
3571 cat >conftest.$ac_ext <<_ACEOF
3572 #line $LINENO "configure"
3575 cat confdefs.h >>conftest.$ac_ext
3576 cat >>conftest.$ac_ext <<_ACEOF
3577 /* end confdefs.h. */
3579 /* Override any gcc2 internal prototype to avoid an error. */
3583 /* We use char because int might match the return type of a gcc2
3584 builtin and then its argument prototype would still apply. */
3594 rm -f conftest.$ac_objext conftest$ac_exeext
3595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3596 (eval $ac_link) 2>&5
3598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599 (exit $ac_status); } &&
3600 { ac_try='test -s conftest$ac_exeext'
3601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); }; }; then
3606 ac_cv_lib_fl_yywrap=yes
3608 echo "$as_me: failed program was:" >&5
3609 sed 's/^/| /' conftest.$ac_ext >&5
3611 ac_cv_lib_fl_yywrap=no
3613 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3614 LIBS=$ac_check_lib_save_LIBS
3616 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3617 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3618 if test $ac_cv_lib_fl_yywrap = yes; then
3621 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3622 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3623 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3624 echo $ECHO_N "(cached) $ECHO_C" >&6
3626 ac_check_lib_save_LIBS=$LIBS
3628 cat >conftest.$ac_ext <<_ACEOF
3629 #line $LINENO "configure"
3632 cat confdefs.h >>conftest.$ac_ext
3633 cat >>conftest.$ac_ext <<_ACEOF
3634 /* end confdefs.h. */
3636 /* Override any gcc2 internal prototype to avoid an error. */
3640 /* We use char because int might match the return type of a gcc2
3641 builtin and then its argument prototype would still apply. */
3651 rm -f conftest.$ac_objext conftest$ac_exeext
3652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3653 (eval $ac_link) 2>&5
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); } &&
3657 { ac_try='test -s conftest$ac_exeext'
3658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); }; }; then
3663 ac_cv_lib_l_yywrap=yes
3665 echo "$as_me: failed program was:" >&5
3666 sed 's/^/| /' conftest.$ac_ext >&5
3668 ac_cv_lib_l_yywrap=no
3670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3671 LIBS=$ac_check_lib_save_LIBS
3673 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3674 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3675 if test $ac_cv_lib_l_yywrap = yes; then
3683 if test "x$LEX" != "x:"; then
3684 echo "$as_me:$LINENO: checking lex output file root" >&5
3685 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3686 if test "${ac_cv_prog_lex_root+set}" = set; then
3687 echo $ECHO_N "(cached) $ECHO_C" >&6
3689 # The minimal lex program is just a single line: %%. But some broken lexes
3690 # (Solaris, I think it was) want two %% lines, so accommodate them.
3691 cat >conftest.l <<_ACEOF
3695 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3696 (eval $LEX conftest.l) 2>&5
3698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); }
3700 if test -f lex.yy.c; then
3701 ac_cv_prog_lex_root=lex.yy
3702 elif test -f lexyy.c; then
3703 ac_cv_prog_lex_root=lexyy
3705 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3706 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3707 { (exit 1); exit 1; }; }
3710 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3711 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3713 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3715 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3716 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3717 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3718 echo $ECHO_N "(cached) $ECHO_C" >&6
3720 # POSIX says lex can declare yytext either as a pointer or an array; the
3721 # default is implementation-dependent. Figure out which it is, since
3722 # not all implementations provide the %pointer and %array declarations.
3723 ac_cv_prog_lex_yytext_pointer=no
3724 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3726 LIBS="$LIBS $LEXLIB"
3727 cat >conftest.$ac_ext <<_ACEOF
3728 `cat $LEX_OUTPUT_ROOT.c`
3730 rm -f conftest.$ac_objext conftest$ac_exeext
3731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3732 (eval $ac_link) 2>&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); } &&
3736 { ac_try='test -s conftest$ac_exeext'
3737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); }; }; then
3742 ac_cv_prog_lex_yytext_pointer=yes
3744 echo "$as_me: failed program was:" >&5
3745 sed 's/^/| /' conftest.$ac_ext >&5
3748 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3750 rm -f "${LEX_OUTPUT_ROOT}.c"
3753 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3754 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3755 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3757 cat >>confdefs.h <<\_ACEOF
3758 #define YYTEXT_POINTER 1
3766 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3767 echo "${ECHO_T}$ac_cv_has_flex" >&6
3768 if test "$LEX" != "flex"; then
3769 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3770 echo "$as_me: error: flex not found but required" >&2;}
3771 { (exit 1); exit 1; }; }
3774 echo "$as_me:$LINENO: checking " >&5
3775 echo $ECHO_N "checking ... $ECHO_C" >&6
3776 if test "${ac_cv_has_bison+set}" = set; then
3777 echo $ECHO_N "(cached) $ECHO_C" >&6
3779 for ac_prog in 'bison -y' byacc
3781 # Extract the first word of "$ac_prog", so it can be a program name with args.
3782 set dummy $ac_prog; ac_word=$2
3783 echo "$as_me:$LINENO: checking for $ac_word" >&5
3784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3785 if test "${ac_cv_prog_YACC+set}" = set; then
3786 echo $ECHO_N "(cached) $ECHO_C" >&6
3788 if test -n "$YACC"; then
3789 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795 test -z "$as_dir" && as_dir=.
3796 for ac_exec_ext in '' $ac_executable_extensions; do
3797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3798 ac_cv_prog_YACC="$ac_prog"
3799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3807 YACC=$ac_cv_prog_YACC
3808 if test -n "$YACC"; then
3809 echo "$as_me:$LINENO: result: $YACC" >&5
3810 echo "${ECHO_T}$YACC" >&6
3812 echo "$as_me:$LINENO: result: no" >&5
3813 echo "${ECHO_T}no" >&6
3816 test -n "$YACC" && break
3818 test -n "$YACC" || YACC="yacc"
3822 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3823 echo "${ECHO_T}$ac_cv_has_bison" >&6
3824 if test "$YACC" != "bison -y"; then
3825 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3826 echo "$as_me: error: bison not found but required" >&2;}
3827 { (exit 1); exit 1; }; }
3834 # Check whether --enable-shared or --disable-shared was given.
3835 if test "${enable_shared+set}" = set; then
3836 enableval="$enable_shared"
3837 p=${PACKAGE-default}
3839 yes) enable_shared=yes ;;
3840 no) enable_shared=no ;;
3843 # Look at the argument we got. We use all the common list separators.
3844 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3845 for pkg in $enableval; do
3847 if test "X$pkg" = "X$p"; then
3858 # Check whether --enable-static or --disable-static was given.
3859 if test "${enable_static+set}" = set; then
3860 enableval="$enable_static"
3861 p=${PACKAGE-default}
3863 yes) enable_static=yes ;;
3864 no) enable_static=no ;;
3867 # Look at the argument we got. We use all the common list separators.
3868 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3869 for pkg in $enableval; do
3871 if test "X$pkg" = "X$p"; then
3882 # Check whether --enable-fast-install or --disable-fast-install was given.
3883 if test "${enable_fast_install+set}" = set; then
3884 enableval="$enable_fast_install"
3885 p=${PACKAGE-default}
3887 yes) enable_fast_install=yes ;;
3888 no) enable_fast_install=no ;;
3890 enable_fast_install=no
3891 # Look at the argument we got. We use all the common list separators.
3892 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3893 for pkg in $enableval; do
3895 if test "X$pkg" = "X$p"; then
3896 enable_fast_install=yes
3903 enable_fast_install=yes
3906 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3907 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3908 if test "${lt_cv_path_SED+set}" = set; then
3909 echo $ECHO_N "(cached) $ECHO_C" >&6
3911 # Loop through the user's path and test for sed and gsed.
3912 # Then use that list of sed's as ones to test for truncation.
3913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3917 test -z "$as_dir" && as_dir=.
3918 for lt_ac_prog in sed gsed; do
3919 for ac_exec_ext in '' $ac_executable_extensions; do
3920 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3921 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3928 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3929 # along with /bin/sed that truncates output.
3930 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3931 test ! -f $lt_ac_sed && break
3932 cat /dev/null > conftest.in
3934 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3935 # Check for GNU sed and select it if it is found.
3936 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3937 lt_cv_path_SED=$lt_ac_sed
3941 cat conftest.in conftest.in >conftest.tmp
3942 mv conftest.tmp conftest.in
3943 cp conftest.in conftest.nl
3945 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3946 cmp -s conftest.out conftest.nl || break
3947 # 10000 chars as input seems more than enough
3948 test $lt_ac_count -gt 10 && break
3949 lt_ac_count=`expr $lt_ac_count + 1`
3950 if test $lt_ac_count -gt $lt_ac_max; then
3951 lt_ac_max=$lt_ac_count
3952 lt_cv_path_SED=$lt_ac_sed
3960 echo "$as_me:$LINENO: result: $SED" >&5
3961 echo "${ECHO_T}$SED" >&6
3963 echo "$as_me:$LINENO: checking for egrep" >&5
3964 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3965 if test "${ac_cv_prog_egrep+set}" = set; then
3966 echo $ECHO_N "(cached) $ECHO_C" >&6
3968 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3969 then ac_cv_prog_egrep='grep -E'
3970 else ac_cv_prog_egrep='egrep'
3973 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3974 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3975 EGREP=$ac_cv_prog_egrep
3979 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3980 if test "${with_gnu_ld+set}" = set; then
3981 withval="$with_gnu_ld"
3982 test "$withval" = no || with_gnu_ld=yes
3987 if test "$GCC" = yes; then
3988 # Check if gcc -print-prog-name=ld gives a path.
3989 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3990 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3993 # gcc leaves a trailing carriage return which upsets mingw
3994 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3996 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3999 # Accept absolute paths.
4001 re_direlt='/[^/][^/]*/\.\./'
4002 # Canonicalize the path of ld
4003 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4004 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4005 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4007 test -z "$LD" && LD="$ac_prog"
4010 # If it fails, then pretend we aren't using GCC.
4014 # If it is relative, then search for the first ld in PATH.
4018 elif test "$with_gnu_ld" = yes; then
4019 echo "$as_me:$LINENO: checking for GNU ld" >&5
4020 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4022 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4023 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4025 if test "${lt_cv_path_LD+set}" = set; then
4026 echo $ECHO_N "(cached) $ECHO_C" >&6
4028 if test -z "$LD"; then
4029 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4030 for ac_dir in $PATH; do
4032 test -z "$ac_dir" && ac_dir=.
4033 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4034 lt_cv_path_LD="$ac_dir/$ac_prog"
4035 # Check to see if the program is GNU ld. I'd rather use --version,
4036 # but apparently some GNU ld's only accept -v.
4037 # Break only if it was the GNU/non-GNU ld that we prefer.
4038 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4039 *GNU* | *'with BFD'*)
4040 test "$with_gnu_ld" != no && break
4043 test "$with_gnu_ld" != yes && break
4050 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4055 if test -n "$LD"; then
4056 echo "$as_me:$LINENO: result: $LD" >&5
4057 echo "${ECHO_T}$LD" >&6
4059 echo "$as_me:$LINENO: result: no" >&5
4060 echo "${ECHO_T}no" >&6
4062 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4063 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4064 { (exit 1); exit 1; }; }
4065 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4066 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4067 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4068 echo $ECHO_N "(cached) $ECHO_C" >&6
4070 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4071 case `"$LD" -v 2>&1 </dev/null` in
4072 *GNU* | *'with BFD'*)
4073 lt_cv_prog_gnu_ld=yes
4076 lt_cv_prog_gnu_ld=no
4080 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4081 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4082 with_gnu_ld=$lt_cv_prog_gnu_ld
4085 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4086 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4087 if test "${lt_cv_ld_reload_flag+set}" = set; then
4088 echo $ECHO_N "(cached) $ECHO_C" >&6
4090 lt_cv_ld_reload_flag='-r'
4092 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4093 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4094 reload_flag=$lt_cv_ld_reload_flag
4095 case $reload_flag in
4097 *) reload_flag=" $reload_flag" ;;
4099 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4101 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4102 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4103 if test "${lt_cv_path_NM+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 if test -n "$NM"; then
4107 # Let the user override the test.
4110 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4111 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4113 test -z "$ac_dir" && ac_dir=.
4114 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4115 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4116 # Check to see if the nm accepts a BSD-compat flag.
4117 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4118 # nm: unknown option "B" ignored
4119 # Tru64's nm complains that /dev/null is an invalid object file
4120 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4121 */dev/null* | *'Invalid file or object type'*)
4122 lt_cv_path_NM="$tmp_nm -B"
4126 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4128 lt_cv_path_NM="$tmp_nm -p"
4132 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4133 continue # so that we can try to find one that supports BSD flags
4140 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4143 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4144 echo "${ECHO_T}$lt_cv_path_NM" >&6
4147 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4148 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4150 if test "$LN_S" = "ln -s"; then
4151 echo "$as_me:$LINENO: result: yes" >&5
4152 echo "${ECHO_T}yes" >&6
4154 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4155 echo "${ECHO_T}no, using $LN_S" >&6
4158 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4159 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4160 if test "${lt_cv_deplibs_check_method+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 lt_cv_file_magic_cmd='$MAGIC_CMD'
4164 lt_cv_file_magic_test_file=
4165 lt_cv_deplibs_check_method='unknown'
4166 # Need to set the preceding variable on all platforms that support
4167 # interlibrary dependencies.
4168 # 'none' -- dependencies not supported.
4169 # `unknown' -- same as none, but documents that we really don't know.
4170 # 'pass_all' -- all dependencies passed with no checks.
4171 # 'test_compile' -- check by making test program.
4172 # 'file_magic [[regex]]' -- check by looking for files in library path
4173 # which responds to the $file_magic_cmd with a given extended regex.
4174 # If you have `file' or equivalent on your system and you're not sure
4175 # whether `pass_all' will *always* work, you probably want this one.
4179 lt_cv_deplibs_check_method=pass_all
4183 lt_cv_deplibs_check_method=pass_all
4187 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4188 lt_cv_file_magic_cmd='/usr/bin/file -L'
4189 lt_cv_file_magic_test_file=/shlib/libc.so
4192 cygwin* | mingw* | pw32*)
4193 # win32_libid is a shell function defined in ltmain.sh
4194 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4195 lt_cv_file_magic_cmd='win32_libid'
4198 darwin* | rhapsody*)
4199 # this will be overwritten by pass_all, but leave it in just in case
4200 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4201 lt_cv_file_magic_cmd='/usr/bin/file -L'
4203 rhapsody* | darwin1.[012])
4204 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4207 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4210 lt_cv_deplibs_check_method=pass_all
4214 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4217 # Not sure whether the presence of OpenBSD here was a mistake.
4218 # Let's accept both of them until this is cleared up.
4219 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4220 lt_cv_file_magic_cmd=/usr/bin/file
4221 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4225 lt_cv_deplibs_check_method=pass_all
4230 lt_cv_deplibs_check_method=pass_all
4233 hpux10.20* | hpux11*)
4234 lt_cv_file_magic_cmd=/usr/bin/file
4237 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4238 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4241 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]'
4242 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4245 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4246 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4251 irix5* | irix6* | nonstopux*)
4253 irix5* | nonstopux*)
4254 # this will be overridden with pass_all, but let us keep it just in case
4255 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4259 *-32|*"-32 ") libmagic=32-bit;;
4260 *-n32|*"-n32 ") libmagic=N32;;
4261 *-64|*"-64 ") libmagic=64-bit;;
4262 *) libmagic=never-match;;
4264 # this will be overridden with pass_all, but let us keep it just in case
4265 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4268 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4269 lt_cv_deplibs_check_method=pass_all
4272 # This must be Linux ELF.
4275 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4276 lt_cv_deplibs_check_method=pass_all ;;
4278 # glibc up to 2.1.1 does not perform some relocations on ARM
4279 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4281 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4285 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4286 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4288 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4293 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4294 lt_cv_file_magic_cmd=/usr/bin/file
4295 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4299 lt_cv_deplibs_check_method=unknown
4303 lt_cv_file_magic_cmd=/usr/bin/file
4304 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4305 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4306 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4308 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4312 osf3* | osf4* | osf5*)
4313 # this will be overridden with pass_all, but let us keep it just in case
4314 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4315 lt_cv_file_magic_test_file=/shlib/libc.so
4316 lt_cv_deplibs_check_method=pass_all
4320 lt_cv_deplibs_check_method=pass_all
4324 lt_cv_deplibs_check_method=pass_all
4325 lt_cv_file_magic_test_file=/lib/libc.so
4328 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4329 case $host_vendor in
4331 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]'
4332 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4335 lt_cv_deplibs_check_method=pass_all
4338 lt_cv_file_magic_cmd='/bin/file'
4339 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4342 lt_cv_file_magic_cmd='/bin/file'
4343 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4344 lt_cv_file_magic_test_file=/lib/libc.so
4347 lt_cv_deplibs_check_method=pass_all
4352 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4353 lt_cv_deplibs_check_method=pass_all
4358 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4359 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4360 file_magic_cmd=$lt_cv_file_magic_cmd
4361 deplibs_check_method=$lt_cv_deplibs_check_method
4362 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4367 # If no C compiler was specified, use CC.
4370 # Allow CC to be a program name with arguments.
4373 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4374 if test "${enable_libtool_lock+set}" = set; then
4375 enableval="$enable_libtool_lock"
4378 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4380 # Some flags need to be propagated to the compiler or linker for good
4384 # Find out which ABI we are using.
4385 echo 'int i;' > conftest.$ac_ext
4386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4387 (eval $ac_compile) 2>&5
4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); }; then
4391 case `/usr/bin/file conftest.$ac_objext` in
4403 # Find out which ABI we are using.
4404 echo '#line 4404 "configure"' > conftest.$ac_ext
4405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4406 (eval $ac_compile) 2>&5
4408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4409 (exit $ac_status); }; then
4410 if test "$lt_cv_prog_gnu_ld" = yes; then
4411 case `/usr/bin/file conftest.$ac_objext` in
4413 LD="${LD-ld} -melf32bsmip"
4416 LD="${LD-ld} -melf32bmipn32"
4419 LD="${LD-ld} -melf64bmip"
4423 case `/usr/bin/file conftest.$ac_objext` in
4439 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4440 # Find out which ABI we are using.
4441 echo 'int i;' > conftest.$ac_ext
4442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4443 (eval $ac_compile) 2>&5
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); }; then
4447 case "`/usr/bin/file conftest.o`" in
4451 LD="${LD-ld} -m elf_i386"
4454 LD="${LD-ld} -m elf32ppclinux"
4457 LD="${LD-ld} -m elf_s390"
4460 LD="${LD-ld} -m elf32_sparc"
4467 LD="${LD-ld} -m elf_x86_64"
4469 ppc*-*linux*|powerpc*-*linux*)
4470 LD="${LD-ld} -m elf64ppc"
4473 LD="${LD-ld} -m elf64_s390"
4476 LD="${LD-ld} -m elf64_sparc"
4486 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4487 SAVE_CFLAGS="$CFLAGS"
4488 CFLAGS="$CFLAGS -belf"
4489 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4490 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4491 if test "${lt_cv_cc_needs_belf+set}" = set; then
4492 echo $ECHO_N "(cached) $ECHO_C" >&6
4495 ac_cpp='$CPP $CPPFLAGS'
4496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4500 cat >conftest.$ac_ext <<_ACEOF
4501 #line $LINENO "configure"
4504 cat confdefs.h >>conftest.$ac_ext
4505 cat >>conftest.$ac_ext <<_ACEOF
4506 /* end confdefs.h. */
4516 rm -f conftest.$ac_objext conftest$ac_exeext
4517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4518 (eval $ac_link) 2>&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); } &&
4522 { ac_try='test -s conftest$ac_exeext'
4523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); }; }; then
4528 lt_cv_cc_needs_belf=yes
4530 echo "$as_me: failed program was:" >&5
4531 sed 's/^/| /' conftest.$ac_ext >&5
4533 lt_cv_cc_needs_belf=no
4535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4537 ac_cpp='$CPP $CPPFLAGS'
4538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4543 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4544 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4545 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4546 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4547 CFLAGS="$SAVE_CFLAGS"
4553 need_locks="$enable_libtool_lock"
4557 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4558 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4559 if test "${ac_cv_header_stdc+set}" = set; then
4560 echo $ECHO_N "(cached) $ECHO_C" >&6
4562 cat >conftest.$ac_ext <<_ACEOF
4563 #line $LINENO "configure"
4566 cat confdefs.h >>conftest.$ac_ext
4567 cat >>conftest.$ac_ext <<_ACEOF
4568 /* end confdefs.h. */
4582 rm -f conftest.$ac_objext
4583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4584 (eval $ac_compile) 2>&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); } &&
4588 { ac_try='test -s conftest.$ac_objext'
4589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593 (exit $ac_status); }; }; then
4594 ac_cv_header_stdc=yes
4596 echo "$as_me: failed program was:" >&5
4597 sed 's/^/| /' conftest.$ac_ext >&5
4599 ac_cv_header_stdc=no
4601 rm -f conftest.$ac_objext conftest.$ac_ext
4603 if test $ac_cv_header_stdc = yes; then
4604 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4605 cat >conftest.$ac_ext <<_ACEOF
4606 #line $LINENO "configure"
4609 cat confdefs.h >>conftest.$ac_ext
4610 cat >>conftest.$ac_ext <<_ACEOF
4611 /* end confdefs.h. */
4615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4616 $EGREP "memchr" >/dev/null 2>&1; then
4619 ac_cv_header_stdc=no
4625 if test $ac_cv_header_stdc = yes; then
4626 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4627 cat >conftest.$ac_ext <<_ACEOF
4628 #line $LINENO "configure"
4631 cat confdefs.h >>conftest.$ac_ext
4632 cat >>conftest.$ac_ext <<_ACEOF
4633 /* end confdefs.h. */
4637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4638 $EGREP "free" >/dev/null 2>&1; then
4641 ac_cv_header_stdc=no
4647 if test $ac_cv_header_stdc = yes; then
4648 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4649 if test "$cross_compiling" = yes; then
4652 cat >conftest.$ac_ext <<_ACEOF
4653 #line $LINENO "configure"
4656 cat confdefs.h >>conftest.$ac_ext
4657 cat >>conftest.$ac_ext <<_ACEOF
4658 /* end confdefs.h. */
4660 #if ((' ' & 0x0FF) == 0x020)
4661 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4662 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4664 # define ISLOWER(c) \
4665 (('a' <= (c) && (c) <= 'i') \
4666 || ('j' <= (c) && (c) <= 'r') \
4667 || ('s' <= (c) && (c) <= 'z'))
4668 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4671 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4676 for (i = 0; i < 256; i++)
4677 if (XOR (islower (i), ISLOWER (i))
4678 || toupper (i) != TOUPPER (i))
4683 rm -f conftest$ac_exeext
4684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4685 (eval $ac_link) 2>&5
4687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4688 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4693 (exit $ac_status); }; }; then
4696 echo "$as_me: program exited with status $ac_status" >&5
4697 echo "$as_me: failed program was:" >&5
4698 sed 's/^/| /' conftest.$ac_ext >&5
4701 ac_cv_header_stdc=no
4703 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4707 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4708 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4709 if test $ac_cv_header_stdc = yes; then
4711 cat >>confdefs.h <<\_ACEOF
4712 #define STDC_HEADERS 1
4717 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4727 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4728 inttypes.h stdint.h unistd.h
4730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4731 echo "$as_me:$LINENO: checking for $ac_header" >&5
4732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4734 echo $ECHO_N "(cached) $ECHO_C" >&6
4736 cat >conftest.$ac_ext <<_ACEOF
4737 #line $LINENO "configure"
4740 cat confdefs.h >>conftest.$ac_ext
4741 cat >>conftest.$ac_ext <<_ACEOF
4742 /* end confdefs.h. */
4743 $ac_includes_default
4745 #include <$ac_header>
4747 rm -f conftest.$ac_objext
4748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4749 (eval $ac_compile) 2>&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); } &&
4753 { ac_try='test -s conftest.$ac_objext'
4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }; }; then
4759 eval "$as_ac_Header=yes"
4761 echo "$as_me: failed program was:" >&5
4762 sed 's/^/| /' conftest.$ac_ext >&5
4764 eval "$as_ac_Header=no"
4766 rm -f conftest.$ac_objext conftest.$ac_ext
4768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4771 cat >>confdefs.h <<_ACEOF
4772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4781 for ac_header in dlfcn.h
4783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4785 echo "$as_me:$LINENO: checking for $ac_header" >&5
4786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4788 echo $ECHO_N "(cached) $ECHO_C" >&6
4790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4793 # Is the header compilable?
4794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4796 cat >conftest.$ac_ext <<_ACEOF
4797 #line $LINENO "configure"
4800 cat confdefs.h >>conftest.$ac_ext
4801 cat >>conftest.$ac_ext <<_ACEOF
4802 /* end confdefs.h. */
4803 $ac_includes_default
4804 #include <$ac_header>
4806 rm -f conftest.$ac_objext
4807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4808 (eval $ac_compile) 2>&5
4810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4811 (exit $ac_status); } &&
4812 { ac_try='test -s conftest.$ac_objext'
4813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); }; }; then
4818 ac_header_compiler=yes
4820 echo "$as_me: failed program was:" >&5
4821 sed 's/^/| /' conftest.$ac_ext >&5
4823 ac_header_compiler=no
4825 rm -f conftest.$ac_objext conftest.$ac_ext
4826 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4827 echo "${ECHO_T}$ac_header_compiler" >&6
4829 # Is the header present?
4830 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4831 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4832 cat >conftest.$ac_ext <<_ACEOF
4833 #line $LINENO "configure"
4836 cat confdefs.h >>conftest.$ac_ext
4837 cat >>conftest.$ac_ext <<_ACEOF
4838 /* end confdefs.h. */
4839 #include <$ac_header>
4841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4842 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4844 grep -v '^ *+' conftest.er1 >conftest.err
4846 cat conftest.err >&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); } >/dev/null; then
4849 if test -s conftest.err; then
4850 ac_cpp_err=$ac_c_preproc_warn_flag
4857 if test -z "$ac_cpp_err"; then
4858 ac_header_preproc=yes
4860 echo "$as_me: failed program was:" >&5
4861 sed 's/^/| /' conftest.$ac_ext >&5
4863 ac_header_preproc=no
4865 rm -f conftest.err conftest.$ac_ext
4866 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4867 echo "${ECHO_T}$ac_header_preproc" >&6
4869 # So? What about this header?
4870 case $ac_header_compiler:$ac_header_preproc in
4872 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4873 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4874 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4875 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4878 ## ------------------------------------ ##
4879 ## Report this to bug-autoconf@gnu.org. ##
4880 ## ------------------------------------ ##
4883 sed "s/^/$as_me: WARNING: /" >&2
4886 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4887 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4888 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4889 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4894 ## ------------------------------------ ##
4895 ## Report this to bug-autoconf@gnu.org. ##
4896 ## ------------------------------------ ##
4899 sed "s/^/$as_me: WARNING: /" >&2
4902 echo "$as_me:$LINENO: checking for $ac_header" >&5
4903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4905 echo $ECHO_N "(cached) $ECHO_C" >&6
4907 eval "$as_ac_Header=$ac_header_preproc"
4909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4914 cat >>confdefs.h <<_ACEOF
4915 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4923 ac_cpp='$CXXCPP $CPPFLAGS'
4924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4927 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4928 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4929 if test -z "$CXXCPP"; then
4930 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4931 echo $ECHO_N "(cached) $ECHO_C" >&6
4933 # Double quotes because CXXCPP needs to be expanded
4934 for CXXCPP in "$CXX -E" "/lib/cpp"
4937 for ac_cxx_preproc_warn_flag in '' yes
4939 # Use a header file that comes with gcc, so configuring glibc
4940 # with a fresh cross-compiler works.
4941 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4942 # <limits.h> exists even on freestanding compilers.
4943 # On the NeXT, cc -E runs the code through the compiler's parser,
4944 # not just through cpp. "Syntax error" is here to catch this case.
4945 cat >conftest.$ac_ext <<_ACEOF
4946 #line $LINENO "configure"
4949 cat confdefs.h >>conftest.$ac_ext
4950 cat >>conftest.$ac_ext <<_ACEOF
4951 /* end confdefs.h. */
4953 # include <limits.h>
4955 # include <assert.h>
4959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4960 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4962 grep -v '^ *+' conftest.er1 >conftest.err
4964 cat conftest.err >&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } >/dev/null; then
4967 if test -s conftest.err; then
4968 ac_cpp_err=$ac_cxx_preproc_warn_flag
4975 if test -z "$ac_cpp_err"; then
4978 echo "$as_me: failed program was:" >&5
4979 sed 's/^/| /' conftest.$ac_ext >&5
4981 # Broken: fails on valid input.
4984 rm -f conftest.err conftest.$ac_ext
4986 # OK, works on sane cases. Now check whether non-existent headers
4987 # can be detected and how.
4988 cat >conftest.$ac_ext <<_ACEOF
4989 #line $LINENO "configure"
4992 cat confdefs.h >>conftest.$ac_ext
4993 cat >>conftest.$ac_ext <<_ACEOF
4994 /* end confdefs.h. */
4995 #include <ac_nonexistent.h>
4997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5000 grep -v '^ *+' conftest.er1 >conftest.err
5002 cat conftest.err >&5
5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); } >/dev/null; then
5005 if test -s conftest.err; then
5006 ac_cpp_err=$ac_cxx_preproc_warn_flag
5013 if test -z "$ac_cpp_err"; then
5014 # Broken: success on invalid input.
5017 echo "$as_me: failed program was:" >&5
5018 sed 's/^/| /' conftest.$ac_ext >&5
5020 # Passes both tests.
5024 rm -f conftest.err conftest.$ac_ext
5027 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5028 rm -f conftest.err conftest.$ac_ext
5029 if $ac_preproc_ok; then
5034 ac_cv_prog_CXXCPP=$CXXCPP
5037 CXXCPP=$ac_cv_prog_CXXCPP
5039 ac_cv_prog_CXXCPP=$CXXCPP
5041 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5042 echo "${ECHO_T}$CXXCPP" >&6
5044 for ac_cxx_preproc_warn_flag in '' yes
5046 # Use a header file that comes with gcc, so configuring glibc
5047 # with a fresh cross-compiler works.
5048 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5049 # <limits.h> exists even on freestanding compilers.
5050 # On the NeXT, cc -E runs the code through the compiler's parser,
5051 # not just through cpp. "Syntax error" is here to catch this case.
5052 cat >conftest.$ac_ext <<_ACEOF
5053 #line $LINENO "configure"
5056 cat confdefs.h >>conftest.$ac_ext
5057 cat >>conftest.$ac_ext <<_ACEOF
5058 /* end confdefs.h. */
5060 # include <limits.h>
5062 # include <assert.h>
5066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5067 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5069 grep -v '^ *+' conftest.er1 >conftest.err
5071 cat conftest.err >&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } >/dev/null; then
5074 if test -s conftest.err; then
5075 ac_cpp_err=$ac_cxx_preproc_warn_flag
5082 if test -z "$ac_cpp_err"; then
5085 echo "$as_me: failed program was:" >&5
5086 sed 's/^/| /' conftest.$ac_ext >&5
5088 # Broken: fails on valid input.
5091 rm -f conftest.err conftest.$ac_ext
5093 # OK, works on sane cases. Now check whether non-existent headers
5094 # can be detected and how.
5095 cat >conftest.$ac_ext <<_ACEOF
5096 #line $LINENO "configure"
5099 cat confdefs.h >>conftest.$ac_ext
5100 cat >>conftest.$ac_ext <<_ACEOF
5101 /* end confdefs.h. */
5102 #include <ac_nonexistent.h>
5104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5107 grep -v '^ *+' conftest.er1 >conftest.err
5109 cat conftest.err >&5
5110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5111 (exit $ac_status); } >/dev/null; then
5112 if test -s conftest.err; then
5113 ac_cpp_err=$ac_cxx_preproc_warn_flag
5120 if test -z "$ac_cpp_err"; then
5121 # Broken: success on invalid input.
5124 echo "$as_me: failed program was:" >&5
5125 sed 's/^/| /' conftest.$ac_ext >&5
5127 # Passes both tests.
5131 rm -f conftest.err conftest.$ac_ext
5134 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5135 rm -f conftest.err conftest.$ac_ext
5136 if $ac_preproc_ok; then
5139 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5140 See \`config.log' for more details." >&5
5141 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5142 See \`config.log' for more details." >&2;}
5143 { (exit 1); exit 1; }; }
5147 ac_cpp='$CXXCPP $CPPFLAGS'
5148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5154 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5155 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5156 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5157 if test -n "$ac_tool_prefix"; then
5158 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5160 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5161 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5162 echo "$as_me:$LINENO: checking for $ac_word" >&5
5163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5164 if test "${ac_cv_prog_F77+set}" = set; then
5165 echo $ECHO_N "(cached) $ECHO_C" >&6
5167 if test -n "$F77"; then
5168 ac_cv_prog_F77="$F77" # Let the user override the test.
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5177 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5187 if test -n "$F77"; then
5188 echo "$as_me:$LINENO: result: $F77" >&5
5189 echo "${ECHO_T}$F77" >&6
5191 echo "$as_me:$LINENO: result: no" >&5
5192 echo "${ECHO_T}no" >&6
5195 test -n "$F77" && break
5198 if test -z "$F77"; then
5200 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5202 # Extract the first word of "$ac_prog", so it can be a program name with args.
5203 set dummy $ac_prog; ac_word=$2
5204 echo "$as_me:$LINENO: checking for $ac_word" >&5
5205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5206 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5207 echo $ECHO_N "(cached) $ECHO_C" >&6
5209 if test -n "$ac_ct_F77"; then
5210 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216 test -z "$as_dir" && as_dir=.
5217 for ac_exec_ext in '' $ac_executable_extensions; do
5218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5219 ac_cv_prog_ac_ct_F77="$ac_prog"
5220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5229 if test -n "$ac_ct_F77"; then
5230 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5231 echo "${ECHO_T}$ac_ct_F77" >&6
5233 echo "$as_me:$LINENO: result: no" >&5
5234 echo "${ECHO_T}no" >&6
5237 test -n "$ac_ct_F77" && break
5244 # Provide some information about the compiler.
5245 echo "$as_me:5245:" \
5246 "checking for Fortran 77 compiler version" >&5
5247 ac_compiler=`set X $ac_compile; echo $2`
5248 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5249 (eval $ac_compiler --version </dev/null >&5) 2>&5
5251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252 (exit $ac_status); }
5253 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5254 (eval $ac_compiler -v </dev/null >&5) 2>&5
5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257 (exit $ac_status); }
5258 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5259 (eval $ac_compiler -V </dev/null >&5) 2>&5
5261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5262 (exit $ac_status); }
5264 # If we don't use `.F' as extension, the preprocessor is not run on the
5268 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5269 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5270 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5271 echo $ECHO_N "(cached) $ECHO_C" >&6
5273 cat >conftest.$ac_ext <<_ACEOF
5281 rm -f conftest.$ac_objext
5282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5283 (eval $ac_compile) 2>&5
5285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5286 (exit $ac_status); } &&
5287 { ac_try='test -s conftest.$ac_objext'
5288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5292 (exit $ac_status); }; }; then
5295 echo "$as_me: failed program was:" >&5
5296 sed 's/^/| /' conftest.$ac_ext >&5
5300 rm -f conftest.$ac_objext conftest.$ac_ext
5301 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5304 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5305 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5307 G77=`test $ac_compiler_gnu = yes && echo yes`
5308 ac_test_FFLAGS=${FFLAGS+set}
5309 ac_save_FFLAGS=$FFLAGS
5311 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5312 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5313 if test "${ac_cv_prog_f77_g+set}" = set; then
5314 echo $ECHO_N "(cached) $ECHO_C" >&6
5317 cat >conftest.$ac_ext <<_ACEOF
5322 rm -f conftest.$ac_objext
5323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5324 (eval $ac_compile) 2>&5
5326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5327 (exit $ac_status); } &&
5328 { ac_try='test -s conftest.$ac_objext'
5329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5333 (exit $ac_status); }; }; then
5334 ac_cv_prog_f77_g=yes
5336 echo "$as_me: failed program was:" >&5
5337 sed 's/^/| /' conftest.$ac_ext >&5
5341 rm -f conftest.$ac_objext conftest.$ac_ext
5344 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5345 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5346 if test "$ac_test_FFLAGS" = set; then
5347 FFLAGS=$ac_save_FFLAGS
5348 elif test $ac_cv_prog_f77_g = yes; then
5349 if test "$G77" = yes; then
5355 if test "$G77" = yes; then
5362 ac_cpp='$CPP $CPPFLAGS'
5363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5369 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5371 # find the maximum length of command line arguments
5372 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5373 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5374 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5375 echo $ECHO_N "(cached) $ECHO_C" >&6
5382 # On DJGPP, this test can blow up pretty badly due to problems in libc
5383 # (any single argument exceeding 2000 bytes causes a buffer overrun
5384 # during glob expansion). Even if it were fixed, the result of this
5385 # check would be larger than it should be.
5386 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5390 # Under GNU Hurd, this test is not required because there is
5391 # no limit to the length of command line arguments.
5392 # Libtool will interpret -1 as no limit whatsoever
5393 lt_cv_sys_max_cmd_len=-1;
5397 # On Win9x/ME, this test blows up -- it succeeds, but takes
5398 # about 5 minutes as the teststring grows exponentially.
5399 # Worse, since 9x/ME are not pre-emptively multitasking,
5400 # you end up with a "frozen" computer, even though with patience
5401 # the test eventually succeeds (with a max line length of 256k).
5402 # Instead, let's just punt: use the minimum linelength reported by
5403 # all of the supported platforms: 8192 (on NT/2K/XP).
5404 lt_cv_sys_max_cmd_len=8192;
5408 # If test is not a shell built-in, we'll probably end up computing a
5409 # maximum length that is only half of the actual maximum length, but
5411 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5412 = "XX$testring") >/dev/null 2>&1 &&
5413 new_result=`expr "X$testring" : ".*" 2>&1` &&
5414 lt_cv_sys_max_cmd_len=$new_result &&
5415 test $i != 17 # 1/2 MB should be enough
5418 testring=$testring$testring
5421 # Add a significant safety factor because C++ compilers can tack on massive
5422 # amounts of additional arguments before passing them to the linker.
5423 # It appears as though 1/2 is a usable value.
5424 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5430 if test -n $lt_cv_sys_max_cmd_len ; then
5431 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5432 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5434 echo "$as_me:$LINENO: result: none" >&5
5435 echo "${ECHO_T}none" >&6
5441 # Check for command to grab the raw symbol name followed by C symbol from nm.
5442 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5443 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5444 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5445 echo $ECHO_N "(cached) $ECHO_C" >&6
5448 # These are sane defaults that work on at least a few old systems.
5449 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5451 # Character class describing NM global symbol codes.
5452 symcode='[BCDEGRST]'
5454 # Regexp to match symbols that can be accessed directly from C.
5455 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5457 # Transform the above into a raw symbol and a C symbol.
5458 symxfrm='\1 \2\3 \3'
5460 # Transform an extracted symbol line into a proper C declaration
5461 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5463 # Transform an extracted symbol line into symbol name and symbol address
5464 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'"
5466 # Define system-specific variables.
5471 cygwin* | mingw* | pw32*)
5472 symcode='[ABCDGISTW]'
5474 hpux*) # Its linker distinguishes data from code symbols
5475 if test "$host_cpu" = ia64; then
5476 symcode='[ABCDEGRST]'
5478 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5479 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'"
5482 symcode='[BCDEGRST]'
5485 symcode='[BCDEGQRST]'
5495 # Handle CRLF in mingw tool chain
5499 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5503 # If we're using GNU nm, then use its standard symbol codes.
5504 case `$NM -V 2>&1` in
5505 *GNU* | *'with BFD'*)
5506 symcode='[ABCDGISTW]' ;;
5509 # Try without a prefix undercore, then with it.
5510 for ac_symprfx in "" "_"; do
5512 # Write the raw and C identifiers.
5513 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5515 # Check to see that the pipe works correctly.
5519 cat > conftest.$ac_ext <<EOF
5524 void nm_test_func(){}
5528 int main(){nm_test_var='a';nm_test_func();return(0);}
5531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5532 (eval $ac_compile) 2>&5
5534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5535 (exit $ac_status); }; then
5536 # Now try to grab the symbols.
5538 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5539 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); } && test -s "$nlist"; then
5543 # Try sorting and uniquifying the output.
5544 if sort "$nlist" | uniq > "$nlist"T; then
5545 mv -f "$nlist"T "$nlist"
5550 # Make sure that we snagged all the symbols we need.
5551 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5552 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5553 cat <<EOF > conftest.$ac_ext
5559 # Now generate the symbol file.
5560 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5562 cat <<EOF >> conftest.$ac_ext
5563 #if defined (__STDC__) && __STDC__
5564 # define lt_ptr_t void *
5566 # define lt_ptr_t char *
5570 /* The mapping between symbol names and symbols. */
5575 lt_preloaded_symbols[] =
5578 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5579 cat <<\EOF >> conftest.$ac_ext
5587 # Now try linking the two files.
5588 mv conftest.$ac_objext conftstm.$ac_objext
5589 lt_save_LIBS="$LIBS"
5590 lt_save_CFLAGS="$CFLAGS"
5591 LIBS="conftstm.$ac_objext"
5592 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5594 (eval $ac_link) 2>&5
5596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5597 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5600 LIBS="$lt_save_LIBS"
5601 CFLAGS="$lt_save_CFLAGS"
5603 echo "cannot find nm_test_func in $nlist" >&5
5606 echo "cannot find nm_test_var in $nlist" >&5
5609 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5612 echo "$progname: failed program was:" >&5
5613 cat conftest.$ac_ext >&5
5615 rm -f conftest* conftst*
5617 # Do not use the global_symbol_pipe unless it works.
5618 if test "$pipe_works" = yes; then
5621 lt_cv_sys_global_symbol_pipe=
5627 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5628 lt_cv_sys_global_symbol_to_cdecl=
5630 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5631 echo "$as_me:$LINENO: result: failed" >&5
5632 echo "${ECHO_T}failed" >&6
5634 echo "$as_me:$LINENO: result: ok" >&5
5635 echo "${ECHO_T}ok" >&6
5638 echo "$as_me:$LINENO: checking for objdir" >&5
5639 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5640 if test "${lt_cv_objdir+set}" = set; then
5641 echo $ECHO_N "(cached) $ECHO_C" >&6
5643 rm -f .libs 2>/dev/null
5644 mkdir .libs 2>/dev/null
5645 if test -d .libs; then
5648 # MS-DOS does not allow filenames that begin with a dot.
5651 rmdir .libs 2>/dev/null
5653 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5654 echo "${ECHO_T}$lt_cv_objdir" >&6
5655 objdir=$lt_cv_objdir
5663 # AIX sometimes has problems with the GCC collect2 program. For some
5664 # reason, if we set the COLLECT_NAMES environment variable, the problems
5665 # vanish in a puff of smoke.
5666 if test "X${COLLECT_NAMES+set}" != Xset; then
5668 export COLLECT_NAMES
5673 # Sed substitution that helps us do robust quoting. It backslashifies
5674 # metacharacters that are still active within double-quoted strings.
5675 Xsed='sed -e s/^X//'
5676 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5678 # Same as above, but do not quote variable references.
5679 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5681 # Sed substitution to delay expansion of an escaped shell variable in a
5682 # double_quote_subst'ed string.
5683 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5685 # Sed substitution to avoid accidental globbing in evaled expressions
5686 no_glob_subst='s/\*/\\\*/g'
5693 can_build_shared=yes
5695 # All known linkers require a `.a' archive for static linking (except M$VC,
5696 # which needs '.lib').
5698 ltmain="$ac_aux_dir/ltmain.sh"
5699 ofile="$default_ofile"
5700 with_gnu_ld="$lt_cv_prog_gnu_ld"
5702 if test -n "$ac_tool_prefix"; then
5703 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5704 set dummy ${ac_tool_prefix}ar; ac_word=$2
5705 echo "$as_me:$LINENO: checking for $ac_word" >&5
5706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5707 if test "${ac_cv_prog_AR+set}" = set; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5710 if test -n "$AR"; then
5711 ac_cv_prog_AR="$AR" # Let the user override the test.
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5717 test -z "$as_dir" && as_dir=.
5718 for ac_exec_ext in '' $ac_executable_extensions; do
5719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5720 ac_cv_prog_AR="${ac_tool_prefix}ar"
5721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5730 if test -n "$AR"; then
5731 echo "$as_me:$LINENO: result: $AR" >&5
5732 echo "${ECHO_T}$AR" >&6
5734 echo "$as_me:$LINENO: result: no" >&5
5735 echo "${ECHO_T}no" >&6
5739 if test -z "$ac_cv_prog_AR"; then
5741 # Extract the first word of "ar", so it can be a program name with args.
5742 set dummy ar; ac_word=$2
5743 echo "$as_me:$LINENO: checking for $ac_word" >&5
5744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5745 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5746 echo $ECHO_N "(cached) $ECHO_C" >&6
5748 if test -n "$ac_ct_AR"; then
5749 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5755 test -z "$as_dir" && as_dir=.
5756 for ac_exec_ext in '' $ac_executable_extensions; do
5757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5758 ac_cv_prog_ac_ct_AR="ar"
5759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5765 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5768 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5769 if test -n "$ac_ct_AR"; then
5770 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5771 echo "${ECHO_T}$ac_ct_AR" >&6
5773 echo "$as_me:$LINENO: result: no" >&5
5774 echo "${ECHO_T}no" >&6
5782 if test -n "$ac_tool_prefix"; then
5783 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5784 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5785 echo "$as_me:$LINENO: checking for $ac_word" >&5
5786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5787 if test "${ac_cv_prog_RANLIB+set}" = set; then
5788 echo $ECHO_N "(cached) $ECHO_C" >&6
5790 if test -n "$RANLIB"; then
5791 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5800 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5809 RANLIB=$ac_cv_prog_RANLIB
5810 if test -n "$RANLIB"; then
5811 echo "$as_me:$LINENO: result: $RANLIB" >&5
5812 echo "${ECHO_T}$RANLIB" >&6
5814 echo "$as_me:$LINENO: result: no" >&5
5815 echo "${ECHO_T}no" >&6
5819 if test -z "$ac_cv_prog_RANLIB"; then
5820 ac_ct_RANLIB=$RANLIB
5821 # Extract the first word of "ranlib", so it can be a program name with args.
5822 set dummy ranlib; ac_word=$2
5823 echo "$as_me:$LINENO: checking for $ac_word" >&5
5824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5825 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5826 echo $ECHO_N "(cached) $ECHO_C" >&6
5828 if test -n "$ac_ct_RANLIB"; then
5829 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5835 test -z "$as_dir" && as_dir=.
5836 for ac_exec_ext in '' $ac_executable_extensions; do
5837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5838 ac_cv_prog_ac_ct_RANLIB="ranlib"
5839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5845 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5848 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5849 if test -n "$ac_ct_RANLIB"; then
5850 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5851 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5853 echo "$as_me:$LINENO: result: no" >&5
5854 echo "${ECHO_T}no" >&6
5857 RANLIB=$ac_ct_RANLIB
5859 RANLIB="$ac_cv_prog_RANLIB"
5862 if test -n "$ac_tool_prefix"; then
5863 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5864 set dummy ${ac_tool_prefix}strip; ac_word=$2
5865 echo "$as_me:$LINENO: checking for $ac_word" >&5
5866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5867 if test "${ac_cv_prog_STRIP+set}" = set; then
5868 echo $ECHO_N "(cached) $ECHO_C" >&6
5870 if test -n "$STRIP"; then
5871 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 test -z "$as_dir" && as_dir=.
5878 for ac_exec_ext in '' $ac_executable_extensions; do
5879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5880 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 STRIP=$ac_cv_prog_STRIP
5890 if test -n "$STRIP"; then
5891 echo "$as_me:$LINENO: result: $STRIP" >&5
5892 echo "${ECHO_T}$STRIP" >&6
5894 echo "$as_me:$LINENO: result: no" >&5
5895 echo "${ECHO_T}no" >&6
5899 if test -z "$ac_cv_prog_STRIP"; then
5901 # Extract the first word of "strip", so it can be a program name with args.
5902 set dummy strip; ac_word=$2
5903 echo "$as_me:$LINENO: checking for $ac_word" >&5
5904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5905 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5906 echo $ECHO_N "(cached) $ECHO_C" >&6
5908 if test -n "$ac_ct_STRIP"; then
5909 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5915 test -z "$as_dir" && as_dir=.
5916 for ac_exec_ext in '' $ac_executable_extensions; do
5917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5918 ac_cv_prog_ac_ct_STRIP="strip"
5919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5925 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5928 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5929 if test -n "$ac_ct_STRIP"; then
5930 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5931 echo "${ECHO_T}$ac_ct_STRIP" >&6
5933 echo "$as_me:$LINENO: result: no" >&5
5934 echo "${ECHO_T}no" >&6
5939 STRIP="$ac_cv_prog_STRIP"
5944 old_CFLAGS="$CFLAGS"
5946 # Set sane defaults for various variables
5947 test -z "$AR" && AR=ar
5948 test -z "$AR_FLAGS" && AR_FLAGS=cru
5949 test -z "$AS" && AS=as
5950 test -z "$CC" && CC=cc
5951 test -z "$LTCC" && LTCC=$CC
5952 test -z "$DLLTOOL" && DLLTOOL=dlltool
5953 test -z "$LD" && LD=ld
5954 test -z "$LN_S" && LN_S="ln -s"
5955 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5956 test -z "$NM" && NM=nm
5957 test -z "$SED" && SED=sed
5958 test -z "$OBJDUMP" && OBJDUMP=objdump
5959 test -z "$RANLIB" && RANLIB=:
5960 test -z "$STRIP" && STRIP=:
5961 test -z "$ac_objext" && ac_objext=o
5963 # Determine commands to create old-style static archives.
5964 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5965 old_postinstall_cmds='chmod 644 $oldlib'
5966 old_postuninstall_cmds=
5968 if test -n "$RANLIB"; then
5971 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5974 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5977 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5980 # Only perform the check for file, if the check method requires it
5981 case $deplibs_check_method in
5983 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5984 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5985 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5986 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5987 echo $ECHO_N "(cached) $ECHO_C" >&6
5991 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5994 lt_save_MAGIC_CMD="$MAGIC_CMD"
5995 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5996 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5997 for ac_dir in $ac_dummy; do
5999 test -z "$ac_dir" && ac_dir=.
6000 if test -f $ac_dir/${ac_tool_prefix}file; then
6001 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6002 if test -n "$file_magic_test_file"; then
6003 case $deplibs_check_method in
6005 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6006 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6007 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6008 $EGREP "$file_magic_regex" > /dev/null; then
6013 *** Warning: the command libtool uses to detect shared libraries,
6014 *** $file_magic_cmd, produces output that libtool cannot recognize.
6015 *** The result is that libtool may fail to recognize shared libraries
6016 *** as such. This will affect the creation of libtool libraries that
6017 *** depend on shared libraries, but programs linked with such libtool
6018 *** libraries will work regardless of this problem. Nevertheless, you
6019 *** may want to report the problem to your system manager and/or to
6020 *** bug-libtool@gnu.org
6030 MAGIC_CMD="$lt_save_MAGIC_CMD"
6035 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6036 if test -n "$MAGIC_CMD"; then
6037 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6038 echo "${ECHO_T}$MAGIC_CMD" >&6
6040 echo "$as_me:$LINENO: result: no" >&5
6041 echo "${ECHO_T}no" >&6
6044 if test -z "$lt_cv_path_MAGIC_CMD"; then
6045 if test -n "$ac_tool_prefix"; then
6046 echo "$as_me:$LINENO: checking for file" >&5
6047 echo $ECHO_N "checking for file... $ECHO_C" >&6
6048 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6053 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6056 lt_save_MAGIC_CMD="$MAGIC_CMD"
6057 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6058 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6059 for ac_dir in $ac_dummy; do
6061 test -z "$ac_dir" && ac_dir=.
6062 if test -f $ac_dir/file; then
6063 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6064 if test -n "$file_magic_test_file"; then
6065 case $deplibs_check_method in
6067 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6068 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6069 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6070 $EGREP "$file_magic_regex" > /dev/null; then
6075 *** Warning: the command libtool uses to detect shared libraries,
6076 *** $file_magic_cmd, produces output that libtool cannot recognize.
6077 *** The result is that libtool may fail to recognize shared libraries
6078 *** as such. This will affect the creation of libtool libraries that
6079 *** depend on shared libraries, but programs linked with such libtool
6080 *** libraries will work regardless of this problem. Nevertheless, you
6081 *** may want to report the problem to your system manager and/or to
6082 *** bug-libtool@gnu.org
6092 MAGIC_CMD="$lt_save_MAGIC_CMD"
6097 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6098 if test -n "$MAGIC_CMD"; then
6099 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6100 echo "${ECHO_T}$MAGIC_CMD" >&6
6102 echo "$as_me:$LINENO: result: no" >&5
6103 echo "${ECHO_T}no" >&6
6118 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6119 if test "${enable_libtool_lock+set}" = set; then
6120 enableval="$enable_libtool_lock"
6123 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6126 # Check whether --with-pic or --without-pic was given.
6127 if test "${with_pic+set}" = set; then
6133 test -z "$pic_mode" && pic_mode=default
6135 # Use C for the default configuration in the libtool script
6139 ac_cpp='$CPP $CPPFLAGS'
6140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6145 # Source file extension for C test sources.
6148 # Object file extension for compiled C test sources.
6152 # Code to be used in simple compile tests
6153 lt_simple_compile_test_code="int some_variable = 0;\n"
6155 # Code to be used in simple link tests
6156 lt_simple_link_test_code='int main(){return(0);}\n'
6159 # If no C compiler was specified, use CC.
6162 # Allow CC to be a program name with arguments.
6167 # Check for any special shared library compilation flags.
6170 if test "$GCC" = no; then
6173 lt_prog_cc_shlib='-belf'
6177 if test -n "$lt_prog_cc_shlib"; then
6178 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6179 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6180 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6182 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6183 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6184 lt_cv_prog_cc_can_build_shared=no
6190 # Check to make sure the static flag actually works.
6192 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6193 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6194 if test "${lt_prog_compiler_static_works+set}" = set; then
6195 echo $ECHO_N "(cached) $ECHO_C" >&6
6197 lt_prog_compiler_static_works=no
6198 save_LDFLAGS="$LDFLAGS"
6199 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6200 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6201 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6202 # The compiler can only warn and ignore the option if not recognized
6203 # So say no if there are warnings
6204 if test -s conftest.err; then
6205 # Append any errors to the config.log.
6206 cat conftest.err 1>&5
6208 lt_prog_compiler_static_works=yes
6212 LDFLAGS="$save_LDFLAGS"
6215 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6216 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6218 if test x"$lt_prog_compiler_static_works" = xyes; then
6221 lt_prog_compiler_static=
6227 ## There is no encapsulation within the following macros, do not change
6228 ## the running order or otherwise move them around unless you know exactly
6229 ## what you are doing...
6231 lt_prog_compiler_no_builtin_flag=
6233 if test "$GCC" = yes; then
6234 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6236 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6237 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6238 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6239 echo $ECHO_N "(cached) $ECHO_C" >&6
6241 lt_cv_prog_compiler_rtti_exceptions=no
6242 ac_outfile=conftest.$ac_objext
6243 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6244 lt_compiler_flag="-fno-rtti -fno-exceptions"
6245 # Insert the option either (1) after the last *FLAGS variable, or
6246 # (2) before a word containing "conftest.", or (3) at the end.
6247 # Note that $ac_compile itself does not contain backslashes and begins
6248 # with a dollar sign (not a hyphen), so the echo should work correctly.
6249 # The option is referenced via a variable to avoid confusing sed.
6250 lt_compile=`echo "$ac_compile" | $SED \
6251 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6252 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6253 -e 's:$: $lt_compiler_flag:'`
6254 (eval echo "\"\$as_me:6254: $lt_compile\"" >&5)
6255 (eval "$lt_compile" 2>conftest.err)
6257 cat conftest.err >&5
6258 echo "$as_me:6258: \$? = $ac_status" >&5
6259 if (exit $ac_status) && test -s "$ac_outfile"; then
6260 # The compiler can only warn and ignore the option if not recognized
6261 # So say no if there are warnings
6262 if test ! -s conftest.err; then
6263 lt_cv_prog_compiler_rtti_exceptions=yes
6269 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6270 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6272 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6273 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6280 lt_prog_compiler_wl=
6281 lt_prog_compiler_pic=
6282 lt_prog_compiler_static=
6284 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6285 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6287 if test "$GCC" = yes; then
6288 lt_prog_compiler_wl='-Wl,'
6289 lt_prog_compiler_static='-static'
6293 # All AIX code is PIC.
6294 if test "$host_cpu" = ia64; then
6295 # AIX 5 now supports IA64 processor
6296 lt_prog_compiler_static='-Bstatic'
6301 # FIXME: we need at least 68020 code to build shared libraries, but
6302 # adding the `-m68020' flag to GCC prevents building anything better,
6304 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6307 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6308 # PIC is the default for these OSes.
6311 mingw* | pw32* | os2*)
6312 # This hack is so that the source file can tell whether it is being
6313 # built for inclusion in a dll (and should export symbols for example).
6314 lt_prog_compiler_pic='-DDLL_EXPORT'
6317 darwin* | rhapsody*)
6318 # PIC is the default on this platform
6319 # Common symbols not allowed in MH_DYLIB files
6320 lt_prog_compiler_pic='-fno-common'
6324 # Just because we use GCC doesn't mean we suddenly get shared libraries
6325 # on systems that don't support them.
6326 lt_prog_compiler_can_build_shared=no
6331 if test -d /usr/nec; then
6332 lt_prog_compiler_pic=-Kconform_pic
6337 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6344 lt_prog_compiler_pic='-fPIC'
6350 lt_prog_compiler_pic='-fPIC'
6354 # PORTME Check for flag to pass linker flags through the system compiler.
6357 lt_prog_compiler_wl='-Wl,'
6358 if test "$host_cpu" = ia64; then
6359 # AIX 5 now supports IA64 processor
6360 lt_prog_compiler_static='-Bstatic'
6362 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6366 mingw* | pw32* | os2*)
6367 # This hack is so that the source file can tell whether it is being
6368 # built for inclusion in a dll (and should export symbols for example).
6369 lt_prog_compiler_pic='-DDLL_EXPORT'
6372 hpux9* | hpux10* | hpux11*)
6373 lt_prog_compiler_wl='-Wl,'
6374 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6381 lt_prog_compiler_pic='+Z'
6384 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6385 lt_prog_compiler_static='${wl}-a ${wl}archive'
6388 irix5* | irix6* | nonstopux*)
6389 lt_prog_compiler_wl='-Wl,'
6390 # PIC (with -KPIC) is the default.
6391 lt_prog_compiler_static='-non_shared'
6395 lt_prog_compiler_pic='-KPIC'
6396 lt_prog_compiler_static='-Bstatic'
6402 lt_prog_compiler_wl='-Wl,'
6403 lt_prog_compiler_pic='-KPIC'
6404 lt_prog_compiler_static='-static'
6407 lt_prog_compiler_wl='-Wl,'
6408 # All Alpha code is PIC.
6409 lt_prog_compiler_static='-non_shared'
6414 osf3* | osf4* | osf5*)
6415 lt_prog_compiler_wl='-Wl,'
6416 # All OSF/1 code is PIC.
6417 lt_prog_compiler_static='-non_shared'
6421 lt_prog_compiler_pic='-Kpic'
6422 lt_prog_compiler_static='-dn'
6426 lt_prog_compiler_wl='-Wl,'
6427 lt_prog_compiler_pic='-KPIC'
6428 lt_prog_compiler_static='-Bstatic'
6432 lt_prog_compiler_wl='-Qoption ld '
6433 lt_prog_compiler_pic='-PIC'
6434 lt_prog_compiler_static='-Bstatic'
6437 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6438 lt_prog_compiler_wl='-Wl,'
6439 lt_prog_compiler_pic='-KPIC'
6440 lt_prog_compiler_static='-Bstatic'
6444 if test -d /usr/nec ;then
6445 lt_prog_compiler_pic='-Kconform_pic'
6446 lt_prog_compiler_static='-Bstatic'
6451 lt_prog_compiler_pic='-pic'
6452 lt_prog_compiler_static='-Bstatic'
6456 lt_prog_compiler_can_build_shared=no
6461 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6462 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6465 # Check to make sure the PIC flag actually works.
6467 if test -n "$lt_prog_compiler_pic"; then
6468 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6469 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6470 if test "${lt_prog_compiler_pic_works+set}" = set; then
6471 echo $ECHO_N "(cached) $ECHO_C" >&6
6473 lt_prog_compiler_pic_works=no
6474 ac_outfile=conftest.$ac_objext
6475 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6476 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6477 # Insert the option either (1) after the last *FLAGS variable, or
6478 # (2) before a word containing "conftest.", or (3) at the end.
6479 # Note that $ac_compile itself does not contain backslashes and begins
6480 # with a dollar sign (not a hyphen), so the echo should work correctly.
6481 # The option is referenced via a variable to avoid confusing sed.
6482 lt_compile=`echo "$ac_compile" | $SED \
6483 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6484 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6485 -e 's:$: $lt_compiler_flag:'`
6486 (eval echo "\"\$as_me:6486: $lt_compile\"" >&5)
6487 (eval "$lt_compile" 2>conftest.err)
6489 cat conftest.err >&5
6490 echo "$as_me:6490: \$? = $ac_status" >&5
6491 if (exit $ac_status) && test -s "$ac_outfile"; then
6492 # The compiler can only warn and ignore the option if not recognized
6493 # So say no if there are warnings
6494 if test ! -s conftest.err; then
6495 lt_prog_compiler_pic_works=yes
6501 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6502 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6504 if test x"$lt_prog_compiler_pic_works" = xyes; then
6505 case $lt_prog_compiler_pic in
6507 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6510 lt_prog_compiler_pic=
6511 lt_prog_compiler_can_build_shared=no
6516 # For platforms which do not support PIC, -DPIC is meaningless:
6518 lt_prog_compiler_pic=
6521 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6525 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6526 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6527 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6528 echo $ECHO_N "(cached) $ECHO_C" >&6
6530 lt_cv_prog_compiler_c_o=no
6531 $rm -r conftest 2>/dev/null
6535 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6537 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6538 # that will create temporary files in the current directory regardless of
6539 # the output directory. Thus, making CWD read-only will cause this test
6540 # to fail, enabling locking or at least warning the user not to do parallel
6544 lt_compiler_flag="-o out/conftest2.$ac_objext"
6545 # Insert the option either (1) after the last *FLAGS variable, or
6546 # (2) before a word containing "conftest.", or (3) at the end.
6547 # Note that $ac_compile itself does not contain backslashes and begins
6548 # with a dollar sign (not a hyphen), so the echo should work correctly.
6549 lt_compile=`echo "$ac_compile" | $SED \
6550 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6551 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6552 -e 's:$: $lt_compiler_flag:'`
6553 (eval echo "\"\$as_me:6553: $lt_compile\"" >&5)
6554 (eval "$lt_compile" 2>out/conftest.err)
6556 cat out/conftest.err >&5
6557 echo "$as_me:6557: \$? = $ac_status" >&5
6558 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6560 # The compiler can only warn and ignore the option if not recognized
6561 # So say no if there are warnings
6562 if test ! -s out/conftest.err; then
6563 lt_cv_prog_compiler_c_o=yes
6574 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6575 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6578 hard_links="nottested"
6579 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6580 # do not overwrite the value of need_locks provided by the user
6581 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6582 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6585 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6587 ln conftest.a conftest.b 2>&5 || hard_links=no
6588 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6589 echo "$as_me:$LINENO: result: $hard_links" >&5
6590 echo "${ECHO_T}$hard_links" >&6
6591 if test "$hard_links" = no; then
6592 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6593 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6600 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6601 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6604 allow_undefined_flag=
6605 enable_shared_with_static_runtimes=no
6607 archive_expsym_cmds=
6608 old_archive_From_new_cmds=
6609 old_archive_from_expsyms_cmds=
6610 export_dynamic_flag_spec=
6611 whole_archive_flag_spec=
6612 thread_safe_flag_spec=
6613 hardcode_libdir_flag_spec=
6614 hardcode_libdir_flag_spec_ld=
6615 hardcode_libdir_separator=
6618 hardcode_shlibpath_var=unsupported
6619 link_all_deplibs=unknown
6620 hardcode_automatic=no
6623 always_export_symbols=no
6624 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6625 # include_expsyms should be a list of space-separated symbols to be *always*
6626 # included in the symbol list
6628 # exclude_expsyms can be an extended regexp of symbols to exclude
6629 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6630 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6631 # as well as any symbol that contains `d'.
6632 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6633 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6634 # platforms (ab)use it in PIC code, but their linkers get confused if
6635 # the symbol is explicitly referenced. Since portable code cannot
6636 # rely on this symbol name, it's probably fine to never include it in
6637 # preloaded symbol tables.
6638 extract_expsyms_cmds=
6641 cygwin* | mingw* | pw32*)
6642 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6643 # When not using gcc, we currently assume that we are using
6644 # Microsoft Visual C++.
6645 if test "$GCC" != yes; then
6655 if test "$with_gnu_ld" = yes; then
6656 # If archive_cmds runs LD, not CC, wlarc should be empty
6659 # See if GNU ld supports shared libraries.
6661 aix3* | aix4* | aix5*)
6662 # On AIX/PPC, the GNU linker is very broken
6663 if test "$host_cpu" != ia64; then
6667 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6668 *** to be unable to reliably create shared libraries on AIX.
6669 *** Therefore, libtool is disabling shared libraries support. If you
6670 *** really care for shared libraries, you may want to modify your PATH
6671 *** so that a non-GNU linker is found, and then restart.
6678 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)'
6679 hardcode_libdir_flag_spec='-L$libdir'
6680 hardcode_minus_L=yes
6682 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6683 # that the semantics of dynamic libraries on AmigaOS, at least up
6684 # to version 4, is to share data among multiple programs linked
6685 # with the same dynamic library. Since this doesn't match the
6686 # behavior of shared libraries on other platforms, we can't use
6692 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6693 allow_undefined_flag=unsupported
6694 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6695 # support --undefined. This deserves some investigation. FIXME
6696 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6702 cygwin* | mingw* | pw32*)
6703 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6704 # as there is no search path for DLLs.
6705 hardcode_libdir_flag_spec='-L$libdir'
6706 allow_undefined_flag=unsupported
6707 always_export_symbols=no
6708 enable_shared_with_static_runtimes=yes
6709 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6711 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6712 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6713 # If the export-symbols file already is a .def file (1st line
6714 # is EXPORTS), use it as is; otherwise, prepend...
6715 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6716 cp $export_symbols $output_objdir/$soname.def;
6718 echo EXPORTS > $output_objdir/$soname.def;
6719 cat $export_symbols >> $output_objdir/$soname.def;
6721 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6728 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6729 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6732 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6733 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6738 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6742 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6743 *** create shared libraries on Solaris systems. Therefore, libtool
6744 *** is disabling shared libraries support. We urge you to upgrade GNU
6745 *** binutils to release 2.9.1 or newer. Another option is to modify
6746 *** your PATH or compiler configuration so that the native linker is
6747 *** used, and then restart.
6750 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6751 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6752 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6759 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6762 hardcode_shlibpath_var=no
6766 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6767 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6768 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6775 if test "$ld_shlibs" = yes; then
6776 runpath_var=LD_RUN_PATH
6777 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6778 export_dynamic_flag_spec='${wl}--export-dynamic'
6779 # ancient GNU ld didn't support --whole-archive et. al.
6780 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6781 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6783 whole_archive_flag_spec=
6787 # PORTME fill in a description of your system's linker (not GNU ld)
6790 allow_undefined_flag=unsupported
6791 always_export_symbols=yes
6792 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'
6793 # Note: this linker hardcodes the directories in LIBPATH if there
6794 # are no directories specified by -L.
6795 hardcode_minus_L=yes
6796 if test "$GCC" = yes && test -z "$link_static_flag"; then
6797 # Neither direct hardcoding nor static linking is supported with a
6799 hardcode_direct=unsupported
6804 if test "$host_cpu" = ia64; then
6805 # On IA64, the linker does run time linking by default, so we don't
6806 # have to do anything special.
6807 aix_use_runtimelinking=no
6808 exp_sym_flag='-Bexport'
6811 # If we're using GNU nm, then we don't want the "-C" option.
6812 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6813 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6814 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'
6816 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'
6818 aix_use_runtimelinking=no
6820 # Test if we are trying to use run time linking or normal
6821 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6822 # need to do runtime linking.
6823 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6824 for ld_flag in $LDFLAGS; do
6825 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6826 aix_use_runtimelinking=yes
6832 exp_sym_flag='-bexport'
6833 no_entry_flag='-bnoentry'
6836 # When large executables or shared objects are built, AIX ld can
6837 # have problems creating the table of contents. If linking a library
6838 # or program results in "error TOC overflow" add -mminimal-toc to
6839 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6840 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6844 hardcode_libdir_separator=':'
6845 link_all_deplibs=yes
6847 if test "$GCC" = yes; then
6848 case $host_os in aix4.012|aix4.012.*)
6849 # We only want to do this on AIX 4.2 and lower, the check
6850 # below for broken collect2 doesn't work under 4.3+
6851 collect2name=`${CC} -print-prog-name=collect2`
6852 if test -f "$collect2name" && \
6853 strings "$collect2name" | grep resolve_lib_name >/dev/null
6855 # We have reworked collect2
6858 # We have old collect2
6859 hardcode_direct=unsupported
6860 # It fails to find uninstalled libraries when the uninstalled
6861 # path is not listed in the libpath. Setting hardcode_minus_L
6862 # to unsupported forces relinking
6863 hardcode_minus_L=yes
6864 hardcode_libdir_flag_spec='-L$libdir'
6865 hardcode_libdir_separator=
6868 shared_flag='-shared'
6871 if test "$host_cpu" = ia64; then
6872 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6873 # chokes on -Wl,-G. The following line is correct:
6876 if test "$aix_use_runtimelinking" = yes; then
6877 shared_flag='${wl}-G'
6879 shared_flag='${wl}-bM:SRE'
6884 # It seems that -bexpall does not export symbols beginning with
6885 # underscore (_), so it is better to generate a list of symbols to export.
6886 always_export_symbols=yes
6887 if test "$aix_use_runtimelinking" = yes; then
6888 # Warning - without using the other runtime loading flags (-brtl),
6889 # -berok will link without error, but may produce a broken library.
6890 allow_undefined_flag='-berok'
6891 # Determine the default libpath from the value encoded in an empty executable.
6892 cat >conftest.$ac_ext <<_ACEOF
6893 #line $LINENO "configure"
6896 cat confdefs.h >>conftest.$ac_ext
6897 cat >>conftest.$ac_ext <<_ACEOF
6898 /* end confdefs.h. */
6908 rm -f conftest.$ac_objext conftest$ac_exeext
6909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6910 (eval $ac_link) 2>&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); } &&
6914 { ac_try='test -s conftest$ac_exeext'
6915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); }; }; then
6921 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6923 # Check for a 64-bit object if we didn't find anything.
6924 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; }
6927 echo "$as_me: failed program was:" >&5
6928 sed 's/^/| /' conftest.$ac_ext >&5
6931 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6932 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6934 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6935 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"
6937 if test "$host_cpu" = ia64; then
6938 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6939 allow_undefined_flag="-z nodefs"
6940 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"
6942 # Determine the default libpath from the value encoded in an empty executable.
6943 cat >conftest.$ac_ext <<_ACEOF
6944 #line $LINENO "configure"
6947 cat confdefs.h >>conftest.$ac_ext
6948 cat >>conftest.$ac_ext <<_ACEOF
6949 /* end confdefs.h. */
6959 rm -f conftest.$ac_objext conftest$ac_exeext
6960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6961 (eval $ac_link) 2>&5
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); } &&
6965 { ac_try='test -s conftest$ac_exeext'
6966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); }; }; then
6972 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6974 # Check for a 64-bit object if we didn't find anything.
6975 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; }
6978 echo "$as_me: failed program was:" >&5
6979 sed 's/^/| /' conftest.$ac_ext >&5
6982 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6983 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6985 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6986 # Warning - without using the other run time loading flags,
6987 # -berok will link without error, but may produce a broken library.
6988 no_undefined_flag=' ${wl}-bernotok'
6989 allow_undefined_flag=' ${wl}-berok'
6990 # -bexpall does not export symbols beginning with underscore (_)
6991 always_export_symbols=yes
6992 # Exported symbols can be pulled into shared objects from archives
6993 whole_archive_flag_spec=' '
6994 archive_cmds_need_lc=yes
6995 # This is similar to how AIX traditionally builds it's shared libraries.
6996 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'
7002 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)'
7003 hardcode_libdir_flag_spec='-L$libdir'
7004 hardcode_minus_L=yes
7005 # see comment about different semantics on the GNU ld section
7010 export_dynamic_flag_spec=-rdynamic
7013 cygwin* | mingw* | pw32*)
7014 # When not using gcc, we currently assume that we are using
7015 # Microsoft Visual C++.
7016 # hardcode_libdir_flag_spec is actually meaningless, as there is
7017 # no search path for DLLs.
7018 hardcode_libdir_flag_spec=' '
7019 allow_undefined_flag=unsupported
7020 # Tell ltmain to make .lib files, not .a files.
7022 # Tell ltmain to make .dll files, not .so files.
7024 # FIXME: Setting linknames here is a bad hack.
7025 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7026 # The linker will automatically build a .lib file if we build a DLL.
7027 old_archive_From_new_cmds='true'
7028 # FIXME: Should let the user specify the lib program.
7029 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7030 fix_srcfile_path='`cygpath -w "$srcfile"`'
7031 enable_shared_with_static_runtimes=yes
7034 darwin* | rhapsody*)
7035 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7036 archive_cmds_need_lc=no
7038 rhapsody* | darwin1.[012])
7039 allow_undefined_flag='-undefined suppress'
7042 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7045 # FIXME: Relying on posixy $() will cause problems for
7046 # cross-compilation, but unfortunately the echo tests do not
7047 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7048 # `"' quotes if we put them in here... so don't!
7049 lt_int_apple_cc_single_mod=no
7050 output_verbose_link_cmd='echo'
7051 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7052 lt_int_apple_cc_single_mod=yes
7054 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7055 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7057 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'
7059 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7060 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7061 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7062 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}'
7064 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}'
7066 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}'
7068 hardcode_automatic=yes
7069 hardcode_shlibpath_var=unsupported
7070 whole_archive_flag_spec='-all_load $convenience'
7071 link_all_deplibs=yes
7076 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7077 hardcode_libdir_flag_spec='-L$libdir'
7078 hardcode_shlibpath_var=no
7085 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7086 # support. Future versions do this automatically, but an explicit c++rt0.o
7087 # does not break anything, and helps significantly (at the cost of a little
7090 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7091 hardcode_libdir_flag_spec='-R$libdir'
7093 hardcode_shlibpath_var=no
7096 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7098 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7100 hardcode_minus_L=yes
7101 hardcode_shlibpath_var=no
7104 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7106 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7107 hardcode_libdir_flag_spec='-R$libdir'
7109 hardcode_shlibpath_var=no
7113 if test "$GCC" = yes; then
7114 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'
7116 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'
7118 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7119 hardcode_libdir_separator=:
7122 # hardcode_minus_L: Not really in the search PATH,
7123 # but as the default location of the library.
7124 hardcode_minus_L=yes
7125 export_dynamic_flag_spec='${wl}-E'
7129 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7132 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7135 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7141 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7144 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7148 if test "$with_gnu_ld" = no; then
7151 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7152 hardcode_libdir_flag_spec_ld='+b $libdir'
7153 hardcode_libdir_separator=:
7155 hardcode_shlibpath_var=no
7158 hardcode_libdir_flag_spec='-L$libdir'
7160 hardcode_shlibpath_var=no
7162 # hardcode_minus_L: Not really in the search PATH,
7163 # but as the default location of the library.
7164 hardcode_minus_L=yes
7167 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7168 hardcode_libdir_separator=:
7170 export_dynamic_flag_spec='${wl}-E'
7172 # hardcode_minus_L: Not really in the search PATH,
7173 # but as the default location of the library.
7174 hardcode_minus_L=yes
7180 irix5* | irix6* | nonstopux*)
7181 if test "$GCC" = yes; then
7182 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'
7184 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'
7185 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7187 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7188 hardcode_libdir_separator=:
7189 link_all_deplibs=yes
7193 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7194 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7196 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7198 hardcode_libdir_flag_spec='-R$libdir'
7200 hardcode_shlibpath_var=no
7204 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7206 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7207 hardcode_libdir_separator=:
7208 hardcode_shlibpath_var=no
7213 hardcode_shlibpath_var=no
7214 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7215 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7216 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7217 export_dynamic_flag_spec='${wl}-E'
7220 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7221 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7222 hardcode_libdir_flag_spec='-R$libdir'
7225 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7226 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7233 hardcode_libdir_flag_spec='-L$libdir'
7234 hardcode_minus_L=yes
7235 allow_undefined_flag=unsupported
7236 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'
7237 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7241 if test "$GCC" = yes; then
7242 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7243 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'
7245 allow_undefined_flag=' -expect_unresolved \*'
7246 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'
7248 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7249 hardcode_libdir_separator=:
7252 osf4* | osf5*) # as osf3* with the addition of -msym flag
7253 if test "$GCC" = yes; then
7254 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7255 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'
7256 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7258 allow_undefined_flag=' -expect_unresolved \*'
7259 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'
7260 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7261 $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'
7263 # Both c and cxx compiler support -rpath directly
7264 hardcode_libdir_flag_spec='-rpath $libdir'
7266 hardcode_libdir_separator=:
7270 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7271 hardcode_shlibpath_var=no
7272 export_dynamic_flag_spec='${wl}-Bexport'
7273 runpath_var=LD_RUN_PATH
7274 hardcode_runpath_var=yes
7278 no_undefined_flag=' -z text'
7279 if test "$GCC" = yes; then
7280 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7281 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7282 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7284 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7285 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7286 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7288 hardcode_libdir_flag_spec='-R$libdir'
7289 hardcode_shlibpath_var=no
7291 solaris2.[0-5] | solaris2.[0-5].*) ;;
7292 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7293 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7295 link_all_deplibs=yes
7299 if test "x$host_vendor" = xsequent; then
7300 # Use $CC to link under sequent, because it throws in some extra .o
7301 # files that make .init and .fini sections work.
7302 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7304 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7306 hardcode_libdir_flag_spec='-L$libdir'
7308 hardcode_minus_L=yes
7309 hardcode_shlibpath_var=no
7313 case $host_vendor in
7315 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7316 hardcode_direct=yes # is this really true???
7319 ## LD is ld it makes a PLAMLIB
7320 ## CC just makes a GrossModule.
7321 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7322 reload_cmds='$CC -r -o $output$reload_objs'
7326 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7327 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7330 runpath_var='LD_RUN_PATH'
7331 hardcode_shlibpath_var=no
7335 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7336 hardcode_shlibpath_var=no
7337 export_dynamic_flag_spec='-Bexport'
7341 if test -d /usr/nec; then
7342 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7343 hardcode_shlibpath_var=no
7344 runpath_var=LD_RUN_PATH
7345 hardcode_runpath_var=yes
7351 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7354 hardcode_shlibpath_var=no
7355 hardcode_runpath_var=yes
7356 runpath_var=LD_RUN_PATH
7359 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7360 no_undefined_flag='${wl}-z ${wl}text'
7361 if test "$GCC" = yes; then
7362 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7364 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7366 runpath_var='LD_RUN_PATH'
7367 hardcode_shlibpath_var=no
7371 no_undefined_flag=' -z text'
7372 # $CC -shared without GNU ld will not create a library from C++
7373 # object files and a static libstdc++, better avoid it by now
7374 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7375 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7376 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7377 hardcode_libdir_flag_spec=
7378 hardcode_shlibpath_var=no
7379 runpath_var='LD_RUN_PATH'
7383 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7384 hardcode_libdir_flag_spec='-L$libdir'
7385 hardcode_shlibpath_var=no
7394 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7395 echo "${ECHO_T}$ld_shlibs" >&6
7396 test "$ld_shlibs" = no && can_build_shared=no
7398 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7399 if test "$GCC" = yes; then
7400 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7404 # Do we need to explicitly link libc?
7406 case "x$archive_cmds_need_lc" in
7408 # Assume -lc should be added
7409 archive_cmds_need_lc=yes
7411 if test "$enable_shared" = yes && test "$GCC" = yes; then
7412 case $archive_cmds in
7414 # FIXME: we may have to deal with multi-command sequences.
7417 # Test whether the compiler implicitly links with -lc since on some
7418 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7419 # to ld, don't add -lc before -lgcc.
7420 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7421 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7423 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7426 (eval $ac_compile) 2>&5
7428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429 (exit $ac_status); } 2>conftest.err; then
7432 libobjs=conftest.$ac_objext
7434 wl=$lt_prog_compiler_wl
7440 lt_save_allow_undefined_flag=$allow_undefined_flag
7441 allow_undefined_flag=
7442 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7443 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); }
7448 archive_cmds_need_lc=no
7450 archive_cmds_need_lc=yes
7452 allow_undefined_flag=$lt_save_allow_undefined_flag
7454 cat conftest.err 1>&5
7457 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7458 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7465 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7466 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7468 if test -n "$hardcode_libdir_flag_spec" || \
7469 test -n "$runpath_var " || \
7470 test "X$hardcode_automatic"="Xyes" ; then
7472 # We can hardcode non-existant directories.
7473 if test "$hardcode_direct" != no &&
7474 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7475 # have to relink, otherwise we might link with an installed library
7476 # when we should be linking with a yet-to-be-installed one
7477 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7478 test "$hardcode_minus_L" != no; then
7479 # Linking always hardcodes the temporary library directory.
7480 hardcode_action=relink
7482 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7483 hardcode_action=immediate
7486 # We cannot hardcode anything, or else we can only hardcode existing
7488 hardcode_action=unsupported
7490 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7491 echo "${ECHO_T}$hardcode_action" >&6
7493 if test "$hardcode_action" = relink; then
7494 # Fast installation is not supported
7495 enable_fast_install=no
7496 elif test "$shlibpath_overrides_runpath" = yes ||
7497 test "$enable_shared" = no; then
7498 # Fast installation is not necessary
7499 enable_fast_install=needless
7504 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7505 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7506 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7507 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7508 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7509 echo "$as_me:$LINENO: result: yes" >&5
7510 echo "${ECHO_T}yes" >&6
7512 # FIXME - insert some real tests, host_os isn't really good enough
7515 if test -n "$STRIP" ; then
7516 striplib="$STRIP -x"
7517 echo "$as_me:$LINENO: result: yes" >&5
7518 echo "${ECHO_T}yes" >&6
7520 echo "$as_me:$LINENO: result: no" >&5
7521 echo "${ECHO_T}no" >&6
7525 echo "$as_me:$LINENO: result: no" >&5
7526 echo "${ECHO_T}no" >&6
7531 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7532 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7534 libname_spec='lib$name'
7542 shlibpath_overrides_runpath=unknown
7544 dynamic_linker="$host_os ld.so"
7545 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7546 if test "$GCC" = yes; then
7547 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7548 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7549 # if the path contains ";" then we assume it to be the separator
7550 # otherwise default to the standard path separator (i.e. ":") - it is
7551 # assumed that no part of a normal pathname contains ";" but that should
7552 # okay in the real world where ";" in dirpaths is itself problematic.
7553 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7555 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7558 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7560 need_lib_prefix=unknown
7561 hardcode_into_libs=no
7563 # when you set need_version to no, make sure it does not cause -set_version
7564 # flags to be left without arguments
7565 need_version=unknown
7570 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7571 shlibpath_var=LIBPATH
7573 # AIX 3 has no versioning support, so we append a major version to the name.
7574 soname_spec='${libname}${release}${shared_ext}$major'
7581 hardcode_into_libs=yes
7582 if test "$host_cpu" = ia64; then
7583 # AIX 5 supports IA64
7584 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7585 shlibpath_var=LD_LIBRARY_PATH
7587 # With GCC up to 2.95.x, collect2 would create an import file
7588 # for dependence libraries. The import file would start with
7589 # the line `#! .'. This would cause the generated library to
7590 # depend on `.', always an invalid library. This was fixed in
7591 # development snapshots of GCC prior to 3.0.
7593 aix4 | aix4.[01] | aix4.[01].*)
7594 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7596 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7603 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7604 # soname into executable. Probably we can add versioning support to
7605 # collect2, so additional links can be useful in future.
7606 if test "$aix_use_runtimelinking" = yes; then
7607 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7608 # instead of lib<name>.a to let people know that these are not
7609 # typical AIX shared libraries.
7610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7612 # We preserve .a as extension for shared libraries through AIX4.2
7613 # and later when we are not doing run time linking.
7614 library_names_spec='${libname}${release}.a $libname.a'
7615 soname_spec='${libname}${release}${shared_ext}$major'
7617 shlibpath_var=LIBPATH
7622 library_names_spec='$libname.ixlibrary $libname.a'
7623 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7624 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'
7628 library_names_spec='${libname}${shared_ext}'
7629 dynamic_linker="$host_os ld.so"
7630 shlibpath_var=LIBRARY_PATH
7636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7637 soname_spec='${libname}${release}${shared_ext}$major'
7638 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7639 shlibpath_var=LD_LIBRARY_PATH
7640 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7641 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7642 # the default ld.so.conf also contains /usr/contrib/lib and
7643 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7644 # libtool to hard-code these into programs
7647 cygwin* | mingw* | pw32*)
7648 version_type=windows
7653 case $GCC,$host_os in
7654 yes,cygwin* | yes,mingw* | yes,pw32*)
7655 library_names_spec='$libname.dll.a'
7656 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7657 postinstall_cmds='base_file=`basename \${file}`~
7658 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7659 dldir=$destdir/`dirname \$dlpath`~
7660 test -d \$dldir || mkdir -p \$dldir~
7661 $install_prog $dir/$dlname \$dldir/$dlname'
7662 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7663 dlpath=$dir/\$dldll~
7665 shlibpath_overrides_runpath=yes
7669 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7670 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7671 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7674 # MinGW DLLs use traditional 'lib' prefix
7675 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7676 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7677 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7678 # It is most probably a Windows format PATH printed by
7679 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7680 # path with ; separators, and with drive letters. We can handle the
7681 # drive letters (cygwin fileutils understands them), so leave them,
7682 # especially as we might pass files found there to a mingw objdump,
7683 # which wouldn't understand a cygwinified path. Ahh.
7684 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7686 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7690 # pw32 DLLs use 'pw' prefix rather than 'lib'
7691 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7697 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7700 dynamic_linker='Win32 ld.exe'
7701 # FIXME: first we should search . and the directory the executable is in
7705 darwin* | rhapsody*)
7706 dynamic_linker="$host_os dyld"
7710 # FIXME: Relying on posixy $() will cause problems for
7711 # cross-compilation, but unfortunately the echo tests do not
7712 # yet detect zsh echo's removal of \ escapes.
7713 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7714 soname_spec='${libname}${release}${major}$shared_ext'
7715 shlibpath_overrides_runpath=yes
7716 shlibpath_var=DYLD_LIBRARY_PATH
7717 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7718 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7719 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7720 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"`
7722 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7730 soname_spec='${libname}${release}${shared_ext}$major'
7731 shlibpath_var=LD_LIBRARY_PATH
7739 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7740 version_type=freebsd-$objformat
7741 case $version_type in
7743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7748 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7752 shlibpath_var=LD_LIBRARY_PATH
7755 shlibpath_overrides_runpath=yes
7757 freebsd3.01* | freebsdelf3.01*)
7758 shlibpath_overrides_runpath=yes
7759 hardcode_into_libs=yes
7762 shlibpath_overrides_runpath=no
7763 hardcode_into_libs=yes
7772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7773 soname_spec='${libname}${release}${shared_ext}$major'
7774 shlibpath_var=LD_LIBRARY_PATH
7775 hardcode_into_libs=yes
7778 hpux9* | hpux10* | hpux11*)
7779 # Give a soname corresponding to the major version so that dld.sl refuses to
7780 # link against other versions.
7787 hardcode_into_libs=yes
7788 dynamic_linker="$host_os dld.so"
7789 shlibpath_var=LD_LIBRARY_PATH
7790 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7792 soname_spec='${libname}${release}${shared_ext}$major'
7793 if test "X$HPUX_IA64_MODE" = X32; then
7794 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7796 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7798 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7802 hardcode_into_libs=yes
7803 dynamic_linker="$host_os dld.sl"
7804 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7805 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7807 soname_spec='${libname}${release}${shared_ext}$major'
7808 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7809 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7813 dynamic_linker="$host_os dld.sl"
7814 shlibpath_var=SHLIB_PATH
7815 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7817 soname_spec='${libname}${release}${shared_ext}$major'
7820 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7821 postinstall_cmds='chmod 555 $lib'
7824 irix5* | irix6* | nonstopux*)
7826 nonstopux*) version_type=nonstopux ;;
7828 if test "$lt_cv_prog_gnu_ld" = yes; then
7836 soname_spec='${libname}${release}${shared_ext}$major'
7837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7839 irix5* | nonstopux*)
7843 case $LD in # libtool.m4 will add one of these switches to LD
7844 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7845 libsuff= shlibsuff= libmagic=32-bit;;
7846 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7847 libsuff=32 shlibsuff=N32 libmagic=N32;;
7848 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7849 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7850 *) libsuff= shlibsuff= libmagic=never-match;;
7854 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7855 shlibpath_overrides_runpath=no
7856 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7857 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7858 hardcode_into_libs=yes
7861 # No shared lib support for Linux oldld, aout, or coff.
7862 linux*oldld* | linux*aout* | linux*coff*)
7866 # This must be Linux ELF.
7871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7872 soname_spec='${libname}${release}${shared_ext}$major'
7873 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7874 shlibpath_var=LD_LIBRARY_PATH
7875 shlibpath_overrides_runpath=no
7876 # This implies no fast_install, which is unacceptable.
7877 # Some rework will be needed to allow for fast_install
7878 # before this can be enabled.
7879 hardcode_into_libs=yes
7881 # We used to test for /lib/ld.so.1 and disable shared libraries on
7882 # powerpc, because MkLinux only supported shared libraries with the
7883 # GNU dynamic linker. Since this was broken with cross compilers,
7884 # most powerpc-linux boxes support dynamic linking these days and
7885 # people can always --disable-shared, the test was removed, and we
7886 # assume the GNU/Linux dynamic linker is in use.
7887 dynamic_linker='GNU/Linux ld.so'
7894 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7896 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7897 dynamic_linker='NetBSD (a.out) ld.so'
7899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7900 soname_spec='${libname}${release}${shared_ext}$major'
7901 dynamic_linker='NetBSD ld.elf_so'
7903 shlibpath_var=LD_LIBRARY_PATH
7904 shlibpath_overrides_runpath=yes
7905 hardcode_into_libs=yes
7910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7911 shlibpath_var=LD_LIBRARY_PATH
7912 shlibpath_overrides_runpath=yes
7919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7920 soname_spec='${libname}${release}${shared_ext}$major'
7921 shlibpath_var=LD_LIBRARY_PATH
7922 shlibpath_overrides_runpath=yes
7929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7930 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7931 shlibpath_var=LD_LIBRARY_PATH
7932 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7934 openbsd2.[89] | openbsd2.[89].*)
7935 shlibpath_overrides_runpath=no
7938 shlibpath_overrides_runpath=yes
7942 shlibpath_overrides_runpath=yes
7947 libname_spec='$name'
7950 library_names_spec='$libname${shared_ext} $libname.a'
7951 dynamic_linker='OS/2 ld.exe'
7952 shlibpath_var=LIBPATH
7955 osf3* | osf4* | osf5*)
7959 soname_spec='${libname}${release}${shared_ext}$major'
7960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7961 shlibpath_var=LD_LIBRARY_PATH
7962 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7963 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7968 soname_spec='${libname}${release}${shared_ext}$major'
7969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7970 shlibpath_var=LD_LIBRARY_PATH
7977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7978 soname_spec='${libname}${release}${shared_ext}$major'
7979 shlibpath_var=LD_LIBRARY_PATH
7980 shlibpath_overrides_runpath=yes
7981 hardcode_into_libs=yes
7982 # ldd complains unless libraries are executable
7983 postinstall_cmds='chmod +x $lib'
7988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7989 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7990 shlibpath_var=LD_LIBRARY_PATH
7991 shlibpath_overrides_runpath=yes
7992 if test "$with_gnu_ld" = yes; then
7998 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8001 soname_spec='${libname}${release}${shared_ext}$major'
8002 shlibpath_var=LD_LIBRARY_PATH
8003 case $host_vendor in
8005 shlibpath_overrides_runpath=no
8007 export_dynamic_flag_spec='${wl}-Blargedynsym'
8008 runpath_var=LD_RUN_PATH
8016 shlibpath_overrides_runpath=no
8017 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8023 if test -d /usr/nec ;then
8025 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8026 soname_spec='$libname${shared_ext}.$major'
8027 shlibpath_var=LD_LIBRARY_PATH
8033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8034 soname_spec='${libname}${release}${shared_ext}$major'
8035 shlibpath_var=LD_LIBRARY_PATH
8042 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8043 echo "${ECHO_T}$dynamic_linker" >&6
8044 test "$dynamic_linker" = no && can_build_shared=no
8046 if test "x$enable_dlopen" != xyes; then
8047 enable_dlopen=unknown
8048 enable_dlopen_self=unknown
8049 enable_dlopen_self_static=unknown
8056 lt_cv_dlopen="load_add_on"
8058 lt_cv_dlopen_self=yes
8062 lt_cv_dlopen="LoadLibrary"
8067 lt_cv_dlopen="dlopen"
8072 # if libdl is installed we need to link against it
8073 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8074 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8075 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8076 echo $ECHO_N "(cached) $ECHO_C" >&6
8078 ac_check_lib_save_LIBS=$LIBS
8080 cat >conftest.$ac_ext <<_ACEOF
8081 #line $LINENO "configure"
8084 cat confdefs.h >>conftest.$ac_ext
8085 cat >>conftest.$ac_ext <<_ACEOF
8086 /* end confdefs.h. */
8088 /* Override any gcc2 internal prototype to avoid an error. */
8092 /* We use char because int might match the return type of a gcc2
8093 builtin and then its argument prototype would still apply. */
8103 rm -f conftest.$ac_objext conftest$ac_exeext
8104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8105 (eval $ac_link) 2>&5
8107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8108 (exit $ac_status); } &&
8109 { ac_try='test -s conftest$ac_exeext'
8110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114 (exit $ac_status); }; }; then
8115 ac_cv_lib_dl_dlopen=yes
8117 echo "$as_me: failed program was:" >&5
8118 sed 's/^/| /' conftest.$ac_ext >&5
8120 ac_cv_lib_dl_dlopen=no
8122 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8123 LIBS=$ac_check_lib_save_LIBS
8125 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8126 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8127 if test $ac_cv_lib_dl_dlopen = yes; then
8128 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8133 lt_cv_dlopen_self=yes
8140 echo "$as_me:$LINENO: checking for shl_load" >&5
8141 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8142 if test "${ac_cv_func_shl_load+set}" = set; then
8143 echo $ECHO_N "(cached) $ECHO_C" >&6
8145 cat >conftest.$ac_ext <<_ACEOF
8146 #line $LINENO "configure"
8149 cat confdefs.h >>conftest.$ac_ext
8150 cat >>conftest.$ac_ext <<_ACEOF
8151 /* end confdefs.h. */
8152 /* System header to define __stub macros and hopefully few prototypes,
8153 which can conflict with char shl_load (); below.
8154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8155 <limits.h> exists even on freestanding compilers. */
8157 # include <limits.h>
8159 # include <assert.h>
8161 /* Override any gcc2 internal prototype to avoid an error. */
8166 /* We use char because int might match the return type of a gcc2
8167 builtin and then its argument prototype would still apply. */
8169 /* The GNU C library defines this for functions which it implements
8170 to always fail with ENOSYS. Some functions are actually named
8171 something starting with __ and the normal name is an alias. */
8172 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8175 char (*f) () = shl_load;
8184 return f != shl_load;
8189 rm -f conftest.$ac_objext conftest$ac_exeext
8190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8191 (eval $ac_link) 2>&5
8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); } &&
8195 { ac_try='test -s conftest$ac_exeext'
8196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); }; }; then
8201 ac_cv_func_shl_load=yes
8203 echo "$as_me: failed program was:" >&5
8204 sed 's/^/| /' conftest.$ac_ext >&5
8206 ac_cv_func_shl_load=no
8208 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8210 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8211 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8212 if test $ac_cv_func_shl_load = yes; then
8213 lt_cv_dlopen="shl_load"
8215 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8216 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8217 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8218 echo $ECHO_N "(cached) $ECHO_C" >&6
8220 ac_check_lib_save_LIBS=$LIBS
8222 cat >conftest.$ac_ext <<_ACEOF
8223 #line $LINENO "configure"
8226 cat confdefs.h >>conftest.$ac_ext
8227 cat >>conftest.$ac_ext <<_ACEOF
8228 /* end confdefs.h. */
8230 /* Override any gcc2 internal prototype to avoid an error. */
8234 /* We use char because int might match the return type of a gcc2
8235 builtin and then its argument prototype would still apply. */
8245 rm -f conftest.$ac_objext conftest$ac_exeext
8246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8247 (eval $ac_link) 2>&5
8249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8250 (exit $ac_status); } &&
8251 { ac_try='test -s conftest$ac_exeext'
8252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256 (exit $ac_status); }; }; then
8257 ac_cv_lib_dld_shl_load=yes
8259 echo "$as_me: failed program was:" >&5
8260 sed 's/^/| /' conftest.$ac_ext >&5
8262 ac_cv_lib_dld_shl_load=no
8264 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8265 LIBS=$ac_check_lib_save_LIBS
8267 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8268 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8269 if test $ac_cv_lib_dld_shl_load = yes; then
8270 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8272 echo "$as_me:$LINENO: checking for dlopen" >&5
8273 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8274 if test "${ac_cv_func_dlopen+set}" = set; then
8275 echo $ECHO_N "(cached) $ECHO_C" >&6
8277 cat >conftest.$ac_ext <<_ACEOF
8278 #line $LINENO "configure"
8281 cat confdefs.h >>conftest.$ac_ext
8282 cat >>conftest.$ac_ext <<_ACEOF
8283 /* end confdefs.h. */
8284 /* System header to define __stub macros and hopefully few prototypes,
8285 which can conflict with char dlopen (); below.
8286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8287 <limits.h> exists even on freestanding compilers. */
8289 # include <limits.h>
8291 # include <assert.h>
8293 /* Override any gcc2 internal prototype to avoid an error. */
8298 /* We use char because int might match the return type of a gcc2
8299 builtin and then its argument prototype would still apply. */
8301 /* The GNU C library defines this for functions which it implements
8302 to always fail with ENOSYS. Some functions are actually named
8303 something starting with __ and the normal name is an alias. */
8304 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8307 char (*f) () = dlopen;
8321 rm -f conftest.$ac_objext conftest$ac_exeext
8322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8323 (eval $ac_link) 2>&5
8325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 (exit $ac_status); } &&
8327 { ac_try='test -s conftest$ac_exeext'
8328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); }; }; then
8333 ac_cv_func_dlopen=yes
8335 echo "$as_me: failed program was:" >&5
8336 sed 's/^/| /' conftest.$ac_ext >&5
8338 ac_cv_func_dlopen=no
8340 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8342 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8343 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8344 if test $ac_cv_func_dlopen = yes; then
8345 lt_cv_dlopen="dlopen"
8347 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8348 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8349 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8350 echo $ECHO_N "(cached) $ECHO_C" >&6
8352 ac_check_lib_save_LIBS=$LIBS
8354 cat >conftest.$ac_ext <<_ACEOF
8355 #line $LINENO "configure"
8358 cat confdefs.h >>conftest.$ac_ext
8359 cat >>conftest.$ac_ext <<_ACEOF
8360 /* end confdefs.h. */
8362 /* Override any gcc2 internal prototype to avoid an error. */
8366 /* We use char because int might match the return type of a gcc2
8367 builtin and then its argument prototype would still apply. */
8377 rm -f conftest.$ac_objext conftest$ac_exeext
8378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8379 (eval $ac_link) 2>&5
8381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382 (exit $ac_status); } &&
8383 { ac_try='test -s conftest$ac_exeext'
8384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388 (exit $ac_status); }; }; then
8389 ac_cv_lib_dl_dlopen=yes
8391 echo "$as_me: failed program was:" >&5
8392 sed 's/^/| /' conftest.$ac_ext >&5
8394 ac_cv_lib_dl_dlopen=no
8396 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8397 LIBS=$ac_check_lib_save_LIBS
8399 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8400 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8401 if test $ac_cv_lib_dl_dlopen = yes; then
8402 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8404 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8405 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8406 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8407 echo $ECHO_N "(cached) $ECHO_C" >&6
8409 ac_check_lib_save_LIBS=$LIBS
8411 cat >conftest.$ac_ext <<_ACEOF
8412 #line $LINENO "configure"
8415 cat confdefs.h >>conftest.$ac_ext
8416 cat >>conftest.$ac_ext <<_ACEOF
8417 /* end confdefs.h. */
8419 /* Override any gcc2 internal prototype to avoid an error. */
8423 /* We use char because int might match the return type of a gcc2
8424 builtin and then its argument prototype would still apply. */
8434 rm -f conftest.$ac_objext conftest$ac_exeext
8435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8436 (eval $ac_link) 2>&5
8438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8439 (exit $ac_status); } &&
8440 { ac_try='test -s conftest$ac_exeext'
8441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); }; }; then
8446 ac_cv_lib_svld_dlopen=yes
8448 echo "$as_me: failed program was:" >&5
8449 sed 's/^/| /' conftest.$ac_ext >&5
8451 ac_cv_lib_svld_dlopen=no
8453 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8454 LIBS=$ac_check_lib_save_LIBS
8456 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8457 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8458 if test $ac_cv_lib_svld_dlopen = yes; then
8459 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8461 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8462 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8463 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8464 echo $ECHO_N "(cached) $ECHO_C" >&6
8466 ac_check_lib_save_LIBS=$LIBS
8468 cat >conftest.$ac_ext <<_ACEOF
8469 #line $LINENO "configure"
8472 cat confdefs.h >>conftest.$ac_ext
8473 cat >>conftest.$ac_ext <<_ACEOF
8474 /* end confdefs.h. */
8476 /* Override any gcc2 internal prototype to avoid an error. */
8480 /* We use char because int might match the return type of a gcc2
8481 builtin and then its argument prototype would still apply. */
8491 rm -f conftest.$ac_objext conftest$ac_exeext
8492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8493 (eval $ac_link) 2>&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 (exit $ac_status); } &&
8497 { ac_try='test -s conftest$ac_exeext'
8498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); }; }; then
8503 ac_cv_lib_dld_dld_link=yes
8505 echo "$as_me: failed program was:" >&5
8506 sed 's/^/| /' conftest.$ac_ext >&5
8508 ac_cv_lib_dld_dld_link=no
8510 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8511 LIBS=$ac_check_lib_save_LIBS
8513 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8514 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8515 if test $ac_cv_lib_dld_dld_link = yes; then
8516 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8537 if test "x$lt_cv_dlopen" != xno; then
8543 case $lt_cv_dlopen in
8545 save_CPPFLAGS="$CPPFLAGS"
8546 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8548 save_LDFLAGS="$LDFLAGS"
8549 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8552 LIBS="$lt_cv_dlopen_libs $LIBS"
8554 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8555 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8556 if test "${lt_cv_dlopen_self+set}" = set; then
8557 echo $ECHO_N "(cached) $ECHO_C" >&6
8559 if test "$cross_compiling" = yes; then :
8560 lt_cv_dlopen_self=cross
8562 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8563 lt_status=$lt_dlunknown
8564 cat > conftest.$ac_ext <<EOF
8565 #line 8565 "configure"
8566 #include "confdefs.h"
8575 # define LT_DLGLOBAL RTLD_GLOBAL
8578 # define LT_DLGLOBAL DL_GLOBAL
8580 # define LT_DLGLOBAL 0
8584 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8585 find out it does not work in some platform. */
8586 #ifndef LT_DLLAZY_OR_NOW
8588 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8591 # define LT_DLLAZY_OR_NOW DL_LAZY
8594 # define LT_DLLAZY_OR_NOW RTLD_NOW
8597 # define LT_DLLAZY_OR_NOW DL_NOW
8599 # define LT_DLLAZY_OR_NOW 0
8607 extern "C" void exit (int);
8610 void fnord() { int i=42;}
8613 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8614 int status = $lt_dlunknown;
8618 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8619 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8620 /* dlclose (self); */
8626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8627 (eval $ac_link) 2>&5
8629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8630 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8631 (./conftest; exit; ) 2>/dev/null
8634 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8635 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8636 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8639 # compilation failed
8640 lt_cv_dlopen_self=no
8647 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8648 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8650 if test "x$lt_cv_dlopen_self" = xyes; then
8651 LDFLAGS="$LDFLAGS $link_static_flag"
8652 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8653 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8654 if test "${lt_cv_dlopen_self_static+set}" = set; then
8655 echo $ECHO_N "(cached) $ECHO_C" >&6
8657 if test "$cross_compiling" = yes; then :
8658 lt_cv_dlopen_self_static=cross
8660 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8661 lt_status=$lt_dlunknown
8662 cat > conftest.$ac_ext <<EOF
8663 #line 8663 "configure"
8664 #include "confdefs.h"
8673 # define LT_DLGLOBAL RTLD_GLOBAL
8676 # define LT_DLGLOBAL DL_GLOBAL
8678 # define LT_DLGLOBAL 0
8682 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8683 find out it does not work in some platform. */
8684 #ifndef LT_DLLAZY_OR_NOW
8686 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8689 # define LT_DLLAZY_OR_NOW DL_LAZY
8692 # define LT_DLLAZY_OR_NOW RTLD_NOW
8695 # define LT_DLLAZY_OR_NOW DL_NOW
8697 # define LT_DLLAZY_OR_NOW 0
8705 extern "C" void exit (int);
8708 void fnord() { int i=42;}
8711 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8712 int status = $lt_dlunknown;
8716 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8717 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8718 /* dlclose (self); */
8724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8725 (eval $ac_link) 2>&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8729 (./conftest; exit; ) 2>/dev/null
8732 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8733 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8734 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8737 # compilation failed
8738 lt_cv_dlopen_self_static=no
8745 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8746 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8749 CPPFLAGS="$save_CPPFLAGS"
8750 LDFLAGS="$save_LDFLAGS"
8755 case $lt_cv_dlopen_self in
8756 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8757 *) enable_dlopen_self=unknown ;;
8760 case $lt_cv_dlopen_self_static in
8761 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8762 *) enable_dlopen_self_static=unknown ;;
8767 # Report which librarie types wil actually be built
8768 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8769 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8770 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8771 echo "${ECHO_T}$can_build_shared" >&6
8773 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8774 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8775 test "$can_build_shared" = "no" && enable_shared=no
8777 # On AIX, shared libraries and static libraries use the same namespace, and
8778 # are all built from PIC.
8781 test "$enable_shared" = yes && enable_static=no
8782 if test -n "$RANLIB"; then
8783 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8784 postinstall_cmds='$RANLIB $lib'
8789 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8790 test "$enable_shared" = yes && enable_static=no
8793 darwin* | rhapsody*)
8794 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8795 archive_cmds_need_lc=no
8797 rhapsody* | darwin1.[012])
8798 allow_undefined_flag='-undefined suppress'
8801 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8804 # FIXME: Relying on posixy $() will cause problems for
8805 # cross-compilation, but unfortunately the echo tests do not
8806 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8807 # `"' quotes if we put them in here... so don't!
8808 output_verbose_link_cmd='echo'
8809 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8810 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8811 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8812 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}'
8813 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}'
8815 hardcode_automatic=yes
8816 hardcode_shlibpath_var=unsupported
8817 whole_archive_flag_spec='-all_load $convenience'
8818 link_all_deplibs=yes
8822 echo "$as_me:$LINENO: result: $enable_shared" >&5
8823 echo "${ECHO_T}$enable_shared" >&6
8825 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8826 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8827 # Make sure either enable_shared or enable_static is yes.
8828 test "$enable_shared" = yes || enable_static=yes
8829 echo "$as_me:$LINENO: result: $enable_static" >&5
8830 echo "${ECHO_T}$enable_static" >&6
8832 # The else clause should only fire when bootstrapping the
8833 # libtool distribution, otherwise you forgot to ship ltmain.sh
8834 # with your package, and you will get complaints that there are
8835 # no rules to generate ltmain.sh.
8836 if test -f "$ltmain"; then
8837 # See if we are running on zsh, and set the options which allow our commands through
8838 # without removal of \ escapes.
8839 if test -n "${ZSH_VERSION+set}" ; then
8840 setopt NO_GLOB_SUBST
8842 # Now quote all the things that may contain metacharacters while being
8843 # careful not to overquote the AC_SUBSTed values. We take copies of the
8844 # variables and quote the copies for generation of the libtool script.
8845 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8846 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8847 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8848 deplibs_check_method reload_flag reload_cmds need_locks \
8849 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8850 lt_cv_sys_global_symbol_to_c_name_address \
8851 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8852 old_postinstall_cmds old_postuninstall_cmds \
8856 lt_prog_compiler_wl \
8857 lt_prog_compiler_pic \
8858 lt_prog_compiler_static \
8859 lt_prog_compiler_no_builtin_flag \
8860 export_dynamic_flag_spec \
8861 thread_safe_flag_spec \
8862 whole_archive_flag_spec \
8863 enable_shared_with_static_runtimes \
8865 old_archive_from_new_cmds \
8870 compiler_lib_search_path \
8872 archive_expsym_cmds \
8874 postuninstall_cmds \
8875 old_archive_from_expsyms_cmds \
8876 allow_undefined_flag \
8878 export_symbols_cmds \
8879 hardcode_libdir_flag_spec \
8880 hardcode_libdir_flag_spec_ld \
8881 hardcode_libdir_separator \
8882 hardcode_automatic \
8884 module_expsym_cmds \
8885 lt_cv_prog_compiler_c_o \
8890 old_archive_cmds | \
8891 old_archive_from_new_cmds | \
8893 archive_expsym_cmds | \
8895 module_expsym_cmds | \
8896 old_archive_from_expsyms_cmds | \
8897 export_symbols_cmds | \
8898 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8899 postinstall_cmds | postuninstall_cmds | \
8900 old_postinstall_cmds | old_postuninstall_cmds | \
8901 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8902 # Double-quote double-evaled strings.
8903 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8906 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8912 *'\$0 --fallback-echo"')
8913 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8918 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8920 { echo "$as_me:$LINENO: creating $ofile" >&5
8921 echo "$as_me: creating $ofile" >&6;}
8923 cat <<__EOF__ >> "$cfgfile"
8926 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8927 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8928 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8930 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8931 # Free Software Foundation, Inc.
8933 # This file is part of GNU Libtool:
8934 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8936 # This program is free software; you can redistribute it and/or modify
8937 # it under the terms of the GNU General Public License as published by
8938 # the Free Software Foundation; either version 2 of the License, or
8939 # (at your option) any later version.
8941 # This program is distributed in the hope that it will be useful, but
8942 # WITHOUT ANY WARRANTY; without even the implied warranty of
8943 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8944 # General Public License for more details.
8946 # You should have received a copy of the GNU General Public License
8947 # along with this program; if not, write to the Free Software
8948 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8950 # As a special exception to the GNU General Public License, if you
8951 # distribute this file as part of a program that contains a
8952 # configuration script generated by Autoconf, you may include it under
8953 # the same distribution terms that you use for the rest of that program.
8955 # A sed program that does not truncate output.
8958 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8959 Xsed="$SED -e s/^X//"
8961 # The HP-UX ksh and POSIX shell print the target directory to stdout
8963 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8965 # The names of the tagged configurations supported by this script.
8968 # ### BEGIN LIBTOOL CONFIG
8970 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8972 # Shell to use when invoking shell scripts.
8975 # Whether or not to build shared libraries.
8976 build_libtool_libs=$enable_shared
8978 # Whether or not to build static libraries.
8979 build_old_libs=$enable_static
8981 # Whether or not to add -lc for building shared libraries.
8982 build_libtool_need_lc=$archive_cmds_need_lc
8984 # Whether or not to disallow shared libs when runtime libs are static
8985 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8987 # Whether or not to optimize for fast installation.
8988 fast_install=$enable_fast_install
8991 host_alias=$host_alias
8994 # An echo program that does not interpret backslashes.
8999 AR_FLAGS=$lt_AR_FLAGS
9004 # A language-specific compiler.
9007 # Is the compiler the GNU C compiler?
9013 # The linker used to build libraries.
9016 # Whether we need hard or soft links.
9019 # A BSD-compatible nm program.
9022 # A symbol stripping program
9025 # Used to examine libraries when file_magic_cmd begins "file"
9026 MAGIC_CMD=$MAGIC_CMD
9028 # Used on cygwin: DLL creation program.
9031 # Used on cygwin: object dumper.
9034 # Used on cygwin: assembler.
9037 # The name of the directory that contains temporary libtool files.
9040 # How to create reloadable object files.
9041 reload_flag=$lt_reload_flag
9042 reload_cmds=$lt_reload_cmds
9044 # How to pass a linker flag through the compiler.
9045 wl=$lt_lt_prog_compiler_wl
9047 # Object file suffix (normally "o").
9050 # Old archive suffix (normally "a").
9053 # Shared library suffix (normally ".so").
9056 # Executable file suffix (normally "").
9059 # Additional compiler flags for building library objects.
9060 pic_flag=$lt_lt_prog_compiler_pic
9063 # What is the maximum length of a command?
9064 max_cmd_len=$lt_cv_sys_max_cmd_len
9066 # Does compiler simultaneously support -c and -o options?
9067 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9069 # Must we lock files when doing compilation ?
9070 need_locks=$lt_need_locks
9072 # Do we need the lib prefix for modules?
9073 need_lib_prefix=$need_lib_prefix
9075 # Do we need a version for libraries?
9076 need_version=$need_version
9078 # Whether dlopen is supported.
9079 dlopen_support=$enable_dlopen
9081 # Whether dlopen of programs is supported.
9082 dlopen_self=$enable_dlopen_self
9084 # Whether dlopen of statically linked programs is supported.
9085 dlopen_self_static=$enable_dlopen_self_static
9087 # Compiler flag to prevent dynamic linking.
9088 link_static_flag=$lt_lt_prog_compiler_static
9090 # Compiler flag to turn off builtin functions.
9091 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9093 # Compiler flag to allow reflexive dlopens.
9094 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9096 # Compiler flag to generate shared objects directly from archives.
9097 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9099 # Compiler flag to generate thread-safe objects.
9100 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9102 # Library versioning type.
9103 version_type=$version_type
9105 # Format of library name prefix.
9106 libname_spec=$lt_libname_spec
9108 # List of archive names. First name is the real one, the rest are links.
9109 # The last name is the one that the linker finds with -lNAME.
9110 library_names_spec=$lt_library_names_spec
9112 # The coded name of the library, if different from the real name.
9113 soname_spec=$lt_soname_spec
9115 # Commands used to build and install an old-style archive.
9117 old_archive_cmds=$lt_old_archive_cmds
9118 old_postinstall_cmds=$lt_old_postinstall_cmds
9119 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9121 # Create an old-style archive from a shared archive.
9122 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9124 # Create a temporary old-style archive to link instead of a shared archive.
9125 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9127 # Commands used to build and install a shared archive.
9128 archive_cmds=$lt_archive_cmds
9129 archive_expsym_cmds=$lt_archive_expsym_cmds
9130 postinstall_cmds=$lt_postinstall_cmds
9131 postuninstall_cmds=$lt_postuninstall_cmds
9133 # Commands used to build a loadable module (assumed same as above if empty)
9134 module_cmds=$lt_module_cmds
9135 module_expsym_cmds=$lt_module_expsym_cmds
9137 # Commands to strip libraries.
9138 old_striplib=$lt_old_striplib
9139 striplib=$lt_striplib
9141 # Dependencies to place before the objects being linked to create a
9143 predep_objects=$lt_predep_objects
9145 # Dependencies to place after the objects being linked to create a
9147 postdep_objects=$lt_postdep_objects
9149 # Dependencies to place before the objects being linked to create a
9153 # Dependencies to place after the objects being linked to create a
9155 postdeps=$lt_postdeps
9157 # The library search path used internally by the compiler when linking
9159 compiler_lib_search_path=$lt_compiler_lib_search_path
9161 # Method to check whether dependent libraries are shared objects.
9162 deplibs_check_method=$lt_deplibs_check_method
9164 # Command to use when deplibs_check_method == file_magic.
9165 file_magic_cmd=$lt_file_magic_cmd
9167 # Flag that allows shared libraries with undefined symbols to be built.
9168 allow_undefined_flag=$lt_allow_undefined_flag
9170 # Flag that forces no undefined symbols.
9171 no_undefined_flag=$lt_no_undefined_flag
9173 # Commands used to finish a libtool library installation in a directory.
9174 finish_cmds=$lt_finish_cmds
9176 # Same as above, but a single script fragment to be evaled but not shown.
9177 finish_eval=$lt_finish_eval
9179 # Take the output of nm and produce a listing of raw symbols and C names.
9180 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9182 # Transform the output of nm in a proper C declaration
9183 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9185 # Transform the output of nm in a C name address pair
9186 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9188 # This is the shared library runtime path variable.
9189 runpath_var=$runpath_var
9191 # This is the shared library path variable.
9192 shlibpath_var=$shlibpath_var
9194 # Is shlibpath searched before the hard-coded library search path?
9195 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9197 # How to hardcode a shared library path into an executable.
9198 hardcode_action=$hardcode_action
9200 # Whether we should hardcode library paths into libraries.
9201 hardcode_into_libs=$hardcode_into_libs
9203 # Flag to hardcode \$libdir into a binary during linking.
9204 # This must work even if \$libdir does not exist.
9205 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9207 # If ld is used when linking, flag to hardcode \$libdir into
9208 # a binary during linking. This must work even if \$libdir does
9210 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9212 # Whether we need a single -rpath flag with a separated argument.
9213 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9215 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9217 hardcode_direct=$hardcode_direct
9219 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9221 hardcode_minus_L=$hardcode_minus_L
9223 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9224 # the resulting binary.
9225 hardcode_shlibpath_var=$hardcode_shlibpath_var
9227 # Set to yes if building a shared library automatically hardcodes DIR into the library
9228 # and all subsequent libraries and executables linked against it.
9229 hardcode_automatic=$hardcode_automatic
9231 # Variables whose values should be saved in libtool wrapper scripts and
9232 # restored at relink time.
9233 variables_saved_for_relink="$variables_saved_for_relink"
9235 # Whether libtool must link a program against all its dependency libraries.
9236 link_all_deplibs=$link_all_deplibs
9238 # Compile-time system search path for libraries
9239 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9241 # Run-time system search path for libraries
9242 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9244 # Fix the shell variable \$srcfile for the compiler.
9245 fix_srcfile_path="$fix_srcfile_path"
9247 # Set to yes if exported symbols are required.
9248 always_export_symbols=$always_export_symbols
9250 # The commands to list exported symbols.
9251 export_symbols_cmds=$lt_export_symbols_cmds
9253 # The commands to extract the exported symbol list from a shared archive.
9254 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9256 # Symbols that should not be listed in the preloaded symbols.
9257 exclude_expsyms=$lt_exclude_expsyms
9259 # Symbols that must always be exported.
9260 include_expsyms=$lt_include_expsyms
9262 # ### END LIBTOOL CONFIG
9269 cat <<\EOF >> "$cfgfile"
9271 # AIX sometimes has problems with the GCC collect2 program. For some
9272 # reason, if we set the COLLECT_NAMES environment variable, the problems
9273 # vanish in a puff of smoke.
9274 if test "X${COLLECT_NAMES+set}" != Xset; then
9276 export COLLECT_NAMES
9282 # We use sed instead of cat because bash on DJGPP gets confused if
9283 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9284 # text mode, it properly converts lines to CR/LF. This bash problem
9285 # is reportedly fixed, but why not run on old versions too?
9286 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9288 mv -f "$cfgfile" "$ofile" || \
9289 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9293 # If there is no Makefile yet, we rely on a make rule to execute
9294 # `config.status --recheck' to rerun these tests and create the
9295 # libtool script then.
9296 test -f Makefile && make "$ltmain"
9301 ac_cpp='$CPP $CPPFLAGS'
9302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9309 # Check whether --with-tags or --without-tags was given.
9310 if test "${with_tags+set}" = set; then
9311 withval="$with_tags"
9315 if test -f "$ltmain" && test -n "$tagnames"; then
9316 if test ! -f "${ofile}"; then
9317 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9318 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9321 if test -z "$LTCC"; then
9322 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9323 if test -z "$LTCC"; then
9324 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9325 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9327 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9328 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9332 # Extract list of available tagged configurations in $ofile.
9333 # Note that this assumes the entire list is on one line.
9334 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9336 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9337 for tagname in $tagnames; do
9339 # Check whether tagname contains only valid characters
9340 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9342 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9343 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9344 { (exit 1); exit 1; }; }
9348 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9350 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9351 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9352 { (exit 1); exit 1; }; }
9355 # Update the list of available tags.
9356 if test -n "$tagname"; then
9357 echo appending configuration tag \"$tagname\" to $ofile
9361 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9363 ac_cpp='$CXXCPP $CPPFLAGS'
9364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9371 archive_cmds_need_lc_CXX=no
9372 allow_undefined_flag_CXX=
9373 always_export_symbols_CXX=no
9374 archive_expsym_cmds_CXX=
9375 export_dynamic_flag_spec_CXX=
9376 hardcode_direct_CXX=no
9377 hardcode_libdir_flag_spec_CXX=
9378 hardcode_libdir_flag_spec_ld_CXX=
9379 hardcode_libdir_separator_CXX=
9380 hardcode_minus_L_CXX=no
9381 hardcode_automatic_CXX=no
9383 module_expsym_cmds_CXX=
9384 link_all_deplibs_CXX=unknown
9385 old_archive_cmds_CXX=$old_archive_cmds
9386 no_undefined_flag_CXX=
9387 whole_archive_flag_spec_CXX=
9388 enable_shared_with_static_runtimes_CXX=no
9390 # Dependencies to place before and after the object being linked:
9392 postdep_objects_CXX=
9395 compiler_lib_search_path_CXX=
9397 # Source file extension for C++ test sources.
9400 # Object file extension for compiled C++ test sources.
9404 # Code to be used in simple compile tests
9405 lt_simple_compile_test_code="int some_variable = 0;\n"
9407 # Code to be used in simple link tests
9408 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9410 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9412 # If no C compiler was specified, use CC.
9415 # Allow CC to be a program name with arguments.
9419 # Allow CC to be a program name with arguments.
9424 lt_save_with_gnu_ld=$with_gnu_ld
9425 lt_save_path_LD=$lt_cv_path_LD
9426 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9427 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9429 unset lt_cv_prog_gnu_ld
9431 if test -n "${lt_cv_path_LDCXX+set}"; then
9432 lt_cv_path_LD=$lt_cv_path_LDCXX
9436 test -z "${LDCXX+set}" || LD=$LDCXX
9440 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9442 # We don't want -fno-exception wen compiling C++ code, so set the
9443 # no_builtin_flag separately
9444 if test "$GXX" = yes; then
9445 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9447 lt_prog_compiler_no_builtin_flag_CXX=
9450 if test "$GXX" = yes; then
9451 # Set up default GNU C++ configuration
9454 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9455 if test "${with_gnu_ld+set}" = set; then
9456 withval="$with_gnu_ld"
9457 test "$withval" = no || with_gnu_ld=yes
9462 if test "$GCC" = yes; then
9463 # Check if gcc -print-prog-name=ld gives a path.
9464 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9465 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9468 # gcc leaves a trailing carriage return which upsets mingw
9469 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9471 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9474 # Accept absolute paths.
9476 re_direlt='/[^/][^/]*/\.\./'
9477 # Canonicalize the path of ld
9478 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9479 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9480 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9482 test -z "$LD" && LD="$ac_prog"
9485 # If it fails, then pretend we aren't using GCC.
9489 # If it is relative, then search for the first ld in PATH.
9493 elif test "$with_gnu_ld" = yes; then
9494 echo "$as_me:$LINENO: checking for GNU ld" >&5
9495 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9497 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9498 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9500 if test "${lt_cv_path_LD+set}" = set; then
9501 echo $ECHO_N "(cached) $ECHO_C" >&6
9503 if test -z "$LD"; then
9504 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9505 for ac_dir in $PATH; do
9507 test -z "$ac_dir" && ac_dir=.
9508 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9509 lt_cv_path_LD="$ac_dir/$ac_prog"
9510 # Check to see if the program is GNU ld. I'd rather use --version,
9511 # but apparently some GNU ld's only accept -v.
9512 # Break only if it was the GNU/non-GNU ld that we prefer.
9513 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9514 *GNU* | *'with BFD'*)
9515 test "$with_gnu_ld" != no && break
9518 test "$with_gnu_ld" != yes && break
9525 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9530 if test -n "$LD"; then
9531 echo "$as_me:$LINENO: result: $LD" >&5
9532 echo "${ECHO_T}$LD" >&6
9534 echo "$as_me:$LINENO: result: no" >&5
9535 echo "${ECHO_T}no" >&6
9537 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9538 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9539 { (exit 1); exit 1; }; }
9540 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9541 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9542 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9543 echo $ECHO_N "(cached) $ECHO_C" >&6
9545 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9546 case `"$LD" -v 2>&1 </dev/null` in
9547 *GNU* | *'with BFD'*)
9548 lt_cv_prog_gnu_ld=yes
9551 lt_cv_prog_gnu_ld=no
9555 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9556 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9557 with_gnu_ld=$lt_cv_prog_gnu_ld
9561 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9562 # archiving commands below assume that GNU ld is being used.
9563 if test "$with_gnu_ld" = yes; then
9564 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9565 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'
9567 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9568 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9570 # If archive_cmds runs LD, not CC, wlarc should be empty
9571 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9572 # investigate it a little bit more. (MM)
9575 # ancient GNU ld didn't support --whole-archive et. al.
9576 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9577 grep 'no-whole-archive' > /dev/null; then
9578 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9580 whole_archive_flag_spec_CXX=
9586 # A generic and very simple default shared library creation
9587 # command for GNU C++ for the case where it uses the native
9588 # linker, instead of GNU ld. If possible, this setting should
9589 # overridden to take advantage of the native linker features on
9590 # the platform it is being used on.
9591 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9594 # Commands to make compiler produce verbose output that lists
9595 # what "hidden" libraries, object files and flags are used when
9596 # linking a shared library.
9597 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9605 # PORTME: fill in a description of your system's C++ link characteristics
9606 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9607 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9611 # FIXME: insert proper C++ library support
9615 if test "$host_cpu" = ia64; then
9616 # On IA64, the linker does run time linking by default, so we don't
9617 # have to do anything special.
9618 aix_use_runtimelinking=no
9619 exp_sym_flag='-Bexport'
9622 aix_use_runtimelinking=no
9624 # Test if we are trying to use run time linking or normal
9625 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9626 # need to do runtime linking.
9627 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9628 for ld_flag in $LDFLAGS; do
9631 aix_use_runtimelinking=yes
9638 exp_sym_flag='-bexport'
9639 no_entry_flag='-bnoentry'
9642 # When large executables or shared objects are built, AIX ld can
9643 # have problems creating the table of contents. If linking a library
9644 # or program results in "error TOC overflow" add -mminimal-toc to
9645 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9646 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9649 hardcode_direct_CXX=yes
9650 hardcode_libdir_separator_CXX=':'
9651 link_all_deplibs_CXX=yes
9653 if test "$GXX" = yes; then
9654 case $host_os in aix4.012|aix4.012.*)
9655 # We only want to do this on AIX 4.2 and lower, the check
9656 # below for broken collect2 doesn't work under 4.3+
9657 collect2name=`${CC} -print-prog-name=collect2`
9658 if test -f "$collect2name" && \
9659 strings "$collect2name" | grep resolve_lib_name >/dev/null
9661 # We have reworked collect2
9662 hardcode_direct_CXX=yes
9664 # We have old collect2
9665 hardcode_direct_CXX=unsupported
9666 # It fails to find uninstalled libraries when the uninstalled
9667 # path is not listed in the libpath. Setting hardcode_minus_L
9668 # to unsupported forces relinking
9669 hardcode_minus_L_CXX=yes
9670 hardcode_libdir_flag_spec_CXX='-L$libdir'
9671 hardcode_libdir_separator_CXX=
9674 shared_flag='-shared'
9677 if test "$host_cpu" = ia64; then
9678 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9679 # chokes on -Wl,-G. The following line is correct:
9682 if test "$aix_use_runtimelinking" = yes; then
9683 shared_flag='${wl}-G'
9685 shared_flag='${wl}-bM:SRE'
9690 # It seems that -bexpall does not export symbols beginning with
9691 # underscore (_), so it is better to generate a list of symbols to export.
9692 always_export_symbols_CXX=yes
9693 if test "$aix_use_runtimelinking" = yes; then
9694 # Warning - without using the other runtime loading flags (-brtl),
9695 # -berok will link without error, but may produce a broken library.
9696 allow_undefined_flag_CXX='-berok'
9697 # Determine the default libpath from the value encoded in an empty executable.
9698 cat >conftest.$ac_ext <<_ACEOF
9699 #line $LINENO "configure"
9702 cat confdefs.h >>conftest.$ac_ext
9703 cat >>conftest.$ac_ext <<_ACEOF
9704 /* end confdefs.h. */
9714 rm -f conftest.$ac_objext conftest$ac_exeext
9715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9716 (eval $ac_link) 2>&5
9718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9719 (exit $ac_status); } &&
9720 { ac_try='test -s conftest$ac_exeext'
9721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 (exit $ac_status); }; }; then
9727 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9729 # Check for a 64-bit object if we didn't find anything.
9730 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; }
9733 echo "$as_me: failed program was:" >&5
9734 sed 's/^/| /' conftest.$ac_ext >&5
9737 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9738 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9740 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9742 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"
9744 if test "$host_cpu" = ia64; then
9745 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9746 allow_undefined_flag_CXX="-z nodefs"
9747 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"
9749 # Determine the default libpath from the value encoded in an empty executable.
9750 cat >conftest.$ac_ext <<_ACEOF
9751 #line $LINENO "configure"
9754 cat confdefs.h >>conftest.$ac_ext
9755 cat >>conftest.$ac_ext <<_ACEOF
9756 /* end confdefs.h. */
9766 rm -f conftest.$ac_objext conftest$ac_exeext
9767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9768 (eval $ac_link) 2>&5
9770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771 (exit $ac_status); } &&
9772 { ac_try='test -s conftest$ac_exeext'
9773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9777 (exit $ac_status); }; }; then
9779 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9781 # Check for a 64-bit object if we didn't find anything.
9782 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; }
9785 echo "$as_me: failed program was:" >&5
9786 sed 's/^/| /' conftest.$ac_ext >&5
9789 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9790 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9792 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9793 # Warning - without using the other run time loading flags,
9794 # -berok will link without error, but may produce a broken library.
9795 no_undefined_flag_CXX=' ${wl}-bernotok'
9796 allow_undefined_flag_CXX=' ${wl}-berok'
9797 # -bexpall does not export symbols beginning with underscore (_)
9798 always_export_symbols_CXX=yes
9799 # Exported symbols can be pulled into shared objects from archives
9800 whole_archive_flag_spec_CXX=' '
9801 archive_cmds_need_lc_CXX=yes
9802 # This is similar to how AIX traditionally builds it's shared libraries.
9803 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'
9808 case $cc_basename in
9810 # FIXME: insert proper C++ library support
9816 cygwin* | mingw* | pw32*)
9817 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9818 # as there is no search path for DLLs.
9819 hardcode_libdir_flag_spec_CXX='-L$libdir'
9820 allow_undefined_flag_CXX=unsupported
9821 always_export_symbols_CXX=no
9822 enable_shared_with_static_runtimes_CXX=yes
9824 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9825 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'
9826 # If the export-symbols file already is a .def file (1st line
9827 # is EXPORTS), use it as is; otherwise, prepend...
9828 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9829 cp $export_symbols $output_objdir/$soname.def;
9831 echo EXPORTS > $output_objdir/$soname.def;
9832 cat $export_symbols >> $output_objdir/$soname.def;
9834 $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'
9840 darwin* | rhapsody*)
9841 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9842 archive_cmds_need_lc_CXX=no
9844 rhapsody* | darwin1.[012])
9845 allow_undefined_flag_CXX='-undefined suppress'
9848 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9851 lt_int_apple_cc_single_mod=no
9852 output_verbose_link_cmd='echo'
9853 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9854 lt_int_apple_cc_single_mod=yes
9856 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9857 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9859 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'
9861 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9863 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9864 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9865 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}'
9867 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}'
9869 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}'
9870 hardcode_direct_CXX=no
9871 hardcode_automatic_CXX=yes
9872 hardcode_shlibpath_var_CXX=unsupported
9873 whole_archive_flag_spec_CXX='-all_load $convenience'
9874 link_all_deplibs_CXX=yes
9879 case $cc_basename in
9881 # FIXME: insert proper C++ library support
9885 # Green Hills C++ Compiler
9886 # FIXME: insert proper C++ library support
9890 # FIXME: insert proper C++ library support
9896 # C++ shared libraries reported to be fairly broken before switch to ELF
9900 archive_cmds_need_lc_CXX=no
9903 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9910 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9911 hardcode_libdir_separator_CXX=:
9912 export_dynamic_flag_spec_CXX='${wl}-E'
9913 hardcode_direct_CXX=yes
9914 hardcode_minus_L_CXX=yes # Not in the search PATH,
9915 # but as the default
9916 # location of the library.
9918 case $cc_basename in
9920 # FIXME: insert proper C++ library support
9924 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'
9925 # Commands to make compiler produce verbose output that lists
9926 # what "hidden" libraries, object files and flags are used when
9927 # linking a shared library.
9929 # There doesn't appear to be a way to prevent this compiler from
9930 # explicitly linking system object files so we need to strip them
9931 # from the output so that they don't get included in the library
9933 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'
9936 if test "$GXX" = yes; then
9937 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'
9939 # FIXME: insert proper C++ library support
9946 if test $with_gnu_ld = no; then
9949 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9950 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9951 hardcode_libdir_separator_CXX=:
9954 hardcode_libdir_flag_spec_CXX='-L$libdir'
9957 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9958 hardcode_libdir_separator_CXX=:
9959 export_dynamic_flag_spec_CXX='${wl}-E'
9965 hardcode_direct_CXX=no
9966 hardcode_shlibpath_var_CXX=no
9969 hardcode_direct_CXX=no
9970 hardcode_shlibpath_var_CXX=no
9971 hardcode_minus_L_CXX=yes # Not in the search PATH,
9972 # but as the default
9973 # location of the library.
9976 hardcode_direct_CXX=yes
9977 hardcode_minus_L_CXX=yes # Not in the search PATH,
9978 # but as the default
9979 # location of the library.
9983 case $cc_basename in
9985 # FIXME: insert proper C++ library support
9991 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9994 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9997 # Commands to make compiler produce verbose output that lists
9998 # what "hidden" libraries, object files and flags are used when
9999 # linking a shared library.
10001 # There doesn't appear to be a way to prevent this compiler from
10002 # explicitly linking system object files so we need to strip them
10003 # from the output so that they don't get included in the library
10005 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'
10008 if test "$GXX" = yes; then
10009 if test $with_gnu_ld = no; then
10010 case "$host_cpu" in
10012 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10015 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'
10020 # FIXME: insert proper C++ library support
10027 case $cc_basename in
10030 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'
10032 # Archives containing C++ object files must be created using
10033 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10034 # necessary to make sure instantiated templates are included
10036 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10039 if test "$GXX" = yes; then
10040 if test "$with_gnu_ld" = no; then
10041 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'
10043 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'
10046 link_all_deplibs_CXX=yes
10049 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10050 hardcode_libdir_separator_CXX=:
10053 case $cc_basename in
10055 # Kuck and Associates, Inc. (KAI) C++ Compiler
10057 # KCC will only create a shared library if the output file
10058 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10059 # to its proper name (with version) after linking.
10060 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'
10061 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'
10062 # Commands to make compiler produce verbose output that lists
10063 # what "hidden" libraries, object files and flags are used when
10064 # linking a shared library.
10066 # There doesn't appear to be a way to prevent this compiler from
10067 # explicitly linking system object files so we need to strip them
10068 # from the output so that they don't get included in the library
10070 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'
10072 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10073 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10075 # Archives containing C++ object files must be created using
10076 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10077 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10082 archive_cmds_need_lc_CXX=no
10083 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10084 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'
10085 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10086 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10087 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10091 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10092 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'
10094 runpath_var=LD_RUN_PATH
10095 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10096 hardcode_libdir_separator_CXX=:
10098 # Commands to make compiler produce verbose output that lists
10099 # what "hidden" libraries, object files and flags are used when
10100 # linking a shared library.
10102 # There doesn't appear to be a way to prevent this compiler from
10103 # explicitly linking system object files so we need to strip them
10104 # from the output so that they don't get included in the library
10106 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'
10111 # FIXME: insert proper C++ library support
10115 # FIXME: insert proper C++ library support
10119 case $cc_basename in
10121 # FIXME: insert proper C++ library support
10125 # FIXME: insert proper C++ library support
10131 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10132 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10134 hardcode_libdir_flag_spec_CXX='-R$libdir'
10135 hardcode_direct_CXX=yes
10136 hardcode_shlibpath_var_CXX=no
10138 # Workaround some broken pre-1.5 toolchains
10139 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10142 case $cc_basename in
10144 # Kuck and Associates, Inc. (KAI) C++ Compiler
10146 # KCC will only create a shared library if the output file
10147 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10148 # to its proper name (with version) after linking.
10149 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'
10151 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10152 hardcode_libdir_separator_CXX=:
10154 # Archives containing C++ object files must be created using
10155 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10156 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10160 # Rational C++ 2.4.1
10161 # FIXME: insert proper C++ library support
10165 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10166 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'
10168 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10169 hardcode_libdir_separator_CXX=:
10171 # Commands to make compiler produce verbose output that lists
10172 # what "hidden" libraries, object files and flags are used when
10173 # linking a shared library.
10175 # There doesn't appear to be a way to prevent this compiler from
10176 # explicitly linking system object files so we need to strip them
10177 # from the output so that they don't get included in the library
10179 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'
10182 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10183 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10184 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'
10186 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10187 hardcode_libdir_separator_CXX=:
10189 # Commands to make compiler produce verbose output that lists
10190 # what "hidden" libraries, object files and flags are used when
10191 # linking a shared library.
10192 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10195 # FIXME: insert proper C++ library support
10202 case $cc_basename in
10204 # Kuck and Associates, Inc. (KAI) C++ Compiler
10206 # KCC will only create a shared library if the output file
10207 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10208 # to its proper name (with version) after linking.
10209 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'
10211 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10212 hardcode_libdir_separator_CXX=:
10214 # Archives containing C++ object files must be created using
10215 # the KAI C++ compiler.
10216 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10219 # Rational C++ 2.4.1
10220 # FIXME: insert proper C++ library support
10224 allow_undefined_flag_CXX=' -expect_unresolved \*'
10225 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'
10226 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10227 echo "-hidden">> $lib.exp~
10228 $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~
10231 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10232 hardcode_libdir_separator_CXX=:
10234 # Commands to make compiler produce verbose output that lists
10235 # what "hidden" libraries, object files and flags are used when
10236 # linking a shared library.
10238 # There doesn't appear to be a way to prevent this compiler from
10239 # explicitly linking system object files so we need to strip them
10240 # from the output so that they don't get included in the library
10242 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'
10245 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10246 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10247 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'
10249 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10250 hardcode_libdir_separator_CXX=:
10252 # Commands to make compiler produce verbose output that lists
10253 # what "hidden" libraries, object files and flags are used when
10254 # linking a shared library.
10255 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10258 # FIXME: insert proper C++ library support
10265 # FIXME: insert proper C++ library support
10269 archive_cmds_need_lc_CXX=no
10270 case $cc_basename in
10272 # FIXME: insert proper C++ library support
10276 # FIXME: insert proper C++ library support
10282 case $cc_basename in
10285 # FIXME: insert proper C++ library support
10290 # FIXME: insert proper C++ library support
10294 # FIXME: insert proper C++ library support
10300 case $cc_basename in
10302 # Sun C++ 4.2, 5.x and Centerline C++
10303 no_undefined_flag_CXX=' -zdefs'
10304 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10305 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10306 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10308 hardcode_libdir_flag_spec_CXX='-R$libdir'
10309 hardcode_shlibpath_var_CXX=no
10311 solaris2.0-5 | solaris2.0-5.*) ;;
10313 # The C++ compiler is used as linker so we must use $wl
10314 # flag to pass the commands to the underlying system
10316 # Supported since Solaris 2.6 (maybe 2.5.1?)
10317 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10320 link_all_deplibs_CXX=yes
10322 # Commands to make compiler produce verbose output that lists
10323 # what "hidden" libraries, object files and flags are used when
10324 # linking a shared library.
10326 # There doesn't appear to be a way to prevent this compiler from
10327 # explicitly linking system object files so we need to strip them
10328 # from the output so that they don't get included in the library
10330 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'
10332 # Archives containing C++ object files must be created using
10333 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10334 # necessary to make sure instantiated templates are included
10336 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10339 # Green Hills C++ Compiler
10340 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10342 # The C++ compiler must be used to create the archive.
10343 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10346 # GNU C++ compiler with Solaris linker
10347 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10348 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10349 if $CC --version | grep -v '^2\.7' > /dev/null; then
10350 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10351 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10352 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10354 # Commands to make compiler produce verbose output that lists
10355 # what "hidden" libraries, object files and flags are used when
10356 # linking a shared library.
10357 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10359 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10361 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10362 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10363 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10365 # Commands to make compiler produce verbose output that lists
10366 # what "hidden" libraries, object files and flags are used when
10367 # linking a shared library.
10368 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10371 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10376 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10377 archive_cmds_need_lc_CXX=no
10380 case $cc_basename in
10382 # NonStop-UX NCC 3.20
10383 # FIXME: insert proper C++ library support
10387 # FIXME: insert proper C++ library support
10393 # FIXME: insert proper C++ library support
10397 # FIXME: insert proper C++ library support
10401 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10402 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10403 test "$ld_shlibs_CXX" = no && can_build_shared=no
10409 ## There is no encapsulation within the following macros, do not change
10410 ## the running order or otherwise move them around unless you know exactly
10411 ## what you are doing...
10413 cat > conftest.$ac_ext <<EOF
10417 Foo (void) { a = 0; }
10423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10424 (eval $ac_compile) 2>&5
10426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427 (exit $ac_status); }; then
10428 # Parse the compiler output and extract the necessary
10429 # objects, libraries and library flags.
10431 # Sentinel used to keep track of whether or not we are before
10432 # the conftest object file.
10433 pre_test_object_deps_done=no
10435 # The `*' in the case matches for architectures that use `case' in
10436 # $output_verbose_cmd can trigger glob expansion during the loop
10437 # eval without this substitution.
10438 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10440 for p in `eval $output_verbose_link_cmd`; do
10444 # Some compilers place space between "-{L,R}" and the path.
10445 # Remove the space.
10446 if test $p = "-L" \
10447 || test $p = "-R"; then
10454 if test "$pre_test_object_deps_done" = no; then
10457 # Internal compiler library paths should come after those
10458 # provided the user. The postdeps already come after the
10459 # user supplied libs so there is no need to process them.
10460 if test -z "$compiler_lib_search_path_CXX"; then
10461 compiler_lib_search_path_CXX="${prev}${p}"
10463 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10466 # The "-l" case would never come before the object being
10467 # linked, so don't bother handling this case.
10470 if test -z "$postdeps_CXX"; then
10471 postdeps_CXX="${prev}${p}"
10473 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10479 # This assumes that the test object file only shows up
10480 # once in the compiler output.
10481 if test "$p" = "conftest.$objext"; then
10482 pre_test_object_deps_done=yes
10486 if test "$pre_test_object_deps_done" = no; then
10487 if test -z "$predep_objects_CXX"; then
10488 predep_objects_CXX="$p"
10490 predep_objects_CXX="$predep_objects_CXX $p"
10493 if test -z "$postdep_objects_CXX"; then
10494 postdep_objects_CXX="$p"
10496 postdep_objects_CXX="$postdep_objects_CXX $p"
10501 *) ;; # Ignore the rest.
10509 echo "libtool.m4: error: problem compiling CXX test program"
10512 $rm -f confest.$objext
10514 case " $postdeps_CXX " in
10515 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10518 lt_prog_compiler_wl_CXX=
10519 lt_prog_compiler_pic_CXX=
10520 lt_prog_compiler_static_CXX=
10522 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10523 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10525 # C++ specific cases for pic, static, wl, etc.
10526 if test "$GXX" = yes; then
10527 lt_prog_compiler_wl_CXX='-Wl,'
10528 lt_prog_compiler_static_CXX='-static'
10532 # All AIX code is PIC.
10533 if test "$host_cpu" = ia64; then
10534 # AIX 5 now supports IA64 processor
10535 lt_prog_compiler_static_CXX='-Bstatic'
10539 # FIXME: we need at least 68020 code to build shared libraries, but
10540 # adding the `-m68020' flag to GCC prevents building anything better,
10542 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10544 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10545 # PIC is the default for these OSes.
10547 mingw* | os2* | pw32*)
10548 # This hack is so that the source file can tell whether it is being
10549 # built for inclusion in a dll (and should export symbols for example).
10550 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10552 darwin* | rhapsody*)
10553 # PIC is the default on this platform
10554 # Common symbols not allowed in MH_DYLIB files
10555 lt_prog_compiler_pic_CXX='-fno-common'
10558 # DJGPP does not support shared libraries at all
10559 lt_prog_compiler_pic_CXX=
10562 if test -d /usr/nec; then
10563 lt_prog_compiler_pic_CXX=-Kconform_pic
10567 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10568 # not for PA HP-UX.
10569 case "$host_cpu" in
10573 lt_prog_compiler_pic_CXX='-fPIC'
10578 lt_prog_compiler_pic_CXX='-fPIC'
10584 # All AIX code is PIC.
10585 if test "$host_cpu" = ia64; then
10586 # AIX 5 now supports IA64 processor
10587 lt_prog_compiler_static_CXX='-Bstatic'
10589 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10593 case $cc_basename in
10595 # Green Hills C++ Compiler
10596 # _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"
10601 case $cc_basename in
10603 lt_prog_compiler_pic_CXX='-KPIC'
10606 # Green Hills C++ Compiler
10607 lt_prog_compiler_pic_CXX='-pic'
10614 # FreeBSD uses GNU C++
10616 hpux9* | hpux10* | hpux11*)
10617 case $cc_basename in
10619 lt_prog_compiler_wl_CXX='-Wl,'
10620 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10621 if test "$host_cpu" != ia64; then
10622 lt_prog_compiler_pic_CXX='+Z'
10626 lt_prog_compiler_wl_CXX='-Wl,'
10627 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10628 case "$host_cpu" in
10633 lt_prog_compiler_pic_CXX='+Z'
10641 irix5* | irix6* | nonstopux*)
10642 case $cc_basename in
10644 lt_prog_compiler_wl_CXX='-Wl,'
10645 lt_prog_compiler_static_CXX='-non_shared'
10646 # CC pic flag -KPIC is the default.
10653 case $cc_basename in
10656 lt_prog_compiler_wl_CXX='--backend -Wl,'
10657 lt_prog_compiler_pic_CXX='-fPIC'
10661 lt_prog_compiler_wl_CXX='-Wl,'
10662 lt_prog_compiler_pic_CXX='-KPIC'
10663 lt_prog_compiler_static_CXX='-static'
10667 # Make sure the PIC flag is empty. It appears that all Alpha
10668 # Linux and Compaq Tru64 Unix objects are PIC.
10669 lt_prog_compiler_pic_CXX=
10670 lt_prog_compiler_static_CXX='-non_shared'
10681 case $cc_basename in
10683 lt_prog_compiler_pic_CXX='-W c,exportall'
10691 osf3* | osf4* | osf5*)
10692 case $cc_basename in
10694 lt_prog_compiler_wl_CXX='--backend -Wl,'
10697 # Rational C++ 2.4.1
10698 lt_prog_compiler_pic_CXX='-pic'
10701 # Digital/Compaq C++
10702 lt_prog_compiler_wl_CXX='-Wl,'
10703 # Make sure the PIC flag is empty. It appears that all Alpha
10704 # Linux and Compaq Tru64 Unix objects are PIC.
10705 lt_prog_compiler_pic_CXX=
10706 lt_prog_compiler_static_CXX='-non_shared'
10715 case $cc_basename in
10717 lt_prog_compiler_pic_CXX='-fPIC'
10724 case $cc_basename in
10726 # Sun C++ 4.2, 5.x and Centerline C++
10727 lt_prog_compiler_pic_CXX='-KPIC'
10728 lt_prog_compiler_static_CXX='-Bstatic'
10729 lt_prog_compiler_wl_CXX='-Qoption ld '
10732 # Green Hills C++ Compiler
10733 lt_prog_compiler_pic_CXX='-PIC'
10740 case $cc_basename in
10743 lt_prog_compiler_pic_CXX='-pic'
10744 lt_prog_compiler_static_CXX='-Bstatic'
10748 lt_prog_compiler_pic_CXX='-pic'
10755 case $cc_basename in
10757 # NonStop-UX NCC 3.20
10758 lt_prog_compiler_pic_CXX='-KPIC'
10769 lt_prog_compiler_can_build_shared_CXX=no
10774 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10775 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10778 # Check to make sure the PIC flag actually works.
10780 if test -n "$lt_prog_compiler_pic_CXX"; then
10781 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10782 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10783 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10784 echo $ECHO_N "(cached) $ECHO_C" >&6
10786 lt_prog_compiler_pic_works_CXX=no
10787 ac_outfile=conftest.$ac_objext
10788 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10789 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10790 # Insert the option either (1) after the last *FLAGS variable, or
10791 # (2) before a word containing "conftest.", or (3) at the end.
10792 # Note that $ac_compile itself does not contain backslashes and begins
10793 # with a dollar sign (not a hyphen), so the echo should work correctly.
10794 # The option is referenced via a variable to avoid confusing sed.
10795 lt_compile=`echo "$ac_compile" | $SED \
10796 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10797 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10798 -e 's:$: $lt_compiler_flag:'`
10799 (eval echo "\"\$as_me:10799: $lt_compile\"" >&5)
10800 (eval "$lt_compile" 2>conftest.err)
10802 cat conftest.err >&5
10803 echo "$as_me:10803: \$? = $ac_status" >&5
10804 if (exit $ac_status) && test -s "$ac_outfile"; then
10805 # The compiler can only warn and ignore the option if not recognized
10806 # So say no if there are warnings
10807 if test ! -s conftest.err; then
10808 lt_prog_compiler_pic_works_CXX=yes
10814 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10815 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10817 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10818 case $lt_prog_compiler_pic_CXX in
10820 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10823 lt_prog_compiler_pic_CXX=
10824 lt_prog_compiler_can_build_shared_CXX=no
10829 # For platforms which do not support PIC, -DPIC is meaningless:
10831 lt_prog_compiler_pic_CXX=
10834 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10838 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10839 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10840 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10841 echo $ECHO_N "(cached) $ECHO_C" >&6
10843 lt_cv_prog_compiler_c_o_CXX=no
10844 $rm -r conftest 2>/dev/null
10848 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10850 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10851 # that will create temporary files in the current directory regardless of
10852 # the output directory. Thus, making CWD read-only will cause this test
10853 # to fail, enabling locking or at least warning the user not to do parallel
10857 lt_compiler_flag="-o out/conftest2.$ac_objext"
10858 # Insert the option either (1) after the last *FLAGS variable, or
10859 # (2) before a word containing "conftest.", or (3) at the end.
10860 # Note that $ac_compile itself does not contain backslashes and begins
10861 # with a dollar sign (not a hyphen), so the echo should work correctly.
10862 lt_compile=`echo "$ac_compile" | $SED \
10863 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10864 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10865 -e 's:$: $lt_compiler_flag:'`
10866 (eval echo "\"\$as_me:10866: $lt_compile\"" >&5)
10867 (eval "$lt_compile" 2>out/conftest.err)
10869 cat out/conftest.err >&5
10870 echo "$as_me:10870: \$? = $ac_status" >&5
10871 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10873 # The compiler can only warn and ignore the option if not recognized
10874 # So say no if there are warnings
10875 if test ! -s out/conftest.err; then
10876 lt_cv_prog_compiler_c_o_CXX=yes
10880 $rm conftest* out/*
10887 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10888 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10891 hard_links="nottested"
10892 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10893 # do not overwrite the value of need_locks provided by the user
10894 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10895 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10898 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10900 ln conftest.a conftest.b 2>&5 || hard_links=no
10901 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10902 echo "$as_me:$LINENO: result: $hard_links" >&5
10903 echo "${ECHO_T}$hard_links" >&6
10904 if test "$hard_links" = no; then
10905 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10906 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10913 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10914 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10916 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10919 # If we're using GNU nm, then we don't want the "-C" option.
10920 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10921 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10922 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'
10924 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'
10928 export_symbols_cmds_CXX="$ltdll_cmds"
10931 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10934 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10938 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10939 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10940 test "$ld_shlibs_CXX" = no && can_build_shared=no
10942 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10943 if test "$GCC" = yes; then
10944 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10948 # Do we need to explicitly link libc?
10950 case "x$archive_cmds_need_lc_CXX" in
10952 # Assume -lc should be added
10953 archive_cmds_need_lc_CXX=yes
10955 if test "$enable_shared" = yes && test "$GCC" = yes; then
10956 case $archive_cmds_CXX in
10958 # FIXME: we may have to deal with multi-command sequences.
10961 # Test whether the compiler implicitly links with -lc since on some
10962 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10963 # to ld, don't add -lc before -lgcc.
10964 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10965 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10967 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10970 (eval $ac_compile) 2>&5
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); } 2>conftest.err; then
10976 libobjs=conftest.$ac_objext
10978 wl=$lt_prog_compiler_wl_CXX
10984 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10985 allow_undefined_flag_CXX=
10986 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10987 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); }
10992 archive_cmds_need_lc_CXX=no
10994 archive_cmds_need_lc_CXX=yes
10996 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
10998 cat conftest.err 1>&5
11001 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11002 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11009 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11010 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11011 hardcode_action_CXX=
11012 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11013 test -n "$runpath_var CXX" || \
11014 test "X$hardcode_automatic_CXX"="Xyes" ; then
11016 # We can hardcode non-existant directories.
11017 if test "$hardcode_direct_CXX" != no &&
11018 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11019 # have to relink, otherwise we might link with an installed library
11020 # when we should be linking with a yet-to-be-installed one
11021 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11022 test "$hardcode_minus_L_CXX" != no; then
11023 # Linking always hardcodes the temporary library directory.
11024 hardcode_action_CXX=relink
11026 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11027 hardcode_action_CXX=immediate
11030 # We cannot hardcode anything, or else we can only hardcode existing
11032 hardcode_action_CXX=unsupported
11034 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11035 echo "${ECHO_T}$hardcode_action_CXX" >&6
11037 if test "$hardcode_action_CXX" = relink; then
11038 # Fast installation is not supported
11039 enable_fast_install=no
11040 elif test "$shlibpath_overrides_runpath" = yes ||
11041 test "$enable_shared" = no; then
11042 # Fast installation is not necessary
11043 enable_fast_install=needless
11048 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11049 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11050 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11051 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11052 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11053 echo "$as_me:$LINENO: result: yes" >&5
11054 echo "${ECHO_T}yes" >&6
11056 # FIXME - insert some real tests, host_os isn't really good enough
11059 if test -n "$STRIP" ; then
11060 striplib="$STRIP -x"
11061 echo "$as_me:$LINENO: result: yes" >&5
11062 echo "${ECHO_T}yes" >&6
11064 echo "$as_me:$LINENO: result: no" >&5
11065 echo "${ECHO_T}no" >&6
11069 echo "$as_me:$LINENO: result: no" >&5
11070 echo "${ECHO_T}no" >&6
11075 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11076 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11077 library_names_spec=
11078 libname_spec='lib$name'
11082 postuninstall_cmds=
11086 shlibpath_overrides_runpath=unknown
11088 dynamic_linker="$host_os ld.so"
11089 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11090 if test "$GCC" = yes; then
11091 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11092 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11093 # if the path contains ";" then we assume it to be the separator
11094 # otherwise default to the standard path separator (i.e. ":") - it is
11095 # assumed that no part of a normal pathname contains ";" but that should
11096 # okay in the real world where ";" in dirpaths is itself problematic.
11097 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11099 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11102 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11104 need_lib_prefix=unknown
11105 hardcode_into_libs=no
11107 # when you set need_version to no, make sure it does not cause -set_version
11108 # flags to be left without arguments
11109 need_version=unknown
11114 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11115 shlibpath_var=LIBPATH
11117 # AIX 3 has no versioning support, so we append a major version to the name.
11118 soname_spec='${libname}${release}${shared_ext}$major'
11125 hardcode_into_libs=yes
11126 if test "$host_cpu" = ia64; then
11127 # AIX 5 supports IA64
11128 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11129 shlibpath_var=LD_LIBRARY_PATH
11131 # With GCC up to 2.95.x, collect2 would create an import file
11132 # for dependence libraries. The import file would start with
11133 # the line `#! .'. This would cause the generated library to
11134 # depend on `.', always an invalid library. This was fixed in
11135 # development snapshots of GCC prior to 3.0.
11137 aix4 | aix4.[01] | aix4.[01].*)
11138 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11140 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11143 can_build_shared=no
11147 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11148 # soname into executable. Probably we can add versioning support to
11149 # collect2, so additional links can be useful in future.
11150 if test "$aix_use_runtimelinking" = yes; then
11151 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11152 # instead of lib<name>.a to let people know that these are not
11153 # typical AIX shared libraries.
11154 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11156 # We preserve .a as extension for shared libraries through AIX4.2
11157 # and later when we are not doing run time linking.
11158 library_names_spec='${libname}${release}.a $libname.a'
11159 soname_spec='${libname}${release}${shared_ext}$major'
11161 shlibpath_var=LIBPATH
11166 library_names_spec='$libname.ixlibrary $libname.a'
11167 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11168 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'
11172 library_names_spec='${libname}${shared_ext}'
11173 dynamic_linker="$host_os ld.so"
11174 shlibpath_var=LIBRARY_PATH
11180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11181 soname_spec='${libname}${release}${shared_ext}$major'
11182 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11183 shlibpath_var=LD_LIBRARY_PATH
11184 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11185 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11186 # the default ld.so.conf also contains /usr/contrib/lib and
11187 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11188 # libtool to hard-code these into programs
11191 cygwin* | mingw* | pw32*)
11192 version_type=windows
11197 case $GCC,$host_os in
11198 yes,cygwin* | yes,mingw* | yes,pw32*)
11199 library_names_spec='$libname.dll.a'
11200 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11201 postinstall_cmds='base_file=`basename \${file}`~
11202 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11203 dldir=$destdir/`dirname \$dlpath`~
11204 test -d \$dldir || mkdir -p \$dldir~
11205 $install_prog $dir/$dlname \$dldir/$dlname'
11206 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11207 dlpath=$dir/\$dldll~
11209 shlibpath_overrides_runpath=yes
11213 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11214 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11215 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11218 # MinGW DLLs use traditional 'lib' prefix
11219 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11220 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11221 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11222 # It is most probably a Windows format PATH printed by
11223 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11224 # path with ; separators, and with drive letters. We can handle the
11225 # drive letters (cygwin fileutils understands them), so leave them,
11226 # especially as we might pass files found there to a mingw objdump,
11227 # which wouldn't understand a cygwinified path. Ahh.
11228 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11230 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11234 # pw32 DLLs use 'pw' prefix rather than 'lib'
11235 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11241 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11244 dynamic_linker='Win32 ld.exe'
11245 # FIXME: first we should search . and the directory the executable is in
11249 darwin* | rhapsody*)
11250 dynamic_linker="$host_os dyld"
11251 version_type=darwin
11254 # FIXME: Relying on posixy $() will cause problems for
11255 # cross-compilation, but unfortunately the echo tests do not
11256 # yet detect zsh echo's removal of \ escapes.
11257 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11258 soname_spec='${libname}${release}${major}$shared_ext'
11259 shlibpath_overrides_runpath=yes
11260 shlibpath_var=DYLD_LIBRARY_PATH
11261 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11262 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11263 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11264 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"`
11266 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11274 soname_spec='${libname}${release}${shared_ext}$major'
11275 shlibpath_var=LD_LIBRARY_PATH
11283 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11284 version_type=freebsd-$objformat
11285 case $version_type in
11287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11292 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11296 shlibpath_var=LD_LIBRARY_PATH
11299 shlibpath_overrides_runpath=yes
11301 freebsd3.01* | freebsdelf3.01*)
11302 shlibpath_overrides_runpath=yes
11303 hardcode_into_libs=yes
11306 shlibpath_overrides_runpath=no
11307 hardcode_into_libs=yes
11316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11317 soname_spec='${libname}${release}${shared_ext}$major'
11318 shlibpath_var=LD_LIBRARY_PATH
11319 hardcode_into_libs=yes
11322 hpux9* | hpux10* | hpux11*)
11323 # Give a soname corresponding to the major version so that dld.sl refuses to
11324 # link against other versions.
11328 case "$host_cpu" in
11331 hardcode_into_libs=yes
11332 dynamic_linker="$host_os dld.so"
11333 shlibpath_var=LD_LIBRARY_PATH
11334 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11336 soname_spec='${libname}${release}${shared_ext}$major'
11337 if test "X$HPUX_IA64_MODE" = X32; then
11338 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11340 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11342 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11346 hardcode_into_libs=yes
11347 dynamic_linker="$host_os dld.sl"
11348 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11349 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11351 soname_spec='${libname}${release}${shared_ext}$major'
11352 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11353 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11357 dynamic_linker="$host_os dld.sl"
11358 shlibpath_var=SHLIB_PATH
11359 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11361 soname_spec='${libname}${release}${shared_ext}$major'
11364 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11365 postinstall_cmds='chmod 555 $lib'
11368 irix5* | irix6* | nonstopux*)
11370 nonstopux*) version_type=nonstopux ;;
11372 if test "$lt_cv_prog_gnu_ld" = yes; then
11380 soname_spec='${libname}${release}${shared_ext}$major'
11381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11383 irix5* | nonstopux*)
11384 libsuff= shlibsuff=
11387 case $LD in # libtool.m4 will add one of these switches to LD
11388 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11389 libsuff= shlibsuff= libmagic=32-bit;;
11390 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11391 libsuff=32 shlibsuff=N32 libmagic=N32;;
11392 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11393 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11394 *) libsuff= shlibsuff= libmagic=never-match;;
11398 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11399 shlibpath_overrides_runpath=no
11400 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11401 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11402 hardcode_into_libs=yes
11405 # No shared lib support for Linux oldld, aout, or coff.
11406 linux*oldld* | linux*aout* | linux*coff*)
11410 # This must be Linux ELF.
11415 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11416 soname_spec='${libname}${release}${shared_ext}$major'
11417 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11418 shlibpath_var=LD_LIBRARY_PATH
11419 shlibpath_overrides_runpath=no
11420 # This implies no fast_install, which is unacceptable.
11421 # Some rework will be needed to allow for fast_install
11422 # before this can be enabled.
11423 hardcode_into_libs=yes
11425 # We used to test for /lib/ld.so.1 and disable shared libraries on
11426 # powerpc, because MkLinux only supported shared libraries with the
11427 # GNU dynamic linker. Since this was broken with cross compilers,
11428 # most powerpc-linux boxes support dynamic linking these days and
11429 # people can always --disable-shared, the test was removed, and we
11430 # assume the GNU/Linux dynamic linker is in use.
11431 dynamic_linker='GNU/Linux ld.so'
11438 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11440 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11441 dynamic_linker='NetBSD (a.out) ld.so'
11443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11444 soname_spec='${libname}${release}${shared_ext}$major'
11445 dynamic_linker='NetBSD ld.elf_so'
11447 shlibpath_var=LD_LIBRARY_PATH
11448 shlibpath_overrides_runpath=yes
11449 hardcode_into_libs=yes
11454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11455 shlibpath_var=LD_LIBRARY_PATH
11456 shlibpath_overrides_runpath=yes
11463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11464 soname_spec='${libname}${release}${shared_ext}$major'
11465 shlibpath_var=LD_LIBRARY_PATH
11466 shlibpath_overrides_runpath=yes
11473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11474 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11475 shlibpath_var=LD_LIBRARY_PATH
11476 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11478 openbsd2.[89] | openbsd2.[89].*)
11479 shlibpath_overrides_runpath=no
11482 shlibpath_overrides_runpath=yes
11486 shlibpath_overrides_runpath=yes
11491 libname_spec='$name'
11494 library_names_spec='$libname${shared_ext} $libname.a'
11495 dynamic_linker='OS/2 ld.exe'
11496 shlibpath_var=LIBPATH
11499 osf3* | osf4* | osf5*)
11503 soname_spec='${libname}${release}${shared_ext}$major'
11504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11505 shlibpath_var=LD_LIBRARY_PATH
11506 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11507 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11512 soname_spec='${libname}${release}${shared_ext}$major'
11513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11514 shlibpath_var=LD_LIBRARY_PATH
11521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11522 soname_spec='${libname}${release}${shared_ext}$major'
11523 shlibpath_var=LD_LIBRARY_PATH
11524 shlibpath_overrides_runpath=yes
11525 hardcode_into_libs=yes
11526 # ldd complains unless libraries are executable
11527 postinstall_cmds='chmod +x $lib'
11532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11533 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11534 shlibpath_var=LD_LIBRARY_PATH
11535 shlibpath_overrides_runpath=yes
11536 if test "$with_gnu_ld" = yes; then
11542 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11545 soname_spec='${libname}${release}${shared_ext}$major'
11546 shlibpath_var=LD_LIBRARY_PATH
11547 case $host_vendor in
11549 shlibpath_overrides_runpath=no
11551 export_dynamic_flag_spec='${wl}-Blargedynsym'
11552 runpath_var=LD_RUN_PATH
11560 shlibpath_overrides_runpath=no
11561 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11567 if test -d /usr/nec ;then
11569 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11570 soname_spec='$libname${shared_ext}.$major'
11571 shlibpath_var=LD_LIBRARY_PATH
11577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11578 soname_spec='${libname}${release}${shared_ext}$major'
11579 shlibpath_var=LD_LIBRARY_PATH
11586 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11587 echo "${ECHO_T}$dynamic_linker" >&6
11588 test "$dynamic_linker" = no && can_build_shared=no
11590 if test "x$enable_dlopen" != xyes; then
11591 enable_dlopen=unknown
11592 enable_dlopen_self=unknown
11593 enable_dlopen_self_static=unknown
11600 lt_cv_dlopen="load_add_on"
11602 lt_cv_dlopen_self=yes
11606 lt_cv_dlopen="LoadLibrary"
11611 lt_cv_dlopen="dlopen"
11616 # if libdl is installed we need to link against it
11617 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11618 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11619 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11620 echo $ECHO_N "(cached) $ECHO_C" >&6
11622 ac_check_lib_save_LIBS=$LIBS
11624 cat >conftest.$ac_ext <<_ACEOF
11625 #line $LINENO "configure"
11628 cat confdefs.h >>conftest.$ac_ext
11629 cat >>conftest.$ac_ext <<_ACEOF
11630 /* end confdefs.h. */
11632 /* Override any gcc2 internal prototype to avoid an error. */
11636 /* We use char because int might match the return type of a gcc2
11637 builtin and then its argument prototype would still apply. */
11647 rm -f conftest.$ac_objext conftest$ac_exeext
11648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11649 (eval $ac_link) 2>&5
11651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652 (exit $ac_status); } &&
11653 { ac_try='test -s conftest$ac_exeext'
11654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11655 (eval $ac_try) 2>&5
11657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658 (exit $ac_status); }; }; then
11659 ac_cv_lib_dl_dlopen=yes
11661 echo "$as_me: failed program was:" >&5
11662 sed 's/^/| /' conftest.$ac_ext >&5
11664 ac_cv_lib_dl_dlopen=no
11666 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11667 LIBS=$ac_check_lib_save_LIBS
11669 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11670 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11671 if test $ac_cv_lib_dl_dlopen = yes; then
11672 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11675 lt_cv_dlopen="dyld"
11677 lt_cv_dlopen_self=yes
11684 echo "$as_me:$LINENO: checking for shl_load" >&5
11685 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11686 if test "${ac_cv_func_shl_load+set}" = set; then
11687 echo $ECHO_N "(cached) $ECHO_C" >&6
11689 cat >conftest.$ac_ext <<_ACEOF
11690 #line $LINENO "configure"
11693 cat confdefs.h >>conftest.$ac_ext
11694 cat >>conftest.$ac_ext <<_ACEOF
11695 /* end confdefs.h. */
11696 /* System header to define __stub macros and hopefully few prototypes,
11697 which can conflict with char shl_load (); below.
11698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11699 <limits.h> exists even on freestanding compilers. */
11701 # include <limits.h>
11703 # include <assert.h>
11705 /* Override any gcc2 internal prototype to avoid an error. */
11710 /* We use char because int might match the return type of a gcc2
11711 builtin and then its argument prototype would still apply. */
11713 /* The GNU C library defines this for functions which it implements
11714 to always fail with ENOSYS. Some functions are actually named
11715 something starting with __ and the normal name is an alias. */
11716 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11719 char (*f) () = shl_load;
11728 return f != shl_load;
11733 rm -f conftest.$ac_objext conftest$ac_exeext
11734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11735 (eval $ac_link) 2>&5
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); } &&
11739 { ac_try='test -s conftest$ac_exeext'
11740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11741 (eval $ac_try) 2>&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); }; }; then
11745 ac_cv_func_shl_load=yes
11747 echo "$as_me: failed program was:" >&5
11748 sed 's/^/| /' conftest.$ac_ext >&5
11750 ac_cv_func_shl_load=no
11752 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11754 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11755 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11756 if test $ac_cv_func_shl_load = yes; then
11757 lt_cv_dlopen="shl_load"
11759 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11760 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11761 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11762 echo $ECHO_N "(cached) $ECHO_C" >&6
11764 ac_check_lib_save_LIBS=$LIBS
11766 cat >conftest.$ac_ext <<_ACEOF
11767 #line $LINENO "configure"
11770 cat confdefs.h >>conftest.$ac_ext
11771 cat >>conftest.$ac_ext <<_ACEOF
11772 /* end confdefs.h. */
11774 /* Override any gcc2 internal prototype to avoid an error. */
11778 /* We use char because int might match the return type of a gcc2
11779 builtin and then its argument prototype would still apply. */
11789 rm -f conftest.$ac_objext conftest$ac_exeext
11790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11791 (eval $ac_link) 2>&5
11793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794 (exit $ac_status); } &&
11795 { ac_try='test -s conftest$ac_exeext'
11796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11797 (eval $ac_try) 2>&5
11799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11800 (exit $ac_status); }; }; then
11801 ac_cv_lib_dld_shl_load=yes
11803 echo "$as_me: failed program was:" >&5
11804 sed 's/^/| /' conftest.$ac_ext >&5
11806 ac_cv_lib_dld_shl_load=no
11808 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11809 LIBS=$ac_check_lib_save_LIBS
11811 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11812 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11813 if test $ac_cv_lib_dld_shl_load = yes; then
11814 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11816 echo "$as_me:$LINENO: checking for dlopen" >&5
11817 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11818 if test "${ac_cv_func_dlopen+set}" = set; then
11819 echo $ECHO_N "(cached) $ECHO_C" >&6
11821 cat >conftest.$ac_ext <<_ACEOF
11822 #line $LINENO "configure"
11825 cat confdefs.h >>conftest.$ac_ext
11826 cat >>conftest.$ac_ext <<_ACEOF
11827 /* end confdefs.h. */
11828 /* System header to define __stub macros and hopefully few prototypes,
11829 which can conflict with char dlopen (); below.
11830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11831 <limits.h> exists even on freestanding compilers. */
11833 # include <limits.h>
11835 # include <assert.h>
11837 /* Override any gcc2 internal prototype to avoid an error. */
11842 /* We use char because int might match the return type of a gcc2
11843 builtin and then its argument prototype would still apply. */
11845 /* The GNU C library defines this for functions which it implements
11846 to always fail with ENOSYS. Some functions are actually named
11847 something starting with __ and the normal name is an alias. */
11848 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11851 char (*f) () = dlopen;
11860 return f != dlopen;
11865 rm -f conftest.$ac_objext conftest$ac_exeext
11866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11867 (eval $ac_link) 2>&5
11869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); } &&
11871 { ac_try='test -s conftest$ac_exeext'
11872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11873 (eval $ac_try) 2>&5
11875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876 (exit $ac_status); }; }; then
11877 ac_cv_func_dlopen=yes
11879 echo "$as_me: failed program was:" >&5
11880 sed 's/^/| /' conftest.$ac_ext >&5
11882 ac_cv_func_dlopen=no
11884 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11886 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11887 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11888 if test $ac_cv_func_dlopen = yes; then
11889 lt_cv_dlopen="dlopen"
11891 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11892 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11893 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11894 echo $ECHO_N "(cached) $ECHO_C" >&6
11896 ac_check_lib_save_LIBS=$LIBS
11898 cat >conftest.$ac_ext <<_ACEOF
11899 #line $LINENO "configure"
11902 cat confdefs.h >>conftest.$ac_ext
11903 cat >>conftest.$ac_ext <<_ACEOF
11904 /* end confdefs.h. */
11906 /* Override any gcc2 internal prototype to avoid an error. */
11910 /* We use char because int might match the return type of a gcc2
11911 builtin and then its argument prototype would still apply. */
11921 rm -f conftest.$ac_objext conftest$ac_exeext
11922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11923 (eval $ac_link) 2>&5
11925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926 (exit $ac_status); } &&
11927 { ac_try='test -s conftest$ac_exeext'
11928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11929 (eval $ac_try) 2>&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); }; }; then
11933 ac_cv_lib_dl_dlopen=yes
11935 echo "$as_me: failed program was:" >&5
11936 sed 's/^/| /' conftest.$ac_ext >&5
11938 ac_cv_lib_dl_dlopen=no
11940 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11941 LIBS=$ac_check_lib_save_LIBS
11943 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11944 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11945 if test $ac_cv_lib_dl_dlopen = yes; then
11946 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11948 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11949 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11950 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11951 echo $ECHO_N "(cached) $ECHO_C" >&6
11953 ac_check_lib_save_LIBS=$LIBS
11954 LIBS="-lsvld $LIBS"
11955 cat >conftest.$ac_ext <<_ACEOF
11956 #line $LINENO "configure"
11959 cat confdefs.h >>conftest.$ac_ext
11960 cat >>conftest.$ac_ext <<_ACEOF
11961 /* end confdefs.h. */
11963 /* Override any gcc2 internal prototype to avoid an error. */
11967 /* We use char because int might match the return type of a gcc2
11968 builtin and then its argument prototype would still apply. */
11978 rm -f conftest.$ac_objext conftest$ac_exeext
11979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11980 (eval $ac_link) 2>&5
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); } &&
11984 { ac_try='test -s conftest$ac_exeext'
11985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11986 (eval $ac_try) 2>&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); }; }; then
11990 ac_cv_lib_svld_dlopen=yes
11992 echo "$as_me: failed program was:" >&5
11993 sed 's/^/| /' conftest.$ac_ext >&5
11995 ac_cv_lib_svld_dlopen=no
11997 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11998 LIBS=$ac_check_lib_save_LIBS
12000 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12001 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12002 if test $ac_cv_lib_svld_dlopen = yes; then
12003 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12005 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12006 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12007 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12008 echo $ECHO_N "(cached) $ECHO_C" >&6
12010 ac_check_lib_save_LIBS=$LIBS
12012 cat >conftest.$ac_ext <<_ACEOF
12013 #line $LINENO "configure"
12016 cat confdefs.h >>conftest.$ac_ext
12017 cat >>conftest.$ac_ext <<_ACEOF
12018 /* end confdefs.h. */
12020 /* Override any gcc2 internal prototype to avoid an error. */
12024 /* We use char because int might match the return type of a gcc2
12025 builtin and then its argument prototype would still apply. */
12035 rm -f conftest.$ac_objext conftest$ac_exeext
12036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12037 (eval $ac_link) 2>&5
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); } &&
12041 { ac_try='test -s conftest$ac_exeext'
12042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12043 (eval $ac_try) 2>&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); }; }; then
12047 ac_cv_lib_dld_dld_link=yes
12049 echo "$as_me: failed program was:" >&5
12050 sed 's/^/| /' conftest.$ac_ext >&5
12052 ac_cv_lib_dld_dld_link=no
12054 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12055 LIBS=$ac_check_lib_save_LIBS
12057 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12058 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12059 if test $ac_cv_lib_dld_dld_link = yes; then
12060 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12081 if test "x$lt_cv_dlopen" != xno; then
12087 case $lt_cv_dlopen in
12089 save_CPPFLAGS="$CPPFLAGS"
12090 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12092 save_LDFLAGS="$LDFLAGS"
12093 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12096 LIBS="$lt_cv_dlopen_libs $LIBS"
12098 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12099 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12100 if test "${lt_cv_dlopen_self+set}" = set; then
12101 echo $ECHO_N "(cached) $ECHO_C" >&6
12103 if test "$cross_compiling" = yes; then :
12104 lt_cv_dlopen_self=cross
12106 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12107 lt_status=$lt_dlunknown
12108 cat > conftest.$ac_ext <<EOF
12109 #line 12109 "configure"
12110 #include "confdefs.h"
12119 # define LT_DLGLOBAL RTLD_GLOBAL
12122 # define LT_DLGLOBAL DL_GLOBAL
12124 # define LT_DLGLOBAL 0
12128 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12129 find out it does not work in some platform. */
12130 #ifndef LT_DLLAZY_OR_NOW
12132 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12135 # define LT_DLLAZY_OR_NOW DL_LAZY
12138 # define LT_DLLAZY_OR_NOW RTLD_NOW
12141 # define LT_DLLAZY_OR_NOW DL_NOW
12143 # define LT_DLLAZY_OR_NOW 0
12151 extern "C" void exit (int);
12154 void fnord() { int i=42;}
12157 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12158 int status = $lt_dlunknown;
12162 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12163 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12164 /* dlclose (self); */
12170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12171 (eval $ac_link) 2>&5
12173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12174 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12175 (./conftest; exit; ) 2>/dev/null
12177 case x$lt_status in
12178 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12179 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12180 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12183 # compilation failed
12184 lt_cv_dlopen_self=no
12191 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12192 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12194 if test "x$lt_cv_dlopen_self" = xyes; then
12195 LDFLAGS="$LDFLAGS $link_static_flag"
12196 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12197 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12198 if test "${lt_cv_dlopen_self_static+set}" = set; then
12199 echo $ECHO_N "(cached) $ECHO_C" >&6
12201 if test "$cross_compiling" = yes; then :
12202 lt_cv_dlopen_self_static=cross
12204 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12205 lt_status=$lt_dlunknown
12206 cat > conftest.$ac_ext <<EOF
12207 #line 12207 "configure"
12208 #include "confdefs.h"
12217 # define LT_DLGLOBAL RTLD_GLOBAL
12220 # define LT_DLGLOBAL DL_GLOBAL
12222 # define LT_DLGLOBAL 0
12226 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12227 find out it does not work in some platform. */
12228 #ifndef LT_DLLAZY_OR_NOW
12230 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12233 # define LT_DLLAZY_OR_NOW DL_LAZY
12236 # define LT_DLLAZY_OR_NOW RTLD_NOW
12239 # define LT_DLLAZY_OR_NOW DL_NOW
12241 # define LT_DLLAZY_OR_NOW 0
12249 extern "C" void exit (int);
12252 void fnord() { int i=42;}
12255 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12256 int status = $lt_dlunknown;
12260 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12261 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12262 /* dlclose (self); */
12268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12269 (eval $ac_link) 2>&5
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12273 (./conftest; exit; ) 2>/dev/null
12275 case x$lt_status in
12276 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12277 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12278 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12281 # compilation failed
12282 lt_cv_dlopen_self_static=no
12289 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12290 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12293 CPPFLAGS="$save_CPPFLAGS"
12294 LDFLAGS="$save_LDFLAGS"
12299 case $lt_cv_dlopen_self in
12300 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12301 *) enable_dlopen_self=unknown ;;
12304 case $lt_cv_dlopen_self_static in
12305 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12306 *) enable_dlopen_self_static=unknown ;;
12311 # The else clause should only fire when bootstrapping the
12312 # libtool distribution, otherwise you forgot to ship ltmain.sh
12313 # with your package, and you will get complaints that there are
12314 # no rules to generate ltmain.sh.
12315 if test -f "$ltmain"; then
12316 # See if we are running on zsh, and set the options which allow our commands through
12317 # without removal of \ escapes.
12318 if test -n "${ZSH_VERSION+set}" ; then
12319 setopt NO_GLOB_SUBST
12321 # Now quote all the things that may contain metacharacters while being
12322 # careful not to overquote the AC_SUBSTed values. We take copies of the
12323 # variables and quote the copies for generation of the libtool script.
12324 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12325 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12326 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12327 deplibs_check_method reload_flag reload_cmds need_locks \
12328 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12329 lt_cv_sys_global_symbol_to_c_name_address \
12330 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12331 old_postinstall_cmds old_postuninstall_cmds \
12335 lt_prog_compiler_wl_CXX \
12336 lt_prog_compiler_pic_CXX \
12337 lt_prog_compiler_static_CXX \
12338 lt_prog_compiler_no_builtin_flag_CXX \
12339 export_dynamic_flag_spec_CXX \
12340 thread_safe_flag_spec_CXX \
12341 whole_archive_flag_spec_CXX \
12342 enable_shared_with_static_runtimes_CXX \
12343 old_archive_cmds_CXX \
12344 old_archive_from_new_cmds_CXX \
12345 predep_objects_CXX \
12346 postdep_objects_CXX \
12349 compiler_lib_search_path_CXX \
12351 archive_expsym_cmds_CXX \
12352 postinstall_cmds_CXX \
12353 postuninstall_cmds_CXX \
12354 old_archive_from_expsyms_cmds_CXX \
12355 allow_undefined_flag_CXX \
12356 no_undefined_flag_CXX \
12357 export_symbols_cmds_CXX \
12358 hardcode_libdir_flag_spec_CXX \
12359 hardcode_libdir_flag_spec_ld_CXX \
12360 hardcode_libdir_separator_CXX \
12361 hardcode_automatic_CXX \
12363 module_expsym_cmds_CXX \
12364 lt_cv_prog_compiler_c_o_CXX \
12365 exclude_expsyms_CXX \
12366 include_expsyms_CXX; do
12369 old_archive_cmds_CXX | \
12370 old_archive_from_new_cmds_CXX | \
12371 archive_cmds_CXX | \
12372 archive_expsym_cmds_CXX | \
12373 module_cmds_CXX | \
12374 module_expsym_cmds_CXX | \
12375 old_archive_from_expsyms_cmds_CXX | \
12376 export_symbols_cmds_CXX | \
12377 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12378 postinstall_cmds | postuninstall_cmds | \
12379 old_postinstall_cmds | old_postuninstall_cmds | \
12380 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12381 # Double-quote double-evaled strings.
12382 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12385 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12391 *'\$0 --fallback-echo"')
12392 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12398 cat <<__EOF__ >> "$cfgfile"
12399 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12401 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12403 # Shell to use when invoking shell scripts.
12406 # Whether or not to build shared libraries.
12407 build_libtool_libs=$enable_shared
12409 # Whether or not to build static libraries.
12410 build_old_libs=$enable_static
12412 # Whether or not to add -lc for building shared libraries.
12413 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12415 # Whether or not to disallow shared libs when runtime libs are static
12416 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12418 # Whether or not to optimize for fast installation.
12419 fast_install=$enable_fast_install
12422 host_alias=$host_alias
12425 # An echo program that does not interpret backslashes.
12430 AR_FLAGS=$lt_AR_FLAGS
12435 # A language-specific compiler.
12436 CC=$lt_compiler_CXX
12438 # Is the compiler the GNU C compiler?
12444 # The linker used to build libraries.
12447 # Whether we need hard or soft links.
12450 # A BSD-compatible nm program.
12453 # A symbol stripping program
12456 # Used to examine libraries when file_magic_cmd begins "file"
12457 MAGIC_CMD=$MAGIC_CMD
12459 # Used on cygwin: DLL creation program.
12462 # Used on cygwin: object dumper.
12465 # Used on cygwin: assembler.
12468 # The name of the directory that contains temporary libtool files.
12471 # How to create reloadable object files.
12472 reload_flag=$lt_reload_flag
12473 reload_cmds=$lt_reload_cmds
12475 # How to pass a linker flag through the compiler.
12476 wl=$lt_lt_prog_compiler_wl_CXX
12478 # Object file suffix (normally "o").
12479 objext="$ac_objext"
12481 # Old archive suffix (normally "a").
12484 # Shared library suffix (normally ".so").
12487 # Executable file suffix (normally "").
12490 # Additional compiler flags for building library objects.
12491 pic_flag=$lt_lt_prog_compiler_pic_CXX
12494 # What is the maximum length of a command?
12495 max_cmd_len=$lt_cv_sys_max_cmd_len
12497 # Does compiler simultaneously support -c and -o options?
12498 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12500 # Must we lock files when doing compilation ?
12501 need_locks=$lt_need_locks
12503 # Do we need the lib prefix for modules?
12504 need_lib_prefix=$need_lib_prefix
12506 # Do we need a version for libraries?
12507 need_version=$need_version
12509 # Whether dlopen is supported.
12510 dlopen_support=$enable_dlopen
12512 # Whether dlopen of programs is supported.
12513 dlopen_self=$enable_dlopen_self
12515 # Whether dlopen of statically linked programs is supported.
12516 dlopen_self_static=$enable_dlopen_self_static
12518 # Compiler flag to prevent dynamic linking.
12519 link_static_flag=$lt_lt_prog_compiler_static_CXX
12521 # Compiler flag to turn off builtin functions.
12522 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12524 # Compiler flag to allow reflexive dlopens.
12525 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12527 # Compiler flag to generate shared objects directly from archives.
12528 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12530 # Compiler flag to generate thread-safe objects.
12531 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12533 # Library versioning type.
12534 version_type=$version_type
12536 # Format of library name prefix.
12537 libname_spec=$lt_libname_spec
12539 # List of archive names. First name is the real one, the rest are links.
12540 # The last name is the one that the linker finds with -lNAME.
12541 library_names_spec=$lt_library_names_spec
12543 # The coded name of the library, if different from the real name.
12544 soname_spec=$lt_soname_spec
12546 # Commands used to build and install an old-style archive.
12548 old_archive_cmds=$lt_old_archive_cmds_CXX
12549 old_postinstall_cmds=$lt_old_postinstall_cmds
12550 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12552 # Create an old-style archive from a shared archive.
12553 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12555 # Create a temporary old-style archive to link instead of a shared archive.
12556 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12558 # Commands used to build and install a shared archive.
12559 archive_cmds=$lt_archive_cmds_CXX
12560 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12561 postinstall_cmds=$lt_postinstall_cmds
12562 postuninstall_cmds=$lt_postuninstall_cmds
12564 # Commands used to build a loadable module (assumed same as above if empty)
12565 module_cmds=$lt_module_cmds_CXX
12566 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12568 # Commands to strip libraries.
12569 old_striplib=$lt_old_striplib
12570 striplib=$lt_striplib
12572 # Dependencies to place before the objects being linked to create a
12574 predep_objects=$lt_predep_objects_CXX
12576 # Dependencies to place after the objects being linked to create a
12578 postdep_objects=$lt_postdep_objects_CXX
12580 # Dependencies to place before the objects being linked to create a
12582 predeps=$lt_predeps_CXX
12584 # Dependencies to place after the objects being linked to create a
12586 postdeps=$lt_postdeps_CXX
12588 # The library search path used internally by the compiler when linking
12589 # a shared library.
12590 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12592 # Method to check whether dependent libraries are shared objects.
12593 deplibs_check_method=$lt_deplibs_check_method
12595 # Command to use when deplibs_check_method == file_magic.
12596 file_magic_cmd=$lt_file_magic_cmd
12598 # Flag that allows shared libraries with undefined symbols to be built.
12599 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12601 # Flag that forces no undefined symbols.
12602 no_undefined_flag=$lt_no_undefined_flag_CXX
12604 # Commands used to finish a libtool library installation in a directory.
12605 finish_cmds=$lt_finish_cmds
12607 # Same as above, but a single script fragment to be evaled but not shown.
12608 finish_eval=$lt_finish_eval
12610 # Take the output of nm and produce a listing of raw symbols and C names.
12611 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12613 # Transform the output of nm in a proper C declaration
12614 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12616 # Transform the output of nm in a C name address pair
12617 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12619 # This is the shared library runtime path variable.
12620 runpath_var=$runpath_var
12622 # This is the shared library path variable.
12623 shlibpath_var=$shlibpath_var
12625 # Is shlibpath searched before the hard-coded library search path?
12626 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12628 # How to hardcode a shared library path into an executable.
12629 hardcode_action=$hardcode_action_CXX
12631 # Whether we should hardcode library paths into libraries.
12632 hardcode_into_libs=$hardcode_into_libs
12634 # Flag to hardcode \$libdir into a binary during linking.
12635 # This must work even if \$libdir does not exist.
12636 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12638 # If ld is used when linking, flag to hardcode \$libdir into
12639 # a binary during linking. This must work even if \$libdir does
12641 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12643 # Whether we need a single -rpath flag with a separated argument.
12644 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12646 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12647 # resulting binary.
12648 hardcode_direct=$hardcode_direct_CXX
12650 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12651 # resulting binary.
12652 hardcode_minus_L=$hardcode_minus_L_CXX
12654 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12655 # the resulting binary.
12656 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12658 # Set to yes if building a shared library automatically hardcodes DIR into the library
12659 # and all subsequent libraries and executables linked against it.
12660 hardcode_automatic=$hardcode_automatic_CXX
12662 # Variables whose values should be saved in libtool wrapper scripts and
12663 # restored at relink time.
12664 variables_saved_for_relink="$variables_saved_for_relink"
12666 # Whether libtool must link a program against all its dependency libraries.
12667 link_all_deplibs=$link_all_deplibs_CXX
12669 # Compile-time system search path for libraries
12670 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12672 # Run-time system search path for libraries
12673 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12675 # Fix the shell variable \$srcfile for the compiler.
12676 fix_srcfile_path="$fix_srcfile_path_CXX"
12678 # Set to yes if exported symbols are required.
12679 always_export_symbols=$always_export_symbols_CXX
12681 # The commands to list exported symbols.
12682 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12684 # The commands to extract the exported symbol list from a shared archive.
12685 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12687 # Symbols that should not be listed in the preloaded symbols.
12688 exclude_expsyms=$lt_exclude_expsyms_CXX
12690 # Symbols that must always be exported.
12691 include_expsyms=$lt_include_expsyms_CXX
12693 # ### END LIBTOOL TAG CONFIG: $tagname
12699 # If there is no Makefile yet, we rely on a make rule to execute
12700 # `config.status --recheck' to rerun these tests and create the
12701 # libtool script then.
12702 test -f Makefile && make "$ltmain"
12707 ac_cpp='$CPP $CPPFLAGS'
12708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12716 with_gnu_ldcxx=$with_gnu_ld
12717 with_gnu_ld=$lt_save_with_gnu_ld
12718 lt_cv_path_LDCXX=$lt_cv_path_LD
12719 lt_cv_path_LD=$lt_save_path_LD
12720 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12721 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12729 if test -n "$F77" && test "X$F77" != "Xno"; then
12732 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12733 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12734 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12737 archive_cmds_need_lc_F77=no
12738 allow_undefined_flag_F77=
12739 always_export_symbols_F77=no
12740 archive_expsym_cmds_F77=
12741 export_dynamic_flag_spec_F77=
12742 hardcode_direct_F77=no
12743 hardcode_libdir_flag_spec_F77=
12744 hardcode_libdir_flag_spec_ld_F77=
12745 hardcode_libdir_separator_F77=
12746 hardcode_minus_L_F77=no
12747 hardcode_automatic_F77=no
12749 module_expsym_cmds_F77=
12750 link_all_deplibs_F77=unknown
12751 old_archive_cmds_F77=$old_archive_cmds
12752 no_undefined_flag_F77=
12753 whole_archive_flag_spec_F77=
12754 enable_shared_with_static_runtimes_F77=no
12756 # Source file extension for f77 test sources.
12759 # Object file extension for compiled f77 test sources.
12763 # Code to be used in simple compile tests
12764 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12766 # Code to be used in simple link tests
12767 lt_simple_link_test_code=" program t\n end\n"
12769 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12771 # If no C compiler was specified, use CC.
12774 # Allow CC to be a program name with arguments.
12778 # Allow CC to be a program name with arguments.
12783 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12785 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12786 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12787 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12788 echo "${ECHO_T}$can_build_shared" >&6
12790 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12791 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12792 test "$can_build_shared" = "no" && enable_shared=no
12794 # On AIX, shared libraries and static libraries use the same namespace, and
12795 # are all built from PIC.
12798 test "$enable_shared" = yes && enable_static=no
12799 if test -n "$RANLIB"; then
12800 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12801 postinstall_cmds='$RANLIB $lib'
12805 test "$enable_shared" = yes && enable_static=no
12808 echo "$as_me:$LINENO: result: $enable_shared" >&5
12809 echo "${ECHO_T}$enable_shared" >&6
12811 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12812 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12813 # Make sure either enable_shared or enable_static is yes.
12814 test "$enable_shared" = yes || enable_static=yes
12815 echo "$as_me:$LINENO: result: $enable_static" >&5
12816 echo "${ECHO_T}$enable_static" >&6
12818 test "$ld_shlibs_F77" = no && can_build_shared=no
12823 lt_prog_compiler_wl_F77=
12824 lt_prog_compiler_pic_F77=
12825 lt_prog_compiler_static_F77=
12827 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12828 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12830 if test "$GCC" = yes; then
12831 lt_prog_compiler_wl_F77='-Wl,'
12832 lt_prog_compiler_static_F77='-static'
12836 # All AIX code is PIC.
12837 if test "$host_cpu" = ia64; then
12838 # AIX 5 now supports IA64 processor
12839 lt_prog_compiler_static_F77='-Bstatic'
12844 # FIXME: we need at least 68020 code to build shared libraries, but
12845 # adding the `-m68020' flag to GCC prevents building anything better,
12847 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12850 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12851 # PIC is the default for these OSes.
12854 mingw* | pw32* | os2*)
12855 # This hack is so that the source file can tell whether it is being
12856 # built for inclusion in a dll (and should export symbols for example).
12857 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12860 darwin* | rhapsody*)
12861 # PIC is the default on this platform
12862 # Common symbols not allowed in MH_DYLIB files
12863 lt_prog_compiler_pic_F77='-fno-common'
12867 # Just because we use GCC doesn't mean we suddenly get shared libraries
12868 # on systems that don't support them.
12869 lt_prog_compiler_can_build_shared_F77=no
12874 if test -d /usr/nec; then
12875 lt_prog_compiler_pic_F77=-Kconform_pic
12880 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12881 # not for PA HP-UX.
12882 case "$host_cpu" in
12887 lt_prog_compiler_pic_F77='-fPIC'
12893 lt_prog_compiler_pic_F77='-fPIC'
12897 # PORTME Check for flag to pass linker flags through the system compiler.
12900 lt_prog_compiler_wl_F77='-Wl,'
12901 if test "$host_cpu" = ia64; then
12902 # AIX 5 now supports IA64 processor
12903 lt_prog_compiler_static_F77='-Bstatic'
12905 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12909 mingw* | pw32* | os2*)
12910 # This hack is so that the source file can tell whether it is being
12911 # built for inclusion in a dll (and should export symbols for example).
12912 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12915 hpux9* | hpux10* | hpux11*)
12916 lt_prog_compiler_wl_F77='-Wl,'
12917 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12918 # not for PA HP-UX.
12919 case "$host_cpu" in
12924 lt_prog_compiler_pic_F77='+Z'
12927 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12928 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12931 irix5* | irix6* | nonstopux*)
12932 lt_prog_compiler_wl_F77='-Wl,'
12933 # PIC (with -KPIC) is the default.
12934 lt_prog_compiler_static_F77='-non_shared'
12938 lt_prog_compiler_pic_F77='-KPIC'
12939 lt_prog_compiler_static_F77='-Bstatic'
12945 lt_prog_compiler_wl_F77='-Wl,'
12946 lt_prog_compiler_pic_F77='-KPIC'
12947 lt_prog_compiler_static_F77='-static'
12950 lt_prog_compiler_wl_F77='-Wl,'
12951 # All Alpha code is PIC.
12952 lt_prog_compiler_static_F77='-non_shared'
12957 osf3* | osf4* | osf5*)
12958 lt_prog_compiler_wl_F77='-Wl,'
12959 # All OSF/1 code is PIC.
12960 lt_prog_compiler_static_F77='-non_shared'
12964 lt_prog_compiler_pic_F77='-Kpic'
12965 lt_prog_compiler_static_F77='-dn'
12969 lt_prog_compiler_wl_F77='-Wl,'
12970 lt_prog_compiler_pic_F77='-KPIC'
12971 lt_prog_compiler_static_F77='-Bstatic'
12975 lt_prog_compiler_wl_F77='-Qoption ld '
12976 lt_prog_compiler_pic_F77='-PIC'
12977 lt_prog_compiler_static_F77='-Bstatic'
12980 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12981 lt_prog_compiler_wl_F77='-Wl,'
12982 lt_prog_compiler_pic_F77='-KPIC'
12983 lt_prog_compiler_static_F77='-Bstatic'
12987 if test -d /usr/nec ;then
12988 lt_prog_compiler_pic_F77='-Kconform_pic'
12989 lt_prog_compiler_static_F77='-Bstatic'
12994 lt_prog_compiler_pic_F77='-pic'
12995 lt_prog_compiler_static_F77='-Bstatic'
12999 lt_prog_compiler_can_build_shared_F77=no
13004 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13005 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13008 # Check to make sure the PIC flag actually works.
13010 if test -n "$lt_prog_compiler_pic_F77"; then
13011 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13012 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13013 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13014 echo $ECHO_N "(cached) $ECHO_C" >&6
13016 lt_prog_compiler_pic_works_F77=no
13017 ac_outfile=conftest.$ac_objext
13018 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13019 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13020 # Insert the option either (1) after the last *FLAGS variable, or
13021 # (2) before a word containing "conftest.", or (3) at the end.
13022 # Note that $ac_compile itself does not contain backslashes and begins
13023 # with a dollar sign (not a hyphen), so the echo should work correctly.
13024 # The option is referenced via a variable to avoid confusing sed.
13025 lt_compile=`echo "$ac_compile" | $SED \
13026 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13027 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13028 -e 's:$: $lt_compiler_flag:'`
13029 (eval echo "\"\$as_me:13029: $lt_compile\"" >&5)
13030 (eval "$lt_compile" 2>conftest.err)
13032 cat conftest.err >&5
13033 echo "$as_me:13033: \$? = $ac_status" >&5
13034 if (exit $ac_status) && test -s "$ac_outfile"; then
13035 # The compiler can only warn and ignore the option if not recognized
13036 # So say no if there are warnings
13037 if test ! -s conftest.err; then
13038 lt_prog_compiler_pic_works_F77=yes
13044 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13045 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13047 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13048 case $lt_prog_compiler_pic_F77 in
13050 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13053 lt_prog_compiler_pic_F77=
13054 lt_prog_compiler_can_build_shared_F77=no
13059 # For platforms which do not support PIC, -DPIC is meaningless:
13061 lt_prog_compiler_pic_F77=
13064 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13068 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13069 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13070 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13071 echo $ECHO_N "(cached) $ECHO_C" >&6
13073 lt_cv_prog_compiler_c_o_F77=no
13074 $rm -r conftest 2>/dev/null
13078 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13080 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13081 # that will create temporary files in the current directory regardless of
13082 # the output directory. Thus, making CWD read-only will cause this test
13083 # to fail, enabling locking or at least warning the user not to do parallel
13087 lt_compiler_flag="-o out/conftest2.$ac_objext"
13088 # Insert the option either (1) after the last *FLAGS variable, or
13089 # (2) before a word containing "conftest.", or (3) at the end.
13090 # Note that $ac_compile itself does not contain backslashes and begins
13091 # with a dollar sign (not a hyphen), so the echo should work correctly.
13092 lt_compile=`echo "$ac_compile" | $SED \
13093 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13094 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13095 -e 's:$: $lt_compiler_flag:'`
13096 (eval echo "\"\$as_me:13096: $lt_compile\"" >&5)
13097 (eval "$lt_compile" 2>out/conftest.err)
13099 cat out/conftest.err >&5
13100 echo "$as_me:13100: \$? = $ac_status" >&5
13101 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13103 # The compiler can only warn and ignore the option if not recognized
13104 # So say no if there are warnings
13105 if test ! -s out/conftest.err; then
13106 lt_cv_prog_compiler_c_o_F77=yes
13110 $rm conftest* out/*
13117 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13118 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13121 hard_links="nottested"
13122 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13123 # do not overwrite the value of need_locks provided by the user
13124 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13125 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13128 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13130 ln conftest.a conftest.b 2>&5 || hard_links=no
13131 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13132 echo "$as_me:$LINENO: result: $hard_links" >&5
13133 echo "${ECHO_T}$hard_links" >&6
13134 if test "$hard_links" = no; then
13135 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13136 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13143 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13144 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13147 allow_undefined_flag_F77=
13148 enable_shared_with_static_runtimes_F77=no
13150 archive_expsym_cmds_F77=
13151 old_archive_From_new_cmds_F77=
13152 old_archive_from_expsyms_cmds_F77=
13153 export_dynamic_flag_spec_F77=
13154 whole_archive_flag_spec_F77=
13155 thread_safe_flag_spec_F77=
13156 hardcode_libdir_flag_spec_F77=
13157 hardcode_libdir_flag_spec_ld_F77=
13158 hardcode_libdir_separator_F77=
13159 hardcode_direct_F77=no
13160 hardcode_minus_L_F77=no
13161 hardcode_shlibpath_var_F77=unsupported
13162 link_all_deplibs_F77=unknown
13163 hardcode_automatic_F77=no
13165 module_expsym_cmds_F77=
13166 always_export_symbols_F77=no
13167 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13168 # include_expsyms should be a list of space-separated symbols to be *always*
13169 # included in the symbol list
13170 include_expsyms_F77=
13171 # exclude_expsyms can be an extended regexp of symbols to exclude
13172 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13173 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13174 # as well as any symbol that contains `d'.
13175 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13176 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13177 # platforms (ab)use it in PIC code, but their linkers get confused if
13178 # the symbol is explicitly referenced. Since portable code cannot
13179 # rely on this symbol name, it's probably fine to never include it in
13180 # preloaded symbol tables.
13181 extract_expsyms_cmds=
13184 cygwin* | mingw* | pw32*)
13185 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13186 # When not using gcc, we currently assume that we are using
13187 # Microsoft Visual C++.
13188 if test "$GCC" != yes; then
13198 if test "$with_gnu_ld" = yes; then
13199 # If archive_cmds runs LD, not CC, wlarc should be empty
13202 # See if GNU ld supports shared libraries.
13204 aix3* | aix4* | aix5*)
13205 # On AIX/PPC, the GNU linker is very broken
13206 if test "$host_cpu" != ia64; then
13210 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13211 *** to be unable to reliably create shared libraries on AIX.
13212 *** Therefore, libtool is disabling shared libraries support. If you
13213 *** really care for shared libraries, you may want to modify your PATH
13214 *** so that a non-GNU linker is found, and then restart.
13221 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)'
13222 hardcode_libdir_flag_spec_F77='-L$libdir'
13223 hardcode_minus_L_F77=yes
13225 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13226 # that the semantics of dynamic libraries on AmigaOS, at least up
13227 # to version 4, is to share data among multiple programs linked
13228 # with the same dynamic library. Since this doesn't match the
13229 # behavior of shared libraries on other platforms, we can't use
13235 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13236 allow_undefined_flag_F77=unsupported
13237 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13238 # support --undefined. This deserves some investigation. FIXME
13239 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13245 cygwin* | mingw* | pw32*)
13246 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13247 # as there is no search path for DLLs.
13248 hardcode_libdir_flag_spec_F77='-L$libdir'
13249 allow_undefined_flag_F77=unsupported
13250 always_export_symbols_F77=no
13251 enable_shared_with_static_runtimes_F77=yes
13252 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13254 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13255 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13256 # If the export-symbols file already is a .def file (1st line
13257 # is EXPORTS), use it as is; otherwise, prepend...
13258 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13259 cp $export_symbols $output_objdir/$soname.def;
13261 echo EXPORTS > $output_objdir/$soname.def;
13262 cat $export_symbols >> $output_objdir/$soname.def;
13264 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13271 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13272 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13275 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13276 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13281 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13285 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13286 *** create shared libraries on Solaris systems. Therefore, libtool
13287 *** is disabling shared libraries support. We urge you to upgrade GNU
13288 *** binutils to release 2.9.1 or newer. Another option is to modify
13289 *** your PATH or compiler configuration so that the native linker is
13290 *** used, and then restart.
13293 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13294 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13295 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13302 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13304 hardcode_direct_F77=yes
13305 hardcode_shlibpath_var_F77=no
13309 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13310 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13311 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13318 if test "$ld_shlibs_F77" = yes; then
13319 runpath_var=LD_RUN_PATH
13320 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13321 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13322 # ancient GNU ld didn't support --whole-archive et. al.
13323 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13324 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13326 whole_archive_flag_spec_F77=
13330 # PORTME fill in a description of your system's linker (not GNU ld)
13333 allow_undefined_flag_F77=unsupported
13334 always_export_symbols_F77=yes
13335 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'
13336 # Note: this linker hardcodes the directories in LIBPATH if there
13337 # are no directories specified by -L.
13338 hardcode_minus_L_F77=yes
13339 if test "$GCC" = yes && test -z "$link_static_flag"; then
13340 # Neither direct hardcoding nor static linking is supported with a
13342 hardcode_direct_F77=unsupported
13347 if test "$host_cpu" = ia64; then
13348 # On IA64, the linker does run time linking by default, so we don't
13349 # have to do anything special.
13350 aix_use_runtimelinking=no
13351 exp_sym_flag='-Bexport'
13354 # If we're using GNU nm, then we don't want the "-C" option.
13355 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13356 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13357 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'
13359 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'
13361 aix_use_runtimelinking=no
13363 # Test if we are trying to use run time linking or normal
13364 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13365 # need to do runtime linking.
13366 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13367 for ld_flag in $LDFLAGS; do
13368 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13369 aix_use_runtimelinking=yes
13375 exp_sym_flag='-bexport'
13376 no_entry_flag='-bnoentry'
13379 # When large executables or shared objects are built, AIX ld can
13380 # have problems creating the table of contents. If linking a library
13381 # or program results in "error TOC overflow" add -mminimal-toc to
13382 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13383 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13385 archive_cmds_F77=''
13386 hardcode_direct_F77=yes
13387 hardcode_libdir_separator_F77=':'
13388 link_all_deplibs_F77=yes
13390 if test "$GCC" = yes; then
13391 case $host_os in aix4.012|aix4.012.*)
13392 # We only want to do this on AIX 4.2 and lower, the check
13393 # below for broken collect2 doesn't work under 4.3+
13394 collect2name=`${CC} -print-prog-name=collect2`
13395 if test -f "$collect2name" && \
13396 strings "$collect2name" | grep resolve_lib_name >/dev/null
13398 # We have reworked collect2
13399 hardcode_direct_F77=yes
13401 # We have old collect2
13402 hardcode_direct_F77=unsupported
13403 # It fails to find uninstalled libraries when the uninstalled
13404 # path is not listed in the libpath. Setting hardcode_minus_L
13405 # to unsupported forces relinking
13406 hardcode_minus_L_F77=yes
13407 hardcode_libdir_flag_spec_F77='-L$libdir'
13408 hardcode_libdir_separator_F77=
13411 shared_flag='-shared'
13414 if test "$host_cpu" = ia64; then
13415 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13416 # chokes on -Wl,-G. The following line is correct:
13419 if test "$aix_use_runtimelinking" = yes; then
13420 shared_flag='${wl}-G'
13422 shared_flag='${wl}-bM:SRE'
13427 # It seems that -bexpall does not export symbols beginning with
13428 # underscore (_), so it is better to generate a list of symbols to export.
13429 always_export_symbols_F77=yes
13430 if test "$aix_use_runtimelinking" = yes; then
13431 # Warning - without using the other runtime loading flags (-brtl),
13432 # -berok will link without error, but may produce a broken library.
13433 allow_undefined_flag_F77='-berok'
13434 # Determine the default libpath from the value encoded in an empty executable.
13435 cat >conftest.$ac_ext <<_ACEOF
13440 rm -f conftest.$ac_objext conftest$ac_exeext
13441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13442 (eval $ac_link) 2>&5
13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); } &&
13446 { ac_try='test -s conftest$ac_exeext'
13447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13448 (eval $ac_try) 2>&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); }; }; then
13453 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13455 # Check for a 64-bit object if we didn't find anything.
13456 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; }
13459 echo "$as_me: failed program was:" >&5
13460 sed 's/^/| /' conftest.$ac_ext >&5
13463 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13464 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13466 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13467 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"
13469 if test "$host_cpu" = ia64; then
13470 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13471 allow_undefined_flag_F77="-z nodefs"
13472 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"
13474 # Determine the default libpath from the value encoded in an empty executable.
13475 cat >conftest.$ac_ext <<_ACEOF
13480 rm -f conftest.$ac_objext conftest$ac_exeext
13481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13482 (eval $ac_link) 2>&5
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); } &&
13486 { ac_try='test -s conftest$ac_exeext'
13487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13488 (eval $ac_try) 2>&5
13490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13491 (exit $ac_status); }; }; then
13493 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13495 # Check for a 64-bit object if we didn't find anything.
13496 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; }
13499 echo "$as_me: failed program was:" >&5
13500 sed 's/^/| /' conftest.$ac_ext >&5
13503 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13504 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13506 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13507 # Warning - without using the other run time loading flags,
13508 # -berok will link without error, but may produce a broken library.
13509 no_undefined_flag_F77=' ${wl}-bernotok'
13510 allow_undefined_flag_F77=' ${wl}-berok'
13511 # -bexpall does not export symbols beginning with underscore (_)
13512 always_export_symbols_F77=yes
13513 # Exported symbols can be pulled into shared objects from archives
13514 whole_archive_flag_spec_F77=' '
13515 archive_cmds_need_lc_F77=yes
13516 # This is similar to how AIX traditionally builds it's shared libraries.
13517 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'
13523 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)'
13524 hardcode_libdir_flag_spec_F77='-L$libdir'
13525 hardcode_minus_L_F77=yes
13526 # see comment about different semantics on the GNU ld section
13531 export_dynamic_flag_spec_F77=-rdynamic
13534 cygwin* | mingw* | pw32*)
13535 # When not using gcc, we currently assume that we are using
13536 # Microsoft Visual C++.
13537 # hardcode_libdir_flag_spec is actually meaningless, as there is
13538 # no search path for DLLs.
13539 hardcode_libdir_flag_spec_F77=' '
13540 allow_undefined_flag_F77=unsupported
13541 # Tell ltmain to make .lib files, not .a files.
13543 # Tell ltmain to make .dll files, not .so files.
13545 # FIXME: Setting linknames here is a bad hack.
13546 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13547 # The linker will automatically build a .lib file if we build a DLL.
13548 old_archive_From_new_cmds_F77='true'
13549 # FIXME: Should let the user specify the lib program.
13550 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13551 fix_srcfile_path='`cygpath -w "$srcfile"`'
13552 enable_shared_with_static_runtimes_F77=yes
13555 darwin* | rhapsody*)
13556 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13557 archive_cmds_need_lc_F77=no
13559 rhapsody* | darwin1.[012])
13560 allow_undefined_flag_F77='-undefined suppress'
13563 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13566 # FIXME: Relying on posixy $() will cause problems for
13567 # cross-compilation, but unfortunately the echo tests do not
13568 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13569 # `"' quotes if we put them in here... so don't!
13570 lt_int_apple_cc_single_mod=no
13571 output_verbose_link_cmd='echo'
13572 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13573 lt_int_apple_cc_single_mod=yes
13575 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13576 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13578 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'
13580 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13581 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13582 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13583 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}'
13585 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}'
13587 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}'
13588 hardcode_direct_F77=no
13589 hardcode_automatic_F77=yes
13590 hardcode_shlibpath_var_F77=unsupported
13591 whole_archive_flag_spec_F77='-all_load $convenience'
13592 link_all_deplibs_F77=yes
13597 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13598 hardcode_libdir_flag_spec_F77='-L$libdir'
13599 hardcode_shlibpath_var_F77=no
13606 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13607 # support. Future versions do this automatically, but an explicit c++rt0.o
13608 # does not break anything, and helps significantly (at the cost of a little
13611 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13612 hardcode_libdir_flag_spec_F77='-R$libdir'
13613 hardcode_direct_F77=yes
13614 hardcode_shlibpath_var_F77=no
13617 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13619 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13620 hardcode_direct_F77=yes
13621 hardcode_minus_L_F77=yes
13622 hardcode_shlibpath_var_F77=no
13625 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13627 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13628 hardcode_libdir_flag_spec_F77='-R$libdir'
13629 hardcode_direct_F77=yes
13630 hardcode_shlibpath_var_F77=no
13634 if test "$GCC" = yes; then
13635 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'
13637 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'
13639 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13640 hardcode_libdir_separator_F77=:
13641 hardcode_direct_F77=yes
13643 # hardcode_minus_L: Not really in the search PATH,
13644 # but as the default location of the library.
13645 hardcode_minus_L_F77=yes
13646 export_dynamic_flag_spec_F77='${wl}-E'
13650 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13651 case "$host_cpu" in
13653 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13656 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13660 case "$host_cpu" in
13662 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13665 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13669 if test "$with_gnu_ld" = no; then
13670 case "$host_cpu" in
13672 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13673 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13674 hardcode_libdir_separator_F77=:
13675 hardcode_direct_F77=no
13676 hardcode_shlibpath_var_F77=no
13679 hardcode_libdir_flag_spec_F77='-L$libdir'
13680 hardcode_direct_F77=no
13681 hardcode_shlibpath_var_F77=no
13683 # hardcode_minus_L: Not really in the search PATH,
13684 # but as the default location of the library.
13685 hardcode_minus_L_F77=yes
13688 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13689 hardcode_libdir_separator_F77=:
13690 hardcode_direct_F77=yes
13691 export_dynamic_flag_spec_F77='${wl}-E'
13693 # hardcode_minus_L: Not really in the search PATH,
13694 # but as the default location of the library.
13695 hardcode_minus_L_F77=yes
13701 irix5* | irix6* | nonstopux*)
13702 if test "$GCC" = yes; then
13703 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'
13705 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'
13706 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13708 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13709 hardcode_libdir_separator_F77=:
13710 link_all_deplibs_F77=yes
13714 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13715 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13717 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13719 hardcode_libdir_flag_spec_F77='-R$libdir'
13720 hardcode_direct_F77=yes
13721 hardcode_shlibpath_var_F77=no
13725 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13726 hardcode_direct_F77=yes
13727 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13728 hardcode_libdir_separator_F77=:
13729 hardcode_shlibpath_var_F77=no
13733 hardcode_direct_F77=yes
13734 hardcode_shlibpath_var_F77=no
13735 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13736 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13737 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13738 export_dynamic_flag_spec_F77='${wl}-E'
13741 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13742 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13743 hardcode_libdir_flag_spec_F77='-R$libdir'
13746 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13747 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13754 hardcode_libdir_flag_spec_F77='-L$libdir'
13755 hardcode_minus_L_F77=yes
13756 allow_undefined_flag_F77=unsupported
13757 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'
13758 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13762 if test "$GCC" = yes; then
13763 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13764 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'
13766 allow_undefined_flag_F77=' -expect_unresolved \*'
13767 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'
13769 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13770 hardcode_libdir_separator_F77=:
13773 osf4* | osf5*) # as osf3* with the addition of -msym flag
13774 if test "$GCC" = yes; then
13775 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13776 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'
13777 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13779 allow_undefined_flag_F77=' -expect_unresolved \*'
13780 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'
13781 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~
13782 $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'
13784 # Both c and cxx compiler support -rpath directly
13785 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13787 hardcode_libdir_separator_F77=:
13791 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13792 hardcode_shlibpath_var_F77=no
13793 export_dynamic_flag_spec_F77='${wl}-Bexport'
13794 runpath_var=LD_RUN_PATH
13795 hardcode_runpath_var=yes
13799 no_undefined_flag_F77=' -z text'
13800 if test "$GCC" = yes; then
13801 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13802 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13803 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13805 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13806 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13807 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13809 hardcode_libdir_flag_spec_F77='-R$libdir'
13810 hardcode_shlibpath_var_F77=no
13812 solaris2.[0-5] | solaris2.[0-5].*) ;;
13813 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13814 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13816 link_all_deplibs_F77=yes
13820 if test "x$host_vendor" = xsequent; then
13821 # Use $CC to link under sequent, because it throws in some extra .o
13822 # files that make .init and .fini sections work.
13823 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13825 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13827 hardcode_libdir_flag_spec_F77='-L$libdir'
13828 hardcode_direct_F77=yes
13829 hardcode_minus_L_F77=yes
13830 hardcode_shlibpath_var_F77=no
13834 case $host_vendor in
13836 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13837 hardcode_direct_F77=yes # is this really true???
13840 ## LD is ld it makes a PLAMLIB
13841 ## CC just makes a GrossModule.
13842 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13843 reload_cmds_F77='$CC -r -o $output$reload_objs'
13844 hardcode_direct_F77=no
13847 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13848 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13851 runpath_var='LD_RUN_PATH'
13852 hardcode_shlibpath_var_F77=no
13856 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13857 hardcode_shlibpath_var_F77=no
13858 export_dynamic_flag_spec_F77='-Bexport'
13862 if test -d /usr/nec; then
13863 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13864 hardcode_shlibpath_var_F77=no
13865 runpath_var=LD_RUN_PATH
13866 hardcode_runpath_var=yes
13872 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13873 hardcode_direct_F77=yes
13874 hardcode_minus_L_F77=no
13875 hardcode_shlibpath_var_F77=no
13876 hardcode_runpath_var=yes
13877 runpath_var=LD_RUN_PATH
13880 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13881 no_undefined_flag_F77='${wl}-z ${wl}text'
13882 if test "$GCC" = yes; then
13883 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13885 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13887 runpath_var='LD_RUN_PATH'
13888 hardcode_shlibpath_var_F77=no
13892 no_undefined_flag_F77=' -z text'
13893 # $CC -shared without GNU ld will not create a library from C++
13894 # object files and a static libstdc++, better avoid it by now
13895 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13896 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13897 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13898 hardcode_libdir_flag_spec_F77=
13899 hardcode_shlibpath_var_F77=no
13900 runpath_var='LD_RUN_PATH'
13904 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13905 hardcode_libdir_flag_spec_F77='-L$libdir'
13906 hardcode_shlibpath_var_F77=no
13915 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13916 echo "${ECHO_T}$ld_shlibs_F77" >&6
13917 test "$ld_shlibs_F77" = no && can_build_shared=no
13919 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13920 if test "$GCC" = yes; then
13921 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13925 # Do we need to explicitly link libc?
13927 case "x$archive_cmds_need_lc_F77" in
13929 # Assume -lc should be added
13930 archive_cmds_need_lc_F77=yes
13932 if test "$enable_shared" = yes && test "$GCC" = yes; then
13933 case $archive_cmds_F77 in
13935 # FIXME: we may have to deal with multi-command sequences.
13938 # Test whether the compiler implicitly links with -lc since on some
13939 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13940 # to ld, don't add -lc before -lgcc.
13941 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13942 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13944 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13947 (eval $ac_compile) 2>&5
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); } 2>conftest.err; then
13953 libobjs=conftest.$ac_objext
13955 wl=$lt_prog_compiler_wl_F77
13961 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13962 allow_undefined_flag_F77=
13963 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13964 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 (exit $ac_status); }
13969 archive_cmds_need_lc_F77=no
13971 archive_cmds_need_lc_F77=yes
13973 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13975 cat conftest.err 1>&5
13978 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13979 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13986 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13987 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13988 hardcode_action_F77=
13989 if test -n "$hardcode_libdir_flag_spec_F77" || \
13990 test -n "$runpath_var F77" || \
13991 test "X$hardcode_automatic_F77"="Xyes" ; then
13993 # We can hardcode non-existant directories.
13994 if test "$hardcode_direct_F77" != no &&
13995 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13996 # have to relink, otherwise we might link with an installed library
13997 # when we should be linking with a yet-to-be-installed one
13998 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
13999 test "$hardcode_minus_L_F77" != no; then
14000 # Linking always hardcodes the temporary library directory.
14001 hardcode_action_F77=relink
14003 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14004 hardcode_action_F77=immediate
14007 # We cannot hardcode anything, or else we can only hardcode existing
14009 hardcode_action_F77=unsupported
14011 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14012 echo "${ECHO_T}$hardcode_action_F77" >&6
14014 if test "$hardcode_action_F77" = relink; then
14015 # Fast installation is not supported
14016 enable_fast_install=no
14017 elif test "$shlibpath_overrides_runpath" = yes ||
14018 test "$enable_shared" = no; then
14019 # Fast installation is not necessary
14020 enable_fast_install=needless
14025 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14026 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14027 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14028 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14029 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14030 echo "$as_me:$LINENO: result: yes" >&5
14031 echo "${ECHO_T}yes" >&6
14033 # FIXME - insert some real tests, host_os isn't really good enough
14036 if test -n "$STRIP" ; then
14037 striplib="$STRIP -x"
14038 echo "$as_me:$LINENO: result: yes" >&5
14039 echo "${ECHO_T}yes" >&6
14041 echo "$as_me:$LINENO: result: no" >&5
14042 echo "${ECHO_T}no" >&6
14046 echo "$as_me:$LINENO: result: no" >&5
14047 echo "${ECHO_T}no" >&6
14052 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14053 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14054 library_names_spec=
14055 libname_spec='lib$name'
14059 postuninstall_cmds=
14063 shlibpath_overrides_runpath=unknown
14065 dynamic_linker="$host_os ld.so"
14066 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14067 if test "$GCC" = yes; then
14068 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14069 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14070 # if the path contains ";" then we assume it to be the separator
14071 # otherwise default to the standard path separator (i.e. ":") - it is
14072 # assumed that no part of a normal pathname contains ";" but that should
14073 # okay in the real world where ";" in dirpaths is itself problematic.
14074 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14076 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14079 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14081 need_lib_prefix=unknown
14082 hardcode_into_libs=no
14084 # when you set need_version to no, make sure it does not cause -set_version
14085 # flags to be left without arguments
14086 need_version=unknown
14091 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14092 shlibpath_var=LIBPATH
14094 # AIX 3 has no versioning support, so we append a major version to the name.
14095 soname_spec='${libname}${release}${shared_ext}$major'
14102 hardcode_into_libs=yes
14103 if test "$host_cpu" = ia64; then
14104 # AIX 5 supports IA64
14105 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14106 shlibpath_var=LD_LIBRARY_PATH
14108 # With GCC up to 2.95.x, collect2 would create an import file
14109 # for dependence libraries. The import file would start with
14110 # the line `#! .'. This would cause the generated library to
14111 # depend on `.', always an invalid library. This was fixed in
14112 # development snapshots of GCC prior to 3.0.
14114 aix4 | aix4.[01] | aix4.[01].*)
14115 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14117 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14120 can_build_shared=no
14124 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14125 # soname into executable. Probably we can add versioning support to
14126 # collect2, so additional links can be useful in future.
14127 if test "$aix_use_runtimelinking" = yes; then
14128 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14129 # instead of lib<name>.a to let people know that these are not
14130 # typical AIX shared libraries.
14131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14133 # We preserve .a as extension for shared libraries through AIX4.2
14134 # and later when we are not doing run time linking.
14135 library_names_spec='${libname}${release}.a $libname.a'
14136 soname_spec='${libname}${release}${shared_ext}$major'
14138 shlibpath_var=LIBPATH
14143 library_names_spec='$libname.ixlibrary $libname.a'
14144 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14145 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'
14149 library_names_spec='${libname}${shared_ext}'
14150 dynamic_linker="$host_os ld.so"
14151 shlibpath_var=LIBRARY_PATH
14157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14158 soname_spec='${libname}${release}${shared_ext}$major'
14159 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14160 shlibpath_var=LD_LIBRARY_PATH
14161 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14162 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14163 # the default ld.so.conf also contains /usr/contrib/lib and
14164 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14165 # libtool to hard-code these into programs
14168 cygwin* | mingw* | pw32*)
14169 version_type=windows
14174 case $GCC,$host_os in
14175 yes,cygwin* | yes,mingw* | yes,pw32*)
14176 library_names_spec='$libname.dll.a'
14177 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14178 postinstall_cmds='base_file=`basename \${file}`~
14179 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14180 dldir=$destdir/`dirname \$dlpath`~
14181 test -d \$dldir || mkdir -p \$dldir~
14182 $install_prog $dir/$dlname \$dldir/$dlname'
14183 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14184 dlpath=$dir/\$dldll~
14186 shlibpath_overrides_runpath=yes
14190 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14191 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14192 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14195 # MinGW DLLs use traditional 'lib' prefix
14196 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14197 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14198 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14199 # It is most probably a Windows format PATH printed by
14200 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14201 # path with ; separators, and with drive letters. We can handle the
14202 # drive letters (cygwin fileutils understands them), so leave them,
14203 # especially as we might pass files found there to a mingw objdump,
14204 # which wouldn't understand a cygwinified path. Ahh.
14205 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14207 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14211 # pw32 DLLs use 'pw' prefix rather than 'lib'
14212 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14218 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14221 dynamic_linker='Win32 ld.exe'
14222 # FIXME: first we should search . and the directory the executable is in
14226 darwin* | rhapsody*)
14227 dynamic_linker="$host_os dyld"
14228 version_type=darwin
14231 # FIXME: Relying on posixy $() will cause problems for
14232 # cross-compilation, but unfortunately the echo tests do not
14233 # yet detect zsh echo's removal of \ escapes.
14234 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14235 soname_spec='${libname}${release}${major}$shared_ext'
14236 shlibpath_overrides_runpath=yes
14237 shlibpath_var=DYLD_LIBRARY_PATH
14238 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14239 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14240 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14241 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"`
14243 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14251 soname_spec='${libname}${release}${shared_ext}$major'
14252 shlibpath_var=LD_LIBRARY_PATH
14260 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14261 version_type=freebsd-$objformat
14262 case $version_type in
14264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14269 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14273 shlibpath_var=LD_LIBRARY_PATH
14276 shlibpath_overrides_runpath=yes
14278 freebsd3.01* | freebsdelf3.01*)
14279 shlibpath_overrides_runpath=yes
14280 hardcode_into_libs=yes
14283 shlibpath_overrides_runpath=no
14284 hardcode_into_libs=yes
14293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14294 soname_spec='${libname}${release}${shared_ext}$major'
14295 shlibpath_var=LD_LIBRARY_PATH
14296 hardcode_into_libs=yes
14299 hpux9* | hpux10* | hpux11*)
14300 # Give a soname corresponding to the major version so that dld.sl refuses to
14301 # link against other versions.
14305 case "$host_cpu" in
14308 hardcode_into_libs=yes
14309 dynamic_linker="$host_os dld.so"
14310 shlibpath_var=LD_LIBRARY_PATH
14311 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14313 soname_spec='${libname}${release}${shared_ext}$major'
14314 if test "X$HPUX_IA64_MODE" = X32; then
14315 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14317 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14319 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14323 hardcode_into_libs=yes
14324 dynamic_linker="$host_os dld.sl"
14325 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14326 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14328 soname_spec='${libname}${release}${shared_ext}$major'
14329 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14330 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14334 dynamic_linker="$host_os dld.sl"
14335 shlibpath_var=SHLIB_PATH
14336 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14338 soname_spec='${libname}${release}${shared_ext}$major'
14341 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14342 postinstall_cmds='chmod 555 $lib'
14345 irix5* | irix6* | nonstopux*)
14347 nonstopux*) version_type=nonstopux ;;
14349 if test "$lt_cv_prog_gnu_ld" = yes; then
14357 soname_spec='${libname}${release}${shared_ext}$major'
14358 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14360 irix5* | nonstopux*)
14361 libsuff= shlibsuff=
14364 case $LD in # libtool.m4 will add one of these switches to LD
14365 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14366 libsuff= shlibsuff= libmagic=32-bit;;
14367 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14368 libsuff=32 shlibsuff=N32 libmagic=N32;;
14369 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14370 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14371 *) libsuff= shlibsuff= libmagic=never-match;;
14375 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14376 shlibpath_overrides_runpath=no
14377 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14378 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14379 hardcode_into_libs=yes
14382 # No shared lib support for Linux oldld, aout, or coff.
14383 linux*oldld* | linux*aout* | linux*coff*)
14387 # This must be Linux ELF.
14392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14393 soname_spec='${libname}${release}${shared_ext}$major'
14394 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14395 shlibpath_var=LD_LIBRARY_PATH
14396 shlibpath_overrides_runpath=no
14397 # This implies no fast_install, which is unacceptable.
14398 # Some rework will be needed to allow for fast_install
14399 # before this can be enabled.
14400 hardcode_into_libs=yes
14402 # We used to test for /lib/ld.so.1 and disable shared libraries on
14403 # powerpc, because MkLinux only supported shared libraries with the
14404 # GNU dynamic linker. Since this was broken with cross compilers,
14405 # most powerpc-linux boxes support dynamic linking these days and
14406 # people can always --disable-shared, the test was removed, and we
14407 # assume the GNU/Linux dynamic linker is in use.
14408 dynamic_linker='GNU/Linux ld.so'
14415 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14417 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14418 dynamic_linker='NetBSD (a.out) ld.so'
14420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14421 soname_spec='${libname}${release}${shared_ext}$major'
14422 dynamic_linker='NetBSD ld.elf_so'
14424 shlibpath_var=LD_LIBRARY_PATH
14425 shlibpath_overrides_runpath=yes
14426 hardcode_into_libs=yes
14431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14432 shlibpath_var=LD_LIBRARY_PATH
14433 shlibpath_overrides_runpath=yes
14440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14441 soname_spec='${libname}${release}${shared_ext}$major'
14442 shlibpath_var=LD_LIBRARY_PATH
14443 shlibpath_overrides_runpath=yes
14450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14451 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14452 shlibpath_var=LD_LIBRARY_PATH
14453 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14455 openbsd2.[89] | openbsd2.[89].*)
14456 shlibpath_overrides_runpath=no
14459 shlibpath_overrides_runpath=yes
14463 shlibpath_overrides_runpath=yes
14468 libname_spec='$name'
14471 library_names_spec='$libname${shared_ext} $libname.a'
14472 dynamic_linker='OS/2 ld.exe'
14473 shlibpath_var=LIBPATH
14476 osf3* | osf4* | osf5*)
14480 soname_spec='${libname}${release}${shared_ext}$major'
14481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14482 shlibpath_var=LD_LIBRARY_PATH
14483 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14484 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14489 soname_spec='${libname}${release}${shared_ext}$major'
14490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14491 shlibpath_var=LD_LIBRARY_PATH
14498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14499 soname_spec='${libname}${release}${shared_ext}$major'
14500 shlibpath_var=LD_LIBRARY_PATH
14501 shlibpath_overrides_runpath=yes
14502 hardcode_into_libs=yes
14503 # ldd complains unless libraries are executable
14504 postinstall_cmds='chmod +x $lib'
14509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14510 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14511 shlibpath_var=LD_LIBRARY_PATH
14512 shlibpath_overrides_runpath=yes
14513 if test "$with_gnu_ld" = yes; then
14519 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14522 soname_spec='${libname}${release}${shared_ext}$major'
14523 shlibpath_var=LD_LIBRARY_PATH
14524 case $host_vendor in
14526 shlibpath_overrides_runpath=no
14528 export_dynamic_flag_spec='${wl}-Blargedynsym'
14529 runpath_var=LD_RUN_PATH
14537 shlibpath_overrides_runpath=no
14538 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14544 if test -d /usr/nec ;then
14546 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14547 soname_spec='$libname${shared_ext}.$major'
14548 shlibpath_var=LD_LIBRARY_PATH
14554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14555 soname_spec='${libname}${release}${shared_ext}$major'
14556 shlibpath_var=LD_LIBRARY_PATH
14563 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14564 echo "${ECHO_T}$dynamic_linker" >&6
14565 test "$dynamic_linker" = no && can_build_shared=no
14568 # The else clause should only fire when bootstrapping the
14569 # libtool distribution, otherwise you forgot to ship ltmain.sh
14570 # with your package, and you will get complaints that there are
14571 # no rules to generate ltmain.sh.
14572 if test -f "$ltmain"; then
14573 # See if we are running on zsh, and set the options which allow our commands through
14574 # without removal of \ escapes.
14575 if test -n "${ZSH_VERSION+set}" ; then
14576 setopt NO_GLOB_SUBST
14578 # Now quote all the things that may contain metacharacters while being
14579 # careful not to overquote the AC_SUBSTed values. We take copies of the
14580 # variables and quote the copies for generation of the libtool script.
14581 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14582 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14583 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14584 deplibs_check_method reload_flag reload_cmds need_locks \
14585 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14586 lt_cv_sys_global_symbol_to_c_name_address \
14587 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14588 old_postinstall_cmds old_postuninstall_cmds \
14592 lt_prog_compiler_wl_F77 \
14593 lt_prog_compiler_pic_F77 \
14594 lt_prog_compiler_static_F77 \
14595 lt_prog_compiler_no_builtin_flag_F77 \
14596 export_dynamic_flag_spec_F77 \
14597 thread_safe_flag_spec_F77 \
14598 whole_archive_flag_spec_F77 \
14599 enable_shared_with_static_runtimes_F77 \
14600 old_archive_cmds_F77 \
14601 old_archive_from_new_cmds_F77 \
14602 predep_objects_F77 \
14603 postdep_objects_F77 \
14606 compiler_lib_search_path_F77 \
14608 archive_expsym_cmds_F77 \
14609 postinstall_cmds_F77 \
14610 postuninstall_cmds_F77 \
14611 old_archive_from_expsyms_cmds_F77 \
14612 allow_undefined_flag_F77 \
14613 no_undefined_flag_F77 \
14614 export_symbols_cmds_F77 \
14615 hardcode_libdir_flag_spec_F77 \
14616 hardcode_libdir_flag_spec_ld_F77 \
14617 hardcode_libdir_separator_F77 \
14618 hardcode_automatic_F77 \
14620 module_expsym_cmds_F77 \
14621 lt_cv_prog_compiler_c_o_F77 \
14622 exclude_expsyms_F77 \
14623 include_expsyms_F77; do
14626 old_archive_cmds_F77 | \
14627 old_archive_from_new_cmds_F77 | \
14628 archive_cmds_F77 | \
14629 archive_expsym_cmds_F77 | \
14630 module_cmds_F77 | \
14631 module_expsym_cmds_F77 | \
14632 old_archive_from_expsyms_cmds_F77 | \
14633 export_symbols_cmds_F77 | \
14634 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14635 postinstall_cmds | postuninstall_cmds | \
14636 old_postinstall_cmds | old_postuninstall_cmds | \
14637 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14638 # Double-quote double-evaled strings.
14639 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14642 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14648 *'\$0 --fallback-echo"')
14649 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14655 cat <<__EOF__ >> "$cfgfile"
14656 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14658 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14660 # Shell to use when invoking shell scripts.
14663 # Whether or not to build shared libraries.
14664 build_libtool_libs=$enable_shared
14666 # Whether or not to build static libraries.
14667 build_old_libs=$enable_static
14669 # Whether or not to add -lc for building shared libraries.
14670 build_libtool_need_lc=$archive_cmds_need_lc_F77
14672 # Whether or not to disallow shared libs when runtime libs are static
14673 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14675 # Whether or not to optimize for fast installation.
14676 fast_install=$enable_fast_install
14679 host_alias=$host_alias
14682 # An echo program that does not interpret backslashes.
14687 AR_FLAGS=$lt_AR_FLAGS
14692 # A language-specific compiler.
14693 CC=$lt_compiler_F77
14695 # Is the compiler the GNU C compiler?
14701 # The linker used to build libraries.
14704 # Whether we need hard or soft links.
14707 # A BSD-compatible nm program.
14710 # A symbol stripping program
14713 # Used to examine libraries when file_magic_cmd begins "file"
14714 MAGIC_CMD=$MAGIC_CMD
14716 # Used on cygwin: DLL creation program.
14719 # Used on cygwin: object dumper.
14722 # Used on cygwin: assembler.
14725 # The name of the directory that contains temporary libtool files.
14728 # How to create reloadable object files.
14729 reload_flag=$lt_reload_flag
14730 reload_cmds=$lt_reload_cmds
14732 # How to pass a linker flag through the compiler.
14733 wl=$lt_lt_prog_compiler_wl_F77
14735 # Object file suffix (normally "o").
14736 objext="$ac_objext"
14738 # Old archive suffix (normally "a").
14741 # Shared library suffix (normally ".so").
14744 # Executable file suffix (normally "").
14747 # Additional compiler flags for building library objects.
14748 pic_flag=$lt_lt_prog_compiler_pic_F77
14751 # What is the maximum length of a command?
14752 max_cmd_len=$lt_cv_sys_max_cmd_len
14754 # Does compiler simultaneously support -c and -o options?
14755 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14757 # Must we lock files when doing compilation ?
14758 need_locks=$lt_need_locks
14760 # Do we need the lib prefix for modules?
14761 need_lib_prefix=$need_lib_prefix
14763 # Do we need a version for libraries?
14764 need_version=$need_version
14766 # Whether dlopen is supported.
14767 dlopen_support=$enable_dlopen
14769 # Whether dlopen of programs is supported.
14770 dlopen_self=$enable_dlopen_self
14772 # Whether dlopen of statically linked programs is supported.
14773 dlopen_self_static=$enable_dlopen_self_static
14775 # Compiler flag to prevent dynamic linking.
14776 link_static_flag=$lt_lt_prog_compiler_static_F77
14778 # Compiler flag to turn off builtin functions.
14779 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14781 # Compiler flag to allow reflexive dlopens.
14782 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14784 # Compiler flag to generate shared objects directly from archives.
14785 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14787 # Compiler flag to generate thread-safe objects.
14788 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14790 # Library versioning type.
14791 version_type=$version_type
14793 # Format of library name prefix.
14794 libname_spec=$lt_libname_spec
14796 # List of archive names. First name is the real one, the rest are links.
14797 # The last name is the one that the linker finds with -lNAME.
14798 library_names_spec=$lt_library_names_spec
14800 # The coded name of the library, if different from the real name.
14801 soname_spec=$lt_soname_spec
14803 # Commands used to build and install an old-style archive.
14805 old_archive_cmds=$lt_old_archive_cmds_F77
14806 old_postinstall_cmds=$lt_old_postinstall_cmds
14807 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14809 # Create an old-style archive from a shared archive.
14810 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14812 # Create a temporary old-style archive to link instead of a shared archive.
14813 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14815 # Commands used to build and install a shared archive.
14816 archive_cmds=$lt_archive_cmds_F77
14817 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14818 postinstall_cmds=$lt_postinstall_cmds
14819 postuninstall_cmds=$lt_postuninstall_cmds
14821 # Commands used to build a loadable module (assumed same as above if empty)
14822 module_cmds=$lt_module_cmds_F77
14823 module_expsym_cmds=$lt_module_expsym_cmds_F77
14825 # Commands to strip libraries.
14826 old_striplib=$lt_old_striplib
14827 striplib=$lt_striplib
14829 # Dependencies to place before the objects being linked to create a
14831 predep_objects=$lt_predep_objects_F77
14833 # Dependencies to place after the objects being linked to create a
14835 postdep_objects=$lt_postdep_objects_F77
14837 # Dependencies to place before the objects being linked to create a
14839 predeps=$lt_predeps_F77
14841 # Dependencies to place after the objects being linked to create a
14843 postdeps=$lt_postdeps_F77
14845 # The library search path used internally by the compiler when linking
14846 # a shared library.
14847 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14849 # Method to check whether dependent libraries are shared objects.
14850 deplibs_check_method=$lt_deplibs_check_method
14852 # Command to use when deplibs_check_method == file_magic.
14853 file_magic_cmd=$lt_file_magic_cmd
14855 # Flag that allows shared libraries with undefined symbols to be built.
14856 allow_undefined_flag=$lt_allow_undefined_flag_F77
14858 # Flag that forces no undefined symbols.
14859 no_undefined_flag=$lt_no_undefined_flag_F77
14861 # Commands used to finish a libtool library installation in a directory.
14862 finish_cmds=$lt_finish_cmds
14864 # Same as above, but a single script fragment to be evaled but not shown.
14865 finish_eval=$lt_finish_eval
14867 # Take the output of nm and produce a listing of raw symbols and C names.
14868 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14870 # Transform the output of nm in a proper C declaration
14871 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14873 # Transform the output of nm in a C name address pair
14874 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14876 # This is the shared library runtime path variable.
14877 runpath_var=$runpath_var
14879 # This is the shared library path variable.
14880 shlibpath_var=$shlibpath_var
14882 # Is shlibpath searched before the hard-coded library search path?
14883 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14885 # How to hardcode a shared library path into an executable.
14886 hardcode_action=$hardcode_action_F77
14888 # Whether we should hardcode library paths into libraries.
14889 hardcode_into_libs=$hardcode_into_libs
14891 # Flag to hardcode \$libdir into a binary during linking.
14892 # This must work even if \$libdir does not exist.
14893 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14895 # If ld is used when linking, flag to hardcode \$libdir into
14896 # a binary during linking. This must work even if \$libdir does
14898 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14900 # Whether we need a single -rpath flag with a separated argument.
14901 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14903 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14904 # resulting binary.
14905 hardcode_direct=$hardcode_direct_F77
14907 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14908 # resulting binary.
14909 hardcode_minus_L=$hardcode_minus_L_F77
14911 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14912 # the resulting binary.
14913 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14915 # Set to yes if building a shared library automatically hardcodes DIR into the library
14916 # and all subsequent libraries and executables linked against it.
14917 hardcode_automatic=$hardcode_automatic_F77
14919 # Variables whose values should be saved in libtool wrapper scripts and
14920 # restored at relink time.
14921 variables_saved_for_relink="$variables_saved_for_relink"
14923 # Whether libtool must link a program against all its dependency libraries.
14924 link_all_deplibs=$link_all_deplibs_F77
14926 # Compile-time system search path for libraries
14927 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14929 # Run-time system search path for libraries
14930 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14932 # Fix the shell variable \$srcfile for the compiler.
14933 fix_srcfile_path="$fix_srcfile_path_F77"
14935 # Set to yes if exported symbols are required.
14936 always_export_symbols=$always_export_symbols_F77
14938 # The commands to list exported symbols.
14939 export_symbols_cmds=$lt_export_symbols_cmds_F77
14941 # The commands to extract the exported symbol list from a shared archive.
14942 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14944 # Symbols that should not be listed in the preloaded symbols.
14945 exclude_expsyms=$lt_exclude_expsyms_F77
14947 # Symbols that must always be exported.
14948 include_expsyms=$lt_include_expsyms_F77
14950 # ### END LIBTOOL TAG CONFIG: $tagname
14956 # If there is no Makefile yet, we rely on a make rule to execute
14957 # `config.status --recheck' to rerun these tests and create the
14958 # libtool script then.
14959 test -f Makefile && make "$ltmain"
14964 ac_cpp='$CPP $CPPFLAGS'
14965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14977 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14981 # Source file extension for Java test sources.
14984 # Object file extension for compiled Java test sources.
14988 # Code to be used in simple compile tests
14989 lt_simple_compile_test_code="class foo {}\n"
14991 # Code to be used in simple link tests
14992 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
14994 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14996 # If no C compiler was specified, use CC.
14999 # Allow CC to be a program name with arguments.
15003 # Allow CC to be a program name with arguments.
15009 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15010 archive_cmds_need_lc_GCJ=no
15013 ## There is no encapsulation within the following macros, do not change
15014 ## the running order or otherwise move them around unless you know exactly
15015 ## what you are doing...
15017 lt_prog_compiler_no_builtin_flag_GCJ=
15019 if test "$GCC" = yes; then
15020 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15022 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15023 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15024 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15025 echo $ECHO_N "(cached) $ECHO_C" >&6
15027 lt_cv_prog_compiler_rtti_exceptions=no
15028 ac_outfile=conftest.$ac_objext
15029 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15030 lt_compiler_flag="-fno-rtti -fno-exceptions"
15031 # Insert the option either (1) after the last *FLAGS variable, or
15032 # (2) before a word containing "conftest.", or (3) at the end.
15033 # Note that $ac_compile itself does not contain backslashes and begins
15034 # with a dollar sign (not a hyphen), so the echo should work correctly.
15035 # The option is referenced via a variable to avoid confusing sed.
15036 lt_compile=`echo "$ac_compile" | $SED \
15037 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15038 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15039 -e 's:$: $lt_compiler_flag:'`
15040 (eval echo "\"\$as_me:15040: $lt_compile\"" >&5)
15041 (eval "$lt_compile" 2>conftest.err)
15043 cat conftest.err >&5
15044 echo "$as_me:15044: \$? = $ac_status" >&5
15045 if (exit $ac_status) && test -s "$ac_outfile"; then
15046 # The compiler can only warn and ignore the option if not recognized
15047 # So say no if there are warnings
15048 if test ! -s conftest.err; then
15049 lt_cv_prog_compiler_rtti_exceptions=yes
15055 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15056 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15058 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15059 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15066 lt_prog_compiler_wl_GCJ=
15067 lt_prog_compiler_pic_GCJ=
15068 lt_prog_compiler_static_GCJ=
15070 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15071 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15073 if test "$GCC" = yes; then
15074 lt_prog_compiler_wl_GCJ='-Wl,'
15075 lt_prog_compiler_static_GCJ='-static'
15079 # All AIX code is PIC.
15080 if test "$host_cpu" = ia64; then
15081 # AIX 5 now supports IA64 processor
15082 lt_prog_compiler_static_GCJ='-Bstatic'
15087 # FIXME: we need at least 68020 code to build shared libraries, but
15088 # adding the `-m68020' flag to GCC prevents building anything better,
15090 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15093 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15094 # PIC is the default for these OSes.
15097 mingw* | pw32* | os2*)
15098 # This hack is so that the source file can tell whether it is being
15099 # built for inclusion in a dll (and should export symbols for example).
15100 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15103 darwin* | rhapsody*)
15104 # PIC is the default on this platform
15105 # Common symbols not allowed in MH_DYLIB files
15106 lt_prog_compiler_pic_GCJ='-fno-common'
15110 # Just because we use GCC doesn't mean we suddenly get shared libraries
15111 # on systems that don't support them.
15112 lt_prog_compiler_can_build_shared_GCJ=no
15117 if test -d /usr/nec; then
15118 lt_prog_compiler_pic_GCJ=-Kconform_pic
15123 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15124 # not for PA HP-UX.
15125 case "$host_cpu" in
15130 lt_prog_compiler_pic_GCJ='-fPIC'
15136 lt_prog_compiler_pic_GCJ='-fPIC'
15140 # PORTME Check for flag to pass linker flags through the system compiler.
15143 lt_prog_compiler_wl_GCJ='-Wl,'
15144 if test "$host_cpu" = ia64; then
15145 # AIX 5 now supports IA64 processor
15146 lt_prog_compiler_static_GCJ='-Bstatic'
15148 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15152 mingw* | pw32* | os2*)
15153 # This hack is so that the source file can tell whether it is being
15154 # built for inclusion in a dll (and should export symbols for example).
15155 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15158 hpux9* | hpux10* | hpux11*)
15159 lt_prog_compiler_wl_GCJ='-Wl,'
15160 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15161 # not for PA HP-UX.
15162 case "$host_cpu" in
15167 lt_prog_compiler_pic_GCJ='+Z'
15170 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15171 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15174 irix5* | irix6* | nonstopux*)
15175 lt_prog_compiler_wl_GCJ='-Wl,'
15176 # PIC (with -KPIC) is the default.
15177 lt_prog_compiler_static_GCJ='-non_shared'
15181 lt_prog_compiler_pic_GCJ='-KPIC'
15182 lt_prog_compiler_static_GCJ='-Bstatic'
15188 lt_prog_compiler_wl_GCJ='-Wl,'
15189 lt_prog_compiler_pic_GCJ='-KPIC'
15190 lt_prog_compiler_static_GCJ='-static'
15193 lt_prog_compiler_wl_GCJ='-Wl,'
15194 # All Alpha code is PIC.
15195 lt_prog_compiler_static_GCJ='-non_shared'
15200 osf3* | osf4* | osf5*)
15201 lt_prog_compiler_wl_GCJ='-Wl,'
15202 # All OSF/1 code is PIC.
15203 lt_prog_compiler_static_GCJ='-non_shared'
15207 lt_prog_compiler_pic_GCJ='-Kpic'
15208 lt_prog_compiler_static_GCJ='-dn'
15212 lt_prog_compiler_wl_GCJ='-Wl,'
15213 lt_prog_compiler_pic_GCJ='-KPIC'
15214 lt_prog_compiler_static_GCJ='-Bstatic'
15218 lt_prog_compiler_wl_GCJ='-Qoption ld '
15219 lt_prog_compiler_pic_GCJ='-PIC'
15220 lt_prog_compiler_static_GCJ='-Bstatic'
15223 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15224 lt_prog_compiler_wl_GCJ='-Wl,'
15225 lt_prog_compiler_pic_GCJ='-KPIC'
15226 lt_prog_compiler_static_GCJ='-Bstatic'
15230 if test -d /usr/nec ;then
15231 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15232 lt_prog_compiler_static_GCJ='-Bstatic'
15237 lt_prog_compiler_pic_GCJ='-pic'
15238 lt_prog_compiler_static_GCJ='-Bstatic'
15242 lt_prog_compiler_can_build_shared_GCJ=no
15247 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15248 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15251 # Check to make sure the PIC flag actually works.
15253 if test -n "$lt_prog_compiler_pic_GCJ"; then
15254 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15255 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15256 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15259 lt_prog_compiler_pic_works_GCJ=no
15260 ac_outfile=conftest.$ac_objext
15261 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15262 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15263 # Insert the option either (1) after the last *FLAGS variable, or
15264 # (2) before a word containing "conftest.", or (3) at the end.
15265 # Note that $ac_compile itself does not contain backslashes and begins
15266 # with a dollar sign (not a hyphen), so the echo should work correctly.
15267 # The option is referenced via a variable to avoid confusing sed.
15268 lt_compile=`echo "$ac_compile" | $SED \
15269 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15270 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15271 -e 's:$: $lt_compiler_flag:'`
15272 (eval echo "\"\$as_me:15272: $lt_compile\"" >&5)
15273 (eval "$lt_compile" 2>conftest.err)
15275 cat conftest.err >&5
15276 echo "$as_me:15276: \$? = $ac_status" >&5
15277 if (exit $ac_status) && test -s "$ac_outfile"; then
15278 # The compiler can only warn and ignore the option if not recognized
15279 # So say no if there are warnings
15280 if test ! -s conftest.err; then
15281 lt_prog_compiler_pic_works_GCJ=yes
15287 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15288 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15290 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15291 case $lt_prog_compiler_pic_GCJ in
15293 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15296 lt_prog_compiler_pic_GCJ=
15297 lt_prog_compiler_can_build_shared_GCJ=no
15302 # For platforms which do not support PIC, -DPIC is meaningless:
15304 lt_prog_compiler_pic_GCJ=
15307 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15311 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15312 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15313 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15314 echo $ECHO_N "(cached) $ECHO_C" >&6
15316 lt_cv_prog_compiler_c_o_GCJ=no
15317 $rm -r conftest 2>/dev/null
15321 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15323 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15324 # that will create temporary files in the current directory regardless of
15325 # the output directory. Thus, making CWD read-only will cause this test
15326 # to fail, enabling locking or at least warning the user not to do parallel
15330 lt_compiler_flag="-o out/conftest2.$ac_objext"
15331 # Insert the option either (1) after the last *FLAGS variable, or
15332 # (2) before a word containing "conftest.", or (3) at the end.
15333 # Note that $ac_compile itself does not contain backslashes and begins
15334 # with a dollar sign (not a hyphen), so the echo should work correctly.
15335 lt_compile=`echo "$ac_compile" | $SED \
15336 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15337 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15338 -e 's:$: $lt_compiler_flag:'`
15339 (eval echo "\"\$as_me:15339: $lt_compile\"" >&5)
15340 (eval "$lt_compile" 2>out/conftest.err)
15342 cat out/conftest.err >&5
15343 echo "$as_me:15343: \$? = $ac_status" >&5
15344 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15346 # The compiler can only warn and ignore the option if not recognized
15347 # So say no if there are warnings
15348 if test ! -s out/conftest.err; then
15349 lt_cv_prog_compiler_c_o_GCJ=yes
15353 $rm conftest* out/*
15360 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15361 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15364 hard_links="nottested"
15365 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15366 # do not overwrite the value of need_locks provided by the user
15367 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15368 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15371 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15373 ln conftest.a conftest.b 2>&5 || hard_links=no
15374 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15375 echo "$as_me:$LINENO: result: $hard_links" >&5
15376 echo "${ECHO_T}$hard_links" >&6
15377 if test "$hard_links" = no; then
15378 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15379 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15386 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15387 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15390 allow_undefined_flag_GCJ=
15391 enable_shared_with_static_runtimes_GCJ=no
15393 archive_expsym_cmds_GCJ=
15394 old_archive_From_new_cmds_GCJ=
15395 old_archive_from_expsyms_cmds_GCJ=
15396 export_dynamic_flag_spec_GCJ=
15397 whole_archive_flag_spec_GCJ=
15398 thread_safe_flag_spec_GCJ=
15399 hardcode_libdir_flag_spec_GCJ=
15400 hardcode_libdir_flag_spec_ld_GCJ=
15401 hardcode_libdir_separator_GCJ=
15402 hardcode_direct_GCJ=no
15403 hardcode_minus_L_GCJ=no
15404 hardcode_shlibpath_var_GCJ=unsupported
15405 link_all_deplibs_GCJ=unknown
15406 hardcode_automatic_GCJ=no
15408 module_expsym_cmds_GCJ=
15409 always_export_symbols_GCJ=no
15410 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15411 # include_expsyms should be a list of space-separated symbols to be *always*
15412 # included in the symbol list
15413 include_expsyms_GCJ=
15414 # exclude_expsyms can be an extended regexp of symbols to exclude
15415 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15416 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15417 # as well as any symbol that contains `d'.
15418 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15419 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15420 # platforms (ab)use it in PIC code, but their linkers get confused if
15421 # the symbol is explicitly referenced. Since portable code cannot
15422 # rely on this symbol name, it's probably fine to never include it in
15423 # preloaded symbol tables.
15424 extract_expsyms_cmds=
15427 cygwin* | mingw* | pw32*)
15428 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15429 # When not using gcc, we currently assume that we are using
15430 # Microsoft Visual C++.
15431 if test "$GCC" != yes; then
15441 if test "$with_gnu_ld" = yes; then
15442 # If archive_cmds runs LD, not CC, wlarc should be empty
15445 # See if GNU ld supports shared libraries.
15447 aix3* | aix4* | aix5*)
15448 # On AIX/PPC, the GNU linker is very broken
15449 if test "$host_cpu" != ia64; then
15453 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15454 *** to be unable to reliably create shared libraries on AIX.
15455 *** Therefore, libtool is disabling shared libraries support. If you
15456 *** really care for shared libraries, you may want to modify your PATH
15457 *** so that a non-GNU linker is found, and then restart.
15464 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)'
15465 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15466 hardcode_minus_L_GCJ=yes
15468 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15469 # that the semantics of dynamic libraries on AmigaOS, at least up
15470 # to version 4, is to share data among multiple programs linked
15471 # with the same dynamic library. Since this doesn't match the
15472 # behavior of shared libraries on other platforms, we can't use
15478 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15479 allow_undefined_flag_GCJ=unsupported
15480 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15481 # support --undefined. This deserves some investigation. FIXME
15482 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15488 cygwin* | mingw* | pw32*)
15489 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15490 # as there is no search path for DLLs.
15491 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15492 allow_undefined_flag_GCJ=unsupported
15493 always_export_symbols_GCJ=no
15494 enable_shared_with_static_runtimes_GCJ=yes
15495 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15497 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15498 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15499 # If the export-symbols file already is a .def file (1st line
15500 # is EXPORTS), use it as is; otherwise, prepend...
15501 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15502 cp $export_symbols $output_objdir/$soname.def;
15504 echo EXPORTS > $output_objdir/$soname.def;
15505 cat $export_symbols >> $output_objdir/$soname.def;
15507 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15514 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15515 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15518 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15519 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15524 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15528 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15529 *** create shared libraries on Solaris systems. Therefore, libtool
15530 *** is disabling shared libraries support. We urge you to upgrade GNU
15531 *** binutils to release 2.9.1 or newer. Another option is to modify
15532 *** your PATH or compiler configuration so that the native linker is
15533 *** used, and then restart.
15536 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15537 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15538 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15545 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15547 hardcode_direct_GCJ=yes
15548 hardcode_shlibpath_var_GCJ=no
15552 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15553 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15554 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15561 if test "$ld_shlibs_GCJ" = yes; then
15562 runpath_var=LD_RUN_PATH
15563 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15564 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15565 # ancient GNU ld didn't support --whole-archive et. al.
15566 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15567 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15569 whole_archive_flag_spec_GCJ=
15573 # PORTME fill in a description of your system's linker (not GNU ld)
15576 allow_undefined_flag_GCJ=unsupported
15577 always_export_symbols_GCJ=yes
15578 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'
15579 # Note: this linker hardcodes the directories in LIBPATH if there
15580 # are no directories specified by -L.
15581 hardcode_minus_L_GCJ=yes
15582 if test "$GCC" = yes && test -z "$link_static_flag"; then
15583 # Neither direct hardcoding nor static linking is supported with a
15585 hardcode_direct_GCJ=unsupported
15590 if test "$host_cpu" = ia64; then
15591 # On IA64, the linker does run time linking by default, so we don't
15592 # have to do anything special.
15593 aix_use_runtimelinking=no
15594 exp_sym_flag='-Bexport'
15597 # If we're using GNU nm, then we don't want the "-C" option.
15598 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15599 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15600 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'
15602 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'
15604 aix_use_runtimelinking=no
15606 # Test if we are trying to use run time linking or normal
15607 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15608 # need to do runtime linking.
15609 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15610 for ld_flag in $LDFLAGS; do
15611 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15612 aix_use_runtimelinking=yes
15618 exp_sym_flag='-bexport'
15619 no_entry_flag='-bnoentry'
15622 # When large executables or shared objects are built, AIX ld can
15623 # have problems creating the table of contents. If linking a library
15624 # or program results in "error TOC overflow" add -mminimal-toc to
15625 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15626 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15628 archive_cmds_GCJ=''
15629 hardcode_direct_GCJ=yes
15630 hardcode_libdir_separator_GCJ=':'
15631 link_all_deplibs_GCJ=yes
15633 if test "$GCC" = yes; then
15634 case $host_os in aix4.012|aix4.012.*)
15635 # We only want to do this on AIX 4.2 and lower, the check
15636 # below for broken collect2 doesn't work under 4.3+
15637 collect2name=`${CC} -print-prog-name=collect2`
15638 if test -f "$collect2name" && \
15639 strings "$collect2name" | grep resolve_lib_name >/dev/null
15641 # We have reworked collect2
15642 hardcode_direct_GCJ=yes
15644 # We have old collect2
15645 hardcode_direct_GCJ=unsupported
15646 # It fails to find uninstalled libraries when the uninstalled
15647 # path is not listed in the libpath. Setting hardcode_minus_L
15648 # to unsupported forces relinking
15649 hardcode_minus_L_GCJ=yes
15650 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15651 hardcode_libdir_separator_GCJ=
15654 shared_flag='-shared'
15657 if test "$host_cpu" = ia64; then
15658 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15659 # chokes on -Wl,-G. The following line is correct:
15662 if test "$aix_use_runtimelinking" = yes; then
15663 shared_flag='${wl}-G'
15665 shared_flag='${wl}-bM:SRE'
15670 # It seems that -bexpall does not export symbols beginning with
15671 # underscore (_), so it is better to generate a list of symbols to export.
15672 always_export_symbols_GCJ=yes
15673 if test "$aix_use_runtimelinking" = yes; then
15674 # Warning - without using the other runtime loading flags (-brtl),
15675 # -berok will link without error, but may produce a broken library.
15676 allow_undefined_flag_GCJ='-berok'
15677 # Determine the default libpath from the value encoded in an empty executable.
15678 cat >conftest.$ac_ext <<_ACEOF
15679 #line $LINENO "configure"
15682 cat confdefs.h >>conftest.$ac_ext
15683 cat >>conftest.$ac_ext <<_ACEOF
15684 /* end confdefs.h. */
15694 rm -f conftest.$ac_objext conftest$ac_exeext
15695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15696 (eval $ac_link) 2>&5
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); } &&
15700 { ac_try='test -s conftest$ac_exeext'
15701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15702 (eval $ac_try) 2>&5
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); }; }; then
15707 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15709 # Check for a 64-bit object if we didn't find anything.
15710 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; }
15713 echo "$as_me: failed program was:" >&5
15714 sed 's/^/| /' conftest.$ac_ext >&5
15717 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15718 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15720 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15721 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"
15723 if test "$host_cpu" = ia64; then
15724 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15725 allow_undefined_flag_GCJ="-z nodefs"
15726 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"
15728 # Determine the default libpath from the value encoded in an empty executable.
15729 cat >conftest.$ac_ext <<_ACEOF
15730 #line $LINENO "configure"
15733 cat confdefs.h >>conftest.$ac_ext
15734 cat >>conftest.$ac_ext <<_ACEOF
15735 /* end confdefs.h. */
15745 rm -f conftest.$ac_objext conftest$ac_exeext
15746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15747 (eval $ac_link) 2>&5
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); } &&
15751 { ac_try='test -s conftest$ac_exeext'
15752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15753 (eval $ac_try) 2>&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); }; }; then
15758 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15760 # Check for a 64-bit object if we didn't find anything.
15761 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; }
15764 echo "$as_me: failed program was:" >&5
15765 sed 's/^/| /' conftest.$ac_ext >&5
15768 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15769 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15771 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15772 # Warning - without using the other run time loading flags,
15773 # -berok will link without error, but may produce a broken library.
15774 no_undefined_flag_GCJ=' ${wl}-bernotok'
15775 allow_undefined_flag_GCJ=' ${wl}-berok'
15776 # -bexpall does not export symbols beginning with underscore (_)
15777 always_export_symbols_GCJ=yes
15778 # Exported symbols can be pulled into shared objects from archives
15779 whole_archive_flag_spec_GCJ=' '
15780 archive_cmds_need_lc_GCJ=yes
15781 # This is similar to how AIX traditionally builds it's shared libraries.
15782 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'
15788 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)'
15789 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15790 hardcode_minus_L_GCJ=yes
15791 # see comment about different semantics on the GNU ld section
15796 export_dynamic_flag_spec_GCJ=-rdynamic
15799 cygwin* | mingw* | pw32*)
15800 # When not using gcc, we currently assume that we are using
15801 # Microsoft Visual C++.
15802 # hardcode_libdir_flag_spec is actually meaningless, as there is
15803 # no search path for DLLs.
15804 hardcode_libdir_flag_spec_GCJ=' '
15805 allow_undefined_flag_GCJ=unsupported
15806 # Tell ltmain to make .lib files, not .a files.
15808 # Tell ltmain to make .dll files, not .so files.
15810 # FIXME: Setting linknames here is a bad hack.
15811 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15812 # The linker will automatically build a .lib file if we build a DLL.
15813 old_archive_From_new_cmds_GCJ='true'
15814 # FIXME: Should let the user specify the lib program.
15815 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15816 fix_srcfile_path='`cygpath -w "$srcfile"`'
15817 enable_shared_with_static_runtimes_GCJ=yes
15820 darwin* | rhapsody*)
15821 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15822 archive_cmds_need_lc_GCJ=no
15824 rhapsody* | darwin1.[012])
15825 allow_undefined_flag_GCJ='-undefined suppress'
15828 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15831 # FIXME: Relying on posixy $() will cause problems for
15832 # cross-compilation, but unfortunately the echo tests do not
15833 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15834 # `"' quotes if we put them in here... so don't!
15835 lt_int_apple_cc_single_mod=no
15836 output_verbose_link_cmd='echo'
15837 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15838 lt_int_apple_cc_single_mod=yes
15840 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15841 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15843 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'
15845 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15846 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15847 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15848 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}'
15850 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}'
15852 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}'
15853 hardcode_direct_GCJ=no
15854 hardcode_automatic_GCJ=yes
15855 hardcode_shlibpath_var_GCJ=unsupported
15856 whole_archive_flag_spec_GCJ='-all_load $convenience'
15857 link_all_deplibs_GCJ=yes
15862 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15863 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15864 hardcode_shlibpath_var_GCJ=no
15871 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15872 # support. Future versions do this automatically, but an explicit c++rt0.o
15873 # does not break anything, and helps significantly (at the cost of a little
15876 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15877 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15878 hardcode_direct_GCJ=yes
15879 hardcode_shlibpath_var_GCJ=no
15882 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15884 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15885 hardcode_direct_GCJ=yes
15886 hardcode_minus_L_GCJ=yes
15887 hardcode_shlibpath_var_GCJ=no
15890 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15892 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15893 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15894 hardcode_direct_GCJ=yes
15895 hardcode_shlibpath_var_GCJ=no
15899 if test "$GCC" = yes; then
15900 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'
15902 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'
15904 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15905 hardcode_libdir_separator_GCJ=:
15906 hardcode_direct_GCJ=yes
15908 # hardcode_minus_L: Not really in the search PATH,
15909 # but as the default location of the library.
15910 hardcode_minus_L_GCJ=yes
15911 export_dynamic_flag_spec_GCJ='${wl}-E'
15915 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15916 case "$host_cpu" in
15918 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15921 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15925 case "$host_cpu" in
15927 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15930 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15934 if test "$with_gnu_ld" = no; then
15935 case "$host_cpu" in
15937 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15938 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15939 hardcode_libdir_separator_GCJ=:
15940 hardcode_direct_GCJ=no
15941 hardcode_shlibpath_var_GCJ=no
15944 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15945 hardcode_direct_GCJ=no
15946 hardcode_shlibpath_var_GCJ=no
15948 # hardcode_minus_L: Not really in the search PATH,
15949 # but as the default location of the library.
15950 hardcode_minus_L_GCJ=yes
15953 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15954 hardcode_libdir_separator_GCJ=:
15955 hardcode_direct_GCJ=yes
15956 export_dynamic_flag_spec_GCJ='${wl}-E'
15958 # hardcode_minus_L: Not really in the search PATH,
15959 # but as the default location of the library.
15960 hardcode_minus_L_GCJ=yes
15966 irix5* | irix6* | nonstopux*)
15967 if test "$GCC" = yes; then
15968 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'
15970 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'
15971 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15973 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15974 hardcode_libdir_separator_GCJ=:
15975 link_all_deplibs_GCJ=yes
15979 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15980 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15982 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15984 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15985 hardcode_direct_GCJ=yes
15986 hardcode_shlibpath_var_GCJ=no
15990 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15991 hardcode_direct_GCJ=yes
15992 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15993 hardcode_libdir_separator_GCJ=:
15994 hardcode_shlibpath_var_GCJ=no
15998 hardcode_direct_GCJ=yes
15999 hardcode_shlibpath_var_GCJ=no
16000 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16001 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16002 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16003 export_dynamic_flag_spec_GCJ='${wl}-E'
16006 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16007 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16008 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16011 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16012 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16019 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16020 hardcode_minus_L_GCJ=yes
16021 allow_undefined_flag_GCJ=unsupported
16022 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'
16023 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16027 if test "$GCC" = yes; then
16028 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16029 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'
16031 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16032 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'
16034 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16035 hardcode_libdir_separator_GCJ=:
16038 osf4* | osf5*) # as osf3* with the addition of -msym flag
16039 if test "$GCC" = yes; then
16040 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16041 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'
16042 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16044 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16045 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'
16046 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~
16047 $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'
16049 # Both c and cxx compiler support -rpath directly
16050 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16052 hardcode_libdir_separator_GCJ=:
16056 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16057 hardcode_shlibpath_var_GCJ=no
16058 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16059 runpath_var=LD_RUN_PATH
16060 hardcode_runpath_var=yes
16064 no_undefined_flag_GCJ=' -z text'
16065 if test "$GCC" = yes; then
16066 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16067 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16068 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16070 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16071 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16072 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16074 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16075 hardcode_shlibpath_var_GCJ=no
16077 solaris2.[0-5] | solaris2.[0-5].*) ;;
16078 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16079 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16081 link_all_deplibs_GCJ=yes
16085 if test "x$host_vendor" = xsequent; then
16086 # Use $CC to link under sequent, because it throws in some extra .o
16087 # files that make .init and .fini sections work.
16088 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16090 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16092 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16093 hardcode_direct_GCJ=yes
16094 hardcode_minus_L_GCJ=yes
16095 hardcode_shlibpath_var_GCJ=no
16099 case $host_vendor in
16101 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16102 hardcode_direct_GCJ=yes # is this really true???
16105 ## LD is ld it makes a PLAMLIB
16106 ## CC just makes a GrossModule.
16107 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16108 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16109 hardcode_direct_GCJ=no
16112 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16113 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16116 runpath_var='LD_RUN_PATH'
16117 hardcode_shlibpath_var_GCJ=no
16121 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16122 hardcode_shlibpath_var_GCJ=no
16123 export_dynamic_flag_spec_GCJ='-Bexport'
16127 if test -d /usr/nec; then
16128 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16129 hardcode_shlibpath_var_GCJ=no
16130 runpath_var=LD_RUN_PATH
16131 hardcode_runpath_var=yes
16137 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16138 hardcode_direct_GCJ=yes
16139 hardcode_minus_L_GCJ=no
16140 hardcode_shlibpath_var_GCJ=no
16141 hardcode_runpath_var=yes
16142 runpath_var=LD_RUN_PATH
16145 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16146 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16147 if test "$GCC" = yes; then
16148 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16150 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16152 runpath_var='LD_RUN_PATH'
16153 hardcode_shlibpath_var_GCJ=no
16157 no_undefined_flag_GCJ=' -z text'
16158 # $CC -shared without GNU ld will not create a library from C++
16159 # object files and a static libstdc++, better avoid it by now
16160 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16161 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16162 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16163 hardcode_libdir_flag_spec_GCJ=
16164 hardcode_shlibpath_var_GCJ=no
16165 runpath_var='LD_RUN_PATH'
16169 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16170 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16171 hardcode_shlibpath_var_GCJ=no
16180 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16181 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16182 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16184 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16185 if test "$GCC" = yes; then
16186 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16190 # Do we need to explicitly link libc?
16192 case "x$archive_cmds_need_lc_GCJ" in
16194 # Assume -lc should be added
16195 archive_cmds_need_lc_GCJ=yes
16197 if test "$enable_shared" = yes && test "$GCC" = yes; then
16198 case $archive_cmds_GCJ in
16200 # FIXME: we may have to deal with multi-command sequences.
16203 # Test whether the compiler implicitly links with -lc since on some
16204 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16205 # to ld, don't add -lc before -lgcc.
16206 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16207 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16209 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16212 (eval $ac_compile) 2>&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); } 2>conftest.err; then
16218 libobjs=conftest.$ac_objext
16220 wl=$lt_prog_compiler_wl_GCJ
16226 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16227 allow_undefined_flag_GCJ=
16228 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16229 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); }
16234 archive_cmds_need_lc_GCJ=no
16236 archive_cmds_need_lc_GCJ=yes
16238 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16240 cat conftest.err 1>&5
16243 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16244 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16251 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16252 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16253 hardcode_action_GCJ=
16254 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16255 test -n "$runpath_var GCJ" || \
16256 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16258 # We can hardcode non-existant directories.
16259 if test "$hardcode_direct_GCJ" != no &&
16260 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16261 # have to relink, otherwise we might link with an installed library
16262 # when we should be linking with a yet-to-be-installed one
16263 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16264 test "$hardcode_minus_L_GCJ" != no; then
16265 # Linking always hardcodes the temporary library directory.
16266 hardcode_action_GCJ=relink
16268 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16269 hardcode_action_GCJ=immediate
16272 # We cannot hardcode anything, or else we can only hardcode existing
16274 hardcode_action_GCJ=unsupported
16276 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16277 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16279 if test "$hardcode_action_GCJ" = relink; then
16280 # Fast installation is not supported
16281 enable_fast_install=no
16282 elif test "$shlibpath_overrides_runpath" = yes ||
16283 test "$enable_shared" = no; then
16284 # Fast installation is not necessary
16285 enable_fast_install=needless
16290 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16291 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16292 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16293 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16294 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16295 echo "$as_me:$LINENO: result: yes" >&5
16296 echo "${ECHO_T}yes" >&6
16298 # FIXME - insert some real tests, host_os isn't really good enough
16301 if test -n "$STRIP" ; then
16302 striplib="$STRIP -x"
16303 echo "$as_me:$LINENO: result: yes" >&5
16304 echo "${ECHO_T}yes" >&6
16306 echo "$as_me:$LINENO: result: no" >&5
16307 echo "${ECHO_T}no" >&6
16311 echo "$as_me:$LINENO: result: no" >&5
16312 echo "${ECHO_T}no" >&6
16317 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16318 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16319 library_names_spec=
16320 libname_spec='lib$name'
16324 postuninstall_cmds=
16328 shlibpath_overrides_runpath=unknown
16330 dynamic_linker="$host_os ld.so"
16331 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16332 if test "$GCC" = yes; then
16333 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16334 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16335 # if the path contains ";" then we assume it to be the separator
16336 # otherwise default to the standard path separator (i.e. ":") - it is
16337 # assumed that no part of a normal pathname contains ";" but that should
16338 # okay in the real world where ";" in dirpaths is itself problematic.
16339 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16341 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16344 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16346 need_lib_prefix=unknown
16347 hardcode_into_libs=no
16349 # when you set need_version to no, make sure it does not cause -set_version
16350 # flags to be left without arguments
16351 need_version=unknown
16356 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16357 shlibpath_var=LIBPATH
16359 # AIX 3 has no versioning support, so we append a major version to the name.
16360 soname_spec='${libname}${release}${shared_ext}$major'
16367 hardcode_into_libs=yes
16368 if test "$host_cpu" = ia64; then
16369 # AIX 5 supports IA64
16370 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16371 shlibpath_var=LD_LIBRARY_PATH
16373 # With GCC up to 2.95.x, collect2 would create an import file
16374 # for dependence libraries. The import file would start with
16375 # the line `#! .'. This would cause the generated library to
16376 # depend on `.', always an invalid library. This was fixed in
16377 # development snapshots of GCC prior to 3.0.
16379 aix4 | aix4.[01] | aix4.[01].*)
16380 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16382 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16385 can_build_shared=no
16389 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16390 # soname into executable. Probably we can add versioning support to
16391 # collect2, so additional links can be useful in future.
16392 if test "$aix_use_runtimelinking" = yes; then
16393 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16394 # instead of lib<name>.a to let people know that these are not
16395 # typical AIX shared libraries.
16396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16398 # We preserve .a as extension for shared libraries through AIX4.2
16399 # and later when we are not doing run time linking.
16400 library_names_spec='${libname}${release}.a $libname.a'
16401 soname_spec='${libname}${release}${shared_ext}$major'
16403 shlibpath_var=LIBPATH
16408 library_names_spec='$libname.ixlibrary $libname.a'
16409 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16410 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'
16414 library_names_spec='${libname}${shared_ext}'
16415 dynamic_linker="$host_os ld.so"
16416 shlibpath_var=LIBRARY_PATH
16422 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16423 soname_spec='${libname}${release}${shared_ext}$major'
16424 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16425 shlibpath_var=LD_LIBRARY_PATH
16426 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16427 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16428 # the default ld.so.conf also contains /usr/contrib/lib and
16429 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16430 # libtool to hard-code these into programs
16433 cygwin* | mingw* | pw32*)
16434 version_type=windows
16439 case $GCC,$host_os in
16440 yes,cygwin* | yes,mingw* | yes,pw32*)
16441 library_names_spec='$libname.dll.a'
16442 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16443 postinstall_cmds='base_file=`basename \${file}`~
16444 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16445 dldir=$destdir/`dirname \$dlpath`~
16446 test -d \$dldir || mkdir -p \$dldir~
16447 $install_prog $dir/$dlname \$dldir/$dlname'
16448 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16449 dlpath=$dir/\$dldll~
16451 shlibpath_overrides_runpath=yes
16455 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16456 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16457 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16460 # MinGW DLLs use traditional 'lib' prefix
16461 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16462 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16463 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16464 # It is most probably a Windows format PATH printed by
16465 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16466 # path with ; separators, and with drive letters. We can handle the
16467 # drive letters (cygwin fileutils understands them), so leave them,
16468 # especially as we might pass files found there to a mingw objdump,
16469 # which wouldn't understand a cygwinified path. Ahh.
16470 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16472 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16476 # pw32 DLLs use 'pw' prefix rather than 'lib'
16477 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16483 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16486 dynamic_linker='Win32 ld.exe'
16487 # FIXME: first we should search . and the directory the executable is in
16491 darwin* | rhapsody*)
16492 dynamic_linker="$host_os dyld"
16493 version_type=darwin
16496 # FIXME: Relying on posixy $() will cause problems for
16497 # cross-compilation, but unfortunately the echo tests do not
16498 # yet detect zsh echo's removal of \ escapes.
16499 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16500 soname_spec='${libname}${release}${major}$shared_ext'
16501 shlibpath_overrides_runpath=yes
16502 shlibpath_var=DYLD_LIBRARY_PATH
16503 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16504 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16505 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16506 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"`
16508 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16516 soname_spec='${libname}${release}${shared_ext}$major'
16517 shlibpath_var=LD_LIBRARY_PATH
16525 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16526 version_type=freebsd-$objformat
16527 case $version_type in
16529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16534 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16538 shlibpath_var=LD_LIBRARY_PATH
16541 shlibpath_overrides_runpath=yes
16543 freebsd3.01* | freebsdelf3.01*)
16544 shlibpath_overrides_runpath=yes
16545 hardcode_into_libs=yes
16548 shlibpath_overrides_runpath=no
16549 hardcode_into_libs=yes
16558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16559 soname_spec='${libname}${release}${shared_ext}$major'
16560 shlibpath_var=LD_LIBRARY_PATH
16561 hardcode_into_libs=yes
16564 hpux9* | hpux10* | hpux11*)
16565 # Give a soname corresponding to the major version so that dld.sl refuses to
16566 # link against other versions.
16570 case "$host_cpu" in
16573 hardcode_into_libs=yes
16574 dynamic_linker="$host_os dld.so"
16575 shlibpath_var=LD_LIBRARY_PATH
16576 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16578 soname_spec='${libname}${release}${shared_ext}$major'
16579 if test "X$HPUX_IA64_MODE" = X32; then
16580 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16582 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16584 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16588 hardcode_into_libs=yes
16589 dynamic_linker="$host_os dld.sl"
16590 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16591 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16593 soname_spec='${libname}${release}${shared_ext}$major'
16594 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16595 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16599 dynamic_linker="$host_os dld.sl"
16600 shlibpath_var=SHLIB_PATH
16601 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16603 soname_spec='${libname}${release}${shared_ext}$major'
16606 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16607 postinstall_cmds='chmod 555 $lib'
16610 irix5* | irix6* | nonstopux*)
16612 nonstopux*) version_type=nonstopux ;;
16614 if test "$lt_cv_prog_gnu_ld" = yes; then
16622 soname_spec='${libname}${release}${shared_ext}$major'
16623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16625 irix5* | nonstopux*)
16626 libsuff= shlibsuff=
16629 case $LD in # libtool.m4 will add one of these switches to LD
16630 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16631 libsuff= shlibsuff= libmagic=32-bit;;
16632 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16633 libsuff=32 shlibsuff=N32 libmagic=N32;;
16634 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16635 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16636 *) libsuff= shlibsuff= libmagic=never-match;;
16640 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16641 shlibpath_overrides_runpath=no
16642 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16643 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16644 hardcode_into_libs=yes
16647 # No shared lib support for Linux oldld, aout, or coff.
16648 linux*oldld* | linux*aout* | linux*coff*)
16652 # This must be Linux ELF.
16657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16658 soname_spec='${libname}${release}${shared_ext}$major'
16659 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16660 shlibpath_var=LD_LIBRARY_PATH
16661 shlibpath_overrides_runpath=no
16662 # This implies no fast_install, which is unacceptable.
16663 # Some rework will be needed to allow for fast_install
16664 # before this can be enabled.
16665 hardcode_into_libs=yes
16667 # We used to test for /lib/ld.so.1 and disable shared libraries on
16668 # powerpc, because MkLinux only supported shared libraries with the
16669 # GNU dynamic linker. Since this was broken with cross compilers,
16670 # most powerpc-linux boxes support dynamic linking these days and
16671 # people can always --disable-shared, the test was removed, and we
16672 # assume the GNU/Linux dynamic linker is in use.
16673 dynamic_linker='GNU/Linux ld.so'
16680 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16682 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16683 dynamic_linker='NetBSD (a.out) ld.so'
16685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16686 soname_spec='${libname}${release}${shared_ext}$major'
16687 dynamic_linker='NetBSD ld.elf_so'
16689 shlibpath_var=LD_LIBRARY_PATH
16690 shlibpath_overrides_runpath=yes
16691 hardcode_into_libs=yes
16696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16697 shlibpath_var=LD_LIBRARY_PATH
16698 shlibpath_overrides_runpath=yes
16705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16706 soname_spec='${libname}${release}${shared_ext}$major'
16707 shlibpath_var=LD_LIBRARY_PATH
16708 shlibpath_overrides_runpath=yes
16715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16716 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16717 shlibpath_var=LD_LIBRARY_PATH
16718 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16720 openbsd2.[89] | openbsd2.[89].*)
16721 shlibpath_overrides_runpath=no
16724 shlibpath_overrides_runpath=yes
16728 shlibpath_overrides_runpath=yes
16733 libname_spec='$name'
16736 library_names_spec='$libname${shared_ext} $libname.a'
16737 dynamic_linker='OS/2 ld.exe'
16738 shlibpath_var=LIBPATH
16741 osf3* | osf4* | osf5*)
16745 soname_spec='${libname}${release}${shared_ext}$major'
16746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16747 shlibpath_var=LD_LIBRARY_PATH
16748 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16749 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16754 soname_spec='${libname}${release}${shared_ext}$major'
16755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16756 shlibpath_var=LD_LIBRARY_PATH
16763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16764 soname_spec='${libname}${release}${shared_ext}$major'
16765 shlibpath_var=LD_LIBRARY_PATH
16766 shlibpath_overrides_runpath=yes
16767 hardcode_into_libs=yes
16768 # ldd complains unless libraries are executable
16769 postinstall_cmds='chmod +x $lib'
16774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16775 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16776 shlibpath_var=LD_LIBRARY_PATH
16777 shlibpath_overrides_runpath=yes
16778 if test "$with_gnu_ld" = yes; then
16784 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16787 soname_spec='${libname}${release}${shared_ext}$major'
16788 shlibpath_var=LD_LIBRARY_PATH
16789 case $host_vendor in
16791 shlibpath_overrides_runpath=no
16793 export_dynamic_flag_spec='${wl}-Blargedynsym'
16794 runpath_var=LD_RUN_PATH
16802 shlibpath_overrides_runpath=no
16803 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16809 if test -d /usr/nec ;then
16811 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16812 soname_spec='$libname${shared_ext}.$major'
16813 shlibpath_var=LD_LIBRARY_PATH
16819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16820 soname_spec='${libname}${release}${shared_ext}$major'
16821 shlibpath_var=LD_LIBRARY_PATH
16828 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16829 echo "${ECHO_T}$dynamic_linker" >&6
16830 test "$dynamic_linker" = no && can_build_shared=no
16832 if test "x$enable_dlopen" != xyes; then
16833 enable_dlopen=unknown
16834 enable_dlopen_self=unknown
16835 enable_dlopen_self_static=unknown
16842 lt_cv_dlopen="load_add_on"
16844 lt_cv_dlopen_self=yes
16848 lt_cv_dlopen="LoadLibrary"
16853 lt_cv_dlopen="dlopen"
16858 # if libdl is installed we need to link against it
16859 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16860 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16861 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16862 echo $ECHO_N "(cached) $ECHO_C" >&6
16864 ac_check_lib_save_LIBS=$LIBS
16866 cat >conftest.$ac_ext <<_ACEOF
16867 #line $LINENO "configure"
16870 cat confdefs.h >>conftest.$ac_ext
16871 cat >>conftest.$ac_ext <<_ACEOF
16872 /* end confdefs.h. */
16874 /* Override any gcc2 internal prototype to avoid an error. */
16878 /* We use char because int might match the return type of a gcc2
16879 builtin and then its argument prototype would still apply. */
16889 rm -f conftest.$ac_objext conftest$ac_exeext
16890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16891 (eval $ac_link) 2>&5
16893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894 (exit $ac_status); } &&
16895 { ac_try='test -s conftest$ac_exeext'
16896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16897 (eval $ac_try) 2>&5
16899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16900 (exit $ac_status); }; }; then
16901 ac_cv_lib_dl_dlopen=yes
16903 echo "$as_me: failed program was:" >&5
16904 sed 's/^/| /' conftest.$ac_ext >&5
16906 ac_cv_lib_dl_dlopen=no
16908 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16909 LIBS=$ac_check_lib_save_LIBS
16911 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16912 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16913 if test $ac_cv_lib_dl_dlopen = yes; then
16914 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16917 lt_cv_dlopen="dyld"
16919 lt_cv_dlopen_self=yes
16926 echo "$as_me:$LINENO: checking for shl_load" >&5
16927 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16928 if test "${ac_cv_func_shl_load+set}" = set; then
16929 echo $ECHO_N "(cached) $ECHO_C" >&6
16931 cat >conftest.$ac_ext <<_ACEOF
16932 #line $LINENO "configure"
16935 cat confdefs.h >>conftest.$ac_ext
16936 cat >>conftest.$ac_ext <<_ACEOF
16937 /* end confdefs.h. */
16938 /* System header to define __stub macros and hopefully few prototypes,
16939 which can conflict with char shl_load (); below.
16940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16941 <limits.h> exists even on freestanding compilers. */
16943 # include <limits.h>
16945 # include <assert.h>
16947 /* Override any gcc2 internal prototype to avoid an error. */
16952 /* We use char because int might match the return type of a gcc2
16953 builtin and then its argument prototype would still apply. */
16955 /* The GNU C library defines this for functions which it implements
16956 to always fail with ENOSYS. Some functions are actually named
16957 something starting with __ and the normal name is an alias. */
16958 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16961 char (*f) () = shl_load;
16970 return f != shl_load;
16975 rm -f conftest.$ac_objext conftest$ac_exeext
16976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16977 (eval $ac_link) 2>&5
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); } &&
16981 { ac_try='test -s conftest$ac_exeext'
16982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16983 (eval $ac_try) 2>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); }; }; then
16987 ac_cv_func_shl_load=yes
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.$ac_ext >&5
16992 ac_cv_func_shl_load=no
16994 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16996 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16997 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
16998 if test $ac_cv_func_shl_load = yes; then
16999 lt_cv_dlopen="shl_load"
17001 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17002 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17003 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17004 echo $ECHO_N "(cached) $ECHO_C" >&6
17006 ac_check_lib_save_LIBS=$LIBS
17008 cat >conftest.$ac_ext <<_ACEOF
17009 #line $LINENO "configure"
17012 cat confdefs.h >>conftest.$ac_ext
17013 cat >>conftest.$ac_ext <<_ACEOF
17014 /* end confdefs.h. */
17016 /* Override any gcc2 internal prototype to avoid an error. */
17020 /* We use char because int might match the return type of a gcc2
17021 builtin and then its argument prototype would still apply. */
17031 rm -f conftest.$ac_objext conftest$ac_exeext
17032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17033 (eval $ac_link) 2>&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); } &&
17037 { ac_try='test -s conftest$ac_exeext'
17038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17039 (eval $ac_try) 2>&5
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); }; }; then
17043 ac_cv_lib_dld_shl_load=yes
17045 echo "$as_me: failed program was:" >&5
17046 sed 's/^/| /' conftest.$ac_ext >&5
17048 ac_cv_lib_dld_shl_load=no
17050 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17051 LIBS=$ac_check_lib_save_LIBS
17053 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17054 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17055 if test $ac_cv_lib_dld_shl_load = yes; then
17056 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17058 echo "$as_me:$LINENO: checking for dlopen" >&5
17059 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17060 if test "${ac_cv_func_dlopen+set}" = set; then
17061 echo $ECHO_N "(cached) $ECHO_C" >&6
17063 cat >conftest.$ac_ext <<_ACEOF
17064 #line $LINENO "configure"
17067 cat confdefs.h >>conftest.$ac_ext
17068 cat >>conftest.$ac_ext <<_ACEOF
17069 /* end confdefs.h. */
17070 /* System header to define __stub macros and hopefully few prototypes,
17071 which can conflict with char dlopen (); below.
17072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17073 <limits.h> exists even on freestanding compilers. */
17075 # include <limits.h>
17077 # include <assert.h>
17079 /* Override any gcc2 internal prototype to avoid an error. */
17084 /* We use char because int might match the return type of a gcc2
17085 builtin and then its argument prototype would still apply. */
17087 /* The GNU C library defines this for functions which it implements
17088 to always fail with ENOSYS. Some functions are actually named
17089 something starting with __ and the normal name is an alias. */
17090 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17093 char (*f) () = dlopen;
17102 return f != dlopen;
17107 rm -f conftest.$ac_objext conftest$ac_exeext
17108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17109 (eval $ac_link) 2>&5
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); } &&
17113 { ac_try='test -s conftest$ac_exeext'
17114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17115 (eval $ac_try) 2>&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); }; }; then
17119 ac_cv_func_dlopen=yes
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.$ac_ext >&5
17124 ac_cv_func_dlopen=no
17126 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17128 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17129 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17130 if test $ac_cv_func_dlopen = yes; then
17131 lt_cv_dlopen="dlopen"
17133 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17134 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17135 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17136 echo $ECHO_N "(cached) $ECHO_C" >&6
17138 ac_check_lib_save_LIBS=$LIBS
17140 cat >conftest.$ac_ext <<_ACEOF
17141 #line $LINENO "configure"
17144 cat confdefs.h >>conftest.$ac_ext
17145 cat >>conftest.$ac_ext <<_ACEOF
17146 /* end confdefs.h. */
17148 /* Override any gcc2 internal prototype to avoid an error. */
17152 /* We use char because int might match the return type of a gcc2
17153 builtin and then its argument prototype would still apply. */
17163 rm -f conftest.$ac_objext conftest$ac_exeext
17164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17165 (eval $ac_link) 2>&5
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); } &&
17169 { ac_try='test -s conftest$ac_exeext'
17170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17171 (eval $ac_try) 2>&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); }; }; then
17175 ac_cv_lib_dl_dlopen=yes
17177 echo "$as_me: failed program was:" >&5
17178 sed 's/^/| /' conftest.$ac_ext >&5
17180 ac_cv_lib_dl_dlopen=no
17182 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17183 LIBS=$ac_check_lib_save_LIBS
17185 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17186 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17187 if test $ac_cv_lib_dl_dlopen = yes; then
17188 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17190 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17191 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17192 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17193 echo $ECHO_N "(cached) $ECHO_C" >&6
17195 ac_check_lib_save_LIBS=$LIBS
17196 LIBS="-lsvld $LIBS"
17197 cat >conftest.$ac_ext <<_ACEOF
17198 #line $LINENO "configure"
17201 cat confdefs.h >>conftest.$ac_ext
17202 cat >>conftest.$ac_ext <<_ACEOF
17203 /* end confdefs.h. */
17205 /* Override any gcc2 internal prototype to avoid an error. */
17209 /* We use char because int might match the return type of a gcc2
17210 builtin and then its argument prototype would still apply. */
17220 rm -f conftest.$ac_objext conftest$ac_exeext
17221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17222 (eval $ac_link) 2>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); } &&
17226 { ac_try='test -s conftest$ac_exeext'
17227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17228 (eval $ac_try) 2>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); }; }; then
17232 ac_cv_lib_svld_dlopen=yes
17234 echo "$as_me: failed program was:" >&5
17235 sed 's/^/| /' conftest.$ac_ext >&5
17237 ac_cv_lib_svld_dlopen=no
17239 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17240 LIBS=$ac_check_lib_save_LIBS
17242 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17243 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17244 if test $ac_cv_lib_svld_dlopen = yes; then
17245 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17247 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17248 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17249 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17250 echo $ECHO_N "(cached) $ECHO_C" >&6
17252 ac_check_lib_save_LIBS=$LIBS
17254 cat >conftest.$ac_ext <<_ACEOF
17255 #line $LINENO "configure"
17258 cat confdefs.h >>conftest.$ac_ext
17259 cat >>conftest.$ac_ext <<_ACEOF
17260 /* end confdefs.h. */
17262 /* Override any gcc2 internal prototype to avoid an error. */
17266 /* We use char because int might match the return type of a gcc2
17267 builtin and then its argument prototype would still apply. */
17277 rm -f conftest.$ac_objext conftest$ac_exeext
17278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17279 (eval $ac_link) 2>&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); } &&
17283 { ac_try='test -s conftest$ac_exeext'
17284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17285 (eval $ac_try) 2>&5
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); }; }; then
17289 ac_cv_lib_dld_dld_link=yes
17291 echo "$as_me: failed program was:" >&5
17292 sed 's/^/| /' conftest.$ac_ext >&5
17294 ac_cv_lib_dld_dld_link=no
17296 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17297 LIBS=$ac_check_lib_save_LIBS
17299 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17300 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17301 if test $ac_cv_lib_dld_dld_link = yes; then
17302 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17323 if test "x$lt_cv_dlopen" != xno; then
17329 case $lt_cv_dlopen in
17331 save_CPPFLAGS="$CPPFLAGS"
17332 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17334 save_LDFLAGS="$LDFLAGS"
17335 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17338 LIBS="$lt_cv_dlopen_libs $LIBS"
17340 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17341 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17342 if test "${lt_cv_dlopen_self+set}" = set; then
17343 echo $ECHO_N "(cached) $ECHO_C" >&6
17345 if test "$cross_compiling" = yes; then :
17346 lt_cv_dlopen_self=cross
17348 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17349 lt_status=$lt_dlunknown
17350 cat > conftest.$ac_ext <<EOF
17351 #line 17351 "configure"
17352 #include "confdefs.h"
17361 # define LT_DLGLOBAL RTLD_GLOBAL
17364 # define LT_DLGLOBAL DL_GLOBAL
17366 # define LT_DLGLOBAL 0
17370 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17371 find out it does not work in some platform. */
17372 #ifndef LT_DLLAZY_OR_NOW
17374 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17377 # define LT_DLLAZY_OR_NOW DL_LAZY
17380 # define LT_DLLAZY_OR_NOW RTLD_NOW
17383 # define LT_DLLAZY_OR_NOW DL_NOW
17385 # define LT_DLLAZY_OR_NOW 0
17393 extern "C" void exit (int);
17396 void fnord() { int i=42;}
17399 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17400 int status = $lt_dlunknown;
17404 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17405 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17406 /* dlclose (self); */
17412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17413 (eval $ac_link) 2>&5
17415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17416 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17417 (./conftest; exit; ) 2>/dev/null
17419 case x$lt_status in
17420 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17421 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17422 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17425 # compilation failed
17426 lt_cv_dlopen_self=no
17433 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17434 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17436 if test "x$lt_cv_dlopen_self" = xyes; then
17437 LDFLAGS="$LDFLAGS $link_static_flag"
17438 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17439 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17440 if test "${lt_cv_dlopen_self_static+set}" = set; then
17441 echo $ECHO_N "(cached) $ECHO_C" >&6
17443 if test "$cross_compiling" = yes; then :
17444 lt_cv_dlopen_self_static=cross
17446 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17447 lt_status=$lt_dlunknown
17448 cat > conftest.$ac_ext <<EOF
17449 #line 17449 "configure"
17450 #include "confdefs.h"
17459 # define LT_DLGLOBAL RTLD_GLOBAL
17462 # define LT_DLGLOBAL DL_GLOBAL
17464 # define LT_DLGLOBAL 0
17468 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17469 find out it does not work in some platform. */
17470 #ifndef LT_DLLAZY_OR_NOW
17472 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17475 # define LT_DLLAZY_OR_NOW DL_LAZY
17478 # define LT_DLLAZY_OR_NOW RTLD_NOW
17481 # define LT_DLLAZY_OR_NOW DL_NOW
17483 # define LT_DLLAZY_OR_NOW 0
17491 extern "C" void exit (int);
17494 void fnord() { int i=42;}
17497 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17498 int status = $lt_dlunknown;
17502 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17503 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17504 /* dlclose (self); */
17510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17511 (eval $ac_link) 2>&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17515 (./conftest; exit; ) 2>/dev/null
17517 case x$lt_status in
17518 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17519 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17520 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17523 # compilation failed
17524 lt_cv_dlopen_self_static=no
17531 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17532 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17535 CPPFLAGS="$save_CPPFLAGS"
17536 LDFLAGS="$save_LDFLAGS"
17541 case $lt_cv_dlopen_self in
17542 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17543 *) enable_dlopen_self=unknown ;;
17546 case $lt_cv_dlopen_self_static in
17547 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17548 *) enable_dlopen_self_static=unknown ;;
17553 # The else clause should only fire when bootstrapping the
17554 # libtool distribution, otherwise you forgot to ship ltmain.sh
17555 # with your package, and you will get complaints that there are
17556 # no rules to generate ltmain.sh.
17557 if test -f "$ltmain"; then
17558 # See if we are running on zsh, and set the options which allow our commands through
17559 # without removal of \ escapes.
17560 if test -n "${ZSH_VERSION+set}" ; then
17561 setopt NO_GLOB_SUBST
17563 # Now quote all the things that may contain metacharacters while being
17564 # careful not to overquote the AC_SUBSTed values. We take copies of the
17565 # variables and quote the copies for generation of the libtool script.
17566 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17567 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17568 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17569 deplibs_check_method reload_flag reload_cmds need_locks \
17570 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17571 lt_cv_sys_global_symbol_to_c_name_address \
17572 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17573 old_postinstall_cmds old_postuninstall_cmds \
17577 lt_prog_compiler_wl_GCJ \
17578 lt_prog_compiler_pic_GCJ \
17579 lt_prog_compiler_static_GCJ \
17580 lt_prog_compiler_no_builtin_flag_GCJ \
17581 export_dynamic_flag_spec_GCJ \
17582 thread_safe_flag_spec_GCJ \
17583 whole_archive_flag_spec_GCJ \
17584 enable_shared_with_static_runtimes_GCJ \
17585 old_archive_cmds_GCJ \
17586 old_archive_from_new_cmds_GCJ \
17587 predep_objects_GCJ \
17588 postdep_objects_GCJ \
17591 compiler_lib_search_path_GCJ \
17593 archive_expsym_cmds_GCJ \
17594 postinstall_cmds_GCJ \
17595 postuninstall_cmds_GCJ \
17596 old_archive_from_expsyms_cmds_GCJ \
17597 allow_undefined_flag_GCJ \
17598 no_undefined_flag_GCJ \
17599 export_symbols_cmds_GCJ \
17600 hardcode_libdir_flag_spec_GCJ \
17601 hardcode_libdir_flag_spec_ld_GCJ \
17602 hardcode_libdir_separator_GCJ \
17603 hardcode_automatic_GCJ \
17605 module_expsym_cmds_GCJ \
17606 lt_cv_prog_compiler_c_o_GCJ \
17607 exclude_expsyms_GCJ \
17608 include_expsyms_GCJ; do
17611 old_archive_cmds_GCJ | \
17612 old_archive_from_new_cmds_GCJ | \
17613 archive_cmds_GCJ | \
17614 archive_expsym_cmds_GCJ | \
17615 module_cmds_GCJ | \
17616 module_expsym_cmds_GCJ | \
17617 old_archive_from_expsyms_cmds_GCJ | \
17618 export_symbols_cmds_GCJ | \
17619 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17620 postinstall_cmds | postuninstall_cmds | \
17621 old_postinstall_cmds | old_postuninstall_cmds | \
17622 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17623 # Double-quote double-evaled strings.
17624 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17627 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17633 *'\$0 --fallback-echo"')
17634 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17640 cat <<__EOF__ >> "$cfgfile"
17641 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17643 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17645 # Shell to use when invoking shell scripts.
17648 # Whether or not to build shared libraries.
17649 build_libtool_libs=$enable_shared
17651 # Whether or not to build static libraries.
17652 build_old_libs=$enable_static
17654 # Whether or not to add -lc for building shared libraries.
17655 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17657 # Whether or not to disallow shared libs when runtime libs are static
17658 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17660 # Whether or not to optimize for fast installation.
17661 fast_install=$enable_fast_install
17664 host_alias=$host_alias
17667 # An echo program that does not interpret backslashes.
17672 AR_FLAGS=$lt_AR_FLAGS
17677 # A language-specific compiler.
17678 CC=$lt_compiler_GCJ
17680 # Is the compiler the GNU C compiler?
17686 # The linker used to build libraries.
17689 # Whether we need hard or soft links.
17692 # A BSD-compatible nm program.
17695 # A symbol stripping program
17698 # Used to examine libraries when file_magic_cmd begins "file"
17699 MAGIC_CMD=$MAGIC_CMD
17701 # Used on cygwin: DLL creation program.
17704 # Used on cygwin: object dumper.
17707 # Used on cygwin: assembler.
17710 # The name of the directory that contains temporary libtool files.
17713 # How to create reloadable object files.
17714 reload_flag=$lt_reload_flag
17715 reload_cmds=$lt_reload_cmds
17717 # How to pass a linker flag through the compiler.
17718 wl=$lt_lt_prog_compiler_wl_GCJ
17720 # Object file suffix (normally "o").
17721 objext="$ac_objext"
17723 # Old archive suffix (normally "a").
17726 # Shared library suffix (normally ".so").
17729 # Executable file suffix (normally "").
17732 # Additional compiler flags for building library objects.
17733 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17736 # What is the maximum length of a command?
17737 max_cmd_len=$lt_cv_sys_max_cmd_len
17739 # Does compiler simultaneously support -c and -o options?
17740 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17742 # Must we lock files when doing compilation ?
17743 need_locks=$lt_need_locks
17745 # Do we need the lib prefix for modules?
17746 need_lib_prefix=$need_lib_prefix
17748 # Do we need a version for libraries?
17749 need_version=$need_version
17751 # Whether dlopen is supported.
17752 dlopen_support=$enable_dlopen
17754 # Whether dlopen of programs is supported.
17755 dlopen_self=$enable_dlopen_self
17757 # Whether dlopen of statically linked programs is supported.
17758 dlopen_self_static=$enable_dlopen_self_static
17760 # Compiler flag to prevent dynamic linking.
17761 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17763 # Compiler flag to turn off builtin functions.
17764 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17766 # Compiler flag to allow reflexive dlopens.
17767 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17769 # Compiler flag to generate shared objects directly from archives.
17770 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17772 # Compiler flag to generate thread-safe objects.
17773 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17775 # Library versioning type.
17776 version_type=$version_type
17778 # Format of library name prefix.
17779 libname_spec=$lt_libname_spec
17781 # List of archive names. First name is the real one, the rest are links.
17782 # The last name is the one that the linker finds with -lNAME.
17783 library_names_spec=$lt_library_names_spec
17785 # The coded name of the library, if different from the real name.
17786 soname_spec=$lt_soname_spec
17788 # Commands used to build and install an old-style archive.
17790 old_archive_cmds=$lt_old_archive_cmds_GCJ
17791 old_postinstall_cmds=$lt_old_postinstall_cmds
17792 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17794 # Create an old-style archive from a shared archive.
17795 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17797 # Create a temporary old-style archive to link instead of a shared archive.
17798 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17800 # Commands used to build and install a shared archive.
17801 archive_cmds=$lt_archive_cmds_GCJ
17802 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17803 postinstall_cmds=$lt_postinstall_cmds
17804 postuninstall_cmds=$lt_postuninstall_cmds
17806 # Commands used to build a loadable module (assumed same as above if empty)
17807 module_cmds=$lt_module_cmds_GCJ
17808 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17810 # Commands to strip libraries.
17811 old_striplib=$lt_old_striplib
17812 striplib=$lt_striplib
17814 # Dependencies to place before the objects being linked to create a
17816 predep_objects=$lt_predep_objects_GCJ
17818 # Dependencies to place after the objects being linked to create a
17820 postdep_objects=$lt_postdep_objects_GCJ
17822 # Dependencies to place before the objects being linked to create a
17824 predeps=$lt_predeps_GCJ
17826 # Dependencies to place after the objects being linked to create a
17828 postdeps=$lt_postdeps_GCJ
17830 # The library search path used internally by the compiler when linking
17831 # a shared library.
17832 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17834 # Method to check whether dependent libraries are shared objects.
17835 deplibs_check_method=$lt_deplibs_check_method
17837 # Command to use when deplibs_check_method == file_magic.
17838 file_magic_cmd=$lt_file_magic_cmd
17840 # Flag that allows shared libraries with undefined symbols to be built.
17841 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17843 # Flag that forces no undefined symbols.
17844 no_undefined_flag=$lt_no_undefined_flag_GCJ
17846 # Commands used to finish a libtool library installation in a directory.
17847 finish_cmds=$lt_finish_cmds
17849 # Same as above, but a single script fragment to be evaled but not shown.
17850 finish_eval=$lt_finish_eval
17852 # Take the output of nm and produce a listing of raw symbols and C names.
17853 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17855 # Transform the output of nm in a proper C declaration
17856 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17858 # Transform the output of nm in a C name address pair
17859 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17861 # This is the shared library runtime path variable.
17862 runpath_var=$runpath_var
17864 # This is the shared library path variable.
17865 shlibpath_var=$shlibpath_var
17867 # Is shlibpath searched before the hard-coded library search path?
17868 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17870 # How to hardcode a shared library path into an executable.
17871 hardcode_action=$hardcode_action_GCJ
17873 # Whether we should hardcode library paths into libraries.
17874 hardcode_into_libs=$hardcode_into_libs
17876 # Flag to hardcode \$libdir into a binary during linking.
17877 # This must work even if \$libdir does not exist.
17878 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17880 # If ld is used when linking, flag to hardcode \$libdir into
17881 # a binary during linking. This must work even if \$libdir does
17883 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17885 # Whether we need a single -rpath flag with a separated argument.
17886 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17888 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17889 # resulting binary.
17890 hardcode_direct=$hardcode_direct_GCJ
17892 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17893 # resulting binary.
17894 hardcode_minus_L=$hardcode_minus_L_GCJ
17896 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17897 # the resulting binary.
17898 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17900 # Set to yes if building a shared library automatically hardcodes DIR into the library
17901 # and all subsequent libraries and executables linked against it.
17902 hardcode_automatic=$hardcode_automatic_GCJ
17904 # Variables whose values should be saved in libtool wrapper scripts and
17905 # restored at relink time.
17906 variables_saved_for_relink="$variables_saved_for_relink"
17908 # Whether libtool must link a program against all its dependency libraries.
17909 link_all_deplibs=$link_all_deplibs_GCJ
17911 # Compile-time system search path for libraries
17912 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17914 # Run-time system search path for libraries
17915 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17917 # Fix the shell variable \$srcfile for the compiler.
17918 fix_srcfile_path="$fix_srcfile_path_GCJ"
17920 # Set to yes if exported symbols are required.
17921 always_export_symbols=$always_export_symbols_GCJ
17923 # The commands to list exported symbols.
17924 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17926 # The commands to extract the exported symbol list from a shared archive.
17927 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17929 # Symbols that should not be listed in the preloaded symbols.
17930 exclude_expsyms=$lt_exclude_expsyms_GCJ
17932 # Symbols that must always be exported.
17933 include_expsyms=$lt_include_expsyms_GCJ
17935 # ### END LIBTOOL TAG CONFIG: $tagname
17941 # If there is no Makefile yet, we rely on a make rule to execute
17942 # `config.status --recheck' to rerun these tests and create the
17943 # libtool script then.
17944 test -f Makefile && make "$ltmain"
17949 ac_cpp='$CPP $CPPFLAGS'
17950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17965 # Source file extension for RC test sources.
17968 # Object file extension for compiled RC test sources.
17972 # Code to be used in simple compile tests
17973 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17975 # Code to be used in simple link tests
17976 lt_simple_link_test_code="$lt_simple_compile_test_code"
17978 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17980 # If no C compiler was specified, use CC.
17983 # Allow CC to be a program name with arguments.
17987 # Allow CC to be a program name with arguments.
17992 lt_cv_prog_compiler_c_o_RC=yes
17994 # The else clause should only fire when bootstrapping the
17995 # libtool distribution, otherwise you forgot to ship ltmain.sh
17996 # with your package, and you will get complaints that there are
17997 # no rules to generate ltmain.sh.
17998 if test -f "$ltmain"; then
17999 # See if we are running on zsh, and set the options which allow our commands through
18000 # without removal of \ escapes.
18001 if test -n "${ZSH_VERSION+set}" ; then
18002 setopt NO_GLOB_SUBST
18004 # Now quote all the things that may contain metacharacters while being
18005 # careful not to overquote the AC_SUBSTed values. We take copies of the
18006 # variables and quote the copies for generation of the libtool script.
18007 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18008 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18009 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18010 deplibs_check_method reload_flag reload_cmds need_locks \
18011 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18012 lt_cv_sys_global_symbol_to_c_name_address \
18013 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18014 old_postinstall_cmds old_postuninstall_cmds \
18018 lt_prog_compiler_wl_RC \
18019 lt_prog_compiler_pic_RC \
18020 lt_prog_compiler_static_RC \
18021 lt_prog_compiler_no_builtin_flag_RC \
18022 export_dynamic_flag_spec_RC \
18023 thread_safe_flag_spec_RC \
18024 whole_archive_flag_spec_RC \
18025 enable_shared_with_static_runtimes_RC \
18026 old_archive_cmds_RC \
18027 old_archive_from_new_cmds_RC \
18028 predep_objects_RC \
18029 postdep_objects_RC \
18032 compiler_lib_search_path_RC \
18034 archive_expsym_cmds_RC \
18035 postinstall_cmds_RC \
18036 postuninstall_cmds_RC \
18037 old_archive_from_expsyms_cmds_RC \
18038 allow_undefined_flag_RC \
18039 no_undefined_flag_RC \
18040 export_symbols_cmds_RC \
18041 hardcode_libdir_flag_spec_RC \
18042 hardcode_libdir_flag_spec_ld_RC \
18043 hardcode_libdir_separator_RC \
18044 hardcode_automatic_RC \
18046 module_expsym_cmds_RC \
18047 lt_cv_prog_compiler_c_o_RC \
18048 exclude_expsyms_RC \
18049 include_expsyms_RC; do
18052 old_archive_cmds_RC | \
18053 old_archive_from_new_cmds_RC | \
18054 archive_cmds_RC | \
18055 archive_expsym_cmds_RC | \
18057 module_expsym_cmds_RC | \
18058 old_archive_from_expsyms_cmds_RC | \
18059 export_symbols_cmds_RC | \
18060 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18061 postinstall_cmds | postuninstall_cmds | \
18062 old_postinstall_cmds | old_postuninstall_cmds | \
18063 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18064 # Double-quote double-evaled strings.
18065 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18068 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18074 *'\$0 --fallback-echo"')
18075 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18081 cat <<__EOF__ >> "$cfgfile"
18082 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18084 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18086 # Shell to use when invoking shell scripts.
18089 # Whether or not to build shared libraries.
18090 build_libtool_libs=$enable_shared
18092 # Whether or not to build static libraries.
18093 build_old_libs=$enable_static
18095 # Whether or not to add -lc for building shared libraries.
18096 build_libtool_need_lc=$archive_cmds_need_lc_RC
18098 # Whether or not to disallow shared libs when runtime libs are static
18099 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18101 # Whether or not to optimize for fast installation.
18102 fast_install=$enable_fast_install
18105 host_alias=$host_alias
18108 # An echo program that does not interpret backslashes.
18113 AR_FLAGS=$lt_AR_FLAGS
18118 # A language-specific compiler.
18121 # Is the compiler the GNU C compiler?
18127 # The linker used to build libraries.
18130 # Whether we need hard or soft links.
18133 # A BSD-compatible nm program.
18136 # A symbol stripping program
18139 # Used to examine libraries when file_magic_cmd begins "file"
18140 MAGIC_CMD=$MAGIC_CMD
18142 # Used on cygwin: DLL creation program.
18145 # Used on cygwin: object dumper.
18148 # Used on cygwin: assembler.
18151 # The name of the directory that contains temporary libtool files.
18154 # How to create reloadable object files.
18155 reload_flag=$lt_reload_flag
18156 reload_cmds=$lt_reload_cmds
18158 # How to pass a linker flag through the compiler.
18159 wl=$lt_lt_prog_compiler_wl_RC
18161 # Object file suffix (normally "o").
18162 objext="$ac_objext"
18164 # Old archive suffix (normally "a").
18167 # Shared library suffix (normally ".so").
18170 # Executable file suffix (normally "").
18173 # Additional compiler flags for building library objects.
18174 pic_flag=$lt_lt_prog_compiler_pic_RC
18177 # What is the maximum length of a command?
18178 max_cmd_len=$lt_cv_sys_max_cmd_len
18180 # Does compiler simultaneously support -c and -o options?
18181 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18183 # Must we lock files when doing compilation ?
18184 need_locks=$lt_need_locks
18186 # Do we need the lib prefix for modules?
18187 need_lib_prefix=$need_lib_prefix
18189 # Do we need a version for libraries?
18190 need_version=$need_version
18192 # Whether dlopen is supported.
18193 dlopen_support=$enable_dlopen
18195 # Whether dlopen of programs is supported.
18196 dlopen_self=$enable_dlopen_self
18198 # Whether dlopen of statically linked programs is supported.
18199 dlopen_self_static=$enable_dlopen_self_static
18201 # Compiler flag to prevent dynamic linking.
18202 link_static_flag=$lt_lt_prog_compiler_static_RC
18204 # Compiler flag to turn off builtin functions.
18205 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18207 # Compiler flag to allow reflexive dlopens.
18208 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18210 # Compiler flag to generate shared objects directly from archives.
18211 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18213 # Compiler flag to generate thread-safe objects.
18214 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18216 # Library versioning type.
18217 version_type=$version_type
18219 # Format of library name prefix.
18220 libname_spec=$lt_libname_spec
18222 # List of archive names. First name is the real one, the rest are links.
18223 # The last name is the one that the linker finds with -lNAME.
18224 library_names_spec=$lt_library_names_spec
18226 # The coded name of the library, if different from the real name.
18227 soname_spec=$lt_soname_spec
18229 # Commands used to build and install an old-style archive.
18231 old_archive_cmds=$lt_old_archive_cmds_RC
18232 old_postinstall_cmds=$lt_old_postinstall_cmds
18233 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18235 # Create an old-style archive from a shared archive.
18236 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18238 # Create a temporary old-style archive to link instead of a shared archive.
18239 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18241 # Commands used to build and install a shared archive.
18242 archive_cmds=$lt_archive_cmds_RC
18243 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18244 postinstall_cmds=$lt_postinstall_cmds
18245 postuninstall_cmds=$lt_postuninstall_cmds
18247 # Commands used to build a loadable module (assumed same as above if empty)
18248 module_cmds=$lt_module_cmds_RC
18249 module_expsym_cmds=$lt_module_expsym_cmds_RC
18251 # Commands to strip libraries.
18252 old_striplib=$lt_old_striplib
18253 striplib=$lt_striplib
18255 # Dependencies to place before the objects being linked to create a
18257 predep_objects=$lt_predep_objects_RC
18259 # Dependencies to place after the objects being linked to create a
18261 postdep_objects=$lt_postdep_objects_RC
18263 # Dependencies to place before the objects being linked to create a
18265 predeps=$lt_predeps_RC
18267 # Dependencies to place after the objects being linked to create a
18269 postdeps=$lt_postdeps_RC
18271 # The library search path used internally by the compiler when linking
18272 # a shared library.
18273 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18275 # Method to check whether dependent libraries are shared objects.
18276 deplibs_check_method=$lt_deplibs_check_method
18278 # Command to use when deplibs_check_method == file_magic.
18279 file_magic_cmd=$lt_file_magic_cmd
18281 # Flag that allows shared libraries with undefined symbols to be built.
18282 allow_undefined_flag=$lt_allow_undefined_flag_RC
18284 # Flag that forces no undefined symbols.
18285 no_undefined_flag=$lt_no_undefined_flag_RC
18287 # Commands used to finish a libtool library installation in a directory.
18288 finish_cmds=$lt_finish_cmds
18290 # Same as above, but a single script fragment to be evaled but not shown.
18291 finish_eval=$lt_finish_eval
18293 # Take the output of nm and produce a listing of raw symbols and C names.
18294 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18296 # Transform the output of nm in a proper C declaration
18297 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18299 # Transform the output of nm in a C name address pair
18300 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18302 # This is the shared library runtime path variable.
18303 runpath_var=$runpath_var
18305 # This is the shared library path variable.
18306 shlibpath_var=$shlibpath_var
18308 # Is shlibpath searched before the hard-coded library search path?
18309 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18311 # How to hardcode a shared library path into an executable.
18312 hardcode_action=$hardcode_action_RC
18314 # Whether we should hardcode library paths into libraries.
18315 hardcode_into_libs=$hardcode_into_libs
18317 # Flag to hardcode \$libdir into a binary during linking.
18318 # This must work even if \$libdir does not exist.
18319 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18321 # If ld is used when linking, flag to hardcode \$libdir into
18322 # a binary during linking. This must work even if \$libdir does
18324 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18326 # Whether we need a single -rpath flag with a separated argument.
18327 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18329 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18330 # resulting binary.
18331 hardcode_direct=$hardcode_direct_RC
18333 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18334 # resulting binary.
18335 hardcode_minus_L=$hardcode_minus_L_RC
18337 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18338 # the resulting binary.
18339 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18341 # Set to yes if building a shared library automatically hardcodes DIR into the library
18342 # and all subsequent libraries and executables linked against it.
18343 hardcode_automatic=$hardcode_automatic_RC
18345 # Variables whose values should be saved in libtool wrapper scripts and
18346 # restored at relink time.
18347 variables_saved_for_relink="$variables_saved_for_relink"
18349 # Whether libtool must link a program against all its dependency libraries.
18350 link_all_deplibs=$link_all_deplibs_RC
18352 # Compile-time system search path for libraries
18353 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18355 # Run-time system search path for libraries
18356 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18358 # Fix the shell variable \$srcfile for the compiler.
18359 fix_srcfile_path="$fix_srcfile_path_RC"
18361 # Set to yes if exported symbols are required.
18362 always_export_symbols=$always_export_symbols_RC
18364 # The commands to list exported symbols.
18365 export_symbols_cmds=$lt_export_symbols_cmds_RC
18367 # The commands to extract the exported symbol list from a shared archive.
18368 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18370 # Symbols that should not be listed in the preloaded symbols.
18371 exclude_expsyms=$lt_exclude_expsyms_RC
18373 # Symbols that must always be exported.
18374 include_expsyms=$lt_include_expsyms_RC
18376 # ### END LIBTOOL TAG CONFIG: $tagname
18382 # If there is no Makefile yet, we rely on a make rule to execute
18383 # `config.status --recheck' to rerun these tests and create the
18384 # libtool script then.
18385 test -f Makefile && make "$ltmain"
18390 ac_cpp='$CPP $CPPFLAGS'
18391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18400 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18401 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18402 { (exit 1); exit 1; }; }
18406 # Append the new tag name to the list of available tags.
18407 if test -n "$tagname" ; then
18408 available_tags="$available_tags $tagname"
18414 # Now substitute the updated list of available tags.
18415 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18416 mv "${ofile}T" "$ofile"
18420 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18421 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18422 { (exit 1); exit 1; }; }
18428 # This can be used to rebuild libtool when needed
18429 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18431 # Always use our own libtool.
18432 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18434 # Prevent multiple expansion
18456 # Extract the first word of "pwd", so it can be a program name with args.
18457 set dummy pwd; ac_word=$2
18458 echo "$as_me:$LINENO: checking for $ac_word" >&5
18459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18460 if test "${ac_cv_path_RPWD+set}" = set; then
18461 echo $ECHO_N "(cached) $ECHO_C" >&6
18465 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18469 for as_dir in $PATH
18472 test -z "$as_dir" && as_dir=.
18473 for ac_exec_ext in '' $ac_executable_extensions; do
18474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18475 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18482 test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false"
18486 RPWD=$ac_cv_path_RPWD
18488 if test -n "$RPWD"; then
18489 echo "$as_me:$LINENO: result: $RPWD" >&5
18490 echo "${ECHO_T}$RPWD" >&6
18492 echo "$as_me:$LINENO: result: no" >&5
18493 echo "${ECHO_T}no" >&6
18496 if test ${RPWD} = "false"
18498 { { echo "$as_me:$LINENO: error: pwd required but not found" >&5
18499 echo "$as_me: error: pwd required but not found" >&2;}
18500 { (exit 1); exit 1; }; }
18503 # Extract the first word of "ar", so it can be a program name with args.
18504 set dummy ar; ac_word=$2
18505 echo "$as_me:$LINENO: checking for $ac_word" >&5
18506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18507 if test "${ac_cv_path_AR+set}" = set; then
18508 echo $ECHO_N "(cached) $ECHO_C" >&6
18512 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18516 for as_dir in $PATH
18519 test -z "$as_dir" && as_dir=.
18520 for ac_exec_ext in '' $ac_executable_extensions; do
18521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18522 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18529 test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
18535 if test -n "$AR"; then
18536 echo "$as_me:$LINENO: result: $AR" >&5
18537 echo "${ECHO_T}$AR" >&6
18539 echo "$as_me:$LINENO: result: no" >&5
18540 echo "${ECHO_T}no" >&6
18543 if test ${AR} = "false"
18545 { { echo "$as_me:$LINENO: error: ar required but not found" >&5
18546 echo "$as_me: error: ar required but not found" >&2;}
18547 { (exit 1); exit 1; }; }
18550 # Extract the first word of "sed", so it can be a program name with args.
18551 set dummy sed; ac_word=$2
18552 echo "$as_me:$LINENO: checking for $ac_word" >&5
18553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18554 if test "${ac_cv_path_SED+set}" = set; then
18555 echo $ECHO_N "(cached) $ECHO_C" >&6
18559 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18563 for as_dir in $PATH
18566 test -z "$as_dir" && as_dir=.
18567 for ac_exec_ext in '' $ac_executable_extensions; do
18568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18569 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18576 test -z "$ac_cv_path_SED" && ac_cv_path_SED="false"
18580 SED=$ac_cv_path_SED
18582 if test -n "$SED"; then
18583 echo "$as_me:$LINENO: result: $SED" >&5
18584 echo "${ECHO_T}$SED" >&6
18586 echo "$as_me:$LINENO: result: no" >&5
18587 echo "${ECHO_T}no" >&6
18590 if test ${SED} = "false"
18592 { { echo "$as_me:$LINENO: error: sed required but not found" >&5
18593 echo "$as_me: error: sed required but not found" >&2;}
18594 { (exit 1); exit 1; }; }
18597 # Extract the first word of "rm", so it can be a program name with args.
18598 set dummy rm; ac_word=$2
18599 echo "$as_me:$LINENO: checking for $ac_word" >&5
18600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18601 if test "${ac_cv_path_RM+set}" = set; then
18602 echo $ECHO_N "(cached) $ECHO_C" >&6
18606 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18610 for as_dir in $PATH
18613 test -z "$as_dir" && as_dir=.
18614 for ac_exec_ext in '' $ac_executable_extensions; do
18615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18616 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18623 test -z "$ac_cv_path_RM" && ac_cv_path_RM="false"
18629 if test -n "$RM"; then
18630 echo "$as_me:$LINENO: result: $RM" >&5
18631 echo "${ECHO_T}$RM" >&6
18633 echo "$as_me:$LINENO: result: no" >&5
18634 echo "${ECHO_T}no" >&6
18637 if test ${RM} = "false"
18639 { { echo "$as_me:$LINENO: error: rm required but not found" >&5
18640 echo "$as_me: error: rm required but not found" >&2;}
18641 { (exit 1); exit 1; }; }
18644 # Extract the first word of "echo", so it can be a program name with args.
18645 set dummy echo; ac_word=$2
18646 echo "$as_me:$LINENO: checking for $ac_word" >&5
18647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18648 if test "${ac_cv_path_ECHO+set}" = set; then
18649 echo $ECHO_N "(cached) $ECHO_C" >&6
18653 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18657 for as_dir in $PATH
18660 test -z "$as_dir" && as_dir=.
18661 for ac_exec_ext in '' $ac_executable_extensions; do
18662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18663 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18670 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false"
18674 ECHO=$ac_cv_path_ECHO
18676 if test -n "$ECHO"; then
18677 echo "$as_me:$LINENO: result: $ECHO" >&5
18678 echo "${ECHO_T}$ECHO" >&6
18680 echo "$as_me:$LINENO: result: no" >&5
18681 echo "${ECHO_T}no" >&6
18684 if test ${ECHO} = "false"
18686 { { echo "$as_me:$LINENO: error: echo required but not found" >&5
18687 echo "$as_me: error: echo required but not found" >&2;}
18688 { (exit 1); exit 1; }; }
18691 # Extract the first word of "mkdir", so it can be a program name with args.
18692 set dummy mkdir; ac_word=$2
18693 echo "$as_me:$LINENO: checking for $ac_word" >&5
18694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18695 if test "${ac_cv_path_MKDIR+set}" = set; then
18696 echo $ECHO_N "(cached) $ECHO_C" >&6
18700 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18704 for as_dir in $PATH
18707 test -z "$as_dir" && as_dir=.
18708 for ac_exec_ext in '' $ac_executable_extensions; do
18709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18710 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18717 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false"
18721 MKDIR=$ac_cv_path_MKDIR
18723 if test -n "$MKDIR"; then
18724 echo "$as_me:$LINENO: result: $MKDIR" >&5
18725 echo "${ECHO_T}$MKDIR" >&6
18727 echo "$as_me:$LINENO: result: no" >&5
18728 echo "${ECHO_T}no" >&6
18731 if test ${MKDIR} = "false"
18733 { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5
18734 echo "$as_me: error: mkdir required but not found" >&2;}
18735 { (exit 1); exit 1; }; }
18738 # Extract the first word of "date", so it can be a program name with args.
18739 set dummy date; ac_word=$2
18740 echo "$as_me:$LINENO: checking for $ac_word" >&5
18741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18742 if test "${ac_cv_path_DATE+set}" = set; then
18743 echo $ECHO_N "(cached) $ECHO_C" >&6
18747 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18751 for as_dir in $PATH
18754 test -z "$as_dir" && as_dir=.
18755 for ac_exec_ext in '' $ac_executable_extensions; do
18756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18757 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18764 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false"
18768 DATE=$ac_cv_path_DATE
18770 if test -n "$DATE"; then
18771 echo "$as_me:$LINENO: result: $DATE" >&5
18772 echo "${ECHO_T}$DATE" >&6
18774 echo "$as_me:$LINENO: result: no" >&5
18775 echo "${ECHO_T}no" >&6
18778 if test ${DATE} = "false"
18780 { { echo "$as_me:$LINENO: error: date required but not found" >&5
18781 echo "$as_me: error: date required but not found" >&2;}
18782 { (exit 1); exit 1; }; }
18785 # Extract the first word of "mv", so it can be a program name with args.
18786 set dummy mv; ac_word=$2
18787 echo "$as_me:$LINENO: checking for $ac_word" >&5
18788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18789 if test "${ac_cv_path_MV+set}" = set; then
18790 echo $ECHO_N "(cached) $ECHO_C" >&6
18794 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18798 for as_dir in $PATH
18801 test -z "$as_dir" && as_dir=.
18802 for ac_exec_ext in '' $ac_executable_extensions; do
18803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18804 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18811 test -z "$ac_cv_path_MV" && ac_cv_path_MV="false"
18817 if test -n "$MV"; then
18818 echo "$as_me:$LINENO: result: $MV" >&5
18819 echo "${ECHO_T}$MV" >&6
18821 echo "$as_me:$LINENO: result: no" >&5
18822 echo "${ECHO_T}no" >&6
18825 if test ${MV} = "false"
18827 { { echo "$as_me:$LINENO: error: mv required but not found" >&5
18828 echo "$as_me: error: mv required but not found" >&2;}
18829 { (exit 1); exit 1; }; }
18832 # Extract the first word of "dot", so it can be a program name with args.
18833 set dummy dot; ac_word=$2
18834 echo "$as_me:$LINENO: checking for $ac_word" >&5
18835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18836 if test "${ac_cv_path_DOT+set}" = set; then
18837 echo $ECHO_N "(cached) $ECHO_C" >&6
18841 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18845 for as_dir in $PATH
18848 test -z "$as_dir" && as_dir=.
18849 for ac_exec_ext in '' $ac_executable_extensions; do
18850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18851 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18858 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
18862 DOT=$ac_cv_path_DOT
18864 if test -n "$DOT"; then
18865 echo "$as_me:$LINENO: result: $DOT" >&5
18866 echo "${ECHO_T}$DOT" >&6
18868 echo "$as_me:$LINENO: result: no" >&5
18869 echo "${ECHO_T}no" >&6
18873 # Extract the first word of "etags", so it can be a program name with args.
18874 set dummy etags; ac_word=$2
18875 echo "$as_me:$LINENO: checking for $ac_word" >&5
18876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18877 if test "${ac_cv_path_ETAGS+set}" = set; then
18878 echo $ECHO_N "(cached) $ECHO_C" >&6
18882 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18886 for as_dir in $PATH
18889 test -z "$as_dir" && as_dir=.
18890 for ac_exec_ext in '' $ac_executable_extensions; do
18891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18892 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18899 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false"
18903 ETAGS=$ac_cv_path_ETAGS
18905 if test -n "$ETAGS"; then
18906 echo "$as_me:$LINENO: result: $ETAGS" >&5
18907 echo "${ECHO_T}$ETAGS" >&6
18909 echo "$as_me:$LINENO: result: no" >&5
18910 echo "${ECHO_T}no" >&6
18914 # Extract the first word of "python", so it can be a program name with args.
18915 set dummy python; ac_word=$2
18916 echo "$as_me:$LINENO: checking for $ac_word" >&5
18917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18918 if test "${ac_cv_path_PYTHON+set}" = set; then
18919 echo $ECHO_N "(cached) $ECHO_C" >&6
18923 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18927 for as_dir in $PATH
18930 test -z "$as_dir" && as_dir=.
18931 for ac_exec_ext in '' $ac_executable_extensions; do
18932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18933 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18940 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false"
18944 PYTHON=$ac_cv_path_PYTHON
18946 if test -n "$PYTHON"; then
18947 echo "$as_me:$LINENO: result: $PYTHON" >&5
18948 echo "${ECHO_T}$PYTHON" >&6
18950 echo "$as_me:$LINENO: result: no" >&5
18951 echo "${ECHO_T}no" >&6
18954 if test ${PYTHON} = "false"
18956 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
18957 echo "$as_me: WARNING: python required but not found" >&2;}
18960 # Extract the first word of "qmtest", so it can be a program name with args.
18961 set dummy qmtest; ac_word=$2
18962 echo "$as_me:$LINENO: checking for $ac_word" >&5
18963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18964 if test "${ac_cv_path_QMTEST+set}" = set; then
18965 echo $ECHO_N "(cached) $ECHO_C" >&6
18969 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18973 for as_dir in $PATH
18976 test -z "$as_dir" && as_dir=.
18977 for ac_exec_ext in '' $ac_executable_extensions; do
18978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18979 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
18980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18986 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false"
18990 QMTEST=$ac_cv_path_QMTEST
18992 if test -n "$QMTEST"; then
18993 echo "$as_me:$LINENO: result: $QMTEST" >&5
18994 echo "${ECHO_T}$QMTEST" >&6
18996 echo "$as_me:$LINENO: result: no" >&5
18997 echo "${ECHO_T}no" >&6
19000 if test ${QMTEST} = "false"
19002 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19003 echo "$as_me: WARNING: qmtest required but not found" >&2;}
19006 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
19007 pymajor=`echo $pyversion | cut -d. -f1`
19008 pyminor=`echo $pyversion | cut -d. -f2`
19010 if test "$pymajor" -ge "2"
19012 if test "$pymajor" -eq "2"
19014 if test "$pyminor" -lt "2"
19016 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19017 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19018 { (exit 1); exit 1; }; }
19022 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19023 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19024 { (exit 1); exit 1; }; }
19031 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
19032 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
19033 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
19034 echo $ECHO_N "(cached) $ECHO_C" >&6
19036 ac_check_lib_save_LIBS=$LIBS
19038 cat >conftest.$ac_ext <<_ACEOF
19039 #line $LINENO "configure"
19042 cat confdefs.h >>conftest.$ac_ext
19043 cat >>conftest.$ac_ext <<_ACEOF
19044 /* end confdefs.h. */
19046 /* Override any gcc2 internal prototype to avoid an error. */
19050 /* We use char because int might match the return type of a gcc2
19051 builtin and then its argument prototype would still apply. */
19061 rm -f conftest.$ac_objext conftest$ac_exeext
19062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19063 (eval $ac_link) 2>&5
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); } &&
19067 { ac_try='test -s conftest$ac_exeext'
19068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19069 (eval $ac_try) 2>&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); }; }; then
19073 ac_cv_lib_elf_elf_begin=yes
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.$ac_ext >&5
19078 ac_cv_lib_elf_elf_begin=no
19080 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19081 LIBS=$ac_check_lib_save_LIBS
19083 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19084 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19085 if test $ac_cv_lib_elf_elf_begin = yes; then
19086 cat >>confdefs.h <<_ACEOF
19087 #define HAVE_LIBELF 1
19095 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19096 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19097 if test "${ac_cv_search_dlopen+set}" = set; then
19098 echo $ECHO_N "(cached) $ECHO_C" >&6
19100 ac_func_search_save_LIBS=$LIBS
19101 ac_cv_search_dlopen=no
19102 cat >conftest.$ac_ext <<_ACEOF
19103 #line $LINENO "configure"
19106 cat confdefs.h >>conftest.$ac_ext
19107 cat >>conftest.$ac_ext <<_ACEOF
19108 /* end confdefs.h. */
19110 /* Override any gcc2 internal prototype to avoid an error. */
19114 /* We use char because int might match the return type of a gcc2
19115 builtin and then its argument prototype would still apply. */
19125 rm -f conftest.$ac_objext conftest$ac_exeext
19126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19127 (eval $ac_link) 2>&5
19129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19130 (exit $ac_status); } &&
19131 { ac_try='test -s conftest$ac_exeext'
19132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19133 (eval $ac_try) 2>&5
19135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136 (exit $ac_status); }; }; then
19137 ac_cv_search_dlopen="none required"
19139 echo "$as_me: failed program was:" >&5
19140 sed 's/^/| /' conftest.$ac_ext >&5
19143 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19144 if test "$ac_cv_search_dlopen" = no; then
19145 for ac_lib in dl; do
19146 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19147 cat >conftest.$ac_ext <<_ACEOF
19148 #line $LINENO "configure"
19151 cat confdefs.h >>conftest.$ac_ext
19152 cat >>conftest.$ac_ext <<_ACEOF
19153 /* end confdefs.h. */
19155 /* Override any gcc2 internal prototype to avoid an error. */
19159 /* We use char because int might match the return type of a gcc2
19160 builtin and then its argument prototype would still apply. */
19170 rm -f conftest.$ac_objext conftest$ac_exeext
19171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19172 (eval $ac_link) 2>&5
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); } &&
19176 { ac_try='test -s conftest$ac_exeext'
19177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19178 (eval $ac_try) 2>&5
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); }; }; then
19182 ac_cv_search_dlopen="-l$ac_lib"
19185 echo "$as_me: failed program was:" >&5
19186 sed 's/^/| /' conftest.$ac_ext >&5
19189 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19192 LIBS=$ac_func_search_save_LIBS
19194 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19195 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19196 if test "$ac_cv_search_dlopen" != no; then
19197 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19199 cat >>confdefs.h <<\_ACEOF
19200 #define HAVE_DLOPEN 1
19204 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
19205 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
19209 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19210 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19211 if test "${ac_cv_search_mallinfo+set}" = set; then
19212 echo $ECHO_N "(cached) $ECHO_C" >&6
19214 ac_func_search_save_LIBS=$LIBS
19215 ac_cv_search_mallinfo=no
19216 cat >conftest.$ac_ext <<_ACEOF
19217 #line $LINENO "configure"
19220 cat confdefs.h >>conftest.$ac_ext
19221 cat >>conftest.$ac_ext <<_ACEOF
19222 /* end confdefs.h. */
19224 /* Override any gcc2 internal prototype to avoid an error. */
19228 /* We use char because int might match the return type of a gcc2
19229 builtin and then its argument prototype would still apply. */
19239 rm -f conftest.$ac_objext conftest$ac_exeext
19240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19241 (eval $ac_link) 2>&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); } &&
19245 { ac_try='test -s conftest$ac_exeext'
19246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19247 (eval $ac_try) 2>&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); }; }; then
19251 ac_cv_search_mallinfo="none required"
19253 echo "$as_me: failed program was:" >&5
19254 sed 's/^/| /' conftest.$ac_ext >&5
19257 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19258 if test "$ac_cv_search_mallinfo" = no; then
19259 for ac_lib in malloc; do
19260 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19261 cat >conftest.$ac_ext <<_ACEOF
19262 #line $LINENO "configure"
19265 cat confdefs.h >>conftest.$ac_ext
19266 cat >>conftest.$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19269 /* Override any gcc2 internal prototype to avoid an error. */
19273 /* We use char because int might match the return type of a gcc2
19274 builtin and then its argument prototype would still apply. */
19284 rm -f conftest.$ac_objext conftest$ac_exeext
19285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19286 (eval $ac_link) 2>&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); } &&
19290 { ac_try='test -s conftest$ac_exeext'
19291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19292 (eval $ac_try) 2>&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); }; }; then
19296 ac_cv_search_mallinfo="-l$ac_lib"
19299 echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.$ac_ext >&5
19303 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19306 LIBS=$ac_func_search_save_LIBS
19308 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19309 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19310 if test "$ac_cv_search_mallinfo" != no; then
19311 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19313 cat >>confdefs.h <<\_ACEOF
19314 #define HAVE_MALLINFO 1
19321 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19322 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19323 if test "${ac_cv_header_stdc+set}" = set; then
19324 echo $ECHO_N "(cached) $ECHO_C" >&6
19326 cat >conftest.$ac_ext <<_ACEOF
19327 #line $LINENO "configure"
19330 cat confdefs.h >>conftest.$ac_ext
19331 cat >>conftest.$ac_ext <<_ACEOF
19332 /* end confdefs.h. */
19333 #include <stdlib.h>
19334 #include <stdarg.h>
19335 #include <string.h>
19346 rm -f conftest.$ac_objext
19347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19348 (eval $ac_compile) 2>&5
19350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19351 (exit $ac_status); } &&
19352 { ac_try='test -s conftest.$ac_objext'
19353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19354 (eval $ac_try) 2>&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); }; }; then
19358 ac_cv_header_stdc=yes
19360 echo "$as_me: failed program was:" >&5
19361 sed 's/^/| /' conftest.$ac_ext >&5
19363 ac_cv_header_stdc=no
19365 rm -f conftest.$ac_objext conftest.$ac_ext
19367 if test $ac_cv_header_stdc = yes; then
19368 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19369 cat >conftest.$ac_ext <<_ACEOF
19370 #line $LINENO "configure"
19373 cat confdefs.h >>conftest.$ac_ext
19374 cat >>conftest.$ac_ext <<_ACEOF
19375 /* end confdefs.h. */
19376 #include <string.h>
19379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19380 $EGREP "memchr" >/dev/null 2>&1; then
19383 ac_cv_header_stdc=no
19389 if test $ac_cv_header_stdc = yes; then
19390 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19391 cat >conftest.$ac_ext <<_ACEOF
19392 #line $LINENO "configure"
19395 cat confdefs.h >>conftest.$ac_ext
19396 cat >>conftest.$ac_ext <<_ACEOF
19397 /* end confdefs.h. */
19398 #include <stdlib.h>
19401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19402 $EGREP "free" >/dev/null 2>&1; then
19405 ac_cv_header_stdc=no
19411 if test $ac_cv_header_stdc = yes; then
19412 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19413 if test "$cross_compiling" = yes; then
19416 cat >conftest.$ac_ext <<_ACEOF
19417 #line $LINENO "configure"
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19424 #if ((' ' & 0x0FF) == 0x020)
19425 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19426 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19428 # define ISLOWER(c) \
19429 (('a' <= (c) && (c) <= 'i') \
19430 || ('j' <= (c) && (c) <= 'r') \
19431 || ('s' <= (c) && (c) <= 'z'))
19432 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19435 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19440 for (i = 0; i < 256; i++)
19441 if (XOR (islower (i), ISLOWER (i))
19442 || toupper (i) != TOUPPER (i))
19447 rm -f conftest$ac_exeext
19448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19449 (eval $ac_link) 2>&5
19451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19454 (eval $ac_try) 2>&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); }; }; then
19460 echo "$as_me: program exited with status $ac_status" >&5
19461 echo "$as_me: failed program was:" >&5
19462 sed 's/^/| /' conftest.$ac_ext >&5
19464 ( exit $ac_status )
19465 ac_cv_header_stdc=no
19467 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19471 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19472 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19473 if test $ac_cv_header_stdc = yes; then
19475 cat >>confdefs.h <<\_ACEOF
19476 #define STDC_HEADERS 1
19481 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19482 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19483 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19484 echo $ECHO_N "(cached) $ECHO_C" >&6
19486 cat >conftest.$ac_ext <<_ACEOF
19487 #line $LINENO "configure"
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 #include <sys/types.h>
19494 #include <sys/wait.h>
19495 #ifndef WEXITSTATUS
19496 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19499 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19507 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19512 rm -f conftest.$ac_objext
19513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19514 (eval $ac_compile) 2>&5
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); } &&
19518 { ac_try='test -s conftest.$ac_objext'
19519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19520 (eval $ac_try) 2>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); }; }; then
19524 ac_cv_header_sys_wait_h=yes
19526 echo "$as_me: failed program was:" >&5
19527 sed 's/^/| /' conftest.$ac_ext >&5
19529 ac_cv_header_sys_wait_h=no
19531 rm -f conftest.$ac_objext conftest.$ac_ext
19533 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19534 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19535 if test $ac_cv_header_sys_wait_h = yes; then
19537 cat >>confdefs.h <<\_ACEOF
19538 #define HAVE_SYS_WAIT_H 1
19552 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19554 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19556 echo "$as_me:$LINENO: checking for $ac_header" >&5
19557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19559 echo $ECHO_N "(cached) $ECHO_C" >&6
19561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19562 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19564 # Is the header compilable?
19565 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19566 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19567 cat >conftest.$ac_ext <<_ACEOF
19568 #line $LINENO "configure"
19571 cat confdefs.h >>conftest.$ac_ext
19572 cat >>conftest.$ac_ext <<_ACEOF
19573 /* end confdefs.h. */
19574 $ac_includes_default
19575 #include <$ac_header>
19577 rm -f conftest.$ac_objext
19578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19579 (eval $ac_compile) 2>&5
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); } &&
19583 { ac_try='test -s conftest.$ac_objext'
19584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19585 (eval $ac_try) 2>&5
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); }; }; then
19589 ac_header_compiler=yes
19591 echo "$as_me: failed program was:" >&5
19592 sed 's/^/| /' conftest.$ac_ext >&5
19594 ac_header_compiler=no
19596 rm -f conftest.$ac_objext conftest.$ac_ext
19597 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19598 echo "${ECHO_T}$ac_header_compiler" >&6
19600 # Is the header present?
19601 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19602 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19603 cat >conftest.$ac_ext <<_ACEOF
19604 #line $LINENO "configure"
19607 cat confdefs.h >>conftest.$ac_ext
19608 cat >>conftest.$ac_ext <<_ACEOF
19609 /* end confdefs.h. */
19610 #include <$ac_header>
19612 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19613 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19615 grep -v '^ *+' conftest.er1 >conftest.err
19617 cat conftest.err >&5
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); } >/dev/null; then
19620 if test -s conftest.err; then
19621 ac_cpp_err=$ac_c_preproc_warn_flag
19628 if test -z "$ac_cpp_err"; then
19629 ac_header_preproc=yes
19631 echo "$as_me: failed program was:" >&5
19632 sed 's/^/| /' conftest.$ac_ext >&5
19634 ac_header_preproc=no
19636 rm -f conftest.err conftest.$ac_ext
19637 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19638 echo "${ECHO_T}$ac_header_preproc" >&6
19640 # So? What about this header?
19641 case $ac_header_compiler:$ac_header_preproc in
19643 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19644 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19645 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19646 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19649 ## ------------------------------------ ##
19650 ## Report this to bug-autoconf@gnu.org. ##
19651 ## ------------------------------------ ##
19654 sed "s/^/$as_me: WARNING: /" >&2
19657 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19658 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19659 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19660 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19661 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19662 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19665 ## ------------------------------------ ##
19666 ## Report this to bug-autoconf@gnu.org. ##
19667 ## ------------------------------------ ##
19670 sed "s/^/$as_me: WARNING: /" >&2
19673 echo "$as_me:$LINENO: checking for $ac_header" >&5
19674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19676 echo $ECHO_N "(cached) $ECHO_C" >&6
19678 eval "$as_ac_Header=$ac_header_preproc"
19680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19685 cat >>confdefs.h <<_ACEOF
19686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19697 for ac_header in malloc.h sys/mman.h sys/resource.h
19699 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19701 echo "$as_me:$LINENO: checking for $ac_header" >&5
19702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19704 echo $ECHO_N "(cached) $ECHO_C" >&6
19706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19707 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19709 # Is the header compilable?
19710 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19711 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19712 cat >conftest.$ac_ext <<_ACEOF
19713 #line $LINENO "configure"
19716 cat confdefs.h >>conftest.$ac_ext
19717 cat >>conftest.$ac_ext <<_ACEOF
19718 /* end confdefs.h. */
19719 $ac_includes_default
19720 #include <$ac_header>
19722 rm -f conftest.$ac_objext
19723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19724 (eval $ac_compile) 2>&5
19726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19727 (exit $ac_status); } &&
19728 { ac_try='test -s conftest.$ac_objext'
19729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19730 (eval $ac_try) 2>&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); }; }; then
19734 ac_header_compiler=yes
19736 echo "$as_me: failed program was:" >&5
19737 sed 's/^/| /' conftest.$ac_ext >&5
19739 ac_header_compiler=no
19741 rm -f conftest.$ac_objext conftest.$ac_ext
19742 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19743 echo "${ECHO_T}$ac_header_compiler" >&6
19745 # Is the header present?
19746 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19747 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19748 cat >conftest.$ac_ext <<_ACEOF
19749 #line $LINENO "configure"
19752 cat confdefs.h >>conftest.$ac_ext
19753 cat >>conftest.$ac_ext <<_ACEOF
19754 /* end confdefs.h. */
19755 #include <$ac_header>
19757 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19758 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19760 grep -v '^ *+' conftest.er1 >conftest.err
19762 cat conftest.err >&5
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); } >/dev/null; then
19765 if test -s conftest.err; then
19766 ac_cpp_err=$ac_c_preproc_warn_flag
19773 if test -z "$ac_cpp_err"; then
19774 ac_header_preproc=yes
19776 echo "$as_me: failed program was:" >&5
19777 sed 's/^/| /' conftest.$ac_ext >&5
19779 ac_header_preproc=no
19781 rm -f conftest.err conftest.$ac_ext
19782 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19783 echo "${ECHO_T}$ac_header_preproc" >&6
19785 # So? What about this header?
19786 case $ac_header_compiler:$ac_header_preproc in
19788 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19789 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19791 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19794 ## ------------------------------------ ##
19795 ## Report this to bug-autoconf@gnu.org. ##
19796 ## ------------------------------------ ##
19799 sed "s/^/$as_me: WARNING: /" >&2
19802 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19803 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19804 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19805 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19807 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19810 ## ------------------------------------ ##
19811 ## Report this to bug-autoconf@gnu.org. ##
19812 ## ------------------------------------ ##
19815 sed "s/^/$as_me: WARNING: /" >&2
19818 echo "$as_me:$LINENO: checking for $ac_header" >&5
19819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19821 echo $ECHO_N "(cached) $ECHO_C" >&6
19823 eval "$as_ac_Header=$ac_header_preproc"
19825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19829 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19830 cat >>confdefs.h <<_ACEOF
19831 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19841 for ac_header in dlfcn.h link.h
19843 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19845 echo "$as_me:$LINENO: checking for $ac_header" >&5
19846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19848 echo $ECHO_N "(cached) $ECHO_C" >&6
19850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19853 # Is the header compilable?
19854 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19855 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19856 cat >conftest.$ac_ext <<_ACEOF
19857 #line $LINENO "configure"
19860 cat confdefs.h >>conftest.$ac_ext
19861 cat >>conftest.$ac_ext <<_ACEOF
19862 /* end confdefs.h. */
19863 $ac_includes_default
19864 #include <$ac_header>
19866 rm -f conftest.$ac_objext
19867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19868 (eval $ac_compile) 2>&5
19870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19871 (exit $ac_status); } &&
19872 { ac_try='test -s conftest.$ac_objext'
19873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19874 (eval $ac_try) 2>&5
19876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19877 (exit $ac_status); }; }; then
19878 ac_header_compiler=yes
19880 echo "$as_me: failed program was:" >&5
19881 sed 's/^/| /' conftest.$ac_ext >&5
19883 ac_header_compiler=no
19885 rm -f conftest.$ac_objext conftest.$ac_ext
19886 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19887 echo "${ECHO_T}$ac_header_compiler" >&6
19889 # Is the header present?
19890 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19891 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19892 cat >conftest.$ac_ext <<_ACEOF
19893 #line $LINENO "configure"
19896 cat confdefs.h >>conftest.$ac_ext
19897 cat >>conftest.$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19899 #include <$ac_header>
19901 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19902 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19904 grep -v '^ *+' conftest.er1 >conftest.err
19906 cat conftest.err >&5
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); } >/dev/null; then
19909 if test -s conftest.err; then
19910 ac_cpp_err=$ac_c_preproc_warn_flag
19917 if test -z "$ac_cpp_err"; then
19918 ac_header_preproc=yes
19920 echo "$as_me: failed program was:" >&5
19921 sed 's/^/| /' conftest.$ac_ext >&5
19923 ac_header_preproc=no
19925 rm -f conftest.err conftest.$ac_ext
19926 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19927 echo "${ECHO_T}$ac_header_preproc" >&6
19929 # So? What about this header?
19930 case $ac_header_compiler:$ac_header_preproc in
19932 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19933 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19934 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19935 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19938 ## ------------------------------------ ##
19939 ## Report this to bug-autoconf@gnu.org. ##
19940 ## ------------------------------------ ##
19943 sed "s/^/$as_me: WARNING: /" >&2
19946 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19947 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19948 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19949 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19951 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19954 ## ------------------------------------ ##
19955 ## Report this to bug-autoconf@gnu.org. ##
19956 ## ------------------------------------ ##
19959 sed "s/^/$as_me: WARNING: /" >&2
19962 echo "$as_me:$LINENO: checking for $ac_header" >&5
19963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19965 echo $ECHO_N "(cached) $ECHO_C" >&6
19967 eval "$as_ac_Header=$ac_header_preproc"
19969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19974 cat >>confdefs.h <<_ACEOF
19975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19984 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19985 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19986 if test "${ac_cv_c_const+set}" = set; then
19987 echo $ECHO_N "(cached) $ECHO_C" >&6
19989 cat >conftest.$ac_ext <<_ACEOF
19990 #line $LINENO "configure"
19993 cat confdefs.h >>conftest.$ac_ext
19994 cat >>conftest.$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
20000 /* FIXME: Include the comments suggested by Paul. */
20001 #ifndef __cplusplus
20002 /* Ultrix mips cc rejects this. */
20003 typedef int charset[2];
20005 /* SunOS 4.1.1 cc rejects this. */
20006 char const *const *ccp;
20008 /* NEC SVR4.0.2 mips cc rejects this. */
20009 struct point {int x, y;};
20010 static struct point const zero = {0,0};
20011 /* AIX XL C 1.02.0.0 rejects this.
20012 It does not let you subtract one const X* pointer from another in
20013 an arm of an if-expression whose if-part is not a constant
20015 const char *g = "string";
20016 ccp = &g + (g ? g-g : 0);
20017 /* HPUX 7.0 cc rejects these. */
20020 ccp = (char const *const *) p;
20021 { /* SCO 3.2v4 cc rejects this. */
20023 char const *s = 0 ? (char *) 0 : (char const *) 0;
20027 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20028 int x[] = {25, 17};
20029 const int *foo = &x[0];
20032 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20033 typedef const int *iptr;
20037 { /* AIX XL C 1.02.0.0 rejects this saying
20038 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20039 struct s { int j; const int *ap[3]; };
20040 struct s *b; b->j = 5;
20042 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20043 const int foo = 10;
20051 rm -f conftest.$ac_objext
20052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20053 (eval $ac_compile) 2>&5
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); } &&
20057 { ac_try='test -s conftest.$ac_objext'
20058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20059 (eval $ac_try) 2>&5
20061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062 (exit $ac_status); }; }; then
20065 echo "$as_me: failed program was:" >&5
20066 sed 's/^/| /' conftest.$ac_ext >&5
20070 rm -f conftest.$ac_objext conftest.$ac_ext
20072 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20073 echo "${ECHO_T}$ac_cv_c_const" >&6
20074 if test $ac_cv_c_const = no; then
20076 cat >>confdefs.h <<\_ACEOF
20082 echo "$as_me:$LINENO: checking for inline" >&5
20083 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20084 if test "${ac_cv_c_inline+set}" = set; then
20085 echo $ECHO_N "(cached) $ECHO_C" >&6
20088 for ac_kw in inline __inline__ __inline; do
20089 cat >conftest.$ac_ext <<_ACEOF
20090 #line $LINENO "configure"
20093 cat confdefs.h >>conftest.$ac_ext
20094 cat >>conftest.$ac_ext <<_ACEOF
20095 /* end confdefs.h. */
20096 #ifndef __cplusplus
20098 static $ac_kw foo_t static_foo () {return 0; }
20099 $ac_kw foo_t foo () {return 0; }
20103 rm -f conftest.$ac_objext
20104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20105 (eval $ac_compile) 2>&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); } &&
20109 { ac_try='test -s conftest.$ac_objext'
20110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20111 (eval $ac_try) 2>&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); }; }; then
20115 ac_cv_c_inline=$ac_kw; break
20117 echo "$as_me: failed program was:" >&5
20118 sed 's/^/| /' conftest.$ac_ext >&5
20121 rm -f conftest.$ac_objext conftest.$ac_ext
20125 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20126 echo "${ECHO_T}$ac_cv_c_inline" >&6
20127 case $ac_cv_c_inline in
20130 cat >>confdefs.h <<\_ACEOF
20134 *) cat >>confdefs.h <<_ACEOF
20135 #define inline $ac_cv_c_inline
20141 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20142 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20143 if test "${ac_cv_c_bigendian+set}" = set; then
20144 echo $ECHO_N "(cached) $ECHO_C" >&6
20146 # See if sys/param.h defines the BYTE_ORDER macro.
20147 cat >conftest.$ac_ext <<_ACEOF
20148 #line $LINENO "configure"
20151 cat confdefs.h >>conftest.$ac_ext
20152 cat >>conftest.$ac_ext <<_ACEOF
20153 /* end confdefs.h. */
20154 #include <sys/types.h>
20155 #include <sys/param.h>
20160 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20161 bogus endian macros
20168 rm -f conftest.$ac_objext
20169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20170 (eval $ac_compile) 2>&5
20172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173 (exit $ac_status); } &&
20174 { ac_try='test -s conftest.$ac_objext'
20175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20176 (eval $ac_try) 2>&5
20178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20179 (exit $ac_status); }; }; then
20180 # It does; now see whether it defined to BIG_ENDIAN or not.
20181 cat >conftest.$ac_ext <<_ACEOF
20182 #line $LINENO "configure"
20185 cat confdefs.h >>conftest.$ac_ext
20186 cat >>conftest.$ac_ext <<_ACEOF
20187 /* end confdefs.h. */
20188 #include <sys/types.h>
20189 #include <sys/param.h>
20194 #if BYTE_ORDER != BIG_ENDIAN
20202 rm -f conftest.$ac_objext
20203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20204 (eval $ac_compile) 2>&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); } &&
20208 { ac_try='test -s conftest.$ac_objext'
20209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20210 (eval $ac_try) 2>&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); }; }; then
20214 ac_cv_c_bigendian=yes
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20219 ac_cv_c_bigendian=no
20221 rm -f conftest.$ac_objext conftest.$ac_ext
20223 echo "$as_me: failed program was:" >&5
20224 sed 's/^/| /' conftest.$ac_ext >&5
20226 # It does not; compile a test program.
20227 if test "$cross_compiling" = yes; then
20228 # try to guess the endianness by grepping values into an object file
20229 ac_cv_c_bigendian=unknown
20230 cat >conftest.$ac_ext <<_ACEOF
20231 #line $LINENO "configure"
20234 cat confdefs.h >>conftest.$ac_ext
20235 cat >>conftest.$ac_ext <<_ACEOF
20236 /* end confdefs.h. */
20237 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20238 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20239 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20240 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20241 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20242 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20246 _ascii (); _ebcdic ();
20251 rm -f conftest.$ac_objext
20252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20253 (eval $ac_compile) 2>&5
20255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20256 (exit $ac_status); } &&
20257 { ac_try='test -s conftest.$ac_objext'
20258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20259 (eval $ac_try) 2>&5
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); }; }; then
20263 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20264 ac_cv_c_bigendian=yes
20266 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20267 if test "$ac_cv_c_bigendian" = unknown; then
20268 ac_cv_c_bigendian=no
20270 # finding both strings is unlikely to happen, but who knows?
20271 ac_cv_c_bigendian=unknown
20275 echo "$as_me: failed program was:" >&5
20276 sed 's/^/| /' conftest.$ac_ext >&5
20279 rm -f conftest.$ac_objext conftest.$ac_ext
20281 cat >conftest.$ac_ext <<_ACEOF
20282 #line $LINENO "configure"
20285 cat confdefs.h >>conftest.$ac_ext
20286 cat >>conftest.$ac_ext <<_ACEOF
20287 /* end confdefs.h. */
20291 /* Are we little or big endian? From Harbison&Steele. */
20295 char c[sizeof (long)];
20298 exit (u.c[sizeof (long) - 1] == 1);
20301 rm -f conftest$ac_exeext
20302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20303 (eval $ac_link) 2>&5
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; }; then
20312 ac_cv_c_bigendian=no
20314 echo "$as_me: program exited with status $ac_status" >&5
20315 echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.$ac_ext >&5
20318 ( exit $ac_status )
20319 ac_cv_c_bigendian=yes
20321 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20324 rm -f conftest.$ac_objext conftest.$ac_ext
20326 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20327 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20328 case $ac_cv_c_bigendian in
20331 cat >>confdefs.h <<\_ACEOF
20337 cat >>confdefs.h <<\_ACEOF
20338 #define ENDIAN_LITTLE
20342 { { echo "$as_me:$LINENO: error: unknown endianness
20343 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20344 echo "$as_me: error: unknown endianness
20345 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20346 { (exit 1); exit 1; }; } ;;
20350 echo "$as_me:$LINENO: checking for pid_t" >&5
20351 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20352 if test "${ac_cv_type_pid_t+set}" = set; then
20353 echo $ECHO_N "(cached) $ECHO_C" >&6
20355 cat >conftest.$ac_ext <<_ACEOF
20356 #line $LINENO "configure"
20359 cat confdefs.h >>conftest.$ac_ext
20360 cat >>conftest.$ac_ext <<_ACEOF
20361 /* end confdefs.h. */
20362 $ac_includes_default
20368 if (sizeof (pid_t))
20374 rm -f conftest.$ac_objext
20375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20376 (eval $ac_compile) 2>&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); } &&
20380 { ac_try='test -s conftest.$ac_objext'
20381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20382 (eval $ac_try) 2>&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); }; }; then
20386 ac_cv_type_pid_t=yes
20388 echo "$as_me: failed program was:" >&5
20389 sed 's/^/| /' conftest.$ac_ext >&5
20391 ac_cv_type_pid_t=no
20393 rm -f conftest.$ac_objext conftest.$ac_ext
20395 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20396 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20397 if test $ac_cv_type_pid_t = yes; then
20401 cat >>confdefs.h <<_ACEOF
20407 echo "$as_me:$LINENO: checking for size_t" >&5
20408 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20409 if test "${ac_cv_type_size_t+set}" = set; then
20410 echo $ECHO_N "(cached) $ECHO_C" >&6
20412 cat >conftest.$ac_ext <<_ACEOF
20413 #line $LINENO "configure"
20416 cat confdefs.h >>conftest.$ac_ext
20417 cat >>conftest.$ac_ext <<_ACEOF
20418 /* end confdefs.h. */
20419 $ac_includes_default
20425 if (sizeof (size_t))
20431 rm -f conftest.$ac_objext
20432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20433 (eval $ac_compile) 2>&5
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); } &&
20437 { ac_try='test -s conftest.$ac_objext'
20438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20439 (eval $ac_try) 2>&5
20441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20442 (exit $ac_status); }; }; then
20443 ac_cv_type_size_t=yes
20445 echo "$as_me: failed program was:" >&5
20446 sed 's/^/| /' conftest.$ac_ext >&5
20448 ac_cv_type_size_t=no
20450 rm -f conftest.$ac_objext conftest.$ac_ext
20452 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20453 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20454 if test $ac_cv_type_size_t = yes; then
20458 cat >>confdefs.h <<_ACEOF
20459 #define size_t unsigned
20464 echo "$as_me:$LINENO: checking for int64_t" >&5
20465 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20466 if test "${ac_cv_type_int64_t+set}" = set; then
20467 echo $ECHO_N "(cached) $ECHO_C" >&6
20469 cat >conftest.$ac_ext <<_ACEOF
20470 #line $LINENO "configure"
20473 cat confdefs.h >>conftest.$ac_ext
20474 cat >>conftest.$ac_ext <<_ACEOF
20475 /* end confdefs.h. */
20476 $ac_includes_default
20482 if (sizeof (int64_t))
20488 rm -f conftest.$ac_objext
20489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20490 (eval $ac_compile) 2>&5
20492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493 (exit $ac_status); } &&
20494 { ac_try='test -s conftest.$ac_objext'
20495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20496 (eval $ac_try) 2>&5
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); }; }; then
20500 ac_cv_type_int64_t=yes
20502 echo "$as_me: failed program was:" >&5
20503 sed 's/^/| /' conftest.$ac_ext >&5
20505 ac_cv_type_int64_t=no
20507 rm -f conftest.$ac_objext conftest.$ac_ext
20509 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20510 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20511 if test $ac_cv_type_int64_t = yes; then
20513 cat >>confdefs.h <<_ACEOF
20514 #define HAVE_INT64_T 1
20519 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20520 echo "$as_me: error: Type int64_t required but not found" >&2;}
20521 { (exit 1); exit 1; }; }
20524 echo "$as_me:$LINENO: checking for uint64_t" >&5
20525 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20526 if test "${ac_cv_type_uint64_t+set}" = set; then
20527 echo $ECHO_N "(cached) $ECHO_C" >&6
20529 cat >conftest.$ac_ext <<_ACEOF
20530 #line $LINENO "configure"
20533 cat confdefs.h >>conftest.$ac_ext
20534 cat >>conftest.$ac_ext <<_ACEOF
20535 /* end confdefs.h. */
20536 $ac_includes_default
20540 if ((uint64_t *) 0)
20542 if (sizeof (uint64_t))
20548 rm -f conftest.$ac_objext
20549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20550 (eval $ac_compile) 2>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); } &&
20554 { ac_try='test -s conftest.$ac_objext'
20555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20556 (eval $ac_try) 2>&5
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); }; }; then
20560 ac_cv_type_uint64_t=yes
20562 echo "$as_me: failed program was:" >&5
20563 sed 's/^/| /' conftest.$ac_ext >&5
20565 ac_cv_type_uint64_t=no
20567 rm -f conftest.$ac_objext conftest.$ac_ext
20569 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20570 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20571 if test $ac_cv_type_uint64_t = yes; then
20573 cat >>confdefs.h <<_ACEOF
20574 #define HAVE_UINT64_T 1
20579 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20580 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20581 { (exit 1); exit 1; }; }
20584 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20585 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20586 if test "${ac_cv_header_time+set}" = set; then
20587 echo $ECHO_N "(cached) $ECHO_C" >&6
20589 cat >conftest.$ac_ext <<_ACEOF
20590 #line $LINENO "configure"
20593 cat confdefs.h >>conftest.$ac_ext
20594 cat >>conftest.$ac_ext <<_ACEOF
20595 /* end confdefs.h. */
20596 #include <sys/types.h>
20597 #include <sys/time.h>
20603 if ((struct tm *) 0)
20609 rm -f conftest.$ac_objext
20610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20611 (eval $ac_compile) 2>&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); } &&
20615 { ac_try='test -s conftest.$ac_objext'
20616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20617 (eval $ac_try) 2>&5
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); }; }; then
20621 ac_cv_header_time=yes
20623 echo "$as_me: failed program was:" >&5
20624 sed 's/^/| /' conftest.$ac_ext >&5
20626 ac_cv_header_time=no
20628 rm -f conftest.$ac_objext conftest.$ac_ext
20630 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20631 echo "${ECHO_T}$ac_cv_header_time" >&6
20632 if test $ac_cv_header_time = yes; then
20634 cat >>confdefs.h <<\_ACEOF
20635 #define TIME_WITH_SYS_TIME 1
20640 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20641 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20642 if test "${ac_cv_struct_tm+set}" = set; then
20643 echo $ECHO_N "(cached) $ECHO_C" >&6
20645 cat >conftest.$ac_ext <<_ACEOF
20646 #line $LINENO "configure"
20649 cat confdefs.h >>conftest.$ac_ext
20650 cat >>conftest.$ac_ext <<_ACEOF
20651 /* end confdefs.h. */
20652 #include <sys/types.h>
20658 struct tm *tp; tp->tm_sec;
20663 rm -f conftest.$ac_objext
20664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20665 (eval $ac_compile) 2>&5
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); } &&
20669 { ac_try='test -s conftest.$ac_objext'
20670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20671 (eval $ac_try) 2>&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }; }; then
20675 ac_cv_struct_tm=time.h
20677 echo "$as_me: failed program was:" >&5
20678 sed 's/^/| /' conftest.$ac_ext >&5
20680 ac_cv_struct_tm=sys/time.h
20682 rm -f conftest.$ac_objext conftest.$ac_ext
20684 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20685 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20686 if test $ac_cv_struct_tm = sys/time.h; then
20688 cat >>confdefs.h <<\_ACEOF
20689 #define TM_IN_SYS_TIME 1
20699 ac_cpp='$CPP $CPPFLAGS'
20700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20704 if test "$cross_compiling" = yes; then
20705 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20706 See \`config.log' for more details." >&5
20707 echo "$as_me: error: cannot run test program while cross compiling
20708 See \`config.log' for more details." >&2;}
20709 { (exit 1); exit 1; }; }
20711 cat >conftest.$ac_ext <<_ACEOF
20712 #line $LINENO "configure"
20715 cat confdefs.h >>conftest.$ac_ext
20716 cat >>conftest.$ac_ext <<_ACEOF
20717 /* end confdefs.h. */
20719 #include <stdlib.h>
20724 volatile double A, B;
20728 sprintf(Buffer, "%a", A);
20732 if (A != 0x1.999999999999ap-4)
20739 rm -f conftest$ac_exeext
20740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20741 (eval $ac_link) 2>&5
20743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20744 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20746 (eval $ac_try) 2>&5
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); }; }; then
20752 echo "$as_me: program exited with status $ac_status" >&5
20753 echo "$as_me: failed program was:" >&5
20754 sed 's/^/| /' conftest.$ac_ext >&5
20756 ( exit $ac_status )
20759 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20762 ac_cpp='$CPP $CPPFLAGS'
20763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20767 if test "$ac_c_printf_a" = "yes"; then
20769 cat >>confdefs.h <<\_ACEOF
20770 #define HAVE_PRINTF_A 1
20776 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20777 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20778 if test "${ac_cv_cxx_namespaces+set}" = set; then
20779 echo $ECHO_N "(cached) $ECHO_C" >&6
20784 ac_cpp='$CXXCPP $CPPFLAGS'
20785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20789 cat >conftest.$ac_ext <<_ACEOF
20790 #line $LINENO "configure"
20793 cat confdefs.h >>conftest.$ac_ext
20794 cat >>conftest.$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20796 namespace Outer { namespace Inner { int i = 0; }}
20800 using namespace Outer::Inner; return i;
20805 rm -f conftest.$ac_objext
20806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20807 (eval $ac_compile) 2>&5
20809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20810 (exit $ac_status); } &&
20811 { ac_try='test -s conftest.$ac_objext'
20812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20813 (eval $ac_try) 2>&5
20815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20816 (exit $ac_status); }; }; then
20817 ac_cv_cxx_namespaces=yes
20819 echo "$as_me: failed program was:" >&5
20820 sed 's/^/| /' conftest.$ac_ext >&5
20822 ac_cv_cxx_namespaces=no
20824 rm -f conftest.$ac_objext conftest.$ac_ext
20826 ac_cpp='$CPP $CPPFLAGS'
20827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20833 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20834 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20835 if test "$ac_cv_cxx_namespaces" = yes; then
20837 cat >>confdefs.h <<\_ACEOF
20838 #define HAVE_NAMESPACES
20843 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20844 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20845 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20846 echo $ECHO_N "(cached) $ECHO_C" >&6
20852 ac_cpp='$CXXCPP $CPPFLAGS'
20853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20857 cat >conftest.$ac_ext <<_ACEOF
20858 #line $LINENO "configure"
20861 cat confdefs.h >>conftest.$ac_ext
20862 cat >>conftest.$ac_ext <<_ACEOF
20863 /* end confdefs.h. */
20864 #include <ext/hash_map>
20865 #ifdef HAVE_NAMESPACES
20866 using namespace std;
20871 hash_map<int, int> t; return 0;
20876 rm -f conftest.$ac_objext
20877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20878 (eval $ac_compile) 2>&5
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); } &&
20882 { ac_try='test -s conftest.$ac_objext'
20883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20884 (eval $ac_try) 2>&5
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); }; }; then
20888 ac_cv_cxx_have_ext_hash_map=std
20890 echo "$as_me: failed program was:" >&5
20891 sed 's/^/| /' conftest.$ac_ext >&5
20893 ac_cv_cxx_have_ext_hash_map=no
20895 rm -f conftest.$ac_objext conftest.$ac_ext
20896 cat >conftest.$ac_ext <<_ACEOF
20897 #line $LINENO "configure"
20900 cat confdefs.h >>conftest.$ac_ext
20901 cat >>conftest.$ac_ext <<_ACEOF
20902 /* end confdefs.h. */
20903 #include <ext/hash_map>
20904 #ifdef HAVE_NAMESPACES
20905 using namespace __gnu_cxx;
20910 hash_map<int, int> t; return 0;
20915 rm -f conftest.$ac_objext
20916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20917 (eval $ac_compile) 2>&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); } &&
20921 { ac_try='test -s conftest.$ac_objext'
20922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20923 (eval $ac_try) 2>&5
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); }; }; then
20927 ac_cv_cxx_have_ext_hash_map=gnu
20929 echo "$as_me: failed program was:" >&5
20930 sed 's/^/| /' conftest.$ac_ext >&5
20932 ac_cv_cxx_have_ext_hash_map=no
20934 rm -f conftest.$ac_objext conftest.$ac_ext
20936 ac_cpp='$CPP $CPPFLAGS'
20937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20943 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20944 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20945 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20947 cat >>confdefs.h <<\_ACEOF
20948 #define HAVE_STD_EXT_HASH_MAP
20952 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20954 cat >>confdefs.h <<\_ACEOF
20955 #define HAVE_GNU_EXT_HASH_MAP
20960 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20961 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20962 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20963 echo $ECHO_N "(cached) $ECHO_C" >&6
20969 ac_cpp='$CXXCPP $CPPFLAGS'
20970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20974 cat >conftest.$ac_ext <<_ACEOF
20975 #line $LINENO "configure"
20978 cat confdefs.h >>conftest.$ac_ext
20979 cat >>conftest.$ac_ext <<_ACEOF
20980 /* end confdefs.h. */
20981 #include <ext/hash_set>
20982 #ifdef HAVE_NAMESPACES
20983 using namespace std;
20988 hash_set<int> t; return 0;
20993 rm -f conftest.$ac_objext
20994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20995 (eval $ac_compile) 2>&5
20997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998 (exit $ac_status); } &&
20999 { ac_try='test -s conftest.$ac_objext'
21000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21001 (eval $ac_try) 2>&5
21003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21004 (exit $ac_status); }; }; then
21005 ac_cv_cxx_have_ext_hash_set=std
21007 echo "$as_me: failed program was:" >&5
21008 sed 's/^/| /' conftest.$ac_ext >&5
21010 ac_cv_cxx_have_ext_hash_set=no
21012 rm -f conftest.$ac_objext conftest.$ac_ext
21013 cat >conftest.$ac_ext <<_ACEOF
21014 #line $LINENO "configure"
21017 cat confdefs.h >>conftest.$ac_ext
21018 cat >>conftest.$ac_ext <<_ACEOF
21019 /* end confdefs.h. */
21020 #include <ext/hash_set>
21021 #ifdef HAVE_NAMESPACES
21022 using namespace __gnu_cxx;
21027 hash_set<int> t; return 0;
21032 rm -f conftest.$ac_objext
21033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21034 (eval $ac_compile) 2>&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); } &&
21038 { ac_try='test -s conftest.$ac_objext'
21039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21040 (eval $ac_try) 2>&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; }; then
21044 ac_cv_cxx_have_ext_hash_set=gnu
21046 echo "$as_me: failed program was:" >&5
21047 sed 's/^/| /' conftest.$ac_ext >&5
21049 ac_cv_cxx_have_ext_hash_set=no
21051 rm -f conftest.$ac_objext conftest.$ac_ext
21053 ac_cpp='$CPP $CPPFLAGS'
21054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21060 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
21061 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
21062 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
21064 cat >>confdefs.h <<\_ACEOF
21065 #define HAVE_STD_EXT_HASH_SET
21069 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
21071 cat >>confdefs.h <<\_ACEOF
21072 #define HAVE_GNU_EXT_HASH_SET
21077 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
21078 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
21079 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
21080 echo $ECHO_N "(cached) $ECHO_C" >&6
21086 ac_cpp='$CXXCPP $CPPFLAGS'
21087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21091 cat >conftest.$ac_ext <<_ACEOF
21092 #line $LINENO "configure"
21095 cat confdefs.h >>conftest.$ac_ext
21096 cat >>conftest.$ac_ext <<_ACEOF
21097 /* end confdefs.h. */
21098 #include <ext/slist>
21099 #ifdef HAVE_NAMESPACES
21100 using namespace std;
21105 slist<int> s; return 0;
21110 rm -f conftest.$ac_objext
21111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21112 (eval $ac_compile) 2>&5
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); } &&
21116 { ac_try='test -s conftest.$ac_objext'
21117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21118 (eval $ac_try) 2>&5
21120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21121 (exit $ac_status); }; }; then
21122 ac_cv_cxx_have_ext_slist=std
21124 echo "$as_me: failed program was:" >&5
21125 sed 's/^/| /' conftest.$ac_ext >&5
21127 ac_cv_cxx_have_ext_slist=no
21129 rm -f conftest.$ac_objext conftest.$ac_ext
21130 cat >conftest.$ac_ext <<_ACEOF
21131 #line $LINENO "configure"
21134 cat confdefs.h >>conftest.$ac_ext
21135 cat >>conftest.$ac_ext <<_ACEOF
21136 /* end confdefs.h. */
21137 #include <ext/slist>
21138 #ifdef HAVE_NAMESPACES
21139 using namespace __gnu_cxx;
21144 slist<int> s; return 0;
21149 rm -f conftest.$ac_objext
21150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21151 (eval $ac_compile) 2>&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); } &&
21155 { ac_try='test -s conftest.$ac_objext'
21156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21157 (eval $ac_try) 2>&5
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); }; }; then
21161 ac_cv_cxx_have_ext_slist=gnu
21163 echo "$as_me: failed program was:" >&5
21164 sed 's/^/| /' conftest.$ac_ext >&5
21166 ac_cv_cxx_have_ext_slist=no
21168 rm -f conftest.$ac_objext conftest.$ac_ext
21171 ac_cpp='$CPP $CPPFLAGS'
21172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21178 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21179 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21180 if test "$ac_cv_cxx_have_ext_slist" = std; then
21182 cat >>confdefs.h <<\_ACEOF
21183 #define HAVE_EXT_SLIST std
21187 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21189 cat >>confdefs.h <<\_ACEOF
21190 #define HAVE_EXT_SLIST gnu
21195 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21196 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21197 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21198 echo $ECHO_N "(cached) $ECHO_C" >&6
21204 ac_cpp='$CXXCPP $CPPFLAGS'
21205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21209 cat >conftest.$ac_ext <<_ACEOF
21210 #line $LINENO "configure"
21213 cat confdefs.h >>conftest.$ac_ext
21214 cat >>conftest.$ac_ext <<_ACEOF
21215 /* end confdefs.h. */
21216 #include <iterator>
21217 #ifdef HAVE_NAMESPACES
21218 using namespace std;
21223 iterator<int,int,int> t; return 0;
21228 rm -f conftest.$ac_objext
21229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21230 (eval $ac_compile) 2>&5
21232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 (exit $ac_status); } &&
21234 { ac_try='test -s conftest.$ac_objext'
21235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21236 (eval $ac_try) 2>&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); }; }; then
21240 ac_cv_cxx_have_std_iterator=yes
21242 echo "$as_me: failed program was:" >&5
21243 sed 's/^/| /' conftest.$ac_ext >&5
21245 ac_cv_cxx_have_std_iterator=no
21247 rm -f conftest.$ac_objext conftest.$ac_ext
21249 ac_cpp='$CPP $CPPFLAGS'
21250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21256 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21257 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21258 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21260 cat >>confdefs.h <<\_ACEOF
21261 #define HAVE_STD_ITERATOR
21266 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21267 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21268 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21269 echo $ECHO_N "(cached) $ECHO_C" >&6
21275 ac_cpp='$CXXCPP $CPPFLAGS'
21276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21280 cat >conftest.$ac_ext <<_ACEOF
21281 #line $LINENO "configure"
21284 cat confdefs.h >>conftest.$ac_ext
21285 cat >>conftest.$ac_ext <<_ACEOF
21286 /* end confdefs.h. */
21287 #include <iterator>
21288 #ifdef HAVE_NAMESPACES
21289 using namespace std;
21294 bidirectional_iterator<int,int> t; return 0;
21299 rm -f conftest.$ac_objext
21300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21301 (eval $ac_compile) 2>&5
21303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21304 (exit $ac_status); } &&
21305 { ac_try='test -s conftest.$ac_objext'
21306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21307 (eval $ac_try) 2>&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); }; }; then
21311 ac_cv_cxx_have_bi_iterator=yes
21313 echo "$as_me: failed program was:" >&5
21314 sed 's/^/| /' conftest.$ac_ext >&5
21316 ac_cv_cxx_have_bi_iterator=no
21318 rm -f conftest.$ac_objext conftest.$ac_ext
21320 ac_cpp='$CPP $CPPFLAGS'
21321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21327 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21328 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21329 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21331 cat >>confdefs.h <<\_ACEOF
21332 #define HAVE_BI_ITERATOR
21337 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21338 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21339 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21340 echo $ECHO_N "(cached) $ECHO_C" >&6
21346 ac_cpp='$CXXCPP $CPPFLAGS'
21347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21351 cat >conftest.$ac_ext <<_ACEOF
21352 #line $LINENO "configure"
21355 cat confdefs.h >>conftest.$ac_ext
21356 cat >>conftest.$ac_ext <<_ACEOF
21357 /* end confdefs.h. */
21358 #include <iterator>
21359 #ifdef HAVE_NAMESPACES
21360 using namespace std;
21365 forward_iterator<int,int> t; return 0;
21370 rm -f conftest.$ac_objext
21371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21372 (eval $ac_compile) 2>&5
21374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375 (exit $ac_status); } &&
21376 { ac_try='test -s conftest.$ac_objext'
21377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21378 (eval $ac_try) 2>&5
21380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21381 (exit $ac_status); }; }; then
21382 ac_cv_cxx_have_fwd_iterator=yes
21384 echo "$as_me: failed program was:" >&5
21385 sed 's/^/| /' conftest.$ac_ext >&5
21387 ac_cv_cxx_have_fwd_iterator=no
21389 rm -f conftest.$ac_objext conftest.$ac_ext
21391 ac_cpp='$CPP $CPPFLAGS'
21392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21398 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21399 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21400 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21402 cat >>confdefs.h <<\_ACEOF
21403 #define HAVE_FWD_ITERATOR
21409 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21410 # for constant arguments. Useless!
21411 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21412 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21413 if test "${ac_cv_working_alloca_h+set}" = set; then
21414 echo $ECHO_N "(cached) $ECHO_C" >&6
21416 cat >conftest.$ac_ext <<_ACEOF
21417 #line $LINENO "configure"
21420 cat confdefs.h >>conftest.$ac_ext
21421 cat >>conftest.$ac_ext <<_ACEOF
21422 /* end confdefs.h. */
21423 #include <alloca.h>
21427 char *p = (char *) alloca (2 * sizeof (int));
21432 rm -f conftest.$ac_objext conftest$ac_exeext
21433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21434 (eval $ac_link) 2>&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); } &&
21438 { ac_try='test -s conftest$ac_exeext'
21439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21440 (eval $ac_try) 2>&5
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); }; }; then
21444 ac_cv_working_alloca_h=yes
21446 echo "$as_me: failed program was:" >&5
21447 sed 's/^/| /' conftest.$ac_ext >&5
21449 ac_cv_working_alloca_h=no
21451 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21453 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21454 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21455 if test $ac_cv_working_alloca_h = yes; then
21457 cat >>confdefs.h <<\_ACEOF
21458 #define HAVE_ALLOCA_H 1
21463 echo "$as_me:$LINENO: checking for alloca" >&5
21464 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21465 if test "${ac_cv_func_alloca_works+set}" = set; then
21466 echo $ECHO_N "(cached) $ECHO_C" >&6
21468 cat >conftest.$ac_ext <<_ACEOF
21469 #line $LINENO "configure"
21472 cat confdefs.h >>conftest.$ac_ext
21473 cat >>conftest.$ac_ext <<_ACEOF
21474 /* end confdefs.h. */
21476 # define alloca __builtin_alloca
21479 # include <malloc.h>
21480 # define alloca _alloca
21483 # include <alloca.h>
21488 # ifndef alloca /* predefined by HP cc +Olibcalls */
21499 char *p = (char *) alloca (1);
21504 rm -f conftest.$ac_objext conftest$ac_exeext
21505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21506 (eval $ac_link) 2>&5
21508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21509 (exit $ac_status); } &&
21510 { ac_try='test -s conftest$ac_exeext'
21511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21512 (eval $ac_try) 2>&5
21514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21515 (exit $ac_status); }; }; then
21516 ac_cv_func_alloca_works=yes
21518 echo "$as_me: failed program was:" >&5
21519 sed 's/^/| /' conftest.$ac_ext >&5
21521 ac_cv_func_alloca_works=no
21523 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21525 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21526 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21528 if test $ac_cv_func_alloca_works = yes; then
21530 cat >>confdefs.h <<\_ACEOF
21531 #define HAVE_ALLOCA 1
21535 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21536 # that cause trouble. Some versions do not even contain alloca or
21537 # contain a buggy version. If you still want to use their alloca,
21538 # use ar to extract alloca.o from them instead of compiling alloca.c.
21540 ALLOCA=alloca.$ac_objext
21542 cat >>confdefs.h <<\_ACEOF
21547 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21548 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21549 if test "${ac_cv_os_cray+set}" = set; then
21550 echo $ECHO_N "(cached) $ECHO_C" >&6
21552 cat >conftest.$ac_ext <<_ACEOF
21553 #line $LINENO "configure"
21556 cat confdefs.h >>conftest.$ac_ext
21557 cat >>conftest.$ac_ext <<_ACEOF
21558 /* end confdefs.h. */
21559 #if defined(CRAY) && ! defined(CRAY2)
21566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21567 $EGREP "webecray" >/dev/null 2>&1; then
21575 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21576 echo "${ECHO_T}$ac_cv_os_cray" >&6
21577 if test $ac_cv_os_cray = yes; then
21578 for ac_func in _getb67 GETB67 getb67; do
21579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21580 echo "$as_me:$LINENO: checking for $ac_func" >&5
21581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21582 if eval "test \"\${$as_ac_var+set}\" = set"; then
21583 echo $ECHO_N "(cached) $ECHO_C" >&6
21585 cat >conftest.$ac_ext <<_ACEOF
21586 #line $LINENO "configure"
21589 cat confdefs.h >>conftest.$ac_ext
21590 cat >>conftest.$ac_ext <<_ACEOF
21591 /* end confdefs.h. */
21592 /* System header to define __stub macros and hopefully few prototypes,
21593 which can conflict with char $ac_func (); below.
21594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21595 <limits.h> exists even on freestanding compilers. */
21597 # include <limits.h>
21599 # include <assert.h>
21601 /* Override any gcc2 internal prototype to avoid an error. */
21606 /* We use char because int might match the return type of a gcc2
21607 builtin and then its argument prototype would still apply. */
21609 /* The GNU C library defines this for functions which it implements
21610 to always fail with ENOSYS. Some functions are actually named
21611 something starting with __ and the normal name is an alias. */
21612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21615 char (*f) () = $ac_func;
21624 return f != $ac_func;
21629 rm -f conftest.$ac_objext conftest$ac_exeext
21630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21631 (eval $ac_link) 2>&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); } &&
21635 { ac_try='test -s conftest$ac_exeext'
21636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21637 (eval $ac_try) 2>&5
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); }; }; then
21641 eval "$as_ac_var=yes"
21643 echo "$as_me: failed program was:" >&5
21644 sed 's/^/| /' conftest.$ac_ext >&5
21646 eval "$as_ac_var=no"
21648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21652 if test `eval echo '${'$as_ac_var'}'` = yes; then
21654 cat >>confdefs.h <<_ACEOF
21655 #define CRAY_STACKSEG_END $ac_func
21664 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21665 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21666 if test "${ac_cv_c_stack_direction+set}" = set; then
21667 echo $ECHO_N "(cached) $ECHO_C" >&6
21669 if test "$cross_compiling" = yes; then
21670 ac_cv_c_stack_direction=0
21672 cat >conftest.$ac_ext <<_ACEOF
21673 #line $LINENO "configure"
21676 cat confdefs.h >>conftest.$ac_ext
21677 cat >>conftest.$ac_ext <<_ACEOF
21678 /* end confdefs.h. */
21680 find_stack_direction ()
21682 static char *addr = 0;
21687 return find_stack_direction ();
21690 return (&dummy > addr) ? 1 : -1;
21696 exit (find_stack_direction () < 0);
21699 rm -f conftest$ac_exeext
21700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21701 (eval $ac_link) 2>&5
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21706 (eval $ac_try) 2>&5
21708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21709 (exit $ac_status); }; }; then
21710 ac_cv_c_stack_direction=1
21712 echo "$as_me: program exited with status $ac_status" >&5
21713 echo "$as_me: failed program was:" >&5
21714 sed 's/^/| /' conftest.$ac_ext >&5
21716 ( exit $ac_status )
21717 ac_cv_c_stack_direction=-1
21719 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21722 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21723 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21725 cat >>confdefs.h <<_ACEOF
21726 #define STACK_DIRECTION $ac_cv_c_stack_direction
21732 if test $ac_cv_c_compiler_gnu = yes; then
21733 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21734 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21735 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21736 echo $ECHO_N "(cached) $ECHO_C" >&6
21738 ac_pattern="Autoconf.*'x'"
21739 cat >conftest.$ac_ext <<_ACEOF
21740 #line $LINENO "configure"
21743 cat confdefs.h >>conftest.$ac_ext
21744 cat >>conftest.$ac_ext <<_ACEOF
21745 /* end confdefs.h. */
21749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21750 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21751 ac_cv_prog_gcc_traditional=yes
21753 ac_cv_prog_gcc_traditional=no
21758 if test $ac_cv_prog_gcc_traditional = no; then
21759 cat >conftest.$ac_ext <<_ACEOF
21760 #line $LINENO "configure"
21763 cat confdefs.h >>conftest.$ac_ext
21764 cat >>conftest.$ac_ext <<_ACEOF
21765 /* end confdefs.h. */
21766 #include <termio.h>
21769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21770 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21771 ac_cv_prog_gcc_traditional=yes
21777 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21778 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21779 if test $ac_cv_prog_gcc_traditional = yes; then
21780 CC="$CC -traditional"
21784 echo "$as_me:$LINENO: checking for working memcmp" >&5
21785 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21786 if test "${ac_cv_func_memcmp_working+set}" = set; then
21787 echo $ECHO_N "(cached) $ECHO_C" >&6
21789 if test "$cross_compiling" = yes; then
21790 ac_cv_func_memcmp_working=no
21792 cat >conftest.$ac_ext <<_ACEOF
21793 #line $LINENO "configure"
21796 cat confdefs.h >>conftest.$ac_ext
21797 cat >>conftest.$ac_ext <<_ACEOF
21798 /* end confdefs.h. */
21804 /* Some versions of memcmp are not 8-bit clean. */
21805 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21806 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21809 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21810 or more and with at least one buffer not starting on a 4-byte boundary.
21811 William Lewis provided this test program. */
21816 for (i = 0; i < 4; i++)
21820 strcpy (a, "--------01111111");
21821 strcpy (b, "--------10000000");
21822 if (memcmp (a, b, 16) >= 0)
21832 rm -f conftest$ac_exeext
21833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21834 (eval $ac_link) 2>&5
21836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21837 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21839 (eval $ac_try) 2>&5
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); }; }; then
21843 ac_cv_func_memcmp_working=yes
21845 echo "$as_me: program exited with status $ac_status" >&5
21846 echo "$as_me: failed program was:" >&5
21847 sed 's/^/| /' conftest.$ac_ext >&5
21849 ( exit $ac_status )
21850 ac_cv_func_memcmp_working=no
21852 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21855 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21856 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21857 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21861 for ac_header in stdlib.h unistd.h
21863 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21865 echo "$as_me:$LINENO: checking for $ac_header" >&5
21866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21868 echo $ECHO_N "(cached) $ECHO_C" >&6
21870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21871 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21873 # Is the header compilable?
21874 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21875 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21876 cat >conftest.$ac_ext <<_ACEOF
21877 #line $LINENO "configure"
21880 cat confdefs.h >>conftest.$ac_ext
21881 cat >>conftest.$ac_ext <<_ACEOF
21882 /* end confdefs.h. */
21883 $ac_includes_default
21884 #include <$ac_header>
21886 rm -f conftest.$ac_objext
21887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21888 (eval $ac_compile) 2>&5
21890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21891 (exit $ac_status); } &&
21892 { ac_try='test -s conftest.$ac_objext'
21893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21894 (eval $ac_try) 2>&5
21896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21897 (exit $ac_status); }; }; then
21898 ac_header_compiler=yes
21900 echo "$as_me: failed program was:" >&5
21901 sed 's/^/| /' conftest.$ac_ext >&5
21903 ac_header_compiler=no
21905 rm -f conftest.$ac_objext conftest.$ac_ext
21906 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21907 echo "${ECHO_T}$ac_header_compiler" >&6
21909 # Is the header present?
21910 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21911 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21912 cat >conftest.$ac_ext <<_ACEOF
21913 #line $LINENO "configure"
21916 cat confdefs.h >>conftest.$ac_ext
21917 cat >>conftest.$ac_ext <<_ACEOF
21918 /* end confdefs.h. */
21919 #include <$ac_header>
21921 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21922 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21924 grep -v '^ *+' conftest.er1 >conftest.err
21926 cat conftest.err >&5
21927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928 (exit $ac_status); } >/dev/null; then
21929 if test -s conftest.err; then
21930 ac_cpp_err=$ac_c_preproc_warn_flag
21937 if test -z "$ac_cpp_err"; then
21938 ac_header_preproc=yes
21940 echo "$as_me: failed program was:" >&5
21941 sed 's/^/| /' conftest.$ac_ext >&5
21943 ac_header_preproc=no
21945 rm -f conftest.err conftest.$ac_ext
21946 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21947 echo "${ECHO_T}$ac_header_preproc" >&6
21949 # So? What about this header?
21950 case $ac_header_compiler:$ac_header_preproc in
21952 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21953 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21958 ## ------------------------------------ ##
21959 ## Report this to bug-autoconf@gnu.org. ##
21960 ## ------------------------------------ ##
21963 sed "s/^/$as_me: WARNING: /" >&2
21966 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21967 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21968 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21969 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21974 ## ------------------------------------ ##
21975 ## Report this to bug-autoconf@gnu.org. ##
21976 ## ------------------------------------ ##
21979 sed "s/^/$as_me: WARNING: /" >&2
21982 echo "$as_me:$LINENO: checking for $ac_header" >&5
21983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21985 echo $ECHO_N "(cached) $ECHO_C" >&6
21987 eval "$as_ac_Header=$ac_header_preproc"
21989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21993 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21994 cat >>confdefs.h <<_ACEOF
21995 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22003 for ac_func in getpagesize
22005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22006 echo "$as_me:$LINENO: checking for $ac_func" >&5
22007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22008 if eval "test \"\${$as_ac_var+set}\" = set"; then
22009 echo $ECHO_N "(cached) $ECHO_C" >&6
22011 cat >conftest.$ac_ext <<_ACEOF
22012 #line $LINENO "configure"
22015 cat confdefs.h >>conftest.$ac_ext
22016 cat >>conftest.$ac_ext <<_ACEOF
22017 /* end confdefs.h. */
22018 /* System header to define __stub macros and hopefully few prototypes,
22019 which can conflict with char $ac_func (); below.
22020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22021 <limits.h> exists even on freestanding compilers. */
22023 # include <limits.h>
22025 # include <assert.h>
22027 /* Override any gcc2 internal prototype to avoid an error. */
22032 /* We use char because int might match the return type of a gcc2
22033 builtin and then its argument prototype would still apply. */
22035 /* The GNU C library defines this for functions which it implements
22036 to always fail with ENOSYS. Some functions are actually named
22037 something starting with __ and the normal name is an alias. */
22038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22041 char (*f) () = $ac_func;
22050 return f != $ac_func;
22055 rm -f conftest.$ac_objext conftest$ac_exeext
22056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22057 (eval $ac_link) 2>&5
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); } &&
22061 { ac_try='test -s conftest$ac_exeext'
22062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22063 (eval $ac_try) 2>&5
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); }; }; then
22067 eval "$as_ac_var=yes"
22069 echo "$as_me: failed program was:" >&5
22070 sed 's/^/| /' conftest.$ac_ext >&5
22072 eval "$as_ac_var=no"
22074 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22078 if test `eval echo '${'$as_ac_var'}'` = yes; then
22079 cat >>confdefs.h <<_ACEOF
22080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22086 echo "$as_me:$LINENO: checking for working mmap" >&5
22087 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22088 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22089 echo $ECHO_N "(cached) $ECHO_C" >&6
22091 if test "$cross_compiling" = yes; then
22092 ac_cv_func_mmap_fixed_mapped=no
22094 cat >conftest.$ac_ext <<_ACEOF
22095 #line $LINENO "configure"
22098 cat confdefs.h >>conftest.$ac_ext
22099 cat >>conftest.$ac_ext <<_ACEOF
22100 /* end confdefs.h. */
22101 $ac_includes_default
22102 /* malloc might have been renamed as rpl_malloc. */
22105 /* Thanks to Mike Haertel and Jim Avera for this test.
22106 Here is a matrix of mmap possibilities:
22107 mmap private not fixed
22108 mmap private fixed at somewhere currently unmapped
22109 mmap private fixed at somewhere already mapped
22110 mmap shared not fixed
22111 mmap shared fixed at somewhere currently unmapped
22112 mmap shared fixed at somewhere already mapped
22113 For private mappings, we should verify that changes cannot be read()
22114 back from the file, nor mmap's back from the file at a different
22115 address. (There have been systems where private was not correctly
22116 implemented like the infamous i386 svr4.0, and systems where the
22117 VM page cache was not coherent with the file system buffer cache
22118 like early versions of FreeBSD and possibly contemporary NetBSD.)
22119 For shared mappings, we should conversely verify that changes get
22120 propagated back to all the places they're supposed to be.
22122 Grep wants private fixed already mapped.
22123 The main things grep needs to know about mmap are:
22124 * does it exist and is it safe to write into the mmap'd area
22125 * how to use it (BSD variants) */
22128 #include <sys/mman.h>
22130 #if !STDC_HEADERS && !HAVE_STDLIB_H
22134 /* This mess was copied from the GNU getpagesize.h. */
22135 #if !HAVE_GETPAGESIZE
22136 /* Assume that all systems that can run configure have sys/param.h. */
22137 # if !HAVE_SYS_PARAM_H
22138 # define HAVE_SYS_PARAM_H 1
22141 # ifdef _SC_PAGESIZE
22142 # define getpagesize() sysconf(_SC_PAGESIZE)
22143 # else /* no _SC_PAGESIZE */
22144 # if HAVE_SYS_PARAM_H
22145 # include <sys/param.h>
22146 # ifdef EXEC_PAGESIZE
22147 # define getpagesize() EXEC_PAGESIZE
22148 # else /* no EXEC_PAGESIZE */
22150 # define getpagesize() NBPG * CLSIZE
22153 # endif /* no CLSIZE */
22154 # else /* no NBPG */
22156 # define getpagesize() NBPC
22157 # else /* no NBPC */
22159 # define getpagesize() PAGESIZE
22160 # endif /* PAGESIZE */
22161 # endif /* no NBPC */
22162 # endif /* no NBPG */
22163 # endif /* no EXEC_PAGESIZE */
22164 # else /* no HAVE_SYS_PARAM_H */
22165 # define getpagesize() 8192 /* punt totally */
22166 # endif /* no HAVE_SYS_PARAM_H */
22167 # endif /* no _SC_PAGESIZE */
22169 #endif /* no HAVE_GETPAGESIZE */
22174 char *data, *data2, *data3;
22178 pagesize = getpagesize ();
22180 /* First, make a file with some known garbage in it. */
22181 data = (char *) malloc (pagesize);
22184 for (i = 0; i < pagesize; ++i)
22185 *(data + i) = rand ();
22187 fd = creat ("conftest.mmap", 0600);
22190 if (write (fd, data, pagesize) != pagesize)
22194 /* Next, try to mmap the file at a fixed address which already has
22195 something else allocated at it. If we can, also make sure that
22196 we see the same garbage. */
22197 fd = open ("conftest.mmap", O_RDWR);
22200 data2 = (char *) malloc (2 * pagesize);
22203 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22204 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22205 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22207 for (i = 0; i < pagesize; ++i)
22208 if (*(data + i) != *(data2 + i))
22211 /* Finally, make sure that changes to the mapped area do not
22212 percolate back to the file as seen by read(). (This is a bug on
22213 some variants of i386 svr4.0.) */
22214 for (i = 0; i < pagesize; ++i)
22215 *(data2 + i) = *(data2 + i) + 1;
22216 data3 = (char *) malloc (pagesize);
22219 if (read (fd, data3, pagesize) != pagesize)
22221 for (i = 0; i < pagesize; ++i)
22222 if (*(data + i) != *(data3 + i))
22228 rm -f conftest$ac_exeext
22229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22230 (eval $ac_link) 2>&5
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22235 (eval $ac_try) 2>&5
22237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22238 (exit $ac_status); }; }; then
22239 ac_cv_func_mmap_fixed_mapped=yes
22241 echo "$as_me: program exited with status $ac_status" >&5
22242 echo "$as_me: failed program was:" >&5
22243 sed 's/^/| /' conftest.$ac_ext >&5
22245 ( exit $ac_status )
22246 ac_cv_func_mmap_fixed_mapped=no
22248 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22251 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22252 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22253 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22255 cat >>confdefs.h <<\_ACEOF
22256 #define HAVE_MMAP 1
22260 rm -f conftest.mmap
22262 echo "$as_me:$LINENO: checking for mmap of files" >&5
22263 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22264 if test "${ac_cv_func_mmap_file+set}" = set; then
22265 echo $ECHO_N "(cached) $ECHO_C" >&6
22270 ac_cpp='$CPP $CPPFLAGS'
22271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22275 if test "$cross_compiling" = yes; then
22276 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22277 See \`config.log' for more details." >&5
22278 echo "$as_me: error: cannot run test program while cross compiling
22279 See \`config.log' for more details." >&2;}
22280 { (exit 1); exit 1; }; }
22282 cat >conftest.$ac_ext <<_ACEOF
22283 #line $LINENO "configure"
22286 cat confdefs.h >>conftest.$ac_ext
22287 cat >>conftest.$ac_ext <<_ACEOF
22288 /* end confdefs.h. */
22290 #ifdef HAVE_SYS_TYPES_H
22291 #include <sys/types.h>
22294 #ifdef HAVE_SYS_MMAN_H
22295 #include <sys/mman.h>
22298 #ifdef HAVE_FCNTL_H
22304 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != (int) MAP_FAILED);}
22306 rm -f conftest$ac_exeext
22307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22308 (eval $ac_link) 2>&5
22310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22313 (eval $ac_try) 2>&5
22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316 (exit $ac_status); }; }; then
22317 ac_cv_func_mmap_file=yes
22319 echo "$as_me: program exited with status $ac_status" >&5
22320 echo "$as_me: failed program was:" >&5
22321 sed 's/^/| /' conftest.$ac_ext >&5
22323 ( exit $ac_status )
22324 ac_cv_func_mmap_file=no
22326 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22329 ac_cpp='$CPP $CPPFLAGS'
22330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22336 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22337 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22338 if test "$ac_cv_func_mmap_file" = yes; then
22340 cat >>confdefs.h <<\_ACEOF
22341 #define HAVE_MMAP_FILE
22348 if test ${ac_cv_func_mmap_file} = "no"
22350 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22351 echo "$as_me: error: mmap() of files required but not found" >&2;}
22352 { (exit 1); exit 1; }; }
22354 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22355 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22356 if test "${ac_cv_header_mmap_anon+set}" = set; then
22357 echo $ECHO_N "(cached) $ECHO_C" >&6
22362 ac_cpp='$CPP $CPPFLAGS'
22363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22367 cat >conftest.$ac_ext <<_ACEOF
22368 #line $LINENO "configure"
22371 cat confdefs.h >>conftest.$ac_ext
22372 cat >>conftest.$ac_ext <<_ACEOF
22373 /* end confdefs.h. */
22374 #include <sys/mman.h>
22375 #include <unistd.h>
22380 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22385 rm -f conftest.$ac_objext
22386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22387 (eval $ac_compile) 2>&5
22389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390 (exit $ac_status); } &&
22391 { ac_try='test -s conftest.$ac_objext'
22392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22393 (eval $ac_try) 2>&5
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); }; }; then
22397 ac_cv_header_mmap_anon=yes
22399 echo "$as_me: failed program was:" >&5
22400 sed 's/^/| /' conftest.$ac_ext >&5
22402 ac_cv_header_mmap_anon=no
22404 rm -f conftest.$ac_objext conftest.$ac_ext
22406 ac_cpp='$CPP $CPPFLAGS'
22407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22413 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22414 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22415 if test "$ac_cv_header_mmap_anon" = yes; then
22417 cat >>confdefs.h <<\_ACEOF
22418 #define HAVE_MMAP_ANONYMOUS
22423 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22424 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22425 if test "${ac_cv_type_signal+set}" = set; then
22426 echo $ECHO_N "(cached) $ECHO_C" >&6
22428 cat >conftest.$ac_ext <<_ACEOF
22429 #line $LINENO "configure"
22432 cat confdefs.h >>conftest.$ac_ext
22433 cat >>conftest.$ac_ext <<_ACEOF
22434 /* end confdefs.h. */
22435 #include <sys/types.h>
22436 #include <signal.h>
22441 extern "C" void (*signal (int, void (*)(int)))(int);
22443 void (*signal ()) ();
22454 rm -f conftest.$ac_objext
22455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22456 (eval $ac_compile) 2>&5
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); } &&
22460 { ac_try='test -s conftest.$ac_objext'
22461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22462 (eval $ac_try) 2>&5
22464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465 (exit $ac_status); }; }; then
22466 ac_cv_type_signal=void
22468 echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.$ac_ext >&5
22471 ac_cv_type_signal=int
22473 rm -f conftest.$ac_objext conftest.$ac_ext
22475 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22476 echo "${ECHO_T}$ac_cv_type_signal" >&6
22478 cat >>confdefs.h <<_ACEOF
22479 #define RETSIGTYPE $ac_cv_type_signal
22494 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol strtoq strtoll
22496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22497 echo "$as_me:$LINENO: checking for $ac_func" >&5
22498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22499 if eval "test \"\${$as_ac_var+set}\" = set"; then
22500 echo $ECHO_N "(cached) $ECHO_C" >&6
22502 cat >conftest.$ac_ext <<_ACEOF
22503 #line $LINENO "configure"
22506 cat confdefs.h >>conftest.$ac_ext
22507 cat >>conftest.$ac_ext <<_ACEOF
22508 /* end confdefs.h. */
22509 /* System header to define __stub macros and hopefully few prototypes,
22510 which can conflict with char $ac_func (); below.
22511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22512 <limits.h> exists even on freestanding compilers. */
22514 # include <limits.h>
22516 # include <assert.h>
22518 /* Override any gcc2 internal prototype to avoid an error. */
22523 /* We use char because int might match the return type of a gcc2
22524 builtin and then its argument prototype would still apply. */
22526 /* The GNU C library defines this for functions which it implements
22527 to always fail with ENOSYS. Some functions are actually named
22528 something starting with __ and the normal name is an alias. */
22529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22532 char (*f) () = $ac_func;
22541 return f != $ac_func;
22546 rm -f conftest.$ac_objext conftest$ac_exeext
22547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22548 (eval $ac_link) 2>&5
22550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22551 (exit $ac_status); } &&
22552 { ac_try='test -s conftest$ac_exeext'
22553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22554 (eval $ac_try) 2>&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); }; }; then
22558 eval "$as_ac_var=yes"
22560 echo "$as_me: failed program was:" >&5
22561 sed 's/^/| /' conftest.$ac_ext >&5
22563 eval "$as_ac_var=no"
22565 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22569 if test `eval echo '${'$as_ac_var'}'` = yes; then
22570 cat >>confdefs.h <<_ACEOF
22571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22579 echo "$as_me:$LINENO: checking for mmap" >&5
22580 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22581 if test "${ac_cv_func_mmap+set}" = set; then
22582 echo $ECHO_N "(cached) $ECHO_C" >&6
22584 cat >conftest.$ac_ext <<_ACEOF
22585 #line $LINENO "configure"
22588 cat confdefs.h >>conftest.$ac_ext
22589 cat >>conftest.$ac_ext <<_ACEOF
22590 /* end confdefs.h. */
22591 /* System header to define __stub macros and hopefully few prototypes,
22592 which can conflict with char mmap (); below.
22593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22594 <limits.h> exists even on freestanding compilers. */
22596 # include <limits.h>
22598 # include <assert.h>
22600 /* Override any gcc2 internal prototype to avoid an error. */
22605 /* We use char because int might match the return type of a gcc2
22606 builtin and then its argument prototype would still apply. */
22608 /* The GNU C library defines this for functions which it implements
22609 to always fail with ENOSYS. Some functions are actually named
22610 something starting with __ and the normal name is an alias. */
22611 #if defined (__stub_mmap) || defined (__stub___mmap)
22614 char (*f) () = mmap;
22628 rm -f conftest.$ac_objext conftest$ac_exeext
22629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22630 (eval $ac_link) 2>&5
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); } &&
22634 { ac_try='test -s conftest$ac_exeext'
22635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22636 (eval $ac_try) 2>&5
22638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 (exit $ac_status); }; }; then
22640 ac_cv_func_mmap=yes
22642 echo "$as_me: failed program was:" >&5
22643 sed 's/^/| /' conftest.$ac_ext >&5
22647 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22649 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22650 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22651 if test $ac_cv_func_mmap = yes; then
22654 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22655 echo "$as_me: error: Function mmap() required but not found" >&2;}
22656 { (exit 1); exit 1; }; }
22659 echo "$as_me:$LINENO: checking for mprotect" >&5
22660 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22661 if test "${ac_cv_func_mprotect+set}" = set; then
22662 echo $ECHO_N "(cached) $ECHO_C" >&6
22664 cat >conftest.$ac_ext <<_ACEOF
22665 #line $LINENO "configure"
22668 cat confdefs.h >>conftest.$ac_ext
22669 cat >>conftest.$ac_ext <<_ACEOF
22670 /* end confdefs.h. */
22671 /* System header to define __stub macros and hopefully few prototypes,
22672 which can conflict with char mprotect (); below.
22673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22674 <limits.h> exists even on freestanding compilers. */
22676 # include <limits.h>
22678 # include <assert.h>
22680 /* Override any gcc2 internal prototype to avoid an error. */
22685 /* We use char because int might match the return type of a gcc2
22686 builtin and then its argument prototype would still apply. */
22688 /* The GNU C library defines this for functions which it implements
22689 to always fail with ENOSYS. Some functions are actually named
22690 something starting with __ and the normal name is an alias. */
22691 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22694 char (*f) () = mprotect;
22703 return f != mprotect;
22708 rm -f conftest.$ac_objext conftest$ac_exeext
22709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22710 (eval $ac_link) 2>&5
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); } &&
22714 { ac_try='test -s conftest$ac_exeext'
22715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22716 (eval $ac_try) 2>&5
22718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22719 (exit $ac_status); }; }; then
22720 ac_cv_func_mprotect=yes
22722 echo "$as_me: failed program was:" >&5
22723 sed 's/^/| /' conftest.$ac_ext >&5
22725 ac_cv_func_mprotect=no
22727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22729 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22730 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22731 if test $ac_cv_func_mprotect = yes; then
22734 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22735 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22736 { (exit 1); exit 1; }; }
22741 # Check whether --enable-purify or --disable-purify was given.
22742 if test "${enable_purify+set}" = set; then
22743 enableval="$enable_purify"
22748 if test ${enableval} = "no"
22753 ENABLE_PURIFY=ENABLE_PURIFY=1
22757 # Check whether --enable-optimized or --disable-optimized was given.
22758 if test "${enable_optimized+set}" = set; then
22759 enableval="$enable_optimized"
22764 if test ${enableval} = "no"
22769 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22773 # Check whether --enable-spec2000 or --disable-spec2000 was given.
22774 if test "${enable_spec2000+set}" = set; then
22775 enableval="$enable_spec2000"
22780 if test ${enableval} = "no"
22782 if test -d /home/vadve/shared/benchmarks/speccpu2000/benchspec
22784 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22786 USE_SPEC=USE_SPEC=1
22794 if test ${enableval} = ""
22796 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22799 SPEC_ROOT=${enableval}
22802 USE_SPEC=USE_SPEC=1
22806 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22807 if test "${enable_precompiled_bytecode+set}" = set; then
22808 enableval="$enable_precompiled_bytecode"
22813 if test ${enableval} = "no"
22818 UPB=USE_PRECOMPILED_BYTECODE=1
22823 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22824 if test "${enable_llc_diffs+set}" = set; then
22825 enableval="$enable_llc_diffs"
22830 if test ${enableval} = "no"
22832 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22839 # Check whether --enable-jit or --disable-jit was given.
22840 if test "${enable_jit+set}" = set; then
22841 enableval="$enable_jit"
22847 if test ${enableval} = "no"
22854 JIT=TARGET_HAS_JIT=1
22858 JIT=TARGET_HAS_JIT=1
22870 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22871 if test "${with_llvmgccdir+set}" = set; then
22872 withval="$with_llvmgccdir"
22873 LLVMGCCDIR=$withval
22878 # Check whether --with-bcrepos or --without-bcrepos was given.
22879 if test "${with_bcrepos+set}" = set; then
22880 withval="$with_bcrepos"
22884 BCR=/home/vadve/lattner/LLVMPrograms
22889 # Check whether --with-papi or --without-papi was given.
22890 if test "${with_papi+set}" = set; then
22891 withval="$with_papi"
22895 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22900 # Check whether --with-purify or --without-purify was given.
22901 if test "${with_purify+set}" = set; then
22902 withval="$with_purify"
22908 ac_config_files="$ac_config_files Makefile.config"
22909 cat >confcache <<\_ACEOF
22910 # This file is a shell script that caches the results of configure
22911 # tests run on this system so they can be shared between configure
22912 # scripts and configure runs, see configure's option --config-cache.
22913 # It is not useful on other systems. If it contains results you don't
22914 # want to keep, you may remove or edit it.
22916 # config.status only pays attention to the cache file if you give it
22917 # the --recheck option to rerun configure.
22919 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22920 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22921 # following values.
22925 # The following way of writing the cache mishandles newlines in values,
22926 # but we know of no workaround that is simple, portable, and efficient.
22927 # So, don't put newlines in cache variables' values.
22928 # Ultrix sh set writes to stderr and can't be redirected directly,
22929 # and sets the high bit in the cache file unless we assign to the vars.
22932 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22934 # `set' does not quote correctly, so add quotes (double-quote
22935 # substitution turns \\\\ into \\, and sed turns \\ into \).
22938 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22941 # `set' quotes correctly as required by POSIX, so do not add quotes.
22943 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22950 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22952 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22954 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22955 if test -w $cache_file; then
22956 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22957 cat confcache >$cache_file
22959 echo "not updating unwritable cache $cache_file"
22964 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22965 # Let make expand exec_prefix.
22966 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22968 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22969 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22970 # trailing colons and then remove the whole line if VPATH becomes empty
22971 # (actually we leave an empty line to preserve line numbers).
22972 if test "x$srcdir" = x.; then
22973 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22974 s/:*\$(srcdir):*/:/;
22975 s/:*\${srcdir}:*/:/;
22977 s/^\([^=]*=[ ]*\):*/\1/;
22983 DEFS=-DHAVE_CONFIG_H
22987 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22988 # 1. Remove the extension, and $U if already installed.
22989 ac_i=`echo "$ac_i" |
22990 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22992 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22993 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22995 LIBOBJS=$ac_libobjs
22997 LTLIBOBJS=$ac_ltlibobjs
23001 : ${CONFIG_STATUS=./config.status}
23002 ac_clean_files_save=$ac_clean_files
23003 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23004 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23005 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23006 cat >$CONFIG_STATUS <<_ACEOF
23008 # Generated by $as_me.
23009 # Run this file to recreate the current configuration.
23010 # Compiler output produced by configure, useful for debugging
23011 # configure, is in config.log if it exists.
23014 ac_cs_recheck=false
23016 SHELL=\${CONFIG_SHELL-$SHELL}
23019 cat >>$CONFIG_STATUS <<\_ACEOF
23020 ## --------------------- ##
23021 ## M4sh Initialization. ##
23022 ## --------------------- ##
23024 # Be Bourne compatible
23025 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23028 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23029 # is contrary to our usage. Disable this feature.
23030 alias -g '${1+"$@"}'='"$@"'
23031 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23035 # Support unset when possible.
23036 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
23043 # Work around bugs in pre-3.0 UWIN ksh.
23044 $as_unset ENV MAIL MAILPATH
23051 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23052 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23053 LC_TELEPHONE LC_TIME
23055 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
23056 eval $as_var=C; export $as_var
23062 # Required to use basename.
23063 if expr a : '\(a\)' >/dev/null 2>&1; then
23069 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23070 as_basename=basename
23076 # Name of the executable.
23077 as_me=`$as_basename "$0" ||
23078 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23079 X"$0" : 'X\(//\)$' \| \
23080 X"$0" : 'X\(/\)$' \| \
23081 . : '\(.\)' 2>/dev/null ||
23083 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23084 /^X\/\(\/\/\)$/{ s//\1/; q; }
23085 /^X\/\(\/\).*/{ s//\1/; q; }
23089 # PATH needs CR, and LINENO needs CR and PATH.
23090 # Avoid depending upon Character Ranges.
23091 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23092 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23093 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23094 as_cr_digits='0123456789'
23095 as_cr_alnum=$as_cr_Letters$as_cr_digits
23097 # The user is always right.
23098 if test "${PATH_SEPARATOR+set}" != set; then
23099 echo "#! /bin/sh" >conf$$.sh
23100 echo "exit 0" >>conf$$.sh
23102 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23111 as_lineno_1=$LINENO
23112 as_lineno_2=$LINENO
23113 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23114 test "x$as_lineno_1" != "x$as_lineno_2" &&
23115 test "x$as_lineno_3" = "x$as_lineno_2" || {
23116 # Find who we are. Look in the path if we contain no path at all
23119 *[\\/]* ) as_myself=$0 ;;
23120 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23121 for as_dir in $PATH
23124 test -z "$as_dir" && as_dir=.
23125 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23130 # We did not find ourselves, most probably we were run as `sh COMMAND'
23131 # in which case we are not to be found in the path.
23132 if test "x$as_myself" = x; then
23135 if test ! -f "$as_myself"; then
23136 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23137 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23138 { (exit 1); exit 1; }; }
23140 case $CONFIG_SHELL in
23142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23143 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23146 test -z "$as_dir" && as_dir=.
23147 for as_base in sh bash ksh sh5; do
23150 if ("$as_dir/$as_base" -c '
23151 as_lineno_1=$LINENO
23152 as_lineno_2=$LINENO
23153 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23154 test "x$as_lineno_1" != "x$as_lineno_2" &&
23155 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23156 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23157 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23158 CONFIG_SHELL=$as_dir/$as_base
23159 export CONFIG_SHELL
23160 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23168 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23169 # uniformly replaced by the line number. The first 'sed' inserts a
23170 # line-number line before each line; the second 'sed' does the real
23171 # work. The second script uses 'N' to pair each line-number line
23172 # with the numbered line, and appends trailing '-' during
23173 # substitution so that $LINENO is not a special case at line end.
23174 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23175 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23176 sed '=' <$as_myself |
23181 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23184 s,^['$as_cr_digits']*\n,,
23185 ' >$as_me.lineno &&
23186 chmod +x $as_me.lineno ||
23187 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23188 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23189 { (exit 1); exit 1; }; }
23191 # Don't try to exec as it changes $[0], causing all sort of problems
23192 # (the dirname of $[0] is not the place where we might find the
23193 # original and so on. Autoconf is especially sensible to this).
23195 # Exit status is that of the last command.
23200 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23201 *c*,-n*) ECHO_N= ECHO_C='
23203 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23204 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23207 if expr a : '\(a\)' >/dev/null 2>&1; then
23213 rm -f conf$$ conf$$.exe conf$$.file
23215 if ln -s conf$$.file conf$$ 2>/dev/null; then
23216 # We could just check for DJGPP; but this test a) works b) is more generic
23217 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23218 if test -f conf$$.exe; then
23219 # Don't use ln at all; we don't have any links
23224 elif ln conf$$.file conf$$ 2>/dev/null; then
23229 rm -f conf$$ conf$$.exe conf$$.file
23231 if mkdir -p . 2>/dev/null; then
23237 as_executable_p="test -f"
23239 # Sed expression to map a string onto a valid CPP name.
23240 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23242 # Sed expression to map a string onto a valid variable name.
23243 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23247 # We need space, tab and new line, in precisely that order.
23257 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23258 # report actual input values of CONFIG_FILES etc. instead of their
23259 # values after options handling. Logging --version etc. is OK.
23263 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23264 ## Running $as_me. ##
23269 This file was extended by [LLVM] $as_me [1.0], which was
23270 generated by GNU Autoconf 2.57. Invocation command line was
23272 CONFIG_FILES = $CONFIG_FILES
23273 CONFIG_HEADERS = $CONFIG_HEADERS
23274 CONFIG_LINKS = $CONFIG_LINKS
23275 CONFIG_COMMANDS = $CONFIG_COMMANDS
23279 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23283 # Files that config.status was made for.
23284 if test -n "$ac_config_files"; then
23285 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23288 if test -n "$ac_config_headers"; then
23289 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23292 if test -n "$ac_config_links"; then
23293 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23296 if test -n "$ac_config_commands"; then
23297 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23300 cat >>$CONFIG_STATUS <<\_ACEOF
23303 \`$as_me' instantiates files from templates according to the
23304 current configuration.
23306 Usage: $0 [OPTIONS] [FILE]...
23308 -h, --help print this help, then exit
23309 -V, --version print version number, then exit
23310 -q, --quiet do not print progress messages
23311 -d, --debug don't remove temporary files
23312 --recheck update $as_me by reconfiguring in the same conditions
23313 --file=FILE[:TEMPLATE]
23314 instantiate the configuration file FILE
23315 --header=FILE[:TEMPLATE]
23316 instantiate the configuration header FILE
23318 Configuration files:
23321 Configuration headers:
23324 Configuration commands:
23327 Report bugs to <bug-autoconf@gnu.org>."
23330 cat >>$CONFIG_STATUS <<_ACEOF
23332 [LLVM] config.status [1.0]
23333 configured by $0, generated by GNU Autoconf 2.57,
23334 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23336 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23337 Free Software Foundation, Inc.
23338 This config.status script is free software; the Free Software Foundation
23339 gives unlimited permission to copy, distribute and modify it."
23344 cat >>$CONFIG_STATUS <<\_ACEOF
23345 # If no file are specified by the user, then we need to provide default
23346 # value. By we need to know if files were specified by the user.
23352 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23353 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23361 *) # This is not an option, so the user has probably given explicit
23364 ac_need_defaults=false;;
23368 # Handling of the options.
23370 cat >>$CONFIG_STATUS <<\_ACEOF
23371 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23373 --version | --vers* | -V )
23374 echo "$ac_cs_version"; exit 0 ;;
23376 # Conflict between --help and --header
23377 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23378 Try \`$0 --help' for more information." >&5
23379 echo "$as_me: error: ambiguous option: $1
23380 Try \`$0 --help' for more information." >&2;}
23381 { (exit 1); exit 1; }; };;
23382 --help | --hel | -h )
23383 echo "$ac_cs_usage"; exit 0 ;;
23384 --debug | --d* | -d )
23386 --file | --fil | --fi | --f )
23388 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23389 ac_need_defaults=false;;
23390 --header | --heade | --head | --hea )
23392 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23393 ac_need_defaults=false;;
23394 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23395 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23398 # This is an error.
23399 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23400 Try \`$0 --help' for more information." >&5
23401 echo "$as_me: error: unrecognized option: $1
23402 Try \`$0 --help' for more information." >&2;}
23403 { (exit 1); exit 1; }; } ;;
23405 *) ac_config_targets="$ac_config_targets $1" ;;
23411 ac_configure_extra_args=
23413 if $ac_cs_silent; then
23415 ac_configure_extra_args="$ac_configure_extra_args --silent"
23419 cat >>$CONFIG_STATUS <<_ACEOF
23420 if \$ac_cs_recheck; then
23421 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23422 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23427 cat >>$CONFIG_STATUS <<_ACEOF
23429 # INIT-COMMANDS section.
23432 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23453 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23454 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23455 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23456 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23457 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23458 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23459 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23460 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23461 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23462 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23463 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23464 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23465 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23466 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23467 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23468 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23469 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23470 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23471 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23472 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23473 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23474 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23475 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23476 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23477 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23478 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23479 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23480 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23481 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23482 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23483 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvm.py`
23484 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvmdb.py`
23485 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23486 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23487 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23488 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23489 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23490 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23491 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23492 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23493 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23494 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23495 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23496 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23497 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23498 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23499 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23500 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23501 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23502 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23503 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23504 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23505 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/177.mesa/Makefile`
23506 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23507 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23508 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23509 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23510 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23511 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23512 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23513 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23514 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23515 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23516 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/252.eon/Makefile`
23517 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile`
23518 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23519 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23520 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23521 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23522 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23523 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23524 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23525 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23526 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23527 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23528 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23529 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23530 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23531 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23532 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23533 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23534 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23535 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23536 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23537 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23538 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23539 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23540 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23541 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23542 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23543 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23544 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23545 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23546 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23547 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23548 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23549 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23550 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23551 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23552 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23553 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23554 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23555 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23556 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23557 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23558 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23559 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23560 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23561 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23562 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23563 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23564 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23565 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23566 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23567 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23568 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23569 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23570 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23571 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23572 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23573 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile`
23574 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile`
23575 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile`
23576 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/EH/Makefile`
23577 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23578 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23579 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23580 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23581 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23582 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23583 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23584 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23585 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23586 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23587 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23588 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23589 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23590 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-nm/Makefile`
23591 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23592 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23593 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23594 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23595 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23596 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23597 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23598 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23599 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23600 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23606 cat >>$CONFIG_STATUS <<\_ACEOF
23607 for ac_config_target in $ac_config_targets
23609 case "$ac_config_target" in
23610 # Handling of arguments.
23611 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23612 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23613 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23614 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23615 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23616 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23617 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23618 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23619 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23620 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23621 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23622 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23623 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23624 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23625 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23626 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23627 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23628 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23629 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23630 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23631 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23632 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23633 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23634 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23635 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23636 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23637 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23638 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23639 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23640 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23641 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23642 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23643 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23644 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23645 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23646 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23647 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23648 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23649 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23650 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23651 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23652 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23653 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23654 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23655 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23656 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23657 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23658 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23659 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23660 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23661 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23662 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23663 "test/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvm.py" ;;
23664 "test/QMTest/llvmdb.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvmdb.py" ;;
23665 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23666 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23667 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23668 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23669 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23670 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23671 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23672 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23673 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23674 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23675 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23676 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23677 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23678 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23679 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23680 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23681 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23682 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23683 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23684 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23685 "test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ;;
23686 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23687 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23688 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23689 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23690 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23691 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23692 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23693 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23694 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23695 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23696 "test/Programs/External/SPEC/CINT2000/252.eon/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/252.eon/Makefile" ;;
23697 "test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile" ;;
23698 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23699 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23700 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23701 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23702 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23703 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23704 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23705 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23706 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23707 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23708 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23709 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23710 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23711 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23712 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23713 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23714 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23715 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23716 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23717 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23718 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23719 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23720 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23721 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23722 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23723 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23724 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23725 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23726 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23727 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23728 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23729 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23730 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23731 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23732 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23733 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23734 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23735 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23736 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23737 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23738 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23739 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23740 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23741 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23742 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23743 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23744 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23745 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23746 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23747 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23748 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23749 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23750 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23751 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23752 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23753 "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;;
23754 "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;;
23755 "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;;
23756 "test/Programs/SingleSource/Regression/C++/EH/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/EH/Makefile" ;;
23757 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23758 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23759 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23760 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23761 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23762 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23763 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23764 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23765 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23766 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23767 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23768 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23769 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
23770 "tools/llvm-nm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-nm/Makefile" ;;
23771 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23772 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23773 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23774 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23775 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23776 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23777 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23778 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23779 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23780 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23781 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23782 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23783 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23784 { (exit 1); exit 1; }; };;
23788 # If the user did not use the arguments to specify the items to instantiate,
23789 # then the envvar interface is used. Set only those that are not.
23790 # We use the long form for the default assignment because of an extremely
23791 # bizarre bug on SunOS 4.1.3.
23792 if $ac_need_defaults; then
23793 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23794 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23795 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23798 # Have a temporary directory for convenience. Make it in the build tree
23799 # simply because there is no reason to put it here, and in addition,
23800 # creating and moving files from /tmp can sometimes cause problems.
23801 # Create a temporary directory, and hook for its removal unless debugging.
23804 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23805 trap '{ (exit 1); exit 1; }' 1 2 13 15
23808 # Create a (secure) tmp directory for tmp files.
23811 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23812 test -n "$tmp" && test -d "$tmp"
23815 tmp=./confstat$$-$RANDOM
23816 (umask 077 && mkdir $tmp)
23819 echo "$me: cannot create a temporary directory in ." >&2
23820 { (exit 1); exit 1; }
23825 cat >>$CONFIG_STATUS <<_ACEOF
23828 # CONFIG_FILES section.
23831 # No need to generate the scripts if there are no CONFIG_FILES.
23832 # This happens for instance when ./config.status config.h
23833 if test -n "\$CONFIG_FILES"; then
23834 # Protect against being on the right side of a sed subst in config.status.
23835 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23836 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23837 s,@SHELL@,$SHELL,;t t
23838 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23839 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23840 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23841 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23842 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23843 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23844 s,@exec_prefix@,$exec_prefix,;t t
23845 s,@prefix@,$prefix,;t t
23846 s,@program_transform_name@,$program_transform_name,;t t
23847 s,@bindir@,$bindir,;t t
23848 s,@sbindir@,$sbindir,;t t
23849 s,@libexecdir@,$libexecdir,;t t
23850 s,@datadir@,$datadir,;t t
23851 s,@sysconfdir@,$sysconfdir,;t t
23852 s,@sharedstatedir@,$sharedstatedir,;t t
23853 s,@localstatedir@,$localstatedir,;t t
23854 s,@libdir@,$libdir,;t t
23855 s,@includedir@,$includedir,;t t
23856 s,@oldincludedir@,$oldincludedir,;t t
23857 s,@infodir@,$infodir,;t t
23858 s,@mandir@,$mandir,;t t
23859 s,@build_alias@,$build_alias,;t t
23860 s,@host_alias@,$host_alias,;t t
23861 s,@target_alias@,$target_alias,;t t
23862 s,@DEFS@,$DEFS,;t t
23863 s,@ECHO_C@,$ECHO_C,;t t
23864 s,@ECHO_N@,$ECHO_N,;t t
23865 s,@ECHO_T@,$ECHO_T,;t t
23866 s,@LIBS@,$LIBS,;t t
23867 s,@subdirs@,$subdirs,;t t
23868 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23869 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23870 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23871 s,@build@,$build,;t t
23872 s,@build_cpu@,$build_cpu,;t t
23873 s,@build_vendor@,$build_vendor,;t t
23874 s,@build_os@,$build_os,;t t
23875 s,@host@,$host,;t t
23876 s,@host_cpu@,$host_cpu,;t t
23877 s,@host_vendor@,$host_vendor,;t t
23878 s,@host_os@,$host_os,;t t
23879 s,@target@,$target,;t t
23880 s,@target_cpu@,$target_cpu,;t t
23881 s,@target_vendor@,$target_vendor,;t t
23882 s,@target_os@,$target_os,;t t
23884 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23885 s,@ARCH@,$ARCH,;t t
23887 s,@CXXFLAGS@,$CXXFLAGS,;t t
23888 s,@LDFLAGS@,$LDFLAGS,;t t
23889 s,@CPPFLAGS@,$CPPFLAGS,;t t
23890 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23891 s,@EXEEXT@,$EXEEXT,;t t
23892 s,@OBJEXT@,$OBJEXT,;t t
23894 s,@CFLAGS@,$CFLAGS,;t t
23895 s,@ac_ct_CC@,$ac_ct_CC,;t t
23897 s,@ifGNUmake@,$ifGNUmake,;t t
23899 s,@LEXLIB@,$LEXLIB,;t t
23900 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23901 s,@YACC@,$YACC,;t t
23902 s,@EGREP@,$EGREP,;t t
23903 s,@LN_S@,$LN_S,;t t
23904 s,@ECHO@,$ECHO,;t t
23906 s,@ac_ct_AR@,$ac_ct_AR,;t t
23907 s,@RANLIB@,$RANLIB,;t t
23908 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23909 s,@STRIP@,$STRIP,;t t
23910 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23911 s,@CXXCPP@,$CXXCPP,;t t
23913 s,@FFLAGS@,$FFLAGS,;t t
23914 s,@ac_ct_F77@,$ac_ct_F77,;t t
23915 s,@LIBTOOL@,$LIBTOOL,;t t
23916 s,@RPWD@,$RPWD,;t t
23919 s,@MKDIR@,$MKDIR,;t t
23920 s,@DATE@,$DATE,;t t
23923 s,@ETAGS@,$ETAGS,;t t
23924 s,@PYTHON@,$PYTHON,;t t
23925 s,@QMTEST@,$QMTEST,;t t
23926 s,@ALLOCA@,$ALLOCA,;t t
23927 s,@LIBOBJS@,$LIBOBJS,;t t
23928 s,@MMAP_FILE@,$MMAP_FILE,;t t
23929 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23930 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23931 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23932 s,@USE_SPEC@,$USE_SPEC,;t t
23934 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23937 s,@PAPIDIR@,$PAPIDIR,;t t
23938 s,@PURIFY@,$PURIFY,;t t
23939 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23944 cat >>$CONFIG_STATUS <<\_ACEOF
23945 # Split the substitutions into bite-sized pieces for seds with
23946 # small command number limits, like on Digital OSF/1 and HP-UX.
23947 ac_max_sed_lines=48
23948 ac_sed_frag=1 # Number of current file.
23949 ac_beg=1 # First line for current file.
23950 ac_end=$ac_max_sed_lines # Line after last line for current file.
23953 while $ac_more_lines; do
23954 if test $ac_beg -gt 1; then
23955 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23957 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23959 if test ! -s $tmp/subs.frag; then
23960 ac_more_lines=false
23962 # The purpose of the label and of the branching condition is to
23963 # speed up the sed processing (if there are no `@' at all, there
23964 # is no need to browse any of the substitutions).
23965 # These are the two extra sed commands mentioned above.
23967 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23968 if test -z "$ac_sed_cmds"; then
23969 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23971 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23973 ac_sed_frag=`expr $ac_sed_frag + 1`
23975 ac_end=`expr $ac_end + $ac_max_sed_lines`
23978 if test -z "$ac_sed_cmds"; then
23981 fi # test -n "$CONFIG_FILES"
23984 cat >>$CONFIG_STATUS <<\_ACEOF
23985 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23986 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23988 - | *:- | *:-:* ) # input from stdin
23990 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23991 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23992 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23993 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23994 * ) ac_file_in=$ac_file.in ;;
23997 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23998 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23999 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24000 X"$ac_file" : 'X\(//\)[^/]' \| \
24001 X"$ac_file" : 'X\(//\)$' \| \
24002 X"$ac_file" : 'X\(/\)' \| \
24003 . : '\(.\)' 2>/dev/null ||
24005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24006 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24007 /^X\(\/\/\)$/{ s//\1/; q; }
24008 /^X\(\/\).*/{ s//\1/; q; }
24010 { if $as_mkdir_p; then
24015 while test ! -d "$as_dir"; do
24016 as_dirs="$as_dir $as_dirs"
24017 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24018 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24019 X"$as_dir" : 'X\(//\)[^/]' \| \
24020 X"$as_dir" : 'X\(//\)$' \| \
24021 X"$as_dir" : 'X\(/\)' \| \
24022 . : '\(.\)' 2>/dev/null ||
24024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24025 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24026 /^X\(\/\/\)$/{ s//\1/; q; }
24027 /^X\(\/\).*/{ s//\1/; q; }
24030 test ! -n "$as_dirs" || mkdir $as_dirs
24031 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24032 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24033 { (exit 1); exit 1; }; }; }
24037 if test "$ac_dir" != .; then
24038 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24039 # A "../" for each directory in $ac_dir_suffix.
24040 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24042 ac_dir_suffix= ac_top_builddir=
24046 .) # No --srcdir option. We are building in place.
24048 if test -z "$ac_top_builddir"; then
24051 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24053 [\\/]* | ?:[\\/]* ) # Absolute path.
24054 ac_srcdir=$srcdir$ac_dir_suffix;
24055 ac_top_srcdir=$srcdir ;;
24056 *) # Relative path.
24057 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24058 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24060 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24062 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24063 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24064 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24065 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24069 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24070 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24073 if test x"$ac_file" != x-; then
24074 { echo "$as_me:$LINENO: creating $ac_file" >&5
24075 echo "$as_me: creating $ac_file" >&6;}
24078 # Let's still pretend it is `configure' which instantiates (i.e., don't
24079 # use $as_me), people would be surprised to read:
24080 # /* config.h. Generated by config.status. */
24081 if test x"$ac_file" = x-; then
24084 configure_input="$ac_file. "
24086 configure_input=$configure_input"Generated from `echo $ac_file_in |
24087 sed 's,.*/,,'` by configure."
24089 # First look for the input files in the build tree, otherwise in the
24091 ac_file_inputs=`IFS=:
24092 for f in $ac_file_in; do
24094 -) echo $tmp/stdin ;;
24096 # Absolute (can't be DOS-style, as IFS=:)
24097 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24098 echo "$as_me: error: cannot find input file: $f" >&2;}
24099 { (exit 1); exit 1; }; }
24102 if test -f "$f"; then
24105 elif test -f "$srcdir/$f"; then
24110 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24111 echo "$as_me: error: cannot find input file: $f" >&2;}
24112 { (exit 1); exit 1; }; }
24115 done` || { (exit 1); exit 1; }
24117 cat >>$CONFIG_STATUS <<_ACEOF
24121 cat >>$CONFIG_STATUS <<\_ACEOF
24123 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24124 s,@configure_input@,$configure_input,;t t
24125 s,@srcdir@,$ac_srcdir,;t t
24126 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24127 s,@top_srcdir@,$ac_top_srcdir,;t t
24128 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24129 s,@builddir@,$ac_builddir,;t t
24130 s,@abs_builddir@,$ac_abs_builddir,;t t
24131 s,@top_builddir@,$ac_top_builddir,;t t
24132 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24133 s,@INSTALL@,$ac_INSTALL,;t t
24134 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24136 if test x"$ac_file" != x-; then
24137 mv $tmp/out $ac_file
24145 cat >>$CONFIG_STATUS <<\_ACEOF
24148 # CONFIG_HEADER section.
24151 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24152 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24154 # ac_d sets the value in "#define NAME VALUE" lines.
24155 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24156 ac_dB='[ ].*$,\1#\2'
24159 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24160 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24161 ac_uB='$,\1#\2define\3'
24165 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24166 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24168 - | *:- | *:-:* ) # input from stdin
24170 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24171 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24172 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24173 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24174 * ) ac_file_in=$ac_file.in ;;
24177 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24178 echo "$as_me: creating $ac_file" >&6;}
24180 # First look for the input files in the build tree, otherwise in the
24182 ac_file_inputs=`IFS=:
24183 for f in $ac_file_in; do
24185 -) echo $tmp/stdin ;;
24187 # Absolute (can't be DOS-style, as IFS=:)
24188 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24189 echo "$as_me: error: cannot find input file: $f" >&2;}
24190 { (exit 1); exit 1; }; }
24193 if test -f "$f"; then
24196 elif test -f "$srcdir/$f"; then
24201 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24202 echo "$as_me: error: cannot find input file: $f" >&2;}
24203 { (exit 1); exit 1; }; }
24206 done` || { (exit 1); exit 1; }
24207 # Remove the trailing spaces.
24208 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24212 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24213 # `conftest.undefs', that substitutes the proper values into
24214 # config.h.in to produce config.h. The first handles `#define'
24215 # templates, and the second `#undef' templates.
24216 # And first: Protect against being on the right side of a sed subst in
24217 # config.status. Protect against being in an unquoted here document
24218 # in config.status.
24219 rm -f conftest.defines conftest.undefs
24220 # Using a here document instead of a string reduces the quoting nightmare.
24221 # Putting comments in sed scripts is not portable.
24223 # `end' is used to avoid that the second main sed command (meant for
24224 # 0-ary CPP macros) applies to n-ary macro definitions.
24225 # See the Autoconf documentation for `clear'.
24226 cat >confdef2sed.sed <<\_ACEOF
24231 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24233 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24236 # If some macros were called several times there might be several times
24237 # the same #defines, which is useless. Nevertheless, we may not want to
24238 # sort them, since we want the *last* AC-DEFINE to be honored.
24239 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24240 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24241 rm -f confdef2sed.sed
24243 # This sed command replaces #undef with comments. This is necessary, for
24244 # example, in the case of _POSIX_SOURCE, which is predefined and required
24245 # on some systems where configure will not decide to define it.
24246 cat >>conftest.undefs <<\_ACEOF
24247 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24250 # Break up conftest.defines because some shells have a limit on the size
24251 # of here documents, and old seds have small limits too (100 cmds).
24252 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24253 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24254 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24255 echo ' :' >>$CONFIG_STATUS
24256 rm -f conftest.tail
24257 while grep . conftest.defines >/dev/null
24259 # Write a limited-size here document to $tmp/defines.sed.
24260 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24261 # Speed up: don't consider the non `#define' lines.
24262 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24263 # Work around the forget-to-reset-the-flag bug.
24264 echo 't clr' >>$CONFIG_STATUS
24265 echo ': clr' >>$CONFIG_STATUS
24266 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24268 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24270 mv $tmp/out $tmp/in
24272 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24273 rm -f conftest.defines
24274 mv conftest.tail conftest.defines
24276 rm -f conftest.defines
24277 echo ' fi # grep' >>$CONFIG_STATUS
24278 echo >>$CONFIG_STATUS
24280 # Break up conftest.undefs because some shells have a limit on the size
24281 # of here documents, and old seds have small limits too (100 cmds).
24282 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24283 rm -f conftest.tail
24284 while grep . conftest.undefs >/dev/null
24286 # Write a limited-size here document to $tmp/undefs.sed.
24287 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24288 # Speed up: don't consider the non `#undef'
24289 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24290 # Work around the forget-to-reset-the-flag bug.
24291 echo 't clr' >>$CONFIG_STATUS
24292 echo ': clr' >>$CONFIG_STATUS
24293 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24295 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24297 mv $tmp/out $tmp/in
24299 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24300 rm -f conftest.undefs
24301 mv conftest.tail conftest.undefs
24303 rm -f conftest.undefs
24305 cat >>$CONFIG_STATUS <<\_ACEOF
24306 # Let's still pretend it is `configure' which instantiates (i.e., don't
24307 # use $as_me), people would be surprised to read:
24308 # /* config.h. Generated by config.status. */
24309 if test x"$ac_file" = x-; then
24310 echo "/* Generated by configure. */" >$tmp/config.h
24312 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24314 cat $tmp/in >>$tmp/config.h
24316 if test x"$ac_file" != x-; then
24317 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24318 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24319 echo "$as_me: $ac_file is unchanged" >&6;}
24321 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24322 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24323 X"$ac_file" : 'X\(//\)[^/]' \| \
24324 X"$ac_file" : 'X\(//\)$' \| \
24325 X"$ac_file" : 'X\(/\)' \| \
24326 . : '\(.\)' 2>/dev/null ||
24328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24329 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24330 /^X\(\/\/\)$/{ s//\1/; q; }
24331 /^X\(\/\).*/{ s//\1/; q; }
24333 { if $as_mkdir_p; then
24338 while test ! -d "$as_dir"; do
24339 as_dirs="$as_dir $as_dirs"
24340 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24342 X"$as_dir" : 'X\(//\)[^/]' \| \
24343 X"$as_dir" : 'X\(//\)$' \| \
24344 X"$as_dir" : 'X\(/\)' \| \
24345 . : '\(.\)' 2>/dev/null ||
24347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24348 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24349 /^X\(\/\/\)$/{ s//\1/; q; }
24350 /^X\(\/\).*/{ s//\1/; q; }
24353 test ! -n "$as_dirs" || mkdir $as_dirs
24354 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24355 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24356 { (exit 1); exit 1; }; }; }
24359 mv $tmp/config.h $ac_file
24363 rm -f $tmp/config.h
24367 cat >>$CONFIG_STATUS <<\_ACEOF
24370 # CONFIG_COMMANDS section.
24372 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24373 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24374 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24375 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24376 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24377 X"$ac_dest" : 'X\(//\)[^/]' \| \
24378 X"$ac_dest" : 'X\(//\)$' \| \
24379 X"$ac_dest" : 'X\(/\)' \| \
24380 . : '\(.\)' 2>/dev/null ||
24382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24383 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24384 /^X\(\/\/\)$/{ s//\1/; q; }
24385 /^X\(\/\).*/{ s//\1/; q; }
24389 if test "$ac_dir" != .; then
24390 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24391 # A "../" for each directory in $ac_dir_suffix.
24392 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24394 ac_dir_suffix= ac_top_builddir=
24398 .) # No --srcdir option. We are building in place.
24400 if test -z "$ac_top_builddir"; then
24403 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24405 [\\/]* | ?:[\\/]* ) # Absolute path.
24406 ac_srcdir=$srcdir$ac_dir_suffix;
24407 ac_top_srcdir=$srcdir ;;
24408 *) # Relative path.
24409 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24410 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24412 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24414 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24415 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24416 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24417 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24420 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24421 echo "$as_me: executing $ac_dest commands" >&6;}
24423 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24424 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24425 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24426 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24427 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24428 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24429 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24430 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24431 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24432 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24433 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24434 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24435 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24436 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24437 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24438 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24439 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24440 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24441 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24442 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24443 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24444 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24445 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24446 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24447 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24448 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24449 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24450 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24451 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24452 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24453 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24454 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24455 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24456 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24457 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24458 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24459 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24460 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24461 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24462 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24463 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24464 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24465 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24466 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24467 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24468 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24469 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24470 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24471 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24472 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24473 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24474 test/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvm.py test/QMTest/llvm.py ;;
24475 test/QMTest/llvmdb.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvmdb.py test/QMTest/llvmdb.py ;;
24476 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24477 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24478 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24479 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24480 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24481 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24482 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24483 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24484 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24485 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24486 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24487 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24488 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24489 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24490 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24491 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24492 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24493 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24494 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 ;;
24495 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 ;;
24496 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 ;;
24497 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 ;;
24498 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 ;;
24499 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 ;;
24500 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 ;;
24501 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 ;;
24502 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 ;;
24503 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 ;;
24504 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 ;;
24505 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 ;;
24506 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 ;;
24507 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 ;;
24508 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 ;;
24509 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 ;;
24510 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 ;;
24511 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 ;;
24512 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 ;;
24513 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24514 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24515 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24516 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24517 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 ;;
24518 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 ;;
24519 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 ;;
24520 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24521 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 ;;
24522 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 ;;
24523 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 ;;
24524 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 ;;
24525 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 ;;
24526 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 ;;
24527 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 ;;
24528 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 ;;
24529 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 ;;
24530 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 ;;
24531 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 ;;
24532 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 ;;
24533 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 ;;
24534 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 ;;
24535 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 ;;
24536 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 ;;
24537 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 ;;
24538 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 ;;
24539 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 ;;
24540 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 ;;
24541 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 ;;
24542 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 ;;
24543 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 ;;
24544 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 ;;
24545 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 ;;
24546 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 ;;
24547 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 ;;
24548 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 ;;
24549 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 ;;
24550 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 ;;
24551 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 ;;
24552 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 ;;
24553 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24554 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24555 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24556 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24557 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 ;;
24558 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 ;;
24559 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 ;;
24560 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 ;;
24561 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24562 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24563 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 ;;
24564 test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;;
24565 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 ;;
24566 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 ;;
24567 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 ;;
24568 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24569 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24570 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24571 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24572 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24573 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24574 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24575 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24576 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24577 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24578 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24579 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24580 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
24581 tools/llvm-nm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-nm/Makefile tools/llvm-nm/Makefile ;;
24582 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24583 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24584 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24585 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24586 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24587 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24588 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24589 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24590 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24591 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24596 cat >>$CONFIG_STATUS <<\_ACEOF
24598 { (exit 0); exit 0; }
24600 chmod +x $CONFIG_STATUS
24601 ac_clean_files=$ac_clean_files_save
24604 # configure is writing to config.log, and then calls config.status.
24605 # config.status does its own redirection, appending to config.log.
24606 # Unfortunately, on DOS this fails, as config.log is still kept open
24607 # by configure, so config.status won't be able to write to it; its
24608 # output is simply discarded. So we exec the FD to /dev/null,
24609 # effectively closing config.log, so it can be properly (re)opened and
24610 # appended to by config.status. When coming back to configure, we
24611 # need to make the FD available again.
24612 if test "$no_create" != yes; then
24614 ac_config_status_args=
24615 test "$silent" = yes &&
24616 ac_config_status_args="$ac_config_status_args --quiet"
24618 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24620 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24621 # would make configure fail if this is the last instruction.
24622 $ac_cs_success || { (exit 1); exit 1; }
24626 # CONFIG_SUBDIRS section.
24628 if test "$no_recursion" != yes; then
24630 # Remove --cache-file and --srcdir arguments so they do not pile up.
24631 ac_sub_configure_args=
24633 for ac_arg in $ac_configure_args; do
24634 if test -n "$ac_prev"; then
24639 -cache-file | --cache-file | --cache-fil | --cache-fi \
24640 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
24641 ac_prev=cache_file ;;
24642 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
24643 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
24646 --config-cache | -C)
24648 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
24650 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
24652 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
24654 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
24656 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
24660 # Always prepend --prefix to ensure using the same prefix
24661 # in subdir configurations.
24662 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
24665 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
24667 # Do not complain, so a configure script can configure whichever
24668 # parts of a large source tree are present.
24669 test -d $srcdir/$ac_dir || continue
24671 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
24672 echo "$as_me: configuring in $ac_dir" >&6;}
24673 { if $as_mkdir_p; then
24678 while test ! -d "$as_dir"; do
24679 as_dirs="$as_dir $as_dirs"
24680 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24681 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24682 X"$as_dir" : 'X\(//\)[^/]' \| \
24683 X"$as_dir" : 'X\(//\)$' \| \
24684 X"$as_dir" : 'X\(/\)' \| \
24685 . : '\(.\)' 2>/dev/null ||
24687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24688 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24689 /^X\(\/\/\)$/{ s//\1/; q; }
24690 /^X\(\/\).*/{ s//\1/; q; }
24693 test ! -n "$as_dirs" || mkdir $as_dirs
24694 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24695 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24696 { (exit 1); exit 1; }; }; }
24700 if test "$ac_dir" != .; then
24701 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24702 # A "../" for each directory in $ac_dir_suffix.
24703 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24705 ac_dir_suffix= ac_top_builddir=
24709 .) # No --srcdir option. We are building in place.
24711 if test -z "$ac_top_builddir"; then
24714 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24716 [\\/]* | ?:[\\/]* ) # Absolute path.
24717 ac_srcdir=$srcdir$ac_dir_suffix;
24718 ac_top_srcdir=$srcdir ;;
24719 *) # Relative path.
24720 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24721 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24723 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24725 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24726 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24727 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24728 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24733 # Check for guested configure; otherwise get Cygnus style configure.
24734 if test -f $ac_srcdir/configure.gnu; then
24735 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
24736 elif test -f $ac_srcdir/configure; then
24737 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
24738 elif test -f $ac_srcdir/configure.in; then
24739 ac_sub_configure=$ac_configure
24741 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
24742 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
24746 # The recursion is here.
24747 if test -n "$ac_sub_configure"; then
24748 # Make the cache file name correct relative to the subdirectory.
24749 case $cache_file in
24750 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
24751 *) # Relative path.
24752 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
24755 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
24756 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
24757 # The eval makes quoting arguments work.
24758 eval $ac_sub_configure $ac_sub_configure_args \
24759 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
24760 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
24761 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
24762 { (exit 1); exit 1; }; }