2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for [LLVM] [1.0].
5 # Report bugs to <llvmbugs@cs.uiuc.edu>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236 # We need space, tab and new line, in precisely that order.
246 # Check that we are running under the correct shell.
247 SHELL=${CONFIG_SHELL-/bin/sh}
251 # Remove one level of quotation (which was required for Make).
252 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
257 if test "X$1" = X--no-reexec; then
258 # Discard the --no-reexec flag, and continue.
260 elif test "X$1" = X--fallback-echo; then
261 # Avoid inline document here, it may be left over
263 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
264 # Yippee, $echo works!
267 # Restart under the correct shell.
268 exec $SHELL "$0" --no-reexec ${1+"$@"}
271 if test "X$1" = X--fallback-echo; then
272 # used as fallback echo
280 # The HP-UX ksh and POSIX shell print the target directory to stdout
282 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
284 if test -z "$ECHO"; then
285 if test "X${echo_test_string+set}" != Xset; then
286 # find a string as large as possible, as long as the shell can cope with it
287 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
288 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
289 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
290 echo_test_string="`eval $cmd`" &&
291 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
298 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
299 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
300 test "X$echo_testing_string" = "X$echo_test_string"; then
303 # The Solaris, AIX, and Digital Unix default echo programs unquote
304 # backslashes. This makes it impossible to quote backslashes using
305 # echo "$something" | sed 's/\\/\\\\/g'
307 # So, first we look for a working echo in the user's PATH.
309 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
310 for dir in $PATH /usr/ucb; do
312 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
313 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315 test "X$echo_testing_string" = "X$echo_test_string"; then
322 if test "X$echo" = Xecho; then
323 # We didn't find a better echo, so look for alternatives.
324 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
325 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
327 # This shell has a builtin print -r that does the trick.
329 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
330 test "X$CONFIG_SHELL" != X/bin/ksh; then
331 # If we have ksh, try running configure again with it.
332 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
333 export ORIGINAL_CONFIG_SHELL
334 CONFIG_SHELL=/bin/ksh
336 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
340 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
341 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
342 test "X$echo_testing_string" = "X$echo_test_string"; then
345 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346 test "X$echo_testing_string" = 'X\t' &&
347 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
349 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
351 SHELL="$CONFIG_SHELL"
353 echo="$CONFIG_SHELL $0 --fallback-echo"
354 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 echo="$CONFIG_SHELL $0 --fallback-echo"
360 # maybe with a smaller string...
363 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
371 if test "$prev" != 'sed 50q "$0"'; then
372 echo_test_string=`eval $prev`
373 export echo_test_string
374 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
376 # Oops. We lost completely, so just stick with echo.
385 # Copy echo and quote the copy suitably for passing to libtool from
386 # the Makefile, instead of quoting the original, which is used later.
388 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
395 tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
397 tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
400 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
401 # so uname gets run too.
402 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
409 ac_default_prefix=/usr/local
410 ac_config_libobj_dir=.
415 SHELL=${CONFIG_SHELL-/bin/sh}
417 # Maximum number of lines to put in a shell here document.
418 # This variable seems obsolete. It should probably be removed, and
419 # only ac_max_sed_lines should be used.
420 : ${ac_max_here_lines=38}
422 # Identity of this package.
423 PACKAGE_NAME='[LLVM]'
424 PACKAGE_TARNAME='--llvm--'
425 PACKAGE_VERSION='[1.0]'
426 PACKAGE_STRING='[LLVM] [1.0]'
427 PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'
429 ac_subdirs_all="$ac_subdirs_all projects/reopt"
430 ac_subdirs_all="$ac_subdirs_all projects/poolalloc"
431 # Factoring default headers for most tests.
432 ac_includes_default="\
435 # include <sys/types.h>
438 # include <sys/stat.h>
449 # if !STDC_HEADERS && HAVE_MEMORY_H
455 # include <strings.h>
458 # include <inttypes.h>
468 ac_unique_file=""Makefile.config.in""
469 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS subdirs INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVMGCCDIR ARCH CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT YACC EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RPWD SED RM MKDIR DATE MV DOT ETAGS PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED SPEC_ROOT USE_SPEC UPB DISABLE_LLC_DIFFS JIT BCR PAPIDIR PURIFY LTLIBOBJS'
472 # Initialize some variables set by options.
474 ac_init_version=false
475 # The variables have the same names as the options, with
476 # dashes changed to underlines.
484 program_transform_name=s,x,x,
492 # Installation directory options.
493 # These are left unexpanded so users can "make install exec_prefix=/foo"
494 # and all the variables that are supposed to be based on exec_prefix
495 # by default will actually change.
496 # Use braces instead of parens because sh, perl, etc. also accept them.
497 bindir='${exec_prefix}/bin'
498 sbindir='${exec_prefix}/sbin'
499 libexecdir='${exec_prefix}/libexec'
500 datadir='${prefix}/share'
501 sysconfdir='${prefix}/etc'
502 sharedstatedir='${prefix}/com'
503 localstatedir='${prefix}/var'
504 libdir='${exec_prefix}/lib'
505 includedir='${prefix}/include'
506 oldincludedir='/usr/include'
507 infodir='${prefix}/info'
508 mandir='${prefix}/man'
513 # If the previous option needs an argument, assign it.
514 if test -n "$ac_prev"; then
515 eval "$ac_prev=\$ac_option"
520 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
522 # Accept the important Cygnus configure options, so we can diagnose typos.
526 -bindir | --bindir | --bindi | --bind | --bin | --bi)
528 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
531 -build | --build | --buil | --bui | --bu)
532 ac_prev=build_alias ;;
533 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
534 build_alias=$ac_optarg ;;
536 -cache-file | --cache-file | --cache-fil | --cache-fi \
537 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
538 ac_prev=cache_file ;;
539 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
540 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
541 cache_file=$ac_optarg ;;
544 cache_file=config.cache ;;
546 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
548 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
550 datadir=$ac_optarg ;;
552 -disable-* | --disable-*)
553 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
554 # Reject names that are not valid shell variable names.
555 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
556 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
557 { (exit 1); exit 1; }; }
558 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
559 eval "enable_$ac_feature=no" ;;
561 -enable-* | --enable-*)
562 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
565 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
566 { (exit 1); exit 1; }; }
567 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
569 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
572 eval "enable_$ac_feature='$ac_optarg'" ;;
574 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
575 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
576 | --exec | --exe | --ex)
577 ac_prev=exec_prefix ;;
578 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
579 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
580 | --exec=* | --exe=* | --ex=*)
581 exec_prefix=$ac_optarg ;;
583 -gas | --gas | --ga | --g)
584 # Obsolete; use --with-gas.
587 -help | --help | --hel | --he | -h)
589 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
590 ac_init_help=recursive ;;
591 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
592 ac_init_help=short ;;
594 -host | --host | --hos | --ho)
595 ac_prev=host_alias ;;
596 -host=* | --host=* | --hos=* | --ho=*)
597 host_alias=$ac_optarg ;;
599 -includedir | --includedir | --includedi | --included | --include \
600 | --includ | --inclu | --incl | --inc)
601 ac_prev=includedir ;;
602 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
603 | --includ=* | --inclu=* | --incl=* | --inc=*)
604 includedir=$ac_optarg ;;
606 -infodir | --infodir | --infodi | --infod | --info | --inf)
608 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
609 infodir=$ac_optarg ;;
611 -libdir | --libdir | --libdi | --libd)
613 -libdir=* | --libdir=* | --libdi=* | --libd=*)
616 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
617 | --libexe | --libex | --libe)
618 ac_prev=libexecdir ;;
619 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
620 | --libexe=* | --libex=* | --libe=*)
621 libexecdir=$ac_optarg ;;
623 -localstatedir | --localstatedir | --localstatedi | --localstated \
624 | --localstate | --localstat | --localsta | --localst \
625 | --locals | --local | --loca | --loc | --lo)
626 ac_prev=localstatedir ;;
627 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
628 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
629 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
630 localstatedir=$ac_optarg ;;
632 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
634 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
638 # Obsolete; use --without-fp.
641 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
642 | --no-cr | --no-c | -n)
645 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
646 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
649 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
650 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
651 | --oldin | --oldi | --old | --ol | --o)
652 ac_prev=oldincludedir ;;
653 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
654 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
655 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
656 oldincludedir=$ac_optarg ;;
658 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
660 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
663 -program-prefix | --program-prefix | --program-prefi | --program-pref \
664 | --program-pre | --program-pr | --program-p)
665 ac_prev=program_prefix ;;
666 -program-prefix=* | --program-prefix=* | --program-prefi=* \
667 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
668 program_prefix=$ac_optarg ;;
670 -program-suffix | --program-suffix | --program-suffi | --program-suff \
671 | --program-suf | --program-su | --program-s)
672 ac_prev=program_suffix ;;
673 -program-suffix=* | --program-suffix=* | --program-suffi=* \
674 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
675 program_suffix=$ac_optarg ;;
677 -program-transform-name | --program-transform-name \
678 | --program-transform-nam | --program-transform-na \
679 | --program-transform-n | --program-transform- \
680 | --program-transform | --program-transfor \
681 | --program-transfo | --program-transf \
682 | --program-trans | --program-tran \
683 | --progr-tra | --program-tr | --program-t)
684 ac_prev=program_transform_name ;;
685 -program-transform-name=* | --program-transform-name=* \
686 | --program-transform-nam=* | --program-transform-na=* \
687 | --program-transform-n=* | --program-transform-=* \
688 | --program-transform=* | --program-transfor=* \
689 | --program-transfo=* | --program-transf=* \
690 | --program-trans=* | --program-tran=* \
691 | --progr-tra=* | --program-tr=* | --program-t=*)
692 program_transform_name=$ac_optarg ;;
694 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
695 | -silent | --silent | --silen | --sile | --sil)
698 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
700 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
702 sbindir=$ac_optarg ;;
704 -sharedstatedir | --sharedstatedir | --sharedstatedi \
705 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
706 | --sharedst | --shareds | --shared | --share | --shar \
708 ac_prev=sharedstatedir ;;
709 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
710 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
711 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
713 sharedstatedir=$ac_optarg ;;
715 -site | --site | --sit)
717 -site=* | --site=* | --sit=*)
720 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
722 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
725 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
726 | --syscon | --sysco | --sysc | --sys | --sy)
727 ac_prev=sysconfdir ;;
728 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
729 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
730 sysconfdir=$ac_optarg ;;
732 -target | --target | --targe | --targ | --tar | --ta | --t)
733 ac_prev=target_alias ;;
734 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
735 target_alias=$ac_optarg ;;
737 -v | -verbose | --verbose | --verbos | --verbo | --verb)
740 -version | --version | --versio | --versi | --vers | -V)
744 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
745 # Reject names that are not valid shell variable names.
746 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
747 { echo "$as_me: error: invalid package name: $ac_package" >&2
748 { (exit 1); exit 1; }; }
749 ac_package=`echo $ac_package| sed 's/-/_/g'`
751 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
754 eval "with_$ac_package='$ac_optarg'" ;;
756 -without-* | --without-*)
757 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
758 # Reject names that are not valid shell variable names.
759 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
760 { echo "$as_me: error: invalid package name: $ac_package" >&2
761 { (exit 1); exit 1; }; }
762 ac_package=`echo $ac_package | sed 's/-/_/g'`
763 eval "with_$ac_package=no" ;;
766 # Obsolete; use --with-x.
769 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
770 | --x-incl | --x-inc | --x-in | --x-i)
771 ac_prev=x_includes ;;
772 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
773 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
774 x_includes=$ac_optarg ;;
776 -x-libraries | --x-libraries | --x-librarie | --x-librari \
777 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
778 ac_prev=x_libraries ;;
779 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
780 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
781 x_libraries=$ac_optarg ;;
783 -*) { echo "$as_me: error: unrecognized option: $ac_option
784 Try \`$0 --help' for more information." >&2
785 { (exit 1); exit 1; }; }
789 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
792 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
793 { (exit 1); exit 1; }; }
794 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
795 eval "$ac_envvar='$ac_optarg'"
799 # FIXME: should be removed in autoconf 3.0.
800 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
801 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
802 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
803 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
809 if test -n "$ac_prev"; then
810 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
811 { echo "$as_me: error: missing argument to $ac_option" >&2
812 { (exit 1); exit 1; }; }
815 # Be sure to have absolute paths.
816 for ac_var in exec_prefix prefix
818 eval ac_val=$`echo $ac_var`
820 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
821 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
822 { (exit 1); exit 1; }; };;
826 # Be sure to have absolute paths.
827 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
828 localstatedir libdir includedir oldincludedir infodir mandir
830 eval ac_val=$`echo $ac_var`
832 [\\/$]* | ?:[\\/]* ) ;;
833 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
834 { (exit 1); exit 1; }; };;
838 # There might be people who depend on the old broken behavior: `$host'
839 # used to hold the argument of --host etc.
840 # FIXME: To remove some day.
845 # FIXME: To remove some day.
846 if test "x$host_alias" != x; then
847 if test "x$build_alias" = x; then
848 cross_compiling=maybe
849 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
850 If a cross compiler is detected then cross compile mode will be used." >&2
851 elif test "x$build_alias" != "x$host_alias"; then
857 test -n "$host_alias" && ac_tool_prefix=$host_alias-
859 test "$silent" = yes && exec 6>/dev/null
862 # Find the source files, if location was not specified.
863 if test -z "$srcdir"; then
864 ac_srcdir_defaulted=yes
865 # Try the directory containing this script, then its parent.
866 ac_confdir=`(dirname "$0") 2>/dev/null ||
867 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
868 X"$0" : 'X\(//\)[^/]' \| \
869 X"$0" : 'X\(//\)$' \| \
870 X"$0" : 'X\(/\)' \| \
871 . : '\(.\)' 2>/dev/null ||
873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
874 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
875 /^X\(\/\/\)$/{ s//\1/; q; }
876 /^X\(\/\).*/{ s//\1/; q; }
879 if test ! -r $srcdir/$ac_unique_file; then
883 ac_srcdir_defaulted=no
885 if test ! -r $srcdir/$ac_unique_file; then
886 if test "$ac_srcdir_defaulted" = yes; then
887 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
888 { (exit 1); exit 1; }; }
890 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
891 { (exit 1); exit 1; }; }
894 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
895 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
896 { (exit 1); exit 1; }; }
897 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
898 ac_env_build_alias_set=${build_alias+set}
899 ac_env_build_alias_value=$build_alias
900 ac_cv_env_build_alias_set=${build_alias+set}
901 ac_cv_env_build_alias_value=$build_alias
902 ac_env_host_alias_set=${host_alias+set}
903 ac_env_host_alias_value=$host_alias
904 ac_cv_env_host_alias_set=${host_alias+set}
905 ac_cv_env_host_alias_value=$host_alias
906 ac_env_target_alias_set=${target_alias+set}
907 ac_env_target_alias_value=$target_alias
908 ac_cv_env_target_alias_set=${target_alias+set}
909 ac_cv_env_target_alias_value=$target_alias
910 ac_env_CXX_set=${CXX+set}
911 ac_env_CXX_value=$CXX
912 ac_cv_env_CXX_set=${CXX+set}
913 ac_cv_env_CXX_value=$CXX
914 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_env_CXXFLAGS_value=$CXXFLAGS
916 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
917 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
923 ac_env_CPPFLAGS_value=$CPPFLAGS
924 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
925 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
926 ac_env_CC_set=${CC+set}
928 ac_cv_env_CC_set=${CC+set}
929 ac_cv_env_CC_value=$CC
930 ac_env_CFLAGS_set=${CFLAGS+set}
931 ac_env_CFLAGS_value=$CFLAGS
932 ac_cv_env_CFLAGS_set=${CFLAGS+set}
933 ac_cv_env_CFLAGS_value=$CFLAGS
934 ac_env_CPP_set=${CPP+set}
935 ac_env_CPP_value=$CPP
936 ac_cv_env_CPP_set=${CPP+set}
937 ac_cv_env_CPP_value=$CPP
938 ac_env_CXXCPP_set=${CXXCPP+set}
939 ac_env_CXXCPP_value=$CXXCPP
940 ac_cv_env_CXXCPP_set=${CXXCPP+set}
941 ac_cv_env_CXXCPP_value=$CXXCPP
942 ac_env_F77_set=${F77+set}
943 ac_env_F77_value=$F77
944 ac_cv_env_F77_set=${F77+set}
945 ac_cv_env_F77_value=$F77
946 ac_env_FFLAGS_set=${FFLAGS+set}
947 ac_env_FFLAGS_value=$FFLAGS
948 ac_cv_env_FFLAGS_set=${FFLAGS+set}
949 ac_cv_env_FFLAGS_value=$FFLAGS
952 # Report the --help message.
954 if test "$ac_init_help" = "long"; then
955 # Omit some internal or obsolete options to make the list less imposing.
956 # This message is too long to be a string in the A/UX 3.1 sh.
958 \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems.
960 Usage: $0 [OPTION]... [VAR=VALUE]...
962 To assign environment variables (e.g., CC, CFLAGS...), specify them as
963 VAR=VALUE. See below for descriptions of some of the useful variables.
965 Defaults for the options are specified in brackets.
968 -h, --help display this help and exit
969 --help=short display options specific to this package
970 --help=recursive display the short help of all the included packages
971 -V, --version display version information and exit
972 -q, --quiet, --silent do not print \`checking...' messages
973 --cache-file=FILE cache test results in FILE [disabled]
974 -C, --config-cache alias for \`--cache-file=config.cache'
975 -n, --no-create do not create output files
976 --srcdir=DIR find the sources in DIR [configure dir or \`..']
981 Installation directories:
982 --prefix=PREFIX install architecture-independent files in PREFIX
984 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
987 By default, \`make install' will install all the files in
988 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
989 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
990 for instance \`--prefix=\$HOME'.
992 For better control, use the options below.
994 Fine tuning of the installation directories:
995 --bindir=DIR user executables [EPREFIX/bin]
996 --sbindir=DIR system admin executables [EPREFIX/sbin]
997 --libexecdir=DIR program executables [EPREFIX/libexec]
998 --datadir=DIR read-only architecture-independent data [PREFIX/share]
999 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1000 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1001 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1002 --libdir=DIR object code libraries [EPREFIX/lib]
1003 --includedir=DIR C header files [PREFIX/include]
1004 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1005 --infodir=DIR info documentation [PREFIX/info]
1006 --mandir=DIR man documentation [PREFIX/man]
1012 --build=BUILD configure for building on BUILD [guessed]
1013 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1014 --target=TARGET configure for building compilers for TARGET [HOST]
1018 if test -n "$ac_init_help"; then
1019 case $ac_init_help in
1020 short | recursive ) echo "Configuration of [LLVM] [1.0]:";;
1025 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1026 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1027 --enable-shared[=PKGS]
1028 build shared libraries [default=yes]
1029 --enable-static[=PKGS]
1030 build static libraries [default=yes]
1031 --enable-fast-install[=PKGS]
1032 optimize for fast installation [default=yes]
1033 --disable-libtool-lock avoid locking (might break parallel builds)
1034 --enable-purify Compile with purify (default is NO)
1035 --enable-optimized Compile with optimizations enabled (default is NO)
1036 --enable-spec Compile SPEC 2000 benchmarks (default is NO)
1037 --enable-precompiled_bytecode
1038 Use pre-compiled bytecode (default is NO)
1039 --enable-llc_diffs Enable LLC Diffs when testing (default is YES)
1040 --enable-jit Enable Just In Time Compiling (default is YES)
1043 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1044 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1045 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1046 --with-pic try to use only PIC/non-PIC objects [default=use
1049 include additional configurations [automatic]
1050 --with-llvmgccdir Location of LLVM GCC front-end
1051 --with-bcrepos Location of Bytecode Repository
1052 --with-papi Location of PAPI
1053 --with-purify Location of purify program
1055 Some influential environment variables:
1056 CXX C++ compiler command
1057 CXXFLAGS C++ compiler flags
1058 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1059 nonstandard directory <lib dir>
1060 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1061 headers in a nonstandard directory <include dir>
1062 CC C compiler command
1063 CFLAGS C compiler flags
1065 CXXCPP C++ preprocessor
1066 F77 Fortran 77 compiler command
1067 FFLAGS Fortran 77 compiler flags
1069 Use these variables to override the choices made by `configure' or to help
1070 it to find libraries and programs with nonstandard names/locations.
1072 Report bugs to <llvmbugs@cs.uiuc.edu>.
1076 if test "$ac_init_help" = "recursive"; then
1077 # If there are subdirs, report their specific --help.
1079 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1080 test -d $ac_dir || continue
1083 if test "$ac_dir" != .; then
1084 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1085 # A "../" for each directory in $ac_dir_suffix.
1086 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1088 ac_dir_suffix= ac_top_builddir=
1092 .) # No --srcdir option. We are building in place.
1094 if test -z "$ac_top_builddir"; then
1097 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1099 [\\/]* | ?:[\\/]* ) # Absolute path.
1100 ac_srcdir=$srcdir$ac_dir_suffix;
1101 ac_top_srcdir=$srcdir ;;
1103 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1104 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1106 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1108 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1109 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1110 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1111 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1114 # Check for guested configure; otherwise get Cygnus style configure.
1115 if test -f $ac_srcdir/configure.gnu; then
1117 $SHELL $ac_srcdir/configure.gnu --help=recursive
1118 elif test -f $ac_srcdir/configure; then
1120 $SHELL $ac_srcdir/configure --help=recursive
1121 elif test -f $ac_srcdir/configure.ac ||
1122 test -f $ac_srcdir/configure.in; then
1124 $ac_configure --help
1126 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1132 test -n "$ac_init_help" && exit 0
1133 if $ac_init_version; then
1135 [LLVM] configure [1.0]
1136 generated by GNU Autoconf 2.57
1138 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1139 Free Software Foundation, Inc.
1140 This configure script is free software; the Free Software Foundation
1141 gives unlimited permission to copy, distribute and modify it.
1147 This file contains any messages produced by compilers while
1148 running configure, to aid debugging if configure makes a mistake.
1150 It was created by [LLVM] $as_me [1.0], which was
1151 generated by GNU Autoconf 2.57. Invocation command line was
1162 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1163 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1164 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1165 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1166 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1168 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1169 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1171 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1172 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1173 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1174 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1175 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1176 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1177 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1185 test -z "$as_dir" && as_dir=.
1186 echo "PATH: $as_dir"
1201 # Keep a trace of the command line.
1202 # Strip out --no-create and --no-recursion so they do not pile up.
1203 # Strip out --silent because we don't want to record it for future runs.
1204 # Also quote any args containing shell meta-characters.
1205 # Make two passes to allow for proper duplicate-argument suppression.
1210 ac_must_keep_next=false
1216 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1217 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1218 | -silent | --silent | --silen | --sile | --sil)
1220 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1221 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1224 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1226 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1227 if test $ac_must_keep_next = true; then
1228 ac_must_keep_next=false # Got value, back to normal.
1231 *=* | --config-cache | -C | -disable-* | --disable-* \
1232 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1233 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1234 | -with-* | --with-* | -without-* | --without-* | --x)
1235 case "$ac_configure_args0 " in
1236 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1239 -* ) ac_must_keep_next=true ;;
1242 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1243 # Get rid of the leading space.
1249 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1250 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1252 # When interrupted or exit'd, cleanup temporary files, and complete
1253 # config.log. We remove comments because anyway the quotes in there
1254 # would cause problems or look ugly.
1255 # WARNING: Be sure not to use single quotes in there, as some shells,
1256 # such as our DU 5.0 friend, will then `close' the trap.
1257 trap 'exit_status=$?
1258 # Save into config.log some information that might help in debugging.
1263 ## ---------------- ##
1264 ## Cache variables. ##
1265 ## ---------------- ##
1268 # The following way of writing the cache mishandles newlines in values,
1271 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1274 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1275 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1279 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1286 ## ----------------- ##
1287 ## Output variables. ##
1288 ## ----------------- ##
1291 for ac_var in $ac_subst_vars
1293 eval ac_val=$`echo $ac_var`
1294 echo "$ac_var='"'"'$ac_val'"'"'"
1298 if test -n "$ac_subst_files"; then
1305 for ac_var in $ac_subst_files
1307 eval ac_val=$`echo $ac_var`
1308 echo "$ac_var='"'"'$ac_val'"'"'"
1313 if test -s confdefs.h; then
1320 sed "/^$/d" confdefs.h | sort
1323 test "$ac_signal" != 0 &&
1324 echo "$as_me: caught signal $ac_signal"
1325 echo "$as_me: exit $exit_status"
1327 rm -f core core.* *.core &&
1328 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1331 for ac_signal in 1 2 13 15; do
1332 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1336 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1337 rm -rf conftest* confdefs.h
1338 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1341 # Predefined preprocessor variables.
1343 cat >>confdefs.h <<_ACEOF
1344 #define PACKAGE_NAME "$PACKAGE_NAME"
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1353 cat >>confdefs.h <<_ACEOF
1354 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1358 cat >>confdefs.h <<_ACEOF
1359 #define PACKAGE_STRING "$PACKAGE_STRING"
1363 cat >>confdefs.h <<_ACEOF
1364 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1368 # Let the site file select an alternate cache file if it wants to.
1369 # Prefer explicitly selected file to automatically selected ones.
1370 if test -z "$CONFIG_SITE"; then
1371 if test "x$prefix" != xNONE; then
1372 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1374 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1377 for ac_site_file in $CONFIG_SITE; do
1378 if test -r "$ac_site_file"; then
1379 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1380 echo "$as_me: loading site script $ac_site_file" >&6;}
1381 sed 's/^/| /' "$ac_site_file" >&5
1386 if test -r "$cache_file"; then
1387 # Some versions of bash will fail to source /dev/null (special
1388 # files actually), so we avoid doing that.
1389 if test -f "$cache_file"; then
1390 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1391 echo "$as_me: loading cache $cache_file" >&6;}
1393 [\\/]* | ?:[\\/]* ) . $cache_file;;
1394 *) . ./$cache_file;;
1398 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1399 echo "$as_me: creating cache $cache_file" >&6;}
1403 # Check that the precious variables saved in the cache have kept the same
1405 ac_cache_corrupted=false
1406 for ac_var in `(set) 2>&1 |
1407 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1408 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1409 eval ac_new_set=\$ac_env_${ac_var}_set
1410 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1411 eval ac_new_val="\$ac_env_${ac_var}_value"
1412 case $ac_old_set,$ac_new_set in
1414 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1415 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1416 ac_cache_corrupted=: ;;
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1420 ac_cache_corrupted=: ;;
1423 if test "x$ac_old_val" != "x$ac_new_val"; then
1424 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1425 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1426 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1427 echo "$as_me: former value: $ac_old_val" >&2;}
1428 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1429 echo "$as_me: current value: $ac_new_val" >&2;}
1430 ac_cache_corrupted=:
1433 # Pass precious variables to config.status.
1434 if test "$ac_new_set" = set; then
1436 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1437 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1438 *) ac_arg=$ac_var=$ac_new_val ;;
1440 case " $ac_configure_args " in
1441 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1442 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1446 if $ac_cache_corrupted; then
1447 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1448 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1449 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1450 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1451 { (exit 1); exit 1; }; }
1455 ac_cpp='$CPP $CPPFLAGS'
1456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1488 for ac_dir in autoconf $srcdir/autoconf; do
1489 if test -f $ac_dir/install-sh; then
1491 ac_install_sh="$ac_aux_dir/install-sh -c"
1493 elif test -f $ac_dir/install.sh; then
1495 ac_install_sh="$ac_aux_dir/install.sh -c"
1497 elif test -f $ac_dir/shtool; then
1499 ac_install_sh="$ac_aux_dir/shtool install -c"
1503 if test -z "$ac_aux_dir"; then
1504 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1505 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1506 { (exit 1); exit 1; }; }
1508 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1509 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1510 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1513 if test ${srcdir} != "."
1515 if test -f ${srcdir}/include/Config/config.h
1517 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1518 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1519 { (exit 1); exit 1; }; }
1523 if test -d ${srcdir}/projects/reopt
1527 subdirs="$subdirs projects/reopt"
1531 if test -d ${srcdir}/projects/poolalloc
1535 subdirs="$subdirs projects/poolalloc"
1539 ac_config_headers="$ac_config_headers include/Config/config.h"
1541 ac_config_commands="$ac_config_commands Makefile"
1544 ac_config_commands="$ac_config_commands Makefile.common"
1547 ac_config_commands="$ac_config_commands Makefile.rules"
1550 ac_config_commands="$ac_config_commands lib/Makefile"
1553 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1556 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1559 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1562 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1565 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1568 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1571 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1574 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1577 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1580 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1583 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1586 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1589 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1592 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1595 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1598 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1601 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1604 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1607 ac_config_commands="$ac_config_commands lib/Support/Makefile"
1610 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1613 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1616 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1619 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1622 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1625 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1628 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1631 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1634 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1637 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1640 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1643 ac_config_commands="$ac_config_commands runtime/Makefile"
1646 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1649 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1652 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1655 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1658 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1661 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1664 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1667 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1670 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1673 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1676 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1679 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1682 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1685 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1688 ac_config_commands="$ac_config_commands test/Makefile"
1691 ac_config_commands="$ac_config_commands test/Makefile.tests"
1694 ac_config_commands="$ac_config_commands test/QMTest/llvm.py"
1697 ac_config_commands="$ac_config_commands test/QMTest/llvmdb.py"
1700 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1703 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1706 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1709 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1712 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1715 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1718 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1721 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1724 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1727 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1730 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1733 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1736 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1739 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1742 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1745 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1748 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1751 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1754 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1757 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1760 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1763 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1766 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1769 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1772 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1775 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1778 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1781 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1784 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1787 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1790 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1793 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1796 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1799 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1802 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1805 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1808 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1811 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1814 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1817 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1820 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1823 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1826 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1829 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1832 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1835 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1838 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1841 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1844 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1847 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1850 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1853 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1856 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1859 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1862 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1865 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1868 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1871 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1874 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1877 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1880 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1883 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1886 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1889 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1892 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1895 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1898 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1901 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1904 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1907 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1910 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1913 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1916 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1919 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1922 ac_config_commands="$ac_config_commands test/Programs/NoSource/Makefile"
1925 ac_config_commands="$ac_config_commands test/Programs/NoSource/Flex/Makefile"
1928 ac_config_commands="$ac_config_commands test/Programs/NoSource/Larn/Makefile"
1931 ac_config_commands="$ac_config_commands test/Programs/NoSource/Moria-5.5.2/Makefile"
1934 ac_config_commands="$ac_config_commands test/Programs/NoSource/Povray31/Makefile"
1937 ac_config_commands="$ac_config_commands test/Programs/NoSource/m4/Makefile"
1940 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1943 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1946 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1949 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1952 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1955 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1958 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1961 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1964 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1967 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1970 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
1973 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/Makefile"
1976 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C/Makefile"
1979 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/Makefile"
1982 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/EH/Makefile"
1985 ac_config_commands="$ac_config_commands tools/Makefile"
1988 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1991 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1994 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1997 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
2000 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
2003 ac_config_commands="$ac_config_commands tools/llc/Makefile"
2006 ac_config_commands="$ac_config_commands tools/llee/Makefile"
2009 ac_config_commands="$ac_config_commands tools/lli/Makefile"
2012 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
2015 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
2018 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
2021 ac_config_commands="$ac_config_commands tools/llvm-link/Makefile"
2024 ac_config_commands="$ac_config_commands tools/opt/Makefile"
2027 ac_config_commands="$ac_config_commands utils/Makefile"
2030 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
2033 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
2036 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
2039 ac_config_commands="$ac_config_commands www/docs/Makefile"
2042 ac_config_commands="$ac_config_commands projects/Makefile"
2045 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2048 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2051 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2054 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2057 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2060 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2063 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2066 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2069 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2072 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2075 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2080 # Find a good install program. We prefer a C program (faster),
2081 # so one script is as good as another. But avoid the broken or
2082 # incompatible versions:
2083 # SysV /etc/install, /usr/sbin/install
2084 # SunOS /usr/etc/install
2085 # IRIX /sbin/install
2087 # AmigaOS /C/install, which installs bootblocks on floppy discs
2088 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2089 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2090 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2091 # ./install, which can be erroneously created by make from ./install.sh.
2092 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2093 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2094 if test -z "$INSTALL"; then
2095 if test "${ac_cv_path_install+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 test -z "$as_dir" && as_dir=.
2103 # Account for people who put trailing slashes in PATH elements.
2105 ./ | .// | /cC/* | \
2106 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2109 # OSF1 and SCO ODT 3.0 have their own names for install.
2110 # Don't use installbsd from OSF since it installs stuff as root
2112 for ac_prog in ginstall scoinst install; do
2113 for ac_exec_ext in '' $ac_executable_extensions; do
2114 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2115 if test $ac_prog = install &&
2116 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2117 # AIX install. It has an incompatible calling convention.
2119 elif test $ac_prog = install &&
2120 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2121 # program-specific install script used by HP pwplus--don't use.
2124 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2136 if test "${ac_cv_path_install+set}" = set; then
2137 INSTALL=$ac_cv_path_install
2139 # As a last resort, use the slow shell script. We don't cache a
2140 # path for INSTALL within a source directory, because that will
2141 # break other packages using the cache if that directory is
2142 # removed, or if the path is relative.
2143 INSTALL=$ac_install_sh
2146 echo "$as_me:$LINENO: result: $INSTALL" >&5
2147 echo "${ECHO_T}$INSTALL" >&6
2149 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2150 # It thinks the first close brace ends the variable substitution.
2151 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2153 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2155 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2158 # Make sure we can run config.sub.
2159 $ac_config_sub sun4 >/dev/null 2>&1 ||
2160 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2161 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2162 { (exit 1); exit 1; }; }
2164 echo "$as_me:$LINENO: checking build system type" >&5
2165 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2166 if test "${ac_cv_build+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 ac_cv_build_alias=$build_alias
2170 test -z "$ac_cv_build_alias" &&
2171 ac_cv_build_alias=`$ac_config_guess`
2172 test -z "$ac_cv_build_alias" &&
2173 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2174 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2175 { (exit 1); exit 1; }; }
2176 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2177 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2178 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2179 { (exit 1); exit 1; }; }
2182 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2183 echo "${ECHO_T}$ac_cv_build" >&6
2185 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2186 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2187 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2190 echo "$as_me:$LINENO: checking host system type" >&5
2191 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2192 if test "${ac_cv_host+set}" = set; then
2193 echo $ECHO_N "(cached) $ECHO_C" >&6
2195 ac_cv_host_alias=$host_alias
2196 test -z "$ac_cv_host_alias" &&
2197 ac_cv_host_alias=$ac_cv_build_alias
2198 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2199 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2200 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2201 { (exit 1); exit 1; }; }
2204 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2205 echo "${ECHO_T}$ac_cv_host" >&6
2207 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2208 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2209 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2212 echo "$as_me:$LINENO: checking target system type" >&5
2213 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2214 if test "${ac_cv_target+set}" = set; then
2215 echo $ECHO_N "(cached) $ECHO_C" >&6
2217 ac_cv_target_alias=$target_alias
2218 test "x$ac_cv_target_alias" = "x" &&
2219 ac_cv_target_alias=$ac_cv_host_alias
2220 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2221 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2222 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2223 { (exit 1); exit 1; }; }
2226 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2227 echo "${ECHO_T}$ac_cv_target" >&6
2228 target=$ac_cv_target
2229 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2230 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2231 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2234 # The aliases save the names the user supplied, while $host etc.
2235 # will get canonicalized.
2236 test -n "$target_alias" &&
2237 test "$program_prefix$program_suffix$program_transform_name" = \
2239 program_prefix=${target_alias}-
2244 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2250 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2260 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2269 *sparc*solaris*) ARCH=Sparc
2276 ac_cpp='$CXXCPP $CPPFLAGS'
2277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2280 if test -n "$ac_tool_prefix"; then
2281 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2283 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2284 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2285 echo "$as_me:$LINENO: checking for $ac_word" >&5
2286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2287 if test "${ac_cv_prog_CXX+set}" = set; then
2288 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 if test -n "$CXX"; then
2291 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2297 test -z "$as_dir" && as_dir=.
2298 for ac_exec_ext in '' $ac_executable_extensions; do
2299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2300 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2310 if test -n "$CXX"; then
2311 echo "$as_me:$LINENO: result: $CXX" >&5
2312 echo "${ECHO_T}$CXX" >&6
2314 echo "$as_me:$LINENO: result: no" >&5
2315 echo "${ECHO_T}no" >&6
2318 test -n "$CXX" && break
2321 if test -z "$CXX"; then
2323 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2325 # Extract the first word of "$ac_prog", so it can be a program name with args.
2326 set dummy $ac_prog; ac_word=$2
2327 echo "$as_me:$LINENO: checking for $ac_word" >&5
2328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2329 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2330 echo $ECHO_N "(cached) $ECHO_C" >&6
2332 if test -n "$ac_ct_CXX"; then
2333 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2339 test -z "$as_dir" && as_dir=.
2340 for ac_exec_ext in '' $ac_executable_extensions; do
2341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2342 ac_cv_prog_ac_ct_CXX="$ac_prog"
2343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2352 if test -n "$ac_ct_CXX"; then
2353 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2354 echo "${ECHO_T}$ac_ct_CXX" >&6
2356 echo "$as_me:$LINENO: result: no" >&5
2357 echo "${ECHO_T}no" >&6
2360 test -n "$ac_ct_CXX" && break
2362 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2368 # Provide some information about the compiler.
2369 echo "$as_me:$LINENO:" \
2370 "checking for C++ compiler version" >&5
2371 ac_compiler=`set X $ac_compile; echo $2`
2372 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2373 (eval $ac_compiler --version </dev/null >&5) 2>&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }
2377 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2378 (eval $ac_compiler -v </dev/null >&5) 2>&5
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); }
2382 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2383 (eval $ac_compiler -V </dev/null >&5) 2>&5
2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); }
2388 cat >conftest.$ac_ext <<_ACEOF
2389 #line $LINENO "configure"
2392 cat confdefs.h >>conftest.$ac_ext
2393 cat >>conftest.$ac_ext <<_ACEOF
2394 /* end confdefs.h. */
2404 ac_clean_files_save=$ac_clean_files
2405 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2406 # Try to create an executable without -o first, disregard a.out.
2407 # It will help us diagnose broken compilers, and finding out an intuition
2409 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2410 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2411 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2412 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2413 (eval $ac_link_default) 2>&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); }; then
2417 # Find the output, starting from the most likely. This scheme is
2418 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2421 # Be careful to initialize this variable, since it used to be cached.
2422 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2424 # b.out is created by i960 compilers.
2425 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2427 test -f "$ac_file" || continue
2429 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2432 # This is the source file.
2435 # We found the default executable, but exeext='' is most
2439 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2440 # FIXME: I believe we export ac_cv_exeext for Libtool,
2441 # but it would be cool to find out if it's true. Does anybody
2442 # maintain Libtool? --akim.
2450 echo "$as_me: failed program was:" >&5
2451 sed 's/^/| /' conftest.$ac_ext >&5
2453 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2454 See \`config.log' for more details." >&5
2455 echo "$as_me: error: C++ compiler cannot create executables
2456 See \`config.log' for more details." >&2;}
2457 { (exit 77); exit 77; }; }
2460 ac_exeext=$ac_cv_exeext
2461 echo "$as_me:$LINENO: result: $ac_file" >&5
2462 echo "${ECHO_T}$ac_file" >&6
2464 # Check the compiler produces executables we can run. If not, either
2465 # the compiler is broken, or we cross compile.
2466 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2467 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2468 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2469 # If not cross compiling, check that we can run a simple program.
2470 if test "$cross_compiling" != yes; then
2471 if { ac_try='./$ac_file'
2472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); }; }; then
2479 if test "$cross_compiling" = maybe; then
2482 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2483 If you meant to cross compile, use \`--host'.
2484 See \`config.log' for more details." >&5
2485 echo "$as_me: error: cannot run C++ compiled programs.
2486 If you meant to cross compile, use \`--host'.
2487 See \`config.log' for more details." >&2;}
2488 { (exit 1); exit 1; }; }
2492 echo "$as_me:$LINENO: result: yes" >&5
2493 echo "${ECHO_T}yes" >&6
2495 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2496 ac_clean_files=$ac_clean_files_save
2497 # Check the compiler produces executables we can run. If not, either
2498 # the compiler is broken, or we cross compile.
2499 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2500 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2501 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2502 echo "${ECHO_T}$cross_compiling" >&6
2504 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2505 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2507 (eval $ac_link) 2>&5
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); }; then
2511 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2512 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2513 # work properly (i.e., refer to `conftest.exe'), while it won't with
2515 for ac_file in conftest.exe conftest conftest.*; do
2516 test -f "$ac_file" || continue
2518 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2519 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2526 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2527 See \`config.log' for more details." >&5
2528 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2529 See \`config.log' for more details." >&2;}
2530 { (exit 1); exit 1; }; }
2533 rm -f conftest$ac_cv_exeext
2534 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2535 echo "${ECHO_T}$ac_cv_exeext" >&6
2537 rm -f conftest.$ac_ext
2538 EXEEXT=$ac_cv_exeext
2540 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2541 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2542 if test "${ac_cv_objext+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 cat >conftest.$ac_ext <<_ACEOF
2546 #line $LINENO "configure"
2549 cat confdefs.h >>conftest.$ac_ext
2550 cat >>conftest.$ac_ext <<_ACEOF
2551 /* end confdefs.h. */
2561 rm -f conftest.o conftest.obj
2562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2563 (eval $ac_compile) 2>&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }; then
2567 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2569 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2570 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2575 echo "$as_me: failed program was:" >&5
2576 sed 's/^/| /' conftest.$ac_ext >&5
2578 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2579 See \`config.log' for more details." >&5
2580 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2581 See \`config.log' for more details." >&2;}
2582 { (exit 1); exit 1; }; }
2585 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2587 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2588 echo "${ECHO_T}$ac_cv_objext" >&6
2589 OBJEXT=$ac_cv_objext
2591 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2592 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2593 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2594 echo $ECHO_N "(cached) $ECHO_C" >&6
2596 cat >conftest.$ac_ext <<_ACEOF
2597 #line $LINENO "configure"
2600 cat confdefs.h >>conftest.$ac_ext
2601 cat >>conftest.$ac_ext <<_ACEOF
2602 /* end confdefs.h. */
2615 rm -f conftest.$ac_objext
2616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2617 (eval $ac_compile) 2>&5
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); } &&
2621 { ac_try='test -s conftest.$ac_objext'
2622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); }; }; then
2629 echo "$as_me: failed program was:" >&5
2630 sed 's/^/| /' conftest.$ac_ext >&5
2634 rm -f conftest.$ac_objext conftest.$ac_ext
2635 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2638 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2639 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2640 GXX=`test $ac_compiler_gnu = yes && echo yes`
2641 ac_test_CXXFLAGS=${CXXFLAGS+set}
2642 ac_save_CXXFLAGS=$CXXFLAGS
2644 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2645 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2646 if test "${ac_cv_prog_cxx_g+set}" = set; then
2647 echo $ECHO_N "(cached) $ECHO_C" >&6
2649 cat >conftest.$ac_ext <<_ACEOF
2650 #line $LINENO "configure"
2653 cat confdefs.h >>conftest.$ac_ext
2654 cat >>conftest.$ac_ext <<_ACEOF
2655 /* end confdefs.h. */
2665 rm -f conftest.$ac_objext
2666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2667 (eval $ac_compile) 2>&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); } &&
2671 { ac_try='test -s conftest.$ac_objext'
2672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); }; }; then
2677 ac_cv_prog_cxx_g=yes
2679 echo "$as_me: failed program was:" >&5
2680 sed 's/^/| /' conftest.$ac_ext >&5
2684 rm -f conftest.$ac_objext conftest.$ac_ext
2686 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2687 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2688 if test "$ac_test_CXXFLAGS" = set; then
2689 CXXFLAGS=$ac_save_CXXFLAGS
2690 elif test $ac_cv_prog_cxx_g = yes; then
2691 if test "$GXX" = yes; then
2697 if test "$GXX" = yes; then
2703 for ac_declaration in \
2705 '#include <stdlib.h>' \
2706 'extern "C" void std::exit (int) throw (); using std::exit;' \
2707 'extern "C" void std::exit (int); using std::exit;' \
2708 'extern "C" void exit (int) throw ();' \
2709 'extern "C" void exit (int);' \
2712 cat >conftest.$ac_ext <<_ACEOF
2713 #line $LINENO "configure"
2716 cat confdefs.h >>conftest.$ac_ext
2717 cat >>conftest.$ac_ext <<_ACEOF
2718 /* end confdefs.h. */
2729 rm -f conftest.$ac_objext
2730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2731 (eval $ac_compile) 2>&5
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 (exit $ac_status); } &&
2735 { ac_try='test -s conftest.$ac_objext'
2736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }; }; then
2743 echo "$as_me: failed program was:" >&5
2744 sed 's/^/| /' conftest.$ac_ext >&5
2748 rm -f conftest.$ac_objext conftest.$ac_ext
2749 cat >conftest.$ac_ext <<_ACEOF
2750 #line $LINENO "configure"
2753 cat confdefs.h >>conftest.$ac_ext
2754 cat >>conftest.$ac_ext <<_ACEOF
2755 /* end confdefs.h. */
2765 rm -f conftest.$ac_objext
2766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2767 (eval $ac_compile) 2>&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); } &&
2771 { ac_try='test -s conftest.$ac_objext'
2772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; }; then
2779 echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.$ac_ext >&5
2783 rm -f conftest.$ac_objext conftest.$ac_ext
2786 if test -n "$ac_declaration"; then
2787 echo '#ifdef __cplusplus' >>confdefs.h
2788 echo $ac_declaration >>confdefs.h
2789 echo '#endif' >>confdefs.h
2793 ac_cpp='$CPP $CPPFLAGS'
2794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2799 ac_cpp='$CPP $CPPFLAGS'
2800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2803 if test -n "$ac_tool_prefix"; then
2806 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2807 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2808 echo "$as_me:$LINENO: checking for $ac_word" >&5
2809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2810 if test "${ac_cv_prog_CC+set}" = set; then
2811 echo $ECHO_N "(cached) $ECHO_C" >&6
2813 if test -n "$CC"; then
2814 ac_cv_prog_CC="$CC" # Let the user override the test.
2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820 test -z "$as_dir" && as_dir=.
2821 for ac_exec_ext in '' $ac_executable_extensions; do
2822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2823 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2833 if test -n "$CC"; then
2834 echo "$as_me:$LINENO: result: $CC" >&5
2835 echo "${ECHO_T}$CC" >&6
2837 echo "$as_me:$LINENO: result: no" >&5
2838 echo "${ECHO_T}no" >&6
2841 test -n "$CC" && break
2844 if test -z "$CC"; then
2848 # Extract the first word of "$ac_prog", so it can be a program name with args.
2849 set dummy $ac_prog; ac_word=$2
2850 echo "$as_me:$LINENO: checking for $ac_word" >&5
2851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2852 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2853 echo $ECHO_N "(cached) $ECHO_C" >&6
2855 if test -n "$ac_ct_CC"; then
2856 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2862 test -z "$as_dir" && as_dir=.
2863 for ac_exec_ext in '' $ac_executable_extensions; do
2864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2865 ac_cv_prog_ac_ct_CC="$ac_prog"
2866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2874 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2875 if test -n "$ac_ct_CC"; then
2876 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2877 echo "${ECHO_T}$ac_ct_CC" >&6
2879 echo "$as_me:$LINENO: result: no" >&5
2880 echo "${ECHO_T}no" >&6
2883 test -n "$ac_ct_CC" && break
2890 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2891 See \`config.log' for more details." >&5
2892 echo "$as_me: error: no acceptable C compiler found in \$PATH
2893 See \`config.log' for more details." >&2;}
2894 { (exit 1); exit 1; }; }
2896 # Provide some information about the compiler.
2897 echo "$as_me:$LINENO:" \
2898 "checking for C compiler version" >&5
2899 ac_compiler=`set X $ac_compile; echo $2`
2900 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2901 (eval $ac_compiler --version </dev/null >&5) 2>&5
2903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904 (exit $ac_status); }
2905 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2906 (eval $ac_compiler -v </dev/null >&5) 2>&5
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); }
2910 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2911 (eval $ac_compiler -V </dev/null >&5) 2>&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); }
2916 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2917 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2918 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2919 echo $ECHO_N "(cached) $ECHO_C" >&6
2921 cat >conftest.$ac_ext <<_ACEOF
2922 #line $LINENO "configure"
2925 cat confdefs.h >>conftest.$ac_ext
2926 cat >>conftest.$ac_ext <<_ACEOF
2927 /* end confdefs.h. */
2940 rm -f conftest.$ac_objext
2941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2942 (eval $ac_compile) 2>&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); } &&
2946 { ac_try='test -s conftest.$ac_objext'
2947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); }; }; then
2954 echo "$as_me: failed program was:" >&5
2955 sed 's/^/| /' conftest.$ac_ext >&5
2959 rm -f conftest.$ac_objext conftest.$ac_ext
2960 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2963 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2964 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2965 GCC=`test $ac_compiler_gnu = yes && echo yes`
2966 ac_test_CFLAGS=${CFLAGS+set}
2967 ac_save_CFLAGS=$CFLAGS
2969 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2970 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2971 if test "${ac_cv_prog_cc_g+set}" = set; then
2972 echo $ECHO_N "(cached) $ECHO_C" >&6
2974 cat >conftest.$ac_ext <<_ACEOF
2975 #line $LINENO "configure"
2978 cat confdefs.h >>conftest.$ac_ext
2979 cat >>conftest.$ac_ext <<_ACEOF
2980 /* end confdefs.h. */
2990 rm -f conftest.$ac_objext
2991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2992 (eval $ac_compile) 2>&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); } &&
2996 { ac_try='test -s conftest.$ac_objext'
2997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001 (exit $ac_status); }; }; then
3004 echo "$as_me: failed program was:" >&5
3005 sed 's/^/| /' conftest.$ac_ext >&5
3009 rm -f conftest.$ac_objext conftest.$ac_ext
3011 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3012 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3013 if test "$ac_test_CFLAGS" = set; then
3014 CFLAGS=$ac_save_CFLAGS
3015 elif test $ac_cv_prog_cc_g = yes; then
3016 if test "$GCC" = yes; then
3022 if test "$GCC" = yes; then
3028 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3029 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3030 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3031 echo $ECHO_N "(cached) $ECHO_C" >&6
3033 ac_cv_prog_cc_stdc=no
3035 cat >conftest.$ac_ext <<_ACEOF
3036 #line $LINENO "configure"
3039 cat confdefs.h >>conftest.$ac_ext
3040 cat >>conftest.$ac_ext <<_ACEOF
3041 /* end confdefs.h. */
3044 #include <sys/types.h>
3045 #include <sys/stat.h>
3046 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3047 struct buf { int x; };
3048 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3049 static char *e (p, i)
3055 static char *f (char * (*g) (char **, int), char **p, ...)
3060 s = g (p, va_arg (v,int));
3064 int test (int i, double x);
3065 struct s1 {int (*f) (int a);};
3066 struct s2 {int (*f) (double a);};
3067 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3073 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3078 # Don't try gcc -ansi; that turns off useful extensions and
3079 # breaks some systems' header files.
3080 # AIX -qlanglvl=ansi
3081 # Ultrix and OSF/1 -std1
3082 # HP-UX 10.20 and later -Ae
3083 # HP-UX older versions -Aa -D_HPUX_SOURCE
3084 # SVR4 -Xc -D__EXTENSIONS__
3085 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3087 CC="$ac_save_CC $ac_arg"
3088 rm -f conftest.$ac_objext
3089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3090 (eval $ac_compile) 2>&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); } &&
3094 { ac_try='test -s conftest.$ac_objext'
3095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); }; }; then
3100 ac_cv_prog_cc_stdc=$ac_arg
3103 echo "$as_me: failed program was:" >&5
3104 sed 's/^/| /' conftest.$ac_ext >&5
3107 rm -f conftest.$ac_objext
3109 rm -f conftest.$ac_ext conftest.$ac_objext
3114 case "x$ac_cv_prog_cc_stdc" in
3116 echo "$as_me:$LINENO: result: none needed" >&5
3117 echo "${ECHO_T}none needed" >&6 ;;
3119 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3120 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3121 CC="$CC $ac_cv_prog_cc_stdc" ;;
3124 # Some people use a C++ compiler to compile C. Since we use `exit',
3125 # in C++ we need to declare it. In case someone uses the same compiler
3126 # for both compiling C and C++ we need to have the C++ compiler decide
3127 # the declaration of exit, since it's the most demanding environment.
3128 cat >conftest.$ac_ext <<_ACEOF
3133 rm -f conftest.$ac_objext
3134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3135 (eval $ac_compile) 2>&5
3137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138 (exit $ac_status); } &&
3139 { ac_try='test -s conftest.$ac_objext'
3140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); }; }; then
3145 for ac_declaration in \
3147 '#include <stdlib.h>' \
3148 'extern "C" void std::exit (int) throw (); using std::exit;' \
3149 'extern "C" void std::exit (int); using std::exit;' \
3150 'extern "C" void exit (int) throw ();' \
3151 'extern "C" void exit (int);' \
3154 cat >conftest.$ac_ext <<_ACEOF
3155 #line $LINENO "configure"
3158 cat confdefs.h >>conftest.$ac_ext
3159 cat >>conftest.$ac_ext <<_ACEOF
3160 /* end confdefs.h. */
3171 rm -f conftest.$ac_objext
3172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3173 (eval $ac_compile) 2>&5
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); } &&
3177 { ac_try='test -s conftest.$ac_objext'
3178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); }; }; then
3185 echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.$ac_ext >&5
3190 rm -f conftest.$ac_objext conftest.$ac_ext
3191 cat >conftest.$ac_ext <<_ACEOF
3192 #line $LINENO "configure"
3195 cat confdefs.h >>conftest.$ac_ext
3196 cat >>conftest.$ac_ext <<_ACEOF
3197 /* end confdefs.h. */
3207 rm -f conftest.$ac_objext
3208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3209 (eval $ac_compile) 2>&5
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); } &&
3213 { ac_try='test -s conftest.$ac_objext'
3214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218 (exit $ac_status); }; }; then
3221 echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3225 rm -f conftest.$ac_objext conftest.$ac_ext
3228 if test -n "$ac_declaration"; then
3229 echo '#ifdef __cplusplus' >>confdefs.h
3230 echo $ac_declaration >>confdefs.h
3231 echo '#endif' >>confdefs.h
3235 echo "$as_me: failed program was:" >&5
3236 sed 's/^/| /' conftest.$ac_ext >&5
3239 rm -f conftest.$ac_objext conftest.$ac_ext
3241 ac_cpp='$CPP $CPPFLAGS'
3242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3247 ac_cpp='$CPP $CPPFLAGS'
3248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3251 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3252 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3253 # On Suns, sometimes $CPP names a directory.
3254 if test -n "$CPP" && test -d "$CPP"; then
3257 if test -z "$CPP"; then
3258 if test "${ac_cv_prog_CPP+set}" = set; then
3259 echo $ECHO_N "(cached) $ECHO_C" >&6
3261 # Double quotes because CPP needs to be expanded
3262 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3265 for ac_c_preproc_warn_flag in '' yes
3267 # Use a header file that comes with gcc, so configuring glibc
3268 # with a fresh cross-compiler works.
3269 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3270 # <limits.h> exists even on freestanding compilers.
3271 # On the NeXT, cc -E runs the code through the compiler's parser,
3272 # not just through cpp. "Syntax error" is here to catch this case.
3273 cat >conftest.$ac_ext <<_ACEOF
3274 #line $LINENO "configure"
3277 cat confdefs.h >>conftest.$ac_ext
3278 cat >>conftest.$ac_ext <<_ACEOF
3279 /* end confdefs.h. */
3281 # include <limits.h>
3283 # include <assert.h>
3287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3288 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3290 grep -v '^ *+' conftest.er1 >conftest.err
3292 cat conftest.err >&5
3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294 (exit $ac_status); } >/dev/null; then
3295 if test -s conftest.err; then
3296 ac_cpp_err=$ac_c_preproc_warn_flag
3303 if test -z "$ac_cpp_err"; then
3306 echo "$as_me: failed program was:" >&5
3307 sed 's/^/| /' conftest.$ac_ext >&5
3309 # Broken: fails on valid input.
3312 rm -f conftest.err conftest.$ac_ext
3314 # OK, works on sane cases. Now check whether non-existent headers
3315 # can be detected and how.
3316 cat >conftest.$ac_ext <<_ACEOF
3317 #line $LINENO "configure"
3320 cat confdefs.h >>conftest.$ac_ext
3321 cat >>conftest.$ac_ext <<_ACEOF
3322 /* end confdefs.h. */
3323 #include <ac_nonexistent.h>
3325 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3326 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3328 grep -v '^ *+' conftest.er1 >conftest.err
3330 cat conftest.err >&5
3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3332 (exit $ac_status); } >/dev/null; then
3333 if test -s conftest.err; then
3334 ac_cpp_err=$ac_c_preproc_warn_flag
3341 if test -z "$ac_cpp_err"; then
3342 # Broken: success on invalid input.
3345 echo "$as_me: failed program was:" >&5
3346 sed 's/^/| /' conftest.$ac_ext >&5
3348 # Passes both tests.
3352 rm -f conftest.err conftest.$ac_ext
3355 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3356 rm -f conftest.err conftest.$ac_ext
3357 if $ac_preproc_ok; then
3369 echo "$as_me:$LINENO: result: $CPP" >&5
3370 echo "${ECHO_T}$CPP" >&6
3372 for ac_c_preproc_warn_flag in '' yes
3374 # Use a header file that comes with gcc, so configuring glibc
3375 # with a fresh cross-compiler works.
3376 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3377 # <limits.h> exists even on freestanding compilers.
3378 # On the NeXT, cc -E runs the code through the compiler's parser,
3379 # not just through cpp. "Syntax error" is here to catch this case.
3380 cat >conftest.$ac_ext <<_ACEOF
3381 #line $LINENO "configure"
3384 cat confdefs.h >>conftest.$ac_ext
3385 cat >>conftest.$ac_ext <<_ACEOF
3386 /* end confdefs.h. */
3388 # include <limits.h>
3390 # include <assert.h>
3394 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3395 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3397 grep -v '^ *+' conftest.er1 >conftest.err
3399 cat conftest.err >&5
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); } >/dev/null; then
3402 if test -s conftest.err; then
3403 ac_cpp_err=$ac_c_preproc_warn_flag
3410 if test -z "$ac_cpp_err"; then
3413 echo "$as_me: failed program was:" >&5
3414 sed 's/^/| /' conftest.$ac_ext >&5
3416 # Broken: fails on valid input.
3419 rm -f conftest.err conftest.$ac_ext
3421 # OK, works on sane cases. Now check whether non-existent headers
3422 # can be detected and how.
3423 cat >conftest.$ac_ext <<_ACEOF
3424 #line $LINENO "configure"
3427 cat confdefs.h >>conftest.$ac_ext
3428 cat >>conftest.$ac_ext <<_ACEOF
3429 /* end confdefs.h. */
3430 #include <ac_nonexistent.h>
3432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3433 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3435 grep -v '^ *+' conftest.er1 >conftest.err
3437 cat conftest.err >&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); } >/dev/null; then
3440 if test -s conftest.err; then
3441 ac_cpp_err=$ac_c_preproc_warn_flag
3448 if test -z "$ac_cpp_err"; then
3449 # Broken: success on invalid input.
3452 echo "$as_me: failed program was:" >&5
3453 sed 's/^/| /' conftest.$ac_ext >&5
3455 # Passes both tests.
3459 rm -f conftest.err conftest.$ac_ext
3462 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3463 rm -f conftest.err conftest.$ac_ext
3464 if $ac_preproc_ok; then
3467 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3468 See \`config.log' for more details." >&5
3469 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3470 See \`config.log' for more details." >&2;}
3471 { (exit 1); exit 1; }; }
3475 ac_cpp='$CPP $CPPFLAGS'
3476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3481 if test "$GCC" != "yes"
3483 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3484 echo "$as_me: error: gcc required but not found" >&2;}
3485 { (exit 1); exit 1; }; }
3488 if test "$GXX" != "yes"
3490 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3491 echo "$as_me: error: g++ required but not found" >&2;}
3492 { (exit 1); exit 1; }; }
3495 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3496 if test "$gccmajor" -lt "3"
3498 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3499 echo "$as_me: error: gcc 3.x required" >&2;}
3500 { (exit 1); exit 1; }; }
3503 echo "$as_me:$LINENO: checking for GNU make" >&5
3504 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3505 if test "${_cv_gnu_make_command+set}" = set; then
3506 echo $ECHO_N "(cached) $ECHO_C" >&6
3508 _cv_gnu_make_command='' ;
3509 for a in "$MAKE" make gmake gnumake ; do
3510 if test -z "$a" ; then continue ; fi ;
3511 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3512 _cv_gnu_make_command=$a ;
3518 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3519 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3520 if test "x$_cv_gnu_make_command" != "x" ; then
3524 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3525 echo "${ECHO_T}\"Not found\"" >&6;
3529 if test -z "$_cv_gnu_make_command"
3531 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3532 echo "$as_me: error: GNU Make required but not found" >&2;}
3533 { (exit 1); exit 1; }; }
3537 echo "$as_me:$LINENO: checking " >&5
3538 echo $ECHO_N "checking ... $ECHO_C" >&6
3539 if test "${ac_cv_has_flex+set}" = set; then
3540 echo $ECHO_N "(cached) $ECHO_C" >&6
3542 for ac_prog in flex lex
3544 # Extract the first word of "$ac_prog", so it can be a program name with args.
3545 set dummy $ac_prog; ac_word=$2
3546 echo "$as_me:$LINENO: checking for $ac_word" >&5
3547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3548 if test "${ac_cv_prog_LEX+set}" = set; then
3549 echo $ECHO_N "(cached) $ECHO_C" >&6
3551 if test -n "$LEX"; then
3552 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3558 test -z "$as_dir" && as_dir=.
3559 for ac_exec_ext in '' $ac_executable_extensions; do
3560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3561 ac_cv_prog_LEX="$ac_prog"
3562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3571 if test -n "$LEX"; then
3572 echo "$as_me:$LINENO: result: $LEX" >&5
3573 echo "${ECHO_T}$LEX" >&6
3575 echo "$as_me:$LINENO: result: no" >&5
3576 echo "${ECHO_T}no" >&6
3579 test -n "$LEX" && break
3581 test -n "$LEX" || LEX=":"
3583 if test -z "$LEXLIB"
3585 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3586 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3587 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3588 echo $ECHO_N "(cached) $ECHO_C" >&6
3590 ac_check_lib_save_LIBS=$LIBS
3592 cat >conftest.$ac_ext <<_ACEOF
3593 #line $LINENO "configure"
3596 cat confdefs.h >>conftest.$ac_ext
3597 cat >>conftest.$ac_ext <<_ACEOF
3598 /* end confdefs.h. */
3600 /* Override any gcc2 internal prototype to avoid an error. */
3604 /* We use char because int might match the return type of a gcc2
3605 builtin and then its argument prototype would still apply. */
3615 rm -f conftest.$ac_objext conftest$ac_exeext
3616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3617 (eval $ac_link) 2>&5
3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); } &&
3621 { ac_try='test -s conftest$ac_exeext'
3622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); }; }; then
3627 ac_cv_lib_fl_yywrap=yes
3629 echo "$as_me: failed program was:" >&5
3630 sed 's/^/| /' conftest.$ac_ext >&5
3632 ac_cv_lib_fl_yywrap=no
3634 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3635 LIBS=$ac_check_lib_save_LIBS
3637 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3638 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3639 if test $ac_cv_lib_fl_yywrap = yes; then
3642 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3643 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3644 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3645 echo $ECHO_N "(cached) $ECHO_C" >&6
3647 ac_check_lib_save_LIBS=$LIBS
3649 cat >conftest.$ac_ext <<_ACEOF
3650 #line $LINENO "configure"
3653 cat confdefs.h >>conftest.$ac_ext
3654 cat >>conftest.$ac_ext <<_ACEOF
3655 /* end confdefs.h. */
3657 /* Override any gcc2 internal prototype to avoid an error. */
3661 /* We use char because int might match the return type of a gcc2
3662 builtin and then its argument prototype would still apply. */
3672 rm -f conftest.$ac_objext conftest$ac_exeext
3673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3674 (eval $ac_link) 2>&5
3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677 (exit $ac_status); } &&
3678 { ac_try='test -s conftest$ac_exeext'
3679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); }; }; then
3684 ac_cv_lib_l_yywrap=yes
3686 echo "$as_me: failed program was:" >&5
3687 sed 's/^/| /' conftest.$ac_ext >&5
3689 ac_cv_lib_l_yywrap=no
3691 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3692 LIBS=$ac_check_lib_save_LIBS
3694 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3695 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3696 if test $ac_cv_lib_l_yywrap = yes; then
3704 if test "x$LEX" != "x:"; then
3705 echo "$as_me:$LINENO: checking lex output file root" >&5
3706 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3707 if test "${ac_cv_prog_lex_root+set}" = set; then
3708 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 # The minimal lex program is just a single line: %%. But some broken lexes
3711 # (Solaris, I think it was) want two %% lines, so accommodate them.
3712 cat >conftest.l <<_ACEOF
3716 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3717 (eval $LEX conftest.l) 2>&5
3719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3720 (exit $ac_status); }
3721 if test -f lex.yy.c; then
3722 ac_cv_prog_lex_root=lex.yy
3723 elif test -f lexyy.c; then
3724 ac_cv_prog_lex_root=lexyy
3726 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3727 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3728 { (exit 1); exit 1; }; }
3731 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3732 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3734 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3736 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3737 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3738 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3739 echo $ECHO_N "(cached) $ECHO_C" >&6
3741 # POSIX says lex can declare yytext either as a pointer or an array; the
3742 # default is implementation-dependent. Figure out which it is, since
3743 # not all implementations provide the %pointer and %array declarations.
3744 ac_cv_prog_lex_yytext_pointer=no
3745 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3747 LIBS="$LIBS $LEXLIB"
3748 cat >conftest.$ac_ext <<_ACEOF
3749 `cat $LEX_OUTPUT_ROOT.c`
3751 rm -f conftest.$ac_objext conftest$ac_exeext
3752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3753 (eval $ac_link) 2>&5
3755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756 (exit $ac_status); } &&
3757 { ac_try='test -s conftest$ac_exeext'
3758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); }; }; then
3763 ac_cv_prog_lex_yytext_pointer=yes
3765 echo "$as_me: failed program was:" >&5
3766 sed 's/^/| /' conftest.$ac_ext >&5
3769 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3771 rm -f "${LEX_OUTPUT_ROOT}.c"
3774 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3775 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3776 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3778 cat >>confdefs.h <<\_ACEOF
3779 #define YYTEXT_POINTER 1
3787 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3788 echo "${ECHO_T}$ac_cv_has_flex" >&6
3789 if test "$LEX" != "flex"; then
3790 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3791 echo "$as_me: error: flex not found but required" >&2;}
3792 { (exit 1); exit 1; }; }
3795 echo "$as_me:$LINENO: checking " >&5
3796 echo $ECHO_N "checking ... $ECHO_C" >&6
3797 if test "${ac_cv_has_bison+set}" = set; then
3798 echo $ECHO_N "(cached) $ECHO_C" >&6
3800 for ac_prog in 'bison -y' byacc
3802 # Extract the first word of "$ac_prog", so it can be a program name with args.
3803 set dummy $ac_prog; ac_word=$2
3804 echo "$as_me:$LINENO: checking for $ac_word" >&5
3805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3806 if test "${ac_cv_prog_YACC+set}" = set; then
3807 echo $ECHO_N "(cached) $ECHO_C" >&6
3809 if test -n "$YACC"; then
3810 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3816 test -z "$as_dir" && as_dir=.
3817 for ac_exec_ext in '' $ac_executable_extensions; do
3818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3819 ac_cv_prog_YACC="$ac_prog"
3820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3828 YACC=$ac_cv_prog_YACC
3829 if test -n "$YACC"; then
3830 echo "$as_me:$LINENO: result: $YACC" >&5
3831 echo "${ECHO_T}$YACC" >&6
3833 echo "$as_me:$LINENO: result: no" >&5
3834 echo "${ECHO_T}no" >&6
3837 test -n "$YACC" && break
3839 test -n "$YACC" || YACC="yacc"
3843 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3844 echo "${ECHO_T}$ac_cv_has_bison" >&6
3845 if test "$YACC" != "bison -y"; then
3846 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3847 echo "$as_me: error: bison not found but required" >&2;}
3848 { (exit 1); exit 1; }; }
3855 # Check whether --enable-shared or --disable-shared was given.
3856 if test "${enable_shared+set}" = set; then
3857 enableval="$enable_shared"
3858 p=${PACKAGE-default}
3860 yes) enable_shared=yes ;;
3861 no) enable_shared=no ;;
3864 # Look at the argument we got. We use all the common list separators.
3865 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3866 for pkg in $enableval; do
3868 if test "X$pkg" = "X$p"; then
3879 # Check whether --enable-static or --disable-static was given.
3880 if test "${enable_static+set}" = set; then
3881 enableval="$enable_static"
3882 p=${PACKAGE-default}
3884 yes) enable_static=yes ;;
3885 no) enable_static=no ;;
3888 # Look at the argument we got. We use all the common list separators.
3889 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3890 for pkg in $enableval; do
3892 if test "X$pkg" = "X$p"; then
3903 # Check whether --enable-fast-install or --disable-fast-install was given.
3904 if test "${enable_fast_install+set}" = set; then
3905 enableval="$enable_fast_install"
3906 p=${PACKAGE-default}
3908 yes) enable_fast_install=yes ;;
3909 no) enable_fast_install=no ;;
3911 enable_fast_install=no
3912 # Look at the argument we got. We use all the common list separators.
3913 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3914 for pkg in $enableval; do
3916 if test "X$pkg" = "X$p"; then
3917 enable_fast_install=yes
3924 enable_fast_install=yes
3927 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3928 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3929 if test "${lt_cv_path_SED+set}" = set; then
3930 echo $ECHO_N "(cached) $ECHO_C" >&6
3932 # Loop through the user's path and test for sed and gsed.
3933 # Then use that list of sed's as ones to test for truncation.
3934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938 test -z "$as_dir" && as_dir=.
3939 for lt_ac_prog in sed gsed; do
3940 for ac_exec_ext in '' $ac_executable_extensions; do
3941 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3942 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3949 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3950 # along with /bin/sed that truncates output.
3951 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3952 test ! -f $lt_ac_sed && break
3953 cat /dev/null > conftest.in
3955 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3956 # Check for GNU sed and select it if it is found.
3957 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3958 lt_cv_path_SED=$lt_ac_sed
3962 cat conftest.in conftest.in >conftest.tmp
3963 mv conftest.tmp conftest.in
3964 cp conftest.in conftest.nl
3966 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3967 cmp -s conftest.out conftest.nl || break
3968 # 10000 chars as input seems more than enough
3969 test $lt_ac_count -gt 10 && break
3970 lt_ac_count=`expr $lt_ac_count + 1`
3971 if test $lt_ac_count -gt $lt_ac_max; then
3972 lt_ac_max=$lt_ac_count
3973 lt_cv_path_SED=$lt_ac_sed
3981 echo "$as_me:$LINENO: result: $SED" >&5
3982 echo "${ECHO_T}$SED" >&6
3984 echo "$as_me:$LINENO: checking for egrep" >&5
3985 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3986 if test "${ac_cv_prog_egrep+set}" = set; then
3987 echo $ECHO_N "(cached) $ECHO_C" >&6
3989 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3990 then ac_cv_prog_egrep='grep -E'
3991 else ac_cv_prog_egrep='egrep'
3994 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3995 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3996 EGREP=$ac_cv_prog_egrep
4000 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4001 if test "${with_gnu_ld+set}" = set; then
4002 withval="$with_gnu_ld"
4003 test "$withval" = no || with_gnu_ld=yes
4008 if test "$GCC" = yes; then
4009 # Check if gcc -print-prog-name=ld gives a path.
4010 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4011 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4014 # gcc leaves a trailing carriage return which upsets mingw
4015 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4017 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4020 # Accept absolute paths.
4022 re_direlt='/[^/][^/]*/\.\./'
4023 # Canonicalize the path of ld
4024 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4025 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4026 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4028 test -z "$LD" && LD="$ac_prog"
4031 # If it fails, then pretend we aren't using GCC.
4035 # If it is relative, then search for the first ld in PATH.
4039 elif test "$with_gnu_ld" = yes; then
4040 echo "$as_me:$LINENO: checking for GNU ld" >&5
4041 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4043 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4044 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4046 if test "${lt_cv_path_LD+set}" = set; then
4047 echo $ECHO_N "(cached) $ECHO_C" >&6
4049 if test -z "$LD"; then
4050 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4051 for ac_dir in $PATH; do
4053 test -z "$ac_dir" && ac_dir=.
4054 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4055 lt_cv_path_LD="$ac_dir/$ac_prog"
4056 # Check to see if the program is GNU ld. I'd rather use --version,
4057 # but apparently some GNU ld's only accept -v.
4058 # Break only if it was the GNU/non-GNU ld that we prefer.
4059 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4060 *GNU* | *'with BFD'*)
4061 test "$with_gnu_ld" != no && break
4064 test "$with_gnu_ld" != yes && break
4071 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4076 if test -n "$LD"; then
4077 echo "$as_me:$LINENO: result: $LD" >&5
4078 echo "${ECHO_T}$LD" >&6
4080 echo "$as_me:$LINENO: result: no" >&5
4081 echo "${ECHO_T}no" >&6
4083 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4084 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4085 { (exit 1); exit 1; }; }
4086 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4087 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4088 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4089 echo $ECHO_N "(cached) $ECHO_C" >&6
4091 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4092 case `"$LD" -v 2>&1 </dev/null` in
4093 *GNU* | *'with BFD'*)
4094 lt_cv_prog_gnu_ld=yes
4097 lt_cv_prog_gnu_ld=no
4101 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4102 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4103 with_gnu_ld=$lt_cv_prog_gnu_ld
4106 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4107 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4108 if test "${lt_cv_ld_reload_flag+set}" = set; then
4109 echo $ECHO_N "(cached) $ECHO_C" >&6
4111 lt_cv_ld_reload_flag='-r'
4113 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4114 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4115 reload_flag=$lt_cv_ld_reload_flag
4116 case $reload_flag in
4118 *) reload_flag=" $reload_flag" ;;
4120 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4122 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4123 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4124 if test "${lt_cv_path_NM+set}" = set; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 if test -n "$NM"; then
4128 # Let the user override the test.
4131 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4132 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4134 test -z "$ac_dir" && ac_dir=.
4135 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4136 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4137 # Check to see if the nm accepts a BSD-compat flag.
4138 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4139 # nm: unknown option "B" ignored
4140 # Tru64's nm complains that /dev/null is an invalid object file
4141 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4142 */dev/null* | *'Invalid file or object type'*)
4143 lt_cv_path_NM="$tmp_nm -B"
4147 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4149 lt_cv_path_NM="$tmp_nm -p"
4153 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4154 continue # so that we can try to find one that supports BSD flags
4161 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4164 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4165 echo "${ECHO_T}$lt_cv_path_NM" >&6
4168 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4169 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4171 if test "$LN_S" = "ln -s"; then
4172 echo "$as_me:$LINENO: result: yes" >&5
4173 echo "${ECHO_T}yes" >&6
4175 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4176 echo "${ECHO_T}no, using $LN_S" >&6
4179 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4180 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4181 if test "${lt_cv_deplibs_check_method+set}" = set; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4184 lt_cv_file_magic_cmd='$MAGIC_CMD'
4185 lt_cv_file_magic_test_file=
4186 lt_cv_deplibs_check_method='unknown'
4187 # Need to set the preceding variable on all platforms that support
4188 # interlibrary dependencies.
4189 # 'none' -- dependencies not supported.
4190 # `unknown' -- same as none, but documents that we really don't know.
4191 # 'pass_all' -- all dependencies passed with no checks.
4192 # 'test_compile' -- check by making test program.
4193 # 'file_magic [[regex]]' -- check by looking for files in library path
4194 # which responds to the $file_magic_cmd with a given extended regex.
4195 # If you have `file' or equivalent on your system and you're not sure
4196 # whether `pass_all' will *always* work, you probably want this one.
4200 lt_cv_deplibs_check_method=pass_all
4204 lt_cv_deplibs_check_method=pass_all
4208 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4209 lt_cv_file_magic_cmd='/usr/bin/file -L'
4210 lt_cv_file_magic_test_file=/shlib/libc.so
4213 cygwin* | mingw* | pw32*)
4214 # win32_libid is a shell function defined in ltmain.sh
4215 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4216 lt_cv_file_magic_cmd='win32_libid'
4219 darwin* | rhapsody*)
4220 # this will be overwritten by pass_all, but leave it in just in case
4221 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4222 lt_cv_file_magic_cmd='/usr/bin/file -L'
4224 rhapsody* | darwin1.[012])
4225 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4228 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4231 lt_cv_deplibs_check_method=pass_all
4235 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4238 # Not sure whether the presence of OpenBSD here was a mistake.
4239 # Let's accept both of them until this is cleared up.
4240 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4241 lt_cv_file_magic_cmd=/usr/bin/file
4242 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4246 lt_cv_deplibs_check_method=pass_all
4251 lt_cv_deplibs_check_method=pass_all
4254 hpux10.20* | hpux11*)
4255 lt_cv_file_magic_cmd=/usr/bin/file
4258 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4259 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4262 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]'
4263 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4266 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4267 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4272 irix5* | irix6* | nonstopux*)
4274 irix5* | nonstopux*)
4275 # this will be overridden with pass_all, but let us keep it just in case
4276 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4280 *-32|*"-32 ") libmagic=32-bit;;
4281 *-n32|*"-n32 ") libmagic=N32;;
4282 *-64|*"-64 ") libmagic=64-bit;;
4283 *) libmagic=never-match;;
4285 # this will be overridden with pass_all, but let us keep it just in case
4286 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4289 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4290 lt_cv_deplibs_check_method=pass_all
4293 # This must be Linux ELF.
4296 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4297 lt_cv_deplibs_check_method=pass_all ;;
4299 # glibc up to 2.1.1 does not perform some relocations on ARM
4300 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4302 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4306 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4307 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4309 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4314 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4315 lt_cv_file_magic_cmd=/usr/bin/file
4316 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4320 lt_cv_deplibs_check_method=unknown
4324 lt_cv_file_magic_cmd=/usr/bin/file
4325 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4326 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4327 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4329 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4333 osf3* | osf4* | osf5*)
4334 # this will be overridden with pass_all, but let us keep it just in case
4335 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4336 lt_cv_file_magic_test_file=/shlib/libc.so
4337 lt_cv_deplibs_check_method=pass_all
4341 lt_cv_deplibs_check_method=pass_all
4345 lt_cv_deplibs_check_method=pass_all
4346 lt_cv_file_magic_test_file=/lib/libc.so
4349 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4350 case $host_vendor in
4352 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]'
4353 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4356 lt_cv_deplibs_check_method=pass_all
4359 lt_cv_file_magic_cmd='/bin/file'
4360 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4363 lt_cv_file_magic_cmd='/bin/file'
4364 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4365 lt_cv_file_magic_test_file=/lib/libc.so
4368 lt_cv_deplibs_check_method=pass_all
4373 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4374 lt_cv_deplibs_check_method=pass_all
4379 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4380 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4381 file_magic_cmd=$lt_cv_file_magic_cmd
4382 deplibs_check_method=$lt_cv_deplibs_check_method
4383 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4388 # If no C compiler was specified, use CC.
4391 # Allow CC to be a program name with arguments.
4394 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4395 if test "${enable_libtool_lock+set}" = set; then
4396 enableval="$enable_libtool_lock"
4399 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4401 # Some flags need to be propagated to the compiler or linker for good
4405 # Find out which ABI we are using.
4406 echo 'int i;' > conftest.$ac_ext
4407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4408 (eval $ac_compile) 2>&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); }; then
4412 case `/usr/bin/file conftest.$ac_objext` in
4424 # Find out which ABI we are using.
4425 echo '#line 4425 "configure"' > conftest.$ac_ext
4426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4427 (eval $ac_compile) 2>&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); }; then
4431 if test "$lt_cv_prog_gnu_ld" = yes; then
4432 case `/usr/bin/file conftest.$ac_objext` in
4434 LD="${LD-ld} -melf32bsmip"
4437 LD="${LD-ld} -melf32bmipn32"
4440 LD="${LD-ld} -melf64bmip"
4444 case `/usr/bin/file conftest.$ac_objext` in
4460 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4461 # Find out which ABI we are using.
4462 echo 'int i;' > conftest.$ac_ext
4463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4464 (eval $ac_compile) 2>&5
4466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467 (exit $ac_status); }; then
4468 case "`/usr/bin/file conftest.o`" in
4472 LD="${LD-ld} -m elf_i386"
4475 LD="${LD-ld} -m elf32ppclinux"
4478 LD="${LD-ld} -m elf_s390"
4481 LD="${LD-ld} -m elf32_sparc"
4488 LD="${LD-ld} -m elf_x86_64"
4490 ppc*-*linux*|powerpc*-*linux*)
4491 LD="${LD-ld} -m elf64ppc"
4494 LD="${LD-ld} -m elf64_s390"
4497 LD="${LD-ld} -m elf64_sparc"
4507 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4508 SAVE_CFLAGS="$CFLAGS"
4509 CFLAGS="$CFLAGS -belf"
4510 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4511 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4512 if test "${lt_cv_cc_needs_belf+set}" = set; then
4513 echo $ECHO_N "(cached) $ECHO_C" >&6
4516 ac_cpp='$CPP $CPPFLAGS'
4517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4521 cat >conftest.$ac_ext <<_ACEOF
4522 #line $LINENO "configure"
4525 cat confdefs.h >>conftest.$ac_ext
4526 cat >>conftest.$ac_ext <<_ACEOF
4527 /* end confdefs.h. */
4537 rm -f conftest.$ac_objext conftest$ac_exeext
4538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4539 (eval $ac_link) 2>&5
4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542 (exit $ac_status); } &&
4543 { ac_try='test -s conftest$ac_exeext'
4544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548 (exit $ac_status); }; }; then
4549 lt_cv_cc_needs_belf=yes
4551 echo "$as_me: failed program was:" >&5
4552 sed 's/^/| /' conftest.$ac_ext >&5
4554 lt_cv_cc_needs_belf=no
4556 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4558 ac_cpp='$CPP $CPPFLAGS'
4559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4564 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4565 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4566 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4567 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4568 CFLAGS="$SAVE_CFLAGS"
4574 need_locks="$enable_libtool_lock"
4578 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4579 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4580 if test "${ac_cv_header_stdc+set}" = set; then
4581 echo $ECHO_N "(cached) $ECHO_C" >&6
4583 cat >conftest.$ac_ext <<_ACEOF
4584 #line $LINENO "configure"
4587 cat confdefs.h >>conftest.$ac_ext
4588 cat >>conftest.$ac_ext <<_ACEOF
4589 /* end confdefs.h. */
4603 rm -f conftest.$ac_objext
4604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4605 (eval $ac_compile) 2>&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); } &&
4609 { ac_try='test -s conftest.$ac_objext'
4610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); }; }; then
4615 ac_cv_header_stdc=yes
4617 echo "$as_me: failed program was:" >&5
4618 sed 's/^/| /' conftest.$ac_ext >&5
4620 ac_cv_header_stdc=no
4622 rm -f conftest.$ac_objext conftest.$ac_ext
4624 if test $ac_cv_header_stdc = yes; then
4625 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4626 cat >conftest.$ac_ext <<_ACEOF
4627 #line $LINENO "configure"
4630 cat confdefs.h >>conftest.$ac_ext
4631 cat >>conftest.$ac_ext <<_ACEOF
4632 /* end confdefs.h. */
4636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4637 $EGREP "memchr" >/dev/null 2>&1; then
4640 ac_cv_header_stdc=no
4646 if test $ac_cv_header_stdc = yes; then
4647 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4648 cat >conftest.$ac_ext <<_ACEOF
4649 #line $LINENO "configure"
4652 cat confdefs.h >>conftest.$ac_ext
4653 cat >>conftest.$ac_ext <<_ACEOF
4654 /* end confdefs.h. */
4658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4659 $EGREP "free" >/dev/null 2>&1; then
4662 ac_cv_header_stdc=no
4668 if test $ac_cv_header_stdc = yes; then
4669 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4670 if test "$cross_compiling" = yes; then
4673 cat >conftest.$ac_ext <<_ACEOF
4674 #line $LINENO "configure"
4677 cat confdefs.h >>conftest.$ac_ext
4678 cat >>conftest.$ac_ext <<_ACEOF
4679 /* end confdefs.h. */
4681 #if ((' ' & 0x0FF) == 0x020)
4682 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4683 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4685 # define ISLOWER(c) \
4686 (('a' <= (c) && (c) <= 'i') \
4687 || ('j' <= (c) && (c) <= 'r') \
4688 || ('s' <= (c) && (c) <= 'z'))
4689 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4692 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4697 for (i = 0; i < 256; i++)
4698 if (XOR (islower (i), ISLOWER (i))
4699 || toupper (i) != TOUPPER (i))
4704 rm -f conftest$ac_exeext
4705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4706 (eval $ac_link) 2>&5
4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4709 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4714 (exit $ac_status); }; }; then
4717 echo "$as_me: program exited with status $ac_status" >&5
4718 echo "$as_me: failed program was:" >&5
4719 sed 's/^/| /' conftest.$ac_ext >&5
4722 ac_cv_header_stdc=no
4724 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4728 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4729 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4730 if test $ac_cv_header_stdc = yes; then
4732 cat >>confdefs.h <<\_ACEOF
4733 #define STDC_HEADERS 1
4738 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4748 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4749 inttypes.h stdint.h unistd.h
4751 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4752 echo "$as_me:$LINENO: checking for $ac_header" >&5
4753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4755 echo $ECHO_N "(cached) $ECHO_C" >&6
4757 cat >conftest.$ac_ext <<_ACEOF
4758 #line $LINENO "configure"
4761 cat confdefs.h >>conftest.$ac_ext
4762 cat >>conftest.$ac_ext <<_ACEOF
4763 /* end confdefs.h. */
4764 $ac_includes_default
4766 #include <$ac_header>
4768 rm -f conftest.$ac_objext
4769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4770 (eval $ac_compile) 2>&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } &&
4774 { ac_try='test -s conftest.$ac_objext'
4775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779 (exit $ac_status); }; }; then
4780 eval "$as_ac_Header=yes"
4782 echo "$as_me: failed program was:" >&5
4783 sed 's/^/| /' conftest.$ac_ext >&5
4785 eval "$as_ac_Header=no"
4787 rm -f conftest.$ac_objext conftest.$ac_ext
4789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4792 cat >>confdefs.h <<_ACEOF
4793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4802 for ac_header in dlfcn.h
4804 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4806 echo "$as_me:$LINENO: checking for $ac_header" >&5
4807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4809 echo $ECHO_N "(cached) $ECHO_C" >&6
4811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4812 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4814 # Is the header compilable?
4815 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4816 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4817 cat >conftest.$ac_ext <<_ACEOF
4818 #line $LINENO "configure"
4821 cat confdefs.h >>conftest.$ac_ext
4822 cat >>conftest.$ac_ext <<_ACEOF
4823 /* end confdefs.h. */
4824 $ac_includes_default
4825 #include <$ac_header>
4827 rm -f conftest.$ac_objext
4828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4829 (eval $ac_compile) 2>&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); } &&
4833 { ac_try='test -s conftest.$ac_objext'
4834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); }; }; then
4839 ac_header_compiler=yes
4841 echo "$as_me: failed program was:" >&5
4842 sed 's/^/| /' conftest.$ac_ext >&5
4844 ac_header_compiler=no
4846 rm -f conftest.$ac_objext conftest.$ac_ext
4847 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4848 echo "${ECHO_T}$ac_header_compiler" >&6
4850 # Is the header present?
4851 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4852 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4853 cat >conftest.$ac_ext <<_ACEOF
4854 #line $LINENO "configure"
4857 cat confdefs.h >>conftest.$ac_ext
4858 cat >>conftest.$ac_ext <<_ACEOF
4859 /* end confdefs.h. */
4860 #include <$ac_header>
4862 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4863 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4865 grep -v '^ *+' conftest.er1 >conftest.err
4867 cat conftest.err >&5
4868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869 (exit $ac_status); } >/dev/null; then
4870 if test -s conftest.err; then
4871 ac_cpp_err=$ac_c_preproc_warn_flag
4878 if test -z "$ac_cpp_err"; then
4879 ac_header_preproc=yes
4881 echo "$as_me: failed program was:" >&5
4882 sed 's/^/| /' conftest.$ac_ext >&5
4884 ac_header_preproc=no
4886 rm -f conftest.err conftest.$ac_ext
4887 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4888 echo "${ECHO_T}$ac_header_preproc" >&6
4890 # So? What about this header?
4891 case $ac_header_compiler:$ac_header_preproc in
4893 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4894 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4899 ## ------------------------------------ ##
4900 ## Report this to bug-autoconf@gnu.org. ##
4901 ## ------------------------------------ ##
4904 sed "s/^/$as_me: WARNING: /" >&2
4907 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4908 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4909 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4910 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4912 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4915 ## ------------------------------------ ##
4916 ## Report this to bug-autoconf@gnu.org. ##
4917 ## ------------------------------------ ##
4920 sed "s/^/$as_me: WARNING: /" >&2
4923 echo "$as_me:$LINENO: checking for $ac_header" >&5
4924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4926 echo $ECHO_N "(cached) $ECHO_C" >&6
4928 eval "$as_ac_Header=$ac_header_preproc"
4930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4931 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4934 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4935 cat >>confdefs.h <<_ACEOF
4936 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4944 ac_cpp='$CXXCPP $CPPFLAGS'
4945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4948 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4949 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4950 if test -z "$CXXCPP"; then
4951 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4952 echo $ECHO_N "(cached) $ECHO_C" >&6
4954 # Double quotes because CXXCPP needs to be expanded
4955 for CXXCPP in "$CXX -E" "/lib/cpp"
4958 for ac_cxx_preproc_warn_flag in '' yes
4960 # Use a header file that comes with gcc, so configuring glibc
4961 # with a fresh cross-compiler works.
4962 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4963 # <limits.h> exists even on freestanding compilers.
4964 # On the NeXT, cc -E runs the code through the compiler's parser,
4965 # not just through cpp. "Syntax error" is here to catch this case.
4966 cat >conftest.$ac_ext <<_ACEOF
4967 #line $LINENO "configure"
4970 cat confdefs.h >>conftest.$ac_ext
4971 cat >>conftest.$ac_ext <<_ACEOF
4972 /* end confdefs.h. */
4974 # include <limits.h>
4976 # include <assert.h>
4980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4981 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4983 grep -v '^ *+' conftest.er1 >conftest.err
4985 cat conftest.err >&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); } >/dev/null; then
4988 if test -s conftest.err; then
4989 ac_cpp_err=$ac_cxx_preproc_warn_flag
4996 if test -z "$ac_cpp_err"; then
4999 echo "$as_me: failed program was:" >&5
5000 sed 's/^/| /' conftest.$ac_ext >&5
5002 # Broken: fails on valid input.
5005 rm -f conftest.err conftest.$ac_ext
5007 # OK, works on sane cases. Now check whether non-existent headers
5008 # can be detected and how.
5009 cat >conftest.$ac_ext <<_ACEOF
5010 #line $LINENO "configure"
5013 cat confdefs.h >>conftest.$ac_ext
5014 cat >>conftest.$ac_ext <<_ACEOF
5015 /* end confdefs.h. */
5016 #include <ac_nonexistent.h>
5018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5019 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5021 grep -v '^ *+' conftest.er1 >conftest.err
5023 cat conftest.err >&5
5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025 (exit $ac_status); } >/dev/null; then
5026 if test -s conftest.err; then
5027 ac_cpp_err=$ac_cxx_preproc_warn_flag
5034 if test -z "$ac_cpp_err"; then
5035 # Broken: success on invalid input.
5038 echo "$as_me: failed program was:" >&5
5039 sed 's/^/| /' conftest.$ac_ext >&5
5041 # Passes both tests.
5045 rm -f conftest.err conftest.$ac_ext
5048 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5049 rm -f conftest.err conftest.$ac_ext
5050 if $ac_preproc_ok; then
5055 ac_cv_prog_CXXCPP=$CXXCPP
5058 CXXCPP=$ac_cv_prog_CXXCPP
5060 ac_cv_prog_CXXCPP=$CXXCPP
5062 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5063 echo "${ECHO_T}$CXXCPP" >&6
5065 for ac_cxx_preproc_warn_flag in '' yes
5067 # Use a header file that comes with gcc, so configuring glibc
5068 # with a fresh cross-compiler works.
5069 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5070 # <limits.h> exists even on freestanding compilers.
5071 # On the NeXT, cc -E runs the code through the compiler's parser,
5072 # not just through cpp. "Syntax error" is here to catch this case.
5073 cat >conftest.$ac_ext <<_ACEOF
5074 #line $LINENO "configure"
5077 cat confdefs.h >>conftest.$ac_ext
5078 cat >>conftest.$ac_ext <<_ACEOF
5079 /* end confdefs.h. */
5081 # include <limits.h>
5083 # include <assert.h>
5087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5088 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5090 grep -v '^ *+' conftest.er1 >conftest.err
5092 cat conftest.err >&5
5093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); } >/dev/null; then
5095 if test -s conftest.err; then
5096 ac_cpp_err=$ac_cxx_preproc_warn_flag
5103 if test -z "$ac_cpp_err"; then
5106 echo "$as_me: failed program was:" >&5
5107 sed 's/^/| /' conftest.$ac_ext >&5
5109 # Broken: fails on valid input.
5112 rm -f conftest.err conftest.$ac_ext
5114 # OK, works on sane cases. Now check whether non-existent headers
5115 # can be detected and how.
5116 cat >conftest.$ac_ext <<_ACEOF
5117 #line $LINENO "configure"
5120 cat confdefs.h >>conftest.$ac_ext
5121 cat >>conftest.$ac_ext <<_ACEOF
5122 /* end confdefs.h. */
5123 #include <ac_nonexistent.h>
5125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5126 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5128 grep -v '^ *+' conftest.er1 >conftest.err
5130 cat conftest.err >&5
5131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132 (exit $ac_status); } >/dev/null; then
5133 if test -s conftest.err; then
5134 ac_cpp_err=$ac_cxx_preproc_warn_flag
5141 if test -z "$ac_cpp_err"; then
5142 # Broken: success on invalid input.
5145 echo "$as_me: failed program was:" >&5
5146 sed 's/^/| /' conftest.$ac_ext >&5
5148 # Passes both tests.
5152 rm -f conftest.err conftest.$ac_ext
5155 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5156 rm -f conftest.err conftest.$ac_ext
5157 if $ac_preproc_ok; then
5160 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5161 See \`config.log' for more details." >&5
5162 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5163 See \`config.log' for more details." >&2;}
5164 { (exit 1); exit 1; }; }
5168 ac_cpp='$CXXCPP $CPPFLAGS'
5169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5175 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5176 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5177 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5178 if test -n "$ac_tool_prefix"; then
5179 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5181 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5182 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5183 echo "$as_me:$LINENO: checking for $ac_word" >&5
5184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5185 if test "${ac_cv_prog_F77+set}" = set; then
5186 echo $ECHO_N "(cached) $ECHO_C" >&6
5188 if test -n "$F77"; then
5189 ac_cv_prog_F77="$F77" # Let the user override the test.
5191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5195 test -z "$as_dir" && as_dir=.
5196 for ac_exec_ext in '' $ac_executable_extensions; do
5197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5198 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 if test -n "$F77"; then
5209 echo "$as_me:$LINENO: result: $F77" >&5
5210 echo "${ECHO_T}$F77" >&6
5212 echo "$as_me:$LINENO: result: no" >&5
5213 echo "${ECHO_T}no" >&6
5216 test -n "$F77" && break
5219 if test -z "$F77"; then
5221 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5223 # Extract the first word of "$ac_prog", so it can be a program name with args.
5224 set dummy $ac_prog; ac_word=$2
5225 echo "$as_me:$LINENO: checking for $ac_word" >&5
5226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5227 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5228 echo $ECHO_N "(cached) $ECHO_C" >&6
5230 if test -n "$ac_ct_F77"; then
5231 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5237 test -z "$as_dir" && as_dir=.
5238 for ac_exec_ext in '' $ac_executable_extensions; do
5239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5240 ac_cv_prog_ac_ct_F77="$ac_prog"
5241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5250 if test -n "$ac_ct_F77"; then
5251 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5252 echo "${ECHO_T}$ac_ct_F77" >&6
5254 echo "$as_me:$LINENO: result: no" >&5
5255 echo "${ECHO_T}no" >&6
5258 test -n "$ac_ct_F77" && break
5265 # Provide some information about the compiler.
5266 echo "$as_me:5266:" \
5267 "checking for Fortran 77 compiler version" >&5
5268 ac_compiler=`set X $ac_compile; echo $2`
5269 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5270 (eval $ac_compiler --version </dev/null >&5) 2>&5
5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); }
5274 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5275 (eval $ac_compiler -v </dev/null >&5) 2>&5
5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); }
5279 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5280 (eval $ac_compiler -V </dev/null >&5) 2>&5
5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283 (exit $ac_status); }
5285 # If we don't use `.F' as extension, the preprocessor is not run on the
5289 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5290 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5291 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5292 echo $ECHO_N "(cached) $ECHO_C" >&6
5294 cat >conftest.$ac_ext <<_ACEOF
5302 rm -f conftest.$ac_objext
5303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5304 (eval $ac_compile) 2>&5
5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307 (exit $ac_status); } &&
5308 { ac_try='test -s conftest.$ac_objext'
5309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5313 (exit $ac_status); }; }; then
5316 echo "$as_me: failed program was:" >&5
5317 sed 's/^/| /' conftest.$ac_ext >&5
5321 rm -f conftest.$ac_objext conftest.$ac_ext
5322 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5325 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5326 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5328 G77=`test $ac_compiler_gnu = yes && echo yes`
5329 ac_test_FFLAGS=${FFLAGS+set}
5330 ac_save_FFLAGS=$FFLAGS
5332 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5333 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5334 if test "${ac_cv_prog_f77_g+set}" = set; then
5335 echo $ECHO_N "(cached) $ECHO_C" >&6
5338 cat >conftest.$ac_ext <<_ACEOF
5343 rm -f conftest.$ac_objext
5344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5345 (eval $ac_compile) 2>&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); } &&
5349 { ac_try='test -s conftest.$ac_objext'
5350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354 (exit $ac_status); }; }; then
5355 ac_cv_prog_f77_g=yes
5357 echo "$as_me: failed program was:" >&5
5358 sed 's/^/| /' conftest.$ac_ext >&5
5362 rm -f conftest.$ac_objext conftest.$ac_ext
5365 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5366 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5367 if test "$ac_test_FFLAGS" = set; then
5368 FFLAGS=$ac_save_FFLAGS
5369 elif test $ac_cv_prog_f77_g = yes; then
5370 if test "$G77" = yes; then
5376 if test "$G77" = yes; then
5383 ac_cpp='$CPP $CPPFLAGS'
5384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5390 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5392 # find the maximum length of command line arguments
5393 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5394 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5395 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5396 echo $ECHO_N "(cached) $ECHO_C" >&6
5403 # On DJGPP, this test can blow up pretty badly due to problems in libc
5404 # (any single argument exceeding 2000 bytes causes a buffer overrun
5405 # during glob expansion). Even if it were fixed, the result of this
5406 # check would be larger than it should be.
5407 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5411 # Under GNU Hurd, this test is not required because there is
5412 # no limit to the length of command line arguments.
5413 # Libtool will interpret -1 as no limit whatsoever
5414 lt_cv_sys_max_cmd_len=-1;
5418 # On Win9x/ME, this test blows up -- it succeeds, but takes
5419 # about 5 minutes as the teststring grows exponentially.
5420 # Worse, since 9x/ME are not pre-emptively multitasking,
5421 # you end up with a "frozen" computer, even though with patience
5422 # the test eventually succeeds (with a max line length of 256k).
5423 # Instead, let's just punt: use the minimum linelength reported by
5424 # all of the supported platforms: 8192 (on NT/2K/XP).
5425 lt_cv_sys_max_cmd_len=8192;
5429 # If test is not a shell built-in, we'll probably end up computing a
5430 # maximum length that is only half of the actual maximum length, but
5432 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5433 = "XX$testring") >/dev/null 2>&1 &&
5434 new_result=`expr "X$testring" : ".*" 2>&1` &&
5435 lt_cv_sys_max_cmd_len=$new_result &&
5436 test $i != 17 # 1/2 MB should be enough
5439 testring=$testring$testring
5442 # Add a significant safety factor because C++ compilers can tack on massive
5443 # amounts of additional arguments before passing them to the linker.
5444 # It appears as though 1/2 is a usable value.
5445 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5451 if test -n $lt_cv_sys_max_cmd_len ; then
5452 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5453 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5455 echo "$as_me:$LINENO: result: none" >&5
5456 echo "${ECHO_T}none" >&6
5462 # Check for command to grab the raw symbol name followed by C symbol from nm.
5463 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5464 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5465 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5466 echo $ECHO_N "(cached) $ECHO_C" >&6
5469 # These are sane defaults that work on at least a few old systems.
5470 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5472 # Character class describing NM global symbol codes.
5473 symcode='[BCDEGRST]'
5475 # Regexp to match symbols that can be accessed directly from C.
5476 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5478 # Transform the above into a raw symbol and a C symbol.
5479 symxfrm='\1 \2\3 \3'
5481 # Transform an extracted symbol line into a proper C declaration
5482 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5484 # Transform an extracted symbol line into symbol name and symbol address
5485 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'"
5487 # Define system-specific variables.
5492 cygwin* | mingw* | pw32*)
5493 symcode='[ABCDGISTW]'
5495 hpux*) # Its linker distinguishes data from code symbols
5496 if test "$host_cpu" = ia64; then
5497 symcode='[ABCDEGRST]'
5499 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5500 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'"
5503 symcode='[BCDEGRST]'
5506 symcode='[BCDEGQRST]'
5516 # Handle CRLF in mingw tool chain
5520 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5524 # If we're using GNU nm, then use its standard symbol codes.
5525 case `$NM -V 2>&1` in
5526 *GNU* | *'with BFD'*)
5527 symcode='[ABCDGISTW]' ;;
5530 # Try without a prefix undercore, then with it.
5531 for ac_symprfx in "" "_"; do
5533 # Write the raw and C identifiers.
5534 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5536 # Check to see that the pipe works correctly.
5540 cat > conftest.$ac_ext <<EOF
5545 void nm_test_func(){}
5549 int main(){nm_test_var='a';nm_test_func();return(0);}
5552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5553 (eval $ac_compile) 2>&5
5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556 (exit $ac_status); }; then
5557 # Now try to grab the symbols.
5559 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5560 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); } && test -s "$nlist"; then
5564 # Try sorting and uniquifying the output.
5565 if sort "$nlist" | uniq > "$nlist"T; then
5566 mv -f "$nlist"T "$nlist"
5571 # Make sure that we snagged all the symbols we need.
5572 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5573 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5574 cat <<EOF > conftest.$ac_ext
5580 # Now generate the symbol file.
5581 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5583 cat <<EOF >> conftest.$ac_ext
5584 #if defined (__STDC__) && __STDC__
5585 # define lt_ptr_t void *
5587 # define lt_ptr_t char *
5591 /* The mapping between symbol names and symbols. */
5596 lt_preloaded_symbols[] =
5599 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5600 cat <<\EOF >> conftest.$ac_ext
5608 # Now try linking the two files.
5609 mv conftest.$ac_objext conftstm.$ac_objext
5610 lt_save_LIBS="$LIBS"
5611 lt_save_CFLAGS="$CFLAGS"
5612 LIBS="conftstm.$ac_objext"
5613 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5615 (eval $ac_link) 2>&5
5617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5618 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5621 LIBS="$lt_save_LIBS"
5622 CFLAGS="$lt_save_CFLAGS"
5624 echo "cannot find nm_test_func in $nlist" >&5
5627 echo "cannot find nm_test_var in $nlist" >&5
5630 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5633 echo "$progname: failed program was:" >&5
5634 cat conftest.$ac_ext >&5
5636 rm -f conftest* conftst*
5638 # Do not use the global_symbol_pipe unless it works.
5639 if test "$pipe_works" = yes; then
5642 lt_cv_sys_global_symbol_pipe=
5648 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5649 lt_cv_sys_global_symbol_to_cdecl=
5651 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5652 echo "$as_me:$LINENO: result: failed" >&5
5653 echo "${ECHO_T}failed" >&6
5655 echo "$as_me:$LINENO: result: ok" >&5
5656 echo "${ECHO_T}ok" >&6
5659 echo "$as_me:$LINENO: checking for objdir" >&5
5660 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5661 if test "${lt_cv_objdir+set}" = set; then
5662 echo $ECHO_N "(cached) $ECHO_C" >&6
5664 rm -f .libs 2>/dev/null
5665 mkdir .libs 2>/dev/null
5666 if test -d .libs; then
5669 # MS-DOS does not allow filenames that begin with a dot.
5672 rmdir .libs 2>/dev/null
5674 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5675 echo "${ECHO_T}$lt_cv_objdir" >&6
5676 objdir=$lt_cv_objdir
5684 # AIX sometimes has problems with the GCC collect2 program. For some
5685 # reason, if we set the COLLECT_NAMES environment variable, the problems
5686 # vanish in a puff of smoke.
5687 if test "X${COLLECT_NAMES+set}" != Xset; then
5689 export COLLECT_NAMES
5694 # Sed substitution that helps us do robust quoting. It backslashifies
5695 # metacharacters that are still active within double-quoted strings.
5696 Xsed='sed -e s/^X//'
5697 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5699 # Same as above, but do not quote variable references.
5700 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5702 # Sed substitution to delay expansion of an escaped shell variable in a
5703 # double_quote_subst'ed string.
5704 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5706 # Sed substitution to avoid accidental globbing in evaled expressions
5707 no_glob_subst='s/\*/\\\*/g'
5714 can_build_shared=yes
5716 # All known linkers require a `.a' archive for static linking (except M$VC,
5717 # which needs '.lib').
5719 ltmain="$ac_aux_dir/ltmain.sh"
5720 ofile="$default_ofile"
5721 with_gnu_ld="$lt_cv_prog_gnu_ld"
5723 if test -n "$ac_tool_prefix"; then
5724 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5725 set dummy ${ac_tool_prefix}ar; ac_word=$2
5726 echo "$as_me:$LINENO: checking for $ac_word" >&5
5727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5728 if test "${ac_cv_prog_AR+set}" = set; then
5729 echo $ECHO_N "(cached) $ECHO_C" >&6
5731 if test -n "$AR"; then
5732 ac_cv_prog_AR="$AR" # Let the user override the test.
5734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5738 test -z "$as_dir" && as_dir=.
5739 for ac_exec_ext in '' $ac_executable_extensions; do
5740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5741 ac_cv_prog_AR="${ac_tool_prefix}ar"
5742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 if test -n "$AR"; then
5752 echo "$as_me:$LINENO: result: $AR" >&5
5753 echo "${ECHO_T}$AR" >&6
5755 echo "$as_me:$LINENO: result: no" >&5
5756 echo "${ECHO_T}no" >&6
5760 if test -z "$ac_cv_prog_AR"; then
5762 # Extract the first word of "ar", so it can be a program name with args.
5763 set dummy ar; ac_word=$2
5764 echo "$as_me:$LINENO: checking for $ac_word" >&5
5765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5766 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5767 echo $ECHO_N "(cached) $ECHO_C" >&6
5769 if test -n "$ac_ct_AR"; then
5770 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5776 test -z "$as_dir" && as_dir=.
5777 for ac_exec_ext in '' $ac_executable_extensions; do
5778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5779 ac_cv_prog_ac_ct_AR="ar"
5780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5786 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5789 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5790 if test -n "$ac_ct_AR"; then
5791 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5792 echo "${ECHO_T}$ac_ct_AR" >&6
5794 echo "$as_me:$LINENO: result: no" >&5
5795 echo "${ECHO_T}no" >&6
5803 if test -n "$ac_tool_prefix"; then
5804 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5805 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5806 echo "$as_me:$LINENO: checking for $ac_word" >&5
5807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5808 if test "${ac_cv_prog_RANLIB+set}" = set; then
5809 echo $ECHO_N "(cached) $ECHO_C" >&6
5811 if test -n "$RANLIB"; then
5812 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 test -z "$as_dir" && as_dir=.
5819 for ac_exec_ext in '' $ac_executable_extensions; do
5820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5821 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5830 RANLIB=$ac_cv_prog_RANLIB
5831 if test -n "$RANLIB"; then
5832 echo "$as_me:$LINENO: result: $RANLIB" >&5
5833 echo "${ECHO_T}$RANLIB" >&6
5835 echo "$as_me:$LINENO: result: no" >&5
5836 echo "${ECHO_T}no" >&6
5840 if test -z "$ac_cv_prog_RANLIB"; then
5841 ac_ct_RANLIB=$RANLIB
5842 # Extract the first word of "ranlib", so it can be a program name with args.
5843 set dummy ranlib; ac_word=$2
5844 echo "$as_me:$LINENO: checking for $ac_word" >&5
5845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5846 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5847 echo $ECHO_N "(cached) $ECHO_C" >&6
5849 if test -n "$ac_ct_RANLIB"; then
5850 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5856 test -z "$as_dir" && as_dir=.
5857 for ac_exec_ext in '' $ac_executable_extensions; do
5858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5859 ac_cv_prog_ac_ct_RANLIB="ranlib"
5860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5866 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5869 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5870 if test -n "$ac_ct_RANLIB"; then
5871 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5872 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5874 echo "$as_me:$LINENO: result: no" >&5
5875 echo "${ECHO_T}no" >&6
5878 RANLIB=$ac_ct_RANLIB
5880 RANLIB="$ac_cv_prog_RANLIB"
5883 if test -n "$ac_tool_prefix"; then
5884 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5885 set dummy ${ac_tool_prefix}strip; ac_word=$2
5886 echo "$as_me:$LINENO: checking for $ac_word" >&5
5887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5888 if test "${ac_cv_prog_STRIP+set}" = set; then
5889 echo $ECHO_N "(cached) $ECHO_C" >&6
5891 if test -n "$STRIP"; then
5892 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5898 test -z "$as_dir" && as_dir=.
5899 for ac_exec_ext in '' $ac_executable_extensions; do
5900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5901 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 STRIP=$ac_cv_prog_STRIP
5911 if test -n "$STRIP"; then
5912 echo "$as_me:$LINENO: result: $STRIP" >&5
5913 echo "${ECHO_T}$STRIP" >&6
5915 echo "$as_me:$LINENO: result: no" >&5
5916 echo "${ECHO_T}no" >&6
5920 if test -z "$ac_cv_prog_STRIP"; then
5922 # Extract the first word of "strip", so it can be a program name with args.
5923 set dummy strip; ac_word=$2
5924 echo "$as_me:$LINENO: checking for $ac_word" >&5
5925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5926 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5927 echo $ECHO_N "(cached) $ECHO_C" >&6
5929 if test -n "$ac_ct_STRIP"; then
5930 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5936 test -z "$as_dir" && as_dir=.
5937 for ac_exec_ext in '' $ac_executable_extensions; do
5938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5939 ac_cv_prog_ac_ct_STRIP="strip"
5940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5949 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5950 if test -n "$ac_ct_STRIP"; then
5951 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5952 echo "${ECHO_T}$ac_ct_STRIP" >&6
5954 echo "$as_me:$LINENO: result: no" >&5
5955 echo "${ECHO_T}no" >&6
5960 STRIP="$ac_cv_prog_STRIP"
5965 old_CFLAGS="$CFLAGS"
5967 # Set sane defaults for various variables
5968 test -z "$AR" && AR=ar
5969 test -z "$AR_FLAGS" && AR_FLAGS=cru
5970 test -z "$AS" && AS=as
5971 test -z "$CC" && CC=cc
5972 test -z "$LTCC" && LTCC=$CC
5973 test -z "$DLLTOOL" && DLLTOOL=dlltool
5974 test -z "$LD" && LD=ld
5975 test -z "$LN_S" && LN_S="ln -s"
5976 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5977 test -z "$NM" && NM=nm
5978 test -z "$SED" && SED=sed
5979 test -z "$OBJDUMP" && OBJDUMP=objdump
5980 test -z "$RANLIB" && RANLIB=:
5981 test -z "$STRIP" && STRIP=:
5982 test -z "$ac_objext" && ac_objext=o
5984 # Determine commands to create old-style static archives.
5985 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5986 old_postinstall_cmds='chmod 644 $oldlib'
5987 old_postuninstall_cmds=
5989 if test -n "$RANLIB"; then
5992 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5995 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5998 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6001 # Only perform the check for file, if the check method requires it
6002 case $deplibs_check_method in
6004 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6005 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6006 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6007 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6008 echo $ECHO_N "(cached) $ECHO_C" >&6
6012 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6015 lt_save_MAGIC_CMD="$MAGIC_CMD"
6016 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6017 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6018 for ac_dir in $ac_dummy; do
6020 test -z "$ac_dir" && ac_dir=.
6021 if test -f $ac_dir/${ac_tool_prefix}file; then
6022 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6023 if test -n "$file_magic_test_file"; then
6024 case $deplibs_check_method in
6026 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6027 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6028 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6029 $EGREP "$file_magic_regex" > /dev/null; then
6034 *** Warning: the command libtool uses to detect shared libraries,
6035 *** $file_magic_cmd, produces output that libtool cannot recognize.
6036 *** The result is that libtool may fail to recognize shared libraries
6037 *** as such. This will affect the creation of libtool libraries that
6038 *** depend on shared libraries, but programs linked with such libtool
6039 *** libraries will work regardless of this problem. Nevertheless, you
6040 *** may want to report the problem to your system manager and/or to
6041 *** bug-libtool@gnu.org
6051 MAGIC_CMD="$lt_save_MAGIC_CMD"
6056 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6057 if test -n "$MAGIC_CMD"; then
6058 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6059 echo "${ECHO_T}$MAGIC_CMD" >&6
6061 echo "$as_me:$LINENO: result: no" >&5
6062 echo "${ECHO_T}no" >&6
6065 if test -z "$lt_cv_path_MAGIC_CMD"; then
6066 if test -n "$ac_tool_prefix"; then
6067 echo "$as_me:$LINENO: checking for file" >&5
6068 echo $ECHO_N "checking for file... $ECHO_C" >&6
6069 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6070 echo $ECHO_N "(cached) $ECHO_C" >&6
6074 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6077 lt_save_MAGIC_CMD="$MAGIC_CMD"
6078 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6079 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6080 for ac_dir in $ac_dummy; do
6082 test -z "$ac_dir" && ac_dir=.
6083 if test -f $ac_dir/file; then
6084 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6085 if test -n "$file_magic_test_file"; then
6086 case $deplibs_check_method in
6088 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6089 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6090 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6091 $EGREP "$file_magic_regex" > /dev/null; then
6096 *** Warning: the command libtool uses to detect shared libraries,
6097 *** $file_magic_cmd, produces output that libtool cannot recognize.
6098 *** The result is that libtool may fail to recognize shared libraries
6099 *** as such. This will affect the creation of libtool libraries that
6100 *** depend on shared libraries, but programs linked with such libtool
6101 *** libraries will work regardless of this problem. Nevertheless, you
6102 *** may want to report the problem to your system manager and/or to
6103 *** bug-libtool@gnu.org
6113 MAGIC_CMD="$lt_save_MAGIC_CMD"
6118 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6119 if test -n "$MAGIC_CMD"; then
6120 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6121 echo "${ECHO_T}$MAGIC_CMD" >&6
6123 echo "$as_me:$LINENO: result: no" >&5
6124 echo "${ECHO_T}no" >&6
6139 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6140 if test "${enable_libtool_lock+set}" = set; then
6141 enableval="$enable_libtool_lock"
6144 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6147 # Check whether --with-pic or --without-pic was given.
6148 if test "${with_pic+set}" = set; then
6154 test -z "$pic_mode" && pic_mode=default
6156 # Use C for the default configuration in the libtool script
6160 ac_cpp='$CPP $CPPFLAGS'
6161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6166 # Source file extension for C test sources.
6169 # Object file extension for compiled C test sources.
6173 # Code to be used in simple compile tests
6174 lt_simple_compile_test_code="int some_variable = 0;\n"
6176 # Code to be used in simple link tests
6177 lt_simple_link_test_code='int main(){return(0);}\n'
6180 # If no C compiler was specified, use CC.
6183 # Allow CC to be a program name with arguments.
6188 # Check for any special shared library compilation flags.
6191 if test "$GCC" = no; then
6194 lt_prog_cc_shlib='-belf'
6198 if test -n "$lt_prog_cc_shlib"; then
6199 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6200 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6201 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6203 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6204 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6205 lt_cv_prog_cc_can_build_shared=no
6211 # Check to make sure the static flag actually works.
6213 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6214 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6215 if test "${lt_prog_compiler_static_works+set}" = set; then
6216 echo $ECHO_N "(cached) $ECHO_C" >&6
6218 lt_prog_compiler_static_works=no
6219 save_LDFLAGS="$LDFLAGS"
6220 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6221 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6222 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6223 # The compiler can only warn and ignore the option if not recognized
6224 # So say no if there are warnings
6225 if test -s conftest.err; then
6226 # Append any errors to the config.log.
6227 cat conftest.err 1>&5
6229 lt_prog_compiler_static_works=yes
6233 LDFLAGS="$save_LDFLAGS"
6236 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6237 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6239 if test x"$lt_prog_compiler_static_works" = xyes; then
6242 lt_prog_compiler_static=
6248 ## There is no encapsulation within the following macros, do not change
6249 ## the running order or otherwise move them around unless you know exactly
6250 ## what you are doing...
6252 lt_prog_compiler_no_builtin_flag=
6254 if test "$GCC" = yes; then
6255 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6257 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6258 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6259 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6260 echo $ECHO_N "(cached) $ECHO_C" >&6
6262 lt_cv_prog_compiler_rtti_exceptions=no
6263 ac_outfile=conftest.$ac_objext
6264 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6265 lt_compiler_flag="-fno-rtti -fno-exceptions"
6266 # Insert the option either (1) after the last *FLAGS variable, or
6267 # (2) before a word containing "conftest.", or (3) at the end.
6268 # Note that $ac_compile itself does not contain backslashes and begins
6269 # with a dollar sign (not a hyphen), so the echo should work correctly.
6270 # The option is referenced via a variable to avoid confusing sed.
6271 lt_compile=`echo "$ac_compile" | $SED \
6272 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6273 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6274 -e 's:$: $lt_compiler_flag:'`
6275 (eval echo "\"\$as_me:6275: $lt_compile\"" >&5)
6276 (eval "$lt_compile" 2>conftest.err)
6278 cat conftest.err >&5
6279 echo "$as_me:6279: \$? = $ac_status" >&5
6280 if (exit $ac_status) && test -s "$ac_outfile"; then
6281 # The compiler can only warn and ignore the option if not recognized
6282 # So say no if there are warnings
6283 if test ! -s conftest.err; then
6284 lt_cv_prog_compiler_rtti_exceptions=yes
6290 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6291 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6293 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6294 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6301 lt_prog_compiler_wl=
6302 lt_prog_compiler_pic=
6303 lt_prog_compiler_static=
6305 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6306 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6308 if test "$GCC" = yes; then
6309 lt_prog_compiler_wl='-Wl,'
6310 lt_prog_compiler_static='-static'
6314 # All AIX code is PIC.
6315 if test "$host_cpu" = ia64; then
6316 # AIX 5 now supports IA64 processor
6317 lt_prog_compiler_static='-Bstatic'
6322 # FIXME: we need at least 68020 code to build shared libraries, but
6323 # adding the `-m68020' flag to GCC prevents building anything better,
6325 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6328 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6329 # PIC is the default for these OSes.
6332 mingw* | pw32* | os2*)
6333 # This hack is so that the source file can tell whether it is being
6334 # built for inclusion in a dll (and should export symbols for example).
6335 lt_prog_compiler_pic='-DDLL_EXPORT'
6338 darwin* | rhapsody*)
6339 # PIC is the default on this platform
6340 # Common symbols not allowed in MH_DYLIB files
6341 lt_prog_compiler_pic='-fno-common'
6345 # Just because we use GCC doesn't mean we suddenly get shared libraries
6346 # on systems that don't support them.
6347 lt_prog_compiler_can_build_shared=no
6352 if test -d /usr/nec; then
6353 lt_prog_compiler_pic=-Kconform_pic
6358 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6365 lt_prog_compiler_pic='-fPIC'
6371 lt_prog_compiler_pic='-fPIC'
6375 # PORTME Check for flag to pass linker flags through the system compiler.
6378 lt_prog_compiler_wl='-Wl,'
6379 if test "$host_cpu" = ia64; then
6380 # AIX 5 now supports IA64 processor
6381 lt_prog_compiler_static='-Bstatic'
6383 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6387 mingw* | pw32* | os2*)
6388 # This hack is so that the source file can tell whether it is being
6389 # built for inclusion in a dll (and should export symbols for example).
6390 lt_prog_compiler_pic='-DDLL_EXPORT'
6393 hpux9* | hpux10* | hpux11*)
6394 lt_prog_compiler_wl='-Wl,'
6395 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6402 lt_prog_compiler_pic='+Z'
6405 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6406 lt_prog_compiler_static='${wl}-a ${wl}archive'
6409 irix5* | irix6* | nonstopux*)
6410 lt_prog_compiler_wl='-Wl,'
6411 # PIC (with -KPIC) is the default.
6412 lt_prog_compiler_static='-non_shared'
6416 lt_prog_compiler_pic='-KPIC'
6417 lt_prog_compiler_static='-Bstatic'
6423 lt_prog_compiler_wl='-Wl,'
6424 lt_prog_compiler_pic='-KPIC'
6425 lt_prog_compiler_static='-static'
6428 lt_prog_compiler_wl='-Wl,'
6429 # All Alpha code is PIC.
6430 lt_prog_compiler_static='-non_shared'
6435 osf3* | osf4* | osf5*)
6436 lt_prog_compiler_wl='-Wl,'
6437 # All OSF/1 code is PIC.
6438 lt_prog_compiler_static='-non_shared'
6442 lt_prog_compiler_pic='-Kpic'
6443 lt_prog_compiler_static='-dn'
6447 lt_prog_compiler_wl='-Wl,'
6448 lt_prog_compiler_pic='-KPIC'
6449 lt_prog_compiler_static='-Bstatic'
6453 lt_prog_compiler_wl='-Qoption ld '
6454 lt_prog_compiler_pic='-PIC'
6455 lt_prog_compiler_static='-Bstatic'
6458 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6459 lt_prog_compiler_wl='-Wl,'
6460 lt_prog_compiler_pic='-KPIC'
6461 lt_prog_compiler_static='-Bstatic'
6465 if test -d /usr/nec ;then
6466 lt_prog_compiler_pic='-Kconform_pic'
6467 lt_prog_compiler_static='-Bstatic'
6472 lt_prog_compiler_pic='-pic'
6473 lt_prog_compiler_static='-Bstatic'
6477 lt_prog_compiler_can_build_shared=no
6482 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6483 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6486 # Check to make sure the PIC flag actually works.
6488 if test -n "$lt_prog_compiler_pic"; then
6489 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6490 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6491 if test "${lt_prog_compiler_pic_works+set}" = set; then
6492 echo $ECHO_N "(cached) $ECHO_C" >&6
6494 lt_prog_compiler_pic_works=no
6495 ac_outfile=conftest.$ac_objext
6496 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6497 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6498 # Insert the option either (1) after the last *FLAGS variable, or
6499 # (2) before a word containing "conftest.", or (3) at the end.
6500 # Note that $ac_compile itself does not contain backslashes and begins
6501 # with a dollar sign (not a hyphen), so the echo should work correctly.
6502 # The option is referenced via a variable to avoid confusing sed.
6503 lt_compile=`echo "$ac_compile" | $SED \
6504 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6505 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6506 -e 's:$: $lt_compiler_flag:'`
6507 (eval echo "\"\$as_me:6507: $lt_compile\"" >&5)
6508 (eval "$lt_compile" 2>conftest.err)
6510 cat conftest.err >&5
6511 echo "$as_me:6511: \$? = $ac_status" >&5
6512 if (exit $ac_status) && test -s "$ac_outfile"; then
6513 # The compiler can only warn and ignore the option if not recognized
6514 # So say no if there are warnings
6515 if test ! -s conftest.err; then
6516 lt_prog_compiler_pic_works=yes
6522 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6523 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6525 if test x"$lt_prog_compiler_pic_works" = xyes; then
6526 case $lt_prog_compiler_pic in
6528 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6531 lt_prog_compiler_pic=
6532 lt_prog_compiler_can_build_shared=no
6537 # For platforms which do not support PIC, -DPIC is meaningless:
6539 lt_prog_compiler_pic=
6542 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6546 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6547 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6548 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6549 echo $ECHO_N "(cached) $ECHO_C" >&6
6551 lt_cv_prog_compiler_c_o=no
6552 $rm -r conftest 2>/dev/null
6556 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6558 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6559 # that will create temporary files in the current directory regardless of
6560 # the output directory. Thus, making CWD read-only will cause this test
6561 # to fail, enabling locking or at least warning the user not to do parallel
6565 lt_compiler_flag="-o out/conftest2.$ac_objext"
6566 # Insert the option either (1) after the last *FLAGS variable, or
6567 # (2) before a word containing "conftest.", or (3) at the end.
6568 # Note that $ac_compile itself does not contain backslashes and begins
6569 # with a dollar sign (not a hyphen), so the echo should work correctly.
6570 lt_compile=`echo "$ac_compile" | $SED \
6571 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6573 -e 's:$: $lt_compiler_flag:'`
6574 (eval echo "\"\$as_me:6574: $lt_compile\"" >&5)
6575 (eval "$lt_compile" 2>out/conftest.err)
6577 cat out/conftest.err >&5
6578 echo "$as_me:6578: \$? = $ac_status" >&5
6579 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6581 # The compiler can only warn and ignore the option if not recognized
6582 # So say no if there are warnings
6583 if test ! -s out/conftest.err; then
6584 lt_cv_prog_compiler_c_o=yes
6595 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6596 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6599 hard_links="nottested"
6600 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6601 # do not overwrite the value of need_locks provided by the user
6602 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6603 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6606 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6608 ln conftest.a conftest.b 2>&5 || hard_links=no
6609 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6610 echo "$as_me:$LINENO: result: $hard_links" >&5
6611 echo "${ECHO_T}$hard_links" >&6
6612 if test "$hard_links" = no; then
6613 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6614 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6621 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6622 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6625 allow_undefined_flag=
6626 enable_shared_with_static_runtimes=no
6628 archive_expsym_cmds=
6629 old_archive_From_new_cmds=
6630 old_archive_from_expsyms_cmds=
6631 export_dynamic_flag_spec=
6632 whole_archive_flag_spec=
6633 thread_safe_flag_spec=
6634 hardcode_libdir_flag_spec=
6635 hardcode_libdir_flag_spec_ld=
6636 hardcode_libdir_separator=
6639 hardcode_shlibpath_var=unsupported
6640 link_all_deplibs=unknown
6641 hardcode_automatic=no
6644 always_export_symbols=no
6645 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6646 # include_expsyms should be a list of space-separated symbols to be *always*
6647 # included in the symbol list
6649 # exclude_expsyms can be an extended regexp of symbols to exclude
6650 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6651 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6652 # as well as any symbol that contains `d'.
6653 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6654 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6655 # platforms (ab)use it in PIC code, but their linkers get confused if
6656 # the symbol is explicitly referenced. Since portable code cannot
6657 # rely on this symbol name, it's probably fine to never include it in
6658 # preloaded symbol tables.
6659 extract_expsyms_cmds=
6662 cygwin* | mingw* | pw32*)
6663 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6664 # When not using gcc, we currently assume that we are using
6665 # Microsoft Visual C++.
6666 if test "$GCC" != yes; then
6676 if test "$with_gnu_ld" = yes; then
6677 # If archive_cmds runs LD, not CC, wlarc should be empty
6680 # See if GNU ld supports shared libraries.
6682 aix3* | aix4* | aix5*)
6683 # On AIX/PPC, the GNU linker is very broken
6684 if test "$host_cpu" != ia64; then
6688 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6689 *** to be unable to reliably create shared libraries on AIX.
6690 *** Therefore, libtool is disabling shared libraries support. If you
6691 *** really care for shared libraries, you may want to modify your PATH
6692 *** so that a non-GNU linker is found, and then restart.
6699 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)'
6700 hardcode_libdir_flag_spec='-L$libdir'
6701 hardcode_minus_L=yes
6703 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6704 # that the semantics of dynamic libraries on AmigaOS, at least up
6705 # to version 4, is to share data among multiple programs linked
6706 # with the same dynamic library. Since this doesn't match the
6707 # behavior of shared libraries on other platforms, we can't use
6713 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6714 allow_undefined_flag=unsupported
6715 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6716 # support --undefined. This deserves some investigation. FIXME
6717 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6723 cygwin* | mingw* | pw32*)
6724 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6725 # as there is no search path for DLLs.
6726 hardcode_libdir_flag_spec='-L$libdir'
6727 allow_undefined_flag=unsupported
6728 always_export_symbols=no
6729 enable_shared_with_static_runtimes=yes
6730 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6732 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6733 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6734 # If the export-symbols file already is a .def file (1st line
6735 # is EXPORTS), use it as is; otherwise, prepend...
6736 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6737 cp $export_symbols $output_objdir/$soname.def;
6739 echo EXPORTS > $output_objdir/$soname.def;
6740 cat $export_symbols >> $output_objdir/$soname.def;
6742 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6749 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6750 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6753 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6754 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6759 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6763 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6764 *** create shared libraries on Solaris systems. Therefore, libtool
6765 *** is disabling shared libraries support. We urge you to upgrade GNU
6766 *** binutils to release 2.9.1 or newer. Another option is to modify
6767 *** your PATH or compiler configuration so that the native linker is
6768 *** used, and then restart.
6771 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6772 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6773 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6780 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6783 hardcode_shlibpath_var=no
6787 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6788 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6789 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6796 if test "$ld_shlibs" = yes; then
6797 runpath_var=LD_RUN_PATH
6798 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6799 export_dynamic_flag_spec='${wl}--export-dynamic'
6800 # ancient GNU ld didn't support --whole-archive et. al.
6801 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6802 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6804 whole_archive_flag_spec=
6808 # PORTME fill in a description of your system's linker (not GNU ld)
6811 allow_undefined_flag=unsupported
6812 always_export_symbols=yes
6813 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'
6814 # Note: this linker hardcodes the directories in LIBPATH if there
6815 # are no directories specified by -L.
6816 hardcode_minus_L=yes
6817 if test "$GCC" = yes && test -z "$link_static_flag"; then
6818 # Neither direct hardcoding nor static linking is supported with a
6820 hardcode_direct=unsupported
6825 if test "$host_cpu" = ia64; then
6826 # On IA64, the linker does run time linking by default, so we don't
6827 # have to do anything special.
6828 aix_use_runtimelinking=no
6829 exp_sym_flag='-Bexport'
6832 # If we're using GNU nm, then we don't want the "-C" option.
6833 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6834 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6835 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'
6837 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'
6839 aix_use_runtimelinking=no
6841 # Test if we are trying to use run time linking or normal
6842 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6843 # need to do runtime linking.
6844 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6845 for ld_flag in $LDFLAGS; do
6846 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6847 aix_use_runtimelinking=yes
6853 exp_sym_flag='-bexport'
6854 no_entry_flag='-bnoentry'
6857 # When large executables or shared objects are built, AIX ld can
6858 # have problems creating the table of contents. If linking a library
6859 # or program results in "error TOC overflow" add -mminimal-toc to
6860 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6861 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6865 hardcode_libdir_separator=':'
6866 link_all_deplibs=yes
6868 if test "$GCC" = yes; then
6869 case $host_os in aix4.012|aix4.012.*)
6870 # We only want to do this on AIX 4.2 and lower, the check
6871 # below for broken collect2 doesn't work under 4.3+
6872 collect2name=`${CC} -print-prog-name=collect2`
6873 if test -f "$collect2name" && \
6874 strings "$collect2name" | grep resolve_lib_name >/dev/null
6876 # We have reworked collect2
6879 # We have old collect2
6880 hardcode_direct=unsupported
6881 # It fails to find uninstalled libraries when the uninstalled
6882 # path is not listed in the libpath. Setting hardcode_minus_L
6883 # to unsupported forces relinking
6884 hardcode_minus_L=yes
6885 hardcode_libdir_flag_spec='-L$libdir'
6886 hardcode_libdir_separator=
6889 shared_flag='-shared'
6892 if test "$host_cpu" = ia64; then
6893 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6894 # chokes on -Wl,-G. The following line is correct:
6897 if test "$aix_use_runtimelinking" = yes; then
6898 shared_flag='${wl}-G'
6900 shared_flag='${wl}-bM:SRE'
6905 # It seems that -bexpall does not export symbols beginning with
6906 # underscore (_), so it is better to generate a list of symbols to export.
6907 always_export_symbols=yes
6908 if test "$aix_use_runtimelinking" = yes; then
6909 # Warning - without using the other runtime loading flags (-brtl),
6910 # -berok will link without error, but may produce a broken library.
6911 allow_undefined_flag='-berok'
6912 # Determine the default libpath from the value encoded in an empty executable.
6913 cat >conftest.$ac_ext <<_ACEOF
6914 #line $LINENO "configure"
6917 cat confdefs.h >>conftest.$ac_ext
6918 cat >>conftest.$ac_ext <<_ACEOF
6919 /* end confdefs.h. */
6929 rm -f conftest.$ac_objext conftest$ac_exeext
6930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6931 (eval $ac_link) 2>&5
6933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934 (exit $ac_status); } &&
6935 { ac_try='test -s conftest$ac_exeext'
6936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); }; }; then
6942 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6944 # Check for a 64-bit object if we didn't find anything.
6945 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; }
6948 echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.$ac_ext >&5
6952 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6953 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6955 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6956 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"
6958 if test "$host_cpu" = ia64; then
6959 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6960 allow_undefined_flag="-z nodefs"
6961 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"
6963 # Determine the default libpath from the value encoded in an empty executable.
6964 cat >conftest.$ac_ext <<_ACEOF
6965 #line $LINENO "configure"
6968 cat confdefs.h >>conftest.$ac_ext
6969 cat >>conftest.$ac_ext <<_ACEOF
6970 /* end confdefs.h. */
6980 rm -f conftest.$ac_objext conftest$ac_exeext
6981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6982 (eval $ac_link) 2>&5
6984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); } &&
6986 { ac_try='test -s conftest$ac_exeext'
6987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991 (exit $ac_status); }; }; then
6993 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6995 # Check for a 64-bit object if we didn't find anything.
6996 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; }
6999 echo "$as_me: failed program was:" >&5
7000 sed 's/^/| /' conftest.$ac_ext >&5
7003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7004 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7006 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7007 # Warning - without using the other run time loading flags,
7008 # -berok will link without error, but may produce a broken library.
7009 no_undefined_flag=' ${wl}-bernotok'
7010 allow_undefined_flag=' ${wl}-berok'
7011 # -bexpall does not export symbols beginning with underscore (_)
7012 always_export_symbols=yes
7013 # Exported symbols can be pulled into shared objects from archives
7014 whole_archive_flag_spec=' '
7015 archive_cmds_need_lc=yes
7016 # This is similar to how AIX traditionally builds it's shared libraries.
7017 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'
7023 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)'
7024 hardcode_libdir_flag_spec='-L$libdir'
7025 hardcode_minus_L=yes
7026 # see comment about different semantics on the GNU ld section
7031 export_dynamic_flag_spec=-rdynamic
7034 cygwin* | mingw* | pw32*)
7035 # When not using gcc, we currently assume that we are using
7036 # Microsoft Visual C++.
7037 # hardcode_libdir_flag_spec is actually meaningless, as there is
7038 # no search path for DLLs.
7039 hardcode_libdir_flag_spec=' '
7040 allow_undefined_flag=unsupported
7041 # Tell ltmain to make .lib files, not .a files.
7043 # Tell ltmain to make .dll files, not .so files.
7045 # FIXME: Setting linknames here is a bad hack.
7046 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7047 # The linker will automatically build a .lib file if we build a DLL.
7048 old_archive_From_new_cmds='true'
7049 # FIXME: Should let the user specify the lib program.
7050 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7051 fix_srcfile_path='`cygpath -w "$srcfile"`'
7052 enable_shared_with_static_runtimes=yes
7055 darwin* | rhapsody*)
7056 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7057 archive_cmds_need_lc=no
7059 rhapsody* | darwin1.[012])
7060 allow_undefined_flag='-undefined suppress'
7063 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7066 # FIXME: Relying on posixy $() will cause problems for
7067 # cross-compilation, but unfortunately the echo tests do not
7068 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7069 # `"' quotes if we put them in here... so don't!
7070 lt_int_apple_cc_single_mod=no
7071 output_verbose_link_cmd='echo'
7072 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7073 lt_int_apple_cc_single_mod=yes
7075 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7076 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7078 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'
7080 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7081 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7082 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7083 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}'
7085 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}'
7087 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}'
7089 hardcode_automatic=yes
7090 hardcode_shlibpath_var=unsupported
7091 whole_archive_flag_spec='-all_load $convenience'
7092 link_all_deplibs=yes
7097 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7098 hardcode_libdir_flag_spec='-L$libdir'
7099 hardcode_shlibpath_var=no
7106 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7107 # support. Future versions do this automatically, but an explicit c++rt0.o
7108 # does not break anything, and helps significantly (at the cost of a little
7111 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7112 hardcode_libdir_flag_spec='-R$libdir'
7114 hardcode_shlibpath_var=no
7117 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7119 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7121 hardcode_minus_L=yes
7122 hardcode_shlibpath_var=no
7125 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7127 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7128 hardcode_libdir_flag_spec='-R$libdir'
7130 hardcode_shlibpath_var=no
7134 if test "$GCC" = yes; then
7135 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'
7137 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'
7139 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7140 hardcode_libdir_separator=:
7143 # hardcode_minus_L: Not really in the search PATH,
7144 # but as the default location of the library.
7145 hardcode_minus_L=yes
7146 export_dynamic_flag_spec='${wl}-E'
7150 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7153 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7156 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7162 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7165 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7169 if test "$with_gnu_ld" = no; then
7172 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7173 hardcode_libdir_flag_spec_ld='+b $libdir'
7174 hardcode_libdir_separator=:
7176 hardcode_shlibpath_var=no
7179 hardcode_libdir_flag_spec='-L$libdir'
7181 hardcode_shlibpath_var=no
7183 # hardcode_minus_L: Not really in the search PATH,
7184 # but as the default location of the library.
7185 hardcode_minus_L=yes
7188 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7189 hardcode_libdir_separator=:
7191 export_dynamic_flag_spec='${wl}-E'
7193 # hardcode_minus_L: Not really in the search PATH,
7194 # but as the default location of the library.
7195 hardcode_minus_L=yes
7201 irix5* | irix6* | nonstopux*)
7202 if test "$GCC" = yes; then
7203 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'
7205 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'
7206 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7208 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7209 hardcode_libdir_separator=:
7210 link_all_deplibs=yes
7214 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7215 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7217 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7219 hardcode_libdir_flag_spec='-R$libdir'
7221 hardcode_shlibpath_var=no
7225 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7227 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7228 hardcode_libdir_separator=:
7229 hardcode_shlibpath_var=no
7234 hardcode_shlibpath_var=no
7235 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7236 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7237 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7238 export_dynamic_flag_spec='${wl}-E'
7241 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7242 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7243 hardcode_libdir_flag_spec='-R$libdir'
7246 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7247 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7254 hardcode_libdir_flag_spec='-L$libdir'
7255 hardcode_minus_L=yes
7256 allow_undefined_flag=unsupported
7257 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'
7258 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7262 if test "$GCC" = yes; then
7263 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7264 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'
7266 allow_undefined_flag=' -expect_unresolved \*'
7267 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'
7269 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7270 hardcode_libdir_separator=:
7273 osf4* | osf5*) # as osf3* with the addition of -msym flag
7274 if test "$GCC" = yes; then
7275 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7276 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'
7277 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7279 allow_undefined_flag=' -expect_unresolved \*'
7280 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'
7281 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7282 $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'
7284 # Both c and cxx compiler support -rpath directly
7285 hardcode_libdir_flag_spec='-rpath $libdir'
7287 hardcode_libdir_separator=:
7291 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7292 hardcode_shlibpath_var=no
7293 export_dynamic_flag_spec='${wl}-Bexport'
7294 runpath_var=LD_RUN_PATH
7295 hardcode_runpath_var=yes
7299 no_undefined_flag=' -z text'
7300 if test "$GCC" = yes; then
7301 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7302 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7303 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7305 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7306 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7307 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7309 hardcode_libdir_flag_spec='-R$libdir'
7310 hardcode_shlibpath_var=no
7312 solaris2.[0-5] | solaris2.[0-5].*) ;;
7313 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7314 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7316 link_all_deplibs=yes
7320 if test "x$host_vendor" = xsequent; then
7321 # Use $CC to link under sequent, because it throws in some extra .o
7322 # files that make .init and .fini sections work.
7323 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7325 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7327 hardcode_libdir_flag_spec='-L$libdir'
7329 hardcode_minus_L=yes
7330 hardcode_shlibpath_var=no
7334 case $host_vendor in
7336 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7337 hardcode_direct=yes # is this really true???
7340 ## LD is ld it makes a PLAMLIB
7341 ## CC just makes a GrossModule.
7342 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7343 reload_cmds='$CC -r -o $output$reload_objs'
7347 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7348 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7351 runpath_var='LD_RUN_PATH'
7352 hardcode_shlibpath_var=no
7356 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7357 hardcode_shlibpath_var=no
7358 export_dynamic_flag_spec='-Bexport'
7362 if test -d /usr/nec; then
7363 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7364 hardcode_shlibpath_var=no
7365 runpath_var=LD_RUN_PATH
7366 hardcode_runpath_var=yes
7372 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7375 hardcode_shlibpath_var=no
7376 hardcode_runpath_var=yes
7377 runpath_var=LD_RUN_PATH
7380 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7381 no_undefined_flag='${wl}-z ${wl}text'
7382 if test "$GCC" = yes; then
7383 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7385 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7387 runpath_var='LD_RUN_PATH'
7388 hardcode_shlibpath_var=no
7392 no_undefined_flag=' -z text'
7393 # $CC -shared without GNU ld will not create a library from C++
7394 # object files and a static libstdc++, better avoid it by now
7395 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7396 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7397 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7398 hardcode_libdir_flag_spec=
7399 hardcode_shlibpath_var=no
7400 runpath_var='LD_RUN_PATH'
7404 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7405 hardcode_libdir_flag_spec='-L$libdir'
7406 hardcode_shlibpath_var=no
7415 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7416 echo "${ECHO_T}$ld_shlibs" >&6
7417 test "$ld_shlibs" = no && can_build_shared=no
7419 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7420 if test "$GCC" = yes; then
7421 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7425 # Do we need to explicitly link libc?
7427 case "x$archive_cmds_need_lc" in
7429 # Assume -lc should be added
7430 archive_cmds_need_lc=yes
7432 if test "$enable_shared" = yes && test "$GCC" = yes; then
7433 case $archive_cmds in
7435 # FIXME: we may have to deal with multi-command sequences.
7438 # Test whether the compiler implicitly links with -lc since on some
7439 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7440 # to ld, don't add -lc before -lgcc.
7441 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7442 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7444 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7447 (eval $ac_compile) 2>&5
7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); } 2>conftest.err; then
7453 libobjs=conftest.$ac_objext
7455 wl=$lt_prog_compiler_wl
7461 lt_save_allow_undefined_flag=$allow_undefined_flag
7462 allow_undefined_flag=
7463 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7464 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467 (exit $ac_status); }
7469 archive_cmds_need_lc=no
7471 archive_cmds_need_lc=yes
7473 allow_undefined_flag=$lt_save_allow_undefined_flag
7475 cat conftest.err 1>&5
7478 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7479 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7486 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7487 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7489 if test -n "$hardcode_libdir_flag_spec" || \
7490 test -n "$runpath_var " || \
7491 test "X$hardcode_automatic"="Xyes" ; then
7493 # We can hardcode non-existant directories.
7494 if test "$hardcode_direct" != no &&
7495 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7496 # have to relink, otherwise we might link with an installed library
7497 # when we should be linking with a yet-to-be-installed one
7498 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7499 test "$hardcode_minus_L" != no; then
7500 # Linking always hardcodes the temporary library directory.
7501 hardcode_action=relink
7503 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7504 hardcode_action=immediate
7507 # We cannot hardcode anything, or else we can only hardcode existing
7509 hardcode_action=unsupported
7511 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7512 echo "${ECHO_T}$hardcode_action" >&6
7514 if test "$hardcode_action" = relink; then
7515 # Fast installation is not supported
7516 enable_fast_install=no
7517 elif test "$shlibpath_overrides_runpath" = yes ||
7518 test "$enable_shared" = no; then
7519 # Fast installation is not necessary
7520 enable_fast_install=needless
7525 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7526 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7527 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7528 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7529 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7530 echo "$as_me:$LINENO: result: yes" >&5
7531 echo "${ECHO_T}yes" >&6
7533 # FIXME - insert some real tests, host_os isn't really good enough
7536 if test -n "$STRIP" ; then
7537 striplib="$STRIP -x"
7538 echo "$as_me:$LINENO: result: yes" >&5
7539 echo "${ECHO_T}yes" >&6
7541 echo "$as_me:$LINENO: result: no" >&5
7542 echo "${ECHO_T}no" >&6
7546 echo "$as_me:$LINENO: result: no" >&5
7547 echo "${ECHO_T}no" >&6
7552 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7553 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7555 libname_spec='lib$name'
7563 shlibpath_overrides_runpath=unknown
7565 dynamic_linker="$host_os ld.so"
7566 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7567 if test "$GCC" = yes; then
7568 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7569 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7570 # if the path contains ";" then we assume it to be the separator
7571 # otherwise default to the standard path separator (i.e. ":") - it is
7572 # assumed that no part of a normal pathname contains ";" but that should
7573 # okay in the real world where ";" in dirpaths is itself problematic.
7574 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7576 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7579 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7581 need_lib_prefix=unknown
7582 hardcode_into_libs=no
7584 # when you set need_version to no, make sure it does not cause -set_version
7585 # flags to be left without arguments
7586 need_version=unknown
7591 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7592 shlibpath_var=LIBPATH
7594 # AIX 3 has no versioning support, so we append a major version to the name.
7595 soname_spec='${libname}${release}${shared_ext}$major'
7602 hardcode_into_libs=yes
7603 if test "$host_cpu" = ia64; then
7604 # AIX 5 supports IA64
7605 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7606 shlibpath_var=LD_LIBRARY_PATH
7608 # With GCC up to 2.95.x, collect2 would create an import file
7609 # for dependence libraries. The import file would start with
7610 # the line `#! .'. This would cause the generated library to
7611 # depend on `.', always an invalid library. This was fixed in
7612 # development snapshots of GCC prior to 3.0.
7614 aix4 | aix4.[01] | aix4.[01].*)
7615 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7617 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7624 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7625 # soname into executable. Probably we can add versioning support to
7626 # collect2, so additional links can be useful in future.
7627 if test "$aix_use_runtimelinking" = yes; then
7628 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7629 # instead of lib<name>.a to let people know that these are not
7630 # typical AIX shared libraries.
7631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7633 # We preserve .a as extension for shared libraries through AIX4.2
7634 # and later when we are not doing run time linking.
7635 library_names_spec='${libname}${release}.a $libname.a'
7636 soname_spec='${libname}${release}${shared_ext}$major'
7638 shlibpath_var=LIBPATH
7643 library_names_spec='$libname.ixlibrary $libname.a'
7644 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7645 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'
7649 library_names_spec='${libname}${shared_ext}'
7650 dynamic_linker="$host_os ld.so"
7651 shlibpath_var=LIBRARY_PATH
7657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7658 soname_spec='${libname}${release}${shared_ext}$major'
7659 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7660 shlibpath_var=LD_LIBRARY_PATH
7661 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7662 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7663 # the default ld.so.conf also contains /usr/contrib/lib and
7664 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7665 # libtool to hard-code these into programs
7668 cygwin* | mingw* | pw32*)
7669 version_type=windows
7674 case $GCC,$host_os in
7675 yes,cygwin* | yes,mingw* | yes,pw32*)
7676 library_names_spec='$libname.dll.a'
7677 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7678 postinstall_cmds='base_file=`basename \${file}`~
7679 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7680 dldir=$destdir/`dirname \$dlpath`~
7681 test -d \$dldir || mkdir -p \$dldir~
7682 $install_prog $dir/$dlname \$dldir/$dlname'
7683 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7684 dlpath=$dir/\$dldll~
7686 shlibpath_overrides_runpath=yes
7690 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7691 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7692 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7695 # MinGW DLLs use traditional 'lib' prefix
7696 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7697 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7698 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7699 # It is most probably a Windows format PATH printed by
7700 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7701 # path with ; separators, and with drive letters. We can handle the
7702 # drive letters (cygwin fileutils understands them), so leave them,
7703 # especially as we might pass files found there to a mingw objdump,
7704 # which wouldn't understand a cygwinified path. Ahh.
7705 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7707 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7711 # pw32 DLLs use 'pw' prefix rather than 'lib'
7712 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7718 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7721 dynamic_linker='Win32 ld.exe'
7722 # FIXME: first we should search . and the directory the executable is in
7726 darwin* | rhapsody*)
7727 dynamic_linker="$host_os dyld"
7731 # FIXME: Relying on posixy $() will cause problems for
7732 # cross-compilation, but unfortunately the echo tests do not
7733 # yet detect zsh echo's removal of \ escapes.
7734 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7735 soname_spec='${libname}${release}${major}$shared_ext'
7736 shlibpath_overrides_runpath=yes
7737 shlibpath_var=DYLD_LIBRARY_PATH
7738 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7739 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7740 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7741 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"`
7743 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7751 soname_spec='${libname}${release}${shared_ext}$major'
7752 shlibpath_var=LD_LIBRARY_PATH
7760 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7761 version_type=freebsd-$objformat
7762 case $version_type in
7764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7769 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7773 shlibpath_var=LD_LIBRARY_PATH
7776 shlibpath_overrides_runpath=yes
7778 freebsd3.01* | freebsdelf3.01*)
7779 shlibpath_overrides_runpath=yes
7780 hardcode_into_libs=yes
7783 shlibpath_overrides_runpath=no
7784 hardcode_into_libs=yes
7793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7794 soname_spec='${libname}${release}${shared_ext}$major'
7795 shlibpath_var=LD_LIBRARY_PATH
7796 hardcode_into_libs=yes
7799 hpux9* | hpux10* | hpux11*)
7800 # Give a soname corresponding to the major version so that dld.sl refuses to
7801 # link against other versions.
7808 hardcode_into_libs=yes
7809 dynamic_linker="$host_os dld.so"
7810 shlibpath_var=LD_LIBRARY_PATH
7811 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7813 soname_spec='${libname}${release}${shared_ext}$major'
7814 if test "X$HPUX_IA64_MODE" = X32; then
7815 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7817 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7819 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7823 hardcode_into_libs=yes
7824 dynamic_linker="$host_os dld.sl"
7825 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7826 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7828 soname_spec='${libname}${release}${shared_ext}$major'
7829 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7830 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7834 dynamic_linker="$host_os dld.sl"
7835 shlibpath_var=SHLIB_PATH
7836 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7838 soname_spec='${libname}${release}${shared_ext}$major'
7841 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7842 postinstall_cmds='chmod 555 $lib'
7845 irix5* | irix6* | nonstopux*)
7847 nonstopux*) version_type=nonstopux ;;
7849 if test "$lt_cv_prog_gnu_ld" = yes; then
7857 soname_spec='${libname}${release}${shared_ext}$major'
7858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7860 irix5* | nonstopux*)
7864 case $LD in # libtool.m4 will add one of these switches to LD
7865 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7866 libsuff= shlibsuff= libmagic=32-bit;;
7867 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7868 libsuff=32 shlibsuff=N32 libmagic=N32;;
7869 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7870 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7871 *) libsuff= shlibsuff= libmagic=never-match;;
7875 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7876 shlibpath_overrides_runpath=no
7877 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7878 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7879 hardcode_into_libs=yes
7882 # No shared lib support for Linux oldld, aout, or coff.
7883 linux*oldld* | linux*aout* | linux*coff*)
7887 # This must be Linux ELF.
7892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7893 soname_spec='${libname}${release}${shared_ext}$major'
7894 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7895 shlibpath_var=LD_LIBRARY_PATH
7896 shlibpath_overrides_runpath=no
7897 # This implies no fast_install, which is unacceptable.
7898 # Some rework will be needed to allow for fast_install
7899 # before this can be enabled.
7900 hardcode_into_libs=yes
7902 # We used to test for /lib/ld.so.1 and disable shared libraries on
7903 # powerpc, because MkLinux only supported shared libraries with the
7904 # GNU dynamic linker. Since this was broken with cross compilers,
7905 # most powerpc-linux boxes support dynamic linking these days and
7906 # people can always --disable-shared, the test was removed, and we
7907 # assume the GNU/Linux dynamic linker is in use.
7908 dynamic_linker='GNU/Linux ld.so'
7915 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7917 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7918 dynamic_linker='NetBSD (a.out) ld.so'
7920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7921 soname_spec='${libname}${release}${shared_ext}$major'
7922 dynamic_linker='NetBSD ld.elf_so'
7924 shlibpath_var=LD_LIBRARY_PATH
7925 shlibpath_overrides_runpath=yes
7926 hardcode_into_libs=yes
7931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7932 shlibpath_var=LD_LIBRARY_PATH
7933 shlibpath_overrides_runpath=yes
7940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7941 soname_spec='${libname}${release}${shared_ext}$major'
7942 shlibpath_var=LD_LIBRARY_PATH
7943 shlibpath_overrides_runpath=yes
7950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7951 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7952 shlibpath_var=LD_LIBRARY_PATH
7953 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7955 openbsd2.[89] | openbsd2.[89].*)
7956 shlibpath_overrides_runpath=no
7959 shlibpath_overrides_runpath=yes
7963 shlibpath_overrides_runpath=yes
7968 libname_spec='$name'
7971 library_names_spec='$libname${shared_ext} $libname.a'
7972 dynamic_linker='OS/2 ld.exe'
7973 shlibpath_var=LIBPATH
7976 osf3* | osf4* | osf5*)
7980 soname_spec='${libname}${release}${shared_ext}$major'
7981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7982 shlibpath_var=LD_LIBRARY_PATH
7983 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7984 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7989 soname_spec='${libname}${release}${shared_ext}$major'
7990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7991 shlibpath_var=LD_LIBRARY_PATH
7998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7999 soname_spec='${libname}${release}${shared_ext}$major'
8000 shlibpath_var=LD_LIBRARY_PATH
8001 shlibpath_overrides_runpath=yes
8002 hardcode_into_libs=yes
8003 # ldd complains unless libraries are executable
8004 postinstall_cmds='chmod +x $lib'
8009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8010 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8011 shlibpath_var=LD_LIBRARY_PATH
8012 shlibpath_overrides_runpath=yes
8013 if test "$with_gnu_ld" = yes; then
8019 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8022 soname_spec='${libname}${release}${shared_ext}$major'
8023 shlibpath_var=LD_LIBRARY_PATH
8024 case $host_vendor in
8026 shlibpath_overrides_runpath=no
8028 export_dynamic_flag_spec='${wl}-Blargedynsym'
8029 runpath_var=LD_RUN_PATH
8037 shlibpath_overrides_runpath=no
8038 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8044 if test -d /usr/nec ;then
8046 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8047 soname_spec='$libname${shared_ext}.$major'
8048 shlibpath_var=LD_LIBRARY_PATH
8054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8055 soname_spec='${libname}${release}${shared_ext}$major'
8056 shlibpath_var=LD_LIBRARY_PATH
8063 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8064 echo "${ECHO_T}$dynamic_linker" >&6
8065 test "$dynamic_linker" = no && can_build_shared=no
8067 if test "x$enable_dlopen" != xyes; then
8068 enable_dlopen=unknown
8069 enable_dlopen_self=unknown
8070 enable_dlopen_self_static=unknown
8077 lt_cv_dlopen="load_add_on"
8079 lt_cv_dlopen_self=yes
8083 lt_cv_dlopen="LoadLibrary"
8088 lt_cv_dlopen="dlopen"
8093 # if libdl is installed we need to link against it
8094 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8095 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8096 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8097 echo $ECHO_N "(cached) $ECHO_C" >&6
8099 ac_check_lib_save_LIBS=$LIBS
8101 cat >conftest.$ac_ext <<_ACEOF
8102 #line $LINENO "configure"
8105 cat confdefs.h >>conftest.$ac_ext
8106 cat >>conftest.$ac_ext <<_ACEOF
8107 /* end confdefs.h. */
8109 /* Override any gcc2 internal prototype to avoid an error. */
8113 /* We use char because int might match the return type of a gcc2
8114 builtin and then its argument prototype would still apply. */
8124 rm -f conftest.$ac_objext conftest$ac_exeext
8125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8126 (eval $ac_link) 2>&5
8128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129 (exit $ac_status); } &&
8130 { ac_try='test -s conftest$ac_exeext'
8131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135 (exit $ac_status); }; }; then
8136 ac_cv_lib_dl_dlopen=yes
8138 echo "$as_me: failed program was:" >&5
8139 sed 's/^/| /' conftest.$ac_ext >&5
8141 ac_cv_lib_dl_dlopen=no
8143 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8144 LIBS=$ac_check_lib_save_LIBS
8146 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8147 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8148 if test $ac_cv_lib_dl_dlopen = yes; then
8149 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8154 lt_cv_dlopen_self=yes
8161 echo "$as_me:$LINENO: checking for shl_load" >&5
8162 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8163 if test "${ac_cv_func_shl_load+set}" = set; then
8164 echo $ECHO_N "(cached) $ECHO_C" >&6
8166 cat >conftest.$ac_ext <<_ACEOF
8167 #line $LINENO "configure"
8170 cat confdefs.h >>conftest.$ac_ext
8171 cat >>conftest.$ac_ext <<_ACEOF
8172 /* end confdefs.h. */
8173 /* System header to define __stub macros and hopefully few prototypes,
8174 which can conflict with char shl_load (); below.
8175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8176 <limits.h> exists even on freestanding compilers. */
8178 # include <limits.h>
8180 # include <assert.h>
8182 /* Override any gcc2 internal prototype to avoid an error. */
8187 /* We use char because int might match the return type of a gcc2
8188 builtin and then its argument prototype would still apply. */
8190 /* The GNU C library defines this for functions which it implements
8191 to always fail with ENOSYS. Some functions are actually named
8192 something starting with __ and the normal name is an alias. */
8193 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8196 char (*f) () = shl_load;
8205 return f != shl_load;
8210 rm -f conftest.$ac_objext conftest$ac_exeext
8211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8212 (eval $ac_link) 2>&5
8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); } &&
8216 { ac_try='test -s conftest$ac_exeext'
8217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 (exit $ac_status); }; }; then
8222 ac_cv_func_shl_load=yes
8224 echo "$as_me: failed program was:" >&5
8225 sed 's/^/| /' conftest.$ac_ext >&5
8227 ac_cv_func_shl_load=no
8229 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8231 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8232 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8233 if test $ac_cv_func_shl_load = yes; then
8234 lt_cv_dlopen="shl_load"
8236 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8237 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8238 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8239 echo $ECHO_N "(cached) $ECHO_C" >&6
8241 ac_check_lib_save_LIBS=$LIBS
8243 cat >conftest.$ac_ext <<_ACEOF
8244 #line $LINENO "configure"
8247 cat confdefs.h >>conftest.$ac_ext
8248 cat >>conftest.$ac_ext <<_ACEOF
8249 /* end confdefs.h. */
8251 /* Override any gcc2 internal prototype to avoid an error. */
8255 /* We use char because int might match the return type of a gcc2
8256 builtin and then its argument prototype would still apply. */
8266 rm -f conftest.$ac_objext conftest$ac_exeext
8267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8268 (eval $ac_link) 2>&5
8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 (exit $ac_status); } &&
8272 { ac_try='test -s conftest$ac_exeext'
8273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277 (exit $ac_status); }; }; then
8278 ac_cv_lib_dld_shl_load=yes
8280 echo "$as_me: failed program was:" >&5
8281 sed 's/^/| /' conftest.$ac_ext >&5
8283 ac_cv_lib_dld_shl_load=no
8285 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8286 LIBS=$ac_check_lib_save_LIBS
8288 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8289 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8290 if test $ac_cv_lib_dld_shl_load = yes; then
8291 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8293 echo "$as_me:$LINENO: checking for dlopen" >&5
8294 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8295 if test "${ac_cv_func_dlopen+set}" = set; then
8296 echo $ECHO_N "(cached) $ECHO_C" >&6
8298 cat >conftest.$ac_ext <<_ACEOF
8299 #line $LINENO "configure"
8302 cat confdefs.h >>conftest.$ac_ext
8303 cat >>conftest.$ac_ext <<_ACEOF
8304 /* end confdefs.h. */
8305 /* System header to define __stub macros and hopefully few prototypes,
8306 which can conflict with char dlopen (); below.
8307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8308 <limits.h> exists even on freestanding compilers. */
8310 # include <limits.h>
8312 # include <assert.h>
8314 /* Override any gcc2 internal prototype to avoid an error. */
8319 /* We use char because int might match the return type of a gcc2
8320 builtin and then its argument prototype would still apply. */
8322 /* The GNU C library defines this for functions which it implements
8323 to always fail with ENOSYS. Some functions are actually named
8324 something starting with __ and the normal name is an alias. */
8325 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8328 char (*f) () = dlopen;
8342 rm -f conftest.$ac_objext conftest$ac_exeext
8343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8344 (eval $ac_link) 2>&5
8346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347 (exit $ac_status); } &&
8348 { ac_try='test -s conftest$ac_exeext'
8349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8353 (exit $ac_status); }; }; then
8354 ac_cv_func_dlopen=yes
8356 echo "$as_me: failed program was:" >&5
8357 sed 's/^/| /' conftest.$ac_ext >&5
8359 ac_cv_func_dlopen=no
8361 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8363 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8364 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8365 if test $ac_cv_func_dlopen = yes; then
8366 lt_cv_dlopen="dlopen"
8368 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8369 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8370 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8371 echo $ECHO_N "(cached) $ECHO_C" >&6
8373 ac_check_lib_save_LIBS=$LIBS
8375 cat >conftest.$ac_ext <<_ACEOF
8376 #line $LINENO "configure"
8379 cat confdefs.h >>conftest.$ac_ext
8380 cat >>conftest.$ac_ext <<_ACEOF
8381 /* end confdefs.h. */
8383 /* Override any gcc2 internal prototype to avoid an error. */
8387 /* We use char because int might match the return type of a gcc2
8388 builtin and then its argument prototype would still apply. */
8398 rm -f conftest.$ac_objext conftest$ac_exeext
8399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8400 (eval $ac_link) 2>&5
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 (exit $ac_status); } &&
8404 { ac_try='test -s conftest$ac_exeext'
8405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8409 (exit $ac_status); }; }; then
8410 ac_cv_lib_dl_dlopen=yes
8412 echo "$as_me: failed program was:" >&5
8413 sed 's/^/| /' conftest.$ac_ext >&5
8415 ac_cv_lib_dl_dlopen=no
8417 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8418 LIBS=$ac_check_lib_save_LIBS
8420 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8421 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8422 if test $ac_cv_lib_dl_dlopen = yes; then
8423 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8425 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8426 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8427 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8428 echo $ECHO_N "(cached) $ECHO_C" >&6
8430 ac_check_lib_save_LIBS=$LIBS
8432 cat >conftest.$ac_ext <<_ACEOF
8433 #line $LINENO "configure"
8436 cat confdefs.h >>conftest.$ac_ext
8437 cat >>conftest.$ac_ext <<_ACEOF
8438 /* end confdefs.h. */
8440 /* Override any gcc2 internal prototype to avoid an error. */
8444 /* We use char because int might match the return type of a gcc2
8445 builtin and then its argument prototype would still apply. */
8455 rm -f conftest.$ac_objext conftest$ac_exeext
8456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8457 (eval $ac_link) 2>&5
8459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460 (exit $ac_status); } &&
8461 { ac_try='test -s conftest$ac_exeext'
8462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 (exit $ac_status); }; }; then
8467 ac_cv_lib_svld_dlopen=yes
8469 echo "$as_me: failed program was:" >&5
8470 sed 's/^/| /' conftest.$ac_ext >&5
8472 ac_cv_lib_svld_dlopen=no
8474 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8475 LIBS=$ac_check_lib_save_LIBS
8477 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8478 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8479 if test $ac_cv_lib_svld_dlopen = yes; then
8480 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8482 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8483 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8484 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8485 echo $ECHO_N "(cached) $ECHO_C" >&6
8487 ac_check_lib_save_LIBS=$LIBS
8489 cat >conftest.$ac_ext <<_ACEOF
8490 #line $LINENO "configure"
8493 cat confdefs.h >>conftest.$ac_ext
8494 cat >>conftest.$ac_ext <<_ACEOF
8495 /* end confdefs.h. */
8497 /* Override any gcc2 internal prototype to avoid an error. */
8501 /* We use char because int might match the return type of a gcc2
8502 builtin and then its argument prototype would still apply. */
8512 rm -f conftest.$ac_objext conftest$ac_exeext
8513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8514 (eval $ac_link) 2>&5
8516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8517 (exit $ac_status); } &&
8518 { ac_try='test -s conftest$ac_exeext'
8519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); }; }; then
8524 ac_cv_lib_dld_dld_link=yes
8526 echo "$as_me: failed program was:" >&5
8527 sed 's/^/| /' conftest.$ac_ext >&5
8529 ac_cv_lib_dld_dld_link=no
8531 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8532 LIBS=$ac_check_lib_save_LIBS
8534 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8535 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8536 if test $ac_cv_lib_dld_dld_link = yes; then
8537 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8558 if test "x$lt_cv_dlopen" != xno; then
8564 case $lt_cv_dlopen in
8566 save_CPPFLAGS="$CPPFLAGS"
8567 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8569 save_LDFLAGS="$LDFLAGS"
8570 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8573 LIBS="$lt_cv_dlopen_libs $LIBS"
8575 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8576 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8577 if test "${lt_cv_dlopen_self+set}" = set; then
8578 echo $ECHO_N "(cached) $ECHO_C" >&6
8580 if test "$cross_compiling" = yes; then :
8581 lt_cv_dlopen_self=cross
8583 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8584 lt_status=$lt_dlunknown
8585 cat > conftest.$ac_ext <<EOF
8586 #line 8586 "configure"
8587 #include "confdefs.h"
8596 # define LT_DLGLOBAL RTLD_GLOBAL
8599 # define LT_DLGLOBAL DL_GLOBAL
8601 # define LT_DLGLOBAL 0
8605 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8606 find out it does not work in some platform. */
8607 #ifndef LT_DLLAZY_OR_NOW
8609 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8612 # define LT_DLLAZY_OR_NOW DL_LAZY
8615 # define LT_DLLAZY_OR_NOW RTLD_NOW
8618 # define LT_DLLAZY_OR_NOW DL_NOW
8620 # define LT_DLLAZY_OR_NOW 0
8628 extern "C" void exit (int);
8631 void fnord() { int i=42;}
8634 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8635 int status = $lt_dlunknown;
8639 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8640 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8641 /* dlclose (self); */
8647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8648 (eval $ac_link) 2>&5
8650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8652 (./conftest; exit; ) 2>/dev/null
8655 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8656 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8657 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8660 # compilation failed
8661 lt_cv_dlopen_self=no
8668 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8669 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8671 if test "x$lt_cv_dlopen_self" = xyes; then
8672 LDFLAGS="$LDFLAGS $link_static_flag"
8673 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8674 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8675 if test "${lt_cv_dlopen_self_static+set}" = set; then
8676 echo $ECHO_N "(cached) $ECHO_C" >&6
8678 if test "$cross_compiling" = yes; then :
8679 lt_cv_dlopen_self_static=cross
8681 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8682 lt_status=$lt_dlunknown
8683 cat > conftest.$ac_ext <<EOF
8684 #line 8684 "configure"
8685 #include "confdefs.h"
8694 # define LT_DLGLOBAL RTLD_GLOBAL
8697 # define LT_DLGLOBAL DL_GLOBAL
8699 # define LT_DLGLOBAL 0
8703 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8704 find out it does not work in some platform. */
8705 #ifndef LT_DLLAZY_OR_NOW
8707 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8710 # define LT_DLLAZY_OR_NOW DL_LAZY
8713 # define LT_DLLAZY_OR_NOW RTLD_NOW
8716 # define LT_DLLAZY_OR_NOW DL_NOW
8718 # define LT_DLLAZY_OR_NOW 0
8726 extern "C" void exit (int);
8729 void fnord() { int i=42;}
8732 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8733 int status = $lt_dlunknown;
8737 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8738 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8739 /* dlclose (self); */
8745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8746 (eval $ac_link) 2>&5
8748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8750 (./conftest; exit; ) 2>/dev/null
8753 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8754 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8755 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8758 # compilation failed
8759 lt_cv_dlopen_self_static=no
8766 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8767 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8770 CPPFLAGS="$save_CPPFLAGS"
8771 LDFLAGS="$save_LDFLAGS"
8776 case $lt_cv_dlopen_self in
8777 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8778 *) enable_dlopen_self=unknown ;;
8781 case $lt_cv_dlopen_self_static in
8782 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8783 *) enable_dlopen_self_static=unknown ;;
8788 # Report which librarie types wil actually be built
8789 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8790 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8791 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8792 echo "${ECHO_T}$can_build_shared" >&6
8794 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8795 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8796 test "$can_build_shared" = "no" && enable_shared=no
8798 # On AIX, shared libraries and static libraries use the same namespace, and
8799 # are all built from PIC.
8802 test "$enable_shared" = yes && enable_static=no
8803 if test -n "$RANLIB"; then
8804 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8805 postinstall_cmds='$RANLIB $lib'
8810 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8811 test "$enable_shared" = yes && enable_static=no
8814 darwin* | rhapsody*)
8815 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8816 archive_cmds_need_lc=no
8818 rhapsody* | darwin1.[012])
8819 allow_undefined_flag='-undefined suppress'
8822 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8825 # FIXME: Relying on posixy $() will cause problems for
8826 # cross-compilation, but unfortunately the echo tests do not
8827 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8828 # `"' quotes if we put them in here... so don't!
8829 output_verbose_link_cmd='echo'
8830 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8831 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8832 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8833 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}'
8834 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}'
8836 hardcode_automatic=yes
8837 hardcode_shlibpath_var=unsupported
8838 whole_archive_flag_spec='-all_load $convenience'
8839 link_all_deplibs=yes
8843 echo "$as_me:$LINENO: result: $enable_shared" >&5
8844 echo "${ECHO_T}$enable_shared" >&6
8846 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8847 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8848 # Make sure either enable_shared or enable_static is yes.
8849 test "$enable_shared" = yes || enable_static=yes
8850 echo "$as_me:$LINENO: result: $enable_static" >&5
8851 echo "${ECHO_T}$enable_static" >&6
8853 # The else clause should only fire when bootstrapping the
8854 # libtool distribution, otherwise you forgot to ship ltmain.sh
8855 # with your package, and you will get complaints that there are
8856 # no rules to generate ltmain.sh.
8857 if test -f "$ltmain"; then
8858 # See if we are running on zsh, and set the options which allow our commands through
8859 # without removal of \ escapes.
8860 if test -n "${ZSH_VERSION+set}" ; then
8861 setopt NO_GLOB_SUBST
8863 # Now quote all the things that may contain metacharacters while being
8864 # careful not to overquote the AC_SUBSTed values. We take copies of the
8865 # variables and quote the copies for generation of the libtool script.
8866 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8867 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8868 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8869 deplibs_check_method reload_flag reload_cmds need_locks \
8870 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8871 lt_cv_sys_global_symbol_to_c_name_address \
8872 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8873 old_postinstall_cmds old_postuninstall_cmds \
8877 lt_prog_compiler_wl \
8878 lt_prog_compiler_pic \
8879 lt_prog_compiler_static \
8880 lt_prog_compiler_no_builtin_flag \
8881 export_dynamic_flag_spec \
8882 thread_safe_flag_spec \
8883 whole_archive_flag_spec \
8884 enable_shared_with_static_runtimes \
8886 old_archive_from_new_cmds \
8891 compiler_lib_search_path \
8893 archive_expsym_cmds \
8895 postuninstall_cmds \
8896 old_archive_from_expsyms_cmds \
8897 allow_undefined_flag \
8899 export_symbols_cmds \
8900 hardcode_libdir_flag_spec \
8901 hardcode_libdir_flag_spec_ld \
8902 hardcode_libdir_separator \
8903 hardcode_automatic \
8905 module_expsym_cmds \
8906 lt_cv_prog_compiler_c_o \
8911 old_archive_cmds | \
8912 old_archive_from_new_cmds | \
8914 archive_expsym_cmds | \
8916 module_expsym_cmds | \
8917 old_archive_from_expsyms_cmds | \
8918 export_symbols_cmds | \
8919 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8920 postinstall_cmds | postuninstall_cmds | \
8921 old_postinstall_cmds | old_postuninstall_cmds | \
8922 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8923 # Double-quote double-evaled strings.
8924 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8927 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8933 *'\$0 --fallback-echo"')
8934 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8939 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8941 { echo "$as_me:$LINENO: creating $ofile" >&5
8942 echo "$as_me: creating $ofile" >&6;}
8944 cat <<__EOF__ >> "$cfgfile"
8947 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8948 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8949 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8951 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8952 # Free Software Foundation, Inc.
8954 # This file is part of GNU Libtool:
8955 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8957 # This program is free software; you can redistribute it and/or modify
8958 # it under the terms of the GNU General Public License as published by
8959 # the Free Software Foundation; either version 2 of the License, or
8960 # (at your option) any later version.
8962 # This program is distributed in the hope that it will be useful, but
8963 # WITHOUT ANY WARRANTY; without even the implied warranty of
8964 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8965 # General Public License for more details.
8967 # You should have received a copy of the GNU General Public License
8968 # along with this program; if not, write to the Free Software
8969 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8971 # As a special exception to the GNU General Public License, if you
8972 # distribute this file as part of a program that contains a
8973 # configuration script generated by Autoconf, you may include it under
8974 # the same distribution terms that you use for the rest of that program.
8976 # A sed program that does not truncate output.
8979 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8980 Xsed="$SED -e s/^X//"
8982 # The HP-UX ksh and POSIX shell print the target directory to stdout
8984 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8986 # The names of the tagged configurations supported by this script.
8989 # ### BEGIN LIBTOOL CONFIG
8991 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8993 # Shell to use when invoking shell scripts.
8996 # Whether or not to build shared libraries.
8997 build_libtool_libs=$enable_shared
8999 # Whether or not to build static libraries.
9000 build_old_libs=$enable_static
9002 # Whether or not to add -lc for building shared libraries.
9003 build_libtool_need_lc=$archive_cmds_need_lc
9005 # Whether or not to disallow shared libs when runtime libs are static
9006 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9008 # Whether or not to optimize for fast installation.
9009 fast_install=$enable_fast_install
9012 host_alias=$host_alias
9015 # An echo program that does not interpret backslashes.
9020 AR_FLAGS=$lt_AR_FLAGS
9025 # A language-specific compiler.
9028 # Is the compiler the GNU C compiler?
9034 # The linker used to build libraries.
9037 # Whether we need hard or soft links.
9040 # A BSD-compatible nm program.
9043 # A symbol stripping program
9046 # Used to examine libraries when file_magic_cmd begins "file"
9047 MAGIC_CMD=$MAGIC_CMD
9049 # Used on cygwin: DLL creation program.
9052 # Used on cygwin: object dumper.
9055 # Used on cygwin: assembler.
9058 # The name of the directory that contains temporary libtool files.
9061 # How to create reloadable object files.
9062 reload_flag=$lt_reload_flag
9063 reload_cmds=$lt_reload_cmds
9065 # How to pass a linker flag through the compiler.
9066 wl=$lt_lt_prog_compiler_wl
9068 # Object file suffix (normally "o").
9071 # Old archive suffix (normally "a").
9074 # Shared library suffix (normally ".so").
9077 # Executable file suffix (normally "").
9080 # Additional compiler flags for building library objects.
9081 pic_flag=$lt_lt_prog_compiler_pic
9084 # What is the maximum length of a command?
9085 max_cmd_len=$lt_cv_sys_max_cmd_len
9087 # Does compiler simultaneously support -c and -o options?
9088 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9090 # Must we lock files when doing compilation ?
9091 need_locks=$lt_need_locks
9093 # Do we need the lib prefix for modules?
9094 need_lib_prefix=$need_lib_prefix
9096 # Do we need a version for libraries?
9097 need_version=$need_version
9099 # Whether dlopen is supported.
9100 dlopen_support=$enable_dlopen
9102 # Whether dlopen of programs is supported.
9103 dlopen_self=$enable_dlopen_self
9105 # Whether dlopen of statically linked programs is supported.
9106 dlopen_self_static=$enable_dlopen_self_static
9108 # Compiler flag to prevent dynamic linking.
9109 link_static_flag=$lt_lt_prog_compiler_static
9111 # Compiler flag to turn off builtin functions.
9112 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9114 # Compiler flag to allow reflexive dlopens.
9115 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9117 # Compiler flag to generate shared objects directly from archives.
9118 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9120 # Compiler flag to generate thread-safe objects.
9121 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9123 # Library versioning type.
9124 version_type=$version_type
9126 # Format of library name prefix.
9127 libname_spec=$lt_libname_spec
9129 # List of archive names. First name is the real one, the rest are links.
9130 # The last name is the one that the linker finds with -lNAME.
9131 library_names_spec=$lt_library_names_spec
9133 # The coded name of the library, if different from the real name.
9134 soname_spec=$lt_soname_spec
9136 # Commands used to build and install an old-style archive.
9138 old_archive_cmds=$lt_old_archive_cmds
9139 old_postinstall_cmds=$lt_old_postinstall_cmds
9140 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9142 # Create an old-style archive from a shared archive.
9143 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9145 # Create a temporary old-style archive to link instead of a shared archive.
9146 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9148 # Commands used to build and install a shared archive.
9149 archive_cmds=$lt_archive_cmds
9150 archive_expsym_cmds=$lt_archive_expsym_cmds
9151 postinstall_cmds=$lt_postinstall_cmds
9152 postuninstall_cmds=$lt_postuninstall_cmds
9154 # Commands used to build a loadable module (assumed same as above if empty)
9155 module_cmds=$lt_module_cmds
9156 module_expsym_cmds=$lt_module_expsym_cmds
9158 # Commands to strip libraries.
9159 old_striplib=$lt_old_striplib
9160 striplib=$lt_striplib
9162 # Dependencies to place before the objects being linked to create a
9164 predep_objects=$lt_predep_objects
9166 # Dependencies to place after the objects being linked to create a
9168 postdep_objects=$lt_postdep_objects
9170 # Dependencies to place before the objects being linked to create a
9174 # Dependencies to place after the objects being linked to create a
9176 postdeps=$lt_postdeps
9178 # The library search path used internally by the compiler when linking
9180 compiler_lib_search_path=$lt_compiler_lib_search_path
9182 # Method to check whether dependent libraries are shared objects.
9183 deplibs_check_method=$lt_deplibs_check_method
9185 # Command to use when deplibs_check_method == file_magic.
9186 file_magic_cmd=$lt_file_magic_cmd
9188 # Flag that allows shared libraries with undefined symbols to be built.
9189 allow_undefined_flag=$lt_allow_undefined_flag
9191 # Flag that forces no undefined symbols.
9192 no_undefined_flag=$lt_no_undefined_flag
9194 # Commands used to finish a libtool library installation in a directory.
9195 finish_cmds=$lt_finish_cmds
9197 # Same as above, but a single script fragment to be evaled but not shown.
9198 finish_eval=$lt_finish_eval
9200 # Take the output of nm and produce a listing of raw symbols and C names.
9201 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9203 # Transform the output of nm in a proper C declaration
9204 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9206 # Transform the output of nm in a C name address pair
9207 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9209 # This is the shared library runtime path variable.
9210 runpath_var=$runpath_var
9212 # This is the shared library path variable.
9213 shlibpath_var=$shlibpath_var
9215 # Is shlibpath searched before the hard-coded library search path?
9216 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9218 # How to hardcode a shared library path into an executable.
9219 hardcode_action=$hardcode_action
9221 # Whether we should hardcode library paths into libraries.
9222 hardcode_into_libs=$hardcode_into_libs
9224 # Flag to hardcode \$libdir into a binary during linking.
9225 # This must work even if \$libdir does not exist.
9226 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9228 # If ld is used when linking, flag to hardcode \$libdir into
9229 # a binary during linking. This must work even if \$libdir does
9231 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9233 # Whether we need a single -rpath flag with a separated argument.
9234 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9236 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9238 hardcode_direct=$hardcode_direct
9240 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9242 hardcode_minus_L=$hardcode_minus_L
9244 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9245 # the resulting binary.
9246 hardcode_shlibpath_var=$hardcode_shlibpath_var
9248 # Set to yes if building a shared library automatically hardcodes DIR into the library
9249 # and all subsequent libraries and executables linked against it.
9250 hardcode_automatic=$hardcode_automatic
9252 # Variables whose values should be saved in libtool wrapper scripts and
9253 # restored at relink time.
9254 variables_saved_for_relink="$variables_saved_for_relink"
9256 # Whether libtool must link a program against all its dependency libraries.
9257 link_all_deplibs=$link_all_deplibs
9259 # Compile-time system search path for libraries
9260 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9262 # Run-time system search path for libraries
9263 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9265 # Fix the shell variable \$srcfile for the compiler.
9266 fix_srcfile_path="$fix_srcfile_path"
9268 # Set to yes if exported symbols are required.
9269 always_export_symbols=$always_export_symbols
9271 # The commands to list exported symbols.
9272 export_symbols_cmds=$lt_export_symbols_cmds
9274 # The commands to extract the exported symbol list from a shared archive.
9275 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9277 # Symbols that should not be listed in the preloaded symbols.
9278 exclude_expsyms=$lt_exclude_expsyms
9280 # Symbols that must always be exported.
9281 include_expsyms=$lt_include_expsyms
9283 # ### END LIBTOOL CONFIG
9290 cat <<\EOF >> "$cfgfile"
9292 # AIX sometimes has problems with the GCC collect2 program. For some
9293 # reason, if we set the COLLECT_NAMES environment variable, the problems
9294 # vanish in a puff of smoke.
9295 if test "X${COLLECT_NAMES+set}" != Xset; then
9297 export COLLECT_NAMES
9303 # We use sed instead of cat because bash on DJGPP gets confused if
9304 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9305 # text mode, it properly converts lines to CR/LF. This bash problem
9306 # is reportedly fixed, but why not run on old versions too?
9307 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9309 mv -f "$cfgfile" "$ofile" || \
9310 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9314 # If there is no Makefile yet, we rely on a make rule to execute
9315 # `config.status --recheck' to rerun these tests and create the
9316 # libtool script then.
9317 test -f Makefile && make "$ltmain"
9322 ac_cpp='$CPP $CPPFLAGS'
9323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9330 # Check whether --with-tags or --without-tags was given.
9331 if test "${with_tags+set}" = set; then
9332 withval="$with_tags"
9336 if test -f "$ltmain" && test -n "$tagnames"; then
9337 if test ! -f "${ofile}"; then
9338 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9339 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9342 if test -z "$LTCC"; then
9343 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9344 if test -z "$LTCC"; then
9345 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9346 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9348 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9349 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9353 # Extract list of available tagged configurations in $ofile.
9354 # Note that this assumes the entire list is on one line.
9355 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9357 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9358 for tagname in $tagnames; do
9360 # Check whether tagname contains only valid characters
9361 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9363 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9364 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9365 { (exit 1); exit 1; }; }
9369 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9371 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9372 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9373 { (exit 1); exit 1; }; }
9376 # Update the list of available tags.
9377 if test -n "$tagname"; then
9378 echo appending configuration tag \"$tagname\" to $ofile
9382 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9384 ac_cpp='$CXXCPP $CPPFLAGS'
9385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9392 archive_cmds_need_lc_CXX=no
9393 allow_undefined_flag_CXX=
9394 always_export_symbols_CXX=no
9395 archive_expsym_cmds_CXX=
9396 export_dynamic_flag_spec_CXX=
9397 hardcode_direct_CXX=no
9398 hardcode_libdir_flag_spec_CXX=
9399 hardcode_libdir_flag_spec_ld_CXX=
9400 hardcode_libdir_separator_CXX=
9401 hardcode_minus_L_CXX=no
9402 hardcode_automatic_CXX=no
9404 module_expsym_cmds_CXX=
9405 link_all_deplibs_CXX=unknown
9406 old_archive_cmds_CXX=$old_archive_cmds
9407 no_undefined_flag_CXX=
9408 whole_archive_flag_spec_CXX=
9409 enable_shared_with_static_runtimes_CXX=no
9411 # Dependencies to place before and after the object being linked:
9413 postdep_objects_CXX=
9416 compiler_lib_search_path_CXX=
9418 # Source file extension for C++ test sources.
9421 # Object file extension for compiled C++ test sources.
9425 # Code to be used in simple compile tests
9426 lt_simple_compile_test_code="int some_variable = 0;\n"
9428 # Code to be used in simple link tests
9429 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9431 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9433 # If no C compiler was specified, use CC.
9436 # Allow CC to be a program name with arguments.
9440 # Allow CC to be a program name with arguments.
9445 lt_save_with_gnu_ld=$with_gnu_ld
9446 lt_save_path_LD=$lt_cv_path_LD
9447 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9448 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9450 unset lt_cv_prog_gnu_ld
9452 if test -n "${lt_cv_path_LDCXX+set}"; then
9453 lt_cv_path_LD=$lt_cv_path_LDCXX
9457 test -z "${LDCXX+set}" || LD=$LDCXX
9461 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9463 # We don't want -fno-exception wen compiling C++ code, so set the
9464 # no_builtin_flag separately
9465 if test "$GXX" = yes; then
9466 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9468 lt_prog_compiler_no_builtin_flag_CXX=
9471 if test "$GXX" = yes; then
9472 # Set up default GNU C++ configuration
9475 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9476 if test "${with_gnu_ld+set}" = set; then
9477 withval="$with_gnu_ld"
9478 test "$withval" = no || with_gnu_ld=yes
9483 if test "$GCC" = yes; then
9484 # Check if gcc -print-prog-name=ld gives a path.
9485 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9486 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9489 # gcc leaves a trailing carriage return which upsets mingw
9490 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9492 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9495 # Accept absolute paths.
9497 re_direlt='/[^/][^/]*/\.\./'
9498 # Canonicalize the path of ld
9499 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9500 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9501 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9503 test -z "$LD" && LD="$ac_prog"
9506 # If it fails, then pretend we aren't using GCC.
9510 # If it is relative, then search for the first ld in PATH.
9514 elif test "$with_gnu_ld" = yes; then
9515 echo "$as_me:$LINENO: checking for GNU ld" >&5
9516 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9518 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9519 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9521 if test "${lt_cv_path_LD+set}" = set; then
9522 echo $ECHO_N "(cached) $ECHO_C" >&6
9524 if test -z "$LD"; then
9525 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9526 for ac_dir in $PATH; do
9528 test -z "$ac_dir" && ac_dir=.
9529 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9530 lt_cv_path_LD="$ac_dir/$ac_prog"
9531 # Check to see if the program is GNU ld. I'd rather use --version,
9532 # but apparently some GNU ld's only accept -v.
9533 # Break only if it was the GNU/non-GNU ld that we prefer.
9534 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9535 *GNU* | *'with BFD'*)
9536 test "$with_gnu_ld" != no && break
9539 test "$with_gnu_ld" != yes && break
9546 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9551 if test -n "$LD"; then
9552 echo "$as_me:$LINENO: result: $LD" >&5
9553 echo "${ECHO_T}$LD" >&6
9555 echo "$as_me:$LINENO: result: no" >&5
9556 echo "${ECHO_T}no" >&6
9558 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9559 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9560 { (exit 1); exit 1; }; }
9561 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9562 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9563 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9564 echo $ECHO_N "(cached) $ECHO_C" >&6
9566 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9567 case `"$LD" -v 2>&1 </dev/null` in
9568 *GNU* | *'with BFD'*)
9569 lt_cv_prog_gnu_ld=yes
9572 lt_cv_prog_gnu_ld=no
9576 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9577 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9578 with_gnu_ld=$lt_cv_prog_gnu_ld
9582 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9583 # archiving commands below assume that GNU ld is being used.
9584 if test "$with_gnu_ld" = yes; then
9585 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9586 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'
9588 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9589 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9591 # If archive_cmds runs LD, not CC, wlarc should be empty
9592 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9593 # investigate it a little bit more. (MM)
9596 # ancient GNU ld didn't support --whole-archive et. al.
9597 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9598 grep 'no-whole-archive' > /dev/null; then
9599 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9601 whole_archive_flag_spec_CXX=
9607 # A generic and very simple default shared library creation
9608 # command for GNU C++ for the case where it uses the native
9609 # linker, instead of GNU ld. If possible, this setting should
9610 # overridden to take advantage of the native linker features on
9611 # the platform it is being used on.
9612 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9615 # Commands to make compiler produce verbose output that lists
9616 # what "hidden" libraries, object files and flags are used when
9617 # linking a shared library.
9618 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9626 # PORTME: fill in a description of your system's C++ link characteristics
9627 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9628 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9632 # FIXME: insert proper C++ library support
9636 if test "$host_cpu" = ia64; then
9637 # On IA64, the linker does run time linking by default, so we don't
9638 # have to do anything special.
9639 aix_use_runtimelinking=no
9640 exp_sym_flag='-Bexport'
9643 aix_use_runtimelinking=no
9645 # Test if we are trying to use run time linking or normal
9646 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9647 # need to do runtime linking.
9648 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9649 for ld_flag in $LDFLAGS; do
9652 aix_use_runtimelinking=yes
9659 exp_sym_flag='-bexport'
9660 no_entry_flag='-bnoentry'
9663 # When large executables or shared objects are built, AIX ld can
9664 # have problems creating the table of contents. If linking a library
9665 # or program results in "error TOC overflow" add -mminimal-toc to
9666 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9667 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9670 hardcode_direct_CXX=yes
9671 hardcode_libdir_separator_CXX=':'
9672 link_all_deplibs_CXX=yes
9674 if test "$GXX" = yes; then
9675 case $host_os in aix4.012|aix4.012.*)
9676 # We only want to do this on AIX 4.2 and lower, the check
9677 # below for broken collect2 doesn't work under 4.3+
9678 collect2name=`${CC} -print-prog-name=collect2`
9679 if test -f "$collect2name" && \
9680 strings "$collect2name" | grep resolve_lib_name >/dev/null
9682 # We have reworked collect2
9683 hardcode_direct_CXX=yes
9685 # We have old collect2
9686 hardcode_direct_CXX=unsupported
9687 # It fails to find uninstalled libraries when the uninstalled
9688 # path is not listed in the libpath. Setting hardcode_minus_L
9689 # to unsupported forces relinking
9690 hardcode_minus_L_CXX=yes
9691 hardcode_libdir_flag_spec_CXX='-L$libdir'
9692 hardcode_libdir_separator_CXX=
9695 shared_flag='-shared'
9698 if test "$host_cpu" = ia64; then
9699 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9700 # chokes on -Wl,-G. The following line is correct:
9703 if test "$aix_use_runtimelinking" = yes; then
9704 shared_flag='${wl}-G'
9706 shared_flag='${wl}-bM:SRE'
9711 # It seems that -bexpall does not export symbols beginning with
9712 # underscore (_), so it is better to generate a list of symbols to export.
9713 always_export_symbols_CXX=yes
9714 if test "$aix_use_runtimelinking" = yes; then
9715 # Warning - without using the other runtime loading flags (-brtl),
9716 # -berok will link without error, but may produce a broken library.
9717 allow_undefined_flag_CXX='-berok'
9718 # Determine the default libpath from the value encoded in an empty executable.
9719 cat >conftest.$ac_ext <<_ACEOF
9720 #line $LINENO "configure"
9723 cat confdefs.h >>conftest.$ac_ext
9724 cat >>conftest.$ac_ext <<_ACEOF
9725 /* end confdefs.h. */
9735 rm -f conftest.$ac_objext conftest$ac_exeext
9736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9737 (eval $ac_link) 2>&5
9739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9740 (exit $ac_status); } &&
9741 { ac_try='test -s conftest$ac_exeext'
9742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746 (exit $ac_status); }; }; then
9748 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9750 # Check for a 64-bit object if we didn't find anything.
9751 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; }
9754 echo "$as_me: failed program was:" >&5
9755 sed 's/^/| /' conftest.$ac_ext >&5
9758 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9759 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9761 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9763 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"
9765 if test "$host_cpu" = ia64; then
9766 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9767 allow_undefined_flag_CXX="-z nodefs"
9768 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"
9770 # Determine the default libpath from the value encoded in an empty executable.
9771 cat >conftest.$ac_ext <<_ACEOF
9772 #line $LINENO "configure"
9775 cat confdefs.h >>conftest.$ac_ext
9776 cat >>conftest.$ac_ext <<_ACEOF
9777 /* end confdefs.h. */
9787 rm -f conftest.$ac_objext conftest$ac_exeext
9788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9789 (eval $ac_link) 2>&5
9791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9792 (exit $ac_status); } &&
9793 { ac_try='test -s conftest$ac_exeext'
9794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798 (exit $ac_status); }; }; then
9800 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9802 # Check for a 64-bit object if we didn't find anything.
9803 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; }
9806 echo "$as_me: failed program was:" >&5
9807 sed 's/^/| /' conftest.$ac_ext >&5
9810 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9811 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9813 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9814 # Warning - without using the other run time loading flags,
9815 # -berok will link without error, but may produce a broken library.
9816 no_undefined_flag_CXX=' ${wl}-bernotok'
9817 allow_undefined_flag_CXX=' ${wl}-berok'
9818 # -bexpall does not export symbols beginning with underscore (_)
9819 always_export_symbols_CXX=yes
9820 # Exported symbols can be pulled into shared objects from archives
9821 whole_archive_flag_spec_CXX=' '
9822 archive_cmds_need_lc_CXX=yes
9823 # This is similar to how AIX traditionally builds it's shared libraries.
9824 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'
9829 case $cc_basename in
9831 # FIXME: insert proper C++ library support
9837 cygwin* | mingw* | pw32*)
9838 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9839 # as there is no search path for DLLs.
9840 hardcode_libdir_flag_spec_CXX='-L$libdir'
9841 allow_undefined_flag_CXX=unsupported
9842 always_export_symbols_CXX=no
9843 enable_shared_with_static_runtimes_CXX=yes
9845 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9846 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'
9847 # If the export-symbols file already is a .def file (1st line
9848 # is EXPORTS), use it as is; otherwise, prepend...
9849 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9850 cp $export_symbols $output_objdir/$soname.def;
9852 echo EXPORTS > $output_objdir/$soname.def;
9853 cat $export_symbols >> $output_objdir/$soname.def;
9855 $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'
9861 darwin* | rhapsody*)
9862 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9863 archive_cmds_need_lc_CXX=no
9865 rhapsody* | darwin1.[012])
9866 allow_undefined_flag_CXX='-undefined suppress'
9869 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9872 lt_int_apple_cc_single_mod=no
9873 output_verbose_link_cmd='echo'
9874 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9875 lt_int_apple_cc_single_mod=yes
9877 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9878 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9880 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'
9882 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9884 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9885 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9886 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}'
9888 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}'
9890 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}'
9891 hardcode_direct_CXX=no
9892 hardcode_automatic_CXX=yes
9893 hardcode_shlibpath_var_CXX=unsupported
9894 whole_archive_flag_spec_CXX='-all_load $convenience'
9895 link_all_deplibs_CXX=yes
9900 case $cc_basename in
9902 # FIXME: insert proper C++ library support
9906 # Green Hills C++ Compiler
9907 # FIXME: insert proper C++ library support
9911 # FIXME: insert proper C++ library support
9917 # C++ shared libraries reported to be fairly broken before switch to ELF
9921 archive_cmds_need_lc_CXX=no
9924 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9931 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9932 hardcode_libdir_separator_CXX=:
9933 export_dynamic_flag_spec_CXX='${wl}-E'
9934 hardcode_direct_CXX=yes
9935 hardcode_minus_L_CXX=yes # Not in the search PATH,
9936 # but as the default
9937 # location of the library.
9939 case $cc_basename in
9941 # FIXME: insert proper C++ library support
9945 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'
9946 # Commands to make compiler produce verbose output that lists
9947 # what "hidden" libraries, object files and flags are used when
9948 # linking a shared library.
9950 # There doesn't appear to be a way to prevent this compiler from
9951 # explicitly linking system object files so we need to strip them
9952 # from the output so that they don't get included in the library
9954 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'
9957 if test "$GXX" = yes; then
9958 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'
9960 # FIXME: insert proper C++ library support
9967 if test $with_gnu_ld = no; then
9970 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9971 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9972 hardcode_libdir_separator_CXX=:
9975 hardcode_libdir_flag_spec_CXX='-L$libdir'
9978 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9979 hardcode_libdir_separator_CXX=:
9980 export_dynamic_flag_spec_CXX='${wl}-E'
9986 hardcode_direct_CXX=no
9987 hardcode_shlibpath_var_CXX=no
9990 hardcode_direct_CXX=no
9991 hardcode_shlibpath_var_CXX=no
9992 hardcode_minus_L_CXX=yes # Not in the search PATH,
9993 # but as the default
9994 # location of the library.
9997 hardcode_direct_CXX=yes
9998 hardcode_minus_L_CXX=yes # Not in the search PATH,
9999 # but as the default
10000 # location of the library.
10004 case $cc_basename in
10006 # FIXME: insert proper C++ library support
10010 case "$host_cpu" in
10012 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10015 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10018 # Commands to make compiler produce verbose output that lists
10019 # what "hidden" libraries, object files and flags are used when
10020 # linking a shared library.
10022 # There doesn't appear to be a way to prevent this compiler from
10023 # explicitly linking system object files so we need to strip them
10024 # from the output so that they don't get included in the library
10026 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'
10029 if test "$GXX" = yes; then
10030 if test $with_gnu_ld = no; then
10031 case "$host_cpu" in
10033 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10036 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'
10041 # FIXME: insert proper C++ library support
10048 case $cc_basename in
10051 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'
10053 # Archives containing C++ object files must be created using
10054 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10055 # necessary to make sure instantiated templates are included
10057 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10060 if test "$GXX" = yes; then
10061 if test "$with_gnu_ld" = no; then
10062 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10064 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'
10067 link_all_deplibs_CXX=yes
10070 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10071 hardcode_libdir_separator_CXX=:
10074 case $cc_basename in
10076 # Kuck and Associates, Inc. (KAI) C++ Compiler
10078 # KCC will only create a shared library if the output file
10079 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10080 # to its proper name (with version) after linking.
10081 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'
10082 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'
10083 # Commands to make compiler produce verbose output that lists
10084 # what "hidden" libraries, object files and flags are used when
10085 # linking a shared library.
10087 # There doesn't appear to be a way to prevent this compiler from
10088 # explicitly linking system object files so we need to strip them
10089 # from the output so that they don't get included in the library
10091 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'
10093 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10094 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10096 # Archives containing C++ object files must be created using
10097 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10098 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10103 archive_cmds_need_lc_CXX=no
10104 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10105 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'
10106 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10107 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10108 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10112 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10113 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'
10115 runpath_var=LD_RUN_PATH
10116 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10117 hardcode_libdir_separator_CXX=:
10119 # Commands to make compiler produce verbose output that lists
10120 # what "hidden" libraries, object files and flags are used when
10121 # linking a shared library.
10123 # There doesn't appear to be a way to prevent this compiler from
10124 # explicitly linking system object files so we need to strip them
10125 # from the output so that they don't get included in the library
10127 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'
10132 # FIXME: insert proper C++ library support
10136 # FIXME: insert proper C++ library support
10140 case $cc_basename in
10142 # FIXME: insert proper C++ library support
10146 # FIXME: insert proper C++ library support
10152 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10153 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10155 hardcode_libdir_flag_spec_CXX='-R$libdir'
10156 hardcode_direct_CXX=yes
10157 hardcode_shlibpath_var_CXX=no
10159 # Workaround some broken pre-1.5 toolchains
10160 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10163 case $cc_basename in
10165 # Kuck and Associates, Inc. (KAI) C++ Compiler
10167 # KCC will only create a shared library if the output file
10168 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10169 # to its proper name (with version) after linking.
10170 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'
10172 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10173 hardcode_libdir_separator_CXX=:
10175 # Archives containing C++ object files must be created using
10176 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10177 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10181 # Rational C++ 2.4.1
10182 # FIXME: insert proper C++ library support
10186 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10187 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'
10189 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10190 hardcode_libdir_separator_CXX=:
10192 # Commands to make compiler produce verbose output that lists
10193 # what "hidden" libraries, object files and flags are used when
10194 # linking a shared library.
10196 # There doesn't appear to be a way to prevent this compiler from
10197 # explicitly linking system object files so we need to strip them
10198 # from the output so that they don't get included in the library
10200 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'
10203 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10204 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10205 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'
10207 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10208 hardcode_libdir_separator_CXX=:
10210 # Commands to make compiler produce verbose output that lists
10211 # what "hidden" libraries, object files and flags are used when
10212 # linking a shared library.
10213 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10216 # FIXME: insert proper C++ library support
10223 case $cc_basename in
10225 # Kuck and Associates, Inc. (KAI) C++ Compiler
10227 # KCC will only create a shared library if the output file
10228 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10229 # to its proper name (with version) after linking.
10230 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'
10232 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10233 hardcode_libdir_separator_CXX=:
10235 # Archives containing C++ object files must be created using
10236 # the KAI C++ compiler.
10237 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10240 # Rational C++ 2.4.1
10241 # FIXME: insert proper C++ library support
10245 allow_undefined_flag_CXX=' -expect_unresolved \*'
10246 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'
10247 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10248 echo "-hidden">> $lib.exp~
10249 $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~
10252 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10253 hardcode_libdir_separator_CXX=:
10255 # Commands to make compiler produce verbose output that lists
10256 # what "hidden" libraries, object files and flags are used when
10257 # linking a shared library.
10259 # There doesn't appear to be a way to prevent this compiler from
10260 # explicitly linking system object files so we need to strip them
10261 # from the output so that they don't get included in the library
10263 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'
10266 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10267 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10268 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'
10270 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10271 hardcode_libdir_separator_CXX=:
10273 # Commands to make compiler produce verbose output that lists
10274 # what "hidden" libraries, object files and flags are used when
10275 # linking a shared library.
10276 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10279 # FIXME: insert proper C++ library support
10286 # FIXME: insert proper C++ library support
10290 archive_cmds_need_lc_CXX=no
10291 case $cc_basename in
10293 # FIXME: insert proper C++ library support
10297 # FIXME: insert proper C++ library support
10303 case $cc_basename in
10306 # FIXME: insert proper C++ library support
10311 # FIXME: insert proper C++ library support
10315 # FIXME: insert proper C++ library support
10321 case $cc_basename in
10323 # Sun C++ 4.2, 5.x and Centerline C++
10324 no_undefined_flag_CXX=' -zdefs'
10325 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10326 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10327 $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'
10329 hardcode_libdir_flag_spec_CXX='-R$libdir'
10330 hardcode_shlibpath_var_CXX=no
10332 solaris2.0-5 | solaris2.0-5.*) ;;
10334 # The C++ compiler is used as linker so we must use $wl
10335 # flag to pass the commands to the underlying system
10337 # Supported since Solaris 2.6 (maybe 2.5.1?)
10338 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10341 link_all_deplibs_CXX=yes
10343 # Commands to make compiler produce verbose output that lists
10344 # what "hidden" libraries, object files and flags are used when
10345 # linking a shared library.
10347 # There doesn't appear to be a way to prevent this compiler from
10348 # explicitly linking system object files so we need to strip them
10349 # from the output so that they don't get included in the library
10351 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'
10353 # Archives containing C++ object files must be created using
10354 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10355 # necessary to make sure instantiated templates are included
10357 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10360 # Green Hills C++ Compiler
10361 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10363 # The C++ compiler must be used to create the archive.
10364 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10367 # GNU C++ compiler with Solaris linker
10368 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10369 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10370 if $CC --version | grep -v '^2\.7' > /dev/null; then
10371 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10372 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10373 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10375 # Commands to make compiler produce verbose output that lists
10376 # what "hidden" libraries, object files and flags are used when
10377 # linking a shared library.
10378 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10380 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10382 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10383 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10384 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10386 # Commands to make compiler produce verbose output that lists
10387 # what "hidden" libraries, object files and flags are used when
10388 # linking a shared library.
10389 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10392 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10397 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10398 archive_cmds_need_lc_CXX=no
10401 case $cc_basename in
10403 # NonStop-UX NCC 3.20
10404 # FIXME: insert proper C++ library support
10408 # FIXME: insert proper C++ library support
10414 # FIXME: insert proper C++ library support
10418 # FIXME: insert proper C++ library support
10422 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10423 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10424 test "$ld_shlibs_CXX" = no && can_build_shared=no
10430 ## There is no encapsulation within the following macros, do not change
10431 ## the running order or otherwise move them around unless you know exactly
10432 ## what you are doing...
10434 cat > conftest.$ac_ext <<EOF
10438 Foo (void) { a = 0; }
10444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10445 (eval $ac_compile) 2>&5
10447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10448 (exit $ac_status); }; then
10449 # Parse the compiler output and extract the necessary
10450 # objects, libraries and library flags.
10452 # Sentinel used to keep track of whether or not we are before
10453 # the conftest object file.
10454 pre_test_object_deps_done=no
10456 # The `*' in the case matches for architectures that use `case' in
10457 # $output_verbose_cmd can trigger glob expansion during the loop
10458 # eval without this substitution.
10459 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10461 for p in `eval $output_verbose_link_cmd`; do
10465 # Some compilers place space between "-{L,R}" and the path.
10466 # Remove the space.
10467 if test $p = "-L" \
10468 || test $p = "-R"; then
10475 if test "$pre_test_object_deps_done" = no; then
10478 # Internal compiler library paths should come after those
10479 # provided the user. The postdeps already come after the
10480 # user supplied libs so there is no need to process them.
10481 if test -z "$compiler_lib_search_path_CXX"; then
10482 compiler_lib_search_path_CXX="${prev}${p}"
10484 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10487 # The "-l" case would never come before the object being
10488 # linked, so don't bother handling this case.
10491 if test -z "$postdeps_CXX"; then
10492 postdeps_CXX="${prev}${p}"
10494 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10500 # This assumes that the test object file only shows up
10501 # once in the compiler output.
10502 if test "$p" = "conftest.$objext"; then
10503 pre_test_object_deps_done=yes
10507 if test "$pre_test_object_deps_done" = no; then
10508 if test -z "$predep_objects_CXX"; then
10509 predep_objects_CXX="$p"
10511 predep_objects_CXX="$predep_objects_CXX $p"
10514 if test -z "$postdep_objects_CXX"; then
10515 postdep_objects_CXX="$p"
10517 postdep_objects_CXX="$postdep_objects_CXX $p"
10522 *) ;; # Ignore the rest.
10530 echo "libtool.m4: error: problem compiling CXX test program"
10533 $rm -f confest.$objext
10535 case " $postdeps_CXX " in
10536 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10539 lt_prog_compiler_wl_CXX=
10540 lt_prog_compiler_pic_CXX=
10541 lt_prog_compiler_static_CXX=
10543 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10544 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10546 # C++ specific cases for pic, static, wl, etc.
10547 if test "$GXX" = yes; then
10548 lt_prog_compiler_wl_CXX='-Wl,'
10549 lt_prog_compiler_static_CXX='-static'
10553 # All AIX code is PIC.
10554 if test "$host_cpu" = ia64; then
10555 # AIX 5 now supports IA64 processor
10556 lt_prog_compiler_static_CXX='-Bstatic'
10560 # FIXME: we need at least 68020 code to build shared libraries, but
10561 # adding the `-m68020' flag to GCC prevents building anything better,
10563 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10565 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10566 # PIC is the default for these OSes.
10568 mingw* | os2* | pw32*)
10569 # This hack is so that the source file can tell whether it is being
10570 # built for inclusion in a dll (and should export symbols for example).
10571 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10573 darwin* | rhapsody*)
10574 # PIC is the default on this platform
10575 # Common symbols not allowed in MH_DYLIB files
10576 lt_prog_compiler_pic_CXX='-fno-common'
10579 # DJGPP does not support shared libraries at all
10580 lt_prog_compiler_pic_CXX=
10583 if test -d /usr/nec; then
10584 lt_prog_compiler_pic_CXX=-Kconform_pic
10588 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10589 # not for PA HP-UX.
10590 case "$host_cpu" in
10594 lt_prog_compiler_pic_CXX='-fPIC'
10599 lt_prog_compiler_pic_CXX='-fPIC'
10605 # All AIX code is PIC.
10606 if test "$host_cpu" = ia64; then
10607 # AIX 5 now supports IA64 processor
10608 lt_prog_compiler_static_CXX='-Bstatic'
10610 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10614 case $cc_basename in
10616 # Green Hills C++ Compiler
10617 # _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"
10622 case $cc_basename in
10624 lt_prog_compiler_pic_CXX='-KPIC'
10627 # Green Hills C++ Compiler
10628 lt_prog_compiler_pic_CXX='-pic'
10635 # FreeBSD uses GNU C++
10637 hpux9* | hpux10* | hpux11*)
10638 case $cc_basename in
10640 lt_prog_compiler_wl_CXX='-Wl,'
10641 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10642 if test "$host_cpu" != ia64; then
10643 lt_prog_compiler_pic_CXX='+Z'
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 case "$host_cpu" in
10654 lt_prog_compiler_pic_CXX='+Z'
10662 irix5* | irix6* | nonstopux*)
10663 case $cc_basename in
10665 lt_prog_compiler_wl_CXX='-Wl,'
10666 lt_prog_compiler_static_CXX='-non_shared'
10667 # CC pic flag -KPIC is the default.
10674 case $cc_basename in
10677 lt_prog_compiler_wl_CXX='--backend -Wl,'
10678 lt_prog_compiler_pic_CXX='-fPIC'
10682 lt_prog_compiler_wl_CXX='-Wl,'
10683 lt_prog_compiler_pic_CXX='-KPIC'
10684 lt_prog_compiler_static_CXX='-static'
10688 # Make sure the PIC flag is empty. It appears that all Alpha
10689 # Linux and Compaq Tru64 Unix objects are PIC.
10690 lt_prog_compiler_pic_CXX=
10691 lt_prog_compiler_static_CXX='-non_shared'
10702 case $cc_basename in
10704 lt_prog_compiler_pic_CXX='-W c,exportall'
10712 osf3* | osf4* | osf5*)
10713 case $cc_basename in
10715 lt_prog_compiler_wl_CXX='--backend -Wl,'
10718 # Rational C++ 2.4.1
10719 lt_prog_compiler_pic_CXX='-pic'
10722 # Digital/Compaq C++
10723 lt_prog_compiler_wl_CXX='-Wl,'
10724 # Make sure the PIC flag is empty. It appears that all Alpha
10725 # Linux and Compaq Tru64 Unix objects are PIC.
10726 lt_prog_compiler_pic_CXX=
10727 lt_prog_compiler_static_CXX='-non_shared'
10736 case $cc_basename in
10738 lt_prog_compiler_pic_CXX='-fPIC'
10745 case $cc_basename in
10747 # Sun C++ 4.2, 5.x and Centerline C++
10748 lt_prog_compiler_pic_CXX='-KPIC'
10749 lt_prog_compiler_static_CXX='-Bstatic'
10750 lt_prog_compiler_wl_CXX='-Qoption ld '
10753 # Green Hills C++ Compiler
10754 lt_prog_compiler_pic_CXX='-PIC'
10761 case $cc_basename in
10764 lt_prog_compiler_pic_CXX='-pic'
10765 lt_prog_compiler_static_CXX='-Bstatic'
10769 lt_prog_compiler_pic_CXX='-pic'
10776 case $cc_basename in
10778 # NonStop-UX NCC 3.20
10779 lt_prog_compiler_pic_CXX='-KPIC'
10790 lt_prog_compiler_can_build_shared_CXX=no
10795 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10796 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10799 # Check to make sure the PIC flag actually works.
10801 if test -n "$lt_prog_compiler_pic_CXX"; then
10802 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10803 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10804 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10805 echo $ECHO_N "(cached) $ECHO_C" >&6
10807 lt_prog_compiler_pic_works_CXX=no
10808 ac_outfile=conftest.$ac_objext
10809 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10810 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10811 # Insert the option either (1) after the last *FLAGS variable, or
10812 # (2) before a word containing "conftest.", or (3) at the end.
10813 # Note that $ac_compile itself does not contain backslashes and begins
10814 # with a dollar sign (not a hyphen), so the echo should work correctly.
10815 # The option is referenced via a variable to avoid confusing sed.
10816 lt_compile=`echo "$ac_compile" | $SED \
10817 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10818 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10819 -e 's:$: $lt_compiler_flag:'`
10820 (eval echo "\"\$as_me:10820: $lt_compile\"" >&5)
10821 (eval "$lt_compile" 2>conftest.err)
10823 cat conftest.err >&5
10824 echo "$as_me:10824: \$? = $ac_status" >&5
10825 if (exit $ac_status) && test -s "$ac_outfile"; then
10826 # The compiler can only warn and ignore the option if not recognized
10827 # So say no if there are warnings
10828 if test ! -s conftest.err; then
10829 lt_prog_compiler_pic_works_CXX=yes
10835 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10836 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10838 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10839 case $lt_prog_compiler_pic_CXX in
10841 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10844 lt_prog_compiler_pic_CXX=
10845 lt_prog_compiler_can_build_shared_CXX=no
10850 # For platforms which do not support PIC, -DPIC is meaningless:
10852 lt_prog_compiler_pic_CXX=
10855 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10859 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10860 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10861 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10862 echo $ECHO_N "(cached) $ECHO_C" >&6
10864 lt_cv_prog_compiler_c_o_CXX=no
10865 $rm -r conftest 2>/dev/null
10869 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10871 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10872 # that will create temporary files in the current directory regardless of
10873 # the output directory. Thus, making CWD read-only will cause this test
10874 # to fail, enabling locking or at least warning the user not to do parallel
10878 lt_compiler_flag="-o out/conftest2.$ac_objext"
10879 # Insert the option either (1) after the last *FLAGS variable, or
10880 # (2) before a word containing "conftest.", or (3) at the end.
10881 # Note that $ac_compile itself does not contain backslashes and begins
10882 # with a dollar sign (not a hyphen), so the echo should work correctly.
10883 lt_compile=`echo "$ac_compile" | $SED \
10884 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10885 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10886 -e 's:$: $lt_compiler_flag:'`
10887 (eval echo "\"\$as_me:10887: $lt_compile\"" >&5)
10888 (eval "$lt_compile" 2>out/conftest.err)
10890 cat out/conftest.err >&5
10891 echo "$as_me:10891: \$? = $ac_status" >&5
10892 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10894 # The compiler can only warn and ignore the option if not recognized
10895 # So say no if there are warnings
10896 if test ! -s out/conftest.err; then
10897 lt_cv_prog_compiler_c_o_CXX=yes
10901 $rm conftest* out/*
10908 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10909 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10912 hard_links="nottested"
10913 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10914 # do not overwrite the value of need_locks provided by the user
10915 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10916 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10919 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10921 ln conftest.a conftest.b 2>&5 || hard_links=no
10922 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10923 echo "$as_me:$LINENO: result: $hard_links" >&5
10924 echo "${ECHO_T}$hard_links" >&6
10925 if test "$hard_links" = no; then
10926 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10927 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10934 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10935 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10937 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10940 # If we're using GNU nm, then we don't want the "-C" option.
10941 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10942 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10943 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'
10945 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'
10949 export_symbols_cmds_CXX="$ltdll_cmds"
10952 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10955 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10959 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10960 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10961 test "$ld_shlibs_CXX" = no && can_build_shared=no
10963 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10964 if test "$GCC" = yes; then
10965 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10969 # Do we need to explicitly link libc?
10971 case "x$archive_cmds_need_lc_CXX" in
10973 # Assume -lc should be added
10974 archive_cmds_need_lc_CXX=yes
10976 if test "$enable_shared" = yes && test "$GCC" = yes; then
10977 case $archive_cmds_CXX in
10979 # FIXME: we may have to deal with multi-command sequences.
10982 # Test whether the compiler implicitly links with -lc since on some
10983 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10984 # to ld, don't add -lc before -lgcc.
10985 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10986 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10988 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10991 (eval $ac_compile) 2>&5
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); } 2>conftest.err; then
10997 libobjs=conftest.$ac_objext
10999 wl=$lt_prog_compiler_wl_CXX
11005 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
11006 allow_undefined_flag_CXX=
11007 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11008 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); }
11013 archive_cmds_need_lc_CXX=no
11015 archive_cmds_need_lc_CXX=yes
11017 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11019 cat conftest.err 1>&5
11022 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11023 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11030 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11031 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11032 hardcode_action_CXX=
11033 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11034 test -n "$runpath_var CXX" || \
11035 test "X$hardcode_automatic_CXX"="Xyes" ; then
11037 # We can hardcode non-existant directories.
11038 if test "$hardcode_direct_CXX" != no &&
11039 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11040 # have to relink, otherwise we might link with an installed library
11041 # when we should be linking with a yet-to-be-installed one
11042 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11043 test "$hardcode_minus_L_CXX" != no; then
11044 # Linking always hardcodes the temporary library directory.
11045 hardcode_action_CXX=relink
11047 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11048 hardcode_action_CXX=immediate
11051 # We cannot hardcode anything, or else we can only hardcode existing
11053 hardcode_action_CXX=unsupported
11055 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11056 echo "${ECHO_T}$hardcode_action_CXX" >&6
11058 if test "$hardcode_action_CXX" = relink; then
11059 # Fast installation is not supported
11060 enable_fast_install=no
11061 elif test "$shlibpath_overrides_runpath" = yes ||
11062 test "$enable_shared" = no; then
11063 # Fast installation is not necessary
11064 enable_fast_install=needless
11069 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11070 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11071 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11072 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11073 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11074 echo "$as_me:$LINENO: result: yes" >&5
11075 echo "${ECHO_T}yes" >&6
11077 # FIXME - insert some real tests, host_os isn't really good enough
11080 if test -n "$STRIP" ; then
11081 striplib="$STRIP -x"
11082 echo "$as_me:$LINENO: result: yes" >&5
11083 echo "${ECHO_T}yes" >&6
11085 echo "$as_me:$LINENO: result: no" >&5
11086 echo "${ECHO_T}no" >&6
11090 echo "$as_me:$LINENO: result: no" >&5
11091 echo "${ECHO_T}no" >&6
11096 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11097 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11098 library_names_spec=
11099 libname_spec='lib$name'
11103 postuninstall_cmds=
11107 shlibpath_overrides_runpath=unknown
11109 dynamic_linker="$host_os ld.so"
11110 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11111 if test "$GCC" = yes; then
11112 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11113 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11114 # if the path contains ";" then we assume it to be the separator
11115 # otherwise default to the standard path separator (i.e. ":") - it is
11116 # assumed that no part of a normal pathname contains ";" but that should
11117 # okay in the real world where ";" in dirpaths is itself problematic.
11118 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11120 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11123 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11125 need_lib_prefix=unknown
11126 hardcode_into_libs=no
11128 # when you set need_version to no, make sure it does not cause -set_version
11129 # flags to be left without arguments
11130 need_version=unknown
11135 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11136 shlibpath_var=LIBPATH
11138 # AIX 3 has no versioning support, so we append a major version to the name.
11139 soname_spec='${libname}${release}${shared_ext}$major'
11146 hardcode_into_libs=yes
11147 if test "$host_cpu" = ia64; then
11148 # AIX 5 supports IA64
11149 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11150 shlibpath_var=LD_LIBRARY_PATH
11152 # With GCC up to 2.95.x, collect2 would create an import file
11153 # for dependence libraries. The import file would start with
11154 # the line `#! .'. This would cause the generated library to
11155 # depend on `.', always an invalid library. This was fixed in
11156 # development snapshots of GCC prior to 3.0.
11158 aix4 | aix4.[01] | aix4.[01].*)
11159 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11161 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11164 can_build_shared=no
11168 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11169 # soname into executable. Probably we can add versioning support to
11170 # collect2, so additional links can be useful in future.
11171 if test "$aix_use_runtimelinking" = yes; then
11172 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11173 # instead of lib<name>.a to let people know that these are not
11174 # typical AIX shared libraries.
11175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11177 # We preserve .a as extension for shared libraries through AIX4.2
11178 # and later when we are not doing run time linking.
11179 library_names_spec='${libname}${release}.a $libname.a'
11180 soname_spec='${libname}${release}${shared_ext}$major'
11182 shlibpath_var=LIBPATH
11187 library_names_spec='$libname.ixlibrary $libname.a'
11188 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11189 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'
11193 library_names_spec='${libname}${shared_ext}'
11194 dynamic_linker="$host_os ld.so"
11195 shlibpath_var=LIBRARY_PATH
11201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11202 soname_spec='${libname}${release}${shared_ext}$major'
11203 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11204 shlibpath_var=LD_LIBRARY_PATH
11205 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11206 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11207 # the default ld.so.conf also contains /usr/contrib/lib and
11208 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11209 # libtool to hard-code these into programs
11212 cygwin* | mingw* | pw32*)
11213 version_type=windows
11218 case $GCC,$host_os in
11219 yes,cygwin* | yes,mingw* | yes,pw32*)
11220 library_names_spec='$libname.dll.a'
11221 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11222 postinstall_cmds='base_file=`basename \${file}`~
11223 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11224 dldir=$destdir/`dirname \$dlpath`~
11225 test -d \$dldir || mkdir -p \$dldir~
11226 $install_prog $dir/$dlname \$dldir/$dlname'
11227 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11228 dlpath=$dir/\$dldll~
11230 shlibpath_overrides_runpath=yes
11234 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11235 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11236 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11239 # MinGW DLLs use traditional 'lib' prefix
11240 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11241 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11242 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11243 # It is most probably a Windows format PATH printed by
11244 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11245 # path with ; separators, and with drive letters. We can handle the
11246 # drive letters (cygwin fileutils understands them), so leave them,
11247 # especially as we might pass files found there to a mingw objdump,
11248 # which wouldn't understand a cygwinified path. Ahh.
11249 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11251 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11255 # pw32 DLLs use 'pw' prefix rather than 'lib'
11256 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11262 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11265 dynamic_linker='Win32 ld.exe'
11266 # FIXME: first we should search . and the directory the executable is in
11270 darwin* | rhapsody*)
11271 dynamic_linker="$host_os dyld"
11272 version_type=darwin
11275 # FIXME: Relying on posixy $() will cause problems for
11276 # cross-compilation, but unfortunately the echo tests do not
11277 # yet detect zsh echo's removal of \ escapes.
11278 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11279 soname_spec='${libname}${release}${major}$shared_ext'
11280 shlibpath_overrides_runpath=yes
11281 shlibpath_var=DYLD_LIBRARY_PATH
11282 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11283 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11284 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11285 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"`
11287 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11295 soname_spec='${libname}${release}${shared_ext}$major'
11296 shlibpath_var=LD_LIBRARY_PATH
11304 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11305 version_type=freebsd-$objformat
11306 case $version_type in
11308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11313 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11317 shlibpath_var=LD_LIBRARY_PATH
11320 shlibpath_overrides_runpath=yes
11322 freebsd3.01* | freebsdelf3.01*)
11323 shlibpath_overrides_runpath=yes
11324 hardcode_into_libs=yes
11327 shlibpath_overrides_runpath=no
11328 hardcode_into_libs=yes
11337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11338 soname_spec='${libname}${release}${shared_ext}$major'
11339 shlibpath_var=LD_LIBRARY_PATH
11340 hardcode_into_libs=yes
11343 hpux9* | hpux10* | hpux11*)
11344 # Give a soname corresponding to the major version so that dld.sl refuses to
11345 # link against other versions.
11349 case "$host_cpu" in
11352 hardcode_into_libs=yes
11353 dynamic_linker="$host_os dld.so"
11354 shlibpath_var=LD_LIBRARY_PATH
11355 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11357 soname_spec='${libname}${release}${shared_ext}$major'
11358 if test "X$HPUX_IA64_MODE" = X32; then
11359 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11361 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11363 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11367 hardcode_into_libs=yes
11368 dynamic_linker="$host_os dld.sl"
11369 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11370 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11372 soname_spec='${libname}${release}${shared_ext}$major'
11373 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11374 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11378 dynamic_linker="$host_os dld.sl"
11379 shlibpath_var=SHLIB_PATH
11380 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11382 soname_spec='${libname}${release}${shared_ext}$major'
11385 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11386 postinstall_cmds='chmod 555 $lib'
11389 irix5* | irix6* | nonstopux*)
11391 nonstopux*) version_type=nonstopux ;;
11393 if test "$lt_cv_prog_gnu_ld" = yes; then
11401 soname_spec='${libname}${release}${shared_ext}$major'
11402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11404 irix5* | nonstopux*)
11405 libsuff= shlibsuff=
11408 case $LD in # libtool.m4 will add one of these switches to LD
11409 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11410 libsuff= shlibsuff= libmagic=32-bit;;
11411 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11412 libsuff=32 shlibsuff=N32 libmagic=N32;;
11413 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11414 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11415 *) libsuff= shlibsuff= libmagic=never-match;;
11419 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11420 shlibpath_overrides_runpath=no
11421 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11422 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11423 hardcode_into_libs=yes
11426 # No shared lib support for Linux oldld, aout, or coff.
11427 linux*oldld* | linux*aout* | linux*coff*)
11431 # This must be Linux ELF.
11436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11437 soname_spec='${libname}${release}${shared_ext}$major'
11438 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11439 shlibpath_var=LD_LIBRARY_PATH
11440 shlibpath_overrides_runpath=no
11441 # This implies no fast_install, which is unacceptable.
11442 # Some rework will be needed to allow for fast_install
11443 # before this can be enabled.
11444 hardcode_into_libs=yes
11446 # We used to test for /lib/ld.so.1 and disable shared libraries on
11447 # powerpc, because MkLinux only supported shared libraries with the
11448 # GNU dynamic linker. Since this was broken with cross compilers,
11449 # most powerpc-linux boxes support dynamic linking these days and
11450 # people can always --disable-shared, the test was removed, and we
11451 # assume the GNU/Linux dynamic linker is in use.
11452 dynamic_linker='GNU/Linux ld.so'
11459 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11461 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11462 dynamic_linker='NetBSD (a.out) ld.so'
11464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11465 soname_spec='${libname}${release}${shared_ext}$major'
11466 dynamic_linker='NetBSD ld.elf_so'
11468 shlibpath_var=LD_LIBRARY_PATH
11469 shlibpath_overrides_runpath=yes
11470 hardcode_into_libs=yes
11475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11476 shlibpath_var=LD_LIBRARY_PATH
11477 shlibpath_overrides_runpath=yes
11484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11485 soname_spec='${libname}${release}${shared_ext}$major'
11486 shlibpath_var=LD_LIBRARY_PATH
11487 shlibpath_overrides_runpath=yes
11494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11495 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11496 shlibpath_var=LD_LIBRARY_PATH
11497 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11499 openbsd2.[89] | openbsd2.[89].*)
11500 shlibpath_overrides_runpath=no
11503 shlibpath_overrides_runpath=yes
11507 shlibpath_overrides_runpath=yes
11512 libname_spec='$name'
11515 library_names_spec='$libname${shared_ext} $libname.a'
11516 dynamic_linker='OS/2 ld.exe'
11517 shlibpath_var=LIBPATH
11520 osf3* | osf4* | osf5*)
11524 soname_spec='${libname}${release}${shared_ext}$major'
11525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11526 shlibpath_var=LD_LIBRARY_PATH
11527 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11528 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11533 soname_spec='${libname}${release}${shared_ext}$major'
11534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11535 shlibpath_var=LD_LIBRARY_PATH
11542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11543 soname_spec='${libname}${release}${shared_ext}$major'
11544 shlibpath_var=LD_LIBRARY_PATH
11545 shlibpath_overrides_runpath=yes
11546 hardcode_into_libs=yes
11547 # ldd complains unless libraries are executable
11548 postinstall_cmds='chmod +x $lib'
11553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11554 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11555 shlibpath_var=LD_LIBRARY_PATH
11556 shlibpath_overrides_runpath=yes
11557 if test "$with_gnu_ld" = yes; then
11563 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11566 soname_spec='${libname}${release}${shared_ext}$major'
11567 shlibpath_var=LD_LIBRARY_PATH
11568 case $host_vendor in
11570 shlibpath_overrides_runpath=no
11572 export_dynamic_flag_spec='${wl}-Blargedynsym'
11573 runpath_var=LD_RUN_PATH
11581 shlibpath_overrides_runpath=no
11582 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11588 if test -d /usr/nec ;then
11590 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11591 soname_spec='$libname${shared_ext}.$major'
11592 shlibpath_var=LD_LIBRARY_PATH
11598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11599 soname_spec='${libname}${release}${shared_ext}$major'
11600 shlibpath_var=LD_LIBRARY_PATH
11607 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11608 echo "${ECHO_T}$dynamic_linker" >&6
11609 test "$dynamic_linker" = no && can_build_shared=no
11611 if test "x$enable_dlopen" != xyes; then
11612 enable_dlopen=unknown
11613 enable_dlopen_self=unknown
11614 enable_dlopen_self_static=unknown
11621 lt_cv_dlopen="load_add_on"
11623 lt_cv_dlopen_self=yes
11627 lt_cv_dlopen="LoadLibrary"
11632 lt_cv_dlopen="dlopen"
11637 # if libdl is installed we need to link against it
11638 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11639 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11640 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11641 echo $ECHO_N "(cached) $ECHO_C" >&6
11643 ac_check_lib_save_LIBS=$LIBS
11645 cat >conftest.$ac_ext <<_ACEOF
11646 #line $LINENO "configure"
11649 cat confdefs.h >>conftest.$ac_ext
11650 cat >>conftest.$ac_ext <<_ACEOF
11651 /* end confdefs.h. */
11653 /* Override any gcc2 internal prototype to avoid an error. */
11657 /* We use char because int might match the return type of a gcc2
11658 builtin and then its argument prototype would still apply. */
11668 rm -f conftest.$ac_objext conftest$ac_exeext
11669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11670 (eval $ac_link) 2>&5
11672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11673 (exit $ac_status); } &&
11674 { ac_try='test -s conftest$ac_exeext'
11675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11676 (eval $ac_try) 2>&5
11678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11679 (exit $ac_status); }; }; then
11680 ac_cv_lib_dl_dlopen=yes
11682 echo "$as_me: failed program was:" >&5
11683 sed 's/^/| /' conftest.$ac_ext >&5
11685 ac_cv_lib_dl_dlopen=no
11687 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11688 LIBS=$ac_check_lib_save_LIBS
11690 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11691 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11692 if test $ac_cv_lib_dl_dlopen = yes; then
11693 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11696 lt_cv_dlopen="dyld"
11698 lt_cv_dlopen_self=yes
11705 echo "$as_me:$LINENO: checking for shl_load" >&5
11706 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11707 if test "${ac_cv_func_shl_load+set}" = set; then
11708 echo $ECHO_N "(cached) $ECHO_C" >&6
11710 cat >conftest.$ac_ext <<_ACEOF
11711 #line $LINENO "configure"
11714 cat confdefs.h >>conftest.$ac_ext
11715 cat >>conftest.$ac_ext <<_ACEOF
11716 /* end confdefs.h. */
11717 /* System header to define __stub macros and hopefully few prototypes,
11718 which can conflict with char shl_load (); below.
11719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11720 <limits.h> exists even on freestanding compilers. */
11722 # include <limits.h>
11724 # include <assert.h>
11726 /* Override any gcc2 internal prototype to avoid an error. */
11731 /* We use char because int might match the return type of a gcc2
11732 builtin and then its argument prototype would still apply. */
11734 /* The GNU C library defines this for functions which it implements
11735 to always fail with ENOSYS. Some functions are actually named
11736 something starting with __ and the normal name is an alias. */
11737 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11740 char (*f) () = shl_load;
11749 return f != shl_load;
11754 rm -f conftest.$ac_objext conftest$ac_exeext
11755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11756 (eval $ac_link) 2>&5
11758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11759 (exit $ac_status); } &&
11760 { ac_try='test -s conftest$ac_exeext'
11761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11762 (eval $ac_try) 2>&5
11764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765 (exit $ac_status); }; }; then
11766 ac_cv_func_shl_load=yes
11768 echo "$as_me: failed program was:" >&5
11769 sed 's/^/| /' conftest.$ac_ext >&5
11771 ac_cv_func_shl_load=no
11773 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11775 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11776 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11777 if test $ac_cv_func_shl_load = yes; then
11778 lt_cv_dlopen="shl_load"
11780 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11781 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11782 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11783 echo $ECHO_N "(cached) $ECHO_C" >&6
11785 ac_check_lib_save_LIBS=$LIBS
11787 cat >conftest.$ac_ext <<_ACEOF
11788 #line $LINENO "configure"
11791 cat confdefs.h >>conftest.$ac_ext
11792 cat >>conftest.$ac_ext <<_ACEOF
11793 /* end confdefs.h. */
11795 /* Override any gcc2 internal prototype to avoid an error. */
11799 /* We use char because int might match the return type of a gcc2
11800 builtin and then its argument prototype would still apply. */
11810 rm -f conftest.$ac_objext conftest$ac_exeext
11811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11812 (eval $ac_link) 2>&5
11814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11815 (exit $ac_status); } &&
11816 { ac_try='test -s conftest$ac_exeext'
11817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11818 (eval $ac_try) 2>&5
11820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11821 (exit $ac_status); }; }; then
11822 ac_cv_lib_dld_shl_load=yes
11824 echo "$as_me: failed program was:" >&5
11825 sed 's/^/| /' conftest.$ac_ext >&5
11827 ac_cv_lib_dld_shl_load=no
11829 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11830 LIBS=$ac_check_lib_save_LIBS
11832 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11833 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11834 if test $ac_cv_lib_dld_shl_load = yes; then
11835 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11837 echo "$as_me:$LINENO: checking for dlopen" >&5
11838 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11839 if test "${ac_cv_func_dlopen+set}" = set; then
11840 echo $ECHO_N "(cached) $ECHO_C" >&6
11842 cat >conftest.$ac_ext <<_ACEOF
11843 #line $LINENO "configure"
11846 cat confdefs.h >>conftest.$ac_ext
11847 cat >>conftest.$ac_ext <<_ACEOF
11848 /* end confdefs.h. */
11849 /* System header to define __stub macros and hopefully few prototypes,
11850 which can conflict with char dlopen (); below.
11851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11852 <limits.h> exists even on freestanding compilers. */
11854 # include <limits.h>
11856 # include <assert.h>
11858 /* Override any gcc2 internal prototype to avoid an error. */
11863 /* We use char because int might match the return type of a gcc2
11864 builtin and then its argument prototype would still apply. */
11866 /* The GNU C library defines this for functions which it implements
11867 to always fail with ENOSYS. Some functions are actually named
11868 something starting with __ and the normal name is an alias. */
11869 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11872 char (*f) () = dlopen;
11881 return f != dlopen;
11886 rm -f conftest.$ac_objext conftest$ac_exeext
11887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11888 (eval $ac_link) 2>&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); } &&
11892 { ac_try='test -s conftest$ac_exeext'
11893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11894 (eval $ac_try) 2>&5
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); }; }; then
11898 ac_cv_func_dlopen=yes
11900 echo "$as_me: failed program was:" >&5
11901 sed 's/^/| /' conftest.$ac_ext >&5
11903 ac_cv_func_dlopen=no
11905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11907 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11908 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11909 if test $ac_cv_func_dlopen = yes; then
11910 lt_cv_dlopen="dlopen"
11912 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11913 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11914 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11915 echo $ECHO_N "(cached) $ECHO_C" >&6
11917 ac_check_lib_save_LIBS=$LIBS
11919 cat >conftest.$ac_ext <<_ACEOF
11920 #line $LINENO "configure"
11923 cat confdefs.h >>conftest.$ac_ext
11924 cat >>conftest.$ac_ext <<_ACEOF
11925 /* end confdefs.h. */
11927 /* Override any gcc2 internal prototype to avoid an error. */
11931 /* We use char because int might match the return type of a gcc2
11932 builtin and then its argument prototype would still apply. */
11942 rm -f conftest.$ac_objext conftest$ac_exeext
11943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11944 (eval $ac_link) 2>&5
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); } &&
11948 { ac_try='test -s conftest$ac_exeext'
11949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11950 (eval $ac_try) 2>&5
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); }; }; then
11954 ac_cv_lib_dl_dlopen=yes
11956 echo "$as_me: failed program was:" >&5
11957 sed 's/^/| /' conftest.$ac_ext >&5
11959 ac_cv_lib_dl_dlopen=no
11961 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11962 LIBS=$ac_check_lib_save_LIBS
11964 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11965 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11966 if test $ac_cv_lib_dl_dlopen = yes; then
11967 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11969 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11970 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11971 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11972 echo $ECHO_N "(cached) $ECHO_C" >&6
11974 ac_check_lib_save_LIBS=$LIBS
11975 LIBS="-lsvld $LIBS"
11976 cat >conftest.$ac_ext <<_ACEOF
11977 #line $LINENO "configure"
11980 cat confdefs.h >>conftest.$ac_ext
11981 cat >>conftest.$ac_ext <<_ACEOF
11982 /* end confdefs.h. */
11984 /* Override any gcc2 internal prototype to avoid an error. */
11988 /* We use char because int might match the return type of a gcc2
11989 builtin and then its argument prototype would still apply. */
11999 rm -f conftest.$ac_objext conftest$ac_exeext
12000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12001 (eval $ac_link) 2>&5
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); } &&
12005 { ac_try='test -s conftest$ac_exeext'
12006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12007 (eval $ac_try) 2>&5
12009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12010 (exit $ac_status); }; }; then
12011 ac_cv_lib_svld_dlopen=yes
12013 echo "$as_me: failed program was:" >&5
12014 sed 's/^/| /' conftest.$ac_ext >&5
12016 ac_cv_lib_svld_dlopen=no
12018 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12019 LIBS=$ac_check_lib_save_LIBS
12021 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12022 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12023 if test $ac_cv_lib_svld_dlopen = yes; then
12024 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12026 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12027 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12028 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12029 echo $ECHO_N "(cached) $ECHO_C" >&6
12031 ac_check_lib_save_LIBS=$LIBS
12033 cat >conftest.$ac_ext <<_ACEOF
12034 #line $LINENO "configure"
12037 cat confdefs.h >>conftest.$ac_ext
12038 cat >>conftest.$ac_ext <<_ACEOF
12039 /* end confdefs.h. */
12041 /* Override any gcc2 internal prototype to avoid an error. */
12045 /* We use char because int might match the return type of a gcc2
12046 builtin and then its argument prototype would still apply. */
12056 rm -f conftest.$ac_objext conftest$ac_exeext
12057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12058 (eval $ac_link) 2>&5
12060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12061 (exit $ac_status); } &&
12062 { ac_try='test -s conftest$ac_exeext'
12063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12064 (eval $ac_try) 2>&5
12066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067 (exit $ac_status); }; }; then
12068 ac_cv_lib_dld_dld_link=yes
12070 echo "$as_me: failed program was:" >&5
12071 sed 's/^/| /' conftest.$ac_ext >&5
12073 ac_cv_lib_dld_dld_link=no
12075 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12076 LIBS=$ac_check_lib_save_LIBS
12078 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12079 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12080 if test $ac_cv_lib_dld_dld_link = yes; then
12081 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12102 if test "x$lt_cv_dlopen" != xno; then
12108 case $lt_cv_dlopen in
12110 save_CPPFLAGS="$CPPFLAGS"
12111 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12113 save_LDFLAGS="$LDFLAGS"
12114 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12117 LIBS="$lt_cv_dlopen_libs $LIBS"
12119 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12120 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12121 if test "${lt_cv_dlopen_self+set}" = set; then
12122 echo $ECHO_N "(cached) $ECHO_C" >&6
12124 if test "$cross_compiling" = yes; then :
12125 lt_cv_dlopen_self=cross
12127 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12128 lt_status=$lt_dlunknown
12129 cat > conftest.$ac_ext <<EOF
12130 #line 12130 "configure"
12131 #include "confdefs.h"
12140 # define LT_DLGLOBAL RTLD_GLOBAL
12143 # define LT_DLGLOBAL DL_GLOBAL
12145 # define LT_DLGLOBAL 0
12149 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12150 find out it does not work in some platform. */
12151 #ifndef LT_DLLAZY_OR_NOW
12153 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12156 # define LT_DLLAZY_OR_NOW DL_LAZY
12159 # define LT_DLLAZY_OR_NOW RTLD_NOW
12162 # define LT_DLLAZY_OR_NOW DL_NOW
12164 # define LT_DLLAZY_OR_NOW 0
12172 extern "C" void exit (int);
12175 void fnord() { int i=42;}
12178 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12179 int status = $lt_dlunknown;
12183 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12184 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12185 /* dlclose (self); */
12191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12192 (eval $ac_link) 2>&5
12194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12195 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12196 (./conftest; exit; ) 2>/dev/null
12198 case x$lt_status in
12199 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12200 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12201 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12204 # compilation failed
12205 lt_cv_dlopen_self=no
12212 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12213 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12215 if test "x$lt_cv_dlopen_self" = xyes; then
12216 LDFLAGS="$LDFLAGS $link_static_flag"
12217 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12218 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12219 if test "${lt_cv_dlopen_self_static+set}" = set; then
12220 echo $ECHO_N "(cached) $ECHO_C" >&6
12222 if test "$cross_compiling" = yes; then :
12223 lt_cv_dlopen_self_static=cross
12225 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12226 lt_status=$lt_dlunknown
12227 cat > conftest.$ac_ext <<EOF
12228 #line 12228 "configure"
12229 #include "confdefs.h"
12238 # define LT_DLGLOBAL RTLD_GLOBAL
12241 # define LT_DLGLOBAL DL_GLOBAL
12243 # define LT_DLGLOBAL 0
12247 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12248 find out it does not work in some platform. */
12249 #ifndef LT_DLLAZY_OR_NOW
12251 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12254 # define LT_DLLAZY_OR_NOW DL_LAZY
12257 # define LT_DLLAZY_OR_NOW RTLD_NOW
12260 # define LT_DLLAZY_OR_NOW DL_NOW
12262 # define LT_DLLAZY_OR_NOW 0
12270 extern "C" void exit (int);
12273 void fnord() { int i=42;}
12276 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12277 int status = $lt_dlunknown;
12281 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12282 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12283 /* dlclose (self); */
12289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12290 (eval $ac_link) 2>&5
12292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12293 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12294 (./conftest; exit; ) 2>/dev/null
12296 case x$lt_status in
12297 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12298 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12299 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12302 # compilation failed
12303 lt_cv_dlopen_self_static=no
12310 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12311 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12314 CPPFLAGS="$save_CPPFLAGS"
12315 LDFLAGS="$save_LDFLAGS"
12320 case $lt_cv_dlopen_self in
12321 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12322 *) enable_dlopen_self=unknown ;;
12325 case $lt_cv_dlopen_self_static in
12326 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12327 *) enable_dlopen_self_static=unknown ;;
12332 # The else clause should only fire when bootstrapping the
12333 # libtool distribution, otherwise you forgot to ship ltmain.sh
12334 # with your package, and you will get complaints that there are
12335 # no rules to generate ltmain.sh.
12336 if test -f "$ltmain"; then
12337 # See if we are running on zsh, and set the options which allow our commands through
12338 # without removal of \ escapes.
12339 if test -n "${ZSH_VERSION+set}" ; then
12340 setopt NO_GLOB_SUBST
12342 # Now quote all the things that may contain metacharacters while being
12343 # careful not to overquote the AC_SUBSTed values. We take copies of the
12344 # variables and quote the copies for generation of the libtool script.
12345 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12346 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12347 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12348 deplibs_check_method reload_flag reload_cmds need_locks \
12349 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12350 lt_cv_sys_global_symbol_to_c_name_address \
12351 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12352 old_postinstall_cmds old_postuninstall_cmds \
12356 lt_prog_compiler_wl_CXX \
12357 lt_prog_compiler_pic_CXX \
12358 lt_prog_compiler_static_CXX \
12359 lt_prog_compiler_no_builtin_flag_CXX \
12360 export_dynamic_flag_spec_CXX \
12361 thread_safe_flag_spec_CXX \
12362 whole_archive_flag_spec_CXX \
12363 enable_shared_with_static_runtimes_CXX \
12364 old_archive_cmds_CXX \
12365 old_archive_from_new_cmds_CXX \
12366 predep_objects_CXX \
12367 postdep_objects_CXX \
12370 compiler_lib_search_path_CXX \
12372 archive_expsym_cmds_CXX \
12373 postinstall_cmds_CXX \
12374 postuninstall_cmds_CXX \
12375 old_archive_from_expsyms_cmds_CXX \
12376 allow_undefined_flag_CXX \
12377 no_undefined_flag_CXX \
12378 export_symbols_cmds_CXX \
12379 hardcode_libdir_flag_spec_CXX \
12380 hardcode_libdir_flag_spec_ld_CXX \
12381 hardcode_libdir_separator_CXX \
12382 hardcode_automatic_CXX \
12384 module_expsym_cmds_CXX \
12385 lt_cv_prog_compiler_c_o_CXX \
12386 exclude_expsyms_CXX \
12387 include_expsyms_CXX; do
12390 old_archive_cmds_CXX | \
12391 old_archive_from_new_cmds_CXX | \
12392 archive_cmds_CXX | \
12393 archive_expsym_cmds_CXX | \
12394 module_cmds_CXX | \
12395 module_expsym_cmds_CXX | \
12396 old_archive_from_expsyms_cmds_CXX | \
12397 export_symbols_cmds_CXX | \
12398 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12399 postinstall_cmds | postuninstall_cmds | \
12400 old_postinstall_cmds | old_postuninstall_cmds | \
12401 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12402 # Double-quote double-evaled strings.
12403 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12406 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12412 *'\$0 --fallback-echo"')
12413 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12419 cat <<__EOF__ >> "$cfgfile"
12420 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12422 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12424 # Shell to use when invoking shell scripts.
12427 # Whether or not to build shared libraries.
12428 build_libtool_libs=$enable_shared
12430 # Whether or not to build static libraries.
12431 build_old_libs=$enable_static
12433 # Whether or not to add -lc for building shared libraries.
12434 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12436 # Whether or not to disallow shared libs when runtime libs are static
12437 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12439 # Whether or not to optimize for fast installation.
12440 fast_install=$enable_fast_install
12443 host_alias=$host_alias
12446 # An echo program that does not interpret backslashes.
12451 AR_FLAGS=$lt_AR_FLAGS
12456 # A language-specific compiler.
12457 CC=$lt_compiler_CXX
12459 # Is the compiler the GNU C compiler?
12465 # The linker used to build libraries.
12468 # Whether we need hard or soft links.
12471 # A BSD-compatible nm program.
12474 # A symbol stripping program
12477 # Used to examine libraries when file_magic_cmd begins "file"
12478 MAGIC_CMD=$MAGIC_CMD
12480 # Used on cygwin: DLL creation program.
12483 # Used on cygwin: object dumper.
12486 # Used on cygwin: assembler.
12489 # The name of the directory that contains temporary libtool files.
12492 # How to create reloadable object files.
12493 reload_flag=$lt_reload_flag
12494 reload_cmds=$lt_reload_cmds
12496 # How to pass a linker flag through the compiler.
12497 wl=$lt_lt_prog_compiler_wl_CXX
12499 # Object file suffix (normally "o").
12500 objext="$ac_objext"
12502 # Old archive suffix (normally "a").
12505 # Shared library suffix (normally ".so").
12508 # Executable file suffix (normally "").
12511 # Additional compiler flags for building library objects.
12512 pic_flag=$lt_lt_prog_compiler_pic_CXX
12515 # What is the maximum length of a command?
12516 max_cmd_len=$lt_cv_sys_max_cmd_len
12518 # Does compiler simultaneously support -c and -o options?
12519 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12521 # Must we lock files when doing compilation ?
12522 need_locks=$lt_need_locks
12524 # Do we need the lib prefix for modules?
12525 need_lib_prefix=$need_lib_prefix
12527 # Do we need a version for libraries?
12528 need_version=$need_version
12530 # Whether dlopen is supported.
12531 dlopen_support=$enable_dlopen
12533 # Whether dlopen of programs is supported.
12534 dlopen_self=$enable_dlopen_self
12536 # Whether dlopen of statically linked programs is supported.
12537 dlopen_self_static=$enable_dlopen_self_static
12539 # Compiler flag to prevent dynamic linking.
12540 link_static_flag=$lt_lt_prog_compiler_static_CXX
12542 # Compiler flag to turn off builtin functions.
12543 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12545 # Compiler flag to allow reflexive dlopens.
12546 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12548 # Compiler flag to generate shared objects directly from archives.
12549 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12551 # Compiler flag to generate thread-safe objects.
12552 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12554 # Library versioning type.
12555 version_type=$version_type
12557 # Format of library name prefix.
12558 libname_spec=$lt_libname_spec
12560 # List of archive names. First name is the real one, the rest are links.
12561 # The last name is the one that the linker finds with -lNAME.
12562 library_names_spec=$lt_library_names_spec
12564 # The coded name of the library, if different from the real name.
12565 soname_spec=$lt_soname_spec
12567 # Commands used to build and install an old-style archive.
12569 old_archive_cmds=$lt_old_archive_cmds_CXX
12570 old_postinstall_cmds=$lt_old_postinstall_cmds
12571 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12573 # Create an old-style archive from a shared archive.
12574 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12576 # Create a temporary old-style archive to link instead of a shared archive.
12577 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12579 # Commands used to build and install a shared archive.
12580 archive_cmds=$lt_archive_cmds_CXX
12581 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12582 postinstall_cmds=$lt_postinstall_cmds
12583 postuninstall_cmds=$lt_postuninstall_cmds
12585 # Commands used to build a loadable module (assumed same as above if empty)
12586 module_cmds=$lt_module_cmds_CXX
12587 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12589 # Commands to strip libraries.
12590 old_striplib=$lt_old_striplib
12591 striplib=$lt_striplib
12593 # Dependencies to place before the objects being linked to create a
12595 predep_objects=$lt_predep_objects_CXX
12597 # Dependencies to place after the objects being linked to create a
12599 postdep_objects=$lt_postdep_objects_CXX
12601 # Dependencies to place before the objects being linked to create a
12603 predeps=$lt_predeps_CXX
12605 # Dependencies to place after the objects being linked to create a
12607 postdeps=$lt_postdeps_CXX
12609 # The library search path used internally by the compiler when linking
12610 # a shared library.
12611 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12613 # Method to check whether dependent libraries are shared objects.
12614 deplibs_check_method=$lt_deplibs_check_method
12616 # Command to use when deplibs_check_method == file_magic.
12617 file_magic_cmd=$lt_file_magic_cmd
12619 # Flag that allows shared libraries with undefined symbols to be built.
12620 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12622 # Flag that forces no undefined symbols.
12623 no_undefined_flag=$lt_no_undefined_flag_CXX
12625 # Commands used to finish a libtool library installation in a directory.
12626 finish_cmds=$lt_finish_cmds
12628 # Same as above, but a single script fragment to be evaled but not shown.
12629 finish_eval=$lt_finish_eval
12631 # Take the output of nm and produce a listing of raw symbols and C names.
12632 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12634 # Transform the output of nm in a proper C declaration
12635 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12637 # Transform the output of nm in a C name address pair
12638 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12640 # This is the shared library runtime path variable.
12641 runpath_var=$runpath_var
12643 # This is the shared library path variable.
12644 shlibpath_var=$shlibpath_var
12646 # Is shlibpath searched before the hard-coded library search path?
12647 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12649 # How to hardcode a shared library path into an executable.
12650 hardcode_action=$hardcode_action_CXX
12652 # Whether we should hardcode library paths into libraries.
12653 hardcode_into_libs=$hardcode_into_libs
12655 # Flag to hardcode \$libdir into a binary during linking.
12656 # This must work even if \$libdir does not exist.
12657 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12659 # If ld is used when linking, flag to hardcode \$libdir into
12660 # a binary during linking. This must work even if \$libdir does
12662 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12664 # Whether we need a single -rpath flag with a separated argument.
12665 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12667 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12668 # resulting binary.
12669 hardcode_direct=$hardcode_direct_CXX
12671 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12672 # resulting binary.
12673 hardcode_minus_L=$hardcode_minus_L_CXX
12675 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12676 # the resulting binary.
12677 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12679 # Set to yes if building a shared library automatically hardcodes DIR into the library
12680 # and all subsequent libraries and executables linked against it.
12681 hardcode_automatic=$hardcode_automatic_CXX
12683 # Variables whose values should be saved in libtool wrapper scripts and
12684 # restored at relink time.
12685 variables_saved_for_relink="$variables_saved_for_relink"
12687 # Whether libtool must link a program against all its dependency libraries.
12688 link_all_deplibs=$link_all_deplibs_CXX
12690 # Compile-time system search path for libraries
12691 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12693 # Run-time system search path for libraries
12694 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12696 # Fix the shell variable \$srcfile for the compiler.
12697 fix_srcfile_path="$fix_srcfile_path_CXX"
12699 # Set to yes if exported symbols are required.
12700 always_export_symbols=$always_export_symbols_CXX
12702 # The commands to list exported symbols.
12703 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12705 # The commands to extract the exported symbol list from a shared archive.
12706 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12708 # Symbols that should not be listed in the preloaded symbols.
12709 exclude_expsyms=$lt_exclude_expsyms_CXX
12711 # Symbols that must always be exported.
12712 include_expsyms=$lt_include_expsyms_CXX
12714 # ### END LIBTOOL TAG CONFIG: $tagname
12720 # If there is no Makefile yet, we rely on a make rule to execute
12721 # `config.status --recheck' to rerun these tests and create the
12722 # libtool script then.
12723 test -f Makefile && make "$ltmain"
12728 ac_cpp='$CPP $CPPFLAGS'
12729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12737 with_gnu_ldcxx=$with_gnu_ld
12738 with_gnu_ld=$lt_save_with_gnu_ld
12739 lt_cv_path_LDCXX=$lt_cv_path_LD
12740 lt_cv_path_LD=$lt_save_path_LD
12741 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12742 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12750 if test -n "$F77" && test "X$F77" != "Xno"; then
12753 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12754 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12755 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12758 archive_cmds_need_lc_F77=no
12759 allow_undefined_flag_F77=
12760 always_export_symbols_F77=no
12761 archive_expsym_cmds_F77=
12762 export_dynamic_flag_spec_F77=
12763 hardcode_direct_F77=no
12764 hardcode_libdir_flag_spec_F77=
12765 hardcode_libdir_flag_spec_ld_F77=
12766 hardcode_libdir_separator_F77=
12767 hardcode_minus_L_F77=no
12768 hardcode_automatic_F77=no
12770 module_expsym_cmds_F77=
12771 link_all_deplibs_F77=unknown
12772 old_archive_cmds_F77=$old_archive_cmds
12773 no_undefined_flag_F77=
12774 whole_archive_flag_spec_F77=
12775 enable_shared_with_static_runtimes_F77=no
12777 # Source file extension for f77 test sources.
12780 # Object file extension for compiled f77 test sources.
12784 # Code to be used in simple compile tests
12785 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12787 # Code to be used in simple link tests
12788 lt_simple_link_test_code=" program t\n end\n"
12790 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12792 # If no C compiler was specified, use CC.
12795 # Allow CC to be a program name with arguments.
12799 # Allow CC to be a program name with arguments.
12804 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12806 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12807 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12808 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12809 echo "${ECHO_T}$can_build_shared" >&6
12811 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12812 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12813 test "$can_build_shared" = "no" && enable_shared=no
12815 # On AIX, shared libraries and static libraries use the same namespace, and
12816 # are all built from PIC.
12819 test "$enable_shared" = yes && enable_static=no
12820 if test -n "$RANLIB"; then
12821 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12822 postinstall_cmds='$RANLIB $lib'
12826 test "$enable_shared" = yes && enable_static=no
12829 echo "$as_me:$LINENO: result: $enable_shared" >&5
12830 echo "${ECHO_T}$enable_shared" >&6
12832 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12833 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12834 # Make sure either enable_shared or enable_static is yes.
12835 test "$enable_shared" = yes || enable_static=yes
12836 echo "$as_me:$LINENO: result: $enable_static" >&5
12837 echo "${ECHO_T}$enable_static" >&6
12839 test "$ld_shlibs_F77" = no && can_build_shared=no
12844 lt_prog_compiler_wl_F77=
12845 lt_prog_compiler_pic_F77=
12846 lt_prog_compiler_static_F77=
12848 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12849 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12851 if test "$GCC" = yes; then
12852 lt_prog_compiler_wl_F77='-Wl,'
12853 lt_prog_compiler_static_F77='-static'
12857 # All AIX code is PIC.
12858 if test "$host_cpu" = ia64; then
12859 # AIX 5 now supports IA64 processor
12860 lt_prog_compiler_static_F77='-Bstatic'
12865 # FIXME: we need at least 68020 code to build shared libraries, but
12866 # adding the `-m68020' flag to GCC prevents building anything better,
12868 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12871 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12872 # PIC is the default for these OSes.
12875 mingw* | pw32* | os2*)
12876 # This hack is so that the source file can tell whether it is being
12877 # built for inclusion in a dll (and should export symbols for example).
12878 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12881 darwin* | rhapsody*)
12882 # PIC is the default on this platform
12883 # Common symbols not allowed in MH_DYLIB files
12884 lt_prog_compiler_pic_F77='-fno-common'
12888 # Just because we use GCC doesn't mean we suddenly get shared libraries
12889 # on systems that don't support them.
12890 lt_prog_compiler_can_build_shared_F77=no
12895 if test -d /usr/nec; then
12896 lt_prog_compiler_pic_F77=-Kconform_pic
12901 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12902 # not for PA HP-UX.
12903 case "$host_cpu" in
12908 lt_prog_compiler_pic_F77='-fPIC'
12914 lt_prog_compiler_pic_F77='-fPIC'
12918 # PORTME Check for flag to pass linker flags through the system compiler.
12921 lt_prog_compiler_wl_F77='-Wl,'
12922 if test "$host_cpu" = ia64; then
12923 # AIX 5 now supports IA64 processor
12924 lt_prog_compiler_static_F77='-Bstatic'
12926 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12930 mingw* | pw32* | os2*)
12931 # This hack is so that the source file can tell whether it is being
12932 # built for inclusion in a dll (and should export symbols for example).
12933 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12936 hpux9* | hpux10* | hpux11*)
12937 lt_prog_compiler_wl_F77='-Wl,'
12938 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12939 # not for PA HP-UX.
12940 case "$host_cpu" in
12945 lt_prog_compiler_pic_F77='+Z'
12948 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12949 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12952 irix5* | irix6* | nonstopux*)
12953 lt_prog_compiler_wl_F77='-Wl,'
12954 # PIC (with -KPIC) is the default.
12955 lt_prog_compiler_static_F77='-non_shared'
12959 lt_prog_compiler_pic_F77='-KPIC'
12960 lt_prog_compiler_static_F77='-Bstatic'
12966 lt_prog_compiler_wl_F77='-Wl,'
12967 lt_prog_compiler_pic_F77='-KPIC'
12968 lt_prog_compiler_static_F77='-static'
12971 lt_prog_compiler_wl_F77='-Wl,'
12972 # All Alpha code is PIC.
12973 lt_prog_compiler_static_F77='-non_shared'
12978 osf3* | osf4* | osf5*)
12979 lt_prog_compiler_wl_F77='-Wl,'
12980 # All OSF/1 code is PIC.
12981 lt_prog_compiler_static_F77='-non_shared'
12985 lt_prog_compiler_pic_F77='-Kpic'
12986 lt_prog_compiler_static_F77='-dn'
12990 lt_prog_compiler_wl_F77='-Wl,'
12991 lt_prog_compiler_pic_F77='-KPIC'
12992 lt_prog_compiler_static_F77='-Bstatic'
12996 lt_prog_compiler_wl_F77='-Qoption ld '
12997 lt_prog_compiler_pic_F77='-PIC'
12998 lt_prog_compiler_static_F77='-Bstatic'
13001 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13002 lt_prog_compiler_wl_F77='-Wl,'
13003 lt_prog_compiler_pic_F77='-KPIC'
13004 lt_prog_compiler_static_F77='-Bstatic'
13008 if test -d /usr/nec ;then
13009 lt_prog_compiler_pic_F77='-Kconform_pic'
13010 lt_prog_compiler_static_F77='-Bstatic'
13015 lt_prog_compiler_pic_F77='-pic'
13016 lt_prog_compiler_static_F77='-Bstatic'
13020 lt_prog_compiler_can_build_shared_F77=no
13025 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13026 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13029 # Check to make sure the PIC flag actually works.
13031 if test -n "$lt_prog_compiler_pic_F77"; then
13032 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13033 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13034 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13035 echo $ECHO_N "(cached) $ECHO_C" >&6
13037 lt_prog_compiler_pic_works_F77=no
13038 ac_outfile=conftest.$ac_objext
13039 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13040 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13041 # Insert the option either (1) after the last *FLAGS variable, or
13042 # (2) before a word containing "conftest.", or (3) at the end.
13043 # Note that $ac_compile itself does not contain backslashes and begins
13044 # with a dollar sign (not a hyphen), so the echo should work correctly.
13045 # The option is referenced via a variable to avoid confusing sed.
13046 lt_compile=`echo "$ac_compile" | $SED \
13047 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13048 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13049 -e 's:$: $lt_compiler_flag:'`
13050 (eval echo "\"\$as_me:13050: $lt_compile\"" >&5)
13051 (eval "$lt_compile" 2>conftest.err)
13053 cat conftest.err >&5
13054 echo "$as_me:13054: \$? = $ac_status" >&5
13055 if (exit $ac_status) && test -s "$ac_outfile"; then
13056 # The compiler can only warn and ignore the option if not recognized
13057 # So say no if there are warnings
13058 if test ! -s conftest.err; then
13059 lt_prog_compiler_pic_works_F77=yes
13065 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13066 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13068 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13069 case $lt_prog_compiler_pic_F77 in
13071 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13074 lt_prog_compiler_pic_F77=
13075 lt_prog_compiler_can_build_shared_F77=no
13080 # For platforms which do not support PIC, -DPIC is meaningless:
13082 lt_prog_compiler_pic_F77=
13085 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13089 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13090 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13091 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13092 echo $ECHO_N "(cached) $ECHO_C" >&6
13094 lt_cv_prog_compiler_c_o_F77=no
13095 $rm -r conftest 2>/dev/null
13099 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13101 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13102 # that will create temporary files in the current directory regardless of
13103 # the output directory. Thus, making CWD read-only will cause this test
13104 # to fail, enabling locking or at least warning the user not to do parallel
13108 lt_compiler_flag="-o out/conftest2.$ac_objext"
13109 # Insert the option either (1) after the last *FLAGS variable, or
13110 # (2) before a word containing "conftest.", or (3) at the end.
13111 # Note that $ac_compile itself does not contain backslashes and begins
13112 # with a dollar sign (not a hyphen), so the echo should work correctly.
13113 lt_compile=`echo "$ac_compile" | $SED \
13114 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13115 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13116 -e 's:$: $lt_compiler_flag:'`
13117 (eval echo "\"\$as_me:13117: $lt_compile\"" >&5)
13118 (eval "$lt_compile" 2>out/conftest.err)
13120 cat out/conftest.err >&5
13121 echo "$as_me:13121: \$? = $ac_status" >&5
13122 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13124 # The compiler can only warn and ignore the option if not recognized
13125 # So say no if there are warnings
13126 if test ! -s out/conftest.err; then
13127 lt_cv_prog_compiler_c_o_F77=yes
13131 $rm conftest* out/*
13138 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13139 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13142 hard_links="nottested"
13143 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13144 # do not overwrite the value of need_locks provided by the user
13145 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13146 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13149 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13151 ln conftest.a conftest.b 2>&5 || hard_links=no
13152 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13153 echo "$as_me:$LINENO: result: $hard_links" >&5
13154 echo "${ECHO_T}$hard_links" >&6
13155 if test "$hard_links" = no; then
13156 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13157 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13164 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13165 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13168 allow_undefined_flag_F77=
13169 enable_shared_with_static_runtimes_F77=no
13171 archive_expsym_cmds_F77=
13172 old_archive_From_new_cmds_F77=
13173 old_archive_from_expsyms_cmds_F77=
13174 export_dynamic_flag_spec_F77=
13175 whole_archive_flag_spec_F77=
13176 thread_safe_flag_spec_F77=
13177 hardcode_libdir_flag_spec_F77=
13178 hardcode_libdir_flag_spec_ld_F77=
13179 hardcode_libdir_separator_F77=
13180 hardcode_direct_F77=no
13181 hardcode_minus_L_F77=no
13182 hardcode_shlibpath_var_F77=unsupported
13183 link_all_deplibs_F77=unknown
13184 hardcode_automatic_F77=no
13186 module_expsym_cmds_F77=
13187 always_export_symbols_F77=no
13188 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13189 # include_expsyms should be a list of space-separated symbols to be *always*
13190 # included in the symbol list
13191 include_expsyms_F77=
13192 # exclude_expsyms can be an extended regexp of symbols to exclude
13193 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13194 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13195 # as well as any symbol that contains `d'.
13196 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13197 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13198 # platforms (ab)use it in PIC code, but their linkers get confused if
13199 # the symbol is explicitly referenced. Since portable code cannot
13200 # rely on this symbol name, it's probably fine to never include it in
13201 # preloaded symbol tables.
13202 extract_expsyms_cmds=
13205 cygwin* | mingw* | pw32*)
13206 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13207 # When not using gcc, we currently assume that we are using
13208 # Microsoft Visual C++.
13209 if test "$GCC" != yes; then
13219 if test "$with_gnu_ld" = yes; then
13220 # If archive_cmds runs LD, not CC, wlarc should be empty
13223 # See if GNU ld supports shared libraries.
13225 aix3* | aix4* | aix5*)
13226 # On AIX/PPC, the GNU linker is very broken
13227 if test "$host_cpu" != ia64; then
13231 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13232 *** to be unable to reliably create shared libraries on AIX.
13233 *** Therefore, libtool is disabling shared libraries support. If you
13234 *** really care for shared libraries, you may want to modify your PATH
13235 *** so that a non-GNU linker is found, and then restart.
13242 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)'
13243 hardcode_libdir_flag_spec_F77='-L$libdir'
13244 hardcode_minus_L_F77=yes
13246 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13247 # that the semantics of dynamic libraries on AmigaOS, at least up
13248 # to version 4, is to share data among multiple programs linked
13249 # with the same dynamic library. Since this doesn't match the
13250 # behavior of shared libraries on other platforms, we can't use
13256 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13257 allow_undefined_flag_F77=unsupported
13258 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13259 # support --undefined. This deserves some investigation. FIXME
13260 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13266 cygwin* | mingw* | pw32*)
13267 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13268 # as there is no search path for DLLs.
13269 hardcode_libdir_flag_spec_F77='-L$libdir'
13270 allow_undefined_flag_F77=unsupported
13271 always_export_symbols_F77=no
13272 enable_shared_with_static_runtimes_F77=yes
13273 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13275 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13276 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13277 # If the export-symbols file already is a .def file (1st line
13278 # is EXPORTS), use it as is; otherwise, prepend...
13279 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13280 cp $export_symbols $output_objdir/$soname.def;
13282 echo EXPORTS > $output_objdir/$soname.def;
13283 cat $export_symbols >> $output_objdir/$soname.def;
13285 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13292 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13293 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13296 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13297 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13302 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13306 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13307 *** create shared libraries on Solaris systems. Therefore, libtool
13308 *** is disabling shared libraries support. We urge you to upgrade GNU
13309 *** binutils to release 2.9.1 or newer. Another option is to modify
13310 *** your PATH or compiler configuration so that the native linker is
13311 *** used, and then restart.
13314 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13315 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13316 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13323 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13325 hardcode_direct_F77=yes
13326 hardcode_shlibpath_var_F77=no
13330 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13331 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13332 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13339 if test "$ld_shlibs_F77" = yes; then
13340 runpath_var=LD_RUN_PATH
13341 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13342 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13343 # ancient GNU ld didn't support --whole-archive et. al.
13344 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13345 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13347 whole_archive_flag_spec_F77=
13351 # PORTME fill in a description of your system's linker (not GNU ld)
13354 allow_undefined_flag_F77=unsupported
13355 always_export_symbols_F77=yes
13356 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'
13357 # Note: this linker hardcodes the directories in LIBPATH if there
13358 # are no directories specified by -L.
13359 hardcode_minus_L_F77=yes
13360 if test "$GCC" = yes && test -z "$link_static_flag"; then
13361 # Neither direct hardcoding nor static linking is supported with a
13363 hardcode_direct_F77=unsupported
13368 if test "$host_cpu" = ia64; then
13369 # On IA64, the linker does run time linking by default, so we don't
13370 # have to do anything special.
13371 aix_use_runtimelinking=no
13372 exp_sym_flag='-Bexport'
13375 # If we're using GNU nm, then we don't want the "-C" option.
13376 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13377 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13378 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'
13380 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'
13382 aix_use_runtimelinking=no
13384 # Test if we are trying to use run time linking or normal
13385 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13386 # need to do runtime linking.
13387 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13388 for ld_flag in $LDFLAGS; do
13389 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13390 aix_use_runtimelinking=yes
13396 exp_sym_flag='-bexport'
13397 no_entry_flag='-bnoentry'
13400 # When large executables or shared objects are built, AIX ld can
13401 # have problems creating the table of contents. If linking a library
13402 # or program results in "error TOC overflow" add -mminimal-toc to
13403 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13404 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13406 archive_cmds_F77=''
13407 hardcode_direct_F77=yes
13408 hardcode_libdir_separator_F77=':'
13409 link_all_deplibs_F77=yes
13411 if test "$GCC" = yes; then
13412 case $host_os in aix4.012|aix4.012.*)
13413 # We only want to do this on AIX 4.2 and lower, the check
13414 # below for broken collect2 doesn't work under 4.3+
13415 collect2name=`${CC} -print-prog-name=collect2`
13416 if test -f "$collect2name" && \
13417 strings "$collect2name" | grep resolve_lib_name >/dev/null
13419 # We have reworked collect2
13420 hardcode_direct_F77=yes
13422 # We have old collect2
13423 hardcode_direct_F77=unsupported
13424 # It fails to find uninstalled libraries when the uninstalled
13425 # path is not listed in the libpath. Setting hardcode_minus_L
13426 # to unsupported forces relinking
13427 hardcode_minus_L_F77=yes
13428 hardcode_libdir_flag_spec_F77='-L$libdir'
13429 hardcode_libdir_separator_F77=
13432 shared_flag='-shared'
13435 if test "$host_cpu" = ia64; then
13436 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13437 # chokes on -Wl,-G. The following line is correct:
13440 if test "$aix_use_runtimelinking" = yes; then
13441 shared_flag='${wl}-G'
13443 shared_flag='${wl}-bM:SRE'
13448 # It seems that -bexpall does not export symbols beginning with
13449 # underscore (_), so it is better to generate a list of symbols to export.
13450 always_export_symbols_F77=yes
13451 if test "$aix_use_runtimelinking" = yes; then
13452 # Warning - without using the other runtime loading flags (-brtl),
13453 # -berok will link without error, but may produce a broken library.
13454 allow_undefined_flag_F77='-berok'
13455 # Determine the default libpath from the value encoded in an empty executable.
13456 cat >conftest.$ac_ext <<_ACEOF
13461 rm -f conftest.$ac_objext conftest$ac_exeext
13462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13463 (eval $ac_link) 2>&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); } &&
13467 { ac_try='test -s conftest$ac_exeext'
13468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13469 (eval $ac_try) 2>&5
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); }; }; then
13474 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13476 # Check for a 64-bit object if we didn't find anything.
13477 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; }
13480 echo "$as_me: failed program was:" >&5
13481 sed 's/^/| /' conftest.$ac_ext >&5
13484 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13485 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13487 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13488 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"
13490 if test "$host_cpu" = ia64; then
13491 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13492 allow_undefined_flag_F77="-z nodefs"
13493 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"
13495 # Determine the default libpath from the value encoded in an empty executable.
13496 cat >conftest.$ac_ext <<_ACEOF
13501 rm -f conftest.$ac_objext conftest$ac_exeext
13502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13503 (eval $ac_link) 2>&5
13505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13506 (exit $ac_status); } &&
13507 { ac_try='test -s conftest$ac_exeext'
13508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13509 (eval $ac_try) 2>&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); }; }; then
13514 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13516 # Check for a 64-bit object if we didn't find anything.
13517 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; }
13520 echo "$as_me: failed program was:" >&5
13521 sed 's/^/| /' conftest.$ac_ext >&5
13524 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13525 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13527 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13528 # Warning - without using the other run time loading flags,
13529 # -berok will link without error, but may produce a broken library.
13530 no_undefined_flag_F77=' ${wl}-bernotok'
13531 allow_undefined_flag_F77=' ${wl}-berok'
13532 # -bexpall does not export symbols beginning with underscore (_)
13533 always_export_symbols_F77=yes
13534 # Exported symbols can be pulled into shared objects from archives
13535 whole_archive_flag_spec_F77=' '
13536 archive_cmds_need_lc_F77=yes
13537 # This is similar to how AIX traditionally builds it's shared libraries.
13538 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'
13544 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)'
13545 hardcode_libdir_flag_spec_F77='-L$libdir'
13546 hardcode_minus_L_F77=yes
13547 # see comment about different semantics on the GNU ld section
13552 export_dynamic_flag_spec_F77=-rdynamic
13555 cygwin* | mingw* | pw32*)
13556 # When not using gcc, we currently assume that we are using
13557 # Microsoft Visual C++.
13558 # hardcode_libdir_flag_spec is actually meaningless, as there is
13559 # no search path for DLLs.
13560 hardcode_libdir_flag_spec_F77=' '
13561 allow_undefined_flag_F77=unsupported
13562 # Tell ltmain to make .lib files, not .a files.
13564 # Tell ltmain to make .dll files, not .so files.
13566 # FIXME: Setting linknames here is a bad hack.
13567 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13568 # The linker will automatically build a .lib file if we build a DLL.
13569 old_archive_From_new_cmds_F77='true'
13570 # FIXME: Should let the user specify the lib program.
13571 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13572 fix_srcfile_path='`cygpath -w "$srcfile"`'
13573 enable_shared_with_static_runtimes_F77=yes
13576 darwin* | rhapsody*)
13577 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13578 archive_cmds_need_lc_F77=no
13580 rhapsody* | darwin1.[012])
13581 allow_undefined_flag_F77='-undefined suppress'
13584 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13587 # FIXME: Relying on posixy $() will cause problems for
13588 # cross-compilation, but unfortunately the echo tests do not
13589 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13590 # `"' quotes if we put them in here... so don't!
13591 lt_int_apple_cc_single_mod=no
13592 output_verbose_link_cmd='echo'
13593 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13594 lt_int_apple_cc_single_mod=yes
13596 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13597 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13599 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'
13601 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13602 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13603 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13604 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}'
13606 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}'
13608 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}'
13609 hardcode_direct_F77=no
13610 hardcode_automatic_F77=yes
13611 hardcode_shlibpath_var_F77=unsupported
13612 whole_archive_flag_spec_F77='-all_load $convenience'
13613 link_all_deplibs_F77=yes
13618 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13619 hardcode_libdir_flag_spec_F77='-L$libdir'
13620 hardcode_shlibpath_var_F77=no
13627 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13628 # support. Future versions do this automatically, but an explicit c++rt0.o
13629 # does not break anything, and helps significantly (at the cost of a little
13632 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13633 hardcode_libdir_flag_spec_F77='-R$libdir'
13634 hardcode_direct_F77=yes
13635 hardcode_shlibpath_var_F77=no
13638 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13640 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13641 hardcode_direct_F77=yes
13642 hardcode_minus_L_F77=yes
13643 hardcode_shlibpath_var_F77=no
13646 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13648 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13649 hardcode_libdir_flag_spec_F77='-R$libdir'
13650 hardcode_direct_F77=yes
13651 hardcode_shlibpath_var_F77=no
13655 if test "$GCC" = yes; then
13656 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'
13658 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'
13660 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13661 hardcode_libdir_separator_F77=:
13662 hardcode_direct_F77=yes
13664 # hardcode_minus_L: Not really in the search PATH,
13665 # but as the default location of the library.
13666 hardcode_minus_L_F77=yes
13667 export_dynamic_flag_spec_F77='${wl}-E'
13671 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13672 case "$host_cpu" in
13674 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13677 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13681 case "$host_cpu" in
13683 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13686 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13690 if test "$with_gnu_ld" = no; then
13691 case "$host_cpu" in
13693 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13694 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13695 hardcode_libdir_separator_F77=:
13696 hardcode_direct_F77=no
13697 hardcode_shlibpath_var_F77=no
13700 hardcode_libdir_flag_spec_F77='-L$libdir'
13701 hardcode_direct_F77=no
13702 hardcode_shlibpath_var_F77=no
13704 # hardcode_minus_L: Not really in the search PATH,
13705 # but as the default location of the library.
13706 hardcode_minus_L_F77=yes
13709 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13710 hardcode_libdir_separator_F77=:
13711 hardcode_direct_F77=yes
13712 export_dynamic_flag_spec_F77='${wl}-E'
13714 # hardcode_minus_L: Not really in the search PATH,
13715 # but as the default location of the library.
13716 hardcode_minus_L_F77=yes
13722 irix5* | irix6* | nonstopux*)
13723 if test "$GCC" = yes; then
13724 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'
13726 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'
13727 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13729 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13730 hardcode_libdir_separator_F77=:
13731 link_all_deplibs_F77=yes
13735 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13736 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13738 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13740 hardcode_libdir_flag_spec_F77='-R$libdir'
13741 hardcode_direct_F77=yes
13742 hardcode_shlibpath_var_F77=no
13746 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13747 hardcode_direct_F77=yes
13748 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13749 hardcode_libdir_separator_F77=:
13750 hardcode_shlibpath_var_F77=no
13754 hardcode_direct_F77=yes
13755 hardcode_shlibpath_var_F77=no
13756 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13757 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13758 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13759 export_dynamic_flag_spec_F77='${wl}-E'
13762 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13763 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13764 hardcode_libdir_flag_spec_F77='-R$libdir'
13767 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13768 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13775 hardcode_libdir_flag_spec_F77='-L$libdir'
13776 hardcode_minus_L_F77=yes
13777 allow_undefined_flag_F77=unsupported
13778 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'
13779 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13783 if test "$GCC" = yes; then
13784 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13785 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'
13787 allow_undefined_flag_F77=' -expect_unresolved \*'
13788 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'
13790 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13791 hardcode_libdir_separator_F77=:
13794 osf4* | osf5*) # as osf3* with the addition of -msym flag
13795 if test "$GCC" = yes; then
13796 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13797 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'
13798 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13800 allow_undefined_flag_F77=' -expect_unresolved \*'
13801 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'
13802 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~
13803 $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'
13805 # Both c and cxx compiler support -rpath directly
13806 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13808 hardcode_libdir_separator_F77=:
13812 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13813 hardcode_shlibpath_var_F77=no
13814 export_dynamic_flag_spec_F77='${wl}-Bexport'
13815 runpath_var=LD_RUN_PATH
13816 hardcode_runpath_var=yes
13820 no_undefined_flag_F77=' -z text'
13821 if test "$GCC" = yes; then
13822 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13823 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13824 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13826 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13827 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13828 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13830 hardcode_libdir_flag_spec_F77='-R$libdir'
13831 hardcode_shlibpath_var_F77=no
13833 solaris2.[0-5] | solaris2.[0-5].*) ;;
13834 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13835 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13837 link_all_deplibs_F77=yes
13841 if test "x$host_vendor" = xsequent; then
13842 # Use $CC to link under sequent, because it throws in some extra .o
13843 # files that make .init and .fini sections work.
13844 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13846 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13848 hardcode_libdir_flag_spec_F77='-L$libdir'
13849 hardcode_direct_F77=yes
13850 hardcode_minus_L_F77=yes
13851 hardcode_shlibpath_var_F77=no
13855 case $host_vendor in
13857 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13858 hardcode_direct_F77=yes # is this really true???
13861 ## LD is ld it makes a PLAMLIB
13862 ## CC just makes a GrossModule.
13863 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13864 reload_cmds_F77='$CC -r -o $output$reload_objs'
13865 hardcode_direct_F77=no
13868 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13869 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13872 runpath_var='LD_RUN_PATH'
13873 hardcode_shlibpath_var_F77=no
13877 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13878 hardcode_shlibpath_var_F77=no
13879 export_dynamic_flag_spec_F77='-Bexport'
13883 if test -d /usr/nec; then
13884 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13885 hardcode_shlibpath_var_F77=no
13886 runpath_var=LD_RUN_PATH
13887 hardcode_runpath_var=yes
13893 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13894 hardcode_direct_F77=yes
13895 hardcode_minus_L_F77=no
13896 hardcode_shlibpath_var_F77=no
13897 hardcode_runpath_var=yes
13898 runpath_var=LD_RUN_PATH
13901 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13902 no_undefined_flag_F77='${wl}-z ${wl}text'
13903 if test "$GCC" = yes; then
13904 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13906 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13908 runpath_var='LD_RUN_PATH'
13909 hardcode_shlibpath_var_F77=no
13913 no_undefined_flag_F77=' -z text'
13914 # $CC -shared without GNU ld will not create a library from C++
13915 # object files and a static libstdc++, better avoid it by now
13916 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13917 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13918 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13919 hardcode_libdir_flag_spec_F77=
13920 hardcode_shlibpath_var_F77=no
13921 runpath_var='LD_RUN_PATH'
13925 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13926 hardcode_libdir_flag_spec_F77='-L$libdir'
13927 hardcode_shlibpath_var_F77=no
13936 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13937 echo "${ECHO_T}$ld_shlibs_F77" >&6
13938 test "$ld_shlibs_F77" = no && can_build_shared=no
13940 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13941 if test "$GCC" = yes; then
13942 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13946 # Do we need to explicitly link libc?
13948 case "x$archive_cmds_need_lc_F77" in
13950 # Assume -lc should be added
13951 archive_cmds_need_lc_F77=yes
13953 if test "$enable_shared" = yes && test "$GCC" = yes; then
13954 case $archive_cmds_F77 in
13956 # FIXME: we may have to deal with multi-command sequences.
13959 # Test whether the compiler implicitly links with -lc since on some
13960 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13961 # to ld, don't add -lc before -lgcc.
13962 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13963 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13965 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13968 (eval $ac_compile) 2>&5
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); } 2>conftest.err; then
13974 libobjs=conftest.$ac_objext
13976 wl=$lt_prog_compiler_wl_F77
13982 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13983 allow_undefined_flag_F77=
13984 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13985 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); }
13990 archive_cmds_need_lc_F77=no
13992 archive_cmds_need_lc_F77=yes
13994 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13996 cat conftest.err 1>&5
13999 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14000 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14007 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14008 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14009 hardcode_action_F77=
14010 if test -n "$hardcode_libdir_flag_spec_F77" || \
14011 test -n "$runpath_var F77" || \
14012 test "X$hardcode_automatic_F77"="Xyes" ; then
14014 # We can hardcode non-existant directories.
14015 if test "$hardcode_direct_F77" != no &&
14016 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14017 # have to relink, otherwise we might link with an installed library
14018 # when we should be linking with a yet-to-be-installed one
14019 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14020 test "$hardcode_minus_L_F77" != no; then
14021 # Linking always hardcodes the temporary library directory.
14022 hardcode_action_F77=relink
14024 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14025 hardcode_action_F77=immediate
14028 # We cannot hardcode anything, or else we can only hardcode existing
14030 hardcode_action_F77=unsupported
14032 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14033 echo "${ECHO_T}$hardcode_action_F77" >&6
14035 if test "$hardcode_action_F77" = relink; then
14036 # Fast installation is not supported
14037 enable_fast_install=no
14038 elif test "$shlibpath_overrides_runpath" = yes ||
14039 test "$enable_shared" = no; then
14040 # Fast installation is not necessary
14041 enable_fast_install=needless
14046 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14047 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14048 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14049 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14050 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14051 echo "$as_me:$LINENO: result: yes" >&5
14052 echo "${ECHO_T}yes" >&6
14054 # FIXME - insert some real tests, host_os isn't really good enough
14057 if test -n "$STRIP" ; then
14058 striplib="$STRIP -x"
14059 echo "$as_me:$LINENO: result: yes" >&5
14060 echo "${ECHO_T}yes" >&6
14062 echo "$as_me:$LINENO: result: no" >&5
14063 echo "${ECHO_T}no" >&6
14067 echo "$as_me:$LINENO: result: no" >&5
14068 echo "${ECHO_T}no" >&6
14073 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14074 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14075 library_names_spec=
14076 libname_spec='lib$name'
14080 postuninstall_cmds=
14084 shlibpath_overrides_runpath=unknown
14086 dynamic_linker="$host_os ld.so"
14087 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14088 if test "$GCC" = yes; then
14089 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14090 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14091 # if the path contains ";" then we assume it to be the separator
14092 # otherwise default to the standard path separator (i.e. ":") - it is
14093 # assumed that no part of a normal pathname contains ";" but that should
14094 # okay in the real world where ";" in dirpaths is itself problematic.
14095 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14097 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14100 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14102 need_lib_prefix=unknown
14103 hardcode_into_libs=no
14105 # when you set need_version to no, make sure it does not cause -set_version
14106 # flags to be left without arguments
14107 need_version=unknown
14112 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14113 shlibpath_var=LIBPATH
14115 # AIX 3 has no versioning support, so we append a major version to the name.
14116 soname_spec='${libname}${release}${shared_ext}$major'
14123 hardcode_into_libs=yes
14124 if test "$host_cpu" = ia64; then
14125 # AIX 5 supports IA64
14126 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14127 shlibpath_var=LD_LIBRARY_PATH
14129 # With GCC up to 2.95.x, collect2 would create an import file
14130 # for dependence libraries. The import file would start with
14131 # the line `#! .'. This would cause the generated library to
14132 # depend on `.', always an invalid library. This was fixed in
14133 # development snapshots of GCC prior to 3.0.
14135 aix4 | aix4.[01] | aix4.[01].*)
14136 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14138 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14141 can_build_shared=no
14145 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14146 # soname into executable. Probably we can add versioning support to
14147 # collect2, so additional links can be useful in future.
14148 if test "$aix_use_runtimelinking" = yes; then
14149 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14150 # instead of lib<name>.a to let people know that these are not
14151 # typical AIX shared libraries.
14152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14154 # We preserve .a as extension for shared libraries through AIX4.2
14155 # and later when we are not doing run time linking.
14156 library_names_spec='${libname}${release}.a $libname.a'
14157 soname_spec='${libname}${release}${shared_ext}$major'
14159 shlibpath_var=LIBPATH
14164 library_names_spec='$libname.ixlibrary $libname.a'
14165 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14166 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'
14170 library_names_spec='${libname}${shared_ext}'
14171 dynamic_linker="$host_os ld.so"
14172 shlibpath_var=LIBRARY_PATH
14178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14179 soname_spec='${libname}${release}${shared_ext}$major'
14180 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14181 shlibpath_var=LD_LIBRARY_PATH
14182 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14183 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14184 # the default ld.so.conf also contains /usr/contrib/lib and
14185 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14186 # libtool to hard-code these into programs
14189 cygwin* | mingw* | pw32*)
14190 version_type=windows
14195 case $GCC,$host_os in
14196 yes,cygwin* | yes,mingw* | yes,pw32*)
14197 library_names_spec='$libname.dll.a'
14198 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14199 postinstall_cmds='base_file=`basename \${file}`~
14200 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14201 dldir=$destdir/`dirname \$dlpath`~
14202 test -d \$dldir || mkdir -p \$dldir~
14203 $install_prog $dir/$dlname \$dldir/$dlname'
14204 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14205 dlpath=$dir/\$dldll~
14207 shlibpath_overrides_runpath=yes
14211 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14212 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14213 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14216 # MinGW DLLs use traditional 'lib' prefix
14217 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14218 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14219 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14220 # It is most probably a Windows format PATH printed by
14221 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14222 # path with ; separators, and with drive letters. We can handle the
14223 # drive letters (cygwin fileutils understands them), so leave them,
14224 # especially as we might pass files found there to a mingw objdump,
14225 # which wouldn't understand a cygwinified path. Ahh.
14226 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14228 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14232 # pw32 DLLs use 'pw' prefix rather than 'lib'
14233 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14239 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14242 dynamic_linker='Win32 ld.exe'
14243 # FIXME: first we should search . and the directory the executable is in
14247 darwin* | rhapsody*)
14248 dynamic_linker="$host_os dyld"
14249 version_type=darwin
14252 # FIXME: Relying on posixy $() will cause problems for
14253 # cross-compilation, but unfortunately the echo tests do not
14254 # yet detect zsh echo's removal of \ escapes.
14255 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14256 soname_spec='${libname}${release}${major}$shared_ext'
14257 shlibpath_overrides_runpath=yes
14258 shlibpath_var=DYLD_LIBRARY_PATH
14259 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14260 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14261 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14262 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"`
14264 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14272 soname_spec='${libname}${release}${shared_ext}$major'
14273 shlibpath_var=LD_LIBRARY_PATH
14281 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14282 version_type=freebsd-$objformat
14283 case $version_type in
14285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14290 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14294 shlibpath_var=LD_LIBRARY_PATH
14297 shlibpath_overrides_runpath=yes
14299 freebsd3.01* | freebsdelf3.01*)
14300 shlibpath_overrides_runpath=yes
14301 hardcode_into_libs=yes
14304 shlibpath_overrides_runpath=no
14305 hardcode_into_libs=yes
14314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14315 soname_spec='${libname}${release}${shared_ext}$major'
14316 shlibpath_var=LD_LIBRARY_PATH
14317 hardcode_into_libs=yes
14320 hpux9* | hpux10* | hpux11*)
14321 # Give a soname corresponding to the major version so that dld.sl refuses to
14322 # link against other versions.
14326 case "$host_cpu" in
14329 hardcode_into_libs=yes
14330 dynamic_linker="$host_os dld.so"
14331 shlibpath_var=LD_LIBRARY_PATH
14332 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14333 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14334 soname_spec='${libname}${release}${shared_ext}$major'
14335 if test "X$HPUX_IA64_MODE" = X32; then
14336 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14338 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14340 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14344 hardcode_into_libs=yes
14345 dynamic_linker="$host_os dld.sl"
14346 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14347 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14349 soname_spec='${libname}${release}${shared_ext}$major'
14350 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14351 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14355 dynamic_linker="$host_os dld.sl"
14356 shlibpath_var=SHLIB_PATH
14357 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14358 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14359 soname_spec='${libname}${release}${shared_ext}$major'
14362 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14363 postinstall_cmds='chmod 555 $lib'
14366 irix5* | irix6* | nonstopux*)
14368 nonstopux*) version_type=nonstopux ;;
14370 if test "$lt_cv_prog_gnu_ld" = yes; then
14378 soname_spec='${libname}${release}${shared_ext}$major'
14379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14381 irix5* | nonstopux*)
14382 libsuff= shlibsuff=
14385 case $LD in # libtool.m4 will add one of these switches to LD
14386 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14387 libsuff= shlibsuff= libmagic=32-bit;;
14388 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14389 libsuff=32 shlibsuff=N32 libmagic=N32;;
14390 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14391 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14392 *) libsuff= shlibsuff= libmagic=never-match;;
14396 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14397 shlibpath_overrides_runpath=no
14398 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14399 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14400 hardcode_into_libs=yes
14403 # No shared lib support for Linux oldld, aout, or coff.
14404 linux*oldld* | linux*aout* | linux*coff*)
14408 # This must be Linux ELF.
14413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14414 soname_spec='${libname}${release}${shared_ext}$major'
14415 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14416 shlibpath_var=LD_LIBRARY_PATH
14417 shlibpath_overrides_runpath=no
14418 # This implies no fast_install, which is unacceptable.
14419 # Some rework will be needed to allow for fast_install
14420 # before this can be enabled.
14421 hardcode_into_libs=yes
14423 # We used to test for /lib/ld.so.1 and disable shared libraries on
14424 # powerpc, because MkLinux only supported shared libraries with the
14425 # GNU dynamic linker. Since this was broken with cross compilers,
14426 # most powerpc-linux boxes support dynamic linking these days and
14427 # people can always --disable-shared, the test was removed, and we
14428 # assume the GNU/Linux dynamic linker is in use.
14429 dynamic_linker='GNU/Linux ld.so'
14436 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14438 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14439 dynamic_linker='NetBSD (a.out) ld.so'
14441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14442 soname_spec='${libname}${release}${shared_ext}$major'
14443 dynamic_linker='NetBSD ld.elf_so'
14445 shlibpath_var=LD_LIBRARY_PATH
14446 shlibpath_overrides_runpath=yes
14447 hardcode_into_libs=yes
14452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14453 shlibpath_var=LD_LIBRARY_PATH
14454 shlibpath_overrides_runpath=yes
14461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14462 soname_spec='${libname}${release}${shared_ext}$major'
14463 shlibpath_var=LD_LIBRARY_PATH
14464 shlibpath_overrides_runpath=yes
14471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14472 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14473 shlibpath_var=LD_LIBRARY_PATH
14474 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14476 openbsd2.[89] | openbsd2.[89].*)
14477 shlibpath_overrides_runpath=no
14480 shlibpath_overrides_runpath=yes
14484 shlibpath_overrides_runpath=yes
14489 libname_spec='$name'
14492 library_names_spec='$libname${shared_ext} $libname.a'
14493 dynamic_linker='OS/2 ld.exe'
14494 shlibpath_var=LIBPATH
14497 osf3* | osf4* | osf5*)
14501 soname_spec='${libname}${release}${shared_ext}$major'
14502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14503 shlibpath_var=LD_LIBRARY_PATH
14504 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14505 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14510 soname_spec='${libname}${release}${shared_ext}$major'
14511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14512 shlibpath_var=LD_LIBRARY_PATH
14519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14520 soname_spec='${libname}${release}${shared_ext}$major'
14521 shlibpath_var=LD_LIBRARY_PATH
14522 shlibpath_overrides_runpath=yes
14523 hardcode_into_libs=yes
14524 # ldd complains unless libraries are executable
14525 postinstall_cmds='chmod +x $lib'
14530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14531 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14532 shlibpath_var=LD_LIBRARY_PATH
14533 shlibpath_overrides_runpath=yes
14534 if test "$with_gnu_ld" = yes; then
14540 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14543 soname_spec='${libname}${release}${shared_ext}$major'
14544 shlibpath_var=LD_LIBRARY_PATH
14545 case $host_vendor in
14547 shlibpath_overrides_runpath=no
14549 export_dynamic_flag_spec='${wl}-Blargedynsym'
14550 runpath_var=LD_RUN_PATH
14558 shlibpath_overrides_runpath=no
14559 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14565 if test -d /usr/nec ;then
14567 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14568 soname_spec='$libname${shared_ext}.$major'
14569 shlibpath_var=LD_LIBRARY_PATH
14575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14576 soname_spec='${libname}${release}${shared_ext}$major'
14577 shlibpath_var=LD_LIBRARY_PATH
14584 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14585 echo "${ECHO_T}$dynamic_linker" >&6
14586 test "$dynamic_linker" = no && can_build_shared=no
14589 # The else clause should only fire when bootstrapping the
14590 # libtool distribution, otherwise you forgot to ship ltmain.sh
14591 # with your package, and you will get complaints that there are
14592 # no rules to generate ltmain.sh.
14593 if test -f "$ltmain"; then
14594 # See if we are running on zsh, and set the options which allow our commands through
14595 # without removal of \ escapes.
14596 if test -n "${ZSH_VERSION+set}" ; then
14597 setopt NO_GLOB_SUBST
14599 # Now quote all the things that may contain metacharacters while being
14600 # careful not to overquote the AC_SUBSTed values. We take copies of the
14601 # variables and quote the copies for generation of the libtool script.
14602 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14603 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14604 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14605 deplibs_check_method reload_flag reload_cmds need_locks \
14606 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14607 lt_cv_sys_global_symbol_to_c_name_address \
14608 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14609 old_postinstall_cmds old_postuninstall_cmds \
14613 lt_prog_compiler_wl_F77 \
14614 lt_prog_compiler_pic_F77 \
14615 lt_prog_compiler_static_F77 \
14616 lt_prog_compiler_no_builtin_flag_F77 \
14617 export_dynamic_flag_spec_F77 \
14618 thread_safe_flag_spec_F77 \
14619 whole_archive_flag_spec_F77 \
14620 enable_shared_with_static_runtimes_F77 \
14621 old_archive_cmds_F77 \
14622 old_archive_from_new_cmds_F77 \
14623 predep_objects_F77 \
14624 postdep_objects_F77 \
14627 compiler_lib_search_path_F77 \
14629 archive_expsym_cmds_F77 \
14630 postinstall_cmds_F77 \
14631 postuninstall_cmds_F77 \
14632 old_archive_from_expsyms_cmds_F77 \
14633 allow_undefined_flag_F77 \
14634 no_undefined_flag_F77 \
14635 export_symbols_cmds_F77 \
14636 hardcode_libdir_flag_spec_F77 \
14637 hardcode_libdir_flag_spec_ld_F77 \
14638 hardcode_libdir_separator_F77 \
14639 hardcode_automatic_F77 \
14641 module_expsym_cmds_F77 \
14642 lt_cv_prog_compiler_c_o_F77 \
14643 exclude_expsyms_F77 \
14644 include_expsyms_F77; do
14647 old_archive_cmds_F77 | \
14648 old_archive_from_new_cmds_F77 | \
14649 archive_cmds_F77 | \
14650 archive_expsym_cmds_F77 | \
14651 module_cmds_F77 | \
14652 module_expsym_cmds_F77 | \
14653 old_archive_from_expsyms_cmds_F77 | \
14654 export_symbols_cmds_F77 | \
14655 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14656 postinstall_cmds | postuninstall_cmds | \
14657 old_postinstall_cmds | old_postuninstall_cmds | \
14658 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14659 # Double-quote double-evaled strings.
14660 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14663 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14669 *'\$0 --fallback-echo"')
14670 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14676 cat <<__EOF__ >> "$cfgfile"
14677 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14679 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14681 # Shell to use when invoking shell scripts.
14684 # Whether or not to build shared libraries.
14685 build_libtool_libs=$enable_shared
14687 # Whether or not to build static libraries.
14688 build_old_libs=$enable_static
14690 # Whether or not to add -lc for building shared libraries.
14691 build_libtool_need_lc=$archive_cmds_need_lc_F77
14693 # Whether or not to disallow shared libs when runtime libs are static
14694 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14696 # Whether or not to optimize for fast installation.
14697 fast_install=$enable_fast_install
14700 host_alias=$host_alias
14703 # An echo program that does not interpret backslashes.
14708 AR_FLAGS=$lt_AR_FLAGS
14713 # A language-specific compiler.
14714 CC=$lt_compiler_F77
14716 # Is the compiler the GNU C compiler?
14722 # The linker used to build libraries.
14725 # Whether we need hard or soft links.
14728 # A BSD-compatible nm program.
14731 # A symbol stripping program
14734 # Used to examine libraries when file_magic_cmd begins "file"
14735 MAGIC_CMD=$MAGIC_CMD
14737 # Used on cygwin: DLL creation program.
14740 # Used on cygwin: object dumper.
14743 # Used on cygwin: assembler.
14746 # The name of the directory that contains temporary libtool files.
14749 # How to create reloadable object files.
14750 reload_flag=$lt_reload_flag
14751 reload_cmds=$lt_reload_cmds
14753 # How to pass a linker flag through the compiler.
14754 wl=$lt_lt_prog_compiler_wl_F77
14756 # Object file suffix (normally "o").
14757 objext="$ac_objext"
14759 # Old archive suffix (normally "a").
14762 # Shared library suffix (normally ".so").
14765 # Executable file suffix (normally "").
14768 # Additional compiler flags for building library objects.
14769 pic_flag=$lt_lt_prog_compiler_pic_F77
14772 # What is the maximum length of a command?
14773 max_cmd_len=$lt_cv_sys_max_cmd_len
14775 # Does compiler simultaneously support -c and -o options?
14776 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14778 # Must we lock files when doing compilation ?
14779 need_locks=$lt_need_locks
14781 # Do we need the lib prefix for modules?
14782 need_lib_prefix=$need_lib_prefix
14784 # Do we need a version for libraries?
14785 need_version=$need_version
14787 # Whether dlopen is supported.
14788 dlopen_support=$enable_dlopen
14790 # Whether dlopen of programs is supported.
14791 dlopen_self=$enable_dlopen_self
14793 # Whether dlopen of statically linked programs is supported.
14794 dlopen_self_static=$enable_dlopen_self_static
14796 # Compiler flag to prevent dynamic linking.
14797 link_static_flag=$lt_lt_prog_compiler_static_F77
14799 # Compiler flag to turn off builtin functions.
14800 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14802 # Compiler flag to allow reflexive dlopens.
14803 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14805 # Compiler flag to generate shared objects directly from archives.
14806 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14808 # Compiler flag to generate thread-safe objects.
14809 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14811 # Library versioning type.
14812 version_type=$version_type
14814 # Format of library name prefix.
14815 libname_spec=$lt_libname_spec
14817 # List of archive names. First name is the real one, the rest are links.
14818 # The last name is the one that the linker finds with -lNAME.
14819 library_names_spec=$lt_library_names_spec
14821 # The coded name of the library, if different from the real name.
14822 soname_spec=$lt_soname_spec
14824 # Commands used to build and install an old-style archive.
14826 old_archive_cmds=$lt_old_archive_cmds_F77
14827 old_postinstall_cmds=$lt_old_postinstall_cmds
14828 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14830 # Create an old-style archive from a shared archive.
14831 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14833 # Create a temporary old-style archive to link instead of a shared archive.
14834 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14836 # Commands used to build and install a shared archive.
14837 archive_cmds=$lt_archive_cmds_F77
14838 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14839 postinstall_cmds=$lt_postinstall_cmds
14840 postuninstall_cmds=$lt_postuninstall_cmds
14842 # Commands used to build a loadable module (assumed same as above if empty)
14843 module_cmds=$lt_module_cmds_F77
14844 module_expsym_cmds=$lt_module_expsym_cmds_F77
14846 # Commands to strip libraries.
14847 old_striplib=$lt_old_striplib
14848 striplib=$lt_striplib
14850 # Dependencies to place before the objects being linked to create a
14852 predep_objects=$lt_predep_objects_F77
14854 # Dependencies to place after the objects being linked to create a
14856 postdep_objects=$lt_postdep_objects_F77
14858 # Dependencies to place before the objects being linked to create a
14860 predeps=$lt_predeps_F77
14862 # Dependencies to place after the objects being linked to create a
14864 postdeps=$lt_postdeps_F77
14866 # The library search path used internally by the compiler when linking
14867 # a shared library.
14868 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14870 # Method to check whether dependent libraries are shared objects.
14871 deplibs_check_method=$lt_deplibs_check_method
14873 # Command to use when deplibs_check_method == file_magic.
14874 file_magic_cmd=$lt_file_magic_cmd
14876 # Flag that allows shared libraries with undefined symbols to be built.
14877 allow_undefined_flag=$lt_allow_undefined_flag_F77
14879 # Flag that forces no undefined symbols.
14880 no_undefined_flag=$lt_no_undefined_flag_F77
14882 # Commands used to finish a libtool library installation in a directory.
14883 finish_cmds=$lt_finish_cmds
14885 # Same as above, but a single script fragment to be evaled but not shown.
14886 finish_eval=$lt_finish_eval
14888 # Take the output of nm and produce a listing of raw symbols and C names.
14889 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14891 # Transform the output of nm in a proper C declaration
14892 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14894 # Transform the output of nm in a C name address pair
14895 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14897 # This is the shared library runtime path variable.
14898 runpath_var=$runpath_var
14900 # This is the shared library path variable.
14901 shlibpath_var=$shlibpath_var
14903 # Is shlibpath searched before the hard-coded library search path?
14904 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14906 # How to hardcode a shared library path into an executable.
14907 hardcode_action=$hardcode_action_F77
14909 # Whether we should hardcode library paths into libraries.
14910 hardcode_into_libs=$hardcode_into_libs
14912 # Flag to hardcode \$libdir into a binary during linking.
14913 # This must work even if \$libdir does not exist.
14914 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14916 # If ld is used when linking, flag to hardcode \$libdir into
14917 # a binary during linking. This must work even if \$libdir does
14919 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14921 # Whether we need a single -rpath flag with a separated argument.
14922 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14924 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14925 # resulting binary.
14926 hardcode_direct=$hardcode_direct_F77
14928 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14929 # resulting binary.
14930 hardcode_minus_L=$hardcode_minus_L_F77
14932 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14933 # the resulting binary.
14934 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14936 # Set to yes if building a shared library automatically hardcodes DIR into the library
14937 # and all subsequent libraries and executables linked against it.
14938 hardcode_automatic=$hardcode_automatic_F77
14940 # Variables whose values should be saved in libtool wrapper scripts and
14941 # restored at relink time.
14942 variables_saved_for_relink="$variables_saved_for_relink"
14944 # Whether libtool must link a program against all its dependency libraries.
14945 link_all_deplibs=$link_all_deplibs_F77
14947 # Compile-time system search path for libraries
14948 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14950 # Run-time system search path for libraries
14951 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14953 # Fix the shell variable \$srcfile for the compiler.
14954 fix_srcfile_path="$fix_srcfile_path_F77"
14956 # Set to yes if exported symbols are required.
14957 always_export_symbols=$always_export_symbols_F77
14959 # The commands to list exported symbols.
14960 export_symbols_cmds=$lt_export_symbols_cmds_F77
14962 # The commands to extract the exported symbol list from a shared archive.
14963 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14965 # Symbols that should not be listed in the preloaded symbols.
14966 exclude_expsyms=$lt_exclude_expsyms_F77
14968 # Symbols that must always be exported.
14969 include_expsyms=$lt_include_expsyms_F77
14971 # ### END LIBTOOL TAG CONFIG: $tagname
14977 # If there is no Makefile yet, we rely on a make rule to execute
14978 # `config.status --recheck' to rerun these tests and create the
14979 # libtool script then.
14980 test -f Makefile && make "$ltmain"
14985 ac_cpp='$CPP $CPPFLAGS'
14986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14998 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15002 # Source file extension for Java test sources.
15005 # Object file extension for compiled Java test sources.
15009 # Code to be used in simple compile tests
15010 lt_simple_compile_test_code="class foo {}\n"
15012 # Code to be used in simple link tests
15013 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
15015 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15017 # If no C compiler was specified, use CC.
15020 # Allow CC to be a program name with arguments.
15024 # Allow CC to be a program name with arguments.
15030 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15031 archive_cmds_need_lc_GCJ=no
15034 ## There is no encapsulation within the following macros, do not change
15035 ## the running order or otherwise move them around unless you know exactly
15036 ## what you are doing...
15038 lt_prog_compiler_no_builtin_flag_GCJ=
15040 if test "$GCC" = yes; then
15041 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15043 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15044 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15045 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15046 echo $ECHO_N "(cached) $ECHO_C" >&6
15048 lt_cv_prog_compiler_rtti_exceptions=no
15049 ac_outfile=conftest.$ac_objext
15050 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15051 lt_compiler_flag="-fno-rtti -fno-exceptions"
15052 # Insert the option either (1) after the last *FLAGS variable, or
15053 # (2) before a word containing "conftest.", or (3) at the end.
15054 # Note that $ac_compile itself does not contain backslashes and begins
15055 # with a dollar sign (not a hyphen), so the echo should work correctly.
15056 # The option is referenced via a variable to avoid confusing sed.
15057 lt_compile=`echo "$ac_compile" | $SED \
15058 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15059 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15060 -e 's:$: $lt_compiler_flag:'`
15061 (eval echo "\"\$as_me:15061: $lt_compile\"" >&5)
15062 (eval "$lt_compile" 2>conftest.err)
15064 cat conftest.err >&5
15065 echo "$as_me:15065: \$? = $ac_status" >&5
15066 if (exit $ac_status) && test -s "$ac_outfile"; then
15067 # The compiler can only warn and ignore the option if not recognized
15068 # So say no if there are warnings
15069 if test ! -s conftest.err; then
15070 lt_cv_prog_compiler_rtti_exceptions=yes
15076 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15077 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15079 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15080 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15087 lt_prog_compiler_wl_GCJ=
15088 lt_prog_compiler_pic_GCJ=
15089 lt_prog_compiler_static_GCJ=
15091 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15092 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15094 if test "$GCC" = yes; then
15095 lt_prog_compiler_wl_GCJ='-Wl,'
15096 lt_prog_compiler_static_GCJ='-static'
15100 # All AIX code is PIC.
15101 if test "$host_cpu" = ia64; then
15102 # AIX 5 now supports IA64 processor
15103 lt_prog_compiler_static_GCJ='-Bstatic'
15108 # FIXME: we need at least 68020 code to build shared libraries, but
15109 # adding the `-m68020' flag to GCC prevents building anything better,
15111 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15114 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15115 # PIC is the default for these OSes.
15118 mingw* | pw32* | os2*)
15119 # This hack is so that the source file can tell whether it is being
15120 # built for inclusion in a dll (and should export symbols for example).
15121 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15124 darwin* | rhapsody*)
15125 # PIC is the default on this platform
15126 # Common symbols not allowed in MH_DYLIB files
15127 lt_prog_compiler_pic_GCJ='-fno-common'
15131 # Just because we use GCC doesn't mean we suddenly get shared libraries
15132 # on systems that don't support them.
15133 lt_prog_compiler_can_build_shared_GCJ=no
15138 if test -d /usr/nec; then
15139 lt_prog_compiler_pic_GCJ=-Kconform_pic
15144 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15145 # not for PA HP-UX.
15146 case "$host_cpu" in
15151 lt_prog_compiler_pic_GCJ='-fPIC'
15157 lt_prog_compiler_pic_GCJ='-fPIC'
15161 # PORTME Check for flag to pass linker flags through the system compiler.
15164 lt_prog_compiler_wl_GCJ='-Wl,'
15165 if test "$host_cpu" = ia64; then
15166 # AIX 5 now supports IA64 processor
15167 lt_prog_compiler_static_GCJ='-Bstatic'
15169 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15173 mingw* | pw32* | os2*)
15174 # This hack is so that the source file can tell whether it is being
15175 # built for inclusion in a dll (and should export symbols for example).
15176 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15179 hpux9* | hpux10* | hpux11*)
15180 lt_prog_compiler_wl_GCJ='-Wl,'
15181 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15182 # not for PA HP-UX.
15183 case "$host_cpu" in
15188 lt_prog_compiler_pic_GCJ='+Z'
15191 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15192 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15195 irix5* | irix6* | nonstopux*)
15196 lt_prog_compiler_wl_GCJ='-Wl,'
15197 # PIC (with -KPIC) is the default.
15198 lt_prog_compiler_static_GCJ='-non_shared'
15202 lt_prog_compiler_pic_GCJ='-KPIC'
15203 lt_prog_compiler_static_GCJ='-Bstatic'
15209 lt_prog_compiler_wl_GCJ='-Wl,'
15210 lt_prog_compiler_pic_GCJ='-KPIC'
15211 lt_prog_compiler_static_GCJ='-static'
15214 lt_prog_compiler_wl_GCJ='-Wl,'
15215 # All Alpha code is PIC.
15216 lt_prog_compiler_static_GCJ='-non_shared'
15221 osf3* | osf4* | osf5*)
15222 lt_prog_compiler_wl_GCJ='-Wl,'
15223 # All OSF/1 code is PIC.
15224 lt_prog_compiler_static_GCJ='-non_shared'
15228 lt_prog_compiler_pic_GCJ='-Kpic'
15229 lt_prog_compiler_static_GCJ='-dn'
15233 lt_prog_compiler_wl_GCJ='-Wl,'
15234 lt_prog_compiler_pic_GCJ='-KPIC'
15235 lt_prog_compiler_static_GCJ='-Bstatic'
15239 lt_prog_compiler_wl_GCJ='-Qoption ld '
15240 lt_prog_compiler_pic_GCJ='-PIC'
15241 lt_prog_compiler_static_GCJ='-Bstatic'
15244 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15245 lt_prog_compiler_wl_GCJ='-Wl,'
15246 lt_prog_compiler_pic_GCJ='-KPIC'
15247 lt_prog_compiler_static_GCJ='-Bstatic'
15251 if test -d /usr/nec ;then
15252 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15253 lt_prog_compiler_static_GCJ='-Bstatic'
15258 lt_prog_compiler_pic_GCJ='-pic'
15259 lt_prog_compiler_static_GCJ='-Bstatic'
15263 lt_prog_compiler_can_build_shared_GCJ=no
15268 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15269 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15272 # Check to make sure the PIC flag actually works.
15274 if test -n "$lt_prog_compiler_pic_GCJ"; then
15275 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15276 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15277 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15278 echo $ECHO_N "(cached) $ECHO_C" >&6
15280 lt_prog_compiler_pic_works_GCJ=no
15281 ac_outfile=conftest.$ac_objext
15282 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15283 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15284 # Insert the option either (1) after the last *FLAGS variable, or
15285 # (2) before a word containing "conftest.", or (3) at the end.
15286 # Note that $ac_compile itself does not contain backslashes and begins
15287 # with a dollar sign (not a hyphen), so the echo should work correctly.
15288 # The option is referenced via a variable to avoid confusing sed.
15289 lt_compile=`echo "$ac_compile" | $SED \
15290 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15291 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15292 -e 's:$: $lt_compiler_flag:'`
15293 (eval echo "\"\$as_me:15293: $lt_compile\"" >&5)
15294 (eval "$lt_compile" 2>conftest.err)
15296 cat conftest.err >&5
15297 echo "$as_me:15297: \$? = $ac_status" >&5
15298 if (exit $ac_status) && test -s "$ac_outfile"; then
15299 # The compiler can only warn and ignore the option if not recognized
15300 # So say no if there are warnings
15301 if test ! -s conftest.err; then
15302 lt_prog_compiler_pic_works_GCJ=yes
15308 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15309 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15311 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15312 case $lt_prog_compiler_pic_GCJ in
15314 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15317 lt_prog_compiler_pic_GCJ=
15318 lt_prog_compiler_can_build_shared_GCJ=no
15323 # For platforms which do not support PIC, -DPIC is meaningless:
15325 lt_prog_compiler_pic_GCJ=
15328 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15332 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15333 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15334 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15335 echo $ECHO_N "(cached) $ECHO_C" >&6
15337 lt_cv_prog_compiler_c_o_GCJ=no
15338 $rm -r conftest 2>/dev/null
15342 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15344 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15345 # that will create temporary files in the current directory regardless of
15346 # the output directory. Thus, making CWD read-only will cause this test
15347 # to fail, enabling locking or at least warning the user not to do parallel
15351 lt_compiler_flag="-o out/conftest2.$ac_objext"
15352 # Insert the option either (1) after the last *FLAGS variable, or
15353 # (2) before a word containing "conftest.", or (3) at the end.
15354 # Note that $ac_compile itself does not contain backslashes and begins
15355 # with a dollar sign (not a hyphen), so the echo should work correctly.
15356 lt_compile=`echo "$ac_compile" | $SED \
15357 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15358 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15359 -e 's:$: $lt_compiler_flag:'`
15360 (eval echo "\"\$as_me:15360: $lt_compile\"" >&5)
15361 (eval "$lt_compile" 2>out/conftest.err)
15363 cat out/conftest.err >&5
15364 echo "$as_me:15364: \$? = $ac_status" >&5
15365 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15367 # The compiler can only warn and ignore the option if not recognized
15368 # So say no if there are warnings
15369 if test ! -s out/conftest.err; then
15370 lt_cv_prog_compiler_c_o_GCJ=yes
15374 $rm conftest* out/*
15381 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15382 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15385 hard_links="nottested"
15386 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15387 # do not overwrite the value of need_locks provided by the user
15388 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15389 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15392 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15394 ln conftest.a conftest.b 2>&5 || hard_links=no
15395 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15396 echo "$as_me:$LINENO: result: $hard_links" >&5
15397 echo "${ECHO_T}$hard_links" >&6
15398 if test "$hard_links" = no; then
15399 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15400 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15407 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15408 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15411 allow_undefined_flag_GCJ=
15412 enable_shared_with_static_runtimes_GCJ=no
15414 archive_expsym_cmds_GCJ=
15415 old_archive_From_new_cmds_GCJ=
15416 old_archive_from_expsyms_cmds_GCJ=
15417 export_dynamic_flag_spec_GCJ=
15418 whole_archive_flag_spec_GCJ=
15419 thread_safe_flag_spec_GCJ=
15420 hardcode_libdir_flag_spec_GCJ=
15421 hardcode_libdir_flag_spec_ld_GCJ=
15422 hardcode_libdir_separator_GCJ=
15423 hardcode_direct_GCJ=no
15424 hardcode_minus_L_GCJ=no
15425 hardcode_shlibpath_var_GCJ=unsupported
15426 link_all_deplibs_GCJ=unknown
15427 hardcode_automatic_GCJ=no
15429 module_expsym_cmds_GCJ=
15430 always_export_symbols_GCJ=no
15431 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15432 # include_expsyms should be a list of space-separated symbols to be *always*
15433 # included in the symbol list
15434 include_expsyms_GCJ=
15435 # exclude_expsyms can be an extended regexp of symbols to exclude
15436 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15437 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15438 # as well as any symbol that contains `d'.
15439 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15440 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15441 # platforms (ab)use it in PIC code, but their linkers get confused if
15442 # the symbol is explicitly referenced. Since portable code cannot
15443 # rely on this symbol name, it's probably fine to never include it in
15444 # preloaded symbol tables.
15445 extract_expsyms_cmds=
15448 cygwin* | mingw* | pw32*)
15449 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15450 # When not using gcc, we currently assume that we are using
15451 # Microsoft Visual C++.
15452 if test "$GCC" != yes; then
15462 if test "$with_gnu_ld" = yes; then
15463 # If archive_cmds runs LD, not CC, wlarc should be empty
15466 # See if GNU ld supports shared libraries.
15468 aix3* | aix4* | aix5*)
15469 # On AIX/PPC, the GNU linker is very broken
15470 if test "$host_cpu" != ia64; then
15474 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15475 *** to be unable to reliably create shared libraries on AIX.
15476 *** Therefore, libtool is disabling shared libraries support. If you
15477 *** really care for shared libraries, you may want to modify your PATH
15478 *** so that a non-GNU linker is found, and then restart.
15485 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)'
15486 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15487 hardcode_minus_L_GCJ=yes
15489 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15490 # that the semantics of dynamic libraries on AmigaOS, at least up
15491 # to version 4, is to share data among multiple programs linked
15492 # with the same dynamic library. Since this doesn't match the
15493 # behavior of shared libraries on other platforms, we can't use
15499 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15500 allow_undefined_flag_GCJ=unsupported
15501 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15502 # support --undefined. This deserves some investigation. FIXME
15503 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15509 cygwin* | mingw* | pw32*)
15510 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15511 # as there is no search path for DLLs.
15512 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15513 allow_undefined_flag_GCJ=unsupported
15514 always_export_symbols_GCJ=no
15515 enable_shared_with_static_runtimes_GCJ=yes
15516 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15518 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15519 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15520 # If the export-symbols file already is a .def file (1st line
15521 # is EXPORTS), use it as is; otherwise, prepend...
15522 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15523 cp $export_symbols $output_objdir/$soname.def;
15525 echo EXPORTS > $output_objdir/$soname.def;
15526 cat $export_symbols >> $output_objdir/$soname.def;
15528 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15535 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15536 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15539 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15540 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15545 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15549 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15550 *** create shared libraries on Solaris systems. Therefore, libtool
15551 *** is disabling shared libraries support. We urge you to upgrade GNU
15552 *** binutils to release 2.9.1 or newer. Another option is to modify
15553 *** your PATH or compiler configuration so that the native linker is
15554 *** used, and then restart.
15557 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15558 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15559 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15566 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15568 hardcode_direct_GCJ=yes
15569 hardcode_shlibpath_var_GCJ=no
15573 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15574 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15575 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15582 if test "$ld_shlibs_GCJ" = yes; then
15583 runpath_var=LD_RUN_PATH
15584 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15585 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15586 # ancient GNU ld didn't support --whole-archive et. al.
15587 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15588 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15590 whole_archive_flag_spec_GCJ=
15594 # PORTME fill in a description of your system's linker (not GNU ld)
15597 allow_undefined_flag_GCJ=unsupported
15598 always_export_symbols_GCJ=yes
15599 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'
15600 # Note: this linker hardcodes the directories in LIBPATH if there
15601 # are no directories specified by -L.
15602 hardcode_minus_L_GCJ=yes
15603 if test "$GCC" = yes && test -z "$link_static_flag"; then
15604 # Neither direct hardcoding nor static linking is supported with a
15606 hardcode_direct_GCJ=unsupported
15611 if test "$host_cpu" = ia64; then
15612 # On IA64, the linker does run time linking by default, so we don't
15613 # have to do anything special.
15614 aix_use_runtimelinking=no
15615 exp_sym_flag='-Bexport'
15618 # If we're using GNU nm, then we don't want the "-C" option.
15619 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15620 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15621 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'
15623 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'
15625 aix_use_runtimelinking=no
15627 # Test if we are trying to use run time linking or normal
15628 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15629 # need to do runtime linking.
15630 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15631 for ld_flag in $LDFLAGS; do
15632 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15633 aix_use_runtimelinking=yes
15639 exp_sym_flag='-bexport'
15640 no_entry_flag='-bnoentry'
15643 # When large executables or shared objects are built, AIX ld can
15644 # have problems creating the table of contents. If linking a library
15645 # or program results in "error TOC overflow" add -mminimal-toc to
15646 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15647 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15649 archive_cmds_GCJ=''
15650 hardcode_direct_GCJ=yes
15651 hardcode_libdir_separator_GCJ=':'
15652 link_all_deplibs_GCJ=yes
15654 if test "$GCC" = yes; then
15655 case $host_os in aix4.012|aix4.012.*)
15656 # We only want to do this on AIX 4.2 and lower, the check
15657 # below for broken collect2 doesn't work under 4.3+
15658 collect2name=`${CC} -print-prog-name=collect2`
15659 if test -f "$collect2name" && \
15660 strings "$collect2name" | grep resolve_lib_name >/dev/null
15662 # We have reworked collect2
15663 hardcode_direct_GCJ=yes
15665 # We have old collect2
15666 hardcode_direct_GCJ=unsupported
15667 # It fails to find uninstalled libraries when the uninstalled
15668 # path is not listed in the libpath. Setting hardcode_minus_L
15669 # to unsupported forces relinking
15670 hardcode_minus_L_GCJ=yes
15671 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15672 hardcode_libdir_separator_GCJ=
15675 shared_flag='-shared'
15678 if test "$host_cpu" = ia64; then
15679 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15680 # chokes on -Wl,-G. The following line is correct:
15683 if test "$aix_use_runtimelinking" = yes; then
15684 shared_flag='${wl}-G'
15686 shared_flag='${wl}-bM:SRE'
15691 # It seems that -bexpall does not export symbols beginning with
15692 # underscore (_), so it is better to generate a list of symbols to export.
15693 always_export_symbols_GCJ=yes
15694 if test "$aix_use_runtimelinking" = yes; then
15695 # Warning - without using the other runtime loading flags (-brtl),
15696 # -berok will link without error, but may produce a broken library.
15697 allow_undefined_flag_GCJ='-berok'
15698 # Determine the default libpath from the value encoded in an empty executable.
15699 cat >conftest.$ac_ext <<_ACEOF
15700 #line $LINENO "configure"
15703 cat confdefs.h >>conftest.$ac_ext
15704 cat >>conftest.$ac_ext <<_ACEOF
15705 /* end confdefs.h. */
15715 rm -f conftest.$ac_objext conftest$ac_exeext
15716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15717 (eval $ac_link) 2>&5
15719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15720 (exit $ac_status); } &&
15721 { ac_try='test -s conftest$ac_exeext'
15722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15723 (eval $ac_try) 2>&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); }; }; then
15728 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15730 # Check for a 64-bit object if we didn't find anything.
15731 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; }
15734 echo "$as_me: failed program was:" >&5
15735 sed 's/^/| /' conftest.$ac_ext >&5
15738 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15739 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15741 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15742 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"
15744 if test "$host_cpu" = ia64; then
15745 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15746 allow_undefined_flag_GCJ="-z nodefs"
15747 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"
15749 # Determine the default libpath from the value encoded in an empty executable.
15750 cat >conftest.$ac_ext <<_ACEOF
15751 #line $LINENO "configure"
15754 cat confdefs.h >>conftest.$ac_ext
15755 cat >>conftest.$ac_ext <<_ACEOF
15756 /* end confdefs.h. */
15766 rm -f conftest.$ac_objext conftest$ac_exeext
15767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15768 (eval $ac_link) 2>&5
15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771 (exit $ac_status); } &&
15772 { ac_try='test -s conftest$ac_exeext'
15773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15774 (eval $ac_try) 2>&5
15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 (exit $ac_status); }; }; then
15779 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15781 # Check for a 64-bit object if we didn't find anything.
15782 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; }
15785 echo "$as_me: failed program was:" >&5
15786 sed 's/^/| /' conftest.$ac_ext >&5
15789 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15790 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15792 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15793 # Warning - without using the other run time loading flags,
15794 # -berok will link without error, but may produce a broken library.
15795 no_undefined_flag_GCJ=' ${wl}-bernotok'
15796 allow_undefined_flag_GCJ=' ${wl}-berok'
15797 # -bexpall does not export symbols beginning with underscore (_)
15798 always_export_symbols_GCJ=yes
15799 # Exported symbols can be pulled into shared objects from archives
15800 whole_archive_flag_spec_GCJ=' '
15801 archive_cmds_need_lc_GCJ=yes
15802 # This is similar to how AIX traditionally builds it's shared libraries.
15803 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'
15809 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)'
15810 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15811 hardcode_minus_L_GCJ=yes
15812 # see comment about different semantics on the GNU ld section
15817 export_dynamic_flag_spec_GCJ=-rdynamic
15820 cygwin* | mingw* | pw32*)
15821 # When not using gcc, we currently assume that we are using
15822 # Microsoft Visual C++.
15823 # hardcode_libdir_flag_spec is actually meaningless, as there is
15824 # no search path for DLLs.
15825 hardcode_libdir_flag_spec_GCJ=' '
15826 allow_undefined_flag_GCJ=unsupported
15827 # Tell ltmain to make .lib files, not .a files.
15829 # Tell ltmain to make .dll files, not .so files.
15831 # FIXME: Setting linknames here is a bad hack.
15832 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15833 # The linker will automatically build a .lib file if we build a DLL.
15834 old_archive_From_new_cmds_GCJ='true'
15835 # FIXME: Should let the user specify the lib program.
15836 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15837 fix_srcfile_path='`cygpath -w "$srcfile"`'
15838 enable_shared_with_static_runtimes_GCJ=yes
15841 darwin* | rhapsody*)
15842 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15843 archive_cmds_need_lc_GCJ=no
15845 rhapsody* | darwin1.[012])
15846 allow_undefined_flag_GCJ='-undefined suppress'
15849 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15852 # FIXME: Relying on posixy $() will cause problems for
15853 # cross-compilation, but unfortunately the echo tests do not
15854 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15855 # `"' quotes if we put them in here... so don't!
15856 lt_int_apple_cc_single_mod=no
15857 output_verbose_link_cmd='echo'
15858 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15859 lt_int_apple_cc_single_mod=yes
15861 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15862 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15864 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'
15866 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15867 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15868 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15869 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}'
15871 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}'
15873 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}'
15874 hardcode_direct_GCJ=no
15875 hardcode_automatic_GCJ=yes
15876 hardcode_shlibpath_var_GCJ=unsupported
15877 whole_archive_flag_spec_GCJ='-all_load $convenience'
15878 link_all_deplibs_GCJ=yes
15883 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15884 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15885 hardcode_shlibpath_var_GCJ=no
15892 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15893 # support. Future versions do this automatically, but an explicit c++rt0.o
15894 # does not break anything, and helps significantly (at the cost of a little
15897 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15898 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15899 hardcode_direct_GCJ=yes
15900 hardcode_shlibpath_var_GCJ=no
15903 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15905 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15906 hardcode_direct_GCJ=yes
15907 hardcode_minus_L_GCJ=yes
15908 hardcode_shlibpath_var_GCJ=no
15911 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15913 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15914 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15915 hardcode_direct_GCJ=yes
15916 hardcode_shlibpath_var_GCJ=no
15920 if test "$GCC" = yes; then
15921 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'
15923 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'
15925 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15926 hardcode_libdir_separator_GCJ=:
15927 hardcode_direct_GCJ=yes
15929 # hardcode_minus_L: Not really in the search PATH,
15930 # but as the default location of the library.
15931 hardcode_minus_L_GCJ=yes
15932 export_dynamic_flag_spec_GCJ='${wl}-E'
15936 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15937 case "$host_cpu" in
15939 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15942 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15946 case "$host_cpu" in
15948 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15951 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15955 if test "$with_gnu_ld" = no; then
15956 case "$host_cpu" in
15958 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15959 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15960 hardcode_libdir_separator_GCJ=:
15961 hardcode_direct_GCJ=no
15962 hardcode_shlibpath_var_GCJ=no
15965 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15966 hardcode_direct_GCJ=no
15967 hardcode_shlibpath_var_GCJ=no
15969 # hardcode_minus_L: Not really in the search PATH,
15970 # but as the default location of the library.
15971 hardcode_minus_L_GCJ=yes
15974 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15975 hardcode_libdir_separator_GCJ=:
15976 hardcode_direct_GCJ=yes
15977 export_dynamic_flag_spec_GCJ='${wl}-E'
15979 # hardcode_minus_L: Not really in the search PATH,
15980 # but as the default location of the library.
15981 hardcode_minus_L_GCJ=yes
15987 irix5* | irix6* | nonstopux*)
15988 if test "$GCC" = yes; then
15989 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'
15991 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'
15992 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15994 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15995 hardcode_libdir_separator_GCJ=:
15996 link_all_deplibs_GCJ=yes
16000 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16001 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16003 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16005 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16006 hardcode_direct_GCJ=yes
16007 hardcode_shlibpath_var_GCJ=no
16011 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16012 hardcode_direct_GCJ=yes
16013 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16014 hardcode_libdir_separator_GCJ=:
16015 hardcode_shlibpath_var_GCJ=no
16019 hardcode_direct_GCJ=yes
16020 hardcode_shlibpath_var_GCJ=no
16021 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16022 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16023 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16024 export_dynamic_flag_spec_GCJ='${wl}-E'
16027 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16028 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16029 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16032 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16033 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16040 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16041 hardcode_minus_L_GCJ=yes
16042 allow_undefined_flag_GCJ=unsupported
16043 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'
16044 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16048 if test "$GCC" = yes; then
16049 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16050 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'
16052 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16053 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'
16055 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16056 hardcode_libdir_separator_GCJ=:
16059 osf4* | osf5*) # as osf3* with the addition of -msym flag
16060 if test "$GCC" = yes; then
16061 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16062 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'
16063 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16065 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16066 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'
16067 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~
16068 $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'
16070 # Both c and cxx compiler support -rpath directly
16071 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16073 hardcode_libdir_separator_GCJ=:
16077 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16078 hardcode_shlibpath_var_GCJ=no
16079 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16080 runpath_var=LD_RUN_PATH
16081 hardcode_runpath_var=yes
16085 no_undefined_flag_GCJ=' -z text'
16086 if test "$GCC" = yes; then
16087 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16088 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16089 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16091 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16092 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16093 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16095 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16096 hardcode_shlibpath_var_GCJ=no
16098 solaris2.[0-5] | solaris2.[0-5].*) ;;
16099 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16100 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16102 link_all_deplibs_GCJ=yes
16106 if test "x$host_vendor" = xsequent; then
16107 # Use $CC to link under sequent, because it throws in some extra .o
16108 # files that make .init and .fini sections work.
16109 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16111 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16113 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16114 hardcode_direct_GCJ=yes
16115 hardcode_minus_L_GCJ=yes
16116 hardcode_shlibpath_var_GCJ=no
16120 case $host_vendor in
16122 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16123 hardcode_direct_GCJ=yes # is this really true???
16126 ## LD is ld it makes a PLAMLIB
16127 ## CC just makes a GrossModule.
16128 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16129 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16130 hardcode_direct_GCJ=no
16133 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16134 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16137 runpath_var='LD_RUN_PATH'
16138 hardcode_shlibpath_var_GCJ=no
16142 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16143 hardcode_shlibpath_var_GCJ=no
16144 export_dynamic_flag_spec_GCJ='-Bexport'
16148 if test -d /usr/nec; then
16149 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16150 hardcode_shlibpath_var_GCJ=no
16151 runpath_var=LD_RUN_PATH
16152 hardcode_runpath_var=yes
16158 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16159 hardcode_direct_GCJ=yes
16160 hardcode_minus_L_GCJ=no
16161 hardcode_shlibpath_var_GCJ=no
16162 hardcode_runpath_var=yes
16163 runpath_var=LD_RUN_PATH
16166 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16167 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16168 if test "$GCC" = yes; then
16169 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16171 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16173 runpath_var='LD_RUN_PATH'
16174 hardcode_shlibpath_var_GCJ=no
16178 no_undefined_flag_GCJ=' -z text'
16179 # $CC -shared without GNU ld will not create a library from C++
16180 # object files and a static libstdc++, better avoid it by now
16181 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16182 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16183 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16184 hardcode_libdir_flag_spec_GCJ=
16185 hardcode_shlibpath_var_GCJ=no
16186 runpath_var='LD_RUN_PATH'
16190 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16191 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16192 hardcode_shlibpath_var_GCJ=no
16201 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16202 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16203 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16205 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16206 if test "$GCC" = yes; then
16207 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16211 # Do we need to explicitly link libc?
16213 case "x$archive_cmds_need_lc_GCJ" in
16215 # Assume -lc should be added
16216 archive_cmds_need_lc_GCJ=yes
16218 if test "$enable_shared" = yes && test "$GCC" = yes; then
16219 case $archive_cmds_GCJ in
16221 # FIXME: we may have to deal with multi-command sequences.
16224 # Test whether the compiler implicitly links with -lc since on some
16225 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16226 # to ld, don't add -lc before -lgcc.
16227 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16228 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16230 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16233 (eval $ac_compile) 2>&5
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); } 2>conftest.err; then
16239 libobjs=conftest.$ac_objext
16241 wl=$lt_prog_compiler_wl_GCJ
16247 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16248 allow_undefined_flag_GCJ=
16249 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16250 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }
16255 archive_cmds_need_lc_GCJ=no
16257 archive_cmds_need_lc_GCJ=yes
16259 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16261 cat conftest.err 1>&5
16264 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16265 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16272 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16273 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16274 hardcode_action_GCJ=
16275 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16276 test -n "$runpath_var GCJ" || \
16277 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16279 # We can hardcode non-existant directories.
16280 if test "$hardcode_direct_GCJ" != no &&
16281 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16282 # have to relink, otherwise we might link with an installed library
16283 # when we should be linking with a yet-to-be-installed one
16284 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16285 test "$hardcode_minus_L_GCJ" != no; then
16286 # Linking always hardcodes the temporary library directory.
16287 hardcode_action_GCJ=relink
16289 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16290 hardcode_action_GCJ=immediate
16293 # We cannot hardcode anything, or else we can only hardcode existing
16295 hardcode_action_GCJ=unsupported
16297 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16298 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16300 if test "$hardcode_action_GCJ" = relink; then
16301 # Fast installation is not supported
16302 enable_fast_install=no
16303 elif test "$shlibpath_overrides_runpath" = yes ||
16304 test "$enable_shared" = no; then
16305 # Fast installation is not necessary
16306 enable_fast_install=needless
16311 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16312 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16313 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16314 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16315 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16316 echo "$as_me:$LINENO: result: yes" >&5
16317 echo "${ECHO_T}yes" >&6
16319 # FIXME - insert some real tests, host_os isn't really good enough
16322 if test -n "$STRIP" ; then
16323 striplib="$STRIP -x"
16324 echo "$as_me:$LINENO: result: yes" >&5
16325 echo "${ECHO_T}yes" >&6
16327 echo "$as_me:$LINENO: result: no" >&5
16328 echo "${ECHO_T}no" >&6
16332 echo "$as_me:$LINENO: result: no" >&5
16333 echo "${ECHO_T}no" >&6
16338 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16339 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16340 library_names_spec=
16341 libname_spec='lib$name'
16345 postuninstall_cmds=
16349 shlibpath_overrides_runpath=unknown
16351 dynamic_linker="$host_os ld.so"
16352 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16353 if test "$GCC" = yes; then
16354 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16355 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16356 # if the path contains ";" then we assume it to be the separator
16357 # otherwise default to the standard path separator (i.e. ":") - it is
16358 # assumed that no part of a normal pathname contains ";" but that should
16359 # okay in the real world where ";" in dirpaths is itself problematic.
16360 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16362 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16365 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16367 need_lib_prefix=unknown
16368 hardcode_into_libs=no
16370 # when you set need_version to no, make sure it does not cause -set_version
16371 # flags to be left without arguments
16372 need_version=unknown
16377 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16378 shlibpath_var=LIBPATH
16380 # AIX 3 has no versioning support, so we append a major version to the name.
16381 soname_spec='${libname}${release}${shared_ext}$major'
16388 hardcode_into_libs=yes
16389 if test "$host_cpu" = ia64; then
16390 # AIX 5 supports IA64
16391 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16392 shlibpath_var=LD_LIBRARY_PATH
16394 # With GCC up to 2.95.x, collect2 would create an import file
16395 # for dependence libraries. The import file would start with
16396 # the line `#! .'. This would cause the generated library to
16397 # depend on `.', always an invalid library. This was fixed in
16398 # development snapshots of GCC prior to 3.0.
16400 aix4 | aix4.[01] | aix4.[01].*)
16401 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16403 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16406 can_build_shared=no
16410 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16411 # soname into executable. Probably we can add versioning support to
16412 # collect2, so additional links can be useful in future.
16413 if test "$aix_use_runtimelinking" = yes; then
16414 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16415 # instead of lib<name>.a to let people know that these are not
16416 # typical AIX shared libraries.
16417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16419 # We preserve .a as extension for shared libraries through AIX4.2
16420 # and later when we are not doing run time linking.
16421 library_names_spec='${libname}${release}.a $libname.a'
16422 soname_spec='${libname}${release}${shared_ext}$major'
16424 shlibpath_var=LIBPATH
16429 library_names_spec='$libname.ixlibrary $libname.a'
16430 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16431 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'
16435 library_names_spec='${libname}${shared_ext}'
16436 dynamic_linker="$host_os ld.so"
16437 shlibpath_var=LIBRARY_PATH
16443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16444 soname_spec='${libname}${release}${shared_ext}$major'
16445 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16446 shlibpath_var=LD_LIBRARY_PATH
16447 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16448 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16449 # the default ld.so.conf also contains /usr/contrib/lib and
16450 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16451 # libtool to hard-code these into programs
16454 cygwin* | mingw* | pw32*)
16455 version_type=windows
16460 case $GCC,$host_os in
16461 yes,cygwin* | yes,mingw* | yes,pw32*)
16462 library_names_spec='$libname.dll.a'
16463 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16464 postinstall_cmds='base_file=`basename \${file}`~
16465 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16466 dldir=$destdir/`dirname \$dlpath`~
16467 test -d \$dldir || mkdir -p \$dldir~
16468 $install_prog $dir/$dlname \$dldir/$dlname'
16469 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16470 dlpath=$dir/\$dldll~
16472 shlibpath_overrides_runpath=yes
16476 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16477 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16478 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16481 # MinGW DLLs use traditional 'lib' prefix
16482 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16483 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16484 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16485 # It is most probably a Windows format PATH printed by
16486 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16487 # path with ; separators, and with drive letters. We can handle the
16488 # drive letters (cygwin fileutils understands them), so leave them,
16489 # especially as we might pass files found there to a mingw objdump,
16490 # which wouldn't understand a cygwinified path. Ahh.
16491 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16493 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16497 # pw32 DLLs use 'pw' prefix rather than 'lib'
16498 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16504 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16507 dynamic_linker='Win32 ld.exe'
16508 # FIXME: first we should search . and the directory the executable is in
16512 darwin* | rhapsody*)
16513 dynamic_linker="$host_os dyld"
16514 version_type=darwin
16517 # FIXME: Relying on posixy $() will cause problems for
16518 # cross-compilation, but unfortunately the echo tests do not
16519 # yet detect zsh echo's removal of \ escapes.
16520 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16521 soname_spec='${libname}${release}${major}$shared_ext'
16522 shlibpath_overrides_runpath=yes
16523 shlibpath_var=DYLD_LIBRARY_PATH
16524 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16525 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16526 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16527 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"`
16529 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16537 soname_spec='${libname}${release}${shared_ext}$major'
16538 shlibpath_var=LD_LIBRARY_PATH
16546 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16547 version_type=freebsd-$objformat
16548 case $version_type in
16550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16555 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16559 shlibpath_var=LD_LIBRARY_PATH
16562 shlibpath_overrides_runpath=yes
16564 freebsd3.01* | freebsdelf3.01*)
16565 shlibpath_overrides_runpath=yes
16566 hardcode_into_libs=yes
16569 shlibpath_overrides_runpath=no
16570 hardcode_into_libs=yes
16579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16580 soname_spec='${libname}${release}${shared_ext}$major'
16581 shlibpath_var=LD_LIBRARY_PATH
16582 hardcode_into_libs=yes
16585 hpux9* | hpux10* | hpux11*)
16586 # Give a soname corresponding to the major version so that dld.sl refuses to
16587 # link against other versions.
16591 case "$host_cpu" in
16594 hardcode_into_libs=yes
16595 dynamic_linker="$host_os dld.so"
16596 shlibpath_var=LD_LIBRARY_PATH
16597 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16599 soname_spec='${libname}${release}${shared_ext}$major'
16600 if test "X$HPUX_IA64_MODE" = X32; then
16601 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16603 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16605 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16609 hardcode_into_libs=yes
16610 dynamic_linker="$host_os dld.sl"
16611 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16612 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16614 soname_spec='${libname}${release}${shared_ext}$major'
16615 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16616 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16620 dynamic_linker="$host_os dld.sl"
16621 shlibpath_var=SHLIB_PATH
16622 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16624 soname_spec='${libname}${release}${shared_ext}$major'
16627 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16628 postinstall_cmds='chmod 555 $lib'
16631 irix5* | irix6* | nonstopux*)
16633 nonstopux*) version_type=nonstopux ;;
16635 if test "$lt_cv_prog_gnu_ld" = yes; then
16643 soname_spec='${libname}${release}${shared_ext}$major'
16644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16646 irix5* | nonstopux*)
16647 libsuff= shlibsuff=
16650 case $LD in # libtool.m4 will add one of these switches to LD
16651 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16652 libsuff= shlibsuff= libmagic=32-bit;;
16653 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16654 libsuff=32 shlibsuff=N32 libmagic=N32;;
16655 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16656 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16657 *) libsuff= shlibsuff= libmagic=never-match;;
16661 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16662 shlibpath_overrides_runpath=no
16663 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16664 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16665 hardcode_into_libs=yes
16668 # No shared lib support for Linux oldld, aout, or coff.
16669 linux*oldld* | linux*aout* | linux*coff*)
16673 # This must be Linux ELF.
16678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16679 soname_spec='${libname}${release}${shared_ext}$major'
16680 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16681 shlibpath_var=LD_LIBRARY_PATH
16682 shlibpath_overrides_runpath=no
16683 # This implies no fast_install, which is unacceptable.
16684 # Some rework will be needed to allow for fast_install
16685 # before this can be enabled.
16686 hardcode_into_libs=yes
16688 # We used to test for /lib/ld.so.1 and disable shared libraries on
16689 # powerpc, because MkLinux only supported shared libraries with the
16690 # GNU dynamic linker. Since this was broken with cross compilers,
16691 # most powerpc-linux boxes support dynamic linking these days and
16692 # people can always --disable-shared, the test was removed, and we
16693 # assume the GNU/Linux dynamic linker is in use.
16694 dynamic_linker='GNU/Linux ld.so'
16701 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16703 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16704 dynamic_linker='NetBSD (a.out) ld.so'
16706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16707 soname_spec='${libname}${release}${shared_ext}$major'
16708 dynamic_linker='NetBSD ld.elf_so'
16710 shlibpath_var=LD_LIBRARY_PATH
16711 shlibpath_overrides_runpath=yes
16712 hardcode_into_libs=yes
16717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16718 shlibpath_var=LD_LIBRARY_PATH
16719 shlibpath_overrides_runpath=yes
16726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16727 soname_spec='${libname}${release}${shared_ext}$major'
16728 shlibpath_var=LD_LIBRARY_PATH
16729 shlibpath_overrides_runpath=yes
16736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16737 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16738 shlibpath_var=LD_LIBRARY_PATH
16739 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16741 openbsd2.[89] | openbsd2.[89].*)
16742 shlibpath_overrides_runpath=no
16745 shlibpath_overrides_runpath=yes
16749 shlibpath_overrides_runpath=yes
16754 libname_spec='$name'
16757 library_names_spec='$libname${shared_ext} $libname.a'
16758 dynamic_linker='OS/2 ld.exe'
16759 shlibpath_var=LIBPATH
16762 osf3* | osf4* | osf5*)
16766 soname_spec='${libname}${release}${shared_ext}$major'
16767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16768 shlibpath_var=LD_LIBRARY_PATH
16769 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16770 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16775 soname_spec='${libname}${release}${shared_ext}$major'
16776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16777 shlibpath_var=LD_LIBRARY_PATH
16784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16785 soname_spec='${libname}${release}${shared_ext}$major'
16786 shlibpath_var=LD_LIBRARY_PATH
16787 shlibpath_overrides_runpath=yes
16788 hardcode_into_libs=yes
16789 # ldd complains unless libraries are executable
16790 postinstall_cmds='chmod +x $lib'
16795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16796 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16797 shlibpath_var=LD_LIBRARY_PATH
16798 shlibpath_overrides_runpath=yes
16799 if test "$with_gnu_ld" = yes; then
16805 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16808 soname_spec='${libname}${release}${shared_ext}$major'
16809 shlibpath_var=LD_LIBRARY_PATH
16810 case $host_vendor in
16812 shlibpath_overrides_runpath=no
16814 export_dynamic_flag_spec='${wl}-Blargedynsym'
16815 runpath_var=LD_RUN_PATH
16823 shlibpath_overrides_runpath=no
16824 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16830 if test -d /usr/nec ;then
16832 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16833 soname_spec='$libname${shared_ext}.$major'
16834 shlibpath_var=LD_LIBRARY_PATH
16840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16841 soname_spec='${libname}${release}${shared_ext}$major'
16842 shlibpath_var=LD_LIBRARY_PATH
16849 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16850 echo "${ECHO_T}$dynamic_linker" >&6
16851 test "$dynamic_linker" = no && can_build_shared=no
16853 if test "x$enable_dlopen" != xyes; then
16854 enable_dlopen=unknown
16855 enable_dlopen_self=unknown
16856 enable_dlopen_self_static=unknown
16863 lt_cv_dlopen="load_add_on"
16865 lt_cv_dlopen_self=yes
16869 lt_cv_dlopen="LoadLibrary"
16874 lt_cv_dlopen="dlopen"
16879 # if libdl is installed we need to link against it
16880 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16881 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16882 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16883 echo $ECHO_N "(cached) $ECHO_C" >&6
16885 ac_check_lib_save_LIBS=$LIBS
16887 cat >conftest.$ac_ext <<_ACEOF
16888 #line $LINENO "configure"
16891 cat confdefs.h >>conftest.$ac_ext
16892 cat >>conftest.$ac_ext <<_ACEOF
16893 /* end confdefs.h. */
16895 /* Override any gcc2 internal prototype to avoid an error. */
16899 /* We use char because int might match the return type of a gcc2
16900 builtin and then its argument prototype would still apply. */
16910 rm -f conftest.$ac_objext conftest$ac_exeext
16911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16912 (eval $ac_link) 2>&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); } &&
16916 { ac_try='test -s conftest$ac_exeext'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; }; then
16922 ac_cv_lib_dl_dlopen=yes
16924 echo "$as_me: failed program was:" >&5
16925 sed 's/^/| /' conftest.$ac_ext >&5
16927 ac_cv_lib_dl_dlopen=no
16929 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16930 LIBS=$ac_check_lib_save_LIBS
16932 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16933 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16934 if test $ac_cv_lib_dl_dlopen = yes; then
16935 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16938 lt_cv_dlopen="dyld"
16940 lt_cv_dlopen_self=yes
16947 echo "$as_me:$LINENO: checking for shl_load" >&5
16948 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16949 if test "${ac_cv_func_shl_load+set}" = set; then
16950 echo $ECHO_N "(cached) $ECHO_C" >&6
16952 cat >conftest.$ac_ext <<_ACEOF
16953 #line $LINENO "configure"
16956 cat confdefs.h >>conftest.$ac_ext
16957 cat >>conftest.$ac_ext <<_ACEOF
16958 /* end confdefs.h. */
16959 /* System header to define __stub macros and hopefully few prototypes,
16960 which can conflict with char shl_load (); below.
16961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16962 <limits.h> exists even on freestanding compilers. */
16964 # include <limits.h>
16966 # include <assert.h>
16968 /* Override any gcc2 internal prototype to avoid an error. */
16973 /* We use char because int might match the return type of a gcc2
16974 builtin and then its argument prototype would still apply. */
16976 /* The GNU C library defines this for functions which it implements
16977 to always fail with ENOSYS. Some functions are actually named
16978 something starting with __ and the normal name is an alias. */
16979 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16982 char (*f) () = shl_load;
16991 return f != shl_load;
16996 rm -f conftest.$ac_objext conftest$ac_exeext
16997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16998 (eval $ac_link) 2>&5
17000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17001 (exit $ac_status); } &&
17002 { ac_try='test -s conftest$ac_exeext'
17003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17004 (eval $ac_try) 2>&5
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); }; }; then
17008 ac_cv_func_shl_load=yes
17010 echo "$as_me: failed program was:" >&5
17011 sed 's/^/| /' conftest.$ac_ext >&5
17013 ac_cv_func_shl_load=no
17015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17017 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17018 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17019 if test $ac_cv_func_shl_load = yes; then
17020 lt_cv_dlopen="shl_load"
17022 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17023 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17024 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17025 echo $ECHO_N "(cached) $ECHO_C" >&6
17027 ac_check_lib_save_LIBS=$LIBS
17029 cat >conftest.$ac_ext <<_ACEOF
17030 #line $LINENO "configure"
17033 cat confdefs.h >>conftest.$ac_ext
17034 cat >>conftest.$ac_ext <<_ACEOF
17035 /* end confdefs.h. */
17037 /* Override any gcc2 internal prototype to avoid an error. */
17041 /* We use char because int might match the return type of a gcc2
17042 builtin and then its argument prototype would still apply. */
17052 rm -f conftest.$ac_objext conftest$ac_exeext
17053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17054 (eval $ac_link) 2>&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); } &&
17058 { ac_try='test -s conftest$ac_exeext'
17059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17060 (eval $ac_try) 2>&5
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); }; }; then
17064 ac_cv_lib_dld_shl_load=yes
17066 echo "$as_me: failed program was:" >&5
17067 sed 's/^/| /' conftest.$ac_ext >&5
17069 ac_cv_lib_dld_shl_load=no
17071 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17072 LIBS=$ac_check_lib_save_LIBS
17074 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17075 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17076 if test $ac_cv_lib_dld_shl_load = yes; then
17077 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17079 echo "$as_me:$LINENO: checking for dlopen" >&5
17080 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17081 if test "${ac_cv_func_dlopen+set}" = set; then
17082 echo $ECHO_N "(cached) $ECHO_C" >&6
17084 cat >conftest.$ac_ext <<_ACEOF
17085 #line $LINENO "configure"
17088 cat confdefs.h >>conftest.$ac_ext
17089 cat >>conftest.$ac_ext <<_ACEOF
17090 /* end confdefs.h. */
17091 /* System header to define __stub macros and hopefully few prototypes,
17092 which can conflict with char dlopen (); below.
17093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17094 <limits.h> exists even on freestanding compilers. */
17096 # include <limits.h>
17098 # include <assert.h>
17100 /* Override any gcc2 internal prototype to avoid an error. */
17105 /* We use char because int might match the return type of a gcc2
17106 builtin and then its argument prototype would still apply. */
17108 /* The GNU C library defines this for functions which it implements
17109 to always fail with ENOSYS. Some functions are actually named
17110 something starting with __ and the normal name is an alias. */
17111 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17114 char (*f) () = dlopen;
17123 return f != dlopen;
17128 rm -f conftest.$ac_objext conftest$ac_exeext
17129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17130 (eval $ac_link) 2>&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); } &&
17134 { ac_try='test -s conftest$ac_exeext'
17135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17136 (eval $ac_try) 2>&5
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); }; }; then
17140 ac_cv_func_dlopen=yes
17142 echo "$as_me: failed program was:" >&5
17143 sed 's/^/| /' conftest.$ac_ext >&5
17145 ac_cv_func_dlopen=no
17147 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17149 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17150 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17151 if test $ac_cv_func_dlopen = yes; then
17152 lt_cv_dlopen="dlopen"
17154 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17155 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17156 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17157 echo $ECHO_N "(cached) $ECHO_C" >&6
17159 ac_check_lib_save_LIBS=$LIBS
17161 cat >conftest.$ac_ext <<_ACEOF
17162 #line $LINENO "configure"
17165 cat confdefs.h >>conftest.$ac_ext
17166 cat >>conftest.$ac_ext <<_ACEOF
17167 /* end confdefs.h. */
17169 /* Override any gcc2 internal prototype to avoid an error. */
17173 /* We use char because int might match the return type of a gcc2
17174 builtin and then its argument prototype would still apply. */
17184 rm -f conftest.$ac_objext conftest$ac_exeext
17185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17186 (eval $ac_link) 2>&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } &&
17190 { ac_try='test -s conftest$ac_exeext'
17191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17192 (eval $ac_try) 2>&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); }; }; then
17196 ac_cv_lib_dl_dlopen=yes
17198 echo "$as_me: failed program was:" >&5
17199 sed 's/^/| /' conftest.$ac_ext >&5
17201 ac_cv_lib_dl_dlopen=no
17203 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17204 LIBS=$ac_check_lib_save_LIBS
17206 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17207 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17208 if test $ac_cv_lib_dl_dlopen = yes; then
17209 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17211 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17212 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17213 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17214 echo $ECHO_N "(cached) $ECHO_C" >&6
17216 ac_check_lib_save_LIBS=$LIBS
17217 LIBS="-lsvld $LIBS"
17218 cat >conftest.$ac_ext <<_ACEOF
17219 #line $LINENO "configure"
17222 cat confdefs.h >>conftest.$ac_ext
17223 cat >>conftest.$ac_ext <<_ACEOF
17224 /* end confdefs.h. */
17226 /* Override any gcc2 internal prototype to avoid an error. */
17230 /* We use char because int might match the return type of a gcc2
17231 builtin and then its argument prototype would still apply. */
17241 rm -f conftest.$ac_objext conftest$ac_exeext
17242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17243 (eval $ac_link) 2>&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); } &&
17247 { ac_try='test -s conftest$ac_exeext'
17248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17249 (eval $ac_try) 2>&5
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); }; }; then
17253 ac_cv_lib_svld_dlopen=yes
17255 echo "$as_me: failed program was:" >&5
17256 sed 's/^/| /' conftest.$ac_ext >&5
17258 ac_cv_lib_svld_dlopen=no
17260 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17261 LIBS=$ac_check_lib_save_LIBS
17263 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17264 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17265 if test $ac_cv_lib_svld_dlopen = yes; then
17266 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17268 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17269 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17270 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17271 echo $ECHO_N "(cached) $ECHO_C" >&6
17273 ac_check_lib_save_LIBS=$LIBS
17275 cat >conftest.$ac_ext <<_ACEOF
17276 #line $LINENO "configure"
17279 cat confdefs.h >>conftest.$ac_ext
17280 cat >>conftest.$ac_ext <<_ACEOF
17281 /* end confdefs.h. */
17283 /* Override any gcc2 internal prototype to avoid an error. */
17287 /* We use char because int might match the return type of a gcc2
17288 builtin and then its argument prototype would still apply. */
17298 rm -f conftest.$ac_objext conftest$ac_exeext
17299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17300 (eval $ac_link) 2>&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); } &&
17304 { ac_try='test -s conftest$ac_exeext'
17305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17306 (eval $ac_try) 2>&5
17308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17309 (exit $ac_status); }; }; then
17310 ac_cv_lib_dld_dld_link=yes
17312 echo "$as_me: failed program was:" >&5
17313 sed 's/^/| /' conftest.$ac_ext >&5
17315 ac_cv_lib_dld_dld_link=no
17317 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17318 LIBS=$ac_check_lib_save_LIBS
17320 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17321 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17322 if test $ac_cv_lib_dld_dld_link = yes; then
17323 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17344 if test "x$lt_cv_dlopen" != xno; then
17350 case $lt_cv_dlopen in
17352 save_CPPFLAGS="$CPPFLAGS"
17353 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17355 save_LDFLAGS="$LDFLAGS"
17356 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17359 LIBS="$lt_cv_dlopen_libs $LIBS"
17361 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17362 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17363 if test "${lt_cv_dlopen_self+set}" = set; then
17364 echo $ECHO_N "(cached) $ECHO_C" >&6
17366 if test "$cross_compiling" = yes; then :
17367 lt_cv_dlopen_self=cross
17369 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17370 lt_status=$lt_dlunknown
17371 cat > conftest.$ac_ext <<EOF
17372 #line 17372 "configure"
17373 #include "confdefs.h"
17382 # define LT_DLGLOBAL RTLD_GLOBAL
17385 # define LT_DLGLOBAL DL_GLOBAL
17387 # define LT_DLGLOBAL 0
17391 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17392 find out it does not work in some platform. */
17393 #ifndef LT_DLLAZY_OR_NOW
17395 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17398 # define LT_DLLAZY_OR_NOW DL_LAZY
17401 # define LT_DLLAZY_OR_NOW RTLD_NOW
17404 # define LT_DLLAZY_OR_NOW DL_NOW
17406 # define LT_DLLAZY_OR_NOW 0
17414 extern "C" void exit (int);
17417 void fnord() { int i=42;}
17420 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17421 int status = $lt_dlunknown;
17425 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17426 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17427 /* dlclose (self); */
17433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17434 (eval $ac_link) 2>&5
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17438 (./conftest; exit; ) 2>/dev/null
17440 case x$lt_status in
17441 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17442 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17443 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17446 # compilation failed
17447 lt_cv_dlopen_self=no
17454 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17455 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17457 if test "x$lt_cv_dlopen_self" = xyes; then
17458 LDFLAGS="$LDFLAGS $link_static_flag"
17459 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17460 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17461 if test "${lt_cv_dlopen_self_static+set}" = set; then
17462 echo $ECHO_N "(cached) $ECHO_C" >&6
17464 if test "$cross_compiling" = yes; then :
17465 lt_cv_dlopen_self_static=cross
17467 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17468 lt_status=$lt_dlunknown
17469 cat > conftest.$ac_ext <<EOF
17470 #line 17470 "configure"
17471 #include "confdefs.h"
17480 # define LT_DLGLOBAL RTLD_GLOBAL
17483 # define LT_DLGLOBAL DL_GLOBAL
17485 # define LT_DLGLOBAL 0
17489 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17490 find out it does not work in some platform. */
17491 #ifndef LT_DLLAZY_OR_NOW
17493 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17496 # define LT_DLLAZY_OR_NOW DL_LAZY
17499 # define LT_DLLAZY_OR_NOW RTLD_NOW
17502 # define LT_DLLAZY_OR_NOW DL_NOW
17504 # define LT_DLLAZY_OR_NOW 0
17512 extern "C" void exit (int);
17515 void fnord() { int i=42;}
17518 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17519 int status = $lt_dlunknown;
17523 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17524 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17525 /* dlclose (self); */
17531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17532 (eval $ac_link) 2>&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17536 (./conftest; exit; ) 2>/dev/null
17538 case x$lt_status in
17539 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17540 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17541 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17544 # compilation failed
17545 lt_cv_dlopen_self_static=no
17552 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17553 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17556 CPPFLAGS="$save_CPPFLAGS"
17557 LDFLAGS="$save_LDFLAGS"
17562 case $lt_cv_dlopen_self in
17563 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17564 *) enable_dlopen_self=unknown ;;
17567 case $lt_cv_dlopen_self_static in
17568 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17569 *) enable_dlopen_self_static=unknown ;;
17574 # The else clause should only fire when bootstrapping the
17575 # libtool distribution, otherwise you forgot to ship ltmain.sh
17576 # with your package, and you will get complaints that there are
17577 # no rules to generate ltmain.sh.
17578 if test -f "$ltmain"; then
17579 # See if we are running on zsh, and set the options which allow our commands through
17580 # without removal of \ escapes.
17581 if test -n "${ZSH_VERSION+set}" ; then
17582 setopt NO_GLOB_SUBST
17584 # Now quote all the things that may contain metacharacters while being
17585 # careful not to overquote the AC_SUBSTed values. We take copies of the
17586 # variables and quote the copies for generation of the libtool script.
17587 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17588 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17589 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17590 deplibs_check_method reload_flag reload_cmds need_locks \
17591 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17592 lt_cv_sys_global_symbol_to_c_name_address \
17593 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17594 old_postinstall_cmds old_postuninstall_cmds \
17598 lt_prog_compiler_wl_GCJ \
17599 lt_prog_compiler_pic_GCJ \
17600 lt_prog_compiler_static_GCJ \
17601 lt_prog_compiler_no_builtin_flag_GCJ \
17602 export_dynamic_flag_spec_GCJ \
17603 thread_safe_flag_spec_GCJ \
17604 whole_archive_flag_spec_GCJ \
17605 enable_shared_with_static_runtimes_GCJ \
17606 old_archive_cmds_GCJ \
17607 old_archive_from_new_cmds_GCJ \
17608 predep_objects_GCJ \
17609 postdep_objects_GCJ \
17612 compiler_lib_search_path_GCJ \
17614 archive_expsym_cmds_GCJ \
17615 postinstall_cmds_GCJ \
17616 postuninstall_cmds_GCJ \
17617 old_archive_from_expsyms_cmds_GCJ \
17618 allow_undefined_flag_GCJ \
17619 no_undefined_flag_GCJ \
17620 export_symbols_cmds_GCJ \
17621 hardcode_libdir_flag_spec_GCJ \
17622 hardcode_libdir_flag_spec_ld_GCJ \
17623 hardcode_libdir_separator_GCJ \
17624 hardcode_automatic_GCJ \
17626 module_expsym_cmds_GCJ \
17627 lt_cv_prog_compiler_c_o_GCJ \
17628 exclude_expsyms_GCJ \
17629 include_expsyms_GCJ; do
17632 old_archive_cmds_GCJ | \
17633 old_archive_from_new_cmds_GCJ | \
17634 archive_cmds_GCJ | \
17635 archive_expsym_cmds_GCJ | \
17636 module_cmds_GCJ | \
17637 module_expsym_cmds_GCJ | \
17638 old_archive_from_expsyms_cmds_GCJ | \
17639 export_symbols_cmds_GCJ | \
17640 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17641 postinstall_cmds | postuninstall_cmds | \
17642 old_postinstall_cmds | old_postuninstall_cmds | \
17643 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17644 # Double-quote double-evaled strings.
17645 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17648 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17654 *'\$0 --fallback-echo"')
17655 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17661 cat <<__EOF__ >> "$cfgfile"
17662 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17664 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17666 # Shell to use when invoking shell scripts.
17669 # Whether or not to build shared libraries.
17670 build_libtool_libs=$enable_shared
17672 # Whether or not to build static libraries.
17673 build_old_libs=$enable_static
17675 # Whether or not to add -lc for building shared libraries.
17676 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17678 # Whether or not to disallow shared libs when runtime libs are static
17679 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17681 # Whether or not to optimize for fast installation.
17682 fast_install=$enable_fast_install
17685 host_alias=$host_alias
17688 # An echo program that does not interpret backslashes.
17693 AR_FLAGS=$lt_AR_FLAGS
17698 # A language-specific compiler.
17699 CC=$lt_compiler_GCJ
17701 # Is the compiler the GNU C compiler?
17707 # The linker used to build libraries.
17710 # Whether we need hard or soft links.
17713 # A BSD-compatible nm program.
17716 # A symbol stripping program
17719 # Used to examine libraries when file_magic_cmd begins "file"
17720 MAGIC_CMD=$MAGIC_CMD
17722 # Used on cygwin: DLL creation program.
17725 # Used on cygwin: object dumper.
17728 # Used on cygwin: assembler.
17731 # The name of the directory that contains temporary libtool files.
17734 # How to create reloadable object files.
17735 reload_flag=$lt_reload_flag
17736 reload_cmds=$lt_reload_cmds
17738 # How to pass a linker flag through the compiler.
17739 wl=$lt_lt_prog_compiler_wl_GCJ
17741 # Object file suffix (normally "o").
17742 objext="$ac_objext"
17744 # Old archive suffix (normally "a").
17747 # Shared library suffix (normally ".so").
17750 # Executable file suffix (normally "").
17753 # Additional compiler flags for building library objects.
17754 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17757 # What is the maximum length of a command?
17758 max_cmd_len=$lt_cv_sys_max_cmd_len
17760 # Does compiler simultaneously support -c and -o options?
17761 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17763 # Must we lock files when doing compilation ?
17764 need_locks=$lt_need_locks
17766 # Do we need the lib prefix for modules?
17767 need_lib_prefix=$need_lib_prefix
17769 # Do we need a version for libraries?
17770 need_version=$need_version
17772 # Whether dlopen is supported.
17773 dlopen_support=$enable_dlopen
17775 # Whether dlopen of programs is supported.
17776 dlopen_self=$enable_dlopen_self
17778 # Whether dlopen of statically linked programs is supported.
17779 dlopen_self_static=$enable_dlopen_self_static
17781 # Compiler flag to prevent dynamic linking.
17782 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17784 # Compiler flag to turn off builtin functions.
17785 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17787 # Compiler flag to allow reflexive dlopens.
17788 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17790 # Compiler flag to generate shared objects directly from archives.
17791 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17793 # Compiler flag to generate thread-safe objects.
17794 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17796 # Library versioning type.
17797 version_type=$version_type
17799 # Format of library name prefix.
17800 libname_spec=$lt_libname_spec
17802 # List of archive names. First name is the real one, the rest are links.
17803 # The last name is the one that the linker finds with -lNAME.
17804 library_names_spec=$lt_library_names_spec
17806 # The coded name of the library, if different from the real name.
17807 soname_spec=$lt_soname_spec
17809 # Commands used to build and install an old-style archive.
17811 old_archive_cmds=$lt_old_archive_cmds_GCJ
17812 old_postinstall_cmds=$lt_old_postinstall_cmds
17813 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17815 # Create an old-style archive from a shared archive.
17816 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17818 # Create a temporary old-style archive to link instead of a shared archive.
17819 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17821 # Commands used to build and install a shared archive.
17822 archive_cmds=$lt_archive_cmds_GCJ
17823 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17824 postinstall_cmds=$lt_postinstall_cmds
17825 postuninstall_cmds=$lt_postuninstall_cmds
17827 # Commands used to build a loadable module (assumed same as above if empty)
17828 module_cmds=$lt_module_cmds_GCJ
17829 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17831 # Commands to strip libraries.
17832 old_striplib=$lt_old_striplib
17833 striplib=$lt_striplib
17835 # Dependencies to place before the objects being linked to create a
17837 predep_objects=$lt_predep_objects_GCJ
17839 # Dependencies to place after the objects being linked to create a
17841 postdep_objects=$lt_postdep_objects_GCJ
17843 # Dependencies to place before the objects being linked to create a
17845 predeps=$lt_predeps_GCJ
17847 # Dependencies to place after the objects being linked to create a
17849 postdeps=$lt_postdeps_GCJ
17851 # The library search path used internally by the compiler when linking
17852 # a shared library.
17853 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17855 # Method to check whether dependent libraries are shared objects.
17856 deplibs_check_method=$lt_deplibs_check_method
17858 # Command to use when deplibs_check_method == file_magic.
17859 file_magic_cmd=$lt_file_magic_cmd
17861 # Flag that allows shared libraries with undefined symbols to be built.
17862 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17864 # Flag that forces no undefined symbols.
17865 no_undefined_flag=$lt_no_undefined_flag_GCJ
17867 # Commands used to finish a libtool library installation in a directory.
17868 finish_cmds=$lt_finish_cmds
17870 # Same as above, but a single script fragment to be evaled but not shown.
17871 finish_eval=$lt_finish_eval
17873 # Take the output of nm and produce a listing of raw symbols and C names.
17874 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17876 # Transform the output of nm in a proper C declaration
17877 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17879 # Transform the output of nm in a C name address pair
17880 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17882 # This is the shared library runtime path variable.
17883 runpath_var=$runpath_var
17885 # This is the shared library path variable.
17886 shlibpath_var=$shlibpath_var
17888 # Is shlibpath searched before the hard-coded library search path?
17889 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17891 # How to hardcode a shared library path into an executable.
17892 hardcode_action=$hardcode_action_GCJ
17894 # Whether we should hardcode library paths into libraries.
17895 hardcode_into_libs=$hardcode_into_libs
17897 # Flag to hardcode \$libdir into a binary during linking.
17898 # This must work even if \$libdir does not exist.
17899 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17901 # If ld is used when linking, flag to hardcode \$libdir into
17902 # a binary during linking. This must work even if \$libdir does
17904 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17906 # Whether we need a single -rpath flag with a separated argument.
17907 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17909 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17910 # resulting binary.
17911 hardcode_direct=$hardcode_direct_GCJ
17913 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17914 # resulting binary.
17915 hardcode_minus_L=$hardcode_minus_L_GCJ
17917 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17918 # the resulting binary.
17919 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17921 # Set to yes if building a shared library automatically hardcodes DIR into the library
17922 # and all subsequent libraries and executables linked against it.
17923 hardcode_automatic=$hardcode_automatic_GCJ
17925 # Variables whose values should be saved in libtool wrapper scripts and
17926 # restored at relink time.
17927 variables_saved_for_relink="$variables_saved_for_relink"
17929 # Whether libtool must link a program against all its dependency libraries.
17930 link_all_deplibs=$link_all_deplibs_GCJ
17932 # Compile-time system search path for libraries
17933 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17935 # Run-time system search path for libraries
17936 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17938 # Fix the shell variable \$srcfile for the compiler.
17939 fix_srcfile_path="$fix_srcfile_path_GCJ"
17941 # Set to yes if exported symbols are required.
17942 always_export_symbols=$always_export_symbols_GCJ
17944 # The commands to list exported symbols.
17945 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17947 # The commands to extract the exported symbol list from a shared archive.
17948 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17950 # Symbols that should not be listed in the preloaded symbols.
17951 exclude_expsyms=$lt_exclude_expsyms_GCJ
17953 # Symbols that must always be exported.
17954 include_expsyms=$lt_include_expsyms_GCJ
17956 # ### END LIBTOOL TAG CONFIG: $tagname
17962 # If there is no Makefile yet, we rely on a make rule to execute
17963 # `config.status --recheck' to rerun these tests and create the
17964 # libtool script then.
17965 test -f Makefile && make "$ltmain"
17970 ac_cpp='$CPP $CPPFLAGS'
17971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17986 # Source file extension for RC test sources.
17989 # Object file extension for compiled RC test sources.
17993 # Code to be used in simple compile tests
17994 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17996 # Code to be used in simple link tests
17997 lt_simple_link_test_code="$lt_simple_compile_test_code"
17999 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18001 # If no C compiler was specified, use CC.
18004 # Allow CC to be a program name with arguments.
18008 # Allow CC to be a program name with arguments.
18013 lt_cv_prog_compiler_c_o_RC=yes
18015 # The else clause should only fire when bootstrapping the
18016 # libtool distribution, otherwise you forgot to ship ltmain.sh
18017 # with your package, and you will get complaints that there are
18018 # no rules to generate ltmain.sh.
18019 if test -f "$ltmain"; then
18020 # See if we are running on zsh, and set the options which allow our commands through
18021 # without removal of \ escapes.
18022 if test -n "${ZSH_VERSION+set}" ; then
18023 setopt NO_GLOB_SUBST
18025 # Now quote all the things that may contain metacharacters while being
18026 # careful not to overquote the AC_SUBSTed values. We take copies of the
18027 # variables and quote the copies for generation of the libtool script.
18028 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18029 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18030 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18031 deplibs_check_method reload_flag reload_cmds need_locks \
18032 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18033 lt_cv_sys_global_symbol_to_c_name_address \
18034 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18035 old_postinstall_cmds old_postuninstall_cmds \
18039 lt_prog_compiler_wl_RC \
18040 lt_prog_compiler_pic_RC \
18041 lt_prog_compiler_static_RC \
18042 lt_prog_compiler_no_builtin_flag_RC \
18043 export_dynamic_flag_spec_RC \
18044 thread_safe_flag_spec_RC \
18045 whole_archive_flag_spec_RC \
18046 enable_shared_with_static_runtimes_RC \
18047 old_archive_cmds_RC \
18048 old_archive_from_new_cmds_RC \
18049 predep_objects_RC \
18050 postdep_objects_RC \
18053 compiler_lib_search_path_RC \
18055 archive_expsym_cmds_RC \
18056 postinstall_cmds_RC \
18057 postuninstall_cmds_RC \
18058 old_archive_from_expsyms_cmds_RC \
18059 allow_undefined_flag_RC \
18060 no_undefined_flag_RC \
18061 export_symbols_cmds_RC \
18062 hardcode_libdir_flag_spec_RC \
18063 hardcode_libdir_flag_spec_ld_RC \
18064 hardcode_libdir_separator_RC \
18065 hardcode_automatic_RC \
18067 module_expsym_cmds_RC \
18068 lt_cv_prog_compiler_c_o_RC \
18069 exclude_expsyms_RC \
18070 include_expsyms_RC; do
18073 old_archive_cmds_RC | \
18074 old_archive_from_new_cmds_RC | \
18075 archive_cmds_RC | \
18076 archive_expsym_cmds_RC | \
18078 module_expsym_cmds_RC | \
18079 old_archive_from_expsyms_cmds_RC | \
18080 export_symbols_cmds_RC | \
18081 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18082 postinstall_cmds | postuninstall_cmds | \
18083 old_postinstall_cmds | old_postuninstall_cmds | \
18084 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18085 # Double-quote double-evaled strings.
18086 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18089 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18095 *'\$0 --fallback-echo"')
18096 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18102 cat <<__EOF__ >> "$cfgfile"
18103 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18105 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18107 # Shell to use when invoking shell scripts.
18110 # Whether or not to build shared libraries.
18111 build_libtool_libs=$enable_shared
18113 # Whether or not to build static libraries.
18114 build_old_libs=$enable_static
18116 # Whether or not to add -lc for building shared libraries.
18117 build_libtool_need_lc=$archive_cmds_need_lc_RC
18119 # Whether or not to disallow shared libs when runtime libs are static
18120 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18122 # Whether or not to optimize for fast installation.
18123 fast_install=$enable_fast_install
18126 host_alias=$host_alias
18129 # An echo program that does not interpret backslashes.
18134 AR_FLAGS=$lt_AR_FLAGS
18139 # A language-specific compiler.
18142 # Is the compiler the GNU C compiler?
18148 # The linker used to build libraries.
18151 # Whether we need hard or soft links.
18154 # A BSD-compatible nm program.
18157 # A symbol stripping program
18160 # Used to examine libraries when file_magic_cmd begins "file"
18161 MAGIC_CMD=$MAGIC_CMD
18163 # Used on cygwin: DLL creation program.
18166 # Used on cygwin: object dumper.
18169 # Used on cygwin: assembler.
18172 # The name of the directory that contains temporary libtool files.
18175 # How to create reloadable object files.
18176 reload_flag=$lt_reload_flag
18177 reload_cmds=$lt_reload_cmds
18179 # How to pass a linker flag through the compiler.
18180 wl=$lt_lt_prog_compiler_wl_RC
18182 # Object file suffix (normally "o").
18183 objext="$ac_objext"
18185 # Old archive suffix (normally "a").
18188 # Shared library suffix (normally ".so").
18191 # Executable file suffix (normally "").
18194 # Additional compiler flags for building library objects.
18195 pic_flag=$lt_lt_prog_compiler_pic_RC
18198 # What is the maximum length of a command?
18199 max_cmd_len=$lt_cv_sys_max_cmd_len
18201 # Does compiler simultaneously support -c and -o options?
18202 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18204 # Must we lock files when doing compilation ?
18205 need_locks=$lt_need_locks
18207 # Do we need the lib prefix for modules?
18208 need_lib_prefix=$need_lib_prefix
18210 # Do we need a version for libraries?
18211 need_version=$need_version
18213 # Whether dlopen is supported.
18214 dlopen_support=$enable_dlopen
18216 # Whether dlopen of programs is supported.
18217 dlopen_self=$enable_dlopen_self
18219 # Whether dlopen of statically linked programs is supported.
18220 dlopen_self_static=$enable_dlopen_self_static
18222 # Compiler flag to prevent dynamic linking.
18223 link_static_flag=$lt_lt_prog_compiler_static_RC
18225 # Compiler flag to turn off builtin functions.
18226 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18228 # Compiler flag to allow reflexive dlopens.
18229 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18231 # Compiler flag to generate shared objects directly from archives.
18232 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18234 # Compiler flag to generate thread-safe objects.
18235 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18237 # Library versioning type.
18238 version_type=$version_type
18240 # Format of library name prefix.
18241 libname_spec=$lt_libname_spec
18243 # List of archive names. First name is the real one, the rest are links.
18244 # The last name is the one that the linker finds with -lNAME.
18245 library_names_spec=$lt_library_names_spec
18247 # The coded name of the library, if different from the real name.
18248 soname_spec=$lt_soname_spec
18250 # Commands used to build and install an old-style archive.
18252 old_archive_cmds=$lt_old_archive_cmds_RC
18253 old_postinstall_cmds=$lt_old_postinstall_cmds
18254 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18256 # Create an old-style archive from a shared archive.
18257 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18259 # Create a temporary old-style archive to link instead of a shared archive.
18260 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18262 # Commands used to build and install a shared archive.
18263 archive_cmds=$lt_archive_cmds_RC
18264 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18265 postinstall_cmds=$lt_postinstall_cmds
18266 postuninstall_cmds=$lt_postuninstall_cmds
18268 # Commands used to build a loadable module (assumed same as above if empty)
18269 module_cmds=$lt_module_cmds_RC
18270 module_expsym_cmds=$lt_module_expsym_cmds_RC
18272 # Commands to strip libraries.
18273 old_striplib=$lt_old_striplib
18274 striplib=$lt_striplib
18276 # Dependencies to place before the objects being linked to create a
18278 predep_objects=$lt_predep_objects_RC
18280 # Dependencies to place after the objects being linked to create a
18282 postdep_objects=$lt_postdep_objects_RC
18284 # Dependencies to place before the objects being linked to create a
18286 predeps=$lt_predeps_RC
18288 # Dependencies to place after the objects being linked to create a
18290 postdeps=$lt_postdeps_RC
18292 # The library search path used internally by the compiler when linking
18293 # a shared library.
18294 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18296 # Method to check whether dependent libraries are shared objects.
18297 deplibs_check_method=$lt_deplibs_check_method
18299 # Command to use when deplibs_check_method == file_magic.
18300 file_magic_cmd=$lt_file_magic_cmd
18302 # Flag that allows shared libraries with undefined symbols to be built.
18303 allow_undefined_flag=$lt_allow_undefined_flag_RC
18305 # Flag that forces no undefined symbols.
18306 no_undefined_flag=$lt_no_undefined_flag_RC
18308 # Commands used to finish a libtool library installation in a directory.
18309 finish_cmds=$lt_finish_cmds
18311 # Same as above, but a single script fragment to be evaled but not shown.
18312 finish_eval=$lt_finish_eval
18314 # Take the output of nm and produce a listing of raw symbols and C names.
18315 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18317 # Transform the output of nm in a proper C declaration
18318 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18320 # Transform the output of nm in a C name address pair
18321 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18323 # This is the shared library runtime path variable.
18324 runpath_var=$runpath_var
18326 # This is the shared library path variable.
18327 shlibpath_var=$shlibpath_var
18329 # Is shlibpath searched before the hard-coded library search path?
18330 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18332 # How to hardcode a shared library path into an executable.
18333 hardcode_action=$hardcode_action_RC
18335 # Whether we should hardcode library paths into libraries.
18336 hardcode_into_libs=$hardcode_into_libs
18338 # Flag to hardcode \$libdir into a binary during linking.
18339 # This must work even if \$libdir does not exist.
18340 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18342 # If ld is used when linking, flag to hardcode \$libdir into
18343 # a binary during linking. This must work even if \$libdir does
18345 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18347 # Whether we need a single -rpath flag with a separated argument.
18348 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18350 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18351 # resulting binary.
18352 hardcode_direct=$hardcode_direct_RC
18354 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18355 # resulting binary.
18356 hardcode_minus_L=$hardcode_minus_L_RC
18358 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18359 # the resulting binary.
18360 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18362 # Set to yes if building a shared library automatically hardcodes DIR into the library
18363 # and all subsequent libraries and executables linked against it.
18364 hardcode_automatic=$hardcode_automatic_RC
18366 # Variables whose values should be saved in libtool wrapper scripts and
18367 # restored at relink time.
18368 variables_saved_for_relink="$variables_saved_for_relink"
18370 # Whether libtool must link a program against all its dependency libraries.
18371 link_all_deplibs=$link_all_deplibs_RC
18373 # Compile-time system search path for libraries
18374 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18376 # Run-time system search path for libraries
18377 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18379 # Fix the shell variable \$srcfile for the compiler.
18380 fix_srcfile_path="$fix_srcfile_path_RC"
18382 # Set to yes if exported symbols are required.
18383 always_export_symbols=$always_export_symbols_RC
18385 # The commands to list exported symbols.
18386 export_symbols_cmds=$lt_export_symbols_cmds_RC
18388 # The commands to extract the exported symbol list from a shared archive.
18389 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18391 # Symbols that should not be listed in the preloaded symbols.
18392 exclude_expsyms=$lt_exclude_expsyms_RC
18394 # Symbols that must always be exported.
18395 include_expsyms=$lt_include_expsyms_RC
18397 # ### END LIBTOOL TAG CONFIG: $tagname
18403 # If there is no Makefile yet, we rely on a make rule to execute
18404 # `config.status --recheck' to rerun these tests and create the
18405 # libtool script then.
18406 test -f Makefile && make "$ltmain"
18411 ac_cpp='$CPP $CPPFLAGS'
18412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18421 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18422 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18423 { (exit 1); exit 1; }; }
18427 # Append the new tag name to the list of available tags.
18428 if test -n "$tagname" ; then
18429 available_tags="$available_tags $tagname"
18435 # Now substitute the updated list of available tags.
18436 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18437 mv "${ofile}T" "$ofile"
18441 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18442 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18443 { (exit 1); exit 1; }; }
18449 # This can be used to rebuild libtool when needed
18450 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18452 # Always use our own libtool.
18453 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18455 # Prevent multiple expansion
18477 # Extract the first word of "pwd", so it can be a program name with args.
18478 set dummy pwd; ac_word=$2
18479 echo "$as_me:$LINENO: checking for $ac_word" >&5
18480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18481 if test "${ac_cv_path_RPWD+set}" = set; then
18482 echo $ECHO_N "(cached) $ECHO_C" >&6
18486 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18490 for as_dir in $PATH
18493 test -z "$as_dir" && as_dir=.
18494 for ac_exec_ext in '' $ac_executable_extensions; do
18495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18496 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18503 test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false"
18507 RPWD=$ac_cv_path_RPWD
18509 if test -n "$RPWD"; then
18510 echo "$as_me:$LINENO: result: $RPWD" >&5
18511 echo "${ECHO_T}$RPWD" >&6
18513 echo "$as_me:$LINENO: result: no" >&5
18514 echo "${ECHO_T}no" >&6
18517 if test ${RPWD} = "false"
18519 { { echo "$as_me:$LINENO: error: pwd required but not found" >&5
18520 echo "$as_me: error: pwd required but not found" >&2;}
18521 { (exit 1); exit 1; }; }
18524 # Extract the first word of "ar", so it can be a program name with args.
18525 set dummy ar; ac_word=$2
18526 echo "$as_me:$LINENO: checking for $ac_word" >&5
18527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18528 if test "${ac_cv_path_AR+set}" = set; then
18529 echo $ECHO_N "(cached) $ECHO_C" >&6
18533 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18537 for as_dir in $PATH
18540 test -z "$as_dir" && as_dir=.
18541 for ac_exec_ext in '' $ac_executable_extensions; do
18542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18543 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18550 test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
18556 if test -n "$AR"; then
18557 echo "$as_me:$LINENO: result: $AR" >&5
18558 echo "${ECHO_T}$AR" >&6
18560 echo "$as_me:$LINENO: result: no" >&5
18561 echo "${ECHO_T}no" >&6
18564 if test ${AR} = "false"
18566 { { echo "$as_me:$LINENO: error: ar required but not found" >&5
18567 echo "$as_me: error: ar required but not found" >&2;}
18568 { (exit 1); exit 1; }; }
18571 # Extract the first word of "sed", so it can be a program name with args.
18572 set dummy sed; ac_word=$2
18573 echo "$as_me:$LINENO: checking for $ac_word" >&5
18574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18575 if test "${ac_cv_path_SED+set}" = set; then
18576 echo $ECHO_N "(cached) $ECHO_C" >&6
18580 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18584 for as_dir in $PATH
18587 test -z "$as_dir" && as_dir=.
18588 for ac_exec_ext in '' $ac_executable_extensions; do
18589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18590 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18597 test -z "$ac_cv_path_SED" && ac_cv_path_SED="false"
18601 SED=$ac_cv_path_SED
18603 if test -n "$SED"; then
18604 echo "$as_me:$LINENO: result: $SED" >&5
18605 echo "${ECHO_T}$SED" >&6
18607 echo "$as_me:$LINENO: result: no" >&5
18608 echo "${ECHO_T}no" >&6
18611 if test ${SED} = "false"
18613 { { echo "$as_me:$LINENO: error: sed required but not found" >&5
18614 echo "$as_me: error: sed required but not found" >&2;}
18615 { (exit 1); exit 1; }; }
18618 # Extract the first word of "rm", so it can be a program name with args.
18619 set dummy rm; ac_word=$2
18620 echo "$as_me:$LINENO: checking for $ac_word" >&5
18621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18622 if test "${ac_cv_path_RM+set}" = set; then
18623 echo $ECHO_N "(cached) $ECHO_C" >&6
18627 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18631 for as_dir in $PATH
18634 test -z "$as_dir" && as_dir=.
18635 for ac_exec_ext in '' $ac_executable_extensions; do
18636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18637 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18644 test -z "$ac_cv_path_RM" && ac_cv_path_RM="false"
18650 if test -n "$RM"; then
18651 echo "$as_me:$LINENO: result: $RM" >&5
18652 echo "${ECHO_T}$RM" >&6
18654 echo "$as_me:$LINENO: result: no" >&5
18655 echo "${ECHO_T}no" >&6
18658 if test ${RM} = "false"
18660 { { echo "$as_me:$LINENO: error: rm required but not found" >&5
18661 echo "$as_me: error: rm required but not found" >&2;}
18662 { (exit 1); exit 1; }; }
18665 # Extract the first word of "echo", so it can be a program name with args.
18666 set dummy echo; ac_word=$2
18667 echo "$as_me:$LINENO: checking for $ac_word" >&5
18668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18669 if test "${ac_cv_path_ECHO+set}" = set; then
18670 echo $ECHO_N "(cached) $ECHO_C" >&6
18674 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18678 for as_dir in $PATH
18681 test -z "$as_dir" && as_dir=.
18682 for ac_exec_ext in '' $ac_executable_extensions; do
18683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18684 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18691 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false"
18695 ECHO=$ac_cv_path_ECHO
18697 if test -n "$ECHO"; then
18698 echo "$as_me:$LINENO: result: $ECHO" >&5
18699 echo "${ECHO_T}$ECHO" >&6
18701 echo "$as_me:$LINENO: result: no" >&5
18702 echo "${ECHO_T}no" >&6
18705 if test ${ECHO} = "false"
18707 { { echo "$as_me:$LINENO: error: echo required but not found" >&5
18708 echo "$as_me: error: echo required but not found" >&2;}
18709 { (exit 1); exit 1; }; }
18712 # Extract the first word of "mkdir", so it can be a program name with args.
18713 set dummy mkdir; ac_word=$2
18714 echo "$as_me:$LINENO: checking for $ac_word" >&5
18715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18716 if test "${ac_cv_path_MKDIR+set}" = set; then
18717 echo $ECHO_N "(cached) $ECHO_C" >&6
18721 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18725 for as_dir in $PATH
18728 test -z "$as_dir" && as_dir=.
18729 for ac_exec_ext in '' $ac_executable_extensions; do
18730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18731 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18738 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false"
18742 MKDIR=$ac_cv_path_MKDIR
18744 if test -n "$MKDIR"; then
18745 echo "$as_me:$LINENO: result: $MKDIR" >&5
18746 echo "${ECHO_T}$MKDIR" >&6
18748 echo "$as_me:$LINENO: result: no" >&5
18749 echo "${ECHO_T}no" >&6
18752 if test ${MKDIR} = "false"
18754 { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5
18755 echo "$as_me: error: mkdir required but not found" >&2;}
18756 { (exit 1); exit 1; }; }
18759 # Extract the first word of "date", so it can be a program name with args.
18760 set dummy date; ac_word=$2
18761 echo "$as_me:$LINENO: checking for $ac_word" >&5
18762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18763 if test "${ac_cv_path_DATE+set}" = set; then
18764 echo $ECHO_N "(cached) $ECHO_C" >&6
18768 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18772 for as_dir in $PATH
18775 test -z "$as_dir" && as_dir=.
18776 for ac_exec_ext in '' $ac_executable_extensions; do
18777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18778 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18785 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false"
18789 DATE=$ac_cv_path_DATE
18791 if test -n "$DATE"; then
18792 echo "$as_me:$LINENO: result: $DATE" >&5
18793 echo "${ECHO_T}$DATE" >&6
18795 echo "$as_me:$LINENO: result: no" >&5
18796 echo "${ECHO_T}no" >&6
18799 if test ${DATE} = "false"
18801 { { echo "$as_me:$LINENO: error: date required but not found" >&5
18802 echo "$as_me: error: date required but not found" >&2;}
18803 { (exit 1); exit 1; }; }
18806 # Extract the first word of "mv", so it can be a program name with args.
18807 set dummy mv; ac_word=$2
18808 echo "$as_me:$LINENO: checking for $ac_word" >&5
18809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18810 if test "${ac_cv_path_MV+set}" = set; then
18811 echo $ECHO_N "(cached) $ECHO_C" >&6
18815 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18819 for as_dir in $PATH
18822 test -z "$as_dir" && as_dir=.
18823 for ac_exec_ext in '' $ac_executable_extensions; do
18824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18825 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18832 test -z "$ac_cv_path_MV" && ac_cv_path_MV="false"
18838 if test -n "$MV"; then
18839 echo "$as_me:$LINENO: result: $MV" >&5
18840 echo "${ECHO_T}$MV" >&6
18842 echo "$as_me:$LINENO: result: no" >&5
18843 echo "${ECHO_T}no" >&6
18846 if test ${MV} = "false"
18848 { { echo "$as_me:$LINENO: error: mv required but not found" >&5
18849 echo "$as_me: error: mv required but not found" >&2;}
18850 { (exit 1); exit 1; }; }
18853 # Extract the first word of "dot", so it can be a program name with args.
18854 set dummy dot; ac_word=$2
18855 echo "$as_me:$LINENO: checking for $ac_word" >&5
18856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18857 if test "${ac_cv_path_DOT+set}" = set; then
18858 echo $ECHO_N "(cached) $ECHO_C" >&6
18862 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18866 for as_dir in $PATH
18869 test -z "$as_dir" && as_dir=.
18870 for ac_exec_ext in '' $ac_executable_extensions; do
18871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18872 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18879 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
18883 DOT=$ac_cv_path_DOT
18885 if test -n "$DOT"; then
18886 echo "$as_me:$LINENO: result: $DOT" >&5
18887 echo "${ECHO_T}$DOT" >&6
18889 echo "$as_me:$LINENO: result: no" >&5
18890 echo "${ECHO_T}no" >&6
18894 # Extract the first word of "etags", so it can be a program name with args.
18895 set dummy etags; ac_word=$2
18896 echo "$as_me:$LINENO: checking for $ac_word" >&5
18897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18898 if test "${ac_cv_path_ETAGS+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18903 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18907 for as_dir in $PATH
18910 test -z "$as_dir" && as_dir=.
18911 for ac_exec_ext in '' $ac_executable_extensions; do
18912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18913 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18920 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false"
18924 ETAGS=$ac_cv_path_ETAGS
18926 if test -n "$ETAGS"; then
18927 echo "$as_me:$LINENO: result: $ETAGS" >&5
18928 echo "${ECHO_T}$ETAGS" >&6
18930 echo "$as_me:$LINENO: result: no" >&5
18931 echo "${ECHO_T}no" >&6
18935 # Extract the first word of "python", so it can be a program name with args.
18936 set dummy python; ac_word=$2
18937 echo "$as_me:$LINENO: checking for $ac_word" >&5
18938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18939 if test "${ac_cv_path_PYTHON+set}" = set; then
18940 echo $ECHO_N "(cached) $ECHO_C" >&6
18944 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18948 for as_dir in $PATH
18951 test -z "$as_dir" && as_dir=.
18952 for ac_exec_ext in '' $ac_executable_extensions; do
18953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18954 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18961 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false"
18965 PYTHON=$ac_cv_path_PYTHON
18967 if test -n "$PYTHON"; then
18968 echo "$as_me:$LINENO: result: $PYTHON" >&5
18969 echo "${ECHO_T}$PYTHON" >&6
18971 echo "$as_me:$LINENO: result: no" >&5
18972 echo "${ECHO_T}no" >&6
18975 if test ${PYTHON} = "false"
18977 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
18978 echo "$as_me: WARNING: python required but not found" >&2;}
18981 # Extract the first word of "qmtest", so it can be a program name with args.
18982 set dummy qmtest; ac_word=$2
18983 echo "$as_me:$LINENO: checking for $ac_word" >&5
18984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18985 if test "${ac_cv_path_QMTEST+set}" = set; then
18986 echo $ECHO_N "(cached) $ECHO_C" >&6
18990 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18994 for as_dir in $PATH
18997 test -z "$as_dir" && as_dir=.
18998 for ac_exec_ext in '' $ac_executable_extensions; do
18999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19000 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
19001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19007 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false"
19011 QMTEST=$ac_cv_path_QMTEST
19013 if test -n "$QMTEST"; then
19014 echo "$as_me:$LINENO: result: $QMTEST" >&5
19015 echo "${ECHO_T}$QMTEST" >&6
19017 echo "$as_me:$LINENO: result: no" >&5
19018 echo "${ECHO_T}no" >&6
19021 if test ${QMTEST} = "false"
19023 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19024 echo "$as_me: WARNING: qmtest required but not found" >&2;}
19027 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
19028 pymajor=`echo $pyversion | cut -d. -f1`
19029 pyminor=`echo $pyversion | cut -d. -f2`
19031 if test "$pymajor" -ge "2"
19033 if test "$pymajor" -eq "2"
19035 if test "$pyminor" -lt "2"
19037 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19038 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19039 { (exit 1); exit 1; }; }
19043 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19044 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19045 { (exit 1); exit 1; }; }
19052 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
19053 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
19054 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
19055 echo $ECHO_N "(cached) $ECHO_C" >&6
19057 ac_check_lib_save_LIBS=$LIBS
19059 cat >conftest.$ac_ext <<_ACEOF
19060 #line $LINENO "configure"
19063 cat confdefs.h >>conftest.$ac_ext
19064 cat >>conftest.$ac_ext <<_ACEOF
19065 /* end confdefs.h. */
19067 /* Override any gcc2 internal prototype to avoid an error. */
19071 /* We use char because int might match the return type of a gcc2
19072 builtin and then its argument prototype would still apply. */
19082 rm -f conftest.$ac_objext conftest$ac_exeext
19083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19084 (eval $ac_link) 2>&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); } &&
19088 { ac_try='test -s conftest$ac_exeext'
19089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19090 (eval $ac_try) 2>&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); }; }; then
19094 ac_cv_lib_elf_elf_begin=yes
19096 echo "$as_me: failed program was:" >&5
19097 sed 's/^/| /' conftest.$ac_ext >&5
19099 ac_cv_lib_elf_elf_begin=no
19101 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19102 LIBS=$ac_check_lib_save_LIBS
19104 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19105 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19106 if test $ac_cv_lib_elf_elf_begin = yes; then
19107 cat >>confdefs.h <<_ACEOF
19108 #define HAVE_LIBELF 1
19116 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19117 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19118 if test "${ac_cv_search_dlopen+set}" = set; then
19119 echo $ECHO_N "(cached) $ECHO_C" >&6
19121 ac_func_search_save_LIBS=$LIBS
19122 ac_cv_search_dlopen=no
19123 cat >conftest.$ac_ext <<_ACEOF
19124 #line $LINENO "configure"
19127 cat confdefs.h >>conftest.$ac_ext
19128 cat >>conftest.$ac_ext <<_ACEOF
19129 /* end confdefs.h. */
19131 /* Override any gcc2 internal prototype to avoid an error. */
19135 /* We use char because int might match the return type of a gcc2
19136 builtin and then its argument prototype would still apply. */
19146 rm -f conftest.$ac_objext conftest$ac_exeext
19147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19148 (eval $ac_link) 2>&5
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); } &&
19152 { ac_try='test -s conftest$ac_exeext'
19153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154 (eval $ac_try) 2>&5
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }; }; then
19158 ac_cv_search_dlopen="none required"
19160 echo "$as_me: failed program was:" >&5
19161 sed 's/^/| /' conftest.$ac_ext >&5
19164 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19165 if test "$ac_cv_search_dlopen" = no; then
19166 for ac_lib in dl; do
19167 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19168 cat >conftest.$ac_ext <<_ACEOF
19169 #line $LINENO "configure"
19172 cat confdefs.h >>conftest.$ac_ext
19173 cat >>conftest.$ac_ext <<_ACEOF
19174 /* end confdefs.h. */
19176 /* Override any gcc2 internal prototype to avoid an error. */
19180 /* We use char because int might match the return type of a gcc2
19181 builtin and then its argument prototype would still apply. */
19191 rm -f conftest.$ac_objext conftest$ac_exeext
19192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19193 (eval $ac_link) 2>&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } &&
19197 { ac_try='test -s conftest$ac_exeext'
19198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19199 (eval $ac_try) 2>&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); }; }; then
19203 ac_cv_search_dlopen="-l$ac_lib"
19206 echo "$as_me: failed program was:" >&5
19207 sed 's/^/| /' conftest.$ac_ext >&5
19210 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19213 LIBS=$ac_func_search_save_LIBS
19215 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19216 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19217 if test "$ac_cv_search_dlopen" != no; then
19218 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19219 cat >>confdefs.h <<\_ACEOF
19220 #define HAVE_DLOPEN 1
19224 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
19225 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
19229 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19230 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19231 if test "${ac_cv_search_mallinfo+set}" = set; then
19232 echo $ECHO_N "(cached) $ECHO_C" >&6
19234 ac_func_search_save_LIBS=$LIBS
19235 ac_cv_search_mallinfo=no
19236 cat >conftest.$ac_ext <<_ACEOF
19237 #line $LINENO "configure"
19240 cat confdefs.h >>conftest.$ac_ext
19241 cat >>conftest.$ac_ext <<_ACEOF
19242 /* end confdefs.h. */
19244 /* Override any gcc2 internal prototype to avoid an error. */
19248 /* We use char because int might match the return type of a gcc2
19249 builtin and then its argument prototype would still apply. */
19259 rm -f conftest.$ac_objext conftest$ac_exeext
19260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19261 (eval $ac_link) 2>&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); } &&
19265 { ac_try='test -s conftest$ac_exeext'
19266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19267 (eval $ac_try) 2>&5
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); }; }; then
19271 ac_cv_search_mallinfo="none required"
19273 echo "$as_me: failed program was:" >&5
19274 sed 's/^/| /' conftest.$ac_ext >&5
19277 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19278 if test "$ac_cv_search_mallinfo" = no; then
19279 for ac_lib in malloc; do
19280 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19281 cat >conftest.$ac_ext <<_ACEOF
19282 #line $LINENO "configure"
19285 cat confdefs.h >>conftest.$ac_ext
19286 cat >>conftest.$ac_ext <<_ACEOF
19287 /* end confdefs.h. */
19289 /* Override any gcc2 internal prototype to avoid an error. */
19293 /* We use char because int might match the return type of a gcc2
19294 builtin and then its argument prototype would still apply. */
19304 rm -f conftest.$ac_objext conftest$ac_exeext
19305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19306 (eval $ac_link) 2>&5
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); } &&
19310 { ac_try='test -s conftest$ac_exeext'
19311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19312 (eval $ac_try) 2>&5
19314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 (exit $ac_status); }; }; then
19316 ac_cv_search_mallinfo="-l$ac_lib"
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
19326 LIBS=$ac_func_search_save_LIBS
19328 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19329 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19330 if test "$ac_cv_search_mallinfo" != no; then
19331 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19332 cat >>confdefs.h <<\_ACEOF
19333 #define HAVE_MALLINFO 1
19340 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19341 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19342 if test "${ac_cv_header_stdc+set}" = set; then
19343 echo $ECHO_N "(cached) $ECHO_C" >&6
19345 cat >conftest.$ac_ext <<_ACEOF
19346 #line $LINENO "configure"
19349 cat confdefs.h >>conftest.$ac_ext
19350 cat >>conftest.$ac_ext <<_ACEOF
19351 /* end confdefs.h. */
19352 #include <stdlib.h>
19353 #include <stdarg.h>
19354 #include <string.h>
19365 rm -f conftest.$ac_objext
19366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19367 (eval $ac_compile) 2>&5
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); } &&
19371 { ac_try='test -s conftest.$ac_objext'
19372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19373 (eval $ac_try) 2>&5
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); }; }; then
19377 ac_cv_header_stdc=yes
19379 echo "$as_me: failed program was:" >&5
19380 sed 's/^/| /' conftest.$ac_ext >&5
19382 ac_cv_header_stdc=no
19384 rm -f conftest.$ac_objext conftest.$ac_ext
19386 if test $ac_cv_header_stdc = yes; then
19387 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19388 cat >conftest.$ac_ext <<_ACEOF
19389 #line $LINENO "configure"
19392 cat confdefs.h >>conftest.$ac_ext
19393 cat >>conftest.$ac_ext <<_ACEOF
19394 /* end confdefs.h. */
19395 #include <string.h>
19398 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19399 $EGREP "memchr" >/dev/null 2>&1; then
19402 ac_cv_header_stdc=no
19408 if test $ac_cv_header_stdc = yes; then
19409 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19410 cat >conftest.$ac_ext <<_ACEOF
19411 #line $LINENO "configure"
19414 cat confdefs.h >>conftest.$ac_ext
19415 cat >>conftest.$ac_ext <<_ACEOF
19416 /* end confdefs.h. */
19417 #include <stdlib.h>
19420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19421 $EGREP "free" >/dev/null 2>&1; then
19424 ac_cv_header_stdc=no
19430 if test $ac_cv_header_stdc = yes; then
19431 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19432 if test "$cross_compiling" = yes; then
19435 cat >conftest.$ac_ext <<_ACEOF
19436 #line $LINENO "configure"
19439 cat confdefs.h >>conftest.$ac_ext
19440 cat >>conftest.$ac_ext <<_ACEOF
19441 /* end confdefs.h. */
19443 #if ((' ' & 0x0FF) == 0x020)
19444 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19445 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19447 # define ISLOWER(c) \
19448 (('a' <= (c) && (c) <= 'i') \
19449 || ('j' <= (c) && (c) <= 'r') \
19450 || ('s' <= (c) && (c) <= 'z'))
19451 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19454 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19459 for (i = 0; i < 256; i++)
19460 if (XOR (islower (i), ISLOWER (i))
19461 || toupper (i) != TOUPPER (i))
19466 rm -f conftest$ac_exeext
19467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19468 (eval $ac_link) 2>&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19473 (eval $ac_try) 2>&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); }; }; then
19479 echo "$as_me: program exited with status $ac_status" >&5
19480 echo "$as_me: failed program was:" >&5
19481 sed 's/^/| /' conftest.$ac_ext >&5
19483 ( exit $ac_status )
19484 ac_cv_header_stdc=no
19486 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19490 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19491 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19492 if test $ac_cv_header_stdc = yes; then
19494 cat >>confdefs.h <<\_ACEOF
19495 #define STDC_HEADERS 1
19500 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19501 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19502 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19503 echo $ECHO_N "(cached) $ECHO_C" >&6
19505 cat >conftest.$ac_ext <<_ACEOF
19506 #line $LINENO "configure"
19509 cat confdefs.h >>conftest.$ac_ext
19510 cat >>conftest.$ac_ext <<_ACEOF
19511 /* end confdefs.h. */
19512 #include <sys/types.h>
19513 #include <sys/wait.h>
19514 #ifndef WEXITSTATUS
19515 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19518 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19526 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19531 rm -f conftest.$ac_objext
19532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19533 (eval $ac_compile) 2>&5
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); } &&
19537 { ac_try='test -s conftest.$ac_objext'
19538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19539 (eval $ac_try) 2>&5
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); }; }; then
19543 ac_cv_header_sys_wait_h=yes
19545 echo "$as_me: failed program was:" >&5
19546 sed 's/^/| /' conftest.$ac_ext >&5
19548 ac_cv_header_sys_wait_h=no
19550 rm -f conftest.$ac_objext conftest.$ac_ext
19552 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19553 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19554 if test $ac_cv_header_sys_wait_h = yes; then
19556 cat >>confdefs.h <<\_ACEOF
19557 #define HAVE_SYS_WAIT_H 1
19571 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19573 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19575 echo "$as_me:$LINENO: checking for $ac_header" >&5
19576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19578 echo $ECHO_N "(cached) $ECHO_C" >&6
19580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19581 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19583 # Is the header compilable?
19584 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19585 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19586 cat >conftest.$ac_ext <<_ACEOF
19587 #line $LINENO "configure"
19590 cat confdefs.h >>conftest.$ac_ext
19591 cat >>conftest.$ac_ext <<_ACEOF
19592 /* end confdefs.h. */
19593 $ac_includes_default
19594 #include <$ac_header>
19596 rm -f conftest.$ac_objext
19597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19598 (eval $ac_compile) 2>&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } &&
19602 { ac_try='test -s conftest.$ac_objext'
19603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19604 (eval $ac_try) 2>&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); }; }; then
19608 ac_header_compiler=yes
19610 echo "$as_me: failed program was:" >&5
19611 sed 's/^/| /' conftest.$ac_ext >&5
19613 ac_header_compiler=no
19615 rm -f conftest.$ac_objext conftest.$ac_ext
19616 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19617 echo "${ECHO_T}$ac_header_compiler" >&6
19619 # Is the header present?
19620 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19621 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19622 cat >conftest.$ac_ext <<_ACEOF
19623 #line $LINENO "configure"
19626 cat confdefs.h >>conftest.$ac_ext
19627 cat >>conftest.$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 #include <$ac_header>
19631 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19632 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19634 grep -v '^ *+' conftest.er1 >conftest.err
19636 cat conftest.err >&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } >/dev/null; then
19639 if test -s conftest.err; then
19640 ac_cpp_err=$ac_c_preproc_warn_flag
19647 if test -z "$ac_cpp_err"; then
19648 ac_header_preproc=yes
19650 echo "$as_me: failed program was:" >&5
19651 sed 's/^/| /' conftest.$ac_ext >&5
19653 ac_header_preproc=no
19655 rm -f conftest.err conftest.$ac_ext
19656 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19657 echo "${ECHO_T}$ac_header_preproc" >&6
19659 # So? What about this header?
19660 case $ac_header_compiler:$ac_header_preproc in
19662 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19663 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19664 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19665 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19668 ## ------------------------------------ ##
19669 ## Report this to bug-autoconf@gnu.org. ##
19670 ## ------------------------------------ ##
19673 sed "s/^/$as_me: WARNING: /" >&2
19676 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19677 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19678 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19679 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19680 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19681 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19684 ## ------------------------------------ ##
19685 ## Report this to bug-autoconf@gnu.org. ##
19686 ## ------------------------------------ ##
19689 sed "s/^/$as_me: WARNING: /" >&2
19692 echo "$as_me:$LINENO: checking for $ac_header" >&5
19693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19695 echo $ECHO_N "(cached) $ECHO_C" >&6
19697 eval "$as_ac_Header=$ac_header_preproc"
19699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19704 cat >>confdefs.h <<_ACEOF
19705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19717 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19719 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19721 echo "$as_me:$LINENO: checking for $ac_header" >&5
19722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19724 echo $ECHO_N "(cached) $ECHO_C" >&6
19726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19727 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19729 # Is the header compilable?
19730 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19731 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19732 cat >conftest.$ac_ext <<_ACEOF
19733 #line $LINENO "configure"
19736 cat confdefs.h >>conftest.$ac_ext
19737 cat >>conftest.$ac_ext <<_ACEOF
19738 /* end confdefs.h. */
19739 $ac_includes_default
19740 #include <$ac_header>
19742 rm -f conftest.$ac_objext
19743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19744 (eval $ac_compile) 2>&5
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); } &&
19748 { ac_try='test -s conftest.$ac_objext'
19749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19750 (eval $ac_try) 2>&5
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); }; }; then
19754 ac_header_compiler=yes
19756 echo "$as_me: failed program was:" >&5
19757 sed 's/^/| /' conftest.$ac_ext >&5
19759 ac_header_compiler=no
19761 rm -f conftest.$ac_objext conftest.$ac_ext
19762 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19763 echo "${ECHO_T}$ac_header_compiler" >&6
19765 # Is the header present?
19766 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19767 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19768 cat >conftest.$ac_ext <<_ACEOF
19769 #line $LINENO "configure"
19772 cat confdefs.h >>conftest.$ac_ext
19773 cat >>conftest.$ac_ext <<_ACEOF
19774 /* end confdefs.h. */
19775 #include <$ac_header>
19777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19778 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19780 grep -v '^ *+' conftest.er1 >conftest.err
19782 cat conftest.err >&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); } >/dev/null; then
19785 if test -s conftest.err; then
19786 ac_cpp_err=$ac_c_preproc_warn_flag
19793 if test -z "$ac_cpp_err"; then
19794 ac_header_preproc=yes
19796 echo "$as_me: failed program was:" >&5
19797 sed 's/^/| /' conftest.$ac_ext >&5
19799 ac_header_preproc=no
19801 rm -f conftest.err conftest.$ac_ext
19802 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19803 echo "${ECHO_T}$ac_header_preproc" >&6
19805 # So? What about this header?
19806 case $ac_header_compiler:$ac_header_preproc in
19808 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19809 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19810 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19811 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19814 ## ------------------------------------ ##
19815 ## Report this to bug-autoconf@gnu.org. ##
19816 ## ------------------------------------ ##
19819 sed "s/^/$as_me: WARNING: /" >&2
19822 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19823 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19824 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19825 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19827 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19830 ## ------------------------------------ ##
19831 ## Report this to bug-autoconf@gnu.org. ##
19832 ## ------------------------------------ ##
19835 sed "s/^/$as_me: WARNING: /" >&2
19838 echo "$as_me:$LINENO: checking for $ac_header" >&5
19839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19841 echo $ECHO_N "(cached) $ECHO_C" >&6
19843 eval "$as_ac_Header=$ac_header_preproc"
19845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19849 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19850 cat >>confdefs.h <<_ACEOF
19851 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19861 for ac_header in dlfcn.h link.h
19863 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19865 echo "$as_me:$LINENO: checking for $ac_header" >&5
19866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19868 echo $ECHO_N "(cached) $ECHO_C" >&6
19870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19871 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19873 # Is the header compilable?
19874 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19875 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19876 cat >conftest.$ac_ext <<_ACEOF
19877 #line $LINENO "configure"
19880 cat confdefs.h >>conftest.$ac_ext
19881 cat >>conftest.$ac_ext <<_ACEOF
19882 /* end confdefs.h. */
19883 $ac_includes_default
19884 #include <$ac_header>
19886 rm -f conftest.$ac_objext
19887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19888 (eval $ac_compile) 2>&5
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); } &&
19892 { ac_try='test -s conftest.$ac_objext'
19893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19894 (eval $ac_try) 2>&5
19896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897 (exit $ac_status); }; }; then
19898 ac_header_compiler=yes
19900 echo "$as_me: failed program was:" >&5
19901 sed 's/^/| /' conftest.$ac_ext >&5
19903 ac_header_compiler=no
19905 rm -f conftest.$ac_objext conftest.$ac_ext
19906 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19907 echo "${ECHO_T}$ac_header_compiler" >&6
19909 # Is the header present?
19910 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19911 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19912 cat >conftest.$ac_ext <<_ACEOF
19913 #line $LINENO "configure"
19916 cat confdefs.h >>conftest.$ac_ext
19917 cat >>conftest.$ac_ext <<_ACEOF
19918 /* end confdefs.h. */
19919 #include <$ac_header>
19921 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19922 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19924 grep -v '^ *+' conftest.er1 >conftest.err
19926 cat conftest.err >&5
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); } >/dev/null; then
19929 if test -s conftest.err; then
19930 ac_cpp_err=$ac_c_preproc_warn_flag
19937 if test -z "$ac_cpp_err"; then
19938 ac_header_preproc=yes
19940 echo "$as_me: failed program was:" >&5
19941 sed 's/^/| /' conftest.$ac_ext >&5
19943 ac_header_preproc=no
19945 rm -f conftest.err conftest.$ac_ext
19946 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19947 echo "${ECHO_T}$ac_header_preproc" >&6
19949 # So? What about this header?
19950 case $ac_header_compiler:$ac_header_preproc in
19952 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19953 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19958 ## ------------------------------------ ##
19959 ## Report this to bug-autoconf@gnu.org. ##
19960 ## ------------------------------------ ##
19963 sed "s/^/$as_me: WARNING: /" >&2
19966 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19967 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19968 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19969 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19974 ## ------------------------------------ ##
19975 ## Report this to bug-autoconf@gnu.org. ##
19976 ## ------------------------------------ ##
19979 sed "s/^/$as_me: WARNING: /" >&2
19982 echo "$as_me:$LINENO: checking for $ac_header" >&5
19983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19985 echo $ECHO_N "(cached) $ECHO_C" >&6
19987 eval "$as_ac_Header=$ac_header_preproc"
19989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19993 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19994 cat >>confdefs.h <<_ACEOF
19995 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20004 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20005 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20006 if test "${ac_cv_c_const+set}" = set; then
20007 echo $ECHO_N "(cached) $ECHO_C" >&6
20009 cat >conftest.$ac_ext <<_ACEOF
20010 #line $LINENO "configure"
20013 cat confdefs.h >>conftest.$ac_ext
20014 cat >>conftest.$ac_ext <<_ACEOF
20015 /* end confdefs.h. */
20020 /* FIXME: Include the comments suggested by Paul. */
20021 #ifndef __cplusplus
20022 /* Ultrix mips cc rejects this. */
20023 typedef int charset[2];
20025 /* SunOS 4.1.1 cc rejects this. */
20026 char const *const *ccp;
20028 /* NEC SVR4.0.2 mips cc rejects this. */
20029 struct point {int x, y;};
20030 static struct point const zero = {0,0};
20031 /* AIX XL C 1.02.0.0 rejects this.
20032 It does not let you subtract one const X* pointer from another in
20033 an arm of an if-expression whose if-part is not a constant
20035 const char *g = "string";
20036 ccp = &g + (g ? g-g : 0);
20037 /* HPUX 7.0 cc rejects these. */
20040 ccp = (char const *const *) p;
20041 { /* SCO 3.2v4 cc rejects this. */
20043 char const *s = 0 ? (char *) 0 : (char const *) 0;
20047 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20048 int x[] = {25, 17};
20049 const int *foo = &x[0];
20052 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20053 typedef const int *iptr;
20057 { /* AIX XL C 1.02.0.0 rejects this saying
20058 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20059 struct s { int j; const int *ap[3]; };
20060 struct s *b; b->j = 5;
20062 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20063 const int foo = 10;
20071 rm -f conftest.$ac_objext
20072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20073 (eval $ac_compile) 2>&5
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); } &&
20077 { ac_try='test -s conftest.$ac_objext'
20078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20079 (eval $ac_try) 2>&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; }; then
20085 echo "$as_me: failed program was:" >&5
20086 sed 's/^/| /' conftest.$ac_ext >&5
20090 rm -f conftest.$ac_objext conftest.$ac_ext
20092 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20093 echo "${ECHO_T}$ac_cv_c_const" >&6
20094 if test $ac_cv_c_const = no; then
20096 cat >>confdefs.h <<\_ACEOF
20102 echo "$as_me:$LINENO: checking for inline" >&5
20103 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20104 if test "${ac_cv_c_inline+set}" = set; then
20105 echo $ECHO_N "(cached) $ECHO_C" >&6
20108 for ac_kw in inline __inline__ __inline; do
20109 cat >conftest.$ac_ext <<_ACEOF
20110 #line $LINENO "configure"
20113 cat confdefs.h >>conftest.$ac_ext
20114 cat >>conftest.$ac_ext <<_ACEOF
20115 /* end confdefs.h. */
20116 #ifndef __cplusplus
20118 static $ac_kw foo_t static_foo () {return 0; }
20119 $ac_kw foo_t foo () {return 0; }
20123 rm -f conftest.$ac_objext
20124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20125 (eval $ac_compile) 2>&5
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); } &&
20129 { ac_try='test -s conftest.$ac_objext'
20130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20131 (eval $ac_try) 2>&5
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); }; }; then
20135 ac_cv_c_inline=$ac_kw; break
20137 echo "$as_me: failed program was:" >&5
20138 sed 's/^/| /' conftest.$ac_ext >&5
20141 rm -f conftest.$ac_objext conftest.$ac_ext
20145 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20146 echo "${ECHO_T}$ac_cv_c_inline" >&6
20147 case $ac_cv_c_inline in
20150 cat >>confdefs.h <<\_ACEOF
20154 *) cat >>confdefs.h <<_ACEOF
20155 #define inline $ac_cv_c_inline
20161 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20162 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20163 if test "${ac_cv_c_bigendian+set}" = set; then
20164 echo $ECHO_N "(cached) $ECHO_C" >&6
20166 # See if sys/param.h defines the BYTE_ORDER macro.
20167 cat >conftest.$ac_ext <<_ACEOF
20168 #line $LINENO "configure"
20171 cat confdefs.h >>conftest.$ac_ext
20172 cat >>conftest.$ac_ext <<_ACEOF
20173 /* end confdefs.h. */
20174 #include <sys/types.h>
20175 #include <sys/param.h>
20180 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20181 bogus endian macros
20188 rm -f conftest.$ac_objext
20189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20190 (eval $ac_compile) 2>&5
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); } &&
20194 { ac_try='test -s conftest.$ac_objext'
20195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20196 (eval $ac_try) 2>&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); }; }; then
20200 # It does; now see whether it defined to BIG_ENDIAN or not.
20201 cat >conftest.$ac_ext <<_ACEOF
20202 #line $LINENO "configure"
20205 cat confdefs.h >>conftest.$ac_ext
20206 cat >>conftest.$ac_ext <<_ACEOF
20207 /* end confdefs.h. */
20208 #include <sys/types.h>
20209 #include <sys/param.h>
20214 #if BYTE_ORDER != BIG_ENDIAN
20222 rm -f conftest.$ac_objext
20223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20224 (eval $ac_compile) 2>&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); } &&
20228 { ac_try='test -s conftest.$ac_objext'
20229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20230 (eval $ac_try) 2>&5
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); }; }; then
20234 ac_cv_c_bigendian=yes
20236 echo "$as_me: failed program was:" >&5
20237 sed 's/^/| /' conftest.$ac_ext >&5
20239 ac_cv_c_bigendian=no
20241 rm -f conftest.$ac_objext conftest.$ac_ext
20243 echo "$as_me: failed program was:" >&5
20244 sed 's/^/| /' conftest.$ac_ext >&5
20246 # It does not; compile a test program.
20247 if test "$cross_compiling" = yes; then
20248 # try to guess the endianness by grepping values into an object file
20249 ac_cv_c_bigendian=unknown
20250 cat >conftest.$ac_ext <<_ACEOF
20251 #line $LINENO "configure"
20254 cat confdefs.h >>conftest.$ac_ext
20255 cat >>conftest.$ac_ext <<_ACEOF
20256 /* end confdefs.h. */
20257 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20258 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20259 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20260 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20261 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20262 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20266 _ascii (); _ebcdic ();
20271 rm -f conftest.$ac_objext
20272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20273 (eval $ac_compile) 2>&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); } &&
20277 { ac_try='test -s conftest.$ac_objext'
20278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20279 (eval $ac_try) 2>&5
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); }; }; then
20283 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20284 ac_cv_c_bigendian=yes
20286 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20287 if test "$ac_cv_c_bigendian" = unknown; then
20288 ac_cv_c_bigendian=no
20290 # finding both strings is unlikely to happen, but who knows?
20291 ac_cv_c_bigendian=unknown
20295 echo "$as_me: failed program was:" >&5
20296 sed 's/^/| /' conftest.$ac_ext >&5
20299 rm -f conftest.$ac_objext conftest.$ac_ext
20301 cat >conftest.$ac_ext <<_ACEOF
20302 #line $LINENO "configure"
20305 cat confdefs.h >>conftest.$ac_ext
20306 cat >>conftest.$ac_ext <<_ACEOF
20307 /* end confdefs.h. */
20311 /* Are we little or big endian? From Harbison&Steele. */
20315 char c[sizeof (long)];
20318 exit (u.c[sizeof (long) - 1] == 1);
20321 rm -f conftest$ac_exeext
20322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20323 (eval $ac_link) 2>&5
20325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20326 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20328 (eval $ac_try) 2>&5
20330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331 (exit $ac_status); }; }; then
20332 ac_cv_c_bigendian=no
20334 echo "$as_me: program exited with status $ac_status" >&5
20335 echo "$as_me: failed program was:" >&5
20336 sed 's/^/| /' conftest.$ac_ext >&5
20338 ( exit $ac_status )
20339 ac_cv_c_bigendian=yes
20341 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20344 rm -f conftest.$ac_objext conftest.$ac_ext
20346 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20347 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20348 case $ac_cv_c_bigendian in
20350 cat >>confdefs.h <<\_ACEOF
20351 #define ENDIAN_BIG 1
20355 cat >>confdefs.h <<\_ACEOF
20356 #define ENDIAN_LITTLE 1
20360 { { echo "$as_me:$LINENO: error: unknown endianness
20361 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20362 echo "$as_me: error: unknown endianness
20363 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20364 { (exit 1); exit 1; }; } ;;
20368 echo "$as_me:$LINENO: checking for pid_t" >&5
20369 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20370 if test "${ac_cv_type_pid_t+set}" = set; then
20371 echo $ECHO_N "(cached) $ECHO_C" >&6
20373 cat >conftest.$ac_ext <<_ACEOF
20374 #line $LINENO "configure"
20377 cat confdefs.h >>conftest.$ac_ext
20378 cat >>conftest.$ac_ext <<_ACEOF
20379 /* end confdefs.h. */
20380 $ac_includes_default
20386 if (sizeof (pid_t))
20392 rm -f conftest.$ac_objext
20393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20394 (eval $ac_compile) 2>&5
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); } &&
20398 { ac_try='test -s conftest.$ac_objext'
20399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20400 (eval $ac_try) 2>&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); }; }; then
20404 ac_cv_type_pid_t=yes
20406 echo "$as_me: failed program was:" >&5
20407 sed 's/^/| /' conftest.$ac_ext >&5
20409 ac_cv_type_pid_t=no
20411 rm -f conftest.$ac_objext conftest.$ac_ext
20413 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20414 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20415 if test $ac_cv_type_pid_t = yes; then
20419 cat >>confdefs.h <<_ACEOF
20425 echo "$as_me:$LINENO: checking for size_t" >&5
20426 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20427 if test "${ac_cv_type_size_t+set}" = set; then
20428 echo $ECHO_N "(cached) $ECHO_C" >&6
20430 cat >conftest.$ac_ext <<_ACEOF
20431 #line $LINENO "configure"
20434 cat confdefs.h >>conftest.$ac_ext
20435 cat >>conftest.$ac_ext <<_ACEOF
20436 /* end confdefs.h. */
20437 $ac_includes_default
20443 if (sizeof (size_t))
20449 rm -f conftest.$ac_objext
20450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20451 (eval $ac_compile) 2>&5
20453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454 (exit $ac_status); } &&
20455 { ac_try='test -s conftest.$ac_objext'
20456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20457 (eval $ac_try) 2>&5
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); }; }; then
20461 ac_cv_type_size_t=yes
20463 echo "$as_me: failed program was:" >&5
20464 sed 's/^/| /' conftest.$ac_ext >&5
20466 ac_cv_type_size_t=no
20468 rm -f conftest.$ac_objext conftest.$ac_ext
20470 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20471 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20472 if test $ac_cv_type_size_t = yes; then
20476 cat >>confdefs.h <<_ACEOF
20477 #define size_t unsigned
20482 echo "$as_me:$LINENO: checking for int64_t" >&5
20483 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20484 if test "${ac_cv_type_int64_t+set}" = set; then
20485 echo $ECHO_N "(cached) $ECHO_C" >&6
20487 cat >conftest.$ac_ext <<_ACEOF
20488 #line $LINENO "configure"
20491 cat confdefs.h >>conftest.$ac_ext
20492 cat >>conftest.$ac_ext <<_ACEOF
20493 /* end confdefs.h. */
20494 $ac_includes_default
20500 if (sizeof (int64_t))
20506 rm -f conftest.$ac_objext
20507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20508 (eval $ac_compile) 2>&5
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); } &&
20512 { ac_try='test -s conftest.$ac_objext'
20513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20514 (eval $ac_try) 2>&5
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); }; }; then
20518 ac_cv_type_int64_t=yes
20520 echo "$as_me: failed program was:" >&5
20521 sed 's/^/| /' conftest.$ac_ext >&5
20523 ac_cv_type_int64_t=no
20525 rm -f conftest.$ac_objext conftest.$ac_ext
20527 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20528 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20529 if test $ac_cv_type_int64_t = yes; then
20531 cat >>confdefs.h <<_ACEOF
20532 #define HAVE_INT64_T 1
20537 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20538 echo "$as_me: error: Type int64_t required but not found" >&2;}
20539 { (exit 1); exit 1; }; }
20542 echo "$as_me:$LINENO: checking for uint64_t" >&5
20543 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20544 if test "${ac_cv_type_uint64_t+set}" = set; then
20545 echo $ECHO_N "(cached) $ECHO_C" >&6
20547 cat >conftest.$ac_ext <<_ACEOF
20548 #line $LINENO "configure"
20551 cat confdefs.h >>conftest.$ac_ext
20552 cat >>conftest.$ac_ext <<_ACEOF
20553 /* end confdefs.h. */
20554 $ac_includes_default
20558 if ((uint64_t *) 0)
20560 if (sizeof (uint64_t))
20566 rm -f conftest.$ac_objext
20567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20568 (eval $ac_compile) 2>&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); } &&
20572 { ac_try='test -s conftest.$ac_objext'
20573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20574 (eval $ac_try) 2>&5
20576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 (exit $ac_status); }; }; then
20578 ac_cv_type_uint64_t=yes
20580 echo "$as_me: failed program was:" >&5
20581 sed 's/^/| /' conftest.$ac_ext >&5
20583 ac_cv_type_uint64_t=no
20585 rm -f conftest.$ac_objext conftest.$ac_ext
20587 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20588 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20589 if test $ac_cv_type_uint64_t = yes; then
20591 cat >>confdefs.h <<_ACEOF
20592 #define HAVE_UINT64_T 1
20597 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20598 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20599 { (exit 1); exit 1; }; }
20602 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20603 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20604 if test "${ac_cv_header_time+set}" = set; then
20605 echo $ECHO_N "(cached) $ECHO_C" >&6
20607 cat >conftest.$ac_ext <<_ACEOF
20608 #line $LINENO "configure"
20611 cat confdefs.h >>conftest.$ac_ext
20612 cat >>conftest.$ac_ext <<_ACEOF
20613 /* end confdefs.h. */
20614 #include <sys/types.h>
20615 #include <sys/time.h>
20621 if ((struct tm *) 0)
20627 rm -f conftest.$ac_objext
20628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20629 (eval $ac_compile) 2>&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); } &&
20633 { ac_try='test -s conftest.$ac_objext'
20634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20635 (eval $ac_try) 2>&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); }; }; then
20639 ac_cv_header_time=yes
20641 echo "$as_me: failed program was:" >&5
20642 sed 's/^/| /' conftest.$ac_ext >&5
20644 ac_cv_header_time=no
20646 rm -f conftest.$ac_objext conftest.$ac_ext
20648 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20649 echo "${ECHO_T}$ac_cv_header_time" >&6
20650 if test $ac_cv_header_time = yes; then
20652 cat >>confdefs.h <<\_ACEOF
20653 #define TIME_WITH_SYS_TIME 1
20658 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20659 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20660 if test "${ac_cv_struct_tm+set}" = set; then
20661 echo $ECHO_N "(cached) $ECHO_C" >&6
20663 cat >conftest.$ac_ext <<_ACEOF
20664 #line $LINENO "configure"
20667 cat confdefs.h >>conftest.$ac_ext
20668 cat >>conftest.$ac_ext <<_ACEOF
20669 /* end confdefs.h. */
20670 #include <sys/types.h>
20676 struct tm *tp; tp->tm_sec;
20681 rm -f conftest.$ac_objext
20682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20683 (eval $ac_compile) 2>&5
20685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686 (exit $ac_status); } &&
20687 { ac_try='test -s conftest.$ac_objext'
20688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20689 (eval $ac_try) 2>&5
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); }; }; then
20693 ac_cv_struct_tm=time.h
20695 echo "$as_me: failed program was:" >&5
20696 sed 's/^/| /' conftest.$ac_ext >&5
20698 ac_cv_struct_tm=sys/time.h
20700 rm -f conftest.$ac_objext conftest.$ac_ext
20702 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20703 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20704 if test $ac_cv_struct_tm = sys/time.h; then
20706 cat >>confdefs.h <<\_ACEOF
20707 #define TM_IN_SYS_TIME 1
20713 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20714 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20715 if test "${ac_cv_cxx_namespaces+set}" = set; then
20716 echo $ECHO_N "(cached) $ECHO_C" >&6
20721 ac_cpp='$CXXCPP $CPPFLAGS'
20722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20726 cat >conftest.$ac_ext <<_ACEOF
20727 #line $LINENO "configure"
20730 cat confdefs.h >>conftest.$ac_ext
20731 cat >>conftest.$ac_ext <<_ACEOF
20732 /* end confdefs.h. */
20733 namespace Outer { namespace Inner { int i = 0; }}
20737 using namespace Outer::Inner; return i;
20742 rm -f conftest.$ac_objext
20743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20744 (eval $ac_compile) 2>&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); } &&
20748 { ac_try='test -s conftest.$ac_objext'
20749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20750 (eval $ac_try) 2>&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); }; }; then
20754 ac_cv_cxx_namespaces=yes
20756 echo "$as_me: failed program was:" >&5
20757 sed 's/^/| /' conftest.$ac_ext >&5
20759 ac_cv_cxx_namespaces=no
20761 rm -f conftest.$ac_objext conftest.$ac_ext
20763 ac_cpp='$CPP $CPPFLAGS'
20764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20770 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20771 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20772 if test "$ac_cv_cxx_namespaces" = yes; then
20774 cat >>confdefs.h <<\_ACEOF
20775 #define HAVE_NAMESPACES
20780 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20781 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20782 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20783 echo $ECHO_N "(cached) $ECHO_C" >&6
20789 ac_cpp='$CXXCPP $CPPFLAGS'
20790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20794 cat >conftest.$ac_ext <<_ACEOF
20795 #line $LINENO "configure"
20798 cat confdefs.h >>conftest.$ac_ext
20799 cat >>conftest.$ac_ext <<_ACEOF
20800 /* end confdefs.h. */
20801 #include <ext/hash_map>
20802 #ifdef HAVE_NAMESPACES
20803 using namespace std;
20808 hash_map<int, int> t; return 0;
20813 rm -f conftest.$ac_objext
20814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20815 (eval $ac_compile) 2>&5
20817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20818 (exit $ac_status); } &&
20819 { ac_try='test -s conftest.$ac_objext'
20820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20821 (eval $ac_try) 2>&5
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); }; }; then
20825 ac_cv_cxx_have_ext_hash_map=std
20827 echo "$as_me: failed program was:" >&5
20828 sed 's/^/| /' conftest.$ac_ext >&5
20830 ac_cv_cxx_have_ext_hash_map=no
20832 rm -f conftest.$ac_objext conftest.$ac_ext
20833 cat >conftest.$ac_ext <<_ACEOF
20834 #line $LINENO "configure"
20837 cat confdefs.h >>conftest.$ac_ext
20838 cat >>conftest.$ac_ext <<_ACEOF
20839 /* end confdefs.h. */
20840 #include <ext/hash_map>
20841 #ifdef HAVE_NAMESPACES
20842 using namespace __gnu_cxx;
20847 hash_map<int, int> t; return 0;
20852 rm -f conftest.$ac_objext
20853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20854 (eval $ac_compile) 2>&5
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); } &&
20858 { ac_try='test -s conftest.$ac_objext'
20859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20860 (eval $ac_try) 2>&5
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); }; }; then
20864 ac_cv_cxx_have_ext_hash_map=gnu
20866 echo "$as_me: failed program was:" >&5
20867 sed 's/^/| /' conftest.$ac_ext >&5
20869 ac_cv_cxx_have_ext_hash_map=no
20871 rm -f conftest.$ac_objext conftest.$ac_ext
20873 ac_cpp='$CPP $CPPFLAGS'
20874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20880 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20881 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20882 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20884 cat >>confdefs.h <<\_ACEOF
20885 #define HAVE_STD_EXT_HASH_MAP
20889 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20891 cat >>confdefs.h <<\_ACEOF
20892 #define HAVE_GNU_EXT_HASH_MAP
20897 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20898 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20899 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20900 echo $ECHO_N "(cached) $ECHO_C" >&6
20906 ac_cpp='$CXXCPP $CPPFLAGS'
20907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20911 cat >conftest.$ac_ext <<_ACEOF
20912 #line $LINENO "configure"
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20918 #include <ext/hash_set>
20919 #ifdef HAVE_NAMESPACES
20920 using namespace std;
20925 hash_set<int> t; return 0;
20930 rm -f conftest.$ac_objext
20931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20932 (eval $ac_compile) 2>&5
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); } &&
20936 { ac_try='test -s conftest.$ac_objext'
20937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20938 (eval $ac_try) 2>&5
20940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20941 (exit $ac_status); }; }; then
20942 ac_cv_cxx_have_ext_hash_set=std
20944 echo "$as_me: failed program was:" >&5
20945 sed 's/^/| /' conftest.$ac_ext >&5
20947 ac_cv_cxx_have_ext_hash_set=no
20949 rm -f conftest.$ac_objext conftest.$ac_ext
20950 cat >conftest.$ac_ext <<_ACEOF
20951 #line $LINENO "configure"
20954 cat confdefs.h >>conftest.$ac_ext
20955 cat >>conftest.$ac_ext <<_ACEOF
20956 /* end confdefs.h. */
20957 #include <ext/hash_set>
20958 #ifdef HAVE_NAMESPACES
20959 using namespace __gnu_cxx;
20964 hash_set<int> t; return 0;
20969 rm -f conftest.$ac_objext
20970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20971 (eval $ac_compile) 2>&5
20973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20974 (exit $ac_status); } &&
20975 { ac_try='test -s conftest.$ac_objext'
20976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20977 (eval $ac_try) 2>&5
20979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20980 (exit $ac_status); }; }; then
20981 ac_cv_cxx_have_ext_hash_set=gnu
20983 echo "$as_me: failed program was:" >&5
20984 sed 's/^/| /' conftest.$ac_ext >&5
20986 ac_cv_cxx_have_ext_hash_set=no
20988 rm -f conftest.$ac_objext conftest.$ac_ext
20990 ac_cpp='$CPP $CPPFLAGS'
20991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20997 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
20998 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
20999 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
21001 cat >>confdefs.h <<\_ACEOF
21002 #define HAVE_STD_EXT_HASH_SET
21006 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
21008 cat >>confdefs.h <<\_ACEOF
21009 #define HAVE_GNU_EXT_HASH_SET
21014 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
21015 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
21016 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
21017 echo $ECHO_N "(cached) $ECHO_C" >&6
21023 ac_cpp='$CXXCPP $CPPFLAGS'
21024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21028 cat >conftest.$ac_ext <<_ACEOF
21029 #line $LINENO "configure"
21032 cat confdefs.h >>conftest.$ac_ext
21033 cat >>conftest.$ac_ext <<_ACEOF
21034 /* end confdefs.h. */
21035 #include <ext/slist>
21036 #ifdef HAVE_NAMESPACES
21037 using namespace std;
21042 slist<int> s; return 0;
21047 rm -f conftest.$ac_objext
21048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21049 (eval $ac_compile) 2>&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); } &&
21053 { ac_try='test -s conftest.$ac_objext'
21054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21055 (eval $ac_try) 2>&5
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); }; }; then
21059 ac_cv_cxx_have_ext_slist=std
21061 echo "$as_me: failed program was:" >&5
21062 sed 's/^/| /' conftest.$ac_ext >&5
21064 ac_cv_cxx_have_ext_slist=no
21066 rm -f conftest.$ac_objext conftest.$ac_ext
21067 cat >conftest.$ac_ext <<_ACEOF
21068 #line $LINENO "configure"
21071 cat confdefs.h >>conftest.$ac_ext
21072 cat >>conftest.$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074 #include <ext/slist>
21075 #ifdef HAVE_NAMESPACES
21076 using namespace __gnu_cxx;
21081 slist<int> s; return 0;
21086 rm -f conftest.$ac_objext
21087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21088 (eval $ac_compile) 2>&5
21090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); } &&
21092 { ac_try='test -s conftest.$ac_objext'
21093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21094 (eval $ac_try) 2>&5
21096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21097 (exit $ac_status); }; }; then
21098 ac_cv_cxx_have_ext_slist=gnu
21100 echo "$as_me: failed program was:" >&5
21101 sed 's/^/| /' conftest.$ac_ext >&5
21103 ac_cv_cxx_have_ext_slist=no
21105 rm -f conftest.$ac_objext conftest.$ac_ext
21108 ac_cpp='$CPP $CPPFLAGS'
21109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21115 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21116 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21117 if test "$ac_cv_cxx_have_ext_slist" = std; then
21119 cat >>confdefs.h <<\_ACEOF
21120 #define HAVE_EXT_SLIST std
21124 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21126 cat >>confdefs.h <<\_ACEOF
21127 #define HAVE_EXT_SLIST gnu
21132 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21133 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21134 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21135 echo $ECHO_N "(cached) $ECHO_C" >&6
21141 ac_cpp='$CXXCPP $CPPFLAGS'
21142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21146 cat >conftest.$ac_ext <<_ACEOF
21147 #line $LINENO "configure"
21150 cat confdefs.h >>conftest.$ac_ext
21151 cat >>conftest.$ac_ext <<_ACEOF
21152 /* end confdefs.h. */
21153 #include <iterator>
21154 #ifdef HAVE_NAMESPACES
21155 using namespace std;
21160 iterator<int,int,int> t; return 0;
21165 rm -f conftest.$ac_objext
21166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21167 (eval $ac_compile) 2>&5
21169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21170 (exit $ac_status); } &&
21171 { ac_try='test -s conftest.$ac_objext'
21172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21173 (eval $ac_try) 2>&5
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); }; }; then
21177 ac_cv_cxx_have_std_iterator=yes
21179 echo "$as_me: failed program was:" >&5
21180 sed 's/^/| /' conftest.$ac_ext >&5
21182 ac_cv_cxx_have_std_iterator=no
21184 rm -f conftest.$ac_objext conftest.$ac_ext
21186 ac_cpp='$CPP $CPPFLAGS'
21187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21193 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21194 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21195 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21197 cat >>confdefs.h <<\_ACEOF
21198 #define HAVE_STD_ITERATOR
21203 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21204 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21205 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21206 echo $ECHO_N "(cached) $ECHO_C" >&6
21212 ac_cpp='$CXXCPP $CPPFLAGS'
21213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21217 cat >conftest.$ac_ext <<_ACEOF
21218 #line $LINENO "configure"
21221 cat confdefs.h >>conftest.$ac_ext
21222 cat >>conftest.$ac_ext <<_ACEOF
21223 /* end confdefs.h. */
21224 #include <iterator>
21225 #ifdef HAVE_NAMESPACES
21226 using namespace std;
21231 bidirectional_iterator<int,int> t; return 0;
21236 rm -f conftest.$ac_objext
21237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21238 (eval $ac_compile) 2>&5
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); } &&
21242 { ac_try='test -s conftest.$ac_objext'
21243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21244 (eval $ac_try) 2>&5
21246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247 (exit $ac_status); }; }; then
21248 ac_cv_cxx_have_bi_iterator=yes
21250 echo "$as_me: failed program was:" >&5
21251 sed 's/^/| /' conftest.$ac_ext >&5
21253 ac_cv_cxx_have_bi_iterator=no
21255 rm -f conftest.$ac_objext conftest.$ac_ext
21257 ac_cpp='$CPP $CPPFLAGS'
21258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21264 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21265 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21266 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21268 cat >>confdefs.h <<\_ACEOF
21269 #define HAVE_BI_ITERATOR
21274 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21275 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21276 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21277 echo $ECHO_N "(cached) $ECHO_C" >&6
21283 ac_cpp='$CXXCPP $CPPFLAGS'
21284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21288 cat >conftest.$ac_ext <<_ACEOF
21289 #line $LINENO "configure"
21292 cat confdefs.h >>conftest.$ac_ext
21293 cat >>conftest.$ac_ext <<_ACEOF
21294 /* end confdefs.h. */
21295 #include <iterator>
21296 #ifdef HAVE_NAMESPACES
21297 using namespace std;
21302 forward_iterator<int,int> t; return 0;
21307 rm -f conftest.$ac_objext
21308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21309 (eval $ac_compile) 2>&5
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); } &&
21313 { ac_try='test -s conftest.$ac_objext'
21314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21315 (eval $ac_try) 2>&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); }; }; then
21319 ac_cv_cxx_have_fwd_iterator=yes
21321 echo "$as_me: failed program was:" >&5
21322 sed 's/^/| /' conftest.$ac_ext >&5
21324 ac_cv_cxx_have_fwd_iterator=no
21326 rm -f conftest.$ac_objext conftest.$ac_ext
21328 ac_cpp='$CPP $CPPFLAGS'
21329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21335 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21336 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21337 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21339 cat >>confdefs.h <<\_ACEOF
21340 #define HAVE_FWD_ITERATOR
21346 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21347 # for constant arguments. Useless!
21348 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21349 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21350 if test "${ac_cv_working_alloca_h+set}" = set; then
21351 echo $ECHO_N "(cached) $ECHO_C" >&6
21353 cat >conftest.$ac_ext <<_ACEOF
21354 #line $LINENO "configure"
21357 cat confdefs.h >>conftest.$ac_ext
21358 cat >>conftest.$ac_ext <<_ACEOF
21359 /* end confdefs.h. */
21360 #include <alloca.h>
21364 char *p = (char *) alloca (2 * sizeof (int));
21369 rm -f conftest.$ac_objext conftest$ac_exeext
21370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21371 (eval $ac_link) 2>&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } &&
21375 { ac_try='test -s conftest$ac_exeext'
21376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21377 (eval $ac_try) 2>&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); }; }; then
21381 ac_cv_working_alloca_h=yes
21383 echo "$as_me: failed program was:" >&5
21384 sed 's/^/| /' conftest.$ac_ext >&5
21386 ac_cv_working_alloca_h=no
21388 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21390 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21391 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21392 if test $ac_cv_working_alloca_h = yes; then
21394 cat >>confdefs.h <<\_ACEOF
21395 #define HAVE_ALLOCA_H 1
21400 echo "$as_me:$LINENO: checking for alloca" >&5
21401 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21402 if test "${ac_cv_func_alloca_works+set}" = set; then
21403 echo $ECHO_N "(cached) $ECHO_C" >&6
21405 cat >conftest.$ac_ext <<_ACEOF
21406 #line $LINENO "configure"
21409 cat confdefs.h >>conftest.$ac_ext
21410 cat >>conftest.$ac_ext <<_ACEOF
21411 /* end confdefs.h. */
21413 # define alloca __builtin_alloca
21416 # include <malloc.h>
21417 # define alloca _alloca
21420 # include <alloca.h>
21425 # ifndef alloca /* predefined by HP cc +Olibcalls */
21436 char *p = (char *) alloca (1);
21441 rm -f conftest.$ac_objext conftest$ac_exeext
21442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21443 (eval $ac_link) 2>&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); } &&
21447 { ac_try='test -s conftest$ac_exeext'
21448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21449 (eval $ac_try) 2>&5
21451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21452 (exit $ac_status); }; }; then
21453 ac_cv_func_alloca_works=yes
21455 echo "$as_me: failed program was:" >&5
21456 sed 's/^/| /' conftest.$ac_ext >&5
21458 ac_cv_func_alloca_works=no
21460 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21462 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21463 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21465 if test $ac_cv_func_alloca_works = yes; then
21467 cat >>confdefs.h <<\_ACEOF
21468 #define HAVE_ALLOCA 1
21472 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21473 # that cause trouble. Some versions do not even contain alloca or
21474 # contain a buggy version. If you still want to use their alloca,
21475 # use ar to extract alloca.o from them instead of compiling alloca.c.
21477 ALLOCA=alloca.$ac_objext
21479 cat >>confdefs.h <<\_ACEOF
21484 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21485 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21486 if test "${ac_cv_os_cray+set}" = set; then
21487 echo $ECHO_N "(cached) $ECHO_C" >&6
21489 cat >conftest.$ac_ext <<_ACEOF
21490 #line $LINENO "configure"
21493 cat confdefs.h >>conftest.$ac_ext
21494 cat >>conftest.$ac_ext <<_ACEOF
21495 /* end confdefs.h. */
21496 #if defined(CRAY) && ! defined(CRAY2)
21503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21504 $EGREP "webecray" >/dev/null 2>&1; then
21512 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21513 echo "${ECHO_T}$ac_cv_os_cray" >&6
21514 if test $ac_cv_os_cray = yes; then
21515 for ac_func in _getb67 GETB67 getb67; do
21516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21517 echo "$as_me:$LINENO: checking for $ac_func" >&5
21518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21519 if eval "test \"\${$as_ac_var+set}\" = set"; then
21520 echo $ECHO_N "(cached) $ECHO_C" >&6
21522 cat >conftest.$ac_ext <<_ACEOF
21523 #line $LINENO "configure"
21526 cat confdefs.h >>conftest.$ac_ext
21527 cat >>conftest.$ac_ext <<_ACEOF
21528 /* end confdefs.h. */
21529 /* System header to define __stub macros and hopefully few prototypes,
21530 which can conflict with char $ac_func (); below.
21531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21532 <limits.h> exists even on freestanding compilers. */
21534 # include <limits.h>
21536 # include <assert.h>
21538 /* Override any gcc2 internal prototype to avoid an error. */
21543 /* We use char because int might match the return type of a gcc2
21544 builtin and then its argument prototype would still apply. */
21546 /* The GNU C library defines this for functions which it implements
21547 to always fail with ENOSYS. Some functions are actually named
21548 something starting with __ and the normal name is an alias. */
21549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21552 char (*f) () = $ac_func;
21561 return f != $ac_func;
21566 rm -f conftest.$ac_objext conftest$ac_exeext
21567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21568 (eval $ac_link) 2>&5
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); } &&
21572 { ac_try='test -s conftest$ac_exeext'
21573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21574 (eval $ac_try) 2>&5
21576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21577 (exit $ac_status); }; }; then
21578 eval "$as_ac_var=yes"
21580 echo "$as_me: failed program was:" >&5
21581 sed 's/^/| /' conftest.$ac_ext >&5
21583 eval "$as_ac_var=no"
21585 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21589 if test `eval echo '${'$as_ac_var'}'` = yes; then
21591 cat >>confdefs.h <<_ACEOF
21592 #define CRAY_STACKSEG_END $ac_func
21601 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21602 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21603 if test "${ac_cv_c_stack_direction+set}" = set; then
21604 echo $ECHO_N "(cached) $ECHO_C" >&6
21606 if test "$cross_compiling" = yes; then
21607 ac_cv_c_stack_direction=0
21609 cat >conftest.$ac_ext <<_ACEOF
21610 #line $LINENO "configure"
21613 cat confdefs.h >>conftest.$ac_ext
21614 cat >>conftest.$ac_ext <<_ACEOF
21615 /* end confdefs.h. */
21617 find_stack_direction ()
21619 static char *addr = 0;
21624 return find_stack_direction ();
21627 return (&dummy > addr) ? 1 : -1;
21633 exit (find_stack_direction () < 0);
21636 rm -f conftest$ac_exeext
21637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21638 (eval $ac_link) 2>&5
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21643 (eval $ac_try) 2>&5
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); }; }; then
21647 ac_cv_c_stack_direction=1
21649 echo "$as_me: program exited with status $ac_status" >&5
21650 echo "$as_me: failed program was:" >&5
21651 sed 's/^/| /' conftest.$ac_ext >&5
21653 ( exit $ac_status )
21654 ac_cv_c_stack_direction=-1
21656 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21659 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21660 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21662 cat >>confdefs.h <<_ACEOF
21663 #define STACK_DIRECTION $ac_cv_c_stack_direction
21669 if test $ac_cv_c_compiler_gnu = yes; then
21670 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21671 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21672 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21673 echo $ECHO_N "(cached) $ECHO_C" >&6
21675 ac_pattern="Autoconf.*'x'"
21676 cat >conftest.$ac_ext <<_ACEOF
21677 #line $LINENO "configure"
21680 cat confdefs.h >>conftest.$ac_ext
21681 cat >>conftest.$ac_ext <<_ACEOF
21682 /* end confdefs.h. */
21686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21687 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21688 ac_cv_prog_gcc_traditional=yes
21690 ac_cv_prog_gcc_traditional=no
21695 if test $ac_cv_prog_gcc_traditional = no; then
21696 cat >conftest.$ac_ext <<_ACEOF
21697 #line $LINENO "configure"
21700 cat confdefs.h >>conftest.$ac_ext
21701 cat >>conftest.$ac_ext <<_ACEOF
21702 /* end confdefs.h. */
21703 #include <termio.h>
21706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21707 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21708 ac_cv_prog_gcc_traditional=yes
21714 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21715 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21716 if test $ac_cv_prog_gcc_traditional = yes; then
21717 CC="$CC -traditional"
21721 echo "$as_me:$LINENO: checking for working memcmp" >&5
21722 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21723 if test "${ac_cv_func_memcmp_working+set}" = set; then
21724 echo $ECHO_N "(cached) $ECHO_C" >&6
21726 if test "$cross_compiling" = yes; then
21727 ac_cv_func_memcmp_working=no
21729 cat >conftest.$ac_ext <<_ACEOF
21730 #line $LINENO "configure"
21733 cat confdefs.h >>conftest.$ac_ext
21734 cat >>conftest.$ac_ext <<_ACEOF
21735 /* end confdefs.h. */
21741 /* Some versions of memcmp are not 8-bit clean. */
21742 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21743 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21746 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21747 or more and with at least one buffer not starting on a 4-byte boundary.
21748 William Lewis provided this test program. */
21753 for (i = 0; i < 4; i++)
21757 strcpy (a, "--------01111111");
21758 strcpy (b, "--------10000000");
21759 if (memcmp (a, b, 16) >= 0)
21769 rm -f conftest$ac_exeext
21770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21771 (eval $ac_link) 2>&5
21773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21776 (eval $ac_try) 2>&5
21778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21779 (exit $ac_status); }; }; then
21780 ac_cv_func_memcmp_working=yes
21782 echo "$as_me: program exited with status $ac_status" >&5
21783 echo "$as_me: failed program was:" >&5
21784 sed 's/^/| /' conftest.$ac_ext >&5
21786 ( exit $ac_status )
21787 ac_cv_func_memcmp_working=no
21789 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21792 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21793 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21794 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21798 for ac_header in stdlib.h unistd.h
21800 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21802 echo "$as_me:$LINENO: checking for $ac_header" >&5
21803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21805 echo $ECHO_N "(cached) $ECHO_C" >&6
21807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21810 # Is the header compilable?
21811 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21812 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21813 cat >conftest.$ac_ext <<_ACEOF
21814 #line $LINENO "configure"
21817 cat confdefs.h >>conftest.$ac_ext
21818 cat >>conftest.$ac_ext <<_ACEOF
21819 /* end confdefs.h. */
21820 $ac_includes_default
21821 #include <$ac_header>
21823 rm -f conftest.$ac_objext
21824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21825 (eval $ac_compile) 2>&5
21827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828 (exit $ac_status); } &&
21829 { ac_try='test -s conftest.$ac_objext'
21830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21831 (eval $ac_try) 2>&5
21833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21834 (exit $ac_status); }; }; then
21835 ac_header_compiler=yes
21837 echo "$as_me: failed program was:" >&5
21838 sed 's/^/| /' conftest.$ac_ext >&5
21840 ac_header_compiler=no
21842 rm -f conftest.$ac_objext conftest.$ac_ext
21843 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21844 echo "${ECHO_T}$ac_header_compiler" >&6
21846 # Is the header present?
21847 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21848 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21849 cat >conftest.$ac_ext <<_ACEOF
21850 #line $LINENO "configure"
21853 cat confdefs.h >>conftest.$ac_ext
21854 cat >>conftest.$ac_ext <<_ACEOF
21855 /* end confdefs.h. */
21856 #include <$ac_header>
21858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21861 grep -v '^ *+' conftest.er1 >conftest.err
21863 cat conftest.err >&5
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); } >/dev/null; then
21866 if test -s conftest.err; then
21867 ac_cpp_err=$ac_c_preproc_warn_flag
21874 if test -z "$ac_cpp_err"; then
21875 ac_header_preproc=yes
21877 echo "$as_me: failed program was:" >&5
21878 sed 's/^/| /' conftest.$ac_ext >&5
21880 ac_header_preproc=no
21882 rm -f conftest.err conftest.$ac_ext
21883 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21884 echo "${ECHO_T}$ac_header_preproc" >&6
21886 # So? What about this header?
21887 case $ac_header_compiler:$ac_header_preproc in
21889 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21890 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21895 ## ------------------------------------ ##
21896 ## Report this to bug-autoconf@gnu.org. ##
21897 ## ------------------------------------ ##
21900 sed "s/^/$as_me: WARNING: /" >&2
21903 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21904 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21905 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21906 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21911 ## ------------------------------------ ##
21912 ## Report this to bug-autoconf@gnu.org. ##
21913 ## ------------------------------------ ##
21916 sed "s/^/$as_me: WARNING: /" >&2
21919 echo "$as_me:$LINENO: checking for $ac_header" >&5
21920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21922 echo $ECHO_N "(cached) $ECHO_C" >&6
21924 eval "$as_ac_Header=$ac_header_preproc"
21926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21931 cat >>confdefs.h <<_ACEOF
21932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21940 for ac_func in getpagesize
21942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21943 echo "$as_me:$LINENO: checking for $ac_func" >&5
21944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21945 if eval "test \"\${$as_ac_var+set}\" = set"; then
21946 echo $ECHO_N "(cached) $ECHO_C" >&6
21948 cat >conftest.$ac_ext <<_ACEOF
21949 #line $LINENO "configure"
21952 cat confdefs.h >>conftest.$ac_ext
21953 cat >>conftest.$ac_ext <<_ACEOF
21954 /* end confdefs.h. */
21955 /* System header to define __stub macros and hopefully few prototypes,
21956 which can conflict with char $ac_func (); below.
21957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21958 <limits.h> exists even on freestanding compilers. */
21960 # include <limits.h>
21962 # include <assert.h>
21964 /* Override any gcc2 internal prototype to avoid an error. */
21969 /* We use char because int might match the return type of a gcc2
21970 builtin and then its argument prototype would still apply. */
21972 /* The GNU C library defines this for functions which it implements
21973 to always fail with ENOSYS. Some functions are actually named
21974 something starting with __ and the normal name is an alias. */
21975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21978 char (*f) () = $ac_func;
21987 return f != $ac_func;
21992 rm -f conftest.$ac_objext conftest$ac_exeext
21993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21994 (eval $ac_link) 2>&5
21996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997 (exit $ac_status); } &&
21998 { ac_try='test -s conftest$ac_exeext'
21999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22000 (eval $ac_try) 2>&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); }; }; then
22004 eval "$as_ac_var=yes"
22006 echo "$as_me: failed program was:" >&5
22007 sed 's/^/| /' conftest.$ac_ext >&5
22009 eval "$as_ac_var=no"
22011 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22015 if test `eval echo '${'$as_ac_var'}'` = yes; then
22016 cat >>confdefs.h <<_ACEOF
22017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22023 echo "$as_me:$LINENO: checking for working mmap" >&5
22024 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22025 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22026 echo $ECHO_N "(cached) $ECHO_C" >&6
22028 if test "$cross_compiling" = yes; then
22029 ac_cv_func_mmap_fixed_mapped=no
22031 cat >conftest.$ac_ext <<_ACEOF
22032 #line $LINENO "configure"
22035 cat confdefs.h >>conftest.$ac_ext
22036 cat >>conftest.$ac_ext <<_ACEOF
22037 /* end confdefs.h. */
22038 $ac_includes_default
22039 /* malloc might have been renamed as rpl_malloc. */
22042 /* Thanks to Mike Haertel and Jim Avera for this test.
22043 Here is a matrix of mmap possibilities:
22044 mmap private not fixed
22045 mmap private fixed at somewhere currently unmapped
22046 mmap private fixed at somewhere already mapped
22047 mmap shared not fixed
22048 mmap shared fixed at somewhere currently unmapped
22049 mmap shared fixed at somewhere already mapped
22050 For private mappings, we should verify that changes cannot be read()
22051 back from the file, nor mmap's back from the file at a different
22052 address. (There have been systems where private was not correctly
22053 implemented like the infamous i386 svr4.0, and systems where the
22054 VM page cache was not coherent with the file system buffer cache
22055 like early versions of FreeBSD and possibly contemporary NetBSD.)
22056 For shared mappings, we should conversely verify that changes get
22057 propagated back to all the places they're supposed to be.
22059 Grep wants private fixed already mapped.
22060 The main things grep needs to know about mmap are:
22061 * does it exist and is it safe to write into the mmap'd area
22062 * how to use it (BSD variants) */
22065 #include <sys/mman.h>
22067 #if !STDC_HEADERS && !HAVE_STDLIB_H
22071 /* This mess was copied from the GNU getpagesize.h. */
22072 #if !HAVE_GETPAGESIZE
22073 /* Assume that all systems that can run configure have sys/param.h. */
22074 # if !HAVE_SYS_PARAM_H
22075 # define HAVE_SYS_PARAM_H 1
22078 # ifdef _SC_PAGESIZE
22079 # define getpagesize() sysconf(_SC_PAGESIZE)
22080 # else /* no _SC_PAGESIZE */
22081 # if HAVE_SYS_PARAM_H
22082 # include <sys/param.h>
22083 # ifdef EXEC_PAGESIZE
22084 # define getpagesize() EXEC_PAGESIZE
22085 # else /* no EXEC_PAGESIZE */
22087 # define getpagesize() NBPG * CLSIZE
22090 # endif /* no CLSIZE */
22091 # else /* no NBPG */
22093 # define getpagesize() NBPC
22094 # else /* no NBPC */
22096 # define getpagesize() PAGESIZE
22097 # endif /* PAGESIZE */
22098 # endif /* no NBPC */
22099 # endif /* no NBPG */
22100 # endif /* no EXEC_PAGESIZE */
22101 # else /* no HAVE_SYS_PARAM_H */
22102 # define getpagesize() 8192 /* punt totally */
22103 # endif /* no HAVE_SYS_PARAM_H */
22104 # endif /* no _SC_PAGESIZE */
22106 #endif /* no HAVE_GETPAGESIZE */
22111 char *data, *data2, *data3;
22115 pagesize = getpagesize ();
22117 /* First, make a file with some known garbage in it. */
22118 data = (char *) malloc (pagesize);
22121 for (i = 0; i < pagesize; ++i)
22122 *(data + i) = rand ();
22124 fd = creat ("conftest.mmap", 0600);
22127 if (write (fd, data, pagesize) != pagesize)
22131 /* Next, try to mmap the file at a fixed address which already has
22132 something else allocated at it. If we can, also make sure that
22133 we see the same garbage. */
22134 fd = open ("conftest.mmap", O_RDWR);
22137 data2 = (char *) malloc (2 * pagesize);
22140 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22141 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22142 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22144 for (i = 0; i < pagesize; ++i)
22145 if (*(data + i) != *(data2 + i))
22148 /* Finally, make sure that changes to the mapped area do not
22149 percolate back to the file as seen by read(). (This is a bug on
22150 some variants of i386 svr4.0.) */
22151 for (i = 0; i < pagesize; ++i)
22152 *(data2 + i) = *(data2 + i) + 1;
22153 data3 = (char *) malloc (pagesize);
22156 if (read (fd, data3, pagesize) != pagesize)
22158 for (i = 0; i < pagesize; ++i)
22159 if (*(data + i) != *(data3 + i))
22165 rm -f conftest$ac_exeext
22166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22167 (eval $ac_link) 2>&5
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22172 (eval $ac_try) 2>&5
22174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175 (exit $ac_status); }; }; then
22176 ac_cv_func_mmap_fixed_mapped=yes
22178 echo "$as_me: program exited with status $ac_status" >&5
22179 echo "$as_me: failed program was:" >&5
22180 sed 's/^/| /' conftest.$ac_ext >&5
22182 ( exit $ac_status )
22183 ac_cv_func_mmap_fixed_mapped=no
22185 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22188 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22189 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22190 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22192 cat >>confdefs.h <<\_ACEOF
22193 #define HAVE_MMAP 1
22197 rm -f conftest.mmap
22199 echo "$as_me:$LINENO: checking for mmap of files" >&5
22200 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22201 if test "${ac_cv_func_mmap_file+set}" = set; then
22202 echo $ECHO_N "(cached) $ECHO_C" >&6
22207 ac_cpp='$CPP $CPPFLAGS'
22208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22212 if test "$cross_compiling" = yes; then
22213 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22214 See \`config.log' for more details." >&5
22215 echo "$as_me: error: cannot run test program while cross compiling
22216 See \`config.log' for more details." >&2;}
22217 { (exit 1); exit 1; }; }
22219 cat >conftest.$ac_ext <<_ACEOF
22220 #line $LINENO "configure"
22223 cat confdefs.h >>conftest.$ac_ext
22224 cat >>conftest.$ac_ext <<_ACEOF
22225 /* end confdefs.h. */
22227 #ifdef HAVE_SYS_MMAN_H
22228 #include <sys/mman.h>
22231 #ifdef HAVE_SYS_TYPES_H
22232 #include <sys/types.h>
22235 #ifdef HAVE_FCNTL_H
22241 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22243 rm -f conftest$ac_exeext
22244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22245 (eval $ac_link) 2>&5
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22250 (eval $ac_try) 2>&5
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); }; }; then
22254 ac_cv_func_mmap_file=yes
22256 echo "$as_me: program exited with status $ac_status" >&5
22257 echo "$as_me: failed program was:" >&5
22258 sed 's/^/| /' conftest.$ac_ext >&5
22260 ( exit $ac_status )
22261 ac_cv_func_mmap_file=no
22263 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22266 ac_cpp='$CPP $CPPFLAGS'
22267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22273 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22274 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22275 if test "$ac_cv_func_mmap_file" = yes; then
22276 cat >>confdefs.h <<\_ACEOF
22277 #define HAVE_MMAP_FILE 1
22284 if test ${ac_cv_func_mmap_file} = "no"
22286 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22287 echo "$as_me: error: mmap() of files required but not found" >&2;}
22288 { (exit 1); exit 1; }; }
22290 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22291 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22292 if test "${ac_cv_header_mmap_anon+set}" = set; then
22293 echo $ECHO_N "(cached) $ECHO_C" >&6
22298 ac_cpp='$CPP $CPPFLAGS'
22299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22303 cat >conftest.$ac_ext <<_ACEOF
22304 #line $LINENO "configure"
22307 cat confdefs.h >>conftest.$ac_ext
22308 cat >>conftest.$ac_ext <<_ACEOF
22309 /* end confdefs.h. */
22310 #include <sys/mman.h>
22311 #include <unistd.h>
22316 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22321 rm -f conftest.$ac_objext
22322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22323 (eval $ac_compile) 2>&5
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); } &&
22327 { ac_try='test -s conftest.$ac_objext'
22328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22329 (eval $ac_try) 2>&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); }; }; then
22333 ac_cv_header_mmap_anon=yes
22335 echo "$as_me: failed program was:" >&5
22336 sed 's/^/| /' conftest.$ac_ext >&5
22338 ac_cv_header_mmap_anon=no
22340 rm -f conftest.$ac_objext conftest.$ac_ext
22342 ac_cpp='$CPP $CPPFLAGS'
22343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22349 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22350 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22351 if test "$ac_cv_header_mmap_anon" = yes; then
22352 cat >>confdefs.h <<\_ACEOF
22353 #define HAVE_MMAP_ANONYMOUS 1
22358 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22359 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22360 if test "${ac_cv_type_signal+set}" = set; then
22361 echo $ECHO_N "(cached) $ECHO_C" >&6
22363 cat >conftest.$ac_ext <<_ACEOF
22364 #line $LINENO "configure"
22367 cat confdefs.h >>conftest.$ac_ext
22368 cat >>conftest.$ac_ext <<_ACEOF
22369 /* end confdefs.h. */
22370 #include <sys/types.h>
22371 #include <signal.h>
22376 extern "C" void (*signal (int, void (*)(int)))(int);
22378 void (*signal ()) ();
22389 rm -f conftest.$ac_objext
22390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22391 (eval $ac_compile) 2>&5
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22394 (exit $ac_status); } &&
22395 { ac_try='test -s conftest.$ac_objext'
22396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22397 (eval $ac_try) 2>&5
22399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22400 (exit $ac_status); }; }; then
22401 ac_cv_type_signal=void
22403 echo "$as_me: failed program was:" >&5
22404 sed 's/^/| /' conftest.$ac_ext >&5
22406 ac_cv_type_signal=int
22408 rm -f conftest.$ac_objext conftest.$ac_ext
22410 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22411 echo "${ECHO_T}$ac_cv_type_signal" >&6
22413 cat >>confdefs.h <<_ACEOF
22414 #define RETSIGTYPE $ac_cv_type_signal
22429 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol strtoq strtoll
22431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22432 echo "$as_me:$LINENO: checking for $ac_func" >&5
22433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22434 if eval "test \"\${$as_ac_var+set}\" = set"; then
22435 echo $ECHO_N "(cached) $ECHO_C" >&6
22437 cat >conftest.$ac_ext <<_ACEOF
22438 #line $LINENO "configure"
22441 cat confdefs.h >>conftest.$ac_ext
22442 cat >>conftest.$ac_ext <<_ACEOF
22443 /* end confdefs.h. */
22444 /* System header to define __stub macros and hopefully few prototypes,
22445 which can conflict with char $ac_func (); below.
22446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22447 <limits.h> exists even on freestanding compilers. */
22449 # include <limits.h>
22451 # include <assert.h>
22453 /* Override any gcc2 internal prototype to avoid an error. */
22458 /* We use char because int might match the return type of a gcc2
22459 builtin and then its argument prototype would still apply. */
22461 /* The GNU C library defines this for functions which it implements
22462 to always fail with ENOSYS. Some functions are actually named
22463 something starting with __ and the normal name is an alias. */
22464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22467 char (*f) () = $ac_func;
22476 return f != $ac_func;
22481 rm -f conftest.$ac_objext conftest$ac_exeext
22482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22483 (eval $ac_link) 2>&5
22485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22486 (exit $ac_status); } &&
22487 { ac_try='test -s conftest$ac_exeext'
22488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22489 (eval $ac_try) 2>&5
22491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22492 (exit $ac_status); }; }; then
22493 eval "$as_ac_var=yes"
22495 echo "$as_me: failed program was:" >&5
22496 sed 's/^/| /' conftest.$ac_ext >&5
22498 eval "$as_ac_var=no"
22500 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22504 if test `eval echo '${'$as_ac_var'}'` = yes; then
22505 cat >>confdefs.h <<_ACEOF
22506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22514 echo "$as_me:$LINENO: checking for mmap" >&5
22515 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22516 if test "${ac_cv_func_mmap+set}" = set; then
22517 echo $ECHO_N "(cached) $ECHO_C" >&6
22519 cat >conftest.$ac_ext <<_ACEOF
22520 #line $LINENO "configure"
22523 cat confdefs.h >>conftest.$ac_ext
22524 cat >>conftest.$ac_ext <<_ACEOF
22525 /* end confdefs.h. */
22526 /* System header to define __stub macros and hopefully few prototypes,
22527 which can conflict with char mmap (); below.
22528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22529 <limits.h> exists even on freestanding compilers. */
22531 # include <limits.h>
22533 # include <assert.h>
22535 /* Override any gcc2 internal prototype to avoid an error. */
22540 /* We use char because int might match the return type of a gcc2
22541 builtin and then its argument prototype would still apply. */
22543 /* The GNU C library defines this for functions which it implements
22544 to always fail with ENOSYS. Some functions are actually named
22545 something starting with __ and the normal name is an alias. */
22546 #if defined (__stub_mmap) || defined (__stub___mmap)
22549 char (*f) () = mmap;
22563 rm -f conftest.$ac_objext conftest$ac_exeext
22564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22565 (eval $ac_link) 2>&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); } &&
22569 { ac_try='test -s conftest$ac_exeext'
22570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22571 (eval $ac_try) 2>&5
22573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574 (exit $ac_status); }; }; then
22575 ac_cv_func_mmap=yes
22577 echo "$as_me: failed program was:" >&5
22578 sed 's/^/| /' conftest.$ac_ext >&5
22582 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22584 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22585 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22586 if test $ac_cv_func_mmap = yes; then
22589 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22590 echo "$as_me: error: Function mmap() required but not found" >&2;}
22591 { (exit 1); exit 1; }; }
22594 echo "$as_me:$LINENO: checking for mprotect" >&5
22595 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22596 if test "${ac_cv_func_mprotect+set}" = set; then
22597 echo $ECHO_N "(cached) $ECHO_C" >&6
22599 cat >conftest.$ac_ext <<_ACEOF
22600 #line $LINENO "configure"
22603 cat confdefs.h >>conftest.$ac_ext
22604 cat >>conftest.$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22606 /* System header to define __stub macros and hopefully few prototypes,
22607 which can conflict with char mprotect (); below.
22608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22609 <limits.h> exists even on freestanding compilers. */
22611 # include <limits.h>
22613 # include <assert.h>
22615 /* Override any gcc2 internal prototype to avoid an error. */
22620 /* We use char because int might match the return type of a gcc2
22621 builtin and then its argument prototype would still apply. */
22623 /* The GNU C library defines this for functions which it implements
22624 to always fail with ENOSYS. Some functions are actually named
22625 something starting with __ and the normal name is an alias. */
22626 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22629 char (*f) () = mprotect;
22638 return f != mprotect;
22643 rm -f conftest.$ac_objext conftest$ac_exeext
22644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22645 (eval $ac_link) 2>&5
22647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22648 (exit $ac_status); } &&
22649 { ac_try='test -s conftest$ac_exeext'
22650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22651 (eval $ac_try) 2>&5
22653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22654 (exit $ac_status); }; }; then
22655 ac_cv_func_mprotect=yes
22657 echo "$as_me: failed program was:" >&5
22658 sed 's/^/| /' conftest.$ac_ext >&5
22660 ac_cv_func_mprotect=no
22662 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22664 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22665 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22666 if test $ac_cv_func_mprotect = yes; then
22669 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22670 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22671 { (exit 1); exit 1; }; }
22676 # Check whether --enable-purify or --disable-purify was given.
22677 if test "${enable_purify+set}" = set; then
22678 enableval="$enable_purify"
22683 if test ${enableval} = "no"
22688 ENABLE_PURIFY=ENABLE_PURIFY=1
22692 # Check whether --enable-optimized or --disable-optimized was given.
22693 if test "${enable_optimized+set}" = set; then
22694 enableval="$enable_optimized"
22699 if test ${enableval} = "no"
22704 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22708 # Check whether --enable-spec2000 or --disable-spec2000 was given.
22709 if test "${enable_spec2000+set}" = set; then
22710 enableval="$enable_spec2000"
22715 if test ${enableval} = "no"
22717 if test -d /home/vadve/shared/benchmarks/speccpu2000/benchspec
22719 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22721 USE_SPEC=USE_SPEC=1
22729 if test ${enableval} = ""
22731 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22734 SPEC_ROOT=${enableval}
22737 USE_SPEC=USE_SPEC=1
22741 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22742 if test "${enable_precompiled_bytecode+set}" = set; then
22743 enableval="$enable_precompiled_bytecode"
22748 if test ${enableval} = "no"
22753 UPB=USE_PRECOMPILED_BYTECODE=1
22758 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22759 if test "${enable_llc_diffs+set}" = set; then
22760 enableval="$enable_llc_diffs"
22765 if test ${enableval} = "no"
22767 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22774 # Check whether --enable-jit or --disable-jit was given.
22775 if test "${enable_jit+set}" = set; then
22776 enableval="$enable_jit"
22782 if test ${enableval} = "no"
22789 JIT=TARGET_HAS_JIT=1
22793 JIT=TARGET_HAS_JIT=1
22805 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22806 if test "${with_llvmgccdir+set}" = set; then
22807 withval="$with_llvmgccdir"
22808 LLVMGCCDIR=$withval
22813 # Check whether --with-bcrepos or --without-bcrepos was given.
22814 if test "${with_bcrepos+set}" = set; then
22815 withval="$with_bcrepos"
22819 BCR=/home/vadve/lattner/LLVMPrograms
22824 # Check whether --with-papi or --without-papi was given.
22825 if test "${with_papi+set}" = set; then
22826 withval="$with_papi"
22830 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22835 # Check whether --with-purify or --without-purify was given.
22836 if test "${with_purify+set}" = set; then
22837 withval="$with_purify"
22843 ac_config_files="$ac_config_files Makefile.config"
22844 cat >confcache <<\_ACEOF
22845 # This file is a shell script that caches the results of configure
22846 # tests run on this system so they can be shared between configure
22847 # scripts and configure runs, see configure's option --config-cache.
22848 # It is not useful on other systems. If it contains results you don't
22849 # want to keep, you may remove or edit it.
22851 # config.status only pays attention to the cache file if you give it
22852 # the --recheck option to rerun configure.
22854 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22855 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22856 # following values.
22860 # The following way of writing the cache mishandles newlines in values,
22861 # but we know of no workaround that is simple, portable, and efficient.
22862 # So, don't put newlines in cache variables' values.
22863 # Ultrix sh set writes to stderr and can't be redirected directly,
22864 # and sets the high bit in the cache file unless we assign to the vars.
22867 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22869 # `set' does not quote correctly, so add quotes (double-quote
22870 # substitution turns \\\\ into \\, and sed turns \\ into \).
22873 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22876 # `set' quotes correctly as required by POSIX, so do not add quotes.
22878 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22885 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22887 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22889 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22890 if test -w $cache_file; then
22891 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22892 cat confcache >$cache_file
22894 echo "not updating unwritable cache $cache_file"
22899 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22900 # Let make expand exec_prefix.
22901 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22903 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22904 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22905 # trailing colons and then remove the whole line if VPATH becomes empty
22906 # (actually we leave an empty line to preserve line numbers).
22907 if test "x$srcdir" = x.; then
22908 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22909 s/:*\$(srcdir):*/:/;
22910 s/:*\${srcdir}:*/:/;
22912 s/^\([^=]*=[ ]*\):*/\1/;
22918 DEFS=-DHAVE_CONFIG_H
22922 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22923 # 1. Remove the extension, and $U if already installed.
22924 ac_i=`echo "$ac_i" |
22925 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22927 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22928 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22930 LIBOBJS=$ac_libobjs
22932 LTLIBOBJS=$ac_ltlibobjs
22936 : ${CONFIG_STATUS=./config.status}
22937 ac_clean_files_save=$ac_clean_files
22938 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22939 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22940 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22941 cat >$CONFIG_STATUS <<_ACEOF
22943 # Generated by $as_me.
22944 # Run this file to recreate the current configuration.
22945 # Compiler output produced by configure, useful for debugging
22946 # configure, is in config.log if it exists.
22949 ac_cs_recheck=false
22951 SHELL=\${CONFIG_SHELL-$SHELL}
22954 cat >>$CONFIG_STATUS <<\_ACEOF
22955 ## --------------------- ##
22956 ## M4sh Initialization. ##
22957 ## --------------------- ##
22959 # Be Bourne compatible
22960 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22963 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22964 # is contrary to our usage. Disable this feature.
22965 alias -g '${1+"$@"}'='"$@"'
22966 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22970 # Support unset when possible.
22971 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22978 # Work around bugs in pre-3.0 UWIN ksh.
22979 $as_unset ENV MAIL MAILPATH
22986 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22987 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22988 LC_TELEPHONE LC_TIME
22990 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
22991 eval $as_var=C; export $as_var
22997 # Required to use basename.
22998 if expr a : '\(a\)' >/dev/null 2>&1; then
23004 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23005 as_basename=basename
23011 # Name of the executable.
23012 as_me=`$as_basename "$0" ||
23013 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23014 X"$0" : 'X\(//\)$' \| \
23015 X"$0" : 'X\(/\)$' \| \
23016 . : '\(.\)' 2>/dev/null ||
23018 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23019 /^X\/\(\/\/\)$/{ s//\1/; q; }
23020 /^X\/\(\/\).*/{ s//\1/; q; }
23024 # PATH needs CR, and LINENO needs CR and PATH.
23025 # Avoid depending upon Character Ranges.
23026 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23027 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23028 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23029 as_cr_digits='0123456789'
23030 as_cr_alnum=$as_cr_Letters$as_cr_digits
23032 # The user is always right.
23033 if test "${PATH_SEPARATOR+set}" != set; then
23034 echo "#! /bin/sh" >conf$$.sh
23035 echo "exit 0" >>conf$$.sh
23037 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23046 as_lineno_1=$LINENO
23047 as_lineno_2=$LINENO
23048 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23049 test "x$as_lineno_1" != "x$as_lineno_2" &&
23050 test "x$as_lineno_3" = "x$as_lineno_2" || {
23051 # Find who we are. Look in the path if we contain no path at all
23054 *[\\/]* ) as_myself=$0 ;;
23055 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23056 for as_dir in $PATH
23059 test -z "$as_dir" && as_dir=.
23060 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23065 # We did not find ourselves, most probably we were run as `sh COMMAND'
23066 # in which case we are not to be found in the path.
23067 if test "x$as_myself" = x; then
23070 if test ! -f "$as_myself"; then
23071 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23072 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23073 { (exit 1); exit 1; }; }
23075 case $CONFIG_SHELL in
23077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23078 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23081 test -z "$as_dir" && as_dir=.
23082 for as_base in sh bash ksh sh5; do
23085 if ("$as_dir/$as_base" -c '
23086 as_lineno_1=$LINENO
23087 as_lineno_2=$LINENO
23088 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23089 test "x$as_lineno_1" != "x$as_lineno_2" &&
23090 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23091 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23092 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23093 CONFIG_SHELL=$as_dir/$as_base
23094 export CONFIG_SHELL
23095 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23103 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23104 # uniformly replaced by the line number. The first 'sed' inserts a
23105 # line-number line before each line; the second 'sed' does the real
23106 # work. The second script uses 'N' to pair each line-number line
23107 # with the numbered line, and appends trailing '-' during
23108 # substitution so that $LINENO is not a special case at line end.
23109 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23110 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23111 sed '=' <$as_myself |
23116 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23119 s,^['$as_cr_digits']*\n,,
23120 ' >$as_me.lineno &&
23121 chmod +x $as_me.lineno ||
23122 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23123 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23124 { (exit 1); exit 1; }; }
23126 # Don't try to exec as it changes $[0], causing all sort of problems
23127 # (the dirname of $[0] is not the place where we might find the
23128 # original and so on. Autoconf is especially sensible to this).
23130 # Exit status is that of the last command.
23135 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23136 *c*,-n*) ECHO_N= ECHO_C='
23138 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23139 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23142 if expr a : '\(a\)' >/dev/null 2>&1; then
23148 rm -f conf$$ conf$$.exe conf$$.file
23150 if ln -s conf$$.file conf$$ 2>/dev/null; then
23151 # We could just check for DJGPP; but this test a) works b) is more generic
23152 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23153 if test -f conf$$.exe; then
23154 # Don't use ln at all; we don't have any links
23159 elif ln conf$$.file conf$$ 2>/dev/null; then
23164 rm -f conf$$ conf$$.exe conf$$.file
23166 if mkdir -p . 2>/dev/null; then
23172 as_executable_p="test -f"
23174 # Sed expression to map a string onto a valid CPP name.
23175 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23177 # Sed expression to map a string onto a valid variable name.
23178 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23182 # We need space, tab and new line, in precisely that order.
23192 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23193 # report actual input values of CONFIG_FILES etc. instead of their
23194 # values after options handling. Logging --version etc. is OK.
23198 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23199 ## Running $as_me. ##
23204 This file was extended by [LLVM] $as_me [1.0], which was
23205 generated by GNU Autoconf 2.57. Invocation command line was
23207 CONFIG_FILES = $CONFIG_FILES
23208 CONFIG_HEADERS = $CONFIG_HEADERS
23209 CONFIG_LINKS = $CONFIG_LINKS
23210 CONFIG_COMMANDS = $CONFIG_COMMANDS
23214 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23218 # Files that config.status was made for.
23219 if test -n "$ac_config_files"; then
23220 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23223 if test -n "$ac_config_headers"; then
23224 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23227 if test -n "$ac_config_links"; then
23228 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23231 if test -n "$ac_config_commands"; then
23232 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23235 cat >>$CONFIG_STATUS <<\_ACEOF
23238 \`$as_me' instantiates files from templates according to the
23239 current configuration.
23241 Usage: $0 [OPTIONS] [FILE]...
23243 -h, --help print this help, then exit
23244 -V, --version print version number, then exit
23245 -q, --quiet do not print progress messages
23246 -d, --debug don't remove temporary files
23247 --recheck update $as_me by reconfiguring in the same conditions
23248 --file=FILE[:TEMPLATE]
23249 instantiate the configuration file FILE
23250 --header=FILE[:TEMPLATE]
23251 instantiate the configuration header FILE
23253 Configuration files:
23256 Configuration headers:
23259 Configuration commands:
23262 Report bugs to <bug-autoconf@gnu.org>."
23265 cat >>$CONFIG_STATUS <<_ACEOF
23267 [LLVM] config.status [1.0]
23268 configured by $0, generated by GNU Autoconf 2.57,
23269 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23271 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23272 Free Software Foundation, Inc.
23273 This config.status script is free software; the Free Software Foundation
23274 gives unlimited permission to copy, distribute and modify it."
23279 cat >>$CONFIG_STATUS <<\_ACEOF
23280 # If no file are specified by the user, then we need to provide default
23281 # value. By we need to know if files were specified by the user.
23287 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23288 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23296 *) # This is not an option, so the user has probably given explicit
23299 ac_need_defaults=false;;
23303 # Handling of the options.
23305 cat >>$CONFIG_STATUS <<\_ACEOF
23306 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23308 --version | --vers* | -V )
23309 echo "$ac_cs_version"; exit 0 ;;
23311 # Conflict between --help and --header
23312 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23313 Try \`$0 --help' for more information." >&5
23314 echo "$as_me: error: ambiguous option: $1
23315 Try \`$0 --help' for more information." >&2;}
23316 { (exit 1); exit 1; }; };;
23317 --help | --hel | -h )
23318 echo "$ac_cs_usage"; exit 0 ;;
23319 --debug | --d* | -d )
23321 --file | --fil | --fi | --f )
23323 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23324 ac_need_defaults=false;;
23325 --header | --heade | --head | --hea )
23327 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23328 ac_need_defaults=false;;
23329 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23330 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23333 # This is an error.
23334 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23335 Try \`$0 --help' for more information." >&5
23336 echo "$as_me: error: unrecognized option: $1
23337 Try \`$0 --help' for more information." >&2;}
23338 { (exit 1); exit 1; }; } ;;
23340 *) ac_config_targets="$ac_config_targets $1" ;;
23346 ac_configure_extra_args=
23348 if $ac_cs_silent; then
23350 ac_configure_extra_args="$ac_configure_extra_args --silent"
23354 cat >>$CONFIG_STATUS <<_ACEOF
23355 if \$ac_cs_recheck; then
23356 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23357 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23362 cat >>$CONFIG_STATUS <<_ACEOF
23364 # INIT-COMMANDS section.
23367 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23368 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23369 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23370 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23371 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23372 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23373 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23374 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23375 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23376 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23377 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23378 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23379 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23380 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23381 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23382 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23383 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23384 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23385 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23386 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23387 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23388 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23389 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23390 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23399 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23400 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23401 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23402 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23403 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23404 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23405 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23415 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23416 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23417 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23418 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvm.py`
23419 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvmdb.py`
23420 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23421 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23422 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23423 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23453 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23454 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23455 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23456 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23457 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23458 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23459 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23460 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23461 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23462 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23463 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23464 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23465 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23466 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23467 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23468 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23469 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23470 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23471 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23472 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23473 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23474 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23475 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23476 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23477 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23478 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23479 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23480 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23481 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23482 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23483 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23484 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23485 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23486 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23487 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23488 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23489 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23490 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23491 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23492 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23493 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23494 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23495 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23496 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23497 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23498 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23499 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23500 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23501 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23502 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23503 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23504 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23505 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23506 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23507 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23508 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23509 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23510 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23511 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile`
23512 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile`
23513 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile`
23514 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/EH/Makefile`
23515 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23516 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23517 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23518 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23519 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23520 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23521 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23522 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23523 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23524 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23525 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23526 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23527 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23528 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23529 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23530 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23531 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23532 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23533 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23534 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23535 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23536 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23537 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23538 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23539 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23540 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23541 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23542 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23543 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23544 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23545 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23551 cat >>$CONFIG_STATUS <<\_ACEOF
23552 for ac_config_target in $ac_config_targets
23554 case "$ac_config_target" in
23555 # Handling of arguments.
23556 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23557 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23558 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23559 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23560 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23561 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23562 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23563 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23564 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23565 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23566 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23567 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23568 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23569 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23570 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23571 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23572 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23573 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23574 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23575 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23576 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23577 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23578 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23579 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23580 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23581 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23582 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23583 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23584 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23585 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23586 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23587 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23588 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23589 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23590 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23591 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23592 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23593 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23594 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23595 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23596 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23597 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23598 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23599 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23600 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23601 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23602 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23603 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23604 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23605 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23606 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23607 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23608 "test/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvm.py" ;;
23609 "test/QMTest/llvmdb.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvmdb.py" ;;
23610 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23611 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23612 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23613 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23614 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23615 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23616 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23617 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23618 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23619 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23620 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23621 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23622 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23623 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23624 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23625 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23626 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23627 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23628 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23629 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23630 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23631 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23632 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23633 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23634 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23635 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23636 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23637 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23638 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23639 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23640 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23641 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23642 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23643 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23644 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23645 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23646 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23647 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23648 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23649 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23650 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23651 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23652 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23653 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23654 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23655 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23656 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23657 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23658 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23659 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23660 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23661 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23662 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23663 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23664 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23665 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23666 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23667 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23668 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23669 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23670 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23671 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23672 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23673 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23674 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23675 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23676 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23677 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23678 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23679 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23680 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23681 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23682 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23683 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23684 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23685 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23686 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23687 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23688 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23689 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23690 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23691 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23692 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23693 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23694 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23695 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23696 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23697 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23698 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23699 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23700 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23701 "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;;
23702 "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;;
23703 "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;;
23704 "test/Programs/SingleSource/Regression/C++/EH/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/EH/Makefile" ;;
23705 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23706 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23707 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23708 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23709 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23710 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23711 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23712 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23713 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23714 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23715 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23716 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23717 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
23718 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23719 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23720 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23721 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23722 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23723 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23724 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23725 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23726 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23727 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23728 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23729 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23730 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23731 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23732 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23733 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23734 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23735 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23736 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23737 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23738 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23739 { (exit 1); exit 1; }; };;
23743 # If the user did not use the arguments to specify the items to instantiate,
23744 # then the envvar interface is used. Set only those that are not.
23745 # We use the long form for the default assignment because of an extremely
23746 # bizarre bug on SunOS 4.1.3.
23747 if $ac_need_defaults; then
23748 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23749 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23750 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23753 # Have a temporary directory for convenience. Make it in the build tree
23754 # simply because there is no reason to put it here, and in addition,
23755 # creating and moving files from /tmp can sometimes cause problems.
23756 # Create a temporary directory, and hook for its removal unless debugging.
23759 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23760 trap '{ (exit 1); exit 1; }' 1 2 13 15
23763 # Create a (secure) tmp directory for tmp files.
23766 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23767 test -n "$tmp" && test -d "$tmp"
23770 tmp=./confstat$$-$RANDOM
23771 (umask 077 && mkdir $tmp)
23774 echo "$me: cannot create a temporary directory in ." >&2
23775 { (exit 1); exit 1; }
23780 cat >>$CONFIG_STATUS <<_ACEOF
23783 # CONFIG_FILES section.
23786 # No need to generate the scripts if there are no CONFIG_FILES.
23787 # This happens for instance when ./config.status config.h
23788 if test -n "\$CONFIG_FILES"; then
23789 # Protect against being on the right side of a sed subst in config.status.
23790 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23791 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23792 s,@SHELL@,$SHELL,;t t
23793 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23794 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23795 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23796 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23797 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23798 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23799 s,@exec_prefix@,$exec_prefix,;t t
23800 s,@prefix@,$prefix,;t t
23801 s,@program_transform_name@,$program_transform_name,;t t
23802 s,@bindir@,$bindir,;t t
23803 s,@sbindir@,$sbindir,;t t
23804 s,@libexecdir@,$libexecdir,;t t
23805 s,@datadir@,$datadir,;t t
23806 s,@sysconfdir@,$sysconfdir,;t t
23807 s,@sharedstatedir@,$sharedstatedir,;t t
23808 s,@localstatedir@,$localstatedir,;t t
23809 s,@libdir@,$libdir,;t t
23810 s,@includedir@,$includedir,;t t
23811 s,@oldincludedir@,$oldincludedir,;t t
23812 s,@infodir@,$infodir,;t t
23813 s,@mandir@,$mandir,;t t
23814 s,@build_alias@,$build_alias,;t t
23815 s,@host_alias@,$host_alias,;t t
23816 s,@target_alias@,$target_alias,;t t
23817 s,@DEFS@,$DEFS,;t t
23818 s,@ECHO_C@,$ECHO_C,;t t
23819 s,@ECHO_N@,$ECHO_N,;t t
23820 s,@ECHO_T@,$ECHO_T,;t t
23821 s,@LIBS@,$LIBS,;t t
23822 s,@subdirs@,$subdirs,;t t
23823 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23824 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23825 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23826 s,@build@,$build,;t t
23827 s,@build_cpu@,$build_cpu,;t t
23828 s,@build_vendor@,$build_vendor,;t t
23829 s,@build_os@,$build_os,;t t
23830 s,@host@,$host,;t t
23831 s,@host_cpu@,$host_cpu,;t t
23832 s,@host_vendor@,$host_vendor,;t t
23833 s,@host_os@,$host_os,;t t
23834 s,@target@,$target,;t t
23835 s,@target_cpu@,$target_cpu,;t t
23836 s,@target_vendor@,$target_vendor,;t t
23837 s,@target_os@,$target_os,;t t
23839 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23840 s,@ARCH@,$ARCH,;t t
23842 s,@CXXFLAGS@,$CXXFLAGS,;t t
23843 s,@LDFLAGS@,$LDFLAGS,;t t
23844 s,@CPPFLAGS@,$CPPFLAGS,;t t
23845 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23846 s,@EXEEXT@,$EXEEXT,;t t
23847 s,@OBJEXT@,$OBJEXT,;t t
23849 s,@CFLAGS@,$CFLAGS,;t t
23850 s,@ac_ct_CC@,$ac_ct_CC,;t t
23852 s,@ifGNUmake@,$ifGNUmake,;t t
23854 s,@LEXLIB@,$LEXLIB,;t t
23855 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23856 s,@YACC@,$YACC,;t t
23857 s,@EGREP@,$EGREP,;t t
23858 s,@LN_S@,$LN_S,;t t
23859 s,@ECHO@,$ECHO,;t t
23861 s,@ac_ct_AR@,$ac_ct_AR,;t t
23862 s,@RANLIB@,$RANLIB,;t t
23863 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23864 s,@STRIP@,$STRIP,;t t
23865 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23866 s,@CXXCPP@,$CXXCPP,;t t
23868 s,@FFLAGS@,$FFLAGS,;t t
23869 s,@ac_ct_F77@,$ac_ct_F77,;t t
23870 s,@LIBTOOL@,$LIBTOOL,;t t
23871 s,@RPWD@,$RPWD,;t t
23874 s,@MKDIR@,$MKDIR,;t t
23875 s,@DATE@,$DATE,;t t
23878 s,@ETAGS@,$ETAGS,;t t
23879 s,@PYTHON@,$PYTHON,;t t
23880 s,@QMTEST@,$QMTEST,;t t
23881 s,@ALLOCA@,$ALLOCA,;t t
23882 s,@LIBOBJS@,$LIBOBJS,;t t
23883 s,@MMAP_FILE@,$MMAP_FILE,;t t
23884 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23885 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23886 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23887 s,@USE_SPEC@,$USE_SPEC,;t t
23889 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23892 s,@PAPIDIR@,$PAPIDIR,;t t
23893 s,@PURIFY@,$PURIFY,;t t
23894 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23899 cat >>$CONFIG_STATUS <<\_ACEOF
23900 # Split the substitutions into bite-sized pieces for seds with
23901 # small command number limits, like on Digital OSF/1 and HP-UX.
23902 ac_max_sed_lines=48
23903 ac_sed_frag=1 # Number of current file.
23904 ac_beg=1 # First line for current file.
23905 ac_end=$ac_max_sed_lines # Line after last line for current file.
23908 while $ac_more_lines; do
23909 if test $ac_beg -gt 1; then
23910 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23912 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23914 if test ! -s $tmp/subs.frag; then
23915 ac_more_lines=false
23917 # The purpose of the label and of the branching condition is to
23918 # speed up the sed processing (if there are no `@' at all, there
23919 # is no need to browse any of the substitutions).
23920 # These are the two extra sed commands mentioned above.
23922 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23923 if test -z "$ac_sed_cmds"; then
23924 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23926 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23928 ac_sed_frag=`expr $ac_sed_frag + 1`
23930 ac_end=`expr $ac_end + $ac_max_sed_lines`
23933 if test -z "$ac_sed_cmds"; then
23936 fi # test -n "$CONFIG_FILES"
23939 cat >>$CONFIG_STATUS <<\_ACEOF
23940 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23941 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23943 - | *:- | *:-:* ) # input from stdin
23945 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23946 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23947 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23948 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23949 * ) ac_file_in=$ac_file.in ;;
23952 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23953 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23954 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23955 X"$ac_file" : 'X\(//\)[^/]' \| \
23956 X"$ac_file" : 'X\(//\)$' \| \
23957 X"$ac_file" : 'X\(/\)' \| \
23958 . : '\(.\)' 2>/dev/null ||
23960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23961 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23962 /^X\(\/\/\)$/{ s//\1/; q; }
23963 /^X\(\/\).*/{ s//\1/; q; }
23965 { if $as_mkdir_p; then
23970 while test ! -d "$as_dir"; do
23971 as_dirs="$as_dir $as_dirs"
23972 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23973 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23974 X"$as_dir" : 'X\(//\)[^/]' \| \
23975 X"$as_dir" : 'X\(//\)$' \| \
23976 X"$as_dir" : 'X\(/\)' \| \
23977 . : '\(.\)' 2>/dev/null ||
23979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23980 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23981 /^X\(\/\/\)$/{ s//\1/; q; }
23982 /^X\(\/\).*/{ s//\1/; q; }
23985 test ! -n "$as_dirs" || mkdir $as_dirs
23986 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23987 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23988 { (exit 1); exit 1; }; }; }
23992 if test "$ac_dir" != .; then
23993 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23994 # A "../" for each directory in $ac_dir_suffix.
23995 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23997 ac_dir_suffix= ac_top_builddir=
24001 .) # No --srcdir option. We are building in place.
24003 if test -z "$ac_top_builddir"; then
24006 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24008 [\\/]* | ?:[\\/]* ) # Absolute path.
24009 ac_srcdir=$srcdir$ac_dir_suffix;
24010 ac_top_srcdir=$srcdir ;;
24011 *) # Relative path.
24012 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24013 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24015 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24017 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24018 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24019 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24020 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24024 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24025 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24028 if test x"$ac_file" != x-; then
24029 { echo "$as_me:$LINENO: creating $ac_file" >&5
24030 echo "$as_me: creating $ac_file" >&6;}
24033 # Let's still pretend it is `configure' which instantiates (i.e., don't
24034 # use $as_me), people would be surprised to read:
24035 # /* config.h. Generated by config.status. */
24036 if test x"$ac_file" = x-; then
24039 configure_input="$ac_file. "
24041 configure_input=$configure_input"Generated from `echo $ac_file_in |
24042 sed 's,.*/,,'` by configure."
24044 # First look for the input files in the build tree, otherwise in the
24046 ac_file_inputs=`IFS=:
24047 for f in $ac_file_in; do
24049 -) echo $tmp/stdin ;;
24051 # Absolute (can't be DOS-style, as IFS=:)
24052 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24053 echo "$as_me: error: cannot find input file: $f" >&2;}
24054 { (exit 1); exit 1; }; }
24057 if test -f "$f"; then
24060 elif test -f "$srcdir/$f"; then
24065 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24066 echo "$as_me: error: cannot find input file: $f" >&2;}
24067 { (exit 1); exit 1; }; }
24070 done` || { (exit 1); exit 1; }
24072 cat >>$CONFIG_STATUS <<_ACEOF
24076 cat >>$CONFIG_STATUS <<\_ACEOF
24078 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24079 s,@configure_input@,$configure_input,;t t
24080 s,@srcdir@,$ac_srcdir,;t t
24081 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24082 s,@top_srcdir@,$ac_top_srcdir,;t t
24083 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24084 s,@builddir@,$ac_builddir,;t t
24085 s,@abs_builddir@,$ac_abs_builddir,;t t
24086 s,@top_builddir@,$ac_top_builddir,;t t
24087 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24088 s,@INSTALL@,$ac_INSTALL,;t t
24089 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24091 if test x"$ac_file" != x-; then
24092 mv $tmp/out $ac_file
24100 cat >>$CONFIG_STATUS <<\_ACEOF
24103 # CONFIG_HEADER section.
24106 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24107 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24109 # ac_d sets the value in "#define NAME VALUE" lines.
24110 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24111 ac_dB='[ ].*$,\1#\2'
24114 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24115 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24116 ac_uB='$,\1#\2define\3'
24120 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24121 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24123 - | *:- | *:-:* ) # input from stdin
24125 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24126 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24127 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24128 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24129 * ) ac_file_in=$ac_file.in ;;
24132 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24133 echo "$as_me: creating $ac_file" >&6;}
24135 # First look for the input files in the build tree, otherwise in the
24137 ac_file_inputs=`IFS=:
24138 for f in $ac_file_in; do
24140 -) echo $tmp/stdin ;;
24142 # Absolute (can't be DOS-style, as IFS=:)
24143 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24144 echo "$as_me: error: cannot find input file: $f" >&2;}
24145 { (exit 1); exit 1; }; }
24148 if test -f "$f"; then
24151 elif test -f "$srcdir/$f"; then
24156 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24157 echo "$as_me: error: cannot find input file: $f" >&2;}
24158 { (exit 1); exit 1; }; }
24161 done` || { (exit 1); exit 1; }
24162 # Remove the trailing spaces.
24163 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24167 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24168 # `conftest.undefs', that substitutes the proper values into
24169 # config.h.in to produce config.h. The first handles `#define'
24170 # templates, and the second `#undef' templates.
24171 # And first: Protect against being on the right side of a sed subst in
24172 # config.status. Protect against being in an unquoted here document
24173 # in config.status.
24174 rm -f conftest.defines conftest.undefs
24175 # Using a here document instead of a string reduces the quoting nightmare.
24176 # Putting comments in sed scripts is not portable.
24178 # `end' is used to avoid that the second main sed command (meant for
24179 # 0-ary CPP macros) applies to n-ary macro definitions.
24180 # See the Autoconf documentation for `clear'.
24181 cat >confdef2sed.sed <<\_ACEOF
24186 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24188 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24191 # If some macros were called several times there might be several times
24192 # the same #defines, which is useless. Nevertheless, we may not want to
24193 # sort them, since we want the *last* AC-DEFINE to be honored.
24194 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24195 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24196 rm -f confdef2sed.sed
24198 # This sed command replaces #undef with comments. This is necessary, for
24199 # example, in the case of _POSIX_SOURCE, which is predefined and required
24200 # on some systems where configure will not decide to define it.
24201 cat >>conftest.undefs <<\_ACEOF
24202 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24205 # Break up conftest.defines because some shells have a limit on the size
24206 # of here documents, and old seds have small limits too (100 cmds).
24207 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24208 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24209 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24210 echo ' :' >>$CONFIG_STATUS
24211 rm -f conftest.tail
24212 while grep . conftest.defines >/dev/null
24214 # Write a limited-size here document to $tmp/defines.sed.
24215 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24216 # Speed up: don't consider the non `#define' lines.
24217 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24218 # Work around the forget-to-reset-the-flag bug.
24219 echo 't clr' >>$CONFIG_STATUS
24220 echo ': clr' >>$CONFIG_STATUS
24221 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24223 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24225 mv $tmp/out $tmp/in
24227 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24228 rm -f conftest.defines
24229 mv conftest.tail conftest.defines
24231 rm -f conftest.defines
24232 echo ' fi # grep' >>$CONFIG_STATUS
24233 echo >>$CONFIG_STATUS
24235 # Break up conftest.undefs because some shells have a limit on the size
24236 # of here documents, and old seds have small limits too (100 cmds).
24237 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24238 rm -f conftest.tail
24239 while grep . conftest.undefs >/dev/null
24241 # Write a limited-size here document to $tmp/undefs.sed.
24242 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24243 # Speed up: don't consider the non `#undef'
24244 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24245 # Work around the forget-to-reset-the-flag bug.
24246 echo 't clr' >>$CONFIG_STATUS
24247 echo ': clr' >>$CONFIG_STATUS
24248 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24250 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24252 mv $tmp/out $tmp/in
24254 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24255 rm -f conftest.undefs
24256 mv conftest.tail conftest.undefs
24258 rm -f conftest.undefs
24260 cat >>$CONFIG_STATUS <<\_ACEOF
24261 # Let's still pretend it is `configure' which instantiates (i.e., don't
24262 # use $as_me), people would be surprised to read:
24263 # /* config.h. Generated by config.status. */
24264 if test x"$ac_file" = x-; then
24265 echo "/* Generated by configure. */" >$tmp/config.h
24267 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24269 cat $tmp/in >>$tmp/config.h
24271 if test x"$ac_file" != x-; then
24272 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24273 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24274 echo "$as_me: $ac_file is unchanged" >&6;}
24276 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24277 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24278 X"$ac_file" : 'X\(//\)[^/]' \| \
24279 X"$ac_file" : 'X\(//\)$' \| \
24280 X"$ac_file" : 'X\(/\)' \| \
24281 . : '\(.\)' 2>/dev/null ||
24283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24284 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24285 /^X\(\/\/\)$/{ s//\1/; q; }
24286 /^X\(\/\).*/{ s//\1/; q; }
24288 { if $as_mkdir_p; then
24293 while test ! -d "$as_dir"; do
24294 as_dirs="$as_dir $as_dirs"
24295 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24297 X"$as_dir" : 'X\(//\)[^/]' \| \
24298 X"$as_dir" : 'X\(//\)$' \| \
24299 X"$as_dir" : 'X\(/\)' \| \
24300 . : '\(.\)' 2>/dev/null ||
24302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24303 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24304 /^X\(\/\/\)$/{ s//\1/; q; }
24305 /^X\(\/\).*/{ s//\1/; q; }
24308 test ! -n "$as_dirs" || mkdir $as_dirs
24309 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24310 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24311 { (exit 1); exit 1; }; }; }
24314 mv $tmp/config.h $ac_file
24318 rm -f $tmp/config.h
24322 cat >>$CONFIG_STATUS <<\_ACEOF
24325 # CONFIG_COMMANDS section.
24327 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24328 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24329 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24330 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24331 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24332 X"$ac_dest" : 'X\(//\)[^/]' \| \
24333 X"$ac_dest" : 'X\(//\)$' \| \
24334 X"$ac_dest" : 'X\(/\)' \| \
24335 . : '\(.\)' 2>/dev/null ||
24337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24338 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24339 /^X\(\/\/\)$/{ s//\1/; q; }
24340 /^X\(\/\).*/{ s//\1/; q; }
24344 if test "$ac_dir" != .; then
24345 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24346 # A "../" for each directory in $ac_dir_suffix.
24347 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24349 ac_dir_suffix= ac_top_builddir=
24353 .) # No --srcdir option. We are building in place.
24355 if test -z "$ac_top_builddir"; then
24358 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24360 [\\/]* | ?:[\\/]* ) # Absolute path.
24361 ac_srcdir=$srcdir$ac_dir_suffix;
24362 ac_top_srcdir=$srcdir ;;
24363 *) # Relative path.
24364 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24365 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24367 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24369 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24370 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24371 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24372 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24375 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24376 echo "$as_me: executing $ac_dest commands" >&6;}
24378 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24379 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24380 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24381 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24382 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24383 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24384 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24385 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24386 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24387 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24388 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24389 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24390 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24391 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24392 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24393 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24394 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24395 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24396 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24397 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24398 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24399 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24400 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24401 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24402 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24403 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24404 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24405 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24406 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24407 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24408 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24409 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24410 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24411 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24412 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24413 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24414 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24415 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24416 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24417 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24418 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24419 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24420 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24421 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24422 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24423 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24424 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24425 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24426 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24427 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24428 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24429 test/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvm.py test/QMTest/llvm.py ;;
24430 test/QMTest/llvmdb.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvmdb.py test/QMTest/llvmdb.py ;;
24431 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24432 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24433 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24434 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24435 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24436 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24437 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24438 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24439 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24440 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24441 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24442 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24443 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24444 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24445 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24446 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24447 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24448 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24449 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 ;;
24450 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 ;;
24451 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 ;;
24452 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 ;;
24453 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 ;;
24454 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 ;;
24455 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 ;;
24456 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 ;;
24457 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 ;;
24458 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 ;;
24459 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 ;;
24460 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 ;;
24461 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 ;;
24462 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 ;;
24463 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 ;;
24464 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 ;;
24465 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24466 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24467 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24468 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24469 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 ;;
24470 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 ;;
24471 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 ;;
24472 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24473 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 ;;
24474 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 ;;
24475 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 ;;
24476 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 ;;
24477 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 ;;
24478 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 ;;
24479 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 ;;
24480 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 ;;
24481 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 ;;
24482 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 ;;
24483 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 ;;
24484 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 ;;
24485 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 ;;
24486 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 ;;
24487 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 ;;
24488 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 ;;
24489 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 ;;
24490 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 ;;
24491 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 ;;
24492 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 ;;
24493 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 ;;
24494 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 ;;
24495 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 ;;
24496 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 ;;
24497 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 ;;
24498 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 ;;
24499 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 ;;
24500 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 ;;
24501 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 ;;
24502 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 ;;
24503 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 ;;
24504 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 ;;
24505 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24506 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24507 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24508 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 ;;
24509 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24510 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24511 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24512 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24513 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24514 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24515 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 ;;
24516 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 ;;
24517 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 ;;
24518 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 ;;
24519 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24520 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24521 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 ;;
24522 test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;;
24523 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 ;;
24524 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 ;;
24525 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 ;;
24526 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24527 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24528 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24529 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24530 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24531 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24532 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24533 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24534 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24535 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24536 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24537 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24538 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
24539 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24540 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24541 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24542 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24543 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24544 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24545 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24546 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24547 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24548 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24549 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24550 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24551 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24552 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24553 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24554 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24555 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24556 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24561 cat >>$CONFIG_STATUS <<\_ACEOF
24563 { (exit 0); exit 0; }
24565 chmod +x $CONFIG_STATUS
24566 ac_clean_files=$ac_clean_files_save
24569 # configure is writing to config.log, and then calls config.status.
24570 # config.status does its own redirection, appending to config.log.
24571 # Unfortunately, on DOS this fails, as config.log is still kept open
24572 # by configure, so config.status won't be able to write to it; its
24573 # output is simply discarded. So we exec the FD to /dev/null,
24574 # effectively closing config.log, so it can be properly (re)opened and
24575 # appended to by config.status. When coming back to configure, we
24576 # need to make the FD available again.
24577 if test "$no_create" != yes; then
24579 ac_config_status_args=
24580 test "$silent" = yes &&
24581 ac_config_status_args="$ac_config_status_args --quiet"
24583 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24585 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24586 # would make configure fail if this is the last instruction.
24587 $ac_cs_success || { (exit 1); exit 1; }
24591 # CONFIG_SUBDIRS section.
24593 if test "$no_recursion" != yes; then
24595 # Remove --cache-file and --srcdir arguments so they do not pile up.
24596 ac_sub_configure_args=
24598 for ac_arg in $ac_configure_args; do
24599 if test -n "$ac_prev"; then
24604 -cache-file | --cache-file | --cache-fil | --cache-fi \
24605 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
24606 ac_prev=cache_file ;;
24607 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
24608 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
24611 --config-cache | -C)
24613 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
24615 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
24617 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
24619 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
24621 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
24625 # Always prepend --prefix to ensure using the same prefix
24626 # in subdir configurations.
24627 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
24630 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
24632 # Do not complain, so a configure script can configure whichever
24633 # parts of a large source tree are present.
24634 test -d $srcdir/$ac_dir || continue
24636 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
24637 echo "$as_me: configuring in $ac_dir" >&6;}
24638 { if $as_mkdir_p; then
24643 while test ! -d "$as_dir"; do
24644 as_dirs="$as_dir $as_dirs"
24645 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24646 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24647 X"$as_dir" : 'X\(//\)[^/]' \| \
24648 X"$as_dir" : 'X\(//\)$' \| \
24649 X"$as_dir" : 'X\(/\)' \| \
24650 . : '\(.\)' 2>/dev/null ||
24652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24653 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24654 /^X\(\/\/\)$/{ s//\1/; q; }
24655 /^X\(\/\).*/{ s//\1/; q; }
24658 test ! -n "$as_dirs" || mkdir $as_dirs
24659 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24660 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24661 { (exit 1); exit 1; }; }; }
24665 if test "$ac_dir" != .; then
24666 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24667 # A "../" for each directory in $ac_dir_suffix.
24668 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24670 ac_dir_suffix= ac_top_builddir=
24674 .) # No --srcdir option. We are building in place.
24676 if test -z "$ac_top_builddir"; then
24679 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24681 [\\/]* | ?:[\\/]* ) # Absolute path.
24682 ac_srcdir=$srcdir$ac_dir_suffix;
24683 ac_top_srcdir=$srcdir ;;
24684 *) # Relative path.
24685 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24686 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24688 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24690 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24691 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24692 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24693 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24698 # Check for guested configure; otherwise get Cygnus style configure.
24699 if test -f $ac_srcdir/configure.gnu; then
24700 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
24701 elif test -f $ac_srcdir/configure; then
24702 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
24703 elif test -f $ac_srcdir/configure.in; then
24704 ac_sub_configure=$ac_configure
24706 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
24707 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
24711 # The recursion is here.
24712 if test -n "$ac_sub_configure"; then
24713 # Make the cache file name correct relative to the subdirectory.
24714 case $cache_file in
24715 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
24716 *) # Relative path.
24717 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
24720 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
24721 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
24722 # The eval makes quoting arguments work.
24723 eval $ac_sub_configure $ac_sub_configure_args \
24724 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
24725 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
24726 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
24727 { (exit 1); exit 1; }; }