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 PURIFY PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED USE_SPEC UPB DISABLE_LLC_DIFFS JIT SPEC_ROOT BCR PAPIDIR 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 test/Programs/SingleSource/Regression/C++/CompileFail/Makefile"
1983 ac_config_commands="$ac_config_commands tools/Makefile"
1986 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1989 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1992 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1995 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1998 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
2001 ac_config_commands="$ac_config_commands tools/llc/Makefile"
2004 ac_config_commands="$ac_config_commands tools/llee/Makefile"
2007 ac_config_commands="$ac_config_commands tools/lli/Makefile"
2010 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
2013 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
2016 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
2019 ac_config_commands="$ac_config_commands tools/llvm-link/Makefile"
2022 ac_config_commands="$ac_config_commands tools/opt/Makefile"
2025 ac_config_commands="$ac_config_commands www/docs/Makefile"
2028 ac_config_commands="$ac_config_commands projects/Makefile"
2031 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2034 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2037 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2040 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2043 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2046 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2049 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2052 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2055 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2058 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2061 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2064 ac_config_commands="$ac_config_commands support/Makefile"
2067 ac_config_commands="$ac_config_commands support/lib/Makefile"
2070 ac_config_commands="$ac_config_commands support/lib/Support/Makefile"
2073 ac_config_commands="$ac_config_commands support/tools/Makefile"
2076 ac_config_commands="$ac_config_commands support/tools/Burg/Makefile"
2079 ac_config_commands="$ac_config_commands support/tools/Burg/Doc/Makefile"
2082 ac_config_commands="$ac_config_commands support/tools/TableGen/Makefile"
2087 # Find a good install program. We prefer a C program (faster),
2088 # so one script is as good as another. But avoid the broken or
2089 # incompatible versions:
2090 # SysV /etc/install, /usr/sbin/install
2091 # SunOS /usr/etc/install
2092 # IRIX /sbin/install
2094 # AmigaOS /C/install, which installs bootblocks on floppy discs
2095 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2096 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2097 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2098 # ./install, which can be erroneously created by make from ./install.sh.
2099 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2100 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2101 if test -z "$INSTALL"; then
2102 if test "${ac_cv_path_install+set}" = set; then
2103 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2109 test -z "$as_dir" && as_dir=.
2110 # Account for people who put trailing slashes in PATH elements.
2112 ./ | .// | /cC/* | \
2113 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2116 # OSF1 and SCO ODT 3.0 have their own names for install.
2117 # Don't use installbsd from OSF since it installs stuff as root
2119 for ac_prog in ginstall scoinst install; do
2120 for ac_exec_ext in '' $ac_executable_extensions; do
2121 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2122 if test $ac_prog = install &&
2123 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2124 # AIX install. It has an incompatible calling convention.
2126 elif test $ac_prog = install &&
2127 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2128 # program-specific install script used by HP pwplus--don't use.
2131 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2143 if test "${ac_cv_path_install+set}" = set; then
2144 INSTALL=$ac_cv_path_install
2146 # As a last resort, use the slow shell script. We don't cache a
2147 # path for INSTALL within a source directory, because that will
2148 # break other packages using the cache if that directory is
2149 # removed, or if the path is relative.
2150 INSTALL=$ac_install_sh
2153 echo "$as_me:$LINENO: result: $INSTALL" >&5
2154 echo "${ECHO_T}$INSTALL" >&6
2156 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2157 # It thinks the first close brace ends the variable substitution.
2158 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2160 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2162 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2165 # Make sure we can run config.sub.
2166 $ac_config_sub sun4 >/dev/null 2>&1 ||
2167 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2168 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2169 { (exit 1); exit 1; }; }
2171 echo "$as_me:$LINENO: checking build system type" >&5
2172 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2173 if test "${ac_cv_build+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2176 ac_cv_build_alias=$build_alias
2177 test -z "$ac_cv_build_alias" &&
2178 ac_cv_build_alias=`$ac_config_guess`
2179 test -z "$ac_cv_build_alias" &&
2180 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2181 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2182 { (exit 1); exit 1; }; }
2183 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2184 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2185 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2186 { (exit 1); exit 1; }; }
2189 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2190 echo "${ECHO_T}$ac_cv_build" >&6
2192 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2193 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2194 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2197 echo "$as_me:$LINENO: checking host system type" >&5
2198 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2199 if test "${ac_cv_host+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2202 ac_cv_host_alias=$host_alias
2203 test -z "$ac_cv_host_alias" &&
2204 ac_cv_host_alias=$ac_cv_build_alias
2205 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2206 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2207 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2208 { (exit 1); exit 1; }; }
2211 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2212 echo "${ECHO_T}$ac_cv_host" >&6
2214 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2215 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2216 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2219 echo "$as_me:$LINENO: checking target system type" >&5
2220 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2221 if test "${ac_cv_target+set}" = set; then
2222 echo $ECHO_N "(cached) $ECHO_C" >&6
2224 ac_cv_target_alias=$target_alias
2225 test "x$ac_cv_target_alias" = "x" &&
2226 ac_cv_target_alias=$ac_cv_host_alias
2227 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2228 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2229 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2230 { (exit 1); exit 1; }; }
2233 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2234 echo "${ECHO_T}$ac_cv_target" >&6
2235 target=$ac_cv_target
2236 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2237 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2238 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2241 # The aliases save the names the user supplied, while $host etc.
2242 # will get canonicalized.
2243 test -n "$target_alias" &&
2244 test "$program_prefix$program_suffix$program_transform_name" = \
2246 program_prefix=${target_alias}-
2251 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2257 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2267 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2276 *sparc*solaris*) ARCH=Sparc
2283 ac_cpp='$CXXCPP $CPPFLAGS'
2284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2287 if test -n "$ac_tool_prefix"; then
2288 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2290 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2291 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2292 echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2294 if test "${ac_cv_prog_CXX+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 if test -n "$CXX"; then
2298 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir=.
2305 for ac_exec_ext in '' $ac_executable_extensions; do
2306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2307 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2317 if test -n "$CXX"; then
2318 echo "$as_me:$LINENO: result: $CXX" >&5
2319 echo "${ECHO_T}$CXX" >&6
2321 echo "$as_me:$LINENO: result: no" >&5
2322 echo "${ECHO_T}no" >&6
2325 test -n "$CXX" && break
2328 if test -z "$CXX"; then
2330 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2332 # Extract the first word of "$ac_prog", so it can be a program name with args.
2333 set dummy $ac_prog; ac_word=$2
2334 echo "$as_me:$LINENO: checking for $ac_word" >&5
2335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2336 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2339 if test -n "$ac_ct_CXX"; then
2340 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2346 test -z "$as_dir" && as_dir=.
2347 for ac_exec_ext in '' $ac_executable_extensions; do
2348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2349 ac_cv_prog_ac_ct_CXX="$ac_prog"
2350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2359 if test -n "$ac_ct_CXX"; then
2360 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2361 echo "${ECHO_T}$ac_ct_CXX" >&6
2363 echo "$as_me:$LINENO: result: no" >&5
2364 echo "${ECHO_T}no" >&6
2367 test -n "$ac_ct_CXX" && break
2369 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2375 # Provide some information about the compiler.
2376 echo "$as_me:$LINENO:" \
2377 "checking for C++ compiler version" >&5
2378 ac_compiler=`set X $ac_compile; echo $2`
2379 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2380 (eval $ac_compiler --version </dev/null >&5) 2>&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2384 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2385 (eval $ac_compiler -v </dev/null >&5) 2>&5
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); }
2389 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2390 (eval $ac_compiler -V </dev/null >&5) 2>&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); }
2395 cat >conftest.$ac_ext <<_ACEOF
2396 #line $LINENO "configure"
2399 cat confdefs.h >>conftest.$ac_ext
2400 cat >>conftest.$ac_ext <<_ACEOF
2401 /* end confdefs.h. */
2411 ac_clean_files_save=$ac_clean_files
2412 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2413 # Try to create an executable without -o first, disregard a.out.
2414 # It will help us diagnose broken compilers, and finding out an intuition
2416 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2417 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2418 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2419 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2420 (eval $ac_link_default) 2>&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }; then
2424 # Find the output, starting from the most likely. This scheme is
2425 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2428 # Be careful to initialize this variable, since it used to be cached.
2429 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2431 # b.out is created by i960 compilers.
2432 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2434 test -f "$ac_file" || continue
2436 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2439 # This is the source file.
2442 # We found the default executable, but exeext='' is most
2446 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2447 # FIXME: I believe we export ac_cv_exeext for Libtool,
2448 # but it would be cool to find out if it's true. Does anybody
2449 # maintain Libtool? --akim.
2457 echo "$as_me: failed program was:" >&5
2458 sed 's/^/| /' conftest.$ac_ext >&5
2460 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2461 See \`config.log' for more details." >&5
2462 echo "$as_me: error: C++ compiler cannot create executables
2463 See \`config.log' for more details." >&2;}
2464 { (exit 77); exit 77; }; }
2467 ac_exeext=$ac_cv_exeext
2468 echo "$as_me:$LINENO: result: $ac_file" >&5
2469 echo "${ECHO_T}$ac_file" >&6
2471 # Check the compiler produces executables we can run. If not, either
2472 # the compiler is broken, or we cross compile.
2473 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2474 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2475 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2476 # If not cross compiling, check that we can run a simple program.
2477 if test "$cross_compiling" != yes; then
2478 if { ac_try='./$ac_file'
2479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483 (exit $ac_status); }; }; then
2486 if test "$cross_compiling" = maybe; then
2489 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2490 If you meant to cross compile, use \`--host'.
2491 See \`config.log' for more details." >&5
2492 echo "$as_me: error: cannot run C++ compiled programs.
2493 If you meant to cross compile, use \`--host'.
2494 See \`config.log' for more details." >&2;}
2495 { (exit 1); exit 1; }; }
2499 echo "$as_me:$LINENO: result: yes" >&5
2500 echo "${ECHO_T}yes" >&6
2502 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2503 ac_clean_files=$ac_clean_files_save
2504 # Check the compiler produces executables we can run. If not, either
2505 # the compiler is broken, or we cross compile.
2506 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2507 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2508 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2509 echo "${ECHO_T}$cross_compiling" >&6
2511 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2512 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2514 (eval $ac_link) 2>&5
2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517 (exit $ac_status); }; then
2518 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2519 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2520 # work properly (i.e., refer to `conftest.exe'), while it won't with
2522 for ac_file in conftest.exe conftest conftest.*; do
2523 test -f "$ac_file" || continue
2525 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2526 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2533 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2534 See \`config.log' for more details." >&5
2535 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2536 See \`config.log' for more details." >&2;}
2537 { (exit 1); exit 1; }; }
2540 rm -f conftest$ac_cv_exeext
2541 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2542 echo "${ECHO_T}$ac_cv_exeext" >&6
2544 rm -f conftest.$ac_ext
2545 EXEEXT=$ac_cv_exeext
2547 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2548 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2549 if test "${ac_cv_objext+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 cat >conftest.$ac_ext <<_ACEOF
2553 #line $LINENO "configure"
2556 cat confdefs.h >>conftest.$ac_ext
2557 cat >>conftest.$ac_ext <<_ACEOF
2558 /* end confdefs.h. */
2568 rm -f conftest.o conftest.obj
2569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2570 (eval $ac_compile) 2>&5
2572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573 (exit $ac_status); }; then
2574 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2577 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2582 echo "$as_me: failed program was:" >&5
2583 sed 's/^/| /' conftest.$ac_ext >&5
2585 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2586 See \`config.log' for more details." >&5
2587 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2588 See \`config.log' for more details." >&2;}
2589 { (exit 1); exit 1; }; }
2592 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2594 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2595 echo "${ECHO_T}$ac_cv_objext" >&6
2596 OBJEXT=$ac_cv_objext
2598 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2599 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2600 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2601 echo $ECHO_N "(cached) $ECHO_C" >&6
2603 cat >conftest.$ac_ext <<_ACEOF
2604 #line $LINENO "configure"
2607 cat confdefs.h >>conftest.$ac_ext
2608 cat >>conftest.$ac_ext <<_ACEOF
2609 /* end confdefs.h. */
2622 rm -f conftest.$ac_objext
2623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2624 (eval $ac_compile) 2>&5
2626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627 (exit $ac_status); } &&
2628 { ac_try='test -s conftest.$ac_objext'
2629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); }; }; then
2636 echo "$as_me: failed program was:" >&5
2637 sed 's/^/| /' conftest.$ac_ext >&5
2641 rm -f conftest.$ac_objext conftest.$ac_ext
2642 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2645 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2646 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2647 GXX=`test $ac_compiler_gnu = yes && echo yes`
2648 ac_test_CXXFLAGS=${CXXFLAGS+set}
2649 ac_save_CXXFLAGS=$CXXFLAGS
2651 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2652 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2653 if test "${ac_cv_prog_cxx_g+set}" = set; then
2654 echo $ECHO_N "(cached) $ECHO_C" >&6
2656 cat >conftest.$ac_ext <<_ACEOF
2657 #line $LINENO "configure"
2660 cat confdefs.h >>conftest.$ac_ext
2661 cat >>conftest.$ac_ext <<_ACEOF
2662 /* end confdefs.h. */
2672 rm -f conftest.$ac_objext
2673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2674 (eval $ac_compile) 2>&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); } &&
2678 { ac_try='test -s conftest.$ac_objext'
2679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; }; then
2684 ac_cv_prog_cxx_g=yes
2686 echo "$as_me: failed program was:" >&5
2687 sed 's/^/| /' conftest.$ac_ext >&5
2691 rm -f conftest.$ac_objext conftest.$ac_ext
2693 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2694 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2695 if test "$ac_test_CXXFLAGS" = set; then
2696 CXXFLAGS=$ac_save_CXXFLAGS
2697 elif test $ac_cv_prog_cxx_g = yes; then
2698 if test "$GXX" = yes; then
2704 if test "$GXX" = yes; then
2710 for ac_declaration in \
2712 '#include <stdlib.h>' \
2713 'extern "C" void std::exit (int) throw (); using std::exit;' \
2714 'extern "C" void std::exit (int); using std::exit;' \
2715 'extern "C" void exit (int) throw ();' \
2716 'extern "C" void exit (int);' \
2719 cat >conftest.$ac_ext <<_ACEOF
2720 #line $LINENO "configure"
2723 cat confdefs.h >>conftest.$ac_ext
2724 cat >>conftest.$ac_ext <<_ACEOF
2725 /* end confdefs.h. */
2736 rm -f conftest.$ac_objext
2737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2738 (eval $ac_compile) 2>&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); } &&
2742 { ac_try='test -s conftest.$ac_objext'
2743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); }; }; then
2750 echo "$as_me: failed program was:" >&5
2751 sed 's/^/| /' conftest.$ac_ext >&5
2755 rm -f conftest.$ac_objext conftest.$ac_ext
2756 cat >conftest.$ac_ext <<_ACEOF
2757 #line $LINENO "configure"
2760 cat confdefs.h >>conftest.$ac_ext
2761 cat >>conftest.$ac_ext <<_ACEOF
2762 /* end confdefs.h. */
2772 rm -f conftest.$ac_objext
2773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2774 (eval $ac_compile) 2>&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); } &&
2778 { ac_try='test -s conftest.$ac_objext'
2779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; }; then
2786 echo "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2790 rm -f conftest.$ac_objext conftest.$ac_ext
2793 if test -n "$ac_declaration"; then
2794 echo '#ifdef __cplusplus' >>confdefs.h
2795 echo $ac_declaration >>confdefs.h
2796 echo '#endif' >>confdefs.h
2800 ac_cpp='$CPP $CPPFLAGS'
2801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2806 ac_cpp='$CPP $CPPFLAGS'
2807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2810 if test -n "$ac_tool_prefix"; then
2813 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2814 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2815 echo "$as_me:$LINENO: checking for $ac_word" >&5
2816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2817 if test "${ac_cv_prog_CC+set}" = set; then
2818 echo $ECHO_N "(cached) $ECHO_C" >&6
2820 if test -n "$CC"; then
2821 ac_cv_prog_CC="$CC" # Let the user override the test.
2823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2827 test -z "$as_dir" && as_dir=.
2828 for ac_exec_ext in '' $ac_executable_extensions; do
2829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2830 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2840 if test -n "$CC"; then
2841 echo "$as_me:$LINENO: result: $CC" >&5
2842 echo "${ECHO_T}$CC" >&6
2844 echo "$as_me:$LINENO: result: no" >&5
2845 echo "${ECHO_T}no" >&6
2848 test -n "$CC" && break
2851 if test -z "$CC"; then
2855 # Extract the first word of "$ac_prog", so it can be a program name with args.
2856 set dummy $ac_prog; ac_word=$2
2857 echo "$as_me:$LINENO: checking for $ac_word" >&5
2858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2859 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 if test -n "$ac_ct_CC"; then
2863 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2869 test -z "$as_dir" && as_dir=.
2870 for ac_exec_ext in '' $ac_executable_extensions; do
2871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2872 ac_cv_prog_ac_ct_CC="$ac_prog"
2873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2881 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2882 if test -n "$ac_ct_CC"; then
2883 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2884 echo "${ECHO_T}$ac_ct_CC" >&6
2886 echo "$as_me:$LINENO: result: no" >&5
2887 echo "${ECHO_T}no" >&6
2890 test -n "$ac_ct_CC" && break
2897 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2898 See \`config.log' for more details." >&5
2899 echo "$as_me: error: no acceptable C compiler found in \$PATH
2900 See \`config.log' for more details." >&2;}
2901 { (exit 1); exit 1; }; }
2903 # Provide some information about the compiler.
2904 echo "$as_me:$LINENO:" \
2905 "checking for C compiler version" >&5
2906 ac_compiler=`set X $ac_compile; echo $2`
2907 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2908 (eval $ac_compiler --version </dev/null >&5) 2>&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); }
2912 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2913 (eval $ac_compiler -v </dev/null >&5) 2>&5
2915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); }
2917 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2918 (eval $ac_compiler -V </dev/null >&5) 2>&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }
2923 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2924 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2925 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2926 echo $ECHO_N "(cached) $ECHO_C" >&6
2928 cat >conftest.$ac_ext <<_ACEOF
2929 #line $LINENO "configure"
2932 cat confdefs.h >>conftest.$ac_ext
2933 cat >>conftest.$ac_ext <<_ACEOF
2934 /* end confdefs.h. */
2947 rm -f conftest.$ac_objext
2948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2949 (eval $ac_compile) 2>&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); } &&
2953 { ac_try='test -s conftest.$ac_objext'
2954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }; }; then
2961 echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2966 rm -f conftest.$ac_objext conftest.$ac_ext
2967 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2970 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2971 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2972 GCC=`test $ac_compiler_gnu = yes && echo yes`
2973 ac_test_CFLAGS=${CFLAGS+set}
2974 ac_save_CFLAGS=$CFLAGS
2976 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2977 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2978 if test "${ac_cv_prog_cc_g+set}" = set; then
2979 echo $ECHO_N "(cached) $ECHO_C" >&6
2981 cat >conftest.$ac_ext <<_ACEOF
2982 #line $LINENO "configure"
2985 cat confdefs.h >>conftest.$ac_ext
2986 cat >>conftest.$ac_ext <<_ACEOF
2987 /* end confdefs.h. */
2997 rm -f conftest.$ac_objext
2998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2999 (eval $ac_compile) 2>&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); } &&
3003 { ac_try='test -s conftest.$ac_objext'
3004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }; }; then
3011 echo "$as_me: failed program was:" >&5
3012 sed 's/^/| /' conftest.$ac_ext >&5
3016 rm -f conftest.$ac_objext conftest.$ac_ext
3018 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3019 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3020 if test "$ac_test_CFLAGS" = set; then
3021 CFLAGS=$ac_save_CFLAGS
3022 elif test $ac_cv_prog_cc_g = yes; then
3023 if test "$GCC" = yes; then
3029 if test "$GCC" = yes; then
3035 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3036 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3037 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3038 echo $ECHO_N "(cached) $ECHO_C" >&6
3040 ac_cv_prog_cc_stdc=no
3042 cat >conftest.$ac_ext <<_ACEOF
3043 #line $LINENO "configure"
3046 cat confdefs.h >>conftest.$ac_ext
3047 cat >>conftest.$ac_ext <<_ACEOF
3048 /* end confdefs.h. */
3051 #include <sys/types.h>
3052 #include <sys/stat.h>
3053 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3054 struct buf { int x; };
3055 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3056 static char *e (p, i)
3062 static char *f (char * (*g) (char **, int), char **p, ...)
3067 s = g (p, va_arg (v,int));
3071 int test (int i, double x);
3072 struct s1 {int (*f) (int a);};
3073 struct s2 {int (*f) (double a);};
3074 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3080 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3085 # Don't try gcc -ansi; that turns off useful extensions and
3086 # breaks some systems' header files.
3087 # AIX -qlanglvl=ansi
3088 # Ultrix and OSF/1 -std1
3089 # HP-UX 10.20 and later -Ae
3090 # HP-UX older versions -Aa -D_HPUX_SOURCE
3091 # SVR4 -Xc -D__EXTENSIONS__
3092 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3094 CC="$ac_save_CC $ac_arg"
3095 rm -f conftest.$ac_objext
3096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3097 (eval $ac_compile) 2>&5
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); } &&
3101 { ac_try='test -s conftest.$ac_objext'
3102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); }; }; then
3107 ac_cv_prog_cc_stdc=$ac_arg
3110 echo "$as_me: failed program was:" >&5
3111 sed 's/^/| /' conftest.$ac_ext >&5
3114 rm -f conftest.$ac_objext
3116 rm -f conftest.$ac_ext conftest.$ac_objext
3121 case "x$ac_cv_prog_cc_stdc" in
3123 echo "$as_me:$LINENO: result: none needed" >&5
3124 echo "${ECHO_T}none needed" >&6 ;;
3126 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3127 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3128 CC="$CC $ac_cv_prog_cc_stdc" ;;
3131 # Some people use a C++ compiler to compile C. Since we use `exit',
3132 # in C++ we need to declare it. In case someone uses the same compiler
3133 # for both compiling C and C++ we need to have the C++ compiler decide
3134 # the declaration of exit, since it's the most demanding environment.
3135 cat >conftest.$ac_ext <<_ACEOF
3140 rm -f conftest.$ac_objext
3141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3142 (eval $ac_compile) 2>&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } &&
3146 { ac_try='test -s conftest.$ac_objext'
3147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); }; }; then
3152 for ac_declaration in \
3154 '#include <stdlib.h>' \
3155 'extern "C" void std::exit (int) throw (); using std::exit;' \
3156 'extern "C" void std::exit (int); using std::exit;' \
3157 'extern "C" void exit (int) throw ();' \
3158 'extern "C" void exit (int);' \
3161 cat >conftest.$ac_ext <<_ACEOF
3162 #line $LINENO "configure"
3165 cat confdefs.h >>conftest.$ac_ext
3166 cat >>conftest.$ac_ext <<_ACEOF
3167 /* end confdefs.h. */
3178 rm -f conftest.$ac_objext
3179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3180 (eval $ac_compile) 2>&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); } &&
3184 { ac_try='test -s conftest.$ac_objext'
3185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189 (exit $ac_status); }; }; then
3192 echo "$as_me: failed program was:" >&5
3193 sed 's/^/| /' conftest.$ac_ext >&5
3197 rm -f conftest.$ac_objext conftest.$ac_ext
3198 cat >conftest.$ac_ext <<_ACEOF
3199 #line $LINENO "configure"
3202 cat confdefs.h >>conftest.$ac_ext
3203 cat >>conftest.$ac_ext <<_ACEOF
3204 /* end confdefs.h. */
3214 rm -f conftest.$ac_objext
3215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3216 (eval $ac_compile) 2>&5
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); } &&
3220 { ac_try='test -s conftest.$ac_objext'
3221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225 (exit $ac_status); }; }; then
3228 echo "$as_me: failed program was:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3232 rm -f conftest.$ac_objext conftest.$ac_ext
3235 if test -n "$ac_declaration"; then
3236 echo '#ifdef __cplusplus' >>confdefs.h
3237 echo $ac_declaration >>confdefs.h
3238 echo '#endif' >>confdefs.h
3242 echo "$as_me: failed program was:" >&5
3243 sed 's/^/| /' conftest.$ac_ext >&5
3246 rm -f conftest.$ac_objext conftest.$ac_ext
3248 ac_cpp='$CPP $CPPFLAGS'
3249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3254 ac_cpp='$CPP $CPPFLAGS'
3255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3258 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3259 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3260 # On Suns, sometimes $CPP names a directory.
3261 if test -n "$CPP" && test -d "$CPP"; then
3264 if test -z "$CPP"; then
3265 if test "${ac_cv_prog_CPP+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3268 # Double quotes because CPP needs to be expanded
3269 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3272 for ac_c_preproc_warn_flag in '' yes
3274 # Use a header file that comes with gcc, so configuring glibc
3275 # with a fresh cross-compiler works.
3276 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3277 # <limits.h> exists even on freestanding compilers.
3278 # On the NeXT, cc -E runs the code through the compiler's parser,
3279 # not just through cpp. "Syntax error" is here to catch this case.
3280 cat >conftest.$ac_ext <<_ACEOF
3281 #line $LINENO "configure"
3284 cat confdefs.h >>conftest.$ac_ext
3285 cat >>conftest.$ac_ext <<_ACEOF
3286 /* end confdefs.h. */
3288 # include <limits.h>
3290 # include <assert.h>
3294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3295 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3297 grep -v '^ *+' conftest.er1 >conftest.err
3299 cat conftest.err >&5
3300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301 (exit $ac_status); } >/dev/null; then
3302 if test -s conftest.err; then
3303 ac_cpp_err=$ac_c_preproc_warn_flag
3310 if test -z "$ac_cpp_err"; then
3313 echo "$as_me: failed program was:" >&5
3314 sed 's/^/| /' conftest.$ac_ext >&5
3316 # Broken: fails on valid input.
3319 rm -f conftest.err conftest.$ac_ext
3321 # OK, works on sane cases. Now check whether non-existent headers
3322 # can be detected and how.
3323 cat >conftest.$ac_ext <<_ACEOF
3324 #line $LINENO "configure"
3327 cat confdefs.h >>conftest.$ac_ext
3328 cat >>conftest.$ac_ext <<_ACEOF
3329 /* end confdefs.h. */
3330 #include <ac_nonexistent.h>
3332 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3333 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3335 grep -v '^ *+' conftest.er1 >conftest.err
3337 cat conftest.err >&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); } >/dev/null; then
3340 if test -s conftest.err; then
3341 ac_cpp_err=$ac_c_preproc_warn_flag
3348 if test -z "$ac_cpp_err"; then
3349 # Broken: success on invalid input.
3352 echo "$as_me: failed program was:" >&5
3353 sed 's/^/| /' conftest.$ac_ext >&5
3355 # Passes both tests.
3359 rm -f conftest.err conftest.$ac_ext
3362 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3363 rm -f conftest.err conftest.$ac_ext
3364 if $ac_preproc_ok; then
3376 echo "$as_me:$LINENO: result: $CPP" >&5
3377 echo "${ECHO_T}$CPP" >&6
3379 for ac_c_preproc_warn_flag in '' yes
3381 # Use a header file that comes with gcc, so configuring glibc
3382 # with a fresh cross-compiler works.
3383 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3384 # <limits.h> exists even on freestanding compilers.
3385 # On the NeXT, cc -E runs the code through the compiler's parser,
3386 # not just through cpp. "Syntax error" is here to catch this case.
3387 cat >conftest.$ac_ext <<_ACEOF
3388 #line $LINENO "configure"
3391 cat confdefs.h >>conftest.$ac_ext
3392 cat >>conftest.$ac_ext <<_ACEOF
3393 /* end confdefs.h. */
3395 # include <limits.h>
3397 # include <assert.h>
3401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3402 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3404 grep -v '^ *+' conftest.er1 >conftest.err
3406 cat conftest.err >&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); } >/dev/null; then
3409 if test -s conftest.err; then
3410 ac_cpp_err=$ac_c_preproc_warn_flag
3417 if test -z "$ac_cpp_err"; then
3420 echo "$as_me: failed program was:" >&5
3421 sed 's/^/| /' conftest.$ac_ext >&5
3423 # Broken: fails on valid input.
3426 rm -f conftest.err conftest.$ac_ext
3428 # OK, works on sane cases. Now check whether non-existent headers
3429 # can be detected and how.
3430 cat >conftest.$ac_ext <<_ACEOF
3431 #line $LINENO "configure"
3434 cat confdefs.h >>conftest.$ac_ext
3435 cat >>conftest.$ac_ext <<_ACEOF
3436 /* end confdefs.h. */
3437 #include <ac_nonexistent.h>
3439 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3440 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3442 grep -v '^ *+' conftest.er1 >conftest.err
3444 cat conftest.err >&5
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446 (exit $ac_status); } >/dev/null; then
3447 if test -s conftest.err; then
3448 ac_cpp_err=$ac_c_preproc_warn_flag
3455 if test -z "$ac_cpp_err"; then
3456 # Broken: success on invalid input.
3459 echo "$as_me: failed program was:" >&5
3460 sed 's/^/| /' conftest.$ac_ext >&5
3462 # Passes both tests.
3466 rm -f conftest.err conftest.$ac_ext
3469 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3470 rm -f conftest.err conftest.$ac_ext
3471 if $ac_preproc_ok; then
3474 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3475 See \`config.log' for more details." >&5
3476 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3477 See \`config.log' for more details." >&2;}
3478 { (exit 1); exit 1; }; }
3482 ac_cpp='$CPP $CPPFLAGS'
3483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3488 if test "$GCC" != "yes"
3490 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3491 echo "$as_me: error: gcc required but not found" >&2;}
3492 { (exit 1); exit 1; }; }
3495 if test "$GXX" != "yes"
3497 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3498 echo "$as_me: error: g++ required but not found" >&2;}
3499 { (exit 1); exit 1; }; }
3502 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3503 if test "$gccmajor" -lt "3"
3505 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3506 echo "$as_me: error: gcc 3.x required" >&2;}
3507 { (exit 1); exit 1; }; }
3510 echo "$as_me:$LINENO: checking for GNU make" >&5
3511 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3512 if test "${_cv_gnu_make_command+set}" = set; then
3513 echo $ECHO_N "(cached) $ECHO_C" >&6
3515 _cv_gnu_make_command='' ;
3516 for a in "$MAKE" make gmake gnumake ; do
3517 if test -z "$a" ; then continue ; fi ;
3518 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3519 _cv_gnu_make_command=$a ;
3525 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3526 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3527 if test "x$_cv_gnu_make_command" != "x" ; then
3531 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3532 echo "${ECHO_T}\"Not found\"" >&6;
3536 if test -z "$_cv_gnu_make_command"
3538 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3539 echo "$as_me: error: GNU Make required but not found" >&2;}
3540 { (exit 1); exit 1; }; }
3544 echo "$as_me:$LINENO: checking " >&5
3545 echo $ECHO_N "checking ... $ECHO_C" >&6
3546 if test "${ac_cv_has_flex+set}" = set; then
3547 echo $ECHO_N "(cached) $ECHO_C" >&6
3549 for ac_prog in flex lex
3551 # Extract the first word of "$ac_prog", so it can be a program name with args.
3552 set dummy $ac_prog; ac_word=$2
3553 echo "$as_me:$LINENO: checking for $ac_word" >&5
3554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3555 if test "${ac_cv_prog_LEX+set}" = set; then
3556 echo $ECHO_N "(cached) $ECHO_C" >&6
3558 if test -n "$LEX"; then
3559 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3565 test -z "$as_dir" && as_dir=.
3566 for ac_exec_ext in '' $ac_executable_extensions; do
3567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3568 ac_cv_prog_LEX="$ac_prog"
3569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3578 if test -n "$LEX"; then
3579 echo "$as_me:$LINENO: result: $LEX" >&5
3580 echo "${ECHO_T}$LEX" >&6
3582 echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6
3586 test -n "$LEX" && break
3588 test -n "$LEX" || LEX=":"
3590 if test -z "$LEXLIB"
3592 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3593 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3594 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3595 echo $ECHO_N "(cached) $ECHO_C" >&6
3597 ac_check_lib_save_LIBS=$LIBS
3599 cat >conftest.$ac_ext <<_ACEOF
3600 #line $LINENO "configure"
3603 cat confdefs.h >>conftest.$ac_ext
3604 cat >>conftest.$ac_ext <<_ACEOF
3605 /* end confdefs.h. */
3607 /* Override any gcc2 internal prototype to avoid an error. */
3611 /* We use char because int might match the return type of a gcc2
3612 builtin and then its argument prototype would still apply. */
3622 rm -f conftest.$ac_objext conftest$ac_exeext
3623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3624 (eval $ac_link) 2>&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); } &&
3628 { ac_try='test -s conftest$ac_exeext'
3629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); }; }; then
3634 ac_cv_lib_fl_yywrap=yes
3636 echo "$as_me: failed program was:" >&5
3637 sed 's/^/| /' conftest.$ac_ext >&5
3639 ac_cv_lib_fl_yywrap=no
3641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3642 LIBS=$ac_check_lib_save_LIBS
3644 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3645 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3646 if test $ac_cv_lib_fl_yywrap = yes; then
3649 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3650 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3651 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3652 echo $ECHO_N "(cached) $ECHO_C" >&6
3654 ac_check_lib_save_LIBS=$LIBS
3656 cat >conftest.$ac_ext <<_ACEOF
3657 #line $LINENO "configure"
3660 cat confdefs.h >>conftest.$ac_ext
3661 cat >>conftest.$ac_ext <<_ACEOF
3662 /* end confdefs.h. */
3664 /* Override any gcc2 internal prototype to avoid an error. */
3668 /* We use char because int might match the return type of a gcc2
3669 builtin and then its argument prototype would still apply. */
3679 rm -f conftest.$ac_objext conftest$ac_exeext
3680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3681 (eval $ac_link) 2>&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); } &&
3685 { ac_try='test -s conftest$ac_exeext'
3686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); }; }; then
3691 ac_cv_lib_l_yywrap=yes
3693 echo "$as_me: failed program was:" >&5
3694 sed 's/^/| /' conftest.$ac_ext >&5
3696 ac_cv_lib_l_yywrap=no
3698 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3699 LIBS=$ac_check_lib_save_LIBS
3701 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3702 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3703 if test $ac_cv_lib_l_yywrap = yes; then
3711 if test "x$LEX" != "x:"; then
3712 echo "$as_me:$LINENO: checking lex output file root" >&5
3713 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3714 if test "${ac_cv_prog_lex_root+set}" = set; then
3715 echo $ECHO_N "(cached) $ECHO_C" >&6
3717 # The minimal lex program is just a single line: %%. But some broken lexes
3718 # (Solaris, I think it was) want two %% lines, so accommodate them.
3719 cat >conftest.l <<_ACEOF
3723 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3724 (eval $LEX conftest.l) 2>&5
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); }
3728 if test -f lex.yy.c; then
3729 ac_cv_prog_lex_root=lex.yy
3730 elif test -f lexyy.c; then
3731 ac_cv_prog_lex_root=lexyy
3733 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3734 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3735 { (exit 1); exit 1; }; }
3738 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3739 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3741 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3743 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3744 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3745 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3746 echo $ECHO_N "(cached) $ECHO_C" >&6
3748 # POSIX says lex can declare yytext either as a pointer or an array; the
3749 # default is implementation-dependent. Figure out which it is, since
3750 # not all implementations provide the %pointer and %array declarations.
3751 ac_cv_prog_lex_yytext_pointer=no
3752 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3754 LIBS="$LIBS $LEXLIB"
3755 cat >conftest.$ac_ext <<_ACEOF
3756 `cat $LEX_OUTPUT_ROOT.c`
3758 rm -f conftest.$ac_objext conftest$ac_exeext
3759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3760 (eval $ac_link) 2>&5
3762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 (exit $ac_status); } &&
3764 { ac_try='test -s conftest$ac_exeext'
3765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); }; }; then
3770 ac_cv_prog_lex_yytext_pointer=yes
3772 echo "$as_me: failed program was:" >&5
3773 sed 's/^/| /' conftest.$ac_ext >&5
3776 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3778 rm -f "${LEX_OUTPUT_ROOT}.c"
3781 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3782 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3783 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3785 cat >>confdefs.h <<\_ACEOF
3786 #define YYTEXT_POINTER 1
3794 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3795 echo "${ECHO_T}$ac_cv_has_flex" >&6
3796 if test "$LEX" != "flex"; then
3797 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3798 echo "$as_me: error: flex not found but required" >&2;}
3799 { (exit 1); exit 1; }; }
3802 echo "$as_me:$LINENO: checking " >&5
3803 echo $ECHO_N "checking ... $ECHO_C" >&6
3804 if test "${ac_cv_has_bison+set}" = set; then
3805 echo $ECHO_N "(cached) $ECHO_C" >&6
3807 for ac_prog in 'bison -y' byacc
3809 # Extract the first word of "$ac_prog", so it can be a program name with args.
3810 set dummy $ac_prog; ac_word=$2
3811 echo "$as_me:$LINENO: checking for $ac_word" >&5
3812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3813 if test "${ac_cv_prog_YACC+set}" = set; then
3814 echo $ECHO_N "(cached) $ECHO_C" >&6
3816 if test -n "$YACC"; then
3817 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3823 test -z "$as_dir" && as_dir=.
3824 for ac_exec_ext in '' $ac_executable_extensions; do
3825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3826 ac_cv_prog_YACC="$ac_prog"
3827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3835 YACC=$ac_cv_prog_YACC
3836 if test -n "$YACC"; then
3837 echo "$as_me:$LINENO: result: $YACC" >&5
3838 echo "${ECHO_T}$YACC" >&6
3840 echo "$as_me:$LINENO: result: no" >&5
3841 echo "${ECHO_T}no" >&6
3844 test -n "$YACC" && break
3846 test -n "$YACC" || YACC="yacc"
3850 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3851 echo "${ECHO_T}$ac_cv_has_bison" >&6
3852 if test "$YACC" != "bison -y"; then
3853 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3854 echo "$as_me: error: bison not found but required" >&2;}
3855 { (exit 1); exit 1; }; }
3862 # Check whether --enable-shared or --disable-shared was given.
3863 if test "${enable_shared+set}" = set; then
3864 enableval="$enable_shared"
3865 p=${PACKAGE-default}
3867 yes) enable_shared=yes ;;
3868 no) enable_shared=no ;;
3871 # Look at the argument we got. We use all the common list separators.
3872 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3873 for pkg in $enableval; do
3875 if test "X$pkg" = "X$p"; then
3886 # Check whether --enable-static or --disable-static was given.
3887 if test "${enable_static+set}" = set; then
3888 enableval="$enable_static"
3889 p=${PACKAGE-default}
3891 yes) enable_static=yes ;;
3892 no) enable_static=no ;;
3895 # Look at the argument we got. We use all the common list separators.
3896 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3897 for pkg in $enableval; do
3899 if test "X$pkg" = "X$p"; then
3910 # Check whether --enable-fast-install or --disable-fast-install was given.
3911 if test "${enable_fast_install+set}" = set; then
3912 enableval="$enable_fast_install"
3913 p=${PACKAGE-default}
3915 yes) enable_fast_install=yes ;;
3916 no) enable_fast_install=no ;;
3918 enable_fast_install=no
3919 # Look at the argument we got. We use all the common list separators.
3920 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3921 for pkg in $enableval; do
3923 if test "X$pkg" = "X$p"; then
3924 enable_fast_install=yes
3931 enable_fast_install=yes
3934 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3935 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3936 if test "${lt_cv_path_SED+set}" = set; then
3937 echo $ECHO_N "(cached) $ECHO_C" >&6
3939 # Loop through the user's path and test for sed and gsed.
3940 # Then use that list of sed's as ones to test for truncation.
3941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945 test -z "$as_dir" && as_dir=.
3946 for lt_ac_prog in sed gsed; do
3947 for ac_exec_ext in '' $ac_executable_extensions; do
3948 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3949 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3956 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3957 # along with /bin/sed that truncates output.
3958 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3959 test ! -f $lt_ac_sed && break
3960 cat /dev/null > conftest.in
3962 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3963 # Check for GNU sed and select it if it is found.
3964 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3965 lt_cv_path_SED=$lt_ac_sed
3969 cat conftest.in conftest.in >conftest.tmp
3970 mv conftest.tmp conftest.in
3971 cp conftest.in conftest.nl
3973 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3974 cmp -s conftest.out conftest.nl || break
3975 # 10000 chars as input seems more than enough
3976 test $lt_ac_count -gt 10 && break
3977 lt_ac_count=`expr $lt_ac_count + 1`
3978 if test $lt_ac_count -gt $lt_ac_max; then
3979 lt_ac_max=$lt_ac_count
3980 lt_cv_path_SED=$lt_ac_sed
3988 echo "$as_me:$LINENO: result: $SED" >&5
3989 echo "${ECHO_T}$SED" >&6
3991 echo "$as_me:$LINENO: checking for egrep" >&5
3992 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3993 if test "${ac_cv_prog_egrep+set}" = set; then
3994 echo $ECHO_N "(cached) $ECHO_C" >&6
3996 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3997 then ac_cv_prog_egrep='grep -E'
3998 else ac_cv_prog_egrep='egrep'
4001 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4002 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4003 EGREP=$ac_cv_prog_egrep
4007 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4008 if test "${with_gnu_ld+set}" = set; then
4009 withval="$with_gnu_ld"
4010 test "$withval" = no || with_gnu_ld=yes
4015 if test "$GCC" = yes; then
4016 # Check if gcc -print-prog-name=ld gives a path.
4017 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4018 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4021 # gcc leaves a trailing carriage return which upsets mingw
4022 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4024 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4027 # Accept absolute paths.
4029 re_direlt='/[^/][^/]*/\.\./'
4030 # Canonicalize the path of ld
4031 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4032 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4033 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4035 test -z "$LD" && LD="$ac_prog"
4038 # If it fails, then pretend we aren't using GCC.
4042 # If it is relative, then search for the first ld in PATH.
4046 elif test "$with_gnu_ld" = yes; then
4047 echo "$as_me:$LINENO: checking for GNU ld" >&5
4048 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4050 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4051 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4053 if test "${lt_cv_path_LD+set}" = set; then
4054 echo $ECHO_N "(cached) $ECHO_C" >&6
4056 if test -z "$LD"; then
4057 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4058 for ac_dir in $PATH; do
4060 test -z "$ac_dir" && ac_dir=.
4061 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4062 lt_cv_path_LD="$ac_dir/$ac_prog"
4063 # Check to see if the program is GNU ld. I'd rather use --version,
4064 # but apparently some GNU ld's only accept -v.
4065 # Break only if it was the GNU/non-GNU ld that we prefer.
4066 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4067 *GNU* | *'with BFD'*)
4068 test "$with_gnu_ld" != no && break
4071 test "$with_gnu_ld" != yes && break
4078 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4083 if test -n "$LD"; then
4084 echo "$as_me:$LINENO: result: $LD" >&5
4085 echo "${ECHO_T}$LD" >&6
4087 echo "$as_me:$LINENO: result: no" >&5
4088 echo "${ECHO_T}no" >&6
4090 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4091 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4092 { (exit 1); exit 1; }; }
4093 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4094 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4095 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4098 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4099 case `"$LD" -v 2>&1 </dev/null` in
4100 *GNU* | *'with BFD'*)
4101 lt_cv_prog_gnu_ld=yes
4104 lt_cv_prog_gnu_ld=no
4108 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4109 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4110 with_gnu_ld=$lt_cv_prog_gnu_ld
4113 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4114 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4115 if test "${lt_cv_ld_reload_flag+set}" = set; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4118 lt_cv_ld_reload_flag='-r'
4120 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4121 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4122 reload_flag=$lt_cv_ld_reload_flag
4123 case $reload_flag in
4125 *) reload_flag=" $reload_flag" ;;
4127 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4129 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4130 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4131 if test "${lt_cv_path_NM+set}" = set; then
4132 echo $ECHO_N "(cached) $ECHO_C" >&6
4134 if test -n "$NM"; then
4135 # Let the user override the test.
4138 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4139 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4141 test -z "$ac_dir" && ac_dir=.
4142 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4143 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4144 # Check to see if the nm accepts a BSD-compat flag.
4145 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4146 # nm: unknown option "B" ignored
4147 # Tru64's nm complains that /dev/null is an invalid object file
4148 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4149 */dev/null* | *'Invalid file or object type'*)
4150 lt_cv_path_NM="$tmp_nm -B"
4154 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4156 lt_cv_path_NM="$tmp_nm -p"
4160 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4161 continue # so that we can try to find one that supports BSD flags
4168 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4171 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4172 echo "${ECHO_T}$lt_cv_path_NM" >&6
4175 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4176 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4178 if test "$LN_S" = "ln -s"; then
4179 echo "$as_me:$LINENO: result: yes" >&5
4180 echo "${ECHO_T}yes" >&6
4182 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4183 echo "${ECHO_T}no, using $LN_S" >&6
4186 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4187 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4188 if test "${lt_cv_deplibs_check_method+set}" = set; then
4189 echo $ECHO_N "(cached) $ECHO_C" >&6
4191 lt_cv_file_magic_cmd='$MAGIC_CMD'
4192 lt_cv_file_magic_test_file=
4193 lt_cv_deplibs_check_method='unknown'
4194 # Need to set the preceding variable on all platforms that support
4195 # interlibrary dependencies.
4196 # 'none' -- dependencies not supported.
4197 # `unknown' -- same as none, but documents that we really don't know.
4198 # 'pass_all' -- all dependencies passed with no checks.
4199 # 'test_compile' -- check by making test program.
4200 # 'file_magic [[regex]]' -- check by looking for files in library path
4201 # which responds to the $file_magic_cmd with a given extended regex.
4202 # If you have `file' or equivalent on your system and you're not sure
4203 # whether `pass_all' will *always* work, you probably want this one.
4207 lt_cv_deplibs_check_method=pass_all
4211 lt_cv_deplibs_check_method=pass_all
4215 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4216 lt_cv_file_magic_cmd='/usr/bin/file -L'
4217 lt_cv_file_magic_test_file=/shlib/libc.so
4220 cygwin* | mingw* | pw32*)
4221 # win32_libid is a shell function defined in ltmain.sh
4222 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4223 lt_cv_file_magic_cmd='win32_libid'
4226 darwin* | rhapsody*)
4227 # this will be overwritten by pass_all, but leave it in just in case
4228 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4229 lt_cv_file_magic_cmd='/usr/bin/file -L'
4231 rhapsody* | darwin1.[012])
4232 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4235 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4238 lt_cv_deplibs_check_method=pass_all
4242 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4245 # Not sure whether the presence of OpenBSD here was a mistake.
4246 # Let's accept both of them until this is cleared up.
4247 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4248 lt_cv_file_magic_cmd=/usr/bin/file
4249 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4253 lt_cv_deplibs_check_method=pass_all
4258 lt_cv_deplibs_check_method=pass_all
4261 hpux10.20* | hpux11*)
4262 lt_cv_file_magic_cmd=/usr/bin/file
4265 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4266 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4269 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]'
4270 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4273 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4274 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4279 irix5* | irix6* | nonstopux*)
4281 irix5* | nonstopux*)
4282 # this will be overridden with pass_all, but let us keep it just in case
4283 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4287 *-32|*"-32 ") libmagic=32-bit;;
4288 *-n32|*"-n32 ") libmagic=N32;;
4289 *-64|*"-64 ") libmagic=64-bit;;
4290 *) libmagic=never-match;;
4292 # this will be overridden with pass_all, but let us keep it just in case
4293 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4296 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4297 lt_cv_deplibs_check_method=pass_all
4300 # This must be Linux ELF.
4303 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4304 lt_cv_deplibs_check_method=pass_all ;;
4306 # glibc up to 2.1.1 does not perform some relocations on ARM
4307 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4309 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4313 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4316 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4321 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4322 lt_cv_file_magic_cmd=/usr/bin/file
4323 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4327 lt_cv_deplibs_check_method=unknown
4331 lt_cv_file_magic_cmd=/usr/bin/file
4332 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4333 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4334 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4336 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4340 osf3* | osf4* | osf5*)
4341 # this will be overridden with pass_all, but let us keep it just in case
4342 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4343 lt_cv_file_magic_test_file=/shlib/libc.so
4344 lt_cv_deplibs_check_method=pass_all
4348 lt_cv_deplibs_check_method=pass_all
4352 lt_cv_deplibs_check_method=pass_all
4353 lt_cv_file_magic_test_file=/lib/libc.so
4356 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4357 case $host_vendor in
4359 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]'
4360 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4363 lt_cv_deplibs_check_method=pass_all
4366 lt_cv_file_magic_cmd='/bin/file'
4367 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4370 lt_cv_file_magic_cmd='/bin/file'
4371 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4372 lt_cv_file_magic_test_file=/lib/libc.so
4375 lt_cv_deplibs_check_method=pass_all
4380 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4381 lt_cv_deplibs_check_method=pass_all
4386 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4387 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4388 file_magic_cmd=$lt_cv_file_magic_cmd
4389 deplibs_check_method=$lt_cv_deplibs_check_method
4390 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4395 # If no C compiler was specified, use CC.
4398 # Allow CC to be a program name with arguments.
4401 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4402 if test "${enable_libtool_lock+set}" = set; then
4403 enableval="$enable_libtool_lock"
4406 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4408 # Some flags need to be propagated to the compiler or linker for good
4412 # Find out which ABI we are using.
4413 echo 'int i;' > conftest.$ac_ext
4414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4415 (eval $ac_compile) 2>&5
4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418 (exit $ac_status); }; then
4419 case `/usr/bin/file conftest.$ac_objext` in
4431 # Find out which ABI we are using.
4432 echo '#line 4432 "configure"' > conftest.$ac_ext
4433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4434 (eval $ac_compile) 2>&5
4436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4437 (exit $ac_status); }; then
4438 if test "$lt_cv_prog_gnu_ld" = yes; then
4439 case `/usr/bin/file conftest.$ac_objext` in
4441 LD="${LD-ld} -melf32bsmip"
4444 LD="${LD-ld} -melf32bmipn32"
4447 LD="${LD-ld} -melf64bmip"
4451 case `/usr/bin/file conftest.$ac_objext` in
4467 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4468 # Find out which ABI we are using.
4469 echo 'int i;' > conftest.$ac_ext
4470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4471 (eval $ac_compile) 2>&5
4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); }; then
4475 case "`/usr/bin/file conftest.o`" in
4479 LD="${LD-ld} -m elf_i386"
4482 LD="${LD-ld} -m elf32ppclinux"
4485 LD="${LD-ld} -m elf_s390"
4488 LD="${LD-ld} -m elf32_sparc"
4495 LD="${LD-ld} -m elf_x86_64"
4497 ppc*-*linux*|powerpc*-*linux*)
4498 LD="${LD-ld} -m elf64ppc"
4501 LD="${LD-ld} -m elf64_s390"
4504 LD="${LD-ld} -m elf64_sparc"
4514 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4515 SAVE_CFLAGS="$CFLAGS"
4516 CFLAGS="$CFLAGS -belf"
4517 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4518 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4519 if test "${lt_cv_cc_needs_belf+set}" = set; then
4520 echo $ECHO_N "(cached) $ECHO_C" >&6
4523 ac_cpp='$CPP $CPPFLAGS'
4524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4528 cat >conftest.$ac_ext <<_ACEOF
4529 #line $LINENO "configure"
4532 cat confdefs.h >>conftest.$ac_ext
4533 cat >>conftest.$ac_ext <<_ACEOF
4534 /* end confdefs.h. */
4544 rm -f conftest.$ac_objext conftest$ac_exeext
4545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4546 (eval $ac_link) 2>&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); } &&
4550 { ac_try='test -s conftest$ac_exeext'
4551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4555 (exit $ac_status); }; }; then
4556 lt_cv_cc_needs_belf=yes
4558 echo "$as_me: failed program was:" >&5
4559 sed 's/^/| /' conftest.$ac_ext >&5
4561 lt_cv_cc_needs_belf=no
4563 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4565 ac_cpp='$CPP $CPPFLAGS'
4566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4571 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4572 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4573 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4574 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4575 CFLAGS="$SAVE_CFLAGS"
4581 need_locks="$enable_libtool_lock"
4585 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4586 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4587 if test "${ac_cv_header_stdc+set}" = set; then
4588 echo $ECHO_N "(cached) $ECHO_C" >&6
4590 cat >conftest.$ac_ext <<_ACEOF
4591 #line $LINENO "configure"
4594 cat confdefs.h >>conftest.$ac_ext
4595 cat >>conftest.$ac_ext <<_ACEOF
4596 /* end confdefs.h. */
4610 rm -f conftest.$ac_objext
4611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4612 (eval $ac_compile) 2>&5
4614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4615 (exit $ac_status); } &&
4616 { ac_try='test -s conftest.$ac_objext'
4617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4621 (exit $ac_status); }; }; then
4622 ac_cv_header_stdc=yes
4624 echo "$as_me: failed program was:" >&5
4625 sed 's/^/| /' conftest.$ac_ext >&5
4627 ac_cv_header_stdc=no
4629 rm -f conftest.$ac_objext conftest.$ac_ext
4631 if test $ac_cv_header_stdc = yes; then
4632 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4633 cat >conftest.$ac_ext <<_ACEOF
4634 #line $LINENO "configure"
4637 cat confdefs.h >>conftest.$ac_ext
4638 cat >>conftest.$ac_ext <<_ACEOF
4639 /* end confdefs.h. */
4643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4644 $EGREP "memchr" >/dev/null 2>&1; then
4647 ac_cv_header_stdc=no
4653 if test $ac_cv_header_stdc = yes; then
4654 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4655 cat >conftest.$ac_ext <<_ACEOF
4656 #line $LINENO "configure"
4659 cat confdefs.h >>conftest.$ac_ext
4660 cat >>conftest.$ac_ext <<_ACEOF
4661 /* end confdefs.h. */
4665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4666 $EGREP "free" >/dev/null 2>&1; then
4669 ac_cv_header_stdc=no
4675 if test $ac_cv_header_stdc = yes; then
4676 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4677 if test "$cross_compiling" = yes; then
4680 cat >conftest.$ac_ext <<_ACEOF
4681 #line $LINENO "configure"
4684 cat confdefs.h >>conftest.$ac_ext
4685 cat >>conftest.$ac_ext <<_ACEOF
4686 /* end confdefs.h. */
4688 #if ((' ' & 0x0FF) == 0x020)
4689 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4690 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4692 # define ISLOWER(c) \
4693 (('a' <= (c) && (c) <= 'i') \
4694 || ('j' <= (c) && (c) <= 'r') \
4695 || ('s' <= (c) && (c) <= 'z'))
4696 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4699 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4704 for (i = 0; i < 256; i++)
4705 if (XOR (islower (i), ISLOWER (i))
4706 || toupper (i) != TOUPPER (i))
4711 rm -f conftest$ac_exeext
4712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4713 (eval $ac_link) 2>&5
4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); }; }; then
4724 echo "$as_me: program exited with status $ac_status" >&5
4725 echo "$as_me: failed program was:" >&5
4726 sed 's/^/| /' conftest.$ac_ext >&5
4729 ac_cv_header_stdc=no
4731 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4735 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4736 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4737 if test $ac_cv_header_stdc = yes; then
4739 cat >>confdefs.h <<\_ACEOF
4740 #define STDC_HEADERS 1
4745 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4755 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4756 inttypes.h stdint.h unistd.h
4758 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4759 echo "$as_me:$LINENO: checking for $ac_header" >&5
4760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4762 echo $ECHO_N "(cached) $ECHO_C" >&6
4764 cat >conftest.$ac_ext <<_ACEOF
4765 #line $LINENO "configure"
4768 cat confdefs.h >>conftest.$ac_ext
4769 cat >>conftest.$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4771 $ac_includes_default
4773 #include <$ac_header>
4775 rm -f conftest.$ac_objext
4776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4777 (eval $ac_compile) 2>&5
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 (exit $ac_status); } &&
4781 { ac_try='test -s conftest.$ac_objext'
4782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786 (exit $ac_status); }; }; then
4787 eval "$as_ac_Header=yes"
4789 echo "$as_me: failed program was:" >&5
4790 sed 's/^/| /' conftest.$ac_ext >&5
4792 eval "$as_ac_Header=no"
4794 rm -f conftest.$ac_objext conftest.$ac_ext
4796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4798 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4799 cat >>confdefs.h <<_ACEOF
4800 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4809 for ac_header in dlfcn.h
4811 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4813 echo "$as_me:$LINENO: checking for $ac_header" >&5
4814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4816 echo $ECHO_N "(cached) $ECHO_C" >&6
4818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4821 # Is the header compilable?
4822 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4823 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4824 cat >conftest.$ac_ext <<_ACEOF
4825 #line $LINENO "configure"
4828 cat confdefs.h >>conftest.$ac_ext
4829 cat >>conftest.$ac_ext <<_ACEOF
4830 /* end confdefs.h. */
4831 $ac_includes_default
4832 #include <$ac_header>
4834 rm -f conftest.$ac_objext
4835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4836 (eval $ac_compile) 2>&5
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); } &&
4840 { ac_try='test -s conftest.$ac_objext'
4841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); }; }; then
4846 ac_header_compiler=yes
4848 echo "$as_me: failed program was:" >&5
4849 sed 's/^/| /' conftest.$ac_ext >&5
4851 ac_header_compiler=no
4853 rm -f conftest.$ac_objext conftest.$ac_ext
4854 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4855 echo "${ECHO_T}$ac_header_compiler" >&6
4857 # Is the header present?
4858 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4859 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4860 cat >conftest.$ac_ext <<_ACEOF
4861 #line $LINENO "configure"
4864 cat confdefs.h >>conftest.$ac_ext
4865 cat >>conftest.$ac_ext <<_ACEOF
4866 /* end confdefs.h. */
4867 #include <$ac_header>
4869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4870 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4872 grep -v '^ *+' conftest.er1 >conftest.err
4874 cat conftest.err >&5
4875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876 (exit $ac_status); } >/dev/null; then
4877 if test -s conftest.err; then
4878 ac_cpp_err=$ac_c_preproc_warn_flag
4885 if test -z "$ac_cpp_err"; then
4886 ac_header_preproc=yes
4888 echo "$as_me: failed program was:" >&5
4889 sed 's/^/| /' conftest.$ac_ext >&5
4891 ac_header_preproc=no
4893 rm -f conftest.err conftest.$ac_ext
4894 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4895 echo "${ECHO_T}$ac_header_preproc" >&6
4897 # So? What about this header?
4898 case $ac_header_compiler:$ac_header_preproc in
4900 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4901 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4903 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4906 ## ------------------------------------ ##
4907 ## Report this to bug-autoconf@gnu.org. ##
4908 ## ------------------------------------ ##
4911 sed "s/^/$as_me: WARNING: /" >&2
4914 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4916 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4917 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4922 ## ------------------------------------ ##
4923 ## Report this to bug-autoconf@gnu.org. ##
4924 ## ------------------------------------ ##
4927 sed "s/^/$as_me: WARNING: /" >&2
4930 echo "$as_me:$LINENO: checking for $ac_header" >&5
4931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4933 echo $ECHO_N "(cached) $ECHO_C" >&6
4935 eval "$as_ac_Header=$ac_header_preproc"
4937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4938 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4942 cat >>confdefs.h <<_ACEOF
4943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4951 ac_cpp='$CXXCPP $CPPFLAGS'
4952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4955 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4956 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4957 if test -z "$CXXCPP"; then
4958 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4959 echo $ECHO_N "(cached) $ECHO_C" >&6
4961 # Double quotes because CXXCPP needs to be expanded
4962 for CXXCPP in "$CXX -E" "/lib/cpp"
4965 for ac_cxx_preproc_warn_flag in '' yes
4967 # Use a header file that comes with gcc, so configuring glibc
4968 # with a fresh cross-compiler works.
4969 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4970 # <limits.h> exists even on freestanding compilers.
4971 # On the NeXT, cc -E runs the code through the compiler's parser,
4972 # not just through cpp. "Syntax error" is here to catch this case.
4973 cat >conftest.$ac_ext <<_ACEOF
4974 #line $LINENO "configure"
4977 cat confdefs.h >>conftest.$ac_ext
4978 cat >>conftest.$ac_ext <<_ACEOF
4979 /* end confdefs.h. */
4981 # include <limits.h>
4983 # include <assert.h>
4987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4988 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4990 grep -v '^ *+' conftest.er1 >conftest.err
4992 cat conftest.err >&5
4993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994 (exit $ac_status); } >/dev/null; then
4995 if test -s conftest.err; then
4996 ac_cpp_err=$ac_cxx_preproc_warn_flag
5003 if test -z "$ac_cpp_err"; then
5006 echo "$as_me: failed program was:" >&5
5007 sed 's/^/| /' conftest.$ac_ext >&5
5009 # Broken: fails on valid input.
5012 rm -f conftest.err conftest.$ac_ext
5014 # OK, works on sane cases. Now check whether non-existent headers
5015 # can be detected and how.
5016 cat >conftest.$ac_ext <<_ACEOF
5017 #line $LINENO "configure"
5020 cat confdefs.h >>conftest.$ac_ext
5021 cat >>conftest.$ac_ext <<_ACEOF
5022 /* end confdefs.h. */
5023 #include <ac_nonexistent.h>
5025 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5026 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5028 grep -v '^ *+' conftest.er1 >conftest.err
5030 cat conftest.err >&5
5031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032 (exit $ac_status); } >/dev/null; then
5033 if test -s conftest.err; then
5034 ac_cpp_err=$ac_cxx_preproc_warn_flag
5041 if test -z "$ac_cpp_err"; then
5042 # Broken: success on invalid input.
5045 echo "$as_me: failed program was:" >&5
5046 sed 's/^/| /' conftest.$ac_ext >&5
5048 # Passes both tests.
5052 rm -f conftest.err conftest.$ac_ext
5055 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5056 rm -f conftest.err conftest.$ac_ext
5057 if $ac_preproc_ok; then
5062 ac_cv_prog_CXXCPP=$CXXCPP
5065 CXXCPP=$ac_cv_prog_CXXCPP
5067 ac_cv_prog_CXXCPP=$CXXCPP
5069 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5070 echo "${ECHO_T}$CXXCPP" >&6
5072 for ac_cxx_preproc_warn_flag in '' yes
5074 # Use a header file that comes with gcc, so configuring glibc
5075 # with a fresh cross-compiler works.
5076 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5077 # <limits.h> exists even on freestanding compilers.
5078 # On the NeXT, cc -E runs the code through the compiler's parser,
5079 # not just through cpp. "Syntax error" is here to catch this case.
5080 cat >conftest.$ac_ext <<_ACEOF
5081 #line $LINENO "configure"
5084 cat confdefs.h >>conftest.$ac_ext
5085 cat >>conftest.$ac_ext <<_ACEOF
5086 /* end confdefs.h. */
5088 # include <limits.h>
5090 # include <assert.h>
5094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5095 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5097 grep -v '^ *+' conftest.er1 >conftest.err
5099 cat conftest.err >&5
5100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5101 (exit $ac_status); } >/dev/null; then
5102 if test -s conftest.err; then
5103 ac_cpp_err=$ac_cxx_preproc_warn_flag
5110 if test -z "$ac_cpp_err"; then
5113 echo "$as_me: failed program was:" >&5
5114 sed 's/^/| /' conftest.$ac_ext >&5
5116 # Broken: fails on valid input.
5119 rm -f conftest.err conftest.$ac_ext
5121 # OK, works on sane cases. Now check whether non-existent headers
5122 # can be detected and how.
5123 cat >conftest.$ac_ext <<_ACEOF
5124 #line $LINENO "configure"
5127 cat confdefs.h >>conftest.$ac_ext
5128 cat >>conftest.$ac_ext <<_ACEOF
5129 /* end confdefs.h. */
5130 #include <ac_nonexistent.h>
5132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5133 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5135 grep -v '^ *+' conftest.er1 >conftest.err
5137 cat conftest.err >&5
5138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 (exit $ac_status); } >/dev/null; then
5140 if test -s conftest.err; then
5141 ac_cpp_err=$ac_cxx_preproc_warn_flag
5148 if test -z "$ac_cpp_err"; then
5149 # Broken: success on invalid input.
5152 echo "$as_me: failed program was:" >&5
5153 sed 's/^/| /' conftest.$ac_ext >&5
5155 # Passes both tests.
5159 rm -f conftest.err conftest.$ac_ext
5162 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5163 rm -f conftest.err conftest.$ac_ext
5164 if $ac_preproc_ok; then
5167 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5168 See \`config.log' for more details." >&5
5169 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5170 See \`config.log' for more details." >&2;}
5171 { (exit 1); exit 1; }; }
5175 ac_cpp='$CXXCPP $CPPFLAGS'
5176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5182 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5183 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5184 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5185 if test -n "$ac_tool_prefix"; then
5186 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5188 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5189 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5190 echo "$as_me:$LINENO: checking for $ac_word" >&5
5191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5192 if test "${ac_cv_prog_F77+set}" = set; then
5193 echo $ECHO_N "(cached) $ECHO_C" >&6
5195 if test -n "$F77"; then
5196 ac_cv_prog_F77="$F77" # Let the user override the test.
5198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5202 test -z "$as_dir" && as_dir=.
5203 for ac_exec_ext in '' $ac_executable_extensions; do
5204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5205 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5215 if test -n "$F77"; then
5216 echo "$as_me:$LINENO: result: $F77" >&5
5217 echo "${ECHO_T}$F77" >&6
5219 echo "$as_me:$LINENO: result: no" >&5
5220 echo "${ECHO_T}no" >&6
5223 test -n "$F77" && break
5226 if test -z "$F77"; then
5228 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5230 # Extract the first word of "$ac_prog", so it can be a program name with args.
5231 set dummy $ac_prog; ac_word=$2
5232 echo "$as_me:$LINENO: checking for $ac_word" >&5
5233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5234 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5235 echo $ECHO_N "(cached) $ECHO_C" >&6
5237 if test -n "$ac_ct_F77"; then
5238 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5244 test -z "$as_dir" && as_dir=.
5245 for ac_exec_ext in '' $ac_executable_extensions; do
5246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5247 ac_cv_prog_ac_ct_F77="$ac_prog"
5248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5257 if test -n "$ac_ct_F77"; then
5258 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5259 echo "${ECHO_T}$ac_ct_F77" >&6
5261 echo "$as_me:$LINENO: result: no" >&5
5262 echo "${ECHO_T}no" >&6
5265 test -n "$ac_ct_F77" && break
5272 # Provide some information about the compiler.
5273 echo "$as_me:5273:" \
5274 "checking for Fortran 77 compiler version" >&5
5275 ac_compiler=`set X $ac_compile; echo $2`
5276 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5277 (eval $ac_compiler --version </dev/null >&5) 2>&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); }
5281 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5282 (eval $ac_compiler -v </dev/null >&5) 2>&5
5284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285 (exit $ac_status); }
5286 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5287 (eval $ac_compiler -V </dev/null >&5) 2>&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); }
5292 # If we don't use `.F' as extension, the preprocessor is not run on the
5296 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5297 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5298 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5299 echo $ECHO_N "(cached) $ECHO_C" >&6
5301 cat >conftest.$ac_ext <<_ACEOF
5309 rm -f conftest.$ac_objext
5310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5311 (eval $ac_compile) 2>&5
5313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 (exit $ac_status); } &&
5315 { ac_try='test -s conftest.$ac_objext'
5316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 (exit $ac_status); }; }; then
5323 echo "$as_me: failed program was:" >&5
5324 sed 's/^/| /' conftest.$ac_ext >&5
5328 rm -f conftest.$ac_objext conftest.$ac_ext
5329 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5332 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5333 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5335 G77=`test $ac_compiler_gnu = yes && echo yes`
5336 ac_test_FFLAGS=${FFLAGS+set}
5337 ac_save_FFLAGS=$FFLAGS
5339 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5340 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5341 if test "${ac_cv_prog_f77_g+set}" = set; then
5342 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 cat >conftest.$ac_ext <<_ACEOF
5350 rm -f conftest.$ac_objext
5351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5352 (eval $ac_compile) 2>&5
5354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5355 (exit $ac_status); } &&
5356 { ac_try='test -s conftest.$ac_objext'
5357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5361 (exit $ac_status); }; }; then
5362 ac_cv_prog_f77_g=yes
5364 echo "$as_me: failed program was:" >&5
5365 sed 's/^/| /' conftest.$ac_ext >&5
5369 rm -f conftest.$ac_objext conftest.$ac_ext
5372 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5373 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5374 if test "$ac_test_FFLAGS" = set; then
5375 FFLAGS=$ac_save_FFLAGS
5376 elif test $ac_cv_prog_f77_g = yes; then
5377 if test "$G77" = yes; then
5383 if test "$G77" = yes; then
5390 ac_cpp='$CPP $CPPFLAGS'
5391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5397 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5399 # find the maximum length of command line arguments
5400 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5401 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5402 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5403 echo $ECHO_N "(cached) $ECHO_C" >&6
5410 # On DJGPP, this test can blow up pretty badly due to problems in libc
5411 # (any single argument exceeding 2000 bytes causes a buffer overrun
5412 # during glob expansion). Even if it were fixed, the result of this
5413 # check would be larger than it should be.
5414 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5418 # Under GNU Hurd, this test is not required because there is
5419 # no limit to the length of command line arguments.
5420 # Libtool will interpret -1 as no limit whatsoever
5421 lt_cv_sys_max_cmd_len=-1;
5425 # On Win9x/ME, this test blows up -- it succeeds, but takes
5426 # about 5 minutes as the teststring grows exponentially.
5427 # Worse, since 9x/ME are not pre-emptively multitasking,
5428 # you end up with a "frozen" computer, even though with patience
5429 # the test eventually succeeds (with a max line length of 256k).
5430 # Instead, let's just punt: use the minimum linelength reported by
5431 # all of the supported platforms: 8192 (on NT/2K/XP).
5432 lt_cv_sys_max_cmd_len=8192;
5436 # If test is not a shell built-in, we'll probably end up computing a
5437 # maximum length that is only half of the actual maximum length, but
5439 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5440 = "XX$testring") >/dev/null 2>&1 &&
5441 new_result=`expr "X$testring" : ".*" 2>&1` &&
5442 lt_cv_sys_max_cmd_len=$new_result &&
5443 test $i != 17 # 1/2 MB should be enough
5446 testring=$testring$testring
5449 # Add a significant safety factor because C++ compilers can tack on massive
5450 # amounts of additional arguments before passing them to the linker.
5451 # It appears as though 1/2 is a usable value.
5452 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5458 if test -n $lt_cv_sys_max_cmd_len ; then
5459 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5460 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5462 echo "$as_me:$LINENO: result: none" >&5
5463 echo "${ECHO_T}none" >&6
5469 # Check for command to grab the raw symbol name followed by C symbol from nm.
5470 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5471 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5472 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5473 echo $ECHO_N "(cached) $ECHO_C" >&6
5476 # These are sane defaults that work on at least a few old systems.
5477 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5479 # Character class describing NM global symbol codes.
5480 symcode='[BCDEGRST]'
5482 # Regexp to match symbols that can be accessed directly from C.
5483 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5485 # Transform the above into a raw symbol and a C symbol.
5486 symxfrm='\1 \2\3 \3'
5488 # Transform an extracted symbol line into a proper C declaration
5489 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5491 # Transform an extracted symbol line into symbol name and symbol address
5492 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'"
5494 # Define system-specific variables.
5499 cygwin* | mingw* | pw32*)
5500 symcode='[ABCDGISTW]'
5502 hpux*) # Its linker distinguishes data from code symbols
5503 if test "$host_cpu" = ia64; then
5504 symcode='[ABCDEGRST]'
5506 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5507 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'"
5510 symcode='[BCDEGRST]'
5513 symcode='[BCDEGQRST]'
5523 # Handle CRLF in mingw tool chain
5527 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5531 # If we're using GNU nm, then use its standard symbol codes.
5532 case `$NM -V 2>&1` in
5533 *GNU* | *'with BFD'*)
5534 symcode='[ABCDGISTW]' ;;
5537 # Try without a prefix undercore, then with it.
5538 for ac_symprfx in "" "_"; do
5540 # Write the raw and C identifiers.
5541 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5543 # Check to see that the pipe works correctly.
5547 cat > conftest.$ac_ext <<EOF
5552 void nm_test_func(){}
5556 int main(){nm_test_var='a';nm_test_func();return(0);}
5559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5560 (eval $ac_compile) 2>&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); }; then
5564 # Now try to grab the symbols.
5566 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5567 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); } && test -s "$nlist"; then
5571 # Try sorting and uniquifying the output.
5572 if sort "$nlist" | uniq > "$nlist"T; then
5573 mv -f "$nlist"T "$nlist"
5578 # Make sure that we snagged all the symbols we need.
5579 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5580 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5581 cat <<EOF > conftest.$ac_ext
5587 # Now generate the symbol file.
5588 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5590 cat <<EOF >> conftest.$ac_ext
5591 #if defined (__STDC__) && __STDC__
5592 # define lt_ptr_t void *
5594 # define lt_ptr_t char *
5598 /* The mapping between symbol names and symbols. */
5603 lt_preloaded_symbols[] =
5606 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5607 cat <<\EOF >> conftest.$ac_ext
5615 # Now try linking the two files.
5616 mv conftest.$ac_objext conftstm.$ac_objext
5617 lt_save_LIBS="$LIBS"
5618 lt_save_CFLAGS="$CFLAGS"
5619 LIBS="conftstm.$ac_objext"
5620 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5622 (eval $ac_link) 2>&5
5624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5628 LIBS="$lt_save_LIBS"
5629 CFLAGS="$lt_save_CFLAGS"
5631 echo "cannot find nm_test_func in $nlist" >&5
5634 echo "cannot find nm_test_var in $nlist" >&5
5637 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5640 echo "$progname: failed program was:" >&5
5641 cat conftest.$ac_ext >&5
5643 rm -f conftest* conftst*
5645 # Do not use the global_symbol_pipe unless it works.
5646 if test "$pipe_works" = yes; then
5649 lt_cv_sys_global_symbol_pipe=
5655 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5656 lt_cv_sys_global_symbol_to_cdecl=
5658 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5659 echo "$as_me:$LINENO: result: failed" >&5
5660 echo "${ECHO_T}failed" >&6
5662 echo "$as_me:$LINENO: result: ok" >&5
5663 echo "${ECHO_T}ok" >&6
5666 echo "$as_me:$LINENO: checking for objdir" >&5
5667 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5668 if test "${lt_cv_objdir+set}" = set; then
5669 echo $ECHO_N "(cached) $ECHO_C" >&6
5671 rm -f .libs 2>/dev/null
5672 mkdir .libs 2>/dev/null
5673 if test -d .libs; then
5676 # MS-DOS does not allow filenames that begin with a dot.
5679 rmdir .libs 2>/dev/null
5681 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5682 echo "${ECHO_T}$lt_cv_objdir" >&6
5683 objdir=$lt_cv_objdir
5691 # AIX sometimes has problems with the GCC collect2 program. For some
5692 # reason, if we set the COLLECT_NAMES environment variable, the problems
5693 # vanish in a puff of smoke.
5694 if test "X${COLLECT_NAMES+set}" != Xset; then
5696 export COLLECT_NAMES
5701 # Sed substitution that helps us do robust quoting. It backslashifies
5702 # metacharacters that are still active within double-quoted strings.
5703 Xsed='sed -e s/^X//'
5704 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5706 # Same as above, but do not quote variable references.
5707 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5709 # Sed substitution to delay expansion of an escaped shell variable in a
5710 # double_quote_subst'ed string.
5711 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5713 # Sed substitution to avoid accidental globbing in evaled expressions
5714 no_glob_subst='s/\*/\\\*/g'
5721 can_build_shared=yes
5723 # All known linkers require a `.a' archive for static linking (except M$VC,
5724 # which needs '.lib').
5726 ltmain="$ac_aux_dir/ltmain.sh"
5727 ofile="$default_ofile"
5728 with_gnu_ld="$lt_cv_prog_gnu_ld"
5730 if test -n "$ac_tool_prefix"; then
5731 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5732 set dummy ${ac_tool_prefix}ar; ac_word=$2
5733 echo "$as_me:$LINENO: checking for $ac_word" >&5
5734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5735 if test "${ac_cv_prog_AR+set}" = set; then
5736 echo $ECHO_N "(cached) $ECHO_C" >&6
5738 if test -n "$AR"; then
5739 ac_cv_prog_AR="$AR" # Let the user override the test.
5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5745 test -z "$as_dir" && as_dir=.
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5748 ac_cv_prog_AR="${ac_tool_prefix}ar"
5749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5758 if test -n "$AR"; then
5759 echo "$as_me:$LINENO: result: $AR" >&5
5760 echo "${ECHO_T}$AR" >&6
5762 echo "$as_me:$LINENO: result: no" >&5
5763 echo "${ECHO_T}no" >&6
5767 if test -z "$ac_cv_prog_AR"; then
5769 # Extract the first word of "ar", so it can be a program name with args.
5770 set dummy ar; ac_word=$2
5771 echo "$as_me:$LINENO: checking for $ac_word" >&5
5772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5773 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5774 echo $ECHO_N "(cached) $ECHO_C" >&6
5776 if test -n "$ac_ct_AR"; then
5777 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5783 test -z "$as_dir" && as_dir=.
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5786 ac_cv_prog_ac_ct_AR="ar"
5787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5793 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5796 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5797 if test -n "$ac_ct_AR"; then
5798 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5799 echo "${ECHO_T}$ac_ct_AR" >&6
5801 echo "$as_me:$LINENO: result: no" >&5
5802 echo "${ECHO_T}no" >&6
5810 if test -n "$ac_tool_prefix"; then
5811 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5812 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5813 echo "$as_me:$LINENO: checking for $ac_word" >&5
5814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5815 if test "${ac_cv_prog_RANLIB+set}" = set; then
5816 echo $ECHO_N "(cached) $ECHO_C" >&6
5818 if test -n "$RANLIB"; then
5819 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 test -z "$as_dir" && as_dir=.
5826 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5828 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 RANLIB=$ac_cv_prog_RANLIB
5838 if test -n "$RANLIB"; then
5839 echo "$as_me:$LINENO: result: $RANLIB" >&5
5840 echo "${ECHO_T}$RANLIB" >&6
5842 echo "$as_me:$LINENO: result: no" >&5
5843 echo "${ECHO_T}no" >&6
5847 if test -z "$ac_cv_prog_RANLIB"; then
5848 ac_ct_RANLIB=$RANLIB
5849 # Extract the first word of "ranlib", so it can be a program name with args.
5850 set dummy ranlib; ac_word=$2
5851 echo "$as_me:$LINENO: checking for $ac_word" >&5
5852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5853 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5854 echo $ECHO_N "(cached) $ECHO_C" >&6
5856 if test -n "$ac_ct_RANLIB"; then
5857 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863 test -z "$as_dir" && as_dir=.
5864 for ac_exec_ext in '' $ac_executable_extensions; do
5865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5866 ac_cv_prog_ac_ct_RANLIB="ranlib"
5867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5873 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5876 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5877 if test -n "$ac_ct_RANLIB"; then
5878 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5879 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5881 echo "$as_me:$LINENO: result: no" >&5
5882 echo "${ECHO_T}no" >&6
5885 RANLIB=$ac_ct_RANLIB
5887 RANLIB="$ac_cv_prog_RANLIB"
5890 if test -n "$ac_tool_prefix"; then
5891 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5892 set dummy ${ac_tool_prefix}strip; ac_word=$2
5893 echo "$as_me:$LINENO: checking for $ac_word" >&5
5894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5895 if test "${ac_cv_prog_STRIP+set}" = set; then
5896 echo $ECHO_N "(cached) $ECHO_C" >&6
5898 if test -n "$STRIP"; then
5899 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5905 test -z "$as_dir" && as_dir=.
5906 for ac_exec_ext in '' $ac_executable_extensions; do
5907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5908 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 STRIP=$ac_cv_prog_STRIP
5918 if test -n "$STRIP"; then
5919 echo "$as_me:$LINENO: result: $STRIP" >&5
5920 echo "${ECHO_T}$STRIP" >&6
5922 echo "$as_me:$LINENO: result: no" >&5
5923 echo "${ECHO_T}no" >&6
5927 if test -z "$ac_cv_prog_STRIP"; then
5929 # Extract the first word of "strip", so it can be a program name with args.
5930 set dummy strip; ac_word=$2
5931 echo "$as_me:$LINENO: checking for $ac_word" >&5
5932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5933 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5934 echo $ECHO_N "(cached) $ECHO_C" >&6
5936 if test -n "$ac_ct_STRIP"; then
5937 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 test -z "$as_dir" && as_dir=.
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5946 ac_cv_prog_ac_ct_STRIP="strip"
5947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5953 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5956 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5957 if test -n "$ac_ct_STRIP"; then
5958 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5959 echo "${ECHO_T}$ac_ct_STRIP" >&6
5961 echo "$as_me:$LINENO: result: no" >&5
5962 echo "${ECHO_T}no" >&6
5967 STRIP="$ac_cv_prog_STRIP"
5972 old_CFLAGS="$CFLAGS"
5974 # Set sane defaults for various variables
5975 test -z "$AR" && AR=ar
5976 test -z "$AR_FLAGS" && AR_FLAGS=cru
5977 test -z "$AS" && AS=as
5978 test -z "$CC" && CC=cc
5979 test -z "$LTCC" && LTCC=$CC
5980 test -z "$DLLTOOL" && DLLTOOL=dlltool
5981 test -z "$LD" && LD=ld
5982 test -z "$LN_S" && LN_S="ln -s"
5983 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5984 test -z "$NM" && NM=nm
5985 test -z "$SED" && SED=sed
5986 test -z "$OBJDUMP" && OBJDUMP=objdump
5987 test -z "$RANLIB" && RANLIB=:
5988 test -z "$STRIP" && STRIP=:
5989 test -z "$ac_objext" && ac_objext=o
5991 # Determine commands to create old-style static archives.
5992 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5993 old_postinstall_cmds='chmod 644 $oldlib'
5994 old_postuninstall_cmds=
5996 if test -n "$RANLIB"; then
5999 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6002 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
6005 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6008 # Only perform the check for file, if the check method requires it
6009 case $deplibs_check_method in
6011 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6012 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6013 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6014 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6015 echo $ECHO_N "(cached) $ECHO_C" >&6
6019 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6022 lt_save_MAGIC_CMD="$MAGIC_CMD"
6023 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6024 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6025 for ac_dir in $ac_dummy; do
6027 test -z "$ac_dir" && ac_dir=.
6028 if test -f $ac_dir/${ac_tool_prefix}file; then
6029 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6030 if test -n "$file_magic_test_file"; then
6031 case $deplibs_check_method in
6033 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6034 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6035 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6036 $EGREP "$file_magic_regex" > /dev/null; then
6041 *** Warning: the command libtool uses to detect shared libraries,
6042 *** $file_magic_cmd, produces output that libtool cannot recognize.
6043 *** The result is that libtool may fail to recognize shared libraries
6044 *** as such. This will affect the creation of libtool libraries that
6045 *** depend on shared libraries, but programs linked with such libtool
6046 *** libraries will work regardless of this problem. Nevertheless, you
6047 *** may want to report the problem to your system manager and/or to
6048 *** bug-libtool@gnu.org
6058 MAGIC_CMD="$lt_save_MAGIC_CMD"
6063 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6064 if test -n "$MAGIC_CMD"; then
6065 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6066 echo "${ECHO_T}$MAGIC_CMD" >&6
6068 echo "$as_me:$LINENO: result: no" >&5
6069 echo "${ECHO_T}no" >&6
6072 if test -z "$lt_cv_path_MAGIC_CMD"; then
6073 if test -n "$ac_tool_prefix"; then
6074 echo "$as_me:$LINENO: checking for file" >&5
6075 echo $ECHO_N "checking for file... $ECHO_C" >&6
6076 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6077 echo $ECHO_N "(cached) $ECHO_C" >&6
6081 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6084 lt_save_MAGIC_CMD="$MAGIC_CMD"
6085 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6086 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6087 for ac_dir in $ac_dummy; do
6089 test -z "$ac_dir" && ac_dir=.
6090 if test -f $ac_dir/file; then
6091 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6092 if test -n "$file_magic_test_file"; then
6093 case $deplibs_check_method in
6095 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6096 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6097 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6098 $EGREP "$file_magic_regex" > /dev/null; then
6103 *** Warning: the command libtool uses to detect shared libraries,
6104 *** $file_magic_cmd, produces output that libtool cannot recognize.
6105 *** The result is that libtool may fail to recognize shared libraries
6106 *** as such. This will affect the creation of libtool libraries that
6107 *** depend on shared libraries, but programs linked with such libtool
6108 *** libraries will work regardless of this problem. Nevertheless, you
6109 *** may want to report the problem to your system manager and/or to
6110 *** bug-libtool@gnu.org
6120 MAGIC_CMD="$lt_save_MAGIC_CMD"
6125 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6126 if test -n "$MAGIC_CMD"; then
6127 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6128 echo "${ECHO_T}$MAGIC_CMD" >&6
6130 echo "$as_me:$LINENO: result: no" >&5
6131 echo "${ECHO_T}no" >&6
6146 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6147 if test "${enable_libtool_lock+set}" = set; then
6148 enableval="$enable_libtool_lock"
6151 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6154 # Check whether --with-pic or --without-pic was given.
6155 if test "${with_pic+set}" = set; then
6161 test -z "$pic_mode" && pic_mode=default
6163 # Use C for the default configuration in the libtool script
6167 ac_cpp='$CPP $CPPFLAGS'
6168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6173 # Source file extension for C test sources.
6176 # Object file extension for compiled C test sources.
6180 # Code to be used in simple compile tests
6181 lt_simple_compile_test_code="int some_variable = 0;\n"
6183 # Code to be used in simple link tests
6184 lt_simple_link_test_code='int main(){return(0);}\n'
6187 # If no C compiler was specified, use CC.
6190 # Allow CC to be a program name with arguments.
6195 # Check for any special shared library compilation flags.
6198 if test "$GCC" = no; then
6201 lt_prog_cc_shlib='-belf'
6205 if test -n "$lt_prog_cc_shlib"; then
6206 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6207 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6208 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6210 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6211 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6212 lt_cv_prog_cc_can_build_shared=no
6218 # Check to make sure the static flag actually works.
6220 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6221 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6222 if test "${lt_prog_compiler_static_works+set}" = set; then
6223 echo $ECHO_N "(cached) $ECHO_C" >&6
6225 lt_prog_compiler_static_works=no
6226 save_LDFLAGS="$LDFLAGS"
6227 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6228 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6229 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6230 # The compiler can only warn and ignore the option if not recognized
6231 # So say no if there are warnings
6232 if test -s conftest.err; then
6233 # Append any errors to the config.log.
6234 cat conftest.err 1>&5
6236 lt_prog_compiler_static_works=yes
6240 LDFLAGS="$save_LDFLAGS"
6243 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6244 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6246 if test x"$lt_prog_compiler_static_works" = xyes; then
6249 lt_prog_compiler_static=
6255 ## There is no encapsulation within the following macros, do not change
6256 ## the running order or otherwise move them around unless you know exactly
6257 ## what you are doing...
6259 lt_prog_compiler_no_builtin_flag=
6261 if test "$GCC" = yes; then
6262 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6264 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6265 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6266 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6267 echo $ECHO_N "(cached) $ECHO_C" >&6
6269 lt_cv_prog_compiler_rtti_exceptions=no
6270 ac_outfile=conftest.$ac_objext
6271 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6272 lt_compiler_flag="-fno-rtti -fno-exceptions"
6273 # Insert the option either (1) after the last *FLAGS variable, or
6274 # (2) before a word containing "conftest.", or (3) at the end.
6275 # Note that $ac_compile itself does not contain backslashes and begins
6276 # with a dollar sign (not a hyphen), so the echo should work correctly.
6277 # The option is referenced via a variable to avoid confusing sed.
6278 lt_compile=`echo "$ac_compile" | $SED \
6279 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6280 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6281 -e 's:$: $lt_compiler_flag:'`
6282 (eval echo "\"\$as_me:6282: $lt_compile\"" >&5)
6283 (eval "$lt_compile" 2>conftest.err)
6285 cat conftest.err >&5
6286 echo "$as_me:6286: \$? = $ac_status" >&5
6287 if (exit $ac_status) && test -s "$ac_outfile"; then
6288 # The compiler can only warn and ignore the option if not recognized
6289 # So say no if there are warnings
6290 if test ! -s conftest.err; then
6291 lt_cv_prog_compiler_rtti_exceptions=yes
6297 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6298 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6300 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6301 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6308 lt_prog_compiler_wl=
6309 lt_prog_compiler_pic=
6310 lt_prog_compiler_static=
6312 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6313 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6315 if test "$GCC" = yes; then
6316 lt_prog_compiler_wl='-Wl,'
6317 lt_prog_compiler_static='-static'
6321 # All AIX code is PIC.
6322 if test "$host_cpu" = ia64; then
6323 # AIX 5 now supports IA64 processor
6324 lt_prog_compiler_static='-Bstatic'
6329 # FIXME: we need at least 68020 code to build shared libraries, but
6330 # adding the `-m68020' flag to GCC prevents building anything better,
6332 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6335 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6336 # PIC is the default for these OSes.
6339 mingw* | pw32* | os2*)
6340 # This hack is so that the source file can tell whether it is being
6341 # built for inclusion in a dll (and should export symbols for example).
6342 lt_prog_compiler_pic='-DDLL_EXPORT'
6345 darwin* | rhapsody*)
6346 # PIC is the default on this platform
6347 # Common symbols not allowed in MH_DYLIB files
6348 lt_prog_compiler_pic='-fno-common'
6352 # Just because we use GCC doesn't mean we suddenly get shared libraries
6353 # on systems that don't support them.
6354 lt_prog_compiler_can_build_shared=no
6359 if test -d /usr/nec; then
6360 lt_prog_compiler_pic=-Kconform_pic
6365 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6372 lt_prog_compiler_pic='-fPIC'
6378 lt_prog_compiler_pic='-fPIC'
6382 # PORTME Check for flag to pass linker flags through the system compiler.
6385 lt_prog_compiler_wl='-Wl,'
6386 if test "$host_cpu" = ia64; then
6387 # AIX 5 now supports IA64 processor
6388 lt_prog_compiler_static='-Bstatic'
6390 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6394 mingw* | pw32* | os2*)
6395 # This hack is so that the source file can tell whether it is being
6396 # built for inclusion in a dll (and should export symbols for example).
6397 lt_prog_compiler_pic='-DDLL_EXPORT'
6400 hpux9* | hpux10* | hpux11*)
6401 lt_prog_compiler_wl='-Wl,'
6402 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6409 lt_prog_compiler_pic='+Z'
6412 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6413 lt_prog_compiler_static='${wl}-a ${wl}archive'
6416 irix5* | irix6* | nonstopux*)
6417 lt_prog_compiler_wl='-Wl,'
6418 # PIC (with -KPIC) is the default.
6419 lt_prog_compiler_static='-non_shared'
6423 lt_prog_compiler_pic='-KPIC'
6424 lt_prog_compiler_static='-Bstatic'
6430 lt_prog_compiler_wl='-Wl,'
6431 lt_prog_compiler_pic='-KPIC'
6432 lt_prog_compiler_static='-static'
6435 lt_prog_compiler_wl='-Wl,'
6436 # All Alpha code is PIC.
6437 lt_prog_compiler_static='-non_shared'
6442 osf3* | osf4* | osf5*)
6443 lt_prog_compiler_wl='-Wl,'
6444 # All OSF/1 code is PIC.
6445 lt_prog_compiler_static='-non_shared'
6449 lt_prog_compiler_pic='-Kpic'
6450 lt_prog_compiler_static='-dn'
6454 lt_prog_compiler_wl='-Wl,'
6455 lt_prog_compiler_pic='-KPIC'
6456 lt_prog_compiler_static='-Bstatic'
6460 lt_prog_compiler_wl='-Qoption ld '
6461 lt_prog_compiler_pic='-PIC'
6462 lt_prog_compiler_static='-Bstatic'
6465 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6466 lt_prog_compiler_wl='-Wl,'
6467 lt_prog_compiler_pic='-KPIC'
6468 lt_prog_compiler_static='-Bstatic'
6472 if test -d /usr/nec ;then
6473 lt_prog_compiler_pic='-Kconform_pic'
6474 lt_prog_compiler_static='-Bstatic'
6479 lt_prog_compiler_pic='-pic'
6480 lt_prog_compiler_static='-Bstatic'
6484 lt_prog_compiler_can_build_shared=no
6489 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6490 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6493 # Check to make sure the PIC flag actually works.
6495 if test -n "$lt_prog_compiler_pic"; then
6496 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6497 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6498 if test "${lt_prog_compiler_pic_works+set}" = set; then
6499 echo $ECHO_N "(cached) $ECHO_C" >&6
6501 lt_prog_compiler_pic_works=no
6502 ac_outfile=conftest.$ac_objext
6503 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6504 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6505 # Insert the option either (1) after the last *FLAGS variable, or
6506 # (2) before a word containing "conftest.", or (3) at the end.
6507 # Note that $ac_compile itself does not contain backslashes and begins
6508 # with a dollar sign (not a hyphen), so the echo should work correctly.
6509 # The option is referenced via a variable to avoid confusing sed.
6510 lt_compile=`echo "$ac_compile" | $SED \
6511 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6512 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6513 -e 's:$: $lt_compiler_flag:'`
6514 (eval echo "\"\$as_me:6514: $lt_compile\"" >&5)
6515 (eval "$lt_compile" 2>conftest.err)
6517 cat conftest.err >&5
6518 echo "$as_me:6518: \$? = $ac_status" >&5
6519 if (exit $ac_status) && test -s "$ac_outfile"; then
6520 # The compiler can only warn and ignore the option if not recognized
6521 # So say no if there are warnings
6522 if test ! -s conftest.err; then
6523 lt_prog_compiler_pic_works=yes
6529 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6530 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6532 if test x"$lt_prog_compiler_pic_works" = xyes; then
6533 case $lt_prog_compiler_pic in
6535 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6538 lt_prog_compiler_pic=
6539 lt_prog_compiler_can_build_shared=no
6544 # For platforms which do not support PIC, -DPIC is meaningless:
6546 lt_prog_compiler_pic=
6549 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6553 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6554 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6555 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6556 echo $ECHO_N "(cached) $ECHO_C" >&6
6558 lt_cv_prog_compiler_c_o=no
6559 $rm -r conftest 2>/dev/null
6563 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6565 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6566 # that will create temporary files in the current directory regardless of
6567 # the output directory. Thus, making CWD read-only will cause this test
6568 # to fail, enabling locking or at least warning the user not to do parallel
6572 lt_compiler_flag="-o out/conftest2.$ac_objext"
6573 # Insert the option either (1) after the last *FLAGS variable, or
6574 # (2) before a word containing "conftest.", or (3) at the end.
6575 # Note that $ac_compile itself does not contain backslashes and begins
6576 # with a dollar sign (not a hyphen), so the echo should work correctly.
6577 lt_compile=`echo "$ac_compile" | $SED \
6578 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6579 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6580 -e 's:$: $lt_compiler_flag:'`
6581 (eval echo "\"\$as_me:6581: $lt_compile\"" >&5)
6582 (eval "$lt_compile" 2>out/conftest.err)
6584 cat out/conftest.err >&5
6585 echo "$as_me:6585: \$? = $ac_status" >&5
6586 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6588 # The compiler can only warn and ignore the option if not recognized
6589 # So say no if there are warnings
6590 if test ! -s out/conftest.err; then
6591 lt_cv_prog_compiler_c_o=yes
6602 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6603 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6606 hard_links="nottested"
6607 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6608 # do not overwrite the value of need_locks provided by the user
6609 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6610 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6613 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6615 ln conftest.a conftest.b 2>&5 || hard_links=no
6616 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6617 echo "$as_me:$LINENO: result: $hard_links" >&5
6618 echo "${ECHO_T}$hard_links" >&6
6619 if test "$hard_links" = no; then
6620 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6621 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6628 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6629 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6632 allow_undefined_flag=
6633 enable_shared_with_static_runtimes=no
6635 archive_expsym_cmds=
6636 old_archive_From_new_cmds=
6637 old_archive_from_expsyms_cmds=
6638 export_dynamic_flag_spec=
6639 whole_archive_flag_spec=
6640 thread_safe_flag_spec=
6641 hardcode_libdir_flag_spec=
6642 hardcode_libdir_flag_spec_ld=
6643 hardcode_libdir_separator=
6646 hardcode_shlibpath_var=unsupported
6647 link_all_deplibs=unknown
6648 hardcode_automatic=no
6651 always_export_symbols=no
6652 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6653 # include_expsyms should be a list of space-separated symbols to be *always*
6654 # included in the symbol list
6656 # exclude_expsyms can be an extended regexp of symbols to exclude
6657 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6658 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6659 # as well as any symbol that contains `d'.
6660 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6661 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6662 # platforms (ab)use it in PIC code, but their linkers get confused if
6663 # the symbol is explicitly referenced. Since portable code cannot
6664 # rely on this symbol name, it's probably fine to never include it in
6665 # preloaded symbol tables.
6666 extract_expsyms_cmds=
6669 cygwin* | mingw* | pw32*)
6670 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6671 # When not using gcc, we currently assume that we are using
6672 # Microsoft Visual C++.
6673 if test "$GCC" != yes; then
6683 if test "$with_gnu_ld" = yes; then
6684 # If archive_cmds runs LD, not CC, wlarc should be empty
6687 # See if GNU ld supports shared libraries.
6689 aix3* | aix4* | aix5*)
6690 # On AIX/PPC, the GNU linker is very broken
6691 if test "$host_cpu" != ia64; then
6695 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6696 *** to be unable to reliably create shared libraries on AIX.
6697 *** Therefore, libtool is disabling shared libraries support. If you
6698 *** really care for shared libraries, you may want to modify your PATH
6699 *** so that a non-GNU linker is found, and then restart.
6706 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)'
6707 hardcode_libdir_flag_spec='-L$libdir'
6708 hardcode_minus_L=yes
6710 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6711 # that the semantics of dynamic libraries on AmigaOS, at least up
6712 # to version 4, is to share data among multiple programs linked
6713 # with the same dynamic library. Since this doesn't match the
6714 # behavior of shared libraries on other platforms, we can't use
6720 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6721 allow_undefined_flag=unsupported
6722 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6723 # support --undefined. This deserves some investigation. FIXME
6724 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6730 cygwin* | mingw* | pw32*)
6731 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6732 # as there is no search path for DLLs.
6733 hardcode_libdir_flag_spec='-L$libdir'
6734 allow_undefined_flag=unsupported
6735 always_export_symbols=no
6736 enable_shared_with_static_runtimes=yes
6737 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6739 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6740 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6741 # If the export-symbols file already is a .def file (1st line
6742 # is EXPORTS), use it as is; otherwise, prepend...
6743 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6744 cp $export_symbols $output_objdir/$soname.def;
6746 echo EXPORTS > $output_objdir/$soname.def;
6747 cat $export_symbols >> $output_objdir/$soname.def;
6749 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6756 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6757 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6760 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6761 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6766 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6770 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6771 *** create shared libraries on Solaris systems. Therefore, libtool
6772 *** is disabling shared libraries support. We urge you to upgrade GNU
6773 *** binutils to release 2.9.1 or newer. Another option is to modify
6774 *** your PATH or compiler configuration so that the native linker is
6775 *** used, and then restart.
6778 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6779 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6780 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6787 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6790 hardcode_shlibpath_var=no
6794 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6795 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6796 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6803 if test "$ld_shlibs" = yes; then
6804 runpath_var=LD_RUN_PATH
6805 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6806 export_dynamic_flag_spec='${wl}--export-dynamic'
6807 # ancient GNU ld didn't support --whole-archive et. al.
6808 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6809 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6811 whole_archive_flag_spec=
6815 # PORTME fill in a description of your system's linker (not GNU ld)
6818 allow_undefined_flag=unsupported
6819 always_export_symbols=yes
6820 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'
6821 # Note: this linker hardcodes the directories in LIBPATH if there
6822 # are no directories specified by -L.
6823 hardcode_minus_L=yes
6824 if test "$GCC" = yes && test -z "$link_static_flag"; then
6825 # Neither direct hardcoding nor static linking is supported with a
6827 hardcode_direct=unsupported
6832 if test "$host_cpu" = ia64; then
6833 # On IA64, the linker does run time linking by default, so we don't
6834 # have to do anything special.
6835 aix_use_runtimelinking=no
6836 exp_sym_flag='-Bexport'
6839 # If we're using GNU nm, then we don't want the "-C" option.
6840 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6841 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6842 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'
6844 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'
6846 aix_use_runtimelinking=no
6848 # Test if we are trying to use run time linking or normal
6849 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6850 # need to do runtime linking.
6851 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6852 for ld_flag in $LDFLAGS; do
6853 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6854 aix_use_runtimelinking=yes
6860 exp_sym_flag='-bexport'
6861 no_entry_flag='-bnoentry'
6864 # When large executables or shared objects are built, AIX ld can
6865 # have problems creating the table of contents. If linking a library
6866 # or program results in "error TOC overflow" add -mminimal-toc to
6867 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6868 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6872 hardcode_libdir_separator=':'
6873 link_all_deplibs=yes
6875 if test "$GCC" = yes; then
6876 case $host_os in aix4.012|aix4.012.*)
6877 # We only want to do this on AIX 4.2 and lower, the check
6878 # below for broken collect2 doesn't work under 4.3+
6879 collect2name=`${CC} -print-prog-name=collect2`
6880 if test -f "$collect2name" && \
6881 strings "$collect2name" | grep resolve_lib_name >/dev/null
6883 # We have reworked collect2
6886 # We have old collect2
6887 hardcode_direct=unsupported
6888 # It fails to find uninstalled libraries when the uninstalled
6889 # path is not listed in the libpath. Setting hardcode_minus_L
6890 # to unsupported forces relinking
6891 hardcode_minus_L=yes
6892 hardcode_libdir_flag_spec='-L$libdir'
6893 hardcode_libdir_separator=
6896 shared_flag='-shared'
6899 if test "$host_cpu" = ia64; then
6900 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6901 # chokes on -Wl,-G. The following line is correct:
6904 if test "$aix_use_runtimelinking" = yes; then
6905 shared_flag='${wl}-G'
6907 shared_flag='${wl}-bM:SRE'
6912 # It seems that -bexpall does not export symbols beginning with
6913 # underscore (_), so it is better to generate a list of symbols to export.
6914 always_export_symbols=yes
6915 if test "$aix_use_runtimelinking" = yes; then
6916 # Warning - without using the other runtime loading flags (-brtl),
6917 # -berok will link without error, but may produce a broken library.
6918 allow_undefined_flag='-berok'
6919 # Determine the default libpath from the value encoded in an empty executable.
6920 cat >conftest.$ac_ext <<_ACEOF
6921 #line $LINENO "configure"
6924 cat confdefs.h >>conftest.$ac_ext
6925 cat >>conftest.$ac_ext <<_ACEOF
6926 /* end confdefs.h. */
6936 rm -f conftest.$ac_objext conftest$ac_exeext
6937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6938 (eval $ac_link) 2>&5
6940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941 (exit $ac_status); } &&
6942 { ac_try='test -s conftest$ac_exeext'
6943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 (exit $ac_status); }; }; then
6949 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6951 # Check for a 64-bit object if we didn't find anything.
6952 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; }
6955 echo "$as_me: failed program was:" >&5
6956 sed 's/^/| /' conftest.$ac_ext >&5
6959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6960 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6962 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6963 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"
6965 if test "$host_cpu" = ia64; then
6966 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6967 allow_undefined_flag="-z nodefs"
6968 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"
6970 # Determine the default libpath from the value encoded in an empty executable.
6971 cat >conftest.$ac_ext <<_ACEOF
6972 #line $LINENO "configure"
6975 cat confdefs.h >>conftest.$ac_ext
6976 cat >>conftest.$ac_ext <<_ACEOF
6977 /* end confdefs.h. */
6987 rm -f conftest.$ac_objext conftest$ac_exeext
6988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6989 (eval $ac_link) 2>&5
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); } &&
6993 { ac_try='test -s conftest$ac_exeext'
6994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998 (exit $ac_status); }; }; then
7000 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7002 # Check for a 64-bit object if we didn't find anything.
7003 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; }
7006 echo "$as_me: failed program was:" >&5
7007 sed 's/^/| /' conftest.$ac_ext >&5
7010 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7011 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7013 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7014 # Warning - without using the other run time loading flags,
7015 # -berok will link without error, but may produce a broken library.
7016 no_undefined_flag=' ${wl}-bernotok'
7017 allow_undefined_flag=' ${wl}-berok'
7018 # -bexpall does not export symbols beginning with underscore (_)
7019 always_export_symbols=yes
7020 # Exported symbols can be pulled into shared objects from archives
7021 whole_archive_flag_spec=' '
7022 archive_cmds_need_lc=yes
7023 # This is similar to how AIX traditionally builds it's shared libraries.
7024 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'
7030 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)'
7031 hardcode_libdir_flag_spec='-L$libdir'
7032 hardcode_minus_L=yes
7033 # see comment about different semantics on the GNU ld section
7038 export_dynamic_flag_spec=-rdynamic
7041 cygwin* | mingw* | pw32*)
7042 # When not using gcc, we currently assume that we are using
7043 # Microsoft Visual C++.
7044 # hardcode_libdir_flag_spec is actually meaningless, as there is
7045 # no search path for DLLs.
7046 hardcode_libdir_flag_spec=' '
7047 allow_undefined_flag=unsupported
7048 # Tell ltmain to make .lib files, not .a files.
7050 # Tell ltmain to make .dll files, not .so files.
7052 # FIXME: Setting linknames here is a bad hack.
7053 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7054 # The linker will automatically build a .lib file if we build a DLL.
7055 old_archive_From_new_cmds='true'
7056 # FIXME: Should let the user specify the lib program.
7057 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7058 fix_srcfile_path='`cygpath -w "$srcfile"`'
7059 enable_shared_with_static_runtimes=yes
7062 darwin* | rhapsody*)
7063 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7064 archive_cmds_need_lc=no
7066 rhapsody* | darwin1.[012])
7067 allow_undefined_flag='-undefined suppress'
7070 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7073 # FIXME: Relying on posixy $() will cause problems for
7074 # cross-compilation, but unfortunately the echo tests do not
7075 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7076 # `"' quotes if we put them in here... so don't!
7077 lt_int_apple_cc_single_mod=no
7078 output_verbose_link_cmd='echo'
7079 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7080 lt_int_apple_cc_single_mod=yes
7082 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7083 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7085 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'
7087 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7088 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7089 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7090 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}'
7092 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}'
7094 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}'
7096 hardcode_automatic=yes
7097 hardcode_shlibpath_var=unsupported
7098 whole_archive_flag_spec='-all_load $convenience'
7099 link_all_deplibs=yes
7104 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7105 hardcode_libdir_flag_spec='-L$libdir'
7106 hardcode_shlibpath_var=no
7113 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7114 # support. Future versions do this automatically, but an explicit c++rt0.o
7115 # does not break anything, and helps significantly (at the cost of a little
7118 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7119 hardcode_libdir_flag_spec='-R$libdir'
7121 hardcode_shlibpath_var=no
7124 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7126 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7128 hardcode_minus_L=yes
7129 hardcode_shlibpath_var=no
7132 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7134 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7135 hardcode_libdir_flag_spec='-R$libdir'
7137 hardcode_shlibpath_var=no
7141 if test "$GCC" = yes; then
7142 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'
7144 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'
7146 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7147 hardcode_libdir_separator=:
7150 # hardcode_minus_L: Not really in the search PATH,
7151 # but as the default location of the library.
7152 hardcode_minus_L=yes
7153 export_dynamic_flag_spec='${wl}-E'
7157 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7160 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7163 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7169 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7172 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7176 if test "$with_gnu_ld" = no; then
7179 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7180 hardcode_libdir_flag_spec_ld='+b $libdir'
7181 hardcode_libdir_separator=:
7183 hardcode_shlibpath_var=no
7186 hardcode_libdir_flag_spec='-L$libdir'
7188 hardcode_shlibpath_var=no
7190 # hardcode_minus_L: Not really in the search PATH,
7191 # but as the default location of the library.
7192 hardcode_minus_L=yes
7195 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7196 hardcode_libdir_separator=:
7198 export_dynamic_flag_spec='${wl}-E'
7200 # hardcode_minus_L: Not really in the search PATH,
7201 # but as the default location of the library.
7202 hardcode_minus_L=yes
7208 irix5* | irix6* | nonstopux*)
7209 if test "$GCC" = yes; then
7210 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'
7212 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'
7213 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7215 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7216 hardcode_libdir_separator=:
7217 link_all_deplibs=yes
7221 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7222 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7224 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7226 hardcode_libdir_flag_spec='-R$libdir'
7228 hardcode_shlibpath_var=no
7232 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7234 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7235 hardcode_libdir_separator=:
7236 hardcode_shlibpath_var=no
7241 hardcode_shlibpath_var=no
7242 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7243 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7244 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7245 export_dynamic_flag_spec='${wl}-E'
7248 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7249 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7250 hardcode_libdir_flag_spec='-R$libdir'
7253 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7254 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7261 hardcode_libdir_flag_spec='-L$libdir'
7262 hardcode_minus_L=yes
7263 allow_undefined_flag=unsupported
7264 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'
7265 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7269 if test "$GCC" = yes; then
7270 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7271 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'
7273 allow_undefined_flag=' -expect_unresolved \*'
7274 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'
7276 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7277 hardcode_libdir_separator=:
7280 osf4* | osf5*) # as osf3* with the addition of -msym flag
7281 if test "$GCC" = yes; then
7282 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7283 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'
7284 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7286 allow_undefined_flag=' -expect_unresolved \*'
7287 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'
7288 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7289 $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'
7291 # Both c and cxx compiler support -rpath directly
7292 hardcode_libdir_flag_spec='-rpath $libdir'
7294 hardcode_libdir_separator=:
7298 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7299 hardcode_shlibpath_var=no
7300 export_dynamic_flag_spec='${wl}-Bexport'
7301 runpath_var=LD_RUN_PATH
7302 hardcode_runpath_var=yes
7306 no_undefined_flag=' -z text'
7307 if test "$GCC" = yes; then
7308 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7309 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7310 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7312 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7313 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7314 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7316 hardcode_libdir_flag_spec='-R$libdir'
7317 hardcode_shlibpath_var=no
7319 solaris2.[0-5] | solaris2.[0-5].*) ;;
7320 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7321 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7323 link_all_deplibs=yes
7327 if test "x$host_vendor" = xsequent; then
7328 # Use $CC to link under sequent, because it throws in some extra .o
7329 # files that make .init and .fini sections work.
7330 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7332 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7334 hardcode_libdir_flag_spec='-L$libdir'
7336 hardcode_minus_L=yes
7337 hardcode_shlibpath_var=no
7341 case $host_vendor in
7343 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7344 hardcode_direct=yes # is this really true???
7347 ## LD is ld it makes a PLAMLIB
7348 ## CC just makes a GrossModule.
7349 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7350 reload_cmds='$CC -r -o $output$reload_objs'
7354 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7355 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7358 runpath_var='LD_RUN_PATH'
7359 hardcode_shlibpath_var=no
7363 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7364 hardcode_shlibpath_var=no
7365 export_dynamic_flag_spec='-Bexport'
7369 if test -d /usr/nec; then
7370 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7371 hardcode_shlibpath_var=no
7372 runpath_var=LD_RUN_PATH
7373 hardcode_runpath_var=yes
7379 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7382 hardcode_shlibpath_var=no
7383 hardcode_runpath_var=yes
7384 runpath_var=LD_RUN_PATH
7387 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7388 no_undefined_flag='${wl}-z ${wl}text'
7389 if test "$GCC" = yes; then
7390 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7392 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7394 runpath_var='LD_RUN_PATH'
7395 hardcode_shlibpath_var=no
7399 no_undefined_flag=' -z text'
7400 # $CC -shared without GNU ld will not create a library from C++
7401 # object files and a static libstdc++, better avoid it by now
7402 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7403 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7404 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7405 hardcode_libdir_flag_spec=
7406 hardcode_shlibpath_var=no
7407 runpath_var='LD_RUN_PATH'
7411 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7412 hardcode_libdir_flag_spec='-L$libdir'
7413 hardcode_shlibpath_var=no
7422 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7423 echo "${ECHO_T}$ld_shlibs" >&6
7424 test "$ld_shlibs" = no && can_build_shared=no
7426 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7427 if test "$GCC" = yes; then
7428 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7432 # Do we need to explicitly link libc?
7434 case "x$archive_cmds_need_lc" in
7436 # Assume -lc should be added
7437 archive_cmds_need_lc=yes
7439 if test "$enable_shared" = yes && test "$GCC" = yes; then
7440 case $archive_cmds in
7442 # FIXME: we may have to deal with multi-command sequences.
7445 # Test whether the compiler implicitly links with -lc since on some
7446 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7447 # to ld, don't add -lc before -lgcc.
7448 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7449 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7451 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7454 (eval $ac_compile) 2>&5
7456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457 (exit $ac_status); } 2>conftest.err; then
7460 libobjs=conftest.$ac_objext
7462 wl=$lt_prog_compiler_wl
7468 lt_save_allow_undefined_flag=$allow_undefined_flag
7469 allow_undefined_flag=
7470 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7471 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 (exit $ac_status); }
7476 archive_cmds_need_lc=no
7478 archive_cmds_need_lc=yes
7480 allow_undefined_flag=$lt_save_allow_undefined_flag
7482 cat conftest.err 1>&5
7485 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7486 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7493 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7494 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7496 if test -n "$hardcode_libdir_flag_spec" || \
7497 test -n "$runpath_var " || \
7498 test "X$hardcode_automatic"="Xyes" ; then
7500 # We can hardcode non-existant directories.
7501 if test "$hardcode_direct" != no &&
7502 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7503 # have to relink, otherwise we might link with an installed library
7504 # when we should be linking with a yet-to-be-installed one
7505 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7506 test "$hardcode_minus_L" != no; then
7507 # Linking always hardcodes the temporary library directory.
7508 hardcode_action=relink
7510 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7511 hardcode_action=immediate
7514 # We cannot hardcode anything, or else we can only hardcode existing
7516 hardcode_action=unsupported
7518 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7519 echo "${ECHO_T}$hardcode_action" >&6
7521 if test "$hardcode_action" = relink; then
7522 # Fast installation is not supported
7523 enable_fast_install=no
7524 elif test "$shlibpath_overrides_runpath" = yes ||
7525 test "$enable_shared" = no; then
7526 # Fast installation is not necessary
7527 enable_fast_install=needless
7532 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7533 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7534 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7535 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7536 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7537 echo "$as_me:$LINENO: result: yes" >&5
7538 echo "${ECHO_T}yes" >&6
7540 # FIXME - insert some real tests, host_os isn't really good enough
7543 if test -n "$STRIP" ; then
7544 striplib="$STRIP -x"
7545 echo "$as_me:$LINENO: result: yes" >&5
7546 echo "${ECHO_T}yes" >&6
7548 echo "$as_me:$LINENO: result: no" >&5
7549 echo "${ECHO_T}no" >&6
7553 echo "$as_me:$LINENO: result: no" >&5
7554 echo "${ECHO_T}no" >&6
7559 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7560 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7562 libname_spec='lib$name'
7570 shlibpath_overrides_runpath=unknown
7572 dynamic_linker="$host_os ld.so"
7573 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7574 if test "$GCC" = yes; then
7575 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7576 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7577 # if the path contains ";" then we assume it to be the separator
7578 # otherwise default to the standard path separator (i.e. ":") - it is
7579 # assumed that no part of a normal pathname contains ";" but that should
7580 # okay in the real world where ";" in dirpaths is itself problematic.
7581 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7583 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7586 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7588 need_lib_prefix=unknown
7589 hardcode_into_libs=no
7591 # when you set need_version to no, make sure it does not cause -set_version
7592 # flags to be left without arguments
7593 need_version=unknown
7598 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7599 shlibpath_var=LIBPATH
7601 # AIX 3 has no versioning support, so we append a major version to the name.
7602 soname_spec='${libname}${release}${shared_ext}$major'
7609 hardcode_into_libs=yes
7610 if test "$host_cpu" = ia64; then
7611 # AIX 5 supports IA64
7612 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7613 shlibpath_var=LD_LIBRARY_PATH
7615 # With GCC up to 2.95.x, collect2 would create an import file
7616 # for dependence libraries. The import file would start with
7617 # the line `#! .'. This would cause the generated library to
7618 # depend on `.', always an invalid library. This was fixed in
7619 # development snapshots of GCC prior to 3.0.
7621 aix4 | aix4.[01] | aix4.[01].*)
7622 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7624 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7631 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7632 # soname into executable. Probably we can add versioning support to
7633 # collect2, so additional links can be useful in future.
7634 if test "$aix_use_runtimelinking" = yes; then
7635 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7636 # instead of lib<name>.a to let people know that these are not
7637 # typical AIX shared libraries.
7638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7640 # We preserve .a as extension for shared libraries through AIX4.2
7641 # and later when we are not doing run time linking.
7642 library_names_spec='${libname}${release}.a $libname.a'
7643 soname_spec='${libname}${release}${shared_ext}$major'
7645 shlibpath_var=LIBPATH
7650 library_names_spec='$libname.ixlibrary $libname.a'
7651 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7652 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'
7656 library_names_spec='${libname}${shared_ext}'
7657 dynamic_linker="$host_os ld.so"
7658 shlibpath_var=LIBRARY_PATH
7664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7665 soname_spec='${libname}${release}${shared_ext}$major'
7666 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7667 shlibpath_var=LD_LIBRARY_PATH
7668 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7669 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7670 # the default ld.so.conf also contains /usr/contrib/lib and
7671 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7672 # libtool to hard-code these into programs
7675 cygwin* | mingw* | pw32*)
7676 version_type=windows
7681 case $GCC,$host_os in
7682 yes,cygwin* | yes,mingw* | yes,pw32*)
7683 library_names_spec='$libname.dll.a'
7684 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7685 postinstall_cmds='base_file=`basename \${file}`~
7686 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7687 dldir=$destdir/`dirname \$dlpath`~
7688 test -d \$dldir || mkdir -p \$dldir~
7689 $install_prog $dir/$dlname \$dldir/$dlname'
7690 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7691 dlpath=$dir/\$dldll~
7693 shlibpath_overrides_runpath=yes
7697 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7698 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7699 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7702 # MinGW DLLs use traditional 'lib' prefix
7703 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7704 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7705 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7706 # It is most probably a Windows format PATH printed by
7707 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7708 # path with ; separators, and with drive letters. We can handle the
7709 # drive letters (cygwin fileutils understands them), so leave them,
7710 # especially as we might pass files found there to a mingw objdump,
7711 # which wouldn't understand a cygwinified path. Ahh.
7712 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7714 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7718 # pw32 DLLs use 'pw' prefix rather than 'lib'
7719 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7725 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7728 dynamic_linker='Win32 ld.exe'
7729 # FIXME: first we should search . and the directory the executable is in
7733 darwin* | rhapsody*)
7734 dynamic_linker="$host_os dyld"
7738 # FIXME: Relying on posixy $() will cause problems for
7739 # cross-compilation, but unfortunately the echo tests do not
7740 # yet detect zsh echo's removal of \ escapes.
7741 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7742 soname_spec='${libname}${release}${major}$shared_ext'
7743 shlibpath_overrides_runpath=yes
7744 shlibpath_var=DYLD_LIBRARY_PATH
7745 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7746 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7747 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7748 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"`
7750 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7758 soname_spec='${libname}${release}${shared_ext}$major'
7759 shlibpath_var=LD_LIBRARY_PATH
7767 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7768 version_type=freebsd-$objformat
7769 case $version_type in
7771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7776 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7780 shlibpath_var=LD_LIBRARY_PATH
7783 shlibpath_overrides_runpath=yes
7785 freebsd3.01* | freebsdelf3.01*)
7786 shlibpath_overrides_runpath=yes
7787 hardcode_into_libs=yes
7790 shlibpath_overrides_runpath=no
7791 hardcode_into_libs=yes
7800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7801 soname_spec='${libname}${release}${shared_ext}$major'
7802 shlibpath_var=LD_LIBRARY_PATH
7803 hardcode_into_libs=yes
7806 hpux9* | hpux10* | hpux11*)
7807 # Give a soname corresponding to the major version so that dld.sl refuses to
7808 # link against other versions.
7815 hardcode_into_libs=yes
7816 dynamic_linker="$host_os dld.so"
7817 shlibpath_var=LD_LIBRARY_PATH
7818 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7820 soname_spec='${libname}${release}${shared_ext}$major'
7821 if test "X$HPUX_IA64_MODE" = X32; then
7822 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7824 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7826 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7830 hardcode_into_libs=yes
7831 dynamic_linker="$host_os dld.sl"
7832 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7833 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7835 soname_spec='${libname}${release}${shared_ext}$major'
7836 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7837 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7841 dynamic_linker="$host_os dld.sl"
7842 shlibpath_var=SHLIB_PATH
7843 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7845 soname_spec='${libname}${release}${shared_ext}$major'
7848 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7849 postinstall_cmds='chmod 555 $lib'
7852 irix5* | irix6* | nonstopux*)
7854 nonstopux*) version_type=nonstopux ;;
7856 if test "$lt_cv_prog_gnu_ld" = yes; then
7864 soname_spec='${libname}${release}${shared_ext}$major'
7865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7867 irix5* | nonstopux*)
7871 case $LD in # libtool.m4 will add one of these switches to LD
7872 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7873 libsuff= shlibsuff= libmagic=32-bit;;
7874 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7875 libsuff=32 shlibsuff=N32 libmagic=N32;;
7876 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7877 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7878 *) libsuff= shlibsuff= libmagic=never-match;;
7882 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7883 shlibpath_overrides_runpath=no
7884 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7885 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7886 hardcode_into_libs=yes
7889 # No shared lib support for Linux oldld, aout, or coff.
7890 linux*oldld* | linux*aout* | linux*coff*)
7894 # This must be Linux ELF.
7899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7900 soname_spec='${libname}${release}${shared_ext}$major'
7901 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7902 shlibpath_var=LD_LIBRARY_PATH
7903 shlibpath_overrides_runpath=no
7904 # This implies no fast_install, which is unacceptable.
7905 # Some rework will be needed to allow for fast_install
7906 # before this can be enabled.
7907 hardcode_into_libs=yes
7909 # We used to test for /lib/ld.so.1 and disable shared libraries on
7910 # powerpc, because MkLinux only supported shared libraries with the
7911 # GNU dynamic linker. Since this was broken with cross compilers,
7912 # most powerpc-linux boxes support dynamic linking these days and
7913 # people can always --disable-shared, the test was removed, and we
7914 # assume the GNU/Linux dynamic linker is in use.
7915 dynamic_linker='GNU/Linux ld.so'
7922 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7924 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7925 dynamic_linker='NetBSD (a.out) ld.so'
7927 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7928 soname_spec='${libname}${release}${shared_ext}$major'
7929 dynamic_linker='NetBSD ld.elf_so'
7931 shlibpath_var=LD_LIBRARY_PATH
7932 shlibpath_overrides_runpath=yes
7933 hardcode_into_libs=yes
7938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7939 shlibpath_var=LD_LIBRARY_PATH
7940 shlibpath_overrides_runpath=yes
7947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7948 soname_spec='${libname}${release}${shared_ext}$major'
7949 shlibpath_var=LD_LIBRARY_PATH
7950 shlibpath_overrides_runpath=yes
7957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7958 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7959 shlibpath_var=LD_LIBRARY_PATH
7960 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7962 openbsd2.[89] | openbsd2.[89].*)
7963 shlibpath_overrides_runpath=no
7966 shlibpath_overrides_runpath=yes
7970 shlibpath_overrides_runpath=yes
7975 libname_spec='$name'
7978 library_names_spec='$libname${shared_ext} $libname.a'
7979 dynamic_linker='OS/2 ld.exe'
7980 shlibpath_var=LIBPATH
7983 osf3* | osf4* | osf5*)
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
7990 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7991 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7996 soname_spec='${libname}${release}${shared_ext}$major'
7997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7998 shlibpath_var=LD_LIBRARY_PATH
8005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8006 soname_spec='${libname}${release}${shared_ext}$major'
8007 shlibpath_var=LD_LIBRARY_PATH
8008 shlibpath_overrides_runpath=yes
8009 hardcode_into_libs=yes
8010 # ldd complains unless libraries are executable
8011 postinstall_cmds='chmod +x $lib'
8016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8017 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8018 shlibpath_var=LD_LIBRARY_PATH
8019 shlibpath_overrides_runpath=yes
8020 if test "$with_gnu_ld" = yes; then
8026 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8029 soname_spec='${libname}${release}${shared_ext}$major'
8030 shlibpath_var=LD_LIBRARY_PATH
8031 case $host_vendor in
8033 shlibpath_overrides_runpath=no
8035 export_dynamic_flag_spec='${wl}-Blargedynsym'
8036 runpath_var=LD_RUN_PATH
8044 shlibpath_overrides_runpath=no
8045 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8051 if test -d /usr/nec ;then
8053 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8054 soname_spec='$libname${shared_ext}.$major'
8055 shlibpath_var=LD_LIBRARY_PATH
8061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8062 soname_spec='${libname}${release}${shared_ext}$major'
8063 shlibpath_var=LD_LIBRARY_PATH
8070 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8071 echo "${ECHO_T}$dynamic_linker" >&6
8072 test "$dynamic_linker" = no && can_build_shared=no
8074 if test "x$enable_dlopen" != xyes; then
8075 enable_dlopen=unknown
8076 enable_dlopen_self=unknown
8077 enable_dlopen_self_static=unknown
8084 lt_cv_dlopen="load_add_on"
8086 lt_cv_dlopen_self=yes
8090 lt_cv_dlopen="LoadLibrary"
8095 lt_cv_dlopen="dlopen"
8100 # if libdl is installed we need to link against it
8101 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8102 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8103 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8104 echo $ECHO_N "(cached) $ECHO_C" >&6
8106 ac_check_lib_save_LIBS=$LIBS
8108 cat >conftest.$ac_ext <<_ACEOF
8109 #line $LINENO "configure"
8112 cat confdefs.h >>conftest.$ac_ext
8113 cat >>conftest.$ac_ext <<_ACEOF
8114 /* end confdefs.h. */
8116 /* Override any gcc2 internal prototype to avoid an error. */
8120 /* We use char because int might match the return type of a gcc2
8121 builtin and then its argument prototype would still apply. */
8131 rm -f conftest.$ac_objext conftest$ac_exeext
8132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8133 (eval $ac_link) 2>&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); } &&
8137 { ac_try='test -s conftest$ac_exeext'
8138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 (exit $ac_status); }; }; then
8143 ac_cv_lib_dl_dlopen=yes
8145 echo "$as_me: failed program was:" >&5
8146 sed 's/^/| /' conftest.$ac_ext >&5
8148 ac_cv_lib_dl_dlopen=no
8150 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8151 LIBS=$ac_check_lib_save_LIBS
8153 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8154 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8155 if test $ac_cv_lib_dl_dlopen = yes; then
8156 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8161 lt_cv_dlopen_self=yes
8168 echo "$as_me:$LINENO: checking for shl_load" >&5
8169 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8170 if test "${ac_cv_func_shl_load+set}" = set; then
8171 echo $ECHO_N "(cached) $ECHO_C" >&6
8173 cat >conftest.$ac_ext <<_ACEOF
8174 #line $LINENO "configure"
8177 cat confdefs.h >>conftest.$ac_ext
8178 cat >>conftest.$ac_ext <<_ACEOF
8179 /* end confdefs.h. */
8180 /* System header to define __stub macros and hopefully few prototypes,
8181 which can conflict with char shl_load (); below.
8182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8183 <limits.h> exists even on freestanding compilers. */
8185 # include <limits.h>
8187 # include <assert.h>
8189 /* Override any gcc2 internal prototype to avoid an error. */
8194 /* We use char because int might match the return type of a gcc2
8195 builtin and then its argument prototype would still apply. */
8197 /* The GNU C library defines this for functions which it implements
8198 to always fail with ENOSYS. Some functions are actually named
8199 something starting with __ and the normal name is an alias. */
8200 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8203 char (*f) () = shl_load;
8212 return f != shl_load;
8217 rm -f conftest.$ac_objext conftest$ac_exeext
8218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8219 (eval $ac_link) 2>&5
8221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222 (exit $ac_status); } &&
8223 { ac_try='test -s conftest$ac_exeext'
8224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); }; }; then
8229 ac_cv_func_shl_load=yes
8231 echo "$as_me: failed program was:" >&5
8232 sed 's/^/| /' conftest.$ac_ext >&5
8234 ac_cv_func_shl_load=no
8236 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8238 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8239 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8240 if test $ac_cv_func_shl_load = yes; then
8241 lt_cv_dlopen="shl_load"
8243 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8244 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8245 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8246 echo $ECHO_N "(cached) $ECHO_C" >&6
8248 ac_check_lib_save_LIBS=$LIBS
8250 cat >conftest.$ac_ext <<_ACEOF
8251 #line $LINENO "configure"
8254 cat confdefs.h >>conftest.$ac_ext
8255 cat >>conftest.$ac_ext <<_ACEOF
8256 /* end confdefs.h. */
8258 /* Override any gcc2 internal prototype to avoid an error. */
8262 /* We use char because int might match the return type of a gcc2
8263 builtin and then its argument prototype would still apply. */
8273 rm -f conftest.$ac_objext conftest$ac_exeext
8274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8275 (eval $ac_link) 2>&5
8277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8278 (exit $ac_status); } &&
8279 { ac_try='test -s conftest$ac_exeext'
8280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284 (exit $ac_status); }; }; then
8285 ac_cv_lib_dld_shl_load=yes
8287 echo "$as_me: failed program was:" >&5
8288 sed 's/^/| /' conftest.$ac_ext >&5
8290 ac_cv_lib_dld_shl_load=no
8292 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8293 LIBS=$ac_check_lib_save_LIBS
8295 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8296 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8297 if test $ac_cv_lib_dld_shl_load = yes; then
8298 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8300 echo "$as_me:$LINENO: checking for dlopen" >&5
8301 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8302 if test "${ac_cv_func_dlopen+set}" = set; then
8303 echo $ECHO_N "(cached) $ECHO_C" >&6
8305 cat >conftest.$ac_ext <<_ACEOF
8306 #line $LINENO "configure"
8309 cat confdefs.h >>conftest.$ac_ext
8310 cat >>conftest.$ac_ext <<_ACEOF
8311 /* end confdefs.h. */
8312 /* System header to define __stub macros and hopefully few prototypes,
8313 which can conflict with char dlopen (); below.
8314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8315 <limits.h> exists even on freestanding compilers. */
8317 # include <limits.h>
8319 # include <assert.h>
8321 /* Override any gcc2 internal prototype to avoid an error. */
8326 /* We use char because int might match the return type of a gcc2
8327 builtin and then its argument prototype would still apply. */
8329 /* The GNU C library defines this for functions which it implements
8330 to always fail with ENOSYS. Some functions are actually named
8331 something starting with __ and the normal name is an alias. */
8332 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8335 char (*f) () = dlopen;
8349 rm -f conftest.$ac_objext conftest$ac_exeext
8350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8351 (eval $ac_link) 2>&5
8353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354 (exit $ac_status); } &&
8355 { ac_try='test -s conftest$ac_exeext'
8356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360 (exit $ac_status); }; }; then
8361 ac_cv_func_dlopen=yes
8363 echo "$as_me: failed program was:" >&5
8364 sed 's/^/| /' conftest.$ac_ext >&5
8366 ac_cv_func_dlopen=no
8368 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8370 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8371 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8372 if test $ac_cv_func_dlopen = yes; then
8373 lt_cv_dlopen="dlopen"
8375 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8376 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8377 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8378 echo $ECHO_N "(cached) $ECHO_C" >&6
8380 ac_check_lib_save_LIBS=$LIBS
8382 cat >conftest.$ac_ext <<_ACEOF
8383 #line $LINENO "configure"
8386 cat confdefs.h >>conftest.$ac_ext
8387 cat >>conftest.$ac_ext <<_ACEOF
8388 /* end confdefs.h. */
8390 /* Override any gcc2 internal prototype to avoid an error. */
8394 /* We use char because int might match the return type of a gcc2
8395 builtin and then its argument prototype would still apply. */
8405 rm -f conftest.$ac_objext conftest$ac_exeext
8406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8407 (eval $ac_link) 2>&5
8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410 (exit $ac_status); } &&
8411 { ac_try='test -s conftest$ac_exeext'
8412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8416 (exit $ac_status); }; }; then
8417 ac_cv_lib_dl_dlopen=yes
8419 echo "$as_me: failed program was:" >&5
8420 sed 's/^/| /' conftest.$ac_ext >&5
8422 ac_cv_lib_dl_dlopen=no
8424 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8425 LIBS=$ac_check_lib_save_LIBS
8427 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8428 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8429 if test $ac_cv_lib_dl_dlopen = yes; then
8430 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8432 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8433 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8434 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8435 echo $ECHO_N "(cached) $ECHO_C" >&6
8437 ac_check_lib_save_LIBS=$LIBS
8439 cat >conftest.$ac_ext <<_ACEOF
8440 #line $LINENO "configure"
8443 cat confdefs.h >>conftest.$ac_ext
8444 cat >>conftest.$ac_ext <<_ACEOF
8445 /* end confdefs.h. */
8447 /* Override any gcc2 internal prototype to avoid an error. */
8451 /* We use char because int might match the return type of a gcc2
8452 builtin and then its argument prototype would still apply. */
8462 rm -f conftest.$ac_objext conftest$ac_exeext
8463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8464 (eval $ac_link) 2>&5
8466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8467 (exit $ac_status); } &&
8468 { ac_try='test -s conftest$ac_exeext'
8469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); }; }; then
8474 ac_cv_lib_svld_dlopen=yes
8476 echo "$as_me: failed program was:" >&5
8477 sed 's/^/| /' conftest.$ac_ext >&5
8479 ac_cv_lib_svld_dlopen=no
8481 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8482 LIBS=$ac_check_lib_save_LIBS
8484 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8485 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8486 if test $ac_cv_lib_svld_dlopen = yes; then
8487 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8489 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8490 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8491 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8492 echo $ECHO_N "(cached) $ECHO_C" >&6
8494 ac_check_lib_save_LIBS=$LIBS
8496 cat >conftest.$ac_ext <<_ACEOF
8497 #line $LINENO "configure"
8500 cat confdefs.h >>conftest.$ac_ext
8501 cat >>conftest.$ac_ext <<_ACEOF
8502 /* end confdefs.h. */
8504 /* Override any gcc2 internal prototype to avoid an error. */
8508 /* We use char because int might match the return type of a gcc2
8509 builtin and then its argument prototype would still apply. */
8519 rm -f conftest.$ac_objext conftest$ac_exeext
8520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8521 (eval $ac_link) 2>&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); } &&
8525 { ac_try='test -s conftest$ac_exeext'
8526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530 (exit $ac_status); }; }; then
8531 ac_cv_lib_dld_dld_link=yes
8533 echo "$as_me: failed program was:" >&5
8534 sed 's/^/| /' conftest.$ac_ext >&5
8536 ac_cv_lib_dld_dld_link=no
8538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8539 LIBS=$ac_check_lib_save_LIBS
8541 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8542 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8543 if test $ac_cv_lib_dld_dld_link = yes; then
8544 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8565 if test "x$lt_cv_dlopen" != xno; then
8571 case $lt_cv_dlopen in
8573 save_CPPFLAGS="$CPPFLAGS"
8574 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8576 save_LDFLAGS="$LDFLAGS"
8577 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8580 LIBS="$lt_cv_dlopen_libs $LIBS"
8582 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8583 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8584 if test "${lt_cv_dlopen_self+set}" = set; then
8585 echo $ECHO_N "(cached) $ECHO_C" >&6
8587 if test "$cross_compiling" = yes; then :
8588 lt_cv_dlopen_self=cross
8590 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8591 lt_status=$lt_dlunknown
8592 cat > conftest.$ac_ext <<EOF
8593 #line 8593 "configure"
8594 #include "confdefs.h"
8603 # define LT_DLGLOBAL RTLD_GLOBAL
8606 # define LT_DLGLOBAL DL_GLOBAL
8608 # define LT_DLGLOBAL 0
8612 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8613 find out it does not work in some platform. */
8614 #ifndef LT_DLLAZY_OR_NOW
8616 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8619 # define LT_DLLAZY_OR_NOW DL_LAZY
8622 # define LT_DLLAZY_OR_NOW RTLD_NOW
8625 # define LT_DLLAZY_OR_NOW DL_NOW
8627 # define LT_DLLAZY_OR_NOW 0
8635 extern "C" void exit (int);
8638 void fnord() { int i=42;}
8641 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8642 int status = $lt_dlunknown;
8646 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8647 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8648 /* dlclose (self); */
8654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8655 (eval $ac_link) 2>&5
8657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8658 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8659 (./conftest; exit; ) 2>/dev/null
8662 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8663 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8664 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8667 # compilation failed
8668 lt_cv_dlopen_self=no
8675 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8676 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8678 if test "x$lt_cv_dlopen_self" = xyes; then
8679 LDFLAGS="$LDFLAGS $link_static_flag"
8680 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8681 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8682 if test "${lt_cv_dlopen_self_static+set}" = set; then
8683 echo $ECHO_N "(cached) $ECHO_C" >&6
8685 if test "$cross_compiling" = yes; then :
8686 lt_cv_dlopen_self_static=cross
8688 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8689 lt_status=$lt_dlunknown
8690 cat > conftest.$ac_ext <<EOF
8691 #line 8691 "configure"
8692 #include "confdefs.h"
8701 # define LT_DLGLOBAL RTLD_GLOBAL
8704 # define LT_DLGLOBAL DL_GLOBAL
8706 # define LT_DLGLOBAL 0
8710 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8711 find out it does not work in some platform. */
8712 #ifndef LT_DLLAZY_OR_NOW
8714 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8717 # define LT_DLLAZY_OR_NOW DL_LAZY
8720 # define LT_DLLAZY_OR_NOW RTLD_NOW
8723 # define LT_DLLAZY_OR_NOW DL_NOW
8725 # define LT_DLLAZY_OR_NOW 0
8733 extern "C" void exit (int);
8736 void fnord() { int i=42;}
8739 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8740 int status = $lt_dlunknown;
8744 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8745 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8746 /* dlclose (self); */
8752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8753 (eval $ac_link) 2>&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8757 (./conftest; exit; ) 2>/dev/null
8760 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8761 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8762 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8765 # compilation failed
8766 lt_cv_dlopen_self_static=no
8773 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8774 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8777 CPPFLAGS="$save_CPPFLAGS"
8778 LDFLAGS="$save_LDFLAGS"
8783 case $lt_cv_dlopen_self in
8784 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8785 *) enable_dlopen_self=unknown ;;
8788 case $lt_cv_dlopen_self_static in
8789 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8790 *) enable_dlopen_self_static=unknown ;;
8795 # Report which librarie types wil actually be built
8796 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8797 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8798 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8799 echo "${ECHO_T}$can_build_shared" >&6
8801 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8802 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8803 test "$can_build_shared" = "no" && enable_shared=no
8805 # On AIX, shared libraries and static libraries use the same namespace, and
8806 # are all built from PIC.
8809 test "$enable_shared" = yes && enable_static=no
8810 if test -n "$RANLIB"; then
8811 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8812 postinstall_cmds='$RANLIB $lib'
8817 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8818 test "$enable_shared" = yes && enable_static=no
8821 darwin* | rhapsody*)
8822 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8823 archive_cmds_need_lc=no
8825 rhapsody* | darwin1.[012])
8826 allow_undefined_flag='-undefined suppress'
8829 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8832 # FIXME: Relying on posixy $() will cause problems for
8833 # cross-compilation, but unfortunately the echo tests do not
8834 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8835 # `"' quotes if we put them in here... so don't!
8836 output_verbose_link_cmd='echo'
8837 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8838 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8839 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8840 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}'
8841 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}'
8843 hardcode_automatic=yes
8844 hardcode_shlibpath_var=unsupported
8845 whole_archive_flag_spec='-all_load $convenience'
8846 link_all_deplibs=yes
8850 echo "$as_me:$LINENO: result: $enable_shared" >&5
8851 echo "${ECHO_T}$enable_shared" >&6
8853 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8854 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8855 # Make sure either enable_shared or enable_static is yes.
8856 test "$enable_shared" = yes || enable_static=yes
8857 echo "$as_me:$LINENO: result: $enable_static" >&5
8858 echo "${ECHO_T}$enable_static" >&6
8860 # The else clause should only fire when bootstrapping the
8861 # libtool distribution, otherwise you forgot to ship ltmain.sh
8862 # with your package, and you will get complaints that there are
8863 # no rules to generate ltmain.sh.
8864 if test -f "$ltmain"; then
8865 # See if we are running on zsh, and set the options which allow our commands through
8866 # without removal of \ escapes.
8867 if test -n "${ZSH_VERSION+set}" ; then
8868 setopt NO_GLOB_SUBST
8870 # Now quote all the things that may contain metacharacters while being
8871 # careful not to overquote the AC_SUBSTed values. We take copies of the
8872 # variables and quote the copies for generation of the libtool script.
8873 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8874 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8875 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8876 deplibs_check_method reload_flag reload_cmds need_locks \
8877 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8878 lt_cv_sys_global_symbol_to_c_name_address \
8879 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8880 old_postinstall_cmds old_postuninstall_cmds \
8884 lt_prog_compiler_wl \
8885 lt_prog_compiler_pic \
8886 lt_prog_compiler_static \
8887 lt_prog_compiler_no_builtin_flag \
8888 export_dynamic_flag_spec \
8889 thread_safe_flag_spec \
8890 whole_archive_flag_spec \
8891 enable_shared_with_static_runtimes \
8893 old_archive_from_new_cmds \
8898 compiler_lib_search_path \
8900 archive_expsym_cmds \
8902 postuninstall_cmds \
8903 old_archive_from_expsyms_cmds \
8904 allow_undefined_flag \
8906 export_symbols_cmds \
8907 hardcode_libdir_flag_spec \
8908 hardcode_libdir_flag_spec_ld \
8909 hardcode_libdir_separator \
8910 hardcode_automatic \
8912 module_expsym_cmds \
8913 lt_cv_prog_compiler_c_o \
8918 old_archive_cmds | \
8919 old_archive_from_new_cmds | \
8921 archive_expsym_cmds | \
8923 module_expsym_cmds | \
8924 old_archive_from_expsyms_cmds | \
8925 export_symbols_cmds | \
8926 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8927 postinstall_cmds | postuninstall_cmds | \
8928 old_postinstall_cmds | old_postuninstall_cmds | \
8929 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8930 # Double-quote double-evaled strings.
8931 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8934 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8940 *'\$0 --fallback-echo"')
8941 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8946 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8948 { echo "$as_me:$LINENO: creating $ofile" >&5
8949 echo "$as_me: creating $ofile" >&6;}
8951 cat <<__EOF__ >> "$cfgfile"
8954 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8955 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8956 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8958 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8959 # Free Software Foundation, Inc.
8961 # This file is part of GNU Libtool:
8962 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8964 # This program is free software; you can redistribute it and/or modify
8965 # it under the terms of the GNU General Public License as published by
8966 # the Free Software Foundation; either version 2 of the License, or
8967 # (at your option) any later version.
8969 # This program is distributed in the hope that it will be useful, but
8970 # WITHOUT ANY WARRANTY; without even the implied warranty of
8971 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8972 # General Public License for more details.
8974 # You should have received a copy of the GNU General Public License
8975 # along with this program; if not, write to the Free Software
8976 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8978 # As a special exception to the GNU General Public License, if you
8979 # distribute this file as part of a program that contains a
8980 # configuration script generated by Autoconf, you may include it under
8981 # the same distribution terms that you use for the rest of that program.
8983 # A sed program that does not truncate output.
8986 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8987 Xsed="$SED -e s/^X//"
8989 # The HP-UX ksh and POSIX shell print the target directory to stdout
8991 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8993 # The names of the tagged configurations supported by this script.
8996 # ### BEGIN LIBTOOL CONFIG
8998 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9000 # Shell to use when invoking shell scripts.
9003 # Whether or not to build shared libraries.
9004 build_libtool_libs=$enable_shared
9006 # Whether or not to build static libraries.
9007 build_old_libs=$enable_static
9009 # Whether or not to add -lc for building shared libraries.
9010 build_libtool_need_lc=$archive_cmds_need_lc
9012 # Whether or not to disallow shared libs when runtime libs are static
9013 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9015 # Whether or not to optimize for fast installation.
9016 fast_install=$enable_fast_install
9019 host_alias=$host_alias
9022 # An echo program that does not interpret backslashes.
9027 AR_FLAGS=$lt_AR_FLAGS
9032 # A language-specific compiler.
9035 # Is the compiler the GNU C compiler?
9041 # The linker used to build libraries.
9044 # Whether we need hard or soft links.
9047 # A BSD-compatible nm program.
9050 # A symbol stripping program
9053 # Used to examine libraries when file_magic_cmd begins "file"
9054 MAGIC_CMD=$MAGIC_CMD
9056 # Used on cygwin: DLL creation program.
9059 # Used on cygwin: object dumper.
9062 # Used on cygwin: assembler.
9065 # The name of the directory that contains temporary libtool files.
9068 # How to create reloadable object files.
9069 reload_flag=$lt_reload_flag
9070 reload_cmds=$lt_reload_cmds
9072 # How to pass a linker flag through the compiler.
9073 wl=$lt_lt_prog_compiler_wl
9075 # Object file suffix (normally "o").
9078 # Old archive suffix (normally "a").
9081 # Shared library suffix (normally ".so").
9084 # Executable file suffix (normally "").
9087 # Additional compiler flags for building library objects.
9088 pic_flag=$lt_lt_prog_compiler_pic
9091 # What is the maximum length of a command?
9092 max_cmd_len=$lt_cv_sys_max_cmd_len
9094 # Does compiler simultaneously support -c and -o options?
9095 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9097 # Must we lock files when doing compilation ?
9098 need_locks=$lt_need_locks
9100 # Do we need the lib prefix for modules?
9101 need_lib_prefix=$need_lib_prefix
9103 # Do we need a version for libraries?
9104 need_version=$need_version
9106 # Whether dlopen is supported.
9107 dlopen_support=$enable_dlopen
9109 # Whether dlopen of programs is supported.
9110 dlopen_self=$enable_dlopen_self
9112 # Whether dlopen of statically linked programs is supported.
9113 dlopen_self_static=$enable_dlopen_self_static
9115 # Compiler flag to prevent dynamic linking.
9116 link_static_flag=$lt_lt_prog_compiler_static
9118 # Compiler flag to turn off builtin functions.
9119 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9121 # Compiler flag to allow reflexive dlopens.
9122 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9124 # Compiler flag to generate shared objects directly from archives.
9125 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9127 # Compiler flag to generate thread-safe objects.
9128 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9130 # Library versioning type.
9131 version_type=$version_type
9133 # Format of library name prefix.
9134 libname_spec=$lt_libname_spec
9136 # List of archive names. First name is the real one, the rest are links.
9137 # The last name is the one that the linker finds with -lNAME.
9138 library_names_spec=$lt_library_names_spec
9140 # The coded name of the library, if different from the real name.
9141 soname_spec=$lt_soname_spec
9143 # Commands used to build and install an old-style archive.
9145 old_archive_cmds=$lt_old_archive_cmds
9146 old_postinstall_cmds=$lt_old_postinstall_cmds
9147 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9149 # Create an old-style archive from a shared archive.
9150 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9152 # Create a temporary old-style archive to link instead of a shared archive.
9153 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9155 # Commands used to build and install a shared archive.
9156 archive_cmds=$lt_archive_cmds
9157 archive_expsym_cmds=$lt_archive_expsym_cmds
9158 postinstall_cmds=$lt_postinstall_cmds
9159 postuninstall_cmds=$lt_postuninstall_cmds
9161 # Commands used to build a loadable module (assumed same as above if empty)
9162 module_cmds=$lt_module_cmds
9163 module_expsym_cmds=$lt_module_expsym_cmds
9165 # Commands to strip libraries.
9166 old_striplib=$lt_old_striplib
9167 striplib=$lt_striplib
9169 # Dependencies to place before the objects being linked to create a
9171 predep_objects=$lt_predep_objects
9173 # Dependencies to place after the objects being linked to create a
9175 postdep_objects=$lt_postdep_objects
9177 # Dependencies to place before the objects being linked to create a
9181 # Dependencies to place after the objects being linked to create a
9183 postdeps=$lt_postdeps
9185 # The library search path used internally by the compiler when linking
9187 compiler_lib_search_path=$lt_compiler_lib_search_path
9189 # Method to check whether dependent libraries are shared objects.
9190 deplibs_check_method=$lt_deplibs_check_method
9192 # Command to use when deplibs_check_method == file_magic.
9193 file_magic_cmd=$lt_file_magic_cmd
9195 # Flag that allows shared libraries with undefined symbols to be built.
9196 allow_undefined_flag=$lt_allow_undefined_flag
9198 # Flag that forces no undefined symbols.
9199 no_undefined_flag=$lt_no_undefined_flag
9201 # Commands used to finish a libtool library installation in a directory.
9202 finish_cmds=$lt_finish_cmds
9204 # Same as above, but a single script fragment to be evaled but not shown.
9205 finish_eval=$lt_finish_eval
9207 # Take the output of nm and produce a listing of raw symbols and C names.
9208 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9210 # Transform the output of nm in a proper C declaration
9211 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9213 # Transform the output of nm in a C name address pair
9214 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9216 # This is the shared library runtime path variable.
9217 runpath_var=$runpath_var
9219 # This is the shared library path variable.
9220 shlibpath_var=$shlibpath_var
9222 # Is shlibpath searched before the hard-coded library search path?
9223 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9225 # How to hardcode a shared library path into an executable.
9226 hardcode_action=$hardcode_action
9228 # Whether we should hardcode library paths into libraries.
9229 hardcode_into_libs=$hardcode_into_libs
9231 # Flag to hardcode \$libdir into a binary during linking.
9232 # This must work even if \$libdir does not exist.
9233 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9235 # If ld is used when linking, flag to hardcode \$libdir into
9236 # a binary during linking. This must work even if \$libdir does
9238 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9240 # Whether we need a single -rpath flag with a separated argument.
9241 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9243 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9245 hardcode_direct=$hardcode_direct
9247 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9249 hardcode_minus_L=$hardcode_minus_L
9251 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9252 # the resulting binary.
9253 hardcode_shlibpath_var=$hardcode_shlibpath_var
9255 # Set to yes if building a shared library automatically hardcodes DIR into the library
9256 # and all subsequent libraries and executables linked against it.
9257 hardcode_automatic=$hardcode_automatic
9259 # Variables whose values should be saved in libtool wrapper scripts and
9260 # restored at relink time.
9261 variables_saved_for_relink="$variables_saved_for_relink"
9263 # Whether libtool must link a program against all its dependency libraries.
9264 link_all_deplibs=$link_all_deplibs
9266 # Compile-time system search path for libraries
9267 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9269 # Run-time system search path for libraries
9270 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9272 # Fix the shell variable \$srcfile for the compiler.
9273 fix_srcfile_path="$fix_srcfile_path"
9275 # Set to yes if exported symbols are required.
9276 always_export_symbols=$always_export_symbols
9278 # The commands to list exported symbols.
9279 export_symbols_cmds=$lt_export_symbols_cmds
9281 # The commands to extract the exported symbol list from a shared archive.
9282 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9284 # Symbols that should not be listed in the preloaded symbols.
9285 exclude_expsyms=$lt_exclude_expsyms
9287 # Symbols that must always be exported.
9288 include_expsyms=$lt_include_expsyms
9290 # ### END LIBTOOL CONFIG
9297 cat <<\EOF >> "$cfgfile"
9299 # AIX sometimes has problems with the GCC collect2 program. For some
9300 # reason, if we set the COLLECT_NAMES environment variable, the problems
9301 # vanish in a puff of smoke.
9302 if test "X${COLLECT_NAMES+set}" != Xset; then
9304 export COLLECT_NAMES
9310 # We use sed instead of cat because bash on DJGPP gets confused if
9311 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9312 # text mode, it properly converts lines to CR/LF. This bash problem
9313 # is reportedly fixed, but why not run on old versions too?
9314 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9316 mv -f "$cfgfile" "$ofile" || \
9317 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9321 # If there is no Makefile yet, we rely on a make rule to execute
9322 # `config.status --recheck' to rerun these tests and create the
9323 # libtool script then.
9324 test -f Makefile && make "$ltmain"
9329 ac_cpp='$CPP $CPPFLAGS'
9330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9337 # Check whether --with-tags or --without-tags was given.
9338 if test "${with_tags+set}" = set; then
9339 withval="$with_tags"
9343 if test -f "$ltmain" && test -n "$tagnames"; then
9344 if test ! -f "${ofile}"; then
9345 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9346 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9349 if test -z "$LTCC"; then
9350 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9351 if test -z "$LTCC"; then
9352 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9353 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9355 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9356 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9360 # Extract list of available tagged configurations in $ofile.
9361 # Note that this assumes the entire list is on one line.
9362 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9364 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9365 for tagname in $tagnames; do
9367 # Check whether tagname contains only valid characters
9368 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9370 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9371 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9372 { (exit 1); exit 1; }; }
9376 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9378 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9379 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9380 { (exit 1); exit 1; }; }
9383 # Update the list of available tags.
9384 if test -n "$tagname"; then
9385 echo appending configuration tag \"$tagname\" to $ofile
9389 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9391 ac_cpp='$CXXCPP $CPPFLAGS'
9392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9399 archive_cmds_need_lc_CXX=no
9400 allow_undefined_flag_CXX=
9401 always_export_symbols_CXX=no
9402 archive_expsym_cmds_CXX=
9403 export_dynamic_flag_spec_CXX=
9404 hardcode_direct_CXX=no
9405 hardcode_libdir_flag_spec_CXX=
9406 hardcode_libdir_flag_spec_ld_CXX=
9407 hardcode_libdir_separator_CXX=
9408 hardcode_minus_L_CXX=no
9409 hardcode_automatic_CXX=no
9411 module_expsym_cmds_CXX=
9412 link_all_deplibs_CXX=unknown
9413 old_archive_cmds_CXX=$old_archive_cmds
9414 no_undefined_flag_CXX=
9415 whole_archive_flag_spec_CXX=
9416 enable_shared_with_static_runtimes_CXX=no
9418 # Dependencies to place before and after the object being linked:
9420 postdep_objects_CXX=
9423 compiler_lib_search_path_CXX=
9425 # Source file extension for C++ test sources.
9428 # Object file extension for compiled C++ test sources.
9432 # Code to be used in simple compile tests
9433 lt_simple_compile_test_code="int some_variable = 0;\n"
9435 # Code to be used in simple link tests
9436 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9438 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9440 # If no C compiler was specified, use CC.
9443 # Allow CC to be a program name with arguments.
9447 # Allow CC to be a program name with arguments.
9452 lt_save_with_gnu_ld=$with_gnu_ld
9453 lt_save_path_LD=$lt_cv_path_LD
9454 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9455 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9457 unset lt_cv_prog_gnu_ld
9459 if test -n "${lt_cv_path_LDCXX+set}"; then
9460 lt_cv_path_LD=$lt_cv_path_LDCXX
9464 test -z "${LDCXX+set}" || LD=$LDCXX
9468 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9470 # We don't want -fno-exception wen compiling C++ code, so set the
9471 # no_builtin_flag separately
9472 if test "$GXX" = yes; then
9473 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9475 lt_prog_compiler_no_builtin_flag_CXX=
9478 if test "$GXX" = yes; then
9479 # Set up default GNU C++ configuration
9482 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9483 if test "${with_gnu_ld+set}" = set; then
9484 withval="$with_gnu_ld"
9485 test "$withval" = no || with_gnu_ld=yes
9490 if test "$GCC" = yes; then
9491 # Check if gcc -print-prog-name=ld gives a path.
9492 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9493 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9496 # gcc leaves a trailing carriage return which upsets mingw
9497 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9499 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9502 # Accept absolute paths.
9504 re_direlt='/[^/][^/]*/\.\./'
9505 # Canonicalize the path of ld
9506 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9507 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9508 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9510 test -z "$LD" && LD="$ac_prog"
9513 # If it fails, then pretend we aren't using GCC.
9517 # If it is relative, then search for the first ld in PATH.
9521 elif test "$with_gnu_ld" = yes; then
9522 echo "$as_me:$LINENO: checking for GNU ld" >&5
9523 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9525 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9526 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9528 if test "${lt_cv_path_LD+set}" = set; then
9529 echo $ECHO_N "(cached) $ECHO_C" >&6
9531 if test -z "$LD"; then
9532 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9533 for ac_dir in $PATH; do
9535 test -z "$ac_dir" && ac_dir=.
9536 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9537 lt_cv_path_LD="$ac_dir/$ac_prog"
9538 # Check to see if the program is GNU ld. I'd rather use --version,
9539 # but apparently some GNU ld's only accept -v.
9540 # Break only if it was the GNU/non-GNU ld that we prefer.
9541 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9542 *GNU* | *'with BFD'*)
9543 test "$with_gnu_ld" != no && break
9546 test "$with_gnu_ld" != yes && break
9553 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9558 if test -n "$LD"; then
9559 echo "$as_me:$LINENO: result: $LD" >&5
9560 echo "${ECHO_T}$LD" >&6
9562 echo "$as_me:$LINENO: result: no" >&5
9563 echo "${ECHO_T}no" >&6
9565 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9566 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9567 { (exit 1); exit 1; }; }
9568 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9569 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9570 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9571 echo $ECHO_N "(cached) $ECHO_C" >&6
9573 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9574 case `"$LD" -v 2>&1 </dev/null` in
9575 *GNU* | *'with BFD'*)
9576 lt_cv_prog_gnu_ld=yes
9579 lt_cv_prog_gnu_ld=no
9583 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9584 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9585 with_gnu_ld=$lt_cv_prog_gnu_ld
9589 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9590 # archiving commands below assume that GNU ld is being used.
9591 if test "$with_gnu_ld" = yes; then
9592 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9593 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'
9595 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9596 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9598 # If archive_cmds runs LD, not CC, wlarc should be empty
9599 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9600 # investigate it a little bit more. (MM)
9603 # ancient GNU ld didn't support --whole-archive et. al.
9604 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9605 grep 'no-whole-archive' > /dev/null; then
9606 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9608 whole_archive_flag_spec_CXX=
9614 # A generic and very simple default shared library creation
9615 # command for GNU C++ for the case where it uses the native
9616 # linker, instead of GNU ld. If possible, this setting should
9617 # overridden to take advantage of the native linker features on
9618 # the platform it is being used on.
9619 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9622 # Commands to make compiler produce verbose output that lists
9623 # what "hidden" libraries, object files and flags are used when
9624 # linking a shared library.
9625 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9633 # PORTME: fill in a description of your system's C++ link characteristics
9634 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9635 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9639 # FIXME: insert proper C++ library support
9643 if test "$host_cpu" = ia64; then
9644 # On IA64, the linker does run time linking by default, so we don't
9645 # have to do anything special.
9646 aix_use_runtimelinking=no
9647 exp_sym_flag='-Bexport'
9650 aix_use_runtimelinking=no
9652 # Test if we are trying to use run time linking or normal
9653 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9654 # need to do runtime linking.
9655 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9656 for ld_flag in $LDFLAGS; do
9659 aix_use_runtimelinking=yes
9666 exp_sym_flag='-bexport'
9667 no_entry_flag='-bnoentry'
9670 # When large executables or shared objects are built, AIX ld can
9671 # have problems creating the table of contents. If linking a library
9672 # or program results in "error TOC overflow" add -mminimal-toc to
9673 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9674 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9677 hardcode_direct_CXX=yes
9678 hardcode_libdir_separator_CXX=':'
9679 link_all_deplibs_CXX=yes
9681 if test "$GXX" = yes; then
9682 case $host_os in aix4.012|aix4.012.*)
9683 # We only want to do this on AIX 4.2 and lower, the check
9684 # below for broken collect2 doesn't work under 4.3+
9685 collect2name=`${CC} -print-prog-name=collect2`
9686 if test -f "$collect2name" && \
9687 strings "$collect2name" | grep resolve_lib_name >/dev/null
9689 # We have reworked collect2
9690 hardcode_direct_CXX=yes
9692 # We have old collect2
9693 hardcode_direct_CXX=unsupported
9694 # It fails to find uninstalled libraries when the uninstalled
9695 # path is not listed in the libpath. Setting hardcode_minus_L
9696 # to unsupported forces relinking
9697 hardcode_minus_L_CXX=yes
9698 hardcode_libdir_flag_spec_CXX='-L$libdir'
9699 hardcode_libdir_separator_CXX=
9702 shared_flag='-shared'
9705 if test "$host_cpu" = ia64; then
9706 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9707 # chokes on -Wl,-G. The following line is correct:
9710 if test "$aix_use_runtimelinking" = yes; then
9711 shared_flag='${wl}-G'
9713 shared_flag='${wl}-bM:SRE'
9718 # It seems that -bexpall does not export symbols beginning with
9719 # underscore (_), so it is better to generate a list of symbols to export.
9720 always_export_symbols_CXX=yes
9721 if test "$aix_use_runtimelinking" = yes; then
9722 # Warning - without using the other runtime loading flags (-brtl),
9723 # -berok will link without error, but may produce a broken library.
9724 allow_undefined_flag_CXX='-berok'
9725 # Determine the default libpath from the value encoded in an empty executable.
9726 cat >conftest.$ac_ext <<_ACEOF
9727 #line $LINENO "configure"
9730 cat confdefs.h >>conftest.$ac_ext
9731 cat >>conftest.$ac_ext <<_ACEOF
9732 /* end confdefs.h. */
9742 rm -f conftest.$ac_objext conftest$ac_exeext
9743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9744 (eval $ac_link) 2>&5
9746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747 (exit $ac_status); } &&
9748 { ac_try='test -s conftest$ac_exeext'
9749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753 (exit $ac_status); }; }; then
9755 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9757 # Check for a 64-bit object if we didn't find anything.
9758 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; }
9761 echo "$as_me: failed program was:" >&5
9762 sed 's/^/| /' conftest.$ac_ext >&5
9765 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9766 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9768 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9770 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"
9772 if test "$host_cpu" = ia64; then
9773 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9774 allow_undefined_flag_CXX="-z nodefs"
9775 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"
9777 # Determine the default libpath from the value encoded in an empty executable.
9778 cat >conftest.$ac_ext <<_ACEOF
9779 #line $LINENO "configure"
9782 cat confdefs.h >>conftest.$ac_ext
9783 cat >>conftest.$ac_ext <<_ACEOF
9784 /* end confdefs.h. */
9794 rm -f conftest.$ac_objext conftest$ac_exeext
9795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9796 (eval $ac_link) 2>&5
9798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9799 (exit $ac_status); } &&
9800 { ac_try='test -s conftest$ac_exeext'
9801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); }; }; then
9807 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9809 # Check for a 64-bit object if we didn't find anything.
9810 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; }
9813 echo "$as_me: failed program was:" >&5
9814 sed 's/^/| /' conftest.$ac_ext >&5
9817 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9818 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9820 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9821 # Warning - without using the other run time loading flags,
9822 # -berok will link without error, but may produce a broken library.
9823 no_undefined_flag_CXX=' ${wl}-bernotok'
9824 allow_undefined_flag_CXX=' ${wl}-berok'
9825 # -bexpall does not export symbols beginning with underscore (_)
9826 always_export_symbols_CXX=yes
9827 # Exported symbols can be pulled into shared objects from archives
9828 whole_archive_flag_spec_CXX=' '
9829 archive_cmds_need_lc_CXX=yes
9830 # This is similar to how AIX traditionally builds it's shared libraries.
9831 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'
9836 case $cc_basename in
9838 # FIXME: insert proper C++ library support
9844 cygwin* | mingw* | pw32*)
9845 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9846 # as there is no search path for DLLs.
9847 hardcode_libdir_flag_spec_CXX='-L$libdir'
9848 allow_undefined_flag_CXX=unsupported
9849 always_export_symbols_CXX=no
9850 enable_shared_with_static_runtimes_CXX=yes
9852 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9853 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'
9854 # If the export-symbols file already is a .def file (1st line
9855 # is EXPORTS), use it as is; otherwise, prepend...
9856 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9857 cp $export_symbols $output_objdir/$soname.def;
9859 echo EXPORTS > $output_objdir/$soname.def;
9860 cat $export_symbols >> $output_objdir/$soname.def;
9862 $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'
9868 darwin* | rhapsody*)
9869 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9870 archive_cmds_need_lc_CXX=no
9872 rhapsody* | darwin1.[012])
9873 allow_undefined_flag_CXX='-undefined suppress'
9876 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9879 lt_int_apple_cc_single_mod=no
9880 output_verbose_link_cmd='echo'
9881 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9882 lt_int_apple_cc_single_mod=yes
9884 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9885 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9887 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'
9889 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9891 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9892 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9893 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}'
9895 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}'
9897 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}'
9898 hardcode_direct_CXX=no
9899 hardcode_automatic_CXX=yes
9900 hardcode_shlibpath_var_CXX=unsupported
9901 whole_archive_flag_spec_CXX='-all_load $convenience'
9902 link_all_deplibs_CXX=yes
9907 case $cc_basename in
9909 # FIXME: insert proper C++ library support
9913 # Green Hills C++ Compiler
9914 # FIXME: insert proper C++ library support
9918 # FIXME: insert proper C++ library support
9924 # C++ shared libraries reported to be fairly broken before switch to ELF
9928 archive_cmds_need_lc_CXX=no
9931 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9938 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9939 hardcode_libdir_separator_CXX=:
9940 export_dynamic_flag_spec_CXX='${wl}-E'
9941 hardcode_direct_CXX=yes
9942 hardcode_minus_L_CXX=yes # Not in the search PATH,
9943 # but as the default
9944 # location of the library.
9946 case $cc_basename in
9948 # FIXME: insert proper C++ library support
9952 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'
9953 # Commands to make compiler produce verbose output that lists
9954 # what "hidden" libraries, object files and flags are used when
9955 # linking a shared library.
9957 # There doesn't appear to be a way to prevent this compiler from
9958 # explicitly linking system object files so we need to strip them
9959 # from the output so that they don't get included in the library
9961 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'
9964 if test "$GXX" = yes; then
9965 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'
9967 # FIXME: insert proper C++ library support
9974 if test $with_gnu_ld = no; then
9977 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9978 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9979 hardcode_libdir_separator_CXX=:
9982 hardcode_libdir_flag_spec_CXX='-L$libdir'
9985 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9986 hardcode_libdir_separator_CXX=:
9987 export_dynamic_flag_spec_CXX='${wl}-E'
9993 hardcode_direct_CXX=no
9994 hardcode_shlibpath_var_CXX=no
9997 hardcode_direct_CXX=no
9998 hardcode_shlibpath_var_CXX=no
9999 hardcode_minus_L_CXX=yes # Not in the search PATH,
10000 # but as the default
10001 # location of the library.
10004 hardcode_direct_CXX=yes
10005 hardcode_minus_L_CXX=yes # Not in the search PATH,
10006 # but as the default
10007 # location of the library.
10011 case $cc_basename in
10013 # FIXME: insert proper C++ library support
10017 case "$host_cpu" in
10019 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10022 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10025 # Commands to make compiler produce verbose output that lists
10026 # what "hidden" libraries, object files and flags are used when
10027 # linking a shared library.
10029 # There doesn't appear to be a way to prevent this compiler from
10030 # explicitly linking system object files so we need to strip them
10031 # from the output so that they don't get included in the library
10033 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'
10036 if test "$GXX" = yes; then
10037 if test $with_gnu_ld = no; then
10038 case "$host_cpu" in
10040 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10043 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'
10048 # FIXME: insert proper C++ library support
10055 case $cc_basename in
10058 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'
10060 # Archives containing C++ object files must be created using
10061 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10062 # necessary to make sure instantiated templates are included
10064 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10067 if test "$GXX" = yes; then
10068 if test "$with_gnu_ld" = no; then
10069 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'
10071 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'
10074 link_all_deplibs_CXX=yes
10077 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10078 hardcode_libdir_separator_CXX=:
10081 case $cc_basename in
10083 # Kuck and Associates, Inc. (KAI) C++ Compiler
10085 # KCC will only create a shared library if the output file
10086 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10087 # to its proper name (with version) after linking.
10088 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'
10089 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'
10090 # Commands to make compiler produce verbose output that lists
10091 # what "hidden" libraries, object files and flags are used when
10092 # linking a shared library.
10094 # There doesn't appear to be a way to prevent this compiler from
10095 # explicitly linking system object files so we need to strip them
10096 # from the output so that they don't get included in the library
10098 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'
10100 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10101 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10103 # Archives containing C++ object files must be created using
10104 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10105 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10110 archive_cmds_need_lc_CXX=no
10111 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10112 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'
10113 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10114 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10115 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10119 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10120 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'
10122 runpath_var=LD_RUN_PATH
10123 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10124 hardcode_libdir_separator_CXX=:
10126 # Commands to make compiler produce verbose output that lists
10127 # what "hidden" libraries, object files and flags are used when
10128 # linking a shared library.
10130 # There doesn't appear to be a way to prevent this compiler from
10131 # explicitly linking system object files so we need to strip them
10132 # from the output so that they don't get included in the library
10134 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'
10139 # FIXME: insert proper C++ library support
10143 # FIXME: insert proper C++ library support
10147 case $cc_basename in
10149 # FIXME: insert proper C++ library support
10153 # FIXME: insert proper C++ library support
10159 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10160 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10162 hardcode_libdir_flag_spec_CXX='-R$libdir'
10163 hardcode_direct_CXX=yes
10164 hardcode_shlibpath_var_CXX=no
10166 # Workaround some broken pre-1.5 toolchains
10167 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10170 case $cc_basename in
10172 # Kuck and Associates, Inc. (KAI) C++ Compiler
10174 # KCC will only create a shared library if the output file
10175 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10176 # to its proper name (with version) after linking.
10177 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'
10179 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10180 hardcode_libdir_separator_CXX=:
10182 # Archives containing C++ object files must be created using
10183 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10184 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10188 # Rational C++ 2.4.1
10189 # FIXME: insert proper C++ library support
10193 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10194 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'
10196 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10197 hardcode_libdir_separator_CXX=:
10199 # Commands to make compiler produce verbose output that lists
10200 # what "hidden" libraries, object files and flags are used when
10201 # linking a shared library.
10203 # There doesn't appear to be a way to prevent this compiler from
10204 # explicitly linking system object files so we need to strip them
10205 # from the output so that they don't get included in the library
10207 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'
10210 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10211 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10212 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'
10214 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10215 hardcode_libdir_separator_CXX=:
10217 # Commands to make compiler produce verbose output that lists
10218 # what "hidden" libraries, object files and flags are used when
10219 # linking a shared library.
10220 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10223 # FIXME: insert proper C++ library support
10230 case $cc_basename in
10232 # Kuck and Associates, Inc. (KAI) C++ Compiler
10234 # KCC will only create a shared library if the output file
10235 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10236 # to its proper name (with version) after linking.
10237 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'
10239 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10240 hardcode_libdir_separator_CXX=:
10242 # Archives containing C++ object files must be created using
10243 # the KAI C++ compiler.
10244 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10247 # Rational C++ 2.4.1
10248 # FIXME: insert proper C++ library support
10252 allow_undefined_flag_CXX=' -expect_unresolved \*'
10253 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'
10254 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10255 echo "-hidden">> $lib.exp~
10256 $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~
10259 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10260 hardcode_libdir_separator_CXX=:
10262 # Commands to make compiler produce verbose output that lists
10263 # what "hidden" libraries, object files and flags are used when
10264 # linking a shared library.
10266 # There doesn't appear to be a way to prevent this compiler from
10267 # explicitly linking system object files so we need to strip them
10268 # from the output so that they don't get included in the library
10270 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'
10273 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10274 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10275 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'
10277 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10278 hardcode_libdir_separator_CXX=:
10280 # Commands to make compiler produce verbose output that lists
10281 # what "hidden" libraries, object files and flags are used when
10282 # linking a shared library.
10283 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10286 # FIXME: insert proper C++ library support
10293 # FIXME: insert proper C++ library support
10297 archive_cmds_need_lc_CXX=no
10298 case $cc_basename in
10300 # FIXME: insert proper C++ library support
10304 # FIXME: insert proper C++ library support
10310 case $cc_basename in
10313 # FIXME: insert proper C++ library support
10318 # FIXME: insert proper C++ library support
10322 # FIXME: insert proper C++ library support
10328 case $cc_basename in
10330 # Sun C++ 4.2, 5.x and Centerline C++
10331 no_undefined_flag_CXX=' -zdefs'
10332 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10333 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10334 $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'
10336 hardcode_libdir_flag_spec_CXX='-R$libdir'
10337 hardcode_shlibpath_var_CXX=no
10339 solaris2.0-5 | solaris2.0-5.*) ;;
10341 # The C++ compiler is used as linker so we must use $wl
10342 # flag to pass the commands to the underlying system
10344 # Supported since Solaris 2.6 (maybe 2.5.1?)
10345 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10348 link_all_deplibs_CXX=yes
10350 # Commands to make compiler produce verbose output that lists
10351 # what "hidden" libraries, object files and flags are used when
10352 # linking a shared library.
10354 # There doesn't appear to be a way to prevent this compiler from
10355 # explicitly linking system object files so we need to strip them
10356 # from the output so that they don't get included in the library
10358 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'
10360 # Archives containing C++ object files must be created using
10361 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10362 # necessary to make sure instantiated templates are included
10364 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10367 # Green Hills C++ Compiler
10368 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10370 # The C++ compiler must be used to create the archive.
10371 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10374 # GNU C++ compiler with Solaris linker
10375 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10376 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10377 if $CC --version | grep -v '^2\.7' > /dev/null; then
10378 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10379 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10380 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10382 # Commands to make compiler produce verbose output that lists
10383 # what "hidden" libraries, object files and flags are used when
10384 # linking a shared library.
10385 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10387 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10389 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10390 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10391 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10393 # Commands to make compiler produce verbose output that lists
10394 # what "hidden" libraries, object files and flags are used when
10395 # linking a shared library.
10396 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10399 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10404 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10405 archive_cmds_need_lc_CXX=no
10408 case $cc_basename in
10410 # NonStop-UX NCC 3.20
10411 # FIXME: insert proper C++ library support
10415 # FIXME: insert proper C++ library support
10421 # FIXME: insert proper C++ library support
10425 # FIXME: insert proper C++ library support
10429 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10430 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10431 test "$ld_shlibs_CXX" = no && can_build_shared=no
10437 ## There is no encapsulation within the following macros, do not change
10438 ## the running order or otherwise move them around unless you know exactly
10439 ## what you are doing...
10441 cat > conftest.$ac_ext <<EOF
10445 Foo (void) { a = 0; }
10451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10452 (eval $ac_compile) 2>&5
10454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10455 (exit $ac_status); }; then
10456 # Parse the compiler output and extract the necessary
10457 # objects, libraries and library flags.
10459 # Sentinel used to keep track of whether or not we are before
10460 # the conftest object file.
10461 pre_test_object_deps_done=no
10463 # The `*' in the case matches for architectures that use `case' in
10464 # $output_verbose_cmd can trigger glob expansion during the loop
10465 # eval without this substitution.
10466 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10468 for p in `eval $output_verbose_link_cmd`; do
10472 # Some compilers place space between "-{L,R}" and the path.
10473 # Remove the space.
10474 if test $p = "-L" \
10475 || test $p = "-R"; then
10482 if test "$pre_test_object_deps_done" = no; then
10485 # Internal compiler library paths should come after those
10486 # provided the user. The postdeps already come after the
10487 # user supplied libs so there is no need to process them.
10488 if test -z "$compiler_lib_search_path_CXX"; then
10489 compiler_lib_search_path_CXX="${prev}${p}"
10491 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10494 # The "-l" case would never come before the object being
10495 # linked, so don't bother handling this case.
10498 if test -z "$postdeps_CXX"; then
10499 postdeps_CXX="${prev}${p}"
10501 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10507 # This assumes that the test object file only shows up
10508 # once in the compiler output.
10509 if test "$p" = "conftest.$objext"; then
10510 pre_test_object_deps_done=yes
10514 if test "$pre_test_object_deps_done" = no; then
10515 if test -z "$predep_objects_CXX"; then
10516 predep_objects_CXX="$p"
10518 predep_objects_CXX="$predep_objects_CXX $p"
10521 if test -z "$postdep_objects_CXX"; then
10522 postdep_objects_CXX="$p"
10524 postdep_objects_CXX="$postdep_objects_CXX $p"
10529 *) ;; # Ignore the rest.
10537 echo "libtool.m4: error: problem compiling CXX test program"
10540 $rm -f confest.$objext
10542 case " $postdeps_CXX " in
10543 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10546 lt_prog_compiler_wl_CXX=
10547 lt_prog_compiler_pic_CXX=
10548 lt_prog_compiler_static_CXX=
10550 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10551 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10553 # C++ specific cases for pic, static, wl, etc.
10554 if test "$GXX" = yes; then
10555 lt_prog_compiler_wl_CXX='-Wl,'
10556 lt_prog_compiler_static_CXX='-static'
10560 # All AIX code is PIC.
10561 if test "$host_cpu" = ia64; then
10562 # AIX 5 now supports IA64 processor
10563 lt_prog_compiler_static_CXX='-Bstatic'
10567 # FIXME: we need at least 68020 code to build shared libraries, but
10568 # adding the `-m68020' flag to GCC prevents building anything better,
10570 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10572 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10573 # PIC is the default for these OSes.
10575 mingw* | os2* | pw32*)
10576 # This hack is so that the source file can tell whether it is being
10577 # built for inclusion in a dll (and should export symbols for example).
10578 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10580 darwin* | rhapsody*)
10581 # PIC is the default on this platform
10582 # Common symbols not allowed in MH_DYLIB files
10583 lt_prog_compiler_pic_CXX='-fno-common'
10586 # DJGPP does not support shared libraries at all
10587 lt_prog_compiler_pic_CXX=
10590 if test -d /usr/nec; then
10591 lt_prog_compiler_pic_CXX=-Kconform_pic
10595 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10596 # not for PA HP-UX.
10597 case "$host_cpu" in
10601 lt_prog_compiler_pic_CXX='-fPIC'
10606 lt_prog_compiler_pic_CXX='-fPIC'
10612 # All AIX code is PIC.
10613 if test "$host_cpu" = ia64; then
10614 # AIX 5 now supports IA64 processor
10615 lt_prog_compiler_static_CXX='-Bstatic'
10617 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10621 case $cc_basename in
10623 # Green Hills C++ Compiler
10624 # _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"
10629 case $cc_basename in
10631 lt_prog_compiler_pic_CXX='-KPIC'
10634 # Green Hills C++ Compiler
10635 lt_prog_compiler_pic_CXX='-pic'
10642 # FreeBSD uses GNU C++
10644 hpux9* | hpux10* | hpux11*)
10645 case $cc_basename in
10647 lt_prog_compiler_wl_CXX='-Wl,'
10648 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10649 if test "$host_cpu" != ia64; then
10650 lt_prog_compiler_pic_CXX='+Z'
10654 lt_prog_compiler_wl_CXX='-Wl,'
10655 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10656 case "$host_cpu" in
10661 lt_prog_compiler_pic_CXX='+Z'
10669 irix5* | irix6* | nonstopux*)
10670 case $cc_basename in
10672 lt_prog_compiler_wl_CXX='-Wl,'
10673 lt_prog_compiler_static_CXX='-non_shared'
10674 # CC pic flag -KPIC is the default.
10681 case $cc_basename in
10684 lt_prog_compiler_wl_CXX='--backend -Wl,'
10685 lt_prog_compiler_pic_CXX='-fPIC'
10689 lt_prog_compiler_wl_CXX='-Wl,'
10690 lt_prog_compiler_pic_CXX='-KPIC'
10691 lt_prog_compiler_static_CXX='-static'
10695 # Make sure the PIC flag is empty. It appears that all Alpha
10696 # Linux and Compaq Tru64 Unix objects are PIC.
10697 lt_prog_compiler_pic_CXX=
10698 lt_prog_compiler_static_CXX='-non_shared'
10709 case $cc_basename in
10711 lt_prog_compiler_pic_CXX='-W c,exportall'
10719 osf3* | osf4* | osf5*)
10720 case $cc_basename in
10722 lt_prog_compiler_wl_CXX='--backend -Wl,'
10725 # Rational C++ 2.4.1
10726 lt_prog_compiler_pic_CXX='-pic'
10729 # Digital/Compaq C++
10730 lt_prog_compiler_wl_CXX='-Wl,'
10731 # Make sure the PIC flag is empty. It appears that all Alpha
10732 # Linux and Compaq Tru64 Unix objects are PIC.
10733 lt_prog_compiler_pic_CXX=
10734 lt_prog_compiler_static_CXX='-non_shared'
10743 case $cc_basename in
10745 lt_prog_compiler_pic_CXX='-fPIC'
10752 case $cc_basename in
10754 # Sun C++ 4.2, 5.x and Centerline C++
10755 lt_prog_compiler_pic_CXX='-KPIC'
10756 lt_prog_compiler_static_CXX='-Bstatic'
10757 lt_prog_compiler_wl_CXX='-Qoption ld '
10760 # Green Hills C++ Compiler
10761 lt_prog_compiler_pic_CXX='-PIC'
10768 case $cc_basename in
10771 lt_prog_compiler_pic_CXX='-pic'
10772 lt_prog_compiler_static_CXX='-Bstatic'
10776 lt_prog_compiler_pic_CXX='-pic'
10783 case $cc_basename in
10785 # NonStop-UX NCC 3.20
10786 lt_prog_compiler_pic_CXX='-KPIC'
10797 lt_prog_compiler_can_build_shared_CXX=no
10802 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10803 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10806 # Check to make sure the PIC flag actually works.
10808 if test -n "$lt_prog_compiler_pic_CXX"; then
10809 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10810 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10811 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10812 echo $ECHO_N "(cached) $ECHO_C" >&6
10814 lt_prog_compiler_pic_works_CXX=no
10815 ac_outfile=conftest.$ac_objext
10816 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10817 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10818 # Insert the option either (1) after the last *FLAGS variable, or
10819 # (2) before a word containing "conftest.", or (3) at the end.
10820 # Note that $ac_compile itself does not contain backslashes and begins
10821 # with a dollar sign (not a hyphen), so the echo should work correctly.
10822 # The option is referenced via a variable to avoid confusing sed.
10823 lt_compile=`echo "$ac_compile" | $SED \
10824 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10825 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10826 -e 's:$: $lt_compiler_flag:'`
10827 (eval echo "\"\$as_me:10827: $lt_compile\"" >&5)
10828 (eval "$lt_compile" 2>conftest.err)
10830 cat conftest.err >&5
10831 echo "$as_me:10831: \$? = $ac_status" >&5
10832 if (exit $ac_status) && test -s "$ac_outfile"; then
10833 # The compiler can only warn and ignore the option if not recognized
10834 # So say no if there are warnings
10835 if test ! -s conftest.err; then
10836 lt_prog_compiler_pic_works_CXX=yes
10842 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10843 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10845 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10846 case $lt_prog_compiler_pic_CXX in
10848 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10851 lt_prog_compiler_pic_CXX=
10852 lt_prog_compiler_can_build_shared_CXX=no
10857 # For platforms which do not support PIC, -DPIC is meaningless:
10859 lt_prog_compiler_pic_CXX=
10862 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10866 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10867 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10868 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10869 echo $ECHO_N "(cached) $ECHO_C" >&6
10871 lt_cv_prog_compiler_c_o_CXX=no
10872 $rm -r conftest 2>/dev/null
10876 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10878 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10879 # that will create temporary files in the current directory regardless of
10880 # the output directory. Thus, making CWD read-only will cause this test
10881 # to fail, enabling locking or at least warning the user not to do parallel
10885 lt_compiler_flag="-o out/conftest2.$ac_objext"
10886 # Insert the option either (1) after the last *FLAGS variable, or
10887 # (2) before a word containing "conftest.", or (3) at the end.
10888 # Note that $ac_compile itself does not contain backslashes and begins
10889 # with a dollar sign (not a hyphen), so the echo should work correctly.
10890 lt_compile=`echo "$ac_compile" | $SED \
10891 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10892 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10893 -e 's:$: $lt_compiler_flag:'`
10894 (eval echo "\"\$as_me:10894: $lt_compile\"" >&5)
10895 (eval "$lt_compile" 2>out/conftest.err)
10897 cat out/conftest.err >&5
10898 echo "$as_me:10898: \$? = $ac_status" >&5
10899 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10901 # The compiler can only warn and ignore the option if not recognized
10902 # So say no if there are warnings
10903 if test ! -s out/conftest.err; then
10904 lt_cv_prog_compiler_c_o_CXX=yes
10908 $rm conftest* out/*
10915 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10916 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10919 hard_links="nottested"
10920 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10921 # do not overwrite the value of need_locks provided by the user
10922 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10923 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10926 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10928 ln conftest.a conftest.b 2>&5 || hard_links=no
10929 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10930 echo "$as_me:$LINENO: result: $hard_links" >&5
10931 echo "${ECHO_T}$hard_links" >&6
10932 if test "$hard_links" = no; then
10933 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10934 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10941 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10942 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10944 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10947 # If we're using GNU nm, then we don't want the "-C" option.
10948 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10949 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10950 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'
10952 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'
10956 export_symbols_cmds_CXX="$ltdll_cmds"
10959 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10962 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10966 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10967 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10968 test "$ld_shlibs_CXX" = no && can_build_shared=no
10970 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10971 if test "$GCC" = yes; then
10972 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10976 # Do we need to explicitly link libc?
10978 case "x$archive_cmds_need_lc_CXX" in
10980 # Assume -lc should be added
10981 archive_cmds_need_lc_CXX=yes
10983 if test "$enable_shared" = yes && test "$GCC" = yes; then
10984 case $archive_cmds_CXX in
10986 # FIXME: we may have to deal with multi-command sequences.
10989 # Test whether the compiler implicitly links with -lc since on some
10990 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10991 # to ld, don't add -lc before -lgcc.
10992 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10993 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10995 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10998 (eval $ac_compile) 2>&5
11000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11001 (exit $ac_status); } 2>conftest.err; then
11004 libobjs=conftest.$ac_objext
11006 wl=$lt_prog_compiler_wl_CXX
11012 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
11013 allow_undefined_flag_CXX=
11014 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11015 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); }
11020 archive_cmds_need_lc_CXX=no
11022 archive_cmds_need_lc_CXX=yes
11024 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11026 cat conftest.err 1>&5
11029 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11030 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11037 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11038 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11039 hardcode_action_CXX=
11040 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11041 test -n "$runpath_var CXX" || \
11042 test "X$hardcode_automatic_CXX"="Xyes" ; then
11044 # We can hardcode non-existant directories.
11045 if test "$hardcode_direct_CXX" != no &&
11046 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11047 # have to relink, otherwise we might link with an installed library
11048 # when we should be linking with a yet-to-be-installed one
11049 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11050 test "$hardcode_minus_L_CXX" != no; then
11051 # Linking always hardcodes the temporary library directory.
11052 hardcode_action_CXX=relink
11054 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11055 hardcode_action_CXX=immediate
11058 # We cannot hardcode anything, or else we can only hardcode existing
11060 hardcode_action_CXX=unsupported
11062 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11063 echo "${ECHO_T}$hardcode_action_CXX" >&6
11065 if test "$hardcode_action_CXX" = relink; then
11066 # Fast installation is not supported
11067 enable_fast_install=no
11068 elif test "$shlibpath_overrides_runpath" = yes ||
11069 test "$enable_shared" = no; then
11070 # Fast installation is not necessary
11071 enable_fast_install=needless
11076 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11077 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11078 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11079 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11080 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11081 echo "$as_me:$LINENO: result: yes" >&5
11082 echo "${ECHO_T}yes" >&6
11084 # FIXME - insert some real tests, host_os isn't really good enough
11087 if test -n "$STRIP" ; then
11088 striplib="$STRIP -x"
11089 echo "$as_me:$LINENO: result: yes" >&5
11090 echo "${ECHO_T}yes" >&6
11092 echo "$as_me:$LINENO: result: no" >&5
11093 echo "${ECHO_T}no" >&6
11097 echo "$as_me:$LINENO: result: no" >&5
11098 echo "${ECHO_T}no" >&6
11103 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11104 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11105 library_names_spec=
11106 libname_spec='lib$name'
11110 postuninstall_cmds=
11114 shlibpath_overrides_runpath=unknown
11116 dynamic_linker="$host_os ld.so"
11117 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11118 if test "$GCC" = yes; then
11119 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11120 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11121 # if the path contains ";" then we assume it to be the separator
11122 # otherwise default to the standard path separator (i.e. ":") - it is
11123 # assumed that no part of a normal pathname contains ";" but that should
11124 # okay in the real world where ";" in dirpaths is itself problematic.
11125 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11127 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11130 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11132 need_lib_prefix=unknown
11133 hardcode_into_libs=no
11135 # when you set need_version to no, make sure it does not cause -set_version
11136 # flags to be left without arguments
11137 need_version=unknown
11142 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11143 shlibpath_var=LIBPATH
11145 # AIX 3 has no versioning support, so we append a major version to the name.
11146 soname_spec='${libname}${release}${shared_ext}$major'
11153 hardcode_into_libs=yes
11154 if test "$host_cpu" = ia64; then
11155 # AIX 5 supports IA64
11156 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11157 shlibpath_var=LD_LIBRARY_PATH
11159 # With GCC up to 2.95.x, collect2 would create an import file
11160 # for dependence libraries. The import file would start with
11161 # the line `#! .'. This would cause the generated library to
11162 # depend on `.', always an invalid library. This was fixed in
11163 # development snapshots of GCC prior to 3.0.
11165 aix4 | aix4.[01] | aix4.[01].*)
11166 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11168 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11171 can_build_shared=no
11175 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11176 # soname into executable. Probably we can add versioning support to
11177 # collect2, so additional links can be useful in future.
11178 if test "$aix_use_runtimelinking" = yes; then
11179 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11180 # instead of lib<name>.a to let people know that these are not
11181 # typical AIX shared libraries.
11182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11184 # We preserve .a as extension for shared libraries through AIX4.2
11185 # and later when we are not doing run time linking.
11186 library_names_spec='${libname}${release}.a $libname.a'
11187 soname_spec='${libname}${release}${shared_ext}$major'
11189 shlibpath_var=LIBPATH
11194 library_names_spec='$libname.ixlibrary $libname.a'
11195 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11196 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'
11200 library_names_spec='${libname}${shared_ext}'
11201 dynamic_linker="$host_os ld.so"
11202 shlibpath_var=LIBRARY_PATH
11208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11209 soname_spec='${libname}${release}${shared_ext}$major'
11210 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11211 shlibpath_var=LD_LIBRARY_PATH
11212 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11213 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11214 # the default ld.so.conf also contains /usr/contrib/lib and
11215 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11216 # libtool to hard-code these into programs
11219 cygwin* | mingw* | pw32*)
11220 version_type=windows
11225 case $GCC,$host_os in
11226 yes,cygwin* | yes,mingw* | yes,pw32*)
11227 library_names_spec='$libname.dll.a'
11228 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11229 postinstall_cmds='base_file=`basename \${file}`~
11230 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11231 dldir=$destdir/`dirname \$dlpath`~
11232 test -d \$dldir || mkdir -p \$dldir~
11233 $install_prog $dir/$dlname \$dldir/$dlname'
11234 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11235 dlpath=$dir/\$dldll~
11237 shlibpath_overrides_runpath=yes
11241 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11242 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11243 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11246 # MinGW DLLs use traditional 'lib' prefix
11247 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11248 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11249 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11250 # It is most probably a Windows format PATH printed by
11251 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11252 # path with ; separators, and with drive letters. We can handle the
11253 # drive letters (cygwin fileutils understands them), so leave them,
11254 # especially as we might pass files found there to a mingw objdump,
11255 # which wouldn't understand a cygwinified path. Ahh.
11256 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11258 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11262 # pw32 DLLs use 'pw' prefix rather than 'lib'
11263 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11269 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11272 dynamic_linker='Win32 ld.exe'
11273 # FIXME: first we should search . and the directory the executable is in
11277 darwin* | rhapsody*)
11278 dynamic_linker="$host_os dyld"
11279 version_type=darwin
11282 # FIXME: Relying on posixy $() will cause problems for
11283 # cross-compilation, but unfortunately the echo tests do not
11284 # yet detect zsh echo's removal of \ escapes.
11285 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11286 soname_spec='${libname}${release}${major}$shared_ext'
11287 shlibpath_overrides_runpath=yes
11288 shlibpath_var=DYLD_LIBRARY_PATH
11289 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11290 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11291 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11292 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"`
11294 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11302 soname_spec='${libname}${release}${shared_ext}$major'
11303 shlibpath_var=LD_LIBRARY_PATH
11311 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11312 version_type=freebsd-$objformat
11313 case $version_type in
11315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11320 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11324 shlibpath_var=LD_LIBRARY_PATH
11327 shlibpath_overrides_runpath=yes
11329 freebsd3.01* | freebsdelf3.01*)
11330 shlibpath_overrides_runpath=yes
11331 hardcode_into_libs=yes
11334 shlibpath_overrides_runpath=no
11335 hardcode_into_libs=yes
11344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11345 soname_spec='${libname}${release}${shared_ext}$major'
11346 shlibpath_var=LD_LIBRARY_PATH
11347 hardcode_into_libs=yes
11350 hpux9* | hpux10* | hpux11*)
11351 # Give a soname corresponding to the major version so that dld.sl refuses to
11352 # link against other versions.
11356 case "$host_cpu" in
11359 hardcode_into_libs=yes
11360 dynamic_linker="$host_os dld.so"
11361 shlibpath_var=LD_LIBRARY_PATH
11362 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11364 soname_spec='${libname}${release}${shared_ext}$major'
11365 if test "X$HPUX_IA64_MODE" = X32; then
11366 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11368 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11370 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11374 hardcode_into_libs=yes
11375 dynamic_linker="$host_os dld.sl"
11376 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11377 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11379 soname_spec='${libname}${release}${shared_ext}$major'
11380 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11381 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11385 dynamic_linker="$host_os dld.sl"
11386 shlibpath_var=SHLIB_PATH
11387 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11388 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11389 soname_spec='${libname}${release}${shared_ext}$major'
11392 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11393 postinstall_cmds='chmod 555 $lib'
11396 irix5* | irix6* | nonstopux*)
11398 nonstopux*) version_type=nonstopux ;;
11400 if test "$lt_cv_prog_gnu_ld" = yes; then
11408 soname_spec='${libname}${release}${shared_ext}$major'
11409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11411 irix5* | nonstopux*)
11412 libsuff= shlibsuff=
11415 case $LD in # libtool.m4 will add one of these switches to LD
11416 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11417 libsuff= shlibsuff= libmagic=32-bit;;
11418 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11419 libsuff=32 shlibsuff=N32 libmagic=N32;;
11420 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11421 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11422 *) libsuff= shlibsuff= libmagic=never-match;;
11426 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11427 shlibpath_overrides_runpath=no
11428 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11429 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11430 hardcode_into_libs=yes
11433 # No shared lib support for Linux oldld, aout, or coff.
11434 linux*oldld* | linux*aout* | linux*coff*)
11438 # This must be Linux ELF.
11443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11444 soname_spec='${libname}${release}${shared_ext}$major'
11445 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11446 shlibpath_var=LD_LIBRARY_PATH
11447 shlibpath_overrides_runpath=no
11448 # This implies no fast_install, which is unacceptable.
11449 # Some rework will be needed to allow for fast_install
11450 # before this can be enabled.
11451 hardcode_into_libs=yes
11453 # We used to test for /lib/ld.so.1 and disable shared libraries on
11454 # powerpc, because MkLinux only supported shared libraries with the
11455 # GNU dynamic linker. Since this was broken with cross compilers,
11456 # most powerpc-linux boxes support dynamic linking these days and
11457 # people can always --disable-shared, the test was removed, and we
11458 # assume the GNU/Linux dynamic linker is in use.
11459 dynamic_linker='GNU/Linux ld.so'
11466 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11468 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11469 dynamic_linker='NetBSD (a.out) ld.so'
11471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11472 soname_spec='${libname}${release}${shared_ext}$major'
11473 dynamic_linker='NetBSD ld.elf_so'
11475 shlibpath_var=LD_LIBRARY_PATH
11476 shlibpath_overrides_runpath=yes
11477 hardcode_into_libs=yes
11482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11483 shlibpath_var=LD_LIBRARY_PATH
11484 shlibpath_overrides_runpath=yes
11491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11492 soname_spec='${libname}${release}${shared_ext}$major'
11493 shlibpath_var=LD_LIBRARY_PATH
11494 shlibpath_overrides_runpath=yes
11501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11502 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11503 shlibpath_var=LD_LIBRARY_PATH
11504 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11506 openbsd2.[89] | openbsd2.[89].*)
11507 shlibpath_overrides_runpath=no
11510 shlibpath_overrides_runpath=yes
11514 shlibpath_overrides_runpath=yes
11519 libname_spec='$name'
11522 library_names_spec='$libname${shared_ext} $libname.a'
11523 dynamic_linker='OS/2 ld.exe'
11524 shlibpath_var=LIBPATH
11527 osf3* | osf4* | osf5*)
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
11534 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11535 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11540 soname_spec='${libname}${release}${shared_ext}$major'
11541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11542 shlibpath_var=LD_LIBRARY_PATH
11549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11550 soname_spec='${libname}${release}${shared_ext}$major'
11551 shlibpath_var=LD_LIBRARY_PATH
11552 shlibpath_overrides_runpath=yes
11553 hardcode_into_libs=yes
11554 # ldd complains unless libraries are executable
11555 postinstall_cmds='chmod +x $lib'
11560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11561 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11562 shlibpath_var=LD_LIBRARY_PATH
11563 shlibpath_overrides_runpath=yes
11564 if test "$with_gnu_ld" = yes; then
11570 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11573 soname_spec='${libname}${release}${shared_ext}$major'
11574 shlibpath_var=LD_LIBRARY_PATH
11575 case $host_vendor in
11577 shlibpath_overrides_runpath=no
11579 export_dynamic_flag_spec='${wl}-Blargedynsym'
11580 runpath_var=LD_RUN_PATH
11588 shlibpath_overrides_runpath=no
11589 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11595 if test -d /usr/nec ;then
11597 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11598 soname_spec='$libname${shared_ext}.$major'
11599 shlibpath_var=LD_LIBRARY_PATH
11605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11606 soname_spec='${libname}${release}${shared_ext}$major'
11607 shlibpath_var=LD_LIBRARY_PATH
11614 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11615 echo "${ECHO_T}$dynamic_linker" >&6
11616 test "$dynamic_linker" = no && can_build_shared=no
11618 if test "x$enable_dlopen" != xyes; then
11619 enable_dlopen=unknown
11620 enable_dlopen_self=unknown
11621 enable_dlopen_self_static=unknown
11628 lt_cv_dlopen="load_add_on"
11630 lt_cv_dlopen_self=yes
11634 lt_cv_dlopen="LoadLibrary"
11639 lt_cv_dlopen="dlopen"
11644 # if libdl is installed we need to link against it
11645 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11646 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11647 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11648 echo $ECHO_N "(cached) $ECHO_C" >&6
11650 ac_check_lib_save_LIBS=$LIBS
11652 cat >conftest.$ac_ext <<_ACEOF
11653 #line $LINENO "configure"
11656 cat confdefs.h >>conftest.$ac_ext
11657 cat >>conftest.$ac_ext <<_ACEOF
11658 /* end confdefs.h. */
11660 /* Override any gcc2 internal prototype to avoid an error. */
11664 /* We use char because int might match the return type of a gcc2
11665 builtin and then its argument prototype would still apply. */
11675 rm -f conftest.$ac_objext conftest$ac_exeext
11676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11677 (eval $ac_link) 2>&5
11679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680 (exit $ac_status); } &&
11681 { ac_try='test -s conftest$ac_exeext'
11682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11683 (eval $ac_try) 2>&5
11685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11686 (exit $ac_status); }; }; then
11687 ac_cv_lib_dl_dlopen=yes
11689 echo "$as_me: failed program was:" >&5
11690 sed 's/^/| /' conftest.$ac_ext >&5
11692 ac_cv_lib_dl_dlopen=no
11694 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11695 LIBS=$ac_check_lib_save_LIBS
11697 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11698 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11699 if test $ac_cv_lib_dl_dlopen = yes; then
11700 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11703 lt_cv_dlopen="dyld"
11705 lt_cv_dlopen_self=yes
11712 echo "$as_me:$LINENO: checking for shl_load" >&5
11713 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11714 if test "${ac_cv_func_shl_load+set}" = set; then
11715 echo $ECHO_N "(cached) $ECHO_C" >&6
11717 cat >conftest.$ac_ext <<_ACEOF
11718 #line $LINENO "configure"
11721 cat confdefs.h >>conftest.$ac_ext
11722 cat >>conftest.$ac_ext <<_ACEOF
11723 /* end confdefs.h. */
11724 /* System header to define __stub macros and hopefully few prototypes,
11725 which can conflict with char shl_load (); below.
11726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11727 <limits.h> exists even on freestanding compilers. */
11729 # include <limits.h>
11731 # include <assert.h>
11733 /* Override any gcc2 internal prototype to avoid an error. */
11738 /* We use char because int might match the return type of a gcc2
11739 builtin and then its argument prototype would still apply. */
11741 /* The GNU C library defines this for functions which it implements
11742 to always fail with ENOSYS. Some functions are actually named
11743 something starting with __ and the normal name is an alias. */
11744 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11747 char (*f) () = shl_load;
11756 return f != shl_load;
11761 rm -f conftest.$ac_objext conftest$ac_exeext
11762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11763 (eval $ac_link) 2>&5
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); } &&
11767 { ac_try='test -s conftest$ac_exeext'
11768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11769 (eval $ac_try) 2>&5
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); }; }; then
11773 ac_cv_func_shl_load=yes
11775 echo "$as_me: failed program was:" >&5
11776 sed 's/^/| /' conftest.$ac_ext >&5
11778 ac_cv_func_shl_load=no
11780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11782 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11783 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11784 if test $ac_cv_func_shl_load = yes; then
11785 lt_cv_dlopen="shl_load"
11787 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11788 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11789 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11790 echo $ECHO_N "(cached) $ECHO_C" >&6
11792 ac_check_lib_save_LIBS=$LIBS
11794 cat >conftest.$ac_ext <<_ACEOF
11795 #line $LINENO "configure"
11798 cat confdefs.h >>conftest.$ac_ext
11799 cat >>conftest.$ac_ext <<_ACEOF
11800 /* end confdefs.h. */
11802 /* Override any gcc2 internal prototype to avoid an error. */
11806 /* We use char because int might match the return type of a gcc2
11807 builtin and then its argument prototype would still apply. */
11817 rm -f conftest.$ac_objext conftest$ac_exeext
11818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11819 (eval $ac_link) 2>&5
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); } &&
11823 { ac_try='test -s conftest$ac_exeext'
11824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11825 (eval $ac_try) 2>&5
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 (exit $ac_status); }; }; then
11829 ac_cv_lib_dld_shl_load=yes
11831 echo "$as_me: failed program was:" >&5
11832 sed 's/^/| /' conftest.$ac_ext >&5
11834 ac_cv_lib_dld_shl_load=no
11836 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11837 LIBS=$ac_check_lib_save_LIBS
11839 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11840 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11841 if test $ac_cv_lib_dld_shl_load = yes; then
11842 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11844 echo "$as_me:$LINENO: checking for dlopen" >&5
11845 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11846 if test "${ac_cv_func_dlopen+set}" = set; then
11847 echo $ECHO_N "(cached) $ECHO_C" >&6
11849 cat >conftest.$ac_ext <<_ACEOF
11850 #line $LINENO "configure"
11853 cat confdefs.h >>conftest.$ac_ext
11854 cat >>conftest.$ac_ext <<_ACEOF
11855 /* end confdefs.h. */
11856 /* System header to define __stub macros and hopefully few prototypes,
11857 which can conflict with char dlopen (); below.
11858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11859 <limits.h> exists even on freestanding compilers. */
11861 # include <limits.h>
11863 # include <assert.h>
11865 /* Override any gcc2 internal prototype to avoid an error. */
11870 /* We use char because int might match the return type of a gcc2
11871 builtin and then its argument prototype would still apply. */
11873 /* The GNU C library defines this for functions which it implements
11874 to always fail with ENOSYS. Some functions are actually named
11875 something starting with __ and the normal name is an alias. */
11876 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11879 char (*f) () = dlopen;
11888 return f != dlopen;
11893 rm -f conftest.$ac_objext conftest$ac_exeext
11894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11895 (eval $ac_link) 2>&5
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); } &&
11899 { ac_try='test -s conftest$ac_exeext'
11900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11901 (eval $ac_try) 2>&5
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); }; }; then
11905 ac_cv_func_dlopen=yes
11907 echo "$as_me: failed program was:" >&5
11908 sed 's/^/| /' conftest.$ac_ext >&5
11910 ac_cv_func_dlopen=no
11912 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11914 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11915 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11916 if test $ac_cv_func_dlopen = yes; then
11917 lt_cv_dlopen="dlopen"
11919 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11920 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11921 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11922 echo $ECHO_N "(cached) $ECHO_C" >&6
11924 ac_check_lib_save_LIBS=$LIBS
11926 cat >conftest.$ac_ext <<_ACEOF
11927 #line $LINENO "configure"
11930 cat confdefs.h >>conftest.$ac_ext
11931 cat >>conftest.$ac_ext <<_ACEOF
11932 /* end confdefs.h. */
11934 /* Override any gcc2 internal prototype to avoid an error. */
11938 /* We use char because int might match the return type of a gcc2
11939 builtin and then its argument prototype would still apply. */
11949 rm -f conftest.$ac_objext conftest$ac_exeext
11950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11951 (eval $ac_link) 2>&5
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); } &&
11955 { ac_try='test -s conftest$ac_exeext'
11956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11957 (eval $ac_try) 2>&5
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); }; }; then
11961 ac_cv_lib_dl_dlopen=yes
11963 echo "$as_me: failed program was:" >&5
11964 sed 's/^/| /' conftest.$ac_ext >&5
11966 ac_cv_lib_dl_dlopen=no
11968 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11969 LIBS=$ac_check_lib_save_LIBS
11971 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11972 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11973 if test $ac_cv_lib_dl_dlopen = yes; then
11974 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11976 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11977 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11978 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11979 echo $ECHO_N "(cached) $ECHO_C" >&6
11981 ac_check_lib_save_LIBS=$LIBS
11982 LIBS="-lsvld $LIBS"
11983 cat >conftest.$ac_ext <<_ACEOF
11984 #line $LINENO "configure"
11987 cat confdefs.h >>conftest.$ac_ext
11988 cat >>conftest.$ac_ext <<_ACEOF
11989 /* end confdefs.h. */
11991 /* Override any gcc2 internal prototype to avoid an error. */
11995 /* We use char because int might match the return type of a gcc2
11996 builtin and then its argument prototype would still apply. */
12006 rm -f conftest.$ac_objext conftest$ac_exeext
12007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12008 (eval $ac_link) 2>&5
12010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12011 (exit $ac_status); } &&
12012 { ac_try='test -s conftest$ac_exeext'
12013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12014 (eval $ac_try) 2>&5
12016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12017 (exit $ac_status); }; }; then
12018 ac_cv_lib_svld_dlopen=yes
12020 echo "$as_me: failed program was:" >&5
12021 sed 's/^/| /' conftest.$ac_ext >&5
12023 ac_cv_lib_svld_dlopen=no
12025 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12026 LIBS=$ac_check_lib_save_LIBS
12028 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12029 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12030 if test $ac_cv_lib_svld_dlopen = yes; then
12031 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12033 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12034 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12035 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12036 echo $ECHO_N "(cached) $ECHO_C" >&6
12038 ac_check_lib_save_LIBS=$LIBS
12040 cat >conftest.$ac_ext <<_ACEOF
12041 #line $LINENO "configure"
12044 cat confdefs.h >>conftest.$ac_ext
12045 cat >>conftest.$ac_ext <<_ACEOF
12046 /* end confdefs.h. */
12048 /* Override any gcc2 internal prototype to avoid an error. */
12052 /* We use char because int might match the return type of a gcc2
12053 builtin and then its argument prototype would still apply. */
12063 rm -f conftest.$ac_objext conftest$ac_exeext
12064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12065 (eval $ac_link) 2>&5
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); } &&
12069 { ac_try='test -s conftest$ac_exeext'
12070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12071 (eval $ac_try) 2>&5
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); }; }; then
12075 ac_cv_lib_dld_dld_link=yes
12077 echo "$as_me: failed program was:" >&5
12078 sed 's/^/| /' conftest.$ac_ext >&5
12080 ac_cv_lib_dld_dld_link=no
12082 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12083 LIBS=$ac_check_lib_save_LIBS
12085 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12086 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12087 if test $ac_cv_lib_dld_dld_link = yes; then
12088 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12109 if test "x$lt_cv_dlopen" != xno; then
12115 case $lt_cv_dlopen in
12117 save_CPPFLAGS="$CPPFLAGS"
12118 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12120 save_LDFLAGS="$LDFLAGS"
12121 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12124 LIBS="$lt_cv_dlopen_libs $LIBS"
12126 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12127 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12128 if test "${lt_cv_dlopen_self+set}" = set; then
12129 echo $ECHO_N "(cached) $ECHO_C" >&6
12131 if test "$cross_compiling" = yes; then :
12132 lt_cv_dlopen_self=cross
12134 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12135 lt_status=$lt_dlunknown
12136 cat > conftest.$ac_ext <<EOF
12137 #line 12137 "configure"
12138 #include "confdefs.h"
12147 # define LT_DLGLOBAL RTLD_GLOBAL
12150 # define LT_DLGLOBAL DL_GLOBAL
12152 # define LT_DLGLOBAL 0
12156 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12157 find out it does not work in some platform. */
12158 #ifndef LT_DLLAZY_OR_NOW
12160 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12163 # define LT_DLLAZY_OR_NOW DL_LAZY
12166 # define LT_DLLAZY_OR_NOW RTLD_NOW
12169 # define LT_DLLAZY_OR_NOW DL_NOW
12171 # define LT_DLLAZY_OR_NOW 0
12179 extern "C" void exit (int);
12182 void fnord() { int i=42;}
12185 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12186 int status = $lt_dlunknown;
12190 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12191 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12192 /* dlclose (self); */
12198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12199 (eval $ac_link) 2>&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12203 (./conftest; exit; ) 2>/dev/null
12205 case x$lt_status in
12206 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12207 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12208 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12211 # compilation failed
12212 lt_cv_dlopen_self=no
12219 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12220 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12222 if test "x$lt_cv_dlopen_self" = xyes; then
12223 LDFLAGS="$LDFLAGS $link_static_flag"
12224 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12225 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12226 if test "${lt_cv_dlopen_self_static+set}" = set; then
12227 echo $ECHO_N "(cached) $ECHO_C" >&6
12229 if test "$cross_compiling" = yes; then :
12230 lt_cv_dlopen_self_static=cross
12232 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12233 lt_status=$lt_dlunknown
12234 cat > conftest.$ac_ext <<EOF
12235 #line 12235 "configure"
12236 #include "confdefs.h"
12245 # define LT_DLGLOBAL RTLD_GLOBAL
12248 # define LT_DLGLOBAL DL_GLOBAL
12250 # define LT_DLGLOBAL 0
12254 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12255 find out it does not work in some platform. */
12256 #ifndef LT_DLLAZY_OR_NOW
12258 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12261 # define LT_DLLAZY_OR_NOW DL_LAZY
12264 # define LT_DLLAZY_OR_NOW RTLD_NOW
12267 # define LT_DLLAZY_OR_NOW DL_NOW
12269 # define LT_DLLAZY_OR_NOW 0
12277 extern "C" void exit (int);
12280 void fnord() { int i=42;}
12283 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12284 int status = $lt_dlunknown;
12288 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12289 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12290 /* dlclose (self); */
12296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12297 (eval $ac_link) 2>&5
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12301 (./conftest; exit; ) 2>/dev/null
12303 case x$lt_status in
12304 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12305 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12306 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12309 # compilation failed
12310 lt_cv_dlopen_self_static=no
12317 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12318 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12321 CPPFLAGS="$save_CPPFLAGS"
12322 LDFLAGS="$save_LDFLAGS"
12327 case $lt_cv_dlopen_self in
12328 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12329 *) enable_dlopen_self=unknown ;;
12332 case $lt_cv_dlopen_self_static in
12333 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12334 *) enable_dlopen_self_static=unknown ;;
12339 # The else clause should only fire when bootstrapping the
12340 # libtool distribution, otherwise you forgot to ship ltmain.sh
12341 # with your package, and you will get complaints that there are
12342 # no rules to generate ltmain.sh.
12343 if test -f "$ltmain"; then
12344 # See if we are running on zsh, and set the options which allow our commands through
12345 # without removal of \ escapes.
12346 if test -n "${ZSH_VERSION+set}" ; then
12347 setopt NO_GLOB_SUBST
12349 # Now quote all the things that may contain metacharacters while being
12350 # careful not to overquote the AC_SUBSTed values. We take copies of the
12351 # variables and quote the copies for generation of the libtool script.
12352 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12353 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12354 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12355 deplibs_check_method reload_flag reload_cmds need_locks \
12356 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12357 lt_cv_sys_global_symbol_to_c_name_address \
12358 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12359 old_postinstall_cmds old_postuninstall_cmds \
12363 lt_prog_compiler_wl_CXX \
12364 lt_prog_compiler_pic_CXX \
12365 lt_prog_compiler_static_CXX \
12366 lt_prog_compiler_no_builtin_flag_CXX \
12367 export_dynamic_flag_spec_CXX \
12368 thread_safe_flag_spec_CXX \
12369 whole_archive_flag_spec_CXX \
12370 enable_shared_with_static_runtimes_CXX \
12371 old_archive_cmds_CXX \
12372 old_archive_from_new_cmds_CXX \
12373 predep_objects_CXX \
12374 postdep_objects_CXX \
12377 compiler_lib_search_path_CXX \
12379 archive_expsym_cmds_CXX \
12380 postinstall_cmds_CXX \
12381 postuninstall_cmds_CXX \
12382 old_archive_from_expsyms_cmds_CXX \
12383 allow_undefined_flag_CXX \
12384 no_undefined_flag_CXX \
12385 export_symbols_cmds_CXX \
12386 hardcode_libdir_flag_spec_CXX \
12387 hardcode_libdir_flag_spec_ld_CXX \
12388 hardcode_libdir_separator_CXX \
12389 hardcode_automatic_CXX \
12391 module_expsym_cmds_CXX \
12392 lt_cv_prog_compiler_c_o_CXX \
12393 exclude_expsyms_CXX \
12394 include_expsyms_CXX; do
12397 old_archive_cmds_CXX | \
12398 old_archive_from_new_cmds_CXX | \
12399 archive_cmds_CXX | \
12400 archive_expsym_cmds_CXX | \
12401 module_cmds_CXX | \
12402 module_expsym_cmds_CXX | \
12403 old_archive_from_expsyms_cmds_CXX | \
12404 export_symbols_cmds_CXX | \
12405 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12406 postinstall_cmds | postuninstall_cmds | \
12407 old_postinstall_cmds | old_postuninstall_cmds | \
12408 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12409 # Double-quote double-evaled strings.
12410 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12413 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12419 *'\$0 --fallback-echo"')
12420 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12426 cat <<__EOF__ >> "$cfgfile"
12427 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12429 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12431 # Shell to use when invoking shell scripts.
12434 # Whether or not to build shared libraries.
12435 build_libtool_libs=$enable_shared
12437 # Whether or not to build static libraries.
12438 build_old_libs=$enable_static
12440 # Whether or not to add -lc for building shared libraries.
12441 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12443 # Whether or not to disallow shared libs when runtime libs are static
12444 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12446 # Whether or not to optimize for fast installation.
12447 fast_install=$enable_fast_install
12450 host_alias=$host_alias
12453 # An echo program that does not interpret backslashes.
12458 AR_FLAGS=$lt_AR_FLAGS
12463 # A language-specific compiler.
12464 CC=$lt_compiler_CXX
12466 # Is the compiler the GNU C compiler?
12472 # The linker used to build libraries.
12475 # Whether we need hard or soft links.
12478 # A BSD-compatible nm program.
12481 # A symbol stripping program
12484 # Used to examine libraries when file_magic_cmd begins "file"
12485 MAGIC_CMD=$MAGIC_CMD
12487 # Used on cygwin: DLL creation program.
12490 # Used on cygwin: object dumper.
12493 # Used on cygwin: assembler.
12496 # The name of the directory that contains temporary libtool files.
12499 # How to create reloadable object files.
12500 reload_flag=$lt_reload_flag
12501 reload_cmds=$lt_reload_cmds
12503 # How to pass a linker flag through the compiler.
12504 wl=$lt_lt_prog_compiler_wl_CXX
12506 # Object file suffix (normally "o").
12507 objext="$ac_objext"
12509 # Old archive suffix (normally "a").
12512 # Shared library suffix (normally ".so").
12515 # Executable file suffix (normally "").
12518 # Additional compiler flags for building library objects.
12519 pic_flag=$lt_lt_prog_compiler_pic_CXX
12522 # What is the maximum length of a command?
12523 max_cmd_len=$lt_cv_sys_max_cmd_len
12525 # Does compiler simultaneously support -c and -o options?
12526 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12528 # Must we lock files when doing compilation ?
12529 need_locks=$lt_need_locks
12531 # Do we need the lib prefix for modules?
12532 need_lib_prefix=$need_lib_prefix
12534 # Do we need a version for libraries?
12535 need_version=$need_version
12537 # Whether dlopen is supported.
12538 dlopen_support=$enable_dlopen
12540 # Whether dlopen of programs is supported.
12541 dlopen_self=$enable_dlopen_self
12543 # Whether dlopen of statically linked programs is supported.
12544 dlopen_self_static=$enable_dlopen_self_static
12546 # Compiler flag to prevent dynamic linking.
12547 link_static_flag=$lt_lt_prog_compiler_static_CXX
12549 # Compiler flag to turn off builtin functions.
12550 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12552 # Compiler flag to allow reflexive dlopens.
12553 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12555 # Compiler flag to generate shared objects directly from archives.
12556 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12558 # Compiler flag to generate thread-safe objects.
12559 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12561 # Library versioning type.
12562 version_type=$version_type
12564 # Format of library name prefix.
12565 libname_spec=$lt_libname_spec
12567 # List of archive names. First name is the real one, the rest are links.
12568 # The last name is the one that the linker finds with -lNAME.
12569 library_names_spec=$lt_library_names_spec
12571 # The coded name of the library, if different from the real name.
12572 soname_spec=$lt_soname_spec
12574 # Commands used to build and install an old-style archive.
12576 old_archive_cmds=$lt_old_archive_cmds_CXX
12577 old_postinstall_cmds=$lt_old_postinstall_cmds
12578 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12580 # Create an old-style archive from a shared archive.
12581 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12583 # Create a temporary old-style archive to link instead of a shared archive.
12584 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12586 # Commands used to build and install a shared archive.
12587 archive_cmds=$lt_archive_cmds_CXX
12588 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12589 postinstall_cmds=$lt_postinstall_cmds
12590 postuninstall_cmds=$lt_postuninstall_cmds
12592 # Commands used to build a loadable module (assumed same as above if empty)
12593 module_cmds=$lt_module_cmds_CXX
12594 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12596 # Commands to strip libraries.
12597 old_striplib=$lt_old_striplib
12598 striplib=$lt_striplib
12600 # Dependencies to place before the objects being linked to create a
12602 predep_objects=$lt_predep_objects_CXX
12604 # Dependencies to place after the objects being linked to create a
12606 postdep_objects=$lt_postdep_objects_CXX
12608 # Dependencies to place before the objects being linked to create a
12610 predeps=$lt_predeps_CXX
12612 # Dependencies to place after the objects being linked to create a
12614 postdeps=$lt_postdeps_CXX
12616 # The library search path used internally by the compiler when linking
12617 # a shared library.
12618 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12620 # Method to check whether dependent libraries are shared objects.
12621 deplibs_check_method=$lt_deplibs_check_method
12623 # Command to use when deplibs_check_method == file_magic.
12624 file_magic_cmd=$lt_file_magic_cmd
12626 # Flag that allows shared libraries with undefined symbols to be built.
12627 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12629 # Flag that forces no undefined symbols.
12630 no_undefined_flag=$lt_no_undefined_flag_CXX
12632 # Commands used to finish a libtool library installation in a directory.
12633 finish_cmds=$lt_finish_cmds
12635 # Same as above, but a single script fragment to be evaled but not shown.
12636 finish_eval=$lt_finish_eval
12638 # Take the output of nm and produce a listing of raw symbols and C names.
12639 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12641 # Transform the output of nm in a proper C declaration
12642 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12644 # Transform the output of nm in a C name address pair
12645 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12647 # This is the shared library runtime path variable.
12648 runpath_var=$runpath_var
12650 # This is the shared library path variable.
12651 shlibpath_var=$shlibpath_var
12653 # Is shlibpath searched before the hard-coded library search path?
12654 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12656 # How to hardcode a shared library path into an executable.
12657 hardcode_action=$hardcode_action_CXX
12659 # Whether we should hardcode library paths into libraries.
12660 hardcode_into_libs=$hardcode_into_libs
12662 # Flag to hardcode \$libdir into a binary during linking.
12663 # This must work even if \$libdir does not exist.
12664 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12666 # If ld is used when linking, flag to hardcode \$libdir into
12667 # a binary during linking. This must work even if \$libdir does
12669 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12671 # Whether we need a single -rpath flag with a separated argument.
12672 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12674 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12675 # resulting binary.
12676 hardcode_direct=$hardcode_direct_CXX
12678 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12679 # resulting binary.
12680 hardcode_minus_L=$hardcode_minus_L_CXX
12682 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12683 # the resulting binary.
12684 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12686 # Set to yes if building a shared library automatically hardcodes DIR into the library
12687 # and all subsequent libraries and executables linked against it.
12688 hardcode_automatic=$hardcode_automatic_CXX
12690 # Variables whose values should be saved in libtool wrapper scripts and
12691 # restored at relink time.
12692 variables_saved_for_relink="$variables_saved_for_relink"
12694 # Whether libtool must link a program against all its dependency libraries.
12695 link_all_deplibs=$link_all_deplibs_CXX
12697 # Compile-time system search path for libraries
12698 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12700 # Run-time system search path for libraries
12701 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12703 # Fix the shell variable \$srcfile for the compiler.
12704 fix_srcfile_path="$fix_srcfile_path_CXX"
12706 # Set to yes if exported symbols are required.
12707 always_export_symbols=$always_export_symbols_CXX
12709 # The commands to list exported symbols.
12710 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12712 # The commands to extract the exported symbol list from a shared archive.
12713 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12715 # Symbols that should not be listed in the preloaded symbols.
12716 exclude_expsyms=$lt_exclude_expsyms_CXX
12718 # Symbols that must always be exported.
12719 include_expsyms=$lt_include_expsyms_CXX
12721 # ### END LIBTOOL TAG CONFIG: $tagname
12727 # If there is no Makefile yet, we rely on a make rule to execute
12728 # `config.status --recheck' to rerun these tests and create the
12729 # libtool script then.
12730 test -f Makefile && make "$ltmain"
12735 ac_cpp='$CPP $CPPFLAGS'
12736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12744 with_gnu_ldcxx=$with_gnu_ld
12745 with_gnu_ld=$lt_save_with_gnu_ld
12746 lt_cv_path_LDCXX=$lt_cv_path_LD
12747 lt_cv_path_LD=$lt_save_path_LD
12748 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12749 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12757 if test -n "$F77" && test "X$F77" != "Xno"; then
12760 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12761 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12762 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12765 archive_cmds_need_lc_F77=no
12766 allow_undefined_flag_F77=
12767 always_export_symbols_F77=no
12768 archive_expsym_cmds_F77=
12769 export_dynamic_flag_spec_F77=
12770 hardcode_direct_F77=no
12771 hardcode_libdir_flag_spec_F77=
12772 hardcode_libdir_flag_spec_ld_F77=
12773 hardcode_libdir_separator_F77=
12774 hardcode_minus_L_F77=no
12775 hardcode_automatic_F77=no
12777 module_expsym_cmds_F77=
12778 link_all_deplibs_F77=unknown
12779 old_archive_cmds_F77=$old_archive_cmds
12780 no_undefined_flag_F77=
12781 whole_archive_flag_spec_F77=
12782 enable_shared_with_static_runtimes_F77=no
12784 # Source file extension for f77 test sources.
12787 # Object file extension for compiled f77 test sources.
12791 # Code to be used in simple compile tests
12792 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12794 # Code to be used in simple link tests
12795 lt_simple_link_test_code=" program t\n end\n"
12797 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12799 # If no C compiler was specified, use CC.
12802 # Allow CC to be a program name with arguments.
12806 # Allow CC to be a program name with arguments.
12811 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12813 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12814 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12815 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12816 echo "${ECHO_T}$can_build_shared" >&6
12818 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12819 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12820 test "$can_build_shared" = "no" && enable_shared=no
12822 # On AIX, shared libraries and static libraries use the same namespace, and
12823 # are all built from PIC.
12826 test "$enable_shared" = yes && enable_static=no
12827 if test -n "$RANLIB"; then
12828 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12829 postinstall_cmds='$RANLIB $lib'
12833 test "$enable_shared" = yes && enable_static=no
12836 echo "$as_me:$LINENO: result: $enable_shared" >&5
12837 echo "${ECHO_T}$enable_shared" >&6
12839 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12840 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12841 # Make sure either enable_shared or enable_static is yes.
12842 test "$enable_shared" = yes || enable_static=yes
12843 echo "$as_me:$LINENO: result: $enable_static" >&5
12844 echo "${ECHO_T}$enable_static" >&6
12846 test "$ld_shlibs_F77" = no && can_build_shared=no
12851 lt_prog_compiler_wl_F77=
12852 lt_prog_compiler_pic_F77=
12853 lt_prog_compiler_static_F77=
12855 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12856 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12858 if test "$GCC" = yes; then
12859 lt_prog_compiler_wl_F77='-Wl,'
12860 lt_prog_compiler_static_F77='-static'
12864 # All AIX code is PIC.
12865 if test "$host_cpu" = ia64; then
12866 # AIX 5 now supports IA64 processor
12867 lt_prog_compiler_static_F77='-Bstatic'
12872 # FIXME: we need at least 68020 code to build shared libraries, but
12873 # adding the `-m68020' flag to GCC prevents building anything better,
12875 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12878 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12879 # PIC is the default for these OSes.
12882 mingw* | pw32* | os2*)
12883 # This hack is so that the source file can tell whether it is being
12884 # built for inclusion in a dll (and should export symbols for example).
12885 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12888 darwin* | rhapsody*)
12889 # PIC is the default on this platform
12890 # Common symbols not allowed in MH_DYLIB files
12891 lt_prog_compiler_pic_F77='-fno-common'
12895 # Just because we use GCC doesn't mean we suddenly get shared libraries
12896 # on systems that don't support them.
12897 lt_prog_compiler_can_build_shared_F77=no
12902 if test -d /usr/nec; then
12903 lt_prog_compiler_pic_F77=-Kconform_pic
12908 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12909 # not for PA HP-UX.
12910 case "$host_cpu" in
12915 lt_prog_compiler_pic_F77='-fPIC'
12921 lt_prog_compiler_pic_F77='-fPIC'
12925 # PORTME Check for flag to pass linker flags through the system compiler.
12928 lt_prog_compiler_wl_F77='-Wl,'
12929 if test "$host_cpu" = ia64; then
12930 # AIX 5 now supports IA64 processor
12931 lt_prog_compiler_static_F77='-Bstatic'
12933 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12937 mingw* | pw32* | os2*)
12938 # This hack is so that the source file can tell whether it is being
12939 # built for inclusion in a dll (and should export symbols for example).
12940 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12943 hpux9* | hpux10* | hpux11*)
12944 lt_prog_compiler_wl_F77='-Wl,'
12945 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12946 # not for PA HP-UX.
12947 case "$host_cpu" in
12952 lt_prog_compiler_pic_F77='+Z'
12955 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12956 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12959 irix5* | irix6* | nonstopux*)
12960 lt_prog_compiler_wl_F77='-Wl,'
12961 # PIC (with -KPIC) is the default.
12962 lt_prog_compiler_static_F77='-non_shared'
12966 lt_prog_compiler_pic_F77='-KPIC'
12967 lt_prog_compiler_static_F77='-Bstatic'
12973 lt_prog_compiler_wl_F77='-Wl,'
12974 lt_prog_compiler_pic_F77='-KPIC'
12975 lt_prog_compiler_static_F77='-static'
12978 lt_prog_compiler_wl_F77='-Wl,'
12979 # All Alpha code is PIC.
12980 lt_prog_compiler_static_F77='-non_shared'
12985 osf3* | osf4* | osf5*)
12986 lt_prog_compiler_wl_F77='-Wl,'
12987 # All OSF/1 code is PIC.
12988 lt_prog_compiler_static_F77='-non_shared'
12992 lt_prog_compiler_pic_F77='-Kpic'
12993 lt_prog_compiler_static_F77='-dn'
12997 lt_prog_compiler_wl_F77='-Wl,'
12998 lt_prog_compiler_pic_F77='-KPIC'
12999 lt_prog_compiler_static_F77='-Bstatic'
13003 lt_prog_compiler_wl_F77='-Qoption ld '
13004 lt_prog_compiler_pic_F77='-PIC'
13005 lt_prog_compiler_static_F77='-Bstatic'
13008 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13009 lt_prog_compiler_wl_F77='-Wl,'
13010 lt_prog_compiler_pic_F77='-KPIC'
13011 lt_prog_compiler_static_F77='-Bstatic'
13015 if test -d /usr/nec ;then
13016 lt_prog_compiler_pic_F77='-Kconform_pic'
13017 lt_prog_compiler_static_F77='-Bstatic'
13022 lt_prog_compiler_pic_F77='-pic'
13023 lt_prog_compiler_static_F77='-Bstatic'
13027 lt_prog_compiler_can_build_shared_F77=no
13032 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13033 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13036 # Check to make sure the PIC flag actually works.
13038 if test -n "$lt_prog_compiler_pic_F77"; then
13039 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13040 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13041 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13042 echo $ECHO_N "(cached) $ECHO_C" >&6
13044 lt_prog_compiler_pic_works_F77=no
13045 ac_outfile=conftest.$ac_objext
13046 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13047 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13048 # Insert the option either (1) after the last *FLAGS variable, or
13049 # (2) before a word containing "conftest.", or (3) at the end.
13050 # Note that $ac_compile itself does not contain backslashes and begins
13051 # with a dollar sign (not a hyphen), so the echo should work correctly.
13052 # The option is referenced via a variable to avoid confusing sed.
13053 lt_compile=`echo "$ac_compile" | $SED \
13054 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13055 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13056 -e 's:$: $lt_compiler_flag:'`
13057 (eval echo "\"\$as_me:13057: $lt_compile\"" >&5)
13058 (eval "$lt_compile" 2>conftest.err)
13060 cat conftest.err >&5
13061 echo "$as_me:13061: \$? = $ac_status" >&5
13062 if (exit $ac_status) && test -s "$ac_outfile"; then
13063 # The compiler can only warn and ignore the option if not recognized
13064 # So say no if there are warnings
13065 if test ! -s conftest.err; then
13066 lt_prog_compiler_pic_works_F77=yes
13072 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13073 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13075 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13076 case $lt_prog_compiler_pic_F77 in
13078 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13081 lt_prog_compiler_pic_F77=
13082 lt_prog_compiler_can_build_shared_F77=no
13087 # For platforms which do not support PIC, -DPIC is meaningless:
13089 lt_prog_compiler_pic_F77=
13092 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13096 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13097 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13098 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13099 echo $ECHO_N "(cached) $ECHO_C" >&6
13101 lt_cv_prog_compiler_c_o_F77=no
13102 $rm -r conftest 2>/dev/null
13106 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13108 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13109 # that will create temporary files in the current directory regardless of
13110 # the output directory. Thus, making CWD read-only will cause this test
13111 # to fail, enabling locking or at least warning the user not to do parallel
13115 lt_compiler_flag="-o out/conftest2.$ac_objext"
13116 # Insert the option either (1) after the last *FLAGS variable, or
13117 # (2) before a word containing "conftest.", or (3) at the end.
13118 # Note that $ac_compile itself does not contain backslashes and begins
13119 # with a dollar sign (not a hyphen), so the echo should work correctly.
13120 lt_compile=`echo "$ac_compile" | $SED \
13121 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13122 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13123 -e 's:$: $lt_compiler_flag:'`
13124 (eval echo "\"\$as_me:13124: $lt_compile\"" >&5)
13125 (eval "$lt_compile" 2>out/conftest.err)
13127 cat out/conftest.err >&5
13128 echo "$as_me:13128: \$? = $ac_status" >&5
13129 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13131 # The compiler can only warn and ignore the option if not recognized
13132 # So say no if there are warnings
13133 if test ! -s out/conftest.err; then
13134 lt_cv_prog_compiler_c_o_F77=yes
13138 $rm conftest* out/*
13145 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13146 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13149 hard_links="nottested"
13150 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13151 # do not overwrite the value of need_locks provided by the user
13152 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13153 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13156 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13158 ln conftest.a conftest.b 2>&5 || hard_links=no
13159 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13160 echo "$as_me:$LINENO: result: $hard_links" >&5
13161 echo "${ECHO_T}$hard_links" >&6
13162 if test "$hard_links" = no; then
13163 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13164 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13171 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13172 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13175 allow_undefined_flag_F77=
13176 enable_shared_with_static_runtimes_F77=no
13178 archive_expsym_cmds_F77=
13179 old_archive_From_new_cmds_F77=
13180 old_archive_from_expsyms_cmds_F77=
13181 export_dynamic_flag_spec_F77=
13182 whole_archive_flag_spec_F77=
13183 thread_safe_flag_spec_F77=
13184 hardcode_libdir_flag_spec_F77=
13185 hardcode_libdir_flag_spec_ld_F77=
13186 hardcode_libdir_separator_F77=
13187 hardcode_direct_F77=no
13188 hardcode_minus_L_F77=no
13189 hardcode_shlibpath_var_F77=unsupported
13190 link_all_deplibs_F77=unknown
13191 hardcode_automatic_F77=no
13193 module_expsym_cmds_F77=
13194 always_export_symbols_F77=no
13195 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13196 # include_expsyms should be a list of space-separated symbols to be *always*
13197 # included in the symbol list
13198 include_expsyms_F77=
13199 # exclude_expsyms can be an extended regexp of symbols to exclude
13200 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13201 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13202 # as well as any symbol that contains `d'.
13203 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13204 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13205 # platforms (ab)use it in PIC code, but their linkers get confused if
13206 # the symbol is explicitly referenced. Since portable code cannot
13207 # rely on this symbol name, it's probably fine to never include it in
13208 # preloaded symbol tables.
13209 extract_expsyms_cmds=
13212 cygwin* | mingw* | pw32*)
13213 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13214 # When not using gcc, we currently assume that we are using
13215 # Microsoft Visual C++.
13216 if test "$GCC" != yes; then
13226 if test "$with_gnu_ld" = yes; then
13227 # If archive_cmds runs LD, not CC, wlarc should be empty
13230 # See if GNU ld supports shared libraries.
13232 aix3* | aix4* | aix5*)
13233 # On AIX/PPC, the GNU linker is very broken
13234 if test "$host_cpu" != ia64; then
13238 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13239 *** to be unable to reliably create shared libraries on AIX.
13240 *** Therefore, libtool is disabling shared libraries support. If you
13241 *** really care for shared libraries, you may want to modify your PATH
13242 *** so that a non-GNU linker is found, and then restart.
13249 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)'
13250 hardcode_libdir_flag_spec_F77='-L$libdir'
13251 hardcode_minus_L_F77=yes
13253 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13254 # that the semantics of dynamic libraries on AmigaOS, at least up
13255 # to version 4, is to share data among multiple programs linked
13256 # with the same dynamic library. Since this doesn't match the
13257 # behavior of shared libraries on other platforms, we can't use
13263 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13264 allow_undefined_flag_F77=unsupported
13265 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13266 # support --undefined. This deserves some investigation. FIXME
13267 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13273 cygwin* | mingw* | pw32*)
13274 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13275 # as there is no search path for DLLs.
13276 hardcode_libdir_flag_spec_F77='-L$libdir'
13277 allow_undefined_flag_F77=unsupported
13278 always_export_symbols_F77=no
13279 enable_shared_with_static_runtimes_F77=yes
13280 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13282 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13283 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13284 # If the export-symbols file already is a .def file (1st line
13285 # is EXPORTS), use it as is; otherwise, prepend...
13286 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13287 cp $export_symbols $output_objdir/$soname.def;
13289 echo EXPORTS > $output_objdir/$soname.def;
13290 cat $export_symbols >> $output_objdir/$soname.def;
13292 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13299 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13300 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13303 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13304 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13309 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13313 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13314 *** create shared libraries on Solaris systems. Therefore, libtool
13315 *** is disabling shared libraries support. We urge you to upgrade GNU
13316 *** binutils to release 2.9.1 or newer. Another option is to modify
13317 *** your PATH or compiler configuration so that the native linker is
13318 *** used, and then restart.
13321 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13322 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13323 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13330 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13332 hardcode_direct_F77=yes
13333 hardcode_shlibpath_var_F77=no
13337 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13338 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13339 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13346 if test "$ld_shlibs_F77" = yes; then
13347 runpath_var=LD_RUN_PATH
13348 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13349 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13350 # ancient GNU ld didn't support --whole-archive et. al.
13351 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13352 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13354 whole_archive_flag_spec_F77=
13358 # PORTME fill in a description of your system's linker (not GNU ld)
13361 allow_undefined_flag_F77=unsupported
13362 always_export_symbols_F77=yes
13363 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'
13364 # Note: this linker hardcodes the directories in LIBPATH if there
13365 # are no directories specified by -L.
13366 hardcode_minus_L_F77=yes
13367 if test "$GCC" = yes && test -z "$link_static_flag"; then
13368 # Neither direct hardcoding nor static linking is supported with a
13370 hardcode_direct_F77=unsupported
13375 if test "$host_cpu" = ia64; then
13376 # On IA64, the linker does run time linking by default, so we don't
13377 # have to do anything special.
13378 aix_use_runtimelinking=no
13379 exp_sym_flag='-Bexport'
13382 # If we're using GNU nm, then we don't want the "-C" option.
13383 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13384 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13385 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'
13387 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'
13389 aix_use_runtimelinking=no
13391 # Test if we are trying to use run time linking or normal
13392 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13393 # need to do runtime linking.
13394 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13395 for ld_flag in $LDFLAGS; do
13396 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13397 aix_use_runtimelinking=yes
13403 exp_sym_flag='-bexport'
13404 no_entry_flag='-bnoentry'
13407 # When large executables or shared objects are built, AIX ld can
13408 # have problems creating the table of contents. If linking a library
13409 # or program results in "error TOC overflow" add -mminimal-toc to
13410 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13411 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13413 archive_cmds_F77=''
13414 hardcode_direct_F77=yes
13415 hardcode_libdir_separator_F77=':'
13416 link_all_deplibs_F77=yes
13418 if test "$GCC" = yes; then
13419 case $host_os in aix4.012|aix4.012.*)
13420 # We only want to do this on AIX 4.2 and lower, the check
13421 # below for broken collect2 doesn't work under 4.3+
13422 collect2name=`${CC} -print-prog-name=collect2`
13423 if test -f "$collect2name" && \
13424 strings "$collect2name" | grep resolve_lib_name >/dev/null
13426 # We have reworked collect2
13427 hardcode_direct_F77=yes
13429 # We have old collect2
13430 hardcode_direct_F77=unsupported
13431 # It fails to find uninstalled libraries when the uninstalled
13432 # path is not listed in the libpath. Setting hardcode_minus_L
13433 # to unsupported forces relinking
13434 hardcode_minus_L_F77=yes
13435 hardcode_libdir_flag_spec_F77='-L$libdir'
13436 hardcode_libdir_separator_F77=
13439 shared_flag='-shared'
13442 if test "$host_cpu" = ia64; then
13443 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13444 # chokes on -Wl,-G. The following line is correct:
13447 if test "$aix_use_runtimelinking" = yes; then
13448 shared_flag='${wl}-G'
13450 shared_flag='${wl}-bM:SRE'
13455 # It seems that -bexpall does not export symbols beginning with
13456 # underscore (_), so it is better to generate a list of symbols to export.
13457 always_export_symbols_F77=yes
13458 if test "$aix_use_runtimelinking" = yes; then
13459 # Warning - without using the other runtime loading flags (-brtl),
13460 # -berok will link without error, but may produce a broken library.
13461 allow_undefined_flag_F77='-berok'
13462 # Determine the default libpath from the value encoded in an empty executable.
13463 cat >conftest.$ac_ext <<_ACEOF
13468 rm -f conftest.$ac_objext conftest$ac_exeext
13469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13470 (eval $ac_link) 2>&5
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); } &&
13474 { ac_try='test -s conftest$ac_exeext'
13475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13476 (eval $ac_try) 2>&5
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); }; }; then
13481 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13483 # Check for a 64-bit object if we didn't find anything.
13484 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; }
13487 echo "$as_me: failed program was:" >&5
13488 sed 's/^/| /' conftest.$ac_ext >&5
13491 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13492 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13494 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13495 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"
13497 if test "$host_cpu" = ia64; then
13498 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13499 allow_undefined_flag_F77="-z nodefs"
13500 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"
13502 # Determine the default libpath from the value encoded in an empty executable.
13503 cat >conftest.$ac_ext <<_ACEOF
13508 rm -f conftest.$ac_objext conftest$ac_exeext
13509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13510 (eval $ac_link) 2>&5
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 (exit $ac_status); } &&
13514 { ac_try='test -s conftest$ac_exeext'
13515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13516 (eval $ac_try) 2>&5
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); }; }; then
13521 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13523 # Check for a 64-bit object if we didn't find anything.
13524 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; }
13527 echo "$as_me: failed program was:" >&5
13528 sed 's/^/| /' conftest.$ac_ext >&5
13531 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13532 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13534 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13535 # Warning - without using the other run time loading flags,
13536 # -berok will link without error, but may produce a broken library.
13537 no_undefined_flag_F77=' ${wl}-bernotok'
13538 allow_undefined_flag_F77=' ${wl}-berok'
13539 # -bexpall does not export symbols beginning with underscore (_)
13540 always_export_symbols_F77=yes
13541 # Exported symbols can be pulled into shared objects from archives
13542 whole_archive_flag_spec_F77=' '
13543 archive_cmds_need_lc_F77=yes
13544 # This is similar to how AIX traditionally builds it's shared libraries.
13545 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'
13551 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)'
13552 hardcode_libdir_flag_spec_F77='-L$libdir'
13553 hardcode_minus_L_F77=yes
13554 # see comment about different semantics on the GNU ld section
13559 export_dynamic_flag_spec_F77=-rdynamic
13562 cygwin* | mingw* | pw32*)
13563 # When not using gcc, we currently assume that we are using
13564 # Microsoft Visual C++.
13565 # hardcode_libdir_flag_spec is actually meaningless, as there is
13566 # no search path for DLLs.
13567 hardcode_libdir_flag_spec_F77=' '
13568 allow_undefined_flag_F77=unsupported
13569 # Tell ltmain to make .lib files, not .a files.
13571 # Tell ltmain to make .dll files, not .so files.
13573 # FIXME: Setting linknames here is a bad hack.
13574 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13575 # The linker will automatically build a .lib file if we build a DLL.
13576 old_archive_From_new_cmds_F77='true'
13577 # FIXME: Should let the user specify the lib program.
13578 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13579 fix_srcfile_path='`cygpath -w "$srcfile"`'
13580 enable_shared_with_static_runtimes_F77=yes
13583 darwin* | rhapsody*)
13584 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13585 archive_cmds_need_lc_F77=no
13587 rhapsody* | darwin1.[012])
13588 allow_undefined_flag_F77='-undefined suppress'
13591 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13594 # FIXME: Relying on posixy $() will cause problems for
13595 # cross-compilation, but unfortunately the echo tests do not
13596 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13597 # `"' quotes if we put them in here... so don't!
13598 lt_int_apple_cc_single_mod=no
13599 output_verbose_link_cmd='echo'
13600 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13601 lt_int_apple_cc_single_mod=yes
13603 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13604 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13606 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'
13608 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13609 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13610 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13611 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}'
13613 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}'
13615 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}'
13616 hardcode_direct_F77=no
13617 hardcode_automatic_F77=yes
13618 hardcode_shlibpath_var_F77=unsupported
13619 whole_archive_flag_spec_F77='-all_load $convenience'
13620 link_all_deplibs_F77=yes
13625 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13626 hardcode_libdir_flag_spec_F77='-L$libdir'
13627 hardcode_shlibpath_var_F77=no
13634 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13635 # support. Future versions do this automatically, but an explicit c++rt0.o
13636 # does not break anything, and helps significantly (at the cost of a little
13639 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13640 hardcode_libdir_flag_spec_F77='-R$libdir'
13641 hardcode_direct_F77=yes
13642 hardcode_shlibpath_var_F77=no
13645 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13647 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13648 hardcode_direct_F77=yes
13649 hardcode_minus_L_F77=yes
13650 hardcode_shlibpath_var_F77=no
13653 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13655 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13656 hardcode_libdir_flag_spec_F77='-R$libdir'
13657 hardcode_direct_F77=yes
13658 hardcode_shlibpath_var_F77=no
13662 if test "$GCC" = yes; then
13663 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'
13665 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'
13667 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13668 hardcode_libdir_separator_F77=:
13669 hardcode_direct_F77=yes
13671 # hardcode_minus_L: Not really in the search PATH,
13672 # but as the default location of the library.
13673 hardcode_minus_L_F77=yes
13674 export_dynamic_flag_spec_F77='${wl}-E'
13678 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13679 case "$host_cpu" in
13681 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13684 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13688 case "$host_cpu" in
13690 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13693 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13697 if test "$with_gnu_ld" = no; then
13698 case "$host_cpu" in
13700 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13701 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13702 hardcode_libdir_separator_F77=:
13703 hardcode_direct_F77=no
13704 hardcode_shlibpath_var_F77=no
13707 hardcode_libdir_flag_spec_F77='-L$libdir'
13708 hardcode_direct_F77=no
13709 hardcode_shlibpath_var_F77=no
13711 # hardcode_minus_L: Not really in the search PATH,
13712 # but as the default location of the library.
13713 hardcode_minus_L_F77=yes
13716 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13717 hardcode_libdir_separator_F77=:
13718 hardcode_direct_F77=yes
13719 export_dynamic_flag_spec_F77='${wl}-E'
13721 # hardcode_minus_L: Not really in the search PATH,
13722 # but as the default location of the library.
13723 hardcode_minus_L_F77=yes
13729 irix5* | irix6* | nonstopux*)
13730 if test "$GCC" = yes; then
13731 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'
13733 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'
13734 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13736 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13737 hardcode_libdir_separator_F77=:
13738 link_all_deplibs_F77=yes
13742 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13743 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13745 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13747 hardcode_libdir_flag_spec_F77='-R$libdir'
13748 hardcode_direct_F77=yes
13749 hardcode_shlibpath_var_F77=no
13753 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13754 hardcode_direct_F77=yes
13755 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13756 hardcode_libdir_separator_F77=:
13757 hardcode_shlibpath_var_F77=no
13761 hardcode_direct_F77=yes
13762 hardcode_shlibpath_var_F77=no
13763 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13764 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13765 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13766 export_dynamic_flag_spec_F77='${wl}-E'
13769 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13770 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13771 hardcode_libdir_flag_spec_F77='-R$libdir'
13774 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13775 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13782 hardcode_libdir_flag_spec_F77='-L$libdir'
13783 hardcode_minus_L_F77=yes
13784 allow_undefined_flag_F77=unsupported
13785 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'
13786 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13790 if test "$GCC" = yes; then
13791 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13792 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'
13794 allow_undefined_flag_F77=' -expect_unresolved \*'
13795 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'
13797 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13798 hardcode_libdir_separator_F77=:
13801 osf4* | osf5*) # as osf3* with the addition of -msym flag
13802 if test "$GCC" = yes; then
13803 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13804 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'
13805 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13807 allow_undefined_flag_F77=' -expect_unresolved \*'
13808 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'
13809 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~
13810 $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'
13812 # Both c and cxx compiler support -rpath directly
13813 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13815 hardcode_libdir_separator_F77=:
13819 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13820 hardcode_shlibpath_var_F77=no
13821 export_dynamic_flag_spec_F77='${wl}-Bexport'
13822 runpath_var=LD_RUN_PATH
13823 hardcode_runpath_var=yes
13827 no_undefined_flag_F77=' -z text'
13828 if test "$GCC" = yes; then
13829 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13830 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13831 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13833 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13834 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13835 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13837 hardcode_libdir_flag_spec_F77='-R$libdir'
13838 hardcode_shlibpath_var_F77=no
13840 solaris2.[0-5] | solaris2.[0-5].*) ;;
13841 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13842 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13844 link_all_deplibs_F77=yes
13848 if test "x$host_vendor" = xsequent; then
13849 # Use $CC to link under sequent, because it throws in some extra .o
13850 # files that make .init and .fini sections work.
13851 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13853 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13855 hardcode_libdir_flag_spec_F77='-L$libdir'
13856 hardcode_direct_F77=yes
13857 hardcode_minus_L_F77=yes
13858 hardcode_shlibpath_var_F77=no
13862 case $host_vendor in
13864 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13865 hardcode_direct_F77=yes # is this really true???
13868 ## LD is ld it makes a PLAMLIB
13869 ## CC just makes a GrossModule.
13870 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13871 reload_cmds_F77='$CC -r -o $output$reload_objs'
13872 hardcode_direct_F77=no
13875 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13876 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13879 runpath_var='LD_RUN_PATH'
13880 hardcode_shlibpath_var_F77=no
13884 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13885 hardcode_shlibpath_var_F77=no
13886 export_dynamic_flag_spec_F77='-Bexport'
13890 if test -d /usr/nec; then
13891 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13892 hardcode_shlibpath_var_F77=no
13893 runpath_var=LD_RUN_PATH
13894 hardcode_runpath_var=yes
13900 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13901 hardcode_direct_F77=yes
13902 hardcode_minus_L_F77=no
13903 hardcode_shlibpath_var_F77=no
13904 hardcode_runpath_var=yes
13905 runpath_var=LD_RUN_PATH
13908 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13909 no_undefined_flag_F77='${wl}-z ${wl}text'
13910 if test "$GCC" = yes; then
13911 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13913 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13915 runpath_var='LD_RUN_PATH'
13916 hardcode_shlibpath_var_F77=no
13920 no_undefined_flag_F77=' -z text'
13921 # $CC -shared without GNU ld will not create a library from C++
13922 # object files and a static libstdc++, better avoid it by now
13923 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13924 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13925 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13926 hardcode_libdir_flag_spec_F77=
13927 hardcode_shlibpath_var_F77=no
13928 runpath_var='LD_RUN_PATH'
13932 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13933 hardcode_libdir_flag_spec_F77='-L$libdir'
13934 hardcode_shlibpath_var_F77=no
13943 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13944 echo "${ECHO_T}$ld_shlibs_F77" >&6
13945 test "$ld_shlibs_F77" = no && can_build_shared=no
13947 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13948 if test "$GCC" = yes; then
13949 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13953 # Do we need to explicitly link libc?
13955 case "x$archive_cmds_need_lc_F77" in
13957 # Assume -lc should be added
13958 archive_cmds_need_lc_F77=yes
13960 if test "$enable_shared" = yes && test "$GCC" = yes; then
13961 case $archive_cmds_F77 in
13963 # FIXME: we may have to deal with multi-command sequences.
13966 # Test whether the compiler implicitly links with -lc since on some
13967 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13968 # to ld, don't add -lc before -lgcc.
13969 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13970 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13972 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13975 (eval $ac_compile) 2>&5
13977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13978 (exit $ac_status); } 2>conftest.err; then
13981 libobjs=conftest.$ac_objext
13983 wl=$lt_prog_compiler_wl_F77
13989 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13990 allow_undefined_flag_F77=
13991 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13992 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995 (exit $ac_status); }
13997 archive_cmds_need_lc_F77=no
13999 archive_cmds_need_lc_F77=yes
14001 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
14003 cat conftest.err 1>&5
14006 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14007 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14014 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14015 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14016 hardcode_action_F77=
14017 if test -n "$hardcode_libdir_flag_spec_F77" || \
14018 test -n "$runpath_var F77" || \
14019 test "X$hardcode_automatic_F77"="Xyes" ; then
14021 # We can hardcode non-existant directories.
14022 if test "$hardcode_direct_F77" != no &&
14023 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14024 # have to relink, otherwise we might link with an installed library
14025 # when we should be linking with a yet-to-be-installed one
14026 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14027 test "$hardcode_minus_L_F77" != no; then
14028 # Linking always hardcodes the temporary library directory.
14029 hardcode_action_F77=relink
14031 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14032 hardcode_action_F77=immediate
14035 # We cannot hardcode anything, or else we can only hardcode existing
14037 hardcode_action_F77=unsupported
14039 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14040 echo "${ECHO_T}$hardcode_action_F77" >&6
14042 if test "$hardcode_action_F77" = relink; then
14043 # Fast installation is not supported
14044 enable_fast_install=no
14045 elif test "$shlibpath_overrides_runpath" = yes ||
14046 test "$enable_shared" = no; then
14047 # Fast installation is not necessary
14048 enable_fast_install=needless
14053 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14054 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14055 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14056 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14057 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14058 echo "$as_me:$LINENO: result: yes" >&5
14059 echo "${ECHO_T}yes" >&6
14061 # FIXME - insert some real tests, host_os isn't really good enough
14064 if test -n "$STRIP" ; then
14065 striplib="$STRIP -x"
14066 echo "$as_me:$LINENO: result: yes" >&5
14067 echo "${ECHO_T}yes" >&6
14069 echo "$as_me:$LINENO: result: no" >&5
14070 echo "${ECHO_T}no" >&6
14074 echo "$as_me:$LINENO: result: no" >&5
14075 echo "${ECHO_T}no" >&6
14080 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14081 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14082 library_names_spec=
14083 libname_spec='lib$name'
14087 postuninstall_cmds=
14091 shlibpath_overrides_runpath=unknown
14093 dynamic_linker="$host_os ld.so"
14094 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14095 if test "$GCC" = yes; then
14096 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14097 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14098 # if the path contains ";" then we assume it to be the separator
14099 # otherwise default to the standard path separator (i.e. ":") - it is
14100 # assumed that no part of a normal pathname contains ";" but that should
14101 # okay in the real world where ";" in dirpaths is itself problematic.
14102 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14104 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14107 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14109 need_lib_prefix=unknown
14110 hardcode_into_libs=no
14112 # when you set need_version to no, make sure it does not cause -set_version
14113 # flags to be left without arguments
14114 need_version=unknown
14119 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14120 shlibpath_var=LIBPATH
14122 # AIX 3 has no versioning support, so we append a major version to the name.
14123 soname_spec='${libname}${release}${shared_ext}$major'
14130 hardcode_into_libs=yes
14131 if test "$host_cpu" = ia64; then
14132 # AIX 5 supports IA64
14133 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14134 shlibpath_var=LD_LIBRARY_PATH
14136 # With GCC up to 2.95.x, collect2 would create an import file
14137 # for dependence libraries. The import file would start with
14138 # the line `#! .'. This would cause the generated library to
14139 # depend on `.', always an invalid library. This was fixed in
14140 # development snapshots of GCC prior to 3.0.
14142 aix4 | aix4.[01] | aix4.[01].*)
14143 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14145 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14148 can_build_shared=no
14152 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14153 # soname into executable. Probably we can add versioning support to
14154 # collect2, so additional links can be useful in future.
14155 if test "$aix_use_runtimelinking" = yes; then
14156 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14157 # instead of lib<name>.a to let people know that these are not
14158 # typical AIX shared libraries.
14159 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14161 # We preserve .a as extension for shared libraries through AIX4.2
14162 # and later when we are not doing run time linking.
14163 library_names_spec='${libname}${release}.a $libname.a'
14164 soname_spec='${libname}${release}${shared_ext}$major'
14166 shlibpath_var=LIBPATH
14171 library_names_spec='$libname.ixlibrary $libname.a'
14172 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14173 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'
14177 library_names_spec='${libname}${shared_ext}'
14178 dynamic_linker="$host_os ld.so"
14179 shlibpath_var=LIBRARY_PATH
14185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14186 soname_spec='${libname}${release}${shared_ext}$major'
14187 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14188 shlibpath_var=LD_LIBRARY_PATH
14189 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14190 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14191 # the default ld.so.conf also contains /usr/contrib/lib and
14192 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14193 # libtool to hard-code these into programs
14196 cygwin* | mingw* | pw32*)
14197 version_type=windows
14202 case $GCC,$host_os in
14203 yes,cygwin* | yes,mingw* | yes,pw32*)
14204 library_names_spec='$libname.dll.a'
14205 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14206 postinstall_cmds='base_file=`basename \${file}`~
14207 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14208 dldir=$destdir/`dirname \$dlpath`~
14209 test -d \$dldir || mkdir -p \$dldir~
14210 $install_prog $dir/$dlname \$dldir/$dlname'
14211 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14212 dlpath=$dir/\$dldll~
14214 shlibpath_overrides_runpath=yes
14218 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14219 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14220 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14223 # MinGW DLLs use traditional 'lib' prefix
14224 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14225 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14226 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14227 # It is most probably a Windows format PATH printed by
14228 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14229 # path with ; separators, and with drive letters. We can handle the
14230 # drive letters (cygwin fileutils understands them), so leave them,
14231 # especially as we might pass files found there to a mingw objdump,
14232 # which wouldn't understand a cygwinified path. Ahh.
14233 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14235 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14239 # pw32 DLLs use 'pw' prefix rather than 'lib'
14240 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14246 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14249 dynamic_linker='Win32 ld.exe'
14250 # FIXME: first we should search . and the directory the executable is in
14254 darwin* | rhapsody*)
14255 dynamic_linker="$host_os dyld"
14256 version_type=darwin
14259 # FIXME: Relying on posixy $() will cause problems for
14260 # cross-compilation, but unfortunately the echo tests do not
14261 # yet detect zsh echo's removal of \ escapes.
14262 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14263 soname_spec='${libname}${release}${major}$shared_ext'
14264 shlibpath_overrides_runpath=yes
14265 shlibpath_var=DYLD_LIBRARY_PATH
14266 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14267 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14268 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14269 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"`
14271 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14279 soname_spec='${libname}${release}${shared_ext}$major'
14280 shlibpath_var=LD_LIBRARY_PATH
14288 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14289 version_type=freebsd-$objformat
14290 case $version_type in
14292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14297 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14301 shlibpath_var=LD_LIBRARY_PATH
14304 shlibpath_overrides_runpath=yes
14306 freebsd3.01* | freebsdelf3.01*)
14307 shlibpath_overrides_runpath=yes
14308 hardcode_into_libs=yes
14311 shlibpath_overrides_runpath=no
14312 hardcode_into_libs=yes
14321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14322 soname_spec='${libname}${release}${shared_ext}$major'
14323 shlibpath_var=LD_LIBRARY_PATH
14324 hardcode_into_libs=yes
14327 hpux9* | hpux10* | hpux11*)
14328 # Give a soname corresponding to the major version so that dld.sl refuses to
14329 # link against other versions.
14333 case "$host_cpu" in
14336 hardcode_into_libs=yes
14337 dynamic_linker="$host_os dld.so"
14338 shlibpath_var=LD_LIBRARY_PATH
14339 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14341 soname_spec='${libname}${release}${shared_ext}$major'
14342 if test "X$HPUX_IA64_MODE" = X32; then
14343 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14345 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14347 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14351 hardcode_into_libs=yes
14352 dynamic_linker="$host_os dld.sl"
14353 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14354 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14356 soname_spec='${libname}${release}${shared_ext}$major'
14357 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14358 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14362 dynamic_linker="$host_os dld.sl"
14363 shlibpath_var=SHLIB_PATH
14364 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14366 soname_spec='${libname}${release}${shared_ext}$major'
14369 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14370 postinstall_cmds='chmod 555 $lib'
14373 irix5* | irix6* | nonstopux*)
14375 nonstopux*) version_type=nonstopux ;;
14377 if test "$lt_cv_prog_gnu_ld" = yes; then
14385 soname_spec='${libname}${release}${shared_ext}$major'
14386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14388 irix5* | nonstopux*)
14389 libsuff= shlibsuff=
14392 case $LD in # libtool.m4 will add one of these switches to LD
14393 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14394 libsuff= shlibsuff= libmagic=32-bit;;
14395 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14396 libsuff=32 shlibsuff=N32 libmagic=N32;;
14397 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14398 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14399 *) libsuff= shlibsuff= libmagic=never-match;;
14403 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14404 shlibpath_overrides_runpath=no
14405 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14406 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14407 hardcode_into_libs=yes
14410 # No shared lib support for Linux oldld, aout, or coff.
14411 linux*oldld* | linux*aout* | linux*coff*)
14415 # This must be Linux ELF.
14420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14421 soname_spec='${libname}${release}${shared_ext}$major'
14422 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14423 shlibpath_var=LD_LIBRARY_PATH
14424 shlibpath_overrides_runpath=no
14425 # This implies no fast_install, which is unacceptable.
14426 # Some rework will be needed to allow for fast_install
14427 # before this can be enabled.
14428 hardcode_into_libs=yes
14430 # We used to test for /lib/ld.so.1 and disable shared libraries on
14431 # powerpc, because MkLinux only supported shared libraries with the
14432 # GNU dynamic linker. Since this was broken with cross compilers,
14433 # most powerpc-linux boxes support dynamic linking these days and
14434 # people can always --disable-shared, the test was removed, and we
14435 # assume the GNU/Linux dynamic linker is in use.
14436 dynamic_linker='GNU/Linux ld.so'
14443 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14445 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14446 dynamic_linker='NetBSD (a.out) ld.so'
14448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14449 soname_spec='${libname}${release}${shared_ext}$major'
14450 dynamic_linker='NetBSD ld.elf_so'
14452 shlibpath_var=LD_LIBRARY_PATH
14453 shlibpath_overrides_runpath=yes
14454 hardcode_into_libs=yes
14459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14460 shlibpath_var=LD_LIBRARY_PATH
14461 shlibpath_overrides_runpath=yes
14468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14469 soname_spec='${libname}${release}${shared_ext}$major'
14470 shlibpath_var=LD_LIBRARY_PATH
14471 shlibpath_overrides_runpath=yes
14478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14479 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14480 shlibpath_var=LD_LIBRARY_PATH
14481 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14483 openbsd2.[89] | openbsd2.[89].*)
14484 shlibpath_overrides_runpath=no
14487 shlibpath_overrides_runpath=yes
14491 shlibpath_overrides_runpath=yes
14496 libname_spec='$name'
14499 library_names_spec='$libname${shared_ext} $libname.a'
14500 dynamic_linker='OS/2 ld.exe'
14501 shlibpath_var=LIBPATH
14504 osf3* | osf4* | osf5*)
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
14511 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14512 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14517 soname_spec='${libname}${release}${shared_ext}$major'
14518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14519 shlibpath_var=LD_LIBRARY_PATH
14526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14527 soname_spec='${libname}${release}${shared_ext}$major'
14528 shlibpath_var=LD_LIBRARY_PATH
14529 shlibpath_overrides_runpath=yes
14530 hardcode_into_libs=yes
14531 # ldd complains unless libraries are executable
14532 postinstall_cmds='chmod +x $lib'
14537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14538 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14539 shlibpath_var=LD_LIBRARY_PATH
14540 shlibpath_overrides_runpath=yes
14541 if test "$with_gnu_ld" = yes; then
14547 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14550 soname_spec='${libname}${release}${shared_ext}$major'
14551 shlibpath_var=LD_LIBRARY_PATH
14552 case $host_vendor in
14554 shlibpath_overrides_runpath=no
14556 export_dynamic_flag_spec='${wl}-Blargedynsym'
14557 runpath_var=LD_RUN_PATH
14565 shlibpath_overrides_runpath=no
14566 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14572 if test -d /usr/nec ;then
14574 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14575 soname_spec='$libname${shared_ext}.$major'
14576 shlibpath_var=LD_LIBRARY_PATH
14582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14583 soname_spec='${libname}${release}${shared_ext}$major'
14584 shlibpath_var=LD_LIBRARY_PATH
14591 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14592 echo "${ECHO_T}$dynamic_linker" >&6
14593 test "$dynamic_linker" = no && can_build_shared=no
14596 # The else clause should only fire when bootstrapping the
14597 # libtool distribution, otherwise you forgot to ship ltmain.sh
14598 # with your package, and you will get complaints that there are
14599 # no rules to generate ltmain.sh.
14600 if test -f "$ltmain"; then
14601 # See if we are running on zsh, and set the options which allow our commands through
14602 # without removal of \ escapes.
14603 if test -n "${ZSH_VERSION+set}" ; then
14604 setopt NO_GLOB_SUBST
14606 # Now quote all the things that may contain metacharacters while being
14607 # careful not to overquote the AC_SUBSTed values. We take copies of the
14608 # variables and quote the copies for generation of the libtool script.
14609 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14610 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14611 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14612 deplibs_check_method reload_flag reload_cmds need_locks \
14613 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14614 lt_cv_sys_global_symbol_to_c_name_address \
14615 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14616 old_postinstall_cmds old_postuninstall_cmds \
14620 lt_prog_compiler_wl_F77 \
14621 lt_prog_compiler_pic_F77 \
14622 lt_prog_compiler_static_F77 \
14623 lt_prog_compiler_no_builtin_flag_F77 \
14624 export_dynamic_flag_spec_F77 \
14625 thread_safe_flag_spec_F77 \
14626 whole_archive_flag_spec_F77 \
14627 enable_shared_with_static_runtimes_F77 \
14628 old_archive_cmds_F77 \
14629 old_archive_from_new_cmds_F77 \
14630 predep_objects_F77 \
14631 postdep_objects_F77 \
14634 compiler_lib_search_path_F77 \
14636 archive_expsym_cmds_F77 \
14637 postinstall_cmds_F77 \
14638 postuninstall_cmds_F77 \
14639 old_archive_from_expsyms_cmds_F77 \
14640 allow_undefined_flag_F77 \
14641 no_undefined_flag_F77 \
14642 export_symbols_cmds_F77 \
14643 hardcode_libdir_flag_spec_F77 \
14644 hardcode_libdir_flag_spec_ld_F77 \
14645 hardcode_libdir_separator_F77 \
14646 hardcode_automatic_F77 \
14648 module_expsym_cmds_F77 \
14649 lt_cv_prog_compiler_c_o_F77 \
14650 exclude_expsyms_F77 \
14651 include_expsyms_F77; do
14654 old_archive_cmds_F77 | \
14655 old_archive_from_new_cmds_F77 | \
14656 archive_cmds_F77 | \
14657 archive_expsym_cmds_F77 | \
14658 module_cmds_F77 | \
14659 module_expsym_cmds_F77 | \
14660 old_archive_from_expsyms_cmds_F77 | \
14661 export_symbols_cmds_F77 | \
14662 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14663 postinstall_cmds | postuninstall_cmds | \
14664 old_postinstall_cmds | old_postuninstall_cmds | \
14665 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14666 # Double-quote double-evaled strings.
14667 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14670 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14676 *'\$0 --fallback-echo"')
14677 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14683 cat <<__EOF__ >> "$cfgfile"
14684 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14686 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14688 # Shell to use when invoking shell scripts.
14691 # Whether or not to build shared libraries.
14692 build_libtool_libs=$enable_shared
14694 # Whether or not to build static libraries.
14695 build_old_libs=$enable_static
14697 # Whether or not to add -lc for building shared libraries.
14698 build_libtool_need_lc=$archive_cmds_need_lc_F77
14700 # Whether or not to disallow shared libs when runtime libs are static
14701 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14703 # Whether or not to optimize for fast installation.
14704 fast_install=$enable_fast_install
14707 host_alias=$host_alias
14710 # An echo program that does not interpret backslashes.
14715 AR_FLAGS=$lt_AR_FLAGS
14720 # A language-specific compiler.
14721 CC=$lt_compiler_F77
14723 # Is the compiler the GNU C compiler?
14729 # The linker used to build libraries.
14732 # Whether we need hard or soft links.
14735 # A BSD-compatible nm program.
14738 # A symbol stripping program
14741 # Used to examine libraries when file_magic_cmd begins "file"
14742 MAGIC_CMD=$MAGIC_CMD
14744 # Used on cygwin: DLL creation program.
14747 # Used on cygwin: object dumper.
14750 # Used on cygwin: assembler.
14753 # The name of the directory that contains temporary libtool files.
14756 # How to create reloadable object files.
14757 reload_flag=$lt_reload_flag
14758 reload_cmds=$lt_reload_cmds
14760 # How to pass a linker flag through the compiler.
14761 wl=$lt_lt_prog_compiler_wl_F77
14763 # Object file suffix (normally "o").
14764 objext="$ac_objext"
14766 # Old archive suffix (normally "a").
14769 # Shared library suffix (normally ".so").
14772 # Executable file suffix (normally "").
14775 # Additional compiler flags for building library objects.
14776 pic_flag=$lt_lt_prog_compiler_pic_F77
14779 # What is the maximum length of a command?
14780 max_cmd_len=$lt_cv_sys_max_cmd_len
14782 # Does compiler simultaneously support -c and -o options?
14783 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14785 # Must we lock files when doing compilation ?
14786 need_locks=$lt_need_locks
14788 # Do we need the lib prefix for modules?
14789 need_lib_prefix=$need_lib_prefix
14791 # Do we need a version for libraries?
14792 need_version=$need_version
14794 # Whether dlopen is supported.
14795 dlopen_support=$enable_dlopen
14797 # Whether dlopen of programs is supported.
14798 dlopen_self=$enable_dlopen_self
14800 # Whether dlopen of statically linked programs is supported.
14801 dlopen_self_static=$enable_dlopen_self_static
14803 # Compiler flag to prevent dynamic linking.
14804 link_static_flag=$lt_lt_prog_compiler_static_F77
14806 # Compiler flag to turn off builtin functions.
14807 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14809 # Compiler flag to allow reflexive dlopens.
14810 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14812 # Compiler flag to generate shared objects directly from archives.
14813 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14815 # Compiler flag to generate thread-safe objects.
14816 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14818 # Library versioning type.
14819 version_type=$version_type
14821 # Format of library name prefix.
14822 libname_spec=$lt_libname_spec
14824 # List of archive names. First name is the real one, the rest are links.
14825 # The last name is the one that the linker finds with -lNAME.
14826 library_names_spec=$lt_library_names_spec
14828 # The coded name of the library, if different from the real name.
14829 soname_spec=$lt_soname_spec
14831 # Commands used to build and install an old-style archive.
14833 old_archive_cmds=$lt_old_archive_cmds_F77
14834 old_postinstall_cmds=$lt_old_postinstall_cmds
14835 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14837 # Create an old-style archive from a shared archive.
14838 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14840 # Create a temporary old-style archive to link instead of a shared archive.
14841 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14843 # Commands used to build and install a shared archive.
14844 archive_cmds=$lt_archive_cmds_F77
14845 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14846 postinstall_cmds=$lt_postinstall_cmds
14847 postuninstall_cmds=$lt_postuninstall_cmds
14849 # Commands used to build a loadable module (assumed same as above if empty)
14850 module_cmds=$lt_module_cmds_F77
14851 module_expsym_cmds=$lt_module_expsym_cmds_F77
14853 # Commands to strip libraries.
14854 old_striplib=$lt_old_striplib
14855 striplib=$lt_striplib
14857 # Dependencies to place before the objects being linked to create a
14859 predep_objects=$lt_predep_objects_F77
14861 # Dependencies to place after the objects being linked to create a
14863 postdep_objects=$lt_postdep_objects_F77
14865 # Dependencies to place before the objects being linked to create a
14867 predeps=$lt_predeps_F77
14869 # Dependencies to place after the objects being linked to create a
14871 postdeps=$lt_postdeps_F77
14873 # The library search path used internally by the compiler when linking
14874 # a shared library.
14875 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14877 # Method to check whether dependent libraries are shared objects.
14878 deplibs_check_method=$lt_deplibs_check_method
14880 # Command to use when deplibs_check_method == file_magic.
14881 file_magic_cmd=$lt_file_magic_cmd
14883 # Flag that allows shared libraries with undefined symbols to be built.
14884 allow_undefined_flag=$lt_allow_undefined_flag_F77
14886 # Flag that forces no undefined symbols.
14887 no_undefined_flag=$lt_no_undefined_flag_F77
14889 # Commands used to finish a libtool library installation in a directory.
14890 finish_cmds=$lt_finish_cmds
14892 # Same as above, but a single script fragment to be evaled but not shown.
14893 finish_eval=$lt_finish_eval
14895 # Take the output of nm and produce a listing of raw symbols and C names.
14896 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14898 # Transform the output of nm in a proper C declaration
14899 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14901 # Transform the output of nm in a C name address pair
14902 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14904 # This is the shared library runtime path variable.
14905 runpath_var=$runpath_var
14907 # This is the shared library path variable.
14908 shlibpath_var=$shlibpath_var
14910 # Is shlibpath searched before the hard-coded library search path?
14911 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14913 # How to hardcode a shared library path into an executable.
14914 hardcode_action=$hardcode_action_F77
14916 # Whether we should hardcode library paths into libraries.
14917 hardcode_into_libs=$hardcode_into_libs
14919 # Flag to hardcode \$libdir into a binary during linking.
14920 # This must work even if \$libdir does not exist.
14921 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14923 # If ld is used when linking, flag to hardcode \$libdir into
14924 # a binary during linking. This must work even if \$libdir does
14926 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14928 # Whether we need a single -rpath flag with a separated argument.
14929 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14931 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14932 # resulting binary.
14933 hardcode_direct=$hardcode_direct_F77
14935 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14936 # resulting binary.
14937 hardcode_minus_L=$hardcode_minus_L_F77
14939 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14940 # the resulting binary.
14941 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14943 # Set to yes if building a shared library automatically hardcodes DIR into the library
14944 # and all subsequent libraries and executables linked against it.
14945 hardcode_automatic=$hardcode_automatic_F77
14947 # Variables whose values should be saved in libtool wrapper scripts and
14948 # restored at relink time.
14949 variables_saved_for_relink="$variables_saved_for_relink"
14951 # Whether libtool must link a program against all its dependency libraries.
14952 link_all_deplibs=$link_all_deplibs_F77
14954 # Compile-time system search path for libraries
14955 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14957 # Run-time system search path for libraries
14958 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14960 # Fix the shell variable \$srcfile for the compiler.
14961 fix_srcfile_path="$fix_srcfile_path_F77"
14963 # Set to yes if exported symbols are required.
14964 always_export_symbols=$always_export_symbols_F77
14966 # The commands to list exported symbols.
14967 export_symbols_cmds=$lt_export_symbols_cmds_F77
14969 # The commands to extract the exported symbol list from a shared archive.
14970 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14972 # Symbols that should not be listed in the preloaded symbols.
14973 exclude_expsyms=$lt_exclude_expsyms_F77
14975 # Symbols that must always be exported.
14976 include_expsyms=$lt_include_expsyms_F77
14978 # ### END LIBTOOL TAG CONFIG: $tagname
14984 # If there is no Makefile yet, we rely on a make rule to execute
14985 # `config.status --recheck' to rerun these tests and create the
14986 # libtool script then.
14987 test -f Makefile && make "$ltmain"
14992 ac_cpp='$CPP $CPPFLAGS'
14993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15005 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15009 # Source file extension for Java test sources.
15012 # Object file extension for compiled Java test sources.
15016 # Code to be used in simple compile tests
15017 lt_simple_compile_test_code="class foo {}\n"
15019 # Code to be used in simple link tests
15020 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
15022 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15024 # If no C compiler was specified, use CC.
15027 # Allow CC to be a program name with arguments.
15031 # Allow CC to be a program name with arguments.
15037 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15038 archive_cmds_need_lc_GCJ=no
15041 ## There is no encapsulation within the following macros, do not change
15042 ## the running order or otherwise move them around unless you know exactly
15043 ## what you are doing...
15045 lt_prog_compiler_no_builtin_flag_GCJ=
15047 if test "$GCC" = yes; then
15048 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15050 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15051 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15052 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15053 echo $ECHO_N "(cached) $ECHO_C" >&6
15055 lt_cv_prog_compiler_rtti_exceptions=no
15056 ac_outfile=conftest.$ac_objext
15057 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15058 lt_compiler_flag="-fno-rtti -fno-exceptions"
15059 # Insert the option either (1) after the last *FLAGS variable, or
15060 # (2) before a word containing "conftest.", or (3) at the end.
15061 # Note that $ac_compile itself does not contain backslashes and begins
15062 # with a dollar sign (not a hyphen), so the echo should work correctly.
15063 # The option is referenced via a variable to avoid confusing sed.
15064 lt_compile=`echo "$ac_compile" | $SED \
15065 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15066 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15067 -e 's:$: $lt_compiler_flag:'`
15068 (eval echo "\"\$as_me:15068: $lt_compile\"" >&5)
15069 (eval "$lt_compile" 2>conftest.err)
15071 cat conftest.err >&5
15072 echo "$as_me:15072: \$? = $ac_status" >&5
15073 if (exit $ac_status) && test -s "$ac_outfile"; then
15074 # The compiler can only warn and ignore the option if not recognized
15075 # So say no if there are warnings
15076 if test ! -s conftest.err; then
15077 lt_cv_prog_compiler_rtti_exceptions=yes
15083 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15084 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15086 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15087 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15094 lt_prog_compiler_wl_GCJ=
15095 lt_prog_compiler_pic_GCJ=
15096 lt_prog_compiler_static_GCJ=
15098 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15099 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15101 if test "$GCC" = yes; then
15102 lt_prog_compiler_wl_GCJ='-Wl,'
15103 lt_prog_compiler_static_GCJ='-static'
15107 # All AIX code is PIC.
15108 if test "$host_cpu" = ia64; then
15109 # AIX 5 now supports IA64 processor
15110 lt_prog_compiler_static_GCJ='-Bstatic'
15115 # FIXME: we need at least 68020 code to build shared libraries, but
15116 # adding the `-m68020' flag to GCC prevents building anything better,
15118 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15121 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15122 # PIC is the default for these OSes.
15125 mingw* | pw32* | os2*)
15126 # This hack is so that the source file can tell whether it is being
15127 # built for inclusion in a dll (and should export symbols for example).
15128 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15131 darwin* | rhapsody*)
15132 # PIC is the default on this platform
15133 # Common symbols not allowed in MH_DYLIB files
15134 lt_prog_compiler_pic_GCJ='-fno-common'
15138 # Just because we use GCC doesn't mean we suddenly get shared libraries
15139 # on systems that don't support them.
15140 lt_prog_compiler_can_build_shared_GCJ=no
15145 if test -d /usr/nec; then
15146 lt_prog_compiler_pic_GCJ=-Kconform_pic
15151 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15152 # not for PA HP-UX.
15153 case "$host_cpu" in
15158 lt_prog_compiler_pic_GCJ='-fPIC'
15164 lt_prog_compiler_pic_GCJ='-fPIC'
15168 # PORTME Check for flag to pass linker flags through the system compiler.
15171 lt_prog_compiler_wl_GCJ='-Wl,'
15172 if test "$host_cpu" = ia64; then
15173 # AIX 5 now supports IA64 processor
15174 lt_prog_compiler_static_GCJ='-Bstatic'
15176 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15180 mingw* | pw32* | os2*)
15181 # This hack is so that the source file can tell whether it is being
15182 # built for inclusion in a dll (and should export symbols for example).
15183 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15186 hpux9* | hpux10* | hpux11*)
15187 lt_prog_compiler_wl_GCJ='-Wl,'
15188 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15189 # not for PA HP-UX.
15190 case "$host_cpu" in
15195 lt_prog_compiler_pic_GCJ='+Z'
15198 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15199 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15202 irix5* | irix6* | nonstopux*)
15203 lt_prog_compiler_wl_GCJ='-Wl,'
15204 # PIC (with -KPIC) is the default.
15205 lt_prog_compiler_static_GCJ='-non_shared'
15209 lt_prog_compiler_pic_GCJ='-KPIC'
15210 lt_prog_compiler_static_GCJ='-Bstatic'
15216 lt_prog_compiler_wl_GCJ='-Wl,'
15217 lt_prog_compiler_pic_GCJ='-KPIC'
15218 lt_prog_compiler_static_GCJ='-static'
15221 lt_prog_compiler_wl_GCJ='-Wl,'
15222 # All Alpha code is PIC.
15223 lt_prog_compiler_static_GCJ='-non_shared'
15228 osf3* | osf4* | osf5*)
15229 lt_prog_compiler_wl_GCJ='-Wl,'
15230 # All OSF/1 code is PIC.
15231 lt_prog_compiler_static_GCJ='-non_shared'
15235 lt_prog_compiler_pic_GCJ='-Kpic'
15236 lt_prog_compiler_static_GCJ='-dn'
15240 lt_prog_compiler_wl_GCJ='-Wl,'
15241 lt_prog_compiler_pic_GCJ='-KPIC'
15242 lt_prog_compiler_static_GCJ='-Bstatic'
15246 lt_prog_compiler_wl_GCJ='-Qoption ld '
15247 lt_prog_compiler_pic_GCJ='-PIC'
15248 lt_prog_compiler_static_GCJ='-Bstatic'
15251 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15252 lt_prog_compiler_wl_GCJ='-Wl,'
15253 lt_prog_compiler_pic_GCJ='-KPIC'
15254 lt_prog_compiler_static_GCJ='-Bstatic'
15258 if test -d /usr/nec ;then
15259 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15260 lt_prog_compiler_static_GCJ='-Bstatic'
15265 lt_prog_compiler_pic_GCJ='-pic'
15266 lt_prog_compiler_static_GCJ='-Bstatic'
15270 lt_prog_compiler_can_build_shared_GCJ=no
15275 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15276 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15279 # Check to make sure the PIC flag actually works.
15281 if test -n "$lt_prog_compiler_pic_GCJ"; then
15282 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15283 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15284 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15285 echo $ECHO_N "(cached) $ECHO_C" >&6
15287 lt_prog_compiler_pic_works_GCJ=no
15288 ac_outfile=conftest.$ac_objext
15289 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15290 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15291 # Insert the option either (1) after the last *FLAGS variable, or
15292 # (2) before a word containing "conftest.", or (3) at the end.
15293 # Note that $ac_compile itself does not contain backslashes and begins
15294 # with a dollar sign (not a hyphen), so the echo should work correctly.
15295 # The option is referenced via a variable to avoid confusing sed.
15296 lt_compile=`echo "$ac_compile" | $SED \
15297 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15298 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15299 -e 's:$: $lt_compiler_flag:'`
15300 (eval echo "\"\$as_me:15300: $lt_compile\"" >&5)
15301 (eval "$lt_compile" 2>conftest.err)
15303 cat conftest.err >&5
15304 echo "$as_me:15304: \$? = $ac_status" >&5
15305 if (exit $ac_status) && test -s "$ac_outfile"; then
15306 # The compiler can only warn and ignore the option if not recognized
15307 # So say no if there are warnings
15308 if test ! -s conftest.err; then
15309 lt_prog_compiler_pic_works_GCJ=yes
15315 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15316 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15318 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15319 case $lt_prog_compiler_pic_GCJ in
15321 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15324 lt_prog_compiler_pic_GCJ=
15325 lt_prog_compiler_can_build_shared_GCJ=no
15330 # For platforms which do not support PIC, -DPIC is meaningless:
15332 lt_prog_compiler_pic_GCJ=
15335 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15339 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15340 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15341 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15342 echo $ECHO_N "(cached) $ECHO_C" >&6
15344 lt_cv_prog_compiler_c_o_GCJ=no
15345 $rm -r conftest 2>/dev/null
15349 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15351 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15352 # that will create temporary files in the current directory regardless of
15353 # the output directory. Thus, making CWD read-only will cause this test
15354 # to fail, enabling locking or at least warning the user not to do parallel
15358 lt_compiler_flag="-o out/conftest2.$ac_objext"
15359 # Insert the option either (1) after the last *FLAGS variable, or
15360 # (2) before a word containing "conftest.", or (3) at the end.
15361 # Note that $ac_compile itself does not contain backslashes and begins
15362 # with a dollar sign (not a hyphen), so the echo should work correctly.
15363 lt_compile=`echo "$ac_compile" | $SED \
15364 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15365 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15366 -e 's:$: $lt_compiler_flag:'`
15367 (eval echo "\"\$as_me:15367: $lt_compile\"" >&5)
15368 (eval "$lt_compile" 2>out/conftest.err)
15370 cat out/conftest.err >&5
15371 echo "$as_me:15371: \$? = $ac_status" >&5
15372 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15374 # The compiler can only warn and ignore the option if not recognized
15375 # So say no if there are warnings
15376 if test ! -s out/conftest.err; then
15377 lt_cv_prog_compiler_c_o_GCJ=yes
15381 $rm conftest* out/*
15388 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15389 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15392 hard_links="nottested"
15393 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15394 # do not overwrite the value of need_locks provided by the user
15395 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15396 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15399 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15401 ln conftest.a conftest.b 2>&5 || hard_links=no
15402 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15403 echo "$as_me:$LINENO: result: $hard_links" >&5
15404 echo "${ECHO_T}$hard_links" >&6
15405 if test "$hard_links" = no; then
15406 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15407 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15414 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15415 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15418 allow_undefined_flag_GCJ=
15419 enable_shared_with_static_runtimes_GCJ=no
15421 archive_expsym_cmds_GCJ=
15422 old_archive_From_new_cmds_GCJ=
15423 old_archive_from_expsyms_cmds_GCJ=
15424 export_dynamic_flag_spec_GCJ=
15425 whole_archive_flag_spec_GCJ=
15426 thread_safe_flag_spec_GCJ=
15427 hardcode_libdir_flag_spec_GCJ=
15428 hardcode_libdir_flag_spec_ld_GCJ=
15429 hardcode_libdir_separator_GCJ=
15430 hardcode_direct_GCJ=no
15431 hardcode_minus_L_GCJ=no
15432 hardcode_shlibpath_var_GCJ=unsupported
15433 link_all_deplibs_GCJ=unknown
15434 hardcode_automatic_GCJ=no
15436 module_expsym_cmds_GCJ=
15437 always_export_symbols_GCJ=no
15438 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15439 # include_expsyms should be a list of space-separated symbols to be *always*
15440 # included in the symbol list
15441 include_expsyms_GCJ=
15442 # exclude_expsyms can be an extended regexp of symbols to exclude
15443 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15444 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15445 # as well as any symbol that contains `d'.
15446 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15447 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15448 # platforms (ab)use it in PIC code, but their linkers get confused if
15449 # the symbol is explicitly referenced. Since portable code cannot
15450 # rely on this symbol name, it's probably fine to never include it in
15451 # preloaded symbol tables.
15452 extract_expsyms_cmds=
15455 cygwin* | mingw* | pw32*)
15456 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15457 # When not using gcc, we currently assume that we are using
15458 # Microsoft Visual C++.
15459 if test "$GCC" != yes; then
15469 if test "$with_gnu_ld" = yes; then
15470 # If archive_cmds runs LD, not CC, wlarc should be empty
15473 # See if GNU ld supports shared libraries.
15475 aix3* | aix4* | aix5*)
15476 # On AIX/PPC, the GNU linker is very broken
15477 if test "$host_cpu" != ia64; then
15481 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15482 *** to be unable to reliably create shared libraries on AIX.
15483 *** Therefore, libtool is disabling shared libraries support. If you
15484 *** really care for shared libraries, you may want to modify your PATH
15485 *** so that a non-GNU linker is found, and then restart.
15492 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)'
15493 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15494 hardcode_minus_L_GCJ=yes
15496 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15497 # that the semantics of dynamic libraries on AmigaOS, at least up
15498 # to version 4, is to share data among multiple programs linked
15499 # with the same dynamic library. Since this doesn't match the
15500 # behavior of shared libraries on other platforms, we can't use
15506 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15507 allow_undefined_flag_GCJ=unsupported
15508 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15509 # support --undefined. This deserves some investigation. FIXME
15510 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15516 cygwin* | mingw* | pw32*)
15517 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15518 # as there is no search path for DLLs.
15519 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15520 allow_undefined_flag_GCJ=unsupported
15521 always_export_symbols_GCJ=no
15522 enable_shared_with_static_runtimes_GCJ=yes
15523 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15525 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15526 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15527 # If the export-symbols file already is a .def file (1st line
15528 # is EXPORTS), use it as is; otherwise, prepend...
15529 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15530 cp $export_symbols $output_objdir/$soname.def;
15532 echo EXPORTS > $output_objdir/$soname.def;
15533 cat $export_symbols >> $output_objdir/$soname.def;
15535 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15542 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15543 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15546 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15547 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15552 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15556 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15557 *** create shared libraries on Solaris systems. Therefore, libtool
15558 *** is disabling shared libraries support. We urge you to upgrade GNU
15559 *** binutils to release 2.9.1 or newer. Another option is to modify
15560 *** your PATH or compiler configuration so that the native linker is
15561 *** used, and then restart.
15564 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15565 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15566 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15573 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15575 hardcode_direct_GCJ=yes
15576 hardcode_shlibpath_var_GCJ=no
15580 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15581 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15582 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15589 if test "$ld_shlibs_GCJ" = yes; then
15590 runpath_var=LD_RUN_PATH
15591 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15592 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15593 # ancient GNU ld didn't support --whole-archive et. al.
15594 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15595 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15597 whole_archive_flag_spec_GCJ=
15601 # PORTME fill in a description of your system's linker (not GNU ld)
15604 allow_undefined_flag_GCJ=unsupported
15605 always_export_symbols_GCJ=yes
15606 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'
15607 # Note: this linker hardcodes the directories in LIBPATH if there
15608 # are no directories specified by -L.
15609 hardcode_minus_L_GCJ=yes
15610 if test "$GCC" = yes && test -z "$link_static_flag"; then
15611 # Neither direct hardcoding nor static linking is supported with a
15613 hardcode_direct_GCJ=unsupported
15618 if test "$host_cpu" = ia64; then
15619 # On IA64, the linker does run time linking by default, so we don't
15620 # have to do anything special.
15621 aix_use_runtimelinking=no
15622 exp_sym_flag='-Bexport'
15625 # If we're using GNU nm, then we don't want the "-C" option.
15626 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15627 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15628 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'
15630 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'
15632 aix_use_runtimelinking=no
15634 # Test if we are trying to use run time linking or normal
15635 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15636 # need to do runtime linking.
15637 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15638 for ld_flag in $LDFLAGS; do
15639 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15640 aix_use_runtimelinking=yes
15646 exp_sym_flag='-bexport'
15647 no_entry_flag='-bnoentry'
15650 # When large executables or shared objects are built, AIX ld can
15651 # have problems creating the table of contents. If linking a library
15652 # or program results in "error TOC overflow" add -mminimal-toc to
15653 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15654 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15656 archive_cmds_GCJ=''
15657 hardcode_direct_GCJ=yes
15658 hardcode_libdir_separator_GCJ=':'
15659 link_all_deplibs_GCJ=yes
15661 if test "$GCC" = yes; then
15662 case $host_os in aix4.012|aix4.012.*)
15663 # We only want to do this on AIX 4.2 and lower, the check
15664 # below for broken collect2 doesn't work under 4.3+
15665 collect2name=`${CC} -print-prog-name=collect2`
15666 if test -f "$collect2name" && \
15667 strings "$collect2name" | grep resolve_lib_name >/dev/null
15669 # We have reworked collect2
15670 hardcode_direct_GCJ=yes
15672 # We have old collect2
15673 hardcode_direct_GCJ=unsupported
15674 # It fails to find uninstalled libraries when the uninstalled
15675 # path is not listed in the libpath. Setting hardcode_minus_L
15676 # to unsupported forces relinking
15677 hardcode_minus_L_GCJ=yes
15678 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15679 hardcode_libdir_separator_GCJ=
15682 shared_flag='-shared'
15685 if test "$host_cpu" = ia64; then
15686 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15687 # chokes on -Wl,-G. The following line is correct:
15690 if test "$aix_use_runtimelinking" = yes; then
15691 shared_flag='${wl}-G'
15693 shared_flag='${wl}-bM:SRE'
15698 # It seems that -bexpall does not export symbols beginning with
15699 # underscore (_), so it is better to generate a list of symbols to export.
15700 always_export_symbols_GCJ=yes
15701 if test "$aix_use_runtimelinking" = yes; then
15702 # Warning - without using the other runtime loading flags (-brtl),
15703 # -berok will link without error, but may produce a broken library.
15704 allow_undefined_flag_GCJ='-berok'
15705 # Determine the default libpath from the value encoded in an empty executable.
15706 cat >conftest.$ac_ext <<_ACEOF
15707 #line $LINENO "configure"
15710 cat confdefs.h >>conftest.$ac_ext
15711 cat >>conftest.$ac_ext <<_ACEOF
15712 /* end confdefs.h. */
15722 rm -f conftest.$ac_objext conftest$ac_exeext
15723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15724 (eval $ac_link) 2>&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); } &&
15728 { ac_try='test -s conftest$ac_exeext'
15729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15730 (eval $ac_try) 2>&5
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); }; }; then
15735 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15737 # Check for a 64-bit object if we didn't find anything.
15738 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; }
15741 echo "$as_me: failed program was:" >&5
15742 sed 's/^/| /' conftest.$ac_ext >&5
15745 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15746 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15748 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15749 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"
15751 if test "$host_cpu" = ia64; then
15752 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15753 allow_undefined_flag_GCJ="-z nodefs"
15754 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"
15756 # Determine the default libpath from the value encoded in an empty executable.
15757 cat >conftest.$ac_ext <<_ACEOF
15758 #line $LINENO "configure"
15761 cat confdefs.h >>conftest.$ac_ext
15762 cat >>conftest.$ac_ext <<_ACEOF
15763 /* end confdefs.h. */
15773 rm -f conftest.$ac_objext conftest$ac_exeext
15774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15775 (eval $ac_link) 2>&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); } &&
15779 { ac_try='test -s conftest$ac_exeext'
15780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15781 (eval $ac_try) 2>&5
15783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15784 (exit $ac_status); }; }; then
15786 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15788 # Check for a 64-bit object if we didn't find anything.
15789 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; }
15792 echo "$as_me: failed program was:" >&5
15793 sed 's/^/| /' conftest.$ac_ext >&5
15796 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15797 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15799 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15800 # Warning - without using the other run time loading flags,
15801 # -berok will link without error, but may produce a broken library.
15802 no_undefined_flag_GCJ=' ${wl}-bernotok'
15803 allow_undefined_flag_GCJ=' ${wl}-berok'
15804 # -bexpall does not export symbols beginning with underscore (_)
15805 always_export_symbols_GCJ=yes
15806 # Exported symbols can be pulled into shared objects from archives
15807 whole_archive_flag_spec_GCJ=' '
15808 archive_cmds_need_lc_GCJ=yes
15809 # This is similar to how AIX traditionally builds it's shared libraries.
15810 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'
15816 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)'
15817 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15818 hardcode_minus_L_GCJ=yes
15819 # see comment about different semantics on the GNU ld section
15824 export_dynamic_flag_spec_GCJ=-rdynamic
15827 cygwin* | mingw* | pw32*)
15828 # When not using gcc, we currently assume that we are using
15829 # Microsoft Visual C++.
15830 # hardcode_libdir_flag_spec is actually meaningless, as there is
15831 # no search path for DLLs.
15832 hardcode_libdir_flag_spec_GCJ=' '
15833 allow_undefined_flag_GCJ=unsupported
15834 # Tell ltmain to make .lib files, not .a files.
15836 # Tell ltmain to make .dll files, not .so files.
15838 # FIXME: Setting linknames here is a bad hack.
15839 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15840 # The linker will automatically build a .lib file if we build a DLL.
15841 old_archive_From_new_cmds_GCJ='true'
15842 # FIXME: Should let the user specify the lib program.
15843 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15844 fix_srcfile_path='`cygpath -w "$srcfile"`'
15845 enable_shared_with_static_runtimes_GCJ=yes
15848 darwin* | rhapsody*)
15849 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15850 archive_cmds_need_lc_GCJ=no
15852 rhapsody* | darwin1.[012])
15853 allow_undefined_flag_GCJ='-undefined suppress'
15856 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15859 # FIXME: Relying on posixy $() will cause problems for
15860 # cross-compilation, but unfortunately the echo tests do not
15861 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15862 # `"' quotes if we put them in here... so don't!
15863 lt_int_apple_cc_single_mod=no
15864 output_verbose_link_cmd='echo'
15865 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15866 lt_int_apple_cc_single_mod=yes
15868 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15869 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15871 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'
15873 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15874 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15875 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15876 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}'
15878 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}'
15880 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}'
15881 hardcode_direct_GCJ=no
15882 hardcode_automatic_GCJ=yes
15883 hardcode_shlibpath_var_GCJ=unsupported
15884 whole_archive_flag_spec_GCJ='-all_load $convenience'
15885 link_all_deplibs_GCJ=yes
15890 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15891 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15892 hardcode_shlibpath_var_GCJ=no
15899 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15900 # support. Future versions do this automatically, but an explicit c++rt0.o
15901 # does not break anything, and helps significantly (at the cost of a little
15904 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15905 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15906 hardcode_direct_GCJ=yes
15907 hardcode_shlibpath_var_GCJ=no
15910 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15912 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15913 hardcode_direct_GCJ=yes
15914 hardcode_minus_L_GCJ=yes
15915 hardcode_shlibpath_var_GCJ=no
15918 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15920 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15921 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15922 hardcode_direct_GCJ=yes
15923 hardcode_shlibpath_var_GCJ=no
15927 if test "$GCC" = yes; then
15928 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'
15930 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'
15932 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15933 hardcode_libdir_separator_GCJ=:
15934 hardcode_direct_GCJ=yes
15936 # hardcode_minus_L: Not really in the search PATH,
15937 # but as the default location of the library.
15938 hardcode_minus_L_GCJ=yes
15939 export_dynamic_flag_spec_GCJ='${wl}-E'
15943 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15944 case "$host_cpu" in
15946 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15949 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15953 case "$host_cpu" in
15955 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15958 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15962 if test "$with_gnu_ld" = no; then
15963 case "$host_cpu" in
15965 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15966 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15967 hardcode_libdir_separator_GCJ=:
15968 hardcode_direct_GCJ=no
15969 hardcode_shlibpath_var_GCJ=no
15972 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15973 hardcode_direct_GCJ=no
15974 hardcode_shlibpath_var_GCJ=no
15976 # hardcode_minus_L: Not really in the search PATH,
15977 # but as the default location of the library.
15978 hardcode_minus_L_GCJ=yes
15981 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15982 hardcode_libdir_separator_GCJ=:
15983 hardcode_direct_GCJ=yes
15984 export_dynamic_flag_spec_GCJ='${wl}-E'
15986 # hardcode_minus_L: Not really in the search PATH,
15987 # but as the default location of the library.
15988 hardcode_minus_L_GCJ=yes
15994 irix5* | irix6* | nonstopux*)
15995 if test "$GCC" = yes; then
15996 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'
15998 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'
15999 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
16001 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16002 hardcode_libdir_separator_GCJ=:
16003 link_all_deplibs_GCJ=yes
16007 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16008 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16010 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16012 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16013 hardcode_direct_GCJ=yes
16014 hardcode_shlibpath_var_GCJ=no
16018 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16019 hardcode_direct_GCJ=yes
16020 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16021 hardcode_libdir_separator_GCJ=:
16022 hardcode_shlibpath_var_GCJ=no
16026 hardcode_direct_GCJ=yes
16027 hardcode_shlibpath_var_GCJ=no
16028 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16029 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16030 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16031 export_dynamic_flag_spec_GCJ='${wl}-E'
16034 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16035 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16036 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16039 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16040 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16047 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16048 hardcode_minus_L_GCJ=yes
16049 allow_undefined_flag_GCJ=unsupported
16050 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'
16051 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16055 if test "$GCC" = yes; then
16056 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16057 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'
16059 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16060 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'
16062 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16063 hardcode_libdir_separator_GCJ=:
16066 osf4* | osf5*) # as osf3* with the addition of -msym flag
16067 if test "$GCC" = yes; then
16068 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16069 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'
16070 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16072 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16073 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'
16074 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~
16075 $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'
16077 # Both c and cxx compiler support -rpath directly
16078 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16080 hardcode_libdir_separator_GCJ=:
16084 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16085 hardcode_shlibpath_var_GCJ=no
16086 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16087 runpath_var=LD_RUN_PATH
16088 hardcode_runpath_var=yes
16092 no_undefined_flag_GCJ=' -z text'
16093 if test "$GCC" = yes; then
16094 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16095 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16096 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16098 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16099 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16100 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16102 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16103 hardcode_shlibpath_var_GCJ=no
16105 solaris2.[0-5] | solaris2.[0-5].*) ;;
16106 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16107 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16109 link_all_deplibs_GCJ=yes
16113 if test "x$host_vendor" = xsequent; then
16114 # Use $CC to link under sequent, because it throws in some extra .o
16115 # files that make .init and .fini sections work.
16116 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16118 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16120 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16121 hardcode_direct_GCJ=yes
16122 hardcode_minus_L_GCJ=yes
16123 hardcode_shlibpath_var_GCJ=no
16127 case $host_vendor in
16129 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16130 hardcode_direct_GCJ=yes # is this really true???
16133 ## LD is ld it makes a PLAMLIB
16134 ## CC just makes a GrossModule.
16135 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16136 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16137 hardcode_direct_GCJ=no
16140 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16141 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16144 runpath_var='LD_RUN_PATH'
16145 hardcode_shlibpath_var_GCJ=no
16149 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16150 hardcode_shlibpath_var_GCJ=no
16151 export_dynamic_flag_spec_GCJ='-Bexport'
16155 if test -d /usr/nec; then
16156 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16157 hardcode_shlibpath_var_GCJ=no
16158 runpath_var=LD_RUN_PATH
16159 hardcode_runpath_var=yes
16165 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16166 hardcode_direct_GCJ=yes
16167 hardcode_minus_L_GCJ=no
16168 hardcode_shlibpath_var_GCJ=no
16169 hardcode_runpath_var=yes
16170 runpath_var=LD_RUN_PATH
16173 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16174 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16175 if test "$GCC" = yes; then
16176 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16178 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16180 runpath_var='LD_RUN_PATH'
16181 hardcode_shlibpath_var_GCJ=no
16185 no_undefined_flag_GCJ=' -z text'
16186 # $CC -shared without GNU ld will not create a library from C++
16187 # object files and a static libstdc++, better avoid it by now
16188 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16189 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16190 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16191 hardcode_libdir_flag_spec_GCJ=
16192 hardcode_shlibpath_var_GCJ=no
16193 runpath_var='LD_RUN_PATH'
16197 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16198 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16199 hardcode_shlibpath_var_GCJ=no
16208 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16209 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16210 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16212 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16213 if test "$GCC" = yes; then
16214 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16218 # Do we need to explicitly link libc?
16220 case "x$archive_cmds_need_lc_GCJ" in
16222 # Assume -lc should be added
16223 archive_cmds_need_lc_GCJ=yes
16225 if test "$enable_shared" = yes && test "$GCC" = yes; then
16226 case $archive_cmds_GCJ in
16228 # FIXME: we may have to deal with multi-command sequences.
16231 # Test whether the compiler implicitly links with -lc since on some
16232 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16233 # to ld, don't add -lc before -lgcc.
16234 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16235 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16237 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16240 (eval $ac_compile) 2>&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); } 2>conftest.err; then
16246 libobjs=conftest.$ac_objext
16248 wl=$lt_prog_compiler_wl_GCJ
16254 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16255 allow_undefined_flag_GCJ=
16256 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16257 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16260 (exit $ac_status); }
16262 archive_cmds_need_lc_GCJ=no
16264 archive_cmds_need_lc_GCJ=yes
16266 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16268 cat conftest.err 1>&5
16271 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16272 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16279 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16280 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16281 hardcode_action_GCJ=
16282 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16283 test -n "$runpath_var GCJ" || \
16284 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16286 # We can hardcode non-existant directories.
16287 if test "$hardcode_direct_GCJ" != no &&
16288 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16289 # have to relink, otherwise we might link with an installed library
16290 # when we should be linking with a yet-to-be-installed one
16291 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16292 test "$hardcode_minus_L_GCJ" != no; then
16293 # Linking always hardcodes the temporary library directory.
16294 hardcode_action_GCJ=relink
16296 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16297 hardcode_action_GCJ=immediate
16300 # We cannot hardcode anything, or else we can only hardcode existing
16302 hardcode_action_GCJ=unsupported
16304 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16305 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16307 if test "$hardcode_action_GCJ" = relink; then
16308 # Fast installation is not supported
16309 enable_fast_install=no
16310 elif test "$shlibpath_overrides_runpath" = yes ||
16311 test "$enable_shared" = no; then
16312 # Fast installation is not necessary
16313 enable_fast_install=needless
16318 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16319 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16320 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16321 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16322 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16323 echo "$as_me:$LINENO: result: yes" >&5
16324 echo "${ECHO_T}yes" >&6
16326 # FIXME - insert some real tests, host_os isn't really good enough
16329 if test -n "$STRIP" ; then
16330 striplib="$STRIP -x"
16331 echo "$as_me:$LINENO: result: yes" >&5
16332 echo "${ECHO_T}yes" >&6
16334 echo "$as_me:$LINENO: result: no" >&5
16335 echo "${ECHO_T}no" >&6
16339 echo "$as_me:$LINENO: result: no" >&5
16340 echo "${ECHO_T}no" >&6
16345 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16346 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16347 library_names_spec=
16348 libname_spec='lib$name'
16352 postuninstall_cmds=
16356 shlibpath_overrides_runpath=unknown
16358 dynamic_linker="$host_os ld.so"
16359 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16360 if test "$GCC" = yes; then
16361 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16362 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16363 # if the path contains ";" then we assume it to be the separator
16364 # otherwise default to the standard path separator (i.e. ":") - it is
16365 # assumed that no part of a normal pathname contains ";" but that should
16366 # okay in the real world where ";" in dirpaths is itself problematic.
16367 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16369 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16372 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16374 need_lib_prefix=unknown
16375 hardcode_into_libs=no
16377 # when you set need_version to no, make sure it does not cause -set_version
16378 # flags to be left without arguments
16379 need_version=unknown
16384 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16385 shlibpath_var=LIBPATH
16387 # AIX 3 has no versioning support, so we append a major version to the name.
16388 soname_spec='${libname}${release}${shared_ext}$major'
16395 hardcode_into_libs=yes
16396 if test "$host_cpu" = ia64; then
16397 # AIX 5 supports IA64
16398 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16399 shlibpath_var=LD_LIBRARY_PATH
16401 # With GCC up to 2.95.x, collect2 would create an import file
16402 # for dependence libraries. The import file would start with
16403 # the line `#! .'. This would cause the generated library to
16404 # depend on `.', always an invalid library. This was fixed in
16405 # development snapshots of GCC prior to 3.0.
16407 aix4 | aix4.[01] | aix4.[01].*)
16408 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16410 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16413 can_build_shared=no
16417 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16418 # soname into executable. Probably we can add versioning support to
16419 # collect2, so additional links can be useful in future.
16420 if test "$aix_use_runtimelinking" = yes; then
16421 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16422 # instead of lib<name>.a to let people know that these are not
16423 # typical AIX shared libraries.
16424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16426 # We preserve .a as extension for shared libraries through AIX4.2
16427 # and later when we are not doing run time linking.
16428 library_names_spec='${libname}${release}.a $libname.a'
16429 soname_spec='${libname}${release}${shared_ext}$major'
16431 shlibpath_var=LIBPATH
16436 library_names_spec='$libname.ixlibrary $libname.a'
16437 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16438 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'
16442 library_names_spec='${libname}${shared_ext}'
16443 dynamic_linker="$host_os ld.so"
16444 shlibpath_var=LIBRARY_PATH
16450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16451 soname_spec='${libname}${release}${shared_ext}$major'
16452 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16453 shlibpath_var=LD_LIBRARY_PATH
16454 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16455 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16456 # the default ld.so.conf also contains /usr/contrib/lib and
16457 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16458 # libtool to hard-code these into programs
16461 cygwin* | mingw* | pw32*)
16462 version_type=windows
16467 case $GCC,$host_os in
16468 yes,cygwin* | yes,mingw* | yes,pw32*)
16469 library_names_spec='$libname.dll.a'
16470 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16471 postinstall_cmds='base_file=`basename \${file}`~
16472 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16473 dldir=$destdir/`dirname \$dlpath`~
16474 test -d \$dldir || mkdir -p \$dldir~
16475 $install_prog $dir/$dlname \$dldir/$dlname'
16476 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16477 dlpath=$dir/\$dldll~
16479 shlibpath_overrides_runpath=yes
16483 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16484 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16485 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16488 # MinGW DLLs use traditional 'lib' prefix
16489 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16490 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16491 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16492 # It is most probably a Windows format PATH printed by
16493 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16494 # path with ; separators, and with drive letters. We can handle the
16495 # drive letters (cygwin fileutils understands them), so leave them,
16496 # especially as we might pass files found there to a mingw objdump,
16497 # which wouldn't understand a cygwinified path. Ahh.
16498 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16500 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16504 # pw32 DLLs use 'pw' prefix rather than 'lib'
16505 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16511 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16514 dynamic_linker='Win32 ld.exe'
16515 # FIXME: first we should search . and the directory the executable is in
16519 darwin* | rhapsody*)
16520 dynamic_linker="$host_os dyld"
16521 version_type=darwin
16524 # FIXME: Relying on posixy $() will cause problems for
16525 # cross-compilation, but unfortunately the echo tests do not
16526 # yet detect zsh echo's removal of \ escapes.
16527 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16528 soname_spec='${libname}${release}${major}$shared_ext'
16529 shlibpath_overrides_runpath=yes
16530 shlibpath_var=DYLD_LIBRARY_PATH
16531 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16532 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16533 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16534 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"`
16536 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16544 soname_spec='${libname}${release}${shared_ext}$major'
16545 shlibpath_var=LD_LIBRARY_PATH
16553 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16554 version_type=freebsd-$objformat
16555 case $version_type in
16557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16562 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16566 shlibpath_var=LD_LIBRARY_PATH
16569 shlibpath_overrides_runpath=yes
16571 freebsd3.01* | freebsdelf3.01*)
16572 shlibpath_overrides_runpath=yes
16573 hardcode_into_libs=yes
16576 shlibpath_overrides_runpath=no
16577 hardcode_into_libs=yes
16586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16587 soname_spec='${libname}${release}${shared_ext}$major'
16588 shlibpath_var=LD_LIBRARY_PATH
16589 hardcode_into_libs=yes
16592 hpux9* | hpux10* | hpux11*)
16593 # Give a soname corresponding to the major version so that dld.sl refuses to
16594 # link against other versions.
16598 case "$host_cpu" in
16601 hardcode_into_libs=yes
16602 dynamic_linker="$host_os dld.so"
16603 shlibpath_var=LD_LIBRARY_PATH
16604 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16606 soname_spec='${libname}${release}${shared_ext}$major'
16607 if test "X$HPUX_IA64_MODE" = X32; then
16608 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16610 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16612 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16616 hardcode_into_libs=yes
16617 dynamic_linker="$host_os dld.sl"
16618 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16619 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16621 soname_spec='${libname}${release}${shared_ext}$major'
16622 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16623 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16627 dynamic_linker="$host_os dld.sl"
16628 shlibpath_var=SHLIB_PATH
16629 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16631 soname_spec='${libname}${release}${shared_ext}$major'
16634 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16635 postinstall_cmds='chmod 555 $lib'
16638 irix5* | irix6* | nonstopux*)
16640 nonstopux*) version_type=nonstopux ;;
16642 if test "$lt_cv_prog_gnu_ld" = yes; then
16650 soname_spec='${libname}${release}${shared_ext}$major'
16651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16653 irix5* | nonstopux*)
16654 libsuff= shlibsuff=
16657 case $LD in # libtool.m4 will add one of these switches to LD
16658 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16659 libsuff= shlibsuff= libmagic=32-bit;;
16660 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16661 libsuff=32 shlibsuff=N32 libmagic=N32;;
16662 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16663 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16664 *) libsuff= shlibsuff= libmagic=never-match;;
16668 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16669 shlibpath_overrides_runpath=no
16670 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16671 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16672 hardcode_into_libs=yes
16675 # No shared lib support for Linux oldld, aout, or coff.
16676 linux*oldld* | linux*aout* | linux*coff*)
16680 # This must be Linux ELF.
16685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16686 soname_spec='${libname}${release}${shared_ext}$major'
16687 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16688 shlibpath_var=LD_LIBRARY_PATH
16689 shlibpath_overrides_runpath=no
16690 # This implies no fast_install, which is unacceptable.
16691 # Some rework will be needed to allow for fast_install
16692 # before this can be enabled.
16693 hardcode_into_libs=yes
16695 # We used to test for /lib/ld.so.1 and disable shared libraries on
16696 # powerpc, because MkLinux only supported shared libraries with the
16697 # GNU dynamic linker. Since this was broken with cross compilers,
16698 # most powerpc-linux boxes support dynamic linking these days and
16699 # people can always --disable-shared, the test was removed, and we
16700 # assume the GNU/Linux dynamic linker is in use.
16701 dynamic_linker='GNU/Linux ld.so'
16708 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16710 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16711 dynamic_linker='NetBSD (a.out) ld.so'
16713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16714 soname_spec='${libname}${release}${shared_ext}$major'
16715 dynamic_linker='NetBSD ld.elf_so'
16717 shlibpath_var=LD_LIBRARY_PATH
16718 shlibpath_overrides_runpath=yes
16719 hardcode_into_libs=yes
16724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16725 shlibpath_var=LD_LIBRARY_PATH
16726 shlibpath_overrides_runpath=yes
16733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16734 soname_spec='${libname}${release}${shared_ext}$major'
16735 shlibpath_var=LD_LIBRARY_PATH
16736 shlibpath_overrides_runpath=yes
16743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16744 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16745 shlibpath_var=LD_LIBRARY_PATH
16746 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16748 openbsd2.[89] | openbsd2.[89].*)
16749 shlibpath_overrides_runpath=no
16752 shlibpath_overrides_runpath=yes
16756 shlibpath_overrides_runpath=yes
16761 libname_spec='$name'
16764 library_names_spec='$libname${shared_ext} $libname.a'
16765 dynamic_linker='OS/2 ld.exe'
16766 shlibpath_var=LIBPATH
16769 osf3* | osf4* | osf5*)
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
16776 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16777 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16782 soname_spec='${libname}${release}${shared_ext}$major'
16783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16784 shlibpath_var=LD_LIBRARY_PATH
16791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16792 soname_spec='${libname}${release}${shared_ext}$major'
16793 shlibpath_var=LD_LIBRARY_PATH
16794 shlibpath_overrides_runpath=yes
16795 hardcode_into_libs=yes
16796 # ldd complains unless libraries are executable
16797 postinstall_cmds='chmod +x $lib'
16802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16803 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16804 shlibpath_var=LD_LIBRARY_PATH
16805 shlibpath_overrides_runpath=yes
16806 if test "$with_gnu_ld" = yes; then
16812 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16815 soname_spec='${libname}${release}${shared_ext}$major'
16816 shlibpath_var=LD_LIBRARY_PATH
16817 case $host_vendor in
16819 shlibpath_overrides_runpath=no
16821 export_dynamic_flag_spec='${wl}-Blargedynsym'
16822 runpath_var=LD_RUN_PATH
16830 shlibpath_overrides_runpath=no
16831 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16837 if test -d /usr/nec ;then
16839 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16840 soname_spec='$libname${shared_ext}.$major'
16841 shlibpath_var=LD_LIBRARY_PATH
16847 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16848 soname_spec='${libname}${release}${shared_ext}$major'
16849 shlibpath_var=LD_LIBRARY_PATH
16856 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16857 echo "${ECHO_T}$dynamic_linker" >&6
16858 test "$dynamic_linker" = no && can_build_shared=no
16860 if test "x$enable_dlopen" != xyes; then
16861 enable_dlopen=unknown
16862 enable_dlopen_self=unknown
16863 enable_dlopen_self_static=unknown
16870 lt_cv_dlopen="load_add_on"
16872 lt_cv_dlopen_self=yes
16876 lt_cv_dlopen="LoadLibrary"
16881 lt_cv_dlopen="dlopen"
16886 # if libdl is installed we need to link against it
16887 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16888 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16889 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16890 echo $ECHO_N "(cached) $ECHO_C" >&6
16892 ac_check_lib_save_LIBS=$LIBS
16894 cat >conftest.$ac_ext <<_ACEOF
16895 #line $LINENO "configure"
16898 cat confdefs.h >>conftest.$ac_ext
16899 cat >>conftest.$ac_ext <<_ACEOF
16900 /* end confdefs.h. */
16902 /* Override any gcc2 internal prototype to avoid an error. */
16906 /* We use char because int might match the return type of a gcc2
16907 builtin and then its argument prototype would still apply. */
16917 rm -f conftest.$ac_objext conftest$ac_exeext
16918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16919 (eval $ac_link) 2>&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } &&
16923 { ac_try='test -s conftest$ac_exeext'
16924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16925 (eval $ac_try) 2>&5
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); }; }; then
16929 ac_cv_lib_dl_dlopen=yes
16931 echo "$as_me: failed program was:" >&5
16932 sed 's/^/| /' conftest.$ac_ext >&5
16934 ac_cv_lib_dl_dlopen=no
16936 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16937 LIBS=$ac_check_lib_save_LIBS
16939 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16940 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16941 if test $ac_cv_lib_dl_dlopen = yes; then
16942 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16945 lt_cv_dlopen="dyld"
16947 lt_cv_dlopen_self=yes
16954 echo "$as_me:$LINENO: checking for shl_load" >&5
16955 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16956 if test "${ac_cv_func_shl_load+set}" = set; then
16957 echo $ECHO_N "(cached) $ECHO_C" >&6
16959 cat >conftest.$ac_ext <<_ACEOF
16960 #line $LINENO "configure"
16963 cat confdefs.h >>conftest.$ac_ext
16964 cat >>conftest.$ac_ext <<_ACEOF
16965 /* end confdefs.h. */
16966 /* System header to define __stub macros and hopefully few prototypes,
16967 which can conflict with char shl_load (); below.
16968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16969 <limits.h> exists even on freestanding compilers. */
16971 # include <limits.h>
16973 # include <assert.h>
16975 /* Override any gcc2 internal prototype to avoid an error. */
16980 /* We use char because int might match the return type of a gcc2
16981 builtin and then its argument prototype would still apply. */
16983 /* The GNU C library defines this for functions which it implements
16984 to always fail with ENOSYS. Some functions are actually named
16985 something starting with __ and the normal name is an alias. */
16986 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16989 char (*f) () = shl_load;
16998 return f != shl_load;
17003 rm -f conftest.$ac_objext conftest$ac_exeext
17004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17005 (eval $ac_link) 2>&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); } &&
17009 { ac_try='test -s conftest$ac_exeext'
17010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17011 (eval $ac_try) 2>&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); }; }; then
17015 ac_cv_func_shl_load=yes
17017 echo "$as_me: failed program was:" >&5
17018 sed 's/^/| /' conftest.$ac_ext >&5
17020 ac_cv_func_shl_load=no
17022 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17024 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17025 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17026 if test $ac_cv_func_shl_load = yes; then
17027 lt_cv_dlopen="shl_load"
17029 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17030 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17031 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17032 echo $ECHO_N "(cached) $ECHO_C" >&6
17034 ac_check_lib_save_LIBS=$LIBS
17036 cat >conftest.$ac_ext <<_ACEOF
17037 #line $LINENO "configure"
17040 cat confdefs.h >>conftest.$ac_ext
17041 cat >>conftest.$ac_ext <<_ACEOF
17042 /* end confdefs.h. */
17044 /* Override any gcc2 internal prototype to avoid an error. */
17048 /* We use char because int might match the return type of a gcc2
17049 builtin and then its argument prototype would still apply. */
17059 rm -f conftest.$ac_objext conftest$ac_exeext
17060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17061 (eval $ac_link) 2>&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); } &&
17065 { ac_try='test -s conftest$ac_exeext'
17066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17067 (eval $ac_try) 2>&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); }; }; then
17071 ac_cv_lib_dld_shl_load=yes
17073 echo "$as_me: failed program was:" >&5
17074 sed 's/^/| /' conftest.$ac_ext >&5
17076 ac_cv_lib_dld_shl_load=no
17078 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17079 LIBS=$ac_check_lib_save_LIBS
17081 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17082 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17083 if test $ac_cv_lib_dld_shl_load = yes; then
17084 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17086 echo "$as_me:$LINENO: checking for dlopen" >&5
17087 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17088 if test "${ac_cv_func_dlopen+set}" = set; then
17089 echo $ECHO_N "(cached) $ECHO_C" >&6
17091 cat >conftest.$ac_ext <<_ACEOF
17092 #line $LINENO "configure"
17095 cat confdefs.h >>conftest.$ac_ext
17096 cat >>conftest.$ac_ext <<_ACEOF
17097 /* end confdefs.h. */
17098 /* System header to define __stub macros and hopefully few prototypes,
17099 which can conflict with char dlopen (); below.
17100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17101 <limits.h> exists even on freestanding compilers. */
17103 # include <limits.h>
17105 # include <assert.h>
17107 /* Override any gcc2 internal prototype to avoid an error. */
17112 /* We use char because int might match the return type of a gcc2
17113 builtin and then its argument prototype would still apply. */
17115 /* The GNU C library defines this for functions which it implements
17116 to always fail with ENOSYS. Some functions are actually named
17117 something starting with __ and the normal name is an alias. */
17118 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17121 char (*f) () = dlopen;
17130 return f != dlopen;
17135 rm -f conftest.$ac_objext conftest$ac_exeext
17136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17137 (eval $ac_link) 2>&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); } &&
17141 { ac_try='test -s conftest$ac_exeext'
17142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17143 (eval $ac_try) 2>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; }; then
17147 ac_cv_func_dlopen=yes
17149 echo "$as_me: failed program was:" >&5
17150 sed 's/^/| /' conftest.$ac_ext >&5
17152 ac_cv_func_dlopen=no
17154 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17156 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17157 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17158 if test $ac_cv_func_dlopen = yes; then
17159 lt_cv_dlopen="dlopen"
17161 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17162 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17163 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17164 echo $ECHO_N "(cached) $ECHO_C" >&6
17166 ac_check_lib_save_LIBS=$LIBS
17168 cat >conftest.$ac_ext <<_ACEOF
17169 #line $LINENO "configure"
17172 cat confdefs.h >>conftest.$ac_ext
17173 cat >>conftest.$ac_ext <<_ACEOF
17174 /* end confdefs.h. */
17176 /* Override any gcc2 internal prototype to avoid an error. */
17180 /* We use char because int might match the return type of a gcc2
17181 builtin and then its argument prototype would still apply. */
17191 rm -f conftest.$ac_objext conftest$ac_exeext
17192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17193 (eval $ac_link) 2>&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } &&
17197 { ac_try='test -s conftest$ac_exeext'
17198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17199 (eval $ac_try) 2>&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); }; }; then
17203 ac_cv_lib_dl_dlopen=yes
17205 echo "$as_me: failed program was:" >&5
17206 sed 's/^/| /' conftest.$ac_ext >&5
17208 ac_cv_lib_dl_dlopen=no
17210 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17211 LIBS=$ac_check_lib_save_LIBS
17213 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17214 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17215 if test $ac_cv_lib_dl_dlopen = yes; then
17216 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17218 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17219 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17220 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17221 echo $ECHO_N "(cached) $ECHO_C" >&6
17223 ac_check_lib_save_LIBS=$LIBS
17224 LIBS="-lsvld $LIBS"
17225 cat >conftest.$ac_ext <<_ACEOF
17226 #line $LINENO "configure"
17229 cat confdefs.h >>conftest.$ac_ext
17230 cat >>conftest.$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17233 /* Override any gcc2 internal prototype to avoid an error. */
17237 /* We use char because int might match the return type of a gcc2
17238 builtin and then its argument prototype would still apply. */
17248 rm -f conftest.$ac_objext conftest$ac_exeext
17249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17250 (eval $ac_link) 2>&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); } &&
17254 { ac_try='test -s conftest$ac_exeext'
17255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17256 (eval $ac_try) 2>&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); }; }; then
17260 ac_cv_lib_svld_dlopen=yes
17262 echo "$as_me: failed program was:" >&5
17263 sed 's/^/| /' conftest.$ac_ext >&5
17265 ac_cv_lib_svld_dlopen=no
17267 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17268 LIBS=$ac_check_lib_save_LIBS
17270 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17271 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17272 if test $ac_cv_lib_svld_dlopen = yes; then
17273 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17275 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17276 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17277 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17278 echo $ECHO_N "(cached) $ECHO_C" >&6
17280 ac_check_lib_save_LIBS=$LIBS
17282 cat >conftest.$ac_ext <<_ACEOF
17283 #line $LINENO "configure"
17286 cat confdefs.h >>conftest.$ac_ext
17287 cat >>conftest.$ac_ext <<_ACEOF
17288 /* end confdefs.h. */
17290 /* Override any gcc2 internal prototype to avoid an error. */
17294 /* We use char because int might match the return type of a gcc2
17295 builtin and then its argument prototype would still apply. */
17305 rm -f conftest.$ac_objext conftest$ac_exeext
17306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17307 (eval $ac_link) 2>&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); } &&
17311 { ac_try='test -s conftest$ac_exeext'
17312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17313 (eval $ac_try) 2>&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); }; }; then
17317 ac_cv_lib_dld_dld_link=yes
17319 echo "$as_me: failed program was:" >&5
17320 sed 's/^/| /' conftest.$ac_ext >&5
17322 ac_cv_lib_dld_dld_link=no
17324 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17325 LIBS=$ac_check_lib_save_LIBS
17327 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17328 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17329 if test $ac_cv_lib_dld_dld_link = yes; then
17330 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17351 if test "x$lt_cv_dlopen" != xno; then
17357 case $lt_cv_dlopen in
17359 save_CPPFLAGS="$CPPFLAGS"
17360 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17362 save_LDFLAGS="$LDFLAGS"
17363 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17366 LIBS="$lt_cv_dlopen_libs $LIBS"
17368 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17369 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17370 if test "${lt_cv_dlopen_self+set}" = set; then
17371 echo $ECHO_N "(cached) $ECHO_C" >&6
17373 if test "$cross_compiling" = yes; then :
17374 lt_cv_dlopen_self=cross
17376 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17377 lt_status=$lt_dlunknown
17378 cat > conftest.$ac_ext <<EOF
17379 #line 17379 "configure"
17380 #include "confdefs.h"
17389 # define LT_DLGLOBAL RTLD_GLOBAL
17392 # define LT_DLGLOBAL DL_GLOBAL
17394 # define LT_DLGLOBAL 0
17398 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17399 find out it does not work in some platform. */
17400 #ifndef LT_DLLAZY_OR_NOW
17402 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17405 # define LT_DLLAZY_OR_NOW DL_LAZY
17408 # define LT_DLLAZY_OR_NOW RTLD_NOW
17411 # define LT_DLLAZY_OR_NOW DL_NOW
17413 # define LT_DLLAZY_OR_NOW 0
17421 extern "C" void exit (int);
17424 void fnord() { int i=42;}
17427 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17428 int status = $lt_dlunknown;
17432 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17433 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17434 /* dlclose (self); */
17440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17441 (eval $ac_link) 2>&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17445 (./conftest; exit; ) 2>/dev/null
17447 case x$lt_status in
17448 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17449 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17450 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17453 # compilation failed
17454 lt_cv_dlopen_self=no
17461 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17462 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17464 if test "x$lt_cv_dlopen_self" = xyes; then
17465 LDFLAGS="$LDFLAGS $link_static_flag"
17466 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17467 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17468 if test "${lt_cv_dlopen_self_static+set}" = set; then
17469 echo $ECHO_N "(cached) $ECHO_C" >&6
17471 if test "$cross_compiling" = yes; then :
17472 lt_cv_dlopen_self_static=cross
17474 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17475 lt_status=$lt_dlunknown
17476 cat > conftest.$ac_ext <<EOF
17477 #line 17477 "configure"
17478 #include "confdefs.h"
17487 # define LT_DLGLOBAL RTLD_GLOBAL
17490 # define LT_DLGLOBAL DL_GLOBAL
17492 # define LT_DLGLOBAL 0
17496 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17497 find out it does not work in some platform. */
17498 #ifndef LT_DLLAZY_OR_NOW
17500 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17503 # define LT_DLLAZY_OR_NOW DL_LAZY
17506 # define LT_DLLAZY_OR_NOW RTLD_NOW
17509 # define LT_DLLAZY_OR_NOW DL_NOW
17511 # define LT_DLLAZY_OR_NOW 0
17519 extern "C" void exit (int);
17522 void fnord() { int i=42;}
17525 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17526 int status = $lt_dlunknown;
17530 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17531 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17532 /* dlclose (self); */
17538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17539 (eval $ac_link) 2>&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17543 (./conftest; exit; ) 2>/dev/null
17545 case x$lt_status in
17546 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17547 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17548 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17551 # compilation failed
17552 lt_cv_dlopen_self_static=no
17559 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17560 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17563 CPPFLAGS="$save_CPPFLAGS"
17564 LDFLAGS="$save_LDFLAGS"
17569 case $lt_cv_dlopen_self in
17570 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17571 *) enable_dlopen_self=unknown ;;
17574 case $lt_cv_dlopen_self_static in
17575 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17576 *) enable_dlopen_self_static=unknown ;;
17581 # The else clause should only fire when bootstrapping the
17582 # libtool distribution, otherwise you forgot to ship ltmain.sh
17583 # with your package, and you will get complaints that there are
17584 # no rules to generate ltmain.sh.
17585 if test -f "$ltmain"; then
17586 # See if we are running on zsh, and set the options which allow our commands through
17587 # without removal of \ escapes.
17588 if test -n "${ZSH_VERSION+set}" ; then
17589 setopt NO_GLOB_SUBST
17591 # Now quote all the things that may contain metacharacters while being
17592 # careful not to overquote the AC_SUBSTed values. We take copies of the
17593 # variables and quote the copies for generation of the libtool script.
17594 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17595 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17596 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17597 deplibs_check_method reload_flag reload_cmds need_locks \
17598 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17599 lt_cv_sys_global_symbol_to_c_name_address \
17600 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17601 old_postinstall_cmds old_postuninstall_cmds \
17605 lt_prog_compiler_wl_GCJ \
17606 lt_prog_compiler_pic_GCJ \
17607 lt_prog_compiler_static_GCJ \
17608 lt_prog_compiler_no_builtin_flag_GCJ \
17609 export_dynamic_flag_spec_GCJ \
17610 thread_safe_flag_spec_GCJ \
17611 whole_archive_flag_spec_GCJ \
17612 enable_shared_with_static_runtimes_GCJ \
17613 old_archive_cmds_GCJ \
17614 old_archive_from_new_cmds_GCJ \
17615 predep_objects_GCJ \
17616 postdep_objects_GCJ \
17619 compiler_lib_search_path_GCJ \
17621 archive_expsym_cmds_GCJ \
17622 postinstall_cmds_GCJ \
17623 postuninstall_cmds_GCJ \
17624 old_archive_from_expsyms_cmds_GCJ \
17625 allow_undefined_flag_GCJ \
17626 no_undefined_flag_GCJ \
17627 export_symbols_cmds_GCJ \
17628 hardcode_libdir_flag_spec_GCJ \
17629 hardcode_libdir_flag_spec_ld_GCJ \
17630 hardcode_libdir_separator_GCJ \
17631 hardcode_automatic_GCJ \
17633 module_expsym_cmds_GCJ \
17634 lt_cv_prog_compiler_c_o_GCJ \
17635 exclude_expsyms_GCJ \
17636 include_expsyms_GCJ; do
17639 old_archive_cmds_GCJ | \
17640 old_archive_from_new_cmds_GCJ | \
17641 archive_cmds_GCJ | \
17642 archive_expsym_cmds_GCJ | \
17643 module_cmds_GCJ | \
17644 module_expsym_cmds_GCJ | \
17645 old_archive_from_expsyms_cmds_GCJ | \
17646 export_symbols_cmds_GCJ | \
17647 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17648 postinstall_cmds | postuninstall_cmds | \
17649 old_postinstall_cmds | old_postuninstall_cmds | \
17650 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17651 # Double-quote double-evaled strings.
17652 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17655 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17661 *'\$0 --fallback-echo"')
17662 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17668 cat <<__EOF__ >> "$cfgfile"
17669 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17671 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17673 # Shell to use when invoking shell scripts.
17676 # Whether or not to build shared libraries.
17677 build_libtool_libs=$enable_shared
17679 # Whether or not to build static libraries.
17680 build_old_libs=$enable_static
17682 # Whether or not to add -lc for building shared libraries.
17683 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17685 # Whether or not to disallow shared libs when runtime libs are static
17686 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17688 # Whether or not to optimize for fast installation.
17689 fast_install=$enable_fast_install
17692 host_alias=$host_alias
17695 # An echo program that does not interpret backslashes.
17700 AR_FLAGS=$lt_AR_FLAGS
17705 # A language-specific compiler.
17706 CC=$lt_compiler_GCJ
17708 # Is the compiler the GNU C compiler?
17714 # The linker used to build libraries.
17717 # Whether we need hard or soft links.
17720 # A BSD-compatible nm program.
17723 # A symbol stripping program
17726 # Used to examine libraries when file_magic_cmd begins "file"
17727 MAGIC_CMD=$MAGIC_CMD
17729 # Used on cygwin: DLL creation program.
17732 # Used on cygwin: object dumper.
17735 # Used on cygwin: assembler.
17738 # The name of the directory that contains temporary libtool files.
17741 # How to create reloadable object files.
17742 reload_flag=$lt_reload_flag
17743 reload_cmds=$lt_reload_cmds
17745 # How to pass a linker flag through the compiler.
17746 wl=$lt_lt_prog_compiler_wl_GCJ
17748 # Object file suffix (normally "o").
17749 objext="$ac_objext"
17751 # Old archive suffix (normally "a").
17754 # Shared library suffix (normally ".so").
17757 # Executable file suffix (normally "").
17760 # Additional compiler flags for building library objects.
17761 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17764 # What is the maximum length of a command?
17765 max_cmd_len=$lt_cv_sys_max_cmd_len
17767 # Does compiler simultaneously support -c and -o options?
17768 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17770 # Must we lock files when doing compilation ?
17771 need_locks=$lt_need_locks
17773 # Do we need the lib prefix for modules?
17774 need_lib_prefix=$need_lib_prefix
17776 # Do we need a version for libraries?
17777 need_version=$need_version
17779 # Whether dlopen is supported.
17780 dlopen_support=$enable_dlopen
17782 # Whether dlopen of programs is supported.
17783 dlopen_self=$enable_dlopen_self
17785 # Whether dlopen of statically linked programs is supported.
17786 dlopen_self_static=$enable_dlopen_self_static
17788 # Compiler flag to prevent dynamic linking.
17789 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17791 # Compiler flag to turn off builtin functions.
17792 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17794 # Compiler flag to allow reflexive dlopens.
17795 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17797 # Compiler flag to generate shared objects directly from archives.
17798 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17800 # Compiler flag to generate thread-safe objects.
17801 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17803 # Library versioning type.
17804 version_type=$version_type
17806 # Format of library name prefix.
17807 libname_spec=$lt_libname_spec
17809 # List of archive names. First name is the real one, the rest are links.
17810 # The last name is the one that the linker finds with -lNAME.
17811 library_names_spec=$lt_library_names_spec
17813 # The coded name of the library, if different from the real name.
17814 soname_spec=$lt_soname_spec
17816 # Commands used to build and install an old-style archive.
17818 old_archive_cmds=$lt_old_archive_cmds_GCJ
17819 old_postinstall_cmds=$lt_old_postinstall_cmds
17820 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17822 # Create an old-style archive from a shared archive.
17823 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17825 # Create a temporary old-style archive to link instead of a shared archive.
17826 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17828 # Commands used to build and install a shared archive.
17829 archive_cmds=$lt_archive_cmds_GCJ
17830 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17831 postinstall_cmds=$lt_postinstall_cmds
17832 postuninstall_cmds=$lt_postuninstall_cmds
17834 # Commands used to build a loadable module (assumed same as above if empty)
17835 module_cmds=$lt_module_cmds_GCJ
17836 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17838 # Commands to strip libraries.
17839 old_striplib=$lt_old_striplib
17840 striplib=$lt_striplib
17842 # Dependencies to place before the objects being linked to create a
17844 predep_objects=$lt_predep_objects_GCJ
17846 # Dependencies to place after the objects being linked to create a
17848 postdep_objects=$lt_postdep_objects_GCJ
17850 # Dependencies to place before the objects being linked to create a
17852 predeps=$lt_predeps_GCJ
17854 # Dependencies to place after the objects being linked to create a
17856 postdeps=$lt_postdeps_GCJ
17858 # The library search path used internally by the compiler when linking
17859 # a shared library.
17860 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17862 # Method to check whether dependent libraries are shared objects.
17863 deplibs_check_method=$lt_deplibs_check_method
17865 # Command to use when deplibs_check_method == file_magic.
17866 file_magic_cmd=$lt_file_magic_cmd
17868 # Flag that allows shared libraries with undefined symbols to be built.
17869 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17871 # Flag that forces no undefined symbols.
17872 no_undefined_flag=$lt_no_undefined_flag_GCJ
17874 # Commands used to finish a libtool library installation in a directory.
17875 finish_cmds=$lt_finish_cmds
17877 # Same as above, but a single script fragment to be evaled but not shown.
17878 finish_eval=$lt_finish_eval
17880 # Take the output of nm and produce a listing of raw symbols and C names.
17881 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17883 # Transform the output of nm in a proper C declaration
17884 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17886 # Transform the output of nm in a C name address pair
17887 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17889 # This is the shared library runtime path variable.
17890 runpath_var=$runpath_var
17892 # This is the shared library path variable.
17893 shlibpath_var=$shlibpath_var
17895 # Is shlibpath searched before the hard-coded library search path?
17896 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17898 # How to hardcode a shared library path into an executable.
17899 hardcode_action=$hardcode_action_GCJ
17901 # Whether we should hardcode library paths into libraries.
17902 hardcode_into_libs=$hardcode_into_libs
17904 # Flag to hardcode \$libdir into a binary during linking.
17905 # This must work even if \$libdir does not exist.
17906 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17908 # If ld is used when linking, flag to hardcode \$libdir into
17909 # a binary during linking. This must work even if \$libdir does
17911 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17913 # Whether we need a single -rpath flag with a separated argument.
17914 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17916 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17917 # resulting binary.
17918 hardcode_direct=$hardcode_direct_GCJ
17920 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17921 # resulting binary.
17922 hardcode_minus_L=$hardcode_minus_L_GCJ
17924 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17925 # the resulting binary.
17926 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17928 # Set to yes if building a shared library automatically hardcodes DIR into the library
17929 # and all subsequent libraries and executables linked against it.
17930 hardcode_automatic=$hardcode_automatic_GCJ
17932 # Variables whose values should be saved in libtool wrapper scripts and
17933 # restored at relink time.
17934 variables_saved_for_relink="$variables_saved_for_relink"
17936 # Whether libtool must link a program against all its dependency libraries.
17937 link_all_deplibs=$link_all_deplibs_GCJ
17939 # Compile-time system search path for libraries
17940 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17942 # Run-time system search path for libraries
17943 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17945 # Fix the shell variable \$srcfile for the compiler.
17946 fix_srcfile_path="$fix_srcfile_path_GCJ"
17948 # Set to yes if exported symbols are required.
17949 always_export_symbols=$always_export_symbols_GCJ
17951 # The commands to list exported symbols.
17952 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17954 # The commands to extract the exported symbol list from a shared archive.
17955 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17957 # Symbols that should not be listed in the preloaded symbols.
17958 exclude_expsyms=$lt_exclude_expsyms_GCJ
17960 # Symbols that must always be exported.
17961 include_expsyms=$lt_include_expsyms_GCJ
17963 # ### END LIBTOOL TAG CONFIG: $tagname
17969 # If there is no Makefile yet, we rely on a make rule to execute
17970 # `config.status --recheck' to rerun these tests and create the
17971 # libtool script then.
17972 test -f Makefile && make "$ltmain"
17977 ac_cpp='$CPP $CPPFLAGS'
17978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17993 # Source file extension for RC test sources.
17996 # Object file extension for compiled RC test sources.
18000 # Code to be used in simple compile tests
18001 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18003 # Code to be used in simple link tests
18004 lt_simple_link_test_code="$lt_simple_compile_test_code"
18006 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18008 # If no C compiler was specified, use CC.
18011 # Allow CC to be a program name with arguments.
18015 # Allow CC to be a program name with arguments.
18020 lt_cv_prog_compiler_c_o_RC=yes
18022 # The else clause should only fire when bootstrapping the
18023 # libtool distribution, otherwise you forgot to ship ltmain.sh
18024 # with your package, and you will get complaints that there are
18025 # no rules to generate ltmain.sh.
18026 if test -f "$ltmain"; then
18027 # See if we are running on zsh, and set the options which allow our commands through
18028 # without removal of \ escapes.
18029 if test -n "${ZSH_VERSION+set}" ; then
18030 setopt NO_GLOB_SUBST
18032 # Now quote all the things that may contain metacharacters while being
18033 # careful not to overquote the AC_SUBSTed values. We take copies of the
18034 # variables and quote the copies for generation of the libtool script.
18035 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18036 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18037 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18038 deplibs_check_method reload_flag reload_cmds need_locks \
18039 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18040 lt_cv_sys_global_symbol_to_c_name_address \
18041 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18042 old_postinstall_cmds old_postuninstall_cmds \
18046 lt_prog_compiler_wl_RC \
18047 lt_prog_compiler_pic_RC \
18048 lt_prog_compiler_static_RC \
18049 lt_prog_compiler_no_builtin_flag_RC \
18050 export_dynamic_flag_spec_RC \
18051 thread_safe_flag_spec_RC \
18052 whole_archive_flag_spec_RC \
18053 enable_shared_with_static_runtimes_RC \
18054 old_archive_cmds_RC \
18055 old_archive_from_new_cmds_RC \
18056 predep_objects_RC \
18057 postdep_objects_RC \
18060 compiler_lib_search_path_RC \
18062 archive_expsym_cmds_RC \
18063 postinstall_cmds_RC \
18064 postuninstall_cmds_RC \
18065 old_archive_from_expsyms_cmds_RC \
18066 allow_undefined_flag_RC \
18067 no_undefined_flag_RC \
18068 export_symbols_cmds_RC \
18069 hardcode_libdir_flag_spec_RC \
18070 hardcode_libdir_flag_spec_ld_RC \
18071 hardcode_libdir_separator_RC \
18072 hardcode_automatic_RC \
18074 module_expsym_cmds_RC \
18075 lt_cv_prog_compiler_c_o_RC \
18076 exclude_expsyms_RC \
18077 include_expsyms_RC; do
18080 old_archive_cmds_RC | \
18081 old_archive_from_new_cmds_RC | \
18082 archive_cmds_RC | \
18083 archive_expsym_cmds_RC | \
18085 module_expsym_cmds_RC | \
18086 old_archive_from_expsyms_cmds_RC | \
18087 export_symbols_cmds_RC | \
18088 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18089 postinstall_cmds | postuninstall_cmds | \
18090 old_postinstall_cmds | old_postuninstall_cmds | \
18091 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18092 # Double-quote double-evaled strings.
18093 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18096 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18102 *'\$0 --fallback-echo"')
18103 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18109 cat <<__EOF__ >> "$cfgfile"
18110 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18112 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18114 # Shell to use when invoking shell scripts.
18117 # Whether or not to build shared libraries.
18118 build_libtool_libs=$enable_shared
18120 # Whether or not to build static libraries.
18121 build_old_libs=$enable_static
18123 # Whether or not to add -lc for building shared libraries.
18124 build_libtool_need_lc=$archive_cmds_need_lc_RC
18126 # Whether or not to disallow shared libs when runtime libs are static
18127 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18129 # Whether or not to optimize for fast installation.
18130 fast_install=$enable_fast_install
18133 host_alias=$host_alias
18136 # An echo program that does not interpret backslashes.
18141 AR_FLAGS=$lt_AR_FLAGS
18146 # A language-specific compiler.
18149 # Is the compiler the GNU C compiler?
18155 # The linker used to build libraries.
18158 # Whether we need hard or soft links.
18161 # A BSD-compatible nm program.
18164 # A symbol stripping program
18167 # Used to examine libraries when file_magic_cmd begins "file"
18168 MAGIC_CMD=$MAGIC_CMD
18170 # Used on cygwin: DLL creation program.
18173 # Used on cygwin: object dumper.
18176 # Used on cygwin: assembler.
18179 # The name of the directory that contains temporary libtool files.
18182 # How to create reloadable object files.
18183 reload_flag=$lt_reload_flag
18184 reload_cmds=$lt_reload_cmds
18186 # How to pass a linker flag through the compiler.
18187 wl=$lt_lt_prog_compiler_wl_RC
18189 # Object file suffix (normally "o").
18190 objext="$ac_objext"
18192 # Old archive suffix (normally "a").
18195 # Shared library suffix (normally ".so").
18198 # Executable file suffix (normally "").
18201 # Additional compiler flags for building library objects.
18202 pic_flag=$lt_lt_prog_compiler_pic_RC
18205 # What is the maximum length of a command?
18206 max_cmd_len=$lt_cv_sys_max_cmd_len
18208 # Does compiler simultaneously support -c and -o options?
18209 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18211 # Must we lock files when doing compilation ?
18212 need_locks=$lt_need_locks
18214 # Do we need the lib prefix for modules?
18215 need_lib_prefix=$need_lib_prefix
18217 # Do we need a version for libraries?
18218 need_version=$need_version
18220 # Whether dlopen is supported.
18221 dlopen_support=$enable_dlopen
18223 # Whether dlopen of programs is supported.
18224 dlopen_self=$enable_dlopen_self
18226 # Whether dlopen of statically linked programs is supported.
18227 dlopen_self_static=$enable_dlopen_self_static
18229 # Compiler flag to prevent dynamic linking.
18230 link_static_flag=$lt_lt_prog_compiler_static_RC
18232 # Compiler flag to turn off builtin functions.
18233 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18235 # Compiler flag to allow reflexive dlopens.
18236 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18238 # Compiler flag to generate shared objects directly from archives.
18239 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18241 # Compiler flag to generate thread-safe objects.
18242 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18244 # Library versioning type.
18245 version_type=$version_type
18247 # Format of library name prefix.
18248 libname_spec=$lt_libname_spec
18250 # List of archive names. First name is the real one, the rest are links.
18251 # The last name is the one that the linker finds with -lNAME.
18252 library_names_spec=$lt_library_names_spec
18254 # The coded name of the library, if different from the real name.
18255 soname_spec=$lt_soname_spec
18257 # Commands used to build and install an old-style archive.
18259 old_archive_cmds=$lt_old_archive_cmds_RC
18260 old_postinstall_cmds=$lt_old_postinstall_cmds
18261 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18263 # Create an old-style archive from a shared archive.
18264 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18266 # Create a temporary old-style archive to link instead of a shared archive.
18267 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18269 # Commands used to build and install a shared archive.
18270 archive_cmds=$lt_archive_cmds_RC
18271 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18272 postinstall_cmds=$lt_postinstall_cmds
18273 postuninstall_cmds=$lt_postuninstall_cmds
18275 # Commands used to build a loadable module (assumed same as above if empty)
18276 module_cmds=$lt_module_cmds_RC
18277 module_expsym_cmds=$lt_module_expsym_cmds_RC
18279 # Commands to strip libraries.
18280 old_striplib=$lt_old_striplib
18281 striplib=$lt_striplib
18283 # Dependencies to place before the objects being linked to create a
18285 predep_objects=$lt_predep_objects_RC
18287 # Dependencies to place after the objects being linked to create a
18289 postdep_objects=$lt_postdep_objects_RC
18291 # Dependencies to place before the objects being linked to create a
18293 predeps=$lt_predeps_RC
18295 # Dependencies to place after the objects being linked to create a
18297 postdeps=$lt_postdeps_RC
18299 # The library search path used internally by the compiler when linking
18300 # a shared library.
18301 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18303 # Method to check whether dependent libraries are shared objects.
18304 deplibs_check_method=$lt_deplibs_check_method
18306 # Command to use when deplibs_check_method == file_magic.
18307 file_magic_cmd=$lt_file_magic_cmd
18309 # Flag that allows shared libraries with undefined symbols to be built.
18310 allow_undefined_flag=$lt_allow_undefined_flag_RC
18312 # Flag that forces no undefined symbols.
18313 no_undefined_flag=$lt_no_undefined_flag_RC
18315 # Commands used to finish a libtool library installation in a directory.
18316 finish_cmds=$lt_finish_cmds
18318 # Same as above, but a single script fragment to be evaled but not shown.
18319 finish_eval=$lt_finish_eval
18321 # Take the output of nm and produce a listing of raw symbols and C names.
18322 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18324 # Transform the output of nm in a proper C declaration
18325 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18327 # Transform the output of nm in a C name address pair
18328 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18330 # This is the shared library runtime path variable.
18331 runpath_var=$runpath_var
18333 # This is the shared library path variable.
18334 shlibpath_var=$shlibpath_var
18336 # Is shlibpath searched before the hard-coded library search path?
18337 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18339 # How to hardcode a shared library path into an executable.
18340 hardcode_action=$hardcode_action_RC
18342 # Whether we should hardcode library paths into libraries.
18343 hardcode_into_libs=$hardcode_into_libs
18345 # Flag to hardcode \$libdir into a binary during linking.
18346 # This must work even if \$libdir does not exist.
18347 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18349 # If ld is used when linking, flag to hardcode \$libdir into
18350 # a binary during linking. This must work even if \$libdir does
18352 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18354 # Whether we need a single -rpath flag with a separated argument.
18355 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18357 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18358 # resulting binary.
18359 hardcode_direct=$hardcode_direct_RC
18361 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18362 # resulting binary.
18363 hardcode_minus_L=$hardcode_minus_L_RC
18365 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18366 # the resulting binary.
18367 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18369 # Set to yes if building a shared library automatically hardcodes DIR into the library
18370 # and all subsequent libraries and executables linked against it.
18371 hardcode_automatic=$hardcode_automatic_RC
18373 # Variables whose values should be saved in libtool wrapper scripts and
18374 # restored at relink time.
18375 variables_saved_for_relink="$variables_saved_for_relink"
18377 # Whether libtool must link a program against all its dependency libraries.
18378 link_all_deplibs=$link_all_deplibs_RC
18380 # Compile-time system search path for libraries
18381 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18383 # Run-time system search path for libraries
18384 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18386 # Fix the shell variable \$srcfile for the compiler.
18387 fix_srcfile_path="$fix_srcfile_path_RC"
18389 # Set to yes if exported symbols are required.
18390 always_export_symbols=$always_export_symbols_RC
18392 # The commands to list exported symbols.
18393 export_symbols_cmds=$lt_export_symbols_cmds_RC
18395 # The commands to extract the exported symbol list from a shared archive.
18396 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18398 # Symbols that should not be listed in the preloaded symbols.
18399 exclude_expsyms=$lt_exclude_expsyms_RC
18401 # Symbols that must always be exported.
18402 include_expsyms=$lt_include_expsyms_RC
18404 # ### END LIBTOOL TAG CONFIG: $tagname
18410 # If there is no Makefile yet, we rely on a make rule to execute
18411 # `config.status --recheck' to rerun these tests and create the
18412 # libtool script then.
18413 test -f Makefile && make "$ltmain"
18418 ac_cpp='$CPP $CPPFLAGS'
18419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18428 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18429 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18430 { (exit 1); exit 1; }; }
18434 # Append the new tag name to the list of available tags.
18435 if test -n "$tagname" ; then
18436 available_tags="$available_tags $tagname"
18442 # Now substitute the updated list of available tags.
18443 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18444 mv "${ofile}T" "$ofile"
18448 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18449 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18450 { (exit 1); exit 1; }; }
18456 # This can be used to rebuild libtool when needed
18457 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18459 # Always use our own libtool.
18460 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18462 # Prevent multiple expansion
18484 # Extract the first word of "pwd", so it can be a program name with args.
18485 set dummy pwd; ac_word=$2
18486 echo "$as_me:$LINENO: checking for $ac_word" >&5
18487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18488 if test "${ac_cv_path_RPWD+set}" = set; then
18489 echo $ECHO_N "(cached) $ECHO_C" >&6
18493 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18497 for as_dir in $PATH
18500 test -z "$as_dir" && as_dir=.
18501 for ac_exec_ext in '' $ac_executable_extensions; do
18502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18503 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18510 test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false"
18514 RPWD=$ac_cv_path_RPWD
18516 if test -n "$RPWD"; then
18517 echo "$as_me:$LINENO: result: $RPWD" >&5
18518 echo "${ECHO_T}$RPWD" >&6
18520 echo "$as_me:$LINENO: result: no" >&5
18521 echo "${ECHO_T}no" >&6
18524 if test ${RPWD} = "false"
18526 { { echo "$as_me:$LINENO: error: pwd required but not found" >&5
18527 echo "$as_me: error: pwd required but not found" >&2;}
18528 { (exit 1); exit 1; }; }
18531 # Extract the first word of "ar", so it can be a program name with args.
18532 set dummy ar; ac_word=$2
18533 echo "$as_me:$LINENO: checking for $ac_word" >&5
18534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18535 if test "${ac_cv_path_AR+set}" = set; then
18536 echo $ECHO_N "(cached) $ECHO_C" >&6
18540 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18544 for as_dir in $PATH
18547 test -z "$as_dir" && as_dir=.
18548 for ac_exec_ext in '' $ac_executable_extensions; do
18549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18550 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18557 test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
18563 if test -n "$AR"; then
18564 echo "$as_me:$LINENO: result: $AR" >&5
18565 echo "${ECHO_T}$AR" >&6
18567 echo "$as_me:$LINENO: result: no" >&5
18568 echo "${ECHO_T}no" >&6
18571 if test ${AR} = "false"
18573 { { echo "$as_me:$LINENO: error: ar required but not found" >&5
18574 echo "$as_me: error: ar required but not found" >&2;}
18575 { (exit 1); exit 1; }; }
18578 # Extract the first word of "sed", so it can be a program name with args.
18579 set dummy sed; ac_word=$2
18580 echo "$as_me:$LINENO: checking for $ac_word" >&5
18581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18582 if test "${ac_cv_path_SED+set}" = set; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18587 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18591 for as_dir in $PATH
18594 test -z "$as_dir" && as_dir=.
18595 for ac_exec_ext in '' $ac_executable_extensions; do
18596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18597 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18604 test -z "$ac_cv_path_SED" && ac_cv_path_SED="false"
18608 SED=$ac_cv_path_SED
18610 if test -n "$SED"; then
18611 echo "$as_me:$LINENO: result: $SED" >&5
18612 echo "${ECHO_T}$SED" >&6
18614 echo "$as_me:$LINENO: result: no" >&5
18615 echo "${ECHO_T}no" >&6
18618 if test ${SED} = "false"
18620 { { echo "$as_me:$LINENO: error: sed required but not found" >&5
18621 echo "$as_me: error: sed required but not found" >&2;}
18622 { (exit 1); exit 1; }; }
18625 # Extract the first word of "rm", so it can be a program name with args.
18626 set dummy rm; ac_word=$2
18627 echo "$as_me:$LINENO: checking for $ac_word" >&5
18628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18629 if test "${ac_cv_path_RM+set}" = set; then
18630 echo $ECHO_N "(cached) $ECHO_C" >&6
18634 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18638 for as_dir in $PATH
18641 test -z "$as_dir" && as_dir=.
18642 for ac_exec_ext in '' $ac_executable_extensions; do
18643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18644 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18651 test -z "$ac_cv_path_RM" && ac_cv_path_RM="false"
18657 if test -n "$RM"; then
18658 echo "$as_me:$LINENO: result: $RM" >&5
18659 echo "${ECHO_T}$RM" >&6
18661 echo "$as_me:$LINENO: result: no" >&5
18662 echo "${ECHO_T}no" >&6
18665 if test ${RM} = "false"
18667 { { echo "$as_me:$LINENO: error: rm required but not found" >&5
18668 echo "$as_me: error: rm required but not found" >&2;}
18669 { (exit 1); exit 1; }; }
18672 # Extract the first word of "echo", so it can be a program name with args.
18673 set dummy echo; ac_word=$2
18674 echo "$as_me:$LINENO: checking for $ac_word" >&5
18675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18676 if test "${ac_cv_path_ECHO+set}" = set; then
18677 echo $ECHO_N "(cached) $ECHO_C" >&6
18681 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18685 for as_dir in $PATH
18688 test -z "$as_dir" && as_dir=.
18689 for ac_exec_ext in '' $ac_executable_extensions; do
18690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18691 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18698 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false"
18702 ECHO=$ac_cv_path_ECHO
18704 if test -n "$ECHO"; then
18705 echo "$as_me:$LINENO: result: $ECHO" >&5
18706 echo "${ECHO_T}$ECHO" >&6
18708 echo "$as_me:$LINENO: result: no" >&5
18709 echo "${ECHO_T}no" >&6
18712 if test ${ECHO} = "false"
18714 { { echo "$as_me:$LINENO: error: echo required but not found" >&5
18715 echo "$as_me: error: echo required but not found" >&2;}
18716 { (exit 1); exit 1; }; }
18719 # Extract the first word of "mkdir", so it can be a program name with args.
18720 set dummy mkdir; ac_word=$2
18721 echo "$as_me:$LINENO: checking for $ac_word" >&5
18722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18723 if test "${ac_cv_path_MKDIR+set}" = set; then
18724 echo $ECHO_N "(cached) $ECHO_C" >&6
18728 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18732 for as_dir in $PATH
18735 test -z "$as_dir" && as_dir=.
18736 for ac_exec_ext in '' $ac_executable_extensions; do
18737 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18738 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18745 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false"
18749 MKDIR=$ac_cv_path_MKDIR
18751 if test -n "$MKDIR"; then
18752 echo "$as_me:$LINENO: result: $MKDIR" >&5
18753 echo "${ECHO_T}$MKDIR" >&6
18755 echo "$as_me:$LINENO: result: no" >&5
18756 echo "${ECHO_T}no" >&6
18759 if test ${MKDIR} = "false"
18761 { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5
18762 echo "$as_me: error: mkdir required but not found" >&2;}
18763 { (exit 1); exit 1; }; }
18766 # Extract the first word of "date", so it can be a program name with args.
18767 set dummy date; ac_word=$2
18768 echo "$as_me:$LINENO: checking for $ac_word" >&5
18769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18770 if test "${ac_cv_path_DATE+set}" = set; then
18771 echo $ECHO_N "(cached) $ECHO_C" >&6
18775 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18779 for as_dir in $PATH
18782 test -z "$as_dir" && as_dir=.
18783 for ac_exec_ext in '' $ac_executable_extensions; do
18784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18785 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18792 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false"
18796 DATE=$ac_cv_path_DATE
18798 if test -n "$DATE"; then
18799 echo "$as_me:$LINENO: result: $DATE" >&5
18800 echo "${ECHO_T}$DATE" >&6
18802 echo "$as_me:$LINENO: result: no" >&5
18803 echo "${ECHO_T}no" >&6
18806 if test ${DATE} = "false"
18808 { { echo "$as_me:$LINENO: error: date required but not found" >&5
18809 echo "$as_me: error: date required but not found" >&2;}
18810 { (exit 1); exit 1; }; }
18813 # Extract the first word of "mv", so it can be a program name with args.
18814 set dummy mv; ac_word=$2
18815 echo "$as_me:$LINENO: checking for $ac_word" >&5
18816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18817 if test "${ac_cv_path_MV+set}" = set; then
18818 echo $ECHO_N "(cached) $ECHO_C" >&6
18822 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18826 for as_dir in $PATH
18829 test -z "$as_dir" && as_dir=.
18830 for ac_exec_ext in '' $ac_executable_extensions; do
18831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18832 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18839 test -z "$ac_cv_path_MV" && ac_cv_path_MV="false"
18845 if test -n "$MV"; then
18846 echo "$as_me:$LINENO: result: $MV" >&5
18847 echo "${ECHO_T}$MV" >&6
18849 echo "$as_me:$LINENO: result: no" >&5
18850 echo "${ECHO_T}no" >&6
18853 if test ${MV} = "false"
18855 { { echo "$as_me:$LINENO: error: mv required but not found" >&5
18856 echo "$as_me: error: mv required but not found" >&2;}
18857 { (exit 1); exit 1; }; }
18860 # Extract the first word of "dot", so it can be a program name with args.
18861 set dummy dot; ac_word=$2
18862 echo "$as_me:$LINENO: checking for $ac_word" >&5
18863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18864 if test "${ac_cv_path_DOT+set}" = set; then
18865 echo $ECHO_N "(cached) $ECHO_C" >&6
18869 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18873 for as_dir in $PATH
18876 test -z "$as_dir" && as_dir=.
18877 for ac_exec_ext in '' $ac_executable_extensions; do
18878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18879 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18886 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
18890 DOT=$ac_cv_path_DOT
18892 if test -n "$DOT"; then
18893 echo "$as_me:$LINENO: result: $DOT" >&5
18894 echo "${ECHO_T}$DOT" >&6
18896 echo "$as_me:$LINENO: result: no" >&5
18897 echo "${ECHO_T}no" >&6
18901 # Extract the first word of "etags", so it can be a program name with args.
18902 set dummy etags; ac_word=$2
18903 echo "$as_me:$LINENO: checking for $ac_word" >&5
18904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18905 if test "${ac_cv_path_ETAGS+set}" = set; then
18906 echo $ECHO_N "(cached) $ECHO_C" >&6
18910 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18914 for as_dir in $PATH
18917 test -z "$as_dir" && as_dir=.
18918 for ac_exec_ext in '' $ac_executable_extensions; do
18919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18920 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18927 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false"
18931 ETAGS=$ac_cv_path_ETAGS
18933 if test -n "$ETAGS"; then
18934 echo "$as_me:$LINENO: result: $ETAGS" >&5
18935 echo "${ECHO_T}$ETAGS" >&6
18937 echo "$as_me:$LINENO: result: no" >&5
18938 echo "${ECHO_T}no" >&6
18942 # Extract the first word of "purify", so it can be a program name with args.
18943 set dummy purify; ac_word=$2
18944 echo "$as_me:$LINENO: checking for $ac_word" >&5
18945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18946 if test "${ac_cv_path_PURIFY+set}" = set; then
18947 echo $ECHO_N "(cached) $ECHO_C" >&6
18951 ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path.
18954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18955 for as_dir in $PATH
18958 test -z "$as_dir" && as_dir=.
18959 for ac_exec_ext in '' $ac_executable_extensions; do
18960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18961 ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext"
18962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18968 test -z "$ac_cv_path_PURIFY" && ac_cv_path_PURIFY="false"
18972 PURIFY=$ac_cv_path_PURIFY
18974 if test -n "$PURIFY"; then
18975 echo "$as_me:$LINENO: result: $PURIFY" >&5
18976 echo "${ECHO_T}$PURIFY" >&6
18978 echo "$as_me:$LINENO: result: no" >&5
18979 echo "${ECHO_T}no" >&6
18983 # Extract the first word of "python", so it can be a program name with args.
18984 set dummy python; ac_word=$2
18985 echo "$as_me:$LINENO: checking for $ac_word" >&5
18986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18987 if test "${ac_cv_path_PYTHON+set}" = set; then
18988 echo $ECHO_N "(cached) $ECHO_C" >&6
18992 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18996 for as_dir in $PATH
18999 test -z "$as_dir" && as_dir=.
19000 for ac_exec_ext in '' $ac_executable_extensions; do
19001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19002 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
19003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19009 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false"
19013 PYTHON=$ac_cv_path_PYTHON
19015 if test -n "$PYTHON"; then
19016 echo "$as_me:$LINENO: result: $PYTHON" >&5
19017 echo "${ECHO_T}$PYTHON" >&6
19019 echo "$as_me:$LINENO: result: no" >&5
19020 echo "${ECHO_T}no" >&6
19023 if test ${PYTHON} = "false"
19025 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
19026 echo "$as_me: WARNING: python required but not found" >&2;}
19029 # Extract the first word of "qmtest", so it can be a program name with args.
19030 set dummy qmtest; ac_word=$2
19031 echo "$as_me:$LINENO: checking for $ac_word" >&5
19032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19033 if test "${ac_cv_path_QMTEST+set}" = set; then
19034 echo $ECHO_N "(cached) $ECHO_C" >&6
19038 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
19041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19042 for as_dir in $PATH
19045 test -z "$as_dir" && as_dir=.
19046 for ac_exec_ext in '' $ac_executable_extensions; do
19047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19048 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
19049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19055 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false"
19059 QMTEST=$ac_cv_path_QMTEST
19061 if test -n "$QMTEST"; then
19062 echo "$as_me:$LINENO: result: $QMTEST" >&5
19063 echo "${ECHO_T}$QMTEST" >&6
19065 echo "$as_me:$LINENO: result: no" >&5
19066 echo "${ECHO_T}no" >&6
19069 if test ${QMTEST} = "false"
19071 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19072 echo "$as_me: WARNING: qmtest required but not found" >&2;}
19075 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
19076 pymajor=`echo $pyversion | cut -d. -f1`
19077 pyminor=`echo $pyversion | cut -d. -f2`
19079 if test "$pymajor" -ge "2"
19081 if test "$pymajor" -eq "2"
19083 if test "$pyminor" -lt "2"
19085 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19086 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19087 { (exit 1); exit 1; }; }
19091 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19092 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19093 { (exit 1); exit 1; }; }
19100 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
19101 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
19102 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
19103 echo $ECHO_N "(cached) $ECHO_C" >&6
19105 ac_check_lib_save_LIBS=$LIBS
19107 cat >conftest.$ac_ext <<_ACEOF
19108 #line $LINENO "configure"
19111 cat confdefs.h >>conftest.$ac_ext
19112 cat >>conftest.$ac_ext <<_ACEOF
19113 /* end confdefs.h. */
19115 /* Override any gcc2 internal prototype to avoid an error. */
19119 /* We use char because int might match the return type of a gcc2
19120 builtin and then its argument prototype would still apply. */
19130 rm -f conftest.$ac_objext conftest$ac_exeext
19131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19132 (eval $ac_link) 2>&5
19134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 (exit $ac_status); } &&
19136 { ac_try='test -s conftest$ac_exeext'
19137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19138 (eval $ac_try) 2>&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); }; }; then
19142 ac_cv_lib_elf_elf_begin=yes
19144 echo "$as_me: failed program was:" >&5
19145 sed 's/^/| /' conftest.$ac_ext >&5
19147 ac_cv_lib_elf_elf_begin=no
19149 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19150 LIBS=$ac_check_lib_save_LIBS
19152 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19153 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19154 if test $ac_cv_lib_elf_elf_begin = yes; then
19155 cat >>confdefs.h <<_ACEOF
19156 #define HAVE_LIBELF 1
19164 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19165 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19166 if test "${ac_cv_search_dlopen+set}" = set; then
19167 echo $ECHO_N "(cached) $ECHO_C" >&6
19169 ac_func_search_save_LIBS=$LIBS
19170 ac_cv_search_dlopen=no
19171 cat >conftest.$ac_ext <<_ACEOF
19172 #line $LINENO "configure"
19175 cat confdefs.h >>conftest.$ac_ext
19176 cat >>conftest.$ac_ext <<_ACEOF
19177 /* end confdefs.h. */
19179 /* Override any gcc2 internal prototype to avoid an error. */
19183 /* We use char because int might match the return type of a gcc2
19184 builtin and then its argument prototype would still apply. */
19194 rm -f conftest.$ac_objext conftest$ac_exeext
19195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19196 (eval $ac_link) 2>&5
19198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19199 (exit $ac_status); } &&
19200 { ac_try='test -s conftest$ac_exeext'
19201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19202 (eval $ac_try) 2>&5
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); }; }; then
19206 ac_cv_search_dlopen="none required"
19208 echo "$as_me: failed program was:" >&5
19209 sed 's/^/| /' conftest.$ac_ext >&5
19212 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19213 if test "$ac_cv_search_dlopen" = no; then
19214 for ac_lib in dl; do
19215 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19216 cat >conftest.$ac_ext <<_ACEOF
19217 #line $LINENO "configure"
19220 cat confdefs.h >>conftest.$ac_ext
19221 cat >>conftest.$ac_ext <<_ACEOF
19222 /* end confdefs.h. */
19224 /* Override any gcc2 internal prototype to avoid an error. */
19228 /* We use char because int might match the return type of a gcc2
19229 builtin and then its argument prototype would still apply. */
19239 rm -f conftest.$ac_objext conftest$ac_exeext
19240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19241 (eval $ac_link) 2>&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); } &&
19245 { ac_try='test -s conftest$ac_exeext'
19246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19247 (eval $ac_try) 2>&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); }; }; then
19251 ac_cv_search_dlopen="-l$ac_lib"
19254 echo "$as_me: failed program was:" >&5
19255 sed 's/^/| /' conftest.$ac_ext >&5
19258 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19261 LIBS=$ac_func_search_save_LIBS
19263 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19264 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19265 if test "$ac_cv_search_dlopen" != no; then
19266 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19269 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
19270 echo "$as_me: error: dlopen() required but not found" >&2;}
19271 { (exit 1); exit 1; }; }
19275 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19276 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19277 if test "${ac_cv_search_mallinfo+set}" = set; then
19278 echo $ECHO_N "(cached) $ECHO_C" >&6
19280 ac_func_search_save_LIBS=$LIBS
19281 ac_cv_search_mallinfo=no
19282 cat >conftest.$ac_ext <<_ACEOF
19283 #line $LINENO "configure"
19286 cat confdefs.h >>conftest.$ac_ext
19287 cat >>conftest.$ac_ext <<_ACEOF
19288 /* end confdefs.h. */
19290 /* Override any gcc2 internal prototype to avoid an error. */
19294 /* We use char because int might match the return type of a gcc2
19295 builtin and then its argument prototype would still apply. */
19305 rm -f conftest.$ac_objext conftest$ac_exeext
19306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19307 (eval $ac_link) 2>&5
19309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19310 (exit $ac_status); } &&
19311 { ac_try='test -s conftest$ac_exeext'
19312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19313 (eval $ac_try) 2>&5
19315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 (exit $ac_status); }; }; then
19317 ac_cv_search_mallinfo="none required"
19319 echo "$as_me: failed program was:" >&5
19320 sed 's/^/| /' conftest.$ac_ext >&5
19323 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19324 if test "$ac_cv_search_mallinfo" = no; then
19325 for ac_lib in malloc; do
19326 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19327 cat >conftest.$ac_ext <<_ACEOF
19328 #line $LINENO "configure"
19331 cat confdefs.h >>conftest.$ac_ext
19332 cat >>conftest.$ac_ext <<_ACEOF
19333 /* end confdefs.h. */
19335 /* Override any gcc2 internal prototype to avoid an error. */
19339 /* We use char because int might match the return type of a gcc2
19340 builtin and then its argument prototype would still apply. */
19350 rm -f conftest.$ac_objext conftest$ac_exeext
19351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19352 (eval $ac_link) 2>&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); } &&
19356 { ac_try='test -s conftest$ac_exeext'
19357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19358 (eval $ac_try) 2>&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); }; }; then
19362 ac_cv_search_mallinfo="-l$ac_lib"
19365 echo "$as_me: failed program was:" >&5
19366 sed 's/^/| /' conftest.$ac_ext >&5
19369 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19372 LIBS=$ac_func_search_save_LIBS
19374 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19375 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19376 if test "$ac_cv_search_mallinfo" != no; then
19377 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19378 cat >>confdefs.h <<\_ACEOF
19379 #define HAVE_MALLINFO 1
19386 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19387 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19388 if test "${ac_cv_header_stdc+set}" = set; then
19389 echo $ECHO_N "(cached) $ECHO_C" >&6
19391 cat >conftest.$ac_ext <<_ACEOF
19392 #line $LINENO "configure"
19395 cat confdefs.h >>conftest.$ac_ext
19396 cat >>conftest.$ac_ext <<_ACEOF
19397 /* end confdefs.h. */
19398 #include <stdlib.h>
19399 #include <stdarg.h>
19400 #include <string.h>
19411 rm -f conftest.$ac_objext
19412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19413 (eval $ac_compile) 2>&5
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); } &&
19417 { ac_try='test -s conftest.$ac_objext'
19418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19419 (eval $ac_try) 2>&5
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); }; }; then
19423 ac_cv_header_stdc=yes
19425 echo "$as_me: failed program was:" >&5
19426 sed 's/^/| /' conftest.$ac_ext >&5
19428 ac_cv_header_stdc=no
19430 rm -f conftest.$ac_objext conftest.$ac_ext
19432 if test $ac_cv_header_stdc = yes; then
19433 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19434 cat >conftest.$ac_ext <<_ACEOF
19435 #line $LINENO "configure"
19438 cat confdefs.h >>conftest.$ac_ext
19439 cat >>conftest.$ac_ext <<_ACEOF
19440 /* end confdefs.h. */
19441 #include <string.h>
19444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19445 $EGREP "memchr" >/dev/null 2>&1; then
19448 ac_cv_header_stdc=no
19454 if test $ac_cv_header_stdc = yes; then
19455 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19456 cat >conftest.$ac_ext <<_ACEOF
19457 #line $LINENO "configure"
19460 cat confdefs.h >>conftest.$ac_ext
19461 cat >>conftest.$ac_ext <<_ACEOF
19462 /* end confdefs.h. */
19463 #include <stdlib.h>
19466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19467 $EGREP "free" >/dev/null 2>&1; then
19470 ac_cv_header_stdc=no
19476 if test $ac_cv_header_stdc = yes; then
19477 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19478 if test "$cross_compiling" = yes; then
19481 cat >conftest.$ac_ext <<_ACEOF
19482 #line $LINENO "configure"
19485 cat confdefs.h >>conftest.$ac_ext
19486 cat >>conftest.$ac_ext <<_ACEOF
19487 /* end confdefs.h. */
19489 #if ((' ' & 0x0FF) == 0x020)
19490 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19491 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19493 # define ISLOWER(c) \
19494 (('a' <= (c) && (c) <= 'i') \
19495 || ('j' <= (c) && (c) <= 'r') \
19496 || ('s' <= (c) && (c) <= 'z'))
19497 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19500 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19505 for (i = 0; i < 256; i++)
19506 if (XOR (islower (i), ISLOWER (i))
19507 || toupper (i) != TOUPPER (i))
19512 rm -f conftest$ac_exeext
19513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19514 (eval $ac_link) 2>&5
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19519 (eval $ac_try) 2>&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); }; }; then
19525 echo "$as_me: program exited with status $ac_status" >&5
19526 echo "$as_me: failed program was:" >&5
19527 sed 's/^/| /' conftest.$ac_ext >&5
19529 ( exit $ac_status )
19530 ac_cv_header_stdc=no
19532 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19536 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19537 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19538 if test $ac_cv_header_stdc = yes; then
19540 cat >>confdefs.h <<\_ACEOF
19541 #define STDC_HEADERS 1
19546 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19547 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19548 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19549 echo $ECHO_N "(cached) $ECHO_C" >&6
19551 cat >conftest.$ac_ext <<_ACEOF
19552 #line $LINENO "configure"
19555 cat confdefs.h >>conftest.$ac_ext
19556 cat >>conftest.$ac_ext <<_ACEOF
19557 /* end confdefs.h. */
19558 #include <sys/types.h>
19559 #include <sys/wait.h>
19560 #ifndef WEXITSTATUS
19561 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19564 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19572 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19577 rm -f conftest.$ac_objext
19578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19579 (eval $ac_compile) 2>&5
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); } &&
19583 { ac_try='test -s conftest.$ac_objext'
19584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19585 (eval $ac_try) 2>&5
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); }; }; then
19589 ac_cv_header_sys_wait_h=yes
19591 echo "$as_me: failed program was:" >&5
19592 sed 's/^/| /' conftest.$ac_ext >&5
19594 ac_cv_header_sys_wait_h=no
19596 rm -f conftest.$ac_objext conftest.$ac_ext
19598 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19599 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19600 if test $ac_cv_header_sys_wait_h = yes; then
19602 cat >>confdefs.h <<\_ACEOF
19603 #define HAVE_SYS_WAIT_H 1
19617 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19619 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19621 echo "$as_me:$LINENO: checking for $ac_header" >&5
19622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19624 echo $ECHO_N "(cached) $ECHO_C" >&6
19626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19629 # Is the header compilable?
19630 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19631 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19632 cat >conftest.$ac_ext <<_ACEOF
19633 #line $LINENO "configure"
19636 cat confdefs.h >>conftest.$ac_ext
19637 cat >>conftest.$ac_ext <<_ACEOF
19638 /* end confdefs.h. */
19639 $ac_includes_default
19640 #include <$ac_header>
19642 rm -f conftest.$ac_objext
19643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19644 (eval $ac_compile) 2>&5
19646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647 (exit $ac_status); } &&
19648 { ac_try='test -s conftest.$ac_objext'
19649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19650 (eval $ac_try) 2>&5
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); }; }; then
19654 ac_header_compiler=yes
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.$ac_ext >&5
19659 ac_header_compiler=no
19661 rm -f conftest.$ac_objext conftest.$ac_ext
19662 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19663 echo "${ECHO_T}$ac_header_compiler" >&6
19665 # Is the header present?
19666 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19667 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19668 cat >conftest.$ac_ext <<_ACEOF
19669 #line $LINENO "configure"
19672 cat confdefs.h >>conftest.$ac_ext
19673 cat >>conftest.$ac_ext <<_ACEOF
19674 /* end confdefs.h. */
19675 #include <$ac_header>
19677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19678 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19680 grep -v '^ *+' conftest.er1 >conftest.err
19682 cat conftest.err >&5
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); } >/dev/null; then
19685 if test -s conftest.err; then
19686 ac_cpp_err=$ac_c_preproc_warn_flag
19693 if test -z "$ac_cpp_err"; then
19694 ac_header_preproc=yes
19696 echo "$as_me: failed program was:" >&5
19697 sed 's/^/| /' conftest.$ac_ext >&5
19699 ac_header_preproc=no
19701 rm -f conftest.err conftest.$ac_ext
19702 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19703 echo "${ECHO_T}$ac_header_preproc" >&6
19705 # So? What about this header?
19706 case $ac_header_compiler:$ac_header_preproc in
19708 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19709 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19711 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19714 ## ------------------------------------ ##
19715 ## Report this to bug-autoconf@gnu.org. ##
19716 ## ------------------------------------ ##
19719 sed "s/^/$as_me: WARNING: /" >&2
19722 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19723 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19724 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19725 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19726 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19727 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19730 ## ------------------------------------ ##
19731 ## Report this to bug-autoconf@gnu.org. ##
19732 ## ------------------------------------ ##
19735 sed "s/^/$as_me: WARNING: /" >&2
19738 echo "$as_me:$LINENO: checking for $ac_header" >&5
19739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19741 echo $ECHO_N "(cached) $ECHO_C" >&6
19743 eval "$as_ac_Header=$ac_header_preproc"
19745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19749 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19750 cat >>confdefs.h <<_ACEOF
19751 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19763 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19765 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19767 echo "$as_me:$LINENO: checking for $ac_header" >&5
19768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19770 echo $ECHO_N "(cached) $ECHO_C" >&6
19772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19775 # Is the header compilable?
19776 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19777 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19778 cat >conftest.$ac_ext <<_ACEOF
19779 #line $LINENO "configure"
19782 cat confdefs.h >>conftest.$ac_ext
19783 cat >>conftest.$ac_ext <<_ACEOF
19784 /* end confdefs.h. */
19785 $ac_includes_default
19786 #include <$ac_header>
19788 rm -f conftest.$ac_objext
19789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19790 (eval $ac_compile) 2>&5
19792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793 (exit $ac_status); } &&
19794 { ac_try='test -s conftest.$ac_objext'
19795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19796 (eval $ac_try) 2>&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); }; }; then
19800 ac_header_compiler=yes
19802 echo "$as_me: failed program was:" >&5
19803 sed 's/^/| /' conftest.$ac_ext >&5
19805 ac_header_compiler=no
19807 rm -f conftest.$ac_objext conftest.$ac_ext
19808 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19809 echo "${ECHO_T}$ac_header_compiler" >&6
19811 # Is the header present?
19812 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19813 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19814 cat >conftest.$ac_ext <<_ACEOF
19815 #line $LINENO "configure"
19818 cat confdefs.h >>conftest.$ac_ext
19819 cat >>conftest.$ac_ext <<_ACEOF
19820 /* end confdefs.h. */
19821 #include <$ac_header>
19823 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19824 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19826 grep -v '^ *+' conftest.er1 >conftest.err
19828 cat conftest.err >&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); } >/dev/null; then
19831 if test -s conftest.err; then
19832 ac_cpp_err=$ac_c_preproc_warn_flag
19839 if test -z "$ac_cpp_err"; then
19840 ac_header_preproc=yes
19842 echo "$as_me: failed program was:" >&5
19843 sed 's/^/| /' conftest.$ac_ext >&5
19845 ac_header_preproc=no
19847 rm -f conftest.err conftest.$ac_ext
19848 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19849 echo "${ECHO_T}$ac_header_preproc" >&6
19851 # So? What about this header?
19852 case $ac_header_compiler:$ac_header_preproc in
19854 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19855 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19856 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19857 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19860 ## ------------------------------------ ##
19861 ## Report this to bug-autoconf@gnu.org. ##
19862 ## ------------------------------------ ##
19865 sed "s/^/$as_me: WARNING: /" >&2
19868 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19869 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19870 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19871 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19873 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19876 ## ------------------------------------ ##
19877 ## Report this to bug-autoconf@gnu.org. ##
19878 ## ------------------------------------ ##
19881 sed "s/^/$as_me: WARNING: /" >&2
19884 echo "$as_me:$LINENO: checking for $ac_header" >&5
19885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19887 echo $ECHO_N "(cached) $ECHO_C" >&6
19889 eval "$as_ac_Header=$ac_header_preproc"
19891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19892 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19895 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19896 cat >>confdefs.h <<_ACEOF
19897 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19907 for ac_header in dlfcn.h link.h
19909 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19911 echo "$as_me:$LINENO: checking for $ac_header" >&5
19912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19914 echo $ECHO_N "(cached) $ECHO_C" >&6
19916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19919 # Is the header compilable?
19920 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19921 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19922 cat >conftest.$ac_ext <<_ACEOF
19923 #line $LINENO "configure"
19926 cat confdefs.h >>conftest.$ac_ext
19927 cat >>conftest.$ac_ext <<_ACEOF
19928 /* end confdefs.h. */
19929 $ac_includes_default
19930 #include <$ac_header>
19932 rm -f conftest.$ac_objext
19933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19934 (eval $ac_compile) 2>&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } &&
19938 { ac_try='test -s conftest.$ac_objext'
19939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19940 (eval $ac_try) 2>&5
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); }; }; then
19944 ac_header_compiler=yes
19946 echo "$as_me: failed program was:" >&5
19947 sed 's/^/| /' conftest.$ac_ext >&5
19949 ac_header_compiler=no
19951 rm -f conftest.$ac_objext conftest.$ac_ext
19952 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19953 echo "${ECHO_T}$ac_header_compiler" >&6
19955 # Is the header present?
19956 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19957 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19958 cat >conftest.$ac_ext <<_ACEOF
19959 #line $LINENO "configure"
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19965 #include <$ac_header>
19967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19968 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19970 grep -v '^ *+' conftest.er1 >conftest.err
19972 cat conftest.err >&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); } >/dev/null; then
19975 if test -s conftest.err; then
19976 ac_cpp_err=$ac_c_preproc_warn_flag
19983 if test -z "$ac_cpp_err"; then
19984 ac_header_preproc=yes
19986 echo "$as_me: failed program was:" >&5
19987 sed 's/^/| /' conftest.$ac_ext >&5
19989 ac_header_preproc=no
19991 rm -f conftest.err conftest.$ac_ext
19992 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19993 echo "${ECHO_T}$ac_header_preproc" >&6
19995 # So? What about this header?
19996 case $ac_header_compiler:$ac_header_preproc in
19998 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19999 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20001 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20004 ## ------------------------------------ ##
20005 ## Report this to bug-autoconf@gnu.org. ##
20006 ## ------------------------------------ ##
20009 sed "s/^/$as_me: WARNING: /" >&2
20012 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20013 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20014 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20015 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20017 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20020 ## ------------------------------------ ##
20021 ## Report this to bug-autoconf@gnu.org. ##
20022 ## ------------------------------------ ##
20025 sed "s/^/$as_me: WARNING: /" >&2
20028 echo "$as_me:$LINENO: checking for $ac_header" >&5
20029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20031 echo $ECHO_N "(cached) $ECHO_C" >&6
20033 eval "$as_ac_Header=$ac_header_preproc"
20035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20040 cat >>confdefs.h <<_ACEOF
20041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20050 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20051 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20052 if test "${ac_cv_c_const+set}" = set; then
20053 echo $ECHO_N "(cached) $ECHO_C" >&6
20055 cat >conftest.$ac_ext <<_ACEOF
20056 #line $LINENO "configure"
20059 cat confdefs.h >>conftest.$ac_ext
20060 cat >>conftest.$ac_ext <<_ACEOF
20061 /* end confdefs.h. */
20066 /* FIXME: Include the comments suggested by Paul. */
20067 #ifndef __cplusplus
20068 /* Ultrix mips cc rejects this. */
20069 typedef int charset[2];
20071 /* SunOS 4.1.1 cc rejects this. */
20072 char const *const *ccp;
20074 /* NEC SVR4.0.2 mips cc rejects this. */
20075 struct point {int x, y;};
20076 static struct point const zero = {0,0};
20077 /* AIX XL C 1.02.0.0 rejects this.
20078 It does not let you subtract one const X* pointer from another in
20079 an arm of an if-expression whose if-part is not a constant
20081 const char *g = "string";
20082 ccp = &g + (g ? g-g : 0);
20083 /* HPUX 7.0 cc rejects these. */
20086 ccp = (char const *const *) p;
20087 { /* SCO 3.2v4 cc rejects this. */
20089 char const *s = 0 ? (char *) 0 : (char const *) 0;
20093 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20094 int x[] = {25, 17};
20095 const int *foo = &x[0];
20098 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20099 typedef const int *iptr;
20103 { /* AIX XL C 1.02.0.0 rejects this saying
20104 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20105 struct s { int j; const int *ap[3]; };
20106 struct s *b; b->j = 5;
20108 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20109 const int foo = 10;
20117 rm -f conftest.$ac_objext
20118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20119 (eval $ac_compile) 2>&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); } &&
20123 { ac_try='test -s conftest.$ac_objext'
20124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20125 (eval $ac_try) 2>&5
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); }; }; then
20131 echo "$as_me: failed program was:" >&5
20132 sed 's/^/| /' conftest.$ac_ext >&5
20136 rm -f conftest.$ac_objext conftest.$ac_ext
20138 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20139 echo "${ECHO_T}$ac_cv_c_const" >&6
20140 if test $ac_cv_c_const = no; then
20142 cat >>confdefs.h <<\_ACEOF
20148 echo "$as_me:$LINENO: checking for inline" >&5
20149 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20150 if test "${ac_cv_c_inline+set}" = set; then
20151 echo $ECHO_N "(cached) $ECHO_C" >&6
20154 for ac_kw in inline __inline__ __inline; do
20155 cat >conftest.$ac_ext <<_ACEOF
20156 #line $LINENO "configure"
20159 cat confdefs.h >>conftest.$ac_ext
20160 cat >>conftest.$ac_ext <<_ACEOF
20161 /* end confdefs.h. */
20162 #ifndef __cplusplus
20164 static $ac_kw foo_t static_foo () {return 0; }
20165 $ac_kw foo_t foo () {return 0; }
20169 rm -f conftest.$ac_objext
20170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20171 (eval $ac_compile) 2>&5
20173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174 (exit $ac_status); } &&
20175 { ac_try='test -s conftest.$ac_objext'
20176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20177 (eval $ac_try) 2>&5
20179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20180 (exit $ac_status); }; }; then
20181 ac_cv_c_inline=$ac_kw; break
20183 echo "$as_me: failed program was:" >&5
20184 sed 's/^/| /' conftest.$ac_ext >&5
20187 rm -f conftest.$ac_objext conftest.$ac_ext
20191 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20192 echo "${ECHO_T}$ac_cv_c_inline" >&6
20193 case $ac_cv_c_inline in
20196 cat >>confdefs.h <<\_ACEOF
20200 *) cat >>confdefs.h <<_ACEOF
20201 #define inline $ac_cv_c_inline
20207 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20208 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20209 if test "${ac_cv_c_bigendian+set}" = set; then
20210 echo $ECHO_N "(cached) $ECHO_C" >&6
20212 # See if sys/param.h defines the BYTE_ORDER macro.
20213 cat >conftest.$ac_ext <<_ACEOF
20214 #line $LINENO "configure"
20217 cat confdefs.h >>conftest.$ac_ext
20218 cat >>conftest.$ac_ext <<_ACEOF
20219 /* end confdefs.h. */
20220 #include <sys/types.h>
20221 #include <sys/param.h>
20226 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20227 bogus endian macros
20234 rm -f conftest.$ac_objext
20235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20236 (eval $ac_compile) 2>&5
20238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); } &&
20240 { ac_try='test -s conftest.$ac_objext'
20241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20242 (eval $ac_try) 2>&5
20244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245 (exit $ac_status); }; }; then
20246 # It does; now see whether it defined to BIG_ENDIAN or not.
20247 cat >conftest.$ac_ext <<_ACEOF
20248 #line $LINENO "configure"
20251 cat confdefs.h >>conftest.$ac_ext
20252 cat >>conftest.$ac_ext <<_ACEOF
20253 /* end confdefs.h. */
20254 #include <sys/types.h>
20255 #include <sys/param.h>
20260 #if BYTE_ORDER != BIG_ENDIAN
20268 rm -f conftest.$ac_objext
20269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20270 (eval $ac_compile) 2>&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } &&
20274 { ac_try='test -s conftest.$ac_objext'
20275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20276 (eval $ac_try) 2>&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); }; }; then
20280 ac_cv_c_bigendian=yes
20282 echo "$as_me: failed program was:" >&5
20283 sed 's/^/| /' conftest.$ac_ext >&5
20285 ac_cv_c_bigendian=no
20287 rm -f conftest.$ac_objext conftest.$ac_ext
20289 echo "$as_me: failed program was:" >&5
20290 sed 's/^/| /' conftest.$ac_ext >&5
20292 # It does not; compile a test program.
20293 if test "$cross_compiling" = yes; then
20294 # try to guess the endianness by grepping values into an object file
20295 ac_cv_c_bigendian=unknown
20296 cat >conftest.$ac_ext <<_ACEOF
20297 #line $LINENO "configure"
20300 cat confdefs.h >>conftest.$ac_ext
20301 cat >>conftest.$ac_ext <<_ACEOF
20302 /* end confdefs.h. */
20303 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20304 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20305 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20306 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20307 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20308 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20312 _ascii (); _ebcdic ();
20317 rm -f conftest.$ac_objext
20318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20319 (eval $ac_compile) 2>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); } &&
20323 { ac_try='test -s conftest.$ac_objext'
20324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325 (eval $ac_try) 2>&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; }; then
20329 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20330 ac_cv_c_bigendian=yes
20332 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20333 if test "$ac_cv_c_bigendian" = unknown; then
20334 ac_cv_c_bigendian=no
20336 # finding both strings is unlikely to happen, but who knows?
20337 ac_cv_c_bigendian=unknown
20341 echo "$as_me: failed program was:" >&5
20342 sed 's/^/| /' conftest.$ac_ext >&5
20345 rm -f conftest.$ac_objext conftest.$ac_ext
20347 cat >conftest.$ac_ext <<_ACEOF
20348 #line $LINENO "configure"
20351 cat confdefs.h >>conftest.$ac_ext
20352 cat >>conftest.$ac_ext <<_ACEOF
20353 /* end confdefs.h. */
20357 /* Are we little or big endian? From Harbison&Steele. */
20361 char c[sizeof (long)];
20364 exit (u.c[sizeof (long) - 1] == 1);
20367 rm -f conftest$ac_exeext
20368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20369 (eval $ac_link) 2>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20374 (eval $ac_try) 2>&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); }; }; then
20378 ac_cv_c_bigendian=no
20380 echo "$as_me: program exited with status $ac_status" >&5
20381 echo "$as_me: failed program was:" >&5
20382 sed 's/^/| /' conftest.$ac_ext >&5
20384 ( exit $ac_status )
20385 ac_cv_c_bigendian=yes
20387 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20390 rm -f conftest.$ac_objext conftest.$ac_ext
20392 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20393 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20394 case $ac_cv_c_bigendian in
20396 cat >>confdefs.h <<\_ACEOF
20397 #define ENDIAN_BIG 1
20401 cat >>confdefs.h <<\_ACEOF
20402 #define ENDIAN_LITTLE 1
20406 { { echo "$as_me:$LINENO: error: unknown endianness
20407 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20408 echo "$as_me: error: unknown endianness
20409 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20410 { (exit 1); exit 1; }; } ;;
20414 echo "$as_me:$LINENO: checking for pid_t" >&5
20415 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20416 if test "${ac_cv_type_pid_t+set}" = set; then
20417 echo $ECHO_N "(cached) $ECHO_C" >&6
20419 cat >conftest.$ac_ext <<_ACEOF
20420 #line $LINENO "configure"
20423 cat confdefs.h >>conftest.$ac_ext
20424 cat >>conftest.$ac_ext <<_ACEOF
20425 /* end confdefs.h. */
20426 $ac_includes_default
20432 if (sizeof (pid_t))
20438 rm -f conftest.$ac_objext
20439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20440 (eval $ac_compile) 2>&5
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); } &&
20444 { ac_try='test -s conftest.$ac_objext'
20445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20446 (eval $ac_try) 2>&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); }; }; then
20450 ac_cv_type_pid_t=yes
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.$ac_ext >&5
20455 ac_cv_type_pid_t=no
20457 rm -f conftest.$ac_objext conftest.$ac_ext
20459 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20460 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20461 if test $ac_cv_type_pid_t = yes; then
20465 cat >>confdefs.h <<_ACEOF
20471 echo "$as_me:$LINENO: checking for size_t" >&5
20472 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20473 if test "${ac_cv_type_size_t+set}" = set; then
20474 echo $ECHO_N "(cached) $ECHO_C" >&6
20476 cat >conftest.$ac_ext <<_ACEOF
20477 #line $LINENO "configure"
20480 cat confdefs.h >>conftest.$ac_ext
20481 cat >>conftest.$ac_ext <<_ACEOF
20482 /* end confdefs.h. */
20483 $ac_includes_default
20489 if (sizeof (size_t))
20495 rm -f conftest.$ac_objext
20496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20497 (eval $ac_compile) 2>&5
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); } &&
20501 { ac_try='test -s conftest.$ac_objext'
20502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20503 (eval $ac_try) 2>&5
20505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20506 (exit $ac_status); }; }; then
20507 ac_cv_type_size_t=yes
20509 echo "$as_me: failed program was:" >&5
20510 sed 's/^/| /' conftest.$ac_ext >&5
20512 ac_cv_type_size_t=no
20514 rm -f conftest.$ac_objext conftest.$ac_ext
20516 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20517 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20518 if test $ac_cv_type_size_t = yes; then
20522 cat >>confdefs.h <<_ACEOF
20523 #define size_t unsigned
20528 echo "$as_me:$LINENO: checking for int64_t" >&5
20529 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20530 if test "${ac_cv_type_int64_t+set}" = set; then
20531 echo $ECHO_N "(cached) $ECHO_C" >&6
20533 cat >conftest.$ac_ext <<_ACEOF
20534 #line $LINENO "configure"
20537 cat confdefs.h >>conftest.$ac_ext
20538 cat >>conftest.$ac_ext <<_ACEOF
20539 /* end confdefs.h. */
20540 $ac_includes_default
20546 if (sizeof (int64_t))
20552 rm -f conftest.$ac_objext
20553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20554 (eval $ac_compile) 2>&5
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); } &&
20558 { ac_try='test -s conftest.$ac_objext'
20559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20560 (eval $ac_try) 2>&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); }; }; then
20564 ac_cv_type_int64_t=yes
20566 echo "$as_me: failed program was:" >&5
20567 sed 's/^/| /' conftest.$ac_ext >&5
20569 ac_cv_type_int64_t=no
20571 rm -f conftest.$ac_objext conftest.$ac_ext
20573 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20574 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20575 if test $ac_cv_type_int64_t = yes; then
20577 cat >>confdefs.h <<_ACEOF
20578 #define HAVE_INT64_T 1
20583 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20584 echo "$as_me: error: Type int64_t required but not found" >&2;}
20585 { (exit 1); exit 1; }; }
20588 echo "$as_me:$LINENO: checking for uint64_t" >&5
20589 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20590 if test "${ac_cv_type_uint64_t+set}" = set; then
20591 echo $ECHO_N "(cached) $ECHO_C" >&6
20593 cat >conftest.$ac_ext <<_ACEOF
20594 #line $LINENO "configure"
20597 cat confdefs.h >>conftest.$ac_ext
20598 cat >>conftest.$ac_ext <<_ACEOF
20599 /* end confdefs.h. */
20600 $ac_includes_default
20604 if ((uint64_t *) 0)
20606 if (sizeof (uint64_t))
20612 rm -f conftest.$ac_objext
20613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20614 (eval $ac_compile) 2>&5
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); } &&
20618 { ac_try='test -s conftest.$ac_objext'
20619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20620 (eval $ac_try) 2>&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); }; }; then
20624 ac_cv_type_uint64_t=yes
20626 echo "$as_me: failed program was:" >&5
20627 sed 's/^/| /' conftest.$ac_ext >&5
20629 ac_cv_type_uint64_t=no
20631 rm -f conftest.$ac_objext conftest.$ac_ext
20633 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20634 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20635 if test $ac_cv_type_uint64_t = yes; then
20637 cat >>confdefs.h <<_ACEOF
20638 #define HAVE_UINT64_T 1
20643 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20644 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20645 { (exit 1); exit 1; }; }
20648 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20649 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20650 if test "${ac_cv_header_time+set}" = set; then
20651 echo $ECHO_N "(cached) $ECHO_C" >&6
20653 cat >conftest.$ac_ext <<_ACEOF
20654 #line $LINENO "configure"
20657 cat confdefs.h >>conftest.$ac_ext
20658 cat >>conftest.$ac_ext <<_ACEOF
20659 /* end confdefs.h. */
20660 #include <sys/types.h>
20661 #include <sys/time.h>
20667 if ((struct tm *) 0)
20673 rm -f conftest.$ac_objext
20674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20675 (eval $ac_compile) 2>&5
20677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678 (exit $ac_status); } &&
20679 { ac_try='test -s conftest.$ac_objext'
20680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20681 (eval $ac_try) 2>&5
20683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); }; }; then
20685 ac_cv_header_time=yes
20687 echo "$as_me: failed program was:" >&5
20688 sed 's/^/| /' conftest.$ac_ext >&5
20690 ac_cv_header_time=no
20692 rm -f conftest.$ac_objext conftest.$ac_ext
20694 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20695 echo "${ECHO_T}$ac_cv_header_time" >&6
20696 if test $ac_cv_header_time = yes; then
20698 cat >>confdefs.h <<\_ACEOF
20699 #define TIME_WITH_SYS_TIME 1
20704 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20705 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20706 if test "${ac_cv_struct_tm+set}" = set; then
20707 echo $ECHO_N "(cached) $ECHO_C" >&6
20709 cat >conftest.$ac_ext <<_ACEOF
20710 #line $LINENO "configure"
20713 cat confdefs.h >>conftest.$ac_ext
20714 cat >>conftest.$ac_ext <<_ACEOF
20715 /* end confdefs.h. */
20716 #include <sys/types.h>
20722 struct tm *tp; tp->tm_sec;
20727 rm -f conftest.$ac_objext
20728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20729 (eval $ac_compile) 2>&5
20731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20732 (exit $ac_status); } &&
20733 { ac_try='test -s conftest.$ac_objext'
20734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20735 (eval $ac_try) 2>&5
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); }; }; then
20739 ac_cv_struct_tm=time.h
20741 echo "$as_me: failed program was:" >&5
20742 sed 's/^/| /' conftest.$ac_ext >&5
20744 ac_cv_struct_tm=sys/time.h
20746 rm -f conftest.$ac_objext conftest.$ac_ext
20748 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20749 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20750 if test $ac_cv_struct_tm = sys/time.h; then
20752 cat >>confdefs.h <<\_ACEOF
20753 #define TM_IN_SYS_TIME 1
20759 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20760 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20761 if test "${ac_cv_cxx_namespaces+set}" = set; then
20762 echo $ECHO_N "(cached) $ECHO_C" >&6
20767 ac_cpp='$CXXCPP $CPPFLAGS'
20768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20772 cat >conftest.$ac_ext <<_ACEOF
20773 #line $LINENO "configure"
20776 cat confdefs.h >>conftest.$ac_ext
20777 cat >>conftest.$ac_ext <<_ACEOF
20778 /* end confdefs.h. */
20779 namespace Outer { namespace Inner { int i = 0; }}
20783 using namespace Outer::Inner; return i;
20788 rm -f conftest.$ac_objext
20789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20790 (eval $ac_compile) 2>&5
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); } &&
20794 { ac_try='test -s conftest.$ac_objext'
20795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20796 (eval $ac_try) 2>&5
20798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20799 (exit $ac_status); }; }; then
20800 ac_cv_cxx_namespaces=yes
20802 echo "$as_me: failed program was:" >&5
20803 sed 's/^/| /' conftest.$ac_ext >&5
20805 ac_cv_cxx_namespaces=no
20807 rm -f conftest.$ac_objext conftest.$ac_ext
20809 ac_cpp='$CPP $CPPFLAGS'
20810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20816 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20817 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20818 if test "$ac_cv_cxx_namespaces" = yes; then
20820 cat >>confdefs.h <<\_ACEOF
20821 #define HAVE_NAMESPACES
20826 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20827 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20828 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20829 echo $ECHO_N "(cached) $ECHO_C" >&6
20835 ac_cpp='$CXXCPP $CPPFLAGS'
20836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20840 cat >conftest.$ac_ext <<_ACEOF
20841 #line $LINENO "configure"
20844 cat confdefs.h >>conftest.$ac_ext
20845 cat >>conftest.$ac_ext <<_ACEOF
20846 /* end confdefs.h. */
20847 #include <ext/hash_map>
20848 #ifdef HAVE_NAMESPACES
20849 using namespace std;
20854 hash_map<int, int> t; return 0;
20859 rm -f conftest.$ac_objext
20860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20861 (eval $ac_compile) 2>&5
20863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864 (exit $ac_status); } &&
20865 { ac_try='test -s conftest.$ac_objext'
20866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20867 (eval $ac_try) 2>&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); }; }; then
20871 ac_cv_cxx_have_ext_hash_map=std
20873 echo "$as_me: failed program was:" >&5
20874 sed 's/^/| /' conftest.$ac_ext >&5
20876 ac_cv_cxx_have_ext_hash_map=no
20878 rm -f conftest.$ac_objext conftest.$ac_ext
20879 cat >conftest.$ac_ext <<_ACEOF
20880 #line $LINENO "configure"
20883 cat confdefs.h >>conftest.$ac_ext
20884 cat >>conftest.$ac_ext <<_ACEOF
20885 /* end confdefs.h. */
20886 #include <ext/hash_map>
20887 #ifdef HAVE_NAMESPACES
20888 using namespace __gnu_cxx;
20893 hash_map<int, int> t; return 0;
20898 rm -f conftest.$ac_objext
20899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20900 (eval $ac_compile) 2>&5
20902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903 (exit $ac_status); } &&
20904 { ac_try='test -s conftest.$ac_objext'
20905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20906 (eval $ac_try) 2>&5
20908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909 (exit $ac_status); }; }; then
20910 ac_cv_cxx_have_ext_hash_map=gnu
20912 echo "$as_me: failed program was:" >&5
20913 sed 's/^/| /' conftest.$ac_ext >&5
20915 ac_cv_cxx_have_ext_hash_map=no
20917 rm -f conftest.$ac_objext conftest.$ac_ext
20919 ac_cpp='$CPP $CPPFLAGS'
20920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20926 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20927 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20928 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20930 cat >>confdefs.h <<\_ACEOF
20931 #define HAVE_STD_EXT_HASH_MAP
20935 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20937 cat >>confdefs.h <<\_ACEOF
20938 #define HAVE_GNU_EXT_HASH_MAP
20943 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20944 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20945 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20946 echo $ECHO_N "(cached) $ECHO_C" >&6
20952 ac_cpp='$CXXCPP $CPPFLAGS'
20953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20957 cat >conftest.$ac_ext <<_ACEOF
20958 #line $LINENO "configure"
20961 cat confdefs.h >>conftest.$ac_ext
20962 cat >>conftest.$ac_ext <<_ACEOF
20963 /* end confdefs.h. */
20964 #include <ext/hash_set>
20965 #ifdef HAVE_NAMESPACES
20966 using namespace std;
20971 hash_set<int> t; return 0;
20976 rm -f conftest.$ac_objext
20977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20978 (eval $ac_compile) 2>&5
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); } &&
20982 { ac_try='test -s conftest.$ac_objext'
20983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20984 (eval $ac_try) 2>&5
20986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20987 (exit $ac_status); }; }; then
20988 ac_cv_cxx_have_ext_hash_set=std
20990 echo "$as_me: failed program was:" >&5
20991 sed 's/^/| /' conftest.$ac_ext >&5
20993 ac_cv_cxx_have_ext_hash_set=no
20995 rm -f conftest.$ac_objext conftest.$ac_ext
20996 cat >conftest.$ac_ext <<_ACEOF
20997 #line $LINENO "configure"
21000 cat confdefs.h >>conftest.$ac_ext
21001 cat >>conftest.$ac_ext <<_ACEOF
21002 /* end confdefs.h. */
21003 #include <ext/hash_set>
21004 #ifdef HAVE_NAMESPACES
21005 using namespace __gnu_cxx;
21010 hash_set<int> t; return 0;
21015 rm -f conftest.$ac_objext
21016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21017 (eval $ac_compile) 2>&5
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); } &&
21021 { ac_try='test -s conftest.$ac_objext'
21022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21023 (eval $ac_try) 2>&5
21025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026 (exit $ac_status); }; }; then
21027 ac_cv_cxx_have_ext_hash_set=gnu
21029 echo "$as_me: failed program was:" >&5
21030 sed 's/^/| /' conftest.$ac_ext >&5
21032 ac_cv_cxx_have_ext_hash_set=no
21034 rm -f conftest.$ac_objext conftest.$ac_ext
21036 ac_cpp='$CPP $CPPFLAGS'
21037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21043 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
21044 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
21045 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
21047 cat >>confdefs.h <<\_ACEOF
21048 #define HAVE_STD_EXT_HASH_SET
21052 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
21054 cat >>confdefs.h <<\_ACEOF
21055 #define HAVE_GNU_EXT_HASH_SET
21060 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
21061 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
21062 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
21063 echo $ECHO_N "(cached) $ECHO_C" >&6
21069 ac_cpp='$CXXCPP $CPPFLAGS'
21070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21074 cat >conftest.$ac_ext <<_ACEOF
21075 #line $LINENO "configure"
21078 cat confdefs.h >>conftest.$ac_ext
21079 cat >>conftest.$ac_ext <<_ACEOF
21080 /* end confdefs.h. */
21081 #include <ext/slist>
21082 #ifdef HAVE_NAMESPACES
21083 using namespace std;
21088 slist<int> s; return 0;
21093 rm -f conftest.$ac_objext
21094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21095 (eval $ac_compile) 2>&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); } &&
21099 { ac_try='test -s conftest.$ac_objext'
21100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21101 (eval $ac_try) 2>&5
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); }; }; then
21105 ac_cv_cxx_have_ext_slist=std
21107 echo "$as_me: failed program was:" >&5
21108 sed 's/^/| /' conftest.$ac_ext >&5
21110 ac_cv_cxx_have_ext_slist=no
21112 rm -f conftest.$ac_objext conftest.$ac_ext
21113 cat >conftest.$ac_ext <<_ACEOF
21114 #line $LINENO "configure"
21117 cat confdefs.h >>conftest.$ac_ext
21118 cat >>conftest.$ac_ext <<_ACEOF
21119 /* end confdefs.h. */
21120 #include <ext/slist>
21121 #ifdef HAVE_NAMESPACES
21122 using namespace __gnu_cxx;
21127 slist<int> s; return 0;
21132 rm -f conftest.$ac_objext
21133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21134 (eval $ac_compile) 2>&5
21136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21137 (exit $ac_status); } &&
21138 { ac_try='test -s conftest.$ac_objext'
21139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21140 (eval $ac_try) 2>&5
21142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143 (exit $ac_status); }; }; then
21144 ac_cv_cxx_have_ext_slist=gnu
21146 echo "$as_me: failed program was:" >&5
21147 sed 's/^/| /' conftest.$ac_ext >&5
21149 ac_cv_cxx_have_ext_slist=no
21151 rm -f conftest.$ac_objext conftest.$ac_ext
21154 ac_cpp='$CPP $CPPFLAGS'
21155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21161 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21162 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21163 if test "$ac_cv_cxx_have_ext_slist" = std; then
21165 cat >>confdefs.h <<\_ACEOF
21166 #define HAVE_EXT_SLIST std
21170 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21172 cat >>confdefs.h <<\_ACEOF
21173 #define HAVE_EXT_SLIST gnu
21178 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21179 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21180 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21181 echo $ECHO_N "(cached) $ECHO_C" >&6
21187 ac_cpp='$CXXCPP $CPPFLAGS'
21188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21192 cat >conftest.$ac_ext <<_ACEOF
21193 #line $LINENO "configure"
21196 cat confdefs.h >>conftest.$ac_ext
21197 cat >>conftest.$ac_ext <<_ACEOF
21198 /* end confdefs.h. */
21199 #include <iterator>
21200 #ifdef HAVE_NAMESPACES
21201 using namespace std;
21206 iterator<int,int,int> t; return 0;
21211 rm -f conftest.$ac_objext
21212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21213 (eval $ac_compile) 2>&5
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); } &&
21217 { ac_try='test -s conftest.$ac_objext'
21218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21219 (eval $ac_try) 2>&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); }; }; then
21223 ac_cv_cxx_have_std_iterator=yes
21225 echo "$as_me: failed program was:" >&5
21226 sed 's/^/| /' conftest.$ac_ext >&5
21228 ac_cv_cxx_have_std_iterator=no
21230 rm -f conftest.$ac_objext conftest.$ac_ext
21232 ac_cpp='$CPP $CPPFLAGS'
21233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21239 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21240 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21241 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21243 cat >>confdefs.h <<\_ACEOF
21244 #define HAVE_STD_ITERATOR
21249 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21250 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21251 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21252 echo $ECHO_N "(cached) $ECHO_C" >&6
21258 ac_cpp='$CXXCPP $CPPFLAGS'
21259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21263 cat >conftest.$ac_ext <<_ACEOF
21264 #line $LINENO "configure"
21267 cat confdefs.h >>conftest.$ac_ext
21268 cat >>conftest.$ac_ext <<_ACEOF
21269 /* end confdefs.h. */
21270 #include <iterator>
21271 #ifdef HAVE_NAMESPACES
21272 using namespace std;
21277 bidirectional_iterator<int,int> t; return 0;
21282 rm -f conftest.$ac_objext
21283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21284 (eval $ac_compile) 2>&5
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); } &&
21288 { ac_try='test -s conftest.$ac_objext'
21289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21290 (eval $ac_try) 2>&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); }; }; then
21294 ac_cv_cxx_have_bi_iterator=yes
21296 echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.$ac_ext >&5
21299 ac_cv_cxx_have_bi_iterator=no
21301 rm -f conftest.$ac_objext conftest.$ac_ext
21303 ac_cpp='$CPP $CPPFLAGS'
21304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21310 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21311 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21312 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21314 cat >>confdefs.h <<\_ACEOF
21315 #define HAVE_BI_ITERATOR
21320 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21321 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21322 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21323 echo $ECHO_N "(cached) $ECHO_C" >&6
21329 ac_cpp='$CXXCPP $CPPFLAGS'
21330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21334 cat >conftest.$ac_ext <<_ACEOF
21335 #line $LINENO "configure"
21338 cat confdefs.h >>conftest.$ac_ext
21339 cat >>conftest.$ac_ext <<_ACEOF
21340 /* end confdefs.h. */
21341 #include <iterator>
21342 #ifdef HAVE_NAMESPACES
21343 using namespace std;
21348 forward_iterator<int,int> t; return 0;
21353 rm -f conftest.$ac_objext
21354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21355 (eval $ac_compile) 2>&5
21357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21358 (exit $ac_status); } &&
21359 { ac_try='test -s conftest.$ac_objext'
21360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21361 (eval $ac_try) 2>&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); }; }; then
21365 ac_cv_cxx_have_fwd_iterator=yes
21367 echo "$as_me: failed program was:" >&5
21368 sed 's/^/| /' conftest.$ac_ext >&5
21370 ac_cv_cxx_have_fwd_iterator=no
21372 rm -f conftest.$ac_objext conftest.$ac_ext
21374 ac_cpp='$CPP $CPPFLAGS'
21375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21381 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21382 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21383 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21385 cat >>confdefs.h <<\_ACEOF
21386 #define HAVE_FWD_ITERATOR
21392 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21393 # for constant arguments. Useless!
21394 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21395 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21396 if test "${ac_cv_working_alloca_h+set}" = set; then
21397 echo $ECHO_N "(cached) $ECHO_C" >&6
21399 cat >conftest.$ac_ext <<_ACEOF
21400 #line $LINENO "configure"
21403 cat confdefs.h >>conftest.$ac_ext
21404 cat >>conftest.$ac_ext <<_ACEOF
21405 /* end confdefs.h. */
21406 #include <alloca.h>
21410 char *p = (char *) alloca (2 * sizeof (int));
21415 rm -f conftest.$ac_objext conftest$ac_exeext
21416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21417 (eval $ac_link) 2>&5
21419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21420 (exit $ac_status); } &&
21421 { ac_try='test -s conftest$ac_exeext'
21422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21423 (eval $ac_try) 2>&5
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); }; }; then
21427 ac_cv_working_alloca_h=yes
21429 echo "$as_me: failed program was:" >&5
21430 sed 's/^/| /' conftest.$ac_ext >&5
21432 ac_cv_working_alloca_h=no
21434 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21436 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21437 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21438 if test $ac_cv_working_alloca_h = yes; then
21440 cat >>confdefs.h <<\_ACEOF
21441 #define HAVE_ALLOCA_H 1
21446 echo "$as_me:$LINENO: checking for alloca" >&5
21447 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21448 if test "${ac_cv_func_alloca_works+set}" = set; then
21449 echo $ECHO_N "(cached) $ECHO_C" >&6
21451 cat >conftest.$ac_ext <<_ACEOF
21452 #line $LINENO "configure"
21455 cat confdefs.h >>conftest.$ac_ext
21456 cat >>conftest.$ac_ext <<_ACEOF
21457 /* end confdefs.h. */
21459 # define alloca __builtin_alloca
21462 # include <malloc.h>
21463 # define alloca _alloca
21466 # include <alloca.h>
21471 # ifndef alloca /* predefined by HP cc +Olibcalls */
21482 char *p = (char *) alloca (1);
21487 rm -f conftest.$ac_objext conftest$ac_exeext
21488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21489 (eval $ac_link) 2>&5
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); } &&
21493 { ac_try='test -s conftest$ac_exeext'
21494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21495 (eval $ac_try) 2>&5
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); }; }; then
21499 ac_cv_func_alloca_works=yes
21501 echo "$as_me: failed program was:" >&5
21502 sed 's/^/| /' conftest.$ac_ext >&5
21504 ac_cv_func_alloca_works=no
21506 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21508 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21509 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21511 if test $ac_cv_func_alloca_works = yes; then
21513 cat >>confdefs.h <<\_ACEOF
21514 #define HAVE_ALLOCA 1
21518 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21519 # that cause trouble. Some versions do not even contain alloca or
21520 # contain a buggy version. If you still want to use their alloca,
21521 # use ar to extract alloca.o from them instead of compiling alloca.c.
21523 ALLOCA=alloca.$ac_objext
21525 cat >>confdefs.h <<\_ACEOF
21530 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21531 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21532 if test "${ac_cv_os_cray+set}" = set; then
21533 echo $ECHO_N "(cached) $ECHO_C" >&6
21535 cat >conftest.$ac_ext <<_ACEOF
21536 #line $LINENO "configure"
21539 cat confdefs.h >>conftest.$ac_ext
21540 cat >>conftest.$ac_ext <<_ACEOF
21541 /* end confdefs.h. */
21542 #if defined(CRAY) && ! defined(CRAY2)
21549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21550 $EGREP "webecray" >/dev/null 2>&1; then
21558 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21559 echo "${ECHO_T}$ac_cv_os_cray" >&6
21560 if test $ac_cv_os_cray = yes; then
21561 for ac_func in _getb67 GETB67 getb67; do
21562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21563 echo "$as_me:$LINENO: checking for $ac_func" >&5
21564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21565 if eval "test \"\${$as_ac_var+set}\" = set"; then
21566 echo $ECHO_N "(cached) $ECHO_C" >&6
21568 cat >conftest.$ac_ext <<_ACEOF
21569 #line $LINENO "configure"
21572 cat confdefs.h >>conftest.$ac_ext
21573 cat >>conftest.$ac_ext <<_ACEOF
21574 /* end confdefs.h. */
21575 /* System header to define __stub macros and hopefully few prototypes,
21576 which can conflict with char $ac_func (); below.
21577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21578 <limits.h> exists even on freestanding compilers. */
21580 # include <limits.h>
21582 # include <assert.h>
21584 /* Override any gcc2 internal prototype to avoid an error. */
21589 /* We use char because int might match the return type of a gcc2
21590 builtin and then its argument prototype would still apply. */
21592 /* The GNU C library defines this for functions which it implements
21593 to always fail with ENOSYS. Some functions are actually named
21594 something starting with __ and the normal name is an alias. */
21595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21598 char (*f) () = $ac_func;
21607 return f != $ac_func;
21612 rm -f conftest.$ac_objext conftest$ac_exeext
21613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21614 (eval $ac_link) 2>&5
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); } &&
21618 { ac_try='test -s conftest$ac_exeext'
21619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21620 (eval $ac_try) 2>&5
21622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21623 (exit $ac_status); }; }; then
21624 eval "$as_ac_var=yes"
21626 echo "$as_me: failed program was:" >&5
21627 sed 's/^/| /' conftest.$ac_ext >&5
21629 eval "$as_ac_var=no"
21631 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21635 if test `eval echo '${'$as_ac_var'}'` = yes; then
21637 cat >>confdefs.h <<_ACEOF
21638 #define CRAY_STACKSEG_END $ac_func
21647 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21648 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21649 if test "${ac_cv_c_stack_direction+set}" = set; then
21650 echo $ECHO_N "(cached) $ECHO_C" >&6
21652 if test "$cross_compiling" = yes; then
21653 ac_cv_c_stack_direction=0
21655 cat >conftest.$ac_ext <<_ACEOF
21656 #line $LINENO "configure"
21659 cat confdefs.h >>conftest.$ac_ext
21660 cat >>conftest.$ac_ext <<_ACEOF
21661 /* end confdefs.h. */
21663 find_stack_direction ()
21665 static char *addr = 0;
21670 return find_stack_direction ();
21673 return (&dummy > addr) ? 1 : -1;
21679 exit (find_stack_direction () < 0);
21682 rm -f conftest$ac_exeext
21683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21684 (eval $ac_link) 2>&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21689 (eval $ac_try) 2>&5
21691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21692 (exit $ac_status); }; }; then
21693 ac_cv_c_stack_direction=1
21695 echo "$as_me: program exited with status $ac_status" >&5
21696 echo "$as_me: failed program was:" >&5
21697 sed 's/^/| /' conftest.$ac_ext >&5
21699 ( exit $ac_status )
21700 ac_cv_c_stack_direction=-1
21702 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21705 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21706 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21708 cat >>confdefs.h <<_ACEOF
21709 #define STACK_DIRECTION $ac_cv_c_stack_direction
21715 if test $ac_cv_c_compiler_gnu = yes; then
21716 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21717 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21718 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21719 echo $ECHO_N "(cached) $ECHO_C" >&6
21721 ac_pattern="Autoconf.*'x'"
21722 cat >conftest.$ac_ext <<_ACEOF
21723 #line $LINENO "configure"
21726 cat confdefs.h >>conftest.$ac_ext
21727 cat >>conftest.$ac_ext <<_ACEOF
21728 /* end confdefs.h. */
21732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21733 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21734 ac_cv_prog_gcc_traditional=yes
21736 ac_cv_prog_gcc_traditional=no
21741 if test $ac_cv_prog_gcc_traditional = no; then
21742 cat >conftest.$ac_ext <<_ACEOF
21743 #line $LINENO "configure"
21746 cat confdefs.h >>conftest.$ac_ext
21747 cat >>conftest.$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21749 #include <termio.h>
21752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21753 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21754 ac_cv_prog_gcc_traditional=yes
21760 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21761 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21762 if test $ac_cv_prog_gcc_traditional = yes; then
21763 CC="$CC -traditional"
21767 echo "$as_me:$LINENO: checking for working memcmp" >&5
21768 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21769 if test "${ac_cv_func_memcmp_working+set}" = set; then
21770 echo $ECHO_N "(cached) $ECHO_C" >&6
21772 if test "$cross_compiling" = yes; then
21773 ac_cv_func_memcmp_working=no
21775 cat >conftest.$ac_ext <<_ACEOF
21776 #line $LINENO "configure"
21779 cat confdefs.h >>conftest.$ac_ext
21780 cat >>conftest.$ac_ext <<_ACEOF
21781 /* end confdefs.h. */
21787 /* Some versions of memcmp are not 8-bit clean. */
21788 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21789 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21792 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21793 or more and with at least one buffer not starting on a 4-byte boundary.
21794 William Lewis provided this test program. */
21799 for (i = 0; i < 4; i++)
21803 strcpy (a, "--------01111111");
21804 strcpy (b, "--------10000000");
21805 if (memcmp (a, b, 16) >= 0)
21815 rm -f conftest$ac_exeext
21816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21817 (eval $ac_link) 2>&5
21819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21820 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21822 (eval $ac_try) 2>&5
21824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21825 (exit $ac_status); }; }; then
21826 ac_cv_func_memcmp_working=yes
21828 echo "$as_me: program exited with status $ac_status" >&5
21829 echo "$as_me: failed program was:" >&5
21830 sed 's/^/| /' conftest.$ac_ext >&5
21832 ( exit $ac_status )
21833 ac_cv_func_memcmp_working=no
21835 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21838 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21839 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21840 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21844 for ac_header in stdlib.h unistd.h
21846 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21848 echo "$as_me:$LINENO: checking for $ac_header" >&5
21849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21851 echo $ECHO_N "(cached) $ECHO_C" >&6
21853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21854 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21856 # Is the header compilable?
21857 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21858 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21859 cat >conftest.$ac_ext <<_ACEOF
21860 #line $LINENO "configure"
21863 cat confdefs.h >>conftest.$ac_ext
21864 cat >>conftest.$ac_ext <<_ACEOF
21865 /* end confdefs.h. */
21866 $ac_includes_default
21867 #include <$ac_header>
21869 rm -f conftest.$ac_objext
21870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21871 (eval $ac_compile) 2>&5
21873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21874 (exit $ac_status); } &&
21875 { ac_try='test -s conftest.$ac_objext'
21876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21877 (eval $ac_try) 2>&5
21879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21880 (exit $ac_status); }; }; then
21881 ac_header_compiler=yes
21883 echo "$as_me: failed program was:" >&5
21884 sed 's/^/| /' conftest.$ac_ext >&5
21886 ac_header_compiler=no
21888 rm -f conftest.$ac_objext conftest.$ac_ext
21889 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21890 echo "${ECHO_T}$ac_header_compiler" >&6
21892 # Is the header present?
21893 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21894 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21895 cat >conftest.$ac_ext <<_ACEOF
21896 #line $LINENO "configure"
21899 cat confdefs.h >>conftest.$ac_ext
21900 cat >>conftest.$ac_ext <<_ACEOF
21901 /* end confdefs.h. */
21902 #include <$ac_header>
21904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21905 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21907 grep -v '^ *+' conftest.er1 >conftest.err
21909 cat conftest.err >&5
21910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21911 (exit $ac_status); } >/dev/null; then
21912 if test -s conftest.err; then
21913 ac_cpp_err=$ac_c_preproc_warn_flag
21920 if test -z "$ac_cpp_err"; then
21921 ac_header_preproc=yes
21923 echo "$as_me: failed program was:" >&5
21924 sed 's/^/| /' conftest.$ac_ext >&5
21926 ac_header_preproc=no
21928 rm -f conftest.err conftest.$ac_ext
21929 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21930 echo "${ECHO_T}$ac_header_preproc" >&6
21932 # So? What about this header?
21933 case $ac_header_compiler:$ac_header_preproc in
21935 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21936 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21938 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21941 ## ------------------------------------ ##
21942 ## Report this to bug-autoconf@gnu.org. ##
21943 ## ------------------------------------ ##
21946 sed "s/^/$as_me: WARNING: /" >&2
21949 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21950 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21951 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21952 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21954 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21957 ## ------------------------------------ ##
21958 ## Report this to bug-autoconf@gnu.org. ##
21959 ## ------------------------------------ ##
21962 sed "s/^/$as_me: WARNING: /" >&2
21965 echo "$as_me:$LINENO: checking for $ac_header" >&5
21966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21968 echo $ECHO_N "(cached) $ECHO_C" >&6
21970 eval "$as_ac_Header=$ac_header_preproc"
21972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21976 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21977 cat >>confdefs.h <<_ACEOF
21978 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21986 for ac_func in getpagesize
21988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21989 echo "$as_me:$LINENO: checking for $ac_func" >&5
21990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21991 if eval "test \"\${$as_ac_var+set}\" = set"; then
21992 echo $ECHO_N "(cached) $ECHO_C" >&6
21994 cat >conftest.$ac_ext <<_ACEOF
21995 #line $LINENO "configure"
21998 cat confdefs.h >>conftest.$ac_ext
21999 cat >>conftest.$ac_ext <<_ACEOF
22000 /* end confdefs.h. */
22001 /* System header to define __stub macros and hopefully few prototypes,
22002 which can conflict with char $ac_func (); below.
22003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22004 <limits.h> exists even on freestanding compilers. */
22006 # include <limits.h>
22008 # include <assert.h>
22010 /* Override any gcc2 internal prototype to avoid an error. */
22015 /* We use char because int might match the return type of a gcc2
22016 builtin and then its argument prototype would still apply. */
22018 /* The GNU C library defines this for functions which it implements
22019 to always fail with ENOSYS. Some functions are actually named
22020 something starting with __ and the normal name is an alias. */
22021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22024 char (*f) () = $ac_func;
22033 return f != $ac_func;
22038 rm -f conftest.$ac_objext conftest$ac_exeext
22039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22040 (eval $ac_link) 2>&5
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); } &&
22044 { ac_try='test -s conftest$ac_exeext'
22045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22046 (eval $ac_try) 2>&5
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); }; }; then
22050 eval "$as_ac_var=yes"
22052 echo "$as_me: failed program was:" >&5
22053 sed 's/^/| /' conftest.$ac_ext >&5
22055 eval "$as_ac_var=no"
22057 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22061 if test `eval echo '${'$as_ac_var'}'` = yes; then
22062 cat >>confdefs.h <<_ACEOF
22063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22069 echo "$as_me:$LINENO: checking for working mmap" >&5
22070 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22071 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22072 echo $ECHO_N "(cached) $ECHO_C" >&6
22074 if test "$cross_compiling" = yes; then
22075 ac_cv_func_mmap_fixed_mapped=no
22077 cat >conftest.$ac_ext <<_ACEOF
22078 #line $LINENO "configure"
22081 cat confdefs.h >>conftest.$ac_ext
22082 cat >>conftest.$ac_ext <<_ACEOF
22083 /* end confdefs.h. */
22084 $ac_includes_default
22085 /* malloc might have been renamed as rpl_malloc. */
22088 /* Thanks to Mike Haertel and Jim Avera for this test.
22089 Here is a matrix of mmap possibilities:
22090 mmap private not fixed
22091 mmap private fixed at somewhere currently unmapped
22092 mmap private fixed at somewhere already mapped
22093 mmap shared not fixed
22094 mmap shared fixed at somewhere currently unmapped
22095 mmap shared fixed at somewhere already mapped
22096 For private mappings, we should verify that changes cannot be read()
22097 back from the file, nor mmap's back from the file at a different
22098 address. (There have been systems where private was not correctly
22099 implemented like the infamous i386 svr4.0, and systems where the
22100 VM page cache was not coherent with the file system buffer cache
22101 like early versions of FreeBSD and possibly contemporary NetBSD.)
22102 For shared mappings, we should conversely verify that changes get
22103 propagated back to all the places they're supposed to be.
22105 Grep wants private fixed already mapped.
22106 The main things grep needs to know about mmap are:
22107 * does it exist and is it safe to write into the mmap'd area
22108 * how to use it (BSD variants) */
22111 #include <sys/mman.h>
22113 #if !STDC_HEADERS && !HAVE_STDLIB_H
22117 /* This mess was copied from the GNU getpagesize.h. */
22118 #if !HAVE_GETPAGESIZE
22119 /* Assume that all systems that can run configure have sys/param.h. */
22120 # if !HAVE_SYS_PARAM_H
22121 # define HAVE_SYS_PARAM_H 1
22124 # ifdef _SC_PAGESIZE
22125 # define getpagesize() sysconf(_SC_PAGESIZE)
22126 # else /* no _SC_PAGESIZE */
22127 # if HAVE_SYS_PARAM_H
22128 # include <sys/param.h>
22129 # ifdef EXEC_PAGESIZE
22130 # define getpagesize() EXEC_PAGESIZE
22131 # else /* no EXEC_PAGESIZE */
22133 # define getpagesize() NBPG * CLSIZE
22136 # endif /* no CLSIZE */
22137 # else /* no NBPG */
22139 # define getpagesize() NBPC
22140 # else /* no NBPC */
22142 # define getpagesize() PAGESIZE
22143 # endif /* PAGESIZE */
22144 # endif /* no NBPC */
22145 # endif /* no NBPG */
22146 # endif /* no EXEC_PAGESIZE */
22147 # else /* no HAVE_SYS_PARAM_H */
22148 # define getpagesize() 8192 /* punt totally */
22149 # endif /* no HAVE_SYS_PARAM_H */
22150 # endif /* no _SC_PAGESIZE */
22152 #endif /* no HAVE_GETPAGESIZE */
22157 char *data, *data2, *data3;
22161 pagesize = getpagesize ();
22163 /* First, make a file with some known garbage in it. */
22164 data = (char *) malloc (pagesize);
22167 for (i = 0; i < pagesize; ++i)
22168 *(data + i) = rand ();
22170 fd = creat ("conftest.mmap", 0600);
22173 if (write (fd, data, pagesize) != pagesize)
22177 /* Next, try to mmap the file at a fixed address which already has
22178 something else allocated at it. If we can, also make sure that
22179 we see the same garbage. */
22180 fd = open ("conftest.mmap", O_RDWR);
22183 data2 = (char *) malloc (2 * pagesize);
22186 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22187 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22188 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22190 for (i = 0; i < pagesize; ++i)
22191 if (*(data + i) != *(data2 + i))
22194 /* Finally, make sure that changes to the mapped area do not
22195 percolate back to the file as seen by read(). (This is a bug on
22196 some variants of i386 svr4.0.) */
22197 for (i = 0; i < pagesize; ++i)
22198 *(data2 + i) = *(data2 + i) + 1;
22199 data3 = (char *) malloc (pagesize);
22202 if (read (fd, data3, pagesize) != pagesize)
22204 for (i = 0; i < pagesize; ++i)
22205 if (*(data + i) != *(data3 + i))
22211 rm -f conftest$ac_exeext
22212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22213 (eval $ac_link) 2>&5
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22218 (eval $ac_try) 2>&5
22220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22221 (exit $ac_status); }; }; then
22222 ac_cv_func_mmap_fixed_mapped=yes
22224 echo "$as_me: program exited with status $ac_status" >&5
22225 echo "$as_me: failed program was:" >&5
22226 sed 's/^/| /' conftest.$ac_ext >&5
22228 ( exit $ac_status )
22229 ac_cv_func_mmap_fixed_mapped=no
22231 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22234 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22235 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22236 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22238 cat >>confdefs.h <<\_ACEOF
22239 #define HAVE_MMAP 1
22243 rm -f conftest.mmap
22245 echo "$as_me:$LINENO: checking for mmap of files" >&5
22246 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22247 if test "${ac_cv_func_mmap_file+set}" = set; then
22248 echo $ECHO_N "(cached) $ECHO_C" >&6
22253 ac_cpp='$CPP $CPPFLAGS'
22254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22258 if test "$cross_compiling" = yes; then
22259 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22260 See \`config.log' for more details." >&5
22261 echo "$as_me: error: cannot run test program while cross compiling
22262 See \`config.log' for more details." >&2;}
22263 { (exit 1); exit 1; }; }
22265 cat >conftest.$ac_ext <<_ACEOF
22266 #line $LINENO "configure"
22269 cat confdefs.h >>conftest.$ac_ext
22270 cat >>conftest.$ac_ext <<_ACEOF
22271 /* end confdefs.h. */
22273 #ifdef HAVE_SYS_MMAN_H
22274 #include <sys/mman.h>
22277 #ifdef HAVE_SYS_TYPES_H
22278 #include <sys/types.h>
22281 #ifdef HAVE_FCNTL_H
22287 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22289 rm -f conftest$ac_exeext
22290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22291 (eval $ac_link) 2>&5
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22296 (eval $ac_try) 2>&5
22298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299 (exit $ac_status); }; }; then
22300 ac_cv_func_mmap_file=yes
22302 echo "$as_me: program exited with status $ac_status" >&5
22303 echo "$as_me: failed program was:" >&5
22304 sed 's/^/| /' conftest.$ac_ext >&5
22306 ( exit $ac_status )
22307 ac_cv_func_mmap_file=no
22309 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22312 ac_cpp='$CPP $CPPFLAGS'
22313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22319 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22320 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22321 if test "$ac_cv_func_mmap_file" = yes; then
22322 cat >>confdefs.h <<\_ACEOF
22323 #define HAVE_MMAP_FILE 1
22330 if test ${ac_cv_func_mmap_file} = "no"
22332 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22333 echo "$as_me: error: mmap() of files required but not found" >&2;}
22334 { (exit 1); exit 1; }; }
22336 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22337 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22338 if test "${ac_cv_header_mmap_anon+set}" = set; then
22339 echo $ECHO_N "(cached) $ECHO_C" >&6
22344 ac_cpp='$CPP $CPPFLAGS'
22345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22349 cat >conftest.$ac_ext <<_ACEOF
22350 #line $LINENO "configure"
22353 cat confdefs.h >>conftest.$ac_ext
22354 cat >>conftest.$ac_ext <<_ACEOF
22355 /* end confdefs.h. */
22356 #include <sys/mman.h>
22357 #include <unistd.h>
22362 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22367 rm -f conftest.$ac_objext
22368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22369 (eval $ac_compile) 2>&5
22371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22372 (exit $ac_status); } &&
22373 { ac_try='test -s conftest.$ac_objext'
22374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22375 (eval $ac_try) 2>&5
22377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378 (exit $ac_status); }; }; then
22379 ac_cv_header_mmap_anon=yes
22381 echo "$as_me: failed program was:" >&5
22382 sed 's/^/| /' conftest.$ac_ext >&5
22384 ac_cv_header_mmap_anon=no
22386 rm -f conftest.$ac_objext conftest.$ac_ext
22388 ac_cpp='$CPP $CPPFLAGS'
22389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22395 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22396 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22397 if test "$ac_cv_header_mmap_anon" = yes; then
22398 cat >>confdefs.h <<\_ACEOF
22399 #define HAVE_MMAP_ANONYMOUS 1
22404 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22405 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22406 if test "${ac_cv_type_signal+set}" = set; then
22407 echo $ECHO_N "(cached) $ECHO_C" >&6
22409 cat >conftest.$ac_ext <<_ACEOF
22410 #line $LINENO "configure"
22413 cat confdefs.h >>conftest.$ac_ext
22414 cat >>conftest.$ac_ext <<_ACEOF
22415 /* end confdefs.h. */
22416 #include <sys/types.h>
22417 #include <signal.h>
22422 extern "C" void (*signal (int, void (*)(int)))(int);
22424 void (*signal ()) ();
22435 rm -f conftest.$ac_objext
22436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22437 (eval $ac_compile) 2>&5
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); } &&
22441 { ac_try='test -s conftest.$ac_objext'
22442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22443 (eval $ac_try) 2>&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); }; }; then
22447 ac_cv_type_signal=void
22449 echo "$as_me: failed program was:" >&5
22450 sed 's/^/| /' conftest.$ac_ext >&5
22452 ac_cv_type_signal=int
22454 rm -f conftest.$ac_objext conftest.$ac_ext
22456 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22457 echo "${ECHO_T}$ac_cv_type_signal" >&6
22459 cat >>confdefs.h <<_ACEOF
22460 #define RETSIGTYPE $ac_cv_type_signal
22473 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
22475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22476 echo "$as_me:$LINENO: checking for $ac_func" >&5
22477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22478 if eval "test \"\${$as_ac_var+set}\" = set"; then
22479 echo $ECHO_N "(cached) $ECHO_C" >&6
22481 cat >conftest.$ac_ext <<_ACEOF
22482 #line $LINENO "configure"
22485 cat confdefs.h >>conftest.$ac_ext
22486 cat >>conftest.$ac_ext <<_ACEOF
22487 /* end confdefs.h. */
22488 /* System header to define __stub macros and hopefully few prototypes,
22489 which can conflict with char $ac_func (); below.
22490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22491 <limits.h> exists even on freestanding compilers. */
22493 # include <limits.h>
22495 # include <assert.h>
22497 /* Override any gcc2 internal prototype to avoid an error. */
22502 /* We use char because int might match the return type of a gcc2
22503 builtin and then its argument prototype would still apply. */
22505 /* The GNU C library defines this for functions which it implements
22506 to always fail with ENOSYS. Some functions are actually named
22507 something starting with __ and the normal name is an alias. */
22508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22511 char (*f) () = $ac_func;
22520 return f != $ac_func;
22525 rm -f conftest.$ac_objext conftest$ac_exeext
22526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22527 (eval $ac_link) 2>&5
22529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22530 (exit $ac_status); } &&
22531 { ac_try='test -s conftest$ac_exeext'
22532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22533 (eval $ac_try) 2>&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); }; }; then
22537 eval "$as_ac_var=yes"
22539 echo "$as_me: failed program was:" >&5
22540 sed 's/^/| /' conftest.$ac_ext >&5
22542 eval "$as_ac_var=no"
22544 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22548 if test `eval echo '${'$as_ac_var'}'` = yes; then
22549 cat >>confdefs.h <<_ACEOF
22550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22558 echo "$as_me:$LINENO: checking for mmap" >&5
22559 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22560 if test "${ac_cv_func_mmap+set}" = set; then
22561 echo $ECHO_N "(cached) $ECHO_C" >&6
22563 cat >conftest.$ac_ext <<_ACEOF
22564 #line $LINENO "configure"
22567 cat confdefs.h >>conftest.$ac_ext
22568 cat >>conftest.$ac_ext <<_ACEOF
22569 /* end confdefs.h. */
22570 /* System header to define __stub macros and hopefully few prototypes,
22571 which can conflict with char mmap (); below.
22572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22573 <limits.h> exists even on freestanding compilers. */
22575 # include <limits.h>
22577 # include <assert.h>
22579 /* Override any gcc2 internal prototype to avoid an error. */
22584 /* We use char because int might match the return type of a gcc2
22585 builtin and then its argument prototype would still apply. */
22587 /* The GNU C library defines this for functions which it implements
22588 to always fail with ENOSYS. Some functions are actually named
22589 something starting with __ and the normal name is an alias. */
22590 #if defined (__stub_mmap) || defined (__stub___mmap)
22593 char (*f) () = mmap;
22607 rm -f conftest.$ac_objext conftest$ac_exeext
22608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22609 (eval $ac_link) 2>&5
22611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612 (exit $ac_status); } &&
22613 { ac_try='test -s conftest$ac_exeext'
22614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22615 (eval $ac_try) 2>&5
22617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22618 (exit $ac_status); }; }; then
22619 ac_cv_func_mmap=yes
22621 echo "$as_me: failed program was:" >&5
22622 sed 's/^/| /' conftest.$ac_ext >&5
22626 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22628 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22629 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22630 if test $ac_cv_func_mmap = yes; then
22633 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22634 echo "$as_me: error: Function mmap() required but not found" >&2;}
22635 { (exit 1); exit 1; }; }
22638 echo "$as_me:$LINENO: checking for mprotect" >&5
22639 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22640 if test "${ac_cv_func_mprotect+set}" = set; then
22641 echo $ECHO_N "(cached) $ECHO_C" >&6
22643 cat >conftest.$ac_ext <<_ACEOF
22644 #line $LINENO "configure"
22647 cat confdefs.h >>conftest.$ac_ext
22648 cat >>conftest.$ac_ext <<_ACEOF
22649 /* end confdefs.h. */
22650 /* System header to define __stub macros and hopefully few prototypes,
22651 which can conflict with char mprotect (); below.
22652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22653 <limits.h> exists even on freestanding compilers. */
22655 # include <limits.h>
22657 # include <assert.h>
22659 /* Override any gcc2 internal prototype to avoid an error. */
22664 /* We use char because int might match the return type of a gcc2
22665 builtin and then its argument prototype would still apply. */
22667 /* The GNU C library defines this for functions which it implements
22668 to always fail with ENOSYS. Some functions are actually named
22669 something starting with __ and the normal name is an alias. */
22670 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22673 char (*f) () = mprotect;
22682 return f != mprotect;
22687 rm -f conftest.$ac_objext conftest$ac_exeext
22688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22689 (eval $ac_link) 2>&5
22691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22692 (exit $ac_status); } &&
22693 { ac_try='test -s conftest$ac_exeext'
22694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22695 (eval $ac_try) 2>&5
22697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22698 (exit $ac_status); }; }; then
22699 ac_cv_func_mprotect=yes
22701 echo "$as_me: failed program was:" >&5
22702 sed 's/^/| /' conftest.$ac_ext >&5
22704 ac_cv_func_mprotect=no
22706 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22708 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22709 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22710 if test $ac_cv_func_mprotect = yes; then
22713 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22714 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22715 { (exit 1); exit 1; }; }
22720 # Check whether --enable-purify or --disable-purify was given.
22721 if test "${enable_purify+set}" = set; then
22722 enableval="$enable_purify"
22727 if test ${enableval} = "no"
22732 ENABLE_PURIFY=ENABLE_PURIFY=1
22736 # Check whether --enable-optimized or --disable-optimized was given.
22737 if test "${enable_optimized+set}" = set; then
22738 enableval="$enable_optimized"
22743 if test ${enableval} = "no"
22748 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22752 # Check whether --enable-spec or --disable-spec was given.
22753 if test "${enable_spec+set}" = set; then
22754 enableval="$enable_spec"
22759 if test ${enableval} = "no"
22764 USE_SPEC=USE_SPEC=1
22768 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22769 if test "${enable_precompiled_bytecode+set}" = set; then
22770 enableval="$enable_precompiled_bytecode"
22775 if test ${enableval} = "no"
22780 UPB=USE_PRECOMPILED_BYTECODE=1
22785 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22786 if test "${enable_llc_diffs+set}" = set; then
22787 enableval="$enable_llc_diffs"
22792 if test ${enableval} = "no"
22794 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22801 # Check whether --enable-jit or --disable-jit was given.
22802 if test "${enable_jit+set}" = set; then
22803 enableval="$enable_jit"
22809 if test ${enableval} = "no"
22816 JIT=TARGET_HAS_JIT=1
22820 JIT=TARGET_HAS_JIT=1
22832 # Check whether --with-spec or --without-spec was given.
22833 if test "${with_spec+set}" = set; then
22834 withval="$with_spec"
22838 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22843 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22844 if test "${with_llvmgccdir+set}" = set; then
22845 withval="$with_llvmgccdir"
22846 LLVMGCCDIR=$withval
22851 # Check whether --with-bcrepos or --without-bcrepos was given.
22852 if test "${with_bcrepos+set}" = set; then
22853 withval="$with_bcrepos"
22857 BCR=/home/vadve/lattner/LLVMPrograms
22862 # Check whether --with-papi or --without-papi was given.
22863 if test "${with_papi+set}" = set; then
22864 withval="$with_papi"
22868 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22873 # Check whether --with-purify or --without-purify was given.
22874 if test "${with_purify+set}" = set; then
22875 withval="$with_purify"
22881 ac_config_files="$ac_config_files Makefile.config"
22882 cat >confcache <<\_ACEOF
22883 # This file is a shell script that caches the results of configure
22884 # tests run on this system so they can be shared between configure
22885 # scripts and configure runs, see configure's option --config-cache.
22886 # It is not useful on other systems. If it contains results you don't
22887 # want to keep, you may remove or edit it.
22889 # config.status only pays attention to the cache file if you give it
22890 # the --recheck option to rerun configure.
22892 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22893 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22894 # following values.
22898 # The following way of writing the cache mishandles newlines in values,
22899 # but we know of no workaround that is simple, portable, and efficient.
22900 # So, don't put newlines in cache variables' values.
22901 # Ultrix sh set writes to stderr and can't be redirected directly,
22902 # and sets the high bit in the cache file unless we assign to the vars.
22905 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22907 # `set' does not quote correctly, so add quotes (double-quote
22908 # substitution turns \\\\ into \\, and sed turns \\ into \).
22911 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22914 # `set' quotes correctly as required by POSIX, so do not add quotes.
22916 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22923 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22925 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22927 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22928 if test -w $cache_file; then
22929 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22930 cat confcache >$cache_file
22932 echo "not updating unwritable cache $cache_file"
22937 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22938 # Let make expand exec_prefix.
22939 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22941 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22942 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22943 # trailing colons and then remove the whole line if VPATH becomes empty
22944 # (actually we leave an empty line to preserve line numbers).
22945 if test "x$srcdir" = x.; then
22946 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22947 s/:*\$(srcdir):*/:/;
22948 s/:*\${srcdir}:*/:/;
22950 s/^\([^=]*=[ ]*\):*/\1/;
22956 DEFS=-DHAVE_CONFIG_H
22960 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22961 # 1. Remove the extension, and $U if already installed.
22962 ac_i=`echo "$ac_i" |
22963 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22965 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22966 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22968 LIBOBJS=$ac_libobjs
22970 LTLIBOBJS=$ac_ltlibobjs
22974 : ${CONFIG_STATUS=./config.status}
22975 ac_clean_files_save=$ac_clean_files
22976 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22977 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22978 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22979 cat >$CONFIG_STATUS <<_ACEOF
22981 # Generated by $as_me.
22982 # Run this file to recreate the current configuration.
22983 # Compiler output produced by configure, useful for debugging
22984 # configure, is in config.log if it exists.
22987 ac_cs_recheck=false
22989 SHELL=\${CONFIG_SHELL-$SHELL}
22992 cat >>$CONFIG_STATUS <<\_ACEOF
22993 ## --------------------- ##
22994 ## M4sh Initialization. ##
22995 ## --------------------- ##
22997 # Be Bourne compatible
22998 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23001 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23002 # is contrary to our usage. Disable this feature.
23003 alias -g '${1+"$@"}'='"$@"'
23004 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23008 # Support unset when possible.
23009 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
23016 # Work around bugs in pre-3.0 UWIN ksh.
23017 $as_unset ENV MAIL MAILPATH
23024 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23025 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23026 LC_TELEPHONE LC_TIME
23028 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
23029 eval $as_var=C; export $as_var
23035 # Required to use basename.
23036 if expr a : '\(a\)' >/dev/null 2>&1; then
23042 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23043 as_basename=basename
23049 # Name of the executable.
23050 as_me=`$as_basename "$0" ||
23051 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23052 X"$0" : 'X\(//\)$' \| \
23053 X"$0" : 'X\(/\)$' \| \
23054 . : '\(.\)' 2>/dev/null ||
23056 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23057 /^X\/\(\/\/\)$/{ s//\1/; q; }
23058 /^X\/\(\/\).*/{ s//\1/; q; }
23062 # PATH needs CR, and LINENO needs CR and PATH.
23063 # Avoid depending upon Character Ranges.
23064 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23065 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23066 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23067 as_cr_digits='0123456789'
23068 as_cr_alnum=$as_cr_Letters$as_cr_digits
23070 # The user is always right.
23071 if test "${PATH_SEPARATOR+set}" != set; then
23072 echo "#! /bin/sh" >conf$$.sh
23073 echo "exit 0" >>conf$$.sh
23075 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23084 as_lineno_1=$LINENO
23085 as_lineno_2=$LINENO
23086 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23087 test "x$as_lineno_1" != "x$as_lineno_2" &&
23088 test "x$as_lineno_3" = "x$as_lineno_2" || {
23089 # Find who we are. Look in the path if we contain no path at all
23092 *[\\/]* ) as_myself=$0 ;;
23093 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23094 for as_dir in $PATH
23097 test -z "$as_dir" && as_dir=.
23098 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23103 # We did not find ourselves, most probably we were run as `sh COMMAND'
23104 # in which case we are not to be found in the path.
23105 if test "x$as_myself" = x; then
23108 if test ! -f "$as_myself"; then
23109 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23110 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23111 { (exit 1); exit 1; }; }
23113 case $CONFIG_SHELL in
23115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23116 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23119 test -z "$as_dir" && as_dir=.
23120 for as_base in sh bash ksh sh5; do
23123 if ("$as_dir/$as_base" -c '
23124 as_lineno_1=$LINENO
23125 as_lineno_2=$LINENO
23126 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23127 test "x$as_lineno_1" != "x$as_lineno_2" &&
23128 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23129 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23130 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23131 CONFIG_SHELL=$as_dir/$as_base
23132 export CONFIG_SHELL
23133 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23141 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23142 # uniformly replaced by the line number. The first 'sed' inserts a
23143 # line-number line before each line; the second 'sed' does the real
23144 # work. The second script uses 'N' to pair each line-number line
23145 # with the numbered line, and appends trailing '-' during
23146 # substitution so that $LINENO is not a special case at line end.
23147 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23148 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23149 sed '=' <$as_myself |
23154 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23157 s,^['$as_cr_digits']*\n,,
23158 ' >$as_me.lineno &&
23159 chmod +x $as_me.lineno ||
23160 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23161 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23162 { (exit 1); exit 1; }; }
23164 # Don't try to exec as it changes $[0], causing all sort of problems
23165 # (the dirname of $[0] is not the place where we might find the
23166 # original and so on. Autoconf is especially sensible to this).
23168 # Exit status is that of the last command.
23173 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23174 *c*,-n*) ECHO_N= ECHO_C='
23176 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23177 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23180 if expr a : '\(a\)' >/dev/null 2>&1; then
23186 rm -f conf$$ conf$$.exe conf$$.file
23188 if ln -s conf$$.file conf$$ 2>/dev/null; then
23189 # We could just check for DJGPP; but this test a) works b) is more generic
23190 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23191 if test -f conf$$.exe; then
23192 # Don't use ln at all; we don't have any links
23197 elif ln conf$$.file conf$$ 2>/dev/null; then
23202 rm -f conf$$ conf$$.exe conf$$.file
23204 if mkdir -p . 2>/dev/null; then
23210 as_executable_p="test -f"
23212 # Sed expression to map a string onto a valid CPP name.
23213 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23215 # Sed expression to map a string onto a valid variable name.
23216 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23220 # We need space, tab and new line, in precisely that order.
23230 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23231 # report actual input values of CONFIG_FILES etc. instead of their
23232 # values after options handling. Logging --version etc. is OK.
23236 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23237 ## Running $as_me. ##
23242 This file was extended by [LLVM] $as_me [1.0], which was
23243 generated by GNU Autoconf 2.57. Invocation command line was
23245 CONFIG_FILES = $CONFIG_FILES
23246 CONFIG_HEADERS = $CONFIG_HEADERS
23247 CONFIG_LINKS = $CONFIG_LINKS
23248 CONFIG_COMMANDS = $CONFIG_COMMANDS
23252 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23256 # Files that config.status was made for.
23257 if test -n "$ac_config_files"; then
23258 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23261 if test -n "$ac_config_headers"; then
23262 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23265 if test -n "$ac_config_links"; then
23266 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23269 if test -n "$ac_config_commands"; then
23270 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23273 cat >>$CONFIG_STATUS <<\_ACEOF
23276 \`$as_me' instantiates files from templates according to the
23277 current configuration.
23279 Usage: $0 [OPTIONS] [FILE]...
23281 -h, --help print this help, then exit
23282 -V, --version print version number, then exit
23283 -q, --quiet do not print progress messages
23284 -d, --debug don't remove temporary files
23285 --recheck update $as_me by reconfiguring in the same conditions
23286 --file=FILE[:TEMPLATE]
23287 instantiate the configuration file FILE
23288 --header=FILE[:TEMPLATE]
23289 instantiate the configuration header FILE
23291 Configuration files:
23294 Configuration headers:
23297 Configuration commands:
23300 Report bugs to <bug-autoconf@gnu.org>."
23303 cat >>$CONFIG_STATUS <<_ACEOF
23305 [LLVM] config.status [1.0]
23306 configured by $0, generated by GNU Autoconf 2.57,
23307 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23309 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23310 Free Software Foundation, Inc.
23311 This config.status script is free software; the Free Software Foundation
23312 gives unlimited permission to copy, distribute and modify it."
23317 cat >>$CONFIG_STATUS <<\_ACEOF
23318 # If no file are specified by the user, then we need to provide default
23319 # value. By we need to know if files were specified by the user.
23325 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23326 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23334 *) # This is not an option, so the user has probably given explicit
23337 ac_need_defaults=false;;
23341 # Handling of the options.
23343 cat >>$CONFIG_STATUS <<\_ACEOF
23344 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23346 --version | --vers* | -V )
23347 echo "$ac_cs_version"; exit 0 ;;
23349 # Conflict between --help and --header
23350 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23351 Try \`$0 --help' for more information." >&5
23352 echo "$as_me: error: ambiguous option: $1
23353 Try \`$0 --help' for more information." >&2;}
23354 { (exit 1); exit 1; }; };;
23355 --help | --hel | -h )
23356 echo "$ac_cs_usage"; exit 0 ;;
23357 --debug | --d* | -d )
23359 --file | --fil | --fi | --f )
23361 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23362 ac_need_defaults=false;;
23363 --header | --heade | --head | --hea )
23365 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23366 ac_need_defaults=false;;
23367 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23368 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23371 # This is an error.
23372 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23373 Try \`$0 --help' for more information." >&5
23374 echo "$as_me: error: unrecognized option: $1
23375 Try \`$0 --help' for more information." >&2;}
23376 { (exit 1); exit 1; }; } ;;
23378 *) ac_config_targets="$ac_config_targets $1" ;;
23384 ac_configure_extra_args=
23386 if $ac_cs_silent; then
23388 ac_configure_extra_args="$ac_configure_extra_args --silent"
23392 cat >>$CONFIG_STATUS <<_ACEOF
23393 if \$ac_cs_recheck; then
23394 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23395 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23400 cat >>$CONFIG_STATUS <<_ACEOF
23402 # INIT-COMMANDS section.
23405 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23415 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23416 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23417 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23418 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23419 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23420 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23421 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23422 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23423 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23453 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23454 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23455 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTestDB/QMTest/llvm.py`
23456 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23457 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23458 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23459 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23460 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23461 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23462 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23463 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23464 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23465 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23466 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23467 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23468 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23469 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23470 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23471 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23472 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23473 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23474 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23475 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23476 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23477 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23478 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23479 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23480 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23481 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23482 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23483 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23484 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23485 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23486 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23487 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23488 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23489 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23490 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23491 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23492 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23493 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23494 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23495 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23496 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23497 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23498 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23499 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23500 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23501 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23502 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23503 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23504 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23505 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23506 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23507 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23508 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23509 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23510 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23511 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23512 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23513 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23514 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23515 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23516 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23517 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23518 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23519 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23520 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23521 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23522 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23523 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23524 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23525 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23526 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23527 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23528 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23529 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23530 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23531 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23532 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23533 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23534 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23535 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23536 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23537 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23538 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23539 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23540 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23541 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23542 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23543 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23544 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23545 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23546 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23547 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile`
23548 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile`
23549 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile`
23550 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/EH/Makefile`
23551 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/CompileFail/Makefile`
23552 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23553 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23554 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23555 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23556 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23557 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23558 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23559 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23560 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23561 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23562 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23563 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23564 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23565 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23566 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23567 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23568 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23569 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23570 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23571 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23572 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23573 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23574 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23575 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23576 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23577 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23578 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23579 ${srcdir}/autoconf/mkinstalldirs `dirname support/Makefile`
23580 ${srcdir}/autoconf/mkinstalldirs `dirname support/lib/Makefile`
23581 ${srcdir}/autoconf/mkinstalldirs `dirname support/lib/Support/Makefile`
23582 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/Makefile`
23583 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/Burg/Makefile`
23584 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/Burg/Doc/Makefile`
23585 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/TableGen/Makefile`
23591 cat >>$CONFIG_STATUS <<\_ACEOF
23592 for ac_config_target in $ac_config_targets
23594 case "$ac_config_target" in
23595 # Handling of arguments.
23596 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23597 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23598 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23599 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23600 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23601 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23602 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23603 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23604 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23605 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23606 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23607 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23608 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23609 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23610 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23611 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23612 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23613 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23614 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23615 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23616 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23617 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23618 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23619 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23620 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23621 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23622 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23623 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23624 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23625 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23626 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23627 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23628 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23629 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23630 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23631 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23632 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23633 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23634 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23635 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23636 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23637 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23638 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23639 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23640 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23641 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23642 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23643 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23644 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23645 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23646 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23647 "test/QMTestDB/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTestDB/QMTest/llvm.py" ;;
23648 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23649 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23650 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23651 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23652 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23653 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23654 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23655 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23656 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23657 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23658 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23659 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23660 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23661 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23662 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23663 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23664 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23665 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23666 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23667 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23668 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23669 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23670 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23671 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23672 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23673 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23674 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23675 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23676 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23677 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23678 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23679 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23680 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23681 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23682 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23683 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23684 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23685 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23686 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23687 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23688 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23689 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23690 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23691 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23692 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23693 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23694 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23695 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23696 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23697 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23698 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23699 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23700 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23701 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23702 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23703 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23704 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23705 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23706 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23707 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23708 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23709 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23710 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23711 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23712 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23713 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23714 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23715 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23716 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23717 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23718 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23719 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23720 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23721 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23722 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23723 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23724 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23725 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23726 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23727 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23728 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23729 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23730 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23731 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23732 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23733 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23734 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23735 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23736 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23737 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23738 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23739 "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;;
23740 "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;;
23741 "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;;
23742 "test/Programs/SingleSource/Regression/C++/EH/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/EH/Makefile" ;;
23743 "test/Programs/SingleSource/Regression/C++/CompileFail/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/CompileFail/Makefile" ;;
23744 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23745 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23746 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23747 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23748 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23749 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23750 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23751 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23752 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23753 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23754 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23755 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23756 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
23757 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23758 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23759 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23760 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23761 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23762 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23763 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23764 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23765 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23766 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23767 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23768 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23769 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23770 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23771 "support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/Makefile" ;;
23772 "support/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/lib/Makefile" ;;
23773 "support/lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/lib/Support/Makefile" ;;
23774 "support/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/Makefile" ;;
23775 "support/tools/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/Burg/Makefile" ;;
23776 "support/tools/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/Burg/Doc/Makefile" ;;
23777 "support/tools/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/TableGen/Makefile" ;;
23778 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23779 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23780 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23781 { (exit 1); exit 1; }; };;
23785 # If the user did not use the arguments to specify the items to instantiate,
23786 # then the envvar interface is used. Set only those that are not.
23787 # We use the long form for the default assignment because of an extremely
23788 # bizarre bug on SunOS 4.1.3.
23789 if $ac_need_defaults; then
23790 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23791 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23792 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23795 # Have a temporary directory for convenience. Make it in the build tree
23796 # simply because there is no reason to put it here, and in addition,
23797 # creating and moving files from /tmp can sometimes cause problems.
23798 # Create a temporary directory, and hook for its removal unless debugging.
23801 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23802 trap '{ (exit 1); exit 1; }' 1 2 13 15
23805 # Create a (secure) tmp directory for tmp files.
23808 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23809 test -n "$tmp" && test -d "$tmp"
23812 tmp=./confstat$$-$RANDOM
23813 (umask 077 && mkdir $tmp)
23816 echo "$me: cannot create a temporary directory in ." >&2
23817 { (exit 1); exit 1; }
23822 cat >>$CONFIG_STATUS <<_ACEOF
23825 # CONFIG_FILES section.
23828 # No need to generate the scripts if there are no CONFIG_FILES.
23829 # This happens for instance when ./config.status config.h
23830 if test -n "\$CONFIG_FILES"; then
23831 # Protect against being on the right side of a sed subst in config.status.
23832 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23833 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23834 s,@SHELL@,$SHELL,;t t
23835 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23836 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23837 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23838 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23839 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23840 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23841 s,@exec_prefix@,$exec_prefix,;t t
23842 s,@prefix@,$prefix,;t t
23843 s,@program_transform_name@,$program_transform_name,;t t
23844 s,@bindir@,$bindir,;t t
23845 s,@sbindir@,$sbindir,;t t
23846 s,@libexecdir@,$libexecdir,;t t
23847 s,@datadir@,$datadir,;t t
23848 s,@sysconfdir@,$sysconfdir,;t t
23849 s,@sharedstatedir@,$sharedstatedir,;t t
23850 s,@localstatedir@,$localstatedir,;t t
23851 s,@libdir@,$libdir,;t t
23852 s,@includedir@,$includedir,;t t
23853 s,@oldincludedir@,$oldincludedir,;t t
23854 s,@infodir@,$infodir,;t t
23855 s,@mandir@,$mandir,;t t
23856 s,@build_alias@,$build_alias,;t t
23857 s,@host_alias@,$host_alias,;t t
23858 s,@target_alias@,$target_alias,;t t
23859 s,@DEFS@,$DEFS,;t t
23860 s,@ECHO_C@,$ECHO_C,;t t
23861 s,@ECHO_N@,$ECHO_N,;t t
23862 s,@ECHO_T@,$ECHO_T,;t t
23863 s,@LIBS@,$LIBS,;t t
23864 s,@subdirs@,$subdirs,;t t
23865 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23866 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23867 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23868 s,@build@,$build,;t t
23869 s,@build_cpu@,$build_cpu,;t t
23870 s,@build_vendor@,$build_vendor,;t t
23871 s,@build_os@,$build_os,;t t
23872 s,@host@,$host,;t t
23873 s,@host_cpu@,$host_cpu,;t t
23874 s,@host_vendor@,$host_vendor,;t t
23875 s,@host_os@,$host_os,;t t
23876 s,@target@,$target,;t t
23877 s,@target_cpu@,$target_cpu,;t t
23878 s,@target_vendor@,$target_vendor,;t t
23879 s,@target_os@,$target_os,;t t
23881 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23882 s,@ARCH@,$ARCH,;t t
23884 s,@CXXFLAGS@,$CXXFLAGS,;t t
23885 s,@LDFLAGS@,$LDFLAGS,;t t
23886 s,@CPPFLAGS@,$CPPFLAGS,;t t
23887 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23888 s,@EXEEXT@,$EXEEXT,;t t
23889 s,@OBJEXT@,$OBJEXT,;t t
23891 s,@CFLAGS@,$CFLAGS,;t t
23892 s,@ac_ct_CC@,$ac_ct_CC,;t t
23894 s,@ifGNUmake@,$ifGNUmake,;t t
23896 s,@LEXLIB@,$LEXLIB,;t t
23897 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23898 s,@YACC@,$YACC,;t t
23899 s,@EGREP@,$EGREP,;t t
23900 s,@LN_S@,$LN_S,;t t
23901 s,@ECHO@,$ECHO,;t t
23903 s,@ac_ct_AR@,$ac_ct_AR,;t t
23904 s,@RANLIB@,$RANLIB,;t t
23905 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23906 s,@STRIP@,$STRIP,;t t
23907 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23908 s,@CXXCPP@,$CXXCPP,;t t
23910 s,@FFLAGS@,$FFLAGS,;t t
23911 s,@ac_ct_F77@,$ac_ct_F77,;t t
23912 s,@LIBTOOL@,$LIBTOOL,;t t
23913 s,@RPWD@,$RPWD,;t t
23916 s,@MKDIR@,$MKDIR,;t t
23917 s,@DATE@,$DATE,;t t
23920 s,@ETAGS@,$ETAGS,;t t
23921 s,@PURIFY@,$PURIFY,;t t
23922 s,@PYTHON@,$PYTHON,;t t
23923 s,@QMTEST@,$QMTEST,;t t
23924 s,@ALLOCA@,$ALLOCA,;t t
23925 s,@LIBOBJS@,$LIBOBJS,;t t
23926 s,@MMAP_FILE@,$MMAP_FILE,;t t
23927 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23928 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23929 s,@USE_SPEC@,$USE_SPEC,;t t
23931 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23933 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23935 s,@PAPIDIR@,$PAPIDIR,;t t
23936 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23941 cat >>$CONFIG_STATUS <<\_ACEOF
23942 # Split the substitutions into bite-sized pieces for seds with
23943 # small command number limits, like on Digital OSF/1 and HP-UX.
23944 ac_max_sed_lines=48
23945 ac_sed_frag=1 # Number of current file.
23946 ac_beg=1 # First line for current file.
23947 ac_end=$ac_max_sed_lines # Line after last line for current file.
23950 while $ac_more_lines; do
23951 if test $ac_beg -gt 1; then
23952 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23954 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23956 if test ! -s $tmp/subs.frag; then
23957 ac_more_lines=false
23959 # The purpose of the label and of the branching condition is to
23960 # speed up the sed processing (if there are no `@' at all, there
23961 # is no need to browse any of the substitutions).
23962 # These are the two extra sed commands mentioned above.
23964 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23965 if test -z "$ac_sed_cmds"; then
23966 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23968 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23970 ac_sed_frag=`expr $ac_sed_frag + 1`
23972 ac_end=`expr $ac_end + $ac_max_sed_lines`
23975 if test -z "$ac_sed_cmds"; then
23978 fi # test -n "$CONFIG_FILES"
23981 cat >>$CONFIG_STATUS <<\_ACEOF
23982 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23983 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23985 - | *:- | *:-:* ) # input from stdin
23987 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23988 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23989 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23990 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23991 * ) ac_file_in=$ac_file.in ;;
23994 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23995 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23996 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23997 X"$ac_file" : 'X\(//\)[^/]' \| \
23998 X"$ac_file" : 'X\(//\)$' \| \
23999 X"$ac_file" : 'X\(/\)' \| \
24000 . : '\(.\)' 2>/dev/null ||
24002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24003 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24004 /^X\(\/\/\)$/{ s//\1/; q; }
24005 /^X\(\/\).*/{ s//\1/; q; }
24007 { if $as_mkdir_p; then
24012 while test ! -d "$as_dir"; do
24013 as_dirs="$as_dir $as_dirs"
24014 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24015 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24016 X"$as_dir" : 'X\(//\)[^/]' \| \
24017 X"$as_dir" : 'X\(//\)$' \| \
24018 X"$as_dir" : 'X\(/\)' \| \
24019 . : '\(.\)' 2>/dev/null ||
24021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24022 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24023 /^X\(\/\/\)$/{ s//\1/; q; }
24024 /^X\(\/\).*/{ s//\1/; q; }
24027 test ! -n "$as_dirs" || mkdir $as_dirs
24028 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24029 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24030 { (exit 1); exit 1; }; }; }
24034 if test "$ac_dir" != .; then
24035 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24036 # A "../" for each directory in $ac_dir_suffix.
24037 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24039 ac_dir_suffix= ac_top_builddir=
24043 .) # No --srcdir option. We are building in place.
24045 if test -z "$ac_top_builddir"; then
24048 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24050 [\\/]* | ?:[\\/]* ) # Absolute path.
24051 ac_srcdir=$srcdir$ac_dir_suffix;
24052 ac_top_srcdir=$srcdir ;;
24053 *) # Relative path.
24054 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24055 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24057 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24059 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24060 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24061 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24062 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24066 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24067 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24070 if test x"$ac_file" != x-; then
24071 { echo "$as_me:$LINENO: creating $ac_file" >&5
24072 echo "$as_me: creating $ac_file" >&6;}
24075 # Let's still pretend it is `configure' which instantiates (i.e., don't
24076 # use $as_me), people would be surprised to read:
24077 # /* config.h. Generated by config.status. */
24078 if test x"$ac_file" = x-; then
24081 configure_input="$ac_file. "
24083 configure_input=$configure_input"Generated from `echo $ac_file_in |
24084 sed 's,.*/,,'` by configure."
24086 # First look for the input files in the build tree, otherwise in the
24088 ac_file_inputs=`IFS=:
24089 for f in $ac_file_in; do
24091 -) echo $tmp/stdin ;;
24093 # Absolute (can't be DOS-style, as IFS=:)
24094 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24095 echo "$as_me: error: cannot find input file: $f" >&2;}
24096 { (exit 1); exit 1; }; }
24099 if test -f "$f"; then
24102 elif test -f "$srcdir/$f"; then
24107 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24108 echo "$as_me: error: cannot find input file: $f" >&2;}
24109 { (exit 1); exit 1; }; }
24112 done` || { (exit 1); exit 1; }
24114 cat >>$CONFIG_STATUS <<_ACEOF
24118 cat >>$CONFIG_STATUS <<\_ACEOF
24120 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24121 s,@configure_input@,$configure_input,;t t
24122 s,@srcdir@,$ac_srcdir,;t t
24123 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24124 s,@top_srcdir@,$ac_top_srcdir,;t t
24125 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24126 s,@builddir@,$ac_builddir,;t t
24127 s,@abs_builddir@,$ac_abs_builddir,;t t
24128 s,@top_builddir@,$ac_top_builddir,;t t
24129 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24130 s,@INSTALL@,$ac_INSTALL,;t t
24131 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24133 if test x"$ac_file" != x-; then
24134 mv $tmp/out $ac_file
24142 cat >>$CONFIG_STATUS <<\_ACEOF
24145 # CONFIG_HEADER section.
24148 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24149 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24151 # ac_d sets the value in "#define NAME VALUE" lines.
24152 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24153 ac_dB='[ ].*$,\1#\2'
24156 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24157 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24158 ac_uB='$,\1#\2define\3'
24162 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24163 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24165 - | *:- | *:-:* ) # input from stdin
24167 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24168 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24169 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24170 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24171 * ) ac_file_in=$ac_file.in ;;
24174 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24175 echo "$as_me: creating $ac_file" >&6;}
24177 # First look for the input files in the build tree, otherwise in the
24179 ac_file_inputs=`IFS=:
24180 for f in $ac_file_in; do
24182 -) echo $tmp/stdin ;;
24184 # Absolute (can't be DOS-style, as IFS=:)
24185 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24186 echo "$as_me: error: cannot find input file: $f" >&2;}
24187 { (exit 1); exit 1; }; }
24190 if test -f "$f"; then
24193 elif test -f "$srcdir/$f"; then
24198 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24199 echo "$as_me: error: cannot find input file: $f" >&2;}
24200 { (exit 1); exit 1; }; }
24203 done` || { (exit 1); exit 1; }
24204 # Remove the trailing spaces.
24205 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24209 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24210 # `conftest.undefs', that substitutes the proper values into
24211 # config.h.in to produce config.h. The first handles `#define'
24212 # templates, and the second `#undef' templates.
24213 # And first: Protect against being on the right side of a sed subst in
24214 # config.status. Protect against being in an unquoted here document
24215 # in config.status.
24216 rm -f conftest.defines conftest.undefs
24217 # Using a here document instead of a string reduces the quoting nightmare.
24218 # Putting comments in sed scripts is not portable.
24220 # `end' is used to avoid that the second main sed command (meant for
24221 # 0-ary CPP macros) applies to n-ary macro definitions.
24222 # See the Autoconf documentation for `clear'.
24223 cat >confdef2sed.sed <<\_ACEOF
24228 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24230 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24233 # If some macros were called several times there might be several times
24234 # the same #defines, which is useless. Nevertheless, we may not want to
24235 # sort them, since we want the *last* AC-DEFINE to be honored.
24236 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24237 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24238 rm -f confdef2sed.sed
24240 # This sed command replaces #undef with comments. This is necessary, for
24241 # example, in the case of _POSIX_SOURCE, which is predefined and required
24242 # on some systems where configure will not decide to define it.
24243 cat >>conftest.undefs <<\_ACEOF
24244 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24247 # Break up conftest.defines because some shells have a limit on the size
24248 # of here documents, and old seds have small limits too (100 cmds).
24249 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24250 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24251 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24252 echo ' :' >>$CONFIG_STATUS
24253 rm -f conftest.tail
24254 while grep . conftest.defines >/dev/null
24256 # Write a limited-size here document to $tmp/defines.sed.
24257 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24258 # Speed up: don't consider the non `#define' lines.
24259 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24260 # Work around the forget-to-reset-the-flag bug.
24261 echo 't clr' >>$CONFIG_STATUS
24262 echo ': clr' >>$CONFIG_STATUS
24263 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24265 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24267 mv $tmp/out $tmp/in
24269 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24270 rm -f conftest.defines
24271 mv conftest.tail conftest.defines
24273 rm -f conftest.defines
24274 echo ' fi # grep' >>$CONFIG_STATUS
24275 echo >>$CONFIG_STATUS
24277 # Break up conftest.undefs because some shells have a limit on the size
24278 # of here documents, and old seds have small limits too (100 cmds).
24279 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24280 rm -f conftest.tail
24281 while grep . conftest.undefs >/dev/null
24283 # Write a limited-size here document to $tmp/undefs.sed.
24284 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24285 # Speed up: don't consider the non `#undef'
24286 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24287 # Work around the forget-to-reset-the-flag bug.
24288 echo 't clr' >>$CONFIG_STATUS
24289 echo ': clr' >>$CONFIG_STATUS
24290 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24292 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24294 mv $tmp/out $tmp/in
24296 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24297 rm -f conftest.undefs
24298 mv conftest.tail conftest.undefs
24300 rm -f conftest.undefs
24302 cat >>$CONFIG_STATUS <<\_ACEOF
24303 # Let's still pretend it is `configure' which instantiates (i.e., don't
24304 # use $as_me), people would be surprised to read:
24305 # /* config.h. Generated by config.status. */
24306 if test x"$ac_file" = x-; then
24307 echo "/* Generated by configure. */" >$tmp/config.h
24309 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24311 cat $tmp/in >>$tmp/config.h
24313 if test x"$ac_file" != x-; then
24314 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24315 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24316 echo "$as_me: $ac_file is unchanged" >&6;}
24318 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24319 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24320 X"$ac_file" : 'X\(//\)[^/]' \| \
24321 X"$ac_file" : 'X\(//\)$' \| \
24322 X"$ac_file" : 'X\(/\)' \| \
24323 . : '\(.\)' 2>/dev/null ||
24325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24326 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24327 /^X\(\/\/\)$/{ s//\1/; q; }
24328 /^X\(\/\).*/{ s//\1/; q; }
24330 { if $as_mkdir_p; then
24335 while test ! -d "$as_dir"; do
24336 as_dirs="$as_dir $as_dirs"
24337 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24339 X"$as_dir" : 'X\(//\)[^/]' \| \
24340 X"$as_dir" : 'X\(//\)$' \| \
24341 X"$as_dir" : 'X\(/\)' \| \
24342 . : '\(.\)' 2>/dev/null ||
24344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24345 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24346 /^X\(\/\/\)$/{ s//\1/; q; }
24347 /^X\(\/\).*/{ s//\1/; q; }
24350 test ! -n "$as_dirs" || mkdir $as_dirs
24351 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24352 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24353 { (exit 1); exit 1; }; }; }
24356 mv $tmp/config.h $ac_file
24360 rm -f $tmp/config.h
24364 cat >>$CONFIG_STATUS <<\_ACEOF
24367 # CONFIG_COMMANDS section.
24369 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24370 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24371 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24372 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24373 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24374 X"$ac_dest" : 'X\(//\)[^/]' \| \
24375 X"$ac_dest" : 'X\(//\)$' \| \
24376 X"$ac_dest" : 'X\(/\)' \| \
24377 . : '\(.\)' 2>/dev/null ||
24379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24380 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24381 /^X\(\/\/\)$/{ s//\1/; q; }
24382 /^X\(\/\).*/{ s//\1/; q; }
24386 if test "$ac_dir" != .; then
24387 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24388 # A "../" for each directory in $ac_dir_suffix.
24389 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24391 ac_dir_suffix= ac_top_builddir=
24395 .) # No --srcdir option. We are building in place.
24397 if test -z "$ac_top_builddir"; then
24400 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24402 [\\/]* | ?:[\\/]* ) # Absolute path.
24403 ac_srcdir=$srcdir$ac_dir_suffix;
24404 ac_top_srcdir=$srcdir ;;
24405 *) # Relative path.
24406 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24407 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24409 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24411 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24412 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24413 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24414 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24417 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24418 echo "$as_me: executing $ac_dest commands" >&6;}
24420 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24421 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24422 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24423 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24424 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24425 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24426 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24427 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24428 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24429 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24430 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24431 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24432 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24433 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24434 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24435 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24436 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24437 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24438 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24439 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24440 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24441 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24442 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24443 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24444 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24445 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24446 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24447 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24448 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24449 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24450 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24451 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24452 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24453 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24454 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24455 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24456 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24457 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24458 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24459 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24460 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24461 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24462 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24463 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24464 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24465 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24466 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24467 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24468 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24469 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24470 test/QMTestDB/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTestDB/QMTest/llvm.py test/QMTestDB/QMTest/llvm.py ;;
24471 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24472 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24473 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24474 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24475 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24476 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24477 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24478 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24479 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24480 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24481 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24482 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24483 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24484 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24485 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24486 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24487 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24488 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24489 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 ;;
24490 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 ;;
24491 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 ;;
24492 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 ;;
24493 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 ;;
24494 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 ;;
24495 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 ;;
24496 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 ;;
24497 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 ;;
24498 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 ;;
24499 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 ;;
24500 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 ;;
24501 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 ;;
24502 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 ;;
24503 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 ;;
24504 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 ;;
24505 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24506 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24507 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24508 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24509 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 ;;
24510 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 ;;
24511 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 ;;
24512 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24513 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 ;;
24514 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 ;;
24515 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 ;;
24516 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 ;;
24517 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 ;;
24518 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 ;;
24519 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 ;;
24520 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 ;;
24521 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 ;;
24522 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 ;;
24523 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 ;;
24524 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 ;;
24525 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 ;;
24526 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 ;;
24527 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 ;;
24528 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 ;;
24529 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 ;;
24530 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 ;;
24531 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 ;;
24532 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 ;;
24533 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 ;;
24534 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 ;;
24535 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 ;;
24536 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 ;;
24537 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 ;;
24538 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 ;;
24539 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 ;;
24540 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 ;;
24541 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 ;;
24542 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 ;;
24543 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 ;;
24544 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 ;;
24545 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24546 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24547 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24548 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 ;;
24549 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24550 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24551 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24552 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24553 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24554 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24555 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 ;;
24556 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 ;;
24557 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 ;;
24558 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 ;;
24559 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24560 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24561 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 ;;
24562 test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;;
24563 test/Programs/SingleSource/Regression/C/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C/Makefile test/Programs/SingleSource/Regression/C/Makefile ;;
24564 test/Programs/SingleSource/Regression/C++/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C++/Makefile test/Programs/SingleSource/Regression/C++/Makefile ;;
24565 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 ;;
24566 test/Programs/SingleSource/Regression/C++/CompileFail/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C++/CompileFail/Makefile test/Programs/SingleSource/Regression/C++/CompileFail/Makefile ;;
24567 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24568 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24569 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24570 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24571 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24572 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24573 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24574 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24575 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24576 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24577 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24578 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24579 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
24580 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24581 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24582 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24583 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24584 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24585 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24586 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24587 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24588 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24589 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24590 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24591 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24592 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24593 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24594 support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/Makefile support/Makefile ;;
24595 support/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/lib/Makefile support/lib/Makefile ;;
24596 support/lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/lib/Support/Makefile support/lib/Support/Makefile ;;
24597 support/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/Makefile support/tools/Makefile ;;
24598 support/tools/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/Burg/Makefile support/tools/Burg/Makefile ;;
24599 support/tools/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/Burg/Doc/Makefile support/tools/Burg/Doc/Makefile ;;
24600 support/tools/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/TableGen/Makefile support/tools/TableGen/Makefile ;;
24605 cat >>$CONFIG_STATUS <<\_ACEOF
24607 { (exit 0); exit 0; }
24609 chmod +x $CONFIG_STATUS
24610 ac_clean_files=$ac_clean_files_save
24613 # configure is writing to config.log, and then calls config.status.
24614 # config.status does its own redirection, appending to config.log.
24615 # Unfortunately, on DOS this fails, as config.log is still kept open
24616 # by configure, so config.status won't be able to write to it; its
24617 # output is simply discarded. So we exec the FD to /dev/null,
24618 # effectively closing config.log, so it can be properly (re)opened and
24619 # appended to by config.status. When coming back to configure, we
24620 # need to make the FD available again.
24621 if test "$no_create" != yes; then
24623 ac_config_status_args=
24624 test "$silent" = yes &&
24625 ac_config_status_args="$ac_config_status_args --quiet"
24627 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24629 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24630 # would make configure fail if this is the last instruction.
24631 $ac_cs_success || { (exit 1); exit 1; }
24635 # CONFIG_SUBDIRS section.
24637 if test "$no_recursion" != yes; then
24639 # Remove --cache-file and --srcdir arguments so they do not pile up.
24640 ac_sub_configure_args=
24642 for ac_arg in $ac_configure_args; do
24643 if test -n "$ac_prev"; then
24648 -cache-file | --cache-file | --cache-fil | --cache-fi \
24649 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
24650 ac_prev=cache_file ;;
24651 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
24652 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
24655 --config-cache | -C)
24657 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
24659 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
24661 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
24663 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
24665 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
24669 # Always prepend --prefix to ensure using the same prefix
24670 # in subdir configurations.
24671 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
24674 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
24676 # Do not complain, so a configure script can configure whichever
24677 # parts of a large source tree are present.
24678 test -d $srcdir/$ac_dir || continue
24680 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
24681 echo "$as_me: configuring in $ac_dir" >&6;}
24682 { if $as_mkdir_p; then
24687 while test ! -d "$as_dir"; do
24688 as_dirs="$as_dir $as_dirs"
24689 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24690 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24691 X"$as_dir" : 'X\(//\)[^/]' \| \
24692 X"$as_dir" : 'X\(//\)$' \| \
24693 X"$as_dir" : 'X\(/\)' \| \
24694 . : '\(.\)' 2>/dev/null ||
24696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24697 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24698 /^X\(\/\/\)$/{ s//\1/; q; }
24699 /^X\(\/\).*/{ s//\1/; q; }
24702 test ! -n "$as_dirs" || mkdir $as_dirs
24703 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24704 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24705 { (exit 1); exit 1; }; }; }
24709 if test "$ac_dir" != .; then
24710 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24711 # A "../" for each directory in $ac_dir_suffix.
24712 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24714 ac_dir_suffix= ac_top_builddir=
24718 .) # No --srcdir option. We are building in place.
24720 if test -z "$ac_top_builddir"; then
24723 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24725 [\\/]* | ?:[\\/]* ) # Absolute path.
24726 ac_srcdir=$srcdir$ac_dir_suffix;
24727 ac_top_srcdir=$srcdir ;;
24728 *) # Relative path.
24729 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24730 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24732 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24734 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24735 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24736 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24737 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24742 # Check for guested configure; otherwise get Cygnus style configure.
24743 if test -f $ac_srcdir/configure.gnu; then
24744 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
24745 elif test -f $ac_srcdir/configure; then
24746 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
24747 elif test -f $ac_srcdir/configure.in; then
24748 ac_sub_configure=$ac_configure
24750 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
24751 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
24755 # The recursion is here.
24756 if test -n "$ac_sub_configure"; then
24757 # Make the cache file name correct relative to the subdirectory.
24758 case $cache_file in
24759 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
24760 *) # Relative path.
24761 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
24764 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
24765 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
24766 # The eval makes quoting arguments work.
24767 eval $ac_sub_configure $ac_sub_configure_args \
24768 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
24769 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
24770 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
24771 { (exit 1); exit 1; }; }