2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for [LLVM] [1.0].
5 # Report bugs to <llvmbugs@cs.uiuc.edu>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236 # We need space, tab and new line, in precisely that order.
246 # Check that we are running under the correct shell.
247 SHELL=${CONFIG_SHELL-/bin/sh}
251 # Remove one level of quotation (which was required for Make).
252 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
257 if test "X$1" = X--no-reexec; then
258 # Discard the --no-reexec flag, and continue.
260 elif test "X$1" = X--fallback-echo; then
261 # Avoid inline document here, it may be left over
263 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
264 # Yippee, $echo works!
267 # Restart under the correct shell.
268 exec $SHELL "$0" --no-reexec ${1+"$@"}
271 if test "X$1" = X--fallback-echo; then
272 # used as fallback echo
280 # The HP-UX ksh and POSIX shell print the target directory to stdout
282 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
284 if test -z "$ECHO"; then
285 if test "X${echo_test_string+set}" != Xset; then
286 # find a string as large as possible, as long as the shell can cope with it
287 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
288 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
289 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
290 echo_test_string="`eval $cmd`" &&
291 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
298 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
299 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
300 test "X$echo_testing_string" = "X$echo_test_string"; then
303 # The Solaris, AIX, and Digital Unix default echo programs unquote
304 # backslashes. This makes it impossible to quote backslashes using
305 # echo "$something" | sed 's/\\/\\\\/g'
307 # So, first we look for a working echo in the user's PATH.
309 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
310 for dir in $PATH /usr/ucb; do
312 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
313 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315 test "X$echo_testing_string" = "X$echo_test_string"; then
322 if test "X$echo" = Xecho; then
323 # We didn't find a better echo, so look for alternatives.
324 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
325 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
327 # This shell has a builtin print -r that does the trick.
329 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
330 test "X$CONFIG_SHELL" != X/bin/ksh; then
331 # If we have ksh, try running configure again with it.
332 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
333 export ORIGINAL_CONFIG_SHELL
334 CONFIG_SHELL=/bin/ksh
336 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
340 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
341 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
342 test "X$echo_testing_string" = "X$echo_test_string"; then
345 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346 test "X$echo_testing_string" = 'X\t' &&
347 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
349 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
351 SHELL="$CONFIG_SHELL"
353 echo="$CONFIG_SHELL $0 --fallback-echo"
354 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 echo="$CONFIG_SHELL $0 --fallback-echo"
360 # maybe with a smaller string...
363 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
371 if test "$prev" != 'sed 50q "$0"'; then
372 echo_test_string=`eval $prev`
373 export echo_test_string
374 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
376 # Oops. We lost completely, so just stick with echo.
385 # Copy echo and quote the copy suitably for passing to libtool from
386 # the Makefile, instead of quoting the original, which is used later.
388 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
395 tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
397 tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
400 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
401 # so uname gets run too.
402 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
409 ac_default_prefix=/usr/local
410 ac_config_libobj_dir=.
415 SHELL=${CONFIG_SHELL-/bin/sh}
417 # Maximum number of lines to put in a shell here document.
418 # This variable seems obsolete. It should probably be removed, and
419 # only ac_max_sed_lines should be used.
420 : ${ac_max_here_lines=38}
422 # Identity of this package.
423 PACKAGE_NAME='[LLVM]'
424 PACKAGE_TARNAME='--llvm--'
425 PACKAGE_VERSION='[1.0]'
426 PACKAGE_STRING='[LLVM] [1.0]'
427 PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'
429 ac_subdirs_all="$ac_subdirs_all projects/reopt"
430 ac_subdirs_all="$ac_subdirs_all projects/poolalloc"
431 # Factoring default headers for most tests.
432 ac_includes_default="\
435 # include <sys/types.h>
438 # include <sys/stat.h>
449 # if !STDC_HEADERS && HAVE_MEMORY_H
455 # include <strings.h>
458 # include <inttypes.h>
468 ac_unique_file=""Makefile.config.in""
469 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS subdirs INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVMGCCDIR ARCH CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT YACC EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RPWD SED RM MKDIR DATE MV DOT ETAGS PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED USE_SPEC UPB DISABLE_LLC_DIFFS JIT SPEC_ROOT BCR PAPIDIR PURIFY LTLIBOBJS'
472 # Initialize some variables set by options.
474 ac_init_version=false
475 # The variables have the same names as the options, with
476 # dashes changed to underlines.
484 program_transform_name=s,x,x,
492 # Installation directory options.
493 # These are left unexpanded so users can "make install exec_prefix=/foo"
494 # and all the variables that are supposed to be based on exec_prefix
495 # by default will actually change.
496 # Use braces instead of parens because sh, perl, etc. also accept them.
497 bindir='${exec_prefix}/bin'
498 sbindir='${exec_prefix}/sbin'
499 libexecdir='${exec_prefix}/libexec'
500 datadir='${prefix}/share'
501 sysconfdir='${prefix}/etc'
502 sharedstatedir='${prefix}/com'
503 localstatedir='${prefix}/var'
504 libdir='${exec_prefix}/lib'
505 includedir='${prefix}/include'
506 oldincludedir='/usr/include'
507 infodir='${prefix}/info'
508 mandir='${prefix}/man'
513 # If the previous option needs an argument, assign it.
514 if test -n "$ac_prev"; then
515 eval "$ac_prev=\$ac_option"
520 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
522 # Accept the important Cygnus configure options, so we can diagnose typos.
526 -bindir | --bindir | --bindi | --bind | --bin | --bi)
528 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
531 -build | --build | --buil | --bui | --bu)
532 ac_prev=build_alias ;;
533 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
534 build_alias=$ac_optarg ;;
536 -cache-file | --cache-file | --cache-fil | --cache-fi \
537 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
538 ac_prev=cache_file ;;
539 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
540 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
541 cache_file=$ac_optarg ;;
544 cache_file=config.cache ;;
546 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
548 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
550 datadir=$ac_optarg ;;
552 -disable-* | --disable-*)
553 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
554 # Reject names that are not valid shell variable names.
555 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
556 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
557 { (exit 1); exit 1; }; }
558 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
559 eval "enable_$ac_feature=no" ;;
561 -enable-* | --enable-*)
562 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
565 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
566 { (exit 1); exit 1; }; }
567 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
569 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
572 eval "enable_$ac_feature='$ac_optarg'" ;;
574 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
575 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
576 | --exec | --exe | --ex)
577 ac_prev=exec_prefix ;;
578 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
579 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
580 | --exec=* | --exe=* | --ex=*)
581 exec_prefix=$ac_optarg ;;
583 -gas | --gas | --ga | --g)
584 # Obsolete; use --with-gas.
587 -help | --help | --hel | --he | -h)
589 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
590 ac_init_help=recursive ;;
591 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
592 ac_init_help=short ;;
594 -host | --host | --hos | --ho)
595 ac_prev=host_alias ;;
596 -host=* | --host=* | --hos=* | --ho=*)
597 host_alias=$ac_optarg ;;
599 -includedir | --includedir | --includedi | --included | --include \
600 | --includ | --inclu | --incl | --inc)
601 ac_prev=includedir ;;
602 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
603 | --includ=* | --inclu=* | --incl=* | --inc=*)
604 includedir=$ac_optarg ;;
606 -infodir | --infodir | --infodi | --infod | --info | --inf)
608 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
609 infodir=$ac_optarg ;;
611 -libdir | --libdir | --libdi | --libd)
613 -libdir=* | --libdir=* | --libdi=* | --libd=*)
616 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
617 | --libexe | --libex | --libe)
618 ac_prev=libexecdir ;;
619 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
620 | --libexe=* | --libex=* | --libe=*)
621 libexecdir=$ac_optarg ;;
623 -localstatedir | --localstatedir | --localstatedi | --localstated \
624 | --localstate | --localstat | --localsta | --localst \
625 | --locals | --local | --loca | --loc | --lo)
626 ac_prev=localstatedir ;;
627 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
628 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
629 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
630 localstatedir=$ac_optarg ;;
632 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
634 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
638 # Obsolete; use --without-fp.
641 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
642 | --no-cr | --no-c | -n)
645 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
646 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
649 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
650 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
651 | --oldin | --oldi | --old | --ol | --o)
652 ac_prev=oldincludedir ;;
653 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
654 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
655 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
656 oldincludedir=$ac_optarg ;;
658 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
660 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
663 -program-prefix | --program-prefix | --program-prefi | --program-pref \
664 | --program-pre | --program-pr | --program-p)
665 ac_prev=program_prefix ;;
666 -program-prefix=* | --program-prefix=* | --program-prefi=* \
667 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
668 program_prefix=$ac_optarg ;;
670 -program-suffix | --program-suffix | --program-suffi | --program-suff \
671 | --program-suf | --program-su | --program-s)
672 ac_prev=program_suffix ;;
673 -program-suffix=* | --program-suffix=* | --program-suffi=* \
674 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
675 program_suffix=$ac_optarg ;;
677 -program-transform-name | --program-transform-name \
678 | --program-transform-nam | --program-transform-na \
679 | --program-transform-n | --program-transform- \
680 | --program-transform | --program-transfor \
681 | --program-transfo | --program-transf \
682 | --program-trans | --program-tran \
683 | --progr-tra | --program-tr | --program-t)
684 ac_prev=program_transform_name ;;
685 -program-transform-name=* | --program-transform-name=* \
686 | --program-transform-nam=* | --program-transform-na=* \
687 | --program-transform-n=* | --program-transform-=* \
688 | --program-transform=* | --program-transfor=* \
689 | --program-transfo=* | --program-transf=* \
690 | --program-trans=* | --program-tran=* \
691 | --progr-tra=* | --program-tr=* | --program-t=*)
692 program_transform_name=$ac_optarg ;;
694 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
695 | -silent | --silent | --silen | --sile | --sil)
698 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
700 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
702 sbindir=$ac_optarg ;;
704 -sharedstatedir | --sharedstatedir | --sharedstatedi \
705 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
706 | --sharedst | --shareds | --shared | --share | --shar \
708 ac_prev=sharedstatedir ;;
709 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
710 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
711 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
713 sharedstatedir=$ac_optarg ;;
715 -site | --site | --sit)
717 -site=* | --site=* | --sit=*)
720 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
722 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
725 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
726 | --syscon | --sysco | --sysc | --sys | --sy)
727 ac_prev=sysconfdir ;;
728 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
729 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
730 sysconfdir=$ac_optarg ;;
732 -target | --target | --targe | --targ | --tar | --ta | --t)
733 ac_prev=target_alias ;;
734 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
735 target_alias=$ac_optarg ;;
737 -v | -verbose | --verbose | --verbos | --verbo | --verb)
740 -version | --version | --versio | --versi | --vers | -V)
744 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
745 # Reject names that are not valid shell variable names.
746 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
747 { echo "$as_me: error: invalid package name: $ac_package" >&2
748 { (exit 1); exit 1; }; }
749 ac_package=`echo $ac_package| sed 's/-/_/g'`
751 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
754 eval "with_$ac_package='$ac_optarg'" ;;
756 -without-* | --without-*)
757 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
758 # Reject names that are not valid shell variable names.
759 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
760 { echo "$as_me: error: invalid package name: $ac_package" >&2
761 { (exit 1); exit 1; }; }
762 ac_package=`echo $ac_package | sed 's/-/_/g'`
763 eval "with_$ac_package=no" ;;
766 # Obsolete; use --with-x.
769 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
770 | --x-incl | --x-inc | --x-in | --x-i)
771 ac_prev=x_includes ;;
772 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
773 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
774 x_includes=$ac_optarg ;;
776 -x-libraries | --x-libraries | --x-librarie | --x-librari \
777 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
778 ac_prev=x_libraries ;;
779 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
780 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
781 x_libraries=$ac_optarg ;;
783 -*) { echo "$as_me: error: unrecognized option: $ac_option
784 Try \`$0 --help' for more information." >&2
785 { (exit 1); exit 1; }; }
789 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
792 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
793 { (exit 1); exit 1; }; }
794 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
795 eval "$ac_envvar='$ac_optarg'"
799 # FIXME: should be removed in autoconf 3.0.
800 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
801 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
802 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
803 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
809 if test -n "$ac_prev"; then
810 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
811 { echo "$as_me: error: missing argument to $ac_option" >&2
812 { (exit 1); exit 1; }; }
815 # Be sure to have absolute paths.
816 for ac_var in exec_prefix prefix
818 eval ac_val=$`echo $ac_var`
820 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
821 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
822 { (exit 1); exit 1; }; };;
826 # Be sure to have absolute paths.
827 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
828 localstatedir libdir includedir oldincludedir infodir mandir
830 eval ac_val=$`echo $ac_var`
832 [\\/$]* | ?:[\\/]* ) ;;
833 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
834 { (exit 1); exit 1; }; };;
838 # There might be people who depend on the old broken behavior: `$host'
839 # used to hold the argument of --host etc.
840 # FIXME: To remove some day.
845 # FIXME: To remove some day.
846 if test "x$host_alias" != x; then
847 if test "x$build_alias" = x; then
848 cross_compiling=maybe
849 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
850 If a cross compiler is detected then cross compile mode will be used." >&2
851 elif test "x$build_alias" != "x$host_alias"; then
857 test -n "$host_alias" && ac_tool_prefix=$host_alias-
859 test "$silent" = yes && exec 6>/dev/null
862 # Find the source files, if location was not specified.
863 if test -z "$srcdir"; then
864 ac_srcdir_defaulted=yes
865 # Try the directory containing this script, then its parent.
866 ac_confdir=`(dirname "$0") 2>/dev/null ||
867 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
868 X"$0" : 'X\(//\)[^/]' \| \
869 X"$0" : 'X\(//\)$' \| \
870 X"$0" : 'X\(/\)' \| \
871 . : '\(.\)' 2>/dev/null ||
873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
874 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
875 /^X\(\/\/\)$/{ s//\1/; q; }
876 /^X\(\/\).*/{ s//\1/; q; }
879 if test ! -r $srcdir/$ac_unique_file; then
883 ac_srcdir_defaulted=no
885 if test ! -r $srcdir/$ac_unique_file; then
886 if test "$ac_srcdir_defaulted" = yes; then
887 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
888 { (exit 1); exit 1; }; }
890 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
891 { (exit 1); exit 1; }; }
894 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
895 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
896 { (exit 1); exit 1; }; }
897 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
898 ac_env_build_alias_set=${build_alias+set}
899 ac_env_build_alias_value=$build_alias
900 ac_cv_env_build_alias_set=${build_alias+set}
901 ac_cv_env_build_alias_value=$build_alias
902 ac_env_host_alias_set=${host_alias+set}
903 ac_env_host_alias_value=$host_alias
904 ac_cv_env_host_alias_set=${host_alias+set}
905 ac_cv_env_host_alias_value=$host_alias
906 ac_env_target_alias_set=${target_alias+set}
907 ac_env_target_alias_value=$target_alias
908 ac_cv_env_target_alias_set=${target_alias+set}
909 ac_cv_env_target_alias_value=$target_alias
910 ac_env_CXX_set=${CXX+set}
911 ac_env_CXX_value=$CXX
912 ac_cv_env_CXX_set=${CXX+set}
913 ac_cv_env_CXX_value=$CXX
914 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_env_CXXFLAGS_value=$CXXFLAGS
916 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
917 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
923 ac_env_CPPFLAGS_value=$CPPFLAGS
924 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
925 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
926 ac_env_CC_set=${CC+set}
928 ac_cv_env_CC_set=${CC+set}
929 ac_cv_env_CC_value=$CC
930 ac_env_CFLAGS_set=${CFLAGS+set}
931 ac_env_CFLAGS_value=$CFLAGS
932 ac_cv_env_CFLAGS_set=${CFLAGS+set}
933 ac_cv_env_CFLAGS_value=$CFLAGS
934 ac_env_CPP_set=${CPP+set}
935 ac_env_CPP_value=$CPP
936 ac_cv_env_CPP_set=${CPP+set}
937 ac_cv_env_CPP_value=$CPP
938 ac_env_CXXCPP_set=${CXXCPP+set}
939 ac_env_CXXCPP_value=$CXXCPP
940 ac_cv_env_CXXCPP_set=${CXXCPP+set}
941 ac_cv_env_CXXCPP_value=$CXXCPP
942 ac_env_F77_set=${F77+set}
943 ac_env_F77_value=$F77
944 ac_cv_env_F77_set=${F77+set}
945 ac_cv_env_F77_value=$F77
946 ac_env_FFLAGS_set=${FFLAGS+set}
947 ac_env_FFLAGS_value=$FFLAGS
948 ac_cv_env_FFLAGS_set=${FFLAGS+set}
949 ac_cv_env_FFLAGS_value=$FFLAGS
952 # Report the --help message.
954 if test "$ac_init_help" = "long"; then
955 # Omit some internal or obsolete options to make the list less imposing.
956 # This message is too long to be a string in the A/UX 3.1 sh.
958 \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems.
960 Usage: $0 [OPTION]... [VAR=VALUE]...
962 To assign environment variables (e.g., CC, CFLAGS...), specify them as
963 VAR=VALUE. See below for descriptions of some of the useful variables.
965 Defaults for the options are specified in brackets.
968 -h, --help display this help and exit
969 --help=short display options specific to this package
970 --help=recursive display the short help of all the included packages
971 -V, --version display version information and exit
972 -q, --quiet, --silent do not print \`checking...' messages
973 --cache-file=FILE cache test results in FILE [disabled]
974 -C, --config-cache alias for \`--cache-file=config.cache'
975 -n, --no-create do not create output files
976 --srcdir=DIR find the sources in DIR [configure dir or \`..']
981 Installation directories:
982 --prefix=PREFIX install architecture-independent files in PREFIX
984 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
987 By default, \`make install' will install all the files in
988 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
989 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
990 for instance \`--prefix=\$HOME'.
992 For better control, use the options below.
994 Fine tuning of the installation directories:
995 --bindir=DIR user executables [EPREFIX/bin]
996 --sbindir=DIR system admin executables [EPREFIX/sbin]
997 --libexecdir=DIR program executables [EPREFIX/libexec]
998 --datadir=DIR read-only architecture-independent data [PREFIX/share]
999 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1000 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1001 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1002 --libdir=DIR object code libraries [EPREFIX/lib]
1003 --includedir=DIR C header files [PREFIX/include]
1004 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1005 --infodir=DIR info documentation [PREFIX/info]
1006 --mandir=DIR man documentation [PREFIX/man]
1012 --build=BUILD configure for building on BUILD [guessed]
1013 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1014 --target=TARGET configure for building compilers for TARGET [HOST]
1018 if test -n "$ac_init_help"; then
1019 case $ac_init_help in
1020 short | recursive ) echo "Configuration of [LLVM] [1.0]:";;
1025 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1026 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1027 --enable-shared[=PKGS]
1028 build shared libraries [default=yes]
1029 --enable-static[=PKGS]
1030 build static libraries [default=yes]
1031 --enable-fast-install[=PKGS]
1032 optimize for fast installation [default=yes]
1033 --disable-libtool-lock avoid locking (might break parallel builds)
1034 --enable-purify Compile with purify (default is NO)
1035 --enable-optimized Compile with optimizations enabled (default is NO)
1036 --enable-spec Compile SPEC benchmarks (default is NO)
1037 --enable-precompiled_bytecode
1038 Use pre-compiled bytecode (default is NO)
1039 --enable-llc_diffs Enable LLC Diffs when testing (default is YES)
1040 --enable-jit Enable Just In Time Compiling (default is YES)
1043 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1044 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1045 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1046 --with-pic try to use only PIC/non-PIC objects [default=use
1049 include additional configurations [automatic]
1050 --with-spec Location of SPEC benchmarks
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/reopt
1528 subdirs="$subdirs projects/reopt"
1532 if test -d ${srcdir}/projects/poolalloc
1536 subdirs="$subdirs projects/poolalloc"
1540 ac_config_headers="$ac_config_headers include/Config/config.h"
1542 ac_config_commands="$ac_config_commands Makefile"
1545 ac_config_commands="$ac_config_commands Makefile.common"
1548 ac_config_commands="$ac_config_commands Makefile.rules"
1551 ac_config_commands="$ac_config_commands lib/Makefile"
1554 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1557 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1560 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1563 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1566 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1569 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1572 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1575 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1578 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1581 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1584 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1587 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1590 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1593 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1596 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1599 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1602 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1605 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1608 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1611 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1614 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1617 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1620 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1623 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1626 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1629 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1632 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1635 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1638 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1641 ac_config_commands="$ac_config_commands runtime/Makefile"
1644 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1647 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1650 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1653 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1656 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1659 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1662 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1665 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1668 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1671 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1674 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1677 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1680 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1683 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1686 ac_config_commands="$ac_config_commands test/Makefile"
1689 ac_config_commands="$ac_config_commands test/Makefile.tests"
1692 ac_config_commands="$ac_config_commands test/QMTestDB/QMTest/llvm.py"
1695 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1698 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1701 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1704 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1707 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1710 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1713 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1716 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1719 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1722 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1725 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1728 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1731 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1734 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1737 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1740 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1743 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1746 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1749 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1752 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1755 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1758 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1761 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1764 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1767 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1770 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1773 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1776 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1779 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1782 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1785 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1788 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1791 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1794 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1797 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1800 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1803 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1806 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1809 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1812 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1815 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1818 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1821 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1824 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1827 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1830 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1833 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1836 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1839 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1842 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1845 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1848 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1851 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1854 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1857 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1860 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1863 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1866 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1869 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1872 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1875 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1878 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1881 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1884 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1887 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1890 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1893 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1896 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1899 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1902 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1905 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1908 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1911 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1914 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1917 ac_config_commands="$ac_config_commands test/Programs/NoSource/Makefile"
1920 ac_config_commands="$ac_config_commands test/Programs/NoSource/Flex/Makefile"
1923 ac_config_commands="$ac_config_commands test/Programs/NoSource/Larn/Makefile"
1926 ac_config_commands="$ac_config_commands test/Programs/NoSource/Moria-5.5.2/Makefile"
1929 ac_config_commands="$ac_config_commands test/Programs/NoSource/Povray31/Makefile"
1932 ac_config_commands="$ac_config_commands test/Programs/NoSource/m4/Makefile"
1935 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1938 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1941 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1944 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1947 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1950 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1953 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1956 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1959 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1962 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1965 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
1968 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/Makefile"
1971 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C/Makefile"
1974 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/Makefile"
1977 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/EH/Makefile"
1980 ac_config_commands="$ac_config_commands tools/Makefile"
1983 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1986 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1989 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1992 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1995 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1998 ac_config_commands="$ac_config_commands tools/llc/Makefile"
2001 ac_config_commands="$ac_config_commands tools/llee/Makefile"
2004 ac_config_commands="$ac_config_commands tools/lli/Makefile"
2007 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
2010 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
2013 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
2016 ac_config_commands="$ac_config_commands tools/llvm-link/Makefile"
2019 ac_config_commands="$ac_config_commands tools/opt/Makefile"
2022 ac_config_commands="$ac_config_commands www/docs/Makefile"
2025 ac_config_commands="$ac_config_commands projects/Makefile"
2028 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2031 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2034 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2037 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2040 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2043 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2046 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2049 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2052 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2055 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2058 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2061 ac_config_commands="$ac_config_commands lib/Support/Makefile"
2064 ac_config_commands="$ac_config_commands utils/Makefile"
2067 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
2070 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
2073 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
2078 # Find a good install program. We prefer a C program (faster),
2079 # so one script is as good as another. But avoid the broken or
2080 # incompatible versions:
2081 # SysV /etc/install, /usr/sbin/install
2082 # SunOS /usr/etc/install
2083 # IRIX /sbin/install
2085 # AmigaOS /C/install, which installs bootblocks on floppy discs
2086 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2087 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2088 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2089 # ./install, which can be erroneously created by make from ./install.sh.
2090 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2091 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2092 if test -z "$INSTALL"; then
2093 if test "${ac_cv_path_install+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100 test -z "$as_dir" && as_dir=.
2101 # Account for people who put trailing slashes in PATH elements.
2103 ./ | .// | /cC/* | \
2104 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2107 # OSF1 and SCO ODT 3.0 have their own names for install.
2108 # Don't use installbsd from OSF since it installs stuff as root
2110 for ac_prog in ginstall scoinst install; do
2111 for ac_exec_ext in '' $ac_executable_extensions; do
2112 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2113 if test $ac_prog = install &&
2114 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2115 # AIX install. It has an incompatible calling convention.
2117 elif test $ac_prog = install &&
2118 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2119 # program-specific install script used by HP pwplus--don't use.
2122 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2134 if test "${ac_cv_path_install+set}" = set; then
2135 INSTALL=$ac_cv_path_install
2137 # As a last resort, use the slow shell script. We don't cache a
2138 # path for INSTALL within a source directory, because that will
2139 # break other packages using the cache if that directory is
2140 # removed, or if the path is relative.
2141 INSTALL=$ac_install_sh
2144 echo "$as_me:$LINENO: result: $INSTALL" >&5
2145 echo "${ECHO_T}$INSTALL" >&6
2147 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2148 # It thinks the first close brace ends the variable substitution.
2149 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2151 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2153 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2156 # Make sure we can run config.sub.
2157 $ac_config_sub sun4 >/dev/null 2>&1 ||
2158 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2159 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2160 { (exit 1); exit 1; }; }
2162 echo "$as_me:$LINENO: checking build system type" >&5
2163 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2164 if test "${ac_cv_build+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6
2167 ac_cv_build_alias=$build_alias
2168 test -z "$ac_cv_build_alias" &&
2169 ac_cv_build_alias=`$ac_config_guess`
2170 test -z "$ac_cv_build_alias" &&
2171 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2172 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2173 { (exit 1); exit 1; }; }
2174 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2175 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2176 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2177 { (exit 1); exit 1; }; }
2180 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2181 echo "${ECHO_T}$ac_cv_build" >&6
2183 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2184 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2185 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2188 echo "$as_me:$LINENO: checking host system type" >&5
2189 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2190 if test "${ac_cv_host+set}" = set; then
2191 echo $ECHO_N "(cached) $ECHO_C" >&6
2193 ac_cv_host_alias=$host_alias
2194 test -z "$ac_cv_host_alias" &&
2195 ac_cv_host_alias=$ac_cv_build_alias
2196 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2197 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2198 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2199 { (exit 1); exit 1; }; }
2202 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2203 echo "${ECHO_T}$ac_cv_host" >&6
2205 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2206 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2207 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2210 echo "$as_me:$LINENO: checking target system type" >&5
2211 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2212 if test "${ac_cv_target+set}" = set; then
2213 echo $ECHO_N "(cached) $ECHO_C" >&6
2215 ac_cv_target_alias=$target_alias
2216 test "x$ac_cv_target_alias" = "x" &&
2217 ac_cv_target_alias=$ac_cv_host_alias
2218 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2219 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2220 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2221 { (exit 1); exit 1; }; }
2224 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2225 echo "${ECHO_T}$ac_cv_target" >&6
2226 target=$ac_cv_target
2227 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2228 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2229 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2232 # The aliases save the names the user supplied, while $host etc.
2233 # will get canonicalized.
2234 test -n "$target_alias" &&
2235 test "$program_prefix$program_suffix$program_transform_name" = \
2237 program_prefix=${target_alias}-
2242 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2248 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2258 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2267 *sparc*solaris*) ARCH=Sparc
2274 ac_cpp='$CXXCPP $CPPFLAGS'
2275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2278 if test -n "$ac_tool_prefix"; then
2279 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2281 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2282 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2283 echo "$as_me:$LINENO: checking for $ac_word" >&5
2284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2285 if test "${ac_cv_prog_CXX+set}" = set; then
2286 echo $ECHO_N "(cached) $ECHO_C" >&6
2288 if test -n "$CXX"; then
2289 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2295 test -z "$as_dir" && as_dir=.
2296 for ac_exec_ext in '' $ac_executable_extensions; do
2297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2298 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2308 if test -n "$CXX"; then
2309 echo "$as_me:$LINENO: result: $CXX" >&5
2310 echo "${ECHO_T}$CXX" >&6
2312 echo "$as_me:$LINENO: result: no" >&5
2313 echo "${ECHO_T}no" >&6
2316 test -n "$CXX" && break
2319 if test -z "$CXX"; then
2321 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2323 # Extract the first word of "$ac_prog", so it can be a program name with args.
2324 set dummy $ac_prog; ac_word=$2
2325 echo "$as_me:$LINENO: checking for $ac_word" >&5
2326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2327 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2328 echo $ECHO_N "(cached) $ECHO_C" >&6
2330 if test -n "$ac_ct_CXX"; then
2331 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2337 test -z "$as_dir" && as_dir=.
2338 for ac_exec_ext in '' $ac_executable_extensions; do
2339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2340 ac_cv_prog_ac_ct_CXX="$ac_prog"
2341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2349 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2350 if test -n "$ac_ct_CXX"; then
2351 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2352 echo "${ECHO_T}$ac_ct_CXX" >&6
2354 echo "$as_me:$LINENO: result: no" >&5
2355 echo "${ECHO_T}no" >&6
2358 test -n "$ac_ct_CXX" && break
2360 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2366 # Provide some information about the compiler.
2367 echo "$as_me:$LINENO:" \
2368 "checking for C++ compiler version" >&5
2369 ac_compiler=`set X $ac_compile; echo $2`
2370 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2371 (eval $ac_compiler --version </dev/null >&5) 2>&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }
2375 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2376 (eval $ac_compiler -v </dev/null >&5) 2>&5
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); }
2380 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2381 (eval $ac_compiler -V </dev/null >&5) 2>&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }
2386 cat >conftest.$ac_ext <<_ACEOF
2387 #line $LINENO "configure"
2390 cat confdefs.h >>conftest.$ac_ext
2391 cat >>conftest.$ac_ext <<_ACEOF
2392 /* end confdefs.h. */
2402 ac_clean_files_save=$ac_clean_files
2403 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2404 # Try to create an executable without -o first, disregard a.out.
2405 # It will help us diagnose broken compilers, and finding out an intuition
2407 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2408 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2409 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2410 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2411 (eval $ac_link_default) 2>&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }; then
2415 # Find the output, starting from the most likely. This scheme is
2416 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2419 # Be careful to initialize this variable, since it used to be cached.
2420 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2422 # b.out is created by i960 compilers.
2423 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2425 test -f "$ac_file" || continue
2427 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2430 # This is the source file.
2433 # We found the default executable, but exeext='' is most
2437 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2438 # FIXME: I believe we export ac_cv_exeext for Libtool,
2439 # but it would be cool to find out if it's true. Does anybody
2440 # maintain Libtool? --akim.
2448 echo "$as_me: failed program was:" >&5
2449 sed 's/^/| /' conftest.$ac_ext >&5
2451 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2452 See \`config.log' for more details." >&5
2453 echo "$as_me: error: C++ compiler cannot create executables
2454 See \`config.log' for more details." >&2;}
2455 { (exit 77); exit 77; }; }
2458 ac_exeext=$ac_cv_exeext
2459 echo "$as_me:$LINENO: result: $ac_file" >&5
2460 echo "${ECHO_T}$ac_file" >&6
2462 # Check the compiler produces executables we can run. If not, either
2463 # the compiler is broken, or we cross compile.
2464 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2465 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2466 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2467 # If not cross compiling, check that we can run a simple program.
2468 if test "$cross_compiling" != yes; then
2469 if { ac_try='./$ac_file'
2470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); }; }; then
2477 if test "$cross_compiling" = maybe; then
2480 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2481 If you meant to cross compile, use \`--host'.
2482 See \`config.log' for more details." >&5
2483 echo "$as_me: error: cannot run C++ compiled programs.
2484 If you meant to cross compile, use \`--host'.
2485 See \`config.log' for more details." >&2;}
2486 { (exit 1); exit 1; }; }
2490 echo "$as_me:$LINENO: result: yes" >&5
2491 echo "${ECHO_T}yes" >&6
2493 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2494 ac_clean_files=$ac_clean_files_save
2495 # Check the compiler produces executables we can run. If not, either
2496 # the compiler is broken, or we cross compile.
2497 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2498 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2499 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2500 echo "${ECHO_T}$cross_compiling" >&6
2502 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2503 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2505 (eval $ac_link) 2>&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }; then
2509 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2510 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2511 # work properly (i.e., refer to `conftest.exe'), while it won't with
2513 for ac_file in conftest.exe conftest conftest.*; do
2514 test -f "$ac_file" || continue
2516 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2517 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2524 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2525 See \`config.log' for more details." >&5
2526 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2527 See \`config.log' for more details." >&2;}
2528 { (exit 1); exit 1; }; }
2531 rm -f conftest$ac_cv_exeext
2532 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2533 echo "${ECHO_T}$ac_cv_exeext" >&6
2535 rm -f conftest.$ac_ext
2536 EXEEXT=$ac_cv_exeext
2538 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2539 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2540 if test "${ac_cv_objext+set}" = set; then
2541 echo $ECHO_N "(cached) $ECHO_C" >&6
2543 cat >conftest.$ac_ext <<_ACEOF
2544 #line $LINENO "configure"
2547 cat confdefs.h >>conftest.$ac_ext
2548 cat >>conftest.$ac_ext <<_ACEOF
2549 /* end confdefs.h. */
2559 rm -f conftest.o conftest.obj
2560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2561 (eval $ac_compile) 2>&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }; then
2565 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2567 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2568 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2573 echo "$as_me: failed program was:" >&5
2574 sed 's/^/| /' conftest.$ac_ext >&5
2576 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2577 See \`config.log' for more details." >&5
2578 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2579 See \`config.log' for more details." >&2;}
2580 { (exit 1); exit 1; }; }
2583 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2585 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2586 echo "${ECHO_T}$ac_cv_objext" >&6
2587 OBJEXT=$ac_cv_objext
2589 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2590 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2591 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2592 echo $ECHO_N "(cached) $ECHO_C" >&6
2594 cat >conftest.$ac_ext <<_ACEOF
2595 #line $LINENO "configure"
2598 cat confdefs.h >>conftest.$ac_ext
2599 cat >>conftest.$ac_ext <<_ACEOF
2600 /* end confdefs.h. */
2613 rm -f conftest.$ac_objext
2614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2615 (eval $ac_compile) 2>&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); } &&
2619 { ac_try='test -s conftest.$ac_objext'
2620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }; }; then
2627 echo "$as_me: failed program was:" >&5
2628 sed 's/^/| /' conftest.$ac_ext >&5
2632 rm -f conftest.$ac_objext conftest.$ac_ext
2633 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2636 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2637 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2638 GXX=`test $ac_compiler_gnu = yes && echo yes`
2639 ac_test_CXXFLAGS=${CXXFLAGS+set}
2640 ac_save_CXXFLAGS=$CXXFLAGS
2642 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2643 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2644 if test "${ac_cv_prog_cxx_g+set}" = set; then
2645 echo $ECHO_N "(cached) $ECHO_C" >&6
2647 cat >conftest.$ac_ext <<_ACEOF
2648 #line $LINENO "configure"
2651 cat confdefs.h >>conftest.$ac_ext
2652 cat >>conftest.$ac_ext <<_ACEOF
2653 /* end confdefs.h. */
2663 rm -f conftest.$ac_objext
2664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2665 (eval $ac_compile) 2>&5
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); } &&
2669 { ac_try='test -s conftest.$ac_objext'
2670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); }; }; then
2675 ac_cv_prog_cxx_g=yes
2677 echo "$as_me: failed program was:" >&5
2678 sed 's/^/| /' conftest.$ac_ext >&5
2682 rm -f conftest.$ac_objext conftest.$ac_ext
2684 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2685 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2686 if test "$ac_test_CXXFLAGS" = set; then
2687 CXXFLAGS=$ac_save_CXXFLAGS
2688 elif test $ac_cv_prog_cxx_g = yes; then
2689 if test "$GXX" = yes; then
2695 if test "$GXX" = yes; then
2701 for ac_declaration in \
2703 '#include <stdlib.h>' \
2704 'extern "C" void std::exit (int) throw (); using std::exit;' \
2705 'extern "C" void std::exit (int); using std::exit;' \
2706 'extern "C" void exit (int) throw ();' \
2707 'extern "C" void exit (int);' \
2710 cat >conftest.$ac_ext <<_ACEOF
2711 #line $LINENO "configure"
2714 cat confdefs.h >>conftest.$ac_ext
2715 cat >>conftest.$ac_ext <<_ACEOF
2716 /* end confdefs.h. */
2727 rm -f conftest.$ac_objext
2728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2729 (eval $ac_compile) 2>&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); } &&
2733 { ac_try='test -s conftest.$ac_objext'
2734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); }; }; then
2741 echo "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.$ac_ext >&5
2746 rm -f conftest.$ac_objext conftest.$ac_ext
2747 cat >conftest.$ac_ext <<_ACEOF
2748 #line $LINENO "configure"
2751 cat confdefs.h >>conftest.$ac_ext
2752 cat >>conftest.$ac_ext <<_ACEOF
2753 /* end confdefs.h. */
2763 rm -f conftest.$ac_objext
2764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2765 (eval $ac_compile) 2>&5
2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768 (exit $ac_status); } &&
2769 { ac_try='test -s conftest.$ac_objext'
2770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); }; }; then
2777 echo "$as_me: failed program was:" >&5
2778 sed 's/^/| /' conftest.$ac_ext >&5
2781 rm -f conftest.$ac_objext conftest.$ac_ext
2784 if test -n "$ac_declaration"; then
2785 echo '#ifdef __cplusplus' >>confdefs.h
2786 echo $ac_declaration >>confdefs.h
2787 echo '#endif' >>confdefs.h
2791 ac_cpp='$CPP $CPPFLAGS'
2792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2797 ac_cpp='$CPP $CPPFLAGS'
2798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2801 if test -n "$ac_tool_prefix"; then
2804 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2805 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2806 echo "$as_me:$LINENO: checking for $ac_word" >&5
2807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2808 if test "${ac_cv_prog_CC+set}" = set; then
2809 echo $ECHO_N "(cached) $ECHO_C" >&6
2811 if test -n "$CC"; then
2812 ac_cv_prog_CC="$CC" # Let the user override the test.
2814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2818 test -z "$as_dir" && as_dir=.
2819 for ac_exec_ext in '' $ac_executable_extensions; do
2820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2821 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2831 if test -n "$CC"; then
2832 echo "$as_me:$LINENO: result: $CC" >&5
2833 echo "${ECHO_T}$CC" >&6
2835 echo "$as_me:$LINENO: result: no" >&5
2836 echo "${ECHO_T}no" >&6
2839 test -n "$CC" && break
2842 if test -z "$CC"; then
2846 # Extract the first word of "$ac_prog", so it can be a program name with args.
2847 set dummy $ac_prog; ac_word=$2
2848 echo "$as_me:$LINENO: checking for $ac_word" >&5
2849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2850 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2851 echo $ECHO_N "(cached) $ECHO_C" >&6
2853 if test -n "$ac_ct_CC"; then
2854 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2860 test -z "$as_dir" && as_dir=.
2861 for ac_exec_ext in '' $ac_executable_extensions; do
2862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2863 ac_cv_prog_ac_ct_CC="$ac_prog"
2864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2872 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2873 if test -n "$ac_ct_CC"; then
2874 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2875 echo "${ECHO_T}$ac_ct_CC" >&6
2877 echo "$as_me:$LINENO: result: no" >&5
2878 echo "${ECHO_T}no" >&6
2881 test -n "$ac_ct_CC" && break
2888 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2889 See \`config.log' for more details." >&5
2890 echo "$as_me: error: no acceptable C compiler found in \$PATH
2891 See \`config.log' for more details." >&2;}
2892 { (exit 1); exit 1; }; }
2894 # Provide some information about the compiler.
2895 echo "$as_me:$LINENO:" \
2896 "checking for C compiler version" >&5
2897 ac_compiler=`set X $ac_compile; echo $2`
2898 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2899 (eval $ac_compiler --version </dev/null >&5) 2>&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); }
2903 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2904 (eval $ac_compiler -v </dev/null >&5) 2>&5
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); }
2908 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2909 (eval $ac_compiler -V </dev/null >&5) 2>&5
2911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912 (exit $ac_status); }
2914 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2915 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2916 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2917 echo $ECHO_N "(cached) $ECHO_C" >&6
2919 cat >conftest.$ac_ext <<_ACEOF
2920 #line $LINENO "configure"
2923 cat confdefs.h >>conftest.$ac_ext
2924 cat >>conftest.$ac_ext <<_ACEOF
2925 /* end confdefs.h. */
2938 rm -f conftest.$ac_objext
2939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2940 (eval $ac_compile) 2>&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); } &&
2944 { ac_try='test -s conftest.$ac_objext'
2945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); }; }; then
2952 echo "$as_me: failed program was:" >&5
2953 sed 's/^/| /' conftest.$ac_ext >&5
2957 rm -f conftest.$ac_objext conftest.$ac_ext
2958 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2961 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2962 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2963 GCC=`test $ac_compiler_gnu = yes && echo yes`
2964 ac_test_CFLAGS=${CFLAGS+set}
2965 ac_save_CFLAGS=$CFLAGS
2967 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2968 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2969 if test "${ac_cv_prog_cc_g+set}" = set; then
2970 echo $ECHO_N "(cached) $ECHO_C" >&6
2972 cat >conftest.$ac_ext <<_ACEOF
2973 #line $LINENO "configure"
2976 cat confdefs.h >>conftest.$ac_ext
2977 cat >>conftest.$ac_ext <<_ACEOF
2978 /* end confdefs.h. */
2988 rm -f conftest.$ac_objext
2989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2990 (eval $ac_compile) 2>&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); } &&
2994 { ac_try='test -s conftest.$ac_objext'
2995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); }; }; then
3002 echo "$as_me: failed program was:" >&5
3003 sed 's/^/| /' conftest.$ac_ext >&5
3007 rm -f conftest.$ac_objext conftest.$ac_ext
3009 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3010 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3011 if test "$ac_test_CFLAGS" = set; then
3012 CFLAGS=$ac_save_CFLAGS
3013 elif test $ac_cv_prog_cc_g = yes; then
3014 if test "$GCC" = yes; then
3020 if test "$GCC" = yes; then
3026 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3027 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3028 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3029 echo $ECHO_N "(cached) $ECHO_C" >&6
3031 ac_cv_prog_cc_stdc=no
3033 cat >conftest.$ac_ext <<_ACEOF
3034 #line $LINENO "configure"
3037 cat confdefs.h >>conftest.$ac_ext
3038 cat >>conftest.$ac_ext <<_ACEOF
3039 /* end confdefs.h. */
3042 #include <sys/types.h>
3043 #include <sys/stat.h>
3044 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3045 struct buf { int x; };
3046 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3047 static char *e (p, i)
3053 static char *f (char * (*g) (char **, int), char **p, ...)
3058 s = g (p, va_arg (v,int));
3062 int test (int i, double x);
3063 struct s1 {int (*f) (int a);};
3064 struct s2 {int (*f) (double a);};
3065 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3071 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3076 # Don't try gcc -ansi; that turns off useful extensions and
3077 # breaks some systems' header files.
3078 # AIX -qlanglvl=ansi
3079 # Ultrix and OSF/1 -std1
3080 # HP-UX 10.20 and later -Ae
3081 # HP-UX older versions -Aa -D_HPUX_SOURCE
3082 # SVR4 -Xc -D__EXTENSIONS__
3083 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3085 CC="$ac_save_CC $ac_arg"
3086 rm -f conftest.$ac_objext
3087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3088 (eval $ac_compile) 2>&5
3090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091 (exit $ac_status); } &&
3092 { ac_try='test -s conftest.$ac_objext'
3093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); }; }; then
3098 ac_cv_prog_cc_stdc=$ac_arg
3101 echo "$as_me: failed program was:" >&5
3102 sed 's/^/| /' conftest.$ac_ext >&5
3105 rm -f conftest.$ac_objext
3107 rm -f conftest.$ac_ext conftest.$ac_objext
3112 case "x$ac_cv_prog_cc_stdc" in
3114 echo "$as_me:$LINENO: result: none needed" >&5
3115 echo "${ECHO_T}none needed" >&6 ;;
3117 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3118 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3119 CC="$CC $ac_cv_prog_cc_stdc" ;;
3122 # Some people use a C++ compiler to compile C. Since we use `exit',
3123 # in C++ we need to declare it. In case someone uses the same compiler
3124 # for both compiling C and C++ we need to have the C++ compiler decide
3125 # the declaration of exit, since it's the most demanding environment.
3126 cat >conftest.$ac_ext <<_ACEOF
3131 rm -f conftest.$ac_objext
3132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3133 (eval $ac_compile) 2>&5
3135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136 (exit $ac_status); } &&
3137 { ac_try='test -s conftest.$ac_objext'
3138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); }; }; then
3143 for ac_declaration in \
3145 '#include <stdlib.h>' \
3146 'extern "C" void std::exit (int) throw (); using std::exit;' \
3147 'extern "C" void std::exit (int); using std::exit;' \
3148 'extern "C" void exit (int) throw ();' \
3149 'extern "C" void exit (int);' \
3152 cat >conftest.$ac_ext <<_ACEOF
3153 #line $LINENO "configure"
3156 cat confdefs.h >>conftest.$ac_ext
3157 cat >>conftest.$ac_ext <<_ACEOF
3158 /* end confdefs.h. */
3169 rm -f conftest.$ac_objext
3170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3171 (eval $ac_compile) 2>&5
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); } &&
3175 { ac_try='test -s conftest.$ac_objext'
3176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180 (exit $ac_status); }; }; then
3183 echo "$as_me: failed program was:" >&5
3184 sed 's/^/| /' conftest.$ac_ext >&5
3188 rm -f conftest.$ac_objext conftest.$ac_ext
3189 cat >conftest.$ac_ext <<_ACEOF
3190 #line $LINENO "configure"
3193 cat confdefs.h >>conftest.$ac_ext
3194 cat >>conftest.$ac_ext <<_ACEOF
3195 /* end confdefs.h. */
3205 rm -f conftest.$ac_objext
3206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3207 (eval $ac_compile) 2>&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } &&
3211 { ac_try='test -s conftest.$ac_objext'
3212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); }; }; then
3219 echo "$as_me: failed program was:" >&5
3220 sed 's/^/| /' conftest.$ac_ext >&5
3223 rm -f conftest.$ac_objext conftest.$ac_ext
3226 if test -n "$ac_declaration"; then
3227 echo '#ifdef __cplusplus' >>confdefs.h
3228 echo $ac_declaration >>confdefs.h
3229 echo '#endif' >>confdefs.h
3233 echo "$as_me: failed program was:" >&5
3234 sed 's/^/| /' conftest.$ac_ext >&5
3237 rm -f conftest.$ac_objext conftest.$ac_ext
3239 ac_cpp='$CPP $CPPFLAGS'
3240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3245 ac_cpp='$CPP $CPPFLAGS'
3246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3249 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3250 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3251 # On Suns, sometimes $CPP names a directory.
3252 if test -n "$CPP" && test -d "$CPP"; then
3255 if test -z "$CPP"; then
3256 if test "${ac_cv_prog_CPP+set}" = set; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6
3259 # Double quotes because CPP needs to be expanded
3260 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3263 for ac_c_preproc_warn_flag in '' yes
3265 # Use a header file that comes with gcc, so configuring glibc
3266 # with a fresh cross-compiler works.
3267 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3268 # <limits.h> exists even on freestanding compilers.
3269 # On the NeXT, cc -E runs the code through the compiler's parser,
3270 # not just through cpp. "Syntax error" is here to catch this case.
3271 cat >conftest.$ac_ext <<_ACEOF
3272 #line $LINENO "configure"
3275 cat confdefs.h >>conftest.$ac_ext
3276 cat >>conftest.$ac_ext <<_ACEOF
3277 /* end confdefs.h. */
3279 # include <limits.h>
3281 # include <assert.h>
3285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3286 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3288 grep -v '^ *+' conftest.er1 >conftest.err
3290 cat conftest.err >&5
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 (exit $ac_status); } >/dev/null; then
3293 if test -s conftest.err; then
3294 ac_cpp_err=$ac_c_preproc_warn_flag
3301 if test -z "$ac_cpp_err"; then
3304 echo "$as_me: failed program was:" >&5
3305 sed 's/^/| /' conftest.$ac_ext >&5
3307 # Broken: fails on valid input.
3310 rm -f conftest.err conftest.$ac_ext
3312 # OK, works on sane cases. Now check whether non-existent headers
3313 # can be detected and how.
3314 cat >conftest.$ac_ext <<_ACEOF
3315 #line $LINENO "configure"
3318 cat confdefs.h >>conftest.$ac_ext
3319 cat >>conftest.$ac_ext <<_ACEOF
3320 /* end confdefs.h. */
3321 #include <ac_nonexistent.h>
3323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3324 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3326 grep -v '^ *+' conftest.er1 >conftest.err
3328 cat conftest.err >&5
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); } >/dev/null; then
3331 if test -s conftest.err; then
3332 ac_cpp_err=$ac_c_preproc_warn_flag
3339 if test -z "$ac_cpp_err"; then
3340 # Broken: success on invalid input.
3343 echo "$as_me: failed program was:" >&5
3344 sed 's/^/| /' conftest.$ac_ext >&5
3346 # Passes both tests.
3350 rm -f conftest.err conftest.$ac_ext
3353 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3354 rm -f conftest.err conftest.$ac_ext
3355 if $ac_preproc_ok; then
3367 echo "$as_me:$LINENO: result: $CPP" >&5
3368 echo "${ECHO_T}$CPP" >&6
3370 for ac_c_preproc_warn_flag in '' yes
3372 # Use a header file that comes with gcc, so configuring glibc
3373 # with a fresh cross-compiler works.
3374 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3375 # <limits.h> exists even on freestanding compilers.
3376 # On the NeXT, cc -E runs the code through the compiler's parser,
3377 # not just through cpp. "Syntax error" is here to catch this case.
3378 cat >conftest.$ac_ext <<_ACEOF
3379 #line $LINENO "configure"
3382 cat confdefs.h >>conftest.$ac_ext
3383 cat >>conftest.$ac_ext <<_ACEOF
3384 /* end confdefs.h. */
3386 # include <limits.h>
3388 # include <assert.h>
3392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3395 grep -v '^ *+' conftest.er1 >conftest.err
3397 cat conftest.err >&5
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); } >/dev/null; then
3400 if test -s conftest.err; then
3401 ac_cpp_err=$ac_c_preproc_warn_flag
3408 if test -z "$ac_cpp_err"; then
3411 echo "$as_me: failed program was:" >&5
3412 sed 's/^/| /' conftest.$ac_ext >&5
3414 # Broken: fails on valid input.
3417 rm -f conftest.err conftest.$ac_ext
3419 # OK, works on sane cases. Now check whether non-existent headers
3420 # can be detected and how.
3421 cat >conftest.$ac_ext <<_ACEOF
3422 #line $LINENO "configure"
3425 cat confdefs.h >>conftest.$ac_ext
3426 cat >>conftest.$ac_ext <<_ACEOF
3427 /* end confdefs.h. */
3428 #include <ac_nonexistent.h>
3430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3431 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3433 grep -v '^ *+' conftest.er1 >conftest.err
3435 cat conftest.err >&5
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); } >/dev/null; then
3438 if test -s conftest.err; then
3439 ac_cpp_err=$ac_c_preproc_warn_flag
3446 if test -z "$ac_cpp_err"; then
3447 # Broken: success on invalid input.
3450 echo "$as_me: failed program was:" >&5
3451 sed 's/^/| /' conftest.$ac_ext >&5
3453 # Passes both tests.
3457 rm -f conftest.err conftest.$ac_ext
3460 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3461 rm -f conftest.err conftest.$ac_ext
3462 if $ac_preproc_ok; then
3465 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3466 See \`config.log' for more details." >&5
3467 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3468 See \`config.log' for more details." >&2;}
3469 { (exit 1); exit 1; }; }
3473 ac_cpp='$CPP $CPPFLAGS'
3474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3479 if test "$GCC" != "yes"
3481 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3482 echo "$as_me: error: gcc required but not found" >&2;}
3483 { (exit 1); exit 1; }; }
3486 if test "$GXX" != "yes"
3488 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3489 echo "$as_me: error: g++ required but not found" >&2;}
3490 { (exit 1); exit 1; }; }
3493 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3494 if test "$gccmajor" -lt "3"
3496 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3497 echo "$as_me: error: gcc 3.x required" >&2;}
3498 { (exit 1); exit 1; }; }
3501 echo "$as_me:$LINENO: checking for GNU make" >&5
3502 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3503 if test "${_cv_gnu_make_command+set}" = set; then
3504 echo $ECHO_N "(cached) $ECHO_C" >&6
3506 _cv_gnu_make_command='' ;
3507 for a in "$MAKE" make gmake gnumake ; do
3508 if test -z "$a" ; then continue ; fi ;
3509 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3510 _cv_gnu_make_command=$a ;
3516 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3517 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3518 if test "x$_cv_gnu_make_command" != "x" ; then
3522 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3523 echo "${ECHO_T}\"Not found\"" >&6;
3527 if test -z "$_cv_gnu_make_command"
3529 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3530 echo "$as_me: error: GNU Make required but not found" >&2;}
3531 { (exit 1); exit 1; }; }
3535 echo "$as_me:$LINENO: checking " >&5
3536 echo $ECHO_N "checking ... $ECHO_C" >&6
3537 if test "${ac_cv_has_flex+set}" = set; then
3538 echo $ECHO_N "(cached) $ECHO_C" >&6
3540 for ac_prog in flex lex
3542 # Extract the first word of "$ac_prog", so it can be a program name with args.
3543 set dummy $ac_prog; ac_word=$2
3544 echo "$as_me:$LINENO: checking for $ac_word" >&5
3545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3546 if test "${ac_cv_prog_LEX+set}" = set; then
3547 echo $ECHO_N "(cached) $ECHO_C" >&6
3549 if test -n "$LEX"; then
3550 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3556 test -z "$as_dir" && as_dir=.
3557 for ac_exec_ext in '' $ac_executable_extensions; do
3558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3559 ac_cv_prog_LEX="$ac_prog"
3560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3569 if test -n "$LEX"; then
3570 echo "$as_me:$LINENO: result: $LEX" >&5
3571 echo "${ECHO_T}$LEX" >&6
3573 echo "$as_me:$LINENO: result: no" >&5
3574 echo "${ECHO_T}no" >&6
3577 test -n "$LEX" && break
3579 test -n "$LEX" || LEX=":"
3581 if test -z "$LEXLIB"
3583 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3584 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3585 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3586 echo $ECHO_N "(cached) $ECHO_C" >&6
3588 ac_check_lib_save_LIBS=$LIBS
3590 cat >conftest.$ac_ext <<_ACEOF
3591 #line $LINENO "configure"
3594 cat confdefs.h >>conftest.$ac_ext
3595 cat >>conftest.$ac_ext <<_ACEOF
3596 /* end confdefs.h. */
3598 /* Override any gcc2 internal prototype to avoid an error. */
3602 /* We use char because int might match the return type of a gcc2
3603 builtin and then its argument prototype would still apply. */
3613 rm -f conftest.$ac_objext conftest$ac_exeext
3614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3615 (eval $ac_link) 2>&5
3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); } &&
3619 { ac_try='test -s conftest$ac_exeext'
3620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); }; }; then
3625 ac_cv_lib_fl_yywrap=yes
3627 echo "$as_me: failed program was:" >&5
3628 sed 's/^/| /' conftest.$ac_ext >&5
3630 ac_cv_lib_fl_yywrap=no
3632 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3633 LIBS=$ac_check_lib_save_LIBS
3635 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3636 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3637 if test $ac_cv_lib_fl_yywrap = yes; then
3640 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3641 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3642 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3643 echo $ECHO_N "(cached) $ECHO_C" >&6
3645 ac_check_lib_save_LIBS=$LIBS
3647 cat >conftest.$ac_ext <<_ACEOF
3648 #line $LINENO "configure"
3651 cat confdefs.h >>conftest.$ac_ext
3652 cat >>conftest.$ac_ext <<_ACEOF
3653 /* end confdefs.h. */
3655 /* Override any gcc2 internal prototype to avoid an error. */
3659 /* We use char because int might match the return type of a gcc2
3660 builtin and then its argument prototype would still apply. */
3670 rm -f conftest.$ac_objext conftest$ac_exeext
3671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3672 (eval $ac_link) 2>&5
3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675 (exit $ac_status); } &&
3676 { ac_try='test -s conftest$ac_exeext'
3677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); }; }; then
3682 ac_cv_lib_l_yywrap=yes
3684 echo "$as_me: failed program was:" >&5
3685 sed 's/^/| /' conftest.$ac_ext >&5
3687 ac_cv_lib_l_yywrap=no
3689 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3690 LIBS=$ac_check_lib_save_LIBS
3692 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3693 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3694 if test $ac_cv_lib_l_yywrap = yes; then
3702 if test "x$LEX" != "x:"; then
3703 echo "$as_me:$LINENO: checking lex output file root" >&5
3704 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3705 if test "${ac_cv_prog_lex_root+set}" = set; then
3706 echo $ECHO_N "(cached) $ECHO_C" >&6
3708 # The minimal lex program is just a single line: %%. But some broken lexes
3709 # (Solaris, I think it was) want two %% lines, so accommodate them.
3710 cat >conftest.l <<_ACEOF
3714 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3715 (eval $LEX conftest.l) 2>&5
3717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718 (exit $ac_status); }
3719 if test -f lex.yy.c; then
3720 ac_cv_prog_lex_root=lex.yy
3721 elif test -f lexyy.c; then
3722 ac_cv_prog_lex_root=lexyy
3724 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3725 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3726 { (exit 1); exit 1; }; }
3729 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3730 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3732 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3734 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3735 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3736 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3739 # POSIX says lex can declare yytext either as a pointer or an array; the
3740 # default is implementation-dependent. Figure out which it is, since
3741 # not all implementations provide the %pointer and %array declarations.
3742 ac_cv_prog_lex_yytext_pointer=no
3743 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3745 LIBS="$LIBS $LEXLIB"
3746 cat >conftest.$ac_ext <<_ACEOF
3747 `cat $LEX_OUTPUT_ROOT.c`
3749 rm -f conftest.$ac_objext conftest$ac_exeext
3750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3751 (eval $ac_link) 2>&5
3753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754 (exit $ac_status); } &&
3755 { ac_try='test -s conftest$ac_exeext'
3756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760 (exit $ac_status); }; }; then
3761 ac_cv_prog_lex_yytext_pointer=yes
3763 echo "$as_me: failed program was:" >&5
3764 sed 's/^/| /' conftest.$ac_ext >&5
3767 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3769 rm -f "${LEX_OUTPUT_ROOT}.c"
3772 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3773 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3774 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3776 cat >>confdefs.h <<\_ACEOF
3777 #define YYTEXT_POINTER 1
3785 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3786 echo "${ECHO_T}$ac_cv_has_flex" >&6
3787 if test "$LEX" != "flex"; then
3788 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3789 echo "$as_me: error: flex not found but required" >&2;}
3790 { (exit 1); exit 1; }; }
3793 echo "$as_me:$LINENO: checking " >&5
3794 echo $ECHO_N "checking ... $ECHO_C" >&6
3795 if test "${ac_cv_has_bison+set}" = set; then
3796 echo $ECHO_N "(cached) $ECHO_C" >&6
3798 for ac_prog in 'bison -y' byacc
3800 # Extract the first word of "$ac_prog", so it can be a program name with args.
3801 set dummy $ac_prog; ac_word=$2
3802 echo "$as_me:$LINENO: checking for $ac_word" >&5
3803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3804 if test "${ac_cv_prog_YACC+set}" = set; then
3805 echo $ECHO_N "(cached) $ECHO_C" >&6
3807 if test -n "$YACC"; then
3808 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3814 test -z "$as_dir" && as_dir=.
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3817 ac_cv_prog_YACC="$ac_prog"
3818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3826 YACC=$ac_cv_prog_YACC
3827 if test -n "$YACC"; then
3828 echo "$as_me:$LINENO: result: $YACC" >&5
3829 echo "${ECHO_T}$YACC" >&6
3831 echo "$as_me:$LINENO: result: no" >&5
3832 echo "${ECHO_T}no" >&6
3835 test -n "$YACC" && break
3837 test -n "$YACC" || YACC="yacc"
3841 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3842 echo "${ECHO_T}$ac_cv_has_bison" >&6
3843 if test "$YACC" != "bison -y"; then
3844 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3845 echo "$as_me: error: bison not found but required" >&2;}
3846 { (exit 1); exit 1; }; }
3853 # Check whether --enable-shared or --disable-shared was given.
3854 if test "${enable_shared+set}" = set; then
3855 enableval="$enable_shared"
3856 p=${PACKAGE-default}
3858 yes) enable_shared=yes ;;
3859 no) enable_shared=no ;;
3862 # Look at the argument we got. We use all the common list separators.
3863 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3864 for pkg in $enableval; do
3866 if test "X$pkg" = "X$p"; then
3877 # Check whether --enable-static or --disable-static was given.
3878 if test "${enable_static+set}" = set; then
3879 enableval="$enable_static"
3880 p=${PACKAGE-default}
3882 yes) enable_static=yes ;;
3883 no) enable_static=no ;;
3886 # Look at the argument we got. We use all the common list separators.
3887 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3888 for pkg in $enableval; do
3890 if test "X$pkg" = "X$p"; then
3901 # Check whether --enable-fast-install or --disable-fast-install was given.
3902 if test "${enable_fast_install+set}" = set; then
3903 enableval="$enable_fast_install"
3904 p=${PACKAGE-default}
3906 yes) enable_fast_install=yes ;;
3907 no) enable_fast_install=no ;;
3909 enable_fast_install=no
3910 # Look at the argument we got. We use all the common list separators.
3911 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3912 for pkg in $enableval; do
3914 if test "X$pkg" = "X$p"; then
3915 enable_fast_install=yes
3922 enable_fast_install=yes
3925 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3926 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3927 if test "${lt_cv_path_SED+set}" = set; then
3928 echo $ECHO_N "(cached) $ECHO_C" >&6
3930 # Loop through the user's path and test for sed and gsed.
3931 # Then use that list of sed's as ones to test for truncation.
3932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3936 test -z "$as_dir" && as_dir=.
3937 for lt_ac_prog in sed gsed; do
3938 for ac_exec_ext in '' $ac_executable_extensions; do
3939 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3940 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3947 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3948 # along with /bin/sed that truncates output.
3949 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3950 test ! -f $lt_ac_sed && break
3951 cat /dev/null > conftest.in
3953 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3954 # Check for GNU sed and select it if it is found.
3955 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3956 lt_cv_path_SED=$lt_ac_sed
3960 cat conftest.in conftest.in >conftest.tmp
3961 mv conftest.tmp conftest.in
3962 cp conftest.in conftest.nl
3964 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3965 cmp -s conftest.out conftest.nl || break
3966 # 10000 chars as input seems more than enough
3967 test $lt_ac_count -gt 10 && break
3968 lt_ac_count=`expr $lt_ac_count + 1`
3969 if test $lt_ac_count -gt $lt_ac_max; then
3970 lt_ac_max=$lt_ac_count
3971 lt_cv_path_SED=$lt_ac_sed
3979 echo "$as_me:$LINENO: result: $SED" >&5
3980 echo "${ECHO_T}$SED" >&6
3982 echo "$as_me:$LINENO: checking for egrep" >&5
3983 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3984 if test "${ac_cv_prog_egrep+set}" = set; then
3985 echo $ECHO_N "(cached) $ECHO_C" >&6
3987 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3988 then ac_cv_prog_egrep='grep -E'
3989 else ac_cv_prog_egrep='egrep'
3992 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3993 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3994 EGREP=$ac_cv_prog_egrep
3998 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3999 if test "${with_gnu_ld+set}" = set; then
4000 withval="$with_gnu_ld"
4001 test "$withval" = no || with_gnu_ld=yes
4006 if test "$GCC" = yes; then
4007 # Check if gcc -print-prog-name=ld gives a path.
4008 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4009 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4012 # gcc leaves a trailing carriage return which upsets mingw
4013 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4015 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4018 # Accept absolute paths.
4020 re_direlt='/[^/][^/]*/\.\./'
4021 # Canonicalize the path of ld
4022 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4023 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4024 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4026 test -z "$LD" && LD="$ac_prog"
4029 # If it fails, then pretend we aren't using GCC.
4033 # If it is relative, then search for the first ld in PATH.
4037 elif test "$with_gnu_ld" = yes; then
4038 echo "$as_me:$LINENO: checking for GNU ld" >&5
4039 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4041 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4042 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4044 if test "${lt_cv_path_LD+set}" = set; then
4045 echo $ECHO_N "(cached) $ECHO_C" >&6
4047 if test -z "$LD"; then
4048 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4049 for ac_dir in $PATH; do
4051 test -z "$ac_dir" && ac_dir=.
4052 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4053 lt_cv_path_LD="$ac_dir/$ac_prog"
4054 # Check to see if the program is GNU ld. I'd rather use --version,
4055 # but apparently some GNU ld's only accept -v.
4056 # Break only if it was the GNU/non-GNU ld that we prefer.
4057 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4058 *GNU* | *'with BFD'*)
4059 test "$with_gnu_ld" != no && break
4062 test "$with_gnu_ld" != yes && break
4069 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4074 if test -n "$LD"; then
4075 echo "$as_me:$LINENO: result: $LD" >&5
4076 echo "${ECHO_T}$LD" >&6
4078 echo "$as_me:$LINENO: result: no" >&5
4079 echo "${ECHO_T}no" >&6
4081 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4082 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4083 { (exit 1); exit 1; }; }
4084 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4085 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4086 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4087 echo $ECHO_N "(cached) $ECHO_C" >&6
4089 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4090 case `"$LD" -v 2>&1 </dev/null` in
4091 *GNU* | *'with BFD'*)
4092 lt_cv_prog_gnu_ld=yes
4095 lt_cv_prog_gnu_ld=no
4099 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4100 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4101 with_gnu_ld=$lt_cv_prog_gnu_ld
4104 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4105 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4106 if test "${lt_cv_ld_reload_flag+set}" = set; then
4107 echo $ECHO_N "(cached) $ECHO_C" >&6
4109 lt_cv_ld_reload_flag='-r'
4111 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4112 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4113 reload_flag=$lt_cv_ld_reload_flag
4114 case $reload_flag in
4116 *) reload_flag=" $reload_flag" ;;
4118 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4120 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4121 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4122 if test "${lt_cv_path_NM+set}" = set; then
4123 echo $ECHO_N "(cached) $ECHO_C" >&6
4125 if test -n "$NM"; then
4126 # Let the user override the test.
4129 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4130 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4132 test -z "$ac_dir" && ac_dir=.
4133 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4134 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4135 # Check to see if the nm accepts a BSD-compat flag.
4136 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4137 # nm: unknown option "B" ignored
4138 # Tru64's nm complains that /dev/null is an invalid object file
4139 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4140 */dev/null* | *'Invalid file or object type'*)
4141 lt_cv_path_NM="$tmp_nm -B"
4145 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4147 lt_cv_path_NM="$tmp_nm -p"
4151 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4152 continue # so that we can try to find one that supports BSD flags
4159 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4162 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4163 echo "${ECHO_T}$lt_cv_path_NM" >&6
4166 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4167 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4169 if test "$LN_S" = "ln -s"; then
4170 echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6
4173 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4174 echo "${ECHO_T}no, using $LN_S" >&6
4177 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4178 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4179 if test "${lt_cv_deplibs_check_method+set}" = set; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 lt_cv_file_magic_cmd='$MAGIC_CMD'
4183 lt_cv_file_magic_test_file=
4184 lt_cv_deplibs_check_method='unknown'
4185 # Need to set the preceding variable on all platforms that support
4186 # interlibrary dependencies.
4187 # 'none' -- dependencies not supported.
4188 # `unknown' -- same as none, but documents that we really don't know.
4189 # 'pass_all' -- all dependencies passed with no checks.
4190 # 'test_compile' -- check by making test program.
4191 # 'file_magic [[regex]]' -- check by looking for files in library path
4192 # which responds to the $file_magic_cmd with a given extended regex.
4193 # If you have `file' or equivalent on your system and you're not sure
4194 # whether `pass_all' will *always* work, you probably want this one.
4198 lt_cv_deplibs_check_method=pass_all
4202 lt_cv_deplibs_check_method=pass_all
4206 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4207 lt_cv_file_magic_cmd='/usr/bin/file -L'
4208 lt_cv_file_magic_test_file=/shlib/libc.so
4211 cygwin* | mingw* | pw32*)
4212 # win32_libid is a shell function defined in ltmain.sh
4213 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4214 lt_cv_file_magic_cmd='win32_libid'
4217 darwin* | rhapsody*)
4218 # this will be overwritten by pass_all, but leave it in just in case
4219 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4220 lt_cv_file_magic_cmd='/usr/bin/file -L'
4222 rhapsody* | darwin1.[012])
4223 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4226 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4229 lt_cv_deplibs_check_method=pass_all
4233 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4236 # Not sure whether the presence of OpenBSD here was a mistake.
4237 # Let's accept both of them until this is cleared up.
4238 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4239 lt_cv_file_magic_cmd=/usr/bin/file
4240 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4244 lt_cv_deplibs_check_method=pass_all
4249 lt_cv_deplibs_check_method=pass_all
4252 hpux10.20* | hpux11*)
4253 lt_cv_file_magic_cmd=/usr/bin/file
4256 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4257 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4260 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]'
4261 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4264 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4265 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4270 irix5* | irix6* | nonstopux*)
4272 irix5* | nonstopux*)
4273 # this will be overridden with pass_all, but let us keep it just in case
4274 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4278 *-32|*"-32 ") libmagic=32-bit;;
4279 *-n32|*"-n32 ") libmagic=N32;;
4280 *-64|*"-64 ") libmagic=64-bit;;
4281 *) libmagic=never-match;;
4283 # this will be overridden with pass_all, but let us keep it just in case
4284 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4287 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4288 lt_cv_deplibs_check_method=pass_all
4291 # This must be Linux ELF.
4294 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4295 lt_cv_deplibs_check_method=pass_all ;;
4297 # glibc up to 2.1.1 does not perform some relocations on ARM
4298 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4300 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4304 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4305 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4307 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4312 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4313 lt_cv_file_magic_cmd=/usr/bin/file
4314 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4318 lt_cv_deplibs_check_method=unknown
4322 lt_cv_file_magic_cmd=/usr/bin/file
4323 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4324 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4325 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4327 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4331 osf3* | osf4* | osf5*)
4332 # this will be overridden with pass_all, but let us keep it just in case
4333 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4334 lt_cv_file_magic_test_file=/shlib/libc.so
4335 lt_cv_deplibs_check_method=pass_all
4339 lt_cv_deplibs_check_method=pass_all
4343 lt_cv_deplibs_check_method=pass_all
4344 lt_cv_file_magic_test_file=/lib/libc.so
4347 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4348 case $host_vendor in
4350 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]'
4351 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4354 lt_cv_deplibs_check_method=pass_all
4357 lt_cv_file_magic_cmd='/bin/file'
4358 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4361 lt_cv_file_magic_cmd='/bin/file'
4362 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4363 lt_cv_file_magic_test_file=/lib/libc.so
4366 lt_cv_deplibs_check_method=pass_all
4371 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4372 lt_cv_deplibs_check_method=pass_all
4377 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4378 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4379 file_magic_cmd=$lt_cv_file_magic_cmd
4380 deplibs_check_method=$lt_cv_deplibs_check_method
4381 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4386 # If no C compiler was specified, use CC.
4389 # Allow CC to be a program name with arguments.
4392 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4393 if test "${enable_libtool_lock+set}" = set; then
4394 enableval="$enable_libtool_lock"
4397 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4399 # Some flags need to be propagated to the compiler or linker for good
4403 # Find out which ABI we are using.
4404 echo 'int i;' > 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 case `/usr/bin/file conftest.$ac_objext` in
4422 # Find out which ABI we are using.
4423 echo '#line 4429 "configure"' > conftest.$ac_ext
4424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4425 (eval $ac_compile) 2>&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); }; then
4429 if test "$lt_cv_prog_gnu_ld" = yes; then
4430 case `/usr/bin/file conftest.$ac_objext` in
4432 LD="${LD-ld} -melf32bsmip"
4435 LD="${LD-ld} -melf32bmipn32"
4438 LD="${LD-ld} -melf64bmip"
4442 case `/usr/bin/file conftest.$ac_objext` in
4458 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4459 # Find out which ABI we are using.
4460 echo 'int i;' > conftest.$ac_ext
4461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4462 (eval $ac_compile) 2>&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); }; then
4466 case "`/usr/bin/file conftest.o`" in
4470 LD="${LD-ld} -m elf_i386"
4473 LD="${LD-ld} -m elf32ppclinux"
4476 LD="${LD-ld} -m elf_s390"
4479 LD="${LD-ld} -m elf32_sparc"
4486 LD="${LD-ld} -m elf_x86_64"
4488 ppc*-*linux*|powerpc*-*linux*)
4489 LD="${LD-ld} -m elf64ppc"
4492 LD="${LD-ld} -m elf64_s390"
4495 LD="${LD-ld} -m elf64_sparc"
4505 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4506 SAVE_CFLAGS="$CFLAGS"
4507 CFLAGS="$CFLAGS -belf"
4508 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4509 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4510 if test "${lt_cv_cc_needs_belf+set}" = set; then
4511 echo $ECHO_N "(cached) $ECHO_C" >&6
4514 ac_cpp='$CPP $CPPFLAGS'
4515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4519 cat >conftest.$ac_ext <<_ACEOF
4520 #line $LINENO "configure"
4523 cat confdefs.h >>conftest.$ac_ext
4524 cat >>conftest.$ac_ext <<_ACEOF
4525 /* end confdefs.h. */
4535 rm -f conftest.$ac_objext conftest$ac_exeext
4536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4537 (eval $ac_link) 2>&5
4539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540 (exit $ac_status); } &&
4541 { ac_try='test -s conftest$ac_exeext'
4542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); }; }; then
4547 lt_cv_cc_needs_belf=yes
4549 echo "$as_me: failed program was:" >&5
4550 sed 's/^/| /' conftest.$ac_ext >&5
4552 lt_cv_cc_needs_belf=no
4554 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4556 ac_cpp='$CPP $CPPFLAGS'
4557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4562 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4563 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4564 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4565 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4566 CFLAGS="$SAVE_CFLAGS"
4572 need_locks="$enable_libtool_lock"
4576 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4577 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4578 if test "${ac_cv_header_stdc+set}" = set; then
4579 echo $ECHO_N "(cached) $ECHO_C" >&6
4581 cat >conftest.$ac_ext <<_ACEOF
4582 #line $LINENO "configure"
4585 cat confdefs.h >>conftest.$ac_ext
4586 cat >>conftest.$ac_ext <<_ACEOF
4587 /* end confdefs.h. */
4601 rm -f conftest.$ac_objext
4602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4603 (eval $ac_compile) 2>&5
4605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 (exit $ac_status); } &&
4607 { ac_try='test -s conftest.$ac_objext'
4608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4612 (exit $ac_status); }; }; then
4613 ac_cv_header_stdc=yes
4615 echo "$as_me: failed program was:" >&5
4616 sed 's/^/| /' conftest.$ac_ext >&5
4618 ac_cv_header_stdc=no
4620 rm -f conftest.$ac_objext conftest.$ac_ext
4622 if test $ac_cv_header_stdc = yes; then
4623 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4624 cat >conftest.$ac_ext <<_ACEOF
4625 #line $LINENO "configure"
4628 cat confdefs.h >>conftest.$ac_ext
4629 cat >>conftest.$ac_ext <<_ACEOF
4630 /* end confdefs.h. */
4634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4635 $EGREP "memchr" >/dev/null 2>&1; then
4638 ac_cv_header_stdc=no
4644 if test $ac_cv_header_stdc = yes; then
4645 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4646 cat >conftest.$ac_ext <<_ACEOF
4647 #line $LINENO "configure"
4650 cat confdefs.h >>conftest.$ac_ext
4651 cat >>conftest.$ac_ext <<_ACEOF
4652 /* end confdefs.h. */
4656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4657 $EGREP "free" >/dev/null 2>&1; then
4660 ac_cv_header_stdc=no
4666 if test $ac_cv_header_stdc = yes; then
4667 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4668 if test "$cross_compiling" = yes; then
4671 cat >conftest.$ac_ext <<_ACEOF
4672 #line $LINENO "configure"
4675 cat confdefs.h >>conftest.$ac_ext
4676 cat >>conftest.$ac_ext <<_ACEOF
4677 /* end confdefs.h. */
4679 #if ((' ' & 0x0FF) == 0x020)
4680 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4681 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4683 # define ISLOWER(c) \
4684 (('a' <= (c) && (c) <= 'i') \
4685 || ('j' <= (c) && (c) <= 'r') \
4686 || ('s' <= (c) && (c) <= 'z'))
4687 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4690 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4695 for (i = 0; i < 256; i++)
4696 if (XOR (islower (i), ISLOWER (i))
4697 || toupper (i) != TOUPPER (i))
4702 rm -f conftest$ac_exeext
4703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4704 (eval $ac_link) 2>&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); }; }; then
4715 echo "$as_me: program exited with status $ac_status" >&5
4716 echo "$as_me: failed program was:" >&5
4717 sed 's/^/| /' conftest.$ac_ext >&5
4720 ac_cv_header_stdc=no
4722 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4726 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4727 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4728 if test $ac_cv_header_stdc = yes; then
4730 cat >>confdefs.h <<\_ACEOF
4731 #define STDC_HEADERS 1
4736 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4746 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4747 inttypes.h stdint.h unistd.h
4749 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4750 echo "$as_me:$LINENO: checking for $ac_header" >&5
4751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4753 echo $ECHO_N "(cached) $ECHO_C" >&6
4755 cat >conftest.$ac_ext <<_ACEOF
4756 #line $LINENO "configure"
4759 cat confdefs.h >>conftest.$ac_ext
4760 cat >>conftest.$ac_ext <<_ACEOF
4761 /* end confdefs.h. */
4762 $ac_includes_default
4764 #include <$ac_header>
4766 rm -f conftest.$ac_objext
4767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4768 (eval $ac_compile) 2>&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); } &&
4772 { ac_try='test -s conftest.$ac_objext'
4773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777 (exit $ac_status); }; }; then
4778 eval "$as_ac_Header=yes"
4780 echo "$as_me: failed program was:" >&5
4781 sed 's/^/| /' conftest.$ac_ext >&5
4783 eval "$as_ac_Header=no"
4785 rm -f conftest.$ac_objext conftest.$ac_ext
4787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4790 cat >>confdefs.h <<_ACEOF
4791 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4800 for ac_header in dlfcn.h
4802 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4804 echo "$as_me:$LINENO: checking for $ac_header" >&5
4805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4807 echo $ECHO_N "(cached) $ECHO_C" >&6
4809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4812 # Is the header compilable?
4813 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4814 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4815 cat >conftest.$ac_ext <<_ACEOF
4816 #line $LINENO "configure"
4819 cat confdefs.h >>conftest.$ac_ext
4820 cat >>conftest.$ac_ext <<_ACEOF
4821 /* end confdefs.h. */
4822 $ac_includes_default
4823 #include <$ac_header>
4825 rm -f conftest.$ac_objext
4826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4827 (eval $ac_compile) 2>&5
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); } &&
4831 { ac_try='test -s conftest.$ac_objext'
4832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 (exit $ac_status); }; }; then
4837 ac_header_compiler=yes
4839 echo "$as_me: failed program was:" >&5
4840 sed 's/^/| /' conftest.$ac_ext >&5
4842 ac_header_compiler=no
4844 rm -f conftest.$ac_objext conftest.$ac_ext
4845 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4846 echo "${ECHO_T}$ac_header_compiler" >&6
4848 # Is the header present?
4849 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4850 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4851 cat >conftest.$ac_ext <<_ACEOF
4852 #line $LINENO "configure"
4855 cat confdefs.h >>conftest.$ac_ext
4856 cat >>conftest.$ac_ext <<_ACEOF
4857 /* end confdefs.h. */
4858 #include <$ac_header>
4860 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4861 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4863 grep -v '^ *+' conftest.er1 >conftest.err
4865 cat conftest.err >&5
4866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867 (exit $ac_status); } >/dev/null; then
4868 if test -s conftest.err; then
4869 ac_cpp_err=$ac_c_preproc_warn_flag
4876 if test -z "$ac_cpp_err"; then
4877 ac_header_preproc=yes
4879 echo "$as_me: failed program was:" >&5
4880 sed 's/^/| /' conftest.$ac_ext >&5
4882 ac_header_preproc=no
4884 rm -f conftest.err conftest.$ac_ext
4885 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4886 echo "${ECHO_T}$ac_header_preproc" >&6
4888 # So? What about this header?
4889 case $ac_header_compiler:$ac_header_preproc in
4891 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4892 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4897 ## ------------------------------------ ##
4898 ## Report this to bug-autoconf@gnu.org. ##
4899 ## ------------------------------------ ##
4902 sed "s/^/$as_me: WARNING: /" >&2
4905 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4906 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4907 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4908 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4910 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4913 ## ------------------------------------ ##
4914 ## Report this to bug-autoconf@gnu.org. ##
4915 ## ------------------------------------ ##
4918 sed "s/^/$as_me: WARNING: /" >&2
4921 echo "$as_me:$LINENO: checking for $ac_header" >&5
4922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4924 echo $ECHO_N "(cached) $ECHO_C" >&6
4926 eval "$as_ac_Header=$ac_header_preproc"
4928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4929 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4933 cat >>confdefs.h <<_ACEOF
4934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4942 ac_cpp='$CXXCPP $CPPFLAGS'
4943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4946 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4947 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4948 if test -z "$CXXCPP"; then
4949 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4950 echo $ECHO_N "(cached) $ECHO_C" >&6
4952 # Double quotes because CXXCPP needs to be expanded
4953 for CXXCPP in "$CXX -E" "/lib/cpp"
4956 for ac_cxx_preproc_warn_flag in '' yes
4958 # Use a header file that comes with gcc, so configuring glibc
4959 # with a fresh cross-compiler works.
4960 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4961 # <limits.h> exists even on freestanding compilers.
4962 # On the NeXT, cc -E runs the code through the compiler's parser,
4963 # not just through cpp. "Syntax error" is here to catch this case.
4964 cat >conftest.$ac_ext <<_ACEOF
4965 #line $LINENO "configure"
4968 cat confdefs.h >>conftest.$ac_ext
4969 cat >>conftest.$ac_ext <<_ACEOF
4970 /* end confdefs.h. */
4972 # include <limits.h>
4974 # include <assert.h>
4978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4981 grep -v '^ *+' conftest.er1 >conftest.err
4983 cat conftest.err >&5
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); } >/dev/null; then
4986 if test -s conftest.err; then
4987 ac_cpp_err=$ac_cxx_preproc_warn_flag
4994 if test -z "$ac_cpp_err"; then
4997 echo "$as_me: failed program was:" >&5
4998 sed 's/^/| /' conftest.$ac_ext >&5
5000 # Broken: fails on valid input.
5003 rm -f conftest.err conftest.$ac_ext
5005 # OK, works on sane cases. Now check whether non-existent headers
5006 # can be detected and how.
5007 cat >conftest.$ac_ext <<_ACEOF
5008 #line $LINENO "configure"
5011 cat confdefs.h >>conftest.$ac_ext
5012 cat >>conftest.$ac_ext <<_ACEOF
5013 /* end confdefs.h. */
5014 #include <ac_nonexistent.h>
5016 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5017 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5019 grep -v '^ *+' conftest.er1 >conftest.err
5021 cat conftest.err >&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); } >/dev/null; then
5024 if test -s conftest.err; then
5025 ac_cpp_err=$ac_cxx_preproc_warn_flag
5032 if test -z "$ac_cpp_err"; then
5033 # Broken: success on invalid input.
5036 echo "$as_me: failed program was:" >&5
5037 sed 's/^/| /' conftest.$ac_ext >&5
5039 # Passes both tests.
5043 rm -f conftest.err conftest.$ac_ext
5046 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5047 rm -f conftest.err conftest.$ac_ext
5048 if $ac_preproc_ok; then
5053 ac_cv_prog_CXXCPP=$CXXCPP
5056 CXXCPP=$ac_cv_prog_CXXCPP
5058 ac_cv_prog_CXXCPP=$CXXCPP
5060 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5061 echo "${ECHO_T}$CXXCPP" >&6
5063 for ac_cxx_preproc_warn_flag in '' yes
5065 # Use a header file that comes with gcc, so configuring glibc
5066 # with a fresh cross-compiler works.
5067 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5068 # <limits.h> exists even on freestanding compilers.
5069 # On the NeXT, cc -E runs the code through the compiler's parser,
5070 # not just through cpp. "Syntax error" is here to catch this case.
5071 cat >conftest.$ac_ext <<_ACEOF
5072 #line $LINENO "configure"
5075 cat confdefs.h >>conftest.$ac_ext
5076 cat >>conftest.$ac_ext <<_ACEOF
5077 /* end confdefs.h. */
5079 # include <limits.h>
5081 # include <assert.h>
5085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5086 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5088 grep -v '^ *+' conftest.er1 >conftest.err
5090 cat conftest.err >&5
5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092 (exit $ac_status); } >/dev/null; then
5093 if test -s conftest.err; then
5094 ac_cpp_err=$ac_cxx_preproc_warn_flag
5101 if test -z "$ac_cpp_err"; then
5104 echo "$as_me: failed program was:" >&5
5105 sed 's/^/| /' conftest.$ac_ext >&5
5107 # Broken: fails on valid input.
5110 rm -f conftest.err conftest.$ac_ext
5112 # OK, works on sane cases. Now check whether non-existent headers
5113 # can be detected and how.
5114 cat >conftest.$ac_ext <<_ACEOF
5115 #line $LINENO "configure"
5118 cat confdefs.h >>conftest.$ac_ext
5119 cat >>conftest.$ac_ext <<_ACEOF
5120 /* end confdefs.h. */
5121 #include <ac_nonexistent.h>
5123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5124 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5126 grep -v '^ *+' conftest.er1 >conftest.err
5128 cat conftest.err >&5
5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 (exit $ac_status); } >/dev/null; then
5131 if test -s conftest.err; then
5132 ac_cpp_err=$ac_cxx_preproc_warn_flag
5139 if test -z "$ac_cpp_err"; then
5140 # Broken: success on invalid input.
5143 echo "$as_me: failed program was:" >&5
5144 sed 's/^/| /' conftest.$ac_ext >&5
5146 # Passes both tests.
5150 rm -f conftest.err conftest.$ac_ext
5153 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5154 rm -f conftest.err conftest.$ac_ext
5155 if $ac_preproc_ok; then
5158 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5159 See \`config.log' for more details." >&5
5160 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5161 See \`config.log' for more details." >&2;}
5162 { (exit 1); exit 1; }; }
5166 ac_cpp='$CXXCPP $CPPFLAGS'
5167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5173 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5174 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5175 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5176 if test -n "$ac_tool_prefix"; then
5177 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5179 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5180 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5181 echo "$as_me:$LINENO: checking for $ac_word" >&5
5182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5183 if test "${ac_cv_prog_F77+set}" = set; then
5184 echo $ECHO_N "(cached) $ECHO_C" >&6
5186 if test -n "$F77"; then
5187 ac_cv_prog_F77="$F77" # Let the user override the test.
5189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5193 test -z "$as_dir" && as_dir=.
5194 for ac_exec_ext in '' $ac_executable_extensions; do
5195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5196 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5206 if test -n "$F77"; then
5207 echo "$as_me:$LINENO: result: $F77" >&5
5208 echo "${ECHO_T}$F77" >&6
5210 echo "$as_me:$LINENO: result: no" >&5
5211 echo "${ECHO_T}no" >&6
5214 test -n "$F77" && break
5217 if test -z "$F77"; then
5219 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5221 # Extract the first word of "$ac_prog", so it can be a program name with args.
5222 set dummy $ac_prog; ac_word=$2
5223 echo "$as_me:$LINENO: checking for $ac_word" >&5
5224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5225 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5228 if test -n "$ac_ct_F77"; then
5229 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 test -z "$as_dir" && as_dir=.
5236 for ac_exec_ext in '' $ac_executable_extensions; do
5237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5238 ac_cv_prog_ac_ct_F77="$ac_prog"
5239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5247 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5248 if test -n "$ac_ct_F77"; then
5249 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5250 echo "${ECHO_T}$ac_ct_F77" >&6
5252 echo "$as_me:$LINENO: result: no" >&5
5253 echo "${ECHO_T}no" >&6
5256 test -n "$ac_ct_F77" && break
5263 # Provide some information about the compiler.
5264 echo "$as_me:5270:" \
5265 "checking for Fortran 77 compiler version" >&5
5266 ac_compiler=`set X $ac_compile; echo $2`
5267 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5268 (eval $ac_compiler --version </dev/null >&5) 2>&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); }
5272 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5273 (eval $ac_compiler -v </dev/null >&5) 2>&5
5275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 (exit $ac_status); }
5277 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5278 (eval $ac_compiler -V </dev/null >&5) 2>&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); }
5283 # If we don't use `.F' as extension, the preprocessor is not run on the
5287 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5288 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5289 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5290 echo $ECHO_N "(cached) $ECHO_C" >&6
5292 cat >conftest.$ac_ext <<_ACEOF
5300 rm -f conftest.$ac_objext
5301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5302 (eval $ac_compile) 2>&5
5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305 (exit $ac_status); } &&
5306 { ac_try='test -s conftest.$ac_objext'
5307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311 (exit $ac_status); }; }; then
5314 echo "$as_me: failed program was:" >&5
5315 sed 's/^/| /' conftest.$ac_ext >&5
5319 rm -f conftest.$ac_objext conftest.$ac_ext
5320 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5323 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5324 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5326 G77=`test $ac_compiler_gnu = yes && echo yes`
5327 ac_test_FFLAGS=${FFLAGS+set}
5328 ac_save_FFLAGS=$FFLAGS
5330 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5331 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5332 if test "${ac_cv_prog_f77_g+set}" = set; then
5333 echo $ECHO_N "(cached) $ECHO_C" >&6
5336 cat >conftest.$ac_ext <<_ACEOF
5341 rm -f conftest.$ac_objext
5342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5343 (eval $ac_compile) 2>&5
5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 (exit $ac_status); } &&
5347 { ac_try='test -s conftest.$ac_objext'
5348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352 (exit $ac_status); }; }; then
5353 ac_cv_prog_f77_g=yes
5355 echo "$as_me: failed program was:" >&5
5356 sed 's/^/| /' conftest.$ac_ext >&5
5360 rm -f conftest.$ac_objext conftest.$ac_ext
5363 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5364 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5365 if test "$ac_test_FFLAGS" = set; then
5366 FFLAGS=$ac_save_FFLAGS
5367 elif test $ac_cv_prog_f77_g = yes; then
5368 if test "$G77" = yes; then
5374 if test "$G77" = yes; then
5381 ac_cpp='$CPP $CPPFLAGS'
5382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5388 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5390 # find the maximum length of command line arguments
5391 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5392 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5393 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5394 echo $ECHO_N "(cached) $ECHO_C" >&6
5401 # On DJGPP, this test can blow up pretty badly due to problems in libc
5402 # (any single argument exceeding 2000 bytes causes a buffer overrun
5403 # during glob expansion). Even if it were fixed, the result of this
5404 # check would be larger than it should be.
5405 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5409 # Under GNU Hurd, this test is not required because there is
5410 # no limit to the length of command line arguments.
5411 # Libtool will interpret -1 as no limit whatsoever
5412 lt_cv_sys_max_cmd_len=-1;
5416 # On Win9x/ME, this test blows up -- it succeeds, but takes
5417 # about 5 minutes as the teststring grows exponentially.
5418 # Worse, since 9x/ME are not pre-emptively multitasking,
5419 # you end up with a "frozen" computer, even though with patience
5420 # the test eventually succeeds (with a max line length of 256k).
5421 # Instead, let's just punt: use the minimum linelength reported by
5422 # all of the supported platforms: 8192 (on NT/2K/XP).
5423 lt_cv_sys_max_cmd_len=8192;
5427 # If test is not a shell built-in, we'll probably end up computing a
5428 # maximum length that is only half of the actual maximum length, but
5430 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5431 = "XX$testring") >/dev/null 2>&1 &&
5432 new_result=`expr "X$testring" : ".*" 2>&1` &&
5433 lt_cv_sys_max_cmd_len=$new_result &&
5434 test $i != 17 # 1/2 MB should be enough
5437 testring=$testring$testring
5440 # Add a significant safety factor because C++ compilers can tack on massive
5441 # amounts of additional arguments before passing them to the linker.
5442 # It appears as though 1/2 is a usable value.
5443 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5449 if test -n $lt_cv_sys_max_cmd_len ; then
5450 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5451 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5453 echo "$as_me:$LINENO: result: none" >&5
5454 echo "${ECHO_T}none" >&6
5460 # Check for command to grab the raw symbol name followed by C symbol from nm.
5461 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5462 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5463 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5464 echo $ECHO_N "(cached) $ECHO_C" >&6
5467 # These are sane defaults that work on at least a few old systems.
5468 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5470 # Character class describing NM global symbol codes.
5471 symcode='[BCDEGRST]'
5473 # Regexp to match symbols that can be accessed directly from C.
5474 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5476 # Transform the above into a raw symbol and a C symbol.
5477 symxfrm='\1 \2\3 \3'
5479 # Transform an extracted symbol line into a proper C declaration
5480 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5482 # Transform an extracted symbol line into symbol name and symbol address
5483 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5485 # Define system-specific variables.
5490 cygwin* | mingw* | pw32*)
5491 symcode='[ABCDGISTW]'
5493 hpux*) # Its linker distinguishes data from code symbols
5494 if test "$host_cpu" = ia64; then
5495 symcode='[ABCDEGRST]'
5497 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5498 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'"
5501 symcode='[BCDEGRST]'
5504 symcode='[BCDEGQRST]'
5514 # Handle CRLF in mingw tool chain
5518 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5522 # If we're using GNU nm, then use its standard symbol codes.
5523 case `$NM -V 2>&1` in
5524 *GNU* | *'with BFD'*)
5525 symcode='[ABCDGISTW]' ;;
5528 # Try without a prefix undercore, then with it.
5529 for ac_symprfx in "" "_"; do
5531 # Write the raw and C identifiers.
5532 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5534 # Check to see that the pipe works correctly.
5538 cat > conftest.$ac_ext <<EOF
5543 void nm_test_func(){}
5547 int main(){nm_test_var='a';nm_test_func();return(0);}
5550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5551 (eval $ac_compile) 2>&5
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); }; then
5555 # Now try to grab the symbols.
5557 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5558 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561 (exit $ac_status); } && test -s "$nlist"; then
5562 # Try sorting and uniquifying the output.
5563 if sort "$nlist" | uniq > "$nlist"T; then
5564 mv -f "$nlist"T "$nlist"
5569 # Make sure that we snagged all the symbols we need.
5570 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5571 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5572 cat <<EOF > conftest.$ac_ext
5578 # Now generate the symbol file.
5579 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5581 cat <<EOF >> conftest.$ac_ext
5582 #if defined (__STDC__) && __STDC__
5583 # define lt_ptr_t void *
5585 # define lt_ptr_t char *
5589 /* The mapping between symbol names and symbols. */
5594 lt_preloaded_symbols[] =
5597 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5598 cat <<\EOF >> conftest.$ac_ext
5606 # Now try linking the two files.
5607 mv conftest.$ac_objext conftstm.$ac_objext
5608 lt_save_LIBS="$LIBS"
5609 lt_save_CFLAGS="$CFLAGS"
5610 LIBS="conftstm.$ac_objext"
5611 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5613 (eval $ac_link) 2>&5
5615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5616 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5619 LIBS="$lt_save_LIBS"
5620 CFLAGS="$lt_save_CFLAGS"
5622 echo "cannot find nm_test_func in $nlist" >&5
5625 echo "cannot find nm_test_var in $nlist" >&5
5628 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5631 echo "$progname: failed program was:" >&5
5632 cat conftest.$ac_ext >&5
5634 rm -f conftest* conftst*
5636 # Do not use the global_symbol_pipe unless it works.
5637 if test "$pipe_works" = yes; then
5640 lt_cv_sys_global_symbol_pipe=
5646 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5647 lt_cv_sys_global_symbol_to_cdecl=
5649 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5650 echo "$as_me:$LINENO: result: failed" >&5
5651 echo "${ECHO_T}failed" >&6
5653 echo "$as_me:$LINENO: result: ok" >&5
5654 echo "${ECHO_T}ok" >&6
5657 echo "$as_me:$LINENO: checking for objdir" >&5
5658 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5659 if test "${lt_cv_objdir+set}" = set; then
5660 echo $ECHO_N "(cached) $ECHO_C" >&6
5662 rm -f .libs 2>/dev/null
5663 mkdir .libs 2>/dev/null
5664 if test -d .libs; then
5667 # MS-DOS does not allow filenames that begin with a dot.
5670 rmdir .libs 2>/dev/null
5672 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5673 echo "${ECHO_T}$lt_cv_objdir" >&6
5674 objdir=$lt_cv_objdir
5682 # AIX sometimes has problems with the GCC collect2 program. For some
5683 # reason, if we set the COLLECT_NAMES environment variable, the problems
5684 # vanish in a puff of smoke.
5685 if test "X${COLLECT_NAMES+set}" != Xset; then
5687 export COLLECT_NAMES
5692 # Sed substitution that helps us do robust quoting. It backslashifies
5693 # metacharacters that are still active within double-quoted strings.
5694 Xsed='sed -e s/^X//'
5695 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5697 # Same as above, but do not quote variable references.
5698 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5700 # Sed substitution to delay expansion of an escaped shell variable in a
5701 # double_quote_subst'ed string.
5702 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5704 # Sed substitution to avoid accidental globbing in evaled expressions
5705 no_glob_subst='s/\*/\\\*/g'
5712 can_build_shared=yes
5714 # All known linkers require a `.a' archive for static linking (except M$VC,
5715 # which needs '.lib').
5717 ltmain="$ac_aux_dir/ltmain.sh"
5718 ofile="$default_ofile"
5719 with_gnu_ld="$lt_cv_prog_gnu_ld"
5721 if test -n "$ac_tool_prefix"; then
5722 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5723 set dummy ${ac_tool_prefix}ar; ac_word=$2
5724 echo "$as_me:$LINENO: checking for $ac_word" >&5
5725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5726 if test "${ac_cv_prog_AR+set}" = set; then
5727 echo $ECHO_N "(cached) $ECHO_C" >&6
5729 if test -n "$AR"; then
5730 ac_cv_prog_AR="$AR" # Let the user override the test.
5732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5736 test -z "$as_dir" && as_dir=.
5737 for ac_exec_ext in '' $ac_executable_extensions; do
5738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5739 ac_cv_prog_AR="${ac_tool_prefix}ar"
5740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5749 if test -n "$AR"; then
5750 echo "$as_me:$LINENO: result: $AR" >&5
5751 echo "${ECHO_T}$AR" >&6
5753 echo "$as_me:$LINENO: result: no" >&5
5754 echo "${ECHO_T}no" >&6
5758 if test -z "$ac_cv_prog_AR"; then
5760 # Extract the first word of "ar", so it can be a program name with args.
5761 set dummy ar; ac_word=$2
5762 echo "$as_me:$LINENO: checking for $ac_word" >&5
5763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5764 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5765 echo $ECHO_N "(cached) $ECHO_C" >&6
5767 if test -n "$ac_ct_AR"; then
5768 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 test -z "$as_dir" && as_dir=.
5775 for ac_exec_ext in '' $ac_executable_extensions; do
5776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5777 ac_cv_prog_ac_ct_AR="ar"
5778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5787 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5788 if test -n "$ac_ct_AR"; then
5789 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5790 echo "${ECHO_T}$ac_ct_AR" >&6
5792 echo "$as_me:$LINENO: result: no" >&5
5793 echo "${ECHO_T}no" >&6
5801 if test -n "$ac_tool_prefix"; then
5802 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5803 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5804 echo "$as_me:$LINENO: checking for $ac_word" >&5
5805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5806 if test "${ac_cv_prog_RANLIB+set}" = set; then
5807 echo $ECHO_N "(cached) $ECHO_C" >&6
5809 if test -n "$RANLIB"; then
5810 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5816 test -z "$as_dir" && as_dir=.
5817 for ac_exec_ext in '' $ac_executable_extensions; do
5818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5819 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 RANLIB=$ac_cv_prog_RANLIB
5829 if test -n "$RANLIB"; then
5830 echo "$as_me:$LINENO: result: $RANLIB" >&5
5831 echo "${ECHO_T}$RANLIB" >&6
5833 echo "$as_me:$LINENO: result: no" >&5
5834 echo "${ECHO_T}no" >&6
5838 if test -z "$ac_cv_prog_RANLIB"; then
5839 ac_ct_RANLIB=$RANLIB
5840 # Extract the first word of "ranlib", so it can be a program name with args.
5841 set dummy ranlib; ac_word=$2
5842 echo "$as_me:$LINENO: checking for $ac_word" >&5
5843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5844 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5845 echo $ECHO_N "(cached) $ECHO_C" >&6
5847 if test -n "$ac_ct_RANLIB"; then
5848 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5854 test -z "$as_dir" && as_dir=.
5855 for ac_exec_ext in '' $ac_executable_extensions; do
5856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5857 ac_cv_prog_ac_ct_RANLIB="ranlib"
5858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5864 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5867 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5868 if test -n "$ac_ct_RANLIB"; then
5869 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5870 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5872 echo "$as_me:$LINENO: result: no" >&5
5873 echo "${ECHO_T}no" >&6
5876 RANLIB=$ac_ct_RANLIB
5878 RANLIB="$ac_cv_prog_RANLIB"
5881 if test -n "$ac_tool_prefix"; then
5882 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5883 set dummy ${ac_tool_prefix}strip; ac_word=$2
5884 echo "$as_me:$LINENO: checking for $ac_word" >&5
5885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5886 if test "${ac_cv_prog_STRIP+set}" = set; then
5887 echo $ECHO_N "(cached) $ECHO_C" >&6
5889 if test -n "$STRIP"; then
5890 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5896 test -z "$as_dir" && as_dir=.
5897 for ac_exec_ext in '' $ac_executable_extensions; do
5898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5899 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5908 STRIP=$ac_cv_prog_STRIP
5909 if test -n "$STRIP"; then
5910 echo "$as_me:$LINENO: result: $STRIP" >&5
5911 echo "${ECHO_T}$STRIP" >&6
5913 echo "$as_me:$LINENO: result: no" >&5
5914 echo "${ECHO_T}no" >&6
5918 if test -z "$ac_cv_prog_STRIP"; then
5920 # Extract the first word of "strip", so it can be a program name with args.
5921 set dummy strip; ac_word=$2
5922 echo "$as_me:$LINENO: checking for $ac_word" >&5
5923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5924 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 if test -n "$ac_ct_STRIP"; then
5928 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 test -z "$as_dir" && as_dir=.
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5937 ac_cv_prog_ac_ct_STRIP="strip"
5938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5944 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5947 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5948 if test -n "$ac_ct_STRIP"; then
5949 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5950 echo "${ECHO_T}$ac_ct_STRIP" >&6
5952 echo "$as_me:$LINENO: result: no" >&5
5953 echo "${ECHO_T}no" >&6
5958 STRIP="$ac_cv_prog_STRIP"
5963 old_CFLAGS="$CFLAGS"
5965 # Set sane defaults for various variables
5966 test -z "$AR" && AR=ar
5967 test -z "$AR_FLAGS" && AR_FLAGS=cru
5968 test -z "$AS" && AS=as
5969 test -z "$CC" && CC=cc
5970 test -z "$LTCC" && LTCC=$CC
5971 test -z "$DLLTOOL" && DLLTOOL=dlltool
5972 test -z "$LD" && LD=ld
5973 test -z "$LN_S" && LN_S="ln -s"
5974 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5975 test -z "$NM" && NM=nm
5976 test -z "$SED" && SED=sed
5977 test -z "$OBJDUMP" && OBJDUMP=objdump
5978 test -z "$RANLIB" && RANLIB=:
5979 test -z "$STRIP" && STRIP=:
5980 test -z "$ac_objext" && ac_objext=o
5982 # Determine commands to create old-style static archives.
5983 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5984 old_postinstall_cmds='chmod 644 $oldlib'
5985 old_postuninstall_cmds=
5987 if test -n "$RANLIB"; then
5990 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5993 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5996 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5999 # Only perform the check for file, if the check method requires it
6000 case $deplibs_check_method in
6002 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6003 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6004 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6005 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6006 echo $ECHO_N "(cached) $ECHO_C" >&6
6010 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6013 lt_save_MAGIC_CMD="$MAGIC_CMD"
6014 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6015 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6016 for ac_dir in $ac_dummy; do
6018 test -z "$ac_dir" && ac_dir=.
6019 if test -f $ac_dir/${ac_tool_prefix}file; then
6020 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6021 if test -n "$file_magic_test_file"; then
6022 case $deplibs_check_method in
6024 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6025 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6026 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6027 $EGREP "$file_magic_regex" > /dev/null; then
6032 *** Warning: the command libtool uses to detect shared libraries,
6033 *** $file_magic_cmd, produces output that libtool cannot recognize.
6034 *** The result is that libtool may fail to recognize shared libraries
6035 *** as such. This will affect the creation of libtool libraries that
6036 *** depend on shared libraries, but programs linked with such libtool
6037 *** libraries will work regardless of this problem. Nevertheless, you
6038 *** may want to report the problem to your system manager and/or to
6039 *** bug-libtool@gnu.org
6049 MAGIC_CMD="$lt_save_MAGIC_CMD"
6054 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6055 if test -n "$MAGIC_CMD"; then
6056 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6057 echo "${ECHO_T}$MAGIC_CMD" >&6
6059 echo "$as_me:$LINENO: result: no" >&5
6060 echo "${ECHO_T}no" >&6
6063 if test -z "$lt_cv_path_MAGIC_CMD"; then
6064 if test -n "$ac_tool_prefix"; then
6065 echo "$as_me:$LINENO: checking for file" >&5
6066 echo $ECHO_N "checking for file... $ECHO_C" >&6
6067 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6068 echo $ECHO_N "(cached) $ECHO_C" >&6
6072 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6075 lt_save_MAGIC_CMD="$MAGIC_CMD"
6076 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6077 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6078 for ac_dir in $ac_dummy; do
6080 test -z "$ac_dir" && ac_dir=.
6081 if test -f $ac_dir/file; then
6082 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6083 if test -n "$file_magic_test_file"; then
6084 case $deplibs_check_method in
6086 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6087 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6088 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6089 $EGREP "$file_magic_regex" > /dev/null; then
6094 *** Warning: the command libtool uses to detect shared libraries,
6095 *** $file_magic_cmd, produces output that libtool cannot recognize.
6096 *** The result is that libtool may fail to recognize shared libraries
6097 *** as such. This will affect the creation of libtool libraries that
6098 *** depend on shared libraries, but programs linked with such libtool
6099 *** libraries will work regardless of this problem. Nevertheless, you
6100 *** may want to report the problem to your system manager and/or to
6101 *** bug-libtool@gnu.org
6111 MAGIC_CMD="$lt_save_MAGIC_CMD"
6116 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6117 if test -n "$MAGIC_CMD"; then
6118 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6119 echo "${ECHO_T}$MAGIC_CMD" >&6
6121 echo "$as_me:$LINENO: result: no" >&5
6122 echo "${ECHO_T}no" >&6
6137 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6138 if test "${enable_libtool_lock+set}" = set; then
6139 enableval="$enable_libtool_lock"
6142 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6145 # Check whether --with-pic or --without-pic was given.
6146 if test "${with_pic+set}" = set; then
6152 test -z "$pic_mode" && pic_mode=default
6154 # Use C for the default configuration in the libtool script
6158 ac_cpp='$CPP $CPPFLAGS'
6159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6164 # Source file extension for C test sources.
6167 # Object file extension for compiled C test sources.
6171 # Code to be used in simple compile tests
6172 lt_simple_compile_test_code="int some_variable = 0;\n"
6174 # Code to be used in simple link tests
6175 lt_simple_link_test_code='int main(){return(0);}\n'
6178 # If no C compiler was specified, use CC.
6181 # Allow CC to be a program name with arguments.
6186 # Check for any special shared library compilation flags.
6189 if test "$GCC" = no; then
6192 lt_prog_cc_shlib='-belf'
6196 if test -n "$lt_prog_cc_shlib"; then
6197 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6198 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6199 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6201 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6202 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6203 lt_cv_prog_cc_can_build_shared=no
6209 # Check to make sure the static flag actually works.
6211 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6212 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6213 if test "${lt_prog_compiler_static_works+set}" = set; then
6214 echo $ECHO_N "(cached) $ECHO_C" >&6
6216 lt_prog_compiler_static_works=no
6217 save_LDFLAGS="$LDFLAGS"
6218 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6219 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6220 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6221 # The compiler can only warn and ignore the option if not recognized
6222 # So say no if there are warnings
6223 if test -s conftest.err; then
6224 # Append any errors to the config.log.
6225 cat conftest.err 1>&5
6227 lt_prog_compiler_static_works=yes
6231 LDFLAGS="$save_LDFLAGS"
6234 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6235 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6237 if test x"$lt_prog_compiler_static_works" = xyes; then
6240 lt_prog_compiler_static=
6246 ## There is no encapsulation within the following macros, do not change
6247 ## the running order or otherwise move them around unless you know exactly
6248 ## what you are doing...
6250 lt_prog_compiler_no_builtin_flag=
6252 if test "$GCC" = yes; then
6253 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6255 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6256 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6257 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6258 echo $ECHO_N "(cached) $ECHO_C" >&6
6260 lt_cv_prog_compiler_rtti_exceptions=no
6261 ac_outfile=conftest.$ac_objext
6262 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6263 lt_compiler_flag="-fno-rtti -fno-exceptions"
6264 # Insert the option either (1) after the last *FLAGS variable, or
6265 # (2) before a word containing "conftest.", or (3) at the end.
6266 # Note that $ac_compile itself does not contain backslashes and begins
6267 # with a dollar sign (not a hyphen), so the echo should work correctly.
6268 # The option is referenced via a variable to avoid confusing sed.
6269 lt_compile=`echo "$ac_compile" | $SED \
6270 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6271 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6272 -e 's:$: $lt_compiler_flag:'`
6273 (eval echo "\"\$as_me:6279: $lt_compile\"" >&5)
6274 (eval "$lt_compile" 2>conftest.err)
6276 cat conftest.err >&5
6277 echo "$as_me:6283: \$? = $ac_status" >&5
6278 if (exit $ac_status) && test -s "$ac_outfile"; then
6279 # The compiler can only warn and ignore the option if not recognized
6280 # So say no if there are warnings
6281 if test ! -s conftest.err; then
6282 lt_cv_prog_compiler_rtti_exceptions=yes
6288 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6289 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6291 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6292 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6299 lt_prog_compiler_wl=
6300 lt_prog_compiler_pic=
6301 lt_prog_compiler_static=
6303 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6304 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6306 if test "$GCC" = yes; then
6307 lt_prog_compiler_wl='-Wl,'
6308 lt_prog_compiler_static='-static'
6312 # All AIX code is PIC.
6313 if test "$host_cpu" = ia64; then
6314 # AIX 5 now supports IA64 processor
6315 lt_prog_compiler_static='-Bstatic'
6320 # FIXME: we need at least 68020 code to build shared libraries, but
6321 # adding the `-m68020' flag to GCC prevents building anything better,
6323 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6326 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6327 # PIC is the default for these OSes.
6330 mingw* | pw32* | os2*)
6331 # This hack is so that the source file can tell whether it is being
6332 # built for inclusion in a dll (and should export symbols for example).
6333 lt_prog_compiler_pic='-DDLL_EXPORT'
6336 darwin* | rhapsody*)
6337 # PIC is the default on this platform
6338 # Common symbols not allowed in MH_DYLIB files
6339 lt_prog_compiler_pic='-fno-common'
6343 # Just because we use GCC doesn't mean we suddenly get shared libraries
6344 # on systems that don't support them.
6345 lt_prog_compiler_can_build_shared=no
6350 if test -d /usr/nec; then
6351 lt_prog_compiler_pic=-Kconform_pic
6356 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6363 lt_prog_compiler_pic='-fPIC'
6369 lt_prog_compiler_pic='-fPIC'
6373 # PORTME Check for flag to pass linker flags through the system compiler.
6376 lt_prog_compiler_wl='-Wl,'
6377 if test "$host_cpu" = ia64; then
6378 # AIX 5 now supports IA64 processor
6379 lt_prog_compiler_static='-Bstatic'
6381 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6385 mingw* | pw32* | os2*)
6386 # This hack is so that the source file can tell whether it is being
6387 # built for inclusion in a dll (and should export symbols for example).
6388 lt_prog_compiler_pic='-DDLL_EXPORT'
6391 hpux9* | hpux10* | hpux11*)
6392 lt_prog_compiler_wl='-Wl,'
6393 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6400 lt_prog_compiler_pic='+Z'
6403 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6404 lt_prog_compiler_static='${wl}-a ${wl}archive'
6407 irix5* | irix6* | nonstopux*)
6408 lt_prog_compiler_wl='-Wl,'
6409 # PIC (with -KPIC) is the default.
6410 lt_prog_compiler_static='-non_shared'
6414 lt_prog_compiler_pic='-KPIC'
6415 lt_prog_compiler_static='-Bstatic'
6421 lt_prog_compiler_wl='-Wl,'
6422 lt_prog_compiler_pic='-KPIC'
6423 lt_prog_compiler_static='-static'
6426 lt_prog_compiler_wl='-Wl,'
6427 # All Alpha code is PIC.
6428 lt_prog_compiler_static='-non_shared'
6433 osf3* | osf4* | osf5*)
6434 lt_prog_compiler_wl='-Wl,'
6435 # All OSF/1 code is PIC.
6436 lt_prog_compiler_static='-non_shared'
6440 lt_prog_compiler_pic='-Kpic'
6441 lt_prog_compiler_static='-dn'
6445 lt_prog_compiler_wl='-Wl,'
6446 lt_prog_compiler_pic='-KPIC'
6447 lt_prog_compiler_static='-Bstatic'
6451 lt_prog_compiler_wl='-Qoption ld '
6452 lt_prog_compiler_pic='-PIC'
6453 lt_prog_compiler_static='-Bstatic'
6456 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6457 lt_prog_compiler_wl='-Wl,'
6458 lt_prog_compiler_pic='-KPIC'
6459 lt_prog_compiler_static='-Bstatic'
6463 if test -d /usr/nec ;then
6464 lt_prog_compiler_pic='-Kconform_pic'
6465 lt_prog_compiler_static='-Bstatic'
6470 lt_prog_compiler_pic='-pic'
6471 lt_prog_compiler_static='-Bstatic'
6475 lt_prog_compiler_can_build_shared=no
6480 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6481 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6484 # Check to make sure the PIC flag actually works.
6486 if test -n "$lt_prog_compiler_pic"; then
6487 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6488 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6489 if test "${lt_prog_compiler_pic_works+set}" = set; then
6490 echo $ECHO_N "(cached) $ECHO_C" >&6
6492 lt_prog_compiler_pic_works=no
6493 ac_outfile=conftest.$ac_objext
6494 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6495 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6496 # Insert the option either (1) after the last *FLAGS variable, or
6497 # (2) before a word containing "conftest.", or (3) at the end.
6498 # Note that $ac_compile itself does not contain backslashes and begins
6499 # with a dollar sign (not a hyphen), so the echo should work correctly.
6500 # The option is referenced via a variable to avoid confusing sed.
6501 lt_compile=`echo "$ac_compile" | $SED \
6502 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6503 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6504 -e 's:$: $lt_compiler_flag:'`
6505 (eval echo "\"\$as_me:6511: $lt_compile\"" >&5)
6506 (eval "$lt_compile" 2>conftest.err)
6508 cat conftest.err >&5
6509 echo "$as_me:6515: \$? = $ac_status" >&5
6510 if (exit $ac_status) && test -s "$ac_outfile"; then
6511 # The compiler can only warn and ignore the option if not recognized
6512 # So say no if there are warnings
6513 if test ! -s conftest.err; then
6514 lt_prog_compiler_pic_works=yes
6520 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6521 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6523 if test x"$lt_prog_compiler_pic_works" = xyes; then
6524 case $lt_prog_compiler_pic in
6526 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6529 lt_prog_compiler_pic=
6530 lt_prog_compiler_can_build_shared=no
6535 # For platforms which do not support PIC, -DPIC is meaningless:
6537 lt_prog_compiler_pic=
6540 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6544 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6545 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6546 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6547 echo $ECHO_N "(cached) $ECHO_C" >&6
6549 lt_cv_prog_compiler_c_o=no
6550 $rm -r conftest 2>/dev/null
6554 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6556 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6557 # that will create temporary files in the current directory regardless of
6558 # the output directory. Thus, making CWD read-only will cause this test
6559 # to fail, enabling locking or at least warning the user not to do parallel
6563 lt_compiler_flag="-o out/conftest2.$ac_objext"
6564 # Insert the option either (1) after the last *FLAGS variable, or
6565 # (2) before a word containing "conftest.", or (3) at the end.
6566 # Note that $ac_compile itself does not contain backslashes and begins
6567 # with a dollar sign (not a hyphen), so the echo should work correctly.
6568 lt_compile=`echo "$ac_compile" | $SED \
6569 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6570 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6571 -e 's:$: $lt_compiler_flag:'`
6572 (eval echo "\"\$as_me:6578: $lt_compile\"" >&5)
6573 (eval "$lt_compile" 2>out/conftest.err)
6575 cat out/conftest.err >&5
6576 echo "$as_me:6582: \$? = $ac_status" >&5
6577 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6579 # The compiler can only warn and ignore the option if not recognized
6580 # So say no if there are warnings
6581 if test ! -s out/conftest.err; then
6582 lt_cv_prog_compiler_c_o=yes
6593 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6594 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6597 hard_links="nottested"
6598 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6599 # do not overwrite the value of need_locks provided by the user
6600 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6601 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6604 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6606 ln conftest.a conftest.b 2>&5 || hard_links=no
6607 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6608 echo "$as_me:$LINENO: result: $hard_links" >&5
6609 echo "${ECHO_T}$hard_links" >&6
6610 if test "$hard_links" = no; then
6611 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6612 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6619 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6620 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6623 allow_undefined_flag=
6624 enable_shared_with_static_runtimes=no
6626 archive_expsym_cmds=
6627 old_archive_From_new_cmds=
6628 old_archive_from_expsyms_cmds=
6629 export_dynamic_flag_spec=
6630 whole_archive_flag_spec=
6631 thread_safe_flag_spec=
6632 hardcode_libdir_flag_spec=
6633 hardcode_libdir_flag_spec_ld=
6634 hardcode_libdir_separator=
6637 hardcode_shlibpath_var=unsupported
6638 link_all_deplibs=unknown
6639 hardcode_automatic=no
6642 always_export_symbols=no
6643 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6644 # include_expsyms should be a list of space-separated symbols to be *always*
6645 # included in the symbol list
6647 # exclude_expsyms can be an extended regexp of symbols to exclude
6648 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6649 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6650 # as well as any symbol that contains `d'.
6651 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6652 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6653 # platforms (ab)use it in PIC code, but their linkers get confused if
6654 # the symbol is explicitly referenced. Since portable code cannot
6655 # rely on this symbol name, it's probably fine to never include it in
6656 # preloaded symbol tables.
6657 extract_expsyms_cmds=
6660 cygwin* | mingw* | pw32*)
6661 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6662 # When not using gcc, we currently assume that we are using
6663 # Microsoft Visual C++.
6664 if test "$GCC" != yes; then
6674 if test "$with_gnu_ld" = yes; then
6675 # If archive_cmds runs LD, not CC, wlarc should be empty
6678 # See if GNU ld supports shared libraries.
6680 aix3* | aix4* | aix5*)
6681 # On AIX/PPC, the GNU linker is very broken
6682 if test "$host_cpu" != ia64; then
6686 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6687 *** to be unable to reliably create shared libraries on AIX.
6688 *** Therefore, libtool is disabling shared libraries support. If you
6689 *** really care for shared libraries, you may want to modify your PATH
6690 *** so that a non-GNU linker is found, and then restart.
6697 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)'
6698 hardcode_libdir_flag_spec='-L$libdir'
6699 hardcode_minus_L=yes
6701 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6702 # that the semantics of dynamic libraries on AmigaOS, at least up
6703 # to version 4, is to share data among multiple programs linked
6704 # with the same dynamic library. Since this doesn't match the
6705 # behavior of shared libraries on other platforms, we can't use
6711 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6712 allow_undefined_flag=unsupported
6713 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6714 # support --undefined. This deserves some investigation. FIXME
6715 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6721 cygwin* | mingw* | pw32*)
6722 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6723 # as there is no search path for DLLs.
6724 hardcode_libdir_flag_spec='-L$libdir'
6725 allow_undefined_flag=unsupported
6726 always_export_symbols=no
6727 enable_shared_with_static_runtimes=yes
6728 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6730 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6731 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6732 # If the export-symbols file already is a .def file (1st line
6733 # is EXPORTS), use it as is; otherwise, prepend...
6734 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6735 cp $export_symbols $output_objdir/$soname.def;
6737 echo EXPORTS > $output_objdir/$soname.def;
6738 cat $export_symbols >> $output_objdir/$soname.def;
6740 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6747 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6748 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
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'
6757 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6761 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6762 *** create shared libraries on Solaris systems. Therefore, libtool
6763 *** is disabling shared libraries support. We urge you to upgrade GNU
6764 *** binutils to release 2.9.1 or newer. Another option is to modify
6765 *** your PATH or compiler configuration so that the native linker is
6766 *** used, and then restart.
6769 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6770 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6771 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6778 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6781 hardcode_shlibpath_var=no
6785 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6786 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6787 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6794 if test "$ld_shlibs" = yes; then
6795 runpath_var=LD_RUN_PATH
6796 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6797 export_dynamic_flag_spec='${wl}--export-dynamic'
6798 # ancient GNU ld didn't support --whole-archive et. al.
6799 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6800 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6802 whole_archive_flag_spec=
6806 # PORTME fill in a description of your system's linker (not GNU ld)
6809 allow_undefined_flag=unsupported
6810 always_export_symbols=yes
6811 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'
6812 # Note: this linker hardcodes the directories in LIBPATH if there
6813 # are no directories specified by -L.
6814 hardcode_minus_L=yes
6815 if test "$GCC" = yes && test -z "$link_static_flag"; then
6816 # Neither direct hardcoding nor static linking is supported with a
6818 hardcode_direct=unsupported
6823 if test "$host_cpu" = ia64; then
6824 # On IA64, the linker does run time linking by default, so we don't
6825 # have to do anything special.
6826 aix_use_runtimelinking=no
6827 exp_sym_flag='-Bexport'
6830 # If we're using GNU nm, then we don't want the "-C" option.
6831 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6832 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6833 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'
6835 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'
6837 aix_use_runtimelinking=no
6839 # Test if we are trying to use run time linking or normal
6840 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6841 # need to do runtime linking.
6842 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6843 for ld_flag in $LDFLAGS; do
6844 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6845 aix_use_runtimelinking=yes
6851 exp_sym_flag='-bexport'
6852 no_entry_flag='-bnoentry'
6855 # When large executables or shared objects are built, AIX ld can
6856 # have problems creating the table of contents. If linking a library
6857 # or program results in "error TOC overflow" add -mminimal-toc to
6858 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6859 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6863 hardcode_libdir_separator=':'
6864 link_all_deplibs=yes
6866 if test "$GCC" = yes; then
6867 case $host_os in aix4.012|aix4.012.*)
6868 # We only want to do this on AIX 4.2 and lower, the check
6869 # below for broken collect2 doesn't work under 4.3+
6870 collect2name=`${CC} -print-prog-name=collect2`
6871 if test -f "$collect2name" && \
6872 strings "$collect2name" | grep resolve_lib_name >/dev/null
6874 # We have reworked collect2
6877 # We have old collect2
6878 hardcode_direct=unsupported
6879 # It fails to find uninstalled libraries when the uninstalled
6880 # path is not listed in the libpath. Setting hardcode_minus_L
6881 # to unsupported forces relinking
6882 hardcode_minus_L=yes
6883 hardcode_libdir_flag_spec='-L$libdir'
6884 hardcode_libdir_separator=
6887 shared_flag='-shared'
6890 if test "$host_cpu" = ia64; then
6891 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6892 # chokes on -Wl,-G. The following line is correct:
6895 if test "$aix_use_runtimelinking" = yes; then
6896 shared_flag='${wl}-G'
6898 shared_flag='${wl}-bM:SRE'
6903 # It seems that -bexpall does not export symbols beginning with
6904 # underscore (_), so it is better to generate a list of symbols to export.
6905 always_export_symbols=yes
6906 if test "$aix_use_runtimelinking" = yes; then
6907 # Warning - without using the other runtime loading flags (-brtl),
6908 # -berok will link without error, but may produce a broken library.
6909 allow_undefined_flag='-berok'
6910 # Determine the default libpath from the value encoded in an empty executable.
6911 cat >conftest.$ac_ext <<_ACEOF
6912 #line $LINENO "configure"
6915 cat confdefs.h >>conftest.$ac_ext
6916 cat >>conftest.$ac_ext <<_ACEOF
6917 /* end confdefs.h. */
6927 rm -f conftest.$ac_objext conftest$ac_exeext
6928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6929 (eval $ac_link) 2>&5
6931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6932 (exit $ac_status); } &&
6933 { ac_try='test -s conftest$ac_exeext'
6934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6938 (exit $ac_status); }; }; then
6940 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6942 # Check for a 64-bit object if we didn't find anything.
6943 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; }
6946 echo "$as_me: failed program was:" >&5
6947 sed 's/^/| /' conftest.$ac_ext >&5
6950 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6951 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6953 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6954 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"
6956 if test "$host_cpu" = ia64; then
6957 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6958 allow_undefined_flag="-z nodefs"
6959 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"
6961 # Determine the default libpath from the value encoded in an empty executable.
6962 cat >conftest.$ac_ext <<_ACEOF
6963 #line $LINENO "configure"
6966 cat confdefs.h >>conftest.$ac_ext
6967 cat >>conftest.$ac_ext <<_ACEOF
6968 /* end confdefs.h. */
6978 rm -f conftest.$ac_objext conftest$ac_exeext
6979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6980 (eval $ac_link) 2>&5
6982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); } &&
6984 { ac_try='test -s conftest$ac_exeext'
6985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); }; }; then
6991 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6993 # Check for a 64-bit object if we didn't find anything.
6994 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; }
6997 echo "$as_me: failed program was:" >&5
6998 sed 's/^/| /' conftest.$ac_ext >&5
7001 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7002 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7004 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7005 # Warning - without using the other run time loading flags,
7006 # -berok will link without error, but may produce a broken library.
7007 no_undefined_flag=' ${wl}-bernotok'
7008 allow_undefined_flag=' ${wl}-berok'
7009 # -bexpall does not export symbols beginning with underscore (_)
7010 always_export_symbols=yes
7011 # Exported symbols can be pulled into shared objects from archives
7012 whole_archive_flag_spec=' '
7013 archive_cmds_need_lc=yes
7014 # This is similar to how AIX traditionally builds it's shared libraries.
7015 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'
7021 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)'
7022 hardcode_libdir_flag_spec='-L$libdir'
7023 hardcode_minus_L=yes
7024 # see comment about different semantics on the GNU ld section
7029 export_dynamic_flag_spec=-rdynamic
7032 cygwin* | mingw* | pw32*)
7033 # When not using gcc, we currently assume that we are using
7034 # Microsoft Visual C++.
7035 # hardcode_libdir_flag_spec is actually meaningless, as there is
7036 # no search path for DLLs.
7037 hardcode_libdir_flag_spec=' '
7038 allow_undefined_flag=unsupported
7039 # Tell ltmain to make .lib files, not .a files.
7041 # Tell ltmain to make .dll files, not .so files.
7043 # FIXME: Setting linknames here is a bad hack.
7044 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7045 # The linker will automatically build a .lib file if we build a DLL.
7046 old_archive_From_new_cmds='true'
7047 # FIXME: Should let the user specify the lib program.
7048 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7049 fix_srcfile_path='`cygpath -w "$srcfile"`'
7050 enable_shared_with_static_runtimes=yes
7053 darwin* | rhapsody*)
7054 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7055 archive_cmds_need_lc=no
7057 rhapsody* | darwin1.[012])
7058 allow_undefined_flag='-undefined suppress'
7061 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7064 # FIXME: Relying on posixy $() will cause problems for
7065 # cross-compilation, but unfortunately the echo tests do not
7066 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7067 # `"' quotes if we put them in here... so don't!
7068 lt_int_apple_cc_single_mod=no
7069 output_verbose_link_cmd='echo'
7070 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7071 lt_int_apple_cc_single_mod=yes
7073 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7074 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7076 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'
7078 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7079 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7080 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7081 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}'
7083 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}'
7085 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}'
7087 hardcode_automatic=yes
7088 hardcode_shlibpath_var=unsupported
7089 whole_archive_flag_spec='-all_load $convenience'
7090 link_all_deplibs=yes
7095 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7096 hardcode_libdir_flag_spec='-L$libdir'
7097 hardcode_shlibpath_var=no
7104 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7105 # support. Future versions do this automatically, but an explicit c++rt0.o
7106 # does not break anything, and helps significantly (at the cost of a little
7109 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7110 hardcode_libdir_flag_spec='-R$libdir'
7112 hardcode_shlibpath_var=no
7115 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7117 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7119 hardcode_minus_L=yes
7120 hardcode_shlibpath_var=no
7123 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7125 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7126 hardcode_libdir_flag_spec='-R$libdir'
7128 hardcode_shlibpath_var=no
7132 if test "$GCC" = yes; then
7133 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'
7135 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'
7137 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7138 hardcode_libdir_separator=:
7141 # hardcode_minus_L: Not really in the search PATH,
7142 # but as the default location of the library.
7143 hardcode_minus_L=yes
7144 export_dynamic_flag_spec='${wl}-E'
7148 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7151 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7154 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7160 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7163 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7167 if test "$with_gnu_ld" = no; then
7170 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7171 hardcode_libdir_flag_spec_ld='+b $libdir'
7172 hardcode_libdir_separator=:
7174 hardcode_shlibpath_var=no
7177 hardcode_libdir_flag_spec='-L$libdir'
7179 hardcode_shlibpath_var=no
7181 # hardcode_minus_L: Not really in the search PATH,
7182 # but as the default location of the library.
7183 hardcode_minus_L=yes
7186 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7187 hardcode_libdir_separator=:
7189 export_dynamic_flag_spec='${wl}-E'
7191 # hardcode_minus_L: Not really in the search PATH,
7192 # but as the default location of the library.
7193 hardcode_minus_L=yes
7199 irix5* | irix6* | nonstopux*)
7200 if test "$GCC" = yes; then
7201 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'
7203 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'
7204 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7206 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7207 hardcode_libdir_separator=:
7208 link_all_deplibs=yes
7212 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7213 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7215 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7217 hardcode_libdir_flag_spec='-R$libdir'
7219 hardcode_shlibpath_var=no
7223 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7225 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7226 hardcode_libdir_separator=:
7227 hardcode_shlibpath_var=no
7232 hardcode_shlibpath_var=no
7233 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7234 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7235 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7236 export_dynamic_flag_spec='${wl}-E'
7239 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7240 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7241 hardcode_libdir_flag_spec='-R$libdir'
7244 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7245 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7252 hardcode_libdir_flag_spec='-L$libdir'
7253 hardcode_minus_L=yes
7254 allow_undefined_flag=unsupported
7255 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'
7256 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7260 if test "$GCC" = yes; then
7261 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7262 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'
7264 allow_undefined_flag=' -expect_unresolved \*'
7265 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'
7267 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7268 hardcode_libdir_separator=:
7271 osf4* | osf5*) # as osf3* with the addition of -msym flag
7272 if test "$GCC" = yes; then
7273 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7274 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'
7275 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7277 allow_undefined_flag=' -expect_unresolved \*'
7278 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'
7279 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7280 $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'
7282 # Both c and cxx compiler support -rpath directly
7283 hardcode_libdir_flag_spec='-rpath $libdir'
7285 hardcode_libdir_separator=:
7289 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7290 hardcode_shlibpath_var=no
7291 export_dynamic_flag_spec='${wl}-Bexport'
7292 runpath_var=LD_RUN_PATH
7293 hardcode_runpath_var=yes
7297 no_undefined_flag=' -z text'
7298 if test "$GCC" = yes; then
7299 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7300 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7301 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7303 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7304 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7305 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7307 hardcode_libdir_flag_spec='-R$libdir'
7308 hardcode_shlibpath_var=no
7310 solaris2.[0-5] | solaris2.[0-5].*) ;;
7311 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7312 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7314 link_all_deplibs=yes
7318 if test "x$host_vendor" = xsequent; then
7319 # Use $CC to link under sequent, because it throws in some extra .o
7320 # files that make .init and .fini sections work.
7321 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7323 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7325 hardcode_libdir_flag_spec='-L$libdir'
7327 hardcode_minus_L=yes
7328 hardcode_shlibpath_var=no
7332 case $host_vendor in
7334 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7335 hardcode_direct=yes # is this really true???
7338 ## LD is ld it makes a PLAMLIB
7339 ## CC just makes a GrossModule.
7340 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7341 reload_cmds='$CC -r -o $output$reload_objs'
7345 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7346 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7349 runpath_var='LD_RUN_PATH'
7350 hardcode_shlibpath_var=no
7354 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7355 hardcode_shlibpath_var=no
7356 export_dynamic_flag_spec='-Bexport'
7360 if test -d /usr/nec; then
7361 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7362 hardcode_shlibpath_var=no
7363 runpath_var=LD_RUN_PATH
7364 hardcode_runpath_var=yes
7370 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7373 hardcode_shlibpath_var=no
7374 hardcode_runpath_var=yes
7375 runpath_var=LD_RUN_PATH
7378 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7379 no_undefined_flag='${wl}-z ${wl}text'
7380 if test "$GCC" = yes; then
7381 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7383 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7385 runpath_var='LD_RUN_PATH'
7386 hardcode_shlibpath_var=no
7390 no_undefined_flag=' -z text'
7391 # $CC -shared without GNU ld will not create a library from C++
7392 # object files and a static libstdc++, better avoid it by now
7393 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7394 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7395 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7396 hardcode_libdir_flag_spec=
7397 hardcode_shlibpath_var=no
7398 runpath_var='LD_RUN_PATH'
7402 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7403 hardcode_libdir_flag_spec='-L$libdir'
7404 hardcode_shlibpath_var=no
7413 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7414 echo "${ECHO_T}$ld_shlibs" >&6
7415 test "$ld_shlibs" = no && can_build_shared=no
7417 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7418 if test "$GCC" = yes; then
7419 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7423 # Do we need to explicitly link libc?
7425 case "x$archive_cmds_need_lc" in
7427 # Assume -lc should be added
7428 archive_cmds_need_lc=yes
7430 if test "$enable_shared" = yes && test "$GCC" = yes; then
7431 case $archive_cmds in
7433 # FIXME: we may have to deal with multi-command sequences.
7436 # Test whether the compiler implicitly links with -lc since on some
7437 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7438 # to ld, don't add -lc before -lgcc.
7439 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7440 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7442 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7445 (eval $ac_compile) 2>&5
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); } 2>conftest.err; then
7451 libobjs=conftest.$ac_objext
7453 wl=$lt_prog_compiler_wl
7459 lt_save_allow_undefined_flag=$allow_undefined_flag
7460 allow_undefined_flag=
7461 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7462 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); }
7467 archive_cmds_need_lc=no
7469 archive_cmds_need_lc=yes
7471 allow_undefined_flag=$lt_save_allow_undefined_flag
7473 cat conftest.err 1>&5
7476 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7477 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7484 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7485 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7487 if test -n "$hardcode_libdir_flag_spec" || \
7488 test -n "$runpath_var " || \
7489 test "X$hardcode_automatic"="Xyes" ; then
7491 # We can hardcode non-existant directories.
7492 if test "$hardcode_direct" != no &&
7493 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7494 # have to relink, otherwise we might link with an installed library
7495 # when we should be linking with a yet-to-be-installed one
7496 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7497 test "$hardcode_minus_L" != no; then
7498 # Linking always hardcodes the temporary library directory.
7499 hardcode_action=relink
7501 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7502 hardcode_action=immediate
7505 # We cannot hardcode anything, or else we can only hardcode existing
7507 hardcode_action=unsupported
7509 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7510 echo "${ECHO_T}$hardcode_action" >&6
7512 if test "$hardcode_action" = relink; then
7513 # Fast installation is not supported
7514 enable_fast_install=no
7515 elif test "$shlibpath_overrides_runpath" = yes ||
7516 test "$enable_shared" = no; then
7517 # Fast installation is not necessary
7518 enable_fast_install=needless
7523 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7524 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7525 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7526 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7527 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7528 echo "$as_me:$LINENO: result: yes" >&5
7529 echo "${ECHO_T}yes" >&6
7531 # FIXME - insert some real tests, host_os isn't really good enough
7534 if test -n "$STRIP" ; then
7535 striplib="$STRIP -x"
7536 echo "$as_me:$LINENO: result: yes" >&5
7537 echo "${ECHO_T}yes" >&6
7539 echo "$as_me:$LINENO: result: no" >&5
7540 echo "${ECHO_T}no" >&6
7544 echo "$as_me:$LINENO: result: no" >&5
7545 echo "${ECHO_T}no" >&6
7550 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7551 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7553 libname_spec='lib$name'
7561 shlibpath_overrides_runpath=unknown
7563 dynamic_linker="$host_os ld.so"
7564 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7565 if test "$GCC" = yes; then
7566 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7567 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7568 # if the path contains ";" then we assume it to be the separator
7569 # otherwise default to the standard path separator (i.e. ":") - it is
7570 # assumed that no part of a normal pathname contains ";" but that should
7571 # okay in the real world where ";" in dirpaths is itself problematic.
7572 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7574 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7577 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7579 need_lib_prefix=unknown
7580 hardcode_into_libs=no
7582 # when you set need_version to no, make sure it does not cause -set_version
7583 # flags to be left without arguments
7584 need_version=unknown
7589 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7590 shlibpath_var=LIBPATH
7592 # AIX 3 has no versioning support, so we append a major version to the name.
7593 soname_spec='${libname}${release}${shared_ext}$major'
7600 hardcode_into_libs=yes
7601 if test "$host_cpu" = ia64; then
7602 # AIX 5 supports IA64
7603 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7604 shlibpath_var=LD_LIBRARY_PATH
7606 # With GCC up to 2.95.x, collect2 would create an import file
7607 # for dependence libraries. The import file would start with
7608 # the line `#! .'. This would cause the generated library to
7609 # depend on `.', always an invalid library. This was fixed in
7610 # development snapshots of GCC prior to 3.0.
7612 aix4 | aix4.[01] | aix4.[01].*)
7613 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7615 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7622 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7623 # soname into executable. Probably we can add versioning support to
7624 # collect2, so additional links can be useful in future.
7625 if test "$aix_use_runtimelinking" = yes; then
7626 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7627 # instead of lib<name>.a to let people know that these are not
7628 # typical AIX shared libraries.
7629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7631 # We preserve .a as extension for shared libraries through AIX4.2
7632 # and later when we are not doing run time linking.
7633 library_names_spec='${libname}${release}.a $libname.a'
7634 soname_spec='${libname}${release}${shared_ext}$major'
7636 shlibpath_var=LIBPATH
7641 library_names_spec='$libname.ixlibrary $libname.a'
7642 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7643 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'
7647 library_names_spec='${libname}${shared_ext}'
7648 dynamic_linker="$host_os ld.so"
7649 shlibpath_var=LIBRARY_PATH
7655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7656 soname_spec='${libname}${release}${shared_ext}$major'
7657 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7658 shlibpath_var=LD_LIBRARY_PATH
7659 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7660 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7661 # the default ld.so.conf also contains /usr/contrib/lib and
7662 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7663 # libtool to hard-code these into programs
7666 cygwin* | mingw* | pw32*)
7667 version_type=windows
7672 case $GCC,$host_os in
7673 yes,cygwin* | yes,mingw* | yes,pw32*)
7674 library_names_spec='$libname.dll.a'
7675 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7676 postinstall_cmds='base_file=`basename \${file}`~
7677 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7678 dldir=$destdir/`dirname \$dlpath`~
7679 test -d \$dldir || mkdir -p \$dldir~
7680 $install_prog $dir/$dlname \$dldir/$dlname'
7681 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7682 dlpath=$dir/\$dldll~
7684 shlibpath_overrides_runpath=yes
7688 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7689 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7690 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7693 # MinGW DLLs use traditional 'lib' prefix
7694 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7695 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7696 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7697 # It is most probably a Windows format PATH printed by
7698 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7699 # path with ; separators, and with drive letters. We can handle the
7700 # drive letters (cygwin fileutils understands them), so leave them,
7701 # especially as we might pass files found there to a mingw objdump,
7702 # which wouldn't understand a cygwinified path. Ahh.
7703 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7705 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7709 # pw32 DLLs use 'pw' prefix rather than 'lib'
7710 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7716 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7719 dynamic_linker='Win32 ld.exe'
7720 # FIXME: first we should search . and the directory the executable is in
7724 darwin* | rhapsody*)
7725 dynamic_linker="$host_os dyld"
7729 # FIXME: Relying on posixy $() will cause problems for
7730 # cross-compilation, but unfortunately the echo tests do not
7731 # yet detect zsh echo's removal of \ escapes.
7732 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7733 soname_spec='${libname}${release}${major}$shared_ext'
7734 shlibpath_overrides_runpath=yes
7735 shlibpath_var=DYLD_LIBRARY_PATH
7736 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7737 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7738 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7739 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"`
7741 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7749 soname_spec='${libname}${release}${shared_ext}$major'
7750 shlibpath_var=LD_LIBRARY_PATH
7758 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7759 version_type=freebsd-$objformat
7760 case $version_type in
7762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7767 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7771 shlibpath_var=LD_LIBRARY_PATH
7774 shlibpath_overrides_runpath=yes
7776 freebsd3.01* | freebsdelf3.01*)
7777 shlibpath_overrides_runpath=yes
7778 hardcode_into_libs=yes
7781 shlibpath_overrides_runpath=no
7782 hardcode_into_libs=yes
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 shlibpath_var=LD_LIBRARY_PATH
7794 hardcode_into_libs=yes
7797 hpux9* | hpux10* | hpux11*)
7798 # Give a soname corresponding to the major version so that dld.sl refuses to
7799 # link against other versions.
7806 hardcode_into_libs=yes
7807 dynamic_linker="$host_os dld.so"
7808 shlibpath_var=LD_LIBRARY_PATH
7809 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7811 soname_spec='${libname}${release}${shared_ext}$major'
7812 if test "X$HPUX_IA64_MODE" = X32; then
7813 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7815 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7817 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7821 hardcode_into_libs=yes
7822 dynamic_linker="$host_os dld.sl"
7823 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7824 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7826 soname_spec='${libname}${release}${shared_ext}$major'
7827 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7828 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7832 dynamic_linker="$host_os dld.sl"
7833 shlibpath_var=SHLIB_PATH
7834 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7836 soname_spec='${libname}${release}${shared_ext}$major'
7839 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7840 postinstall_cmds='chmod 555 $lib'
7843 irix5* | irix6* | nonstopux*)
7845 nonstopux*) version_type=nonstopux ;;
7847 if test "$lt_cv_prog_gnu_ld" = yes; then
7855 soname_spec='${libname}${release}${shared_ext}$major'
7856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7858 irix5* | nonstopux*)
7862 case $LD in # libtool.m4 will add one of these switches to LD
7863 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7864 libsuff= shlibsuff= libmagic=32-bit;;
7865 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7866 libsuff=32 shlibsuff=N32 libmagic=N32;;
7867 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7868 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7869 *) libsuff= shlibsuff= libmagic=never-match;;
7873 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7874 shlibpath_overrides_runpath=no
7875 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7876 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7877 hardcode_into_libs=yes
7880 # No shared lib support for Linux oldld, aout, or coff.
7881 linux*oldld* | linux*aout* | linux*coff*)
7885 # This must be Linux ELF.
7890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7891 soname_spec='${libname}${release}${shared_ext}$major'
7892 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7893 shlibpath_var=LD_LIBRARY_PATH
7894 shlibpath_overrides_runpath=no
7895 # This implies no fast_install, which is unacceptable.
7896 # Some rework will be needed to allow for fast_install
7897 # before this can be enabled.
7898 hardcode_into_libs=yes
7900 # We used to test for /lib/ld.so.1 and disable shared libraries on
7901 # powerpc, because MkLinux only supported shared libraries with the
7902 # GNU dynamic linker. Since this was broken with cross compilers,
7903 # most powerpc-linux boxes support dynamic linking these days and
7904 # people can always --disable-shared, the test was removed, and we
7905 # assume the GNU/Linux dynamic linker is in use.
7906 dynamic_linker='GNU/Linux ld.so'
7913 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7915 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7916 dynamic_linker='NetBSD (a.out) ld.so'
7918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7919 soname_spec='${libname}${release}${shared_ext}$major'
7920 dynamic_linker='NetBSD ld.elf_so'
7922 shlibpath_var=LD_LIBRARY_PATH
7923 shlibpath_overrides_runpath=yes
7924 hardcode_into_libs=yes
7929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7930 shlibpath_var=LD_LIBRARY_PATH
7931 shlibpath_overrides_runpath=yes
7938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7939 soname_spec='${libname}${release}${shared_ext}$major'
7940 shlibpath_var=LD_LIBRARY_PATH
7941 shlibpath_overrides_runpath=yes
7948 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7949 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7950 shlibpath_var=LD_LIBRARY_PATH
7951 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7953 openbsd2.[89] | openbsd2.[89].*)
7954 shlibpath_overrides_runpath=no
7957 shlibpath_overrides_runpath=yes
7961 shlibpath_overrides_runpath=yes
7966 libname_spec='$name'
7969 library_names_spec='$libname${shared_ext} $libname.a'
7970 dynamic_linker='OS/2 ld.exe'
7971 shlibpath_var=LIBPATH
7974 osf3* | osf4* | osf5*)
7978 soname_spec='${libname}${release}${shared_ext}$major'
7979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7980 shlibpath_var=LD_LIBRARY_PATH
7981 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7982 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7987 soname_spec='${libname}${release}${shared_ext}$major'
7988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7989 shlibpath_var=LD_LIBRARY_PATH
7996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7997 soname_spec='${libname}${release}${shared_ext}$major'
7998 shlibpath_var=LD_LIBRARY_PATH
7999 shlibpath_overrides_runpath=yes
8000 hardcode_into_libs=yes
8001 # ldd complains unless libraries are executable
8002 postinstall_cmds='chmod +x $lib'
8007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8008 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8009 shlibpath_var=LD_LIBRARY_PATH
8010 shlibpath_overrides_runpath=yes
8011 if test "$with_gnu_ld" = yes; then
8017 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8020 soname_spec='${libname}${release}${shared_ext}$major'
8021 shlibpath_var=LD_LIBRARY_PATH
8022 case $host_vendor in
8024 shlibpath_overrides_runpath=no
8026 export_dynamic_flag_spec='${wl}-Blargedynsym'
8027 runpath_var=LD_RUN_PATH
8035 shlibpath_overrides_runpath=no
8036 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8042 if test -d /usr/nec ;then
8044 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8045 soname_spec='$libname${shared_ext}.$major'
8046 shlibpath_var=LD_LIBRARY_PATH
8052 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8053 soname_spec='${libname}${release}${shared_ext}$major'
8054 shlibpath_var=LD_LIBRARY_PATH
8061 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8062 echo "${ECHO_T}$dynamic_linker" >&6
8063 test "$dynamic_linker" = no && can_build_shared=no
8065 if test "x$enable_dlopen" != xyes; then
8066 enable_dlopen=unknown
8067 enable_dlopen_self=unknown
8068 enable_dlopen_self_static=unknown
8075 lt_cv_dlopen="load_add_on"
8077 lt_cv_dlopen_self=yes
8081 lt_cv_dlopen="LoadLibrary"
8086 lt_cv_dlopen="dlopen"
8091 # if libdl is installed we need to link against it
8092 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8093 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8094 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8095 echo $ECHO_N "(cached) $ECHO_C" >&6
8097 ac_check_lib_save_LIBS=$LIBS
8099 cat >conftest.$ac_ext <<_ACEOF
8100 #line $LINENO "configure"
8103 cat confdefs.h >>conftest.$ac_ext
8104 cat >>conftest.$ac_ext <<_ACEOF
8105 /* end confdefs.h. */
8107 /* Override any gcc2 internal prototype to avoid an error. */
8111 /* We use char because int might match the return type of a gcc2
8112 builtin and then its argument prototype would still apply. */
8122 rm -f conftest.$ac_objext conftest$ac_exeext
8123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8124 (eval $ac_link) 2>&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); } &&
8128 { ac_try='test -s conftest$ac_exeext'
8129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; }; then
8134 ac_cv_lib_dl_dlopen=yes
8136 echo "$as_me: failed program was:" >&5
8137 sed 's/^/| /' conftest.$ac_ext >&5
8139 ac_cv_lib_dl_dlopen=no
8141 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8142 LIBS=$ac_check_lib_save_LIBS
8144 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8145 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8146 if test $ac_cv_lib_dl_dlopen = yes; then
8147 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8152 lt_cv_dlopen_self=yes
8159 echo "$as_me:$LINENO: checking for shl_load" >&5
8160 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8161 if test "${ac_cv_func_shl_load+set}" = set; then
8162 echo $ECHO_N "(cached) $ECHO_C" >&6
8164 cat >conftest.$ac_ext <<_ACEOF
8165 #line $LINENO "configure"
8168 cat confdefs.h >>conftest.$ac_ext
8169 cat >>conftest.$ac_ext <<_ACEOF
8170 /* end confdefs.h. */
8171 /* System header to define __stub macros and hopefully few prototypes,
8172 which can conflict with char shl_load (); below.
8173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8174 <limits.h> exists even on freestanding compilers. */
8176 # include <limits.h>
8178 # include <assert.h>
8180 /* Override any gcc2 internal prototype to avoid an error. */
8185 /* We use char because int might match the return type of a gcc2
8186 builtin and then its argument prototype would still apply. */
8188 /* The GNU C library defines this for functions which it implements
8189 to always fail with ENOSYS. Some functions are actually named
8190 something starting with __ and the normal name is an alias. */
8191 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8194 char (*f) () = shl_load;
8203 return f != shl_load;
8208 rm -f conftest.$ac_objext conftest$ac_exeext
8209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8210 (eval $ac_link) 2>&5
8212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8213 (exit $ac_status); } &&
8214 { ac_try='test -s conftest$ac_exeext'
8215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219 (exit $ac_status); }; }; then
8220 ac_cv_func_shl_load=yes
8222 echo "$as_me: failed program was:" >&5
8223 sed 's/^/| /' conftest.$ac_ext >&5
8225 ac_cv_func_shl_load=no
8227 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8229 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8230 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8231 if test $ac_cv_func_shl_load = yes; then
8232 lt_cv_dlopen="shl_load"
8234 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8235 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8236 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8237 echo $ECHO_N "(cached) $ECHO_C" >&6
8239 ac_check_lib_save_LIBS=$LIBS
8241 cat >conftest.$ac_ext <<_ACEOF
8242 #line $LINENO "configure"
8245 cat confdefs.h >>conftest.$ac_ext
8246 cat >>conftest.$ac_ext <<_ACEOF
8247 /* end confdefs.h. */
8249 /* Override any gcc2 internal prototype to avoid an error. */
8253 /* We use char because int might match the return type of a gcc2
8254 builtin and then its argument prototype would still apply. */
8264 rm -f conftest.$ac_objext conftest$ac_exeext
8265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8266 (eval $ac_link) 2>&5
8268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8269 (exit $ac_status); } &&
8270 { ac_try='test -s conftest$ac_exeext'
8271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 (exit $ac_status); }; }; then
8276 ac_cv_lib_dld_shl_load=yes
8278 echo "$as_me: failed program was:" >&5
8279 sed 's/^/| /' conftest.$ac_ext >&5
8281 ac_cv_lib_dld_shl_load=no
8283 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8284 LIBS=$ac_check_lib_save_LIBS
8286 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8287 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8288 if test $ac_cv_lib_dld_shl_load = yes; then
8289 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8291 echo "$as_me:$LINENO: checking for dlopen" >&5
8292 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8293 if test "${ac_cv_func_dlopen+set}" = set; then
8294 echo $ECHO_N "(cached) $ECHO_C" >&6
8296 cat >conftest.$ac_ext <<_ACEOF
8297 #line $LINENO "configure"
8300 cat confdefs.h >>conftest.$ac_ext
8301 cat >>conftest.$ac_ext <<_ACEOF
8302 /* end confdefs.h. */
8303 /* System header to define __stub macros and hopefully few prototypes,
8304 which can conflict with char dlopen (); below.
8305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8306 <limits.h> exists even on freestanding compilers. */
8308 # include <limits.h>
8310 # include <assert.h>
8312 /* Override any gcc2 internal prototype to avoid an error. */
8317 /* We use char because int might match the return type of a gcc2
8318 builtin and then its argument prototype would still apply. */
8320 /* The GNU C library defines this for functions which it implements
8321 to always fail with ENOSYS. Some functions are actually named
8322 something starting with __ and the normal name is an alias. */
8323 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8326 char (*f) () = dlopen;
8340 rm -f conftest.$ac_objext conftest$ac_exeext
8341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8342 (eval $ac_link) 2>&5
8344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345 (exit $ac_status); } &&
8346 { ac_try='test -s conftest$ac_exeext'
8347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351 (exit $ac_status); }; }; then
8352 ac_cv_func_dlopen=yes
8354 echo "$as_me: failed program was:" >&5
8355 sed 's/^/| /' conftest.$ac_ext >&5
8357 ac_cv_func_dlopen=no
8359 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8361 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8362 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8363 if test $ac_cv_func_dlopen = yes; then
8364 lt_cv_dlopen="dlopen"
8366 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8367 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8368 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8369 echo $ECHO_N "(cached) $ECHO_C" >&6
8371 ac_check_lib_save_LIBS=$LIBS
8373 cat >conftest.$ac_ext <<_ACEOF
8374 #line $LINENO "configure"
8377 cat confdefs.h >>conftest.$ac_ext
8378 cat >>conftest.$ac_ext <<_ACEOF
8379 /* end confdefs.h. */
8381 /* Override any gcc2 internal prototype to avoid an error. */
8385 /* We use char because int might match the return type of a gcc2
8386 builtin and then its argument prototype would still apply. */
8396 rm -f conftest.$ac_objext conftest$ac_exeext
8397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8398 (eval $ac_link) 2>&5
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); } &&
8402 { ac_try='test -s conftest$ac_exeext'
8403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); }; }; then
8408 ac_cv_lib_dl_dlopen=yes
8410 echo "$as_me: failed program was:" >&5
8411 sed 's/^/| /' conftest.$ac_ext >&5
8413 ac_cv_lib_dl_dlopen=no
8415 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8416 LIBS=$ac_check_lib_save_LIBS
8418 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8419 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8420 if test $ac_cv_lib_dl_dlopen = yes; then
8421 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8423 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8424 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8425 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8426 echo $ECHO_N "(cached) $ECHO_C" >&6
8428 ac_check_lib_save_LIBS=$LIBS
8430 cat >conftest.$ac_ext <<_ACEOF
8431 #line $LINENO "configure"
8434 cat confdefs.h >>conftest.$ac_ext
8435 cat >>conftest.$ac_ext <<_ACEOF
8436 /* end confdefs.h. */
8438 /* Override any gcc2 internal prototype to avoid an error. */
8442 /* We use char because int might match the return type of a gcc2
8443 builtin and then its argument prototype would still apply. */
8453 rm -f conftest.$ac_objext conftest$ac_exeext
8454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8455 (eval $ac_link) 2>&5
8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 (exit $ac_status); } &&
8459 { ac_try='test -s conftest$ac_exeext'
8460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); }; }; then
8465 ac_cv_lib_svld_dlopen=yes
8467 echo "$as_me: failed program was:" >&5
8468 sed 's/^/| /' conftest.$ac_ext >&5
8470 ac_cv_lib_svld_dlopen=no
8472 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8473 LIBS=$ac_check_lib_save_LIBS
8475 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8476 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8477 if test $ac_cv_lib_svld_dlopen = yes; then
8478 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8480 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8481 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8482 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8483 echo $ECHO_N "(cached) $ECHO_C" >&6
8485 ac_check_lib_save_LIBS=$LIBS
8487 cat >conftest.$ac_ext <<_ACEOF
8488 #line $LINENO "configure"
8491 cat confdefs.h >>conftest.$ac_ext
8492 cat >>conftest.$ac_ext <<_ACEOF
8493 /* end confdefs.h. */
8495 /* Override any gcc2 internal prototype to avoid an error. */
8499 /* We use char because int might match the return type of a gcc2
8500 builtin and then its argument prototype would still apply. */
8510 rm -f conftest.$ac_objext conftest$ac_exeext
8511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8512 (eval $ac_link) 2>&5
8514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515 (exit $ac_status); } &&
8516 { ac_try='test -s conftest$ac_exeext'
8517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); }; }; then
8522 ac_cv_lib_dld_dld_link=yes
8524 echo "$as_me: failed program was:" >&5
8525 sed 's/^/| /' conftest.$ac_ext >&5
8527 ac_cv_lib_dld_dld_link=no
8529 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8530 LIBS=$ac_check_lib_save_LIBS
8532 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8533 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8534 if test $ac_cv_lib_dld_dld_link = yes; then
8535 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8556 if test "x$lt_cv_dlopen" != xno; then
8562 case $lt_cv_dlopen in
8564 save_CPPFLAGS="$CPPFLAGS"
8565 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8567 save_LDFLAGS="$LDFLAGS"
8568 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8571 LIBS="$lt_cv_dlopen_libs $LIBS"
8573 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8574 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8575 if test "${lt_cv_dlopen_self+set}" = set; then
8576 echo $ECHO_N "(cached) $ECHO_C" >&6
8578 if test "$cross_compiling" = yes; then :
8579 lt_cv_dlopen_self=cross
8581 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8582 lt_status=$lt_dlunknown
8583 cat > conftest.$ac_ext <<EOF
8584 #line 8590 "configure"
8585 #include "confdefs.h"
8594 # define LT_DLGLOBAL RTLD_GLOBAL
8597 # define LT_DLGLOBAL DL_GLOBAL
8599 # define LT_DLGLOBAL 0
8603 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8604 find out it does not work in some platform. */
8605 #ifndef LT_DLLAZY_OR_NOW
8607 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8610 # define LT_DLLAZY_OR_NOW DL_LAZY
8613 # define LT_DLLAZY_OR_NOW RTLD_NOW
8616 # define LT_DLLAZY_OR_NOW DL_NOW
8618 # define LT_DLLAZY_OR_NOW 0
8626 extern "C" void exit (int);
8629 void fnord() { int i=42;}
8632 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8633 int status = $lt_dlunknown;
8637 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8638 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8639 /* dlclose (self); */
8645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8646 (eval $ac_link) 2>&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8650 (./conftest; exit; ) 2>/dev/null
8653 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8654 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8655 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8658 # compilation failed
8659 lt_cv_dlopen_self=no
8666 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8667 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8669 if test "x$lt_cv_dlopen_self" = xyes; then
8670 LDFLAGS="$LDFLAGS $link_static_flag"
8671 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8672 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8673 if test "${lt_cv_dlopen_self_static+set}" = set; then
8674 echo $ECHO_N "(cached) $ECHO_C" >&6
8676 if test "$cross_compiling" = yes; then :
8677 lt_cv_dlopen_self_static=cross
8679 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8680 lt_status=$lt_dlunknown
8681 cat > conftest.$ac_ext <<EOF
8682 #line 8688 "configure"
8683 #include "confdefs.h"
8692 # define LT_DLGLOBAL RTLD_GLOBAL
8695 # define LT_DLGLOBAL DL_GLOBAL
8697 # define LT_DLGLOBAL 0
8701 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8702 find out it does not work in some platform. */
8703 #ifndef LT_DLLAZY_OR_NOW
8705 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8708 # define LT_DLLAZY_OR_NOW DL_LAZY
8711 # define LT_DLLAZY_OR_NOW RTLD_NOW
8714 # define LT_DLLAZY_OR_NOW DL_NOW
8716 # define LT_DLLAZY_OR_NOW 0
8724 extern "C" void exit (int);
8727 void fnord() { int i=42;}
8730 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8731 int status = $lt_dlunknown;
8735 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8736 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8737 /* dlclose (self); */
8743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8744 (eval $ac_link) 2>&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8748 (./conftest; exit; ) 2>/dev/null
8751 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8752 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8753 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8756 # compilation failed
8757 lt_cv_dlopen_self_static=no
8764 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8765 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8768 CPPFLAGS="$save_CPPFLAGS"
8769 LDFLAGS="$save_LDFLAGS"
8774 case $lt_cv_dlopen_self in
8775 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8776 *) enable_dlopen_self=unknown ;;
8779 case $lt_cv_dlopen_self_static in
8780 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8781 *) enable_dlopen_self_static=unknown ;;
8786 # Report which librarie types wil actually be built
8787 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8788 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8789 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8790 echo "${ECHO_T}$can_build_shared" >&6
8792 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8793 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8794 test "$can_build_shared" = "no" && enable_shared=no
8796 # On AIX, shared libraries and static libraries use the same namespace, and
8797 # are all built from PIC.
8800 test "$enable_shared" = yes && enable_static=no
8801 if test -n "$RANLIB"; then
8802 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8803 postinstall_cmds='$RANLIB $lib'
8808 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8809 test "$enable_shared" = yes && enable_static=no
8812 darwin* | rhapsody*)
8813 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8814 archive_cmds_need_lc=no
8816 rhapsody* | darwin1.[012])
8817 allow_undefined_flag='-undefined suppress'
8820 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8823 # FIXME: Relying on posixy $() will cause problems for
8824 # cross-compilation, but unfortunately the echo tests do not
8825 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8826 # `"' quotes if we put them in here... so don't!
8827 output_verbose_link_cmd='echo'
8828 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8829 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8830 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8831 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}'
8832 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}'
8834 hardcode_automatic=yes
8835 hardcode_shlibpath_var=unsupported
8836 whole_archive_flag_spec='-all_load $convenience'
8837 link_all_deplibs=yes
8841 echo "$as_me:$LINENO: result: $enable_shared" >&5
8842 echo "${ECHO_T}$enable_shared" >&6
8844 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8845 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8846 # Make sure either enable_shared or enable_static is yes.
8847 test "$enable_shared" = yes || enable_static=yes
8848 echo "$as_me:$LINENO: result: $enable_static" >&5
8849 echo "${ECHO_T}$enable_static" >&6
8851 # The else clause should only fire when bootstrapping the
8852 # libtool distribution, otherwise you forgot to ship ltmain.sh
8853 # with your package, and you will get complaints that there are
8854 # no rules to generate ltmain.sh.
8855 if test -f "$ltmain"; then
8856 # See if we are running on zsh, and set the options which allow our commands through
8857 # without removal of \ escapes.
8858 if test -n "${ZSH_VERSION+set}" ; then
8859 setopt NO_GLOB_SUBST
8861 # Now quote all the things that may contain metacharacters while being
8862 # careful not to overquote the AC_SUBSTed values. We take copies of the
8863 # variables and quote the copies for generation of the libtool script.
8864 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8865 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8866 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8867 deplibs_check_method reload_flag reload_cmds need_locks \
8868 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8869 lt_cv_sys_global_symbol_to_c_name_address \
8870 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8871 old_postinstall_cmds old_postuninstall_cmds \
8875 lt_prog_compiler_wl \
8876 lt_prog_compiler_pic \
8877 lt_prog_compiler_static \
8878 lt_prog_compiler_no_builtin_flag \
8879 export_dynamic_flag_spec \
8880 thread_safe_flag_spec \
8881 whole_archive_flag_spec \
8882 enable_shared_with_static_runtimes \
8884 old_archive_from_new_cmds \
8889 compiler_lib_search_path \
8891 archive_expsym_cmds \
8893 postuninstall_cmds \
8894 old_archive_from_expsyms_cmds \
8895 allow_undefined_flag \
8897 export_symbols_cmds \
8898 hardcode_libdir_flag_spec \
8899 hardcode_libdir_flag_spec_ld \
8900 hardcode_libdir_separator \
8901 hardcode_automatic \
8903 module_expsym_cmds \
8904 lt_cv_prog_compiler_c_o \
8909 old_archive_cmds | \
8910 old_archive_from_new_cmds | \
8912 archive_expsym_cmds | \
8914 module_expsym_cmds | \
8915 old_archive_from_expsyms_cmds | \
8916 export_symbols_cmds | \
8917 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8918 postinstall_cmds | postuninstall_cmds | \
8919 old_postinstall_cmds | old_postuninstall_cmds | \
8920 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8921 # Double-quote double-evaled strings.
8922 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8925 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8931 *'\$0 --fallback-echo"')
8932 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8937 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8939 { echo "$as_me:$LINENO: creating $ofile" >&5
8940 echo "$as_me: creating $ofile" >&6;}
8942 cat <<__EOF__ >> "$cfgfile"
8945 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8946 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8947 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8949 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8950 # Free Software Foundation, Inc.
8952 # This file is part of GNU Libtool:
8953 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8955 # This program is free software; you can redistribute it and/or modify
8956 # it under the terms of the GNU General Public License as published by
8957 # the Free Software Foundation; either version 2 of the License, or
8958 # (at your option) any later version.
8960 # This program is distributed in the hope that it will be useful, but
8961 # WITHOUT ANY WARRANTY; without even the implied warranty of
8962 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8963 # General Public License for more details.
8965 # You should have received a copy of the GNU General Public License
8966 # along with this program; if not, write to the Free Software
8967 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8969 # As a special exception to the GNU General Public License, if you
8970 # distribute this file as part of a program that contains a
8971 # configuration script generated by Autoconf, you may include it under
8972 # the same distribution terms that you use for the rest of that program.
8974 # A sed program that does not truncate output.
8977 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8978 Xsed="$SED -e s/^X//"
8980 # The HP-UX ksh and POSIX shell print the target directory to stdout
8982 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8984 # The names of the tagged configurations supported by this script.
8987 # ### BEGIN LIBTOOL CONFIG
8989 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8991 # Shell to use when invoking shell scripts.
8994 # Whether or not to build shared libraries.
8995 build_libtool_libs=$enable_shared
8997 # Whether or not to build static libraries.
8998 build_old_libs=$enable_static
9000 # Whether or not to add -lc for building shared libraries.
9001 build_libtool_need_lc=$archive_cmds_need_lc
9003 # Whether or not to disallow shared libs when runtime libs are static
9004 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9006 # Whether or not to optimize for fast installation.
9007 fast_install=$enable_fast_install
9010 host_alias=$host_alias
9013 # An echo program that does not interpret backslashes.
9018 AR_FLAGS=$lt_AR_FLAGS
9023 # A language-specific compiler.
9026 # Is the compiler the GNU C compiler?
9032 # The linker used to build libraries.
9035 # Whether we need hard or soft links.
9038 # A BSD-compatible nm program.
9041 # A symbol stripping program
9044 # Used to examine libraries when file_magic_cmd begins "file"
9045 MAGIC_CMD=$MAGIC_CMD
9047 # Used on cygwin: DLL creation program.
9050 # Used on cygwin: object dumper.
9053 # Used on cygwin: assembler.
9056 # The name of the directory that contains temporary libtool files.
9059 # How to create reloadable object files.
9060 reload_flag=$lt_reload_flag
9061 reload_cmds=$lt_reload_cmds
9063 # How to pass a linker flag through the compiler.
9064 wl=$lt_lt_prog_compiler_wl
9066 # Object file suffix (normally "o").
9069 # Old archive suffix (normally "a").
9072 # Shared library suffix (normally ".so").
9075 # Executable file suffix (normally "").
9078 # Additional compiler flags for building library objects.
9079 pic_flag=$lt_lt_prog_compiler_pic
9082 # What is the maximum length of a command?
9083 max_cmd_len=$lt_cv_sys_max_cmd_len
9085 # Does compiler simultaneously support -c and -o options?
9086 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9088 # Must we lock files when doing compilation ?
9089 need_locks=$lt_need_locks
9091 # Do we need the lib prefix for modules?
9092 need_lib_prefix=$need_lib_prefix
9094 # Do we need a version for libraries?
9095 need_version=$need_version
9097 # Whether dlopen is supported.
9098 dlopen_support=$enable_dlopen
9100 # Whether dlopen of programs is supported.
9101 dlopen_self=$enable_dlopen_self
9103 # Whether dlopen of statically linked programs is supported.
9104 dlopen_self_static=$enable_dlopen_self_static
9106 # Compiler flag to prevent dynamic linking.
9107 link_static_flag=$lt_lt_prog_compiler_static
9109 # Compiler flag to turn off builtin functions.
9110 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9112 # Compiler flag to allow reflexive dlopens.
9113 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9115 # Compiler flag to generate shared objects directly from archives.
9116 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9118 # Compiler flag to generate thread-safe objects.
9119 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9121 # Library versioning type.
9122 version_type=$version_type
9124 # Format of library name prefix.
9125 libname_spec=$lt_libname_spec
9127 # List of archive names. First name is the real one, the rest are links.
9128 # The last name is the one that the linker finds with -lNAME.
9129 library_names_spec=$lt_library_names_spec
9131 # The coded name of the library, if different from the real name.
9132 soname_spec=$lt_soname_spec
9134 # Commands used to build and install an old-style archive.
9136 old_archive_cmds=$lt_old_archive_cmds
9137 old_postinstall_cmds=$lt_old_postinstall_cmds
9138 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9140 # Create an old-style archive from a shared archive.
9141 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9143 # Create a temporary old-style archive to link instead of a shared archive.
9144 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9146 # Commands used to build and install a shared archive.
9147 archive_cmds=$lt_archive_cmds
9148 archive_expsym_cmds=$lt_archive_expsym_cmds
9149 postinstall_cmds=$lt_postinstall_cmds
9150 postuninstall_cmds=$lt_postuninstall_cmds
9152 # Commands used to build a loadable module (assumed same as above if empty)
9153 module_cmds=$lt_module_cmds
9154 module_expsym_cmds=$lt_module_expsym_cmds
9156 # Commands to strip libraries.
9157 old_striplib=$lt_old_striplib
9158 striplib=$lt_striplib
9160 # Dependencies to place before the objects being linked to create a
9162 predep_objects=$lt_predep_objects
9164 # Dependencies to place after the objects being linked to create a
9166 postdep_objects=$lt_postdep_objects
9168 # Dependencies to place before the objects being linked to create a
9172 # Dependencies to place after the objects being linked to create a
9174 postdeps=$lt_postdeps
9176 # The library search path used internally by the compiler when linking
9178 compiler_lib_search_path=$lt_compiler_lib_search_path
9180 # Method to check whether dependent libraries are shared objects.
9181 deplibs_check_method=$lt_deplibs_check_method
9183 # Command to use when deplibs_check_method == file_magic.
9184 file_magic_cmd=$lt_file_magic_cmd
9186 # Flag that allows shared libraries with undefined symbols to be built.
9187 allow_undefined_flag=$lt_allow_undefined_flag
9189 # Flag that forces no undefined symbols.
9190 no_undefined_flag=$lt_no_undefined_flag
9192 # Commands used to finish a libtool library installation in a directory.
9193 finish_cmds=$lt_finish_cmds
9195 # Same as above, but a single script fragment to be evaled but not shown.
9196 finish_eval=$lt_finish_eval
9198 # Take the output of nm and produce a listing of raw symbols and C names.
9199 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9201 # Transform the output of nm in a proper C declaration
9202 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9204 # Transform the output of nm in a C name address pair
9205 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9207 # This is the shared library runtime path variable.
9208 runpath_var=$runpath_var
9210 # This is the shared library path variable.
9211 shlibpath_var=$shlibpath_var
9213 # Is shlibpath searched before the hard-coded library search path?
9214 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9216 # How to hardcode a shared library path into an executable.
9217 hardcode_action=$hardcode_action
9219 # Whether we should hardcode library paths into libraries.
9220 hardcode_into_libs=$hardcode_into_libs
9222 # Flag to hardcode \$libdir into a binary during linking.
9223 # This must work even if \$libdir does not exist.
9224 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9226 # If ld is used when linking, flag to hardcode \$libdir into
9227 # a binary during linking. This must work even if \$libdir does
9229 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9231 # Whether we need a single -rpath flag with a separated argument.
9232 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9234 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9236 hardcode_direct=$hardcode_direct
9238 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9240 hardcode_minus_L=$hardcode_minus_L
9242 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9243 # the resulting binary.
9244 hardcode_shlibpath_var=$hardcode_shlibpath_var
9246 # Set to yes if building a shared library automatically hardcodes DIR into the library
9247 # and all subsequent libraries and executables linked against it.
9248 hardcode_automatic=$hardcode_automatic
9250 # Variables whose values should be saved in libtool wrapper scripts and
9251 # restored at relink time.
9252 variables_saved_for_relink="$variables_saved_for_relink"
9254 # Whether libtool must link a program against all its dependency libraries.
9255 link_all_deplibs=$link_all_deplibs
9257 # Compile-time system search path for libraries
9258 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9260 # Run-time system search path for libraries
9261 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9263 # Fix the shell variable \$srcfile for the compiler.
9264 fix_srcfile_path="$fix_srcfile_path"
9266 # Set to yes if exported symbols are required.
9267 always_export_symbols=$always_export_symbols
9269 # The commands to list exported symbols.
9270 export_symbols_cmds=$lt_export_symbols_cmds
9272 # The commands to extract the exported symbol list from a shared archive.
9273 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9275 # Symbols that should not be listed in the preloaded symbols.
9276 exclude_expsyms=$lt_exclude_expsyms
9278 # Symbols that must always be exported.
9279 include_expsyms=$lt_include_expsyms
9281 # ### END LIBTOOL CONFIG
9288 cat <<\EOF >> "$cfgfile"
9290 # AIX sometimes has problems with the GCC collect2 program. For some
9291 # reason, if we set the COLLECT_NAMES environment variable, the problems
9292 # vanish in a puff of smoke.
9293 if test "X${COLLECT_NAMES+set}" != Xset; then
9295 export COLLECT_NAMES
9301 # We use sed instead of cat because bash on DJGPP gets confused if
9302 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9303 # text mode, it properly converts lines to CR/LF. This bash problem
9304 # is reportedly fixed, but why not run on old versions too?
9305 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9307 mv -f "$cfgfile" "$ofile" || \
9308 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9312 # If there is no Makefile yet, we rely on a make rule to execute
9313 # `config.status --recheck' to rerun these tests and create the
9314 # libtool script then.
9315 test -f Makefile && make "$ltmain"
9320 ac_cpp='$CPP $CPPFLAGS'
9321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9328 # Check whether --with-tags or --without-tags was given.
9329 if test "${with_tags+set}" = set; then
9330 withval="$with_tags"
9334 if test -f "$ltmain" && test -n "$tagnames"; then
9335 if test ! -f "${ofile}"; then
9336 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9337 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9340 if test -z "$LTCC"; then
9341 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9342 if test -z "$LTCC"; then
9343 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9344 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9346 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9347 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9351 # Extract list of available tagged configurations in $ofile.
9352 # Note that this assumes the entire list is on one line.
9353 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9355 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9356 for tagname in $tagnames; do
9358 # Check whether tagname contains only valid characters
9359 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9361 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9362 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9363 { (exit 1); exit 1; }; }
9367 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9369 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9370 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9371 { (exit 1); exit 1; }; }
9374 # Update the list of available tags.
9375 if test -n "$tagname"; then
9376 echo appending configuration tag \"$tagname\" to $ofile
9380 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9382 ac_cpp='$CXXCPP $CPPFLAGS'
9383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9390 archive_cmds_need_lc_CXX=no
9391 allow_undefined_flag_CXX=
9392 always_export_symbols_CXX=no
9393 archive_expsym_cmds_CXX=
9394 export_dynamic_flag_spec_CXX=
9395 hardcode_direct_CXX=no
9396 hardcode_libdir_flag_spec_CXX=
9397 hardcode_libdir_flag_spec_ld_CXX=
9398 hardcode_libdir_separator_CXX=
9399 hardcode_minus_L_CXX=no
9400 hardcode_automatic_CXX=no
9402 module_expsym_cmds_CXX=
9403 link_all_deplibs_CXX=unknown
9404 old_archive_cmds_CXX=$old_archive_cmds
9405 no_undefined_flag_CXX=
9406 whole_archive_flag_spec_CXX=
9407 enable_shared_with_static_runtimes_CXX=no
9409 # Dependencies to place before and after the object being linked:
9411 postdep_objects_CXX=
9414 compiler_lib_search_path_CXX=
9416 # Source file extension for C++ test sources.
9419 # Object file extension for compiled C++ test sources.
9423 # Code to be used in simple compile tests
9424 lt_simple_compile_test_code="int some_variable = 0;\n"
9426 # Code to be used in simple link tests
9427 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9429 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9431 # If no C compiler was specified, use CC.
9434 # Allow CC to be a program name with arguments.
9438 # Allow CC to be a program name with arguments.
9443 lt_save_with_gnu_ld=$with_gnu_ld
9444 lt_save_path_LD=$lt_cv_path_LD
9445 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9446 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9448 unset lt_cv_prog_gnu_ld
9450 if test -n "${lt_cv_path_LDCXX+set}"; then
9451 lt_cv_path_LD=$lt_cv_path_LDCXX
9455 test -z "${LDCXX+set}" || LD=$LDCXX
9459 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9461 # We don't want -fno-exception wen compiling C++ code, so set the
9462 # no_builtin_flag separately
9463 if test "$GXX" = yes; then
9464 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9466 lt_prog_compiler_no_builtin_flag_CXX=
9469 if test "$GXX" = yes; then
9470 # Set up default GNU C++ configuration
9473 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9474 if test "${with_gnu_ld+set}" = set; then
9475 withval="$with_gnu_ld"
9476 test "$withval" = no || with_gnu_ld=yes
9481 if test "$GCC" = yes; then
9482 # Check if gcc -print-prog-name=ld gives a path.
9483 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9484 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9487 # gcc leaves a trailing carriage return which upsets mingw
9488 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9490 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9493 # Accept absolute paths.
9495 re_direlt='/[^/][^/]*/\.\./'
9496 # Canonicalize the path of ld
9497 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9498 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9499 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9501 test -z "$LD" && LD="$ac_prog"
9504 # If it fails, then pretend we aren't using GCC.
9508 # If it is relative, then search for the first ld in PATH.
9512 elif test "$with_gnu_ld" = yes; then
9513 echo "$as_me:$LINENO: checking for GNU ld" >&5
9514 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9516 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9517 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9519 if test "${lt_cv_path_LD+set}" = set; then
9520 echo $ECHO_N "(cached) $ECHO_C" >&6
9522 if test -z "$LD"; then
9523 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9524 for ac_dir in $PATH; do
9526 test -z "$ac_dir" && ac_dir=.
9527 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9528 lt_cv_path_LD="$ac_dir/$ac_prog"
9529 # Check to see if the program is GNU ld. I'd rather use --version,
9530 # but apparently some GNU ld's only accept -v.
9531 # Break only if it was the GNU/non-GNU ld that we prefer.
9532 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9533 *GNU* | *'with BFD'*)
9534 test "$with_gnu_ld" != no && break
9537 test "$with_gnu_ld" != yes && break
9544 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9549 if test -n "$LD"; then
9550 echo "$as_me:$LINENO: result: $LD" >&5
9551 echo "${ECHO_T}$LD" >&6
9553 echo "$as_me:$LINENO: result: no" >&5
9554 echo "${ECHO_T}no" >&6
9556 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9557 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9558 { (exit 1); exit 1; }; }
9559 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9560 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9561 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9562 echo $ECHO_N "(cached) $ECHO_C" >&6
9564 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9565 case `"$LD" -v 2>&1 </dev/null` in
9566 *GNU* | *'with BFD'*)
9567 lt_cv_prog_gnu_ld=yes
9570 lt_cv_prog_gnu_ld=no
9574 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9575 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9576 with_gnu_ld=$lt_cv_prog_gnu_ld
9580 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9581 # archiving commands below assume that GNU ld is being used.
9582 if test "$with_gnu_ld" = yes; then
9583 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9584 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'
9586 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9587 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9589 # If archive_cmds runs LD, not CC, wlarc should be empty
9590 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9591 # investigate it a little bit more. (MM)
9594 # ancient GNU ld didn't support --whole-archive et. al.
9595 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9596 grep 'no-whole-archive' > /dev/null; then
9597 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9599 whole_archive_flag_spec_CXX=
9605 # A generic and very simple default shared library creation
9606 # command for GNU C++ for the case where it uses the native
9607 # linker, instead of GNU ld. If possible, this setting should
9608 # overridden to take advantage of the native linker features on
9609 # the platform it is being used on.
9610 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9613 # Commands to make compiler produce verbose output that lists
9614 # what "hidden" libraries, object files and flags are used when
9615 # linking a shared library.
9616 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9624 # PORTME: fill in a description of your system's C++ link characteristics
9625 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9626 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9630 # FIXME: insert proper C++ library support
9634 if test "$host_cpu" = ia64; then
9635 # On IA64, the linker does run time linking by default, so we don't
9636 # have to do anything special.
9637 aix_use_runtimelinking=no
9638 exp_sym_flag='-Bexport'
9641 aix_use_runtimelinking=no
9643 # Test if we are trying to use run time linking or normal
9644 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9645 # need to do runtime linking.
9646 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9647 for ld_flag in $LDFLAGS; do
9650 aix_use_runtimelinking=yes
9657 exp_sym_flag='-bexport'
9658 no_entry_flag='-bnoentry'
9661 # When large executables or shared objects are built, AIX ld can
9662 # have problems creating the table of contents. If linking a library
9663 # or program results in "error TOC overflow" add -mminimal-toc to
9664 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9665 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9668 hardcode_direct_CXX=yes
9669 hardcode_libdir_separator_CXX=':'
9670 link_all_deplibs_CXX=yes
9672 if test "$GXX" = yes; then
9673 case $host_os in aix4.012|aix4.012.*)
9674 # We only want to do this on AIX 4.2 and lower, the check
9675 # below for broken collect2 doesn't work under 4.3+
9676 collect2name=`${CC} -print-prog-name=collect2`
9677 if test -f "$collect2name" && \
9678 strings "$collect2name" | grep resolve_lib_name >/dev/null
9680 # We have reworked collect2
9681 hardcode_direct_CXX=yes
9683 # We have old collect2
9684 hardcode_direct_CXX=unsupported
9685 # It fails to find uninstalled libraries when the uninstalled
9686 # path is not listed in the libpath. Setting hardcode_minus_L
9687 # to unsupported forces relinking
9688 hardcode_minus_L_CXX=yes
9689 hardcode_libdir_flag_spec_CXX='-L$libdir'
9690 hardcode_libdir_separator_CXX=
9693 shared_flag='-shared'
9696 if test "$host_cpu" = ia64; then
9697 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9698 # chokes on -Wl,-G. The following line is correct:
9701 if test "$aix_use_runtimelinking" = yes; then
9702 shared_flag='${wl}-G'
9704 shared_flag='${wl}-bM:SRE'
9709 # It seems that -bexpall does not export symbols beginning with
9710 # underscore (_), so it is better to generate a list of symbols to export.
9711 always_export_symbols_CXX=yes
9712 if test "$aix_use_runtimelinking" = yes; then
9713 # Warning - without using the other runtime loading flags (-brtl),
9714 # -berok will link without error, but may produce a broken library.
9715 allow_undefined_flag_CXX='-berok'
9716 # Determine the default libpath from the value encoded in an empty executable.
9717 cat >conftest.$ac_ext <<_ACEOF
9718 #line $LINENO "configure"
9721 cat confdefs.h >>conftest.$ac_ext
9722 cat >>conftest.$ac_ext <<_ACEOF
9723 /* end confdefs.h. */
9733 rm -f conftest.$ac_objext conftest$ac_exeext
9734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9735 (eval $ac_link) 2>&5
9737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9738 (exit $ac_status); } &&
9739 { ac_try='test -s conftest$ac_exeext'
9740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9744 (exit $ac_status); }; }; then
9746 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9748 # Check for a 64-bit object if we didn't find anything.
9749 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; }
9752 echo "$as_me: failed program was:" >&5
9753 sed 's/^/| /' conftest.$ac_ext >&5
9756 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9757 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9759 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9761 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"
9763 if test "$host_cpu" = ia64; then
9764 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9765 allow_undefined_flag_CXX="-z nodefs"
9766 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"
9768 # Determine the default libpath from the value encoded in an empty executable.
9769 cat >conftest.$ac_ext <<_ACEOF
9770 #line $LINENO "configure"
9773 cat confdefs.h >>conftest.$ac_ext
9774 cat >>conftest.$ac_ext <<_ACEOF
9775 /* end confdefs.h. */
9785 rm -f conftest.$ac_objext conftest$ac_exeext
9786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9787 (eval $ac_link) 2>&5
9789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9790 (exit $ac_status); } &&
9791 { ac_try='test -s conftest$ac_exeext'
9792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9796 (exit $ac_status); }; }; then
9798 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9800 # Check for a 64-bit object if we didn't find anything.
9801 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; }
9804 echo "$as_me: failed program was:" >&5
9805 sed 's/^/| /' conftest.$ac_ext >&5
9808 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9809 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9811 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9812 # Warning - without using the other run time loading flags,
9813 # -berok will link without error, but may produce a broken library.
9814 no_undefined_flag_CXX=' ${wl}-bernotok'
9815 allow_undefined_flag_CXX=' ${wl}-berok'
9816 # -bexpall does not export symbols beginning with underscore (_)
9817 always_export_symbols_CXX=yes
9818 # Exported symbols can be pulled into shared objects from archives
9819 whole_archive_flag_spec_CXX=' '
9820 archive_cmds_need_lc_CXX=yes
9821 # This is similar to how AIX traditionally builds it's shared libraries.
9822 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'
9827 case $cc_basename in
9829 # FIXME: insert proper C++ library support
9835 cygwin* | mingw* | pw32*)
9836 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9837 # as there is no search path for DLLs.
9838 hardcode_libdir_flag_spec_CXX='-L$libdir'
9839 allow_undefined_flag_CXX=unsupported
9840 always_export_symbols_CXX=no
9841 enable_shared_with_static_runtimes_CXX=yes
9843 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9844 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'
9845 # If the export-symbols file already is a .def file (1st line
9846 # is EXPORTS), use it as is; otherwise, prepend...
9847 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9848 cp $export_symbols $output_objdir/$soname.def;
9850 echo EXPORTS > $output_objdir/$soname.def;
9851 cat $export_symbols >> $output_objdir/$soname.def;
9853 $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'
9859 darwin* | rhapsody*)
9860 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9861 archive_cmds_need_lc_CXX=no
9863 rhapsody* | darwin1.[012])
9864 allow_undefined_flag_CXX='-undefined suppress'
9867 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9870 lt_int_apple_cc_single_mod=no
9871 output_verbose_link_cmd='echo'
9872 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9873 lt_int_apple_cc_single_mod=yes
9875 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9876 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9878 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'
9880 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9882 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9883 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9884 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}'
9886 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}'
9888 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}'
9889 hardcode_direct_CXX=no
9890 hardcode_automatic_CXX=yes
9891 hardcode_shlibpath_var_CXX=unsupported
9892 whole_archive_flag_spec_CXX='-all_load $convenience'
9893 link_all_deplibs_CXX=yes
9898 case $cc_basename in
9900 # FIXME: insert proper C++ library support
9904 # Green Hills C++ Compiler
9905 # FIXME: insert proper C++ library support
9909 # FIXME: insert proper C++ library support
9915 # C++ shared libraries reported to be fairly broken before switch to ELF
9919 archive_cmds_need_lc_CXX=no
9922 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9929 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9930 hardcode_libdir_separator_CXX=:
9931 export_dynamic_flag_spec_CXX='${wl}-E'
9932 hardcode_direct_CXX=yes
9933 hardcode_minus_L_CXX=yes # Not in the search PATH,
9934 # but as the default
9935 # location of the library.
9937 case $cc_basename in
9939 # FIXME: insert proper C++ library support
9943 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'
9944 # Commands to make compiler produce verbose output that lists
9945 # what "hidden" libraries, object files and flags are used when
9946 # linking a shared library.
9948 # There doesn't appear to be a way to prevent this compiler from
9949 # explicitly linking system object files so we need to strip them
9950 # from the output so that they don't get included in the library
9952 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'
9955 if test "$GXX" = yes; then
9956 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'
9958 # FIXME: insert proper C++ library support
9965 if test $with_gnu_ld = no; then
9968 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9969 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9970 hardcode_libdir_separator_CXX=:
9973 hardcode_libdir_flag_spec_CXX='-L$libdir'
9976 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9977 hardcode_libdir_separator_CXX=:
9978 export_dynamic_flag_spec_CXX='${wl}-E'
9984 hardcode_direct_CXX=no
9985 hardcode_shlibpath_var_CXX=no
9988 hardcode_direct_CXX=no
9989 hardcode_shlibpath_var_CXX=no
9990 hardcode_minus_L_CXX=yes # Not in the search PATH,
9991 # but as the default
9992 # location of the library.
9995 hardcode_direct_CXX=yes
9996 hardcode_minus_L_CXX=yes # Not in the search PATH,
9997 # but as the default
9998 # location of the library.
10002 case $cc_basename in
10004 # FIXME: insert proper C++ library support
10008 case "$host_cpu" in
10010 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10013 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10016 # Commands to make compiler produce verbose output that lists
10017 # what "hidden" libraries, object files and flags are used when
10018 # linking a shared library.
10020 # There doesn't appear to be a way to prevent this compiler from
10021 # explicitly linking system object files so we need to strip them
10022 # from the output so that they don't get included in the library
10024 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'
10027 if test "$GXX" = yes; then
10028 if test $with_gnu_ld = no; then
10029 case "$host_cpu" in
10031 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10034 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'
10039 # FIXME: insert proper C++ library support
10046 case $cc_basename in
10049 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'
10051 # Archives containing C++ object files must be created using
10052 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10053 # necessary to make sure instantiated templates are included
10055 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10058 if test "$GXX" = yes; then
10059 if test "$with_gnu_ld" = no; then
10060 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'
10062 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'
10065 link_all_deplibs_CXX=yes
10068 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10069 hardcode_libdir_separator_CXX=:
10072 case $cc_basename in
10074 # Kuck and Associates, Inc. (KAI) C++ Compiler
10076 # KCC will only create a shared library if the output file
10077 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10078 # to its proper name (with version) after linking.
10079 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'
10080 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'
10081 # Commands to make compiler produce verbose output that lists
10082 # what "hidden" libraries, object files and flags are used when
10083 # linking a shared library.
10085 # There doesn't appear to be a way to prevent this compiler from
10086 # explicitly linking system object files so we need to strip them
10087 # from the output so that they don't get included in the library
10089 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'
10091 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10092 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10094 # Archives containing C++ object files must be created using
10095 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10096 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10101 archive_cmds_need_lc_CXX=no
10102 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10103 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'
10104 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10105 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10106 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10110 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10111 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'
10113 runpath_var=LD_RUN_PATH
10114 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10115 hardcode_libdir_separator_CXX=:
10117 # Commands to make compiler produce verbose output that lists
10118 # what "hidden" libraries, object files and flags are used when
10119 # linking a shared library.
10121 # There doesn't appear to be a way to prevent this compiler from
10122 # explicitly linking system object files so we need to strip them
10123 # from the output so that they don't get included in the library
10125 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'
10130 # FIXME: insert proper C++ library support
10134 # FIXME: insert proper C++ library support
10138 case $cc_basename in
10140 # FIXME: insert proper C++ library support
10144 # FIXME: insert proper C++ library support
10150 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10151 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10153 hardcode_libdir_flag_spec_CXX='-R$libdir'
10154 hardcode_direct_CXX=yes
10155 hardcode_shlibpath_var_CXX=no
10157 # Workaround some broken pre-1.5 toolchains
10158 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10161 case $cc_basename in
10163 # Kuck and Associates, Inc. (KAI) C++ Compiler
10165 # KCC will only create a shared library if the output file
10166 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10167 # to its proper name (with version) after linking.
10168 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'
10170 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10171 hardcode_libdir_separator_CXX=:
10173 # Archives containing C++ object files must be created using
10174 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10175 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10179 # Rational C++ 2.4.1
10180 # FIXME: insert proper C++ library support
10184 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10185 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'
10187 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10188 hardcode_libdir_separator_CXX=:
10190 # Commands to make compiler produce verbose output that lists
10191 # what "hidden" libraries, object files and flags are used when
10192 # linking a shared library.
10194 # There doesn't appear to be a way to prevent this compiler from
10195 # explicitly linking system object files so we need to strip them
10196 # from the output so that they don't get included in the library
10198 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'
10201 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10202 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10203 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'
10205 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10206 hardcode_libdir_separator_CXX=:
10208 # Commands to make compiler produce verbose output that lists
10209 # what "hidden" libraries, object files and flags are used when
10210 # linking a shared library.
10211 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10214 # FIXME: insert proper C++ library support
10221 case $cc_basename in
10223 # Kuck and Associates, Inc. (KAI) C++ Compiler
10225 # KCC will only create a shared library if the output file
10226 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10227 # to its proper name (with version) after linking.
10228 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'
10230 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10231 hardcode_libdir_separator_CXX=:
10233 # Archives containing C++ object files must be created using
10234 # the KAI C++ compiler.
10235 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10238 # Rational C++ 2.4.1
10239 # FIXME: insert proper C++ library support
10243 allow_undefined_flag_CXX=' -expect_unresolved \*'
10244 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'
10245 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10246 echo "-hidden">> $lib.exp~
10247 $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~
10250 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10251 hardcode_libdir_separator_CXX=:
10253 # Commands to make compiler produce verbose output that lists
10254 # what "hidden" libraries, object files and flags are used when
10255 # linking a shared library.
10257 # There doesn't appear to be a way to prevent this compiler from
10258 # explicitly linking system object files so we need to strip them
10259 # from the output so that they don't get included in the library
10261 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'
10264 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10265 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10266 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'
10268 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10269 hardcode_libdir_separator_CXX=:
10271 # Commands to make compiler produce verbose output that lists
10272 # what "hidden" libraries, object files and flags are used when
10273 # linking a shared library.
10274 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10277 # FIXME: insert proper C++ library support
10284 # FIXME: insert proper C++ library support
10288 archive_cmds_need_lc_CXX=no
10289 case $cc_basename in
10291 # FIXME: insert proper C++ library support
10295 # FIXME: insert proper C++ library support
10301 case $cc_basename in
10304 # FIXME: insert proper C++ library support
10309 # FIXME: insert proper C++ library support
10313 # FIXME: insert proper C++ library support
10319 case $cc_basename in
10321 # Sun C++ 4.2, 5.x and Centerline C++
10322 no_undefined_flag_CXX=' -zdefs'
10323 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10324 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10325 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10327 hardcode_libdir_flag_spec_CXX='-R$libdir'
10328 hardcode_shlibpath_var_CXX=no
10330 solaris2.0-5 | solaris2.0-5.*) ;;
10332 # The C++ compiler is used as linker so we must use $wl
10333 # flag to pass the commands to the underlying system
10335 # Supported since Solaris 2.6 (maybe 2.5.1?)
10336 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10339 link_all_deplibs_CXX=yes
10341 # Commands to make compiler produce verbose output that lists
10342 # what "hidden" libraries, object files and flags are used when
10343 # linking a shared library.
10345 # There doesn't appear to be a way to prevent this compiler from
10346 # explicitly linking system object files so we need to strip them
10347 # from the output so that they don't get included in the library
10349 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'
10351 # Archives containing C++ object files must be created using
10352 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10353 # necessary to make sure instantiated templates are included
10355 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10358 # Green Hills C++ Compiler
10359 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10361 # The C++ compiler must be used to create the archive.
10362 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10365 # GNU C++ compiler with Solaris linker
10366 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10367 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10368 if $CC --version | grep -v '^2\.7' > /dev/null; then
10369 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10370 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10371 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10373 # Commands to make compiler produce verbose output that lists
10374 # what "hidden" libraries, object files and flags are used when
10375 # linking a shared library.
10376 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10378 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10380 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10381 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10382 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10384 # Commands to make compiler produce verbose output that lists
10385 # what "hidden" libraries, object files and flags are used when
10386 # linking a shared library.
10387 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10390 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10395 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10396 archive_cmds_need_lc_CXX=no
10399 case $cc_basename in
10401 # NonStop-UX NCC 3.20
10402 # FIXME: insert proper C++ library support
10406 # FIXME: insert proper C++ library support
10412 # FIXME: insert proper C++ library support
10416 # FIXME: insert proper C++ library support
10420 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10421 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10422 test "$ld_shlibs_CXX" = no && can_build_shared=no
10428 ## There is no encapsulation within the following macros, do not change
10429 ## the running order or otherwise move them around unless you know exactly
10430 ## what you are doing...
10432 cat > conftest.$ac_ext <<EOF
10436 Foo (void) { a = 0; }
10442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10443 (eval $ac_compile) 2>&5
10445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10446 (exit $ac_status); }; then
10447 # Parse the compiler output and extract the necessary
10448 # objects, libraries and library flags.
10450 # Sentinel used to keep track of whether or not we are before
10451 # the conftest object file.
10452 pre_test_object_deps_done=no
10454 # The `*' in the case matches for architectures that use `case' in
10455 # $output_verbose_cmd can trigger glob expansion during the loop
10456 # eval without this substitution.
10457 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10459 for p in `eval $output_verbose_link_cmd`; do
10463 # Some compilers place space between "-{L,R}" and the path.
10464 # Remove the space.
10465 if test $p = "-L" \
10466 || test $p = "-R"; then
10473 if test "$pre_test_object_deps_done" = no; then
10476 # Internal compiler library paths should come after those
10477 # provided the user. The postdeps already come after the
10478 # user supplied libs so there is no need to process them.
10479 if test -z "$compiler_lib_search_path_CXX"; then
10480 compiler_lib_search_path_CXX="${prev}${p}"
10482 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10485 # The "-l" case would never come before the object being
10486 # linked, so don't bother handling this case.
10489 if test -z "$postdeps_CXX"; then
10490 postdeps_CXX="${prev}${p}"
10492 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10498 # This assumes that the test object file only shows up
10499 # once in the compiler output.
10500 if test "$p" = "conftest.$objext"; then
10501 pre_test_object_deps_done=yes
10505 if test "$pre_test_object_deps_done" = no; then
10506 if test -z "$predep_objects_CXX"; then
10507 predep_objects_CXX="$p"
10509 predep_objects_CXX="$predep_objects_CXX $p"
10512 if test -z "$postdep_objects_CXX"; then
10513 postdep_objects_CXX="$p"
10515 postdep_objects_CXX="$postdep_objects_CXX $p"
10520 *) ;; # Ignore the rest.
10528 echo "libtool.m4: error: problem compiling CXX test program"
10531 $rm -f confest.$objext
10533 case " $postdeps_CXX " in
10534 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10537 lt_prog_compiler_wl_CXX=
10538 lt_prog_compiler_pic_CXX=
10539 lt_prog_compiler_static_CXX=
10541 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10542 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10544 # C++ specific cases for pic, static, wl, etc.
10545 if test "$GXX" = yes; then
10546 lt_prog_compiler_wl_CXX='-Wl,'
10547 lt_prog_compiler_static_CXX='-static'
10551 # All AIX code is PIC.
10552 if test "$host_cpu" = ia64; then
10553 # AIX 5 now supports IA64 processor
10554 lt_prog_compiler_static_CXX='-Bstatic'
10558 # FIXME: we need at least 68020 code to build shared libraries, but
10559 # adding the `-m68020' flag to GCC prevents building anything better,
10561 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10563 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10564 # PIC is the default for these OSes.
10566 mingw* | os2* | pw32*)
10567 # This hack is so that the source file can tell whether it is being
10568 # built for inclusion in a dll (and should export symbols for example).
10569 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10571 darwin* | rhapsody*)
10572 # PIC is the default on this platform
10573 # Common symbols not allowed in MH_DYLIB files
10574 lt_prog_compiler_pic_CXX='-fno-common'
10577 # DJGPP does not support shared libraries at all
10578 lt_prog_compiler_pic_CXX=
10581 if test -d /usr/nec; then
10582 lt_prog_compiler_pic_CXX=-Kconform_pic
10586 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10587 # not for PA HP-UX.
10588 case "$host_cpu" in
10592 lt_prog_compiler_pic_CXX='-fPIC'
10597 lt_prog_compiler_pic_CXX='-fPIC'
10603 # All AIX code is PIC.
10604 if test "$host_cpu" = ia64; then
10605 # AIX 5 now supports IA64 processor
10606 lt_prog_compiler_static_CXX='-Bstatic'
10608 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10612 case $cc_basename in
10614 # Green Hills C++ Compiler
10615 # _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"
10620 case $cc_basename in
10622 lt_prog_compiler_pic_CXX='-KPIC'
10625 # Green Hills C++ Compiler
10626 lt_prog_compiler_pic_CXX='-pic'
10633 # FreeBSD uses GNU C++
10635 hpux9* | hpux10* | hpux11*)
10636 case $cc_basename in
10638 lt_prog_compiler_wl_CXX='-Wl,'
10639 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10640 if test "$host_cpu" != ia64; then
10641 lt_prog_compiler_pic_CXX='+Z'
10645 lt_prog_compiler_wl_CXX='-Wl,'
10646 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10647 case "$host_cpu" in
10652 lt_prog_compiler_pic_CXX='+Z'
10660 irix5* | irix6* | nonstopux*)
10661 case $cc_basename in
10663 lt_prog_compiler_wl_CXX='-Wl,'
10664 lt_prog_compiler_static_CXX='-non_shared'
10665 # CC pic flag -KPIC is the default.
10672 case $cc_basename in
10675 lt_prog_compiler_wl_CXX='--backend -Wl,'
10676 lt_prog_compiler_pic_CXX='-fPIC'
10680 lt_prog_compiler_wl_CXX='-Wl,'
10681 lt_prog_compiler_pic_CXX='-KPIC'
10682 lt_prog_compiler_static_CXX='-static'
10686 # Make sure the PIC flag is empty. It appears that all Alpha
10687 # Linux and Compaq Tru64 Unix objects are PIC.
10688 lt_prog_compiler_pic_CXX=
10689 lt_prog_compiler_static_CXX='-non_shared'
10700 case $cc_basename in
10702 lt_prog_compiler_pic_CXX='-W c,exportall'
10710 osf3* | osf4* | osf5*)
10711 case $cc_basename in
10713 lt_prog_compiler_wl_CXX='--backend -Wl,'
10716 # Rational C++ 2.4.1
10717 lt_prog_compiler_pic_CXX='-pic'
10720 # Digital/Compaq C++
10721 lt_prog_compiler_wl_CXX='-Wl,'
10722 # Make sure the PIC flag is empty. It appears that all Alpha
10723 # Linux and Compaq Tru64 Unix objects are PIC.
10724 lt_prog_compiler_pic_CXX=
10725 lt_prog_compiler_static_CXX='-non_shared'
10734 case $cc_basename in
10736 lt_prog_compiler_pic_CXX='-fPIC'
10743 case $cc_basename in
10745 # Sun C++ 4.2, 5.x and Centerline C++
10746 lt_prog_compiler_pic_CXX='-KPIC'
10747 lt_prog_compiler_static_CXX='-Bstatic'
10748 lt_prog_compiler_wl_CXX='-Qoption ld '
10751 # Green Hills C++ Compiler
10752 lt_prog_compiler_pic_CXX='-PIC'
10759 case $cc_basename in
10762 lt_prog_compiler_pic_CXX='-pic'
10763 lt_prog_compiler_static_CXX='-Bstatic'
10767 lt_prog_compiler_pic_CXX='-pic'
10774 case $cc_basename in
10776 # NonStop-UX NCC 3.20
10777 lt_prog_compiler_pic_CXX='-KPIC'
10788 lt_prog_compiler_can_build_shared_CXX=no
10793 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10794 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10797 # Check to make sure the PIC flag actually works.
10799 if test -n "$lt_prog_compiler_pic_CXX"; then
10800 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10801 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10802 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10803 echo $ECHO_N "(cached) $ECHO_C" >&6
10805 lt_prog_compiler_pic_works_CXX=no
10806 ac_outfile=conftest.$ac_objext
10807 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10808 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10809 # Insert the option either (1) after the last *FLAGS variable, or
10810 # (2) before a word containing "conftest.", or (3) at the end.
10811 # Note that $ac_compile itself does not contain backslashes and begins
10812 # with a dollar sign (not a hyphen), so the echo should work correctly.
10813 # The option is referenced via a variable to avoid confusing sed.
10814 lt_compile=`echo "$ac_compile" | $SED \
10815 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10816 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10817 -e 's:$: $lt_compiler_flag:'`
10818 (eval echo "\"\$as_me:10824: $lt_compile\"" >&5)
10819 (eval "$lt_compile" 2>conftest.err)
10821 cat conftest.err >&5
10822 echo "$as_me:10828: \$? = $ac_status" >&5
10823 if (exit $ac_status) && test -s "$ac_outfile"; then
10824 # The compiler can only warn and ignore the option if not recognized
10825 # So say no if there are warnings
10826 if test ! -s conftest.err; then
10827 lt_prog_compiler_pic_works_CXX=yes
10833 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10834 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10836 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10837 case $lt_prog_compiler_pic_CXX in
10839 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10842 lt_prog_compiler_pic_CXX=
10843 lt_prog_compiler_can_build_shared_CXX=no
10848 # For platforms which do not support PIC, -DPIC is meaningless:
10850 lt_prog_compiler_pic_CXX=
10853 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10857 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10858 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10859 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10860 echo $ECHO_N "(cached) $ECHO_C" >&6
10862 lt_cv_prog_compiler_c_o_CXX=no
10863 $rm -r conftest 2>/dev/null
10867 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10869 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10870 # that will create temporary files in the current directory regardless of
10871 # the output directory. Thus, making CWD read-only will cause this test
10872 # to fail, enabling locking or at least warning the user not to do parallel
10876 lt_compiler_flag="-o out/conftest2.$ac_objext"
10877 # Insert the option either (1) after the last *FLAGS variable, or
10878 # (2) before a word containing "conftest.", or (3) at the end.
10879 # Note that $ac_compile itself does not contain backslashes and begins
10880 # with a dollar sign (not a hyphen), so the echo should work correctly.
10881 lt_compile=`echo "$ac_compile" | $SED \
10882 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10883 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10884 -e 's:$: $lt_compiler_flag:'`
10885 (eval echo "\"\$as_me:10891: $lt_compile\"" >&5)
10886 (eval "$lt_compile" 2>out/conftest.err)
10888 cat out/conftest.err >&5
10889 echo "$as_me:10895: \$? = $ac_status" >&5
10890 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10892 # The compiler can only warn and ignore the option if not recognized
10893 # So say no if there are warnings
10894 if test ! -s out/conftest.err; then
10895 lt_cv_prog_compiler_c_o_CXX=yes
10899 $rm conftest* out/*
10906 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10907 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10910 hard_links="nottested"
10911 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10912 # do not overwrite the value of need_locks provided by the user
10913 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10914 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10917 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10919 ln conftest.a conftest.b 2>&5 || hard_links=no
10920 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10921 echo "$as_me:$LINENO: result: $hard_links" >&5
10922 echo "${ECHO_T}$hard_links" >&6
10923 if test "$hard_links" = no; then
10924 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10925 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10932 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10933 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10935 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10938 # If we're using GNU nm, then we don't want the "-C" option.
10939 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10940 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10941 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'
10943 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'
10947 export_symbols_cmds_CXX="$ltdll_cmds"
10950 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10953 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10957 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10958 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10959 test "$ld_shlibs_CXX" = no && can_build_shared=no
10961 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10962 if test "$GCC" = yes; then
10963 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10967 # Do we need to explicitly link libc?
10969 case "x$archive_cmds_need_lc_CXX" in
10971 # Assume -lc should be added
10972 archive_cmds_need_lc_CXX=yes
10974 if test "$enable_shared" = yes && test "$GCC" = yes; then
10975 case $archive_cmds_CXX in
10977 # FIXME: we may have to deal with multi-command sequences.
10980 # Test whether the compiler implicitly links with -lc since on some
10981 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10982 # to ld, don't add -lc before -lgcc.
10983 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10984 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10986 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10989 (eval $ac_compile) 2>&5
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 (exit $ac_status); } 2>conftest.err; then
10995 libobjs=conftest.$ac_objext
10997 wl=$lt_prog_compiler_wl_CXX
11003 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
11004 allow_undefined_flag_CXX=
11005 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11006 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); }
11011 archive_cmds_need_lc_CXX=no
11013 archive_cmds_need_lc_CXX=yes
11015 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11017 cat conftest.err 1>&5
11020 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11021 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11028 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11029 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11030 hardcode_action_CXX=
11031 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11032 test -n "$runpath_var CXX" || \
11033 test "X$hardcode_automatic_CXX"="Xyes" ; then
11035 # We can hardcode non-existant directories.
11036 if test "$hardcode_direct_CXX" != no &&
11037 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11038 # have to relink, otherwise we might link with an installed library
11039 # when we should be linking with a yet-to-be-installed one
11040 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11041 test "$hardcode_minus_L_CXX" != no; then
11042 # Linking always hardcodes the temporary library directory.
11043 hardcode_action_CXX=relink
11045 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11046 hardcode_action_CXX=immediate
11049 # We cannot hardcode anything, or else we can only hardcode existing
11051 hardcode_action_CXX=unsupported
11053 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11054 echo "${ECHO_T}$hardcode_action_CXX" >&6
11056 if test "$hardcode_action_CXX" = relink; then
11057 # Fast installation is not supported
11058 enable_fast_install=no
11059 elif test "$shlibpath_overrides_runpath" = yes ||
11060 test "$enable_shared" = no; then
11061 # Fast installation is not necessary
11062 enable_fast_install=needless
11067 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11068 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11069 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11070 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11071 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11072 echo "$as_me:$LINENO: result: yes" >&5
11073 echo "${ECHO_T}yes" >&6
11075 # FIXME - insert some real tests, host_os isn't really good enough
11078 if test -n "$STRIP" ; then
11079 striplib="$STRIP -x"
11080 echo "$as_me:$LINENO: result: yes" >&5
11081 echo "${ECHO_T}yes" >&6
11083 echo "$as_me:$LINENO: result: no" >&5
11084 echo "${ECHO_T}no" >&6
11088 echo "$as_me:$LINENO: result: no" >&5
11089 echo "${ECHO_T}no" >&6
11094 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11095 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11096 library_names_spec=
11097 libname_spec='lib$name'
11101 postuninstall_cmds=
11105 shlibpath_overrides_runpath=unknown
11107 dynamic_linker="$host_os ld.so"
11108 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11109 if test "$GCC" = yes; then
11110 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11111 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11112 # if the path contains ";" then we assume it to be the separator
11113 # otherwise default to the standard path separator (i.e. ":") - it is
11114 # assumed that no part of a normal pathname contains ";" but that should
11115 # okay in the real world where ";" in dirpaths is itself problematic.
11116 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11118 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11121 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11123 need_lib_prefix=unknown
11124 hardcode_into_libs=no
11126 # when you set need_version to no, make sure it does not cause -set_version
11127 # flags to be left without arguments
11128 need_version=unknown
11133 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11134 shlibpath_var=LIBPATH
11136 # AIX 3 has no versioning support, so we append a major version to the name.
11137 soname_spec='${libname}${release}${shared_ext}$major'
11144 hardcode_into_libs=yes
11145 if test "$host_cpu" = ia64; then
11146 # AIX 5 supports IA64
11147 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11148 shlibpath_var=LD_LIBRARY_PATH
11150 # With GCC up to 2.95.x, collect2 would create an import file
11151 # for dependence libraries. The import file would start with
11152 # the line `#! .'. This would cause the generated library to
11153 # depend on `.', always an invalid library. This was fixed in
11154 # development snapshots of GCC prior to 3.0.
11156 aix4 | aix4.[01] | aix4.[01].*)
11157 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11159 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11162 can_build_shared=no
11166 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11167 # soname into executable. Probably we can add versioning support to
11168 # collect2, so additional links can be useful in future.
11169 if test "$aix_use_runtimelinking" = yes; then
11170 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11171 # instead of lib<name>.a to let people know that these are not
11172 # typical AIX shared libraries.
11173 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11175 # We preserve .a as extension for shared libraries through AIX4.2
11176 # and later when we are not doing run time linking.
11177 library_names_spec='${libname}${release}.a $libname.a'
11178 soname_spec='${libname}${release}${shared_ext}$major'
11180 shlibpath_var=LIBPATH
11185 library_names_spec='$libname.ixlibrary $libname.a'
11186 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11187 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'
11191 library_names_spec='${libname}${shared_ext}'
11192 dynamic_linker="$host_os ld.so"
11193 shlibpath_var=LIBRARY_PATH
11199 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11200 soname_spec='${libname}${release}${shared_ext}$major'
11201 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11202 shlibpath_var=LD_LIBRARY_PATH
11203 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11204 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11205 # the default ld.so.conf also contains /usr/contrib/lib and
11206 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11207 # libtool to hard-code these into programs
11210 cygwin* | mingw* | pw32*)
11211 version_type=windows
11216 case $GCC,$host_os in
11217 yes,cygwin* | yes,mingw* | yes,pw32*)
11218 library_names_spec='$libname.dll.a'
11219 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11220 postinstall_cmds='base_file=`basename \${file}`~
11221 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11222 dldir=$destdir/`dirname \$dlpath`~
11223 test -d \$dldir || mkdir -p \$dldir~
11224 $install_prog $dir/$dlname \$dldir/$dlname'
11225 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11226 dlpath=$dir/\$dldll~
11228 shlibpath_overrides_runpath=yes
11232 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11233 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11234 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11237 # MinGW DLLs use traditional 'lib' prefix
11238 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11239 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11240 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11241 # It is most probably a Windows format PATH printed by
11242 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11243 # path with ; separators, and with drive letters. We can handle the
11244 # drive letters (cygwin fileutils understands them), so leave them,
11245 # especially as we might pass files found there to a mingw objdump,
11246 # which wouldn't understand a cygwinified path. Ahh.
11247 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11249 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11253 # pw32 DLLs use 'pw' prefix rather than 'lib'
11254 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11260 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11263 dynamic_linker='Win32 ld.exe'
11264 # FIXME: first we should search . and the directory the executable is in
11268 darwin* | rhapsody*)
11269 dynamic_linker="$host_os dyld"
11270 version_type=darwin
11273 # FIXME: Relying on posixy $() will cause problems for
11274 # cross-compilation, but unfortunately the echo tests do not
11275 # yet detect zsh echo's removal of \ escapes.
11276 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11277 soname_spec='${libname}${release}${major}$shared_ext'
11278 shlibpath_overrides_runpath=yes
11279 shlibpath_var=DYLD_LIBRARY_PATH
11280 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11281 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11282 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11283 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"`
11285 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11293 soname_spec='${libname}${release}${shared_ext}$major'
11294 shlibpath_var=LD_LIBRARY_PATH
11302 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11303 version_type=freebsd-$objformat
11304 case $version_type in
11306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11311 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11315 shlibpath_var=LD_LIBRARY_PATH
11318 shlibpath_overrides_runpath=yes
11320 freebsd3.01* | freebsdelf3.01*)
11321 shlibpath_overrides_runpath=yes
11322 hardcode_into_libs=yes
11325 shlibpath_overrides_runpath=no
11326 hardcode_into_libs=yes
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 shlibpath_var=LD_LIBRARY_PATH
11338 hardcode_into_libs=yes
11341 hpux9* | hpux10* | hpux11*)
11342 # Give a soname corresponding to the major version so that dld.sl refuses to
11343 # link against other versions.
11347 case "$host_cpu" in
11350 hardcode_into_libs=yes
11351 dynamic_linker="$host_os dld.so"
11352 shlibpath_var=LD_LIBRARY_PATH
11353 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11355 soname_spec='${libname}${release}${shared_ext}$major'
11356 if test "X$HPUX_IA64_MODE" = X32; then
11357 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11359 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11361 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11365 hardcode_into_libs=yes
11366 dynamic_linker="$host_os dld.sl"
11367 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11368 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11370 soname_spec='${libname}${release}${shared_ext}$major'
11371 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11372 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11376 dynamic_linker="$host_os dld.sl"
11377 shlibpath_var=SHLIB_PATH
11378 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11380 soname_spec='${libname}${release}${shared_ext}$major'
11383 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11384 postinstall_cmds='chmod 555 $lib'
11387 irix5* | irix6* | nonstopux*)
11389 nonstopux*) version_type=nonstopux ;;
11391 if test "$lt_cv_prog_gnu_ld" = yes; then
11399 soname_spec='${libname}${release}${shared_ext}$major'
11400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11402 irix5* | nonstopux*)
11403 libsuff= shlibsuff=
11406 case $LD in # libtool.m4 will add one of these switches to LD
11407 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11408 libsuff= shlibsuff= libmagic=32-bit;;
11409 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11410 libsuff=32 shlibsuff=N32 libmagic=N32;;
11411 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11412 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11413 *) libsuff= shlibsuff= libmagic=never-match;;
11417 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11418 shlibpath_overrides_runpath=no
11419 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11420 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11421 hardcode_into_libs=yes
11424 # No shared lib support for Linux oldld, aout, or coff.
11425 linux*oldld* | linux*aout* | linux*coff*)
11429 # This must be Linux ELF.
11434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11435 soname_spec='${libname}${release}${shared_ext}$major'
11436 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11437 shlibpath_var=LD_LIBRARY_PATH
11438 shlibpath_overrides_runpath=no
11439 # This implies no fast_install, which is unacceptable.
11440 # Some rework will be needed to allow for fast_install
11441 # before this can be enabled.
11442 hardcode_into_libs=yes
11444 # We used to test for /lib/ld.so.1 and disable shared libraries on
11445 # powerpc, because MkLinux only supported shared libraries with the
11446 # GNU dynamic linker. Since this was broken with cross compilers,
11447 # most powerpc-linux boxes support dynamic linking these days and
11448 # people can always --disable-shared, the test was removed, and we
11449 # assume the GNU/Linux dynamic linker is in use.
11450 dynamic_linker='GNU/Linux ld.so'
11457 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11459 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11460 dynamic_linker='NetBSD (a.out) ld.so'
11462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11463 soname_spec='${libname}${release}${shared_ext}$major'
11464 dynamic_linker='NetBSD ld.elf_so'
11466 shlibpath_var=LD_LIBRARY_PATH
11467 shlibpath_overrides_runpath=yes
11468 hardcode_into_libs=yes
11473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11474 shlibpath_var=LD_LIBRARY_PATH
11475 shlibpath_overrides_runpath=yes
11482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11483 soname_spec='${libname}${release}${shared_ext}$major'
11484 shlibpath_var=LD_LIBRARY_PATH
11485 shlibpath_overrides_runpath=yes
11492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11493 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11494 shlibpath_var=LD_LIBRARY_PATH
11495 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11497 openbsd2.[89] | openbsd2.[89].*)
11498 shlibpath_overrides_runpath=no
11501 shlibpath_overrides_runpath=yes
11505 shlibpath_overrides_runpath=yes
11510 libname_spec='$name'
11513 library_names_spec='$libname${shared_ext} $libname.a'
11514 dynamic_linker='OS/2 ld.exe'
11515 shlibpath_var=LIBPATH
11518 osf3* | osf4* | osf5*)
11522 soname_spec='${libname}${release}${shared_ext}$major'
11523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11524 shlibpath_var=LD_LIBRARY_PATH
11525 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11526 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11531 soname_spec='${libname}${release}${shared_ext}$major'
11532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11533 shlibpath_var=LD_LIBRARY_PATH
11540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11541 soname_spec='${libname}${release}${shared_ext}$major'
11542 shlibpath_var=LD_LIBRARY_PATH
11543 shlibpath_overrides_runpath=yes
11544 hardcode_into_libs=yes
11545 # ldd complains unless libraries are executable
11546 postinstall_cmds='chmod +x $lib'
11551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11552 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11553 shlibpath_var=LD_LIBRARY_PATH
11554 shlibpath_overrides_runpath=yes
11555 if test "$with_gnu_ld" = yes; then
11561 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11564 soname_spec='${libname}${release}${shared_ext}$major'
11565 shlibpath_var=LD_LIBRARY_PATH
11566 case $host_vendor in
11568 shlibpath_overrides_runpath=no
11570 export_dynamic_flag_spec='${wl}-Blargedynsym'
11571 runpath_var=LD_RUN_PATH
11579 shlibpath_overrides_runpath=no
11580 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11586 if test -d /usr/nec ;then
11588 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11589 soname_spec='$libname${shared_ext}.$major'
11590 shlibpath_var=LD_LIBRARY_PATH
11596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11597 soname_spec='${libname}${release}${shared_ext}$major'
11598 shlibpath_var=LD_LIBRARY_PATH
11605 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11606 echo "${ECHO_T}$dynamic_linker" >&6
11607 test "$dynamic_linker" = no && can_build_shared=no
11609 if test "x$enable_dlopen" != xyes; then
11610 enable_dlopen=unknown
11611 enable_dlopen_self=unknown
11612 enable_dlopen_self_static=unknown
11619 lt_cv_dlopen="load_add_on"
11621 lt_cv_dlopen_self=yes
11625 lt_cv_dlopen="LoadLibrary"
11630 lt_cv_dlopen="dlopen"
11635 # if libdl is installed we need to link against it
11636 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11637 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11638 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11639 echo $ECHO_N "(cached) $ECHO_C" >&6
11641 ac_check_lib_save_LIBS=$LIBS
11643 cat >conftest.$ac_ext <<_ACEOF
11644 #line $LINENO "configure"
11647 cat confdefs.h >>conftest.$ac_ext
11648 cat >>conftest.$ac_ext <<_ACEOF
11649 /* end confdefs.h. */
11651 /* Override any gcc2 internal prototype to avoid an error. */
11655 /* We use char because int might match the return type of a gcc2
11656 builtin and then its argument prototype would still apply. */
11666 rm -f conftest.$ac_objext conftest$ac_exeext
11667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11668 (eval $ac_link) 2>&5
11670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11671 (exit $ac_status); } &&
11672 { ac_try='test -s conftest$ac_exeext'
11673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11674 (eval $ac_try) 2>&5
11676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11677 (exit $ac_status); }; }; then
11678 ac_cv_lib_dl_dlopen=yes
11680 echo "$as_me: failed program was:" >&5
11681 sed 's/^/| /' conftest.$ac_ext >&5
11683 ac_cv_lib_dl_dlopen=no
11685 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11686 LIBS=$ac_check_lib_save_LIBS
11688 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11689 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11690 if test $ac_cv_lib_dl_dlopen = yes; then
11691 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11694 lt_cv_dlopen="dyld"
11696 lt_cv_dlopen_self=yes
11703 echo "$as_me:$LINENO: checking for shl_load" >&5
11704 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11705 if test "${ac_cv_func_shl_load+set}" = set; then
11706 echo $ECHO_N "(cached) $ECHO_C" >&6
11708 cat >conftest.$ac_ext <<_ACEOF
11709 #line $LINENO "configure"
11712 cat confdefs.h >>conftest.$ac_ext
11713 cat >>conftest.$ac_ext <<_ACEOF
11714 /* end confdefs.h. */
11715 /* System header to define __stub macros and hopefully few prototypes,
11716 which can conflict with char shl_load (); below.
11717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11718 <limits.h> exists even on freestanding compilers. */
11720 # include <limits.h>
11722 # include <assert.h>
11724 /* Override any gcc2 internal prototype to avoid an error. */
11729 /* We use char because int might match the return type of a gcc2
11730 builtin and then its argument prototype would still apply. */
11732 /* The GNU C library defines this for functions which it implements
11733 to always fail with ENOSYS. Some functions are actually named
11734 something starting with __ and the normal name is an alias. */
11735 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11738 char (*f) () = shl_load;
11747 return f != shl_load;
11752 rm -f conftest.$ac_objext conftest$ac_exeext
11753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11754 (eval $ac_link) 2>&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); } &&
11758 { ac_try='test -s conftest$ac_exeext'
11759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11760 (eval $ac_try) 2>&5
11762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11763 (exit $ac_status); }; }; then
11764 ac_cv_func_shl_load=yes
11766 echo "$as_me: failed program was:" >&5
11767 sed 's/^/| /' conftest.$ac_ext >&5
11769 ac_cv_func_shl_load=no
11771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11773 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11774 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11775 if test $ac_cv_func_shl_load = yes; then
11776 lt_cv_dlopen="shl_load"
11778 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11779 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11780 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11781 echo $ECHO_N "(cached) $ECHO_C" >&6
11783 ac_check_lib_save_LIBS=$LIBS
11785 cat >conftest.$ac_ext <<_ACEOF
11786 #line $LINENO "configure"
11789 cat confdefs.h >>conftest.$ac_ext
11790 cat >>conftest.$ac_ext <<_ACEOF
11791 /* end confdefs.h. */
11793 /* Override any gcc2 internal prototype to avoid an error. */
11797 /* We use char because int might match the return type of a gcc2
11798 builtin and then its argument prototype would still apply. */
11808 rm -f conftest.$ac_objext conftest$ac_exeext
11809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11810 (eval $ac_link) 2>&5
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); } &&
11814 { ac_try='test -s conftest$ac_exeext'
11815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11816 (eval $ac_try) 2>&5
11818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819 (exit $ac_status); }; }; then
11820 ac_cv_lib_dld_shl_load=yes
11822 echo "$as_me: failed program was:" >&5
11823 sed 's/^/| /' conftest.$ac_ext >&5
11825 ac_cv_lib_dld_shl_load=no
11827 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11828 LIBS=$ac_check_lib_save_LIBS
11830 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11831 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11832 if test $ac_cv_lib_dld_shl_load = yes; then
11833 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11835 echo "$as_me:$LINENO: checking for dlopen" >&5
11836 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11837 if test "${ac_cv_func_dlopen+set}" = set; then
11838 echo $ECHO_N "(cached) $ECHO_C" >&6
11840 cat >conftest.$ac_ext <<_ACEOF
11841 #line $LINENO "configure"
11844 cat confdefs.h >>conftest.$ac_ext
11845 cat >>conftest.$ac_ext <<_ACEOF
11846 /* end confdefs.h. */
11847 /* System header to define __stub macros and hopefully few prototypes,
11848 which can conflict with char dlopen (); below.
11849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11850 <limits.h> exists even on freestanding compilers. */
11852 # include <limits.h>
11854 # include <assert.h>
11856 /* Override any gcc2 internal prototype to avoid an error. */
11861 /* We use char because int might match the return type of a gcc2
11862 builtin and then its argument prototype would still apply. */
11864 /* The GNU C library defines this for functions which it implements
11865 to always fail with ENOSYS. Some functions are actually named
11866 something starting with __ and the normal name is an alias. */
11867 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11870 char (*f) () = dlopen;
11879 return f != dlopen;
11884 rm -f conftest.$ac_objext conftest$ac_exeext
11885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11886 (eval $ac_link) 2>&5
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); } &&
11890 { ac_try='test -s conftest$ac_exeext'
11891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11892 (eval $ac_try) 2>&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); }; }; then
11896 ac_cv_func_dlopen=yes
11898 echo "$as_me: failed program was:" >&5
11899 sed 's/^/| /' conftest.$ac_ext >&5
11901 ac_cv_func_dlopen=no
11903 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11905 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11906 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11907 if test $ac_cv_func_dlopen = yes; then
11908 lt_cv_dlopen="dlopen"
11910 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11911 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11912 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11913 echo $ECHO_N "(cached) $ECHO_C" >&6
11915 ac_check_lib_save_LIBS=$LIBS
11917 cat >conftest.$ac_ext <<_ACEOF
11918 #line $LINENO "configure"
11921 cat confdefs.h >>conftest.$ac_ext
11922 cat >>conftest.$ac_ext <<_ACEOF
11923 /* end confdefs.h. */
11925 /* Override any gcc2 internal prototype to avoid an error. */
11929 /* We use char because int might match the return type of a gcc2
11930 builtin and then its argument prototype would still apply. */
11940 rm -f conftest.$ac_objext conftest$ac_exeext
11941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11942 (eval $ac_link) 2>&5
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); } &&
11946 { ac_try='test -s conftest$ac_exeext'
11947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11948 (eval $ac_try) 2>&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); }; }; then
11952 ac_cv_lib_dl_dlopen=yes
11954 echo "$as_me: failed program was:" >&5
11955 sed 's/^/| /' conftest.$ac_ext >&5
11957 ac_cv_lib_dl_dlopen=no
11959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11960 LIBS=$ac_check_lib_save_LIBS
11962 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11963 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11964 if test $ac_cv_lib_dl_dlopen = yes; then
11965 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11967 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11968 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11969 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11970 echo $ECHO_N "(cached) $ECHO_C" >&6
11972 ac_check_lib_save_LIBS=$LIBS
11973 LIBS="-lsvld $LIBS"
11974 cat >conftest.$ac_ext <<_ACEOF
11975 #line $LINENO "configure"
11978 cat confdefs.h >>conftest.$ac_ext
11979 cat >>conftest.$ac_ext <<_ACEOF
11980 /* end confdefs.h. */
11982 /* Override any gcc2 internal prototype to avoid an error. */
11986 /* We use char because int might match the return type of a gcc2
11987 builtin and then its argument prototype would still apply. */
11997 rm -f conftest.$ac_objext conftest$ac_exeext
11998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11999 (eval $ac_link) 2>&5
12001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); } &&
12003 { ac_try='test -s conftest$ac_exeext'
12004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12005 (eval $ac_try) 2>&5
12007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12008 (exit $ac_status); }; }; then
12009 ac_cv_lib_svld_dlopen=yes
12011 echo "$as_me: failed program was:" >&5
12012 sed 's/^/| /' conftest.$ac_ext >&5
12014 ac_cv_lib_svld_dlopen=no
12016 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12017 LIBS=$ac_check_lib_save_LIBS
12019 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12020 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12021 if test $ac_cv_lib_svld_dlopen = yes; then
12022 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12024 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12025 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12026 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12027 echo $ECHO_N "(cached) $ECHO_C" >&6
12029 ac_check_lib_save_LIBS=$LIBS
12031 cat >conftest.$ac_ext <<_ACEOF
12032 #line $LINENO "configure"
12035 cat confdefs.h >>conftest.$ac_ext
12036 cat >>conftest.$ac_ext <<_ACEOF
12037 /* end confdefs.h. */
12039 /* Override any gcc2 internal prototype to avoid an error. */
12043 /* We use char because int might match the return type of a gcc2
12044 builtin and then its argument prototype would still apply. */
12054 rm -f conftest.$ac_objext conftest$ac_exeext
12055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12056 (eval $ac_link) 2>&5
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); } &&
12060 { ac_try='test -s conftest$ac_exeext'
12061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12062 (eval $ac_try) 2>&5
12064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12065 (exit $ac_status); }; }; then
12066 ac_cv_lib_dld_dld_link=yes
12068 echo "$as_me: failed program was:" >&5
12069 sed 's/^/| /' conftest.$ac_ext >&5
12071 ac_cv_lib_dld_dld_link=no
12073 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12074 LIBS=$ac_check_lib_save_LIBS
12076 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12077 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12078 if test $ac_cv_lib_dld_dld_link = yes; then
12079 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12100 if test "x$lt_cv_dlopen" != xno; then
12106 case $lt_cv_dlopen in
12108 save_CPPFLAGS="$CPPFLAGS"
12109 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12111 save_LDFLAGS="$LDFLAGS"
12112 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12115 LIBS="$lt_cv_dlopen_libs $LIBS"
12117 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12118 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12119 if test "${lt_cv_dlopen_self+set}" = set; then
12120 echo $ECHO_N "(cached) $ECHO_C" >&6
12122 if test "$cross_compiling" = yes; then :
12123 lt_cv_dlopen_self=cross
12125 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12126 lt_status=$lt_dlunknown
12127 cat > conftest.$ac_ext <<EOF
12128 #line 12134 "configure"
12129 #include "confdefs.h"
12138 # define LT_DLGLOBAL RTLD_GLOBAL
12141 # define LT_DLGLOBAL DL_GLOBAL
12143 # define LT_DLGLOBAL 0
12147 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12148 find out it does not work in some platform. */
12149 #ifndef LT_DLLAZY_OR_NOW
12151 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12154 # define LT_DLLAZY_OR_NOW DL_LAZY
12157 # define LT_DLLAZY_OR_NOW RTLD_NOW
12160 # define LT_DLLAZY_OR_NOW DL_NOW
12162 # define LT_DLLAZY_OR_NOW 0
12170 extern "C" void exit (int);
12173 void fnord() { int i=42;}
12176 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12177 int status = $lt_dlunknown;
12181 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12182 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12183 /* dlclose (self); */
12189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12190 (eval $ac_link) 2>&5
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12194 (./conftest; exit; ) 2>/dev/null
12196 case x$lt_status in
12197 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12198 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12199 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12202 # compilation failed
12203 lt_cv_dlopen_self=no
12210 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12211 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12213 if test "x$lt_cv_dlopen_self" = xyes; then
12214 LDFLAGS="$LDFLAGS $link_static_flag"
12215 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12216 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12217 if test "${lt_cv_dlopen_self_static+set}" = set; then
12218 echo $ECHO_N "(cached) $ECHO_C" >&6
12220 if test "$cross_compiling" = yes; then :
12221 lt_cv_dlopen_self_static=cross
12223 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12224 lt_status=$lt_dlunknown
12225 cat > conftest.$ac_ext <<EOF
12226 #line 12232 "configure"
12227 #include "confdefs.h"
12236 # define LT_DLGLOBAL RTLD_GLOBAL
12239 # define LT_DLGLOBAL DL_GLOBAL
12241 # define LT_DLGLOBAL 0
12245 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12246 find out it does not work in some platform. */
12247 #ifndef LT_DLLAZY_OR_NOW
12249 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12252 # define LT_DLLAZY_OR_NOW DL_LAZY
12255 # define LT_DLLAZY_OR_NOW RTLD_NOW
12258 # define LT_DLLAZY_OR_NOW DL_NOW
12260 # define LT_DLLAZY_OR_NOW 0
12268 extern "C" void exit (int);
12271 void fnord() { int i=42;}
12274 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12275 int status = $lt_dlunknown;
12279 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12280 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12281 /* dlclose (self); */
12287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12288 (eval $ac_link) 2>&5
12290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12291 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12292 (./conftest; exit; ) 2>/dev/null
12294 case x$lt_status in
12295 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12296 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12297 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12300 # compilation failed
12301 lt_cv_dlopen_self_static=no
12308 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12309 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12312 CPPFLAGS="$save_CPPFLAGS"
12313 LDFLAGS="$save_LDFLAGS"
12318 case $lt_cv_dlopen_self in
12319 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12320 *) enable_dlopen_self=unknown ;;
12323 case $lt_cv_dlopen_self_static in
12324 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12325 *) enable_dlopen_self_static=unknown ;;
12330 # The else clause should only fire when bootstrapping the
12331 # libtool distribution, otherwise you forgot to ship ltmain.sh
12332 # with your package, and you will get complaints that there are
12333 # no rules to generate ltmain.sh.
12334 if test -f "$ltmain"; then
12335 # See if we are running on zsh, and set the options which allow our commands through
12336 # without removal of \ escapes.
12337 if test -n "${ZSH_VERSION+set}" ; then
12338 setopt NO_GLOB_SUBST
12340 # Now quote all the things that may contain metacharacters while being
12341 # careful not to overquote the AC_SUBSTed values. We take copies of the
12342 # variables and quote the copies for generation of the libtool script.
12343 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12344 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12345 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12346 deplibs_check_method reload_flag reload_cmds need_locks \
12347 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12348 lt_cv_sys_global_symbol_to_c_name_address \
12349 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12350 old_postinstall_cmds old_postuninstall_cmds \
12354 lt_prog_compiler_wl_CXX \
12355 lt_prog_compiler_pic_CXX \
12356 lt_prog_compiler_static_CXX \
12357 lt_prog_compiler_no_builtin_flag_CXX \
12358 export_dynamic_flag_spec_CXX \
12359 thread_safe_flag_spec_CXX \
12360 whole_archive_flag_spec_CXX \
12361 enable_shared_with_static_runtimes_CXX \
12362 old_archive_cmds_CXX \
12363 old_archive_from_new_cmds_CXX \
12364 predep_objects_CXX \
12365 postdep_objects_CXX \
12368 compiler_lib_search_path_CXX \
12370 archive_expsym_cmds_CXX \
12371 postinstall_cmds_CXX \
12372 postuninstall_cmds_CXX \
12373 old_archive_from_expsyms_cmds_CXX \
12374 allow_undefined_flag_CXX \
12375 no_undefined_flag_CXX \
12376 export_symbols_cmds_CXX \
12377 hardcode_libdir_flag_spec_CXX \
12378 hardcode_libdir_flag_spec_ld_CXX \
12379 hardcode_libdir_separator_CXX \
12380 hardcode_automatic_CXX \
12382 module_expsym_cmds_CXX \
12383 lt_cv_prog_compiler_c_o_CXX \
12384 exclude_expsyms_CXX \
12385 include_expsyms_CXX; do
12388 old_archive_cmds_CXX | \
12389 old_archive_from_new_cmds_CXX | \
12390 archive_cmds_CXX | \
12391 archive_expsym_cmds_CXX | \
12392 module_cmds_CXX | \
12393 module_expsym_cmds_CXX | \
12394 old_archive_from_expsyms_cmds_CXX | \
12395 export_symbols_cmds_CXX | \
12396 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12397 postinstall_cmds | postuninstall_cmds | \
12398 old_postinstall_cmds | old_postuninstall_cmds | \
12399 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12400 # Double-quote double-evaled strings.
12401 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12404 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12410 *'\$0 --fallback-echo"')
12411 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12417 cat <<__EOF__ >> "$cfgfile"
12418 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12420 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12422 # Shell to use when invoking shell scripts.
12425 # Whether or not to build shared libraries.
12426 build_libtool_libs=$enable_shared
12428 # Whether or not to build static libraries.
12429 build_old_libs=$enable_static
12431 # Whether or not to add -lc for building shared libraries.
12432 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12434 # Whether or not to disallow shared libs when runtime libs are static
12435 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12437 # Whether or not to optimize for fast installation.
12438 fast_install=$enable_fast_install
12441 host_alias=$host_alias
12444 # An echo program that does not interpret backslashes.
12449 AR_FLAGS=$lt_AR_FLAGS
12454 # A language-specific compiler.
12455 CC=$lt_compiler_CXX
12457 # Is the compiler the GNU C compiler?
12463 # The linker used to build libraries.
12466 # Whether we need hard or soft links.
12469 # A BSD-compatible nm program.
12472 # A symbol stripping program
12475 # Used to examine libraries when file_magic_cmd begins "file"
12476 MAGIC_CMD=$MAGIC_CMD
12478 # Used on cygwin: DLL creation program.
12481 # Used on cygwin: object dumper.
12484 # Used on cygwin: assembler.
12487 # The name of the directory that contains temporary libtool files.
12490 # How to create reloadable object files.
12491 reload_flag=$lt_reload_flag
12492 reload_cmds=$lt_reload_cmds
12494 # How to pass a linker flag through the compiler.
12495 wl=$lt_lt_prog_compiler_wl_CXX
12497 # Object file suffix (normally "o").
12498 objext="$ac_objext"
12500 # Old archive suffix (normally "a").
12503 # Shared library suffix (normally ".so").
12506 # Executable file suffix (normally "").
12509 # Additional compiler flags for building library objects.
12510 pic_flag=$lt_lt_prog_compiler_pic_CXX
12513 # What is the maximum length of a command?
12514 max_cmd_len=$lt_cv_sys_max_cmd_len
12516 # Does compiler simultaneously support -c and -o options?
12517 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12519 # Must we lock files when doing compilation ?
12520 need_locks=$lt_need_locks
12522 # Do we need the lib prefix for modules?
12523 need_lib_prefix=$need_lib_prefix
12525 # Do we need a version for libraries?
12526 need_version=$need_version
12528 # Whether dlopen is supported.
12529 dlopen_support=$enable_dlopen
12531 # Whether dlopen of programs is supported.
12532 dlopen_self=$enable_dlopen_self
12534 # Whether dlopen of statically linked programs is supported.
12535 dlopen_self_static=$enable_dlopen_self_static
12537 # Compiler flag to prevent dynamic linking.
12538 link_static_flag=$lt_lt_prog_compiler_static_CXX
12540 # Compiler flag to turn off builtin functions.
12541 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12543 # Compiler flag to allow reflexive dlopens.
12544 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12546 # Compiler flag to generate shared objects directly from archives.
12547 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12549 # Compiler flag to generate thread-safe objects.
12550 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12552 # Library versioning type.
12553 version_type=$version_type
12555 # Format of library name prefix.
12556 libname_spec=$lt_libname_spec
12558 # List of archive names. First name is the real one, the rest are links.
12559 # The last name is the one that the linker finds with -lNAME.
12560 library_names_spec=$lt_library_names_spec
12562 # The coded name of the library, if different from the real name.
12563 soname_spec=$lt_soname_spec
12565 # Commands used to build and install an old-style archive.
12567 old_archive_cmds=$lt_old_archive_cmds_CXX
12568 old_postinstall_cmds=$lt_old_postinstall_cmds
12569 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12571 # Create an old-style archive from a shared archive.
12572 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12574 # Create a temporary old-style archive to link instead of a shared archive.
12575 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12577 # Commands used to build and install a shared archive.
12578 archive_cmds=$lt_archive_cmds_CXX
12579 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12580 postinstall_cmds=$lt_postinstall_cmds
12581 postuninstall_cmds=$lt_postuninstall_cmds
12583 # Commands used to build a loadable module (assumed same as above if empty)
12584 module_cmds=$lt_module_cmds_CXX
12585 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12587 # Commands to strip libraries.
12588 old_striplib=$lt_old_striplib
12589 striplib=$lt_striplib
12591 # Dependencies to place before the objects being linked to create a
12593 predep_objects=$lt_predep_objects_CXX
12595 # Dependencies to place after the objects being linked to create a
12597 postdep_objects=$lt_postdep_objects_CXX
12599 # Dependencies to place before the objects being linked to create a
12601 predeps=$lt_predeps_CXX
12603 # Dependencies to place after the objects being linked to create a
12605 postdeps=$lt_postdeps_CXX
12607 # The library search path used internally by the compiler when linking
12608 # a shared library.
12609 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12611 # Method to check whether dependent libraries are shared objects.
12612 deplibs_check_method=$lt_deplibs_check_method
12614 # Command to use when deplibs_check_method == file_magic.
12615 file_magic_cmd=$lt_file_magic_cmd
12617 # Flag that allows shared libraries with undefined symbols to be built.
12618 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12620 # Flag that forces no undefined symbols.
12621 no_undefined_flag=$lt_no_undefined_flag_CXX
12623 # Commands used to finish a libtool library installation in a directory.
12624 finish_cmds=$lt_finish_cmds
12626 # Same as above, but a single script fragment to be evaled but not shown.
12627 finish_eval=$lt_finish_eval
12629 # Take the output of nm and produce a listing of raw symbols and C names.
12630 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12632 # Transform the output of nm in a proper C declaration
12633 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12635 # Transform the output of nm in a C name address pair
12636 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12638 # This is the shared library runtime path variable.
12639 runpath_var=$runpath_var
12641 # This is the shared library path variable.
12642 shlibpath_var=$shlibpath_var
12644 # Is shlibpath searched before the hard-coded library search path?
12645 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12647 # How to hardcode a shared library path into an executable.
12648 hardcode_action=$hardcode_action_CXX
12650 # Whether we should hardcode library paths into libraries.
12651 hardcode_into_libs=$hardcode_into_libs
12653 # Flag to hardcode \$libdir into a binary during linking.
12654 # This must work even if \$libdir does not exist.
12655 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12657 # If ld is used when linking, flag to hardcode \$libdir into
12658 # a binary during linking. This must work even if \$libdir does
12660 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12662 # Whether we need a single -rpath flag with a separated argument.
12663 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12665 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12666 # resulting binary.
12667 hardcode_direct=$hardcode_direct_CXX
12669 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12670 # resulting binary.
12671 hardcode_minus_L=$hardcode_minus_L_CXX
12673 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12674 # the resulting binary.
12675 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12677 # Set to yes if building a shared library automatically hardcodes DIR into the library
12678 # and all subsequent libraries and executables linked against it.
12679 hardcode_automatic=$hardcode_automatic_CXX
12681 # Variables whose values should be saved in libtool wrapper scripts and
12682 # restored at relink time.
12683 variables_saved_for_relink="$variables_saved_for_relink"
12685 # Whether libtool must link a program against all its dependency libraries.
12686 link_all_deplibs=$link_all_deplibs_CXX
12688 # Compile-time system search path for libraries
12689 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12691 # Run-time system search path for libraries
12692 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12694 # Fix the shell variable \$srcfile for the compiler.
12695 fix_srcfile_path="$fix_srcfile_path_CXX"
12697 # Set to yes if exported symbols are required.
12698 always_export_symbols=$always_export_symbols_CXX
12700 # The commands to list exported symbols.
12701 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12703 # The commands to extract the exported symbol list from a shared archive.
12704 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12706 # Symbols that should not be listed in the preloaded symbols.
12707 exclude_expsyms=$lt_exclude_expsyms_CXX
12709 # Symbols that must always be exported.
12710 include_expsyms=$lt_include_expsyms_CXX
12712 # ### END LIBTOOL TAG CONFIG: $tagname
12718 # If there is no Makefile yet, we rely on a make rule to execute
12719 # `config.status --recheck' to rerun these tests and create the
12720 # libtool script then.
12721 test -f Makefile && make "$ltmain"
12726 ac_cpp='$CPP $CPPFLAGS'
12727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12735 with_gnu_ldcxx=$with_gnu_ld
12736 with_gnu_ld=$lt_save_with_gnu_ld
12737 lt_cv_path_LDCXX=$lt_cv_path_LD
12738 lt_cv_path_LD=$lt_save_path_LD
12739 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12740 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12748 if test -n "$F77" && test "X$F77" != "Xno"; then
12751 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12752 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12753 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12756 archive_cmds_need_lc_F77=no
12757 allow_undefined_flag_F77=
12758 always_export_symbols_F77=no
12759 archive_expsym_cmds_F77=
12760 export_dynamic_flag_spec_F77=
12761 hardcode_direct_F77=no
12762 hardcode_libdir_flag_spec_F77=
12763 hardcode_libdir_flag_spec_ld_F77=
12764 hardcode_libdir_separator_F77=
12765 hardcode_minus_L_F77=no
12766 hardcode_automatic_F77=no
12768 module_expsym_cmds_F77=
12769 link_all_deplibs_F77=unknown
12770 old_archive_cmds_F77=$old_archive_cmds
12771 no_undefined_flag_F77=
12772 whole_archive_flag_spec_F77=
12773 enable_shared_with_static_runtimes_F77=no
12775 # Source file extension for f77 test sources.
12778 # Object file extension for compiled f77 test sources.
12782 # Code to be used in simple compile tests
12783 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12785 # Code to be used in simple link tests
12786 lt_simple_link_test_code=" program t\n end\n"
12788 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12790 # If no C compiler was specified, use CC.
12793 # Allow CC to be a program name with arguments.
12797 # Allow CC to be a program name with arguments.
12802 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12804 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12805 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12806 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12807 echo "${ECHO_T}$can_build_shared" >&6
12809 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12810 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12811 test "$can_build_shared" = "no" && enable_shared=no
12813 # On AIX, shared libraries and static libraries use the same namespace, and
12814 # are all built from PIC.
12817 test "$enable_shared" = yes && enable_static=no
12818 if test -n "$RANLIB"; then
12819 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12820 postinstall_cmds='$RANLIB $lib'
12824 test "$enable_shared" = yes && enable_static=no
12827 echo "$as_me:$LINENO: result: $enable_shared" >&5
12828 echo "${ECHO_T}$enable_shared" >&6
12830 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12831 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12832 # Make sure either enable_shared or enable_static is yes.
12833 test "$enable_shared" = yes || enable_static=yes
12834 echo "$as_me:$LINENO: result: $enable_static" >&5
12835 echo "${ECHO_T}$enable_static" >&6
12837 test "$ld_shlibs_F77" = no && can_build_shared=no
12842 lt_prog_compiler_wl_F77=
12843 lt_prog_compiler_pic_F77=
12844 lt_prog_compiler_static_F77=
12846 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12847 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12849 if test "$GCC" = yes; then
12850 lt_prog_compiler_wl_F77='-Wl,'
12851 lt_prog_compiler_static_F77='-static'
12855 # All AIX code is PIC.
12856 if test "$host_cpu" = ia64; then
12857 # AIX 5 now supports IA64 processor
12858 lt_prog_compiler_static_F77='-Bstatic'
12863 # FIXME: we need at least 68020 code to build shared libraries, but
12864 # adding the `-m68020' flag to GCC prevents building anything better,
12866 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12869 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12870 # PIC is the default for these OSes.
12873 mingw* | pw32* | os2*)
12874 # This hack is so that the source file can tell whether it is being
12875 # built for inclusion in a dll (and should export symbols for example).
12876 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12879 darwin* | rhapsody*)
12880 # PIC is the default on this platform
12881 # Common symbols not allowed in MH_DYLIB files
12882 lt_prog_compiler_pic_F77='-fno-common'
12886 # Just because we use GCC doesn't mean we suddenly get shared libraries
12887 # on systems that don't support them.
12888 lt_prog_compiler_can_build_shared_F77=no
12893 if test -d /usr/nec; then
12894 lt_prog_compiler_pic_F77=-Kconform_pic
12899 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12900 # not for PA HP-UX.
12901 case "$host_cpu" in
12906 lt_prog_compiler_pic_F77='-fPIC'
12912 lt_prog_compiler_pic_F77='-fPIC'
12916 # PORTME Check for flag to pass linker flags through the system compiler.
12919 lt_prog_compiler_wl_F77='-Wl,'
12920 if test "$host_cpu" = ia64; then
12921 # AIX 5 now supports IA64 processor
12922 lt_prog_compiler_static_F77='-Bstatic'
12924 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12928 mingw* | pw32* | os2*)
12929 # This hack is so that the source file can tell whether it is being
12930 # built for inclusion in a dll (and should export symbols for example).
12931 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12934 hpux9* | hpux10* | hpux11*)
12935 lt_prog_compiler_wl_F77='-Wl,'
12936 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12937 # not for PA HP-UX.
12938 case "$host_cpu" in
12943 lt_prog_compiler_pic_F77='+Z'
12946 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12947 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12950 irix5* | irix6* | nonstopux*)
12951 lt_prog_compiler_wl_F77='-Wl,'
12952 # PIC (with -KPIC) is the default.
12953 lt_prog_compiler_static_F77='-non_shared'
12957 lt_prog_compiler_pic_F77='-KPIC'
12958 lt_prog_compiler_static_F77='-Bstatic'
12964 lt_prog_compiler_wl_F77='-Wl,'
12965 lt_prog_compiler_pic_F77='-KPIC'
12966 lt_prog_compiler_static_F77='-static'
12969 lt_prog_compiler_wl_F77='-Wl,'
12970 # All Alpha code is PIC.
12971 lt_prog_compiler_static_F77='-non_shared'
12976 osf3* | osf4* | osf5*)
12977 lt_prog_compiler_wl_F77='-Wl,'
12978 # All OSF/1 code is PIC.
12979 lt_prog_compiler_static_F77='-non_shared'
12983 lt_prog_compiler_pic_F77='-Kpic'
12984 lt_prog_compiler_static_F77='-dn'
12988 lt_prog_compiler_wl_F77='-Wl,'
12989 lt_prog_compiler_pic_F77='-KPIC'
12990 lt_prog_compiler_static_F77='-Bstatic'
12994 lt_prog_compiler_wl_F77='-Qoption ld '
12995 lt_prog_compiler_pic_F77='-PIC'
12996 lt_prog_compiler_static_F77='-Bstatic'
12999 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13000 lt_prog_compiler_wl_F77='-Wl,'
13001 lt_prog_compiler_pic_F77='-KPIC'
13002 lt_prog_compiler_static_F77='-Bstatic'
13006 if test -d /usr/nec ;then
13007 lt_prog_compiler_pic_F77='-Kconform_pic'
13008 lt_prog_compiler_static_F77='-Bstatic'
13013 lt_prog_compiler_pic_F77='-pic'
13014 lt_prog_compiler_static_F77='-Bstatic'
13018 lt_prog_compiler_can_build_shared_F77=no
13023 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13024 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13027 # Check to make sure the PIC flag actually works.
13029 if test -n "$lt_prog_compiler_pic_F77"; then
13030 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13031 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13032 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13033 echo $ECHO_N "(cached) $ECHO_C" >&6
13035 lt_prog_compiler_pic_works_F77=no
13036 ac_outfile=conftest.$ac_objext
13037 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13038 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13039 # Insert the option either (1) after the last *FLAGS variable, or
13040 # (2) before a word containing "conftest.", or (3) at the end.
13041 # Note that $ac_compile itself does not contain backslashes and begins
13042 # with a dollar sign (not a hyphen), so the echo should work correctly.
13043 # The option is referenced via a variable to avoid confusing sed.
13044 lt_compile=`echo "$ac_compile" | $SED \
13045 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13046 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13047 -e 's:$: $lt_compiler_flag:'`
13048 (eval echo "\"\$as_me:13054: $lt_compile\"" >&5)
13049 (eval "$lt_compile" 2>conftest.err)
13051 cat conftest.err >&5
13052 echo "$as_me:13058: \$? = $ac_status" >&5
13053 if (exit $ac_status) && test -s "$ac_outfile"; then
13054 # The compiler can only warn and ignore the option if not recognized
13055 # So say no if there are warnings
13056 if test ! -s conftest.err; then
13057 lt_prog_compiler_pic_works_F77=yes
13063 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13064 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13066 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13067 case $lt_prog_compiler_pic_F77 in
13069 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13072 lt_prog_compiler_pic_F77=
13073 lt_prog_compiler_can_build_shared_F77=no
13078 # For platforms which do not support PIC, -DPIC is meaningless:
13080 lt_prog_compiler_pic_F77=
13083 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13087 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13088 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13089 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13090 echo $ECHO_N "(cached) $ECHO_C" >&6
13092 lt_cv_prog_compiler_c_o_F77=no
13093 $rm -r conftest 2>/dev/null
13097 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13099 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13100 # that will create temporary files in the current directory regardless of
13101 # the output directory. Thus, making CWD read-only will cause this test
13102 # to fail, enabling locking or at least warning the user not to do parallel
13106 lt_compiler_flag="-o out/conftest2.$ac_objext"
13107 # Insert the option either (1) after the last *FLAGS variable, or
13108 # (2) before a word containing "conftest.", or (3) at the end.
13109 # Note that $ac_compile itself does not contain backslashes and begins
13110 # with a dollar sign (not a hyphen), so the echo should work correctly.
13111 lt_compile=`echo "$ac_compile" | $SED \
13112 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13113 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13114 -e 's:$: $lt_compiler_flag:'`
13115 (eval echo "\"\$as_me:13121: $lt_compile\"" >&5)
13116 (eval "$lt_compile" 2>out/conftest.err)
13118 cat out/conftest.err >&5
13119 echo "$as_me:13125: \$? = $ac_status" >&5
13120 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13122 # The compiler can only warn and ignore the option if not recognized
13123 # So say no if there are warnings
13124 if test ! -s out/conftest.err; then
13125 lt_cv_prog_compiler_c_o_F77=yes
13129 $rm conftest* out/*
13136 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13137 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13140 hard_links="nottested"
13141 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13142 # do not overwrite the value of need_locks provided by the user
13143 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13144 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13147 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13149 ln conftest.a conftest.b 2>&5 || hard_links=no
13150 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13151 echo "$as_me:$LINENO: result: $hard_links" >&5
13152 echo "${ECHO_T}$hard_links" >&6
13153 if test "$hard_links" = no; then
13154 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13155 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13162 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13163 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13166 allow_undefined_flag_F77=
13167 enable_shared_with_static_runtimes_F77=no
13169 archive_expsym_cmds_F77=
13170 old_archive_From_new_cmds_F77=
13171 old_archive_from_expsyms_cmds_F77=
13172 export_dynamic_flag_spec_F77=
13173 whole_archive_flag_spec_F77=
13174 thread_safe_flag_spec_F77=
13175 hardcode_libdir_flag_spec_F77=
13176 hardcode_libdir_flag_spec_ld_F77=
13177 hardcode_libdir_separator_F77=
13178 hardcode_direct_F77=no
13179 hardcode_minus_L_F77=no
13180 hardcode_shlibpath_var_F77=unsupported
13181 link_all_deplibs_F77=unknown
13182 hardcode_automatic_F77=no
13184 module_expsym_cmds_F77=
13185 always_export_symbols_F77=no
13186 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13187 # include_expsyms should be a list of space-separated symbols to be *always*
13188 # included in the symbol list
13189 include_expsyms_F77=
13190 # exclude_expsyms can be an extended regexp of symbols to exclude
13191 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13192 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13193 # as well as any symbol that contains `d'.
13194 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13195 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13196 # platforms (ab)use it in PIC code, but their linkers get confused if
13197 # the symbol is explicitly referenced. Since portable code cannot
13198 # rely on this symbol name, it's probably fine to never include it in
13199 # preloaded symbol tables.
13200 extract_expsyms_cmds=
13203 cygwin* | mingw* | pw32*)
13204 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13205 # When not using gcc, we currently assume that we are using
13206 # Microsoft Visual C++.
13207 if test "$GCC" != yes; then
13217 if test "$with_gnu_ld" = yes; then
13218 # If archive_cmds runs LD, not CC, wlarc should be empty
13221 # See if GNU ld supports shared libraries.
13223 aix3* | aix4* | aix5*)
13224 # On AIX/PPC, the GNU linker is very broken
13225 if test "$host_cpu" != ia64; then
13229 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13230 *** to be unable to reliably create shared libraries on AIX.
13231 *** Therefore, libtool is disabling shared libraries support. If you
13232 *** really care for shared libraries, you may want to modify your PATH
13233 *** so that a non-GNU linker is found, and then restart.
13240 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)'
13241 hardcode_libdir_flag_spec_F77='-L$libdir'
13242 hardcode_minus_L_F77=yes
13244 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13245 # that the semantics of dynamic libraries on AmigaOS, at least up
13246 # to version 4, is to share data among multiple programs linked
13247 # with the same dynamic library. Since this doesn't match the
13248 # behavior of shared libraries on other platforms, we can't use
13254 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13255 allow_undefined_flag_F77=unsupported
13256 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13257 # support --undefined. This deserves some investigation. FIXME
13258 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13264 cygwin* | mingw* | pw32*)
13265 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13266 # as there is no search path for DLLs.
13267 hardcode_libdir_flag_spec_F77='-L$libdir'
13268 allow_undefined_flag_F77=unsupported
13269 always_export_symbols_F77=no
13270 enable_shared_with_static_runtimes_F77=yes
13271 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13273 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13274 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13275 # If the export-symbols file already is a .def file (1st line
13276 # is EXPORTS), use it as is; otherwise, prepend...
13277 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13278 cp $export_symbols $output_objdir/$soname.def;
13280 echo EXPORTS > $output_objdir/$soname.def;
13281 cat $export_symbols >> $output_objdir/$soname.def;
13283 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13290 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13291 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
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'
13300 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13304 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13305 *** create shared libraries on Solaris systems. Therefore, libtool
13306 *** is disabling shared libraries support. We urge you to upgrade GNU
13307 *** binutils to release 2.9.1 or newer. Another option is to modify
13308 *** your PATH or compiler configuration so that the native linker is
13309 *** used, and then restart.
13312 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13313 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13314 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13321 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13323 hardcode_direct_F77=yes
13324 hardcode_shlibpath_var_F77=no
13328 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13329 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13330 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13337 if test "$ld_shlibs_F77" = yes; then
13338 runpath_var=LD_RUN_PATH
13339 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13340 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13341 # ancient GNU ld didn't support --whole-archive et. al.
13342 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13343 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13345 whole_archive_flag_spec_F77=
13349 # PORTME fill in a description of your system's linker (not GNU ld)
13352 allow_undefined_flag_F77=unsupported
13353 always_export_symbols_F77=yes
13354 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'
13355 # Note: this linker hardcodes the directories in LIBPATH if there
13356 # are no directories specified by -L.
13357 hardcode_minus_L_F77=yes
13358 if test "$GCC" = yes && test -z "$link_static_flag"; then
13359 # Neither direct hardcoding nor static linking is supported with a
13361 hardcode_direct_F77=unsupported
13366 if test "$host_cpu" = ia64; then
13367 # On IA64, the linker does run time linking by default, so we don't
13368 # have to do anything special.
13369 aix_use_runtimelinking=no
13370 exp_sym_flag='-Bexport'
13373 # If we're using GNU nm, then we don't want the "-C" option.
13374 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13375 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13376 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'
13378 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'
13380 aix_use_runtimelinking=no
13382 # Test if we are trying to use run time linking or normal
13383 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13384 # need to do runtime linking.
13385 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13386 for ld_flag in $LDFLAGS; do
13387 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13388 aix_use_runtimelinking=yes
13394 exp_sym_flag='-bexport'
13395 no_entry_flag='-bnoentry'
13398 # When large executables or shared objects are built, AIX ld can
13399 # have problems creating the table of contents. If linking a library
13400 # or program results in "error TOC overflow" add -mminimal-toc to
13401 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13402 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13404 archive_cmds_F77=''
13405 hardcode_direct_F77=yes
13406 hardcode_libdir_separator_F77=':'
13407 link_all_deplibs_F77=yes
13409 if test "$GCC" = yes; then
13410 case $host_os in aix4.012|aix4.012.*)
13411 # We only want to do this on AIX 4.2 and lower, the check
13412 # below for broken collect2 doesn't work under 4.3+
13413 collect2name=`${CC} -print-prog-name=collect2`
13414 if test -f "$collect2name" && \
13415 strings "$collect2name" | grep resolve_lib_name >/dev/null
13417 # We have reworked collect2
13418 hardcode_direct_F77=yes
13420 # We have old collect2
13421 hardcode_direct_F77=unsupported
13422 # It fails to find uninstalled libraries when the uninstalled
13423 # path is not listed in the libpath. Setting hardcode_minus_L
13424 # to unsupported forces relinking
13425 hardcode_minus_L_F77=yes
13426 hardcode_libdir_flag_spec_F77='-L$libdir'
13427 hardcode_libdir_separator_F77=
13430 shared_flag='-shared'
13433 if test "$host_cpu" = ia64; then
13434 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13435 # chokes on -Wl,-G. The following line is correct:
13438 if test "$aix_use_runtimelinking" = yes; then
13439 shared_flag='${wl}-G'
13441 shared_flag='${wl}-bM:SRE'
13446 # It seems that -bexpall does not export symbols beginning with
13447 # underscore (_), so it is better to generate a list of symbols to export.
13448 always_export_symbols_F77=yes
13449 if test "$aix_use_runtimelinking" = yes; then
13450 # Warning - without using the other runtime loading flags (-brtl),
13451 # -berok will link without error, but may produce a broken library.
13452 allow_undefined_flag_F77='-berok'
13453 # Determine the default libpath from the value encoded in an empty executable.
13454 cat >conftest.$ac_ext <<_ACEOF
13459 rm -f conftest.$ac_objext conftest$ac_exeext
13460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13461 (eval $ac_link) 2>&5
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); } &&
13465 { ac_try='test -s conftest$ac_exeext'
13466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13467 (eval $ac_try) 2>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); }; }; then
13472 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13474 # Check for a 64-bit object if we didn't find anything.
13475 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; }
13478 echo "$as_me: failed program was:" >&5
13479 sed 's/^/| /' conftest.$ac_ext >&5
13482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13483 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13485 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13486 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"
13488 if test "$host_cpu" = ia64; then
13489 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13490 allow_undefined_flag_F77="-z nodefs"
13491 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"
13493 # Determine the default libpath from the value encoded in an empty executable.
13494 cat >conftest.$ac_ext <<_ACEOF
13499 rm -f conftest.$ac_objext conftest$ac_exeext
13500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13501 (eval $ac_link) 2>&5
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); } &&
13505 { ac_try='test -s conftest$ac_exeext'
13506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13507 (eval $ac_try) 2>&5
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); }; }; then
13512 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13514 # Check for a 64-bit object if we didn't find anything.
13515 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; }
13518 echo "$as_me: failed program was:" >&5
13519 sed 's/^/| /' conftest.$ac_ext >&5
13522 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13523 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13525 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13526 # Warning - without using the other run time loading flags,
13527 # -berok will link without error, but may produce a broken library.
13528 no_undefined_flag_F77=' ${wl}-bernotok'
13529 allow_undefined_flag_F77=' ${wl}-berok'
13530 # -bexpall does not export symbols beginning with underscore (_)
13531 always_export_symbols_F77=yes
13532 # Exported symbols can be pulled into shared objects from archives
13533 whole_archive_flag_spec_F77=' '
13534 archive_cmds_need_lc_F77=yes
13535 # This is similar to how AIX traditionally builds it's shared libraries.
13536 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'
13542 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)'
13543 hardcode_libdir_flag_spec_F77='-L$libdir'
13544 hardcode_minus_L_F77=yes
13545 # see comment about different semantics on the GNU ld section
13550 export_dynamic_flag_spec_F77=-rdynamic
13553 cygwin* | mingw* | pw32*)
13554 # When not using gcc, we currently assume that we are using
13555 # Microsoft Visual C++.
13556 # hardcode_libdir_flag_spec is actually meaningless, as there is
13557 # no search path for DLLs.
13558 hardcode_libdir_flag_spec_F77=' '
13559 allow_undefined_flag_F77=unsupported
13560 # Tell ltmain to make .lib files, not .a files.
13562 # Tell ltmain to make .dll files, not .so files.
13564 # FIXME: Setting linknames here is a bad hack.
13565 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13566 # The linker will automatically build a .lib file if we build a DLL.
13567 old_archive_From_new_cmds_F77='true'
13568 # FIXME: Should let the user specify the lib program.
13569 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13570 fix_srcfile_path='`cygpath -w "$srcfile"`'
13571 enable_shared_with_static_runtimes_F77=yes
13574 darwin* | rhapsody*)
13575 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13576 archive_cmds_need_lc_F77=no
13578 rhapsody* | darwin1.[012])
13579 allow_undefined_flag_F77='-undefined suppress'
13582 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13585 # FIXME: Relying on posixy $() will cause problems for
13586 # cross-compilation, but unfortunately the echo tests do not
13587 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13588 # `"' quotes if we put them in here... so don't!
13589 lt_int_apple_cc_single_mod=no
13590 output_verbose_link_cmd='echo'
13591 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13592 lt_int_apple_cc_single_mod=yes
13594 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13595 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13597 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'
13599 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13600 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13601 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13602 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}'
13604 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}'
13606 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}'
13607 hardcode_direct_F77=no
13608 hardcode_automatic_F77=yes
13609 hardcode_shlibpath_var_F77=unsupported
13610 whole_archive_flag_spec_F77='-all_load $convenience'
13611 link_all_deplibs_F77=yes
13616 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13617 hardcode_libdir_flag_spec_F77='-L$libdir'
13618 hardcode_shlibpath_var_F77=no
13625 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13626 # support. Future versions do this automatically, but an explicit c++rt0.o
13627 # does not break anything, and helps significantly (at the cost of a little
13630 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13631 hardcode_libdir_flag_spec_F77='-R$libdir'
13632 hardcode_direct_F77=yes
13633 hardcode_shlibpath_var_F77=no
13636 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13638 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13639 hardcode_direct_F77=yes
13640 hardcode_minus_L_F77=yes
13641 hardcode_shlibpath_var_F77=no
13644 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13646 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13647 hardcode_libdir_flag_spec_F77='-R$libdir'
13648 hardcode_direct_F77=yes
13649 hardcode_shlibpath_var_F77=no
13653 if test "$GCC" = yes; then
13654 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'
13656 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'
13658 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13659 hardcode_libdir_separator_F77=:
13660 hardcode_direct_F77=yes
13662 # hardcode_minus_L: Not really in the search PATH,
13663 # but as the default location of the library.
13664 hardcode_minus_L_F77=yes
13665 export_dynamic_flag_spec_F77='${wl}-E'
13669 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13670 case "$host_cpu" in
13672 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13675 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13679 case "$host_cpu" in
13681 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13684 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13688 if test "$with_gnu_ld" = no; then
13689 case "$host_cpu" in
13691 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13692 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13693 hardcode_libdir_separator_F77=:
13694 hardcode_direct_F77=no
13695 hardcode_shlibpath_var_F77=no
13698 hardcode_libdir_flag_spec_F77='-L$libdir'
13699 hardcode_direct_F77=no
13700 hardcode_shlibpath_var_F77=no
13702 # hardcode_minus_L: Not really in the search PATH,
13703 # but as the default location of the library.
13704 hardcode_minus_L_F77=yes
13707 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13708 hardcode_libdir_separator_F77=:
13709 hardcode_direct_F77=yes
13710 export_dynamic_flag_spec_F77='${wl}-E'
13712 # hardcode_minus_L: Not really in the search PATH,
13713 # but as the default location of the library.
13714 hardcode_minus_L_F77=yes
13720 irix5* | irix6* | nonstopux*)
13721 if test "$GCC" = yes; then
13722 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'
13724 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'
13725 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13727 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13728 hardcode_libdir_separator_F77=:
13729 link_all_deplibs_F77=yes
13733 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13734 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13736 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13738 hardcode_libdir_flag_spec_F77='-R$libdir'
13739 hardcode_direct_F77=yes
13740 hardcode_shlibpath_var_F77=no
13744 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13745 hardcode_direct_F77=yes
13746 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13747 hardcode_libdir_separator_F77=:
13748 hardcode_shlibpath_var_F77=no
13752 hardcode_direct_F77=yes
13753 hardcode_shlibpath_var_F77=no
13754 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13755 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13756 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13757 export_dynamic_flag_spec_F77='${wl}-E'
13760 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13761 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13762 hardcode_libdir_flag_spec_F77='-R$libdir'
13765 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13766 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13773 hardcode_libdir_flag_spec_F77='-L$libdir'
13774 hardcode_minus_L_F77=yes
13775 allow_undefined_flag_F77=unsupported
13776 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'
13777 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13781 if test "$GCC" = yes; then
13782 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13783 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'
13785 allow_undefined_flag_F77=' -expect_unresolved \*'
13786 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'
13788 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13789 hardcode_libdir_separator_F77=:
13792 osf4* | osf5*) # as osf3* with the addition of -msym flag
13793 if test "$GCC" = yes; then
13794 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13795 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'
13796 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13798 allow_undefined_flag_F77=' -expect_unresolved \*'
13799 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'
13800 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~
13801 $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'
13803 # Both c and cxx compiler support -rpath directly
13804 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13806 hardcode_libdir_separator_F77=:
13810 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13811 hardcode_shlibpath_var_F77=no
13812 export_dynamic_flag_spec_F77='${wl}-Bexport'
13813 runpath_var=LD_RUN_PATH
13814 hardcode_runpath_var=yes
13818 no_undefined_flag_F77=' -z text'
13819 if test "$GCC" = yes; then
13820 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13821 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13822 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13824 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13825 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13826 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13828 hardcode_libdir_flag_spec_F77='-R$libdir'
13829 hardcode_shlibpath_var_F77=no
13831 solaris2.[0-5] | solaris2.[0-5].*) ;;
13832 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13833 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13835 link_all_deplibs_F77=yes
13839 if test "x$host_vendor" = xsequent; then
13840 # Use $CC to link under sequent, because it throws in some extra .o
13841 # files that make .init and .fini sections work.
13842 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13844 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13846 hardcode_libdir_flag_spec_F77='-L$libdir'
13847 hardcode_direct_F77=yes
13848 hardcode_minus_L_F77=yes
13849 hardcode_shlibpath_var_F77=no
13853 case $host_vendor in
13855 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13856 hardcode_direct_F77=yes # is this really true???
13859 ## LD is ld it makes a PLAMLIB
13860 ## CC just makes a GrossModule.
13861 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13862 reload_cmds_F77='$CC -r -o $output$reload_objs'
13863 hardcode_direct_F77=no
13866 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13867 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13870 runpath_var='LD_RUN_PATH'
13871 hardcode_shlibpath_var_F77=no
13875 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13876 hardcode_shlibpath_var_F77=no
13877 export_dynamic_flag_spec_F77='-Bexport'
13881 if test -d /usr/nec; then
13882 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13883 hardcode_shlibpath_var_F77=no
13884 runpath_var=LD_RUN_PATH
13885 hardcode_runpath_var=yes
13891 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13892 hardcode_direct_F77=yes
13893 hardcode_minus_L_F77=no
13894 hardcode_shlibpath_var_F77=no
13895 hardcode_runpath_var=yes
13896 runpath_var=LD_RUN_PATH
13899 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13900 no_undefined_flag_F77='${wl}-z ${wl}text'
13901 if test "$GCC" = yes; then
13902 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13904 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13906 runpath_var='LD_RUN_PATH'
13907 hardcode_shlibpath_var_F77=no
13911 no_undefined_flag_F77=' -z text'
13912 # $CC -shared without GNU ld will not create a library from C++
13913 # object files and a static libstdc++, better avoid it by now
13914 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13915 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13916 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13917 hardcode_libdir_flag_spec_F77=
13918 hardcode_shlibpath_var_F77=no
13919 runpath_var='LD_RUN_PATH'
13923 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13924 hardcode_libdir_flag_spec_F77='-L$libdir'
13925 hardcode_shlibpath_var_F77=no
13934 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13935 echo "${ECHO_T}$ld_shlibs_F77" >&6
13936 test "$ld_shlibs_F77" = no && can_build_shared=no
13938 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13939 if test "$GCC" = yes; then
13940 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13944 # Do we need to explicitly link libc?
13946 case "x$archive_cmds_need_lc_F77" in
13948 # Assume -lc should be added
13949 archive_cmds_need_lc_F77=yes
13951 if test "$enable_shared" = yes && test "$GCC" = yes; then
13952 case $archive_cmds_F77 in
13954 # FIXME: we may have to deal with multi-command sequences.
13957 # Test whether the compiler implicitly links with -lc since on some
13958 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13959 # to ld, don't add -lc before -lgcc.
13960 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13961 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13963 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13966 (eval $ac_compile) 2>&5
13968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13969 (exit $ac_status); } 2>conftest.err; then
13972 libobjs=conftest.$ac_objext
13974 wl=$lt_prog_compiler_wl_F77
13980 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13981 allow_undefined_flag_F77=
13982 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13983 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13986 (exit $ac_status); }
13988 archive_cmds_need_lc_F77=no
13990 archive_cmds_need_lc_F77=yes
13992 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13994 cat conftest.err 1>&5
13997 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13998 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14005 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14006 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14007 hardcode_action_F77=
14008 if test -n "$hardcode_libdir_flag_spec_F77" || \
14009 test -n "$runpath_var F77" || \
14010 test "X$hardcode_automatic_F77"="Xyes" ; then
14012 # We can hardcode non-existant directories.
14013 if test "$hardcode_direct_F77" != no &&
14014 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14015 # have to relink, otherwise we might link with an installed library
14016 # when we should be linking with a yet-to-be-installed one
14017 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14018 test "$hardcode_minus_L_F77" != no; then
14019 # Linking always hardcodes the temporary library directory.
14020 hardcode_action_F77=relink
14022 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14023 hardcode_action_F77=immediate
14026 # We cannot hardcode anything, or else we can only hardcode existing
14028 hardcode_action_F77=unsupported
14030 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14031 echo "${ECHO_T}$hardcode_action_F77" >&6
14033 if test "$hardcode_action_F77" = relink; then
14034 # Fast installation is not supported
14035 enable_fast_install=no
14036 elif test "$shlibpath_overrides_runpath" = yes ||
14037 test "$enable_shared" = no; then
14038 # Fast installation is not necessary
14039 enable_fast_install=needless
14044 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14045 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14046 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14047 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14048 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14049 echo "$as_me:$LINENO: result: yes" >&5
14050 echo "${ECHO_T}yes" >&6
14052 # FIXME - insert some real tests, host_os isn't really good enough
14055 if test -n "$STRIP" ; then
14056 striplib="$STRIP -x"
14057 echo "$as_me:$LINENO: result: yes" >&5
14058 echo "${ECHO_T}yes" >&6
14060 echo "$as_me:$LINENO: result: no" >&5
14061 echo "${ECHO_T}no" >&6
14065 echo "$as_me:$LINENO: result: no" >&5
14066 echo "${ECHO_T}no" >&6
14071 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14072 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14073 library_names_spec=
14074 libname_spec='lib$name'
14078 postuninstall_cmds=
14082 shlibpath_overrides_runpath=unknown
14084 dynamic_linker="$host_os ld.so"
14085 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14086 if test "$GCC" = yes; then
14087 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14088 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14089 # if the path contains ";" then we assume it to be the separator
14090 # otherwise default to the standard path separator (i.e. ":") - it is
14091 # assumed that no part of a normal pathname contains ";" but that should
14092 # okay in the real world where ";" in dirpaths is itself problematic.
14093 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14095 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14098 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14100 need_lib_prefix=unknown
14101 hardcode_into_libs=no
14103 # when you set need_version to no, make sure it does not cause -set_version
14104 # flags to be left without arguments
14105 need_version=unknown
14110 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14111 shlibpath_var=LIBPATH
14113 # AIX 3 has no versioning support, so we append a major version to the name.
14114 soname_spec='${libname}${release}${shared_ext}$major'
14121 hardcode_into_libs=yes
14122 if test "$host_cpu" = ia64; then
14123 # AIX 5 supports IA64
14124 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14125 shlibpath_var=LD_LIBRARY_PATH
14127 # With GCC up to 2.95.x, collect2 would create an import file
14128 # for dependence libraries. The import file would start with
14129 # the line `#! .'. This would cause the generated library to
14130 # depend on `.', always an invalid library. This was fixed in
14131 # development snapshots of GCC prior to 3.0.
14133 aix4 | aix4.[01] | aix4.[01].*)
14134 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14136 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14139 can_build_shared=no
14143 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14144 # soname into executable. Probably we can add versioning support to
14145 # collect2, so additional links can be useful in future.
14146 if test "$aix_use_runtimelinking" = yes; then
14147 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14148 # instead of lib<name>.a to let people know that these are not
14149 # typical AIX shared libraries.
14150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14152 # We preserve .a as extension for shared libraries through AIX4.2
14153 # and later when we are not doing run time linking.
14154 library_names_spec='${libname}${release}.a $libname.a'
14155 soname_spec='${libname}${release}${shared_ext}$major'
14157 shlibpath_var=LIBPATH
14162 library_names_spec='$libname.ixlibrary $libname.a'
14163 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14164 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'
14168 library_names_spec='${libname}${shared_ext}'
14169 dynamic_linker="$host_os ld.so"
14170 shlibpath_var=LIBRARY_PATH
14176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14177 soname_spec='${libname}${release}${shared_ext}$major'
14178 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14179 shlibpath_var=LD_LIBRARY_PATH
14180 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14181 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14182 # the default ld.so.conf also contains /usr/contrib/lib and
14183 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14184 # libtool to hard-code these into programs
14187 cygwin* | mingw* | pw32*)
14188 version_type=windows
14193 case $GCC,$host_os in
14194 yes,cygwin* | yes,mingw* | yes,pw32*)
14195 library_names_spec='$libname.dll.a'
14196 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14197 postinstall_cmds='base_file=`basename \${file}`~
14198 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14199 dldir=$destdir/`dirname \$dlpath`~
14200 test -d \$dldir || mkdir -p \$dldir~
14201 $install_prog $dir/$dlname \$dldir/$dlname'
14202 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14203 dlpath=$dir/\$dldll~
14205 shlibpath_overrides_runpath=yes
14209 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14210 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14211 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14214 # MinGW DLLs use traditional 'lib' prefix
14215 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14216 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14217 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14218 # It is most probably a Windows format PATH printed by
14219 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14220 # path with ; separators, and with drive letters. We can handle the
14221 # drive letters (cygwin fileutils understands them), so leave them,
14222 # especially as we might pass files found there to a mingw objdump,
14223 # which wouldn't understand a cygwinified path. Ahh.
14224 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14226 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14230 # pw32 DLLs use 'pw' prefix rather than 'lib'
14231 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14237 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14240 dynamic_linker='Win32 ld.exe'
14241 # FIXME: first we should search . and the directory the executable is in
14245 darwin* | rhapsody*)
14246 dynamic_linker="$host_os dyld"
14247 version_type=darwin
14250 # FIXME: Relying on posixy $() will cause problems for
14251 # cross-compilation, but unfortunately the echo tests do not
14252 # yet detect zsh echo's removal of \ escapes.
14253 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14254 soname_spec='${libname}${release}${major}$shared_ext'
14255 shlibpath_overrides_runpath=yes
14256 shlibpath_var=DYLD_LIBRARY_PATH
14257 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14258 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14259 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14260 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"`
14262 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14270 soname_spec='${libname}${release}${shared_ext}$major'
14271 shlibpath_var=LD_LIBRARY_PATH
14279 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14280 version_type=freebsd-$objformat
14281 case $version_type in
14283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14288 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14292 shlibpath_var=LD_LIBRARY_PATH
14295 shlibpath_overrides_runpath=yes
14297 freebsd3.01* | freebsdelf3.01*)
14298 shlibpath_overrides_runpath=yes
14299 hardcode_into_libs=yes
14302 shlibpath_overrides_runpath=no
14303 hardcode_into_libs=yes
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 shlibpath_var=LD_LIBRARY_PATH
14315 hardcode_into_libs=yes
14318 hpux9* | hpux10* | hpux11*)
14319 # Give a soname corresponding to the major version so that dld.sl refuses to
14320 # link against other versions.
14324 case "$host_cpu" in
14327 hardcode_into_libs=yes
14328 dynamic_linker="$host_os dld.so"
14329 shlibpath_var=LD_LIBRARY_PATH
14330 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14332 soname_spec='${libname}${release}${shared_ext}$major'
14333 if test "X$HPUX_IA64_MODE" = X32; then
14334 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14336 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14338 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14342 hardcode_into_libs=yes
14343 dynamic_linker="$host_os dld.sl"
14344 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14345 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14347 soname_spec='${libname}${release}${shared_ext}$major'
14348 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14349 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14353 dynamic_linker="$host_os dld.sl"
14354 shlibpath_var=SHLIB_PATH
14355 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14357 soname_spec='${libname}${release}${shared_ext}$major'
14360 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14361 postinstall_cmds='chmod 555 $lib'
14364 irix5* | irix6* | nonstopux*)
14366 nonstopux*) version_type=nonstopux ;;
14368 if test "$lt_cv_prog_gnu_ld" = yes; then
14376 soname_spec='${libname}${release}${shared_ext}$major'
14377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14379 irix5* | nonstopux*)
14380 libsuff= shlibsuff=
14383 case $LD in # libtool.m4 will add one of these switches to LD
14384 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14385 libsuff= shlibsuff= libmagic=32-bit;;
14386 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14387 libsuff=32 shlibsuff=N32 libmagic=N32;;
14388 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14389 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14390 *) libsuff= shlibsuff= libmagic=never-match;;
14394 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14395 shlibpath_overrides_runpath=no
14396 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14397 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14398 hardcode_into_libs=yes
14401 # No shared lib support for Linux oldld, aout, or coff.
14402 linux*oldld* | linux*aout* | linux*coff*)
14406 # This must be Linux ELF.
14411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14412 soname_spec='${libname}${release}${shared_ext}$major'
14413 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14414 shlibpath_var=LD_LIBRARY_PATH
14415 shlibpath_overrides_runpath=no
14416 # This implies no fast_install, which is unacceptable.
14417 # Some rework will be needed to allow for fast_install
14418 # before this can be enabled.
14419 hardcode_into_libs=yes
14421 # We used to test for /lib/ld.so.1 and disable shared libraries on
14422 # powerpc, because MkLinux only supported shared libraries with the
14423 # GNU dynamic linker. Since this was broken with cross compilers,
14424 # most powerpc-linux boxes support dynamic linking these days and
14425 # people can always --disable-shared, the test was removed, and we
14426 # assume the GNU/Linux dynamic linker is in use.
14427 dynamic_linker='GNU/Linux ld.so'
14434 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14436 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14437 dynamic_linker='NetBSD (a.out) ld.so'
14439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14440 soname_spec='${libname}${release}${shared_ext}$major'
14441 dynamic_linker='NetBSD ld.elf_so'
14443 shlibpath_var=LD_LIBRARY_PATH
14444 shlibpath_overrides_runpath=yes
14445 hardcode_into_libs=yes
14450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14451 shlibpath_var=LD_LIBRARY_PATH
14452 shlibpath_overrides_runpath=yes
14459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14460 soname_spec='${libname}${release}${shared_ext}$major'
14461 shlibpath_var=LD_LIBRARY_PATH
14462 shlibpath_overrides_runpath=yes
14469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14470 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14471 shlibpath_var=LD_LIBRARY_PATH
14472 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14474 openbsd2.[89] | openbsd2.[89].*)
14475 shlibpath_overrides_runpath=no
14478 shlibpath_overrides_runpath=yes
14482 shlibpath_overrides_runpath=yes
14487 libname_spec='$name'
14490 library_names_spec='$libname${shared_ext} $libname.a'
14491 dynamic_linker='OS/2 ld.exe'
14492 shlibpath_var=LIBPATH
14495 osf3* | osf4* | osf5*)
14499 soname_spec='${libname}${release}${shared_ext}$major'
14500 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14501 shlibpath_var=LD_LIBRARY_PATH
14502 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14503 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14508 soname_spec='${libname}${release}${shared_ext}$major'
14509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14510 shlibpath_var=LD_LIBRARY_PATH
14517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14518 soname_spec='${libname}${release}${shared_ext}$major'
14519 shlibpath_var=LD_LIBRARY_PATH
14520 shlibpath_overrides_runpath=yes
14521 hardcode_into_libs=yes
14522 # ldd complains unless libraries are executable
14523 postinstall_cmds='chmod +x $lib'
14528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14529 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14530 shlibpath_var=LD_LIBRARY_PATH
14531 shlibpath_overrides_runpath=yes
14532 if test "$with_gnu_ld" = yes; then
14538 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14541 soname_spec='${libname}${release}${shared_ext}$major'
14542 shlibpath_var=LD_LIBRARY_PATH
14543 case $host_vendor in
14545 shlibpath_overrides_runpath=no
14547 export_dynamic_flag_spec='${wl}-Blargedynsym'
14548 runpath_var=LD_RUN_PATH
14556 shlibpath_overrides_runpath=no
14557 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14563 if test -d /usr/nec ;then
14565 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14566 soname_spec='$libname${shared_ext}.$major'
14567 shlibpath_var=LD_LIBRARY_PATH
14573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14574 soname_spec='${libname}${release}${shared_ext}$major'
14575 shlibpath_var=LD_LIBRARY_PATH
14582 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14583 echo "${ECHO_T}$dynamic_linker" >&6
14584 test "$dynamic_linker" = no && can_build_shared=no
14587 # The else clause should only fire when bootstrapping the
14588 # libtool distribution, otherwise you forgot to ship ltmain.sh
14589 # with your package, and you will get complaints that there are
14590 # no rules to generate ltmain.sh.
14591 if test -f "$ltmain"; then
14592 # See if we are running on zsh, and set the options which allow our commands through
14593 # without removal of \ escapes.
14594 if test -n "${ZSH_VERSION+set}" ; then
14595 setopt NO_GLOB_SUBST
14597 # Now quote all the things that may contain metacharacters while being
14598 # careful not to overquote the AC_SUBSTed values. We take copies of the
14599 # variables and quote the copies for generation of the libtool script.
14600 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14601 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14602 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14603 deplibs_check_method reload_flag reload_cmds need_locks \
14604 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14605 lt_cv_sys_global_symbol_to_c_name_address \
14606 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14607 old_postinstall_cmds old_postuninstall_cmds \
14611 lt_prog_compiler_wl_F77 \
14612 lt_prog_compiler_pic_F77 \
14613 lt_prog_compiler_static_F77 \
14614 lt_prog_compiler_no_builtin_flag_F77 \
14615 export_dynamic_flag_spec_F77 \
14616 thread_safe_flag_spec_F77 \
14617 whole_archive_flag_spec_F77 \
14618 enable_shared_with_static_runtimes_F77 \
14619 old_archive_cmds_F77 \
14620 old_archive_from_new_cmds_F77 \
14621 predep_objects_F77 \
14622 postdep_objects_F77 \
14625 compiler_lib_search_path_F77 \
14627 archive_expsym_cmds_F77 \
14628 postinstall_cmds_F77 \
14629 postuninstall_cmds_F77 \
14630 old_archive_from_expsyms_cmds_F77 \
14631 allow_undefined_flag_F77 \
14632 no_undefined_flag_F77 \
14633 export_symbols_cmds_F77 \
14634 hardcode_libdir_flag_spec_F77 \
14635 hardcode_libdir_flag_spec_ld_F77 \
14636 hardcode_libdir_separator_F77 \
14637 hardcode_automatic_F77 \
14639 module_expsym_cmds_F77 \
14640 lt_cv_prog_compiler_c_o_F77 \
14641 exclude_expsyms_F77 \
14642 include_expsyms_F77; do
14645 old_archive_cmds_F77 | \
14646 old_archive_from_new_cmds_F77 | \
14647 archive_cmds_F77 | \
14648 archive_expsym_cmds_F77 | \
14649 module_cmds_F77 | \
14650 module_expsym_cmds_F77 | \
14651 old_archive_from_expsyms_cmds_F77 | \
14652 export_symbols_cmds_F77 | \
14653 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14654 postinstall_cmds | postuninstall_cmds | \
14655 old_postinstall_cmds | old_postuninstall_cmds | \
14656 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14657 # Double-quote double-evaled strings.
14658 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14661 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14667 *'\$0 --fallback-echo"')
14668 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14674 cat <<__EOF__ >> "$cfgfile"
14675 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14677 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14679 # Shell to use when invoking shell scripts.
14682 # Whether or not to build shared libraries.
14683 build_libtool_libs=$enable_shared
14685 # Whether or not to build static libraries.
14686 build_old_libs=$enable_static
14688 # Whether or not to add -lc for building shared libraries.
14689 build_libtool_need_lc=$archive_cmds_need_lc_F77
14691 # Whether or not to disallow shared libs when runtime libs are static
14692 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14694 # Whether or not to optimize for fast installation.
14695 fast_install=$enable_fast_install
14698 host_alias=$host_alias
14701 # An echo program that does not interpret backslashes.
14706 AR_FLAGS=$lt_AR_FLAGS
14711 # A language-specific compiler.
14712 CC=$lt_compiler_F77
14714 # Is the compiler the GNU C compiler?
14720 # The linker used to build libraries.
14723 # Whether we need hard or soft links.
14726 # A BSD-compatible nm program.
14729 # A symbol stripping program
14732 # Used to examine libraries when file_magic_cmd begins "file"
14733 MAGIC_CMD=$MAGIC_CMD
14735 # Used on cygwin: DLL creation program.
14738 # Used on cygwin: object dumper.
14741 # Used on cygwin: assembler.
14744 # The name of the directory that contains temporary libtool files.
14747 # How to create reloadable object files.
14748 reload_flag=$lt_reload_flag
14749 reload_cmds=$lt_reload_cmds
14751 # How to pass a linker flag through the compiler.
14752 wl=$lt_lt_prog_compiler_wl_F77
14754 # Object file suffix (normally "o").
14755 objext="$ac_objext"
14757 # Old archive suffix (normally "a").
14760 # Shared library suffix (normally ".so").
14763 # Executable file suffix (normally "").
14766 # Additional compiler flags for building library objects.
14767 pic_flag=$lt_lt_prog_compiler_pic_F77
14770 # What is the maximum length of a command?
14771 max_cmd_len=$lt_cv_sys_max_cmd_len
14773 # Does compiler simultaneously support -c and -o options?
14774 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14776 # Must we lock files when doing compilation ?
14777 need_locks=$lt_need_locks
14779 # Do we need the lib prefix for modules?
14780 need_lib_prefix=$need_lib_prefix
14782 # Do we need a version for libraries?
14783 need_version=$need_version
14785 # Whether dlopen is supported.
14786 dlopen_support=$enable_dlopen
14788 # Whether dlopen of programs is supported.
14789 dlopen_self=$enable_dlopen_self
14791 # Whether dlopen of statically linked programs is supported.
14792 dlopen_self_static=$enable_dlopen_self_static
14794 # Compiler flag to prevent dynamic linking.
14795 link_static_flag=$lt_lt_prog_compiler_static_F77
14797 # Compiler flag to turn off builtin functions.
14798 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14800 # Compiler flag to allow reflexive dlopens.
14801 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14803 # Compiler flag to generate shared objects directly from archives.
14804 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14806 # Compiler flag to generate thread-safe objects.
14807 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14809 # Library versioning type.
14810 version_type=$version_type
14812 # Format of library name prefix.
14813 libname_spec=$lt_libname_spec
14815 # List of archive names. First name is the real one, the rest are links.
14816 # The last name is the one that the linker finds with -lNAME.
14817 library_names_spec=$lt_library_names_spec
14819 # The coded name of the library, if different from the real name.
14820 soname_spec=$lt_soname_spec
14822 # Commands used to build and install an old-style archive.
14824 old_archive_cmds=$lt_old_archive_cmds_F77
14825 old_postinstall_cmds=$lt_old_postinstall_cmds
14826 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14828 # Create an old-style archive from a shared archive.
14829 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14831 # Create a temporary old-style archive to link instead of a shared archive.
14832 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14834 # Commands used to build and install a shared archive.
14835 archive_cmds=$lt_archive_cmds_F77
14836 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14837 postinstall_cmds=$lt_postinstall_cmds
14838 postuninstall_cmds=$lt_postuninstall_cmds
14840 # Commands used to build a loadable module (assumed same as above if empty)
14841 module_cmds=$lt_module_cmds_F77
14842 module_expsym_cmds=$lt_module_expsym_cmds_F77
14844 # Commands to strip libraries.
14845 old_striplib=$lt_old_striplib
14846 striplib=$lt_striplib
14848 # Dependencies to place before the objects being linked to create a
14850 predep_objects=$lt_predep_objects_F77
14852 # Dependencies to place after the objects being linked to create a
14854 postdep_objects=$lt_postdep_objects_F77
14856 # Dependencies to place before the objects being linked to create a
14858 predeps=$lt_predeps_F77
14860 # Dependencies to place after the objects being linked to create a
14862 postdeps=$lt_postdeps_F77
14864 # The library search path used internally by the compiler when linking
14865 # a shared library.
14866 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14868 # Method to check whether dependent libraries are shared objects.
14869 deplibs_check_method=$lt_deplibs_check_method
14871 # Command to use when deplibs_check_method == file_magic.
14872 file_magic_cmd=$lt_file_magic_cmd
14874 # Flag that allows shared libraries with undefined symbols to be built.
14875 allow_undefined_flag=$lt_allow_undefined_flag_F77
14877 # Flag that forces no undefined symbols.
14878 no_undefined_flag=$lt_no_undefined_flag_F77
14880 # Commands used to finish a libtool library installation in a directory.
14881 finish_cmds=$lt_finish_cmds
14883 # Same as above, but a single script fragment to be evaled but not shown.
14884 finish_eval=$lt_finish_eval
14886 # Take the output of nm and produce a listing of raw symbols and C names.
14887 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14889 # Transform the output of nm in a proper C declaration
14890 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14892 # Transform the output of nm in a C name address pair
14893 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14895 # This is the shared library runtime path variable.
14896 runpath_var=$runpath_var
14898 # This is the shared library path variable.
14899 shlibpath_var=$shlibpath_var
14901 # Is shlibpath searched before the hard-coded library search path?
14902 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14904 # How to hardcode a shared library path into an executable.
14905 hardcode_action=$hardcode_action_F77
14907 # Whether we should hardcode library paths into libraries.
14908 hardcode_into_libs=$hardcode_into_libs
14910 # Flag to hardcode \$libdir into a binary during linking.
14911 # This must work even if \$libdir does not exist.
14912 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14914 # If ld is used when linking, flag to hardcode \$libdir into
14915 # a binary during linking. This must work even if \$libdir does
14917 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14919 # Whether we need a single -rpath flag with a separated argument.
14920 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14922 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14923 # resulting binary.
14924 hardcode_direct=$hardcode_direct_F77
14926 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14927 # resulting binary.
14928 hardcode_minus_L=$hardcode_minus_L_F77
14930 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14931 # the resulting binary.
14932 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14934 # Set to yes if building a shared library automatically hardcodes DIR into the library
14935 # and all subsequent libraries and executables linked against it.
14936 hardcode_automatic=$hardcode_automatic_F77
14938 # Variables whose values should be saved in libtool wrapper scripts and
14939 # restored at relink time.
14940 variables_saved_for_relink="$variables_saved_for_relink"
14942 # Whether libtool must link a program against all its dependency libraries.
14943 link_all_deplibs=$link_all_deplibs_F77
14945 # Compile-time system search path for libraries
14946 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14948 # Run-time system search path for libraries
14949 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14951 # Fix the shell variable \$srcfile for the compiler.
14952 fix_srcfile_path="$fix_srcfile_path_F77"
14954 # Set to yes if exported symbols are required.
14955 always_export_symbols=$always_export_symbols_F77
14957 # The commands to list exported symbols.
14958 export_symbols_cmds=$lt_export_symbols_cmds_F77
14960 # The commands to extract the exported symbol list from a shared archive.
14961 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14963 # Symbols that should not be listed in the preloaded symbols.
14964 exclude_expsyms=$lt_exclude_expsyms_F77
14966 # Symbols that must always be exported.
14967 include_expsyms=$lt_include_expsyms_F77
14969 # ### END LIBTOOL TAG CONFIG: $tagname
14975 # If there is no Makefile yet, we rely on a make rule to execute
14976 # `config.status --recheck' to rerun these tests and create the
14977 # libtool script then.
14978 test -f Makefile && make "$ltmain"
14983 ac_cpp='$CPP $CPPFLAGS'
14984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14996 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15000 # Source file extension for Java test sources.
15003 # Object file extension for compiled Java test sources.
15007 # Code to be used in simple compile tests
15008 lt_simple_compile_test_code="class foo {}\n"
15010 # Code to be used in simple link tests
15011 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
15013 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15015 # If no C compiler was specified, use CC.
15018 # Allow CC to be a program name with arguments.
15022 # Allow CC to be a program name with arguments.
15028 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15029 archive_cmds_need_lc_GCJ=no
15032 ## There is no encapsulation within the following macros, do not change
15033 ## the running order or otherwise move them around unless you know exactly
15034 ## what you are doing...
15036 lt_prog_compiler_no_builtin_flag_GCJ=
15038 if test "$GCC" = yes; then
15039 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15041 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15042 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15043 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15044 echo $ECHO_N "(cached) $ECHO_C" >&6
15046 lt_cv_prog_compiler_rtti_exceptions=no
15047 ac_outfile=conftest.$ac_objext
15048 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15049 lt_compiler_flag="-fno-rtti -fno-exceptions"
15050 # Insert the option either (1) after the last *FLAGS variable, or
15051 # (2) before a word containing "conftest.", or (3) at the end.
15052 # Note that $ac_compile itself does not contain backslashes and begins
15053 # with a dollar sign (not a hyphen), so the echo should work correctly.
15054 # The option is referenced via a variable to avoid confusing sed.
15055 lt_compile=`echo "$ac_compile" | $SED \
15056 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15057 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15058 -e 's:$: $lt_compiler_flag:'`
15059 (eval echo "\"\$as_me:15065: $lt_compile\"" >&5)
15060 (eval "$lt_compile" 2>conftest.err)
15062 cat conftest.err >&5
15063 echo "$as_me:15069: \$? = $ac_status" >&5
15064 if (exit $ac_status) && test -s "$ac_outfile"; then
15065 # The compiler can only warn and ignore the option if not recognized
15066 # So say no if there are warnings
15067 if test ! -s conftest.err; then
15068 lt_cv_prog_compiler_rtti_exceptions=yes
15074 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15075 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15077 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15078 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15085 lt_prog_compiler_wl_GCJ=
15086 lt_prog_compiler_pic_GCJ=
15087 lt_prog_compiler_static_GCJ=
15089 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15090 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15092 if test "$GCC" = yes; then
15093 lt_prog_compiler_wl_GCJ='-Wl,'
15094 lt_prog_compiler_static_GCJ='-static'
15098 # All AIX code is PIC.
15099 if test "$host_cpu" = ia64; then
15100 # AIX 5 now supports IA64 processor
15101 lt_prog_compiler_static_GCJ='-Bstatic'
15106 # FIXME: we need at least 68020 code to build shared libraries, but
15107 # adding the `-m68020' flag to GCC prevents building anything better,
15109 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15112 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15113 # PIC is the default for these OSes.
15116 mingw* | pw32* | os2*)
15117 # This hack is so that the source file can tell whether it is being
15118 # built for inclusion in a dll (and should export symbols for example).
15119 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15122 darwin* | rhapsody*)
15123 # PIC is the default on this platform
15124 # Common symbols not allowed in MH_DYLIB files
15125 lt_prog_compiler_pic_GCJ='-fno-common'
15129 # Just because we use GCC doesn't mean we suddenly get shared libraries
15130 # on systems that don't support them.
15131 lt_prog_compiler_can_build_shared_GCJ=no
15136 if test -d /usr/nec; then
15137 lt_prog_compiler_pic_GCJ=-Kconform_pic
15142 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15143 # not for PA HP-UX.
15144 case "$host_cpu" in
15149 lt_prog_compiler_pic_GCJ='-fPIC'
15155 lt_prog_compiler_pic_GCJ='-fPIC'
15159 # PORTME Check for flag to pass linker flags through the system compiler.
15162 lt_prog_compiler_wl_GCJ='-Wl,'
15163 if test "$host_cpu" = ia64; then
15164 # AIX 5 now supports IA64 processor
15165 lt_prog_compiler_static_GCJ='-Bstatic'
15167 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15171 mingw* | pw32* | os2*)
15172 # This hack is so that the source file can tell whether it is being
15173 # built for inclusion in a dll (and should export symbols for example).
15174 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15177 hpux9* | hpux10* | hpux11*)
15178 lt_prog_compiler_wl_GCJ='-Wl,'
15179 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15180 # not for PA HP-UX.
15181 case "$host_cpu" in
15186 lt_prog_compiler_pic_GCJ='+Z'
15189 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15190 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15193 irix5* | irix6* | nonstopux*)
15194 lt_prog_compiler_wl_GCJ='-Wl,'
15195 # PIC (with -KPIC) is the default.
15196 lt_prog_compiler_static_GCJ='-non_shared'
15200 lt_prog_compiler_pic_GCJ='-KPIC'
15201 lt_prog_compiler_static_GCJ='-Bstatic'
15207 lt_prog_compiler_wl_GCJ='-Wl,'
15208 lt_prog_compiler_pic_GCJ='-KPIC'
15209 lt_prog_compiler_static_GCJ='-static'
15212 lt_prog_compiler_wl_GCJ='-Wl,'
15213 # All Alpha code is PIC.
15214 lt_prog_compiler_static_GCJ='-non_shared'
15219 osf3* | osf4* | osf5*)
15220 lt_prog_compiler_wl_GCJ='-Wl,'
15221 # All OSF/1 code is PIC.
15222 lt_prog_compiler_static_GCJ='-non_shared'
15226 lt_prog_compiler_pic_GCJ='-Kpic'
15227 lt_prog_compiler_static_GCJ='-dn'
15231 lt_prog_compiler_wl_GCJ='-Wl,'
15232 lt_prog_compiler_pic_GCJ='-KPIC'
15233 lt_prog_compiler_static_GCJ='-Bstatic'
15237 lt_prog_compiler_wl_GCJ='-Qoption ld '
15238 lt_prog_compiler_pic_GCJ='-PIC'
15239 lt_prog_compiler_static_GCJ='-Bstatic'
15242 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15243 lt_prog_compiler_wl_GCJ='-Wl,'
15244 lt_prog_compiler_pic_GCJ='-KPIC'
15245 lt_prog_compiler_static_GCJ='-Bstatic'
15249 if test -d /usr/nec ;then
15250 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15251 lt_prog_compiler_static_GCJ='-Bstatic'
15256 lt_prog_compiler_pic_GCJ='-pic'
15257 lt_prog_compiler_static_GCJ='-Bstatic'
15261 lt_prog_compiler_can_build_shared_GCJ=no
15266 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15267 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15270 # Check to make sure the PIC flag actually works.
15272 if test -n "$lt_prog_compiler_pic_GCJ"; then
15273 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15274 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15275 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15276 echo $ECHO_N "(cached) $ECHO_C" >&6
15278 lt_prog_compiler_pic_works_GCJ=no
15279 ac_outfile=conftest.$ac_objext
15280 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15281 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15282 # Insert the option either (1) after the last *FLAGS variable, or
15283 # (2) before a word containing "conftest.", or (3) at the end.
15284 # Note that $ac_compile itself does not contain backslashes and begins
15285 # with a dollar sign (not a hyphen), so the echo should work correctly.
15286 # The option is referenced via a variable to avoid confusing sed.
15287 lt_compile=`echo "$ac_compile" | $SED \
15288 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15289 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15290 -e 's:$: $lt_compiler_flag:'`
15291 (eval echo "\"\$as_me:15297: $lt_compile\"" >&5)
15292 (eval "$lt_compile" 2>conftest.err)
15294 cat conftest.err >&5
15295 echo "$as_me:15301: \$? = $ac_status" >&5
15296 if (exit $ac_status) && test -s "$ac_outfile"; then
15297 # The compiler can only warn and ignore the option if not recognized
15298 # So say no if there are warnings
15299 if test ! -s conftest.err; then
15300 lt_prog_compiler_pic_works_GCJ=yes
15306 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15307 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15309 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15310 case $lt_prog_compiler_pic_GCJ in
15312 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15315 lt_prog_compiler_pic_GCJ=
15316 lt_prog_compiler_can_build_shared_GCJ=no
15321 # For platforms which do not support PIC, -DPIC is meaningless:
15323 lt_prog_compiler_pic_GCJ=
15326 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15330 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15331 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15332 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15333 echo $ECHO_N "(cached) $ECHO_C" >&6
15335 lt_cv_prog_compiler_c_o_GCJ=no
15336 $rm -r conftest 2>/dev/null
15340 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15342 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15343 # that will create temporary files in the current directory regardless of
15344 # the output directory. Thus, making CWD read-only will cause this test
15345 # to fail, enabling locking or at least warning the user not to do parallel
15349 lt_compiler_flag="-o out/conftest2.$ac_objext"
15350 # Insert the option either (1) after the last *FLAGS variable, or
15351 # (2) before a word containing "conftest.", or (3) at the end.
15352 # Note that $ac_compile itself does not contain backslashes and begins
15353 # with a dollar sign (not a hyphen), so the echo should work correctly.
15354 lt_compile=`echo "$ac_compile" | $SED \
15355 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15356 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15357 -e 's:$: $lt_compiler_flag:'`
15358 (eval echo "\"\$as_me:15364: $lt_compile\"" >&5)
15359 (eval "$lt_compile" 2>out/conftest.err)
15361 cat out/conftest.err >&5
15362 echo "$as_me:15368: \$? = $ac_status" >&5
15363 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15365 # The compiler can only warn and ignore the option if not recognized
15366 # So say no if there are warnings
15367 if test ! -s out/conftest.err; then
15368 lt_cv_prog_compiler_c_o_GCJ=yes
15372 $rm conftest* out/*
15379 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15380 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15383 hard_links="nottested"
15384 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15385 # do not overwrite the value of need_locks provided by the user
15386 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15387 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15390 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15392 ln conftest.a conftest.b 2>&5 || hard_links=no
15393 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15394 echo "$as_me:$LINENO: result: $hard_links" >&5
15395 echo "${ECHO_T}$hard_links" >&6
15396 if test "$hard_links" = no; then
15397 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15398 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15405 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15406 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15409 allow_undefined_flag_GCJ=
15410 enable_shared_with_static_runtimes_GCJ=no
15412 archive_expsym_cmds_GCJ=
15413 old_archive_From_new_cmds_GCJ=
15414 old_archive_from_expsyms_cmds_GCJ=
15415 export_dynamic_flag_spec_GCJ=
15416 whole_archive_flag_spec_GCJ=
15417 thread_safe_flag_spec_GCJ=
15418 hardcode_libdir_flag_spec_GCJ=
15419 hardcode_libdir_flag_spec_ld_GCJ=
15420 hardcode_libdir_separator_GCJ=
15421 hardcode_direct_GCJ=no
15422 hardcode_minus_L_GCJ=no
15423 hardcode_shlibpath_var_GCJ=unsupported
15424 link_all_deplibs_GCJ=unknown
15425 hardcode_automatic_GCJ=no
15427 module_expsym_cmds_GCJ=
15428 always_export_symbols_GCJ=no
15429 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15430 # include_expsyms should be a list of space-separated symbols to be *always*
15431 # included in the symbol list
15432 include_expsyms_GCJ=
15433 # exclude_expsyms can be an extended regexp of symbols to exclude
15434 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15435 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15436 # as well as any symbol that contains `d'.
15437 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15438 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15439 # platforms (ab)use it in PIC code, but their linkers get confused if
15440 # the symbol is explicitly referenced. Since portable code cannot
15441 # rely on this symbol name, it's probably fine to never include it in
15442 # preloaded symbol tables.
15443 extract_expsyms_cmds=
15446 cygwin* | mingw* | pw32*)
15447 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15448 # When not using gcc, we currently assume that we are using
15449 # Microsoft Visual C++.
15450 if test "$GCC" != yes; then
15460 if test "$with_gnu_ld" = yes; then
15461 # If archive_cmds runs LD, not CC, wlarc should be empty
15464 # See if GNU ld supports shared libraries.
15466 aix3* | aix4* | aix5*)
15467 # On AIX/PPC, the GNU linker is very broken
15468 if test "$host_cpu" != ia64; then
15472 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15473 *** to be unable to reliably create shared libraries on AIX.
15474 *** Therefore, libtool is disabling shared libraries support. If you
15475 *** really care for shared libraries, you may want to modify your PATH
15476 *** so that a non-GNU linker is found, and then restart.
15483 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)'
15484 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15485 hardcode_minus_L_GCJ=yes
15487 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15488 # that the semantics of dynamic libraries on AmigaOS, at least up
15489 # to version 4, is to share data among multiple programs linked
15490 # with the same dynamic library. Since this doesn't match the
15491 # behavior of shared libraries on other platforms, we can't use
15497 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15498 allow_undefined_flag_GCJ=unsupported
15499 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15500 # support --undefined. This deserves some investigation. FIXME
15501 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15507 cygwin* | mingw* | pw32*)
15508 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15509 # as there is no search path for DLLs.
15510 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15511 allow_undefined_flag_GCJ=unsupported
15512 always_export_symbols_GCJ=no
15513 enable_shared_with_static_runtimes_GCJ=yes
15514 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15516 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15517 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15518 # If the export-symbols file already is a .def file (1st line
15519 # is EXPORTS), use it as is; otherwise, prepend...
15520 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15521 cp $export_symbols $output_objdir/$soname.def;
15523 echo EXPORTS > $output_objdir/$soname.def;
15524 cat $export_symbols >> $output_objdir/$soname.def;
15526 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15533 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15534 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
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'
15543 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15547 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15548 *** create shared libraries on Solaris systems. Therefore, libtool
15549 *** is disabling shared libraries support. We urge you to upgrade GNU
15550 *** binutils to release 2.9.1 or newer. Another option is to modify
15551 *** your PATH or compiler configuration so that the native linker is
15552 *** used, and then restart.
15555 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15556 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15557 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15564 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15566 hardcode_direct_GCJ=yes
15567 hardcode_shlibpath_var_GCJ=no
15571 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15572 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15573 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15580 if test "$ld_shlibs_GCJ" = yes; then
15581 runpath_var=LD_RUN_PATH
15582 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15583 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15584 # ancient GNU ld didn't support --whole-archive et. al.
15585 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15586 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15588 whole_archive_flag_spec_GCJ=
15592 # PORTME fill in a description of your system's linker (not GNU ld)
15595 allow_undefined_flag_GCJ=unsupported
15596 always_export_symbols_GCJ=yes
15597 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'
15598 # Note: this linker hardcodes the directories in LIBPATH if there
15599 # are no directories specified by -L.
15600 hardcode_minus_L_GCJ=yes
15601 if test "$GCC" = yes && test -z "$link_static_flag"; then
15602 # Neither direct hardcoding nor static linking is supported with a
15604 hardcode_direct_GCJ=unsupported
15609 if test "$host_cpu" = ia64; then
15610 # On IA64, the linker does run time linking by default, so we don't
15611 # have to do anything special.
15612 aix_use_runtimelinking=no
15613 exp_sym_flag='-Bexport'
15616 # If we're using GNU nm, then we don't want the "-C" option.
15617 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15618 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15619 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'
15621 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'
15623 aix_use_runtimelinking=no
15625 # Test if we are trying to use run time linking or normal
15626 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15627 # need to do runtime linking.
15628 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15629 for ld_flag in $LDFLAGS; do
15630 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15631 aix_use_runtimelinking=yes
15637 exp_sym_flag='-bexport'
15638 no_entry_flag='-bnoentry'
15641 # When large executables or shared objects are built, AIX ld can
15642 # have problems creating the table of contents. If linking a library
15643 # or program results in "error TOC overflow" add -mminimal-toc to
15644 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15645 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15647 archive_cmds_GCJ=''
15648 hardcode_direct_GCJ=yes
15649 hardcode_libdir_separator_GCJ=':'
15650 link_all_deplibs_GCJ=yes
15652 if test "$GCC" = yes; then
15653 case $host_os in aix4.012|aix4.012.*)
15654 # We only want to do this on AIX 4.2 and lower, the check
15655 # below for broken collect2 doesn't work under 4.3+
15656 collect2name=`${CC} -print-prog-name=collect2`
15657 if test -f "$collect2name" && \
15658 strings "$collect2name" | grep resolve_lib_name >/dev/null
15660 # We have reworked collect2
15661 hardcode_direct_GCJ=yes
15663 # We have old collect2
15664 hardcode_direct_GCJ=unsupported
15665 # It fails to find uninstalled libraries when the uninstalled
15666 # path is not listed in the libpath. Setting hardcode_minus_L
15667 # to unsupported forces relinking
15668 hardcode_minus_L_GCJ=yes
15669 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15670 hardcode_libdir_separator_GCJ=
15673 shared_flag='-shared'
15676 if test "$host_cpu" = ia64; then
15677 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15678 # chokes on -Wl,-G. The following line is correct:
15681 if test "$aix_use_runtimelinking" = yes; then
15682 shared_flag='${wl}-G'
15684 shared_flag='${wl}-bM:SRE'
15689 # It seems that -bexpall does not export symbols beginning with
15690 # underscore (_), so it is better to generate a list of symbols to export.
15691 always_export_symbols_GCJ=yes
15692 if test "$aix_use_runtimelinking" = yes; then
15693 # Warning - without using the other runtime loading flags (-brtl),
15694 # -berok will link without error, but may produce a broken library.
15695 allow_undefined_flag_GCJ='-berok'
15696 # Determine the default libpath from the value encoded in an empty executable.
15697 cat >conftest.$ac_ext <<_ACEOF
15698 #line $LINENO "configure"
15701 cat confdefs.h >>conftest.$ac_ext
15702 cat >>conftest.$ac_ext <<_ACEOF
15703 /* end confdefs.h. */
15713 rm -f conftest.$ac_objext conftest$ac_exeext
15714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15715 (eval $ac_link) 2>&5
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); } &&
15719 { ac_try='test -s conftest$ac_exeext'
15720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721 (eval $ac_try) 2>&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; }; then
15726 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15728 # Check for a 64-bit object if we didn't find anything.
15729 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; }
15732 echo "$as_me: failed program was:" >&5
15733 sed 's/^/| /' conftest.$ac_ext >&5
15736 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15737 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15739 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15740 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"
15742 if test "$host_cpu" = ia64; then
15743 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15744 allow_undefined_flag_GCJ="-z nodefs"
15745 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"
15747 # Determine the default libpath from the value encoded in an empty executable.
15748 cat >conftest.$ac_ext <<_ACEOF
15749 #line $LINENO "configure"
15752 cat confdefs.h >>conftest.$ac_ext
15753 cat >>conftest.$ac_ext <<_ACEOF
15754 /* end confdefs.h. */
15764 rm -f conftest.$ac_objext conftest$ac_exeext
15765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15766 (eval $ac_link) 2>&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } &&
15770 { ac_try='test -s conftest$ac_exeext'
15771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15772 (eval $ac_try) 2>&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); }; }; then
15777 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15779 # Check for a 64-bit object if we didn't find anything.
15780 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; }
15783 echo "$as_me: failed program was:" >&5
15784 sed 's/^/| /' conftest.$ac_ext >&5
15787 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15788 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15790 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15791 # Warning - without using the other run time loading flags,
15792 # -berok will link without error, but may produce a broken library.
15793 no_undefined_flag_GCJ=' ${wl}-bernotok'
15794 allow_undefined_flag_GCJ=' ${wl}-berok'
15795 # -bexpall does not export symbols beginning with underscore (_)
15796 always_export_symbols_GCJ=yes
15797 # Exported symbols can be pulled into shared objects from archives
15798 whole_archive_flag_spec_GCJ=' '
15799 archive_cmds_need_lc_GCJ=yes
15800 # This is similar to how AIX traditionally builds it's shared libraries.
15801 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'
15807 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)'
15808 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15809 hardcode_minus_L_GCJ=yes
15810 # see comment about different semantics on the GNU ld section
15815 export_dynamic_flag_spec_GCJ=-rdynamic
15818 cygwin* | mingw* | pw32*)
15819 # When not using gcc, we currently assume that we are using
15820 # Microsoft Visual C++.
15821 # hardcode_libdir_flag_spec is actually meaningless, as there is
15822 # no search path for DLLs.
15823 hardcode_libdir_flag_spec_GCJ=' '
15824 allow_undefined_flag_GCJ=unsupported
15825 # Tell ltmain to make .lib files, not .a files.
15827 # Tell ltmain to make .dll files, not .so files.
15829 # FIXME: Setting linknames here is a bad hack.
15830 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15831 # The linker will automatically build a .lib file if we build a DLL.
15832 old_archive_From_new_cmds_GCJ='true'
15833 # FIXME: Should let the user specify the lib program.
15834 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15835 fix_srcfile_path='`cygpath -w "$srcfile"`'
15836 enable_shared_with_static_runtimes_GCJ=yes
15839 darwin* | rhapsody*)
15840 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15841 archive_cmds_need_lc_GCJ=no
15843 rhapsody* | darwin1.[012])
15844 allow_undefined_flag_GCJ='-undefined suppress'
15847 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15850 # FIXME: Relying on posixy $() will cause problems for
15851 # cross-compilation, but unfortunately the echo tests do not
15852 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15853 # `"' quotes if we put them in here... so don't!
15854 lt_int_apple_cc_single_mod=no
15855 output_verbose_link_cmd='echo'
15856 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15857 lt_int_apple_cc_single_mod=yes
15859 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15860 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15862 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'
15864 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15865 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15866 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15867 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}'
15869 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}'
15871 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}'
15872 hardcode_direct_GCJ=no
15873 hardcode_automatic_GCJ=yes
15874 hardcode_shlibpath_var_GCJ=unsupported
15875 whole_archive_flag_spec_GCJ='-all_load $convenience'
15876 link_all_deplibs_GCJ=yes
15881 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15882 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15883 hardcode_shlibpath_var_GCJ=no
15890 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15891 # support. Future versions do this automatically, but an explicit c++rt0.o
15892 # does not break anything, and helps significantly (at the cost of a little
15895 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15896 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15897 hardcode_direct_GCJ=yes
15898 hardcode_shlibpath_var_GCJ=no
15901 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15903 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15904 hardcode_direct_GCJ=yes
15905 hardcode_minus_L_GCJ=yes
15906 hardcode_shlibpath_var_GCJ=no
15909 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15911 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15912 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15913 hardcode_direct_GCJ=yes
15914 hardcode_shlibpath_var_GCJ=no
15918 if test "$GCC" = yes; then
15919 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'
15921 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'
15923 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15924 hardcode_libdir_separator_GCJ=:
15925 hardcode_direct_GCJ=yes
15927 # hardcode_minus_L: Not really in the search PATH,
15928 # but as the default location of the library.
15929 hardcode_minus_L_GCJ=yes
15930 export_dynamic_flag_spec_GCJ='${wl}-E'
15934 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15935 case "$host_cpu" in
15937 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15940 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15944 case "$host_cpu" in
15946 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15949 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15953 if test "$with_gnu_ld" = no; then
15954 case "$host_cpu" in
15956 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15957 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15958 hardcode_libdir_separator_GCJ=:
15959 hardcode_direct_GCJ=no
15960 hardcode_shlibpath_var_GCJ=no
15963 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15964 hardcode_direct_GCJ=no
15965 hardcode_shlibpath_var_GCJ=no
15967 # hardcode_minus_L: Not really in the search PATH,
15968 # but as the default location of the library.
15969 hardcode_minus_L_GCJ=yes
15972 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15973 hardcode_libdir_separator_GCJ=:
15974 hardcode_direct_GCJ=yes
15975 export_dynamic_flag_spec_GCJ='${wl}-E'
15977 # hardcode_minus_L: Not really in the search PATH,
15978 # but as the default location of the library.
15979 hardcode_minus_L_GCJ=yes
15985 irix5* | irix6* | nonstopux*)
15986 if test "$GCC" = yes; then
15987 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'
15989 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'
15990 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15992 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15993 hardcode_libdir_separator_GCJ=:
15994 link_all_deplibs_GCJ=yes
15998 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15999 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16001 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16003 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16004 hardcode_direct_GCJ=yes
16005 hardcode_shlibpath_var_GCJ=no
16009 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16010 hardcode_direct_GCJ=yes
16011 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16012 hardcode_libdir_separator_GCJ=:
16013 hardcode_shlibpath_var_GCJ=no
16017 hardcode_direct_GCJ=yes
16018 hardcode_shlibpath_var_GCJ=no
16019 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16020 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16021 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16022 export_dynamic_flag_spec_GCJ='${wl}-E'
16025 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16026 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16027 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16030 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16031 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16038 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16039 hardcode_minus_L_GCJ=yes
16040 allow_undefined_flag_GCJ=unsupported
16041 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'
16042 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16046 if test "$GCC" = yes; then
16047 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16048 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'
16050 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16051 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'
16053 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16054 hardcode_libdir_separator_GCJ=:
16057 osf4* | osf5*) # as osf3* with the addition of -msym flag
16058 if test "$GCC" = yes; then
16059 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16060 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'
16061 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16063 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16064 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'
16065 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~
16066 $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'
16068 # Both c and cxx compiler support -rpath directly
16069 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16071 hardcode_libdir_separator_GCJ=:
16075 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16076 hardcode_shlibpath_var_GCJ=no
16077 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16078 runpath_var=LD_RUN_PATH
16079 hardcode_runpath_var=yes
16083 no_undefined_flag_GCJ=' -z text'
16084 if test "$GCC" = yes; then
16085 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16086 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16087 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16089 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16090 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16091 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16093 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16094 hardcode_shlibpath_var_GCJ=no
16096 solaris2.[0-5] | solaris2.[0-5].*) ;;
16097 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16098 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16100 link_all_deplibs_GCJ=yes
16104 if test "x$host_vendor" = xsequent; then
16105 # Use $CC to link under sequent, because it throws in some extra .o
16106 # files that make .init and .fini sections work.
16107 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16109 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16111 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16112 hardcode_direct_GCJ=yes
16113 hardcode_minus_L_GCJ=yes
16114 hardcode_shlibpath_var_GCJ=no
16118 case $host_vendor in
16120 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16121 hardcode_direct_GCJ=yes # is this really true???
16124 ## LD is ld it makes a PLAMLIB
16125 ## CC just makes a GrossModule.
16126 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16127 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16128 hardcode_direct_GCJ=no
16131 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16132 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16135 runpath_var='LD_RUN_PATH'
16136 hardcode_shlibpath_var_GCJ=no
16140 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16141 hardcode_shlibpath_var_GCJ=no
16142 export_dynamic_flag_spec_GCJ='-Bexport'
16146 if test -d /usr/nec; then
16147 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16148 hardcode_shlibpath_var_GCJ=no
16149 runpath_var=LD_RUN_PATH
16150 hardcode_runpath_var=yes
16156 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16157 hardcode_direct_GCJ=yes
16158 hardcode_minus_L_GCJ=no
16159 hardcode_shlibpath_var_GCJ=no
16160 hardcode_runpath_var=yes
16161 runpath_var=LD_RUN_PATH
16164 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16165 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16166 if test "$GCC" = yes; then
16167 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16169 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16171 runpath_var='LD_RUN_PATH'
16172 hardcode_shlibpath_var_GCJ=no
16176 no_undefined_flag_GCJ=' -z text'
16177 # $CC -shared without GNU ld will not create a library from C++
16178 # object files and a static libstdc++, better avoid it by now
16179 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16180 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16181 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16182 hardcode_libdir_flag_spec_GCJ=
16183 hardcode_shlibpath_var_GCJ=no
16184 runpath_var='LD_RUN_PATH'
16188 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16189 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16190 hardcode_shlibpath_var_GCJ=no
16199 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16200 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16201 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16203 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16204 if test "$GCC" = yes; then
16205 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16209 # Do we need to explicitly link libc?
16211 case "x$archive_cmds_need_lc_GCJ" in
16213 # Assume -lc should be added
16214 archive_cmds_need_lc_GCJ=yes
16216 if test "$enable_shared" = yes && test "$GCC" = yes; then
16217 case $archive_cmds_GCJ in
16219 # FIXME: we may have to deal with multi-command sequences.
16222 # Test whether the compiler implicitly links with -lc since on some
16223 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16224 # to ld, don't add -lc before -lgcc.
16225 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16226 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16228 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16231 (eval $ac_compile) 2>&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); } 2>conftest.err; then
16237 libobjs=conftest.$ac_objext
16239 wl=$lt_prog_compiler_wl_GCJ
16245 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16246 allow_undefined_flag_GCJ=
16247 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16248 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); }
16253 archive_cmds_need_lc_GCJ=no
16255 archive_cmds_need_lc_GCJ=yes
16257 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16259 cat conftest.err 1>&5
16262 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16263 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16270 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16271 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16272 hardcode_action_GCJ=
16273 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16274 test -n "$runpath_var GCJ" || \
16275 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16277 # We can hardcode non-existant directories.
16278 if test "$hardcode_direct_GCJ" != no &&
16279 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16280 # have to relink, otherwise we might link with an installed library
16281 # when we should be linking with a yet-to-be-installed one
16282 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16283 test "$hardcode_minus_L_GCJ" != no; then
16284 # Linking always hardcodes the temporary library directory.
16285 hardcode_action_GCJ=relink
16287 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16288 hardcode_action_GCJ=immediate
16291 # We cannot hardcode anything, or else we can only hardcode existing
16293 hardcode_action_GCJ=unsupported
16295 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16296 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16298 if test "$hardcode_action_GCJ" = relink; then
16299 # Fast installation is not supported
16300 enable_fast_install=no
16301 elif test "$shlibpath_overrides_runpath" = yes ||
16302 test "$enable_shared" = no; then
16303 # Fast installation is not necessary
16304 enable_fast_install=needless
16309 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16310 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16311 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16312 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16313 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16314 echo "$as_me:$LINENO: result: yes" >&5
16315 echo "${ECHO_T}yes" >&6
16317 # FIXME - insert some real tests, host_os isn't really good enough
16320 if test -n "$STRIP" ; then
16321 striplib="$STRIP -x"
16322 echo "$as_me:$LINENO: result: yes" >&5
16323 echo "${ECHO_T}yes" >&6
16325 echo "$as_me:$LINENO: result: no" >&5
16326 echo "${ECHO_T}no" >&6
16330 echo "$as_me:$LINENO: result: no" >&5
16331 echo "${ECHO_T}no" >&6
16336 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16337 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16338 library_names_spec=
16339 libname_spec='lib$name'
16343 postuninstall_cmds=
16347 shlibpath_overrides_runpath=unknown
16349 dynamic_linker="$host_os ld.so"
16350 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16351 if test "$GCC" = yes; then
16352 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16353 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16354 # if the path contains ";" then we assume it to be the separator
16355 # otherwise default to the standard path separator (i.e. ":") - it is
16356 # assumed that no part of a normal pathname contains ";" but that should
16357 # okay in the real world where ";" in dirpaths is itself problematic.
16358 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16360 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16363 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16365 need_lib_prefix=unknown
16366 hardcode_into_libs=no
16368 # when you set need_version to no, make sure it does not cause -set_version
16369 # flags to be left without arguments
16370 need_version=unknown
16375 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16376 shlibpath_var=LIBPATH
16378 # AIX 3 has no versioning support, so we append a major version to the name.
16379 soname_spec='${libname}${release}${shared_ext}$major'
16386 hardcode_into_libs=yes
16387 if test "$host_cpu" = ia64; then
16388 # AIX 5 supports IA64
16389 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16390 shlibpath_var=LD_LIBRARY_PATH
16392 # With GCC up to 2.95.x, collect2 would create an import file
16393 # for dependence libraries. The import file would start with
16394 # the line `#! .'. This would cause the generated library to
16395 # depend on `.', always an invalid library. This was fixed in
16396 # development snapshots of GCC prior to 3.0.
16398 aix4 | aix4.[01] | aix4.[01].*)
16399 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16401 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16404 can_build_shared=no
16408 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16409 # soname into executable. Probably we can add versioning support to
16410 # collect2, so additional links can be useful in future.
16411 if test "$aix_use_runtimelinking" = yes; then
16412 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16413 # instead of lib<name>.a to let people know that these are not
16414 # typical AIX shared libraries.
16415 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16417 # We preserve .a as extension for shared libraries through AIX4.2
16418 # and later when we are not doing run time linking.
16419 library_names_spec='${libname}${release}.a $libname.a'
16420 soname_spec='${libname}${release}${shared_ext}$major'
16422 shlibpath_var=LIBPATH
16427 library_names_spec='$libname.ixlibrary $libname.a'
16428 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16429 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'
16433 library_names_spec='${libname}${shared_ext}'
16434 dynamic_linker="$host_os ld.so"
16435 shlibpath_var=LIBRARY_PATH
16441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16442 soname_spec='${libname}${release}${shared_ext}$major'
16443 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16444 shlibpath_var=LD_LIBRARY_PATH
16445 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16446 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16447 # the default ld.so.conf also contains /usr/contrib/lib and
16448 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16449 # libtool to hard-code these into programs
16452 cygwin* | mingw* | pw32*)
16453 version_type=windows
16458 case $GCC,$host_os in
16459 yes,cygwin* | yes,mingw* | yes,pw32*)
16460 library_names_spec='$libname.dll.a'
16461 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16462 postinstall_cmds='base_file=`basename \${file}`~
16463 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16464 dldir=$destdir/`dirname \$dlpath`~
16465 test -d \$dldir || mkdir -p \$dldir~
16466 $install_prog $dir/$dlname \$dldir/$dlname'
16467 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16468 dlpath=$dir/\$dldll~
16470 shlibpath_overrides_runpath=yes
16474 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16475 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16476 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16479 # MinGW DLLs use traditional 'lib' prefix
16480 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16481 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16482 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16483 # It is most probably a Windows format PATH printed by
16484 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16485 # path with ; separators, and with drive letters. We can handle the
16486 # drive letters (cygwin fileutils understands them), so leave them,
16487 # especially as we might pass files found there to a mingw objdump,
16488 # which wouldn't understand a cygwinified path. Ahh.
16489 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16491 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16495 # pw32 DLLs use 'pw' prefix rather than 'lib'
16496 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16502 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16505 dynamic_linker='Win32 ld.exe'
16506 # FIXME: first we should search . and the directory the executable is in
16510 darwin* | rhapsody*)
16511 dynamic_linker="$host_os dyld"
16512 version_type=darwin
16515 # FIXME: Relying on posixy $() will cause problems for
16516 # cross-compilation, but unfortunately the echo tests do not
16517 # yet detect zsh echo's removal of \ escapes.
16518 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16519 soname_spec='${libname}${release}${major}$shared_ext'
16520 shlibpath_overrides_runpath=yes
16521 shlibpath_var=DYLD_LIBRARY_PATH
16522 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16523 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16524 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16525 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"`
16527 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16535 soname_spec='${libname}${release}${shared_ext}$major'
16536 shlibpath_var=LD_LIBRARY_PATH
16544 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16545 version_type=freebsd-$objformat
16546 case $version_type in
16548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16553 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16557 shlibpath_var=LD_LIBRARY_PATH
16560 shlibpath_overrides_runpath=yes
16562 freebsd3.01* | freebsdelf3.01*)
16563 shlibpath_overrides_runpath=yes
16564 hardcode_into_libs=yes
16567 shlibpath_overrides_runpath=no
16568 hardcode_into_libs=yes
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 shlibpath_var=LD_LIBRARY_PATH
16580 hardcode_into_libs=yes
16583 hpux9* | hpux10* | hpux11*)
16584 # Give a soname corresponding to the major version so that dld.sl refuses to
16585 # link against other versions.
16589 case "$host_cpu" in
16592 hardcode_into_libs=yes
16593 dynamic_linker="$host_os dld.so"
16594 shlibpath_var=LD_LIBRARY_PATH
16595 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16597 soname_spec='${libname}${release}${shared_ext}$major'
16598 if test "X$HPUX_IA64_MODE" = X32; then
16599 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16601 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16603 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16607 hardcode_into_libs=yes
16608 dynamic_linker="$host_os dld.sl"
16609 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16610 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16612 soname_spec='${libname}${release}${shared_ext}$major'
16613 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16614 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16618 dynamic_linker="$host_os dld.sl"
16619 shlibpath_var=SHLIB_PATH
16620 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16622 soname_spec='${libname}${release}${shared_ext}$major'
16625 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16626 postinstall_cmds='chmod 555 $lib'
16629 irix5* | irix6* | nonstopux*)
16631 nonstopux*) version_type=nonstopux ;;
16633 if test "$lt_cv_prog_gnu_ld" = yes; then
16641 soname_spec='${libname}${release}${shared_ext}$major'
16642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16644 irix5* | nonstopux*)
16645 libsuff= shlibsuff=
16648 case $LD in # libtool.m4 will add one of these switches to LD
16649 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16650 libsuff= shlibsuff= libmagic=32-bit;;
16651 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16652 libsuff=32 shlibsuff=N32 libmagic=N32;;
16653 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16654 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16655 *) libsuff= shlibsuff= libmagic=never-match;;
16659 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16660 shlibpath_overrides_runpath=no
16661 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16662 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16663 hardcode_into_libs=yes
16666 # No shared lib support for Linux oldld, aout, or coff.
16667 linux*oldld* | linux*aout* | linux*coff*)
16671 # This must be Linux ELF.
16676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16677 soname_spec='${libname}${release}${shared_ext}$major'
16678 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16679 shlibpath_var=LD_LIBRARY_PATH
16680 shlibpath_overrides_runpath=no
16681 # This implies no fast_install, which is unacceptable.
16682 # Some rework will be needed to allow for fast_install
16683 # before this can be enabled.
16684 hardcode_into_libs=yes
16686 # We used to test for /lib/ld.so.1 and disable shared libraries on
16687 # powerpc, because MkLinux only supported shared libraries with the
16688 # GNU dynamic linker. Since this was broken with cross compilers,
16689 # most powerpc-linux boxes support dynamic linking these days and
16690 # people can always --disable-shared, the test was removed, and we
16691 # assume the GNU/Linux dynamic linker is in use.
16692 dynamic_linker='GNU/Linux ld.so'
16699 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16701 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16702 dynamic_linker='NetBSD (a.out) ld.so'
16704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16705 soname_spec='${libname}${release}${shared_ext}$major'
16706 dynamic_linker='NetBSD ld.elf_so'
16708 shlibpath_var=LD_LIBRARY_PATH
16709 shlibpath_overrides_runpath=yes
16710 hardcode_into_libs=yes
16715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16716 shlibpath_var=LD_LIBRARY_PATH
16717 shlibpath_overrides_runpath=yes
16724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16725 soname_spec='${libname}${release}${shared_ext}$major'
16726 shlibpath_var=LD_LIBRARY_PATH
16727 shlibpath_overrides_runpath=yes
16734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16735 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16736 shlibpath_var=LD_LIBRARY_PATH
16737 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16739 openbsd2.[89] | openbsd2.[89].*)
16740 shlibpath_overrides_runpath=no
16743 shlibpath_overrides_runpath=yes
16747 shlibpath_overrides_runpath=yes
16752 libname_spec='$name'
16755 library_names_spec='$libname${shared_ext} $libname.a'
16756 dynamic_linker='OS/2 ld.exe'
16757 shlibpath_var=LIBPATH
16760 osf3* | osf4* | osf5*)
16764 soname_spec='${libname}${release}${shared_ext}$major'
16765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16766 shlibpath_var=LD_LIBRARY_PATH
16767 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16768 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16773 soname_spec='${libname}${release}${shared_ext}$major'
16774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16775 shlibpath_var=LD_LIBRARY_PATH
16782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16783 soname_spec='${libname}${release}${shared_ext}$major'
16784 shlibpath_var=LD_LIBRARY_PATH
16785 shlibpath_overrides_runpath=yes
16786 hardcode_into_libs=yes
16787 # ldd complains unless libraries are executable
16788 postinstall_cmds='chmod +x $lib'
16793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16794 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16795 shlibpath_var=LD_LIBRARY_PATH
16796 shlibpath_overrides_runpath=yes
16797 if test "$with_gnu_ld" = yes; then
16803 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16806 soname_spec='${libname}${release}${shared_ext}$major'
16807 shlibpath_var=LD_LIBRARY_PATH
16808 case $host_vendor in
16810 shlibpath_overrides_runpath=no
16812 export_dynamic_flag_spec='${wl}-Blargedynsym'
16813 runpath_var=LD_RUN_PATH
16821 shlibpath_overrides_runpath=no
16822 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16828 if test -d /usr/nec ;then
16830 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16831 soname_spec='$libname${shared_ext}.$major'
16832 shlibpath_var=LD_LIBRARY_PATH
16838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16839 soname_spec='${libname}${release}${shared_ext}$major'
16840 shlibpath_var=LD_LIBRARY_PATH
16847 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16848 echo "${ECHO_T}$dynamic_linker" >&6
16849 test "$dynamic_linker" = no && can_build_shared=no
16851 if test "x$enable_dlopen" != xyes; then
16852 enable_dlopen=unknown
16853 enable_dlopen_self=unknown
16854 enable_dlopen_self_static=unknown
16861 lt_cv_dlopen="load_add_on"
16863 lt_cv_dlopen_self=yes
16867 lt_cv_dlopen="LoadLibrary"
16872 lt_cv_dlopen="dlopen"
16877 # if libdl is installed we need to link against it
16878 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16879 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16880 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16881 echo $ECHO_N "(cached) $ECHO_C" >&6
16883 ac_check_lib_save_LIBS=$LIBS
16885 cat >conftest.$ac_ext <<_ACEOF
16886 #line $LINENO "configure"
16889 cat confdefs.h >>conftest.$ac_ext
16890 cat >>conftest.$ac_ext <<_ACEOF
16891 /* end confdefs.h. */
16893 /* Override any gcc2 internal prototype to avoid an error. */
16897 /* We use char because int might match the return type of a gcc2
16898 builtin and then its argument prototype would still apply. */
16908 rm -f conftest.$ac_objext conftest$ac_exeext
16909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16910 (eval $ac_link) 2>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } &&
16914 { ac_try='test -s conftest$ac_exeext'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; }; then
16920 ac_cv_lib_dl_dlopen=yes
16922 echo "$as_me: failed program was:" >&5
16923 sed 's/^/| /' conftest.$ac_ext >&5
16925 ac_cv_lib_dl_dlopen=no
16927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16928 LIBS=$ac_check_lib_save_LIBS
16930 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16931 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16932 if test $ac_cv_lib_dl_dlopen = yes; then
16933 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16936 lt_cv_dlopen="dyld"
16938 lt_cv_dlopen_self=yes
16945 echo "$as_me:$LINENO: checking for shl_load" >&5
16946 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16947 if test "${ac_cv_func_shl_load+set}" = set; then
16948 echo $ECHO_N "(cached) $ECHO_C" >&6
16950 cat >conftest.$ac_ext <<_ACEOF
16951 #line $LINENO "configure"
16954 cat confdefs.h >>conftest.$ac_ext
16955 cat >>conftest.$ac_ext <<_ACEOF
16956 /* end confdefs.h. */
16957 /* System header to define __stub macros and hopefully few prototypes,
16958 which can conflict with char shl_load (); below.
16959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16960 <limits.h> exists even on freestanding compilers. */
16962 # include <limits.h>
16964 # include <assert.h>
16966 /* Override any gcc2 internal prototype to avoid an error. */
16971 /* We use char because int might match the return type of a gcc2
16972 builtin and then its argument prototype would still apply. */
16974 /* The GNU C library defines this for functions which it implements
16975 to always fail with ENOSYS. Some functions are actually named
16976 something starting with __ and the normal name is an alias. */
16977 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16980 char (*f) () = shl_load;
16989 return f != shl_load;
16994 rm -f conftest.$ac_objext conftest$ac_exeext
16995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16996 (eval $ac_link) 2>&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); } &&
17000 { ac_try='test -s conftest$ac_exeext'
17001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17002 (eval $ac_try) 2>&5
17004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17005 (exit $ac_status); }; }; then
17006 ac_cv_func_shl_load=yes
17008 echo "$as_me: failed program was:" >&5
17009 sed 's/^/| /' conftest.$ac_ext >&5
17011 ac_cv_func_shl_load=no
17013 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17015 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17016 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17017 if test $ac_cv_func_shl_load = yes; then
17018 lt_cv_dlopen="shl_load"
17020 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17021 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17022 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17023 echo $ECHO_N "(cached) $ECHO_C" >&6
17025 ac_check_lib_save_LIBS=$LIBS
17027 cat >conftest.$ac_ext <<_ACEOF
17028 #line $LINENO "configure"
17031 cat confdefs.h >>conftest.$ac_ext
17032 cat >>conftest.$ac_ext <<_ACEOF
17033 /* end confdefs.h. */
17035 /* Override any gcc2 internal prototype to avoid an error. */
17039 /* We use char because int might match the return type of a gcc2
17040 builtin and then its argument prototype would still apply. */
17050 rm -f conftest.$ac_objext conftest$ac_exeext
17051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17052 (eval $ac_link) 2>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); } &&
17056 { ac_try='test -s conftest$ac_exeext'
17057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17058 (eval $ac_try) 2>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); }; }; then
17062 ac_cv_lib_dld_shl_load=yes
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.$ac_ext >&5
17067 ac_cv_lib_dld_shl_load=no
17069 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17070 LIBS=$ac_check_lib_save_LIBS
17072 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17073 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17074 if test $ac_cv_lib_dld_shl_load = yes; then
17075 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17077 echo "$as_me:$LINENO: checking for dlopen" >&5
17078 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17079 if test "${ac_cv_func_dlopen+set}" = set; then
17080 echo $ECHO_N "(cached) $ECHO_C" >&6
17082 cat >conftest.$ac_ext <<_ACEOF
17083 #line $LINENO "configure"
17086 cat confdefs.h >>conftest.$ac_ext
17087 cat >>conftest.$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 /* System header to define __stub macros and hopefully few prototypes,
17090 which can conflict with char dlopen (); below.
17091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17092 <limits.h> exists even on freestanding compilers. */
17094 # include <limits.h>
17096 # include <assert.h>
17098 /* Override any gcc2 internal prototype to avoid an error. */
17103 /* We use char because int might match the return type of a gcc2
17104 builtin and then its argument prototype would still apply. */
17106 /* The GNU C library defines this for functions which it implements
17107 to always fail with ENOSYS. Some functions are actually named
17108 something starting with __ and the normal name is an alias. */
17109 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17112 char (*f) () = dlopen;
17121 return f != dlopen;
17126 rm -f conftest.$ac_objext conftest$ac_exeext
17127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17128 (eval $ac_link) 2>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); } &&
17132 { ac_try='test -s conftest$ac_exeext'
17133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17134 (eval $ac_try) 2>&5
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); }; }; then
17138 ac_cv_func_dlopen=yes
17140 echo "$as_me: failed program was:" >&5
17141 sed 's/^/| /' conftest.$ac_ext >&5
17143 ac_cv_func_dlopen=no
17145 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17147 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17148 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17149 if test $ac_cv_func_dlopen = yes; then
17150 lt_cv_dlopen="dlopen"
17152 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17153 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17154 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17155 echo $ECHO_N "(cached) $ECHO_C" >&6
17157 ac_check_lib_save_LIBS=$LIBS
17159 cat >conftest.$ac_ext <<_ACEOF
17160 #line $LINENO "configure"
17163 cat confdefs.h >>conftest.$ac_ext
17164 cat >>conftest.$ac_ext <<_ACEOF
17165 /* end confdefs.h. */
17167 /* Override any gcc2 internal prototype to avoid an error. */
17171 /* We use char because int might match the return type of a gcc2
17172 builtin and then its argument prototype would still apply. */
17182 rm -f conftest.$ac_objext conftest$ac_exeext
17183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17184 (eval $ac_link) 2>&5
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); } &&
17188 { ac_try='test -s conftest$ac_exeext'
17189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17190 (eval $ac_try) 2>&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); }; }; then
17194 ac_cv_lib_dl_dlopen=yes
17196 echo "$as_me: failed program was:" >&5
17197 sed 's/^/| /' conftest.$ac_ext >&5
17199 ac_cv_lib_dl_dlopen=no
17201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17202 LIBS=$ac_check_lib_save_LIBS
17204 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17205 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17206 if test $ac_cv_lib_dl_dlopen = yes; then
17207 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17209 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17210 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17211 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17212 echo $ECHO_N "(cached) $ECHO_C" >&6
17214 ac_check_lib_save_LIBS=$LIBS
17215 LIBS="-lsvld $LIBS"
17216 cat >conftest.$ac_ext <<_ACEOF
17217 #line $LINENO "configure"
17220 cat confdefs.h >>conftest.$ac_ext
17221 cat >>conftest.$ac_ext <<_ACEOF
17222 /* end confdefs.h. */
17224 /* Override any gcc2 internal prototype to avoid an error. */
17228 /* We use char because int might match the return type of a gcc2
17229 builtin and then its argument prototype would still apply. */
17239 rm -f conftest.$ac_objext conftest$ac_exeext
17240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17241 (eval $ac_link) 2>&5
17243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244 (exit $ac_status); } &&
17245 { ac_try='test -s conftest$ac_exeext'
17246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17247 (eval $ac_try) 2>&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); }; }; then
17251 ac_cv_lib_svld_dlopen=yes
17253 echo "$as_me: failed program was:" >&5
17254 sed 's/^/| /' conftest.$ac_ext >&5
17256 ac_cv_lib_svld_dlopen=no
17258 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17259 LIBS=$ac_check_lib_save_LIBS
17261 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17262 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17263 if test $ac_cv_lib_svld_dlopen = yes; then
17264 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17266 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17267 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17268 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17269 echo $ECHO_N "(cached) $ECHO_C" >&6
17271 ac_check_lib_save_LIBS=$LIBS
17273 cat >conftest.$ac_ext <<_ACEOF
17274 #line $LINENO "configure"
17277 cat confdefs.h >>conftest.$ac_ext
17278 cat >>conftest.$ac_ext <<_ACEOF
17279 /* end confdefs.h. */
17281 /* Override any gcc2 internal prototype to avoid an error. */
17285 /* We use char because int might match the return type of a gcc2
17286 builtin and then its argument prototype would still apply. */
17296 rm -f conftest.$ac_objext conftest$ac_exeext
17297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17298 (eval $ac_link) 2>&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); } &&
17302 { ac_try='test -s conftest$ac_exeext'
17303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17304 (eval $ac_try) 2>&5
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); }; }; then
17308 ac_cv_lib_dld_dld_link=yes
17310 echo "$as_me: failed program was:" >&5
17311 sed 's/^/| /' conftest.$ac_ext >&5
17313 ac_cv_lib_dld_dld_link=no
17315 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17316 LIBS=$ac_check_lib_save_LIBS
17318 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17319 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17320 if test $ac_cv_lib_dld_dld_link = yes; then
17321 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17342 if test "x$lt_cv_dlopen" != xno; then
17348 case $lt_cv_dlopen in
17350 save_CPPFLAGS="$CPPFLAGS"
17351 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17353 save_LDFLAGS="$LDFLAGS"
17354 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17357 LIBS="$lt_cv_dlopen_libs $LIBS"
17359 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17360 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17361 if test "${lt_cv_dlopen_self+set}" = set; then
17362 echo $ECHO_N "(cached) $ECHO_C" >&6
17364 if test "$cross_compiling" = yes; then :
17365 lt_cv_dlopen_self=cross
17367 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17368 lt_status=$lt_dlunknown
17369 cat > conftest.$ac_ext <<EOF
17370 #line 17376 "configure"
17371 #include "confdefs.h"
17380 # define LT_DLGLOBAL RTLD_GLOBAL
17383 # define LT_DLGLOBAL DL_GLOBAL
17385 # define LT_DLGLOBAL 0
17389 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17390 find out it does not work in some platform. */
17391 #ifndef LT_DLLAZY_OR_NOW
17393 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17396 # define LT_DLLAZY_OR_NOW DL_LAZY
17399 # define LT_DLLAZY_OR_NOW RTLD_NOW
17402 # define LT_DLLAZY_OR_NOW DL_NOW
17404 # define LT_DLLAZY_OR_NOW 0
17412 extern "C" void exit (int);
17415 void fnord() { int i=42;}
17418 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17419 int status = $lt_dlunknown;
17423 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17424 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17425 /* dlclose (self); */
17431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17432 (eval $ac_link) 2>&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17436 (./conftest; exit; ) 2>/dev/null
17438 case x$lt_status in
17439 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17440 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17441 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17444 # compilation failed
17445 lt_cv_dlopen_self=no
17452 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17453 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17455 if test "x$lt_cv_dlopen_self" = xyes; then
17456 LDFLAGS="$LDFLAGS $link_static_flag"
17457 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17458 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17459 if test "${lt_cv_dlopen_self_static+set}" = set; then
17460 echo $ECHO_N "(cached) $ECHO_C" >&6
17462 if test "$cross_compiling" = yes; then :
17463 lt_cv_dlopen_self_static=cross
17465 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17466 lt_status=$lt_dlunknown
17467 cat > conftest.$ac_ext <<EOF
17468 #line 17474 "configure"
17469 #include "confdefs.h"
17478 # define LT_DLGLOBAL RTLD_GLOBAL
17481 # define LT_DLGLOBAL DL_GLOBAL
17483 # define LT_DLGLOBAL 0
17487 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17488 find out it does not work in some platform. */
17489 #ifndef LT_DLLAZY_OR_NOW
17491 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17494 # define LT_DLLAZY_OR_NOW DL_LAZY
17497 # define LT_DLLAZY_OR_NOW RTLD_NOW
17500 # define LT_DLLAZY_OR_NOW DL_NOW
17502 # define LT_DLLAZY_OR_NOW 0
17510 extern "C" void exit (int);
17513 void fnord() { int i=42;}
17516 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17517 int status = $lt_dlunknown;
17521 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17522 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17523 /* dlclose (self); */
17529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17530 (eval $ac_link) 2>&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17534 (./conftest; exit; ) 2>/dev/null
17536 case x$lt_status in
17537 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17538 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17539 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17542 # compilation failed
17543 lt_cv_dlopen_self_static=no
17550 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17551 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17554 CPPFLAGS="$save_CPPFLAGS"
17555 LDFLAGS="$save_LDFLAGS"
17560 case $lt_cv_dlopen_self in
17561 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17562 *) enable_dlopen_self=unknown ;;
17565 case $lt_cv_dlopen_self_static in
17566 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17567 *) enable_dlopen_self_static=unknown ;;
17572 # The else clause should only fire when bootstrapping the
17573 # libtool distribution, otherwise you forgot to ship ltmain.sh
17574 # with your package, and you will get complaints that there are
17575 # no rules to generate ltmain.sh.
17576 if test -f "$ltmain"; then
17577 # See if we are running on zsh, and set the options which allow our commands through
17578 # without removal of \ escapes.
17579 if test -n "${ZSH_VERSION+set}" ; then
17580 setopt NO_GLOB_SUBST
17582 # Now quote all the things that may contain metacharacters while being
17583 # careful not to overquote the AC_SUBSTed values. We take copies of the
17584 # variables and quote the copies for generation of the libtool script.
17585 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17586 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17587 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17588 deplibs_check_method reload_flag reload_cmds need_locks \
17589 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17590 lt_cv_sys_global_symbol_to_c_name_address \
17591 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17592 old_postinstall_cmds old_postuninstall_cmds \
17596 lt_prog_compiler_wl_GCJ \
17597 lt_prog_compiler_pic_GCJ \
17598 lt_prog_compiler_static_GCJ \
17599 lt_prog_compiler_no_builtin_flag_GCJ \
17600 export_dynamic_flag_spec_GCJ \
17601 thread_safe_flag_spec_GCJ \
17602 whole_archive_flag_spec_GCJ \
17603 enable_shared_with_static_runtimes_GCJ \
17604 old_archive_cmds_GCJ \
17605 old_archive_from_new_cmds_GCJ \
17606 predep_objects_GCJ \
17607 postdep_objects_GCJ \
17610 compiler_lib_search_path_GCJ \
17612 archive_expsym_cmds_GCJ \
17613 postinstall_cmds_GCJ \
17614 postuninstall_cmds_GCJ \
17615 old_archive_from_expsyms_cmds_GCJ \
17616 allow_undefined_flag_GCJ \
17617 no_undefined_flag_GCJ \
17618 export_symbols_cmds_GCJ \
17619 hardcode_libdir_flag_spec_GCJ \
17620 hardcode_libdir_flag_spec_ld_GCJ \
17621 hardcode_libdir_separator_GCJ \
17622 hardcode_automatic_GCJ \
17624 module_expsym_cmds_GCJ \
17625 lt_cv_prog_compiler_c_o_GCJ \
17626 exclude_expsyms_GCJ \
17627 include_expsyms_GCJ; do
17630 old_archive_cmds_GCJ | \
17631 old_archive_from_new_cmds_GCJ | \
17632 archive_cmds_GCJ | \
17633 archive_expsym_cmds_GCJ | \
17634 module_cmds_GCJ | \
17635 module_expsym_cmds_GCJ | \
17636 old_archive_from_expsyms_cmds_GCJ | \
17637 export_symbols_cmds_GCJ | \
17638 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17639 postinstall_cmds | postuninstall_cmds | \
17640 old_postinstall_cmds | old_postuninstall_cmds | \
17641 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17642 # Double-quote double-evaled strings.
17643 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17646 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17652 *'\$0 --fallback-echo"')
17653 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17659 cat <<__EOF__ >> "$cfgfile"
17660 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17662 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17664 # Shell to use when invoking shell scripts.
17667 # Whether or not to build shared libraries.
17668 build_libtool_libs=$enable_shared
17670 # Whether or not to build static libraries.
17671 build_old_libs=$enable_static
17673 # Whether or not to add -lc for building shared libraries.
17674 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17676 # Whether or not to disallow shared libs when runtime libs are static
17677 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17679 # Whether or not to optimize for fast installation.
17680 fast_install=$enable_fast_install
17683 host_alias=$host_alias
17686 # An echo program that does not interpret backslashes.
17691 AR_FLAGS=$lt_AR_FLAGS
17696 # A language-specific compiler.
17697 CC=$lt_compiler_GCJ
17699 # Is the compiler the GNU C compiler?
17705 # The linker used to build libraries.
17708 # Whether we need hard or soft links.
17711 # A BSD-compatible nm program.
17714 # A symbol stripping program
17717 # Used to examine libraries when file_magic_cmd begins "file"
17718 MAGIC_CMD=$MAGIC_CMD
17720 # Used on cygwin: DLL creation program.
17723 # Used on cygwin: object dumper.
17726 # Used on cygwin: assembler.
17729 # The name of the directory that contains temporary libtool files.
17732 # How to create reloadable object files.
17733 reload_flag=$lt_reload_flag
17734 reload_cmds=$lt_reload_cmds
17736 # How to pass a linker flag through the compiler.
17737 wl=$lt_lt_prog_compiler_wl_GCJ
17739 # Object file suffix (normally "o").
17740 objext="$ac_objext"
17742 # Old archive suffix (normally "a").
17745 # Shared library suffix (normally ".so").
17748 # Executable file suffix (normally "").
17751 # Additional compiler flags for building library objects.
17752 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17755 # What is the maximum length of a command?
17756 max_cmd_len=$lt_cv_sys_max_cmd_len
17758 # Does compiler simultaneously support -c and -o options?
17759 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17761 # Must we lock files when doing compilation ?
17762 need_locks=$lt_need_locks
17764 # Do we need the lib prefix for modules?
17765 need_lib_prefix=$need_lib_prefix
17767 # Do we need a version for libraries?
17768 need_version=$need_version
17770 # Whether dlopen is supported.
17771 dlopen_support=$enable_dlopen
17773 # Whether dlopen of programs is supported.
17774 dlopen_self=$enable_dlopen_self
17776 # Whether dlopen of statically linked programs is supported.
17777 dlopen_self_static=$enable_dlopen_self_static
17779 # Compiler flag to prevent dynamic linking.
17780 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17782 # Compiler flag to turn off builtin functions.
17783 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17785 # Compiler flag to allow reflexive dlopens.
17786 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17788 # Compiler flag to generate shared objects directly from archives.
17789 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17791 # Compiler flag to generate thread-safe objects.
17792 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17794 # Library versioning type.
17795 version_type=$version_type
17797 # Format of library name prefix.
17798 libname_spec=$lt_libname_spec
17800 # List of archive names. First name is the real one, the rest are links.
17801 # The last name is the one that the linker finds with -lNAME.
17802 library_names_spec=$lt_library_names_spec
17804 # The coded name of the library, if different from the real name.
17805 soname_spec=$lt_soname_spec
17807 # Commands used to build and install an old-style archive.
17809 old_archive_cmds=$lt_old_archive_cmds_GCJ
17810 old_postinstall_cmds=$lt_old_postinstall_cmds
17811 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17813 # Create an old-style archive from a shared archive.
17814 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17816 # Create a temporary old-style archive to link instead of a shared archive.
17817 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17819 # Commands used to build and install a shared archive.
17820 archive_cmds=$lt_archive_cmds_GCJ
17821 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17822 postinstall_cmds=$lt_postinstall_cmds
17823 postuninstall_cmds=$lt_postuninstall_cmds
17825 # Commands used to build a loadable module (assumed same as above if empty)
17826 module_cmds=$lt_module_cmds_GCJ
17827 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17829 # Commands to strip libraries.
17830 old_striplib=$lt_old_striplib
17831 striplib=$lt_striplib
17833 # Dependencies to place before the objects being linked to create a
17835 predep_objects=$lt_predep_objects_GCJ
17837 # Dependencies to place after the objects being linked to create a
17839 postdep_objects=$lt_postdep_objects_GCJ
17841 # Dependencies to place before the objects being linked to create a
17843 predeps=$lt_predeps_GCJ
17845 # Dependencies to place after the objects being linked to create a
17847 postdeps=$lt_postdeps_GCJ
17849 # The library search path used internally by the compiler when linking
17850 # a shared library.
17851 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17853 # Method to check whether dependent libraries are shared objects.
17854 deplibs_check_method=$lt_deplibs_check_method
17856 # Command to use when deplibs_check_method == file_magic.
17857 file_magic_cmd=$lt_file_magic_cmd
17859 # Flag that allows shared libraries with undefined symbols to be built.
17860 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17862 # Flag that forces no undefined symbols.
17863 no_undefined_flag=$lt_no_undefined_flag_GCJ
17865 # Commands used to finish a libtool library installation in a directory.
17866 finish_cmds=$lt_finish_cmds
17868 # Same as above, but a single script fragment to be evaled but not shown.
17869 finish_eval=$lt_finish_eval
17871 # Take the output of nm and produce a listing of raw symbols and C names.
17872 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17874 # Transform the output of nm in a proper C declaration
17875 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17877 # Transform the output of nm in a C name address pair
17878 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17880 # This is the shared library runtime path variable.
17881 runpath_var=$runpath_var
17883 # This is the shared library path variable.
17884 shlibpath_var=$shlibpath_var
17886 # Is shlibpath searched before the hard-coded library search path?
17887 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17889 # How to hardcode a shared library path into an executable.
17890 hardcode_action=$hardcode_action_GCJ
17892 # Whether we should hardcode library paths into libraries.
17893 hardcode_into_libs=$hardcode_into_libs
17895 # Flag to hardcode \$libdir into a binary during linking.
17896 # This must work even if \$libdir does not exist.
17897 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17899 # If ld is used when linking, flag to hardcode \$libdir into
17900 # a binary during linking. This must work even if \$libdir does
17902 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17904 # Whether we need a single -rpath flag with a separated argument.
17905 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17907 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17908 # resulting binary.
17909 hardcode_direct=$hardcode_direct_GCJ
17911 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17912 # resulting binary.
17913 hardcode_minus_L=$hardcode_minus_L_GCJ
17915 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17916 # the resulting binary.
17917 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17919 # Set to yes if building a shared library automatically hardcodes DIR into the library
17920 # and all subsequent libraries and executables linked against it.
17921 hardcode_automatic=$hardcode_automatic_GCJ
17923 # Variables whose values should be saved in libtool wrapper scripts and
17924 # restored at relink time.
17925 variables_saved_for_relink="$variables_saved_for_relink"
17927 # Whether libtool must link a program against all its dependency libraries.
17928 link_all_deplibs=$link_all_deplibs_GCJ
17930 # Compile-time system search path for libraries
17931 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17933 # Run-time system search path for libraries
17934 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17936 # Fix the shell variable \$srcfile for the compiler.
17937 fix_srcfile_path="$fix_srcfile_path_GCJ"
17939 # Set to yes if exported symbols are required.
17940 always_export_symbols=$always_export_symbols_GCJ
17942 # The commands to list exported symbols.
17943 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17945 # The commands to extract the exported symbol list from a shared archive.
17946 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17948 # Symbols that should not be listed in the preloaded symbols.
17949 exclude_expsyms=$lt_exclude_expsyms_GCJ
17951 # Symbols that must always be exported.
17952 include_expsyms=$lt_include_expsyms_GCJ
17954 # ### END LIBTOOL TAG CONFIG: $tagname
17960 # If there is no Makefile yet, we rely on a make rule to execute
17961 # `config.status --recheck' to rerun these tests and create the
17962 # libtool script then.
17963 test -f Makefile && make "$ltmain"
17968 ac_cpp='$CPP $CPPFLAGS'
17969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17984 # Source file extension for RC test sources.
17987 # Object file extension for compiled RC test sources.
17991 # Code to be used in simple compile tests
17992 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17994 # Code to be used in simple link tests
17995 lt_simple_link_test_code="$lt_simple_compile_test_code"
17997 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17999 # If no C compiler was specified, use CC.
18002 # Allow CC to be a program name with arguments.
18006 # Allow CC to be a program name with arguments.
18011 lt_cv_prog_compiler_c_o_RC=yes
18013 # The else clause should only fire when bootstrapping the
18014 # libtool distribution, otherwise you forgot to ship ltmain.sh
18015 # with your package, and you will get complaints that there are
18016 # no rules to generate ltmain.sh.
18017 if test -f "$ltmain"; then
18018 # See if we are running on zsh, and set the options which allow our commands through
18019 # without removal of \ escapes.
18020 if test -n "${ZSH_VERSION+set}" ; then
18021 setopt NO_GLOB_SUBST
18023 # Now quote all the things that may contain metacharacters while being
18024 # careful not to overquote the AC_SUBSTed values. We take copies of the
18025 # variables and quote the copies for generation of the libtool script.
18026 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18027 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18028 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18029 deplibs_check_method reload_flag reload_cmds need_locks \
18030 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18031 lt_cv_sys_global_symbol_to_c_name_address \
18032 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18033 old_postinstall_cmds old_postuninstall_cmds \
18037 lt_prog_compiler_wl_RC \
18038 lt_prog_compiler_pic_RC \
18039 lt_prog_compiler_static_RC \
18040 lt_prog_compiler_no_builtin_flag_RC \
18041 export_dynamic_flag_spec_RC \
18042 thread_safe_flag_spec_RC \
18043 whole_archive_flag_spec_RC \
18044 enable_shared_with_static_runtimes_RC \
18045 old_archive_cmds_RC \
18046 old_archive_from_new_cmds_RC \
18047 predep_objects_RC \
18048 postdep_objects_RC \
18051 compiler_lib_search_path_RC \
18053 archive_expsym_cmds_RC \
18054 postinstall_cmds_RC \
18055 postuninstall_cmds_RC \
18056 old_archive_from_expsyms_cmds_RC \
18057 allow_undefined_flag_RC \
18058 no_undefined_flag_RC \
18059 export_symbols_cmds_RC \
18060 hardcode_libdir_flag_spec_RC \
18061 hardcode_libdir_flag_spec_ld_RC \
18062 hardcode_libdir_separator_RC \
18063 hardcode_automatic_RC \
18065 module_expsym_cmds_RC \
18066 lt_cv_prog_compiler_c_o_RC \
18067 exclude_expsyms_RC \
18068 include_expsyms_RC; do
18071 old_archive_cmds_RC | \
18072 old_archive_from_new_cmds_RC | \
18073 archive_cmds_RC | \
18074 archive_expsym_cmds_RC | \
18076 module_expsym_cmds_RC | \
18077 old_archive_from_expsyms_cmds_RC | \
18078 export_symbols_cmds_RC | \
18079 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18080 postinstall_cmds | postuninstall_cmds | \
18081 old_postinstall_cmds | old_postuninstall_cmds | \
18082 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18083 # Double-quote double-evaled strings.
18084 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18087 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18093 *'\$0 --fallback-echo"')
18094 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18100 cat <<__EOF__ >> "$cfgfile"
18101 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18103 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18105 # Shell to use when invoking shell scripts.
18108 # Whether or not to build shared libraries.
18109 build_libtool_libs=$enable_shared
18111 # Whether or not to build static libraries.
18112 build_old_libs=$enable_static
18114 # Whether or not to add -lc for building shared libraries.
18115 build_libtool_need_lc=$archive_cmds_need_lc_RC
18117 # Whether or not to disallow shared libs when runtime libs are static
18118 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18120 # Whether or not to optimize for fast installation.
18121 fast_install=$enable_fast_install
18124 host_alias=$host_alias
18127 # An echo program that does not interpret backslashes.
18132 AR_FLAGS=$lt_AR_FLAGS
18137 # A language-specific compiler.
18140 # Is the compiler the GNU C compiler?
18146 # The linker used to build libraries.
18149 # Whether we need hard or soft links.
18152 # A BSD-compatible nm program.
18155 # A symbol stripping program
18158 # Used to examine libraries when file_magic_cmd begins "file"
18159 MAGIC_CMD=$MAGIC_CMD
18161 # Used on cygwin: DLL creation program.
18164 # Used on cygwin: object dumper.
18167 # Used on cygwin: assembler.
18170 # The name of the directory that contains temporary libtool files.
18173 # How to create reloadable object files.
18174 reload_flag=$lt_reload_flag
18175 reload_cmds=$lt_reload_cmds
18177 # How to pass a linker flag through the compiler.
18178 wl=$lt_lt_prog_compiler_wl_RC
18180 # Object file suffix (normally "o").
18181 objext="$ac_objext"
18183 # Old archive suffix (normally "a").
18186 # Shared library suffix (normally ".so").
18189 # Executable file suffix (normally "").
18192 # Additional compiler flags for building library objects.
18193 pic_flag=$lt_lt_prog_compiler_pic_RC
18196 # What is the maximum length of a command?
18197 max_cmd_len=$lt_cv_sys_max_cmd_len
18199 # Does compiler simultaneously support -c and -o options?
18200 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18202 # Must we lock files when doing compilation ?
18203 need_locks=$lt_need_locks
18205 # Do we need the lib prefix for modules?
18206 need_lib_prefix=$need_lib_prefix
18208 # Do we need a version for libraries?
18209 need_version=$need_version
18211 # Whether dlopen is supported.
18212 dlopen_support=$enable_dlopen
18214 # Whether dlopen of programs is supported.
18215 dlopen_self=$enable_dlopen_self
18217 # Whether dlopen of statically linked programs is supported.
18218 dlopen_self_static=$enable_dlopen_self_static
18220 # Compiler flag to prevent dynamic linking.
18221 link_static_flag=$lt_lt_prog_compiler_static_RC
18223 # Compiler flag to turn off builtin functions.
18224 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18226 # Compiler flag to allow reflexive dlopens.
18227 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18229 # Compiler flag to generate shared objects directly from archives.
18230 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18232 # Compiler flag to generate thread-safe objects.
18233 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18235 # Library versioning type.
18236 version_type=$version_type
18238 # Format of library name prefix.
18239 libname_spec=$lt_libname_spec
18241 # List of archive names. First name is the real one, the rest are links.
18242 # The last name is the one that the linker finds with -lNAME.
18243 library_names_spec=$lt_library_names_spec
18245 # The coded name of the library, if different from the real name.
18246 soname_spec=$lt_soname_spec
18248 # Commands used to build and install an old-style archive.
18250 old_archive_cmds=$lt_old_archive_cmds_RC
18251 old_postinstall_cmds=$lt_old_postinstall_cmds
18252 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18254 # Create an old-style archive from a shared archive.
18255 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18257 # Create a temporary old-style archive to link instead of a shared archive.
18258 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18260 # Commands used to build and install a shared archive.
18261 archive_cmds=$lt_archive_cmds_RC
18262 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18263 postinstall_cmds=$lt_postinstall_cmds
18264 postuninstall_cmds=$lt_postuninstall_cmds
18266 # Commands used to build a loadable module (assumed same as above if empty)
18267 module_cmds=$lt_module_cmds_RC
18268 module_expsym_cmds=$lt_module_expsym_cmds_RC
18270 # Commands to strip libraries.
18271 old_striplib=$lt_old_striplib
18272 striplib=$lt_striplib
18274 # Dependencies to place before the objects being linked to create a
18276 predep_objects=$lt_predep_objects_RC
18278 # Dependencies to place after the objects being linked to create a
18280 postdep_objects=$lt_postdep_objects_RC
18282 # Dependencies to place before the objects being linked to create a
18284 predeps=$lt_predeps_RC
18286 # Dependencies to place after the objects being linked to create a
18288 postdeps=$lt_postdeps_RC
18290 # The library search path used internally by the compiler when linking
18291 # a shared library.
18292 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18294 # Method to check whether dependent libraries are shared objects.
18295 deplibs_check_method=$lt_deplibs_check_method
18297 # Command to use when deplibs_check_method == file_magic.
18298 file_magic_cmd=$lt_file_magic_cmd
18300 # Flag that allows shared libraries with undefined symbols to be built.
18301 allow_undefined_flag=$lt_allow_undefined_flag_RC
18303 # Flag that forces no undefined symbols.
18304 no_undefined_flag=$lt_no_undefined_flag_RC
18306 # Commands used to finish a libtool library installation in a directory.
18307 finish_cmds=$lt_finish_cmds
18309 # Same as above, but a single script fragment to be evaled but not shown.
18310 finish_eval=$lt_finish_eval
18312 # Take the output of nm and produce a listing of raw symbols and C names.
18313 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18315 # Transform the output of nm in a proper C declaration
18316 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18318 # Transform the output of nm in a C name address pair
18319 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18321 # This is the shared library runtime path variable.
18322 runpath_var=$runpath_var
18324 # This is the shared library path variable.
18325 shlibpath_var=$shlibpath_var
18327 # Is shlibpath searched before the hard-coded library search path?
18328 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18330 # How to hardcode a shared library path into an executable.
18331 hardcode_action=$hardcode_action_RC
18333 # Whether we should hardcode library paths into libraries.
18334 hardcode_into_libs=$hardcode_into_libs
18336 # Flag to hardcode \$libdir into a binary during linking.
18337 # This must work even if \$libdir does not exist.
18338 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18340 # If ld is used when linking, flag to hardcode \$libdir into
18341 # a binary during linking. This must work even if \$libdir does
18343 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18345 # Whether we need a single -rpath flag with a separated argument.
18346 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18348 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18349 # resulting binary.
18350 hardcode_direct=$hardcode_direct_RC
18352 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18353 # resulting binary.
18354 hardcode_minus_L=$hardcode_minus_L_RC
18356 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18357 # the resulting binary.
18358 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18360 # Set to yes if building a shared library automatically hardcodes DIR into the library
18361 # and all subsequent libraries and executables linked against it.
18362 hardcode_automatic=$hardcode_automatic_RC
18364 # Variables whose values should be saved in libtool wrapper scripts and
18365 # restored at relink time.
18366 variables_saved_for_relink="$variables_saved_for_relink"
18368 # Whether libtool must link a program against all its dependency libraries.
18369 link_all_deplibs=$link_all_deplibs_RC
18371 # Compile-time system search path for libraries
18372 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18374 # Run-time system search path for libraries
18375 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18377 # Fix the shell variable \$srcfile for the compiler.
18378 fix_srcfile_path="$fix_srcfile_path_RC"
18380 # Set to yes if exported symbols are required.
18381 always_export_symbols=$always_export_symbols_RC
18383 # The commands to list exported symbols.
18384 export_symbols_cmds=$lt_export_symbols_cmds_RC
18386 # The commands to extract the exported symbol list from a shared archive.
18387 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18389 # Symbols that should not be listed in the preloaded symbols.
18390 exclude_expsyms=$lt_exclude_expsyms_RC
18392 # Symbols that must always be exported.
18393 include_expsyms=$lt_include_expsyms_RC
18395 # ### END LIBTOOL TAG CONFIG: $tagname
18401 # If there is no Makefile yet, we rely on a make rule to execute
18402 # `config.status --recheck' to rerun these tests and create the
18403 # libtool script then.
18404 test -f Makefile && make "$ltmain"
18409 ac_cpp='$CPP $CPPFLAGS'
18410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18419 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18420 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18421 { (exit 1); exit 1; }; }
18425 # Append the new tag name to the list of available tags.
18426 if test -n "$tagname" ; then
18427 available_tags="$available_tags $tagname"
18433 # Now substitute the updated list of available tags.
18434 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18435 mv "${ofile}T" "$ofile"
18439 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18440 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18441 { (exit 1); exit 1; }; }
18447 # This can be used to rebuild libtool when needed
18448 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18450 # Always use our own libtool.
18451 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18453 # Prevent multiple expansion
18475 # Extract the first word of "pwd", so it can be a program name with args.
18476 set dummy pwd; ac_word=$2
18477 echo "$as_me:$LINENO: checking for $ac_word" >&5
18478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18479 if test "${ac_cv_path_RPWD+set}" = set; then
18480 echo $ECHO_N "(cached) $ECHO_C" >&6
18484 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18488 for as_dir in $PATH
18491 test -z "$as_dir" && as_dir=.
18492 for ac_exec_ext in '' $ac_executable_extensions; do
18493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18494 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18501 test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false"
18505 RPWD=$ac_cv_path_RPWD
18507 if test -n "$RPWD"; then
18508 echo "$as_me:$LINENO: result: $RPWD" >&5
18509 echo "${ECHO_T}$RPWD" >&6
18511 echo "$as_me:$LINENO: result: no" >&5
18512 echo "${ECHO_T}no" >&6
18515 if test ${RPWD} = "false"
18517 { { echo "$as_me:$LINENO: error: pwd required but not found" >&5
18518 echo "$as_me: error: pwd required but not found" >&2;}
18519 { (exit 1); exit 1; }; }
18522 # Extract the first word of "ar", so it can be a program name with args.
18523 set dummy ar; ac_word=$2
18524 echo "$as_me:$LINENO: checking for $ac_word" >&5
18525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18526 if test "${ac_cv_path_AR+set}" = set; then
18527 echo $ECHO_N "(cached) $ECHO_C" >&6
18531 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18535 for as_dir in $PATH
18538 test -z "$as_dir" && as_dir=.
18539 for ac_exec_ext in '' $ac_executable_extensions; do
18540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18541 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18548 test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
18554 if test -n "$AR"; then
18555 echo "$as_me:$LINENO: result: $AR" >&5
18556 echo "${ECHO_T}$AR" >&6
18558 echo "$as_me:$LINENO: result: no" >&5
18559 echo "${ECHO_T}no" >&6
18562 if test ${AR} = "false"
18564 { { echo "$as_me:$LINENO: error: ar required but not found" >&5
18565 echo "$as_me: error: ar required but not found" >&2;}
18566 { (exit 1); exit 1; }; }
18569 # Extract the first word of "sed", so it can be a program name with args.
18570 set dummy sed; ac_word=$2
18571 echo "$as_me:$LINENO: checking for $ac_word" >&5
18572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18573 if test "${ac_cv_path_SED+set}" = set; then
18574 echo $ECHO_N "(cached) $ECHO_C" >&6
18578 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18582 for as_dir in $PATH
18585 test -z "$as_dir" && as_dir=.
18586 for ac_exec_ext in '' $ac_executable_extensions; do
18587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18588 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18595 test -z "$ac_cv_path_SED" && ac_cv_path_SED="false"
18599 SED=$ac_cv_path_SED
18601 if test -n "$SED"; then
18602 echo "$as_me:$LINENO: result: $SED" >&5
18603 echo "${ECHO_T}$SED" >&6
18605 echo "$as_me:$LINENO: result: no" >&5
18606 echo "${ECHO_T}no" >&6
18609 if test ${SED} = "false"
18611 { { echo "$as_me:$LINENO: error: sed required but not found" >&5
18612 echo "$as_me: error: sed required but not found" >&2;}
18613 { (exit 1); exit 1; }; }
18616 # Extract the first word of "rm", so it can be a program name with args.
18617 set dummy rm; ac_word=$2
18618 echo "$as_me:$LINENO: checking for $ac_word" >&5
18619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18620 if test "${ac_cv_path_RM+set}" = set; then
18621 echo $ECHO_N "(cached) $ECHO_C" >&6
18625 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18629 for as_dir in $PATH
18632 test -z "$as_dir" && as_dir=.
18633 for ac_exec_ext in '' $ac_executable_extensions; do
18634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18635 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18642 test -z "$ac_cv_path_RM" && ac_cv_path_RM="false"
18648 if test -n "$RM"; then
18649 echo "$as_me:$LINENO: result: $RM" >&5
18650 echo "${ECHO_T}$RM" >&6
18652 echo "$as_me:$LINENO: result: no" >&5
18653 echo "${ECHO_T}no" >&6
18656 if test ${RM} = "false"
18658 { { echo "$as_me:$LINENO: error: rm required but not found" >&5
18659 echo "$as_me: error: rm required but not found" >&2;}
18660 { (exit 1); exit 1; }; }
18663 # Extract the first word of "echo", so it can be a program name with args.
18664 set dummy echo; ac_word=$2
18665 echo "$as_me:$LINENO: checking for $ac_word" >&5
18666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18667 if test "${ac_cv_path_ECHO+set}" = set; then
18668 echo $ECHO_N "(cached) $ECHO_C" >&6
18672 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18676 for as_dir in $PATH
18679 test -z "$as_dir" && as_dir=.
18680 for ac_exec_ext in '' $ac_executable_extensions; do
18681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18682 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18689 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false"
18693 ECHO=$ac_cv_path_ECHO
18695 if test -n "$ECHO"; then
18696 echo "$as_me:$LINENO: result: $ECHO" >&5
18697 echo "${ECHO_T}$ECHO" >&6
18699 echo "$as_me:$LINENO: result: no" >&5
18700 echo "${ECHO_T}no" >&6
18703 if test ${ECHO} = "false"
18705 { { echo "$as_me:$LINENO: error: echo required but not found" >&5
18706 echo "$as_me: error: echo required but not found" >&2;}
18707 { (exit 1); exit 1; }; }
18710 # Extract the first word of "mkdir", so it can be a program name with args.
18711 set dummy mkdir; ac_word=$2
18712 echo "$as_me:$LINENO: checking for $ac_word" >&5
18713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18714 if test "${ac_cv_path_MKDIR+set}" = set; then
18715 echo $ECHO_N "(cached) $ECHO_C" >&6
18719 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18723 for as_dir in $PATH
18726 test -z "$as_dir" && as_dir=.
18727 for ac_exec_ext in '' $ac_executable_extensions; do
18728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18729 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18736 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false"
18740 MKDIR=$ac_cv_path_MKDIR
18742 if test -n "$MKDIR"; then
18743 echo "$as_me:$LINENO: result: $MKDIR" >&5
18744 echo "${ECHO_T}$MKDIR" >&6
18746 echo "$as_me:$LINENO: result: no" >&5
18747 echo "${ECHO_T}no" >&6
18750 if test ${MKDIR} = "false"
18752 { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5
18753 echo "$as_me: error: mkdir required but not found" >&2;}
18754 { (exit 1); exit 1; }; }
18757 # Extract the first word of "date", so it can be a program name with args.
18758 set dummy date; ac_word=$2
18759 echo "$as_me:$LINENO: checking for $ac_word" >&5
18760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18761 if test "${ac_cv_path_DATE+set}" = set; then
18762 echo $ECHO_N "(cached) $ECHO_C" >&6
18766 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18770 for as_dir in $PATH
18773 test -z "$as_dir" && as_dir=.
18774 for ac_exec_ext in '' $ac_executable_extensions; do
18775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18776 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18783 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false"
18787 DATE=$ac_cv_path_DATE
18789 if test -n "$DATE"; then
18790 echo "$as_me:$LINENO: result: $DATE" >&5
18791 echo "${ECHO_T}$DATE" >&6
18793 echo "$as_me:$LINENO: result: no" >&5
18794 echo "${ECHO_T}no" >&6
18797 if test ${DATE} = "false"
18799 { { echo "$as_me:$LINENO: error: date required but not found" >&5
18800 echo "$as_me: error: date required but not found" >&2;}
18801 { (exit 1); exit 1; }; }
18804 # Extract the first word of "mv", so it can be a program name with args.
18805 set dummy mv; ac_word=$2
18806 echo "$as_me:$LINENO: checking for $ac_word" >&5
18807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18808 if test "${ac_cv_path_MV+set}" = set; then
18809 echo $ECHO_N "(cached) $ECHO_C" >&6
18813 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18817 for as_dir in $PATH
18820 test -z "$as_dir" && as_dir=.
18821 for ac_exec_ext in '' $ac_executable_extensions; do
18822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18823 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18830 test -z "$ac_cv_path_MV" && ac_cv_path_MV="false"
18836 if test -n "$MV"; then
18837 echo "$as_me:$LINENO: result: $MV" >&5
18838 echo "${ECHO_T}$MV" >&6
18840 echo "$as_me:$LINENO: result: no" >&5
18841 echo "${ECHO_T}no" >&6
18844 if test ${MV} = "false"
18846 { { echo "$as_me:$LINENO: error: mv required but not found" >&5
18847 echo "$as_me: error: mv required but not found" >&2;}
18848 { (exit 1); exit 1; }; }
18851 # Extract the first word of "dot", so it can be a program name with args.
18852 set dummy dot; ac_word=$2
18853 echo "$as_me:$LINENO: checking for $ac_word" >&5
18854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18855 if test "${ac_cv_path_DOT+set}" = set; then
18856 echo $ECHO_N "(cached) $ECHO_C" >&6
18860 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18864 for as_dir in $PATH
18867 test -z "$as_dir" && as_dir=.
18868 for ac_exec_ext in '' $ac_executable_extensions; do
18869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18870 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18877 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
18881 DOT=$ac_cv_path_DOT
18883 if test -n "$DOT"; then
18884 echo "$as_me:$LINENO: result: $DOT" >&5
18885 echo "${ECHO_T}$DOT" >&6
18887 echo "$as_me:$LINENO: result: no" >&5
18888 echo "${ECHO_T}no" >&6
18892 # Extract the first word of "etags", so it can be a program name with args.
18893 set dummy etags; ac_word=$2
18894 echo "$as_me:$LINENO: checking for $ac_word" >&5
18895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18896 if test "${ac_cv_path_ETAGS+set}" = set; then
18897 echo $ECHO_N "(cached) $ECHO_C" >&6
18901 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18905 for as_dir in $PATH
18908 test -z "$as_dir" && as_dir=.
18909 for ac_exec_ext in '' $ac_executable_extensions; do
18910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18911 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18918 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false"
18922 ETAGS=$ac_cv_path_ETAGS
18924 if test -n "$ETAGS"; then
18925 echo "$as_me:$LINENO: result: $ETAGS" >&5
18926 echo "${ECHO_T}$ETAGS" >&6
18928 echo "$as_me:$LINENO: result: no" >&5
18929 echo "${ECHO_T}no" >&6
18933 # Extract the first word of "python", so it can be a program name with args.
18934 set dummy python; ac_word=$2
18935 echo "$as_me:$LINENO: checking for $ac_word" >&5
18936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18937 if test "${ac_cv_path_PYTHON+set}" = set; then
18938 echo $ECHO_N "(cached) $ECHO_C" >&6
18942 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18946 for as_dir in $PATH
18949 test -z "$as_dir" && as_dir=.
18950 for ac_exec_ext in '' $ac_executable_extensions; do
18951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18952 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18959 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false"
18963 PYTHON=$ac_cv_path_PYTHON
18965 if test -n "$PYTHON"; then
18966 echo "$as_me:$LINENO: result: $PYTHON" >&5
18967 echo "${ECHO_T}$PYTHON" >&6
18969 echo "$as_me:$LINENO: result: no" >&5
18970 echo "${ECHO_T}no" >&6
18973 if test ${PYTHON} = "false"
18975 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
18976 echo "$as_me: WARNING: python required but not found" >&2;}
18979 # Extract the first word of "qmtest", so it can be a program name with args.
18980 set dummy qmtest; ac_word=$2
18981 echo "$as_me:$LINENO: checking for $ac_word" >&5
18982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18983 if test "${ac_cv_path_QMTEST+set}" = set; then
18984 echo $ECHO_N "(cached) $ECHO_C" >&6
18988 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18992 for as_dir in $PATH
18995 test -z "$as_dir" && as_dir=.
18996 for ac_exec_ext in '' $ac_executable_extensions; do
18997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18998 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
18999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19005 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false"
19009 QMTEST=$ac_cv_path_QMTEST
19011 if test -n "$QMTEST"; then
19012 echo "$as_me:$LINENO: result: $QMTEST" >&5
19013 echo "${ECHO_T}$QMTEST" >&6
19015 echo "$as_me:$LINENO: result: no" >&5
19016 echo "${ECHO_T}no" >&6
19019 if test ${QMTEST} = "false"
19021 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19022 echo "$as_me: WARNING: qmtest required but not found" >&2;}
19025 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
19026 pymajor=`echo $pyversion | cut -d. -f1`
19027 pyminor=`echo $pyversion | cut -d. -f2`
19029 if test "$pymajor" -ge "2"
19031 if test "$pymajor" -eq "2"
19033 if test "$pyminor" -lt "2"
19035 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19036 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19037 { (exit 1); exit 1; }; }
19041 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19042 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19043 { (exit 1); exit 1; }; }
19050 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
19051 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
19052 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
19053 echo $ECHO_N "(cached) $ECHO_C" >&6
19055 ac_check_lib_save_LIBS=$LIBS
19057 cat >conftest.$ac_ext <<_ACEOF
19058 #line $LINENO "configure"
19061 cat confdefs.h >>conftest.$ac_ext
19062 cat >>conftest.$ac_ext <<_ACEOF
19063 /* end confdefs.h. */
19065 /* Override any gcc2 internal prototype to avoid an error. */
19069 /* We use char because int might match the return type of a gcc2
19070 builtin and then its argument prototype would still apply. */
19080 rm -f conftest.$ac_objext conftest$ac_exeext
19081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19082 (eval $ac_link) 2>&5
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); } &&
19086 { ac_try='test -s conftest$ac_exeext'
19087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19088 (eval $ac_try) 2>&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); }; }; then
19092 ac_cv_lib_elf_elf_begin=yes
19094 echo "$as_me: failed program was:" >&5
19095 sed 's/^/| /' conftest.$ac_ext >&5
19097 ac_cv_lib_elf_elf_begin=no
19099 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19100 LIBS=$ac_check_lib_save_LIBS
19102 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19103 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19104 if test $ac_cv_lib_elf_elf_begin = yes; then
19105 cat >>confdefs.h <<_ACEOF
19106 #define HAVE_LIBELF 1
19114 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19115 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19116 if test "${ac_cv_search_dlopen+set}" = set; then
19117 echo $ECHO_N "(cached) $ECHO_C" >&6
19119 ac_func_search_save_LIBS=$LIBS
19120 ac_cv_search_dlopen=no
19121 cat >conftest.$ac_ext <<_ACEOF
19122 #line $LINENO "configure"
19125 cat confdefs.h >>conftest.$ac_ext
19126 cat >>conftest.$ac_ext <<_ACEOF
19127 /* end confdefs.h. */
19129 /* Override any gcc2 internal prototype to avoid an error. */
19133 /* We use char because int might match the return type of a gcc2
19134 builtin and then its argument prototype would still apply. */
19144 rm -f conftest.$ac_objext conftest$ac_exeext
19145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19146 (eval $ac_link) 2>&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); } &&
19150 { ac_try='test -s conftest$ac_exeext'
19151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19152 (eval $ac_try) 2>&5
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); }; }; then
19156 ac_cv_search_dlopen="none required"
19158 echo "$as_me: failed program was:" >&5
19159 sed 's/^/| /' conftest.$ac_ext >&5
19162 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19163 if test "$ac_cv_search_dlopen" = no; then
19164 for ac_lib in dl; do
19165 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19166 cat >conftest.$ac_ext <<_ACEOF
19167 #line $LINENO "configure"
19170 cat confdefs.h >>conftest.$ac_ext
19171 cat >>conftest.$ac_ext <<_ACEOF
19172 /* end confdefs.h. */
19174 /* Override any gcc2 internal prototype to avoid an error. */
19178 /* We use char because int might match the return type of a gcc2
19179 builtin and then its argument prototype would still apply. */
19189 rm -f conftest.$ac_objext conftest$ac_exeext
19190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19191 (eval $ac_link) 2>&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } &&
19195 { ac_try='test -s conftest$ac_exeext'
19196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19197 (eval $ac_try) 2>&5
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); }; }; then
19201 ac_cv_search_dlopen="-l$ac_lib"
19204 echo "$as_me: failed program was:" >&5
19205 sed 's/^/| /' conftest.$ac_ext >&5
19208 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19211 LIBS=$ac_func_search_save_LIBS
19213 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19214 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19215 if test "$ac_cv_search_dlopen" != no; then
19216 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19219 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
19220 echo "$as_me: error: dlopen() required but not found" >&2;}
19221 { (exit 1); exit 1; }; }
19225 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19226 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19227 if test "${ac_cv_search_mallinfo+set}" = set; then
19228 echo $ECHO_N "(cached) $ECHO_C" >&6
19230 ac_func_search_save_LIBS=$LIBS
19231 ac_cv_search_mallinfo=no
19232 cat >conftest.$ac_ext <<_ACEOF
19233 #line $LINENO "configure"
19236 cat confdefs.h >>conftest.$ac_ext
19237 cat >>conftest.$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19240 /* Override any gcc2 internal prototype to avoid an error. */
19244 /* We use char because int might match the return type of a gcc2
19245 builtin and then its argument prototype would still apply. */
19255 rm -f conftest.$ac_objext conftest$ac_exeext
19256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19257 (eval $ac_link) 2>&5
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); } &&
19261 { ac_try='test -s conftest$ac_exeext'
19262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19263 (eval $ac_try) 2>&5
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); }; }; then
19267 ac_cv_search_mallinfo="none required"
19269 echo "$as_me: failed program was:" >&5
19270 sed 's/^/| /' conftest.$ac_ext >&5
19273 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19274 if test "$ac_cv_search_mallinfo" = no; then
19275 for ac_lib in malloc; do
19276 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19277 cat >conftest.$ac_ext <<_ACEOF
19278 #line $LINENO "configure"
19281 cat confdefs.h >>conftest.$ac_ext
19282 cat >>conftest.$ac_ext <<_ACEOF
19283 /* end confdefs.h. */
19285 /* Override any gcc2 internal prototype to avoid an error. */
19289 /* We use char because int might match the return type of a gcc2
19290 builtin and then its argument prototype would still apply. */
19300 rm -f conftest.$ac_objext conftest$ac_exeext
19301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19302 (eval $ac_link) 2>&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); } &&
19306 { ac_try='test -s conftest$ac_exeext'
19307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19308 (eval $ac_try) 2>&5
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; }; then
19312 ac_cv_search_mallinfo="-l$ac_lib"
19315 echo "$as_me: failed program was:" >&5
19316 sed 's/^/| /' conftest.$ac_ext >&5
19319 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19322 LIBS=$ac_func_search_save_LIBS
19324 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19325 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19326 if test "$ac_cv_search_mallinfo" != no; then
19327 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19328 cat >>confdefs.h <<\_ACEOF
19329 #define HAVE_MALLINFO 1
19336 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19337 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19338 if test "${ac_cv_header_stdc+set}" = set; then
19339 echo $ECHO_N "(cached) $ECHO_C" >&6
19341 cat >conftest.$ac_ext <<_ACEOF
19342 #line $LINENO "configure"
19345 cat confdefs.h >>conftest.$ac_ext
19346 cat >>conftest.$ac_ext <<_ACEOF
19347 /* end confdefs.h. */
19348 #include <stdlib.h>
19349 #include <stdarg.h>
19350 #include <string.h>
19361 rm -f conftest.$ac_objext
19362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19363 (eval $ac_compile) 2>&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); } &&
19367 { ac_try='test -s conftest.$ac_objext'
19368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19369 (eval $ac_try) 2>&5
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); }; }; then
19373 ac_cv_header_stdc=yes
19375 echo "$as_me: failed program was:" >&5
19376 sed 's/^/| /' conftest.$ac_ext >&5
19378 ac_cv_header_stdc=no
19380 rm -f conftest.$ac_objext conftest.$ac_ext
19382 if test $ac_cv_header_stdc = yes; then
19383 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19384 cat >conftest.$ac_ext <<_ACEOF
19385 #line $LINENO "configure"
19388 cat confdefs.h >>conftest.$ac_ext
19389 cat >>conftest.$ac_ext <<_ACEOF
19390 /* end confdefs.h. */
19391 #include <string.h>
19394 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19395 $EGREP "memchr" >/dev/null 2>&1; then
19398 ac_cv_header_stdc=no
19404 if test $ac_cv_header_stdc = yes; then
19405 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19406 cat >conftest.$ac_ext <<_ACEOF
19407 #line $LINENO "configure"
19410 cat confdefs.h >>conftest.$ac_ext
19411 cat >>conftest.$ac_ext <<_ACEOF
19412 /* end confdefs.h. */
19413 #include <stdlib.h>
19416 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19417 $EGREP "free" >/dev/null 2>&1; then
19420 ac_cv_header_stdc=no
19426 if test $ac_cv_header_stdc = yes; then
19427 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19428 if test "$cross_compiling" = yes; then
19431 cat >conftest.$ac_ext <<_ACEOF
19432 #line $LINENO "configure"
19435 cat confdefs.h >>conftest.$ac_ext
19436 cat >>conftest.$ac_ext <<_ACEOF
19437 /* end confdefs.h. */
19439 #if ((' ' & 0x0FF) == 0x020)
19440 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19441 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19443 # define ISLOWER(c) \
19444 (('a' <= (c) && (c) <= 'i') \
19445 || ('j' <= (c) && (c) <= 'r') \
19446 || ('s' <= (c) && (c) <= 'z'))
19447 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19450 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19455 for (i = 0; i < 256; i++)
19456 if (XOR (islower (i), ISLOWER (i))
19457 || toupper (i) != TOUPPER (i))
19462 rm -f conftest$ac_exeext
19463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19464 (eval $ac_link) 2>&5
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19469 (eval $ac_try) 2>&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); }; }; then
19475 echo "$as_me: program exited with status $ac_status" >&5
19476 echo "$as_me: failed program was:" >&5
19477 sed 's/^/| /' conftest.$ac_ext >&5
19479 ( exit $ac_status )
19480 ac_cv_header_stdc=no
19482 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19486 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19487 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19488 if test $ac_cv_header_stdc = yes; then
19490 cat >>confdefs.h <<\_ACEOF
19491 #define STDC_HEADERS 1
19496 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19497 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19498 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19499 echo $ECHO_N "(cached) $ECHO_C" >&6
19501 cat >conftest.$ac_ext <<_ACEOF
19502 #line $LINENO "configure"
19505 cat confdefs.h >>conftest.$ac_ext
19506 cat >>conftest.$ac_ext <<_ACEOF
19507 /* end confdefs.h. */
19508 #include <sys/types.h>
19509 #include <sys/wait.h>
19510 #ifndef WEXITSTATUS
19511 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19514 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19522 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19527 rm -f conftest.$ac_objext
19528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19529 (eval $ac_compile) 2>&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); } &&
19533 { ac_try='test -s conftest.$ac_objext'
19534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19535 (eval $ac_try) 2>&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; }; then
19539 ac_cv_header_sys_wait_h=yes
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.$ac_ext >&5
19544 ac_cv_header_sys_wait_h=no
19546 rm -f conftest.$ac_objext conftest.$ac_ext
19548 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19549 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19550 if test $ac_cv_header_sys_wait_h = yes; then
19552 cat >>confdefs.h <<\_ACEOF
19553 #define HAVE_SYS_WAIT_H 1
19567 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19569 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19571 echo "$as_me:$LINENO: checking for $ac_header" >&5
19572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19574 echo $ECHO_N "(cached) $ECHO_C" >&6
19576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19579 # Is the header compilable?
19580 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19581 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19582 cat >conftest.$ac_ext <<_ACEOF
19583 #line $LINENO "configure"
19586 cat confdefs.h >>conftest.$ac_ext
19587 cat >>conftest.$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19589 $ac_includes_default
19590 #include <$ac_header>
19592 rm -f conftest.$ac_objext
19593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19594 (eval $ac_compile) 2>&5
19596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19597 (exit $ac_status); } &&
19598 { ac_try='test -s conftest.$ac_objext'
19599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19600 (eval $ac_try) 2>&5
19602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19603 (exit $ac_status); }; }; then
19604 ac_header_compiler=yes
19606 echo "$as_me: failed program was:" >&5
19607 sed 's/^/| /' conftest.$ac_ext >&5
19609 ac_header_compiler=no
19611 rm -f conftest.$ac_objext conftest.$ac_ext
19612 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19613 echo "${ECHO_T}$ac_header_compiler" >&6
19615 # Is the header present?
19616 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19617 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19618 cat >conftest.$ac_ext <<_ACEOF
19619 #line $LINENO "configure"
19622 cat confdefs.h >>conftest.$ac_ext
19623 cat >>conftest.$ac_ext <<_ACEOF
19624 /* end confdefs.h. */
19625 #include <$ac_header>
19627 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19628 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19630 grep -v '^ *+' conftest.er1 >conftest.err
19632 cat conftest.err >&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); } >/dev/null; then
19635 if test -s conftest.err; then
19636 ac_cpp_err=$ac_c_preproc_warn_flag
19643 if test -z "$ac_cpp_err"; then
19644 ac_header_preproc=yes
19646 echo "$as_me: failed program was:" >&5
19647 sed 's/^/| /' conftest.$ac_ext >&5
19649 ac_header_preproc=no
19651 rm -f conftest.err conftest.$ac_ext
19652 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19653 echo "${ECHO_T}$ac_header_preproc" >&6
19655 # So? What about this header?
19656 case $ac_header_compiler:$ac_header_preproc in
19658 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19659 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19661 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19664 ## ------------------------------------ ##
19665 ## Report this to bug-autoconf@gnu.org. ##
19666 ## ------------------------------------ ##
19669 sed "s/^/$as_me: WARNING: /" >&2
19672 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19673 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19674 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19675 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19677 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19680 ## ------------------------------------ ##
19681 ## Report this to bug-autoconf@gnu.org. ##
19682 ## ------------------------------------ ##
19685 sed "s/^/$as_me: WARNING: /" >&2
19688 echo "$as_me:$LINENO: checking for $ac_header" >&5
19689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19691 echo $ECHO_N "(cached) $ECHO_C" >&6
19693 eval "$as_ac_Header=$ac_header_preproc"
19695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19699 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19700 cat >>confdefs.h <<_ACEOF
19701 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19713 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19715 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19717 echo "$as_me:$LINENO: checking for $ac_header" >&5
19718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19720 echo $ECHO_N "(cached) $ECHO_C" >&6
19722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19725 # Is the header compilable?
19726 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19727 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19728 cat >conftest.$ac_ext <<_ACEOF
19729 #line $LINENO "configure"
19732 cat confdefs.h >>conftest.$ac_ext
19733 cat >>conftest.$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19735 $ac_includes_default
19736 #include <$ac_header>
19738 rm -f conftest.$ac_objext
19739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19740 (eval $ac_compile) 2>&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } &&
19744 { ac_try='test -s conftest.$ac_objext'
19745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19746 (eval $ac_try) 2>&5
19748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19749 (exit $ac_status); }; }; then
19750 ac_header_compiler=yes
19752 echo "$as_me: failed program was:" >&5
19753 sed 's/^/| /' conftest.$ac_ext >&5
19755 ac_header_compiler=no
19757 rm -f conftest.$ac_objext conftest.$ac_ext
19758 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19759 echo "${ECHO_T}$ac_header_compiler" >&6
19761 # Is the header present?
19762 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19763 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19764 cat >conftest.$ac_ext <<_ACEOF
19765 #line $LINENO "configure"
19768 cat confdefs.h >>conftest.$ac_ext
19769 cat >>conftest.$ac_ext <<_ACEOF
19770 /* end confdefs.h. */
19771 #include <$ac_header>
19773 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19774 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19776 grep -v '^ *+' conftest.er1 >conftest.err
19778 cat conftest.err >&5
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); } >/dev/null; then
19781 if test -s conftest.err; then
19782 ac_cpp_err=$ac_c_preproc_warn_flag
19789 if test -z "$ac_cpp_err"; then
19790 ac_header_preproc=yes
19792 echo "$as_me: failed program was:" >&5
19793 sed 's/^/| /' conftest.$ac_ext >&5
19795 ac_header_preproc=no
19797 rm -f conftest.err conftest.$ac_ext
19798 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19799 echo "${ECHO_T}$ac_header_preproc" >&6
19801 # So? What about this header?
19802 case $ac_header_compiler:$ac_header_preproc in
19804 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19805 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&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: WARNING: $ac_header: present but cannot be compiled" >&5
19819 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19820 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19821 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19822 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19823 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19826 ## ------------------------------------ ##
19827 ## Report this to bug-autoconf@gnu.org. ##
19828 ## ------------------------------------ ##
19831 sed "s/^/$as_me: WARNING: /" >&2
19834 echo "$as_me:$LINENO: checking for $ac_header" >&5
19835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19837 echo $ECHO_N "(cached) $ECHO_C" >&6
19839 eval "$as_ac_Header=$ac_header_preproc"
19841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19845 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19846 cat >>confdefs.h <<_ACEOF
19847 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19857 for ac_header in dlfcn.h link.h
19859 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19861 echo "$as_me:$LINENO: checking for $ac_header" >&5
19862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19864 echo $ECHO_N "(cached) $ECHO_C" >&6
19866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19869 # Is the header compilable?
19870 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19871 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19872 cat >conftest.$ac_ext <<_ACEOF
19873 #line $LINENO "configure"
19876 cat confdefs.h >>conftest.$ac_ext
19877 cat >>conftest.$ac_ext <<_ACEOF
19878 /* end confdefs.h. */
19879 $ac_includes_default
19880 #include <$ac_header>
19882 rm -f conftest.$ac_objext
19883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19884 (eval $ac_compile) 2>&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); } &&
19888 { ac_try='test -s conftest.$ac_objext'
19889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19890 (eval $ac_try) 2>&5
19892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893 (exit $ac_status); }; }; then
19894 ac_header_compiler=yes
19896 echo "$as_me: failed program was:" >&5
19897 sed 's/^/| /' conftest.$ac_ext >&5
19899 ac_header_compiler=no
19901 rm -f conftest.$ac_objext conftest.$ac_ext
19902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19903 echo "${ECHO_T}$ac_header_compiler" >&6
19905 # Is the header present?
19906 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19907 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19908 cat >conftest.$ac_ext <<_ACEOF
19909 #line $LINENO "configure"
19912 cat confdefs.h >>conftest.$ac_ext
19913 cat >>conftest.$ac_ext <<_ACEOF
19914 /* end confdefs.h. */
19915 #include <$ac_header>
19917 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19918 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19920 grep -v '^ *+' conftest.er1 >conftest.err
19922 cat conftest.err >&5
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); } >/dev/null; then
19925 if test -s conftest.err; then
19926 ac_cpp_err=$ac_c_preproc_warn_flag
19933 if test -z "$ac_cpp_err"; then
19934 ac_header_preproc=yes
19936 echo "$as_me: failed program was:" >&5
19937 sed 's/^/| /' conftest.$ac_ext >&5
19939 ac_header_preproc=no
19941 rm -f conftest.err conftest.$ac_ext
19942 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19943 echo "${ECHO_T}$ac_header_preproc" >&6
19945 # So? What about this header?
19946 case $ac_header_compiler:$ac_header_preproc in
19948 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19949 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&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: WARNING: $ac_header: present but cannot be compiled" >&5
19963 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19964 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19965 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19967 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19970 ## ------------------------------------ ##
19971 ## Report this to bug-autoconf@gnu.org. ##
19972 ## ------------------------------------ ##
19975 sed "s/^/$as_me: WARNING: /" >&2
19978 echo "$as_me:$LINENO: checking for $ac_header" >&5
19979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19981 echo $ECHO_N "(cached) $ECHO_C" >&6
19983 eval "$as_ac_Header=$ac_header_preproc"
19985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19986 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19989 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19990 cat >>confdefs.h <<_ACEOF
19991 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20000 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20001 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20002 if test "${ac_cv_c_const+set}" = set; then
20003 echo $ECHO_N "(cached) $ECHO_C" >&6
20005 cat >conftest.$ac_ext <<_ACEOF
20006 #line $LINENO "configure"
20009 cat confdefs.h >>conftest.$ac_ext
20010 cat >>conftest.$ac_ext <<_ACEOF
20011 /* end confdefs.h. */
20016 /* FIXME: Include the comments suggested by Paul. */
20017 #ifndef __cplusplus
20018 /* Ultrix mips cc rejects this. */
20019 typedef int charset[2];
20021 /* SunOS 4.1.1 cc rejects this. */
20022 char const *const *ccp;
20024 /* NEC SVR4.0.2 mips cc rejects this. */
20025 struct point {int x, y;};
20026 static struct point const zero = {0,0};
20027 /* AIX XL C 1.02.0.0 rejects this.
20028 It does not let you subtract one const X* pointer from another in
20029 an arm of an if-expression whose if-part is not a constant
20031 const char *g = "string";
20032 ccp = &g + (g ? g-g : 0);
20033 /* HPUX 7.0 cc rejects these. */
20036 ccp = (char const *const *) p;
20037 { /* SCO 3.2v4 cc rejects this. */
20039 char const *s = 0 ? (char *) 0 : (char const *) 0;
20043 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20044 int x[] = {25, 17};
20045 const int *foo = &x[0];
20048 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20049 typedef const int *iptr;
20053 { /* AIX XL C 1.02.0.0 rejects this saying
20054 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20055 struct s { int j; const int *ap[3]; };
20056 struct s *b; b->j = 5;
20058 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20059 const int foo = 10;
20067 rm -f conftest.$ac_objext
20068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20069 (eval $ac_compile) 2>&5
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); } &&
20073 { ac_try='test -s conftest.$ac_objext'
20074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20075 (eval $ac_try) 2>&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); }; }; then
20081 echo "$as_me: failed program was:" >&5
20082 sed 's/^/| /' conftest.$ac_ext >&5
20086 rm -f conftest.$ac_objext conftest.$ac_ext
20088 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20089 echo "${ECHO_T}$ac_cv_c_const" >&6
20090 if test $ac_cv_c_const = no; then
20092 cat >>confdefs.h <<\_ACEOF
20098 echo "$as_me:$LINENO: checking for inline" >&5
20099 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20100 if test "${ac_cv_c_inline+set}" = set; then
20101 echo $ECHO_N "(cached) $ECHO_C" >&6
20104 for ac_kw in inline __inline__ __inline; do
20105 cat >conftest.$ac_ext <<_ACEOF
20106 #line $LINENO "configure"
20109 cat confdefs.h >>conftest.$ac_ext
20110 cat >>conftest.$ac_ext <<_ACEOF
20111 /* end confdefs.h. */
20112 #ifndef __cplusplus
20114 static $ac_kw foo_t static_foo () {return 0; }
20115 $ac_kw foo_t foo () {return 0; }
20119 rm -f conftest.$ac_objext
20120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20121 (eval $ac_compile) 2>&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); } &&
20125 { ac_try='test -s conftest.$ac_objext'
20126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20127 (eval $ac_try) 2>&5
20129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20130 (exit $ac_status); }; }; then
20131 ac_cv_c_inline=$ac_kw; break
20133 echo "$as_me: failed program was:" >&5
20134 sed 's/^/| /' conftest.$ac_ext >&5
20137 rm -f conftest.$ac_objext conftest.$ac_ext
20141 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20142 echo "${ECHO_T}$ac_cv_c_inline" >&6
20143 case $ac_cv_c_inline in
20146 cat >>confdefs.h <<\_ACEOF
20150 *) cat >>confdefs.h <<_ACEOF
20151 #define inline $ac_cv_c_inline
20157 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20158 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20159 if test "${ac_cv_c_bigendian+set}" = set; then
20160 echo $ECHO_N "(cached) $ECHO_C" >&6
20162 # See if sys/param.h defines the BYTE_ORDER macro.
20163 cat >conftest.$ac_ext <<_ACEOF
20164 #line $LINENO "configure"
20167 cat confdefs.h >>conftest.$ac_ext
20168 cat >>conftest.$ac_ext <<_ACEOF
20169 /* end confdefs.h. */
20170 #include <sys/types.h>
20171 #include <sys/param.h>
20176 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20177 bogus endian macros
20184 rm -f conftest.$ac_objext
20185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20186 (eval $ac_compile) 2>&5
20188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20189 (exit $ac_status); } &&
20190 { ac_try='test -s conftest.$ac_objext'
20191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20192 (eval $ac_try) 2>&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); }; }; then
20196 # It does; now see whether it defined to BIG_ENDIAN or not.
20197 cat >conftest.$ac_ext <<_ACEOF
20198 #line $LINENO "configure"
20201 cat confdefs.h >>conftest.$ac_ext
20202 cat >>conftest.$ac_ext <<_ACEOF
20203 /* end confdefs.h. */
20204 #include <sys/types.h>
20205 #include <sys/param.h>
20210 #if BYTE_ORDER != BIG_ENDIAN
20218 rm -f conftest.$ac_objext
20219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20220 (eval $ac_compile) 2>&5
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); } &&
20224 { ac_try='test -s conftest.$ac_objext'
20225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20226 (eval $ac_try) 2>&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); }; }; then
20230 ac_cv_c_bigendian=yes
20232 echo "$as_me: failed program was:" >&5
20233 sed 's/^/| /' conftest.$ac_ext >&5
20235 ac_cv_c_bigendian=no
20237 rm -f conftest.$ac_objext conftest.$ac_ext
20239 echo "$as_me: failed program was:" >&5
20240 sed 's/^/| /' conftest.$ac_ext >&5
20242 # It does not; compile a test program.
20243 if test "$cross_compiling" = yes; then
20244 # try to guess the endianness by grepping values into an object file
20245 ac_cv_c_bigendian=unknown
20246 cat >conftest.$ac_ext <<_ACEOF
20247 #line $LINENO "configure"
20250 cat confdefs.h >>conftest.$ac_ext
20251 cat >>conftest.$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20253 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20254 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20255 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20256 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20257 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20258 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20262 _ascii (); _ebcdic ();
20267 rm -f conftest.$ac_objext
20268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20269 (eval $ac_compile) 2>&5
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); } &&
20273 { ac_try='test -s conftest.$ac_objext'
20274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20275 (eval $ac_try) 2>&5
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); }; }; then
20279 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20280 ac_cv_c_bigendian=yes
20282 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20283 if test "$ac_cv_c_bigendian" = unknown; then
20284 ac_cv_c_bigendian=no
20286 # finding both strings is unlikely to happen, but who knows?
20287 ac_cv_c_bigendian=unknown
20291 echo "$as_me: failed program was:" >&5
20292 sed 's/^/| /' conftest.$ac_ext >&5
20295 rm -f conftest.$ac_objext conftest.$ac_ext
20297 cat >conftest.$ac_ext <<_ACEOF
20298 #line $LINENO "configure"
20301 cat confdefs.h >>conftest.$ac_ext
20302 cat >>conftest.$ac_ext <<_ACEOF
20303 /* end confdefs.h. */
20307 /* Are we little or big endian? From Harbison&Steele. */
20311 char c[sizeof (long)];
20314 exit (u.c[sizeof (long) - 1] == 1);
20317 rm -f conftest$ac_exeext
20318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20319 (eval $ac_link) 2>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20324 (eval $ac_try) 2>&5
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); }; }; then
20328 ac_cv_c_bigendian=no
20330 echo "$as_me: program exited with status $ac_status" >&5
20331 echo "$as_me: failed program was:" >&5
20332 sed 's/^/| /' conftest.$ac_ext >&5
20334 ( exit $ac_status )
20335 ac_cv_c_bigendian=yes
20337 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20340 rm -f conftest.$ac_objext conftest.$ac_ext
20342 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20343 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20344 case $ac_cv_c_bigendian in
20346 cat >>confdefs.h <<\_ACEOF
20347 #define ENDIAN_BIG 1
20351 cat >>confdefs.h <<\_ACEOF
20352 #define ENDIAN_LITTLE 1
20356 { { echo "$as_me:$LINENO: error: unknown endianness
20357 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20358 echo "$as_me: error: unknown endianness
20359 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20360 { (exit 1); exit 1; }; } ;;
20364 echo "$as_me:$LINENO: checking for pid_t" >&5
20365 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20366 if test "${ac_cv_type_pid_t+set}" = set; then
20367 echo $ECHO_N "(cached) $ECHO_C" >&6
20369 cat >conftest.$ac_ext <<_ACEOF
20370 #line $LINENO "configure"
20373 cat confdefs.h >>conftest.$ac_ext
20374 cat >>conftest.$ac_ext <<_ACEOF
20375 /* end confdefs.h. */
20376 $ac_includes_default
20382 if (sizeof (pid_t))
20388 rm -f conftest.$ac_objext
20389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20390 (eval $ac_compile) 2>&5
20392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20393 (exit $ac_status); } &&
20394 { ac_try='test -s conftest.$ac_objext'
20395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20396 (eval $ac_try) 2>&5
20398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399 (exit $ac_status); }; }; then
20400 ac_cv_type_pid_t=yes
20402 echo "$as_me: failed program was:" >&5
20403 sed 's/^/| /' conftest.$ac_ext >&5
20405 ac_cv_type_pid_t=no
20407 rm -f conftest.$ac_objext conftest.$ac_ext
20409 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20410 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20411 if test $ac_cv_type_pid_t = yes; then
20415 cat >>confdefs.h <<_ACEOF
20421 echo "$as_me:$LINENO: checking for size_t" >&5
20422 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20423 if test "${ac_cv_type_size_t+set}" = set; then
20424 echo $ECHO_N "(cached) $ECHO_C" >&6
20426 cat >conftest.$ac_ext <<_ACEOF
20427 #line $LINENO "configure"
20430 cat confdefs.h >>conftest.$ac_ext
20431 cat >>conftest.$ac_ext <<_ACEOF
20432 /* end confdefs.h. */
20433 $ac_includes_default
20439 if (sizeof (size_t))
20445 rm -f conftest.$ac_objext
20446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20447 (eval $ac_compile) 2>&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); } &&
20451 { ac_try='test -s conftest.$ac_objext'
20452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20453 (eval $ac_try) 2>&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); }; }; then
20457 ac_cv_type_size_t=yes
20459 echo "$as_me: failed program was:" >&5
20460 sed 's/^/| /' conftest.$ac_ext >&5
20462 ac_cv_type_size_t=no
20464 rm -f conftest.$ac_objext conftest.$ac_ext
20466 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20467 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20468 if test $ac_cv_type_size_t = yes; then
20472 cat >>confdefs.h <<_ACEOF
20473 #define size_t unsigned
20478 echo "$as_me:$LINENO: checking for int64_t" >&5
20479 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20480 if test "${ac_cv_type_int64_t+set}" = set; then
20481 echo $ECHO_N "(cached) $ECHO_C" >&6
20483 cat >conftest.$ac_ext <<_ACEOF
20484 #line $LINENO "configure"
20487 cat confdefs.h >>conftest.$ac_ext
20488 cat >>conftest.$ac_ext <<_ACEOF
20489 /* end confdefs.h. */
20490 $ac_includes_default
20496 if (sizeof (int64_t))
20502 rm -f conftest.$ac_objext
20503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20504 (eval $ac_compile) 2>&5
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); } &&
20508 { ac_try='test -s conftest.$ac_objext'
20509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20510 (eval $ac_try) 2>&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); }; }; then
20514 ac_cv_type_int64_t=yes
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.$ac_ext >&5
20519 ac_cv_type_int64_t=no
20521 rm -f conftest.$ac_objext conftest.$ac_ext
20523 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20524 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20525 if test $ac_cv_type_int64_t = yes; then
20527 cat >>confdefs.h <<_ACEOF
20528 #define HAVE_INT64_T 1
20533 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20534 echo "$as_me: error: Type int64_t required but not found" >&2;}
20535 { (exit 1); exit 1; }; }
20538 echo "$as_me:$LINENO: checking for uint64_t" >&5
20539 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20540 if test "${ac_cv_type_uint64_t+set}" = set; then
20541 echo $ECHO_N "(cached) $ECHO_C" >&6
20543 cat >conftest.$ac_ext <<_ACEOF
20544 #line $LINENO "configure"
20547 cat confdefs.h >>conftest.$ac_ext
20548 cat >>conftest.$ac_ext <<_ACEOF
20549 /* end confdefs.h. */
20550 $ac_includes_default
20554 if ((uint64_t *) 0)
20556 if (sizeof (uint64_t))
20562 rm -f conftest.$ac_objext
20563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20564 (eval $ac_compile) 2>&5
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); } &&
20568 { ac_try='test -s conftest.$ac_objext'
20569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20570 (eval $ac_try) 2>&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); }; }; then
20574 ac_cv_type_uint64_t=yes
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.$ac_ext >&5
20579 ac_cv_type_uint64_t=no
20581 rm -f conftest.$ac_objext conftest.$ac_ext
20583 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20584 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20585 if test $ac_cv_type_uint64_t = yes; then
20587 cat >>confdefs.h <<_ACEOF
20588 #define HAVE_UINT64_T 1
20593 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20594 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20595 { (exit 1); exit 1; }; }
20598 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20599 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20600 if test "${ac_cv_header_time+set}" = set; then
20601 echo $ECHO_N "(cached) $ECHO_C" >&6
20603 cat >conftest.$ac_ext <<_ACEOF
20604 #line $LINENO "configure"
20607 cat confdefs.h >>conftest.$ac_ext
20608 cat >>conftest.$ac_ext <<_ACEOF
20609 /* end confdefs.h. */
20610 #include <sys/types.h>
20611 #include <sys/time.h>
20617 if ((struct tm *) 0)
20623 rm -f conftest.$ac_objext
20624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20625 (eval $ac_compile) 2>&5
20627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20628 (exit $ac_status); } &&
20629 { ac_try='test -s conftest.$ac_objext'
20630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20631 (eval $ac_try) 2>&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); }; }; then
20635 ac_cv_header_time=yes
20637 echo "$as_me: failed program was:" >&5
20638 sed 's/^/| /' conftest.$ac_ext >&5
20640 ac_cv_header_time=no
20642 rm -f conftest.$ac_objext conftest.$ac_ext
20644 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20645 echo "${ECHO_T}$ac_cv_header_time" >&6
20646 if test $ac_cv_header_time = yes; then
20648 cat >>confdefs.h <<\_ACEOF
20649 #define TIME_WITH_SYS_TIME 1
20654 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20655 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20656 if test "${ac_cv_struct_tm+set}" = set; then
20657 echo $ECHO_N "(cached) $ECHO_C" >&6
20659 cat >conftest.$ac_ext <<_ACEOF
20660 #line $LINENO "configure"
20663 cat confdefs.h >>conftest.$ac_ext
20664 cat >>conftest.$ac_ext <<_ACEOF
20665 /* end confdefs.h. */
20666 #include <sys/types.h>
20672 struct tm *tp; tp->tm_sec;
20677 rm -f conftest.$ac_objext
20678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20679 (eval $ac_compile) 2>&5
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); } &&
20683 { ac_try='test -s conftest.$ac_objext'
20684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20685 (eval $ac_try) 2>&5
20687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688 (exit $ac_status); }; }; then
20689 ac_cv_struct_tm=time.h
20691 echo "$as_me: failed program was:" >&5
20692 sed 's/^/| /' conftest.$ac_ext >&5
20694 ac_cv_struct_tm=sys/time.h
20696 rm -f conftest.$ac_objext conftest.$ac_ext
20698 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20699 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20700 if test $ac_cv_struct_tm = sys/time.h; then
20702 cat >>confdefs.h <<\_ACEOF
20703 #define TM_IN_SYS_TIME 1
20709 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20710 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20711 if test "${ac_cv_cxx_namespaces+set}" = set; then
20712 echo $ECHO_N "(cached) $ECHO_C" >&6
20717 ac_cpp='$CXXCPP $CPPFLAGS'
20718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20722 cat >conftest.$ac_ext <<_ACEOF
20723 #line $LINENO "configure"
20726 cat confdefs.h >>conftest.$ac_ext
20727 cat >>conftest.$ac_ext <<_ACEOF
20728 /* end confdefs.h. */
20729 namespace Outer { namespace Inner { int i = 0; }}
20733 using namespace Outer::Inner; return i;
20738 rm -f conftest.$ac_objext
20739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20740 (eval $ac_compile) 2>&5
20742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20743 (exit $ac_status); } &&
20744 { ac_try='test -s conftest.$ac_objext'
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
20750 ac_cv_cxx_namespaces=yes
20752 echo "$as_me: failed program was:" >&5
20753 sed 's/^/| /' conftest.$ac_ext >&5
20755 ac_cv_cxx_namespaces=no
20757 rm -f conftest.$ac_objext conftest.$ac_ext
20759 ac_cpp='$CPP $CPPFLAGS'
20760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20766 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20767 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20768 if test "$ac_cv_cxx_namespaces" = yes; then
20770 cat >>confdefs.h <<\_ACEOF
20771 #define HAVE_NAMESPACES
20776 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20777 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20778 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20779 echo $ECHO_N "(cached) $ECHO_C" >&6
20785 ac_cpp='$CXXCPP $CPPFLAGS'
20786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20790 cat >conftest.$ac_ext <<_ACEOF
20791 #line $LINENO "configure"
20794 cat confdefs.h >>conftest.$ac_ext
20795 cat >>conftest.$ac_ext <<_ACEOF
20796 /* end confdefs.h. */
20797 #include <ext/hash_map>
20798 #ifdef HAVE_NAMESPACES
20799 using namespace std;
20804 hash_map<int, int> t; return 0;
20809 rm -f conftest.$ac_objext
20810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20811 (eval $ac_compile) 2>&5
20813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814 (exit $ac_status); } &&
20815 { ac_try='test -s conftest.$ac_objext'
20816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20817 (eval $ac_try) 2>&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); }; }; then
20821 ac_cv_cxx_have_ext_hash_map=std
20823 echo "$as_me: failed program was:" >&5
20824 sed 's/^/| /' conftest.$ac_ext >&5
20826 ac_cv_cxx_have_ext_hash_map=no
20828 rm -f conftest.$ac_objext conftest.$ac_ext
20829 cat >conftest.$ac_ext <<_ACEOF
20830 #line $LINENO "configure"
20833 cat confdefs.h >>conftest.$ac_ext
20834 cat >>conftest.$ac_ext <<_ACEOF
20835 /* end confdefs.h. */
20836 #include <ext/hash_map>
20837 #ifdef HAVE_NAMESPACES
20838 using namespace __gnu_cxx;
20843 hash_map<int, int> t; return 0;
20848 rm -f conftest.$ac_objext
20849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20850 (eval $ac_compile) 2>&5
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); } &&
20854 { ac_try='test -s conftest.$ac_objext'
20855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20856 (eval $ac_try) 2>&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); }; }; then
20860 ac_cv_cxx_have_ext_hash_map=gnu
20862 echo "$as_me: failed program was:" >&5
20863 sed 's/^/| /' conftest.$ac_ext >&5
20865 ac_cv_cxx_have_ext_hash_map=no
20867 rm -f conftest.$ac_objext conftest.$ac_ext
20869 ac_cpp='$CPP $CPPFLAGS'
20870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20876 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20877 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20878 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20880 cat >>confdefs.h <<\_ACEOF
20881 #define HAVE_STD_EXT_HASH_MAP
20885 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20887 cat >>confdefs.h <<\_ACEOF
20888 #define HAVE_GNU_EXT_HASH_MAP
20893 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20894 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20895 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20896 echo $ECHO_N "(cached) $ECHO_C" >&6
20902 ac_cpp='$CXXCPP $CPPFLAGS'
20903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20907 cat >conftest.$ac_ext <<_ACEOF
20908 #line $LINENO "configure"
20911 cat confdefs.h >>conftest.$ac_ext
20912 cat >>conftest.$ac_ext <<_ACEOF
20913 /* end confdefs.h. */
20914 #include <ext/hash_set>
20915 #ifdef HAVE_NAMESPACES
20916 using namespace std;
20921 hash_set<int> t; return 0;
20926 rm -f conftest.$ac_objext
20927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20928 (eval $ac_compile) 2>&5
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); } &&
20932 { ac_try='test -s conftest.$ac_objext'
20933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20934 (eval $ac_try) 2>&5
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); }; }; then
20938 ac_cv_cxx_have_ext_hash_set=std
20940 echo "$as_me: failed program was:" >&5
20941 sed 's/^/| /' conftest.$ac_ext >&5
20943 ac_cv_cxx_have_ext_hash_set=no
20945 rm -f conftest.$ac_objext conftest.$ac_ext
20946 cat >conftest.$ac_ext <<_ACEOF
20947 #line $LINENO "configure"
20950 cat confdefs.h >>conftest.$ac_ext
20951 cat >>conftest.$ac_ext <<_ACEOF
20952 /* end confdefs.h. */
20953 #include <ext/hash_set>
20954 #ifdef HAVE_NAMESPACES
20955 using namespace __gnu_cxx;
20960 hash_set<int> t; return 0;
20965 rm -f conftest.$ac_objext
20966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20967 (eval $ac_compile) 2>&5
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); } &&
20971 { ac_try='test -s conftest.$ac_objext'
20972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20973 (eval $ac_try) 2>&5
20975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 (exit $ac_status); }; }; then
20977 ac_cv_cxx_have_ext_hash_set=gnu
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.$ac_ext >&5
20982 ac_cv_cxx_have_ext_hash_set=no
20984 rm -f conftest.$ac_objext conftest.$ac_ext
20986 ac_cpp='$CPP $CPPFLAGS'
20987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20993 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
20994 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
20995 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
20997 cat >>confdefs.h <<\_ACEOF
20998 #define HAVE_STD_EXT_HASH_SET
21002 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
21004 cat >>confdefs.h <<\_ACEOF
21005 #define HAVE_GNU_EXT_HASH_SET
21010 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
21011 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
21012 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
21013 echo $ECHO_N "(cached) $ECHO_C" >&6
21019 ac_cpp='$CXXCPP $CPPFLAGS'
21020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21024 cat >conftest.$ac_ext <<_ACEOF
21025 #line $LINENO "configure"
21028 cat confdefs.h >>conftest.$ac_ext
21029 cat >>conftest.$ac_ext <<_ACEOF
21030 /* end confdefs.h. */
21031 #include <ext/slist>
21032 #ifdef HAVE_NAMESPACES
21033 using namespace std;
21038 slist<int> s; return 0;
21043 rm -f conftest.$ac_objext
21044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21045 (eval $ac_compile) 2>&5
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); } &&
21049 { ac_try='test -s conftest.$ac_objext'
21050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21051 (eval $ac_try) 2>&5
21053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21054 (exit $ac_status); }; }; then
21055 ac_cv_cxx_have_ext_slist=std
21057 echo "$as_me: failed program was:" >&5
21058 sed 's/^/| /' conftest.$ac_ext >&5
21060 ac_cv_cxx_have_ext_slist=no
21062 rm -f conftest.$ac_objext conftest.$ac_ext
21063 cat >conftest.$ac_ext <<_ACEOF
21064 #line $LINENO "configure"
21067 cat confdefs.h >>conftest.$ac_ext
21068 cat >>conftest.$ac_ext <<_ACEOF
21069 /* end confdefs.h. */
21070 #include <ext/slist>
21071 #ifdef HAVE_NAMESPACES
21072 using namespace __gnu_cxx;
21077 slist<int> s; return 0;
21082 rm -f conftest.$ac_objext
21083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21084 (eval $ac_compile) 2>&5
21086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087 (exit $ac_status); } &&
21088 { ac_try='test -s conftest.$ac_objext'
21089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21090 (eval $ac_try) 2>&5
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); }; }; then
21094 ac_cv_cxx_have_ext_slist=gnu
21096 echo "$as_me: failed program was:" >&5
21097 sed 's/^/| /' conftest.$ac_ext >&5
21099 ac_cv_cxx_have_ext_slist=no
21101 rm -f conftest.$ac_objext conftest.$ac_ext
21104 ac_cpp='$CPP $CPPFLAGS'
21105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21111 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21112 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21113 if test "$ac_cv_cxx_have_ext_slist" = std; then
21115 cat >>confdefs.h <<\_ACEOF
21116 #define HAVE_EXT_SLIST std
21120 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21122 cat >>confdefs.h <<\_ACEOF
21123 #define HAVE_EXT_SLIST gnu
21128 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21129 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21130 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21131 echo $ECHO_N "(cached) $ECHO_C" >&6
21137 ac_cpp='$CXXCPP $CPPFLAGS'
21138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21142 cat >conftest.$ac_ext <<_ACEOF
21143 #line $LINENO "configure"
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21149 #include <iterator>
21150 #ifdef HAVE_NAMESPACES
21151 using namespace std;
21156 iterator<int,int,int> t; return 0;
21161 rm -f conftest.$ac_objext
21162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21163 (eval $ac_compile) 2>&5
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); } &&
21167 { ac_try='test -s conftest.$ac_objext'
21168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21169 (eval $ac_try) 2>&5
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); }; }; then
21173 ac_cv_cxx_have_std_iterator=yes
21175 echo "$as_me: failed program was:" >&5
21176 sed 's/^/| /' conftest.$ac_ext >&5
21178 ac_cv_cxx_have_std_iterator=no
21180 rm -f conftest.$ac_objext conftest.$ac_ext
21182 ac_cpp='$CPP $CPPFLAGS'
21183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21189 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21190 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21191 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21193 cat >>confdefs.h <<\_ACEOF
21194 #define HAVE_STD_ITERATOR
21199 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21200 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21201 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21202 echo $ECHO_N "(cached) $ECHO_C" >&6
21208 ac_cpp='$CXXCPP $CPPFLAGS'
21209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21213 cat >conftest.$ac_ext <<_ACEOF
21214 #line $LINENO "configure"
21217 cat confdefs.h >>conftest.$ac_ext
21218 cat >>conftest.$ac_ext <<_ACEOF
21219 /* end confdefs.h. */
21220 #include <iterator>
21221 #ifdef HAVE_NAMESPACES
21222 using namespace std;
21227 bidirectional_iterator<int,int> t; return 0;
21232 rm -f conftest.$ac_objext
21233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21234 (eval $ac_compile) 2>&5
21236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237 (exit $ac_status); } &&
21238 { ac_try='test -s conftest.$ac_objext'
21239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21240 (eval $ac_try) 2>&5
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); }; }; then
21244 ac_cv_cxx_have_bi_iterator=yes
21246 echo "$as_me: failed program was:" >&5
21247 sed 's/^/| /' conftest.$ac_ext >&5
21249 ac_cv_cxx_have_bi_iterator=no
21251 rm -f conftest.$ac_objext conftest.$ac_ext
21253 ac_cpp='$CPP $CPPFLAGS'
21254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21260 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21261 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21262 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21264 cat >>confdefs.h <<\_ACEOF
21265 #define HAVE_BI_ITERATOR
21270 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21271 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21272 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21273 echo $ECHO_N "(cached) $ECHO_C" >&6
21279 ac_cpp='$CXXCPP $CPPFLAGS'
21280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21284 cat >conftest.$ac_ext <<_ACEOF
21285 #line $LINENO "configure"
21288 cat confdefs.h >>conftest.$ac_ext
21289 cat >>conftest.$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21291 #include <iterator>
21292 #ifdef HAVE_NAMESPACES
21293 using namespace std;
21298 forward_iterator<int,int> t; return 0;
21303 rm -f conftest.$ac_objext
21304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21305 (eval $ac_compile) 2>&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); } &&
21309 { ac_try='test -s conftest.$ac_objext'
21310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21311 (eval $ac_try) 2>&5
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314 (exit $ac_status); }; }; then
21315 ac_cv_cxx_have_fwd_iterator=yes
21317 echo "$as_me: failed program was:" >&5
21318 sed 's/^/| /' conftest.$ac_ext >&5
21320 ac_cv_cxx_have_fwd_iterator=no
21322 rm -f conftest.$ac_objext conftest.$ac_ext
21324 ac_cpp='$CPP $CPPFLAGS'
21325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21331 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21332 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21333 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21335 cat >>confdefs.h <<\_ACEOF
21336 #define HAVE_FWD_ITERATOR
21342 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21343 # for constant arguments. Useless!
21344 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21345 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21346 if test "${ac_cv_working_alloca_h+set}" = set; then
21347 echo $ECHO_N "(cached) $ECHO_C" >&6
21349 cat >conftest.$ac_ext <<_ACEOF
21350 #line $LINENO "configure"
21353 cat confdefs.h >>conftest.$ac_ext
21354 cat >>conftest.$ac_ext <<_ACEOF
21355 /* end confdefs.h. */
21356 #include <alloca.h>
21360 char *p = (char *) alloca (2 * sizeof (int));
21365 rm -f conftest.$ac_objext conftest$ac_exeext
21366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21367 (eval $ac_link) 2>&5
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); } &&
21371 { ac_try='test -s conftest$ac_exeext'
21372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21373 (eval $ac_try) 2>&5
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); }; }; then
21377 ac_cv_working_alloca_h=yes
21379 echo "$as_me: failed program was:" >&5
21380 sed 's/^/| /' conftest.$ac_ext >&5
21382 ac_cv_working_alloca_h=no
21384 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21386 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21387 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21388 if test $ac_cv_working_alloca_h = yes; then
21390 cat >>confdefs.h <<\_ACEOF
21391 #define HAVE_ALLOCA_H 1
21396 echo "$as_me:$LINENO: checking for alloca" >&5
21397 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21398 if test "${ac_cv_func_alloca_works+set}" = set; then
21399 echo $ECHO_N "(cached) $ECHO_C" >&6
21401 cat >conftest.$ac_ext <<_ACEOF
21402 #line $LINENO "configure"
21405 cat confdefs.h >>conftest.$ac_ext
21406 cat >>conftest.$ac_ext <<_ACEOF
21407 /* end confdefs.h. */
21409 # define alloca __builtin_alloca
21412 # include <malloc.h>
21413 # define alloca _alloca
21416 # include <alloca.h>
21421 # ifndef alloca /* predefined by HP cc +Olibcalls */
21432 char *p = (char *) alloca (1);
21437 rm -f conftest.$ac_objext conftest$ac_exeext
21438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21439 (eval $ac_link) 2>&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); } &&
21443 { ac_try='test -s conftest$ac_exeext'
21444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21445 (eval $ac_try) 2>&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); }; }; then
21449 ac_cv_func_alloca_works=yes
21451 echo "$as_me: failed program was:" >&5
21452 sed 's/^/| /' conftest.$ac_ext >&5
21454 ac_cv_func_alloca_works=no
21456 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21458 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21459 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21461 if test $ac_cv_func_alloca_works = yes; then
21463 cat >>confdefs.h <<\_ACEOF
21464 #define HAVE_ALLOCA 1
21468 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21469 # that cause trouble. Some versions do not even contain alloca or
21470 # contain a buggy version. If you still want to use their alloca,
21471 # use ar to extract alloca.o from them instead of compiling alloca.c.
21473 ALLOCA=alloca.$ac_objext
21475 cat >>confdefs.h <<\_ACEOF
21480 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21481 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21482 if test "${ac_cv_os_cray+set}" = set; then
21483 echo $ECHO_N "(cached) $ECHO_C" >&6
21485 cat >conftest.$ac_ext <<_ACEOF
21486 #line $LINENO "configure"
21489 cat confdefs.h >>conftest.$ac_ext
21490 cat >>conftest.$ac_ext <<_ACEOF
21491 /* end confdefs.h. */
21492 #if defined(CRAY) && ! defined(CRAY2)
21499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21500 $EGREP "webecray" >/dev/null 2>&1; then
21508 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21509 echo "${ECHO_T}$ac_cv_os_cray" >&6
21510 if test $ac_cv_os_cray = yes; then
21511 for ac_func in _getb67 GETB67 getb67; do
21512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21513 echo "$as_me:$LINENO: checking for $ac_func" >&5
21514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21515 if eval "test \"\${$as_ac_var+set}\" = set"; then
21516 echo $ECHO_N "(cached) $ECHO_C" >&6
21518 cat >conftest.$ac_ext <<_ACEOF
21519 #line $LINENO "configure"
21522 cat confdefs.h >>conftest.$ac_ext
21523 cat >>conftest.$ac_ext <<_ACEOF
21524 /* end confdefs.h. */
21525 /* System header to define __stub macros and hopefully few prototypes,
21526 which can conflict with char $ac_func (); below.
21527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21528 <limits.h> exists even on freestanding compilers. */
21530 # include <limits.h>
21532 # include <assert.h>
21534 /* Override any gcc2 internal prototype to avoid an error. */
21539 /* We use char because int might match the return type of a gcc2
21540 builtin and then its argument prototype would still apply. */
21542 /* The GNU C library defines this for functions which it implements
21543 to always fail with ENOSYS. Some functions are actually named
21544 something starting with __ and the normal name is an alias. */
21545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21548 char (*f) () = $ac_func;
21557 return f != $ac_func;
21562 rm -f conftest.$ac_objext conftest$ac_exeext
21563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21564 (eval $ac_link) 2>&5
21566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21567 (exit $ac_status); } &&
21568 { ac_try='test -s conftest$ac_exeext'
21569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21570 (eval $ac_try) 2>&5
21572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21573 (exit $ac_status); }; }; then
21574 eval "$as_ac_var=yes"
21576 echo "$as_me: failed program was:" >&5
21577 sed 's/^/| /' conftest.$ac_ext >&5
21579 eval "$as_ac_var=no"
21581 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21585 if test `eval echo '${'$as_ac_var'}'` = yes; then
21587 cat >>confdefs.h <<_ACEOF
21588 #define CRAY_STACKSEG_END $ac_func
21597 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21598 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21599 if test "${ac_cv_c_stack_direction+set}" = set; then
21600 echo $ECHO_N "(cached) $ECHO_C" >&6
21602 if test "$cross_compiling" = yes; then
21603 ac_cv_c_stack_direction=0
21605 cat >conftest.$ac_ext <<_ACEOF
21606 #line $LINENO "configure"
21609 cat confdefs.h >>conftest.$ac_ext
21610 cat >>conftest.$ac_ext <<_ACEOF
21611 /* end confdefs.h. */
21613 find_stack_direction ()
21615 static char *addr = 0;
21620 return find_stack_direction ();
21623 return (&dummy > addr) ? 1 : -1;
21629 exit (find_stack_direction () < 0);
21632 rm -f conftest$ac_exeext
21633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21634 (eval $ac_link) 2>&5
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21639 (eval $ac_try) 2>&5
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); }; }; then
21643 ac_cv_c_stack_direction=1
21645 echo "$as_me: program exited with status $ac_status" >&5
21646 echo "$as_me: failed program was:" >&5
21647 sed 's/^/| /' conftest.$ac_ext >&5
21649 ( exit $ac_status )
21650 ac_cv_c_stack_direction=-1
21652 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21655 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21656 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21658 cat >>confdefs.h <<_ACEOF
21659 #define STACK_DIRECTION $ac_cv_c_stack_direction
21665 if test $ac_cv_c_compiler_gnu = yes; then
21666 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21667 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21668 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21669 echo $ECHO_N "(cached) $ECHO_C" >&6
21671 ac_pattern="Autoconf.*'x'"
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. */
21682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21683 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21684 ac_cv_prog_gcc_traditional=yes
21686 ac_cv_prog_gcc_traditional=no
21691 if test $ac_cv_prog_gcc_traditional = no; then
21692 cat >conftest.$ac_ext <<_ACEOF
21693 #line $LINENO "configure"
21696 cat confdefs.h >>conftest.$ac_ext
21697 cat >>conftest.$ac_ext <<_ACEOF
21698 /* end confdefs.h. */
21699 #include <termio.h>
21702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21703 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21704 ac_cv_prog_gcc_traditional=yes
21710 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21711 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21712 if test $ac_cv_prog_gcc_traditional = yes; then
21713 CC="$CC -traditional"
21717 echo "$as_me:$LINENO: checking for working memcmp" >&5
21718 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21719 if test "${ac_cv_func_memcmp_working+set}" = set; then
21720 echo $ECHO_N "(cached) $ECHO_C" >&6
21722 if test "$cross_compiling" = yes; then
21723 ac_cv_func_memcmp_working=no
21725 cat >conftest.$ac_ext <<_ACEOF
21726 #line $LINENO "configure"
21729 cat confdefs.h >>conftest.$ac_ext
21730 cat >>conftest.$ac_ext <<_ACEOF
21731 /* end confdefs.h. */
21737 /* Some versions of memcmp are not 8-bit clean. */
21738 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21739 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21742 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21743 or more and with at least one buffer not starting on a 4-byte boundary.
21744 William Lewis provided this test program. */
21749 for (i = 0; i < 4; i++)
21753 strcpy (a, "--------01111111");
21754 strcpy (b, "--------10000000");
21755 if (memcmp (a, b, 16) >= 0)
21765 rm -f conftest$ac_exeext
21766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21767 (eval $ac_link) 2>&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21772 (eval $ac_try) 2>&5
21774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 (exit $ac_status); }; }; then
21776 ac_cv_func_memcmp_working=yes
21778 echo "$as_me: program exited with status $ac_status" >&5
21779 echo "$as_me: failed program was:" >&5
21780 sed 's/^/| /' conftest.$ac_ext >&5
21782 ( exit $ac_status )
21783 ac_cv_func_memcmp_working=no
21785 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21788 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21789 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21790 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21794 for ac_header in stdlib.h unistd.h
21796 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21798 echo "$as_me:$LINENO: checking for $ac_header" >&5
21799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21801 echo $ECHO_N "(cached) $ECHO_C" >&6
21803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21806 # Is the header compilable?
21807 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21808 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21809 cat >conftest.$ac_ext <<_ACEOF
21810 #line $LINENO "configure"
21813 cat confdefs.h >>conftest.$ac_ext
21814 cat >>conftest.$ac_ext <<_ACEOF
21815 /* end confdefs.h. */
21816 $ac_includes_default
21817 #include <$ac_header>
21819 rm -f conftest.$ac_objext
21820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21821 (eval $ac_compile) 2>&5
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); } &&
21825 { ac_try='test -s conftest.$ac_objext'
21826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21827 (eval $ac_try) 2>&5
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); }; }; then
21831 ac_header_compiler=yes
21833 echo "$as_me: failed program was:" >&5
21834 sed 's/^/| /' conftest.$ac_ext >&5
21836 ac_header_compiler=no
21838 rm -f conftest.$ac_objext conftest.$ac_ext
21839 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21840 echo "${ECHO_T}$ac_header_compiler" >&6
21842 # Is the header present?
21843 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21844 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21845 cat >conftest.$ac_ext <<_ACEOF
21846 #line $LINENO "configure"
21849 cat confdefs.h >>conftest.$ac_ext
21850 cat >>conftest.$ac_ext <<_ACEOF
21851 /* end confdefs.h. */
21852 #include <$ac_header>
21854 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21855 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21857 grep -v '^ *+' conftest.er1 >conftest.err
21859 cat conftest.err >&5
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); } >/dev/null; then
21862 if test -s conftest.err; then
21863 ac_cpp_err=$ac_c_preproc_warn_flag
21870 if test -z "$ac_cpp_err"; then
21871 ac_header_preproc=yes
21873 echo "$as_me: failed program was:" >&5
21874 sed 's/^/| /' conftest.$ac_ext >&5
21876 ac_header_preproc=no
21878 rm -f conftest.err conftest.$ac_ext
21879 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21880 echo "${ECHO_T}$ac_header_preproc" >&6
21882 # So? What about this header?
21883 case $ac_header_compiler:$ac_header_preproc in
21885 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21886 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21887 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21888 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21891 ## ------------------------------------ ##
21892 ## Report this to bug-autoconf@gnu.org. ##
21893 ## ------------------------------------ ##
21896 sed "s/^/$as_me: WARNING: /" >&2
21899 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21900 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21901 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21902 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21903 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21904 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21907 ## ------------------------------------ ##
21908 ## Report this to bug-autoconf@gnu.org. ##
21909 ## ------------------------------------ ##
21912 sed "s/^/$as_me: WARNING: /" >&2
21915 echo "$as_me:$LINENO: checking for $ac_header" >&5
21916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21918 echo $ECHO_N "(cached) $ECHO_C" >&6
21920 eval "$as_ac_Header=$ac_header_preproc"
21922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21926 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21927 cat >>confdefs.h <<_ACEOF
21928 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21936 for ac_func in getpagesize
21938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21939 echo "$as_me:$LINENO: checking for $ac_func" >&5
21940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21941 if eval "test \"\${$as_ac_var+set}\" = set"; then
21942 echo $ECHO_N "(cached) $ECHO_C" >&6
21944 cat >conftest.$ac_ext <<_ACEOF
21945 #line $LINENO "configure"
21948 cat confdefs.h >>conftest.$ac_ext
21949 cat >>conftest.$ac_ext <<_ACEOF
21950 /* end confdefs.h. */
21951 /* System header to define __stub macros and hopefully few prototypes,
21952 which can conflict with char $ac_func (); below.
21953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21954 <limits.h> exists even on freestanding compilers. */
21956 # include <limits.h>
21958 # include <assert.h>
21960 /* Override any gcc2 internal prototype to avoid an error. */
21965 /* We use char because int might match the return type of a gcc2
21966 builtin and then its argument prototype would still apply. */
21968 /* The GNU C library defines this for functions which it implements
21969 to always fail with ENOSYS. Some functions are actually named
21970 something starting with __ and the normal name is an alias. */
21971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21974 char (*f) () = $ac_func;
21983 return f != $ac_func;
21988 rm -f conftest.$ac_objext conftest$ac_exeext
21989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21990 (eval $ac_link) 2>&5
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); } &&
21994 { ac_try='test -s conftest$ac_exeext'
21995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21996 (eval $ac_try) 2>&5
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); }; }; then
22000 eval "$as_ac_var=yes"
22002 echo "$as_me: failed program was:" >&5
22003 sed 's/^/| /' conftest.$ac_ext >&5
22005 eval "$as_ac_var=no"
22007 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22011 if test `eval echo '${'$as_ac_var'}'` = yes; then
22012 cat >>confdefs.h <<_ACEOF
22013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22019 echo "$as_me:$LINENO: checking for working mmap" >&5
22020 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22021 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22022 echo $ECHO_N "(cached) $ECHO_C" >&6
22024 if test "$cross_compiling" = yes; then
22025 ac_cv_func_mmap_fixed_mapped=no
22027 cat >conftest.$ac_ext <<_ACEOF
22028 #line $LINENO "configure"
22031 cat confdefs.h >>conftest.$ac_ext
22032 cat >>conftest.$ac_ext <<_ACEOF
22033 /* end confdefs.h. */
22034 $ac_includes_default
22035 /* malloc might have been renamed as rpl_malloc. */
22038 /* Thanks to Mike Haertel and Jim Avera for this test.
22039 Here is a matrix of mmap possibilities:
22040 mmap private not fixed
22041 mmap private fixed at somewhere currently unmapped
22042 mmap private fixed at somewhere already mapped
22043 mmap shared not fixed
22044 mmap shared fixed at somewhere currently unmapped
22045 mmap shared fixed at somewhere already mapped
22046 For private mappings, we should verify that changes cannot be read()
22047 back from the file, nor mmap's back from the file at a different
22048 address. (There have been systems where private was not correctly
22049 implemented like the infamous i386 svr4.0, and systems where the
22050 VM page cache was not coherent with the file system buffer cache
22051 like early versions of FreeBSD and possibly contemporary NetBSD.)
22052 For shared mappings, we should conversely verify that changes get
22053 propagated back to all the places they're supposed to be.
22055 Grep wants private fixed already mapped.
22056 The main things grep needs to know about mmap are:
22057 * does it exist and is it safe to write into the mmap'd area
22058 * how to use it (BSD variants) */
22061 #include <sys/mman.h>
22063 #if !STDC_HEADERS && !HAVE_STDLIB_H
22067 /* This mess was copied from the GNU getpagesize.h. */
22068 #if !HAVE_GETPAGESIZE
22069 /* Assume that all systems that can run configure have sys/param.h. */
22070 # if !HAVE_SYS_PARAM_H
22071 # define HAVE_SYS_PARAM_H 1
22074 # ifdef _SC_PAGESIZE
22075 # define getpagesize() sysconf(_SC_PAGESIZE)
22076 # else /* no _SC_PAGESIZE */
22077 # if HAVE_SYS_PARAM_H
22078 # include <sys/param.h>
22079 # ifdef EXEC_PAGESIZE
22080 # define getpagesize() EXEC_PAGESIZE
22081 # else /* no EXEC_PAGESIZE */
22083 # define getpagesize() NBPG * CLSIZE
22086 # endif /* no CLSIZE */
22087 # else /* no NBPG */
22089 # define getpagesize() NBPC
22090 # else /* no NBPC */
22092 # define getpagesize() PAGESIZE
22093 # endif /* PAGESIZE */
22094 # endif /* no NBPC */
22095 # endif /* no NBPG */
22096 # endif /* no EXEC_PAGESIZE */
22097 # else /* no HAVE_SYS_PARAM_H */
22098 # define getpagesize() 8192 /* punt totally */
22099 # endif /* no HAVE_SYS_PARAM_H */
22100 # endif /* no _SC_PAGESIZE */
22102 #endif /* no HAVE_GETPAGESIZE */
22107 char *data, *data2, *data3;
22111 pagesize = getpagesize ();
22113 /* First, make a file with some known garbage in it. */
22114 data = (char *) malloc (pagesize);
22117 for (i = 0; i < pagesize; ++i)
22118 *(data + i) = rand ();
22120 fd = creat ("conftest.mmap", 0600);
22123 if (write (fd, data, pagesize) != pagesize)
22127 /* Next, try to mmap the file at a fixed address which already has
22128 something else allocated at it. If we can, also make sure that
22129 we see the same garbage. */
22130 fd = open ("conftest.mmap", O_RDWR);
22133 data2 = (char *) malloc (2 * pagesize);
22136 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22137 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22138 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22140 for (i = 0; i < pagesize; ++i)
22141 if (*(data + i) != *(data2 + i))
22144 /* Finally, make sure that changes to the mapped area do not
22145 percolate back to the file as seen by read(). (This is a bug on
22146 some variants of i386 svr4.0.) */
22147 for (i = 0; i < pagesize; ++i)
22148 *(data2 + i) = *(data2 + i) + 1;
22149 data3 = (char *) malloc (pagesize);
22152 if (read (fd, data3, pagesize) != pagesize)
22154 for (i = 0; i < pagesize; ++i)
22155 if (*(data + i) != *(data3 + i))
22161 rm -f conftest$ac_exeext
22162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22163 (eval $ac_link) 2>&5
22165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22166 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22168 (eval $ac_try) 2>&5
22170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22171 (exit $ac_status); }; }; then
22172 ac_cv_func_mmap_fixed_mapped=yes
22174 echo "$as_me: program exited with status $ac_status" >&5
22175 echo "$as_me: failed program was:" >&5
22176 sed 's/^/| /' conftest.$ac_ext >&5
22178 ( exit $ac_status )
22179 ac_cv_func_mmap_fixed_mapped=no
22181 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22184 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22185 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22186 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22188 cat >>confdefs.h <<\_ACEOF
22189 #define HAVE_MMAP 1
22193 rm -f conftest.mmap
22195 echo "$as_me:$LINENO: checking for mmap of files" >&5
22196 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22197 if test "${ac_cv_func_mmap_file+set}" = set; then
22198 echo $ECHO_N "(cached) $ECHO_C" >&6
22203 ac_cpp='$CPP $CPPFLAGS'
22204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22208 if test "$cross_compiling" = yes; then
22209 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22210 See \`config.log' for more details." >&5
22211 echo "$as_me: error: cannot run test program while cross compiling
22212 See \`config.log' for more details." >&2;}
22213 { (exit 1); exit 1; }; }
22215 cat >conftest.$ac_ext <<_ACEOF
22216 #line $LINENO "configure"
22219 cat confdefs.h >>conftest.$ac_ext
22220 cat >>conftest.$ac_ext <<_ACEOF
22221 /* end confdefs.h. */
22223 #ifdef HAVE_SYS_MMAN_H
22224 #include <sys/mman.h>
22227 #ifdef HAVE_SYS_TYPES_H
22228 #include <sys/types.h>
22231 #ifdef HAVE_FCNTL_H
22237 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22239 rm -f conftest$ac_exeext
22240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22241 (eval $ac_link) 2>&5
22243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22244 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22246 (eval $ac_try) 2>&5
22248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); }; }; then
22250 ac_cv_func_mmap_file=yes
22252 echo "$as_me: program exited with status $ac_status" >&5
22253 echo "$as_me: failed program was:" >&5
22254 sed 's/^/| /' conftest.$ac_ext >&5
22256 ( exit $ac_status )
22257 ac_cv_func_mmap_file=no
22259 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22262 ac_cpp='$CPP $CPPFLAGS'
22263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22269 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22270 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22271 if test "$ac_cv_func_mmap_file" = yes; then
22272 cat >>confdefs.h <<\_ACEOF
22273 #define HAVE_MMAP_FILE 1
22280 if test ${ac_cv_func_mmap_file} = "no"
22282 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22283 echo "$as_me: error: mmap() of files required but not found" >&2;}
22284 { (exit 1); exit 1; }; }
22286 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22287 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22288 if test "${ac_cv_header_mmap_anon+set}" = set; then
22289 echo $ECHO_N "(cached) $ECHO_C" >&6
22294 ac_cpp='$CPP $CPPFLAGS'
22295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22299 cat >conftest.$ac_ext <<_ACEOF
22300 #line $LINENO "configure"
22303 cat confdefs.h >>conftest.$ac_ext
22304 cat >>conftest.$ac_ext <<_ACEOF
22305 /* end confdefs.h. */
22306 #include <sys/mman.h>
22307 #include <unistd.h>
22312 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22317 rm -f conftest.$ac_objext
22318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22319 (eval $ac_compile) 2>&5
22321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 (exit $ac_status); } &&
22323 { ac_try='test -s conftest.$ac_objext'
22324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22325 (eval $ac_try) 2>&5
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); }; }; then
22329 ac_cv_header_mmap_anon=yes
22331 echo "$as_me: failed program was:" >&5
22332 sed 's/^/| /' conftest.$ac_ext >&5
22334 ac_cv_header_mmap_anon=no
22336 rm -f conftest.$ac_objext conftest.$ac_ext
22338 ac_cpp='$CPP $CPPFLAGS'
22339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22345 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22346 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22347 if test "$ac_cv_header_mmap_anon" = yes; then
22348 cat >>confdefs.h <<\_ACEOF
22349 #define HAVE_MMAP_ANONYMOUS 1
22354 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22355 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22356 if test "${ac_cv_type_signal+set}" = set; then
22357 echo $ECHO_N "(cached) $ECHO_C" >&6
22359 cat >conftest.$ac_ext <<_ACEOF
22360 #line $LINENO "configure"
22363 cat confdefs.h >>conftest.$ac_ext
22364 cat >>conftest.$ac_ext <<_ACEOF
22365 /* end confdefs.h. */
22366 #include <sys/types.h>
22367 #include <signal.h>
22372 extern "C" void (*signal (int, void (*)(int)))(int);
22374 void (*signal ()) ();
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_type_signal=void
22399 echo "$as_me: failed program was:" >&5
22400 sed 's/^/| /' conftest.$ac_ext >&5
22402 ac_cv_type_signal=int
22404 rm -f conftest.$ac_objext conftest.$ac_ext
22406 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22407 echo "${ECHO_T}$ac_cv_type_signal" >&6
22409 cat >>confdefs.h <<_ACEOF
22410 #define RETSIGTYPE $ac_cv_type_signal
22423 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
22425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22426 echo "$as_me:$LINENO: checking for $ac_func" >&5
22427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22428 if eval "test \"\${$as_ac_var+set}\" = set"; then
22429 echo $ECHO_N "(cached) $ECHO_C" >&6
22431 cat >conftest.$ac_ext <<_ACEOF
22432 #line $LINENO "configure"
22435 cat confdefs.h >>conftest.$ac_ext
22436 cat >>conftest.$ac_ext <<_ACEOF
22437 /* end confdefs.h. */
22438 /* System header to define __stub macros and hopefully few prototypes,
22439 which can conflict with char $ac_func (); below.
22440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22441 <limits.h> exists even on freestanding compilers. */
22443 # include <limits.h>
22445 # include <assert.h>
22447 /* Override any gcc2 internal prototype to avoid an error. */
22452 /* We use char because int might match the return type of a gcc2
22453 builtin and then its argument prototype would still apply. */
22455 /* The GNU C library defines this for functions which it implements
22456 to always fail with ENOSYS. Some functions are actually named
22457 something starting with __ and the normal name is an alias. */
22458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22461 char (*f) () = $ac_func;
22470 return f != $ac_func;
22475 rm -f conftest.$ac_objext conftest$ac_exeext
22476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22477 (eval $ac_link) 2>&5
22479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22480 (exit $ac_status); } &&
22481 { ac_try='test -s conftest$ac_exeext'
22482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22483 (eval $ac_try) 2>&5
22485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22486 (exit $ac_status); }; }; then
22487 eval "$as_ac_var=yes"
22489 echo "$as_me: failed program was:" >&5
22490 sed 's/^/| /' conftest.$ac_ext >&5
22492 eval "$as_ac_var=no"
22494 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22498 if test `eval echo '${'$as_ac_var'}'` = yes; then
22499 cat >>confdefs.h <<_ACEOF
22500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22508 echo "$as_me:$LINENO: checking for mmap" >&5
22509 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22510 if test "${ac_cv_func_mmap+set}" = set; then
22511 echo $ECHO_N "(cached) $ECHO_C" >&6
22513 cat >conftest.$ac_ext <<_ACEOF
22514 #line $LINENO "configure"
22517 cat confdefs.h >>conftest.$ac_ext
22518 cat >>conftest.$ac_ext <<_ACEOF
22519 /* end confdefs.h. */
22520 /* System header to define __stub macros and hopefully few prototypes,
22521 which can conflict with char mmap (); below.
22522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22523 <limits.h> exists even on freestanding compilers. */
22525 # include <limits.h>
22527 # include <assert.h>
22529 /* Override any gcc2 internal prototype to avoid an error. */
22534 /* We use char because int might match the return type of a gcc2
22535 builtin and then its argument prototype would still apply. */
22537 /* The GNU C library defines this for functions which it implements
22538 to always fail with ENOSYS. Some functions are actually named
22539 something starting with __ and the normal name is an alias. */
22540 #if defined (__stub_mmap) || defined (__stub___mmap)
22543 char (*f) () = mmap;
22557 rm -f conftest.$ac_objext conftest$ac_exeext
22558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22559 (eval $ac_link) 2>&5
22561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562 (exit $ac_status); } &&
22563 { ac_try='test -s conftest$ac_exeext'
22564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22565 (eval $ac_try) 2>&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); }; }; then
22569 ac_cv_func_mmap=yes
22571 echo "$as_me: failed program was:" >&5
22572 sed 's/^/| /' conftest.$ac_ext >&5
22576 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22578 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22579 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22580 if test $ac_cv_func_mmap = yes; then
22583 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22584 echo "$as_me: error: Function mmap() required but not found" >&2;}
22585 { (exit 1); exit 1; }; }
22588 echo "$as_me:$LINENO: checking for mprotect" >&5
22589 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22590 if test "${ac_cv_func_mprotect+set}" = set; then
22591 echo $ECHO_N "(cached) $ECHO_C" >&6
22593 cat >conftest.$ac_ext <<_ACEOF
22594 #line $LINENO "configure"
22597 cat confdefs.h >>conftest.$ac_ext
22598 cat >>conftest.$ac_ext <<_ACEOF
22599 /* end confdefs.h. */
22600 /* System header to define __stub macros and hopefully few prototypes,
22601 which can conflict with char mprotect (); below.
22602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22603 <limits.h> exists even on freestanding compilers. */
22605 # include <limits.h>
22607 # include <assert.h>
22609 /* Override any gcc2 internal prototype to avoid an error. */
22614 /* We use char because int might match the return type of a gcc2
22615 builtin and then its argument prototype would still apply. */
22617 /* The GNU C library defines this for functions which it implements
22618 to always fail with ENOSYS. Some functions are actually named
22619 something starting with __ and the normal name is an alias. */
22620 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22623 char (*f) () = mprotect;
22632 return f != mprotect;
22637 rm -f conftest.$ac_objext conftest$ac_exeext
22638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22639 (eval $ac_link) 2>&5
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); } &&
22643 { ac_try='test -s conftest$ac_exeext'
22644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22645 (eval $ac_try) 2>&5
22647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22648 (exit $ac_status); }; }; then
22649 ac_cv_func_mprotect=yes
22651 echo "$as_me: failed program was:" >&5
22652 sed 's/^/| /' conftest.$ac_ext >&5
22654 ac_cv_func_mprotect=no
22656 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22658 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22659 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22660 if test $ac_cv_func_mprotect = yes; then
22663 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22664 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22665 { (exit 1); exit 1; }; }
22670 # Check whether --enable-purify or --disable-purify was given.
22671 if test "${enable_purify+set}" = set; then
22672 enableval="$enable_purify"
22677 if test ${enableval} = "no"
22682 ENABLE_PURIFY=ENABLE_PURIFY=1
22686 # Check whether --enable-optimized or --disable-optimized was given.
22687 if test "${enable_optimized+set}" = set; then
22688 enableval="$enable_optimized"
22693 if test ${enableval} = "no"
22698 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22702 # Check whether --enable-spec or --disable-spec was given.
22703 if test "${enable_spec+set}" = set; then
22704 enableval="$enable_spec"
22709 if test ${enableval} = "no"
22714 USE_SPEC=USE_SPEC=1
22718 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22719 if test "${enable_precompiled_bytecode+set}" = set; then
22720 enableval="$enable_precompiled_bytecode"
22725 if test ${enableval} = "no"
22730 UPB=USE_PRECOMPILED_BYTECODE=1
22735 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22736 if test "${enable_llc_diffs+set}" = set; then
22737 enableval="$enable_llc_diffs"
22742 if test ${enableval} = "no"
22744 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22751 # Check whether --enable-jit or --disable-jit was given.
22752 if test "${enable_jit+set}" = set; then
22753 enableval="$enable_jit"
22759 if test ${enableval} = "no"
22766 JIT=TARGET_HAS_JIT=1
22770 JIT=TARGET_HAS_JIT=1
22782 # Check whether --with-spec or --without-spec was given.
22783 if test "${with_spec+set}" = set; then
22784 withval="$with_spec"
22788 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22793 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22794 if test "${with_llvmgccdir+set}" = set; then
22795 withval="$with_llvmgccdir"
22796 LLVMGCCDIR=$withval
22801 # Check whether --with-bcrepos or --without-bcrepos was given.
22802 if test "${with_bcrepos+set}" = set; then
22803 withval="$with_bcrepos"
22807 BCR=/home/vadve/lattner/LLVMPrograms
22812 # Check whether --with-papi or --without-papi was given.
22813 if test "${with_papi+set}" = set; then
22814 withval="$with_papi"
22818 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22823 # Check whether --with-purify or --without-purify was given.
22824 if test "${with_purify+set}" = set; then
22825 withval="$with_purify"
22831 ac_config_files="$ac_config_files Makefile.config"
22832 cat >confcache <<\_ACEOF
22833 # This file is a shell script that caches the results of configure
22834 # tests run on this system so they can be shared between configure
22835 # scripts and configure runs, see configure's option --config-cache.
22836 # It is not useful on other systems. If it contains results you don't
22837 # want to keep, you may remove or edit it.
22839 # config.status only pays attention to the cache file if you give it
22840 # the --recheck option to rerun configure.
22842 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22843 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22844 # following values.
22848 # The following way of writing the cache mishandles newlines in values,
22849 # but we know of no workaround that is simple, portable, and efficient.
22850 # So, don't put newlines in cache variables' values.
22851 # Ultrix sh set writes to stderr and can't be redirected directly,
22852 # and sets the high bit in the cache file unless we assign to the vars.
22855 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22857 # `set' does not quote correctly, so add quotes (double-quote
22858 # substitution turns \\\\ into \\, and sed turns \\ into \).
22861 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22864 # `set' quotes correctly as required by POSIX, so do not add quotes.
22866 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22873 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22875 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22877 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22878 if test -w $cache_file; then
22879 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22880 cat confcache >$cache_file
22882 echo "not updating unwritable cache $cache_file"
22887 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22888 # Let make expand exec_prefix.
22889 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22891 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22892 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22893 # trailing colons and then remove the whole line if VPATH becomes empty
22894 # (actually we leave an empty line to preserve line numbers).
22895 if test "x$srcdir" = x.; then
22896 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22897 s/:*\$(srcdir):*/:/;
22898 s/:*\${srcdir}:*/:/;
22900 s/^\([^=]*=[ ]*\):*/\1/;
22906 DEFS=-DHAVE_CONFIG_H
22910 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22911 # 1. Remove the extension, and $U if already installed.
22912 ac_i=`echo "$ac_i" |
22913 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22915 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22916 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22918 LIBOBJS=$ac_libobjs
22920 LTLIBOBJS=$ac_ltlibobjs
22924 : ${CONFIG_STATUS=./config.status}
22925 ac_clean_files_save=$ac_clean_files
22926 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22927 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22928 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22929 cat >$CONFIG_STATUS <<_ACEOF
22931 # Generated by $as_me.
22932 # Run this file to recreate the current configuration.
22933 # Compiler output produced by configure, useful for debugging
22934 # configure, is in config.log if it exists.
22937 ac_cs_recheck=false
22939 SHELL=\${CONFIG_SHELL-$SHELL}
22942 cat >>$CONFIG_STATUS <<\_ACEOF
22943 ## --------------------- ##
22944 ## M4sh Initialization. ##
22945 ## --------------------- ##
22947 # Be Bourne compatible
22948 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22951 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22952 # is contrary to our usage. Disable this feature.
22953 alias -g '${1+"$@"}'='"$@"'
22954 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22958 # Support unset when possible.
22959 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22966 # Work around bugs in pre-3.0 UWIN ksh.
22967 $as_unset ENV MAIL MAILPATH
22974 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22975 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22976 LC_TELEPHONE LC_TIME
22978 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
22979 eval $as_var=C; export $as_var
22985 # Required to use basename.
22986 if expr a : '\(a\)' >/dev/null 2>&1; then
22992 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
22993 as_basename=basename
22999 # Name of the executable.
23000 as_me=`$as_basename "$0" ||
23001 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23002 X"$0" : 'X\(//\)$' \| \
23003 X"$0" : 'X\(/\)$' \| \
23004 . : '\(.\)' 2>/dev/null ||
23006 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23007 /^X\/\(\/\/\)$/{ s//\1/; q; }
23008 /^X\/\(\/\).*/{ s//\1/; q; }
23012 # PATH needs CR, and LINENO needs CR and PATH.
23013 # Avoid depending upon Character Ranges.
23014 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23015 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23016 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23017 as_cr_digits='0123456789'
23018 as_cr_alnum=$as_cr_Letters$as_cr_digits
23020 # The user is always right.
23021 if test "${PATH_SEPARATOR+set}" != set; then
23022 echo "#! /bin/sh" >conf$$.sh
23023 echo "exit 0" >>conf$$.sh
23025 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23034 as_lineno_1=$LINENO
23035 as_lineno_2=$LINENO
23036 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23037 test "x$as_lineno_1" != "x$as_lineno_2" &&
23038 test "x$as_lineno_3" = "x$as_lineno_2" || {
23039 # Find who we are. Look in the path if we contain no path at all
23042 *[\\/]* ) as_myself=$0 ;;
23043 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23044 for as_dir in $PATH
23047 test -z "$as_dir" && as_dir=.
23048 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23053 # We did not find ourselves, most probably we were run as `sh COMMAND'
23054 # in which case we are not to be found in the path.
23055 if test "x$as_myself" = x; then
23058 if test ! -f "$as_myself"; then
23059 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23060 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23061 { (exit 1); exit 1; }; }
23063 case $CONFIG_SHELL in
23065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23066 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23069 test -z "$as_dir" && as_dir=.
23070 for as_base in sh bash ksh sh5; do
23073 if ("$as_dir/$as_base" -c '
23074 as_lineno_1=$LINENO
23075 as_lineno_2=$LINENO
23076 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23077 test "x$as_lineno_1" != "x$as_lineno_2" &&
23078 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23079 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23080 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23081 CONFIG_SHELL=$as_dir/$as_base
23082 export CONFIG_SHELL
23083 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23091 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23092 # uniformly replaced by the line number. The first 'sed' inserts a
23093 # line-number line before each line; the second 'sed' does the real
23094 # work. The second script uses 'N' to pair each line-number line
23095 # with the numbered line, and appends trailing '-' during
23096 # substitution so that $LINENO is not a special case at line end.
23097 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23098 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23099 sed '=' <$as_myself |
23104 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23107 s,^['$as_cr_digits']*\n,,
23108 ' >$as_me.lineno &&
23109 chmod +x $as_me.lineno ||
23110 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23111 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23112 { (exit 1); exit 1; }; }
23114 # Don't try to exec as it changes $[0], causing all sort of problems
23115 # (the dirname of $[0] is not the place where we might find the
23116 # original and so on. Autoconf is especially sensible to this).
23118 # Exit status is that of the last command.
23123 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23124 *c*,-n*) ECHO_N= ECHO_C='
23126 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23127 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23130 if expr a : '\(a\)' >/dev/null 2>&1; then
23136 rm -f conf$$ conf$$.exe conf$$.file
23138 if ln -s conf$$.file conf$$ 2>/dev/null; then
23139 # We could just check for DJGPP; but this test a) works b) is more generic
23140 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23141 if test -f conf$$.exe; then
23142 # Don't use ln at all; we don't have any links
23147 elif ln conf$$.file conf$$ 2>/dev/null; then
23152 rm -f conf$$ conf$$.exe conf$$.file
23154 if mkdir -p . 2>/dev/null; then
23160 as_executable_p="test -f"
23162 # Sed expression to map a string onto a valid CPP name.
23163 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23165 # Sed expression to map a string onto a valid variable name.
23166 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23170 # We need space, tab and new line, in precisely that order.
23180 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23181 # report actual input values of CONFIG_FILES etc. instead of their
23182 # values after options handling. Logging --version etc. is OK.
23186 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23187 ## Running $as_me. ##
23192 This file was extended by [LLVM] $as_me [1.0], which was
23193 generated by GNU Autoconf 2.57. Invocation command line was
23195 CONFIG_FILES = $CONFIG_FILES
23196 CONFIG_HEADERS = $CONFIG_HEADERS
23197 CONFIG_LINKS = $CONFIG_LINKS
23198 CONFIG_COMMANDS = $CONFIG_COMMANDS
23202 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23206 # Files that config.status was made for.
23207 if test -n "$ac_config_files"; then
23208 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23211 if test -n "$ac_config_headers"; then
23212 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23215 if test -n "$ac_config_links"; then
23216 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23219 if test -n "$ac_config_commands"; then
23220 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23223 cat >>$CONFIG_STATUS <<\_ACEOF
23226 \`$as_me' instantiates files from templates according to the
23227 current configuration.
23229 Usage: $0 [OPTIONS] [FILE]...
23231 -h, --help print this help, then exit
23232 -V, --version print version number, then exit
23233 -q, --quiet do not print progress messages
23234 -d, --debug don't remove temporary files
23235 --recheck update $as_me by reconfiguring in the same conditions
23236 --file=FILE[:TEMPLATE]
23237 instantiate the configuration file FILE
23238 --header=FILE[:TEMPLATE]
23239 instantiate the configuration header FILE
23241 Configuration files:
23244 Configuration headers:
23247 Configuration commands:
23250 Report bugs to <bug-autoconf@gnu.org>."
23253 cat >>$CONFIG_STATUS <<_ACEOF
23255 [LLVM] config.status [1.0]
23256 configured by $0, generated by GNU Autoconf 2.57,
23257 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23259 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23260 Free Software Foundation, Inc.
23261 This config.status script is free software; the Free Software Foundation
23262 gives unlimited permission to copy, distribute and modify it."
23267 cat >>$CONFIG_STATUS <<\_ACEOF
23268 # If no file are specified by the user, then we need to provide default
23269 # value. By we need to know if files were specified by the user.
23275 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23276 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23284 *) # This is not an option, so the user has probably given explicit
23287 ac_need_defaults=false;;
23291 # Handling of the options.
23293 cat >>$CONFIG_STATUS <<\_ACEOF
23294 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23296 --version | --vers* | -V )
23297 echo "$ac_cs_version"; exit 0 ;;
23299 # Conflict between --help and --header
23300 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23301 Try \`$0 --help' for more information." >&5
23302 echo "$as_me: error: ambiguous option: $1
23303 Try \`$0 --help' for more information." >&2;}
23304 { (exit 1); exit 1; }; };;
23305 --help | --hel | -h )
23306 echo "$ac_cs_usage"; exit 0 ;;
23307 --debug | --d* | -d )
23309 --file | --fil | --fi | --f )
23311 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23312 ac_need_defaults=false;;
23313 --header | --heade | --head | --hea )
23315 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23316 ac_need_defaults=false;;
23317 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23318 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23321 # This is an error.
23322 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23323 Try \`$0 --help' for more information." >&5
23324 echo "$as_me: error: unrecognized option: $1
23325 Try \`$0 --help' for more information." >&2;}
23326 { (exit 1); exit 1; }; } ;;
23328 *) ac_config_targets="$ac_config_targets $1" ;;
23334 ac_configure_extra_args=
23336 if $ac_cs_silent; then
23338 ac_configure_extra_args="$ac_configure_extra_args --silent"
23342 cat >>$CONFIG_STATUS <<_ACEOF
23343 if \$ac_cs_recheck; then
23344 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23345 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23350 cat >>$CONFIG_STATUS <<_ACEOF
23352 # INIT-COMMANDS section.
23355 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23356 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23357 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23358 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23359 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23360 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23361 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23362 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23363 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23364 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23365 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23366 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23367 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23368 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23369 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23370 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23371 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23372 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23373 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23374 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23375 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23376 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23377 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23378 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23379 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23380 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23381 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23382 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23383 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23384 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23385 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23386 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23387 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23388 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23389 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23390 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23399 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23400 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23401 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23402 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23403 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23404 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23405 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTestDB/QMTest/llvm.py`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23415 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23416 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23417 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23418 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23419 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23420 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23421 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23422 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23423 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23453 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23454 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23455 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23456 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23457 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23458 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23459 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23460 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23461 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23462 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23463 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23464 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23465 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23466 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23467 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23468 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23469 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23470 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23471 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23472 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23473 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23474 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23475 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23476 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23477 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23478 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23479 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23480 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23481 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23482 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23483 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23484 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23485 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23486 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23487 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23488 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23489 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23490 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23491 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23492 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23493 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23494 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23495 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23496 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23497 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile`
23498 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile`
23499 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile`
23500 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/EH/Makefile`
23501 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23502 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23503 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23504 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23505 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23506 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23507 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23508 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23509 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23510 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23511 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23512 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23513 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23514 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23515 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23516 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23517 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23518 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23519 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23520 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23521 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23522 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23523 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23524 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23525 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23526 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23527 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23528 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23529 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23530 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23531 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23532 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23538 cat >>$CONFIG_STATUS <<\_ACEOF
23539 for ac_config_target in $ac_config_targets
23541 case "$ac_config_target" in
23542 # Handling of arguments.
23543 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23544 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23545 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23546 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23547 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23548 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23549 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23550 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23551 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23552 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23553 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23554 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23555 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23556 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23557 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23558 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23559 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23560 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23561 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23562 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23563 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23564 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23565 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23566 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23567 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23568 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23569 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23570 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23571 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23572 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23573 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23574 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23575 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23576 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23577 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23578 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23579 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23580 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23581 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23582 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23583 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23584 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23585 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23586 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23587 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23588 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23589 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23590 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23591 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23592 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23593 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23594 "test/QMTestDB/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTestDB/QMTest/llvm.py" ;;
23595 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23596 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23597 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23598 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23599 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23600 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23601 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23602 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23603 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23604 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23605 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23606 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23607 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23608 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23609 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23610 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23611 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23612 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23613 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23614 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23615 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23616 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23617 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23618 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23619 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23620 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23621 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23622 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23623 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23624 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23625 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23626 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23627 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23628 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23629 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23630 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23631 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23632 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23633 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23634 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23635 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23636 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23637 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23638 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23639 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23640 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23641 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23642 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23643 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23644 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23645 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23646 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23647 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23648 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23649 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23650 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23651 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23652 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23653 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23654 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23655 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23656 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23657 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23658 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23659 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23660 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23661 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23662 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23663 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23664 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23665 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23666 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23667 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23668 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23669 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23670 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23671 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23672 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23673 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23674 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23675 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23676 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23677 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23678 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23679 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23680 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23681 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23682 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23683 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23684 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23685 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23686 "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;;
23687 "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;;
23688 "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;;
23689 "test/Programs/SingleSource/Regression/C++/EH/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/EH/Makefile" ;;
23690 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23691 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23692 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23693 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23694 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23695 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23696 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23697 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23698 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23699 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23700 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23701 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23702 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
23703 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23704 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23705 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23706 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23707 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23708 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23709 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23710 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23711 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23712 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23713 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23714 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23715 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23716 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23717 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23718 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23719 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23720 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23721 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23722 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23723 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23724 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23725 { (exit 1); exit 1; }; };;
23729 # If the user did not use the arguments to specify the items to instantiate,
23730 # then the envvar interface is used. Set only those that are not.
23731 # We use the long form for the default assignment because of an extremely
23732 # bizarre bug on SunOS 4.1.3.
23733 if $ac_need_defaults; then
23734 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23735 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23736 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23739 # Have a temporary directory for convenience. Make it in the build tree
23740 # simply because there is no reason to put it here, and in addition,
23741 # creating and moving files from /tmp can sometimes cause problems.
23742 # Create a temporary directory, and hook for its removal unless debugging.
23745 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23746 trap '{ (exit 1); exit 1; }' 1 2 13 15
23749 # Create a (secure) tmp directory for tmp files.
23752 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23753 test -n "$tmp" && test -d "$tmp"
23756 tmp=./confstat$$-$RANDOM
23757 (umask 077 && mkdir $tmp)
23760 echo "$me: cannot create a temporary directory in ." >&2
23761 { (exit 1); exit 1; }
23766 cat >>$CONFIG_STATUS <<_ACEOF
23769 # CONFIG_FILES section.
23772 # No need to generate the scripts if there are no CONFIG_FILES.
23773 # This happens for instance when ./config.status config.h
23774 if test -n "\$CONFIG_FILES"; then
23775 # Protect against being on the right side of a sed subst in config.status.
23776 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23777 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23778 s,@SHELL@,$SHELL,;t t
23779 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23780 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23781 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23782 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23783 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23784 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23785 s,@exec_prefix@,$exec_prefix,;t t
23786 s,@prefix@,$prefix,;t t
23787 s,@program_transform_name@,$program_transform_name,;t t
23788 s,@bindir@,$bindir,;t t
23789 s,@sbindir@,$sbindir,;t t
23790 s,@libexecdir@,$libexecdir,;t t
23791 s,@datadir@,$datadir,;t t
23792 s,@sysconfdir@,$sysconfdir,;t t
23793 s,@sharedstatedir@,$sharedstatedir,;t t
23794 s,@localstatedir@,$localstatedir,;t t
23795 s,@libdir@,$libdir,;t t
23796 s,@includedir@,$includedir,;t t
23797 s,@oldincludedir@,$oldincludedir,;t t
23798 s,@infodir@,$infodir,;t t
23799 s,@mandir@,$mandir,;t t
23800 s,@build_alias@,$build_alias,;t t
23801 s,@host_alias@,$host_alias,;t t
23802 s,@target_alias@,$target_alias,;t t
23803 s,@DEFS@,$DEFS,;t t
23804 s,@ECHO_C@,$ECHO_C,;t t
23805 s,@ECHO_N@,$ECHO_N,;t t
23806 s,@ECHO_T@,$ECHO_T,;t t
23807 s,@LIBS@,$LIBS,;t t
23808 s,@subdirs@,$subdirs,;t t
23809 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23810 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23811 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23812 s,@build@,$build,;t t
23813 s,@build_cpu@,$build_cpu,;t t
23814 s,@build_vendor@,$build_vendor,;t t
23815 s,@build_os@,$build_os,;t t
23816 s,@host@,$host,;t t
23817 s,@host_cpu@,$host_cpu,;t t
23818 s,@host_vendor@,$host_vendor,;t t
23819 s,@host_os@,$host_os,;t t
23820 s,@target@,$target,;t t
23821 s,@target_cpu@,$target_cpu,;t t
23822 s,@target_vendor@,$target_vendor,;t t
23823 s,@target_os@,$target_os,;t t
23825 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23826 s,@ARCH@,$ARCH,;t t
23828 s,@CXXFLAGS@,$CXXFLAGS,;t t
23829 s,@LDFLAGS@,$LDFLAGS,;t t
23830 s,@CPPFLAGS@,$CPPFLAGS,;t t
23831 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23832 s,@EXEEXT@,$EXEEXT,;t t
23833 s,@OBJEXT@,$OBJEXT,;t t
23835 s,@CFLAGS@,$CFLAGS,;t t
23836 s,@ac_ct_CC@,$ac_ct_CC,;t t
23838 s,@ifGNUmake@,$ifGNUmake,;t t
23840 s,@LEXLIB@,$LEXLIB,;t t
23841 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23842 s,@YACC@,$YACC,;t t
23843 s,@EGREP@,$EGREP,;t t
23844 s,@LN_S@,$LN_S,;t t
23845 s,@ECHO@,$ECHO,;t t
23847 s,@ac_ct_AR@,$ac_ct_AR,;t t
23848 s,@RANLIB@,$RANLIB,;t t
23849 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23850 s,@STRIP@,$STRIP,;t t
23851 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23852 s,@CXXCPP@,$CXXCPP,;t t
23854 s,@FFLAGS@,$FFLAGS,;t t
23855 s,@ac_ct_F77@,$ac_ct_F77,;t t
23856 s,@LIBTOOL@,$LIBTOOL,;t t
23857 s,@RPWD@,$RPWD,;t t
23860 s,@MKDIR@,$MKDIR,;t t
23861 s,@DATE@,$DATE,;t t
23864 s,@ETAGS@,$ETAGS,;t t
23865 s,@PYTHON@,$PYTHON,;t t
23866 s,@QMTEST@,$QMTEST,;t t
23867 s,@ALLOCA@,$ALLOCA,;t t
23868 s,@LIBOBJS@,$LIBOBJS,;t t
23869 s,@MMAP_FILE@,$MMAP_FILE,;t t
23870 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23871 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23872 s,@USE_SPEC@,$USE_SPEC,;t t
23874 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23876 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23878 s,@PAPIDIR@,$PAPIDIR,;t t
23879 s,@PURIFY@,$PURIFY,;t t
23880 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23885 cat >>$CONFIG_STATUS <<\_ACEOF
23886 # Split the substitutions into bite-sized pieces for seds with
23887 # small command number limits, like on Digital OSF/1 and HP-UX.
23888 ac_max_sed_lines=48
23889 ac_sed_frag=1 # Number of current file.
23890 ac_beg=1 # First line for current file.
23891 ac_end=$ac_max_sed_lines # Line after last line for current file.
23894 while $ac_more_lines; do
23895 if test $ac_beg -gt 1; then
23896 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23898 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23900 if test ! -s $tmp/subs.frag; then
23901 ac_more_lines=false
23903 # The purpose of the label and of the branching condition is to
23904 # speed up the sed processing (if there are no `@' at all, there
23905 # is no need to browse any of the substitutions).
23906 # These are the two extra sed commands mentioned above.
23908 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23909 if test -z "$ac_sed_cmds"; then
23910 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23912 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23914 ac_sed_frag=`expr $ac_sed_frag + 1`
23916 ac_end=`expr $ac_end + $ac_max_sed_lines`
23919 if test -z "$ac_sed_cmds"; then
23922 fi # test -n "$CONFIG_FILES"
23925 cat >>$CONFIG_STATUS <<\_ACEOF
23926 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23927 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23929 - | *:- | *:-:* ) # input from stdin
23931 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23932 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23933 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23934 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23935 * ) ac_file_in=$ac_file.in ;;
23938 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23939 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23940 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23941 X"$ac_file" : 'X\(//\)[^/]' \| \
23942 X"$ac_file" : 'X\(//\)$' \| \
23943 X"$ac_file" : 'X\(/\)' \| \
23944 . : '\(.\)' 2>/dev/null ||
23946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23947 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23948 /^X\(\/\/\)$/{ s//\1/; q; }
23949 /^X\(\/\).*/{ s//\1/; q; }
23951 { if $as_mkdir_p; then
23956 while test ! -d "$as_dir"; do
23957 as_dirs="$as_dir $as_dirs"
23958 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23959 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23960 X"$as_dir" : 'X\(//\)[^/]' \| \
23961 X"$as_dir" : 'X\(//\)$' \| \
23962 X"$as_dir" : 'X\(/\)' \| \
23963 . : '\(.\)' 2>/dev/null ||
23965 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23966 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23967 /^X\(\/\/\)$/{ s//\1/; q; }
23968 /^X\(\/\).*/{ s//\1/; q; }
23971 test ! -n "$as_dirs" || mkdir $as_dirs
23972 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23973 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23974 { (exit 1); exit 1; }; }; }
23978 if test "$ac_dir" != .; then
23979 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23980 # A "../" for each directory in $ac_dir_suffix.
23981 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23983 ac_dir_suffix= ac_top_builddir=
23987 .) # No --srcdir option. We are building in place.
23989 if test -z "$ac_top_builddir"; then
23992 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23994 [\\/]* | ?:[\\/]* ) # Absolute path.
23995 ac_srcdir=$srcdir$ac_dir_suffix;
23996 ac_top_srcdir=$srcdir ;;
23997 *) # Relative path.
23998 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23999 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24001 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24003 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24004 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24005 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24006 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24010 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24011 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24014 if test x"$ac_file" != x-; then
24015 { echo "$as_me:$LINENO: creating $ac_file" >&5
24016 echo "$as_me: creating $ac_file" >&6;}
24019 # Let's still pretend it is `configure' which instantiates (i.e., don't
24020 # use $as_me), people would be surprised to read:
24021 # /* config.h. Generated by config.status. */
24022 if test x"$ac_file" = x-; then
24025 configure_input="$ac_file. "
24027 configure_input=$configure_input"Generated from `echo $ac_file_in |
24028 sed 's,.*/,,'` by configure."
24030 # First look for the input files in the build tree, otherwise in the
24032 ac_file_inputs=`IFS=:
24033 for f in $ac_file_in; do
24035 -) echo $tmp/stdin ;;
24037 # Absolute (can't be DOS-style, as IFS=:)
24038 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24039 echo "$as_me: error: cannot find input file: $f" >&2;}
24040 { (exit 1); exit 1; }; }
24043 if test -f "$f"; then
24046 elif test -f "$srcdir/$f"; then
24051 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24052 echo "$as_me: error: cannot find input file: $f" >&2;}
24053 { (exit 1); exit 1; }; }
24056 done` || { (exit 1); exit 1; }
24058 cat >>$CONFIG_STATUS <<_ACEOF
24062 cat >>$CONFIG_STATUS <<\_ACEOF
24064 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24065 s,@configure_input@,$configure_input,;t t
24066 s,@srcdir@,$ac_srcdir,;t t
24067 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24068 s,@top_srcdir@,$ac_top_srcdir,;t t
24069 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24070 s,@builddir@,$ac_builddir,;t t
24071 s,@abs_builddir@,$ac_abs_builddir,;t t
24072 s,@top_builddir@,$ac_top_builddir,;t t
24073 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24074 s,@INSTALL@,$ac_INSTALL,;t t
24075 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24077 if test x"$ac_file" != x-; then
24078 mv $tmp/out $ac_file
24086 cat >>$CONFIG_STATUS <<\_ACEOF
24089 # CONFIG_HEADER section.
24092 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24093 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24095 # ac_d sets the value in "#define NAME VALUE" lines.
24096 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24097 ac_dB='[ ].*$,\1#\2'
24100 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24101 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24102 ac_uB='$,\1#\2define\3'
24106 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24107 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24109 - | *:- | *:-:* ) # input from stdin
24111 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24112 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24113 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24114 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24115 * ) ac_file_in=$ac_file.in ;;
24118 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24119 echo "$as_me: creating $ac_file" >&6;}
24121 # First look for the input files in the build tree, otherwise in the
24123 ac_file_inputs=`IFS=:
24124 for f in $ac_file_in; do
24126 -) echo $tmp/stdin ;;
24128 # Absolute (can't be DOS-style, as IFS=:)
24129 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24130 echo "$as_me: error: cannot find input file: $f" >&2;}
24131 { (exit 1); exit 1; }; }
24134 if test -f "$f"; then
24137 elif test -f "$srcdir/$f"; then
24142 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24143 echo "$as_me: error: cannot find input file: $f" >&2;}
24144 { (exit 1); exit 1; }; }
24147 done` || { (exit 1); exit 1; }
24148 # Remove the trailing spaces.
24149 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24153 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24154 # `conftest.undefs', that substitutes the proper values into
24155 # config.h.in to produce config.h. The first handles `#define'
24156 # templates, and the second `#undef' templates.
24157 # And first: Protect against being on the right side of a sed subst in
24158 # config.status. Protect against being in an unquoted here document
24159 # in config.status.
24160 rm -f conftest.defines conftest.undefs
24161 # Using a here document instead of a string reduces the quoting nightmare.
24162 # Putting comments in sed scripts is not portable.
24164 # `end' is used to avoid that the second main sed command (meant for
24165 # 0-ary CPP macros) applies to n-ary macro definitions.
24166 # See the Autoconf documentation for `clear'.
24167 cat >confdef2sed.sed <<\_ACEOF
24172 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24174 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24177 # If some macros were called several times there might be several times
24178 # the same #defines, which is useless. Nevertheless, we may not want to
24179 # sort them, since we want the *last* AC-DEFINE to be honored.
24180 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24181 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24182 rm -f confdef2sed.sed
24184 # This sed command replaces #undef with comments. This is necessary, for
24185 # example, in the case of _POSIX_SOURCE, which is predefined and required
24186 # on some systems where configure will not decide to define it.
24187 cat >>conftest.undefs <<\_ACEOF
24188 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24191 # Break up conftest.defines because some shells have a limit on the size
24192 # of here documents, and old seds have small limits too (100 cmds).
24193 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24194 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24195 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24196 echo ' :' >>$CONFIG_STATUS
24197 rm -f conftest.tail
24198 while grep . conftest.defines >/dev/null
24200 # Write a limited-size here document to $tmp/defines.sed.
24201 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24202 # Speed up: don't consider the non `#define' lines.
24203 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24204 # Work around the forget-to-reset-the-flag bug.
24205 echo 't clr' >>$CONFIG_STATUS
24206 echo ': clr' >>$CONFIG_STATUS
24207 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24209 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24211 mv $tmp/out $tmp/in
24213 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24214 rm -f conftest.defines
24215 mv conftest.tail conftest.defines
24217 rm -f conftest.defines
24218 echo ' fi # grep' >>$CONFIG_STATUS
24219 echo >>$CONFIG_STATUS
24221 # Break up conftest.undefs because some shells have a limit on the size
24222 # of here documents, and old seds have small limits too (100 cmds).
24223 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24224 rm -f conftest.tail
24225 while grep . conftest.undefs >/dev/null
24227 # Write a limited-size here document to $tmp/undefs.sed.
24228 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24229 # Speed up: don't consider the non `#undef'
24230 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24231 # Work around the forget-to-reset-the-flag bug.
24232 echo 't clr' >>$CONFIG_STATUS
24233 echo ': clr' >>$CONFIG_STATUS
24234 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24236 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24238 mv $tmp/out $tmp/in
24240 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24241 rm -f conftest.undefs
24242 mv conftest.tail conftest.undefs
24244 rm -f conftest.undefs
24246 cat >>$CONFIG_STATUS <<\_ACEOF
24247 # Let's still pretend it is `configure' which instantiates (i.e., don't
24248 # use $as_me), people would be surprised to read:
24249 # /* config.h. Generated by config.status. */
24250 if test x"$ac_file" = x-; then
24251 echo "/* Generated by configure. */" >$tmp/config.h
24253 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24255 cat $tmp/in >>$tmp/config.h
24257 if test x"$ac_file" != x-; then
24258 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24259 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24260 echo "$as_me: $ac_file is unchanged" >&6;}
24262 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24263 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24264 X"$ac_file" : 'X\(//\)[^/]' \| \
24265 X"$ac_file" : 'X\(//\)$' \| \
24266 X"$ac_file" : 'X\(/\)' \| \
24267 . : '\(.\)' 2>/dev/null ||
24269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24270 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24271 /^X\(\/\/\)$/{ s//\1/; q; }
24272 /^X\(\/\).*/{ s//\1/; q; }
24274 { if $as_mkdir_p; then
24279 while test ! -d "$as_dir"; do
24280 as_dirs="$as_dir $as_dirs"
24281 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24282 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24283 X"$as_dir" : 'X\(//\)[^/]' \| \
24284 X"$as_dir" : 'X\(//\)$' \| \
24285 X"$as_dir" : 'X\(/\)' \| \
24286 . : '\(.\)' 2>/dev/null ||
24288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24289 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24290 /^X\(\/\/\)$/{ s//\1/; q; }
24291 /^X\(\/\).*/{ s//\1/; q; }
24294 test ! -n "$as_dirs" || mkdir $as_dirs
24295 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24296 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24297 { (exit 1); exit 1; }; }; }
24300 mv $tmp/config.h $ac_file
24304 rm -f $tmp/config.h
24308 cat >>$CONFIG_STATUS <<\_ACEOF
24311 # CONFIG_COMMANDS section.
24313 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24314 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24315 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24316 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24317 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24318 X"$ac_dest" : 'X\(//\)[^/]' \| \
24319 X"$ac_dest" : 'X\(//\)$' \| \
24320 X"$ac_dest" : 'X\(/\)' \| \
24321 . : '\(.\)' 2>/dev/null ||
24323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24324 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24325 /^X\(\/\/\)$/{ s//\1/; q; }
24326 /^X\(\/\).*/{ s//\1/; q; }
24330 if test "$ac_dir" != .; then
24331 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24332 # A "../" for each directory in $ac_dir_suffix.
24333 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24335 ac_dir_suffix= ac_top_builddir=
24339 .) # No --srcdir option. We are building in place.
24341 if test -z "$ac_top_builddir"; then
24344 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24346 [\\/]* | ?:[\\/]* ) # Absolute path.
24347 ac_srcdir=$srcdir$ac_dir_suffix;
24348 ac_top_srcdir=$srcdir ;;
24349 *) # Relative path.
24350 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24351 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24353 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24355 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24356 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24357 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24358 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24361 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24362 echo "$as_me: executing $ac_dest commands" >&6;}
24364 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24365 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24366 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24367 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24368 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24369 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24370 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24371 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24372 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24373 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24374 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24375 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24376 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24377 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24378 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24379 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24380 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24381 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24382 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24383 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24384 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24385 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24386 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24387 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24388 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24389 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24390 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24391 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24392 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24393 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24394 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24395 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24396 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24397 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24398 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24399 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24400 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24401 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24402 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24403 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24404 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24405 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24406 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24407 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24408 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24409 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24410 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24411 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24412 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24413 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24414 test/QMTestDB/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTestDB/QMTest/llvm.py test/QMTestDB/QMTest/llvm.py ;;
24415 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24416 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24417 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24418 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24419 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24420 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24421 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24422 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24423 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24424 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24425 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24426 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24427 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24428 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24429 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24430 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24431 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24432 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24433 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 ;;
24434 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 ;;
24435 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 ;;
24436 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 ;;
24437 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 ;;
24438 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 ;;
24439 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 ;;
24440 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 ;;
24441 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 ;;
24442 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 ;;
24443 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 ;;
24444 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 ;;
24445 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 ;;
24446 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 ;;
24447 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 ;;
24448 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 ;;
24449 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24450 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24451 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24452 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24453 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 ;;
24454 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 ;;
24455 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 ;;
24456 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24457 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 ;;
24458 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 ;;
24459 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 ;;
24460 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 ;;
24461 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 ;;
24462 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 ;;
24463 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 ;;
24464 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 ;;
24465 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 ;;
24466 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 ;;
24467 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 ;;
24468 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 ;;
24469 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 ;;
24470 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 ;;
24471 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 ;;
24472 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 ;;
24473 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 ;;
24474 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 ;;
24475 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 ;;
24476 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 ;;
24477 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 ;;
24478 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 ;;
24479 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 ;;
24480 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 ;;
24481 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 ;;
24482 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 ;;
24483 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 ;;
24484 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 ;;
24485 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 ;;
24486 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 ;;
24487 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 ;;
24488 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 ;;
24489 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24490 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24491 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24492 test/Programs/NoSource/Moria-5.5.2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Moria-5.5.2/Makefile test/Programs/NoSource/Moria-5.5.2/Makefile ;;
24493 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24494 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24495 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24496 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24497 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24498 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24499 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 ;;
24500 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 ;;
24501 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 ;;
24502 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 ;;
24503 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24504 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24505 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 ;;
24506 test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;;
24507 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 ;;
24508 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 ;;
24509 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 ;;
24510 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24511 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24512 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24513 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24514 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24515 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24516 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24517 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24518 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24519 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24520 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24521 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24522 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
24523 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24524 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24525 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24526 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24527 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24528 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24529 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24530 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24531 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24532 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24533 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24534 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24535 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24536 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24537 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24538 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24539 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24540 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24541 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24546 cat >>$CONFIG_STATUS <<\_ACEOF
24548 { (exit 0); exit 0; }
24550 chmod +x $CONFIG_STATUS
24551 ac_clean_files=$ac_clean_files_save
24554 # configure is writing to config.log, and then calls config.status.
24555 # config.status does its own redirection, appending to config.log.
24556 # Unfortunately, on DOS this fails, as config.log is still kept open
24557 # by configure, so config.status won't be able to write to it; its
24558 # output is simply discarded. So we exec the FD to /dev/null,
24559 # effectively closing config.log, so it can be properly (re)opened and
24560 # appended to by config.status. When coming back to configure, we
24561 # need to make the FD available again.
24562 if test "$no_create" != yes; then
24564 ac_config_status_args=
24565 test "$silent" = yes &&
24566 ac_config_status_args="$ac_config_status_args --quiet"
24568 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24570 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24571 # would make configure fail if this is the last instruction.
24572 $ac_cs_success || { (exit 1); exit 1; }
24576 # CONFIG_SUBDIRS section.
24578 if test "$no_recursion" != yes; then
24580 # Remove --cache-file and --srcdir arguments so they do not pile up.
24581 ac_sub_configure_args=
24583 for ac_arg in $ac_configure_args; do
24584 if test -n "$ac_prev"; then
24589 -cache-file | --cache-file | --cache-fil | --cache-fi \
24590 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
24591 ac_prev=cache_file ;;
24592 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
24593 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
24596 --config-cache | -C)
24598 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
24600 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
24602 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
24604 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
24606 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
24610 # Always prepend --prefix to ensure using the same prefix
24611 # in subdir configurations.
24612 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
24615 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
24617 # Do not complain, so a configure script can configure whichever
24618 # parts of a large source tree are present.
24619 test -d $srcdir/$ac_dir || continue
24621 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
24622 echo "$as_me: configuring in $ac_dir" >&6;}
24623 { if $as_mkdir_p; then
24628 while test ! -d "$as_dir"; do
24629 as_dirs="$as_dir $as_dirs"
24630 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24631 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24632 X"$as_dir" : 'X\(//\)[^/]' \| \
24633 X"$as_dir" : 'X\(//\)$' \| \
24634 X"$as_dir" : 'X\(/\)' \| \
24635 . : '\(.\)' 2>/dev/null ||
24637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24638 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24639 /^X\(\/\/\)$/{ s//\1/; q; }
24640 /^X\(\/\).*/{ s//\1/; q; }
24643 test ! -n "$as_dirs" || mkdir $as_dirs
24644 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24645 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24646 { (exit 1); exit 1; }; }; }
24650 if test "$ac_dir" != .; then
24651 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24652 # A "../" for each directory in $ac_dir_suffix.
24653 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24655 ac_dir_suffix= ac_top_builddir=
24659 .) # No --srcdir option. We are building in place.
24661 if test -z "$ac_top_builddir"; then
24664 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24666 [\\/]* | ?:[\\/]* ) # Absolute path.
24667 ac_srcdir=$srcdir$ac_dir_suffix;
24668 ac_top_srcdir=$srcdir ;;
24669 *) # Relative path.
24670 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24671 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24673 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24675 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24676 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24677 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24678 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24683 # Check for guested configure; otherwise get Cygnus style configure.
24684 if test -f $ac_srcdir/configure.gnu; then
24685 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
24686 elif test -f $ac_srcdir/configure; then
24687 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
24688 elif test -f $ac_srcdir/configure.in; then
24689 ac_sub_configure=$ac_configure
24691 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
24692 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
24696 # The recursion is here.
24697 if test -n "$ac_sub_configure"; then
24698 # Make the cache file name correct relative to the subdirectory.
24699 case $cache_file in
24700 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
24701 *) # Relative path.
24702 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
24705 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
24706 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
24707 # The eval makes quoting arguments work.
24708 eval $ac_sub_configure $ac_sub_configure_args \
24709 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
24710 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
24711 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
24712 { (exit 1); exit 1; }; }